/* InsiderPrint — institutional research look.
   Layout: utility bar → white masthead → content grid (main + right rail) → navy footer. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0d1b2e;
  --ink-2: #33445a;
  --muted: #5d6c80;
  --line: #dfe5ec;
  --line-2: #eef2f6;
  --brand: #1747a6;
  --brand-ink: #0f357f;
  --brand-tint: #e8effb;
  --navy: #0a1f3c;
  --navy-2: #12305a;
  --on-navy: #dbe5f3;
  --pos: #0b7a4b;
  --pos-tint: #e5f4ec;
  --neg: #b42318;
  --neg-tint: #fbe9e7;
  --gold: #9a6a12;
  --gold-tint: #fbf2df;
  --chart-line: #1747a6;
  --mark-bg: #0a1f3c;
  --shadow: 0 1px 2px rgba(13, 27, 46, .06), 0 1px 1px rgba(13, 27, 46, .04);
  --f-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-ui: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 6px;
  --max: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1322; --surface: #111c2e; --surface-2: #15223a; --ink: #e8eef7; --ink-2: #c3cfdf; --muted: #8fa0b8;
    --line: #23324a; --line-2: #1a2840; --brand: #6d9cf5; --brand-ink: #9dbcf8; --brand-tint: #182b4d;
    --navy: #070f1d; --navy-2: #0e1a2e; --on-navy: #b9c7db; --pos: #3fbf83; --pos-tint: #12301f;
    --neg: #f0776b; --neg-tint: #3a1714; --gold: #e0b158; --gold-tint: #33270e; --chart-line: #6d9cf5;
    --mark-bg: #17325c; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1322; --surface: #111c2e; --surface-2: #15223a; --ink: #e8eef7; --ink-2: #c3cfdf; --muted: #8fa0b8;
  --line: #23324a; --line-2: #1a2840; --brand: #6d9cf5; --brand-ink: #9dbcf8; --brand-tint: #182b4d;
  --navy: #070f1d; --navy-2: #0e1a2e; --on-navy: #b9c7db; --pos: #3fbf83; --pos-tint: #12301f;
  --neg: #f0776b; --neg-tint: #3a1714; --gold: #e0b158; --gold-tint: #33270e; --chart-line: #6d9cf5;
  --mark-bg: #17325c; --shadow: none; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.55 var(--f-ui); font-feature-settings: "tnum" 1;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px;
}
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.45rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }
.num, td.num, th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .72rem/1 var(--f-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- demo banner ---------- */
.demo-banner { background: var(--gold-tint); color: var(--gold); border-bottom: 1px solid var(--line); font-size: .82rem; }
.demo-banner .wrap { padding-block: 7px; display: flex; gap: 8px; align-items: center; }
.demo-banner strong { letter-spacing: .06em; }

/* ---------- utility bar + masthead ---------- */
.utility { background: var(--navy); color: var(--on-navy); font-size: .78rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.utility a { color: var(--on-navy); }
.utility .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34c77b; margin-right: 6px; vertical-align: 1px; }

.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.masthead .wrap { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo-word { font: 600 1.28rem/1 var(--f-display); letter-spacing: -.01em; }
.logo-word span { color: var(--brand); }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: 22px 10px 20px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.search { position: relative; width: 260px; flex-shrink: 0; }
.search input {
  width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface-2);
  padding: 0 14px 0 36px; font: inherit; font-size: .9rem; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 12px; top: 11px; width: 16px; height: 16px; color: var(--muted); }
.search-results {
  position: absolute; top: 44px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(13, 27, 46, .14); overflow: hidden; z-index: 30;
}
.search-results a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; color: var(--ink); font-size: .9rem; border-bottom: 1px solid var(--line-2); }
.search-results a:hover, .search-results a.sel { background: var(--brand-tint); text-decoration: none; }
.search-results b { font-family: var(--f-mono); font-weight: 600; color: var(--brand); min-width: 52px; }
.search-results span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results em { font-style: normal; color: var(--muted); font-size: .8rem; }
@media (min-width: 1181px) and (max-width: 1400px) {
  .search { width: 225px; }
  .nav { gap: 0; }
  .nav a { padding-inline: 8px; font-size: .9rem; }
}
@media (max-width: 1180px) {
  .masthead .wrap { flex-wrap: wrap; gap: 10px 16px; padding-block: 10px; }
  .search { order: 2; flex: 1; width: auto; }
  .wl-link { order: 3; }
  .nav { order: 4; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -10px; }
  .nav a { padding: 8px 10px 9px; }
}

/* ---------- page header ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 30px 26px; display: grid; gap: 10px; }
.page-head p.lede { color: var(--ink-2); max-width: 70ch; font-size: 1.02rem; }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- home hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); }
.hero .wrap { padding-block: 40px 0; display: grid; gap: 14px; }
.hero h1 { color: #fff; max-width: 26ch; }
.hero .lede { max-width: 62ch; font-size: 1.05rem; color: var(--on-navy); }
.hero .eyebrow { color: #9fb6d8; }
.pulse { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 26px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.pulse > div { padding: 18px 20px 16px; border-right: 1px solid var(--line-2); display: grid; gap: 4px; min-width: 0; }
.pulse > div:last-child { border-right: 0; }
.pulse .k { font-size: .76rem; color: var(--muted); font-weight: 500; }
.pulse .v { font: 600 1.55rem/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.pulse .s { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse > div { border-bottom: 1px solid var(--line-2); } .pulse > div:nth-child(2n) { border-right: 0; }
  .pulse > div:last-child { grid-column: 1 / -1; } }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-block: 28px 56px; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1060px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.main { display: grid; gap: 28px; align-content: start; min-width: 0; }
.rail { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1061px) { .rail-sticky { position: sticky; top: 86px; display: grid; gap: 20px; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.panel-head p { color: var(--muted); font-size: .85rem; }
.panel-head .more { font-size: .86rem; font-weight: 500; white-space: nowrap; }
.panel-body { padding: 18px 20px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th { font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
table.data th[data-sort] { cursor: pointer; user-select: none; }
table.data th[data-sort]:hover { color: var(--ink); }
table.data th[aria-sort="ascending"]::after { content: " ▲"; font-size: .6rem; }
table.data th[aria-sort="descending"]::after { content: " ▼"; font-size: .6rem; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
td.tk a, .tk-link { font: 600 .85rem var(--f-mono); color: var(--brand); }
td .sub { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
td.who { min-width: 180px; }
td.who a { color: var(--ink); font-weight: 500; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.pill.buy { background: var(--pos-tint); color: var(--pos); }
.pill.sell { background: var(--neg-tint); color: var(--neg); }
.pill.neu { background: var(--line-2); color: var(--muted); }
.pill.plan { background: var(--line-2); color: var(--muted); font-weight: 500; }
.flag { display: inline-block; font-size: .7rem; color: var(--gold); background: var(--gold-tint); border-radius: 3px; padding: 1px 6px; margin-left: 6px; white-space: nowrap; }

.score { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 7px; border-radius: 12px;
  font: 600 .8rem/1 var(--f-ui); font-variant-numeric: tabular-nums; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.score.s-hi { background: var(--pos); color: #fff; border-color: transparent; }
.score.s-up { background: var(--pos-tint); color: var(--pos); border-color: transparent; }
.score.s-mid { background: var(--line-2); color: var(--ink-2); border-color: transparent; }
.score.s-lo { background: var(--neg-tint); color: var(--neg); border-color: transparent; }
.score.big { min-width: 64px; height: 44px; border-radius: 22px; font-size: 1.3rem; font-family: var(--f-display); }

/* ---------- filter bar ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { font: 500 .84rem var(--f-ui); color: var(--ink-2); background: var(--surface); border: 0; padding: 7px 14px; cursor: pointer; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filters select, .filters input { height: 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; padding: 0 10px; }
.filters .count { margin-left: auto; color: var(--muted); font-size: .82rem; }

/* ---------- cluster cards ---------- */
.clusters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.cluster { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: grid; gap: 12px; box-shadow: var(--shadow); align-content: start; }
.cluster-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cluster-top .tk-link { font-size: 1rem; }
.cluster-top .co { display: block; color: var(--ink); font-weight: 500; font-size: .92rem; }
.cluster-top .sec { display: block; color: var(--muted); font-size: .78rem; }
.cluster .spark { width: 120px; height: 36px; flex-shrink: 0; }
.cluster-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-block: 10px; border-block: 1px solid var(--line-2); }
.cluster-figs .k { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cluster-figs .v { font: 600 1.05rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; }
.cluster li { display: flex; justify-content: space-between; gap: 10px; }
.cluster li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cluster li a { color: var(--ink-2); }
.cluster .when { font-size: .78rem; color: var(--muted); }
.badge-exec { font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); border-radius: 3px; padding: 2px 6px; }

.spark polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.spark-up polyline { stroke: var(--pos); }
.spark-down polyline { stroke: var(--neg); }
.spark circle { fill: var(--brand); }
.spark-mark { stroke: var(--brand); stroke-dasharray: 2 2; stroke-width: 1; opacity: .7; }

