/* ==========================================================================
   ZeroSpread — Indicator Studio V2
   Scope: .zsv2 (only /indicators/[studio]). Does not touch /indicators home,
   CryptoThemeRoot, crypto-route-theme.css or the legacy studio CSS.

   Colour: every value resolves to a canonical --zs-* token; the literal after
   the comma is the Visual-DNA value, used only if that token is absent.
   The --_* names below are component-private aliases (not a token namespace):
   they exist so one scope can switch light ⇄ dark without new palettes.
   Type: inherits the canonical Tajawal stack. Weights 400 / 500 / 700 only
   (Tajawal has no 600; font-synthesis is off).
   ========================================================================== */

.zsv2 {
  --_bg: var(--zs-light-surface, #ffffff);
  --_bg2: var(--zs-light-bg-secondary, #eeeee8);
  --_paper: var(--zs-light-surface, #ffffff);
  --_paper2: var(--zs-light-surface-secondary, #fafaf7);
  --_ink: var(--zs-light-text, #0b0d0c);
  --_ink2: var(--zs-light-text-muted, rgba(11, 13, 12, 0.7));
  --_ink3: var(--zs-light-text-subtle, rgba(11, 13, 12, 0.5));
  --_line: var(--zs-light-hairline, rgba(11, 13, 12, 0.08));
  --_line2: var(--zs-light-line, rgba(11, 13, 12, 0.14));
  --_tint1: rgba(11, 13, 12, 0.018);
  --_tint2: rgba(11, 13, 12, 0.04);
  --_tint3: rgba(11, 13, 12, 0.075);
  --_brand: var(--zs-green-primary, #a3ff12);
  --_up: var(--zs-success, #18c37e);
  --_up-text: var(--zs-success-text-light, #15803d);
  --_down: var(--zs-red, #ef4444);
  --_down-text: var(--zs-red, #d92d2d);
  --_shadow: 0 1px 2px rgba(11, 13, 12, 0.04), 0 12px 40px -24px rgba(11, 13, 12, 0.18);
  --_ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --_ease-in: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--_bg);
  color: var(--_ink);
  font-family: var(--zs-font-institutional);
  font-synthesis: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 8px;
  min-height: 100vh;
  overflow-x: clip;
}

/* Dark presentation — opt-in, follows the EXISTING data-zs-theme attribute
   written by CryptoThemeRoot (no new theme scheme). */
[data-zs-theme='dark'] .zsv2[data-follow-appearance='true'] {
  --_bg: var(--zs-dark-bg, #000000);
  --_bg2: var(--zs-dark-bg-secondary, #07080a);
  --_paper: var(--zs-dark-surface, #0b0d10);
  --_paper2: var(--zs-dark-surface-secondary, #101318);
  --_ink: var(--zs-dark-text, #f4f5f3);
  --_ink2: var(--zs-dark-text-muted, rgba(244, 245, 243, 0.68));
  --_ink3: var(--zs-dark-text-subtle, rgba(244, 245, 243, 0.46));
  --_line: var(--zs-dark-hairline, rgba(255, 255, 255, 0.07));
  --_line2: var(--zs-dark-line, rgba(255, 255, 255, 0.13));
  --_tint1: rgba(255, 255, 255, 0.016);
  --_tint2: rgba(255, 255, 255, 0.035);
  --_tint3: rgba(255, 255, 255, 0.065);
  --_up-text: var(--zs-success, #18c37e);
  --_down-text: #f87171;
  --_shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
  color-scheme: dark;
}

.zsv2 *,
.zsv2 *::before,
.zsv2 *::after {
  box-sizing: border-box;
}
.zsv2 h1,
.zsv2 h2,
.zsv2 h3,
.zsv2 p,
.zsv2 ol,
.zsv2 ul,
.zsv2 dl,
.zsv2 dd,
.zsv2 figure {
  margin: 0;
  padding: 0;
}
.zsv2 ol,
.zsv2 ul {
  list-style: none;
}
.zsv2 button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.zsv2 a {
  color: inherit;
  text-decoration: none;
}
.zsv2 :focus-visible {
  outline: 2px solid var(--_ink);
  outline-offset: 2px;
  border-radius: 3px;
}

.zsv2-wrap {
  max-width: 1840px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 48px);
}

.zsv2-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.zsv2-eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--_ink3);
  line-height: 1.4;
}

/* ---------- tabular numbers (Tajawal digits are proportional) ---------- */
.zsv2-num {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  unicode-bidi: isolate;
}
.zsv2-num__d {
  display: inline-block;
  width: 0.575em;
  text-align: center;
  animation: zsv2-digit 280ms var(--_ease) both;
}
.zsv2-num__s {
  display: inline-block;
}

/* ==========================================================================
   Suite index — the six studios as one instrument family
   ========================================================================== */
.zsv2-suite {
  border-bottom: 1px solid var(--_line);
}
.zsv2-suite ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.zsv2-suite li + li a {
  border-inline-start: 1px solid var(--_line);
}
.zsv2-suite a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px 11px;
  transition: background-color 200ms var(--_ease);
  min-width: 0;
}
.zsv2-suite a:hover {
  background: var(--_tint1);
}
.zsv2-suite a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--_ink);
  transform: scaleX(0);
  transition: transform 320ms var(--_ease);
}
.zsv2-suite a.is-active::after {
  transform: scaleX(1);
}
.zsv2-suite__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.zsv2-suite__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--_ink2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.zsv2-suite a.is-active .zsv2-suite__name {
  color: var(--_ink);
}
.zsv2-suite a.is-active .zsv2-suite__name::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--_brand);
  box-shadow: 0 0 0 1px rgba(11, 13, 12, 0.12);
}
.zsv2-suite__val {
  font-size: 14px;
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-suite__dash {
  color: var(--_ink3);
}
.zsv2-suite__row--sub {
  font-size: 12.5px;
}
.zsv2-suite__sub {
  color: var(--_ink3);
  white-space: nowrap;
}
.zsv2-suite__state {
  color: var(--_ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ==========================================================================
   A. Studio identity bar
   ========================================================================== */
.zsv2-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 40px;
  padding-block: 22px 20px;
}
.zsv2-crumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--_ink3);
  margin-bottom: 8px;
}
.zsv2-crumb a {
  color: var(--_ink2);
}
.zsv2-crumb a:hover {
  color: var(--_ink);
}
.zsv2-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  line-height: 1;
}
.zsv2-title__name {
  font-size: clamp(36px, 2.7vw, 48px);
  font-weight: 700;
  color: var(--_ink);
}
.zsv2-title__sub {
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 400;
  color: var(--_ink3);
}
.zsv2-bar__desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--_ink2);
  max-width: 62ch;
}
.zsv2-bar__ctl {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* status */
.zsv2-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--_ink2);
  min-height: 48px;
  padding-inline-start: 6px;
}
.zsv2-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--_brand);
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.18), 0 0 0 1px rgba(11, 13, 12, 0.12);
}
.zsv2-status.is-error,
.zsv2-status.is-stale {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--_ink);
}
.zsv2-status.is-stale {
  border-inline-start-style: dashed;
}
.zsv2-status b {
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-status small {
  font-size: 12px;
  color: var(--_ink3);
}

/* asset */
.zsv2-asset {
  position: relative;
}
.zsv2-asset__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding-inline: 16px 14px;
  background: var(--_paper);
  border: 1px solid var(--_line2) !important;
  border-radius: 8px;
  transition: border-color 200ms var(--_ease), box-shadow 200ms var(--_ease);
}
.zsv2-asset__btn:hover {
  border-color: rgba(11, 13, 12, 0.28) !important;
  box-shadow: var(--_shadow);
}
.zsv2-asset__sym {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.zsv2-asset__name {
  font-size: 13px;
  color: var(--_ink3);
  white-space: nowrap;
}
.zsv2-asset__quote {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-inline-start: 12px;
  margin-inline-start: 2px;
  border-inline-start: 1px solid var(--_line);
}
.zsv2-asset__price {
  font-size: 15px;
  font-weight: 500;
}
.zsv2-asset__chg {
  font-size: 13px;
  font-weight: 500;
  color: var(--_ink2);
}
.zsv2-asset__chg.is-up {
  color: var(--_up-text);
}
.zsv2-asset__chg.is-down {
  color: var(--_down-text);
}
.zsv2-asset__na {
  font-size: 13px;
  color: var(--_ink3);
}
.zsv2-asset__chev {
  color: var(--_ink3);
}
.zsv2-asset__pop {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(420px, calc(100vw - 32px));
  background: var(--_paper);
  border: 1px solid var(--_line2);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(11, 13, 12, 0.05), 0 24px 60px -24px rgba(11, 13, 12, 0.28);
  padding: 12px;
  animation: zsv2-pop 220ms var(--_ease-in) both;
}
.zsv2-asset__search {
  width: 100%;
  height: 42px;
  border: 1px solid var(--_line2);
  border-radius: 6px;
  padding-inline: 12px;
  font: inherit;
  font-size: 14px;
  background: var(--_paper2);
  color: var(--_ink);
}
.zsv2-asset__cats {
  display: flex;
  gap: 4px;
  margin-block: 10px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.zsv2-asset__cats button {
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 5px;
  color: var(--_ink2);
  white-space: nowrap;
}
.zsv2-asset__cats button.is-active {
  background: var(--_bg2);
  color: var(--_ink);
  font-weight: 500;
}
.zsv2-asset__list {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  margin-inline: -4px;
}
.zsv2-asset__list button {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: baseline;
  gap: 10px;
  text-align: start;
  padding: 9px 8px;
  border-radius: 5px;
}
.zsv2-asset__list button:hover,
.zsv2-asset__list button.is-active {
  background: var(--_tint2);
}
.zsv2-asset__cat {
  font-size: 12px;
  color: var(--_ink3);
}
.zsv2-asset__empty {
  padding: 16px 8px;
  color: var(--_ink3);
  font-size: 13.5px;
}

/* timeframe */
.zsv2-tf {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(4, 50px);
  padding: 4px;
  background: var(--_bg2);
  border-radius: 9px;
  height: 48px;
}
.zsv2-tf__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 50px;
  height: 40px;
  border-radius: 6px;
  background: var(--_paper);
  box-shadow: 0 1px 2px rgba(11, 13, 12, 0.08), 0 0 0 1px var(--_line);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 320ms var(--_ease);
}
.zsv2-tf button {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--_ink3);
  transition: color 200ms var(--_ease);
}
.zsv2-tf button.is-active {
  color: var(--_ink);
  font-weight: 700;
}

/* ==========================================================================
   B + C + D. The instrument plate: reading · chart · brain
   ========================================================================== */
