/* ZeroSpread Intelligence — design system + Markets page styles.
 * Generated from the approved preview stylesheet by scoping every rule under `.zs-intel` (see CURSOR_INTEGRATION.md).
 * Visual rules are unchanged. Do not add global selectors here. */
/* ZeroSpread Markets — preview styles (refinement pass 2)
 * Light = signature pearl/white/graphite. Dark = institutional graphite workstation.
 * Green = positive data only (+ one small brand accent on the active workspace). Red = negative data only.
 * Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48.  Type scale: 12 · 13 · 14.5 · 16 · 18 · 22 · 28 · 34 · 44.
 */

.zs-intel {
  --hdr-h: var(--zs-header-height, 60px);
  --nav-h: 60px;
  --maxw: 1680px;
  --gut: 40px;
  --gap: 20px;
  --r-lg: 12px;
  --r-md: 9px;
  --r-sm: 6px;

  --fs-meta: 12px;
  --fs-sec: 13px;
  --fs-body: 14.5px;

  /* LIGHT */
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --surface-3: #f0f1ed;
  --line: #e4e5e0;
  --line-2: #ecedea;
  --line-strong: #d3d5ce;
  --ink: #111416;
  --ink-2: #363b40;
  --muted: #62686e;
  --faint: #8c9297;
  --pos: #0d855b;
  --pos-soft: rgba(13, 133, 91, 0.09);
  --neg: #c4352e;
  --neg-soft: rgba(196, 53, 46, 0.08);
  --warn: #9a6f00;
  --brand: #a3ff12;
  --focus: #2a78d6;
  --sel: rgba(17, 20, 22, 0.04);

  --chart-line: #111416;
  --chart-grid: #eeefeb;
  --chart-axis: #7d8388;
  --chart-zero: #b3b7b0;
  --chart-cross: #8d9398;
  --chart-area-top: rgba(17, 20, 22, 0.12);
  --chart-area-bottom: rgba(17, 20, 22, 0);
  --chart-volume: rgba(17, 20, 22, 0.08);
  --tip-bg: #111416;
  --tip-ink: #f4f5f2;
  --tip-muted: #a3a8ab;

  /* muted financial series — fixed per asset, never cycled */
  --s-BTC: #1f2429;
  --s-ETH: #3a6fb8;
  --s-SOL: #1f8f86;
  --s-BNB: #b38a1c;
  --s-XRP: #6b7c93;
  --s-DOGE: #6d7a37;

  --hn3: #bf4a42; --hn2: #dd8178; --hn1: #f0d0cb; --h0: #e8e9e4; --hp1: #cbe4d8; --hp2: #62ac8b; --hp3: #2b7d5b;
  --h-ink-strong: #ffffff; --h-ink-soft: #1c2023;

  --dm-btc: #2b3036; --dm-eth: #3a6fb8; --dm-stb: #a8aea5; --dm-oth: #d9dcd5;

  --shadow-pop: 0 12px 32px -14px rgba(17, 20, 22, 0.28);
  --shadow-sticky: 0 1px 0 var(--line), 0 6px 16px -12px rgba(17, 20, 22, 0.25);
  color-scheme: light;
}

.zs-intel[data-theme='dark'] {
  --bg: #0a0c0d;
  --surface: #101315;
  --surface-2: #13171a;
  --surface-3: #192023;
  --line: #20262a;
  --line-2: #1a1f22;
  --line-strong: #2d3439;
  --ink: #eef1f0;
  --ink-2: #c4c9cc;
  --muted: #8f969a;
  --faint: #687075;
  --pos: #3fc38e;
  --pos-soft: rgba(63, 195, 142, 0.1);
  --neg: #ef6c63;
  --neg-soft: rgba(239, 108, 99, 0.1);
  --warn: #d4a33a;
  --focus: #5b95e0;
  --sel: rgba(255, 255, 255, 0.04);

  --chart-line: #e9edec;
  --chart-grid: #1b2023;
  --chart-axis: #7b8387;
  --chart-zero: #3a4246;
  --chart-cross: #6f777b;
  --chart-area-top: rgba(233, 237, 236, 0.11);
  --chart-area-bottom: rgba(233, 237, 236, 0);
  --chart-volume: rgba(233, 237, 236, 0.07);
  --tip-bg: #eef1f0;
  --tip-ink: #101315;
  --tip-muted: #5d6468;

  --s-BTC: #e3e7e8;
  --s-ETH: #5b92df;
  --s-SOL: #2cae9f;
  --s-BNB: #cfa23c;
  --s-XRP: #93a3b8;
  --s-DOGE: #9aab5c;

  --hn3: #9c3731; --hn2: #6c302c; --hn1: #3a2826; --h0: #1e2326; --hp1: #1c392e; --hp2: #245e47; --hp3: #2d7b5a;
  --h-ink-strong: #ffffff; --h-ink-soft: #d9dedf;

  --dm-btc: #e3e7e8; --dm-eth: #5b92df; --dm-stb: #6c7478; --dm-oth: #343b3f;

  --shadow-pop: 0 14px 34px -14px rgba(0, 0, 0, 0.75);
  --shadow-sticky: 0 1px 0 var(--line), 0 8px 18px -12px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

.zs-intel, .zs-intel * { box-sizing: border-box; }
.zs-intel { -webkit-text-size-adjust: 100%; }
.zs-intel {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--zs-font-institutional);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html .zs-intel[lang='ar'] { line-height: 1.65; font-size: 15px; }
html .zs-intel[lang='he'] { line-height: 1.6; }
html.zs-intel-sheet-open { overflow: hidden; }
.zs-intel button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
.zs-intel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.zs-intel :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.zs-intel small { font-size: 0.86em; }
.zs-intel strong, .zs-intel b { font-weight: 700; }
.zs-intel h4 { margin: 0; }

.zs-intel .num { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1, 'cv11' 1; letter-spacing: -0.005em; unicode-bidi: isolate; white-space: nowrap; }
.zs-intel .chg { font-weight: 600; }
.zs-intel .pos, .zs-intel .pos-t { color: var(--pos); }
.zs-intel .neg, .zs-intel .neg-t { color: var(--neg); }
.zs-intel .flat, .zs-intel .flat-t { color: var(--muted); }
.zs-intel .muted { color: var(--muted); }
.zs-intel .small { font-size: var(--fs-meta); }
.zs-intel .strong { font-weight: 700; }
.zs-intel .fine { color: var(--muted); font-size: var(--fs-meta); margin: 12px 0 0; line-height: 1.6; }
.zs-intel .hot { color: var(--ink); font-weight: 700; }
.zs-intel .sub-h { display: block; font-size: var(--fs-meta); font-weight: 700; color: var(--muted); letter-spacing: 0.02em; margin: 0 0 8px; }
html .zs-intel[lang='en'] .sub-h { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11.5px; }
.zs-intel .arr { display: inline-flex; color: var(--faint); margin: 0 6px; vertical-align: middle; }
.zs-intel .arr svg { width: 14px; height: 14px; }
html .zs-intel[dir='rtl'] .arr svg, html .zs-intel[dir='rtl'] .link svg { transform: scaleX(-1); }
.zs-intel .sdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); margin-inline-start: 6px; vertical-align: middle; opacity: 0.85; }

@media (min-width: 641px) { .zs-intel .mob { display: none !important; } }
@media (max-width: 640px) { .zs-intel .desk { display: none !important; } }

/* ── Locked header placeholder (preview only) ── */

/* ── Page frame ── */
.zs-intel #zs-intel-app { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 56px; }

.zs-intel .page-head { padding: 32px 0 20px; }
.zs-intel .ph-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.zs-intel .eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
html .zs-intel[lang='en'] .eyebrow { text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.08em; }
.zs-intel h1 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
html .zs-intel[lang='ar'] h1 { letter-spacing: 0; }
.zs-intel .tagline { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; max-width: 680px; }
.zs-intel .ph-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: var(--fs-sec); padding-bottom: 4px; }
.zs-intel .live-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: var(--fs-meta); white-space: nowrap; }
.zs-intel .live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.zs-intel .live-chip.is-live i { background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); animation: zsi-pulse 2.4s ease-in-out infinite; }
.zs-intel .live-chip.is-sample i { background: var(--warn); }
@keyframes zsi-pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.zs-intel .icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; color: var(--ink-2); flex: none; }
.zs-intel .icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.zs-intel .icon-btn.sm { width: 30px; height: 30px; }