/* ---------- summaries list ---------- */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 13px 20px; border-bottom: 1px solid var(--line-2); }
.feed li:last-child { border-bottom: 0; }
.feed .txt { font-size: .9rem; color: var(--ink-2); }
.feed .txt a.tk-link { margin-right: 4px; }
.feed time { color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* ---------- company page ---------- */
.co-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.co-title { display: grid; gap: 6px; flex: 1 1 520px; min-width: 0; }
.co-title h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.co-tags { display: flex; gap: 10px; align-items: center; }
.quote { flex: 0 0 auto; }
.co-title .tkr { font: 600 .95rem var(--f-mono); color: var(--brand); background: var(--brand-tint); border-radius: 4px; padding: 3px 8px; justify-self: start; }
.quote { text-align: right; display: grid; gap: 2px; }
.quote .px { font: 600 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.quote .chg { font-size: .9rem; font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.kpis > div { padding: 16px 20px; border-right: 1px solid var(--line-2); display: grid; gap: 3px; min-width: 0; }
.kpis > div:last-child { border-right: 0; }
.kpis .k { font-size: .75rem; color: var(--muted); }
.kpis .v { font: 600 1.25rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis > div { border-bottom: 1px solid var(--line-2); } }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; }
.chart .tick { stroke: var(--line); }
.chart .axis { fill: var(--muted); font: 11px var(--f-ui); font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke: var(--chart-line); stroke-width: 1.8; stroke-linejoin: round; }
.chart .endpoint { fill: var(--chart-line); stroke: var(--surface); stroke-width: 2; }
.chart .mk-buy { fill: var(--pos); fill-opacity: .85; stroke: var(--surface); stroke-width: 1.5; }
.chart .mk-sell { fill: var(--neg); fill-opacity: .75; stroke: var(--surface); stroke-width: 1.5; }
.legend { display: flex; gap: 18px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend .b { background: var(--pos); } .legend .s { background: var(--neg); } .legend .l { background: var(--chart-line); border-radius: 2px; height: 3px; vertical-align: 3px; width: 14px; }
.prose { color: var(--ink-2); font-size: .95rem; max-width: 72ch; display: grid; gap: 12px; }
.prose h2 { margin-top: 10px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 14px 20px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; color: var(--ink-2); font-size: .92rem; }

/* ---------- insider page ---------- */
.record { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.record > div { padding: 18px 20px; border-right: 1px solid var(--line-2); display: grid; gap: 4px; align-content: center; }
.record > div:last-child { border-right: 0; }
.record .k { font-size: .75rem; color: var(--muted); }
.record .v { font: 600 1.2rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .record { grid-template-columns: repeat(2, minmax(0, 1fr)); } .record > div { border-bottom: 1px solid var(--line-2); } }

/* ---------- directory ---------- */
.az { display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.az a { font: 600 .82rem var(--f-mono); padding: 4px 8px; border-radius: 4px; color: var(--ink-2); }
.az a:hover { background: var(--brand-tint); text-decoration: none; }

/* ---------- rail widgets ---------- */
.ad-slot { display: grid; gap: 6px; }
.ad-slot .ad-label { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ad-box { border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--muted); display: grid; place-items: center; font-size: .8rem; text-align: center; padding: 10px; }
.ad-box.rect { min-height: 250px; }
.ad-box.tall { min-height: 600px; }
.ad-box.leader { min-height: 90px; }
.ad-inline { padding-inline: 20px; padding-block: 6px 14px; }
.newsletter { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 12px; }
.newsletter h3 { color: #fff; font-size: 1.15rem; }
.newsletter p { font-size: .88rem; }
.newsletter form { display: grid; gap: 8px; }
.newsletter input { height: 40px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 12px; font: inherit; font-size: .9rem; }
.newsletter input::placeholder { color: #9fb0c8; }
.btn { display: inline-flex; justify-content: center; align-items: center; height: 40px; padding: 0 18px; border-radius: 6px; border: 0; font: 600 .9rem var(--f-ui); cursor: pointer; background: var(--brand); color: #fff; }
.btn:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }
.newsletter .btn { background: #fff; color: var(--navy); }
.newsletter .fine { font-size: .74rem; color: #9fb0c8; }
.newsletter .ok { font-size: .85rem; color: #a7e3c4; }
.newsletter.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; gap: 24px; padding: 26px 28px; }
.newsletter.wide form { grid-template-columns: minmax(0, 1fr) auto; }
.newsletter.wide .fine { grid-column: 1 / -1; }
@media (max-width: 760px) { .newsletter.wide { grid-template-columns: minmax(0, 1fr); } .newsletter.wide form { grid-template-columns: minmax(0, 1fr); } }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line-2); font-size: .86rem; }
.side-list li:last-child { border-bottom: 0; }
.side-list .who { min-width: 0; }
.side-list .who a { color: var(--ink); font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list .who span { color: var(--muted); font-size: .76rem; }
.method-note { font-size: .8rem; color: var(--muted); padding: 14px 18px; border-top: 1px solid var(--line-2); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-navy); font-size: .84rem; }
.footer .wrap { padding-block: 44px 28px; display: grid; gap: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.footer h4 { margin: 0 0 10px; font: 600 .74rem var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: #8ea6c8; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer a { color: var(--on-navy); }
.footer .logo { color: #fff; }
.footer .logo:hover { color: #fff; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; font-size: .76rem; color: #8ea6c8; display: grid; gap: 8px; max-width: 120ch; }

.empty { padding: 28px 20px; color: var(--muted); text-align: center; font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) { .search-results a, .nav a { transition: color .15s, background-color .15s; } }

@media (max-width: 640px) {
  .quote { text-align: left; }
  .utility .wrap > span:last-child { display: none; }
  .masthead { position: static; }
  .page-head .wrap { padding-block: 22px 20px; }
}
.sec-link { margin-left: 6px; font-size: .64rem; font-weight: 600; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; }
.sec-link:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }

/* ---------- ticker tape ---------- */
.tape { display: flex; align-items: stretch; background: var(--navy); color: var(--on-navy); font-size: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.tape-label { flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; background: var(--brand); color: #fff;
  font: 600 .68rem/1.15 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; position: relative; z-index: 1; }
.tape-label small { font-weight: 500; letter-spacing: .04em; opacity: .8; text-transform: none; font-size: .68rem; }
.tape-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tape-track { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape:hover .tape-track, .tape:focus-within .tape-track { animation-play-state: paused; }
.tape-list { display: flex; list-style: none; margin: 0; padding: 0; }
.tape-list li { border-right: 1px solid rgba(255, 255, 255, .08); }
.tape-list a, .tape-idx { display: flex; align-items: center; gap: 8px; padding: 9px 18px; color: var(--on-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tape-list a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; color: #fff; }
.tape-list b { font: 600 .8rem var(--f-mono); color: #fff; }
.tape .pos { color: #4ad291; } .tape .neg { color: #ff8a80; }
.tape-side { font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.tape-side.buy { background: rgba(52, 199, 123, .16); color: #6fe0a6; }
.tape-side.sell { background: rgba(255, 120, 110, .14); color: #ff9d94; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tape-track { animation: none; }
  .tape-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tape-list[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) { .tape-label { padding: 0 10px; } .tape-side { display: none; } }

/* ---------- picks ---------- */
.disclosure { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; max-width: 80ch; }
.home-picks { display: grid; gap: 0; }
.picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .picks-grid { grid-template-columns: minmax(0, 1fr); } }
.pick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; align-content: start; min-width: 0; scroll-margin-top: 90px; }
.pick-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.pick-rank { font: 600 1.05rem var(--f-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.pick-id { display: grid; min-width: 0; }
.pick-id .tk-link { font-size: 1rem; }
.pick-id .co { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-id .sec { font-size: .78rem; color: var(--muted); }
.pick-score { display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 9px; border-radius: 14px; font-variant-numeric: tabular-nums; vertical-align: middle; }
.pick-score b { font: 600 .9rem var(--f-ui); }
.pick-score small { font-size: .62rem; opacity: .75; }
.pick-score.big { flex-direction: column; align-items: center; gap: 0; padding: 6px 12px; border-radius: 8px; line-height: 1; }
.pick-score.big b { font: 600 1.6rem/1 var(--f-display); }
.pick-score.big small { margin-top: 2px; }
.ps-hi { background: var(--pos); color: #fff; }
.ps-mid { background: var(--pos-tint); color: var(--pos); }
.ps-lo { background: var(--line-2); color: var(--ink-2); }
.pick-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.pick-figs > div { padding: 12px 18px; display: grid; gap: 2px; min-width: 0; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pick-figs > div:nth-child(2n) { border-right: 0; }
.pick-figs > div:nth-last-child(-n+2) { border-bottom: 0; }
.pick-figs .k { font-size: .72rem; color: var(--muted); }
.pick-figs .v { font: 600 1.08rem/1.25 var(--f-display); font-variant-numeric: tabular-nums; }
.pick-figs .s { font-size: .74rem; color: var(--muted); }
.pick.full .pick-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pick.full .pick-figs > div { border-bottom: 0; }
.pick.full .pick-figs > div:nth-child(2n) { border-right: 1px solid var(--line-2); }
.pick.full .pick-figs > div:last-child { border-right: 0; }
@media (max-width: 760px) {
  .pick.full .pick-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick.full .pick-figs > div { border-bottom: 1px solid var(--line-2); }
  .pick.full .pick-figs > div:nth-child(2n) { border-right: 0; }
}
.pick-body { display: grid; gap: 14px; padding: 16px 18px; }
.pick.full .pick-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 760px) { .pick.full .pick-body { grid-template-columns: minmax(0, 1fr); } }
.bars { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.2em; gap: 10px; align-items: center; font-size: .78rem; }
.bar-label { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 7px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 4px; }
.bar-fill.hi { background: var(--pos); }
.bar-fill.mid { background: var(--brand); }
.bar-fill.lo { background: var(--neg); opacity: .75; }
.bar-num { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.pick-notes { display: grid; gap: 12px; align-content: start; }
.pick-notes h4, .pick-since h4 { margin: 0 0 6px; font: 600 .7rem var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticks, .warns { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .84rem; }
.ticks li, .warns li { position: relative; padding-left: 18px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--pos); font-weight: 600; }
.warns li::before { content: "!"; position: absolute; left: 3px; color: var(--gold); font-weight: 700; }
.pick:not(.full) .pick-notes .warns { display: none; }
.pick:not(.full) .pick-notes div:has(.warns) { display: none; }
.pick-since { padding: 14px 18px 16px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.pick-buyers { font-size: .8rem; color: var(--muted); }
.pick-buyers a { color: var(--ink-2); }
.main > .pick { margin-bottom: 0; }

/* ---------- timeline (news + 8-K) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; }
.timeline li { display: block; padding-left: 5.2em; position: relative; color: var(--ink-2); }
.timeline time { position: absolute; left: 0; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.timeline .pill { margin-right: 4px; }
.timeline a { color: var(--ink); }
.timeline.pad { padding: 16px 20px; gap: 10px; }
.timeline.pad li { padding-left: 8.4em; }

.kpis.kpis-6 { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; }
.kpis .s { font-size: .74rem; color: var(--muted); }
@media (max-width: 900px) { .kpis.kpis-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis.kpis-6 > div:last-child { grid-column: 1 / -1; } }
.panel-head .more .pick-score { margin-left: 4px; }
.picks-stack { display: grid; gap: 14px; }
.picks-stack .pick-figs > div { padding-block: 10px; }

/* ---------- stocks to watch ---------- */
.watch-list { list-style: none; margin: 0; padding: 0; counter-reset: wl; }
.watch-list li { display: grid; grid-template-columns: 1.6em 4.2em minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); counter-increment: wl; }
.watch-list li::before { content: counter(wl); font: 600 1rem var(--f-display); color: var(--muted); }
.watch-list li:last-child { border-bottom: 0; }
.wl-text { display: grid; min-width: 0; font-size: .86rem; }
.wl-text strong { font-weight: 500; color: var(--ink); }
.wl-text span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-chg { display: grid; text-align: right; font-weight: 600; font-size: .9rem; }
.wl-chg small { font-weight: 400; font-size: .7rem; color: var(--muted); }
@media (max-width: 640px) { .watch-list li { grid-template-columns: 1.2em 3.8em minmax(0, 1fr) auto; } .watch-list .wl-chg { display: none; } }

.story { scroll-margin-top: 90px; }
.story-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 22px 16px; border-bottom: 1px solid var(--line-2); }
.story-num { font: 600 2.2rem/1 var(--f-display); color: var(--brand); min-width: 1ch; }
.story-head h2 { font-size: 1.45rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.story-head .tk-link { font-size: .9rem; background: var(--brand-tint); border-radius: 4px; padding: 2px 7px; }
.story-lead { color: var(--ink-2); font-size: .98rem; font-style: italic; font-family: var(--f-display); font-weight: 400; }
.story-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; padding: 18px 22px 22px; }
@media (max-width: 860px) { .story-body { grid-template-columns: minmax(0, 1fr); } .story-side { order: -1; } }
.story-text { font-size: .95rem; line-height: 1.65; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); }
@media (max-width: 640px) { .two-lists { grid-template-columns: minmax(0, 1fr); } }
.two-lists h4 { margin: 0 0 8px; font: 600 .7rem var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story-side { display: grid; gap: 14px; align-content: start; }
.story-side figure { margin: 0; display: grid; gap: 6px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius); }
.story-side figcaption { font-size: .74rem; color: var(--ink-2); font-weight: 500; }
.story-side .spark { width: 100%; height: auto; }
.spark-recent { fill: var(--neg); opacity: .07; }
.pe-bars { width: 100%; height: auto; }
.pe-past { fill: var(--line); }
.pe-now { fill: var(--brand); }
.pe-val { fill: var(--ink-2); font: 600 10px var(--f-ui); font-variant-numeric: tabular-nums; }
.pe-lab { fill: var(--muted); font: 10px var(--f-ui); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.facts div { display: grid; gap: 1px; }
.facts dt { font-size: .7rem; color: var(--muted); }
.facts dd { margin: 0; font: 600 .98rem var(--f-display); font-variant-numeric: tabular-nums; }
.story-side .bar-row { grid-template-columns: 8.6em minmax(0, 1fr) 2.8em; font-size: .72rem; }
table.data.compact th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
table.data.compact th, table.data.compact td { padding-inline: 10px; }

/* logo mark tile follows the theme; the knockout around the green line matches the tile */
.logo svg rect { fill: var(--mark-bg); }
.logo svg [stroke="#0a1f3c"] { stroke: var(--mark-bg); }
.footer .logo svg rect { fill: #17325c; }
.footer .logo svg [stroke="#0a1f3c"] { stroke: #17325c; }

/* ---------- related stocks, guides ---------- */
.rel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rel-grid li { display: grid; gap: 2px; padding: 14px 20px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-width: 0; }
.rel-grid li:nth-child(3n) { border-right: 0; }
.rel-grid li span { font-size: .85rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-grid li small { font-size: .75rem; color: var(--muted); }
@media (max-width: 700px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rel-grid li:nth-child(3n) { border-right: 1px solid var(--line-2); } .rel-grid li:nth-child(2n) { border-right: 0; } }
.side-list.stack li { display: grid; gap: 3px; justify-content: stretch; padding: 14px 20px; }
.side-list.stack li span { font-size: .84rem; }
.prose .btn { width: fit-content; }

/* ---------- newsletter slide-in ---------- */
.nl-pop { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100vw - 32px)); box-shadow: 0 12px 40px rgba(10, 31, 60, .28); animation: nl-in .35s ease-out; }
.nl-pop[hidden] { display: none; }
.nl-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: #9fb0c8; font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 6px; }
.nl-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@keyframes nl-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .nl-pop { right: 16px; left: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .nl-pop { animation: none; } }

/* ---------- tape date ---------- */
@media (max-width: 640px) { .tape-thru { display: none; } }

/* ---------- phones: app-style bottom tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .masthead .wrap { flex-wrap: nowrap; }
  .search { order: 0; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 16px rgba(13, 27, 46, .06); }
  .tabbar > a, .tabbar summary { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; color: var(--muted);
    font-size: .68rem; font-weight: 500; list-style: none; cursor: pointer; text-decoration: none; }
  .tabbar summary::-webkit-details-marker { display: none; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar > a[aria-current="page"], .tab-more[open] summary { color: var(--brand); }
  .tabbar > a:hover { text-decoration: none; color: var(--brand); }
  .tab-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); background: var(--surface);
    border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(13, 27, 46, .22); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
  .tab-sheet a { padding: 15px 18px; color: var(--ink); font-weight: 500; font-size: .92rem; border-bottom: 1px solid var(--line-2); }
  .tab-sheet a:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .nl-pop { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- phones: wide tables become stacked cards ---------- */
@media (max-width: 640px) {
  table.data.stack thead { display: none; }
  table.data.stack, table.data.stack tbody { display: block; }
  table.data.stack tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
  table.data.stack tr[hidden] { display: none; }
  table.data.stack tbody tr:last-child { border-bottom: 0; }
  table.data.stack td { display: block; padding: 0; border: 0; text-align: left; min-width: 0; font-size: .86rem; }
  table.data.stack td::before { content: attr(data-label); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
  table.data.stack td.tk { order: -2; }
  table.data.stack td.who { order: -1; grid-column: span 2; min-width: 0; }
  table.data.stack td.tk::before, table.data.stack td.who::before { display: none; }
  table.data.stack td .sub { max-width: none; }
  table.data.stack td:empty { display: none; }
}

/* ---------- watchlist star, share, CSV ---------- */
.star, .share, .csv-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font: 500 .8rem var(--f-ui); cursor: pointer; vertical-align: middle; white-space: nowrap; }
.star svg, .share svg, .csv-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.star:hover, .share:hover, .csv-btn:hover { border-color: var(--brand); color: var(--brand); }
.star[aria-pressed="true"] { background: var(--gold-tint); border-color: var(--gold); color: var(--gold); }
.star[aria-pressed="true"] svg { fill: currentColor; }
.star.compact { width: 30px; padding: 0; justify-content: center; }
.star.compact span:empty { display: none; }
.cluster-top .star { margin-left: 6px; height: 26px; width: 26px; }
.cluster .when { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cluster .when .share { height: 26px; padding: 0 9px; font-size: .74rem; }
.pick-actions { display: flex; gap: 6px; }
.share-pop { position: absolute; z-index: 40; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(13, 27, 46, .16); display: grid; min-width: 150px; overflow: hidden; }
.share-pop a, .share-pop button { padding: 9px 14px; text-align: left; font: 500 .85rem var(--f-ui); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.share-pop a:hover, .share-pop button:hover { background: var(--brand-tint); text-decoration: none; }
.pick-actions, .cluster .when { position: relative; }
.csv-btn { margin: 10px 16px; height: 30px; }
.star-inline { display: inline-block; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; white-space: nowrap; }

/* header watchlist link */
.wl-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; font-size: .9rem; white-space: nowrap; position: relative; }
.wl-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.wl-link:hover, .wl-link[aria-current="page"] { color: var(--brand); text-decoration: none; }
.wl-link b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .68rem; display: inline-grid; place-items: center; }
.wl-link b[hidden] { display: none; }
.wl-link span { display: none; }
@media (max-width: 760px) { .wl-link { display: none; } }

/* watchlist page */
.wl-rows { list-style: none; margin: 0; padding: 0; }
.wl-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.wl-row:last-child { border-bottom: 0; }
.wl-id { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.wl-id > span { font-size: .84rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.wl-px, .wl-ins { display: grid; gap: 2px; font-size: .8rem; }
.wl-px b { font: 600 1.05rem var(--f-display); }
.wl-ins span, .wl-last { display: grid; font-size: .82rem; color: var(--ink-2); }
.wl-ins i, .wl-last i { font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wl-empty { display: grid; gap: 4px; }
.wl-suggest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-suggest li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.wl-suggest li span { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .wl-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 12px; padding: 14px 16px; }
  .wl-row .wl-ins, .wl-row .wl-last { grid-column: 1 / -1; }
  .wl-row > .star { grid-row: 1; grid-column: 3; align-self: start; }
  .wl-ins { grid-template-columns: 1fr 1fr; }
  .wl-suggest { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- track record strip + best/worst ---------- */
.track-strip { display: block; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .05);
  color: var(--on-navy); font-size: .9rem; max-width: 900px; }
.track-strip:hover { text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); }
.track-strip b { color: #fff; margin-right: 6px; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.track-strip strong.up { color: #6fe0a6; } .track-strip strong.dn { color: #ff9b90; }
.track-strip u { text-decoration: none; color: #a9c4f5; white-space: nowrap; }
.hl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hl { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; border-top: 3px solid var(--line); }
.hl-best { border-top-color: var(--pos); } .hl-worst { border-top-color: var(--neg); }
.hl-main { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.hl-main .co { color: var(--ink-2); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hl-figs div { display: grid; }
.hl-figs .k { font-size: .7rem; color: var(--muted); }
.hl-figs .v { font: 600 1rem var(--f-display); }
.hl .when { font-size: .75rem; color: var(--muted); }
@media (max-width: 640px) { .hl-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- weekly PDF ---------- */
.report-cta { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 18px; }
.report-cta h3 { font-size: 1.05rem; }
.report-cta p { font-size: .84rem; color: var(--ink-2); }
.report-cta .btn { height: 36px; width: fit-content; margin-top: 4px; }
.rep-doc { width: 54px; height: 70px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(13, 27, 46, .12);
  display: grid; align-content: start; gap: 5px; padding: 0 7px 7px; overflow: hidden; }
.rep-doc span { height: 4px; border-radius: 2px; background: var(--line); }
.rep-doc span:first-child { height: 14px; margin: 0 -7px 2px; border-radius: 0; background: var(--navy); }
.report-get { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 24px; align-items: start; }
.report-cover { aspect-ratio: 8.5 / 11; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(13, 27, 46, .14);
  display: grid; grid-template-rows: auto auto auto 1fr auto; overflow: hidden; color: #0d1b2e; transform: rotate(-1.5deg); }
.rc-band { background: #0a1f3c; color: #fff; padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.rc-band b { font: 600 .95rem var(--f-display); } .rc-band small { font-size: .55rem; color: #b9c7db; }
.rc-title { font: 600 1.05rem/1.2 var(--f-display); padding: 14px 12px 8px; }
.rc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 12px; border: 1px solid #dfe5ec; background: #f3f5f8; }
.rc-kpis span { padding: 6px; font: 600 .78rem var(--f-display); display: grid; border-right: 1px solid #dfe5ec; }
.rc-kpis span:last-child { border-right: 0; }
.rc-kpis i { font: normal .5rem var(--f-ui); color: #5d6c80; text-transform: uppercase; }
.rc-lines { padding: 14px 12px; display: grid; gap: 7px; align-content: start; }
.rc-lines span { height: 6px; border-radius: 3px; background: #e8edf3; }
.rc-lines span:nth-child(3n) { width: 70%; }
.rc-foot { font-size: .55rem; color: #5d6c80; padding: 8px 12px; border-top: 1px solid #eef2f6; }
.report-form { display: grid; gap: 14px; }
.rep-form { display: grid; gap: 8px; padding-top: 6px; }
.rep-form label { font-weight: 600; font-size: .88rem; }
.rep-row { display: flex; gap: 8px; }
.rep-row input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; font: inherit; background: var(--surface); color: var(--ink); }
.rep-row .btn { height: 42px; }
.report-form .fine { font-size: .76rem; color: var(--muted); }
.rep-done { display: grid; gap: 10px; padding: 16px; border-radius: 8px; background: var(--pos-tint); }
.rep-done .btn { width: fit-content; }
@media (max-width: 760px) { .report-get { grid-template-columns: minmax(0, 1fr); padding: 18px; } .report-cover { max-width: 220px; margin: 0 auto; } .rep-row { flex-direction: column; } }

/* ---------- fresh filings: NEW badges and live strip ---------- */
.new-badge { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: var(--gold-tint); color: var(--gold);
  font: 700 .62rem/1.5 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; animation: new-pulse 2s ease-in-out 3; }
@keyframes new-pulse { 50% { box-shadow: 0 0 0 4px rgba(224, 177, 88, .25); } }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3fdc8a; margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(63, 220, 138, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(63, 220, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 220, 138, 0); } }
.fresh-strip { display: block; padding: 9px 14px; border-radius: 8px; background: rgba(63, 220, 138, .1); border: 1px solid rgba(63, 220, 138, .35);
  color: #dff7ea; font-size: .9rem; max-width: 900px; }
.fresh-strip:hover { text-decoration: none; color: #fff; background: rgba(63, 220, 138, .16); }
.fresh-strip b { color: #6fe0a6; margin-right: 6px; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.fresh-strip u { text-decoration: none; color: #a9c4f5; white-space: nowrap; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .new-badge, .live-dot { animation: none; } }

/* Stock snapshot + daily recap */
.range52 { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.day-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .9rem; font-weight: 600; }
.day-nav a { text-decoration: none; }
.day-nav a.next { margin-left: auto; }
.recap-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: .9rem; font-weight: 600; }
.hero-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.hero .hero-links a { color: #cfe0ff; border-color: rgba(207,224,255,.45); }
.hero .hero-links a:hover { color: #fff; }

/* ---------- subscriber boost + start here + follow links ---------- */
.signup-inline { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 10px 24px; align-items: center; }
.signup-inline h3 { color: #fff; font-size: 1.1rem; margin: 0 0 4px; }
.signup-inline p { margin: 0; font-size: .88rem; }
.signup-inline .su-fine { grid-column: 1 / -1; font-size: .74rem; color: #9fb0c8; }
.signup-inline a, .newsletter .fine a { color: #cfe0ff; }
.nl-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.nl-mini input { height: 42px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 12px; font: inherit; font-size: .92rem; min-width: 0; }
.nl-mini input::placeholder { color: #9fb0c8; }
.nl-mini .btn { background: #18a058; color: #fff; border: 0; height: 42px; white-space: nowrap; }
.nl-proof { color: #a7e3c4; font-weight: 600; }
@media (max-width: 760px) { .signup-inline { grid-template-columns: minmax(0, 1fr); } }
.start-here { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 16px; max-width: 900px; }
.sh-card { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.sh-card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); }
.sh-card b { font-size: 1rem; }
.sh-card b::after { content: " →"; color: #7fd6a6; }
.sh-card span { font-size: .82rem; color: #b9c7dc; }
.hero-signup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; max-width: 900px; color: #d7e2f2; font-size: .9rem; }
.hero-signup .nl-mini { flex: 1 1 320px; max-width: 420px; }
.hs-sample { color: #cfe0ff; font-size: .85rem; }
@media (max-width: 760px) { .start-here { grid-template-columns: minmax(0, 1fr); } }
.follow { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.follow a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .85rem; font-weight: 600; }
.follow img { width: 16px; height: 16px; }
.follow.on-dark a { border-color: rgba(255, 255, 255, .25); color: #e6eefb; }
.follow.on-dark a:hover { background: rgba(255, 255, 255, .08); }

/* ---------- earnings, headline tone, short selling, Congress ---------- */
.earn-mark line { stroke: var(--muted); stroke-dasharray: 3 3; stroke-width: 1; opacity: .55; }
.earn-mark rect { fill: var(--surface, #fff); stroke: var(--muted); stroke-width: 1; }
.earn-mark text { font: 700 10px var(--f-sans, sans-serif); fill: var(--ink-2, #334155); }
.tone-pos { fill: var(--pos, #16a34a); opacity: .85; }
.tone-neg { fill: var(--neg, #dc2626); opacity: .85; }
.tone-neu { fill: var(--muted); opacity: .6; }
.sv-bar { fill: var(--chart-line, #1d4ed8); opacity: .28; }
.sv-avg { fill: none; stroke: var(--chart-line, #1d4ed8); stroke-width: 2.5; }
.mini-kpis { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0 20px 16px; font-size: .88rem; color: var(--ink-2); }
.mini-kpis b { color: var(--ink); }
.note { font-size: .8rem; color: var(--muted); padding: 0 20px 16px; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 20px; }
.stat-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; }
.stat-card h3 { font-size: .95rem; margin: 0; }
.stat-card .big { font: 600 1.6rem/1.1 var(--f-display); }
.stat-card .sub { font-size: .8rem; color: var(--muted); }
@media (max-width: 700px) { .stat-grid { grid-template-columns: minmax(0, 1fr); } }
.party { display: inline-block; min-width: 18px; text-align: center; font-size: .72rem; font-weight: 700; border-radius: 4px; padding: 1px 5px; background: var(--line-2, #eef2f7); color: var(--ink-2); }
.answer-box h2 { font-size: 1.15rem; margin: 0 0 8px; }
.answer-box p { margin: 0 0 6px; }
.answer-line { margin: 0 0 16px; font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.small { font-size: .82rem; }

/* ---- blog */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 18px 20px; border-bottom: 1px solid var(--line-2); display: grid; gap: 6px; }
.post-list li:last-child { border-bottom: 0; }
.post-list .post-title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.post-list .post-title:hover { color: var(--brand); text-decoration: underline; }
.post-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.post-meta { color: var(--muted); font-size: .86rem; margin: 6px 0 0; }
.page-head .post-meta a { color: inherit; }
.post-body { font-size: 1.02rem; line-height: 1.65; gap: 14px; }
.post-body h2 { font-size: 1.3rem; margin-top: 18px; }
.post-body h3 { font-size: 1.08rem; margin: 8px 0 0; }
.post-body p, .post-body ul, .post-body ol { margin: 0; }
.post-body ol { padding-left: 22px; display: grid; gap: 6px; }
.post-body blockquote { margin: 0; padding: 10px 16px; border-left: 3px solid var(--brand); background: var(--brand-tint); color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body .table-wrap { margin: 4px 0; }
.post-body code { font-family: var(--f-mono); font-size: .9em; background: var(--surface-2); padding: 1px 4px; border-radius: 3px; }
/* ---- quarter bars, jump links */
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.jump a { font-size: .82rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); text-decoration: none; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.qbar-buy { fill: var(--pos); } .qbar-sell { fill: var(--neg); opacity: .85; }
.td-sub { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }

/* ---- slimmer homepage */
.hero-slim h1 { max-width: 22ch; }
.hero-slim .lede { max-width: 62ch; }
.fresh-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--pos); background: var(--pos-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; text-decoration: none; }
.fresh-pill:hover { text-decoration: underline; }
.pick-rows { list-style: none; margin: 0; padding: 0; }
.pick-rows li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.pick-rows li:last-child { border-bottom: 0; }
.pr-rank { font-family: var(--f-mono); color: var(--muted); font-size: .85rem; }
.pr-text { display: grid; gap: 2px; min-width: 0; }
.pr-text strong { font-size: .95rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-text span { font-size: .85rem; color: var(--muted); }
.explore { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding: 16px 20px 20px; }
.explore a, .explore button { display: grid; gap: 3px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; }
.explore a:hover, .explore button:hover { border-color: var(--brand); background: var(--brand-tint); }
.explore b { font-size: .92rem; color: var(--brand-ink); }
.explore span { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .pick-rows li { grid-template-columns: auto 1fr auto; padding: 12px 16px; }
  .pick-rows .pr-rank { display: none; }
  .explore { grid-template-columns: 1fr 1fr; padding: 12px 16px 16px; }
}
/* ---- floating subscribe button */
.nl-fab { position: fixed; right: 20px; bottom: 20px; z-index: 59; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px;
  border: 0; border-radius: 999px; background: var(--pos); color: #fff; font: 600 .92rem var(--f-ui); cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 31, 60, .28); animation: nl-in .3s ease-out; }
.nl-fab:hover { filter: brightness(1.08); }
.nl-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nl-fab[hidden] { display: none; }
@media (max-width: 760px) { .nl-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: 14px; padding: 9px 14px 9px 12px; font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .nl-fab { animation: none; } }

/* ---- Ask InsiderPrint */
.ask-btn { position: fixed; left: 20px; bottom: 20px; z-index: 58; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px;
  border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 600 .92rem var(--f-ui); cursor: pointer; box-shadow: 0 8px 24px rgba(10, 31, 60, .28); }
.ask-btn:hover { background: var(--brand); }
.ask-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask-btn[hidden], .ask[hidden] { display: none; }
.ask { position: fixed; left: 20px; bottom: 20px; z-index: 61; width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 48px rgba(10, 31, 60, .3); overflow: hidden; animation: nl-in .25s ease-out; }
.ask header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; padding: 12px 14px; background: var(--navy); color: #fff; }
.ask header b { font-family: var(--f-display); font-size: 1.05rem; }
.ask header span { grid-row: 2; font-size: .75rem; color: #9fb0c8; }
.ask-x { grid-row: 1 / span 2; grid-column: 2; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #9fb0c8; font-size: 1.4rem; cursor: pointer; }
.ask-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ask-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ask-msg { max-width: 92%; padding: 9px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.45; color: var(--ink); }
.ask-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 3px; }
.ask-msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-top-right-radius: 3px; }
.ask-msg ul { margin: 6px 0; padding-left: 18px; display: grid; gap: 4px; }
.ask-msg a { font-weight: 600; }
.ask-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid var(--line-2); background: var(--surface); scrollbar-width: none; }
.ask-chip { flex: none; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand-ink); font: 500 .8rem var(--f-ui); cursor: pointer; white-space: nowrap; }
.ask-chip:hover { border-color: var(--brand); background: var(--brand-tint); }
@media (min-width: 761px) { .ask-chips { flex-wrap: wrap; max-height: 84px; overflow-y: auto; } }
.ask form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); }
.ask input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .92rem; background: var(--surface); color: var(--ink); }
.ask input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
@media (max-width: 760px) {
  .ask-btn { left: 14px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); padding: 9px 14px 9px 12px; font-size: .86rem; }
  .ask { left: 8px; right: 8px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); height: min(70vh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .ask { animation: none; } }
.src-line { margin: -4px 0 16px; font-size: .8rem; color: var(--muted); }
.src-line a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.src-line a:hover { color: var(--brand); }

/* ---- Setup Odds */
.odds { border-left: 3px solid var(--brand); }
.odds-setup { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.odds-head { font-size: 1.05rem; color: var(--ink); margin: 0 0 8px; }
.odds-pct { font-weight: 600; }
.odds-bar { height: 10px; border-radius: 999px; background: var(--neg-tint); overflow: hidden; margin: 0 0 14px; }
.odds-bar i { display: block; height: 100%; background: var(--pos); border-radius: 999px; }
.odds .kpis { margin: 0 -20px; }
.odds-line { display: inline-block; margin: 6px 0 2px; font-size: .8rem; color: var(--brand-ink); background: var(--brand-tint); padding: 3px 9px; border-radius: 999px; text-decoration: none; }
.odds-line b { font-weight: 700; }
.odds-line:hover { text-decoration: underline; }
.cluster .odds-line { margin: 0; justify-self: start; }
.setup-alert { background: var(--brand-tint); border-bottom: 1px solid var(--line); font-size: .9rem; }
.setup-alert .wrap { display: flex; align-items: center; gap: 10px; padding-block: 9px; }
.setup-alert a.go { font-weight: 600; white-space: nowrap; }
.setup-alert p { margin: 0; flex: 1; color: var(--ink); }
.setup-alert button { border: 0; background: transparent; font-size: 1.2rem; color: var(--muted); cursor: pointer; padding: 0 4px; }
.setup-alert[hidden] { display: none; }

/* ---------- Setup Odds charts ---------- */
.viz { margin: 0; }
.viz .won { fill: var(--pos); background: var(--pos); }
.viz .lost { fill: var(--line); background: var(--line); }
.odds-viz { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 24px; align-items: end; margin: 4px 0 16px; }
@media (max-width: 640px) { .odds-viz { grid-template-columns: 1fr; } .dots { max-width: 220px; } }
.dots svg { display: block; width: 100%; height: auto; }
.dots circle { transition: transform .35s ease, opacity .35s ease; transform-box: fill-box; transform-origin: center; transition-delay: var(--d, 0ms); }
.dots circle:hover { stroke: var(--ink); stroke-width: 2; }
.viz figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.viz figcaption b { color: var(--ink); font-size: 1rem; }
.viz .key { display: inline-flex; gap: 6px; align-items: center; margin-left: 8px; }
.viz .key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-left: 4px; }
.hist-bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; height: 150px; align-items: end; border-bottom: 1px solid var(--ink-2); }
.hist-bars .hb { height: 100%; display: flex; align-items: flex-end; cursor: default; background: none !important; }
.hist-bars .hb i { display: block; width: 100%; border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .2s; transition-delay: var(--d, 0ms); }
.hist-bars .hb.won i { background: var(--pos); }
.hist-bars .hb.lost i { background: var(--muted); opacity: .45; }
.hist-bars .hb:nth-child(6) { border-left: 2px dashed var(--ink-2); }
.hist-bars .hb:hover i { opacity: 1; outline: 2px solid var(--ink); outline-offset: 1px; }
.hist-axis { display: grid; grid-template-columns: repeat(5, 1fr); font-size: .72rem; color: var(--muted); margin-top: 4px; text-align: center; }
.hist-axis .zero { color: var(--ink-2); font-weight: 600; }
.odds-kpis { border-top: 0; border-bottom: 1px solid var(--line-2); }
.diverge { display: grid; gap: 2px; }
.dv-head, .dv-row { display: grid; grid-template-columns: minmax(180px, 42%) 1fr; gap: 14px; align-items: center; }
.dv-head { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 6px; }
.dv-scale { position: relative; height: 1em; text-transform: none; letter-spacing: 0; }
.dv-scale em { position: absolute; transform: translateX(-50%); font-style: normal; white-space: nowrap; }
.dv-scale em:first-child { transform: none; } .dv-scale em:last-child { transform: translateX(-100%); }
.dv-row { padding: 5px 0; border-top: 1px solid var(--line-2); border-radius: 4px; }
.dv-row:hover { background: var(--surface-2); }
.dv-label { font-size: .84rem; color: var(--ink); line-height: 1.3; }
.dv-label small { display: block; color: var(--muted); font-size: .72rem; }
.dv-track { position: relative; height: 22px; background: linear-gradient(var(--ink-2), var(--ink-2)) 50% 0 / 2px 100% no-repeat; }
.dv-track i { position: absolute; top: 4px; bottom: 4px; transition: transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.dv-track i.up { background: var(--pos); border-radius: 0 4px 4px 0; transform-origin: left; }
.dv-track i.down { background: var(--muted); opacity: .5; border-radius: 4px 0 0 4px; transform-origin: right; }
.dv-track b { position: absolute; top: 2px; font-size: .8rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .dv-head, .dv-row { grid-template-columns: 1fr; gap: 4px; } .dv-head > span:first-child { display: none; } }
.years .yr-plot { position: relative; display: flex; gap: 10px; height: 180px; margin-top: 26px; align-items: stretch; border-bottom: 1px solid var(--ink-2); }
.yr-fifty { position: absolute; left: 0; right: 0; bottom: 50%; border-top: 2px dashed var(--ink-2); pointer-events: none; }
.yr-fifty em { position: absolute; right: 0; top: -1.3em; font-size: .72rem; font-style: normal; color: var(--muted); }
.years .yr { flex: 1; position: relative; cursor: default; }
.years .yr b { position: absolute; left: 0; right: 0; text-align: center; font-size: .8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.years .yr i { position: absolute; bottom: 0; left: 50%; margin-left: max(-28px, -50%); width: min(56px, 100%); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.years .yr i.up { background: var(--pos); } .years .yr i.down { background: var(--muted); opacity: .5; }
.years .yr:hover i { outline: 2px solid var(--ink); outline-offset: 1px; }
.years .yr-axis { display: flex; gap: 10px; margin-top: 6px; }
.years .yr-axis span { flex: 1; text-align: center; font-size: .8rem; color: var(--ink-2); }
.years .yr-axis small { display: block; font-size: .7rem; color: var(--muted); }
/* reveal on scroll (app.js adds .viz-ready to <html>, then .in on each chart) */
.viz-ready .viz:not(.in) .dv-track i, .viz-ready .viz:not(.in) .hb i { transform: scaleX(0); }
.viz-ready .viz:not(.in) .hb i, .viz-ready .viz:not(.in) .yr i { transform: scaleY(0); }
.viz-ready .viz:not(.in) circle { transform: scale(0); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .viz *, .viz circle { transition: none !important; } }

/* ---------- Setup Odds explorer ---------- */
.ox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow); }
.ox-q { display: grid; gap: 10px; margin-bottom: 16px; }
.ox-g { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ox-g span { font-size: .78rem; color: var(--muted); min-width: 190px; }
.ox-g button { font: 600 .84rem/1 var(--f-ui); padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ox-g button:hover { border-color: var(--brand); color: var(--brand); }
.ox-g button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.ox-out { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; }
.ox-dots { width: 100%; height: auto; display: block; }
.ox-dots circle { fill: var(--line); transition: fill .35s ease; transition-delay: var(--d, 0ms); }
.ox-dots circle.won { fill: var(--pos); }
.ox-dots circle.na { fill: var(--line-2); }
.ox-big { font: 600 2.4rem/1 var(--f-display); color: var(--ink); margin: 0; }
.ox-big b { color: var(--pos); font-variant-numeric: tabular-nums; }
.ox-none .ox-big b { color: var(--muted); }
.ox-sub { color: var(--ink-2); margin: 4px 0 8px; }
.ox-meta { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.ox-meta b { color: var(--ink); }
.ox-hist { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; height: 46px; align-items: end; border-bottom: 1px solid var(--ink-2); max-width: 320px; }
.ox-hist i { display: block; border-radius: 3px 3px 0 0; transition: height .4s ease; cursor: default; }
.ox-hist i.won { background: var(--pos); } .ox-hist i.lost { background: var(--muted); opacity: .45; }
.ox-hist i:nth-child(6) { box-shadow: -2px 0 0 var(--ink-2); }
.ox-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9rem; }
.ox-foot { font-size: .74rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 640px) { .ox-out { grid-template-columns: 110px 1fr; gap: 14px; } .ox-big { font-size: 1.8rem; } .ox-g span { min-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ox-dots circle, .ox-hist i { transition: none; } }
/* homepage hook */
.hero-hook { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.hero-hook .hook-line { font: 600 1.3rem/1.35 var(--f-display); color: #fff; margin: 10px 0 14px; max-width: 34ch; }
.hero-hook .hook-line em { font-style: normal; color: #5fd49b; display: block; font-size: 1.05rem; margin-top: 4px; }
.hero-hook .ox { color: var(--ink); }
@media (max-width: 900px) { .hero-hook { grid-template-columns: 1fr; gap: 18px; } }
/* filter chips + standout card */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.chips button { font: 600 .82rem/1 var(--f-ui); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
.chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips [data-count] { margin-left: auto; font-size: .8rem; color: var(--muted); }
.standout { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; }
.standout .so-k { font: 600 .72rem/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.standout .so-t { font: 600 1.15rem/1.35 var(--f-display); color: var(--ink); }
.standout .so-v { font: 700 1.6rem/1 var(--f-display); color: var(--pos); grid-row: span 2; }
@media (max-width: 640px) { .standout { grid-template-columns: 1fr; } .standout .so-v { grid-row: auto; } }
.show-more { display: block; margin: 10px auto 14px; font: 600 .84rem/1 var(--f-ui); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--brand); cursor: pointer; }
.show-more:hover { border-color: var(--brand); }
details.fold > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 10px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+"; font: 600 1.1rem/1 var(--f-ui); color: var(--brand); width: 1em; }
details.fold[open] > summary::before { content: "–"; }
details.fold > summary h2 { font-size: 1.05rem; }
.ox-g button.thin:not(.on) { opacity: .45; border-style: dashed; }
[hidden] { display: none !important; }
/* quiz popup + subscribe pitch */
.quiz { display: grid; gap: 10px; }
.quiz h3 { font-size: 1.05rem; line-height: 1.35; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opts button { font: 600 .9rem/1 var(--f-ui); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.quiz-opts button:hover:not(:disabled) { background: rgba(255,255,255,.18); }
.quiz-opts button.right { background: #1f9d63; border-color: #1f9d63; }
.quiz-opts button.wrong { background: rgba(255,255,255,.04); text-decoration: line-through; opacity: .7; }
.quiz-out { font-size: .9rem; color: #dbe5f3; }
.quiz-out b { color: #fff; font-size: 1.05rem; }
.nl-list { margin: 2px 0 4px; padding-left: 18px; display: grid; gap: 4px; font-size: .88rem; }
.nl-list b { color: inherit; }
/* tap-for-details line under charts */
.viz-tip { font-size: .8rem; color: var(--muted); margin: 8px 0 0; min-height: 1.3em; }
.viz-tip.on { color: var(--ink); font-weight: 600; }
.viz .picked i, .dv-row.picked { outline: 2px solid var(--brand); outline-offset: 1px; }
.dv-row { cursor: pointer; }
.years .yr { cursor: pointer; }
/* Ask nudge bubble */
.ask-nudge { position: fixed; left: 20px; bottom: 76px; z-index: 60; max-width: 300px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; box-shadow: 0 8px 28px rgba(13,27,46,.18); padding: 14px 34px 12px 14px; font-size: .88rem; animation: nudge-in .35s cubic-bezier(.2,.8,.2,1); transition: opacity .5s; }
.ask-nudge.fade { opacity: 0; }
.ask-nudge p { margin: 0 0 10px; line-height: 1.4; }
.ask-nudge-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-nudge-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; }
@keyframes nudge-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.ask-btn.ask-wiggle { animation: ask-wiggle .9s ease 2; }
@keyframes ask-wiggle { 0%,100% { transform: none; } 20% { transform: rotate(-8deg) scale(1.06); } 40% { transform: rotate(8deg) scale(1.06); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(4deg); } }
@media (max-width: 640px) { .ask-nudge { left: 12px; right: 12px; max-width: none; bottom: 128px; } }
@media (prefers-reduced-motion: reduce) { .ask-nudge, .ask-btn.ask-wiggle { animation: none; } }
/* bell + what's new */
.bell-wrap { position: relative; flex-shrink: 0; }
.bell { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.bell:hover { border-color: var(--brand); color: var(--brand); }
.bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bell b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e5484d; color: #fff; font: 700 .7rem/18px var(--f-ui); text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.bell.ring svg { animation: bell-ring 1.2s ease 1.2s 2; transform-origin: 50% 10%; }
@keyframes bell-ring { 0%,100% { transform: none; } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
.bell-panel { position: absolute; right: 0; top: 48px; width: 330px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px rgba(13,27,46,.18); z-index: 40; overflow: hidden; }
.bell-panel header { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.bell-panel header span { font-size: .74rem; color: var(--muted); }
.bell-panel ul { list-style: none; margin: 0; padding: 4px 0; }
.bell-panel a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 14px; color: var(--ink); font-size: .88rem; line-height: 1.35; }
.bell-panel a:hover { background: var(--surface-2); text-decoration: none; }
.bell-panel small { grid-column: 1 / -1; color: var(--muted); font-size: .74rem; }
.bell-new { align-self: start; font: 700 .66rem/1 var(--f-ui); background: var(--pos-tint); color: var(--pos); padding: 4px 6px; border-radius: 999px; }
.nav a.has-new { position: relative; }
.nav a.has-new::after { content: ""; position: absolute; top: 16px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
@media (max-width: 900px) { .bell-panel { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .bell.ring svg { animation: none; } }
/* homepage rotating highlights */
.hl { margin: 12px 0 16px; max-width: 560px; }
.hl-track { position: relative; min-height: 118px; }
.hl-slide { position: absolute; inset: 0; display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.hl-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.hl-slide:hover { background: rgba(255,255,255,.11); text-decoration: none; }
.hl-tag { font: 700 .7rem/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: #5fd49b; }
.hl-slide b { font: 600 1.25rem/1.3 var(--f-display); }
.hl-sub { font-size: .88rem; color: #c9d6ea; }
.hl-odds { font-size: .8rem; color: #9fd8bb; }
.hl-dots { display: flex; gap: 6px; margin-top: 8px; }
.hl-dots button { width: 22px; height: 6px; border-radius: 999px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; }
.hl-dots button.on { background: #5fd49b; width: 34px; }
@media (prefers-reduced-motion: reduce) { .hl-slide { transition: none; } }

/* ---------- homepage hero (Oct 25): explanation + big search + one real, sourced purchase ---------- */
.ip-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 32px; align-items: start; padding-bottom: 34px !important; }
.ip-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; margin: 6px 0 10px; max-width: 18ch; }
.ip-sub { color: #dbe5f3; font-size: 1.08rem; line-height: 1.5; max-width: 52ch; margin: 0 0 18px; }
.hero-search { position: relative; display: flex; gap: 8px; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; height: 52px; border-radius: 10px; border: 2px solid rgba(255,255,255,.9); padding: 0 16px; font: 500 1.02rem var(--f-ui); color: var(--ink); background: #fff; }
.hero-search input:focus { outline: 3px solid #5fd49b; outline-offset: 1px; }
.hero-search .btn { height: 52px; padding: 0 18px; border-radius: 10px; background: #1fbf75; border-color: #1fbf75; color: #fff; font-weight: 700; white-space: nowrap; }
.hero-search .search-results { top: 58px; }
.ip-pop { margin: 12px 0 0; font-size: .9rem; color: #9fb6d8; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ip-pop a { color: #fff; font: 600 .85rem var(--f-mono); padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.ip-pop a:hover { background: rgba(255,255,255,.2); }
.ip-ctas { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0 0; }
.btn.ghost-on-navy { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn.ghost-on-navy:hover { background: rgba(255,255,255,.1); }
.ip-track { color: #cfe0ff; font-weight: 600; font-size: .92rem; }
.ip-proof { background: #fff; color: var(--ink); border-radius: 14px; padding: 18px 20px; box-shadow: 0 14px 40px rgba(0,0,0,.25); display: grid; gap: 6px; border-top: 4px solid #1fbf75; }
.ip-proof-k { font: 700 .72rem/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pos); }
.ip-proof-tk { color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ip-proof-tk b { font: 700 1.5rem var(--f-mono); color: var(--brand); }
.ip-proof-tk span { color: var(--ink-2); font-weight: 600; }
.ip-proof-v { margin: 0; font-size: 1.05rem; }
.ip-proof-v b { font-size: 1.35rem; }
.ip-proof-who { margin: 0; color: var(--ink-2); font-size: .92rem; }
.ip-proof-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; padding: 10px 0; border-block: 1px solid var(--line-2); }
.ip-proof-dates dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ip-proof-dates dd { margin: 2px 0 0; font-weight: 600; }
.ip-proof-odds { margin: 0; font-size: .9rem; background: var(--surface-2); border-radius: 8px; padding: 8px 10px; }
.ip-proof-links { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; font-weight: 600; }
.ip-proof-note { margin: 0; font-size: .74rem; color: var(--muted); }
.hl.hl-light { max-width: none; margin: 18px 0 0; }
.hl.hl-light .hl-slide { background: var(--surface); border-color: var(--line); color: var(--ink); }
.hl.hl-light .hl-slide:hover { background: var(--surface-2); }
.hl.hl-light .hl-tag { color: var(--pos); }
.hl.hl-light .hl-sub { color: var(--ink-2); }
.hl.hl-light .hl-odds { color: var(--pos); }
.hl.hl-light .hl-dots button { background: var(--line); }
.hl.hl-light .hl-dots button.on { background: var(--pos); }
.hl.hl-light .hl-track { min-height: 104px; }
@media (max-width: 900px) {
  .ip-hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-search .btn { padding: 0 14px; }
}
@media (max-width: 480px) { .hero-search .btn { font-size: 0; width: 52px; padding: 0; } .hero-search .btn::after { content: "🔍"; font-size: 1.2rem; } }

/* ---------- ticker page: latest filing summary at the top ---------- */
.latest-filing { border-left: 4px solid var(--brand); }
.latest-filing .lf-main { margin: 8px 0 6px; font-size: 1.02rem; line-height: 1.5; }
.latest-filing .lf-main .pill { margin-right: 6px; vertical-align: 1px; }
.lf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0; }
.lf-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lf-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.lf-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 10px 0 4px; font-weight: 600; font-size: .9rem; }
.lf-note { margin: 4px 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) { .lf-facts { grid-template-columns: 1fr 1fr; } }
.hl.hl-light { border: 0; padding: 0; border-radius: 0; }

/* ---------- stock page header (Oct 25 redesign: NVDA template) ---------- */
.tk-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.tk-head .wrap { padding-block: 22px 22px; display: grid; gap: 16px; }
.tk-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.tk-id h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 4px 0 6px; line-height: 1.15; }
.tk-sub { margin: 0 0 10px; color: var(--muted); }
.tk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tk-tags span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.tk-tags .tkr { font-family: var(--f-mono); font-weight: 700; color: var(--brand); background: var(--brand-tint); border-color: transparent; }
.tk-side { display: grid; gap: 10px; justify-items: end; }
.tk-side .quote { text-align: right; }
.tk-actions { display: flex; gap: 10px; align-items: center; }
.tk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 12px; }
.tk-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); display: grid; gap: 4px; align-content: start; }
.tk-kpi .k { font-size: .82rem; color: var(--muted); }
.tk-kpi .v { font: 700 1.7rem/1.1 var(--f-ui); color: var(--ink); }
.tk-kpi .v.pos { color: var(--pos); } .tk-kpi .v.neg { color: var(--neg); }
.tk-kpi .s { font-size: .78rem; color: var(--muted); }
.tk-signal { background: #fff7f3; border-color: #f6d4c8; }
.tk-signal.pos { background: var(--pos-tint); border-color: #bfe3cf; }
.tk-signal .k { font-weight: 700; color: var(--ink); }
.tk-signal p { margin: 2px 0 4px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.hist-na { border-left: 4px solid var(--line); }
.hist-na p { margin: 6px 0 0; }
.tk-tabs { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 8px 0; margin: 0 0 4px; border-bottom: 1px solid var(--line); }
.tk-alerts { background: var(--navy); color: #fff; border-radius: 14px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(10,31,60,.18); }
.tk-alerts h2 { color: #fff; margin: 0; font-size: 1.35rem; }
.tka-sub { margin: 0; color: #c9d6ea; font-size: .9rem; }
.tka-form { display: grid; gap: 8px; }
.tka-opt { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; background: #fff; color: var(--ink); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.tka-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.tka-opt b { display: block; font-size: .92rem; }
.tka-opt i { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.tka-form input[type=email] { height: 44px; border-radius: 10px; border: 0; padding: 0 12px; font: 500 .95rem var(--f-ui); }
.tka-form .btn { height: 46px; border-radius: 10px; background: #1fbf75; border-color: #1fbf75; color: #fff; font-weight: 700; }
.tka-fine { margin: 0; font-size: .74rem; color: #aebfd8; line-height: 1.45; }
@media (min-width: 1100px) { .rail .tk-alerts { position: sticky; top: 16px; } }
@media (max-width: 900px) {
  .tk-kpis { grid-template-columns: 1fr 1fr; }
  .tk-signal { grid-column: 1 / -1; }
  .tk-side { justify-items: start; } .tk-side .quote { text-align: left; }
}
@media (max-width: 760px) { .tk-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .tk-tabs a { flex: 0 0 auto; } }
.na { font-size: .85rem; font-weight: 600; color: var(--muted); }
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-block: 10px; font-size: .82rem; color: var(--ink-2); justify-content: center; }

/* ===================== Interactive features: Insider Pulse, Outcome Cloud, Insider Call, Ask the filings ===================== */
.sky-wrap, .game-wrap, .oc-dark, .ab-wrap { --sp-bg: #070b14; --sp-surface: #0e1524; --sp-surface-2: #131c2f; --sp-line: #1d2840; --sp-ink: #e6ecf5; --sp-muted: #a3b0c2; --sp-up: #60a5fa; --sp-dn: #f5a65b; }
.sky-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7db4ff; margin-bottom: 6px; }

/* Insider Pulse */
.sky-wrap { background: var(--sp-bg); color: var(--sp-ink); padding: 40px 0 28px; }
.sky-wrap h2 { color: var(--sp-ink); font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.sky-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.sky-head > div { flex: 1 1 520px; }
.sky-head p { color: var(--sp-muted); margin: 8px 0 0; max-width: 70ch; }
.sky-game { flex: 0 1 320px; display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--sp-surface); border: 1px solid #2a3d63; color: var(--sp-ink); }
.sky-game:hover { text-decoration: none; border-color: #7db4ff; }
.sky-game b { color: #7db4ff; }
.sky-game span { color: var(--sp-muted); font-size: .9rem; }
.sky-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.sky { flex: 999 1 600px; min-width: 0; position: relative; aspect-ratio: 1000 / 600; border-radius: 22px; border: 1px solid var(--sp-line); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #0f1a2e 0%, #070b14 70%); }
.sky::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#1a2338 1px, transparent 1px); background-size: 26px 26px; opacity: .8; pointer-events: none; }
.sky-orb { position: absolute; transform: translate(-50%, -54%); aspect-ratio: 1; border-radius: 50%; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(147,197,253,.35); background: radial-gradient(circle at 35% 30%, rgba(147,197,253,.95), rgba(37,99,235,.6) 58%, rgba(30,64,175,.28));
  box-shadow: 0 0 22px rgba(59,130,246,.3); transition: transform .2s ease, opacity .35s ease, filter .35s ease; color: #eff6ff; font: 600 clamp(9px, 1.1vw, 13px)/1 ui-monospace, "JetBrains Mono", Menlo, monospace; }
.sky-orb:hover, .sky-orb:focus-visible { transform: translate(-50%, -54%) scale(1.1); z-index: 2; outline: none; box-shadow: 0 0 0 3px #e6ecf5, 0 0 30px rgba(96,165,250,.6); }
.sky-orb.on { border: 2px solid #fff; background: radial-gradient(circle at 35% 30%, #dbeafe, #60a5fa 60%, #2563eb); z-index: 3; }
.sky-orb.off { opacity: .06; filter: grayscale(1); pointer-events: none; }
.sky-orb.fresh::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; animation: skyPulse 1.9s ease-out infinite; }
@keyframes skyPulse { 0% { box-shadow: 0 0 0 0 rgba(125,180,255,.6); } 100% { box-shadow: 0 0 0 18px rgba(125,180,255,0); } }
@media (prefers-reduced-motion: reduce) { .sky-orb.fresh::after { animation: none; box-shadow: 0 0 0 3px rgba(125,180,255,.5); } .sky-orb { transition: none; } }
.sky-replay { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; gap: 12px; align-items: center; z-index: 4; }
.sky-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #7db4ff; color: #070b14; display: grid; place-items: center; cursor: pointer; }
.sky-play.playing { background: #e6ecf5; }
.sky-range { flex: 1; display: grid; gap: 2px; font-size: .78rem; color: var(--sp-muted); }
.sky-range input { width: 100%; accent-color: #7db4ff; }
.sky-card { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--sp-surface); border: 1px solid var(--sp-line); }
.sky-card p { margin: 0; }
.sky-k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); }
.sky-tk b { font: 600 1.6rem ui-monospace, "JetBrains Mono", Menlo, monospace; color: #93c5fd; margin-right: 6px; }
.sky-tk span { color: var(--sp-ink); }
.sky-v { font: 800 2.3rem/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.sky-who { color: var(--sp-ink); font-size: .95rem; }
.sky-m { color: var(--sp-muted); font-size: .88rem; }
.sky-odds { color: var(--sp-muted); font-size: .9rem; border-top: 1px solid var(--sp-line); padding-top: 10px; }
.sky-open { margin-top: auto; text-align: center; border: 1px solid #2a3d63; border-radius: 12px; padding: 11px; color: var(--sp-ink); font-weight: 600; }
.sky-open:hover { text-decoration: none; border-color: #7db4ff; color: #fff; }
.sky-note { color: #7f8da3; font-size: .8rem; margin: 12px 0 0; }
@media (max-width: 700px) { .sky { aspect-ratio: 1000 / 760; } .sky-orb span { display: none; } .sky-card { padding: 16px; } .sky-v { font-size: 1.9rem; } }

/* Outcome Cloud */
.oc { margin: 14px 0 0; }
.oc-dark { background: var(--sp-bg); border: 1px solid var(--sp-line); border-radius: 18px; padding: 14px 14px 10px; color: var(--sp-ink); }
.oc-stat { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 0 4px 6px; }
.oc-stat b { font: 700 1.25rem var(--f-display); color: #fff; }
.oc-stat span { color: var(--sp-muted); font-size: .88rem; }
.oc-scroll { overflow-x: auto; }
.oc-svg { width: 100%; min-width: 520px; height: auto; display: block; }
.oc-svg .oc-grid { stroke: #172036; }
.oc-svg .oc-zero { stroke: #5b6b86; stroke-dasharray: 5 5; }
.oc-svg .oc-ax { fill: #7f8da3; font: 11px ui-sans-serif, system-ui, sans-serif; }
.oc-svg .oc-lab { font: 600 12px ui-sans-serif, system-ui, sans-serif; }
.oc-svg .oc-lab-up { fill: var(--sp-up); } .oc-svg .oc-lab-dn { fill: var(--sp-dn); }
.oc-svg .oc-up { fill: var(--sp-up); opacity: .62; } .oc-svg .oc-dn { fill: var(--sp-dn); opacity: .55; }
.oc-svg circle:hover { opacity: 1; stroke: #fff; stroke-width: 1.5; }
.oc-svg .oc-ring { fill: none; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(125,180,255,.8)); }
.oc-svg .oc-ring-t { fill: #fff; font: 600 12px ui-sans-serif, system-ui, sans-serif; }
.oc-dark figcaption { color: #7f8da3; font-size: .8rem; margin: 6px 4px 0; }
.oc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-tab { border: 1px solid var(--line, #d5dce6); background: var(--surface, #fff); color: var(--ink); border-radius: 999px; padding: 9px 14px; min-height: 40px; font: inherit; font-size: .9rem; cursor: pointer; }
.oc-tab[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }

/* Insider Call */
.game-wrap { background: var(--sp-bg); color: var(--sp-ink); padding: 36px 0 56px; min-height: 70vh; }
.game-shell { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.game-wrap h1, .game-wrap h2 { color: var(--sp-ink); }
.game-top { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.game-top > div:first-child { flex: 1 1 420px; }
.game-top h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.03em; }
.game-no { color: #7db4ff; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: .6em; vertical-align: middle; }
.game-lede { color: var(--sp-muted); margin: 8px 0 0; }
.game-streak { display: grid; justify-items: center; padding: 12px 18px; border-radius: 16px; background: var(--sp-surface); border: 1px solid var(--sp-line); font-size: .8rem; color: var(--sp-muted); }
.game-streak b { font: 700 1.8rem ui-monospace, "JetBrains Mono", Menlo, monospace; color: #fff; }
.game-progress { display: flex; gap: 6px; }
.game-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--sp-line); }
.game-progress i.now { background: #7db4ff; opacity: .5; }
.game-progress i.ok { background: var(--sp-up); } .game-progress i.no { background: var(--sp-dn); }
.game-card { padding: 24px; border-radius: 22px; background: linear-gradient(180deg, #121b2c, #0c121d); border: 1px solid #22304a; display: grid; gap: 14px; }
.game-card p { margin: 0; }
.game-k { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); font-weight: 600; }
.game-q { font: 600 clamp(1.25rem, 3.4vw, 1.6rem)/1.3 var(--f-display); }
.game-q b { color: #7db4ff; }
.game-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.game-facts li { background: #0a1019; border-radius: 12px; padding: 10px 12px; font-size: .92rem; }
.game-facts span { display: block; color: var(--sp-muted); font-size: .76rem; }
.game-ask { color: var(--sp-ink); font-weight: 600; }
.game-loading { color: var(--sp-muted); }
.game-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game-btn { min-height: 64px; border-radius: 18px; font: 700 1.1rem var(--f-display); cursor: pointer; }
.game-btn.up { background: var(--sp-up); color: #06101f; border: 0; }
.game-btn.dn { background: transparent; color: #f8c79a; border: 1.5px solid var(--sp-dn); }
.game-btn:hover { filter: brightness(1.08); }
.game-reveal { padding: 20px; border-radius: 22px; background: var(--sp-surface); border: 1px solid var(--sp-line); display: grid; gap: 12px; animation: gameIn .3s ease; }
@keyframes gameIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.game-reveal p { margin: 0; }
.game-verdict { font: 700 1.5rem var(--f-display); }
.game-verdict.ok { color: var(--sp-up); } .game-verdict.no { color: var(--sp-dn); }
.game-co b { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; margin-right: 6px; }
.game-co a { color: #93c5fd; }
.game-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.game-vs > div { background: #0a1019; border-radius: 12px; padding: 10px 12px; }
.game-vs span { display: block; color: var(--sp-muted); font-size: .76rem; }
.game-vs b { font: 700 1.2rem ui-monospace, "JetBrains Mono", Menlo, monospace; }
.game-vs .pos { color: var(--sp-up); } .game-vs .neg { color: var(--sp-dn); }
.game-end { padding: 24px; border-radius: 22px; background: var(--sp-surface); border: 1px solid #2a3d63; display: grid; gap: 12px; text-align: center; justify-items: center; }
.game-end h2 { font-size: 2rem; }
.game-end p { margin: 0; color: var(--sp-muted); }
.game-grid { display: flex; gap: 8px; }
.game-grid i { width: 34px; height: 34px; border-radius: 8px; }
.game-grid i.ok { background: var(--sp-up); } .game-grid i.no { background: transparent; border: 2px solid var(--sp-dn); }
.game-end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.game-wrap .btn.ghost { background: transparent; color: var(--sp-ink); border: 1px solid #2a3d63; }
.game-how { padding: 18px 20px; border-radius: 18px; border: 1px dashed #2a3d63; color: var(--sp-muted); font-size: .92rem; }
.game-how h2 { font-size: 1rem; margin-bottom: 6px; }
.game-how ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.game-wrap .muted { color: #7f8da3; }
.nav .nav-game { color: var(--ink); font-weight: 600; }
.nav-new { font-size: .62rem; font-weight: 700; background: #2563eb; color: #fff; border-radius: 6px; padding: 2px 5px; margin-left: 3px; vertical-align: 2px; }

/* Ask the filings */
.ab-wrap { padding: 36px 0 56px; }
.ab-shell { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.ab-head p { color: var(--ink-2); max-width: 70ch; }
.ab-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.02em; margin-top: 2px; }
.ab-form { display: flex; gap: 10px; align-items: center; background: var(--surface, #fff); border: 1px solid var(--line, #d5dce6); border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: 0 14px 40px rgba(13,27,46,.08); }
.ab-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.1rem; color: var(--ink); min-height: 44px; }
.ab-chips, .ab-next { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ab-next span { color: var(--muted); font-size: .9rem; }
.ab-chip { border: 1px solid var(--line, #d5dce6); background: var(--surface, #fff); color: var(--ink); border-radius: 999px; padding: 8px 13px; min-height: 40px; font: inherit; font-size: .88rem; cursor: pointer; }
.ab-chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.ab-card { background: var(--surface, #fff); border: 1px solid var(--line, #d5dce6); border-radius: 22px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 16px; }
.ab-k { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand, #1d4ed8); }
.ab-q { font-size: 1rem; color: var(--muted); font-weight: 600; margin: 0; }
.ab-short { font: 700 clamp(1.25rem, 3vw, 1.7rem)/1.25 var(--f-display); margin: 0; color: var(--ink); letter-spacing: -.01em; }
.ab-bars { display: grid; gap: 8px; }
.ab-row { display: grid; grid-template-columns: minmax(120px, 230px) minmax(0, 1fr) 56px; gap: 12px; align-items: center; font-size: .92rem; }
.ab-track { position: relative; height: 22px; background: var(--surface-2, #eef2f7); border-radius: 7px; overflow: hidden; }
.ab-track i { position: absolute; inset: 0 auto 0 0; background: #94a3b8; border-radius: 7px; }
.ab-row.hi .ab-track i { background: #2563eb; } .ab-row.hi .ab-l { font-weight: 700; }
.ab-track em { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--muted, #64748b); }
.ab-v { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-weight: 600; text-align: right; }
.ab-scale { color: var(--muted); font-size: .82rem; margin: 0; }
.ab-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ab-n { background: var(--surface-2, #f1f5f9); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.ab-n b { display: block; font-size: .8rem; margin-bottom: 4px; color: var(--ink-2); }
.ab-n p { margin: 0; }
.ab-n.good b { color: #1d4ed8; } .ab-n.warn b { color: #b45309; }
.ab-stock { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line, #d5dce6); background: var(--surface, #fff); }
@media (max-width: 560px) { .ab-row { grid-template-columns: 1fr 52px; } .ab-row .ab-track { grid-column: 1 / -1; grid-row: 2; } }
.sky-sec { position: absolute; transform: translate(-50%, -50%); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #6f7f98; white-space: nowrap; pointer-events: none; }
@media (max-width: 520px) { .sky-sec { display: none; } }
.lf-record { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2, #eef2f7); font-size: .92rem; }
.wl-alerts h2 { font-size: 1.15rem; margin-bottom: 4px; }
.wl-alerts p { margin: 0 0 10px; }
.wl-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  background: var(--navy, #0a1f3c); color: #fff; padding: 12px 14px 12px 16px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.3); max-width: min(92vw, 560px); font-size: .92rem; }
.wl-toast a { color: #0a1f3c; background: #fff; font-weight: 700; border-radius: 10px; padding: 8px 12px; }
.wl-toast button { background: transparent; border: 0; color: #c3cfdf; font-size: 1.3rem; cursor: pointer; min-width: 32px; min-height: 32px; }

/* Signal Lab */
.lab-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.lab-filters label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.lab-filters select { min-height: 42px; border: 1px solid var(--line, #d5dce6); border-radius: 10px; background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: .92rem; padding: 0 8px; }
.lab-years { display: flex; gap: 6px; align-items: center; } .lab-years select { flex: 1; } .lab-years span { font-weight: 400; color: var(--muted); }
.lab-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lab-kpis > div { background: var(--surface-2, #f1f5f9); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.lab-kpis span { font-size: .78rem; color: var(--muted); } .lab-kpis i { font-style: normal; font-size: .78rem; color: var(--muted); }
.lab-kpis b { font: 700 1.35rem var(--f-display); } .lab-kpis b.lab-big { font-size: 2rem; }
.lab-kpis .pos { color: var(--pos, #0b7a4b); } .lab-kpis .neg { color: var(--neg, #b42318); }
.lab-big { font: 800 2rem var(--f-display); margin: 0; }
.lab-hist { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; height: 150px; align-items: end; margin-top: 18px; }
.lab-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.lab-bar i { width: 100%; border-radius: 6px 6px 0 0; display: block; transition: height .35s ease; }
.lab-bar.won i { background: #2563eb; } .lab-bar.lost i { background: #f59e42; }
.lab-bar span { font-size: .7rem; color: var(--muted); }
.lab-axis { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 4px; border-top: 1px solid var(--line, #d5dce6); padding-top: 4px; }
.lab-halves { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.lab-halves h3 { grid-column: 1 / -1; font-size: 1rem; margin: 0; }
.lab-half { border: 1px solid var(--line, #d5dce6); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.lab-half span, .lab-half i { font-size: .8rem; color: var(--muted); font-style: normal; } .lab-half b { font: 700 1.3rem var(--f-display); }
.lab-verdict { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2, #f1f5f9); font-size: .92rem; }
.lab-share { margin: 14px 0 0; }
.sky-rec { color: #c7d7f0; font-size: .9rem; }
.ip-proof-rec { margin: 0; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 1440px) { .nav-new { display: none; } .nav a { padding-inline: 8px; font-size: .9rem; } }
@media (max-width: 1320px) and (min-width: 1181px) { .masthead .search { width: 200px; } .nav { gap: 0; } }

/* Conviction List: separate buying conviction, selling pressure and historical evidence */
.pick-scorebox { display: grid; justify-items: center; gap: 2px; }
.pick-score-k { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pick-sig { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding: 12px 18px 0; }
.ps-cell { display: grid; gap: 2px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.ps-cell .k { font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.ps-cell .v { font: 700 1.15rem var(--f-display); color: var(--ink); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ps-cell .v small { font: 500 .78rem var(--f-body, inherit); color: var(--muted); }
.ps-cell .s { font-size: .8rem; color: var(--muted); }
.ps-cell .tag { font-style: normal; font-size: .74rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.ps-cell .tag.pos { background: var(--pos-tint, #e7f6ee); color: var(--pos, #0b7a4b); }
.ps-cell .tag.neu { background: #eef2f7; color: #475569; }
.ps-cell .tag.neg { background: #fdecea; color: #b42318; }
.pick-despite { margin: 10px 18px 0; padding: 10px 12px; border-left: 3px solid #f59e0b; background: #fff8eb; border-radius: 0 10px 10px 0; font-size: .88rem; color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pick-despite { background: #2a2110; } :root:not([data-theme="light"]) .ps-cell .tag.neg { background: #3a1513; color: #ffb4a8; } :root:not([data-theme="light"]) .ps-cell .tag.neu { background: #1e293b; color: #cbd5e1; } }
:root[data-theme="dark"] .pick-despite { background: #2a2110; }

/* Board links */
.bl-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.bl-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bl-search label { font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.bl-search input { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; background: var(--surface); color: var(--ink); width: 180px; text-transform: uppercase; }
.bl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); }
.bl-legend i { display: inline-block; vertical-align: -2px; margin-right: 5px; }
.lg-co { width: 16px; height: 11px; border-radius: 3px; border: 1.2px solid var(--line); background: var(--surface); }
.lg-co.lg-buy { border-color: var(--brand); background: var(--brand-tint); }
.lg-p { width: 11px; height: 11px; border-radius: 50%; }
.lg-ceo { background: var(--brand); } .lg-cfo { border: 3px solid var(--brand); background: var(--surface); } .lg-dir { background: var(--ink-2); } .lg-off { border: 1.5px solid var(--muted); }
.lg-ln { width: 18px; height: 0; border-top: 2px solid var(--muted); vertical-align: 3px !important; }
.lg-ln.lg-old { border-top-style: dashed; opacity: .6; }
.bl-body { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.bl-stage { position: relative; flex: 999 1 560px; min-width: 0; height: min(68vh, 620px); min-height: 380px; background: var(--surface-2); }
.bl-stage canvas { display: block; width: 100%; height: 100%; touch-action: manipulation; }
.bl-tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .78rem; line-height: 1.45; color: var(--ink-2); max-width: 300px; box-shadow: 0 8px 24px rgba(13,27,46,.14); }
.bl-tip b { color: var(--ink); }
.bl-side { flex: 1 1 300px; min-width: 0; max-height: min(68vh, 620px); overflow: auto; padding: 16px 18px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.bl-co { margin: 0; font-size: 1.05rem; } .bl-co b { font-family: var(--f-mono); color: var(--brand-ink); }
.bl-tag { font-size: .72rem; font-weight: 600; background: var(--brand-tint); color: var(--brand-ink); border-radius: 5px; padding: 1px 6px; }
.bl-tag.gold { background: var(--gold-tint); color: var(--gold); }
.bl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bl-list li { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.bl-go { justify-self: start; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.bl-go b { font-family: var(--f-mono); color: var(--brand); margin-right: 4px; }
.bl-go:hover b { text-decoration: underline; }
.bl-who { display: grid; grid-template-columns: 12px 1fr; column-gap: 6px; font-size: .86rem; }
.bl-who em, .bl-who small { grid-column: 2; font-style: normal; color: var(--muted); font-size: .78rem; }
.bl-who small.now { color: var(--pos); } .bl-who small.old { opacity: .8; }
.bl-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.bl-dot.ceo { background: var(--brand); } .bl-dot.cfo { border: 3px solid var(--brand); } .bl-dot.dir { background: var(--ink-2); } .bl-dot.off { border: 1.5px solid var(--muted); }
.bl-miss { color: var(--neg); font-size: .85rem; margin: 0; }
.bl-stock { list-style: none; margin: 0; padding: 4px 18px 16px; display: grid; gap: 10px; }
.bl-stock li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.bl-stock .bl-sn { color: var(--ink-2); }
.bl-stock .bl-ppl { grid-column: 1 / -1; display: grid; gap: 3px; font-size: .86rem; }
.bl-stock em { font-style: normal; color: var(--muted); font-size: .8rem; }
@media (max-width: 700px) { .bl-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; } .bl-stage { height: 56vh; } .bl-legend { display: none; } }

/* ---------- Interactive tools strip (self-moving cards) ---------- */
.ts { padding: 18px 0 6px; }
.ts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ts-head h2 { margin: 0; font-size: 1.15rem; }
.ts-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.ts-pause { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.ts-pause svg path { fill: currentColor; }
.ts-pause .ts-i-play, .ts.paused .ts-pause .ts-i-pause { display: none; }
.ts.paused .ts-pause .ts-i-play { display: inline; }
.ts-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.ts-track { display: flex; width: max-content; animation: ts-move 48s linear infinite; }
.ts:hover .ts-track, .ts:focus-within .ts-track, .ts.paused .ts-track { animation-play-state: paused; }
@keyframes ts-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ts-list { display: flex; gap: 14px; list-style: none; margin: 0; padding: 4px 14px 10px 0; }
.ts-card { display: grid; gap: 3px; width: 236px; height: 100%; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.ts-card:hover, .ts-card:focus-visible { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.ts-art { display: block; height: 56px; margin-bottom: 6px; border-radius: 10px; background: var(--surface-2); }
.ts-art svg { display: block; width: 100%; height: 56px; }
.ts-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.ts-card b { font-size: 1rem; }
.ts-d { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.ts-go { margin-top: 4px; font-size: .84rem; font-weight: 600; color: var(--brand-ink); }
/* mini illustrations */
.ts-art .a-card { fill: var(--surface); stroke: var(--line-2); }
.ts-art .a-on { fill: var(--brand-tint); stroke: var(--brand); }
.ts-art .a-pos, .ts-art .a-neg, .ts-art .a-dash, .ts-art .a-line, .ts-art .a-edge { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ts-art .a-pos { stroke: var(--pos); } .ts-art .a-neg { stroke: var(--neg); }
.ts-art .a-dash { stroke: var(--muted); stroke-dasharray: 3 4; }
.ts-art .a-line { stroke: var(--line-2); } .ts-art .a-light { stroke: var(--brand); }
.ts-art .a-q { fill: var(--brand-ink); font: 700 18px/1 system-ui, sans-serif; }
.ts-art .a-base { stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 3 3; }
.ts-art .a-bar { fill: var(--line-2); } .ts-art .a-hi { fill: var(--brand); }
.ts-art .a-edge { stroke: var(--muted); stroke-width: 1.4; opacity: .7; } .ts-art .a-live { stroke: var(--pos); stroke-dasharray: 4 4; animation: ts-flow 1.2s linear infinite; }
@keyframes ts-flow { to { stroke-dashoffset: -16; } }
.ts-art .a-co { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.4; } .ts-art .a-hub { fill: var(--navy); stroke: var(--navy); }
.ts-art .a-buy { fill: var(--brand-tint); stroke: var(--brand); } .ts-art .a-gold { fill: var(--gold-tint); stroke: var(--gold); }
.ts-art .a-ceo { fill: var(--brand); } .ts-art .a-dir { fill: var(--ink-2); }
.ts-art .a-dot-pos { fill: var(--pos); opacity: .8; } .ts-art .a-dot-neg { fill: var(--neg); opacity: .7; }
.ts-art .a-orb { fill: var(--brand-tint); stroke: var(--brand); stroke-width: 1.2; } .ts-art .a-fresh { fill: var(--brand); animation: ts-glow 2.4s ease-in-out infinite; }
@keyframes ts-glow { 50% { opacity: .55; } }
.ts-art .a-bell { fill: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .ts-track { animation: none; }
  .ts-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
  .ts-list[aria-hidden="true"], .ts-pause { display: none; }
  .ts-card { scroll-snap-align: start; }
  .ts-art .a-live, .ts-art .a-fresh { animation: none; }
}
@media (max-width: 560px) { .ts-card { width: 204px; } .ts-track { animation-duration: 40s; } }
.ts-compact { padding-top: 6px; }
.ts-compact .ts-art { display: none; }
.ts-compact .ts-card { width: 210px; padding: 12px 14px; }

/* ---------- Long tables: show the latest rows, expand on demand ---------- */
tr.lim-hide, li.lim-hide { display: none !important; }
.lim-more { display: flex; justify-content: center; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.lim-more button { border: 1px solid var(--line-2); background: var(--surface); color: var(--brand-ink); font: 600 .88rem/1 inherit; font-family: inherit; padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 38px; }
.lim-more button:hover { border-color: var(--brand); }
.lim-more button::after { content: " ▾"; } .lim-more button[aria-expanded="true"]::after { content: " ▴"; }
.ts-panel { padding: 0; overflow: hidden; }
.ts-panel .ts { padding: 14px 0 4px; }
.ts-panel .ts-head { padding-inline: 16px; }
.ts-panel .wrap { max-width: none; }
.tool-fail { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.btn.small { padding: 6px 12px; font-size: .85rem; min-height: 34px; }

/* ---------- main nav: three journeys with drop-down menus ---------- */
.nav-dd { position: relative; display: flex; align-items: stretch; }
.nav-dd > a { padding-right: 4px !important; }
.dd-tg { border: 0; background: transparent; color: var(--muted); padding: 0 8px 0 2px; cursor: pointer; display: grid; place-items: center; }
.dd-tg svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-dd.open .dd-tg svg { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; top: 100%; left: -8px; z-index: 60; width: 340px; padding: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(13, 27, 46, .18); }
.dd-menu.dd-wide { width: 620px; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.nav-dd.open .dd-menu { display: grid; }
@media (hover: hover) and (min-width: 1181px) { .nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { display: grid; } }
.dd-menu a { display: grid; gap: 1px; padding: 9px 10px !important; border: 0 !important; border-radius: 9px; white-space: normal !important; }
.dd-menu a:hover { background: var(--brand-tint); }
.dd-menu a b { color: var(--ink); font-size: .9rem; font-weight: 600; }
.dd-menu a span { color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.35; }
.dd-k { grid-column: 1 / -1; margin: 2px 10px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dd-new { font-style: normal; font-size: .64rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); border-radius: 999px; padding: 1px 6px; vertical-align: 1px; }
.dd-all { grid-column: 1 / -1; color: var(--brand-ink) !important; font-weight: 600; font-size: .86rem !important; }
@media (max-width: 1180px) { .dd-tg, .dd-menu { display: none !important; } }
/* phone "More" sheet grouped by journey */
.tab-sheet { max-height: 70vh; overflow-y: auto; }
.tab-sheet .tab-k { grid-column: 1 / -1; margin: 0; padding: 12px 18px 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }

/* ---------- Research Lab hub ---------- */
.lab-start { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 14px 0 0; }
.lab-start b { margin-right: 4px; }
.lab-start a { padding: 7px 14px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 600; font-size: .9rem; }
.lab-body { padding-block: 22px 40px; display: grid; gap: 28px; }
.lab-gh h2 { margin: 0; font-size: 1.2rem; } .lab-gh p { margin: 2px 0 12px; color: var(--muted); }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.lab-card { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.lab-card:hover, .lab-card:focus-visible { text-decoration: none; transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.lab-card b { font-size: 1rem; } .lab-d { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.lab-notes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.lab-notes a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.lab-notes a span { color: var(--muted); font-size: .84rem; }

/* ---------- homepage: since your last visit, three journeys, today's signals, follow invite ---------- */
.slv { padding-top: 16px; }
.slv-box { border: 1px solid var(--brand); background: var(--brand-tint); border-radius: 16px; padding: 14px 18px; }
.slv-head { display: flex; justify-content: space-between; align-items: center; }
.slv-head h2 { margin: 0; font-size: 1.05rem; } .slv-head h2 span { color: var(--muted); font-weight: 500; }
.slv-x { border: 0; background: transparent; font-size: 1.4rem; color: var(--muted); cursor: pointer; line-height: 1; }
.slv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 24px; }
.slv-cols h3 { margin: 10px 0 4px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.slv-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; } .slv-cols p { margin: 6px 0 0; }
.journeys { padding: 18px 0 4px; }
.jr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.jr-card { display: grid; gap: 4px; align-content: start; text-align: left; font: inherit; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.jr-card:hover, .jr-card:focus-visible { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.jr-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: .85rem; }
.jr-card b { font-size: 1.08rem; } .jr-card span:not(.jr-n) { color: var(--muted); font-size: .9rem; } .jr-card i { font-style: normal; color: var(--brand-ink); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.today { padding: 18px 0 6px; }
.today-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 10px; } .today-head h2 { margin: 0; font-size: 1.2rem; }
.today-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sig-card { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sig-card:hover { text-decoration: none; border-color: var(--brand); }
.sig-k { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sig-tk { font: 700 1.6rem/1.2 var(--f-mono, monospace); color: var(--brand-ink); } .sig-tk small { font-size: .9rem; color: var(--muted); }
.sig-n { color: var(--ink-2); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-v { font-weight: 600; } .sig-d { color: var(--muted); font-size: .84rem; }
.follow-invite { border-color: var(--brand); background: linear-gradient(135deg, var(--brand-tint), var(--surface)); }
.follow-invite h2 { margin: 0 0 4px; } .follow-invite p { margin: 0 0 10px; }
.fi-ctas { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.lab-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 10px; padding: 8px 10px 14px; }
.lab-mini a { display: grid; gap: 1px; padding: 10px; border-radius: 10px; color: var(--ink); } .lab-mini a:hover { background: var(--brand-tint); text-decoration: none; }
.lab-mini span { color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .jr-grid, .today-grid { grid-template-columns: 1fr; } .jr-card { grid-template-columns: auto 1fr; column-gap: 12px; } .jr-card .jr-n { grid-row: span 3; } }
.tk-past { margin: 6px 0 0; } .ab-sum { margin: 10px 0 0; }
.nl-known input[type=email] { background: var(--surface-2); }
.nl-known-note { margin: 6px 0 0; font-size: .84rem; color: var(--muted); } .nl-known-note button { border: 0; background: none; color: var(--brand-ink); text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }

/* ---------- screener and compare ---------- */
.sc-form, .cp-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.sc-form input { flex: 1 1 320px; min-height: 46px; padding: 0 14px; font-size: 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); }
.sc-try { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 12px 0 4px; font-size: .86rem; }
.sc-try span { color: var(--muted); } .sc-try a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0; min-height: 10px; }
.sc-k { font-size: .8rem; color: var(--muted); font-weight: 600; } .sc-chip { padding: 4px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-size: .84rem; font-weight: 600; }
.sc-sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 12px; } .sc-sum p { margin: 0; } .sc-sum .btn { justify-self: start; margin-top: 4px; }
.sc-help ul { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 4px; } .sc-help h2 { margin: 0 0 8px; font-size: 1.05rem; }
.cp-form label { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); font-weight: 600; flex: 1 1 160px; }
.cp-form input { min-height: 46px; padding: 0 14px; font: 600 1.05rem var(--f-mono, monospace); text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); }
.cp-vs { align-self: center; padding-top: 18px; color: var(--muted); font-weight: 700; }
.cp-read { margin: 14px 0; padding-left: 18px; display: grid; gap: 4px; }
.cp-t td.num, .cp-t th.num { position: relative; } .cp-bar { display: block; height: 4px; margin-top: 4px; margin-left: auto; border-radius: 2px; background: var(--brand); opacity: .55; }
.cp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.after-t .sub { display: block; font-size: .78rem; }
.cp-t th .sub { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; }
.tk-share { justify-self: start; width: auto !important; margin: 6px 0 2px; background: transparent !important; color: var(--brand-ink) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important; padding: 6px 12px !important; font-size: .84rem !important; min-height: 0 !important; }

/* =====================================================================================
   CLARITY THEME (Oct 27): light, calm, card-based. Overrides the older "institutional" look above.
   Dark mode keeps its own tokens (the dark blocks at the top win on specificity).
   ===================================================================================== */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f6f7f9; --ink: #0b1324; --ink-2: #344054; --muted: #5b6576;
  --line: #e4e7ec; --line-2: #f0f2f5; --brand: #1d4ed8; --brand-ink: #1e3a8a; --brand-tint: #eaf0fe;
  --pos: #0f7b4f; --pos-tint: #e3f3ea; --neg: #b4430e; --neg-tint: #fcebe2; --chart-line: #1d4ed8;
  --shadow: none; --radius: 18px; --card: #ffffff;
  --f-ui: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --neg: #f2a15c; --neg-tint: #3a2412; --card: #111c2e; } }
:root[data-theme="dark"] { --neg: #f2a15c; --neg-tint: #3a2412; --card: #111c2e; }
body { font-size: 15.5px; }
h1 { font-weight: 700; letter-spacing: -.02em; }
h2 { font-weight: 700; letter-spacing: -.01em; }

/* header: pill nav, pill search, labelled "My stocks" */
.masthead { box-shadow: none; }
.nav { gap: 2px; align-items: center; }
.nav > a, .nav-dd > a { padding: 8px 12px !important; border-bottom: 0 !important; border-radius: 10px; }
.nav > a[aria-current="page"], .nav-dd > a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-ink); }
.nav > a:hover, .nav-dd > a:hover { background: var(--surface-2); }
.nav-dd { align-items: center; }
.dd-menu { top: calc(100% + 8px); }
.search input { height: 42px; border-radius: 999px; }
.wl-link { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; color: var(--ink); }
@media (min-width: 900px) { .wl-link span { display: inline; } }
.logo-word { font-weight: 700; }

/* buttons and panels */
.btn { height: 44px; border-radius: 12px; padding: 0 20px; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-ink); filter: none; }
.panel { border-radius: var(--radius); border-color: var(--line); }
.panel-head { padding: 18px 22px 14px; }
.page-head .wrap { padding-block: 36px 30px; }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
table.data th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.data td { padding-block: 13px; }

/* homepage hero: white, with the dark "biggest buy" card on the right */
.hero.hero-slim { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero.hero-slim .wrap { padding-block: 56px 0; }
.hero-slim h1 { color: var(--ink); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); line-height: 1.04; letter-spacing: -.025em; max-width: 16ch; }
.hero-slim .eyebrow { color: var(--brand-ink); background: var(--brand-tint); border-radius: 999px; padding: 7px 12px; display: inline-block; letter-spacing: .04em; }
.ip-sub { color: var(--ink-2); font-size: 1.15rem; }
.hero-search input { border: 1px solid #d0d5dd; border-radius: 14px; box-shadow: 0 10px 30px rgba(11, 19, 36, .08); }
.hero-search input:focus { outline: 3px solid var(--brand-tint); border-color: var(--brand); }
.hero-search .btn { background: var(--brand); border-color: var(--brand); border-radius: 14px; }
.ip-pop { color: var(--muted); }
.ip-pop a { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.ip-pop a:hover { background: var(--brand-tint); }
.btn.ghost-on-navy { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn.ghost-on-navy:hover { background: var(--surface-2); color: var(--ink); }
.ip-track { color: var(--brand-ink) !important; }
.ip-proof { background: #0b1324; color: #fff; border-top: 0; border-radius: 22px; padding: 26px; box-shadow: 0 20px 50px rgba(11, 19, 36, .18); }
.ip-proof-k { color: #a9c2f8; }
.ip-proof-tk, .ip-proof-tk span { color: #c9d3e3; }
.ip-proof-tk b { color: #fff; }
.ip-proof-v, .ip-proof-v b { color: #fff; }
.ip-proof-v b { font: 700 2.3rem/1 var(--f-display); }
.ip-proof-who, .ip-proof-rec { color: #c9d3e3; }
.ip-proof-dates { border-color: #22304a; }
.ip-proof-dates dt { color: #9aa7bd; } .ip-proof-dates dd { color: #fff; }
.ip-proof-odds { background: #142038; color: #d6e2f5; }
.ip-proof-links a { color: #a9c2f8; }
.ip-proof-note { color: #9aa7bd; }
.trust-strip { background: var(--bg); border-bottom: 0; }

/* homepage blocks */
.jr-card, .sig-card, .lab-card, .show-card { border-radius: 20px; }
.jr-card { padding: 22px 24px; }
.jr-n { width: 44px; height: 44px; border-radius: 12px; font-size: 1rem; }
.jr-card b, .today-head h2, .show-head h2 { font-family: var(--f-display); }
.jr-card b { font-size: 1.35rem; }
.today-head h2 { font-size: 1.9rem; }
.sig-card { padding: 22px; } .sig-tk { font-size: 1.75rem; }

/* Research Lab showcase on the homepage */
.showcase { padding: 34px 0 10px; }
.show-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; margin-bottom: 18px; }
.show-k { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.show-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); margin: 4px 0 4px; }
.show-head p { margin: 0; color: var(--muted); }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.show-card { display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.show-card:hover, .show-card:focus-visible { text-decoration: none; transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 34px rgba(11, 19, 36, .08); }
.show-art { height: 128px !important; border-radius: 14px; margin-bottom: 8px; background: var(--surface-2); }
.show-art svg { height: 128px !important; }
.show-tag { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.show-tag i { font-style: normal; color: var(--brand); }
.show-card b { font: 700 1.3rem/1.2 var(--f-display); }
.show-d { color: var(--ink-2); font-size: .94rem; }
.show-stat { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; color: var(--brand-ink); }
.lab-stat { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: .86rem; font-weight: 600; color: var(--brand-ink); }
.lab-card .ts-art { height: 96px; } .lab-card .ts-art svg { height: 96px; }

/* stock page */
.tk-kpi { border-radius: 16px; background: var(--surface); }
.tk-signal { background: var(--surface-2); border-color: var(--line); }
.tk-signal.pos { background: var(--pos-tint); border-color: #cde8d9; }
.tk-signal .k { text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.tk-signal.pos .k { color: var(--pos); }
.tk-signal p { font: 600 1.05rem/1.4 var(--f-display); color: var(--ink); }
.tk-tabs { border-radius: 14px; }
.latest-filing { border-radius: var(--radius); }

/* footer: light, quiet */
.footer { background: var(--surface); color: var(--ink-2); border-top: 1px solid var(--line); }
.footer h4 { color: var(--muted); }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--brand); }
.footer .logo, .footer .logo:hover { color: var(--ink); }
.footer .logo-word span { color: var(--brand) !important; }
.footer .legal { border-top-color: var(--line); color: var(--muted); }
.footer p { color: var(--ink-2); }
.foot-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.footer .follow.on-dark a { border-color: var(--line); color: var(--ink); background: var(--surface-2); }
.footer .follow.on-dark a:hover { background: var(--brand-tint); }
.footer .follow.on-dark img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer .follow.on-dark img { filter: none; } }
:root[data-theme="dark"] .footer .follow.on-dark img { filter: none; }
@media (max-width: 760px) { .tk-signal { order: -1; grid-column: 1 / -1; } .tk-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .tk-kpi .v { font-size: 1.3rem; } .tk-kpi { padding: 12px; } }

/* ---------- stock pages: Research Lab pre-set to this stock ---------- */
.tk-lab { border-color: #c7d7fb; }
.tkl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; padding: 18px 22px 22px; }
.tkl-try { display: grid; gap: 10px; align-content: start; background: var(--brand-tint); border-radius: 16px; padding: 16px 18px; }
.tkl-try h3 { margin: 0 0 2px; font-size: 1.05rem; }
.tkl-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tkl-row span { flex: 0 0 112px; font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.tkl-row button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 500 .84rem var(--f-ui); cursor: pointer; min-height: 34px; }
.tkl-row button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tkl-out { min-height: 74px; } .tkl-out p { margin: 6px 0 0; color: var(--ink-2); }
.tkl-res { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; } .tkl-res b { font: 700 2rem/1 var(--f-display); } .tkl-res span { color: var(--ink-2); }
.tkl-bar { position: relative; height: 10px; border-radius: 5px; background: var(--surface); margin-top: 8px; }
.tkl-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--brand); }
.tkl-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.tkl-try .btn { justify-self: start; }
.tkl-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.tkl-tools a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); height: 100%; }
.tkl-tools a:hover { border-color: var(--brand); text-decoration: none; }
.tkl-tools .ts-art { height: 54px; border-radius: 10px; margin-bottom: 4px; } .tkl-tools .ts-art svg { height: 54px; }
.tkl-tools b { font-size: .92rem; } .tkl-tools span:not(.ts-art) { font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .tkl-grid { grid-template-columns: 1fr; padding: 14px; } }
@media (max-width: 420px) { .tkl-tools { grid-template-columns: 1fr; } .tkl-row span { flex-basis: 100%; } }
.tkl-row span { flex-basis: 100% !important; margin-top: 2px; }
/* homepage hierarchy (Oct 27): search first, follow second, Lab third */
.ip-ctas { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 18px; font-size: .95rem; }
.ip-follow { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; font-weight: 600; }
.ip-follow:hover { border-color: var(--brand); text-decoration: none; }
.ip-or { color: var(--muted); }
.ip-ctas a:not(.ip-follow) { font-weight: 600; }
.fi-wrap { padding-top: 18px; }
.fi-wrap .follow-invite { margin: 0; }
@media (max-width: 560px) { .ip-follow { width: 100%; justify-content: center; } .ip-ctas { font-size: .9rem; } }

/* =====================================================================================
   THEME v3 (Oct 27 audit): Inter everywhere, audited light + dark tokens, tabular figures,
   Auto / Light / Dark switch. Later rules win over the Clarity layer above.
   ===================================================================================== */
:root {
  --bg: #f6f8fc; --surface: #ffffff; --surface-2: #eef3fa; --card: #ffffff;
  --ink: #172a44; --ink-2: #33475f; --muted: #516680; --line: #d8e2ef; --line-2: #e8eef6;
  --brand: #156fc9; --brand-ink: #0f5aa6; --brand-tint: #e6f0fb; --navy: #0c1524; --navy-2: #142337;
  --pos: #057d61; --pos-tint: #e2f4ee; --neg: #c03954; --neg-tint: #fbe8ec; --chart-line: #156fc9;
  --spy-a: #5ab5ff; --spy-b: #ab86ff;
  --f-display: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-ui: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1524; --surface: #142337; --surface-2: #1a2c44; --card: #142337;
    --ink: #eff5ff; --ink-2: #c9d6e8; --muted: #b2c3da; --line: #304660; --line-2: #22364f;
    --brand: #68acff; --brand-ink: #9cc8ff; --brand-tint: #1b3354; --navy: #08101d; --navy-2: #0e1a2c;
    --pos: #50dbac; --pos-tint: #123a31; --neg: #ff91a3; --neg-tint: #3f1b25; --chart-line: #68acff; --mark-bg: #1b3354;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1524; --surface: #142337; --surface-2: #1a2c44; --card: #142337;
  --ink: #eff5ff; --ink-2: #c9d6e8; --muted: #b2c3da; --line: #304660; --line-2: #22364f;
  --brand: #68acff; --brand-ink: #9cc8ff; --brand-tint: #1b3354; --navy: #08101d; --navy-2: #0e1a2c;
  --pos: #50dbac; --pos-tint: #123a31; --neg: #ff91a3; --neg-tint: #3f1b25; --chart-line: #68acff; --mark-bg: #1b3354;
  color-scheme: dark;
}
body { font-size: 16px; line-height: 1.5; font-feature-settings: normal; }
.num, td.num, .v, .sig-tk, .kpis .v, .tk-kpi .v, .show-stat, .lab-stat, .tkl-res b, .ip-proof-v b, table.data td { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--f-ui); }
h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
h2 { font-weight: 700; letter-spacing: -.02em; }
.hero-slim h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; max-width: 18ch; }
.page-head h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.show-head h2, .today-head h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); }
.ip-proof-v b, .tkl-res b, .jr-card b, .show-card b, .sig-tk { font-family: var(--f-ui); }
.show-card b { font-size: 1.15rem; font-weight: 700; }
.tk-signal p { font: 600 1rem/1.45 var(--f-ui); }
table.data td { font-size: .94rem; }
.btn, input, select, button { font-family: var(--f-ui); }
.logo-word { font-family: var(--f-ui); font-weight: 800; letter-spacing: -.03em; }
.ip-proof { background: #0c1524; border: 1px solid #304660; }
.tk-signal.pos { border-color: color-mix(in srgb, var(--pos) 35%, transparent); }
.follow-invite { background: linear-gradient(135deg, var(--brand-tint), var(--surface)); }
.footer .logo-word span { color: var(--brand) !important; }
/* theme switch */
.theme-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; display: none; }
.theme-btn[data-mode="auto"] .ti-auto, .theme-btn:not([data-mode]) .ti-auto, .theme-btn[data-mode="light"] .ti-light, .theme-btn[data-mode="dark"] .ti-dark { display: block; }
.theme-btn:hover { border-color: var(--brand); color: var(--brand); }
/* phones: the ticker tape folds away so the search is the first thing you see */
@media (max-width: 640px) { .tape, .ticker-tape { display: none !important; } }

/* =====================================================================================
   SPY MODE: the signature investigation overlay. Always dark (it's the "research room"), in both themes.
   ===================================================================================== */
.spy-btn-inline, :is([data-spy],[data-spy-go]).spy-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 9px; border: 1px solid #5a63c9; background: linear-gradient(120deg, #24305e, #2c2563); color: #e3dcff; font: 700 .78rem/1 var(--f-ui); white-space: nowrap; cursor: pointer; transition: transform .18s, filter .18s; text-decoration: none; }
:is([data-spy],[data-spy-go]).spy-pill:hover { transform: translateY(-1px); filter: brightness(1.15); text-decoration: none; color: #fff; }
:is([data-spy],[data-spy-go]).spy-pill.lg { padding: 0 20px; height: 48px; border-radius: 12px; font-size: .98rem; border-color: #7f8bff; background: linear-gradient(116deg, #268bff, #6257ff); color: #fff; box-shadow: 0 8px 26px rgba(70, 90, 240, .35); }
:is([data-spy],[data-spy-go]).spy-pill.lg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7ff0d8; box-shadow: 0 0 10px #7ff0d8; animation: spy-pulse 1.8s ease-in-out infinite; }
.spy-mini { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; margin-left: 6px; border-radius: 7px; border: 1px solid #5a63c9; background: #2a2560; color: #ded5ff; font: 700 .72rem/1 var(--f-ui); cursor: pointer; vertical-align: 1px; }
.spy-mini:hover { background: #3a327b; color: #fff; }
@keyframes spy-pulse { 50% { opacity: .35; } }
body.spy-open { overflow: hidden; }
.spy-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 5, 15, .74); backdrop-filter: blur(9px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: spy-veil .22s ease; }
.spy-backdrop[hidden] { display: none; }
.spy-dialog { width: min(920px, 100%); max-height: min(94vh, 940px); overflow: auto; color: #eff6ff; border-radius: 22px; border: 1px solid #5369b6;
  background: radial-gradient(ellipse at 80% 0%, #20285e 0%, #0b1b32 46%, #09162a 100%); box-shadow: 0 40px 140px rgba(0,0,0,.7), 0 0 30px rgba(86,80,255,.2); animation: spy-rise .4s cubic-bezier(.2,1,.3,1); font-family: var(--f-ui); }
.spy-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px; border-bottom: 1px solid #32476a; background: rgba(11, 22, 44, .92); backdrop-filter: blur(6px); }
.spy-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.spy-brand b { color: #c4b8ff; font-weight: 800; }
.spy-glow { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, #3479ff, #875dff); box-shadow: 0 0 22px rgba(120, 103, 255, .55); }
.spy-tag { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; border: 1px solid #9382e6; color: #d2c4ff; background: #3c2b70; }
.spy-x { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #3b5277; background: #19304e; color: #cfe0f7; cursor: pointer; font-size: 1rem; }
.spy-body { padding: 22px 26px 26px; }
.spy-body h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); margin: 2px 0 4px; letter-spacing: -.03em; }
.spy-eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #80cbff; }
.spy-sub { color: #a7b8d9; margin: 0 0 14px; font-size: .92rem; }
.spy-scan { position: relative; height: 128px; margin: 16px 0; border-radius: 14px; border: 1px solid #44579c; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(90deg, #102144, #171f4b 50%, #102144); }
.spy-scan::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(78,127,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(78,127,255,.13) 1px, transparent 1px); background-size: 28px 28px; transform: perspective(220px) rotateX(22deg); }
.spy-beam { position: absolute; top: 0; left: -30%; width: 28%; height: 100%; background: linear-gradient(90deg, transparent, rgba(107,155,255,.22), rgba(183,172,255,.4), transparent); animation: spy-scan 2.1s linear infinite; }
.spy-core { position: relative; z-index: 1; font-size: 50px; color: #fff; filter: drop-shadow(0 0 22px #6e8cff); animation: spy-breath 2.6s ease-in-out infinite; }
.spy-orbit { position: absolute; width: 104px; height: 104px; border-radius: 50%; border: 1px dashed rgba(124,136,255,.6); animation: spy-spin 7s linear infinite; }
.spy-orbit::after { content: ""; position: absolute; top: 6px; left: 14px; width: 7px; height: 7px; border-radius: 50%; background: #80f2e3; box-shadow: 0 0 14px #80f2e3; }
.spy-orbit.o2 { width: 150px; height: 150px; animation-duration: 11s; animation-direction: reverse; opacity: .6; }
.spy-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spy-steps li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 10px; border: 1px solid #294366; background: #13243d; color: #a8bfdc; font-size: .88rem; transition: background .25s, border-color .25s, color .25s; }
.spy-steps li::before { content: "◈"; margin-right: 6px; color: #5a6f95; }
.spy-steps li span { flex: 1; }
.spy-steps li em { font-style: normal; font-size: .74rem; color: #8ea2c2; white-space: nowrap; }
.spy-steps li.active { border-color: #7875d9; background: #1c2a55; color: #fff; }
.spy-steps li.active::before { color: #b7acff; animation: spy-pulse .9s ease-in-out infinite; }
.spy-steps li.done { color: #e6eefb; } .spy-steps li.done::before { content: "✓"; color: #69e6c4; } .spy-steps li.done em { color: #69e6c4; }
.spy-steps li.none::before { content: "–"; } .spy-steps li.none em { color: #c9b27a; }
.spy-steps li.fail { border-color: #c45; } .spy-steps li.fail em { color: #ff9aa9; }
.spy-bar { height: 7px; margin: 18px 0 8px; border-radius: 8px; overflow: hidden; background: #203651; }
.spy-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #27c8e4, #625cff, #ad7bff); box-shadow: 0 0 15px rgba(99,133,255,.55); transition: width .4s; }
.spy-status { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .78rem; color: #aac5e5; }
.spy-status a, .spy-status .spy-retry { color: #bcd6ff; text-decoration: underline; background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }
.spy-skip { background: none; border: 1px solid #3b5277; color: #cfe0f7; border-radius: 8px; padding: 6px 10px; font: 600 .76rem var(--f-ui); cursor: pointer; }
.spy-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.spy-metrics > div { padding: 14px; border-radius: 13px; border: 1px solid #315077; background: #152947; display: grid; gap: 2px; }
.spy-metrics span { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-metrics b { font-size: 1.35rem; font-variant-numeric: tabular-nums; color: #fff; }
.spy-metrics i { font-style: normal; font-size: .76rem; color: #a8b9d5; }
.spy-ev { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spy-card { background: #142640; border: 1px solid #2d4b6e; border-radius: 12px; padding: 15px 17px; margin-top: 12px; }
.spy-ev .spy-card { margin-top: 0; }
.spy-card h3 { margin: 0 0 8px; font-size: .95rem; color: #fff; }
.spy-card.pro h3 { color: #55e4bb; } .spy-card.pro h3::before { content: "✓ "; }
.spy-card.con h3 { color: #ffbd86; } .spy-card.con h3::before { content: "⚠ "; }
.spy-card.unk h3 { color: #c9b27a; } .spy-card.unk h3::before { content: "? "; }
.spy-card ul { margin: 0; padding-left: 18px; color: #cad9eb; font-size: .88rem; display: grid; gap: 6px; }
.spy-after { margin-top: 12px; } .spy-after h4, .spy-twins h4 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-after-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spy-after-row > div { border: 1px solid #2d4b6e; border-radius: 10px; padding: 10px 12px; display: grid; }
.spy-after-row span { font-size: .74rem; color: #a8b9d5; } .spy-after-row b { font-size: 1.1rem; } .spy-after-row i { font-style: normal; font-size: .74rem; color: #a8b9d5; }
.spy-dialog .pos { color: #55e4bb !important; } .spy-dialog .neg { color: #ff859c !important; }
.spy-twins { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spy-twins h4 { flex-basis: 100%; }
.spy-twins a { border: 1px solid #2d4b6e; border-radius: 999px; padding: 5px 11px; font-size: .82rem; color: #dbe6f6; background: #13243d; text-decoration: none; }
.spy-sum { margin-top: 14px; background: #161f43; border: 1px solid #5c5b9a; border-radius: 13px; padding: 15px 17px; }
.spy-sum strong { color: #dcd3ff; } .spy-sum p { margin: 6px 0 0; color: #dfe9f6; font-size: .93rem; }
.spy-src { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .86rem; }
.spy-src strong { color: #a8b9d5; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.spy-src a { color: #9cc8ff; }
.spy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.spy-btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #3a5475; background: #152a46; color: #cce2ff; font: 600 .9rem var(--f-ui); cursor: pointer; }
.spy-btn.primary { background: linear-gradient(116deg, #268bff, #6257ff); border-color: #77adff; color: #fff; }
.spy-note { margin: 14px 0 0; font-size: .74rem; color: #aec2dc; border-left: 2px solid #8676d7; padding-left: 11px; }
@keyframes spy-scan { to { left: 120%; } } @keyframes spy-breath { 50% { transform: scale(1.08); filter: drop-shadow(0 0 30px #a89dff); } }
@keyframes spy-spin { to { transform: rotate(360deg); } } @keyframes spy-veil { from { opacity: 0; } } @keyframes spy-rise { from { transform: translateY(22px) scale(.97); opacity: 0; } }
@media (max-width: 640px) {
  .spy-backdrop { align-items: flex-end; padding: 0; }
  .spy-dialog { border-radius: 22px 22px 0 0; max-height: 96vh; }
  .spy-body { padding: 18px 16px 24px; }
  .spy-steps, .spy-ev { grid-template-columns: 1fr; }
  .spy-metrics { gap: 6px; } .spy-metrics > div { padding: 10px; } .spy-metrics b { font-size: 1.05rem; }
  .spy-scan { height: 104px; }
}
@media (prefers-reduced-motion: reduce) { .spy-beam, .spy-orbit, .spy-core, :is([data-spy],[data-spy-go]).spy-pill.lg::before { animation: none !important; } .spy-dialog, .spy-backdrop { animation: none !important; } }
/* homepage: Spy Mode as the hero feature */
.hero-slim h1 .grad { background: linear-gradient(100deg, #1f7ae0, #7b5cff 60%, #13a58c); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-slim h1 .grad { background-image: linear-gradient(100deg, #65c9ff, #a78dff 60%, #76e4d2); } }
:root[data-theme="dark"] .hero-slim h1 .grad { background-image: linear-gradient(100deg, #65c9ff, #a78dff 60%, #76e4d2); }
.hero-slim .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.ip-ctas .spy-pill.lg { order: -1; }
.ip-proof-spy { width: 100%; justify-content: center; margin-top: 4px; }
.sig-card { display: grid; gap: 2px; }
.sig-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; }
.spy-band { padding: 26px 0 8px; }
.spy-band-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; align-items: center; padding: 30px 32px !important; border-radius: 24px;
  background: radial-gradient(ellipse at 85% 0%, #22306a 0%, #0c1a33 50%, #09162a 100%); color: #eff6ff; border: 1px solid #3d4f8f; box-shadow: 0 24px 70px rgba(10, 20, 60, .25); }
.spy-band-k { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9fd6ff; }
.spy-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); margin: 6px 0 8px; letter-spacing: -.03em; }
.spy-band p { color: #b9cae3; margin: 0 0 12px; }
.spy-band-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 4px; color: #dbe6f6; font-size: .92rem; columns: 1; }
.spy-band-fine { font-size: .78rem !important; color: #93a8c7 !important; margin: 12px 0 0 !important; }
.spy-band-demo .spy-scan { height: 150px; margin: 0 0 10px; }
.spy-demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spy-demo-list li { padding: 9px 12px; border-radius: 10px; border: 1px solid #294366; background: #13243d; color: #a8bfdc; font-size: .86rem; }
.spy-demo-list li::before { content: "◈ "; color: #5a6f95; }
.spy-demo-list li.done { color: #e6eefb; } .spy-demo-list li.done::before { content: "✓ "; color: #69e6c4; }
.spy-demo-list li.active { border-color: #7875d9; background: #1c2a55; color: #fff; } .spy-demo-list li.active::before { color: #b7acff; }
@media (max-width: 860px) { .spy-band-in { grid-template-columns: 1fr; padding: 22px 18px !important; } .spy-band-demo { order: -1; } .spy-demo-list li:nth-child(n+4) { display: none; } }
.nav .nav-spy { color: #5b45d6 !important; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .nav-spy { color: #c4b8ff !important; } }
:root[data-theme="dark"] .nav .nav-spy { color: #c4b8ff !important; }
.spy-hero { background: radial-gradient(ellipse at 85% 0%, #22306a 0%, #0c1a33 55%, #09162a 100%); color: #eff6ff; }
.spy-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; padding-block: 48px 40px; }
.spy-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); margin: 8px 0 12px; }
.spy-hero h1 .grad { background: linear-gradient(100deg, #65c9ff, #a78dff 60%, #76e4d2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spy-hero p { color: #b9cae3; font-size: 1.08rem; margin: 0 0 18px; max-width: 60ch; }
.spy-hero .spy-scan { height: 190px; }
.spy-rules h2 { margin: 0 0 10px; } .spy-rules ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 860px) { .spy-hero-in { grid-template-columns: 1fr; padding-block: 30px 26px; } .spy-hero .spy-scan { height: 120px; } }

/* nav fit: drop Research Notes from the top bar when space is tight (still in footer + Lab) */
@media (max-width:1439px){ .nav .nav-notes{display:none} }

/* spy sheet: never wider than the phone */
.spy-dialog { min-width: 0; max-width: 100%; }
.spy-dialog * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .spy-backdrop { overflow: hidden; }
  .spy-dialog { width: 100%; overflow-x: hidden; }
  .spy-head { padding: 12px 16px; } .spy-head .spy-tag { display: none; }
  .spy-brand { font-size: .98rem; }
  .spy-metrics { grid-template-columns: 1fr 1fr; } .spy-metrics > div:nth-child(3) { grid-column: 1 / -1; }
}
/* phone: actions wrap; big Spy button takes the full row */
.tk-actions { flex-wrap: wrap; } .tk-top > * { min-width: 0; }
@media (max-width: 640px) {
  .tk-actions { width: 100%; }
  .tk-actions :is([data-spy],[data-spy-go]).spy-pill.lg { flex: 1 1 100%; justify-content: center; }
  :is([data-spy],[data-spy-go]).spy-pill.lg { white-space: normal; max-width: 100%; height: auto; min-height: 48px; padding: 10px 16px; text-align: center; }
  .spy-hero-in, .spy-hero-in > * { min-width: 0; }
  .spy-band-demo { max-width: 100%; overflow: hidden; }
}
/* ===== contrast pass (WCAG AA, both themes) ===== */
:root { --on-brand: #ffffff; --on-pos: #ffffff; }
:root[data-theme="dark"] { --on-brand: #06111f; --on-pos: #06111f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --on-brand: #06111f; --on-pos: #06111f; } }
.btn, .tkl-row button[aria-pressed="true"], .tape-label, .tape-label * { color: var(--on-brand); }
.score.s-hi { color: var(--on-pos); }
.btn.ghost { color: var(--ink); } .btn.ghost-on-navy { color: #fff; } .game-wrap .btn.ghost { color: var(--sp-ink); }
.tka-form .btn, .nl-mini .btn { background: #057d61; border-color: #057d61; color: #fff; }
:root[data-theme="dark"] .tka-form .btn, :root[data-theme="dark"] .nl-mini .btn { background: #50dbac; border-color: #50dbac; color: #06111f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tka-form .btn, :root:not([data-theme="light"]) .nl-mini .btn { background: #50dbac; border-color: #50dbac; color: #06111f; } }
.tka-opt { background: var(--surface); }
.bell b { background: #c8203a; }
.pill.buy, .fresh-pill, .tk-signal.pos .k { color: #046b53; }
.badge-exec, .tk-tags .tkr { color: #115da9; }
.new-badge { color: #7d560d; }
:root[data-theme="dark"] .pill.buy, :root[data-theme="dark"] .fresh-pill, :root[data-theme="dark"] .tk-signal.pos .k { color: var(--pos); }
:root[data-theme="dark"] .badge-exec, :root[data-theme="dark"] .tk-tags .tkr { color: var(--brand); }
:root[data-theme="dark"] .new-badge { color: #f5c76b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.buy, :root:not([data-theme="light"]) .fresh-pill, :root:not([data-theme="light"]) .tk-signal.pos .k { color: var(--pos); }
  :root:not([data-theme="light"]) .badge-exec, :root:not([data-theme="light"]) .tk-tags .tkr { color: var(--brand); } :root:not([data-theme="light"]) .new-badge { color: #f5c76b; } }
.hero-search .btn { color: var(--on-brand); }
:root[data-theme="dark"] .hero-search input { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-search input { background: var(--surface); color: var(--ink); border-color: var(--line); } }

.wl-status { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .8rem; }
.wl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.wl-chip.add { color: var(--brand-ink); text-decoration: none; } .wl-chip.on { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); }
.wl-chip.wait { color: #7d560d; border-color: #e7c983; background: #fdf6e3; }
:root[data-theme="dark"] .wl-chip.wait { color: #f5c76b; background: #2d2410; border-color: #6b5420; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wl-chip.wait { color: #f5c76b; background: #2d2410; border-color: #6b5420; } }
.wl-edit { font-size: .8rem; font-weight: 600; }
.wl-status .spy-mini { margin-left: auto; }

/* ===== Spy report v2: thesis, twins, behavior DNA, more trades ===== */
.spy-thesis { margin: 4px 0 12px; padding: 12px 15px; border-radius: 12px; border: 1px solid #6b5bd6; background: linear-gradient(120deg, rgba(90,181,255,.12), rgba(171,134,255,.16)); color: #eef2ff; font-size: .95rem; }
.spy-twins { display: block; }
.spy-twins-k { margin: -2px 0 10px; color: #c7d4ea; font-size: .86rem; }
.spy-twins-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.spy-twins-g > div { display: grid; gap: 6px; align-content: start; }
.spy-twins-g h5 { margin: 0; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-twins-g a { border-radius: 10px; }
.spy-spread { position: relative; height: 22px; margin: 6px 0 4px; border-radius: 6px; background: #10203a; border: 1px solid #2d4b6e; }
.spy-spread i { position: absolute; top: 50%; transform: translateY(-50%); }
.spy-spread .w { height: 2px; background: #5d7aa3; }
.spy-spread .b { height: 12px; border-radius: 4px; background: linear-gradient(90deg, #5ab5ff, #ab86ff); opacity: .85; }
.spy-spread .m { width: 3px; height: 18px; margin-left: -1.5px; background: #fff; border-radius: 2px; }
.spy-spread .z { width: 1px; height: 22px; background: #ffd166; }
.spy-spread-k { margin: 0 0 12px; font-size: .8rem; color: #a8b9d5; }
.spy-dna { margin-top: 14px; border: 1px solid #2d4b6e; border-radius: 12px; padding: 13px 15px; background: #11223a; }
.spy-dna h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-dna svg { width: 100%; height: auto; display: block; }
.spy-dna p { margin: 4px 0 0; font-size: .82rem; color: #c7d4ea; } .spy-dna a { color: #9cc8ff; }
.spy-dna .k-b { color: #55e4bb; } .spy-dna .k-s { color: #ff859c; } .spy-dna .k-me { color: #ffd166; }
.spy-more { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.spy-more h4 { flex-basis: 100%; margin: 0; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-more .spy-mini { min-height: 36px; white-space: normal; text-align: left; }
@media (max-width: 640px) { .spy-twins-g { grid-template-columns: 1fr 1fr; } .spy-twins-g > div:nth-child(3) { grid-column: 1 / -1; } }

/* ===== Insider Time Machine ===== */
.tm-dial { display: grid; gap: 6px; margin-bottom: 14px; }
.tm-dial-k { font-weight: 700; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tm-dial input[type=range] { width: 100%; accent-color: var(--brand); height: 32px; }
.tm-dial-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.tm-clock { display: none; }
.tm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tm-pick { width: 100%; height: 100%; text-align: left; display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tm-pick:hover { border-color: var(--brand); transform: translateY(-1px); }
.tm-pick[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.tm-tk { font: 700 1.15rem/1 "IBM Plex Mono", ui-monospace, monospace; }
.tm-when { font-size: .8rem; color: var(--muted); }
.tm-traits { display: flex; flex-wrap: wrap; gap: 5px; } .tm-traits i { font-style: normal; font-size: .76rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.tm-then { font-size: .82rem; color: var(--ink-2); }
.tm-badge { position: absolute; top: 12px; right: 12px; font-size: .74rem; font-weight: 700; color: var(--brand-ink); }
.tm-pick[aria-pressed="true"] .tm-badge { color: var(--pos); }
.tm-out { font-size: .86rem; padding-top: 6px; border-top: 1px dashed var(--line); } .tm-out b { font-size: 1.05rem; }
.tm-out.pos b { color: var(--pos); } .tm-out.neg b { color: var(--neg); }
.tm-done .tm-pick { cursor: default; } .tm-done .tm-pick:hover { transform: none; }
.tm-done .tm-pick[aria-pressed="false"] { opacity: .78; }
.tm-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tm-go p { margin: 0; }
.tm-ff { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.tm-ff:disabled { opacity: .5; cursor: not-allowed; }
.tm-going .tm-cards { animation: tm-warp .9s ease-in-out; }
@keyframes tm-warp { 30% { filter: blur(3px) hue-rotate(40deg); transform: scale(.985); } 60% { filter: blur(2px); } }
.tm-result { margin-top: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.tm-score { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-score > div { display: grid; gap: 2px; } .tm-score span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tm-score b { font-size: 1.7rem; font-variant-numeric: tabular-nums; } .tm-score i { font-style: normal; font-size: .82rem; color: var(--muted); }
.tm-again { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .tm-going .tm-cards { animation: none; } }

/* ===== Challenge My Thesis ===== */
.ch-form { display: grid; gap: 14px; margin-top: 18px; max-width: 560px; }
.ch-tk { display: grid; gap: 6px; } .ch-tk span, .ch-view legend { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #a8b9d5; }
.ch-tk input { height: 50px; border-radius: 12px; border: 1px solid #3a5582; background: #0e1c33; color: #fff; padding: 0 14px; font: 600 1.1rem "IBM Plex Mono", ui-monospace, monospace; text-transform: uppercase; }
.ch-view { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-view legend { margin-bottom: 6px; }
.ch-view label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid #3a5582; background: #0e1c33; cursor: pointer; }
.ch-view label:has(input:checked) { border-color: #8f8bff; background: #1b2350; }
.ch-view input { margin-top: 3px; accent-color: #8f8bff; }
.ch-view b { display: block; color: #fff; } .ch-view i { display: block; font-style: normal; font-size: .82rem; color: #b6c4dc; }
.ch-form .spy-pill.lg { justify-self: start; }
.ch-err { margin: 0; color: #ffb3c0; }
.ch-try { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-chip { display: grid; gap: 2px; text-align: left; padding: 10px 14px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.ch-chip:hover { border-color: var(--brand); }
.ch-chip b { font-family: "IBM Plex Mono", ui-monospace, monospace; } .ch-chip span { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .ch-view { grid-template-columns: 1fr; } }

/* My Stocks: What Changed? */
.wl-changed { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--brand-tint); }
.wl-changed h3 { margin: 0 0 6px; font-size: 1rem; } .wl-changed h3 span { font-weight: 500; color: var(--muted); font-size: .88rem; }
.wl-changed ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; } .wl-changed li { font-size: .9rem; }
.wl-changed p { margin: 0; }
.wl-row.wl-new { box-shadow: inset 4px 0 0 var(--brand); }

/* screener: sortable headers, SEC link, why-matched */
.sc-sort { all: unset; cursor: pointer; font: inherit; color: inherit; white-space: nowrap; }
.sc-sort:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
th.num .sc-sort { display: block; text-align: right; }
.sc-sec { display: block; font-size: .74rem; font-weight: 600; margin-top: 2px; }
.sc-why { font-size: .82rem; color: var(--ink-2); min-width: 180px; }

.me-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 95; max-width: min(520px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px; background: #172a44; color: #fff; font-size: .9rem; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.under-review { font-size: .8rem; font-weight: 600; color: var(--muted); border-bottom: 1px dotted var(--muted); cursor: help; }

/* ---------- Permanent Spy Mode investigations (/investigation/…), /investigations, /following ---------- */
.inv-wrap { display: grid; gap: 22px; padding-bottom: 32px; }
.inv-report { color: #eff6ff; border-radius: 22px; border: 1px solid #5369b6; padding: 22px 26px 26px; font-family: var(--f-ui);
  background: radial-gradient(ellipse at 80% 0%, #20285e 0%, #0b1b32 46%, #09162a 100%); box-shadow: 0 18px 60px rgba(10, 22, 50, .28); }
.inv-report .pos { color: #55e4bb !important; } .inv-report .neg { color: #ff859c !important; }
.inv-report .spy-metrics { margin-top: 0; }
.inv-report a.spy-btn { display: inline-flex; align-items: center; text-decoration: none; }
.inv-report .spy-twins-k { flex-basis: 100%; margin: -4px 0 4px; font-size: .82rem; color: #a8b9d5; }
.inv-follow-note { margin: 12px 0 0; font-size: .88rem; color: #cfe0f7; } .inv-follow-note a { color: #9cc8ff; }
.inv-more-b { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 14px 0 26px; }
.inv-card { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line, #d9e1ea); background: var(--surface, #fff); color: inherit; text-decoration: none !important; }
.inv-card:hover { border-color: #6257ff; box-shadow: 0 6px 20px rgba(98, 87, 255, .15); }
.inv-card .inv-tk { font: 700 .78rem var(--f-mono, monospace); color: #6257ff; letter-spacing: .04em; }
.inv-card b { font-size: 1rem; } .inv-card span { font-size: .88rem; } .inv-card i { font-style: normal; font-size: .78rem; color: var(--muted, #5b6b80); }
.inv-score { margin: 6px 0 0; } .inv-head-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.fol-list { display: grid; gap: 14px; margin: 10px 0 24px; }
.fol-card { border: 1px solid var(--line, #d9e1ea); border-radius: 14px; padding: 14px 16px; background: var(--surface, #fff); }
.fol-card.fresh { border-color: #1fbf75; box-shadow: 0 0 0 2px rgba(31, 191, 117, .18); }
.fol-card header { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.fol-card header a { flex: 1 1 auto; color: inherit; } .fol-card .link { background: none; border: 0; color: var(--muted, #5b6b80); text-decoration: underline; cursor: pointer; font: inherit; font-size: .84rem; }
.fol-new { background: #1fbf75; color: #fff; font: 700 .72rem var(--f-ui); padding: 3px 8px; border-radius: 999px; }
.fol-card .spy-after-row > div { border-color: var(--line, #d9e1ea); }
.fol-card .spy-after-row span, .fol-card .spy-after-row i { color: var(--muted, #5b6b80); }
.fol-card .pos { color: #0f9d63; } .fol-card .neg { color: #d6334f; }
.fol-update { background: #eefaf4; border-bottom: 1px solid #b7e8cf; color: #0b3b26; font-size: .9rem; padding: 9px 0; }
.fol-update .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.fol-update .pos { color: #0f9d63; } .fol-update .neg { color: #c42a45; }
[data-theme="dark"] .fol-update { background: #0f2a20; border-color: #1f5a41; color: #d9f5e8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fol-update { background: #0f2a20; border-color: #1f5a41; color: #d9f5e8; } }
@media (max-width: 640px) { .inv-report { padding: 16px 14px 20px; border-radius: 16px; } .inv-report .spy-ev { grid-template-columns: 1fr; } }

/* ---------- Weekly Findings ---------- */
.find-body { display: grid; gap: 18px; padding-bottom: 30px; }
.find-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.find-kpis > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: var(--surface); }
.find-kpis b { font-size: 1.35rem; font-variant-numeric: tabular-nums; } .find-kpis span { font-size: .8rem; color: var(--muted); }
.find-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .find-cols h3 { margin: 0 0 6px; font-size: .95rem; }
.find-cols ul, .find-top, .find-arch { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.find-top li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.find-answer { font-size: 1.05rem; margin: 0 0 12px; } .find-k { font-size: .84rem; margin: 12px 0 0; }
.find-body .pos { color: #0f9d63; } .find-body .neg { color: #d6334f; }
@media (max-width: 640px) { .find-cols { grid-template-columns: 1fr; } }

/* ---------- Free widgets (/widgets) ---------- */
.wid-body { display: grid; gap: 18px; padding-bottom: 30px; }
.wid-name { display: grid; gap: 8px; } .wid-name input, .wid-code input { max-width: 360px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); color: inherit; }
.wid-row { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 20px; align-items: start; }
.wid-prev { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.wid-code { display: grid; gap: 8px; } .wid-code label { font-weight: 600; font-size: .9rem; }
.wid-code textarea, .wid-text { width: 100%; font: 12px/1.45 var(--f-mono, monospace); padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, #f6f8fb); color: inherit; resize: vertical; }
.wid-code .btn, .wid-body .btn { justify-self: start; }
.wid-frame { width: 100%; height: 440px; border: 0; }
@media (max-width: 900px) { .wid-row { grid-template-columns: minmax(0, 1fr); } }
.wid-body code { overflow-wrap: anywhere; }

.glance { margin: 8px 0 0; max-width: 80ch; font-size: .95rem; color: var(--ink-2, #33415a); }
.nl-sent { margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: #0f8a54; }
.lf-inv { margin: 10px 0 0; font-weight: 600; } .lf-inv a { color: #6257ff; }

/* ===== Oct 29: phone first screen + Spy Mode landing (fixes from the traffic review) ===== */
.ip-sub-short { display: none; }
.hide-sm { display: inline; }
@media (max-width: 640px) {
  /* homepage: headline, one line, then a real trade, then search. One main button (Spy on the trade card). */
  .hero.hero-slim .wrap { padding-block: 18px 0; }
  .ip-hero { display: flex; flex-direction: column; gap: 14px; }
  .ip-hero-main { display: contents; }
  .ip-hero-main .eyebrow { order: 1; align-self: flex-start; }
  .ip-hero-main h1 { order: 2; margin: 0; font-size: 2rem; }
  .ip-hero-main .ip-sub { display: none; }
  .ip-hero-main .ip-sub-short { display: block; order: 3; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
  .ip-hero > .ip-proof { order: 4; padding: 18px; gap: 4px; }
  .ip-proof .ip-proof-dates, .ip-proof .ip-proof-odds, .ip-proof .ip-proof-rec, .ip-proof .ip-proof-links, .ip-proof .ip-proof-note { display: none; }
  .ip-proof .ip-proof-spy { margin-top: 8px; width: 100%; justify-content: center; }
  .ip-hero-main .hero-search { order: 5; margin: 0; }
  .ip-hero-main .ip-pop { order: 6; margin: 0; }
  .ip-hero-main .ip-ctas { order: 7; margin: 0 0 6px; gap: 4px 18px; }
  .ip-ctas .ip-cta-spy { display: none; }
  .ip-ctas .ip-follow { width: auto; border: 0; background: none; padding: 10px 0; box-shadow: none; min-height: 44px; font-weight: 600; color: var(--brand-ink); }
  /* Spy Mode page: no decorative scanner above the headline; row buttons fit the screen */
  .spy-hero .spy-band-demo { display: none; }
  .spy-hero-in { padding-block: 24px 22px; }
  .hide-sm { display: none; }
  table.data td .spy-pill { white-space: nowrap; max-width: 100%; }
  /* the floating Ask button waits until the visitor scrolls */
  .ask-btn { transition: opacity .25s ease, transform .25s ease; }
  body:not(.ip-scrolled) .ask-btn { opacity: 0; transform: translateY(14px); pointer-events: none; }
  body:not(.ip-scrolled) .ask-nudge { display: none !important; }
}

/* Spy button: a light sweep every few seconds and a soft glow, so it reads as the thing to press */
:is([data-spy],[data-spy-go]).spy-pill.lg { position: relative; overflow: hidden; isolation: isolate; animation: spy-glow 3.2s ease-in-out infinite; transition: transform .15s ease, filter .15s ease; }
:is([data-spy],[data-spy-go]).spy-pill.lg::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: spy-shine 4.8s ease-in-out 1.2s infinite; }
:is([data-spy],[data-spy-go]).spy-pill.lg:hover { transform: translateY(-1px); filter: brightness(1.06); }
:is([data-spy],[data-spy-go]).spy-pill.lg:active { transform: translateY(0); }
@keyframes spy-shine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
@keyframes spy-glow { 0%, 100% { box-shadow: 0 8px 26px rgba(70, 90, 240, .35); } 50% { box-shadow: 0 8px 34px rgba(110, 90, 255, .6); } }
@media (prefers-reduced-motion: reduce) { :is([data-spy],[data-spy-go]).spy-pill.lg, :is([data-spy],[data-spy-go]).spy-pill.lg::after { animation: none !important; } }
.spy-sub-short { display: none; }
@media (max-width: 640px) { .spy-hero .spy-sub-long { display: none; } .spy-hero .spy-sub-short { display: block; } }

/* Spy: Congress trades in the same stock (facts, not evidence) */
.spy-cg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(168,185,213,.35); }
.spy-cg h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b9d5; }
.spy-cg ul { margin: 0 0 6px; padding-left: 18px; } .spy-cg li { margin: 2px 0; font-size: .9rem; }
.spy-cg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.spy-cg p { margin: 0; }

/* Cluster buy of the week */
.cl-week { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center; margin: 0 0 18px; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); box-shadow: var(--shadow); }
.cl-week .k { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cl-week h2 { margin: 4px 0 4px; font-size: 1.25rem; }
.cl-week p { margin: 0; color: var(--muted); }
.cl-week .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .cl-week { grid-template-columns: 1fr; } .cl-week .acts { justify-content: flex-start; } }
td .spy-mini { margin-left: 0; }

/* Weekly-report signup at the end of Spy reports, investigation pages and /spy-mode (dark, matches the report) */
.spy-rep { margin-top: 16px; display: grid; gap: 12px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #13284a, #1d1f4f); border: 1px solid #4b6cc4; color: #eff6ff; font-family: var(--f-ui); }
.spy-rep-k { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fd0ff; }
.spy-rep h3 { margin: 4px 0 0; font-size: 1.08rem; color: #fff; }
.spy-rep p { margin: 4px 0 0; color: #cfe0f5; font-size: .88rem; }
.spy-rep .rep-form { padding-top: 0; }
.spy-rep .rep-row input { min-height: 42px; background: #0d1b31; border-color: #3a5475; color: #eff6ff; }
.spy-rep .fine { font-size: .74rem; color: #a8b9d5; margin: 0; }
.spy-rep .fine a { color: #9cc8ff; }
.spy-rep .rep-done { background: #12352f; border: 1px solid #2f7a63; color: #eff6ff; }
.spy-rep .nl-known-note, .spy-rep .nl-sent { color: #cfe0f5; font-size: .82rem; margin: 0; }
.spy-rep .nl-known-note button { color: #9cc8ff; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- /latest: quick views, new-since-last-visit, bookmark tip ---------- */
.lt-presets { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px 0; }
.lt-presets button { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.lt-presets button:hover { border-color: var(--brand); color: var(--brand); }
.lt-new { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 20px 0; padding: 8px 12px; border-radius: 8px; background: var(--brand-tint); color: var(--ink); font-size: 14px; }
.lt-tip { margin: 0; padding: 8px 20px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.lt-link { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; text-decoration: underline; }
table.data tr.is-new > td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
table.data tr.is-new { background: color-mix(in srgb, var(--brand-tint) 55%, transparent); }
@media (max-width: 640px) {
  .lt-presets { padding: 12px 14px 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lt-presets button { white-space: nowrap; flex: 0 0 auto; }
  .lt-new { margin: 10px 14px 0; }
  .lt-tip { padding: 8px 14px 10px; }
  .lt-lede { display: none; }
  .lt-tip { display: none; }
  .filters .lt-more-btn { display: inline-block; }
  .filters:has(.lt-more-btn):not(.open) select, .filters:has(.lt-more-btn):not(.open) input { display: none; }
}
.lt-more-btn { display: none; font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }

/* ---- Purchase badges (signals.py): facts that make a buy stand out, shown on list rows ---- */
.sig { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sig-b { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 11.5px; line-height: 1.5; font-weight: 600;
  background: var(--line-2); color: var(--ink-2); white-space: nowrap; cursor: help; }
.sig-first, .sig-opport, .sig-stake { background: var(--pos-tint); color: var(--pos); }
.sig-streak, .sig-earn { background: var(--brand-tint); color: var(--brand-ink); }
.sig-routine { background: var(--line-2); color: var(--muted); font-weight: 500; }
.sig-rec.good { background: var(--pos-tint); color: var(--pos); }
.sig-rec.weak { background: var(--gold-tint); color: var(--gold); }

/* ---- Congress: "Could you have copied them?" ---- */
.cg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; padding: 4px 16px 14px; }
.cg-card { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  color: var(--ink); text-decoration: none; }
.cg-card:hover { border-color: var(--brand); }
.cg-name { font-weight: 700; }
.cg-meta, .cg-sub { font-size: 12.5px; color: var(--muted); }
.cg-big { font: 700 20px/1.2 var(--f-ui); }
.cg-big.pos { color: var(--pos); } .cg-big.neg { color: var(--neg); }
.cg-h3 { font-size: 15px; margin: 8px 16px 6px; }
.cg-gap td { text-align: center; color: var(--muted); padding: 2px; }
.person-alerts { margin-top: 18px; }

/* ---- Lighter phone pages (app.js m-fold): secondary sections folded to one row ---- */
.m-fold-btn { display: none; }
@media (max-width: 640px) {
  .m-folded > .m-fold-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
    padding: 14px 16px; border: 0; background: transparent; color: var(--ink); font: 600 15.5px/1.35 var(--f-ui); text-align: left; cursor: pointer; }
  .m-folded > .m-fold-btn i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
  .m-folded > .m-fold-btn i::after { content: " ▾"; }
  .m-folded.open > .m-fold-btn i { font-size: 0; }
  .m-folded.open > .m-fold-btn i::after { content: "Hide ▴"; font-size: 13px; }
  .m-folded:not(.open) > :not(.m-fold-btn) { display: none !important; }
  .m-folded.showcase, .m-folded.sky-wrap { padding-block: 0 !important; margin-block: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .m-folded.showcase > .m-fold-btn, .m-folded.sky-wrap > .m-fold-btn { max-width: var(--max); margin: 0 auto; }
  section.panel.m-folded:not(.open) { margin-bottom: 8px; }
  /* the sidebar's "Top insiders" list repeats on every page; on phones it only adds length */
  .rail .rail-sticky { display: none; }
}
