/* ============================================================
   STATE OF BIO 2026 — RareDiseaseHedge
   Sky + cream editorial data-almanac
   ============================================================ */

:root {
  --sky: #93dce6;
  --sky-deep: #6fc9d6;
  --cream: #f1eee4;
  --cream-2: #e9e5d8;
  --paper: #faf9f4;
  --ink: #101820;
  --navy: #16213e;
  --slate: #6b7280;
  --hairline: #d8d4c6;
  --yellow: #f6ffc9;
  --up: #0e9f6e;
  --down: #e5484d;
  --radius: 12px;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-kicker: "Oswald", sans-serif;
  --font-of: "Playfair Display", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "Archivo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

::selection { background: var(--ink); color: var(--sky); }

/* ---------------- grain overlay ---------------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--sky); position: relative; }
.hero-scroll { height: 210vh; position: relative; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--sky);
  display: flex; flex-direction: column; justify-content: center;
}

.hero-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 18px;
}

/* pixel-dissolve overlay revealed on scroll */
.hero-mosaic { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.hero-mosaic .px {
  position: absolute; opacity: 0; transform: scale(.5);
  transition: opacity .32s ease, transform .32s ease;
}
.hero-mosaic .px.on { opacity: 1; transform: none; }

.hero-hint {
  position: absolute; bottom: 26px; left: 50%; z-index: 20;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  color: var(--ink); opacity: .5;
  animation: bob 1.7s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }

.wordmark {
  font-family: var(--font-mono);
  font-weight: 600; font-size: 20px; letter-spacing: -0.5px;
  color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--navy); opacity: .55; padding: 0 1px; }
.wordmark--light { color: var(--cream); }

.hero-nav { display: flex; gap: 26px; }
.hero-nav a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .2s;
}
.hero-nav a:hover { border-color: var(--ink); }

/* stepped cream blocks framing the title panel */
.hero-blocks { display: flex; gap: 14px; padding: 0 0 0 0; height: 46px; }
.hero-blocks--top { justify-content: center; align-items: flex-end; }
.hero-blocks--bottom { justify-content: flex-end; padding-right: 6%; }
.blk {
  width: var(--w); height: 100%;
  background: var(--cream);
  border-radius: 10px 10px 0 0;
  animation: blkIn .7s var(--d) cubic-bezier(.2,.9,.25,1) both;
}
.hero-blocks--bottom .blk { border-radius: 0 0 10px 10px; animation-name: blkInDown; }
@keyframes blkIn   { from { transform: translateY(46px); } to { transform: none; } }
@keyframes blkInDown { from { transform: translateY(-46px); } to { transform: none; } }

.hero-panel {
  background: var(--cream);
  margin: 0 24px;
  position: relative; z-index: 10;
  border-radius: 16px;
  padding: clamp(40px, 7vw, 96px) 24px clamp(34px, 5vw, 72px);
  text-align: center;
  position: relative;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 158px);
  line-height: .92;
  letter-spacing: .01em;
  color: var(--ink);
  display: flex; align-items: baseline; justify-content: center;
  gap: .18em; flex-wrap: wrap;
}
.ht-word, .ht-of {
  display: inline-block;
  animation: riseIn .8s var(--d) cubic-bezier(.19,1,.22,1) both;
}
.ht-of {
  font-family: var(--font-of);
  font-style: italic; font-weight: 700;
  font-size: .82em;
  transform: translateY(.04em);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(.55em) rotate(1.5deg); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .02em;
  color: var(--navy);
  animation: riseIn .8s var(--d) both;
}
.hero-sub em { opacity: .55; font-style: normal; }

/* ============================================================
   TICKER
   ============================================================ */
.tickerbar {
  display: flex; align-items: stretch;
  height: 52px;
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 50;
}

.ticker-cta {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-weight: 600;
  font-size: 12.5px; letter-spacing: .09em;
  padding: 0 22px; text-decoration: none;
  white-space: nowrap;
}
.cta-arrow {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--cream); color: var(--ink);
  font-size: 14px;
  transition: transform .25s;
}
.ticker-cta:hover .cta-arrow { transform: translate(2px,-2px); }

.ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: flex; align-items: center; gap: 56px;
  padding-left: 56px;
  white-space: nowrap;
  animation: ticker 42s linear infinite;
}
.tickerbar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.tick {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
}
.tick .delta { font-weight: 600; }
.tick .delta.up { color: var(--up); }
.tick .delta.down { color: var(--down); }
.tick svg { display: block; opacity: .8; }

.ticker-info {
  flex: 0 0 52px;
  border: 0; border-left: 2px solid var(--ink);
  background: var(--cream);
  font-family: var(--font-of); font-style: italic; font-size: 18px;
  cursor: pointer;
}
.ticker-info:hover { background: var(--sky); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 84px 0 72px; border-top: 1px solid var(--hairline); }
.section--cream { background: var(--cream); }
.section--white { background: var(--paper); }
.section--sky   { background: var(--sky); border-top: 2px solid var(--ink); }

.kicker {
  font-family: var(--font-kicker);
  font-weight: 600; font-size: 20px;
  letter-spacing: .04em; text-transform: uppercase;
  color: #9b968a;
}
.section--white .kicker { color: #b0aca0; }

.giant {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2px 0 30px;
}
.giant--ink { color: var(--ink); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.19,1,.22,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- tab strip ---------------- */
.tabstrip {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tabstrip-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px; padding-top: 12px; padding-bottom: 12px;
}
.mtab {
  font-family: var(--font-mono); font-size: 13.5px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink);
  padding: 8px 16px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.mtab:hover { background: var(--cream-2); }
.mtab.active { background: var(--ink); color: var(--paper); }
.tab-sep { color: #b6b1a3; font-family: var(--font-mono); font-size: 13px; padding: 0 6px; user-select: none; }

/* ---------------- chart blocks ---------------- */
.chart-block { padding-top: 34px; }

.chart-tools, .row-tools {
  display: flex; justify-content: flex-end; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.chart-caption {
  margin-right: auto; align-self: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #9b968a;
}
.chart-block--secondary {
  border-top: 1px solid var(--hairline);
  margin-top: 44px; padding-top: 30px;
}
.row-tools { justify-content: space-between; margin-bottom: 0; }

.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  padding: 8px 10px; border-radius: 8px;
  transition: background .2s;
}
.share-btn:hover { background: rgba(16,24,32,.07); }

.select-pill {
  background: var(--cream-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0 6px;
}
.select-pill select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  padding: 12px 44px 12px 16px; cursor: pointer; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23101820' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

.chart-flex { display: flex; gap: 28px; align-items: stretch; }
.legend { flex: 0 0 170px; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.legend--grid { flex-basis: 230px; }
.legend-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: #5a564c;
  cursor: default;
}
.legend-item .swatch { width: 13px; height: 13px; border-radius: 3.5px; flex: 0 0 auto; }
.legend-item .pct { margin-left: auto; color: var(--ink); font-weight: 600; }
.legend-item.dim { opacity: .35; }

.ylabel-rail { flex: 0 0 34px; position: relative; }
.ylabel {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--slate); white-space: nowrap;
}

.chart-host { flex: 1 1 auto; min-width: 0; min-height: 420px; position: relative; }
.chart-host--tall { min-height: 560px; }
.chart-host svg { display: block; }

.axis text { font-family: var(--font-mono); font-size: 11px; fill: #7d786c; }
.axis line, .axis path { stroke: #cfcaba; }
.gridline { stroke: #dedacb; stroke-dasharray: 2 4; }
.section--white .gridline { stroke: #e7e4d9; }

/* range toggle (1Y / 3Y / 5Y / All) */
.range-toggle {
  display: flex; gap: 6px; justify-content: flex-start;
  border-top: 1px solid var(--hairline);
  margin-top: 20px; padding-top: 14px;
  margin-left: 34px;
}
.range-toggle button {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  border: 0; background: none; cursor: pointer; color: var(--slate);
  padding: 9px 18px; border-radius: 8px;
  transition: all .2s;
}
.range-toggle button:hover { color: var(--ink); background: var(--cream-2); }
.range-toggle button.active { background: var(--navy); color: #fff; }

/* methodology + source */
.chart-footer {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; margin-top: 26px;
}
.methodology {
  max-width: 720px;
  font-size: 12.5px; line-height: 1.55; color: #6d6a5f;
}
.methodology strong { color: var(--ink); font-weight: 600; }
.source-pill {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--hairline); border-radius: 12px;
  padding: 14px 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--slate);
  box-shadow: 0 1px 0 rgba(16,24,32,.05);
}
.source-pill strong { color: var(--ink); font-size: 13px; letter-spacing: 0; margin-left: 4px; }

/* map scale */
.map-scale {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  margin-top: 8px;
}
.map-scale .cell { width: 34px; height: 10px; border-radius: 2px; }

/* ============================================================
   SHORTLIST / SEARCH
   ============================================================ */
.sl-intro { max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--ink-secondary); margin: -18px 0 12px; }
.sl-intro b { color: var(--ink); }
.sl-fresh { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); margin: 0 0 20px; }

.sl-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.sl-search {
  flex: 1 1 320px; min-width: 240px;
  font-family: var(--font-body); font-size: 15px;
  background: var(--cream); border: 1.5px solid var(--hairline); border-radius: 12px;
  padding: 14px 18px; color: var(--ink);
}
.sl-search:focus { outline: 2px solid var(--sky-deep); border-color: var(--sky-deep); }
.sl-sort {
  appearance: none; -webkit-appearance: none;
  font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--ink);
  background: var(--cream-2); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 13px 40px 13px 16px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23101820' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

.sl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sl-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  background: var(--cream-2); border: 1px solid var(--hairline); color: var(--ink-secondary);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .18s;
}
.sl-chip:hover { border-color: var(--ink); color: var(--ink); }
.sl-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sl-chip .n { opacity: .55; margin-left: 5px; }

.sl-status { font-family: var(--font-mono); font-size: 12px; color: var(--slate); margin: 0 0 14px; }

.sl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sl-card {
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 18px 20px; transition: transform .18s cubic-bezier(.2,.9,.25,1), box-shadow .18s;
}
.sl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.sl-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sl-name { font-family: var(--font-kicker); font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--navy); text-transform: uppercase; }
.sl-reach { font-family: var(--font-mono); font-size: 12px; color: var(--slate); white-space: nowrap; }
.sl-reach b { color: var(--ink); font-size: 15px; }
.sl-dz { font-size: 13.5px; line-height: 1.5; color: var(--ink-secondary); margin: 8px 0 10px; min-height: 20px; }
.sl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; font-weight: 500;
}
.badge-orphan { background: var(--gold-bg); color: var(--gold); }
.badge-rare { background: #e6eff7; color: #255e8e; }
.badge-ped { background: var(--keep-bg); color: var(--keep); }
.badge-multi { background: #eeeaf6; color: #5b4a86; }
.badge-pulled { background: var(--investigate-bg); color: var(--investigate); }
.badge-crl { background: var(--reject-bg); color: var(--reject); }
.badge-src { background: var(--cream-2); color: var(--slate); }
.sl-foot { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--slate); border-top: 1px solid var(--hairline); padding-top: 10px; margin-top: 2px; }
.sl-foot b { color: var(--ink); }
.sl-empty { grid-column: 1/-1; font-family: var(--font-mono); font-size: 13px; color: var(--slate); padding: 30px 0; }
.sl-card { cursor: pointer; }

/* detail panel */
.sl-panel { position: fixed; inset: 0; z-index: 70; background: rgba(15,26,32,.42);
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.sl-panel.open { opacity: 1; pointer-events: auto; }
.pc-inner { position: absolute; top: 0; right: 0; height: 100%; width: min(560px, 94vw);
  background: var(--paper); box-shadow: -8px 0 40px rgba(15,26,32,.25); overflow-y: auto;
  padding: 30px 32px 60px; transform: translateX(30px); transition: transform .22s; }
.sl-panel.open .pc-inner { transform: none; }
.pc-close { position: absolute; top: 18px; right: 20px; border: 0; background: var(--cream-2);
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 15px; color: var(--ink); }
.pc-close:hover { background: var(--sky); }
.pc-name { font-family: var(--font-display); font-size: 34px; line-height: 1.04; text-transform: uppercase; color: var(--navy); margin-right: 40px; }
.pc-verdict { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--investigate); text-transform: uppercase; margin-top: 4px; }
.pc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.pc-sec { font-family: var(--font-kicker); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: 13px; color: #9b968a; margin: 26px 0 10px; border-top: 1px solid var(--hairline); padding-top: 16px; }
.pc-crit { display: flex; gap: 11px; align-items: flex-start; margin: 9px 0; }
.pc-st { flex: 0 0 20px; height: 20px; border-radius: 5px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; margin-top: 1px; }
.st-pass { background: var(--keep); } .st-fail { background: var(--reject); }
.st-human { background: var(--investigate); } .st-unknown { background: var(--ink-ghost); }
.pc-k { font-size: 14px; font-weight: 600; color: var(--ink); }
.pc-note { font-size: 12.5px; color: var(--ink-secondary); line-height: 1.45; }
.pc-cite { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-ghost); }
.pc-row { display: flex; gap: 14px; font-size: 13px; margin: 7px 0; }
.pc-row > span { flex: 0 0 150px; color: var(--slate); font-family: var(--font-mono); font-size: 11.5px; }
.pc-row > div { flex: 1; color: var(--ink); }
.pc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-links a { font-family: var(--font-mono); font-size: 12px; background: var(--cream-2);
  border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 13px; text-decoration: none; color: var(--ink); }
.pc-links a:hover { border-color: var(--ink); }
.pc-disc { font-size: 12px; color: var(--slate); line-height: 1.55; margin-top: 22px; font-style: italic; }

/* ============================================================
   PAST REPORTS
   ============================================================ */
.report-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.report-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream);
  border-radius: 14px;
  padding: 34px 30px;
  text-decoration: none; color: var(--ink);
  transition: transform .25s cubic-bezier(.2,.9,.25,1), background .25s, color .25s;
}
.rc-year { font-family: var(--font-display); font-size: 44px; letter-spacing: .02em; }
.rc-arrow {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--ink); color: var(--cream); font-size: 20px;
  transition: transform .25s;
}
.report-card:hover { transform: translateY(-5px); background: var(--ink); color: var(--cream); }
.report-card:hover .rc-arrow { background: var(--cream); color: var(--ink); transform: translate(2px,-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #b9b6ac; padding: 64px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #b9b6ac; text-decoration: none;
}
.footer-nav a:hover { color: var(--sky); }
.footer-disclaimer {
  margin: 36px 0; max-width: 900px;
  font-size: 12px; line-height: 1.7; color: #85827a;
  border-top: 1px solid #2a3038; padding-top: 28px;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
}
.footer-built { color: #5e6a75; }

/* ============================================================
   TOOLTIP + TOAST
   ============================================================ */
.tooltip {
  position: fixed; z-index: 80; pointer-events: none;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5;
  padding: 10px 13px; border-radius: 9px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s;
  max-width: 260px;
}
.tooltip.show { opacity: 1; transform: none; }
.tooltip .tt-title { font-weight: 600; color: var(--sky); }

.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 13px 22px; border-radius: 10px;
  z-index: 90; transition: transform .35s cubic-bezier(.2,.9,.25,1);
}
.toast.show { transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .chart-flex { flex-direction: column; }
  .legend { flex-direction: row; flex-wrap: wrap; flex-basis: auto; gap: 10px 18px; }
  .legend-item .pct { margin-left: 6px; }
  .ylabel-rail { display: none; }
  .range-toggle { margin-left: 0; }
  .report-cards { grid-template-columns: 1fr; }
  .ticker-cta { font-size: 11px; padding: 0 14px; }
  .hero-nav { display: none; }
  .chart-footer { flex-direction: column; }
  .sl-list { grid-template-columns: 1fr; }
}
