/* =============================================================
   AUTO-GENERATED — DO NOT EDIT BY HAND
   Built by _lib/ui/build.py for site=strc
   Generated at 2026-05-08T23:40:40+00:00
   Source files: tokens.css + components.css + chart.css + sites/strc.css
   ============================================================= */

/* ----- tokens.css ----- */

/* =============================================================
   _lib/ui/tokens.css — design tokens for the mNAV platform
   =============================================================
   Shared :root variables consumed by components.css + chart-svg.css.
   Per-site stylesheets MUST define --accent and --accent-dim before
   importing this file (or after, since :root cascades). Everything
   else is platform-wide and should change in lockstep across all
   dashboards.

   Token groups:
     surfaces   — bg, panel, panel-2, line, grid (dark dashboard palette)
     text       — text, muted, dim, faint (4-step hierarchy)
     status     — green, amber, red (state pills, alerts)
     accent     — accent, accent-dim (per-site override; default = pink)
     other      — btc (universal Bitcoin orange), purple, gold (chart axes)
   ============================================================= */

:root {
  /* ---------------------- Surfaces (dark theme) ---------------------- */
  --bg:        #121421;
  --panel:     #171c2a;
  --panel-2:   #141827;
  --line:      #1e293b;
  --grid:      #232932;

  /* ---------------------- Text hierarchy ---------------------- */
  --text:      #FFFFFF;
  --muted:     #B8BEC6;
  --dim:       #8A8F99;
  --faint:     #5A606A;

  /* ---------------------- Status colors ---------------------- */
  --green:     #2EC07A;
  --amber:     #F5C518;
  --red:       #FF4D4D;

  /* ---------------------- Other accents (chart axes, callouts) ---------------------- */
  --btc:       #F7931A;   /* universal Bitcoin orange */
  --purple:    #A985F5;
  --gold:      #E5A12C;

  /* ---------------------- Accent (per-site override) ---------------------- */
  /* Default = STRC pink. SATA and other dashboards override these. */
  --accent:     #E84B8A;
  --accent-dim: #6B2845;

  color-scheme: dark;
}

/* ----- components.css ----- */

/* =============================================================
   _lib/ui/components.css — shared chrome for mNAV dashboards
   =============================================================
   Consumes tokens from tokens.css. Sections (separated by /* === */
   comments) are independently usable. The accent color comes from
   var(--accent) so each site can theme without forking these rules.

   Sections:
     1. Reset + base
     2. Layout: wrap, top, title, share, chip
     3. Hero + tile system
     4. Info icon + popover
     5. Pills (state indicators) + pulse keyframe
     6. Section blocks (h2, lede, post-note, auto-comment)
     7. Section head + range toggle
     8. Cycle bar
     9. Filings table (issuance ledger variant)
     10. Dividend table (preferred-stack variant)
     11. Mcap tiles
     12. Details/explainer (collapsible)
     13. Banners (v0 stage indicator etc.)
     14. Foot
     15. Responsive breakpoints
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

/* ---------- 1. Reset + base ---------- */
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--text);
  margin:0; padding:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* ---------- 2. Layout ---------- */
.wrap{max-width:800px;margin:0 auto;padding:28px 24px 80px}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:6px}
.title{font-size:28px;font-weight:500;letter-spacing:-0.02em;font-family:'Fraunces',Georgia,serif}
.sub{color:var(--dim);font-size:13px;margin-top:4px;letter-spacing:0.02em}
.share{display:flex;gap:8px}
.chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:999px;
  background:var(--panel);border:1px solid var(--line);
  color:var(--muted);font-size:12px;font-weight:500;cursor:pointer;
}
.chip:hover{background:var(--panel-2)}