.zsv2-plate {
  display: grid;
  grid-template-columns: minmax(300px, 22%) minmax(0, 1fr) minmax(340px, 25%);
  background: var(--_paper);
  border: 1px solid var(--_line);
  border-radius: 8px;
  box-shadow: var(--_shadow);
  min-height: clamp(600px, calc(100vh - 250px), 800px);
  scroll-margin-top: 72px;
}

/* B. reading */
.zsv2-read {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  min-width: 0;
}
.zsv2-read__eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--_ink3);
  padding-bottom: 18px;
}
.zsv2-read__eyebrow span:first-child {
  color: var(--_ink2);
  font-weight: 500;
}
.zsv2-read__value {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--_ink);
}
.zsv2-read__num {
  font-size: min(clamp(64px, 5.3vw, 100px), calc(100cqi / (var(--len, 5) * 0.6)));
  font-weight: 500;
  line-height: 0.9;
}
.zsv2-read__value.has-second {
  flex-wrap: nowrap;
}
.zsv2-read__value.has-second .zsv2-read__num {
  font-size: min(clamp(56px, 4.6vw, 92px), calc(64cqi / (var(--len, 5) * 0.6)));
}
.zsv2-read__value.has-second .zsv2-read__second {
  font-size: min(clamp(30px, 2.4vw, 44px), calc(30cqi / (var(--len2, 4) * 0.6)));
}
.zsv2-read__second {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--_line2);
  font-size: clamp(34px, 2.6vw, 48px);
  font-weight: 400;
  color: var(--_ink2);
  line-height: 0.95;
}
.zsv2-read__second small {
  font-size: 12.5px;
  color: var(--_ink3);
  font-weight: 500;
}
.zsv2-read__delta {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--_ink3);
}
.zsv2-read__state {
  margin-top: 22px;
  font-size: clamp(24px, 1.9vw, 31px);
  font-weight: 700;
  line-height: 1.25;
  animation: zsv2-rise 420ms var(--_ease-in) both;
}
.zsv2-read__meaning {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--_ink2);
}
.zsv2-read__instrument {
  margin-top: 26px;
}
.zsv2-read > .zsv2-facts {
  margin-top: 22px;
}
.zsv2-read__skel,
.zsv2-read__na {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zsv2-read__dash {
  font-size: 88px;
  line-height: 0.9;
  color: var(--_ink3);
  font-weight: 400;
}
.zsv2-read__na p {
  font-size: 17px;
  font-weight: 500;
}
.zsv2-read__na small {
  font-size: 13px;
  color: var(--_ink3);
}

/* extreme / attention note — a rule, not a box */
.zsv2-alert {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 2px solid var(--_ink);
  display: grid;
  gap: 6px;
}
.zsv2-read > .zsv2-facts + .zsv2-alert {
  margin-top: 22px;
}
.zsv2-alert b {
  font-size: 14px;
  font-weight: 700;
}
.zsv2-alert p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--_ink2);
}
.zsv2-alert small {
  font-size: 12.5px;
  color: var(--_ink3);
  line-height: 1.6;
}

/* facts (definition rows) */
.zsv2-facts {
  display: grid;
}
.zsv2-facts__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-block: 10px;
  border-top: 1px solid var(--_line);
}
.zsv2-facts__row dt {
  font-size: 13px;
  color: var(--_ink3);
  flex: 0 1 auto;
  min-width: 0;
}
.zsv2-facts__row dd {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
  gap: 3px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--_ink);
  min-width: 0;
}
.zsv2-facts__row dd small {
  font-size: 12px;
  font-weight: 400;
  color: var(--_ink3);
  line-height: 1.5;
}
.zsv2-facts__row.is-up dd > span {
  color: var(--_up-text);
}
.zsv2-facts__row.is-down dd > span {
  color: var(--_down-text);
}
.zsv2-facts--loose .zsv2-facts__row {
  padding-block: 12px;
}

/* C. chart zone */
.zsv2-plot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 18px;
  border-inline: 1px solid var(--_line);
}
.zsv2-plot__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}
.zsv2-plot__head h2 {
  font-size: 16px;
  font-weight: 700;
}
.zsv2-plot__meta {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--_ink2);
}
.zsv2-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.zsv2-sw {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--_ink);
  border-radius: 1px;
  flex: none;
}
.zsv2-sw.is-ink2 {
  background: rgba(11, 13, 12, 0.42);
}
.zsv2-sw.is-dash {
  background: repeating-linear-gradient(90deg, var(--_ink2) 0 4px, transparent 4px 7px);
}
.zsv2-sw.is-excess {
  height: 10px;
  width: 12px;
  background: linear-gradient(90deg, rgba(24, 195, 126, 0.3) 50%, rgba(239, 68, 68, 0.26) 50%);
}
.zsv2-sw.is-up {
  height: 10px;
  width: 10px;
  background: rgba(24, 195, 126, 0.55);
}
.zsv2-sw.is-down {
  height: 10px;
  width: 10px;
  background: rgba(239, 68, 68, 0.5);
}
.zsv2-sw.is-band {
  height: 10px;
  width: 14px;
  background: var(--_tint3);
  outline: 1px solid var(--_line2);
}
.zsv2-sw.is-area {
  height: 10px;
  width: 14px;
  background: rgba(11, 13, 12, 0.12);
}