/* ── Status bar: one primary reading + supporting rail ── */
.zs-intel .sbar { margin-top: 24px; display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.zs-intel .sb-primary { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 24px; min-width: 330px; border-inline-end: 1px solid var(--line); border-radius: var(--r-lg) 0 0 var(--r-lg); text-align: start; }
html .zs-intel[dir='rtl'] .sb-primary { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.zs-intel .sb-primary:hover { background: var(--surface-2); }
.zs-intel .sb-k { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; }
.zs-intel .sb-state { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.zs-intel .sb-str { font-size: var(--fs-meta); font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 9px; white-space: nowrap; letter-spacing: 0; }
.zs-intel .sb-sub { font-size: var(--fs-sec); color: var(--muted); }
.zs-intel .r-riskOff .sb-state, .zs-intel .r-defensive .sb-state { color: var(--neg); }
.zs-intel .r-riskOn .sb-state, .zs-intel .r-constructive .sb-state { color: var(--pos); }
.zs-intel .r-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--faint); flex: none; }
.zs-intel .r-riskOn .r-dot, .zs-intel .r-constructive .r-dot, .zs-intel .r-dot.r-riskOn, .zs-intel .r-dot.r-constructive { background: var(--pos); }
.zs-intel .r-defensive .r-dot, .zs-intel .r-riskOff .r-dot, .zs-intel .r-dot.r-defensive, .zs-intel .r-dot.r-riskOff { background: var(--neg); }
.zs-intel .r-mixed .r-dot, .zs-intel .r-dot.r-mixed { background: var(--warn); }
.zs-intel .sb-rail { flex: 1; min-width: 0; }
.zs-intel .sb-rail .rail-in { height: 100%; }
.zs-intel .sb-item { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 12px 22px; min-width: max-content; border-inline-end: 1px solid var(--line-2); }
.zs-intel .sb-item:last-child { border-inline-end: 0; }
.zs-intel .sb-ik { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .sb-iv { font-size: 16px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.zs-intel .sb-is { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .b-weak, .zs-intel .b-veryWeak { color: var(--neg); }
.zs-intel .b-strong { color: var(--pos); }

/* ── Rails (horizontal scroll with edge fade only when needed) ── */
.zs-intel .rail { position: relative; min-width: 0; }
.zs-intel .rail-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.zs-intel .rail-in::-webkit-scrollbar { display: none; }
.zs-intel .rail.fe .rail-in { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.zs-intel .rail.fs .rail-in { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.zs-intel .rail.fs.fe .rail-in { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
html .zs-intel[dir='rtl'] .rail.fe .rail-in { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
html .zs-intel[dir='rtl'] .rail.fs .rail-in { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.zs-intel .cnt { font: 600 11px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); margin-inline-start: 7px; padding: 3px 6px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.zs-intel .on > .cnt { background: color-mix(in srgb, var(--surface) 22%, transparent); color: inherit; }

/* ── Workspace switcher ── */
.zs-intel .nav-sentinel { height: 1px; }
.zs-intel .viewnav { position: sticky; top: var(--hdr-h); z-index: 30; background: var(--bg); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; height: var(--nav-h); transition: box-shadow 0.15s; }
.zs-intel .viewnav.stuck { box-shadow: var(--shadow-sticky); }
.zs-intel .vn-rail { flex: 1; height: 100%; }
.zs-intel .vn-rail .rail-in { height: 100%; gap: 4px; }
.zs-intel .vn { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 100%; color: var(--muted); white-space: nowrap; transition: color 0.15s; }
.zs-intel .vn:hover { color: var(--ink); }
.zs-intel .vn-ico { position: relative; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.zs-intel .vn-txt { display: flex; flex-direction: column; text-align: start; line-height: 1.25; }
.zs-intel .vn-l { font-weight: 700; font-size: 15px; }
.zs-intel .vn-d { font-size: var(--fs-meta); color: var(--faint); }
.zs-intel .vn-s { display: none; font-weight: 700; font-size: 15px; }
.zs-intel .vn.on { color: var(--ink); }
.zs-intel .vn.on .vn-ico { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.zs-intel .vn.on::after { content: ''; position: absolute; inset-inline: 16px; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.zs-intel .vn.on .vn-ico::after { content: ''; position: absolute; top: -3px; inset-inline-end: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--bg); }
.zs-intel .vn-state { display: none; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: var(--fs-sec); white-space: nowrap; }
.zs-intel .viewnav.stuck .vn-state { display: inline-flex; }

.zs-intel .view { padding-top: 24px; display: flex; flex-direction: column; gap: var(--gap); animation: zsi-fade 0.16s ease-out; }
@keyframes zsi-fade { from { opacity: 0.5; } }

/* ── Chapters: the rhythm between layers ── */
.zs-intel .chap { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; min-width: 0; }
.zs-intel .chap:first-child { margin-top: 0; }
.zs-intel .chap-n { font: 700 12px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--faint); }
.zs-intel .chap-t { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.zs-intel .chap-d { font-size: var(--fs-sec); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-intel .chap::after { content: ''; flex: 1; height: 1px; background: var(--line); align-self: center; min-width: 24px; }

/* ── Grids ── */
.zs-intel .grid { display: grid; gap: var(--gap); min-width: 0; }
.zs-intel .grid > * { min-width: 0; }
.zs-intel .g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr); }
.zs-intel .g-3-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.zs-intel .g-hero { grid-template-columns: minmax(340px, 1fr) minmax(0, 2fr); }

.zs-intel .ov { display: grid; gap: var(--gap); grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    'c1 c1 c1 c1 c1 c1'
    'rg rg hr hr hr hr'
    'wc wc hr hr hr hr'
    'tl tl tl tl tl tl'
    'c2 c2 c2 c2 c2 c2'
    'in in in dv dv dv'
    'pu pu pu pu pu pu'
    'c3 c3 c3 c3 c3 c3'
    'it it it it it it'
    'c4 c4 c4 c4 c4 c4'
    'hm hm hm hm ct ct'; }
.zs-intel .ov > * { min-width: 0; }
.zs-intel .ov .c-1 { grid-area: c1; } .zs-intel .ov .c-2 { grid-area: c2; } .zs-intel .ov .c-3 { grid-area: c3; } .zs-intel .ov .c-4 { grid-area: c4; }
.zs-intel .a-regime { grid-area: rg; } .zs-intel .a-hero { grid-area: hr; } .zs-intel .a-changed { grid-area: wc; } .zs-intel .a-tl { grid-area: tl; }
.zs-intel .a-ins { grid-area: in; } .zs-intel .a-div { grid-area: dv; } .zs-intel .a-pulse { grid-area: pu; } .zs-intel .a-int { grid-area: it; } .zs-intel .a-heat { grid-area: hm; } .zs-intel .a-cat { grid-area: ct; }

/* ── Panel (the one surface primitive) ── */
.zs-intel .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; min-width: 0; scroll-margin-top: calc(var(--hdr-h) + var(--nav-h) + 16px); }
.zs-intel .panel-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px 0; flex-wrap: wrap; }
.zs-intel .panel-t { min-width: 0; }
.zs-intel .panel-t h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
html .zs-intel[lang='ar'] .panel-t h2 { letter-spacing: 0; }
.zs-intel .panel-q { margin: 3px 0 0; font-size: var(--fs-sec); color: var(--muted); }
.zs-intel .panel-c { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.zs-intel .panel-b { padding: 16px 24px 22px; flex: 1; min-width: 0; }
.zs-intel .panel-f { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 24px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: var(--fs-meta); line-height: 1.55; }

/* provenance marker: quiet, one per section; details in its tooltip */
.zs-intel .src { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); font-weight: 600; color: var(--muted); white-space: nowrap; cursor: help; height: 28px; }
.zs-intel .src i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.zs-intel .src.live i { background: var(--pos); }
.zs-intel .src.sample i { background: var(--warn); }
.zs-intel .src.mixed i { background: linear-gradient(90deg, var(--pos) 50%, var(--warn) 50%); }

/* ── Controls ── */
.zs-intel .seg { display: inline-flex; background: var(--surface-3); border-radius: 9px; padding: 3px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.zs-intel .seg::-webkit-scrollbar { display: none; }
.zs-intel .seg button { height: 32px; padding: 0 12px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: var(--fs-sec); white-space: nowrap; transition: background 0.12s, color 0.12s; }
.zs-intel .seg button:hover { color: var(--ink); }
.zs-intel .seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--line); }
.zs-intel[data-theme='dark'] .seg button.on { background: var(--line-strong); box-shadow: none; }
.zs-intel .seg-sm button { height: 30px; padding: 0 11px; }
.zs-intel .seg-tf button { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); min-width: 42px; }
.zs-intel .seg-asset button { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); min-width: 48px; }
.zs-intel .seg.no-visit button[data-v='visit'] { opacity: 0.45; cursor: not-allowed; }
.zs-intel .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: 14px; }
.zs-intel .btn:hover { background: var(--surface-2); }
.zs-intel .btn-full { width: 100%; height: 48px; background: var(--ink); color: var(--surface); border-color: var(--ink); }
.zs-intel .btn-full:hover { background: var(--ink); }
.zs-intel .link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: var(--fs-sec); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.zs-intel .more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; width: 100%; margin-top: 12px; border-radius: 9px; border: 1px solid var(--line); font-weight: 700; font-size: var(--fs-sec); color: var(--ink-2); background: var(--surface-2); }
.zs-intel .more-btn svg { transition: transform 0.15s; }
.zs-intel .more-btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.zs-intel .chip { display: inline-flex; font-size: var(--fs-meta); font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }

/* ── Skeleton & states ── */
.zs-intel .sk { background: linear-gradient(90deg, var(--surface-3) 0%, var(--line-2) 40%, var(--surface-3) 80%); background-size: 200% 100%; animation: zsi-shimmer 1.6s linear infinite; border-radius: 8px; }
@keyframes zsi-shimmer { to { background-position: -200% 0; } }
.zs-intel .sk-chart { height: 340px; }
.zs-intel .sk-line { height: 14px; margin: 12px 0; }
.zs-intel .sk-line.short { width: 40%; }
.zs-intel .sk-row { display: flex; gap: 12px; }
.zs-intel .sk-stack { padding: 6px 0; }
.zs-intel .sk-bar { padding: 8px; }
.zs-intel .state-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 36px 16px; color: var(--muted); }
.zs-intel .state-msg strong { color: var(--ink); font-size: 15px; }
.zs-intel .state-msg .btn { margin-top: 10px; }
.zs-intel .state-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); font: 700 17px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .state-msg.err .state-ico { background: var(--neg-soft); color: var(--neg); }

/* ── Key/value ── */
.zs-intel .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 20px; margin: 0; }
.zs-intel .kv > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zs-intel .kv dt { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .kv dd { margin: 0; font-weight: 700; font-size: 14.5px; }
.zs-intel .kv-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zs-intel .kv-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zs-intel .kv-rows { display: flex; flex-direction: column; gap: 0; }
.zs-intel .kv-rows > div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .kv-rows > div:last-child { border-bottom: 0; }
.zs-intel .kv-rows dt { font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .kv-rows dd { font-size: 14px; }

/* ── Regime ── */
.zs-intel .rg-state { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.zs-intel .rg-word { font-size: 34px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
html .zs-intel[lang='ar'] .rg-word { letter-spacing: 0; }
.zs-intel .rg-score { font-size: var(--fs-sec); color: var(--muted); font-weight: 600; white-space: nowrap; }
.zs-intel .rg-score .num { color: var(--ink); font-size: 15px; font-weight: 700; }
.zs-intel .r-riskOn .rg-word, .zs-intel .r-constructive .rg-word { color: var(--pos); }
.zs-intel .r-defensive .rg-word, .zs-intel .r-riskOff .rg-word { color: var(--neg); }
.zs-intel .rg-reason { margin: 8px 0 0; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.55; }
.zs-intel .rg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: var(--fs-sec); color: var(--muted); }
.zs-intel .rg-str { font-size: var(--fs-meta); font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); }
.zs-intel .s-strong { background: var(--ink); color: var(--surface); }
.zs-intel .s-fragile { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); }
.zs-intel .rg-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); margin: 16px -16px 0; }
.zs-intel .rg-keys > div { background: var(--surface); padding: 12px 16px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.zs-intel .rg-keys .k { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .rg-keys strong { font-size: 18px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-intel .rg-keys small { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .gauge { margin: 20px 0 18px; }
.zs-intel .gauge-track { position: relative; display: flex; gap: 2px; height: 8px; }
.zs-intel .gz { flex: 1; border-radius: 2px; }
.zs-intel .gz-riskOff { background: color-mix(in srgb, var(--neg) 55%, var(--surface)); }
.zs-intel .gz-defensive { background: color-mix(in srgb, var(--neg) 22%, var(--surface-3)); }
.zs-intel .gz-mixed { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.zs-intel .gz-constructive { background: color-mix(in srgb, var(--pos) 22%, var(--surface-3)); }
.zs-intel .gz-riskOn { background: color-mix(in srgb, var(--pos) 55%, var(--surface)); }
.zs-intel .gauge-mark { position: absolute; top: -6px; width: 4px; height: 20px; margin-left: -2px; background: var(--ink); border-radius: 2px; box-shadow: 0 0 0 2px var(--surface); }
.zs-intel .gauge-lbl { display: flex; justify-content: space-between; font-size: var(--fs-meta); color: var(--muted); margin-top: 8px; }
.zs-intel .rg-lead { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); margin-top: 8px; }
.zs-intel .rg-lead > div { padding: 12px 0; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.zs-intel .rg-lead > div + div { border-inline-start: 1px solid var(--line-2); padding-inline-start: 16px; }
.zs-intel .rg-lead .k { width: 100%; font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .ev-list { list-style: none; margin: 0; padding: 0; }
.zs-intel .ev { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: var(--fs-sec); }
.zs-intel .ev:last-child { border-bottom: 0; }
.zs-intel .ev-l { color: var(--ink-2); }
.zs-intel .ev-v { font-weight: 700; text-align: end; display: flex; gap: 6px; align-items: baseline; justify-content: flex-end; }
.zs-intel .ev-v small { color: var(--muted); font-weight: 500; font-size: var(--fs-meta); }
.zs-intel .ev-s { position: relative; height: 6px; border-radius: 3px; background: var(--surface-3); }
.zs-intel .ev-s::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-strong); }
.zs-intel .ev-s i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--faint); }
.zs-intel .ev-s.pos i { background: var(--pos); }
.zs-intel .ev-s.neg i { background: var(--neg); }
.zs-intel .ev-all { margin-top: 8px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.zs-intel .ev-all summary { cursor: pointer; font-weight: 700; font-size: var(--fs-sec); color: var(--ink-2); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 32px; }
.zs-intel .ev-all summary::-webkit-details-marker { display: none; }
.zs-intel .ev-all summary::before { content: '+'; width: 16px; text-align: center; font: 700 15px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .ev-all[open] summary::before { content: '−'; }

/* ── Hero chart ── */
.zs-intel .hero { display: flex; flex-direction: column; }
.zs-intel .hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.zs-intel .hero-id { display: flex; gap: 14px; align-items: center; min-width: 0; }
.zs-intel .hero-name { font-weight: 700; font-size: 15px; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; }
.zs-intel .pair { font: 600 12px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--faint); letter-spacing: 0.02em; }
.zs-intel .hero-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.zs-intel .hp { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.zs-intel .hero-chg { display: inline-flex; align-items: baseline; gap: 6px; }
.zs-intel .hero-chg .chg { font-size: 16px; }
.zs-intel .hero-chg small { color: var(--muted); font-size: var(--fs-meta); }
.zs-intel .hero-stats { display: grid; grid-template-columns: repeat(6, auto); gap: 4px 24px; margin: 0; }
.zs-intel .hero-stats div { display: flex; flex-direction: column; }
.zs-intel .hero-stats dt { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .hero-stats dd { margin: 0; font-weight: 700; font-size: 14px; }
.zs-intel .hero-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 8px; flex-wrap: wrap; }
.zs-intel .ht-main { display: flex; gap: 8px; align-items: center; }
.zs-intel .ht-sec { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.zs-intel .cmp { display: flex; align-items: center; gap: 6px; }
.zs-intel .cmp-l { font-size: var(--fs-sec); color: var(--muted); }
.zs-intel .cmp-b { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); font: 600 13px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--muted); background: var(--surface); white-space: nowrap; }
.zs-intel .cmp-b:hover { border-color: var(--line-strong); color: var(--ink); }
.zs-intel .cmp-b.on { color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); }
.zs-intel .opt-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: var(--fs-sec); color: var(--ink-2); flex: none; }
.zs-intel .opt-btn .dot { position: absolute; top: 8px; inset-inline-end: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.zs-intel .sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; background: var(--faint); vertical-align: middle; flex: none; }
.zs-intel .sw.sq { width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; }
.zs-intel .sw-BTC { background: var(--s-BTC); } .zs-intel .sw-ETH { background: var(--s-ETH); } .zs-intel .sw-SOL { background: var(--s-SOL); } .zs-intel .sw-BNB { background: var(--s-BNB); } .zs-intel .sw-XRP { background: var(--s-XRP); } .zs-intel .sw-DOGE { background: var(--s-DOGE); }
.zs-intel .chart-host { position: relative; min-height: 120px; }
.zs-intel .zs-ts { position: relative; }
.zs-intel .zs-ts canvas { display: block; width: 100%; touch-action: pan-y; cursor: crosshair; }
.zs-intel .zs-ts-tip { position: absolute; display: none; pointer-events: none; min-width: 168px; background: var(--tip-bg); color: var(--tip-ink); border-radius: 10px; padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow-pop); z-index: 3; }
.zs-intel .tt-t { color: var(--tip-muted); font: 500 12px/1.3 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); margin-bottom: 6px; }
.zs-intel .tt-big { font-size: 16px; font-weight: 700; margin-bottom: 6px; display: flex; gap: 8px; align-items: baseline; }
.zs-intel .tt-grid { display: grid; grid-template-columns: auto auto; gap: 3px 16px; font-size: 12.5px; }
.zs-intel .tt-grid > span:nth-child(odd) { color: var(--tip-muted); }
.zs-intel .tt-grid .num { text-align: end; }
.zs-intel .tt-r { display: flex; justify-content: space-between; gap: 18px; padding: 2px 0; }
.zs-intel .tt-r span:first-child { display: flex; align-items: center; gap: 7px; color: var(--tip-muted); }
.zs-intel .zs-ts-tip .pos { color: color-mix(in srgb, var(--pos) 70%, var(--tip-ink)); }
.zs-intel .zs-ts-tip .neg { color: color-mix(in srgb, var(--neg) 75%, var(--tip-ink)); }
.zs-intel .legend { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .lg-top { margin: 0 0 8px; }
.zs-intel .legend:empty { display: none; }
.zs-intel .lg { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .lg-b { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.zs-intel .lg-b.on { border-color: var(--ink); }
.zs-intel .legend > .lg:not(.lg-b) { padding-inline-end: 8px; }

/* ── Bottom sheet (mobile secondary controls) ── */
.zs-intel .sheet-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.32); z-index: 60; animation: zsi-fade 0.15s; }
.zs-intel .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 560px; margin: 0 auto; background: var(--surface); border-radius: 16px 16px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-pop); animation: zsi-up 0.18s ease-out; }
@keyframes zsi-up { from { transform: translateY(24px); opacity: 0.6; } }
.zs-intel .sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 8px; }
.zs-intel .sheet-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.zs-intel .sheet-h strong { font-size: 17px; }
.zs-intel .sheet-g { padding: 12px 0; border-top: 1px solid var(--line-2); }
.zs-intel .sheet-l { display: block; font-size: var(--fs-meta); color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.zs-intel .seg-full { display: flex; width: 100%; }
.zs-intel .seg-full button { flex: 1; height: 40px; min-width: 0; }
.zs-intel .sheet-cmp { display: flex; flex-direction: column; gap: 8px; }
.zs-intel .cmp-b.lg { height: 48px; justify-content: flex-start; font-size: 14px; }
.zs-intel .cmp-b.lg .muted { font-family: inherit; font-weight: 500; margin-inline-start: auto; }
.zs-intel .sheet .btn-full { margin-top: 8px; }

/* ── Logos & asset identity ── */
.zs-intel .logo { width: var(--sz); height: var(--sz); border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-3); }
.zs-intel .logo.mono { display: inline-grid; place-items: center; font: 700 calc(var(--sz) * 0.42)/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--ink-2); border: 1px solid var(--line); }
.zs-intel .as { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zs-intel .as-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.zs-intel .as-t strong { font: 700 14px/1.25 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .as-t small { color: var(--muted); font-size: var(--fs-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-intel .sec-chip { font-size: 11.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; margin-inline-start: 4px; }

/* ── Timeline ── */
.zs-intel .tl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.zs-intel .tl-main { min-width: 0; }
.zs-intel .tl { position: relative; }
.zs-intel .tl-svg { display: block; width: 100%; height: 64px; overflow: visible; }
.zs-intel .tl-gl { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.zs-intel .tl-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.zs-intel .tl-mk { fill: var(--surface); stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.zs-intel .tl-mk.on { fill: var(--ink); }
.zs-intel .tl-band { display: flex; gap: 2px; height: 28px; margin-top: 10px; }
.zs-intel .tlc { flex: 1; border-radius: 3px; }
.zs-intel .st-riskOff { background: color-mix(in srgb, var(--neg) 60%, var(--surface)); }
.zs-intel .st-defensive { background: color-mix(in srgb, var(--neg) 26%, var(--surface-3)); }
.zs-intel .st-mixed { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.zs-intel .st-constructive { background: color-mix(in srgb, var(--pos) 26%, var(--surface-3)); }
.zs-intel .st-riskOn { background: color-mix(in srgb, var(--pos) 60%, var(--surface)); }
.zs-intel .tl-sess { display: flex; gap: 2px; margin-top: 6px; }
.zs-intel .tls { font-size: var(--fs-meta); font-weight: 600; color: var(--muted); padding-top: 5px; border-top: 2px solid var(--line-strong); text-align: center; white-space: nowrap; overflow: hidden; min-width: 0; }

.zs-intel .tl-ticks { position: relative; height: 18px; margin-top: 4px; }
.zs-intel .tl-ticks span { position: absolute; transform: translateX(-50%); font: 500 11.5px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--faint); top: 4px; }
.zs-intel .tl-ticks span:first-child { transform: none; }
.zs-intel .tl-ticks span:last-child { transform: translateX(-100%); }
.zs-intel .tl-rail { margin-top: 12px; }
.zs-intel .tl-rail .rail-in { gap: 6px; }
.zs-intel .tl-sh { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .tl-sh .num { font-weight: 700; color: var(--ink); }
.zs-intel .tl-sh.on { border-color: var(--ink); background: var(--surface-2); }
.zs-intel .tl-ft { display: inline-flex; align-items: center; gap: 5px; }
.zs-intel .tl-ft .arr { margin: 0 2px; }
.zs-intel .tl-det { border-inline-start: 1px solid var(--line-2); padding-inline-start: 24px; min-width: 0; }
.zs-intel .tl-dh { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.zs-intel .tl-dh .muted { font-size: var(--fs-meta); }
.zs-intel .tl-dh strong { font-size: 18px; display: flex; align-items: center; flex-wrap: wrap; }
.zs-intel .tl-dh .r-riskOff, .zs-intel .tl-dh .r-defensive { color: var(--neg); }
.zs-intel .tl-dh .r-riskOn, .zs-intel .tl-dh .r-constructive { color: var(--pos); }
.zs-intel .tl-wait { padding: 4px 0; }

/* ── What changed ── */
.zs-intel .wc-note { margin: 0 0 8px; font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .wc { list-style: none; margin: 0; padding: 0; }
.zs-intel .wc li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: var(--fs-sec); }
.zs-intel .wc li:last-child { border-bottom: 0; }
.zs-intel .wc-k { color: var(--ink-2); }
.zs-intel .wc-v { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 600; white-space: nowrap; }
.zs-intel .wc-f { color: var(--muted); font-weight: 500; }
.zs-intel .wc-t strong { font-weight: 800; }
.zs-intel .wc-d { font-size: var(--fs-meta); font-weight: 700; min-width: 64px; text-align: end; white-space: nowrap; }
.zs-intel .wc-d.flat { color: var(--muted); font-weight: 500; }

/* ── Insights ── */
.zs-intel .ins-list { list-style: none; margin: 0; padding: 0; }
.zs-intel .ins { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .ins:first-child { padding-top: 2px; }
.zs-intel .ins:last-child { border-bottom: 0; padding-bottom: 0; }
.zs-intel .ins-n { font-size: 13px; font-weight: 700; color: var(--faint); padding-top: 2px; }
.zs-intel .ins-b p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
html .zs-intel[lang='ar'] .ins-b p { line-height: 1.7; }
.zs-intel .ins-b p strong { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .why-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; height: 32px; font-size: var(--fs-sec); font-weight: 700; color: var(--ink-2); padding: 0 12px 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.zs-intel .why-btn:hover, .zs-intel .why-btn[aria-expanded='true'] { border-color: var(--ink); color: var(--ink); }
.zs-intel .why-btn svg { width: 15px; height: 15px; }
.zs-intel .ins-why { margin-top: 10px; padding: 4px 14px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); }
.zs-intel .ins-why .link { margin-top: 8px; }

/* ── Divergence radar ── */
.zs-intel .dvl { list-style: none; margin: 0; padding: 0; }
.zs-intel .dvi { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .dvi:first-child { padding-top: 2px; }
.zs-intel .dvi:last-child { border-bottom: 0; padding-bottom: 0; }
.zs-intel .dv-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); }
.zs-intel .dv-w { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.zs-intel .dv-w strong { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .dv-f { margin: 3px 0 0; font-size: var(--fs-meta); color: var(--muted); line-height: 1.55; }
.zs-intel .dv-m { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.zs-intel .dv-how { font: 700 13px/1.2 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); padding: 4px 8px; border-radius: 6px; background: var(--surface-3); white-space: nowrap; }
html .zs-intel[lang='ar'] .dv-how, html .zs-intel[lang='he'] .dv-how { font-family: inherit; }
.zs-intel .dv-since { font-size: var(--fs-meta); color: var(--muted); white-space: nowrap; }

/* ── Pulse ── */
.zs-intel .pulse { display: grid; grid-template-columns: 1.2fr 1.4fr 1.2fr 0.8fr 0.8fr 0.8fr; }
.zs-intel .pg { padding: 4px 20px; border-inline-end: 1px solid var(--line-2); display: flex; flex-direction: column; min-width: 0; }
.zs-intel .pg:first-child { padding-inline-start: 0; }
.zs-intel .pg:last-child { border-inline-end: 0; padding-inline-end: 0; }
.zs-intel .pg-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.zs-intel .pg-t { font-weight: 800; font-size: 14px; }
.zs-intel .pg-tone { font-size: var(--fs-meta); font-weight: 700; white-space: nowrap; }
.zs-intel .pg ul { list-style: none; margin: 0; padding: 0; }
.zs-intel .pg li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .pg li:last-child { border-bottom: 0; }
.zs-intel .pl-n { display: flex; flex-direction: column; min-width: 0; }
.zs-intel .pl-sym { font: 700 13px/1.3 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .pl-name { font-size: var(--fs-meta); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-intel .pl-v { display: flex; flex-direction: column; align-items: flex-end; }
.zs-intel .pl-p { font-weight: 700; font-size: 14px; }
.zs-intel .pl-v .chg { font-size: var(--fs-meta); }

/* ── Internals: one analytical system ── */
.zs-intel .int { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; }
.zs-intel .int-col { padding: 0 24px; border-inline-end: 1px solid var(--line-2); min-width: 0; }
.zs-intel .int-col:first-child { padding-inline-start: 0; }
.zs-intel .int-col:last-child { border-inline-end: 0; padding-inline-end: 0; }
.zs-intel .int-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'k k' 'big v' 'u u'; align-items: baseline; gap: 0 12px; width: 100%; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; cursor: default; }
.zs-intel .int-k { grid-area: k; font-size: var(--fs-meta); font-weight: 700; color: var(--muted); }
.zs-intel .int-big { grid-area: big; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
html .zs-intel[lang='ar'] .int-big { letter-spacing: 0; }
.zs-intel .int-big .num { font-weight: 700; }
.zs-intel .int-u { grid-area: u; font-size: var(--fs-sec); color: var(--muted); }
.zs-intel .int-v { grid-area: v; font-size: var(--fs-sec); font-weight: 700; color: var(--ink-2); }
.zs-intel .int-v.v-high { color: var(--neg); } .zs-intel .int-v.v-elevated { color: var(--warn); }
.zs-intel .int-chev { display: none; }
.zs-intel .adn { display: flex; gap: 16px; font-weight: 700; font-size: 15px; }
.zs-intel .ad-bar { display: flex; gap: 2px; height: 8px; margin: 10px 0 0; }
.zs-intel .ad-bar i { border-radius: 2px; }
.zs-intel .ad-bar .pos { background: var(--pos); } .zs-intel .ad-bar .neg { background: var(--neg); } .zs-intel .ad-bar .neu { background: var(--line-strong); }
.zs-intel .hist { display: flex; align-items: flex-end; gap: 4px; height: 132px; margin-top: 20px; border-bottom: 1px solid var(--line-strong); }
.zs-intel .hb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.zs-intel .hb i { width: 100%; border-radius: 3px 3px 0 0; min-height: 2px; }
.zs-intel .hb.med i { box-shadow: inset 0 0 0 2px var(--ink); }
.zs-intel .hb i.neg.s4 { background: var(--neg); } .zs-intel .hb i.neg.s3 { background: color-mix(in srgb, var(--neg) 72%, var(--surface)); } .zs-intel .hb i.neg.s2 { background: color-mix(in srgb, var(--neg) 48%, var(--surface)); } .zs-intel .hb i.neg.s1 { background: color-mix(in srgb, var(--neg) 28%, var(--surface)); }
.zs-intel .hb i.pos.s1 { background: color-mix(in srgb, var(--pos) 28%, var(--surface)); } .zs-intel .hb i.pos.s2 { background: color-mix(in srgb, var(--pos) 48%, var(--surface)); } .zs-intel .hb i.pos.s3 { background: color-mix(in srgb, var(--pos) 72%, var(--surface)); } .zs-intel .hb i.pos.s4 { background: var(--pos); }
.zs-intel .hb-c { font: 600 11.5px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--ink-2); margin-bottom: 4px; }
.zs-intel .hist-x { display: flex; gap: 4px; margin-top: 6px; }
.zs-intel .hist-x span { flex: 1; text-align: center; font: 500 11px/1.2 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--muted); white-space: nowrap; overflow: hidden; }
.zs-intel .meters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.zs-intel .mt-h { display: flex; justify-content: space-between; font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .mt-h .num { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.zs-intel .mt-bar { position: relative; height: 7px; border-radius: 4px; background: var(--surface-3); margin-top: 6px; }
.zs-intel .mt-bar i { position: absolute; inset-block: 0; left: 0; border-radius: 4px; background: var(--ink-2); }
.zs-intel .mt-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-strong); }
.zs-intel .hl2 { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-top: 1px solid var(--line-2); }
.zs-intel .hl2 > div { padding-top: 12px; display: flex; flex-direction: column; }
.zs-intel .hl2 .k { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .big-n { font-size: 22px; font-weight: 700; }
.zs-intel .vr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.zs-intel .vr-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.zs-intel .vr-a { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .vchip { font-size: var(--fs-meta); font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--surface-3); color: var(--ink-2); }
.zs-intel .vchip.v-high { background: var(--neg-soft); color: var(--neg); }
.zs-intel .vchip.v-elevated { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.zs-intel .vchip.v-low { color: var(--muted); }
.zs-intel .vr-scale { position: relative; height: 7px; border-radius: 4px; background: var(--surface-3); }
.zs-intel .vr-norm { position: absolute; left: 16.7%; width: 26.7%; top: 0; bottom: 0; background: var(--line-strong); border-radius: 4px; }
.zs-intel .vr-scale i { position: absolute; top: -4px; width: 3px; height: 15px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.zs-intel .vr-n { display: flex; justify-content: space-between; font-size: var(--fs-meta); color: var(--muted); margin-top: 6px; }
.zs-intel .vr-n strong { color: var(--ink); }
.zs-intel .vr-legend { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--faint); margin-top: 12px; }
.zs-intel .hours { display: flex; align-items: center; gap: 2px; height: 84px; position: relative; }
.zs-intel .hours .hr { flex: 1; height: 100%; position: relative; border-radius: 2px; }
.zs-intel .hours .hr.s-europe { background: var(--surface-2); }
.zs-intel .hours .hr.s-us { background: var(--surface-3); }
.zs-intel .hours .hr i { position: absolute; left: 12%; right: 12%; border-radius: 1.5px; }
.zs-intel .hours .hr i.up { bottom: 50%; background: var(--pos); }
.zs-intel .hours .hr i.dn { top: 50%; background: var(--neg); }
.zs-intel .hours::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.zs-intel .hours-lbl { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--muted); margin: 6px 0 12px; }
.zs-intel .sess-t { width: 100%; border-collapse: collapse; font-size: var(--fs-sec); }
.zs-intel .sess-t th, .zs-intel .sess-t td { padding: 8px 4px; border-bottom: 1px solid var(--line-2); text-align: end; }
.zs-intel .sess-t thead th { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; }
.zs-intel .sess-t tbody th { text-align: start; font: 700 13px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .sess-t tr:last-child th, .zs-intel .sess-t tr:last-child td { border-bottom: 0; }

/* ── Heatmap ── */
.zs-intel .heat { position: relative; height: 560px; }
.zs-intel .heat-g { position: absolute; }
.zs-intel .heat-gl { position: absolute; top: 3px; inset-inline-start: 2px; font-size: var(--fs-sec); font-weight: 800; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.zs-intel .heat-gl .chg { font-size: var(--fs-meta); }
.zs-intel .tile { position: absolute; border-radius: 5px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; overflow: hidden; color: var(--h-ink-soft); transition: filter 0.1s, box-shadow 0.1s; text-align: center; }
.zs-intel .tile:hover { filter: brightness(1.04) saturate(1.04); z-index: 2; box-shadow: 0 0 0 2px var(--ink); }
.zs-intel .tile.on { z-index: 3; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.zs-intel .tl-s { font: 700 13px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .tl-c { font: 600 12px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); opacity: 0.92; }
.zs-intel .tile.big .tl-s { font-size: 18px; }
.zs-intel .tile.big .tl-c { font-size: 14px; }
.zs-intel .tile.sm .tl-s { font-size: 11px; }
.zs-intel .hn3 { background: var(--hn3); color: var(--h-ink-strong); } .zs-intel .hn2 { background: var(--hn2); color: var(--h-ink-strong); } .zs-intel .hn1 { background: var(--hn1); }
.zs-intel .h0 { background: var(--h0); } .zs-intel .hp1 { background: var(--hp1); } .zs-intel .hp2 { background: var(--hp2); color: var(--h-ink-strong); } .zs-intel .hp3 { background: var(--hp3); color: var(--h-ink-strong); }
.zs-intel[data-theme='dark'] .hn1, .zs-intel[data-theme='dark'] .h0, .zs-intel[data-theme='dark'] .hp1 { color: var(--h-ink-soft); }
.zs-intel .na { opacity: 0.55; }
.zs-intel .heat-sel { min-height: 44px; margin-top: 12px; }
.zs-intel .heat-sel .fine { margin: 12px 0 0; }
.zs-intel .hs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); font-size: var(--fs-sec); }
.zs-intel .hs strong { font: 700 15px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .hs .icon-btn { margin-inline-start: auto; }
.zs-intel .heat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.zs-intel .heat-legend { display: flex; gap: 2px; }
.zs-intel .heat-legend span { font: 600 11px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); padding: 6px 0; width: 50px; text-align: center; border-radius: 3px; }
.zs-intel .heat-rail { margin-bottom: 12px; }

/* ── Catalysts ── */
.zs-intel .cat-list { list-style: none; margin: 0; padding: 0; }
.zs-intel .cat { border-bottom: 1px solid var(--line-2); }
.zs-intel .cat:last-child { border-bottom: 0; }
.zs-intel .cat-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; width: 100%; padding: 12px 0 8px; align-items: start; cursor: default; }
.zs-intel .cat:first-child .cat-row { padding-top: 0; }
.zs-intel .cat-time { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.3; }
.zs-intel .cat-time small { font-weight: 500; font-size: var(--fs-meta); color: var(--muted); white-space: nowrap; }
.zs-intel .cat-main { display: flex; flex-direction: column; min-width: 0; }
.zs-intel .cat-t { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.zs-intel .cat-m { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.zs-intel .imp { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; margin-inline-end: 4px; }
.zs-intel .imp-high { background: var(--ink); color: var(--surface); }
.zs-intel .imp-medium { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }
.zs-intel .mk { font: 600 11px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); padding: 4px 6px; border-radius: 5px; background: var(--surface-3); color: var(--ink-2); }
.zs-intel .cat-chev { display: none; }
.zs-intel .cat-x { padding: 0 0 12px calc(64px + 14px); }
html .zs-intel[dir='rtl'] .cat-x { padding: 0 calc(64px + 14px) 12px 0; }
.zs-intel .cat-x .fine { display: none; }
@media (min-width: 641px) { .zs-intel .cat-x.empty { display: none; } }
.zs-intel .cat-x .kv { gap: 8px 16px; }
.zs-intel .cat-x .kv dd { font-size: 13.5px; }

/* ── KPI strip ── */
.zs-intel .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.zs-intel .kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zs-intel .kpi { display: flex; flex-direction: column; gap: 3px; padding: 16px 22px; border-inline-end: 1px solid var(--line-2); min-width: 0; }
.zs-intel .kpi:last-child { border-inline-end: 0; }
.zs-intel .kpi-k { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; }
.zs-intel .kpi-v { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.zs-intel .kpi-v .chg { font-size: 14px; }
.zs-intel .kpi-v small { font-size: var(--fs-sec); font-weight: 500; color: var(--muted); }
.zs-intel .kpi-v strong { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .kpi-s { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .kpi-main .kpi-v { font-size: 24px; }
.zs-intel .conc { display: block; height: 5px; background: var(--surface-3); border-radius: 3px; margin-top: 6px; width: 100%; position: relative; }
.zs-intel .conc i { position: absolute; inset-block: 0; left: 0; background: var(--ink-2); border-radius: 3px; }

/* ── Movers ── */
.zs-intel .lens { border-bottom: 1px solid var(--line); margin-top: -4px; }
.zs-intel .lens .rail-in { gap: 2px; }
.zs-intel .lens button { position: relative; padding: 0 12px; height: 44px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.zs-intel .lens button:hover { color: var(--ink); }
.zs-intel .lens button.on { color: var(--ink); }
.zs-intel .lens button.on::after { content: ''; position: absolute; inset-inline: 10px; bottom: 0; height: 2px; background: var(--ink); border-radius: 2px; }
.zs-intel .lens-d { margin: 10px 0 12px; color: var(--muted); font-size: var(--fs-sec); }
.zs-intel .mv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.zs-intel .mv-table { min-width: 0; }
.zs-intel .mv-row { display: grid; grid-template-columns: 26px minmax(140px, 1.4fr) 1fr 0.85fr 0.8fr 1fr 0.7fr 1.6fr; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; min-height: 56px; }
.zs-intel .mv-row .mv-ev { display: none; }
.zs-intel .mv-row:not(.mv-head):hover { background: var(--surface-2); }
.zs-intel .mv-row.sel { background: var(--sel); box-shadow: inset 3px 0 0 var(--ink); }
html .zs-intel[dir='rtl'] .mv-row.sel { box-shadow: inset -3px 0 0 var(--ink); }
.zs-intel .mv-head { cursor: default; font-size: var(--fs-meta); color: var(--muted); font-weight: 600; min-height: 0; padding-block: 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.zs-intel .mv-row .r { text-align: end; }
.zs-intel .mv-n { color: var(--muted); font-size: var(--fs-sec); }
.zs-intel .mv-p { font-weight: 600; }
.zs-intel .mv-inline { display: none; }
.zs-intel .rng { position: relative; display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--neg-soft), var(--surface-3) 50%, var(--pos-soft)); box-shadow: inset 0 0 0 1px var(--line); max-width: 110px; }
.zs-intel .rng i { position: absolute; top: -4px; width: 3px; height: 13px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.zs-intel .rng-l { max-width: none; width: 100%; margin: 8px 0 4px; }
.zs-intel .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.zs-intel .wtag { display: inline-block; font-size: var(--fs-meta); font-weight: 600; padding: 2px 8px; border-radius: 5px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; line-height: 1.6; }
.zs-intel .wt-a { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.zs-intel .wt-w { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.zs-intel .wt-p { background: var(--pos-soft); color: var(--pos); }
.zs-intel .wt-m { background: var(--neg-soft); color: var(--neg); }
.zs-intel .mv-side { position: sticky; top: calc(var(--hdr-h) + var(--nav-h) + 16px); border-inline-start: 1px solid var(--line-2); padding-inline-start: 24px; min-width: 0; }
.zs-intel .rc-h { display: flex; align-items: center; gap: 12px; }
.zs-intel .rc-id { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.zs-intel .rc-id strong { font: 700 18px/1.2 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .rc-id span { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .rc-p { margin-inline-start: auto; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: 15px; }
.zs-intel .rc-p .chg { font-size: 20px; }
.zs-intel .rc-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 8px; }
.zs-intel .rc-fk { width: 100%; font-size: var(--fs-meta); font-weight: 700; color: var(--muted); }
.zs-intel .ev2 { list-style: none; margin: 0; padding: 0; }
.zs-intel .ev2 li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'k v' 'g g'; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .ev2-k { grid-area: k; font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .ev2-v { grid-area: v; font-weight: 700; font-size: 14.5px; text-align: end; white-space: nowrap; }
.zs-intel .ev2-g { grid-area: g; }
.zs-intel .ev2 li.hi .ev2-k { color: var(--ink); font-weight: 700; }
.zs-intel .gg { position: relative; display: block; height: 5px; border-radius: 3px; background: var(--surface-3); }
.zs-intel .gg i { position: absolute; inset-block: 0; left: 0; border-radius: 3px; background: var(--ink-2); }
.zs-intel .gg b { position: absolute; top: -3px; bottom: -3px; width: 1.5px; background: var(--faint); }
.zs-intel .hi .gg i { background: var(--ink); }
.zs-intel .rc-ctx { margin-top: 14px; }
.zs-intel .rc-ctx-h { display: flex; justify-content: space-between; align-items: baseline; }
.zs-intel .rc-ctx-n { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .rc-ctx .spark { width: 100%; height: 64px; margin-top: 4px; }
.zs-intel .rc-deep { margin-top: 12px; }
.zs-intel .why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zs-intel .why-list li { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.zs-intel .why-list p { margin: 0; font-size: var(--fs-sec); line-height: 1.6; color: var(--ink-2); }
.zs-intel .rc-deep .kv { margin-top: 12px; }

.zs-intel .ucat-rail { margin-bottom: 8px; }
.zs-intel .ucat-rail .rail-in { gap: 6px; }
.zs-intel .ucat-rail button, .zs-intel .fchips button, .zs-intel .heat-rail button { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sec); font-weight: 600; color: var(--ink-2); white-space: nowrap; background: var(--surface); display: inline-flex; align-items: center; }
.zs-intel .ucat-rail button.on, .zs-intel .fchips button.on, .zs-intel .heat-rail button.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.zs-intel .chips-rail { margin-bottom: 10px; }
.zs-intel .chips-rail .rail-in { gap: 6px; }
.zs-intel .ua { list-style: none; margin: 0; padding: 0; }
.zs-intel .ua-i { display: grid; grid-template-columns: 32px minmax(0, 1fr) 150px 72px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .ua-i:last-child { border-bottom: 0; }
.zs-intel .ua-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); }
.zs-intel .ua-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.zs-intel .ua-t strong { font: 700 14px/1.3 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .uc-chip { font-size: 11.5px; font-weight: 700; color: var(--ink-2); padding: 1px 8px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.zs-intel .ua-b { min-width: 0; }
.zs-intel .ua-b p { margin: 2px 0 0; font-size: var(--fs-meta); color: var(--muted); line-height: 1.5; }
.zs-intel .ua-m { display: flex; flex-direction: column; gap: 5px; }
.zs-intel .ua-v { font-weight: 700; font-size: 15px; }
.zs-intel .ua-i > .chg { text-align: end; font-size: var(--fs-sec); }

.zs-intel .sec-list { list-style: none; margin: 0; padding: 0; }
.zs-intel .sec-list li { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.zs-intel .sec-list li:first-child { padding-top: 0; }
.zs-intel .sec-list li:last-child { border-bottom: 0; }
.zs-intel .sec-h { display: flex; justify-content: space-between; align-items: baseline; }
.zs-intel .sec-n { font-weight: 700; font-size: 14.5px; }
.zs-intel .sec-c { font-size: 14.5px; }
.zs-intel .sec-bar { margin: 7px 0 6px; }
.zs-intel .dv { position: relative; display: block; height: 6px; background: var(--surface-3); border-radius: 3px; }
.zs-intel .dv-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-strong); }
.zs-intel .dv i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.zs-intel .dv i.pos { background: var(--pos); } .zs-intel .dv i.neg { background: var(--neg); } .zs-intel .dv i.flat { background: var(--faint); }
.zs-intel .sec-m { display: flex; justify-content: space-between; font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .sec-m b { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--ink-2); }

.zs-intel .mx-wrap { overflow-x: auto; }
.zs-intel .mx { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: var(--fs-sec); }
.zs-intel .mx th, .zs-intel .mx td { padding: 11px 12px; text-align: center; border-radius: 5px; white-space: nowrap; }
.zs-intel .mx thead th { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; }
.zs-intel .mx tbody th { text-align: start; font-weight: 700; background: var(--surface-2); position: sticky; inset-inline-start: 0; z-index: 1; }
.zs-intel .mx td { font-weight: 600; }
.zs-intel .mx td:nth-child(n + 5) { background: var(--surface-2); font-weight: 500; }
.zs-intel .mx b { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }

/* ── Tables ── */
.zs-intel .tbl-wrap { overflow-x: auto; margin: 0 -8px; }
.zs-intel .tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.zs-intel .tbl th { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
.zs-intel .tbl th.r { text-align: end; }
.zs-intel .tbl th button { color: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.zs-intel .tbl th button:hover { color: var(--ink); }
.zs-intel .tbl th.sorted { color: var(--ink); }
.zs-intel .sa { font-size: 11px; color: var(--faint); }
.zs-intel .sorted .sa { color: var(--ink); }
.zs-intel .tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.zs-intel .tbl td.sorted { background: var(--sel); }
.zs-intel .tbl tbody tr:hover td { background: var(--surface-2); }
.zs-intel .tbl .r { text-align: end; }
.zs-intel .tbl .st { min-width: 170px; }
.zs-intel .trend { display: inline-flex; gap: 3px; }
.zs-intel .trend i { font: 600 11px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); font-style: normal; padding: 3px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); }
.zs-intel .trend i.on { box-shadow: inset 0 0 0 1px var(--ink-2); color: var(--ink); }
.zs-intel .spark { display: block; overflow: visible; }
.zs-intel .spark-line { fill: none; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.zs-intel .spark-fill { stroke: none; opacity: 0.09; }
.zs-intel .spark-pos .spark-line { stroke: var(--pos); } .zs-intel .spark-pos .spark-fill { fill: var(--pos); }
.zs-intel .spark-neg .spark-line { stroke: var(--neg); } .zs-intel .spark-neg .spark-fill { fill: var(--neg); }
.zs-intel .spark-neutral .spark-line, .zs-intel .spark-flat .spark-line { stroke: var(--ink-2); } .zs-intel .spark-neutral .spark-fill, .zs-intel .spark-flat .spark-fill { fill: var(--ink-2); }
.zs-intel .spark-empty { display: inline-block; height: 2px; background: var(--line); }

/* ── Crypto structure (grouped, not seven equal boxes) ── */
.zs-intel .struct { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; }
.zs-intel .sg { padding: 20px 24px 18px; border-inline-end: 1px solid var(--line-2); min-width: 0; display: flex; flex-direction: column; }
.zs-intel .sg:last-child { border-inline-end: 0; }
.zs-intel .sg-k { font-size: var(--fs-meta); font-weight: 800; color: var(--muted); letter-spacing: 0.02em; }
html .zs-intel[lang='en'] .sg-k { text-transform: uppercase; letter-spacing: 0.07em; font-size: 11.5px; }
.zs-intel .sg-hero { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; flex-wrap: wrap; }
.zs-intel .sg-sym { font: 700 13px/1 var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); color: var(--ink-2); }
.zs-intel .sg-big { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.zs-intel .sg-phase { font-size: 24px; font-weight: 800; line-height: 1.25; }
.zs-intel .sg-phase.ph-defensive { color: var(--neg); } .zs-intel .sg-phase.ph-altseason, .zs-intel .sg-phase.ph-eth { color: var(--pos); }
.zs-intel .sg-rows { margin: 0; margin-top: auto; }
.zs-intel .sg-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.zs-intel .sg-rows dt { font-size: var(--fs-sec); color: var(--ink-2); display: flex; align-items: center; }
.zs-intel .sg-rows dt small { color: var(--muted); margin-inline-start: 6px; font-family: inherit; }
.zs-intel .sg-rows dd { margin: 0; font-weight: 700; font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.zs-intel .sg-rows dd small { font-weight: 600; font-size: var(--fs-meta); color: var(--muted); min-width: 36px; text-align: end; }
.zs-intel .dom-bars { margin: 10px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.zs-intel .stack-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; }
.zs-intel .stack-l { font-size: var(--fs-meta); color: var(--muted); font-weight: 600; }
.zs-intel .stack { display: flex; gap: 2px; height: 22px; border-radius: 5px; overflow: hidden; }
.zs-intel .stack-row.ago .stack { height: 10px; opacity: 0.7; }
.zs-intel .stack i { display: block; }
.zs-intel .dm-btc { background: var(--dm-btc); } .zs-intel .dm-eth { background: var(--dm-eth); } .zs-intel .dm-stb { background: var(--dm-stb); } .zs-intel .dm-oth { background: var(--dm-oth); }
.zs-intel .p-structure .panel-f { justify-content: space-between; }

/* ── Rotation: analytical flow ── */
.zs-intel .rt-phase { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.zs-intel .rt-phase .k { width: 100%; font-size: var(--fs-meta); color: var(--muted); font-weight: 700; }
.zs-intel .rt-phase strong { font-size: 24px; line-height: 1.25; }
.zs-intel .rt-pl { font-size: var(--fs-sec); font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--surface-3); }
.zs-intel .ph-defensive .rt-pl { background: var(--neg-soft); color: var(--neg); }
.zs-intel .ph-eth .rt-pl, .zs-intel .ph-altseason .rt-pl { background: var(--pos-soft); color: var(--pos); }
.zs-intel .rt-d { margin: 8px 0 14px; font-size: var(--fs-sec); color: var(--ink-2); line-height: 1.6; }
.zs-intel .rt-flow { list-style: none; margin: 0; padding: 0; }
.zs-intel .rt-node { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.zs-intel .rt-node.dest { border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); background: var(--surface-2); }
.zs-intel .rt-top { display: flex; align-items: baseline; gap: 8px; }
.zs-intel .rt-n { font-weight: 800; font-size: 15px; }
.zs-intel .rt-tag { font-size: 11.5px; font-weight: 700; color: var(--surface); background: var(--ink); padding: 1px 8px; border-radius: 999px; }
.zs-intel .rt-v { margin-inline-start: auto; font-weight: 700; font-size: 16px; }
.zs-intel .rt-bot { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .rt-s .num { font-weight: 700; }
.zs-intel .rt-prev { color: var(--faint); }
.zs-intel .rt-bar { margin-top: 8px; }
.zs-intel .rt-arrow { display: flex; justify-content: center; padding: 3px 0; color: var(--line-strong); }
.zs-intel .rt-arrow svg { width: 18px; height: 18px; }
.zs-intel .rt-arrow.on { color: var(--ink); }

/* ── Relationships ── */
.zs-intel .rel-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
.zs-intel .rel-l { list-style: none; margin: 0; padding: 0; }
.zs-intel .rel-l li { display: grid; grid-template-columns: 130px minmax(60px, 1fr) 44px 72px; gap: 12px; align-items: center; padding: 8px 0; font-size: var(--fs-sec); border-bottom: 1px solid var(--line-2); }
.zs-intel .rel-l li:last-child { border-bottom: 0; }
.zs-intel .rl-n { white-space: nowrap; }
.zs-intel .rl-n b { font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
.zs-intel .rel-l .num { text-align: end; font-weight: 700; }
.zs-intel .rl-w { font-size: var(--fs-meta); color: var(--muted); }
.zs-intel .rel-ct { font-size: var(--fs-sec); font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }

/* ── Ranking ── */
.zs-intel .rk-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.zs-intel .search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.zs-intel .search:focus-within { border-color: var(--ink-2); }
.zs-intel .search input { border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); width: 170px; }
.zs-intel .fchips { margin-bottom: 12px; }
.zs-intel .fchips .rail-in { gap: 6px; }
.zs-intel .rk-t .rk-n { width: 44px; color: var(--muted); font-weight: 600; }
.zs-intel .rk-t .rk-dc { width: 64px; }
.zs-intel .rk-d { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.zs-intel .rk-d.up { background: var(--pos-soft); color: var(--pos); }
.zs-intel .rk-d.dn { background: var(--neg-soft); color: var(--neg); }
.zs-intel .rk-d.eq { color: var(--faint); }
.zs-intel .rk-row { cursor: pointer; }
.zs-intel .rk-row td { height: 60px; }
.zs-intel .rk-row.open td { background: var(--surface-2); border-bottom-color: transparent; }
.zs-intel .rk-chev { width: 32px; color: var(--faint); }
.zs-intel .rk-chev svg { transition: transform 0.15s; }
.zs-intel .rk-row.open .rk-chev svg { transform: rotate(180deg); color: var(--ink); }
.zs-intel .spark-c .spark { width: 120px; }
.zs-intel .rk-exp td { background: var(--surface-2); padding: 4px 16px 20px; white-space: normal; }
.zs-intel .rk-x { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.zs-intel .rk-xs { display: flex; flex-direction: column; gap: 4px; }
.zs-intel .rk-xs .spark { width: 100%; height: 64px; }
.zs-intel .rk-xg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; }
.zs-intel .rk-xg > div { display: flex; flex-direction: column; gap: 3px; font-weight: 700; }
.zs-intel .rk-xg .k { font-size: var(--fs-meta); color: var(--muted); font-weight: 500; }
.zs-intel .rk-rl { display: flex; justify-content: space-between; font-size: var(--fs-meta); color: var(--muted); font-weight: 500; }
.zs-intel .share { display: inline-block; width: 44px; height: 4px; border-radius: 2px; background: var(--surface-3); margin-inline-end: 8px; vertical-align: middle; position: relative; overflow: hidden; }
.zs-intel .share i { position: absolute; inset-block: 0; left: 0; background: var(--ink-2); }
.zs-intel .rk-m { display: none; list-style: none; margin: 0; padding: 0; }
.zs-intel .more { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 16px; }
@media (min-width: 1101px) {
  .zs-intel .rk-wrap { overflow: visible; }
  .zs-intel .rk-t thead th { position: sticky; top: calc(var(--hdr-h) + var(--nav-h)); z-index: 5; box-shadow: 0 1px 0 var(--line); }
}

.zs-intel .page-foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-sec); color: var(--ink-2); }
.zs-intel .page-foot p { margin: 0 0 4px; }

/* ═════════════════ Responsive ═════════════════ */
@media (max-width: 1439px) {
  .zs-intel { --gut: 32px; }
  .zs-intel .pulse { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .zs-intel .pg:nth-child(3n) { border-inline-end: 0; padding-inline-end: 0; }
  .zs-intel .pg:nth-child(3n + 1) { padding-inline-start: 0; }
  .zs-intel .pg:nth-child(-n + 3) { padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
  .zs-intel .hero-stats { grid-template-columns: repeat(3, auto); }
  .zs-intel .mv-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .zs-intel .mv-row { grid-template-columns: 22px minmax(130px, 1.4fr) 1fr 0.85fr 0.8fr 0.7fr 1.5fr; }
  .zs-intel .mv-row > span:nth-child(6) { display: none; }
  .zs-intel .int { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .zs-intel .int-col:nth-child(2) { border-inline-end: 0; padding-inline-end: 0; }
  .zs-intel .int-col:nth-child(3) { padding-inline-start: 0; }
  .zs-intel .int-col:nth-child(n + 3) { border-top: 1px solid var(--line-2); padding-top: 20px; }
  .zs-intel .rk-xg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .zs-intel { --gut: 24px; --gap: 16px; }
  .zs-intel .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'c1 c1' 'rg wc' 'hr hr' 'tl tl' 'c2 c2' 'in dv' 'pu pu' 'c3 c3' 'it it' 'c4 c4' 'hm hm' 'ct ct'; }
  .zs-intel .g-2-1, .zs-intel .g-3-2 { grid-template-columns: minmax(0, 1fr); }
  .zs-intel .tl-grid { grid-template-columns: minmax(0, 1fr); }
  .zs-intel .tl-det { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line-2); padding-top: 16px; }
  .zs-intel .mv-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .zs-intel .mv-row { grid-template-columns: 22px minmax(120px, 1.4fr) 1fr 0.85fr 0.8fr 0.7fr; }
  .zs-intel .mv-row > span:nth-child(8) { display: none; }
  .zs-intel .hide-md { display: none; }
  .zs-intel .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .zs-intel .struct { grid-template-columns: 1fr 1fr; }
  .zs-intel .sg-flow { grid-column: 1 / -1; border-top: 1px solid var(--line-2); border-inline-end: 0; }
  .zs-intel .sg-dom { border-inline-end: 0; }
  .zs-intel .sbar { flex-direction: column; }
  .zs-intel .sb-primary { border-inline-end: 0; border-bottom: 1px solid var(--line); min-width: 0; border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
  .zs-intel .vn-d { display: none; }
}
@media (max-width: 1024px) {
  .zs-intel h1 { font-size: 36px; }
  .zs-intel .kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zs-intel .kpis-4 .kpi:nth-child(2n) { border-inline-end: 0; }
  .zs-intel .kpis-4 .kpi:nth-child(-n + 2) { border-bottom: 1px solid var(--line-2); }
  .zs-intel .heat { height: 480px; }
}
@media (max-width: 860px) {
  .zs-intel .ov { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'c1' 'rg' 'wc' 'hr' 'tl' 'c2' 'in' 'dv' 'pu' 'c3' 'it' 'c4' 'hm' 'ct'; }
  .zs-intel .mv-grid { grid-template-columns: minmax(0, 1fr); }
  .zs-intel .mv-side { display: none; }
  .zs-intel .mv-inline { display: block; padding: 8px 10px 20px; border-bottom: 1px solid var(--line-2); }
  .zs-intel .mv-inline .more-btn { margin-top: 12px; }
  .zs-intel .hide-sm { display: none !important; }
  .zs-intel .mv-row { grid-template-columns: 22px minmax(0, 1.5fr) 1fr 0.9fr; }
  .zs-intel .mv-row > span:nth-child(n + 5) { display: none; }
  .zs-intel .ua-i { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .zs-intel .ua-i .ua-m { grid-column: 2; }
  .zs-intel .ua-i > .chg { grid-row: 1; grid-column: 3; }
  .zs-intel .rk-x { grid-template-columns: minmax(0, 1fr); }
}

/* ═════════════ Mobile composition — designed for 430 / 390 / 360 ═════════════ */
@media (max-width: 640px) {
  .zs-intel { --gut: 16px; --gap: 12px; --hdr-h: var(--zs-header-height, 60px); --nav-h: 52px; --fs-body: 15px; }
  .zs-intel .page-head { padding: 20px 0 16px; }
  .zs-intel .eyebrow { margin-bottom: 4px; }
  .zs-intel h1, html .zs-intel[lang='ar'] h1 { font-size: 28px; line-height: 1.2; }
  .zs-intel .tagline { font-size: 14.5px; margin-top: 6px; line-height: 1.55; }
  .zs-intel .ph-row { align-items: stretch; gap: 12px; }
  .zs-intel .ph-meta { width: 100%; gap: 8px; padding: 0; }
  .zs-intel .ph-meta .upd { margin-inline-start: auto; font-size: var(--fs-meta); }

  /* status: primary state full width, then a comfortable metric rail */
  .zs-intel .sbar { margin: 16px calc(var(--gut) * -1) 0; border-radius: 0; border-inline: 0; }
  .zs-intel .sb-primary { padding: 14px 16px; border-radius: 0 !important; }
  .zs-intel .sb-state { font-size: 21px; flex-wrap: wrap; row-gap: 4px; }
  .zs-intel .sb-item { padding: 12px 16px; min-width: 128px; }
  .zs-intel .sb-iv { font-size: 15px; }

  /* workspace tabs: text-only rail, active always visible */
  .zs-intel .viewnav { margin: 0 calc(var(--gut) * -1); padding: 0; gap: 0; }
  .zs-intel .vn-rail .rail-in { padding: 0 8px; gap: 0; }
  .zs-intel .vn { padding: 0 12px; gap: 0; }
  .zs-intel .vn-ico { display: none; }
  .zs-intel .vn-l { display: none; }
  .zs-intel .vn-s { display: block; }
  .zs-intel .vn-rail .rail-in { justify-content: space-between; }
  .zs-intel #zs-intel-app[data-view='overview'] .sbar { display: none; }
  .zs-intel .panel { position: relative; }
  .zs-intel .panel-h .panel-c > .src { position: absolute; top: 16px; inset-inline-end: 16px; height: 22px; }
  .zs-intel .panel-t { padding-inline-end: 64px; }
  .zs-intel .rg-state { flex-direction: column; align-items: flex-start; gap: 2px; }
  .zs-intel .vn.on::after { inset-inline: 12px; }
  .zs-intel .vn-state { display: none !important; }

  .zs-intel .view { padding-top: 16px; }
  .zs-intel .chap { margin-top: 12px; }
  .zs-intel .chap-d { display: none; }
  .zs-intel .panel { border-radius: 12px; }
  .zs-intel .panel-h { padding: 16px 16px 0; gap: 8px 12px; }
  .zs-intel .panel-t { flex: 1 1 auto; }
  .zs-intel .panel-t h2 { font-size: 17px; }
  .zs-intel .panel-q { font-size: 13px; }
  .zs-intel .panel-b { padding: 12px 16px 16px; }
  .zs-intel .panel-f { padding: 10px 16px 12px; }
  .zs-intel .panel-c { gap: 8px; }
  .zs-intel .panel-c .seg:not(.seg-asset) { order: 2; width: 100%; }
  .zs-intel .panel-c .seg:not(.seg-asset) button { flex: 1; }
  .zs-intel .seg button, .zs-intel .seg-sm button { height: 38px; }

  /* regime: state · reason · strength · 3 keys, details on demand */
  .zs-intel .rg-word { font-size: 28px; }
  .zs-intel .rg-reason { font-size: 15px; }
  .zs-intel .rg-keys strong { font-size: 16px; }
  .zs-intel .rg-keys > div { padding: 12px; }
  .zs-intel .rg-more { display: none; }
  .zs-intel .rg-more.open { display: block; }
  .zs-intel .ev { grid-template-columns: minmax(0, 1fr) auto 44px; gap: 8px; }

  /* chart: price first, chart owns the space, controls below */
  .zs-intel .hero-top { gap: 12px; }
  .zs-intel .hp { font-size: 32px; }
  .zs-intel .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
  .zs-intel .hero-stats .sec { display: none; }
  .zs-intel .hero-chart { order: 2; margin: 8px -8px 0; }
  .zs-intel .hero .lg-top { order: 1; margin-top: 12px; }
  .zs-intel .hero-tools { order: 3; margin: 12px 0 0; }
  .zs-intel .ht-main { width: 100%; }
  .zs-intel .ht-main .seg-tf { flex: 1; }
  .zs-intel .ht-main .seg-tf button { flex: 1; min-width: 0; padding: 0 2px; height: 38px; }

  .zs-intel .tl-svg { height: 52px; }
  .zs-intel .tl-band { height: 24px; }
  .zs-intel .tl-ticks span:nth-child(2), .zs-intel .tl-ticks span:nth-child(4) { display: none; }
  .zs-intel .tl-rail { margin-inline: -16px; }
  .zs-intel .tl-rail .rail-in { padding: 0 16px; }

  .zs-intel .wc li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .zs-intel .wc-v { grid-column: 1 / -1; grid-row: 2; }
  .zs-intel .wc li > .wc-d { grid-column: 2; grid-row: 1; min-width: 0; }

  .zs-intel .ins { grid-template-columns: 26px minmax(0, 1fr); }
  .zs-intel .why-btn { height: 40px; }

  /* pulse: swipeable group cards */
  .zs-intel .pulse { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .zs-intel .pulse::-webkit-scrollbar { display: none; }
  .zs-intel .pg, .zs-intel .pg:first-child, .zs-intel .pg:last-child, .zs-intel .pg:nth-child(3n), .zs-intel .pg:nth-child(3n + 1) { flex: 0 0 76%; scroll-snap-align: start; border: 1px solid var(--line-2) !important; border-radius: var(--r-md); padding: 12px 14px 4px; }

  /* internals: summary rows, one open at a time */
  .zs-intel .int { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .zs-intel .int-col, .zs-intel .int-col:first-child, .zs-intel .int-col:nth-child(2), .zs-intel .int-col:nth-child(3), .zs-intel .int-col:nth-child(n + 3) { padding: 0; border: 0; border-bottom: 1px solid var(--line-2); }
  .zs-intel .int-col:last-child { border-bottom: 0; }
  .zs-intel .int-sum { grid-template-columns: minmax(0, 1fr) auto 24px; grid-template-areas: 'k v c' 'big big c' 'u u c'; border: 0; margin: 0; padding: 14px 0; cursor: pointer; min-height: 56px; }
  .zs-intel .int-big { font-size: 24px; }
  .zs-intel .int-chev { display: flex; grid-area: c; align-self: center; justify-content: flex-end; color: var(--muted); }
  .zs-intel .int-col.open .int-chev svg { transform: rotate(180deg); }
  .zs-intel .int-det { display: none; padding-bottom: 18px; }
  .zs-intel .int-col.open .int-det { display: block; }
  .zs-intel .hist { height: 116px; }
  .zs-intel .hist-x span { font-size: 10.5px; }

  .zs-intel .heat { height: 380px; }
  .zs-intel .heat.focus { height: 330px; }
  .zs-intel .heat-legend span { width: 38px; }
  .zs-intel .heat-rail { margin: 0 -16px 12px; }
  .zs-intel .heat-rail .rail-in { padding: 0 16px; }

  .zs-intel .cat-row { grid-template-columns: 56px minmax(0, 1fr) 24px; cursor: pointer; padding: 12px 0; min-height: 56px; }
  .zs-intel .cat:first-child .cat-row { padding-top: 4px; }
  .zs-intel .cat-chev { display: flex; color: var(--muted); padding-top: 4px; }
  .zs-intel .cat.open .cat-chev svg { transform: rotate(180deg); }
  .zs-intel .cat-x { display: none; padding: 0 0 14px !important; }
  .zs-intel .cat.open .cat-x { display: block; }
  .zs-intel .cat-x .fine { display: block; }

  .zs-intel .kpis, .zs-intel .kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 12px; }
  .zs-intel .kpi { padding: 12px 14px; }
  .zs-intel .kpi-v { font-size: 17px; gap: 6px; }
  .zs-intel .kpi-main .kpi-v { font-size: 19px; }

  /* movers: focused rows */
  .zs-intel .lens { margin: -4px -16px 0; }
  .zs-intel .lens .rail-in { padding: 0 8px; }
  .zs-intel .mv-head { display: none !important; }
  .zs-intel .mv-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'as c' 'ev ev'; gap: 6px 12px; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line-2); min-height: 64px; }
  .zs-intel .mv-row.sel, html .zs-intel[dir='rtl'] .mv-row.sel { box-shadow: none; background: none; border-bottom-color: transparent; }
  .zs-intel .mv-row > span { display: none !important; }
  .zs-intel .mv-row > .as { display: flex !important; grid-area: as; }
  .zs-intel .mv-row > .mv-c { display: flex !important; grid-area: c; flex-direction: column; align-items: flex-end; }
  .zs-intel .mv-row > .mv-c .chg { font-size: 17px; }
  .zs-intel .mv-row > .mv-ev { display: flex !important; grid-area: ev; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-meta); color: var(--muted); }
  .zs-intel .mv-ev b { color: var(--ink-2); font-weight: 700; }
  .zs-intel .mv-inline { padding: 4px 0 18px; border-bottom: 1px solid var(--line-2); }
  .zs-intel .rc-h { display: none; }
  .zs-intel .rc-flag { margin-top: 4px; }

  .zs-intel .ucat-rail, .zs-intel .fchips, .zs-intel .chips-rail { margin-inline: -16px; }
  .zs-intel .ucat-rail .rail-in, .zs-intel .fchips .rail-in, .zs-intel .chips-rail .rail-in { padding: 0 16px; }
  .zs-intel .ucat-rail button, .zs-intel .fchips button, .zs-intel .heat-rail button { height: 40px; }
  .zs-intel .ua-i { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px 12px; }
  .zs-intel .ua-i .ua-m { grid-column: 2 / -1; }

  .zs-intel .tbl-wrap { margin: 0 -16px; padding: 0 8px; }
  .zs-intel .tbl td { padding: 12px 6px; }
  .zs-intel .tbl th { padding: 8px 6px; }
  .zs-intel .tbl .st { min-width: 0; }
  .zs-intel .as-t small { max-width: 110px; }

  .zs-intel .struct { grid-template-columns: minmax(0, 1fr); }
  .zs-intel .sg, .zs-intel .sg-flow { padding: 16px; border-inline-end: 0; border-bottom: 1px solid var(--line-2); }
  .zs-intel .sg-flow { border-top: 0; }
  .zs-intel .sg:last-child { border-bottom: 0; }
  .zs-intel .sg-big { font-size: 28px; }
  .zs-intel .stack-row { grid-template-columns: 84px minmax(0, 1fr); }
  .zs-intel .p-structure .panel-f { flex-direction: column; align-items: flex-start; gap: 4px; }

  .zs-intel .rel-l li { grid-template-columns: 116px minmax(40px, 1fr) 44px; }
  .zs-intel .rl-w { display: none; }

  /* ranking: dedicated ranked rows */
  .zs-intel .rk-controls { width: 100%; }
  .zs-intel .search { flex: 1 1 100%; height: 44px; }
  .zs-intel .search input { width: 100%; }
  .zs-intel .p-ranking .tbl-wrap { display: none; }
  .zs-intel .rk-m { display: block; }
  .zs-intel .rk-mi { border-bottom: 1px solid var(--line-2); }
  .zs-intel .rk-mi:last-child { border-bottom: 0; }
  .zs-intel .rk-mb { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 12px 0; min-height: 64px; }
  .zs-intel .rk-mn { display: flex; flex-direction: column; align-items: center; gap: 3px; font-weight: 700; font-size: 13px; color: var(--muted); }
  .zs-intel .rk-mn .rk-d { font-size: 10.5px; padding: 1px 4px; }
  .zs-intel .rk-mp { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 14.5px; }
  .zs-intel .rk-mp .chg { font-size: 13px; }
  .zs-intel .rk-mp small { font-size: var(--fs-meta); color: var(--muted); font-family: var(--zs-font-latin, 'Inter'), var(--zs-font-institutional); }
  .zs-intel .rk-mi.open { background: var(--surface-2); margin: 0 -16px; padding: 0 16px; }
  .zs-intel .rk-mx { padding: 0 0 16px; }
  .zs-intel .rk-mx .spark { width: 100%; height: 56px; margin-bottom: 12px; }
  .zs-intel .more .btn { height: 44px; }
}
@media (max-width: 380px) {
  .zs-intel h1, html .zs-intel[lang='ar'] h1 { font-size: 26px; }
  .zs-intel .hp { font-size: 28px; }
  .zs-intel .rg-word { font-size: 25px; }
  .zs-intel .kpi-v { font-size: 16px; }
  .zs-intel .vn { padding: 0 8px; }
  .zs-intel .vn-s { font-size: 14px; }
  .zs-intel .ht-main .seg-tf button { font-size: 12.5px; }
  .zs-intel .opt-btn span { display: none; }
  .zs-intel .opt-btn { width: 44px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .zs-intel, .zs-intel *, .zs-intel *::before, .zs-intel *::after { animation: none !important; transition: none !important; }
}

/* ── Integration adjustments (production site context; not in the preview) ──────────────────────
 * The site header is fixed (var(--zs-header-height)); overlays must never slide under or over it. */
.zs-intel .sheet { max-height: min(92vh, calc(100vh - var(--hdr-h) - 8px)); overflow-y: auto; }

/* ── Markets V2 only — desktop content width (Crypto Center untouched) ─────────────────────────
 * Expands #zs-intel-app via --maxw / --gut so tables, charts and ranking use the workstation width.
 * Scoped to [data-zs-page="markets"]. Mobile/tablet gutters stay on the shared responsive rules. */
@media (min-width: 1440px) {
  .zs-intel[data-zs-page='markets'] {
    --maxw: 1840px;
    --gut: 28px;
  }
}
@media (min-width: 1680px) {
  .zs-intel[data-zs-page='markets'] {
    /* On a 1680 viewport: fills width with 40px side gut → ~1600px content. */
    --maxw: 1840px;
    --gut: 40px;
  }
}
@media (min-width: 1920px) {
  .zs-intel[data-zs-page='markets'] {
    /* ~95.8% of 1920 with clean side margins. */
    --maxw: 1840px;
    --gut: 40px;
  }
}

/* ── Crypto Intelligence Center only — desktop content width (Markets V2 untouched) ────────────
 * Same workstation width as Markets; scoped to [data-zs-page="crypto-center"] only.
 * Mobile/tablet gutters stay on the shared responsive rules. */
@media (min-width: 1440px) {
  .zs-intel[data-zs-page='crypto-center'] {
    --maxw: 1840px;
    --gut: 28px;
  }
}
@media (min-width: 1680px) {
  .zs-intel[data-zs-page='crypto-center'] {
    /* On a 1680 viewport: fills width with 40px side gut → ~1600px content. */
    --maxw: 1840px;
    --gut: 40px;
  }
}
@media (min-width: 1920px) {
  .zs-intel[data-zs-page='crypto-center'] {
    /* ~95.8% of 1920 with clean side margins. */
    --maxw: 1840px;
    --gut: 40px;
  }
}

/* ── Crypto Intelligence Center only — canvas matches site header / page base ─────────────────
 * Replaces the package pearl/beige --bg (#f5f5f2 / #0a0c0d) so the area under the header is
 * continuous with ZeroSpread chrome. Surfaces/cards unchanged. */
.zs-intel[data-zs-page='crypto-center'] {
  /* html.light: --zs-bg-void → #ffffff (same as site header). */
  --bg: var(--zs-bg-void, #ffffff);
}
.zs-intel[data-zs-page='crypto-center'][data-theme='dark'] {
  /* Site dark page + header base (#000). */
  --bg: var(--zs-page-bg, #000000);
}

/* Route shell ([data-zs-crypto-root]) still paints --crypto-canvas (#f2f4f3 warm). Align it only
 * when Crypto Intelligence Center is mounted — does not change Markets or other crypto routes. */
[data-zs-crypto-root]:has(.zs-intel[data-zs-page='crypto-center']),
[data-zs-crypto-root][data-zs-theme='light']:has(.zs-intel[data-zs-page='crypto-center']),
html.light [data-zs-crypto-root]:has(.zs-intel[data-zs-page='crypto-center']) {
  --crypto-canvas: var(--zs-bg-void, #ffffff);
  background-color: var(--zs-bg-void, #ffffff);
}
[data-zs-crypto-root][data-zs-theme='dark']:has(.zs-intel[data-zs-page='crypto-center']),
html:not(.light) [data-zs-crypto-root]:has(.zs-intel[data-zs-page='crypto-center']) {
  --crypto-canvas: var(--zs-page-bg, #000000);
  background-color: var(--zs-page-bg, #000000);
}

/* Kill warm html/body bleed (#F5F7F4 / #f2f4f3) around this page only — header stays untouched. */
html.light:has(.zs-intel[data-zs-page='crypto-center']),
html.light:has(.zs-intel[data-zs-page='crypto-center']) body,
html.light:has(.zs-intel[data-zs-page='crypto-center']) body > main {
  background-color: var(--zs-bg-void, #ffffff);
}
html:not(.light):has(.zs-intel[data-zs-page='crypto-center']),
html:not(.light):has(.zs-intel[data-zs-page='crypto-center']) body,
html:not(.light):has(.zs-intel[data-zs-page='crypto-center']) body > main {
  background-color: var(--zs-page-bg, #000000);
}

/* ── Markets V2 only — canvas matches site header / page base (Crypto Center untouched) ────────
 * Replaces package pearl --bg (#f5f5f2 / #0a0c0d). Surfaces/cards keep borders / tonal contrast. */
.zs-intel[data-zs-page='markets'] {
  /* html.light: --zs-bg-void → #ffffff (same as site header). */
  --bg: var(--zs-bg-void, #ffffff);
}
.zs-intel[data-zs-page='markets'][data-theme='dark'] {
  /* Site dark page + header base (#000). */
  --bg: var(--zs-page-bg, #000000);
}

/* Kill warm html/body bleed around Markets V2 only — header stays untouched. */
html.light:has(.zs-intel[data-zs-page='markets']),
html.light:has(.zs-intel[data-zs-page='markets']) body,
html.light:has(.zs-intel[data-zs-page='markets']) body > main {
  background-color: var(--zs-bg-void, #ffffff);
}
html:not(.light):has(.zs-intel[data-zs-page='markets']),
html:not(.light):has(.zs-intel[data-zs-page='markets']) body,
html:not(.light):has(.zs-intel[data-zs-page='markets']) body > main {
  background-color: var(--zs-page-bg, #000000);
}