/* ---------- 3. Hero + tile ---------- */
.hero{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;
  padding:24px;margin-bottom:24px;position:relative;
}
.hero-row{
  display:grid;gap:14px;
  grid-template-columns:repeat(5,1fr);   /* per-site can override columns */
  align-items:stretch;
}
.tile{
  background:var(--panel-2);border:1px solid var(--line);border-radius:12px;
  padding:14px;position:relative;text-align:center;
}
.tile.cycle-tile{display:flex;flex-direction:column}
.tile.cycle-tile .cycle-bar{margin-top:auto}
.tile-label-row{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:10px}
.tile-label-row .tile-label{margin-bottom:0}
.tile-label{
  color:var(--dim);font-size:10px;font-weight:700;
  letter-spacing:0.08em;text-transform:uppercase;margin-bottom:10px;
}
.tile-big{font-size:24px;font-weight:800;letter-spacing:-0.01em;line-height:1.1}
.tile-sub{color:var(--dim);font-size:11px;margin-top:6px;line-height:1.4}

/* Accent number color. .accent-num is the canonical platform class.
   .strc-num and .sata-num are kept as backward-compat aliases for
   existing dashboard HTML — both resolve to var(--accent), which the
   per-site stylesheet sets to the dashboard's accent color.
   .btc-num remains universal Bitcoin orange. */
.accent-num,
.strc-num,
.sata-num{color:var(--accent)}
.btc-num{color:var(--btc)}

/* ---------- 4. Info icon + popover ---------- */
.info-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:14px;height:14px;border-radius:50%;
  border:1px solid var(--dim);color:var(--dim);
  font-size:9px;font-weight:700;font-family:Georgia,serif;
  cursor:pointer;flex-shrink:0;font-style:italic;line-height:1;
  user-select:none;transition:border-color 0.15s,color 0.15s;
}
.info-icon:hover{border-color:var(--text);color:var(--text)}
.info-icon.open{
  border-color:var(--accent);color:var(--accent);
  background:color-mix(in srgb, var(--accent) 10%, transparent);
}
.info-popover{
  position:absolute;top:calc(100% + 8px);left:0;
  width:300px;background:var(--bg);
  border:1px solid var(--line);border-radius:8px;
  padding:13px 15px;
  font-size:11px;line-height:1.55;color:var(--muted);
  text-transform:none;letter-spacing:normal;font-weight:400;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-style:normal;text-align:left;
  z-index:200;display:none;
  box-shadow:0 8px 24px rgba(0,0,0,0.6);
}
.info-icon.right .info-popover{left:auto;right:0}
.info-icon.open .info-popover{display:block}
.info-popover strong{color:var(--text);font-weight:600}
.info-popover code{
  background:var(--panel-2);padding:1px 5px;border-radius:3px;
  font-size:10px;color:var(--accent);
  font-family:ui-monospace,"SF Mono",Menlo,monospace;
}
.info-popover .ip-h{
  color:var(--text);font-weight:700;display:block;
  margin-top:10px;margin-bottom:4px;
  font-size:10px;text-transform:uppercase;letter-spacing:0.06em;
}
.info-popover .ip-h:first-child{margin-top:0}
.info-popover ul{margin:4px 0;padding-left:16px}
.info-popover li{margin:2px 0}

/* ---------- 5. Pills ---------- */
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:5px 10px;border-radius:999px;
  font-size:11px;font-weight:700;
  letter-spacing:0.06em;text-transform:uppercase;
}
.pill .dot{width:8px;height:8px;border-radius:50%}
.pill.paused{background:rgba(255,77,77,0.10);color:#FF7575}
.pill.paused .dot{background:var(--red)}
.pill.armed{background:rgba(245,197,24,0.10);color:var(--amber)}
.pill.armed .dot{background:var(--amber)}
.pill.active{background:rgba(46,192,122,0.10);color:var(--green)}
.pill.active .dot{background:var(--green);animation:pulse 2.0s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.45}}

/* Live tick indicator — shown on the Current price tile label when the
   browser successfully fetched a fresh trade from the Massive API worker
   (https://mnav-api.marty-5b9.workers.dev/price/STRC). The tile-label-row
   keeps a fixed baseline; the dot is inline-block to sit beside the text. */