.zsv2-chart {
  position: relative;
  flex: 1 1 auto;
  min-height: 400px;
  outline: none;
  touch-action: pan-y;
  cursor: crosshair;
  user-select: none;
}
.zsv2-chart:focus-visible {
  outline: 2px solid var(--_ink);
  outline-offset: 4px;
}
.zsv2-chart__svg {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  font-family: inherit;
}
.zsv2-chart text {
  font-family: inherit;
  font-size: 11.5px;
  fill: var(--_ink3);
}
.zsv2-band {
  stroke: none;
}
.zsv2-band--normal {
  fill: transparent;
}
.zsv2-band--ext {
  fill: var(--_tint1);
}
.zsv2-band--extreme {
  fill: url(#zsv2-hatch);
}
.zsv2-hatch-line {
  stroke: var(--_line2);
  stroke-width: 1;
}
.zsv2-band--zone0 {
  fill: transparent;
}
.zsv2-band--zone1 {
  fill: transparent;
}
.zsv2-band--zone2 {
  fill: var(--_tint1);
}
.zsv2-band--zone3 {
  fill: var(--_tint3);
}
.zsv2-chart .zsv2-chart__band-label {
  font-size: 11px;
  fill: var(--_ink3);
  opacity: 0.85;
}
.zsv2-chart__ytick line {
  stroke: var(--_line);
}
.zsv2-chart__ytick--level line {
  stroke: var(--_line2);
  stroke-dasharray: 3 4;
}
.zsv2-chart__ytick--zero line {
  stroke: var(--_ink3);
  stroke-width: 1;
}
.zsv2-chart__ytick--zero text {
  fill: var(--_ink2);
  font-weight: 700;
}
.zsv2-chart__xtick line,
.zsv2-chart__baseline {
  stroke: var(--_line2);
}
.zsv2-line {
  fill: none;
  stroke: var(--_ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.zsv2-line--2 {
  stroke: var(--_ink3);
  stroke-width: 1.4;
}
.zsv2-line--dash {
  stroke-dasharray: 4 4;
}
.zsv2-line--thin {
  stroke-width: 1.2;
}
.zsv2-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: zsv2-draw 1100ms var(--_ease-in) 60ms forwards;
}
.zsv2-fill--up {
  fill: var(--_up);
  opacity: 0.13;
}
.zsv2-fill--down {
  fill: var(--_down);
  opacity: 0.11;
}
.zsv2-fill--up.is-strong {
  opacity: 0.22;
}
.zsv2-fill--down.is-strong {
  opacity: 0.19;
}
.zsv2-fill--ink {
  fill: var(--_ink);
  opacity: 0.06;
}
.zsv2-bar-up {
  fill: var(--_up);
  opacity: 0.78;
}
.zsv2-bar-down {
  fill: var(--_down);
  opacity: 0.75;
}
.zsv2-bar-up.zsv2-bar-soft,
.zsv2-bar-down.zsv2-bar-soft {
  opacity: 0.34;
}
.zsv2-endpt {
  fill: var(--_paper);
  stroke: var(--_ink);
  stroke-width: 2;
}
.zsv2-endpt--2 {
  stroke: var(--_ink3);
}
.zsv2-chart__cross line {
  stroke: var(--_ink);
  stroke-opacity: 0.32;
}
.zsv2-chart__cross-dot {
  fill: var(--_paper);
  stroke: var(--_ink);
  stroke-width: 1.6;
}
.zsv2-chart__cross-dot--2 {
  fill: var(--_paper);
  stroke: var(--_ink3);
  stroke-width: 1.6;
}
.zsv2-chart__last line {
  stroke: var(--_ink);
  stroke-opacity: 0.35;
  stroke-dasharray: 2 3;
}
.zsv2-chart__last rect {
  fill: var(--_ink);
}
.zsv2-chart .zsv2-chart__last text {
  fill: var(--_paper);
  font-weight: 500;
  font-size: 11.5px;
}
.zsv2-watchline line {
  stroke: var(--_ink);
  stroke-opacity: 0.7;
  stroke-dasharray: 1 3;
  stroke-width: 1.4;
}
.zsv2-chart .zsv2-watchline text {
  fill: var(--_ink);
  font-size: 12px;
  font-weight: 500;
  paint-order: stroke;
  stroke: var(--_paper);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.zsv2-chart .zsv2-annot {
  fill: var(--_ink2);
  font-size: 11.5px;
  paint-order: stroke;
  stroke: var(--_paper);
  stroke-width: 4px;
  stroke-linejoin: round;
}

/* numbered event markers (match the ledger) */
.zsv2-mk line {
  stroke: var(--_ink);
  stroke-opacity: 0.25;
}
.zsv2-mk__pt {
  fill: var(--_ink);
}
.zsv2-mk__badge {
  fill: var(--_paper);
  stroke: var(--_ink);
  stroke-width: 1.2;
}
.zsv2-chart .zsv2-mk text {
  font-size: 10px;
  font-weight: 700;
  fill: var(--_ink);
}
.zsv2-mk.is-up .zsv2-mk__badge {
  stroke: var(--_up-text);
}
.zsv2-mk.is-down .zsv2-mk__badge {
  stroke: var(--_down-text);
}
.zsv2-mk.is-warn .zsv2-mk__badge {
  fill: var(--_ink);
}
.zsv2-chart .zsv2-mk.is-warn text {
  fill: var(--_paper);
}

/* tooltip */
.zsv2-chart__tip {
  position: absolute;
  top: 10px;
  z-index: 3;
  min-width: 190px;
  max-width: 260px;
  padding: 10px 12px;
  background: var(--_paper);
  border: 1px solid var(--_line2);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(11, 13, 12, 0.05), 0 16px 40px -20px rgba(11, 13, 12, 0.3);
  pointer-events: none;
  animation: zsv2-fade 140ms var(--_ease) both;
}
.zsv2-chart__tip-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--_ink);
}
.zsv2-chart__tip-sub {
  font-size: 11.5px;
  color: var(--_ink3);
  margin-top: 2px;
}
.zsv2-chart__tip dl {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}
.zsv2-chart__tip-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}
.zsv2-chart__tip-row dt {
  color: var(--_ink2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zsv2-chart__tip-row dd {
  font-weight: 500;
  color: var(--_ink);
}

/* chart loading / message state */
.zsv2-chart-state {
  position: relative;
  flex: 1 1 auto;
  min-height: 400px;
  display: grid;
  place-items: center;
}
.zsv2-chart-state__grid {
  position: absolute;
  inset: 18px 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zsv2-chart-state__grid i {
  display: block;
  height: 1px;
  background: var(--_line);
}
.zsv2-chart-state.is-loading .zsv2-chart-state__grid i {
  animation: zsv2-pulse 1.6s ease-in-out infinite alternate;
}
.zsv2-chart-state.is-loading .zsv2-chart-state__grid i:nth-child(2) {
  animation-delay: 0.2s;
}
.zsv2-chart-state.is-loading .zsv2-chart-state__grid i:nth-child(3) {
  animation-delay: 0.4s;
}
.zsv2-chart-state p {
  position: relative;
  display: grid;
  gap: 6px;
  text-align: center;
  background: var(--_paper);
  padding: 12px 20px;
  max-width: 44ch;
}
.zsv2-chart-state b {
  font-size: 15px;
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-chart-state.is-loading b {
  color: var(--_ink3);
  font-weight: 400;
}
.zsv2-chart-state small {
  font-size: 13px;
  color: var(--_ink3);
}

/* ledger under the chart */
.zsv2-ledger {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--_line);
}
.zsv2-ledger header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.zsv2-ledger h3 {
  font-size: 13.5px;
  font-weight: 700;
}
.zsv2-ledger header p {
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-ledger ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.zsv2-ledger li {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  padding: 8px 12px 6px;
  border-inline-start: 1px solid var(--_line);
  min-width: 0;
}
.zsv2-ledger li:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.zsv2-ledger__no {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.2px solid var(--_ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.zsv2-ledger li.is-up .zsv2-ledger__no {
  border-color: var(--_up-text);
}
.zsv2-ledger li.is-down .zsv2-ledger__no {
  border-color: var(--_down-text);
}
.zsv2-ledger li.is-warn .zsv2-ledger__no {
  background: var(--_ink);
  color: var(--_paper);
}
.zsv2-ledger__label {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}
.zsv2-ledger__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--_ink3);
}
.zsv2-ledger__val {
  color: var(--_ink2);
}
.zsv2-ledger__empty {
  font-size: 13px;
  color: var(--_ink3);
}

/* D. brain — interpretation layer */
.zsv2-brain {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 26px;
  background: var(--_paper);
  border-start-end-radius: 8px;
  border-end-end-radius: 8px;
  min-width: 0;
}
[data-zs-theme='dark'] .zsv2[data-follow-appearance='true'] .zsv2-brain {
  background: var(--_paper2);
}
.zsv2-brain__head {
  padding-bottom: 16px;
}
.zsv2-brain__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}
.zsv2-brain__mark {
  width: 9px;
  height: 9px;
  background: var(--_ink);
  border-radius: 2px;
  box-shadow: inset 0 0 0 2.5px var(--_brand);
}
.zsv2-brain__head p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-brain__body {
  display: flex;
  flex-direction: column;
  animation: zsv2-rise 460ms var(--_ease-in) both;
}
.zsv2-brain__sec {
  padding-block: 14px;
  border-top: 1px solid var(--_line);
}
.zsv2-brain__sec h3 {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--_ink3);
  margin-bottom: 8px;
}
.zsv2-brain__sec--lead {
  border-top: 0;
  padding-top: 0;
}
.zsv2-brain__lead {
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.6;
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-brain__sec .zsv2-facts__row:first-child {
  border-top: 0;
  padding-top: 2px;
}
.zsv2-brain__watch .zsv2-facts__row dd {
  font-size: 15.5px;
  font-weight: 700;
}
.zsv2-brain__cw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.zsv2-brain__cw .zsv2-facts__row:first-child {
  padding-top: 0;
}
.zsv2-brain__outlook p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--_ink2);
}
.zsv2-brain__caution {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--_ink3);
}
.zsv2-brain__na {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--_ink2);
}
.zsv2-brain__skel {
  display: grid;
  gap: 12px;
}
.zsv2-steps {
  display: flex;
  align-items: center;
  gap: 4px;
}
.zsv2-steps i {
  width: 26px;
  height: 5px;
  border-radius: 1px;
  background: var(--_line2);
  transition: background-color 300ms var(--_ease);
}
.zsv2-steps i.is-on {
  background: var(--_ink);
}
.zsv2-steps span {
  margin-inline-start: 10px;
  font-size: 14.5px;
  font-weight: 700;
}
.zsv2-steps em {
  font-style: normal;
  font-weight: 400;
  color: var(--_ink3);
  font-size: 12.5px;
  display: none;
}

/* skeleton primitives */
.zsv2-skel {
  display: block;
  background: var(--_bg2);
  border-radius: 4px;
  animation: zsv2-pulse 1.4s ease-in-out infinite alternate;
}
.zsv2-skel--num {
  height: 84px;
  width: 72%;
}
.zsv2-skel--line {
  height: 14px;
  width: 92%;
}
.zsv2-skel--short {
  width: 56%;
}
.zsv2-skel--inline {
  display: inline-block;
  width: 88px;
  height: 14px;
}

/* ==========================================================================
   Personality instruments (reading column)
   ========================================================================== */
.zsv2-ruler figcaption,
.zsv2-scale figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
  color: var(--_ink3);
  margin-bottom: 12px;
}
.zsv2-ruler__dist,
.zsv2-scale figcaption b {
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-ruler__track,
.zsv2-scale__track {
  position: relative;
  height: 28px;
}
.zsv2-ruler__zone,
.zsv2-scale__zone {
  position: absolute;
  top: 8px;
  height: 12px;
}
.zsv2-ruler__zone.is-normal {
  background: var(--_tint1);
  box-shadow: inset 0 0 0 1px var(--_line);
}
.zsv2-ruler__zone.is-ext {
  background: var(--_tint2);
}
.zsv2-ruler__zone.is-extreme {
  background: repeating-linear-gradient(135deg, var(--_tint3) 0 3px, transparent 3px 6px);
}
.zsv2-ruler__span {
  position: absolute;
  top: 12px;
  height: 4px;
  transition: left 500ms var(--_ease), width 500ms var(--_ease);
}
.zsv2-ruler__span.is-up {
  background: var(--_up);
}
.zsv2-ruler__span.is-down {
  background: var(--_down);
}
.zsv2-ruler__range {
  position: absolute;
  top: 25px;
  height: 2px;
  background: var(--_ink3);
  opacity: 0.45;
}
.zsv2-ruler__prev,
.zsv2-scale__prev {
  position: absolute;
  top: 10px;
  width: 8px;
  height: 8px;
  margin-inline-start: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--_ink3);
  background: var(--_paper);
}
.zsv2-ruler__mark,
.zsv2-scale__mark {
  position: absolute;
  top: 2px;
  width: 3px;
  height: 24px;
  margin-inline-start: -1.5px;
  background: var(--_ink);
  border-radius: 1px;
  transition: left 500ms var(--_ease);
}
[dir='ltr'] > .zsv2-ruler__prev,
[dir='ltr'] > .zsv2-ruler__mark,
[dir='ltr'] > .zsv2-scale__prev,
[dir='ltr'] > .zsv2-scale__mark {
  margin-inline-start: 0;
  transform: translateX(-50%);
}
.zsv2-ruler__ticks,
.zsv2-scale__ticks {
  position: relative;
  height: 18px;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--_ink3);
}
.zsv2-ruler__ticks span,
.zsv2-scale__ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.zsv2-ruler__ticks .is-zero {
  color: var(--_ink);
  font-weight: 700;
}
.zsv2-ruler__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--_ink3);
}
.zsv2-ruler__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zsv2-ruler__legend b {
  font-weight: 500;
  color: var(--_ink2);
}
.zsv2-ruler__key {
  display: inline-block;
  flex: none;
}
.zsv2-ruler__key--range {
  width: 14px;
  height: 2px;
  background: var(--_ink3);
}
.zsv2-ruler__key--prev {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--_ink3);
}

/* generic segmented scale (RSI, Stochastic, Momentum, ATR) */
.zsv2-scale__zone {
  background: var(--_tint1);
  border-inline-end: 2px solid var(--_paper);
}
.zsv2-scale__zone.is-active {
  background: var(--_ink);
}
.zsv2-scale__zone.is-t2 {
  background: var(--_tint2);
}
.zsv2-scale__zone.is-t3 {
  background: var(--_tint3);
}
.zsv2-scale__zone.is-t2.is-active,
.zsv2-scale__zone.is-t3.is-active {
  background: var(--_ink);
}
.zsv2-scale__names {
  position: relative;
  height: 20px;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--_ink3);
  line-height: 1.35;
}
.zsv2-scale__names span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12.5px;
}
.zsv2-scale__names span.is-active {
  color: var(--_ink);
  font-weight: 700;
}
.zsv2-scale__marker-2 {
  position: absolute;
  top: 2px;
  width: 0;
  height: 24px;
  border-inline-start: 2px dashed var(--_ink3);
  transform: translateX(-50%);
  transition: left 500ms var(--_ease);
}

/* K/D relationship meter (Stochastic) */
.zsv2-kd {
  margin-top: 18px;
}
.zsv2-kd__track {
  position: relative;
  height: 16px;
  background: var(--_tint1);
  border-radius: 2px;
}
.zsv2-kd__mid {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--_ink3);
}
.zsv2-kd__fill {
  position: absolute;
  top: 4px;
  height: 8px;
  transition: left 500ms var(--_ease), width 500ms var(--_ease);
}
.zsv2-kd__fill.is-up {
  background: var(--_up);
}
.zsv2-kd__fill.is-down {
  background: var(--_down);
}
.zsv2-kd__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--_ink3);
}

/* equation (MACD) */
.zsv2-eq {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  padding-block: 14px 4px;
  border-top: 1px solid var(--_line);
}
.zsv2-eq__term {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.zsv2-eq__term small {
  font-size: 11.5px;
  color: var(--_ink3);
}
.zsv2-eq__term .zsv2-num {
  font-size: 16px;
  font-weight: 500;
}
.zsv2-eq__op {
  font-size: 18px;
  color: var(--_ink3);
  padding-bottom: 1px;
}
.zsv2-cycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 14px;
}
.zsv2-cycle span {
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--_ink3);
  text-align: center;
}
.zsv2-cycle span::before {
  content: '';
  height: 5px;
  background: var(--_line2);
  border-radius: 1px;
}
.zsv2-cycle span.is-active {
  color: var(--_ink);
  font-weight: 700;
}
.zsv2-cycle span.is-active::before {
  background: var(--_ink);
}
.zsv2-cycle-title {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--_ink3);
}

/* speed dial (Momentum) */
.zsv2-speed__accel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--_ink2);
}
.zsv2-speed__arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--_line2);
  font-size: 15px;
  color: var(--_ink);
  transition: transform 500ms var(--_ease);
}

/* ATR distances */
.zsv2-dist {
  display: grid;
  gap: 0;
}
.zsv2-dist li {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
  border-top: 1px solid var(--_line);
  font-size: 13.5px;
}
.zsv2-dist__k {
  font-weight: 700;
}
.zsv2-dist__bar {
  height: 4px;
  background: var(--_tint3);
  position: relative;
}
.zsv2-dist__bar i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background: var(--_ink);
}
.zsv2-dist__v {
  font-weight: 500;
}
.zsv2-dist__role {
  display: block;
  font-size: 11.5px;
  color: var(--_ink3);
}

/* ==========================================================================
   E. Context band
   ========================================================================== */
.zsv2-ctx {
  margin-top: clamp(56px, 5.5vw, 96px);
}
.zsv2-ctx__intro {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--_line2);
}
.zsv2-ctx__intro h2 {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
}
.zsv2-ctx__intro p {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--_ink3);
}
.zsv2-ctx__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.zsv2-ctx__col {
  padding: 26px clamp(20px, 2.2vw, 40px) 8px;
  min-width: 0;
}
.zsv2-ctx__col:first-child {
  padding-inline-start: 0;
}
.zsv2-ctx__col:last-child {
  padding-inline-end: 0;
}
.zsv2-ctx__col + .zsv2-ctx__col {
  border-inline-start: 1px solid var(--_line);
}
.zsv2-ctx__col > header {
  margin-bottom: 18px;
}
.zsv2-ctx__col h3 {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
}
.zsv2-ctx__label {
  font-size: 12.5px;
  color: var(--_ink3);
  margin-bottom: 8px;
}
.zsv2-ctx__muted {
  font-size: 14.5px;
  color: var(--_ink3);
  line-height: 1.7;
}
.zsv2-ctx__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-clauses {
  display: grid;
  margin-bottom: 18px;
}
.zsv2-clauses li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  padding-block: 7px;
}
.zsv2-clauses li::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--_ink);
  flex: none;
}
.zsv2-trace {
  margin-top: 14px;
}
.zsv2-trace > button {
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--_line2);
}
.zsv2-trace__panel {
  margin-top: 12px;
  display: grid;
  gap: 14px;
  animation: zsv2-rise 320ms var(--_ease-in) both;
}
.zsv2-trace__sec p {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
}
.zsv2-trace__sec dl {
  display: grid;
  gap: 4px;
}
.zsv2-trace__sec dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-trace__sec dd {
  color: var(--_ink);
}

.zsv2-mtf__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.zsv2-mtf__num {
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}
.zsv2-mtf__pct {
  font-size: 14px;
  color: var(--_ink3);
}
.zsv2-mtf__state {
  margin-inline-start: 8px;
  font-size: 15px;
  font-weight: 700;
}
.zsv2-mtf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.zsv2-mtf li {
  display: grid;
  gap: 4px;
  padding: 12px 10px 10px;
  border-top: 2px solid var(--_ink3);
  background: transparent;
  transition: background-color 200ms var(--_ease);
}
.zsv2-mtf li.is-bullish {
  border-top-color: var(--_up);
}
.zsv2-mtf li.is-bearish {
  border-top-color: var(--_down);
}
.zsv2-mtf li.is-missing {
  border-top: 2px dashed var(--_line2);
}
.zsv2-mtf li.is-current {
  background: var(--_tint2);
}
.zsv2-mtf__tf {
  font-size: 13px;
  font-weight: 700;
}
.zsv2-mtf__glyph {
  font-size: 20px;
  line-height: 1;
  height: 20px;
}
.zsv2-mtf__glyph .zsv2-glyph {
  margin: 0;
}
.zsv2-mtf li.is-missing .zsv2-mtf__glyph {
  color: var(--_ink3);
}
.zsv2-mtf__bias {
  font-size: 13px;
  color: var(--_ink2);
}

.zsv2-div__kind {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.zsv2-div__kind.is-bullish {
  color: var(--_up-text);
}
.zsv2-div__kind.is-bearish {
  color: var(--_down-text);
}
.zsv2-div__more {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: var(--_ink3);
}
.zsv2-div__more li {
  display: flex;
  justify-content: space-between;
}
.zsv2-div__more .is-bullish {
  color: var(--_up-text);
}
.zsv2-div__more .is-bearish {
  color: var(--_down-text);
}

/* ==========================================================================
   F. Education + disclaimer
   ========================================================================== */
.zsv2-edu {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 5vw, 96px);
  margin-top: clamp(64px, 6.5vw, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--_line2);
}
.zsv2-edu__lead h2 {
  margin-top: 6px;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}
.zsv2-edu__lead p {
  margin-top: 16px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.9;
  color: var(--_ink2);
  max-width: 58ch;
}
.zsv2-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--_ink);
  padding-bottom: 2px;
}
.zsv2-edu__points li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--_line);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}
.zsv2-edu__points li:first-child {
  border-top: 0;
  padding-top: 8px;
}
.zsv2-edu__no {
  font-size: 13px;
  color: var(--_ink3);
  padding-top: 4px;
}
.zsv2-edu__note {
  grid-template-columns: 1fr !important;
  font-size: 14px !important;
  color: var(--_ink2);
  padding-inline-start: 68px;
}
.zsv2-disclaimer {
  grid-column: 1 / -1;
  padding-block: 20px 36px;
  border-top: 1px solid var(--_line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--_ink3);
}

/* ==========================================================================
   Sticky compact reading
   ========================================================================== */