.live-dot{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--green);margin-left:6px;vertical-align:middle;
  animation:pulse 2.0s ease-in-out infinite;
  box-shadow:0 0 6px rgba(46,192,122,0.55);
}

/* Tile-level LIVE chip + breathing halo — applied to the ATM-WTD tile when
   the JS detects (a) we're inside the active ET market window and (b) live
   Massive price is at-or-above par. Both display rules are driven by the
   .live-active class on the parent .tile; CSS does no time/price logic.
   Uses var(--accent) so the dashboard's own accent color carries through
   (STRC pink, SATA blue, etc.) — no hardcoded brand color. */
.tile-live-pill{
  position:absolute;top:10px;right:10px;
  display:none;align-items:center;gap:6px;
  padding:3px 8px;border-radius:999px;
  background:color-mix(in srgb, var(--accent) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-size:9px;font-weight:700;letter-spacing:0.10em;
  color:var(--accent);text-transform:uppercase;line-height:1;
  pointer-events:none;
}
.tile-live-pill .dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--accent);
  animation:pulse 1.4s ease-in-out infinite;
  box-shadow:0 0 6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.tile.live-active .tile-live-pill{display:inline-flex}
.tile.live-active{animation:tile-breathe 3.2s ease-in-out infinite}
@keyframes tile-breathe{
  0%,100%{
    box-shadow:0 0 0 0 transparent;
    border-color:var(--line);
  }
  50%{
    box-shadow:0 0 18px 2px color-mix(in srgb, var(--accent) 32%, transparent);
    border-color:color-mix(in srgb, var(--accent) 65%, var(--line));
  }
}
/* Respect users who turn off motion — keep the chip visible so they still
   see the "LIVE" indicator, but drop the breathing halo + dot pulse. */
@media (prefers-reduced-motion: reduce){
  .tile.live-active{animation:none;border-color:color-mix(in srgb, var(--accent) 55%, var(--line))}
  .tile-live-pill .dot{animation:none}
}

/* ---------- 6. Section blocks ---------- */
.section{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;
  padding:24px;margin-bottom:22px;
}
.section h2{font-size:16px;font-weight:500;letter-spacing:-0.02em;margin:0 0 6px;font-family:'Fraunces',Georgia,serif}
.section .lede{color:var(--dim);font-size:11px;margin-bottom:14px;line-height:1.5}
.section .post-note{
  color:var(--muted);font-size:12px;line-height:1.6;
  margin-top:12px;padding:10px 14px;
  background:var(--panel-2);
  border-left:3px solid var(--accent);border-radius:6px;
}
/* Projection callouts under the price + recovery charts. Compact accent
   cards; both dashboards style them identically (accent auto-themes). */
#price-projection,
#recovery-projection{
  margin-top:10px;padding:6px 10px;
  background:var(--panel-2);
  border-left:3px solid var(--accent);border-radius:6px;
  font-size:11px;color:var(--muted);line-height:1.5;
}
/* Auto-narrative blocks under charts/hero. Renamed from .ai-comment
   on 2026-05-08; the "AI" tag was dropped at the same time. */
.auto-comment{
  display:flex;gap:10px;align-items:flex-start;
  color:var(--muted);font-size:12px;line-height:1.55;
  margin-top:12px;padding:10px 14px;
  background:var(--panel-2);
  border-left:3px solid var(--gold);border-radius:6px;
}
.auto-comment.hero-blurb{margin-top:14px}

/* ---------- 7. Section head + range toggle ---------- */
.section-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:12px;margin-bottom:6px;
}
.section-head>.head-titles{flex:1;min-width:0}
.range-toggle{
  display:inline-flex;gap:2px;
  background:var(--panel-2);border:1px solid var(--line);
  border-radius:8px;padding:2px;flex-shrink:0;
}
.range-toggle button{
  background:transparent;border:0;color:var(--dim);
  font-size:11px;font-weight:600;letter-spacing:0.04em;
  padding:5px 10px;border-radius:6px;cursor:pointer;font-family:inherit;
}
.range-toggle button:hover{color:var(--text)}
.range-toggle button.active{background:var(--accent);color:#FFFFFF}

/* ---------- 8. Cycle bar ---------- */
.cycle-bar{
  background:var(--panel-2);border-radius:999px;height:14px;
  position:relative;overflow:hidden;margin-top:14px;
}
.cycle-bar .fill{
  background:linear-gradient(90deg,var(--accent-dim),var(--accent));
  height:100%;transition:width 0.4s ease;
}

/* ---------- 9. Filings table (issuance ledger) ---------- */
table.filings{width:100%;border-collapse:collapse;font-size:12px}
table.filings th{
  text-align:center;color:var(--dim);font-weight:600;
  letter-spacing:0.04em;padding:10px 12px;
  border-bottom:1px solid var(--line);
  font-size:11px;text-transform:uppercase;
}
table.filings td{
  padding:11px 12px;border-bottom:1px solid var(--line);
  color:var(--text);text-align:center;
}
table.filings tr.ipo{background:rgba(245,197,24,0.04)}
table.filings tr.total td{
  color:var(--btc);font-weight:700;
  border-bottom:0;background:rgba(247,147,26,0.04);
}
table.filings .pill-type{
  display:inline-block;padding:2px 8px;border-radius:6px;
  font-size:10px;font-weight:700;letter-spacing:0.04em;
}
table.filings .pill-atm{background:rgba(46,192,122,0.12);color:var(--green)}
table.filings .pill-ipo{background:rgba(245,197,24,0.12);color:var(--amber)}
table.filings td.proceeds{color:var(--green);font-variant-numeric:tabular-nums}
table.filings td.btc{color:var(--btc);font-variant-numeric:tabular-nums}
table.filings td.muted{color:var(--dim);font-variant-numeric:tabular-nums}
table.filings td.num{font-variant-numeric:tabular-nums}

/* ---------- 10. Dividend table (preferred-stack variant) ---------- */
.divs-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:6px}
.divs-table th{
  text-align:left;color:var(--dim);font-weight:600;
  letter-spacing:0.04em;padding:8px 12px;
  border-bottom:1px solid var(--line);
  font-size:11px;text-transform:uppercase;
}
.divs-table td{
  padding:9px 12px;border-bottom:1px solid var(--line);
  color:var(--text);font-variant-numeric:tabular-nums;
}
.divs-table td.cash{color:var(--btc)}
.divs-table td.rate{color:var(--accent)}
.divs-table tr:last-child td{border-bottom:0}
.rate-callout{
  margin-top:12px;padding:10px 14px;
  background:var(--panel-2);
  border-left:3px solid var(--gold);border-radius:6px;
  font-size:12px;color:var(--muted);line-height:1.55;
}
.rate-callout strong{color:var(--gold)}
.rate-callout a{color:var(--accent);font-size:11px}

/* ---------- 11. Mcap tiles ---------- */
.mcap-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.mcap-tile{
  background:var(--panel-2);border:1px solid var(--line);
  border-radius:10px;padding:12px 16px;text-align:center;
}
.mcap-tile .lbl{
  color:var(--dim);font-size:11px;font-weight:600;
  letter-spacing:0.04em;margin-bottom:4px;
}
.mcap-tile .val{font-size:20px;font-weight:700}

/* ---------- 12. Details / explainer (collapsible) ---------- */
details.expl{
  background:var(--panel);border:1px solid var(--line);
  border-radius:16px;padding:18px 24px;margin-bottom:22px;
}
details.expl summary{font-size:16px;font-weight:700;cursor:pointer;list-style:none}
details.expl summary::-webkit-details-marker{display:none}
details.expl summary::after{content:"—";float:right;color:var(--dim)}
details.expl:not([open]) summary::after{content:"+"}
details.expl p{color:var(--muted);font-size:13px;line-height:1.7}
details.expl h3{
  font-size:13px;font-weight:700;color:var(--accent);
  margin:14px 0 6px;letter-spacing:0.04em;text-transform:uppercase;
}