.zsv2-sticky {
  position: fixed;
  top: var(--zs-header-offset, 0px);
  inset-inline: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--_paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--_line);
  transform: translateY(-110%);
  transition: transform 320ms var(--_ease);
}
.zsv2-sticky.is-on {
  transform: translateY(0);
}
.zsv2-sticky__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 54px;
}
.zsv2-sticky__name {
  font-size: 16px;
  font-weight: 700;
}
.zsv2-sticky__val {
  font-size: 21px;
  font-weight: 500;
}
.zsv2-sticky__state {
  font-size: 14px;
  color: var(--_ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zsv2-sticky__meta {
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--_ink3);
  white-space: nowrap;
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes zsv2-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes zsv2-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes zsv2-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zsv2-pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes zsv2-digit {
  from {
    opacity: 0.2;
    transform: translateY(0.18em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes zsv2-pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.45;
  }
}
@supports (animation-timeline: view()) {
  .zsv2-reveal {
    animation: zsv2-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zsv2 *,
  .zsv2 *::before,
  .zsv2 *::after {
    animation: none !important;
    transition: none !important;
  }
  .zsv2 .zsv2-draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Responsive — one scale: 1680 · 1440 · 1280 · 1024 · 900 · 640
   ========================================================================== */
@media (max-width: 1680px) {
  .zsv2-plate {
    grid-template-columns: minmax(290px, 23%) minmax(0, 1fr) minmax(330px, 26%);
  }
}
@media (max-width: 1440px) {
  .zsv2-plate {
    grid-template-columns: 290px minmax(0, 1fr) 330px;
  }
  .zsv2-read,
  .zsv2-brain {
    padding-inline: 24px;
  }
  .zsv2-suite a {
    padding-inline: 14px;
  }
}
@media (max-width: 1279px) {
  .zsv2-plate {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .zsv2-plot {
    border-inline-end: 0;
  }
  .zsv2-brain {
    grid-column: 1 / -1;
    border-top: 1px solid var(--_line);
    border-radius: 0 0 8px 8px;
  }
  .zsv2-brain__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
  }
  .zsv2-brain__sec {
    border-top: 0;
    padding-top: 0;
  }
  .zsv2-brain__sec--lead {
    grid-column: 1 / -1;
    padding-bottom: 18px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--_line);
  }
  .zsv2-bar {
    grid-template-columns: 1fr;
  }
  .zsv2-bar__ctl {
    justify-content: flex-start;
  }
}
@media (max-width: 1100px) {
  .zsv2-suite ol {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 28px);
    mask-image: linear-gradient(to left, transparent 0, #000 28px);
  }
  .zsv2-suite ol::-webkit-scrollbar {
    display: none;
  }
  .zsv2-suite li {
    flex: 0 0 auto;
    min-width: 172px;
    scroll-snap-align: start;
  }
  .zsv2-ctx__grid {
    grid-template-columns: 1fr 1fr;
  }
  .zsv2-ctx__col:nth-child(3) {
    grid-column: 1 / -1;
    border-inline-start: 0;
    border-top: 1px solid var(--_line);
    padding-inline: 0;
    margin-top: 18px;
  }
  .zsv2-ctx__col:nth-child(2) {
    padding-inline-end: 0;
  }
}
@media (max-width: 900px) {
  .zsv2-plate {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .zsv2-plot {
    border-inline: 0;
    border-top: 1px solid var(--_line);
  }
  .zsv2-brain__body {
    display: flex;
  }
  .zsv2-brain__sec {
    border-top: 1px solid var(--_line);
    padding-top: 14px;
  }
  .zsv2-brain__sec--lead {
    border-top: 0;
    border-bottom: 0;
    padding-top: 0;
    padding-bottom: 14px;
  }
  .zsv2-read__instrument {
    max-width: 560px;
  }
  .zsv2-ctx__grid {
    grid-template-columns: 1fr;
  }
  .zsv2-ctx__col,
  .zsv2-ctx__col:first-child,
  .zsv2-ctx__col:last-child {
    padding-inline: 0;
  }
  .zsv2-ctx__col + .zsv2-ctx__col,
  .zsv2-ctx__col:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--_line);
    margin-top: 10px;
  }
  .zsv2-edu {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .zsv2-suite {
    margin-inline: -16px;
  }
  .zsv2-suite li {
    min-width: 138px;
  }
  .zsv2-suite a {
    padding: 11px 14px 10px;
  }
  .zsv2-suite__row--sub .zsv2-suite__sub {
    display: none;
  }
  .zsv2-bar {
    padding-block: 20px 18px;
    gap: 16px;
  }
  .zsv2-bar__desc {
    display: none;
  }
  .zsv2-bar__ctl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .zsv2-asset__btn {
    width: 100%;
    justify-content: flex-start;
  }
  .zsv2-asset__chev {
    margin-inline-start: auto;
  }
  .zsv2-asset__name {
    display: none;
  }
  .zsv2-tf {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zsv2-tf__thumb {
    width: calc((100% - 8px) / 4);
  }
  .zsv2-status {
    min-height: 0;
  }
  .zsv2-plate {
    margin-inline: -16px;
    border-radius: 0;
    border-inline: 0;
  }
  .zsv2-read {
    padding: 22px 16px 20px;
  }
  .zsv2-read__num {
    font-size: 68px;
  }
  .zsv2-plot {
    padding: 18px 16px 14px;
  }
  .zsv2-chart,
  .zsv2-chart-state {
    min-height: 300px;
  }
  .zsv2-legend {
    gap: 12px;
  }
  .zsv2-ledger ol {
    grid-template-columns: 1fr;
  }
  .zsv2-ledger li,
  .zsv2-ledger li:first-child {
    border-inline-start: 0;
    border-top: 1px solid var(--_line);
    padding-inline: 0;
    padding-block: 10px;
  }
  .zsv2-ledger li:first-child {
    border-top: 0;
  }
  .zsv2-brain {
    padding: 22px 16px;
    border-radius: 0;
  }
  .zsv2-mtf__num {
    font-size: 38px;
  }
  .zsv2-edu__points li {
    grid-template-columns: 40px 1fr;
  }
  .zsv2-edu__note {
    padding-inline-start: 52px;
  }
  .zsv2-sticky__state {
    display: none;
  }
  .zsv2-sticky__in {
    gap: 12px;
  }
}

/* ---------- V2 additions: html chart notes, glyphs, stacked facts ---------- */
.zsv2-chart__notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.zsv2-chart__note {
  position: absolute;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--_ink);
  background: var(--_paper);
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.5;
}
.zsv2-chart__note.is-end {
  transform: translateX(-100%);
}
.zsv2-chart__note.is-above {
  margin-top: -26px;
}
.zsv2-chart__note.is-below {
  margin-top: 6px;
}
.zsv2-chart__note.is-watch {
  box-shadow: 0 0 0 1px var(--_line2);
}
.zsv2-glyph {
  display: inline-block;
  vertical-align: -2px;
  margin-inline-end: 6px;
}
.zsv2-glyph.is-up {
  color: var(--_up-text);
}
.zsv2-glyph.is-down {
  color: var(--_down-text);
}
.zsv2-glyph.is-flat {
  color: var(--_ink3);
}
.zsv2-facts--stacked .zsv2-facts__row {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.zsv2-facts--stacked .zsv2-facts__row dd {
  align-items: flex-start;
  text-align: start;
}
bdi {
  unicode-bidi: isolate;
}

/* watch-next block anchored at the bottom of the reading column */
.zsv2-next {
  margin-top: auto;
  padding-top: 18px;
}
.zsv2-read > .zsv2-facts + .zsv2-next {
  margin-top: max(22px, auto);
}
.zsv2-next h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 8px;
}
.zsv2-next .zsv2-facts__row dd {
  font-size: 16px;
  font-weight: 700;
}
.zsv2-next + .zsv2-alert {
  margin-top: 18px;
}
.zsv2-chart .zsv2-chart__band-label {
  paint-order: stroke;
  stroke: var(--_paper);
  stroke-width: 3px;
  stroke-linejoin: round;
  opacity: 1;
}
.zsv2-brain__sec {
  padding-block: 12px;
}
.zsv2-kdfill .zsv2-fill--up {
  opacity: 0.28;
}
.zsv2-kdfill .zsv2-fill--down {
  opacity: 0.24;
}
.zsv2-crosses {
  display: grid;
}
.zsv2-crosses li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding-block: 10px;
  border-top: 1px solid var(--_line);
  font-size: 13px;
  color: var(--_ink3);
}
.zsv2-crosses li:first-child {
  border-top: 0;
  padding-top: 0;
}
.zsv2-crosses__k {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--_ink);
}
.zsv2-crosses li.is-up .zsv2-crosses__k {
  color: var(--_up-text);
}
.zsv2-crosses li.is-down .zsv2-crosses__k {
  color: var(--_down-text);
}
.zsv2-crosses__v {
  color: var(--_ink2);
  text-align: end;
}
.zsv2-kd__cap {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--_ink3);
  margin-bottom: 8px;
}
.zsv2-kd__cap b {
  font-weight: 500;
  color: var(--_ink);
}
.zsv2-tangent line {
  stroke: var(--_ink);
  stroke-width: 2.4;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
  opacity: 0.8;
}
.zsv2-chart__note.is-soft {
  font-weight: 400;
  color: var(--_ink2);
  background: color-mix(in srgb, var(--_paper) 85%, transparent);
}

.zsv2-read__value.has-second {
  margin-top: 10px;
}

/* ============================================================
   ZeroSpread — Indicators Command Center
   Scoped to .indicators-page · Dark default · html.light overrides
   ============================================================ */

.indicators-page {
  --ind-c-green: #5fb62e;
  --ind-c-green-soft: #e9f6dd;
  --ind-c-purple: #8b5cf6;
  --ind-c-purple-soft: #efeafe;
  --ind-c-blue: #3b82f6;
  --ind-c-blue-soft: #e6efff;
  --ind-c-amber: #f5a524;
  --ind-c-amber-soft: #fdf1dc;
  --ind-c-cyan: #16b6c9;
  --ind-c-cyan-soft: #dcf5f8;
  --ind-c-orange: #f97316;
  --ind-c-orange-soft: #feeadb;
  --ind-c-momentum: #a3ff12;
  --ind-c-momentum-soft: rgba(163, 255, 18, 0.18);
  --ind-c-momentum-border: rgba(163, 255, 18, 0.35);
  --ind-radius-lg: 20px;
  --ind-radius-md: 16px;
  --ind-radius-sm: 12px;
  --ind-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ind-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Dark (default) */
  --ind-bg: #080a0e;
  --ind-bg-grad-1: rgba(95, 182, 46, 0.07);
  --ind-bg-grad-2: rgba(59, 130, 246, 0.05);
  --ind-surface: #0f141c;
  --ind-border: rgba(255, 255, 255, 0.06);
  --ind-border-strong: rgba(255, 255, 255, 0.11);
  --ind-text: #eef2f6;
  --ind-text-2: #8d99a8;
  --ind-text-3: #576373;
  --ind-shadow-card: 0 1px 1px rgba(0, 0, 0, 0.4), 0 24px 50px -22px rgba(0, 0, 0, 0.66);
  --ind-shadow-soft: 0 1px 1px rgba(0, 0, 0, 0.3), 0 14px 34px -20px rgba(0, 0, 0, 0.55);
  --ind-grid-line: rgba(255, 255, 255, 0.045);
  --ind-glass: rgba(20, 27, 38, 0.55);
  --ind-glass-border: rgba(255, 255, 255, 0.09);
  --ind-glass-shadow: 0 50px 100px -34px rgba(0, 0, 0, 0.8);

  position: relative;
  z-index: 0;
  font-family: var(--zs-font-institutional);
  background: var(--ind-bg);
  color: var(--ind-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.45s var(--ind-ease), color 0.45s var(--ind-ease);
}

.indicators-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 720px at 80% 2%, var(--ind-bg-grad-1), transparent 58%),
    radial-gradient(820px 560px at 8% 0%, var(--ind-bg-grad-2), transparent 52%);
}

html.light .indicators-page {
  --ind-bg: #f3f4f6;
  --ind-bg-grad-1: rgba(95, 182, 46, 0.06);
  --ind-bg-grad-2: rgba(59, 130, 246, 0.04);
  --ind-surface: #ffffff;
  --ind-border: rgba(15, 23, 42, 0.07);
  --ind-border-strong: rgba(15, 23, 42, 0.12);
  --ind-text: #0c0f14;
  --ind-text-2: #586173;
  --ind-text-3: #9aa6b6;
  --ind-shadow-card: 0 1px 1px rgba(15, 23, 42, 0.03), 0 18px 40px -18px rgba(15, 23, 42, 0.16);
  --ind-shadow-soft: 0 1px 1px rgba(15, 23, 42, 0.03), 0 10px 26px -16px rgba(15, 23, 42, 0.14);
  --ind-grid-line: rgba(15, 23, 42, 0.045);
  --ind-glass: rgba(255, 255, 255, 0.72);
  --ind-glass-border: rgba(255, 255, 255, 0.9);
  --ind-glass-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.3);
}

.indicators-page .indicators-wrap {
  position: relative;
  z-index: 1;
  max-width: 1340px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.indicators-page .ind-num {
  font-family: var(--ind-font-mono);
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}

/* ============================= HERO ============================= */
.indicators-page .ind-hero {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(340px, 40%) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 560px;
  margin-bottom: 64px;
}

.indicators-page .ind-hero-text {
  direction: rtl;
}

.indicators-page .ind-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ind-text-2);
}

.indicators-page .ind-badge .ind-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ind-c-green);
  box-shadow: 0 0 0 4px var(--ind-c-green-soft);
}

html:not(.light) .indicators-page .ind-badge .ind-dot {
  box-shadow: 0 0 0 4px rgba(95, 182, 46, 0.16);
}

.indicators-page .ind-hero h1 {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.indicators-page .ind-hero h1 .ind-accent {
  color: var(--ind-c-green);
}

.indicators-page .ind-rule {
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: var(--ind-c-green);
  margin-bottom: 26px;
  opacity: 0.92;
}

.indicators-page .ind-hero p {
  font-size: 17px;
  color: var(--ind-text-2);
  max-width: 420px;
  line-height: 1.9;
}

/* ===================== FLOATING STACK ===================== */
.indicators-page .ind-stack {
  position: relative;
  height: 560px;
  perspective: 2200px;
}

.indicators-page .ind-stack-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(4deg);
}

.indicators-page .ind-stack-card {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  background: var(--ind-glass);
  border: 1px solid var(--ind-glass-border);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow: var(--ind-glass-shadow);
  transition: transform 0.6s var(--ind-ease);
}

.indicators-page .ind-stack-card .ind-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.indicators-page .ind-stack-card .ind-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--ind-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ind-grid-line) 1px, transparent 1px);
  background-size: 38px 38px;
}

.indicators-page .ind-stack-card .ind-glow {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

html:not(.light) .indicators-page .ind-stack-card .ind-glow {
  mix-blend-mode: screen;
  opacity: 0.3;
}

.indicators-page .ind-stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 38%);
  opacity: 0.6;
}

html:not(.light) .indicators-page .ind-stack-card::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 40%);
  opacity: 0.7;
}

.indicators-page .ind-sc-orange {
  right: -10px;
  top: 120px;
  width: 150px;
  height: 330px;
  transform: translateZ(-220px) rotateY(8deg);
}

.indicators-page .ind-sc-cyan {
  right: 70px;
  top: 96px;
  width: 185px;
  height: 372px;
  transform: translateZ(-170px) rotateY(6deg);
}

.indicators-page .ind-sc-yellow {
  right: 170px;
  top: 74px;
  width: 215px;
  height: 410px;
  transform: translateZ(-120px) rotateY(4deg);
}

.indicators-page .ind-sc-blue {
  right: 290px;
  top: 54px;
  width: 255px;
  height: 452px;
  transform: translateZ(-70px) rotateY(2deg);
}

.indicators-page .ind-sc-purple {
  right: 418px;
  top: 64px;
  width: 285px;
  height: 436px;
  transform: translateZ(-30px) rotateY(1deg);
}

.indicators-page .ind-sc-green {
  right: 330px;
  top: 18px;
  width: 420px;
  height: 520px;
  z-index: 6;
  transform: translateZ(40px);
  background: linear-gradient(158deg, rgba(233, 246, 221, 0.94), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 60px 120px -40px rgba(95, 182, 46, 0.4),
    0 50px 90px -48px rgba(15, 23, 42, 0.34);
}

html:not(.light) .indicators-page .ind-sc-green {
  background: linear-gradient(158deg, rgba(95, 182, 46, 0.18), rgba(16, 22, 31, 0.72));
  border: 1px solid rgba(95, 182, 46, 0.28);
  box-shadow:
    0 60px 130px -40px rgba(95, 182, 46, 0.34),
    0 50px 100px -52px rgba(0, 0, 0, 0.7);
}

.indicators-page .ind-sc-green .ind-badge-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #86e25c, #4ea526);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 34px -8px rgba(95, 182, 46, 0.6),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
}

.indicators-page .ind-sc-green .ind-badge-logo svg {
  width: 38px;
  height: 38px;
  color: #fff;
}

@keyframes ind-floaty {
  0%,
  100% {
    transform: var(--ind-base);
  }
  50% {
    transform: var(--ind-base) translateY(-14px);
  }
}

.indicators-page .ind-sc-green {
  --ind-base: translateZ(40px);
}

.indicators-page .ind-sc-purple {
  --ind-base: translateZ(-30px) rotateY(1deg);
}

.indicators-page .ind-sc-blue {
  --ind-base: translateZ(-70px) rotateY(2deg);
}

.indicators-page .ind-sc-yellow {
  --ind-base: translateZ(-120px) rotateY(4deg);
}

.indicators-page .ind-sc-cyan {
  --ind-base: translateZ(-170px) rotateY(6deg);
}

.indicators-page .ind-sc-orange {
  --ind-base: translateZ(-220px) rotateY(8deg);
}

.indicators-page .ind-anim-float {
  animation: ind-floaty 8s var(--ind-ease) infinite;
}

.indicators-page .ind-sc-purple.ind-anim-float {
  animation-duration: 9s;
  animation-delay: 0.5s;
}

.indicators-page .ind-sc-blue.ind-anim-float {
  animation-duration: 8.5s;
  animation-delay: 0.3s;
}

.indicators-page .ind-sc-yellow.ind-anim-float {
  animation-duration: 9.5s;
  animation-delay: 0.7s;
}

.indicators-page .ind-sc-cyan.ind-anim-float {
  animation-duration: 10s;
  animation-delay: 0.4s;
}

.indicators-page .ind-sc-orange.ind-anim-float {
  animation-duration: 9.2s;
  animation-delay: 0.6s;
}

/* ===================== SECTION HEAD ===================== */
.indicators-page .ind-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.indicators-page .ind-sec-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ===================== STUDIO GRID ===================== */
.indicators-page .ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.indicators-page .ind-card {
  position: relative;
  background: var(--ind-surface);
  border: 1px solid var(--ind-border);
  border-radius: var(--ind-radius-lg);
  box-shadow: var(--ind-shadow-soft);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.4s var(--ind-ease),
    box-shadow 0.4s var(--ind-ease),
    border-color 0.4s;
}

.indicators-page .ind-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ind-accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.indicators-page .ind-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--ind-shadow-card);
}

.indicators-page .ind-card:hover::before {
  opacity: 0.85;
}

.indicators-page .ind-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.indicators-page .ind-card-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicators-page .ind-card-ic svg {
  width: 22px;
  height: 22px;
}

.indicators-page .ind-card-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.indicators-page .ind-card-sub {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
}

.indicators-page .ind-card-chart {
  position: relative;
  height: 100px;
  margin-bottom: 18px;
  display: flex;
  direction: ltr;
}

.indicators-page .ind-card-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.indicators-page .ind-axis {
  position: absolute;
  left: 2px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--ind-font-mono);
  font-size: 10px;
  color: var(--ind-text-3);
  padding: 4px 0;
}

.indicators-page .ind-card-desc {
  font-size: 13px;
  color: var(--ind-text-2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.indicators-page .ind-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--zs-font-institutional);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--ind-cta-bg);
  color: var(--ind-accent);
  text-decoration: none;
  transition: gap 0.25s, filter 0.25s;
}

.indicators-page .ind-card-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}

.indicators-page .ind-card-cta:hover {
  gap: 12px;
  filter: brightness(0.97);
}

.indicators-page .ind-card-cta:hover svg {
  transform: translateX(-3px);
}

.indicators-page .ind-s-green {
  --ind-accent: var(--ind-c-green);
  --ind-cta-bg: var(--ind-c-green-soft);
}

.indicators-page .ind-s-purple {
  --ind-accent: var(--ind-c-purple);
  --ind-cta-bg: var(--ind-c-purple-soft);
}

.indicators-page .ind-s-blue {
  --ind-accent: var(--ind-c-blue);
  --ind-cta-bg: var(--ind-c-blue-soft);
}

.indicators-page .ind-s-amber {
  --ind-accent: var(--ind-c-amber);
  --ind-cta-bg: var(--ind-c-amber-soft);
}

.indicators-page .ind-s-cyan {
  --ind-accent: var(--ind-c-cyan);
  --ind-cta-bg: var(--ind-c-cyan-soft);
}

.indicators-page .ind-s-orange {
  --ind-accent: var(--ind-c-orange);
  --ind-cta-bg: var(--ind-c-orange-soft);
}

.indicators-page .ind-s-momentum {
  --ind-accent: var(--ind-c-momentum);
  --ind-cta-bg: var(--ind-c-momentum-soft);
}

.indicators-page .ind-card .ind-card-ic {
  background: var(--ind-cta-bg);
  color: var(--ind-accent);
}

.indicators-page .ind-card .ind-card-sub {
  color: var(--ind-accent);
}

.indicators-page .ind-card:hover {
  border-color: color-mix(in srgb, var(--ind-accent) 35%, transparent);
}

html:not(.light) .indicators-page .ind-s-green {
  --ind-cta-bg: rgba(95, 182, 46, 0.13);
}

html:not(.light) .indicators-page .ind-s-purple {
  --ind-cta-bg: rgba(139, 92, 246, 0.14);
}

html:not(.light) .indicators-page .ind-s-blue {
  --ind-cta-bg: rgba(59, 130, 246, 0.14);
}

html:not(.light) .indicators-page .ind-s-amber {
  --ind-cta-bg: rgba(245, 165, 36, 0.14);
}

html:not(.light) .indicators-page .ind-s-cyan {
  --ind-cta-bg: rgba(22, 182, 201, 0.14);
}

html:not(.light) .indicators-page .ind-s-orange {
  --ind-cta-bg: rgba(249, 115, 22, 0.14);
}

html:not(.light) .indicators-page .ind-s-momentum {
  --ind-cta-bg: rgba(163, 255, 18, 0.12);
}

@keyframes ind-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.indicators-page .ind-reveal {
  opacity: 0;
  animation: ind-rise 0.75s var(--ind-ease) forwards;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1180px) {
  .indicators-page .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .indicators-page .ind-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 8px;
  }

  .indicators-page .ind-stack {
    height: 440px;
    order: 2;
    transform: scale(0.9);
    transform-origin: center top;
  }

  .indicators-page .ind-hero-text {
    order: 1;
    text-align: center;
  }

  .indicators-page .ind-hero p {
    margin: 0 auto;
  }

  .indicators-page .ind-rule {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .indicators-page .indicators-wrap {
    padding: 60px 20px 56px;
  }

  .indicators-page .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .indicators-page .ind-stack {
    height: 360px;
    transform: scale(0.74);
  }
}

@media (max-width: 460px) {
  .indicators-page .ind-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .indicators-page .ind-reveal,
  .indicators-page .ind-anim-float,
  .indicators-page .ind-stack-card,
  .indicators-page .ind-card,
  .indicators-page .ind-card-cta {
    animation: none !important;
    transition: none !important;
  }

  .indicators-page .ind-reveal {
    opacity: 1;
    transform: none;
  }

  .indicators-page .ind-stack-inner {
    transform: rotateY(-15deg) rotateX(4deg);
  }
}

/* ===================== STUDIO STANDALONE PAGE ===================== */
.indicators-page.ind-studio-live .indicators-wrap.ind-studio-wrap {
  width: min(94vw, 1680px);
  max-width: 1680px;
  margin-inline: auto;
  padding: clamp(20px, 2.4vw, 28px) clamp(12px, 1.2vw, 22px) 28px;
  overflow: visible;
}

.indicators-page.ind-studio-page .ind-studio-wrap {
  padding-bottom: 28px;
}

/* Page chrome — accent scoped here only, not on live studio renderer */
.indicators-page .ind-studio-shell {
  min-width: 0;
}