/* ---------- 13. Banners (stage indicators) ---------- */
.banner-v0{
  background:linear-gradient(90deg,rgba(245,197,24,0.10),rgba(245,197,24,0.02));
  border:1px solid rgba(245,197,24,0.3);
  border-left:4px solid var(--amber);border-radius:10px;
  padding:14px 18px;margin-bottom:22px;
  font-size:13px;color:var(--muted);line-height:1.55;
}
.banner-v0 strong{color:var(--amber)}
.banner-v0 .v0-tag{
  display:inline-block;font-size:10px;font-weight:700;
  letter-spacing:0.08em;color:var(--amber);
  background:rgba(245,197,24,0.15);
  padding:2px 7px;border-radius:5px;
  text-transform:uppercase;margin-right:8px;
}

/* ---------- 14. Foot ---------- */
.foot{
  color:var(--faint);font-size:11px;
  text-align:center;margin-top:30px;line-height:1.6;
}

/* ---------- 15. Responsive ---------- */
@media (max-width:600px){
  .hero-row{grid-template-columns:repeat(3,1fr)}
  .tile-big{font-size:22px}
  .info-popover{width:260px}
  /* mcap-row: keep 2x2 (set in 768 block below) */
  /* Section head: stack title + range toggle vertically so neither gets squished */
  .section-head{flex-direction:column;gap:8px}
  .section-head .range-toggle{align-self:flex-start}
  /* Section h2: slightly smaller so long titles don't wrap as badly */
  .section h2{font-size:14px}
  /* Legend: tighter on narrow screens */
  .legend{gap:8px;font-size:10px}
}
@media (max-width:768px){
  .wrap{padding:18px 14px 60px}
  .top{flex-direction:column;gap:10px}
  .title{font-size:22px}
  .hero{padding:12px}
  .hero-row{grid-template-columns:repeat(2,1fr)}
  .tile-big{font-size:20px}
  .mcap-row{grid-template-columns:repeat(2,1fr)}
  .info-popover{width:240px}
}

/* ----- chart.css ----- */

/* =============================================================
   _lib/ui/chart.css — chart chrome + SVG primitive class library
   =============================================================
   Two layers:

     1. Chart chrome (.chart-wrap, .chart-tip, .legend) — the HTML/CSS
        wrapper around an SVG chart, with crosshair + tooltip.
     2. SVG primitives — named classes that JS adds to <line>, <rect>,
        <text> elements instead of inline fill/stroke. Lets us tune
        colors and strokes from one place.

   Pattern lifted from the SATA dashboard's deliberate split — see the
   inline comment in strive_atm_model/sata-dashboard/style.css for the
   original explanation. Generalised to var(--accent) so each site
   themes without forking these rules.

   In SVG: dynamic things (opacity-by-data, positions) stay in JS;
   static styling (stroke color, stroke width, dash pattern) lives here.
   ============================================================= */

/* ---------- 1. Chart chrome ---------- */
.chart-wrap{position:relative}
.chart-wrap svg{width:100%;height:auto;display:block}
.chart-wrap .crosshair{
  position:absolute;top:0;bottom:0;width:1px;
  background:rgba(255,255,255,0.25);
  pointer-events:none;display:none;
}
.chart-tip{
  position:absolute;background:var(--bg);
  border:1px solid var(--line);border-radius:8px;
  padding:8px 11px;font-size:11px;color:var(--text);
  pointer-events:none;display:none;white-space:nowrap;
  z-index:50;box-shadow:0 4px 12px rgba(0,0,0,0.4);
}
.chart-tip .row{display:flex;align-items:center;gap:8px;margin-top:3px}
.chart-tip .lbl{color:var(--dim)}
.chart-tip .swatch{width:8px;height:8px;border-radius:50%;display:inline-block}