/* Live studio renderer — layout only; native crypto studio CSS owns colors */
.indicators-page.ind-studio-live .ind-studio-renderer-host.ind-studio-canvas-host,
.indicators-page.ind-studio-live .ind-studio-renderer-host .ind-studio-canvas-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

@media (max-width: 768px) {
  .indicators-page.ind-studio-live .indicators-wrap.ind-studio-wrap {
    width: 100%;
    max-width: 100%;
  }
}

.indicators-page .ind-studio-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 3px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ind-text-3);
}

.indicators-page .ind-studio-breadcrumb a {
  color: var(--ind-text-3);
  text-decoration: none;
  transition: color 0.15s var(--ind-ease);
}

.indicators-page .ind-studio-breadcrumb a:hover {
  color: var(--ind-text-2);
}

.indicators-page .ind-studio-breadcrumb-sep {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.4;
  user-select: none;
}

.indicators-page .ind-studio-breadcrumb-current {
  color: var(--ind-text-2);
  font-weight: 600;
}

html.light .indicators-page .ind-studio-breadcrumb a,
html.light .indicators-page .ind-studio-breadcrumb {
  color: #94a3b8;
}

html.light .indicators-page .ind-studio-breadcrumb-current {
  color: #64748b;
}

/* Hero accent — tokens via getHeroAccentCssVars() on hero */
.indicators-page .ind-product-hero.ind-hero-accent-lime::before {
  background: linear-gradient(90deg, var(--ind-ph-accent) 0%, #5fb62e 100%);
}

.indicators-page .ind-product-hero.ind-hero-accent-blue::before {
  background: linear-gradient(90deg, var(--ind-ph-accent) 0%, #2563eb 100%);
}

.indicators-page .ind-product-hero.ind-hero-accent-momentum::before {
  background: linear-gradient(90deg, var(--ind-ph-accent) 0%, #86e25c 100%);
}

.indicators-page .ind-s-momentum .ind-studio-tab.is-active {
  color: var(--ind-text);
  background: rgba(163, 255, 18, 0.12);
  border-color: rgba(163, 255, 18, 0.35);
  box-shadow: 0 0 0 1px rgba(163, 255, 18, 0.14);
}

.indicators-page .ind-s-momentum .ind-studio-tab:hover {
  border-color: rgba(163, 255, 18, 0.28);
}

.indicators-page .ind-s-momentum .ind-product-cta-primary,
.indicators-page .ind-s-momentum .ind-studio-cta-primary {
  background: var(--ind-c-momentum) !important;
  color: #050914 !important;
  border-color: transparent !important;
}

.indicators-page .ind-s-momentum .ind-product-cta-primary:hover,
.indicators-page .ind-s-momentum .ind-studio-cta-primary:hover {
  filter: brightness(1.06);
}

.indicators-page .ind-product-hero {
  position: relative;
  margin-bottom: 2px;
  padding: 5px 10px 6px;
  border-radius: var(--ind-radius-sm);
  border: 1px solid var(--ind-border-strong);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ind-ph-accent, var(--ind-accent)) 8%, var(--ind-surface)),
    var(--ind-surface)
  );
  box-shadow: var(--ind-shadow-soft);
  overflow: hidden;
}

.indicators-page .ind-product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(148px, 0.88fr);
  gap: 8px 14px;
  align-items: center;
  text-align: start;
}

.indicators-page .ind-product-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.indicators-page .ind-product-hero-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.indicators-page .ind-product-hero-chart {
  position: relative;
  height: 54px;
  padding: 4px 6px;
  border-radius: 9px;
  border: 1px solid var(--ind-border);
  background: color-mix(in srgb, var(--ind-ph-accent, var(--ind-accent)) 4%, var(--ind-bg));
  direction: ltr;
  overflow: hidden;
}

.indicators-page .ind-product-hero-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.indicators-page .ind-product-hero-state {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px 7px;
  border-radius: 9px;
  border: 1px solid var(--ind-border);
  background: color-mix(in srgb, var(--ind-surface) 92%, transparent);
}

.indicators-page .ind-product-hero-state-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ind-text-3);
}

.indicators-page .ind-product-hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ind-ph-accent, var(--ind-accent));
  box-shadow: 0 0 0 2px var(--ind-ph-accent-soft, transparent);
  animation: ind-hero-live-pulse 2s ease-in-out infinite;
}

@keyframes ind-hero-live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.indicators-page .ind-product-hero-state-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.indicators-page .ind-product-hero-state-value {
  font-family: var(--ind-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ind-text);
  line-height: 1.2;
  white-space: nowrap;
}

.indicators-page .ind-product-hero-state-hint {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ind-text-3);
  line-height: 1.3;
  text-align: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indicators-page .ind-product-hero-state-body.tone-up .ind-product-hero-state-hint {
  color: #5fb62e;
}

.indicators-page .ind-product-hero-state-body.tone-down .ind-product-hero-state-hint {
  color: #f87171;
}

.indicators-page .ind-product-hero-state-body.tone-warm .ind-product-hero-state-hint {
  color: var(--ind-ph-accent, var(--ind-accent));
}

.indicators-page .ind-product-hero-state-loading {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--ind-text-3);
  line-height: 1.3;
}

.indicators-page .ind-product-hero-main {
  min-width: 0;
}

.indicators-page .ind-product-hero-side {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.indicators-page .ind-product-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--ind-ph-accent, var(--ind-accent));
  opacity: 0.9;
}

.indicators-page .ind-product-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ind-ph-glow, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.indicators-page .ind-product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ind-text-2);
}

.indicators-page .ind-product-hero-badge .ind-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ind-ph-accent, var(--ind-accent));
  box-shadow: 0 0 0 2px var(--ind-ph-accent-soft, var(--ind-cta-bg));
}

.indicators-page .ind-product-hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.indicators-page .ind-product-hero-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ind-ph-accent-soft, var(--ind-cta-bg));
  color: var(--ind-ph-accent, var(--ind-accent));
}

.indicators-page .ind-product-hero-icon svg {
  width: 16px;
  height: 16px;
}

.indicators-page .ind-product-hero h1 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.indicators-page .ind-product-hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--ind-text);
  line-height: 1.35;
}

.indicators-page .ind-product-hero-desc {
  margin: 0;
  max-width: 52ch;
  line-height: 1.45;
}

.indicators-page .ind-product-hero-pitch {
  font-size: 12.5px;
  color: var(--ind-text-2);
  line-height: 1.45;
}

.indicators-page .ind-product-hero-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
}

.indicators-page .ind-product-hero-values li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ind-text-2);
  line-height: 1.35;
}

.indicators-page .ind-product-hero-check {
  flex-shrink: 0;
  color: var(--ind-ph-accent, var(--ind-accent));
  font-weight: 700;
  font-size: 11px;
  line-height: 1.4;
}

.indicators-page .ind-product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.indicators-page .ind-product-hero-actions .ind-studio-cta-primary,
.indicators-page .ind-product-hero-actions .ind-studio-cta-secondary {
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 10px;
}

.indicators-page .ind-product-cta-primary {
  background: var(--ind-ph-accent, var(--ind-accent)) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.indicators-page.ind-studio-live {
  overflow-x: hidden;
}

.indicators-page.ind-studio-live .indicators-wrap,
.indicators-page.ind-studio-live .indicators-wrap.ind-studio-wrap {
  overflow: visible;
}

/* Studio tabs — static (sticky disabled) */
.indicators-page .ind-studio-tabs {
  position: static;
  margin-bottom: 5px;
  min-width: 0;
  max-width: 100%;
  padding: 4px 0 5px;
  background: transparent;
  border-bottom: 1px solid var(--ind-border);
}

.indicators-page .ind-studio-tabs-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.indicators-page .ind-studio-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.indicators-page .ind-studio-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ind-text-2);
  background: var(--ind-surface);
  border: 1px solid var(--ind-border-strong);
  transition:
    color 0.2s var(--ind-ease),
    background 0.2s var(--ind-ease),
    border-color 0.2s var(--ind-ease);
  white-space: nowrap;
}

.indicators-page .ind-studio-tab:hover {
  color: var(--ind-text);
  border-color: color-mix(in srgb, var(--ind-accent) 30%, transparent);
}

.indicators-page .ind-studio-tab.is-active {
  color: var(--ind-text);
  background: color-mix(in srgb, var(--ind-accent) 14%, var(--ind-surface));
  border-color: color-mix(in srgb, var(--ind-accent) 45%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ind-accent) 20%, transparent);
}

.indicators-page.ind-studio-live .ind-studio-actions--footer .ind-studio-cta-primary {
  background: var(--ind-accent);
  color: #fff;
  border-color: transparent;
}

.indicators-page .ind-studio-live-label {
  margin: 0 0 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ind-text-3);
}

.indicators-page .ind-product-offers {
  margin-top: 0;
  margin-bottom: 4px;
}

.indicators-page .ind-product-offers-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ind-text-2);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.indicators-page .ind-product-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.indicators-page .ind-product-offer-card {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 10px;
  background: var(--ind-surface);
  border: 1px solid var(--ind-border);
  box-shadow: none;
}

.indicators-page .ind-product-offer-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ind-accent) 12%, var(--ind-surface));
  color: var(--ind-accent);
}

.indicators-page .ind-product-offer-icon svg {
  width: 12px;
  height: 12px;
}

.indicators-page .ind-product-offer-body {
  min-width: 0;
  flex: 1;
}

.indicators-page .ind-product-offer-card h3 {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 1px;
  line-height: 1.25;
  color: var(--ind-text);
}

.indicators-page .ind-product-offer-card p {
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
  color: var(--ind-text-2);
}

.indicators-page .ind-studio-canvas-host {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

/* Top-level studio roots only — never BEM internals (e.g. atr-studio__metrics-hero-live). */
.indicators-page.ind-studio-live .ind-studio-renderer-host .atr-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .rsi-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .cci-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .momentum-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .stoch-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .macd-studio,
.indicators-page.ind-studio-live .ind-studio-renderer-host .ind-rsi-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.indicators-page .ind-studio-actions--footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ind-border);
  gap: 8px;
}

.indicators-page .ind-studio-cta-sm {
  padding: 9px 18px !important;
  font-size: 13px !important;
  border-radius: 11px !important;
}

.indicators-page .ind-studio-actions--footer svg {
  width: 14px;
  height: 14px;
}

.indicators-page .ind-studio-end-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ind-border);
}

.indicators-page .ind-studio-pager {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.indicators-page .ind-studio-nav-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 5px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 7px;
  border-radius: 10px;
  border: 1px solid var(--ind-border);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ind-accent) 11%, var(--ind-surface)),
    var(--ind-surface)
  );
  color: var(--ind-text);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.22s var(--ind-ease),
    box-shadow 0.22s var(--ind-ease),
    transform 0.22s var(--ind-ease);
}