/* ---------- 2. SVG primitives ---------- */
/* Axes + grid */
.chart-wrap svg .ax-grid    {stroke:var(--grid);stroke-width:1;fill:none}
.chart-wrap svg .ax-label   {fill:var(--faint);font-size:10px}
.chart-wrap svg .ax-title   {
  fill:var(--dim);font-size:10px;font-weight:600;
  letter-spacing:0.04em;text-transform:uppercase;
}
.chart-wrap svg .ax-note    {fill:var(--muted);font-size:11px}

/* Axis-label color helpers (multi-axis charts) */
.chart-wrap svg .ax-label-vol    {fill:var(--purple)}
.chart-wrap svg .ax-label-sharpe {fill:var(--gold)}
.chart-wrap svg .ax-label-decl   {fill:var(--btc)}

/* Lines */
.chart-wrap svg .line-accent  {stroke:var(--accent);fill:none;stroke-width:2}
.chart-wrap svg .line-decl    {stroke:var(--btc);fill:none;stroke-width:1.5;opacity:0.85}
.chart-wrap svg .line-vol     {stroke:var(--purple);fill:none;stroke-width:2}
.chart-wrap svg .line-sharpe  {stroke:var(--gold);fill:none;stroke-width:2}

/* Threshold + ex-div markers */
.chart-wrap svg .threshold-line  {stroke:var(--btc);stroke-width:1.5;stroke-dasharray:4,3;opacity:0.7;fill:none}
.chart-wrap svg .threshold-label {fill:var(--btc);font-size:10px}
.chart-wrap svg .exdiv-line      {stroke:rgba(255,255,255,0.35);stroke-width:1;stroke-dasharray:2,3;fill:none}
.chart-wrap svg .exdiv-line-soft {stroke:rgba(255,255,255,0.30);stroke-width:1;stroke-dasharray:2,3;fill:none}
.chart-wrap svg .next-ex-line    {stroke:rgba(229,161,44,0.65);stroke-width:1.5;stroke-dasharray:4,3;fill:none}
.chart-wrap svg .next-ex-label   {fill:var(--gold);font-size:10px;font-weight:600}
.chart-wrap svg .next-ex-badge   {fill:var(--bg);stroke:rgba(229,161,44,0.6);stroke-width:1}

/* Bars */
.chart-wrap svg .bar-eligible {fill:var(--accent);opacity:0.55}
.chart-wrap svg .bar-paused   {fill:var(--faint);opacity:0.35}
.chart-wrap svg .bar-baseline {fill:var(--faint);opacity:0.55}
.chart-wrap svg .bar-current  {fill:var(--accent);opacity:0.9}

/* Dots / spotlights */
.chart-wrap svg .last-dot     {fill:var(--accent);stroke:var(--bg);stroke-width:2}

/* Forward-prediction overlay */
.chart-wrap svg .forward-zone        {fill:color-mix(in srgb, var(--accent) 5%, transparent);stroke:none}
.chart-wrap svg .forward-step-flat   {stroke:var(--btc);fill:none;stroke-width:1.5;opacity:0.55;stroke-dasharray:3,3}
.chart-wrap svg .forward-step-up     {stroke:var(--btc);fill:none;stroke-width:1.8;opacity:0.85;stroke-dasharray:3,3}
.chart-wrap svg .forward-dot         {fill:var(--btc);stroke:var(--bg);stroke-width:1.5}
.chart-wrap svg .forward-label       {fill:var(--btc);font-size:11px;font-weight:700}

/* ---------- Legend (lives outside the SVG) ---------- */
.legend{
  display:flex;gap:14px;
  font-size:10px;color:var(--dim);
  margin-top:8px;flex-wrap:wrap;
}
.legend-dot{
  width:8px;height:8px;border-radius:50%;
  display:inline-block;margin-right:6px;vertical-align:middle;
}
.legend-line{
  width:14px;height:2px;
  display:inline-block;margin-right:6px;vertical-align:middle;
}

/* ----- site/strc.css (overrides) ----- */

/* =============================================================
   _lib/ui/sites/strc.css — STRC dashboard accent + tweaks
   =============================================================
   STRC inherits all chrome from tokens.css + components.css + chart.css.
   This file only adjusts what makes STRC visually distinct from the
   generic platform default.
   ============================================================= */

:root {
  --accent:     #E84B8A;   /* STRC pink */
  --accent-dim: #6B2845;
  /* 2026-05-16 (Merkle pass): single "current cycle" accent — used across
     every chart's current-cycle marker so the eye knows what cyan means
     wherever it appears. Was orange in places, conflicting with the
     "orange = BTC values only" discipline rule. */
  --cycle:     #4FB3D9;
  /* Surface override — STRC ships a grayer dark theme than the SATA-tuned
     defaults in tokens.css. Without these the build would flatten STRC into
     SATA's bluer palette. Audit captured the drift on 2026-05-09. Only
     three surfaces actually diverge; --panel-2 and --grid match SATA. */
  --bg:        #0B0D10;
  --panel:     #11141A;
  --line:      #1F242C;
}

/* STRC ships 4 hero KPI tiles (ATM-WTD live + 3 forecast/price). Override
   the platform default (5 columns) so tiles fill the 800px content wrap
   (matches lede / charts / blurbs below — no breakout). Below 600px we
   stack 2x2 so the labels stay readable — 4 across at that width gets
   too cramped, especially with the live-dot beside "Current price". */
.hero-row{grid-template-columns:repeat(4,1fr)}
@media (max-width:600px){
  .hero-row{grid-template-columns:repeat(2,1fr)}
}

/* Cycle bar not shown on STRC — the day/total text is sufficient */
.cycle-bar{display:none}

/* Projection callouts moved to _lib/ui/components.css 2026-05-09 so SATA
   inherits the same treatment without duplicating per-site. */

/* ---------- TL;DR row, section nav, hero headline (2026-05-16 Merkle pass) ---------- */
.tldr{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  margin:14px 0 18px;
}
.tldr-item{
  background:var(--panel);border:1px solid var(--line);border-radius:12px;
  padding:14px 16px;display:flex;gap:10px;align-items:flex-start;
  color:var(--muted);font-size:12.5px;line-height:1.55;
}
.tldr-num{
  flex-shrink:0;width:22px;height:22px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:color-mix(in srgb, var(--accent) 18%, transparent);
  color:var(--accent);font-weight:700;font-size:11px;
  border:1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.tldr-item strong{color:var(--text);font-weight:600}
@media (max-width:720px){
  .tldr{grid-template-columns:1fr}
}

.section-nav{
  position:sticky;top:0;z-index:20;
  display:flex;gap:4px;overflow-x:auto;
  padding:10px 14px;margin:0 -14px 18px;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  scrollbar-width:thin;
}
.section-nav a{
  color:var(--dim);font-size:11px;font-weight:600;letter-spacing:0.04em;
  padding:6px 10px;border-radius:6px;text-transform:uppercase;
  white-space:nowrap;text-decoration:none;flex-shrink:0;
}
.section-nav a:hover{color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, transparent)}

.hero-headline{
  margin:0 0 18px;padding:0;font-size:17px;line-height:1.45;
  color:var(--text);font-weight:500;letter-spacing:-0.005em;
  font-family:'Fraunces',Georgia,serif;
}
.hero-headline strong{font-weight:600}
.hero-headline .btc-num{color:var(--btc);font-weight:600}
.hero-headline .state-pill{
  display:inline-block;font-size:10px;font-weight:700;letter-spacing:0.08em;
  padding:2px 7px;border-radius:4px;vertical-align:2px;margin-right:6px;
  text-transform:uppercase;
}
@media (max-width:600px){
  .hero-headline{font-size:15px}
}