.indicators-page .ind-studio-nav-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ind-accent);
  opacity: 0.95;
}

.indicators-page .ind-studio-nav-card:hover {
  border-color: color-mix(in srgb, var(--ind-accent) 42%, transparent);
  box-shadow: 0 8px 22px -18px color-mix(in srgb, var(--ind-accent) 35%, transparent);
  transform: translateY(-1px);
}

.indicators-page .ind-studio-nav-card-body {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.indicators-page .ind-studio-nav-card--prev .ind-studio-nav-card-body {
  justify-content: start;
}

.indicators-page .ind-studio-nav-card--next .ind-studio-nav-card-body {
  justify-content: end;
}

.indicators-page .ind-studio-nav-card-chevron {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--ind-accent);
  transition: transform 0.22s var(--ind-ease);
}

.indicators-page[dir='rtl'] .ind-studio-nav-card--prev .ind-studio-nav-card-chevron::before {
  content: '→';
}

.indicators-page[dir='rtl'] .ind-studio-nav-card--next .ind-studio-nav-card-chevron::before {
  content: '←';
}

.indicators-page[dir='ltr'] .ind-studio-nav-card--prev .ind-studio-nav-card-chevron::before {
  content: '←';
}

.indicators-page[dir='ltr'] .ind-studio-nav-card--next .ind-studio-nav-card-chevron::before {
  content: '→';
}

.indicators-page[dir='rtl'] .ind-studio-nav-card--prev:hover .ind-studio-nav-card-chevron {
  transform: translateX(2px);
}

.indicators-page[dir='rtl'] .ind-studio-nav-card--next:hover .ind-studio-nav-card-chevron {
  transform: translateX(-2px);
}

.indicators-page[dir='ltr'] .ind-studio-nav-card--prev:hover .ind-studio-nav-card-chevron {
  transform: translateX(-2px);
}

.indicators-page[dir='ltr'] .ind-studio-nav-card--next:hover .ind-studio-nav-card-chevron {
  transform: translateX(2px);
}

.indicators-page .ind-studio-nav-card-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ind-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indicators-page .ind-studio-nav-card-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ind-text-3);
}

.indicators-page .ind-studio-nav-card--prev .ind-studio-nav-card-label {
  text-align: start;
}

.indicators-page .ind-studio-nav-card--next .ind-studio-nav-card-label {
  text-align: end;
}

html.light .indicators-page .ind-studio-nav-card {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ind-accent) 7%, #ffffff),
    #ffffff
  );
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .indicators-page .ind-studio-nav-card-label {
  color: #94a3b8;
}

.indicators-page .ind-studio-end-crypto-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--ind-border) 72%, transparent);
}

.indicators-page .ind-studio-end-crypto {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ind-text-2);
  text-decoration: none;
  transition: color 0.2s var(--ind-ease);
}

.indicators-page .ind-studio-end-crypto:hover {
  color: var(--ind-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.indicators-page .ind-studio-end-crypto svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ind-accent) 78%, var(--ind-text-2));
  transition: color 0.2s var(--ind-ease);
}

.indicators-page .ind-studio-end-crypto:hover svg {
  color: var(--ind-accent);
}

.indicators-page .ind-studio-actions--compact {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--ind-border);
}

.indicators-page .ind-studio-actions--compact .ind-studio-cta-secondary svg {
  width: 15px;
  height: 15px;
}

/* Light mode — product page polish */
html.light .indicators-page .ind-product-hero {
  border-color: var(--ind-border-strong);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ind-ph-accent, var(--ind-accent)) 5%, #ffffff),
    #ffffff
  );
}

html.light .indicators-page .ind-product-hero-pitch {
  color: #64748b;
}

html.light .indicators-page .ind-product-hero-state {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .indicators-page .ind-product-hero-chart {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .indicators-page .ind-product-hero-pitch,
html.light .indicators-page .ind-product-hero-values li {
  color: #586173;
}

html.light .indicators-page .ind-studio-tab {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #586173;
}

html.light .indicators-page .ind-studio-tabs {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html.light .indicators-page .ind-studio-tab.is-active {
  color: #0c0f14;
  background: color-mix(in srgb, var(--ind-accent) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--ind-accent) 40%, transparent);
}

html.light .indicators-page .ind-studio-live-label {
  color: #6b7280;
}

html.light .indicators-page .ind-product-offer-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html.light .indicators-page .ind-product-offer-icon {
  background: color-mix(in srgb, var(--ind-accent) 8%, #ffffff);
}

html.light .indicators-page .ind-product-offer-card p {
  color: #6b7280;
}

.indicators-page .ind-studio-cta-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.indicators-page .ind-studio-back {
  margin-bottom: 12px;
}

.indicators-page .ind-studio-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ind-text-2);
  text-decoration: none;
  transition: color 0.25s var(--ind-ease);
}

.indicators-page .ind-studio-back-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ind-ease);
}

.indicators-page .ind-studio-back-link:hover {
  color: var(--ind-text);
}

.indicators-page .ind-studio-back-link:hover svg {
  transform: translateX(-4px);
}

.indicators-page .ind-studio-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.indicators-page .ind-studio-hero-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.indicators-page .ind-studio-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.indicators-page .ind-studio-hero-icon svg {
  width: 28px;
  height: 28px;
}

.indicators-page .ind-studio-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.indicators-page .ind-studio-hero-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--ind-accent);
  margin: 0;
}

.indicators-page .ind-studio-lead {
  font-size: 17px;
  color: var(--ind-text-2);
  line-height: 1.85;
  max-width: 560px;
  margin-top: 8px;
}

.indicators-page .ind-studio-preview-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ind-text-3);
  margin-bottom: 12px;
}

.indicators-page .ind-studio-preview-card {
  background: var(--ind-surface);
  border: 1px solid var(--ind-border);
  border-top: 3px solid var(--ind-accent);
  border-radius: var(--ind-radius-lg);
  box-shadow: var(--ind-shadow-card);
  padding: 24px;
  overflow: hidden;
}

.indicators-page .ind-studio-preview-chart {
  position: relative;
  height: 200px;
  display: flex;
  direction: ltr;
}

.indicators-page .ind-studio-preview-chart svg {
  width: 100%;
  height: 100%;
}

.indicators-page .ind-studio-body {
  max-width: 720px;
  margin-bottom: 40px;
}

.indicators-page .ind-studio-body h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.indicators-page .ind-studio-body h2:not(:first-child) {
  margin-top: 32px;
}

.indicators-page .ind-studio-body-text {
  font-size: 15px;
  color: var(--ind-text-2);
  line-height: 1.8;
  margin: 0;
}

.indicators-page .ind-studio-list {
  margin: 0;
  padding: 0 20px 0 0;
  list-style: disc;
  color: var(--ind-text-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.indicators-page .ind-studio-list li + li {
  margin-top: 8px;
}

.indicators-page .ind-studio-list--bullets {
  list-style: none;
  padding: 0;
}

.indicators-page .ind-studio-list--bullets li {
  position: relative;
  padding-right: 18px;
}

.indicators-page .ind-studio-list--bullets li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ind-accent);
  opacity: 0.85;
}

.indicators-page .ind-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.indicators-page .ind-studio-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--zs-font-institutional);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--ind-accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--ind-shadow-soft);
  transition: filter 0.25s var(--ind-ease), gap 0.25s;
}

html.light .indicators-page .ind-studio-cta-primary {
  color: #fff;
}

.indicators-page .ind-studio-cta-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}

.indicators-page .ind-studio-cta-primary:hover {
  filter: brightness(1.05);
  gap: 14px;
}

.indicators-page .ind-studio-cta-primary:hover svg {
  transform: translateX(-3px);
}

.indicators-page .ind-studio-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: var(--zs-font-institutional);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ind-text-2);
  background: var(--ind-surface);
  border: 1px solid var(--ind-border-strong);
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.indicators-page .ind-studio-cta-secondary:hover {
  color: var(--ind-text);
  border-color: color-mix(in srgb, var(--ind-accent) 35%, transparent);
}

@media (max-width: 900px) {
  .indicators-page .ind-studio-hero {
    grid-template-columns: 1fr;
  }

  .indicators-page .ind-studio-preview {
    order: -1;
  }

  .indicators-page .ind-studio-lead {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .indicators-page .ind-product-hero-inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .indicators-page .ind-product-hero-visual {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }

  .indicators-page .ind-product-hero-chart {
    flex: 1 1 42%;
    height: 48px;
  }

  .indicators-page .ind-product-hero-state {
    flex: 1 1 58%;
    justify-content: center;
  }

  .indicators-page .ind-product-hero-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 8px;
  }
}

@media (max-width: 720px) {
  .indicators-page.ind-studio-page .ind-studio-wrap,
  .indicators-page.ind-studio-live .indicators-wrap.ind-studio-wrap {
    padding: 20px 12px 20px;
  }

  .indicators-page .ind-product-hero {
    padding: 4px 8px 5px;
    margin-bottom: 2px;
  }

  .indicators-page .ind-product-hero-inner {
    gap: 5px;
  }

  .indicators-page .ind-product-hero-visual {
    gap: 6px;
  }

  .indicators-page .ind-product-hero-chart {
    height: 44px;
  }

  .indicators-page .ind-product-hero-state-value {
    font-size: 12px;
  }

  .indicators-page .ind-product-hero-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
  }

  .indicators-page .ind-product-offers-grid {
    grid-template-columns: 1fr;
  }

  .indicators-page .ind-product-hero-actions,
  .indicators-page .ind-studio-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .indicators-page .ind-product-hero-actions .ind-studio-cta-primary,
  .indicators-page .ind-product-hero-actions .ind-studio-cta-secondary,
  .indicators-page .ind-product-cta-primary,
  .indicators-page .ind-studio-cta-primary,
  .indicators-page .ind-studio-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .indicators-page .ind-studio-tab {
    padding: 6px 12px;
    font-size: 12px;
  }

  .indicators-page .ind-studio-pager {
    gap: 8px;
  }

  .indicators-page .ind-studio-nav-card {
    padding: 8px 10px 7px;
    max-width: calc(50% - 4px);
  }

  .indicators-page .ind-studio-nav-card-name {
    font-size: 12px;
  }

  .indicators-page .ind-studio-preview-chart {
    height: 160px;
  }
}

/* Live studio — skip reveal fade so canvas is immediately visible */
.indicators-page.ind-studio-live .ind-studio-renderer-host.ind-reveal {
  opacity: 1;
  animation: none;
}

