/* Open GPU Market — light editorial system: off-white, near-black ink, grey hierarchy,
   hairline rules, uppercase display type, a single electric-blue accent for line art. */
:root {
  color-scheme: light;
  --bg: #fcfcfc;
  --soft: #f7f7f7;
  --soft-2: #f0f0f0;
  --ink: #121212;
  --ink-2: #3d3d3d;
  --muted: #707070;
  --muted-2: #a8a8a8;
  --line: #f0f0f0;
  --line-2: #e8e8e8;
  --accent: #0031f5;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.4vw, 44px);
  --maxw: 1360px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
       letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .note a { text-decoration: underline; text-decoration-color: var(--muted-2); text-underline-offset: 3px; }
p a:hover, .prose a:hover { text-decoration-color: var(--ink); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type */
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-weight: 700; margin: 0; text-transform: uppercase; color: var(--ink); }
h1.display { font-size: clamp(58px, 11vw, 140px); letter-spacing: -0.05em; line-height: .8; }
h1.page { font-size: clamp(48px, 8.4vw, 112px); letter-spacing: -0.05em; line-height: .82; }
h2 { font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: .84; }
h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.05; text-transform: none; }
.lead { font-size: 16px; line-height: 1.4; color: var(--ink-2); max-width: 52ch; }
.lead-mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
             color: var(--ink-2); line-height: 1.6; max-width: 46ch; margin: 0; }
.prose { max-width: 66ch; color: var(--ink-2); font-size: 15px; }
.prose p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin: 16px 0 0; max-width: 90ch; }
.sq { display: inline-block; width: 6px; height: 6px; background: var(--accent); }

/* ---------- header + menu */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-transform: uppercase; }
.head-r { display: flex; align-items: center; gap: 22px; }
.head-r .txt { font-size: 14px; font-weight: 500; }
.head-r .txt:hover { color: var(--muted); }
.menu-btn { width: 38px; height: 38px; background: var(--ink); border: 0; cursor: pointer; display: grid; place-content: center; gap: 4px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1px; background: var(--bg); }
.menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.menu.open { display: block; }
.menu .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; padding-top: 12px; padding-bottom: 32px; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.menu a:hover { color: var(--muted); }
.menu a[aria-current="page"] span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent);
                                                        margin-right: 10px; vertical-align: 2px; }
.menu .label { display: block; padding: 18px 0 6px; }
@media (max-width: 900px) { .menu .wrap { grid-template-columns: 1fr 1fr; } .head-r .txt { display: none; } }

.preview-note { border-bottom: 1px solid var(--line); }
.preview-note .wrap { padding-top: 9px; padding-bottom: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
                      text-transform: uppercase; color: var(--muted); }
.preview-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; font-size: 14px; font-weight: 500;
       background: var(--ink); color: var(--bg); border: 1px solid var(--ink); cursor: pointer; border-radius: 0; white-space: nowrap; }
.btn:hover { background: #2a2a2a; }
.btn.ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { height: 34px; padding: 0 12px; font-size: 13px; }

/* ---------- hero (typographic only) */
.hero { border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0 28px; }
.hero-grid { display: block; }
.hero-copy { display: flex; flex-direction: column; min-height: min(72vh, 720px); }
.hero-copy .stamp { display: grid; gap: 6px; }
.hero-copy h1.display { margin-top: auto; padding-top: clamp(48px, 12vh, 140px); font-size: clamp(44px, 11vw, 160px); }
.hero-copy .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.hero-copy .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ticker-note { margin: 24px 0 0; font-size: 10.5px; color: var(--muted-2); }
@media (max-width: 700px) { .hero-copy { min-height: 0; } .hero-copy h1.display { font-size: clamp(40px, 13vw, 96px); } }

.page-head { padding: clamp(48px, 9vw, 120px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .label { display: block; margin-bottom: 22px; }
.page-head .lead { margin-top: 28px; }
.page-head .meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px 32px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .v { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: .9; margin-top: 18px; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- sections */
section.block { padding: clamp(56px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); }
section.block.tight { padding-top: 32px; }
.block-head { margin-bottom: 40px; }
.block-head .label { display: block; margin-bottom: 18px; }
.block-head .lead { margin-top: 20px; }

/* list rows with arrows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.4fr) auto 20px; gap: 18px; align-items: center;
       padding: 18px 0; border-bottom: 1px solid var(--line); }
.row .ic { width: 18px; height: 18px; color: var(--ink); }
.row .t { font-size: 15px; }
.row .d { font-size: 13px; color: var(--muted); }
.row .c { font-family: var(--mono); font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.row .arr { font-size: 15px; transition: transform .15s; }
.row:hover .arr { transform: translateX(3px); }
.row:hover .t { color: var(--muted); }
.group-label { display: block; padding: 26px 0 10px; }
@media (max-width: 760px) { .row { grid-template-columns: 24px minmax(0, 1fr) 16px; } .row .d, .row .c { display: none; } }

/* ---------- tables */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input[type="search"], .toolbar select { height: 36px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink);
       font-family: var(--sans); font-size: 13px; padding: 0 12px; border-radius: 0; min-width: 0; }
.toolbar input[type="search"] { flex: 1 1 220px; max-width: 340px; }
.toolbar input:focus, .toolbar select:focus { outline: 1px solid var(--ink); outline-offset: -1px; }
.toolbar .count { margin-left: auto; }
.chip-toggle { height: 32px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted-2); font-size: 12px;
               cursor: pointer; font-family: var(--sans); }
.chip-toggle[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-2); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
                text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; cursor: pointer;
                user-select: none; vertical-align: bottom; }
table.data th[aria-sort="ascending"]::after { content: " ↑"; }
table.data th[aria-sort="descending"]::after { content: " ↓"; }
table.data td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:hover td { background: var(--soft); }
table.data td.r, table.data th.r { text-align: right; }
table.data .name { font-weight: 500; }
table.data a.name:hover { color: var(--muted); }
table.data .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.empty { border-top: 1px solid var(--line-2); padding: 40px 0 8px; }
.empty h3 { margin-bottom: 12px; }
.empty p { margin: 0 0 8px; color: var(--ink-2); max-width: 68ch; font-size: 15px; }

/* ---------- evidence markers (kept quiet: grade · status · source) */
.ev-inline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
             text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.grade { display: inline-grid; place-content: center; width: 18px; height: 18px; border: 1px solid var(--ink); color: var(--ink);
         font-family: var(--mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; }
.grade.gA, .grade.gB { background: var(--ink); color: var(--bg); }
.grade.gD, .grade.gE { border-style: dashed; border-color: var(--muted-2); color: var(--muted); }
.ev-inline a:hover { color: var(--ink); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.status::first-letter { text-transform: uppercase; }
.status i { width: 8px; height: 8px; display: inline-block; flex: none; }
.st-operational i { background: var(--ink); }
.st-under_construction i { border: 1.5px solid var(--ink); }
.st-permitted i, .st-planning i, .st-announced i { border: 1px dashed var(--muted); }
.st-paused i { background: var(--muted-2); }
.st-cancelled i, .st-decommissioned i { background: var(--line-2); border: 1px solid var(--muted-2); }
.st-unknown i { background: var(--line-2); }

/* ---------- map */
.map-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
#map { min-height: 620px; background: var(--soft); }
.map-side { border-left: 1px solid var(--line-2); padding: 22px; overflow: auto; max-height: 660px; }
.map-side .legend { display: grid; gap: 8px; margin: 14px 0 26px; }
.map-side .sel { border-top: 1px solid var(--line); padding-top: 18px; }
.map-side .sel h3 { margin: 10px 0 14px; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; font-size: 14px; margin: 0; }
.kv dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }
.kv dd { margin: 0; }
.mk { width: 12px; height: 12px; background: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.mk.under_construction { background: var(--bg); }
.mk.announced, .mk.planning, .mk.permitted { background: var(--bg); border: 1.5px dashed var(--muted); }
.mk.paused { background: var(--muted-2); border-color: var(--muted-2); }
.mk.cancelled, .mk.decommissioned { background: var(--line-2); border-color: var(--muted-2); }
.mk.active { background: var(--accent); border-color: var(--accent); }
.leaflet-container { font-family: var(--sans); background: var(--soft); }
.leaflet-container img { max-width: none !important; }
.leaflet-tile-pane { filter: grayscale(1) contrast(1.1); }
.leaflet-bar a, .leaflet-bar a:hover { border-radius: 0 !important; color: var(--ink); }
.leaflet-bar { border-radius: 0 !important; border: 1px solid var(--line-2) !important; box-shadow: none !important; }
@media (max-width: 900px) { .map-shell { grid-template-columns: 1fr; } #map { min-height: 420px; }
  .map-side { border-left: 0; border-top: 1px solid var(--line-2); max-height: none; } }

/* ---------- record detail */
.detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; }
.detail aside { border-left: 1px solid var(--line); padding-left: 28px; }
@media (max-width: 900px) { .detail { grid-template-columns: minmax(0, 1fr); } .detail aside { border-left: 0; padding-left: 0;
  border-top: 1px solid var(--line); padding-top: 24px; } }
.kv.wide { grid-template-columns: 220px minmax(0, 1fr); gap: 0 20px; border-top: 1px solid var(--line-2); }
.kv.wide dt, .kv.wide dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .kv.wide { grid-template-columns: 1fr; } .kv.wide dt { border-bottom: 0; padding-bottom: 0; } }
.sub-label { display: block; margin: 44px 0 12px; }
.evidence { border-top: 1px solid var(--line-2); }
.ev { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.ev .u { word-break: break-all; font-size: 14px; }
.ev .h { font-family: var(--mono); font-size: 11px; color: var(--muted); word-break: break-all; }

/* ---------- callouts, cards */
.callout { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 16px 0; margin: 0 0 32px;
           display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
.callout p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 80ch; }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; gap: 6px; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line-2); }
.card { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.card h3 { margin: 12px 0 12px; }
.card p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.card .src { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.card .src a:hover { color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- charts */
.chart { width: 100%; height: auto; display: block; }
.chart .ax { stroke: var(--line-2); }
.chart .axt { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.chart .ln { fill: none; stroke-width: 1.6; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--ink-2); }
.chart-legend span i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; }
.tip { position: fixed; pointer-events: none; background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 11px;
       padding: 7px 9px; z-index: 2000; display: none; white-space: nowrap; }

/* ---------- tabs */
.tabs { display: flex; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 12px 0; margin-right: 28px;
               font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2);
               cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabpanel[hidden] { display: none; }
details summary { cursor: pointer; }

/* ---------- footer */
.site-footer { padding: 56px 0 72px; }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer a { display: block; font-size: 14px; padding: 4px 0; color: var(--ink-2); }
.site-footer a:hover { color: var(--muted); }
.site-footer .label { display: block; margin-bottom: 10px; }
.site-footer p { font-size: 12px; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } .site-footer .grid > :first-child { grid-column: 1 / -1; } }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px; z-index: 3000; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid var(--line-2); font-family: var(--mono);
         font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- landing: price ticker strip */
.ticker { height: 48px; border-bottom: 1px solid var(--line-2); display: flex; align-items: stretch; background: var(--bg); }
.tk-fixed { flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 18px 0 var(--gutter); border-right: 1px solid var(--line-2);
            font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--bg); }
.tk-fixed small { font-weight: 400; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.tk-scroll { flex: 1; overflow: hidden; display: flex; align-items: center;
             -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tk-track { display: flex; width: max-content; animation: tk 60s linear infinite; }
.tk-scroll:hover .tk-track { animation-play-state: paused; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em;
      text-transform: uppercase; white-space: nowrap; border-right: 1px solid var(--line); }
.tk b { font-weight: 600; color: var(--ink); font-size: 12.5px; }
.tk i { font-style: normal; color: var(--muted-2); font-size: 10.5px; }
.tk em { font-style: normal; color: var(--ink); font-size: 12.5px; }
.tk s { text-decoration: none; font-size: 11px; }
.tk s.up { color: #0f9d58; } .tk s.down { color: #e5383b; } .tk s.flat { color: var(--muted-2); }
.ticker-note { position: relative; margin: 28px 0 0; font-size: 10.5px; color: var(--muted-2); }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } }
@media (max-width: 700px) { .tk-fixed { padding: 0 12px 0 16px; font-size: 10.5px; } .tk-fixed small { display: none; } }

/* ---------- price discovery */
.chg { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.chg.up { color: #0f9d58; } .chg.down { color: #e5383b; } .chg.flat { color: var(--muted-2); }
#pb .pb-row { cursor: pointer; }
#pb .pb-row .caret { display: inline-block; width: 14px; color: var(--muted); font-family: var(--mono); }
#pb .pb-row.open td { background: var(--soft); border-bottom-color: transparent; }
#pb tr.pb-detail > td { padding: 0 0 18px; background: var(--soft); }
table.data.inner { background: var(--bg); border-top: 1px solid var(--line-2); }
table.data.inner td, table.data.inner th { padding-left: 12px; }
table.data.inner th { cursor: default; }
.region-bar .chip-toggle { font-size: 13px; height: 34px; }
.region-bar select, .region-bar input { height: 34px; }
.spark { display: block; }
.inner .sub { white-space: nowrap; }
.tk u.spot { text-decoration: none; font-size: 9.5px; padding: 1px 4px; border: 1px solid var(--line-2); color: var(--muted); letter-spacing: .04em; }
.charts { gap: 32px; }
.chart-card { margin: 0; border-top: 1px solid var(--line-2); padding-top: 12px; min-width: 0; }
.chartbox { width: 100%; min-height: 150px; }
.pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.pulse-card { min-width: 0; }
.pulse-card .pv { margin: 10px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pulse-card .pv b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.pulse-card .pv small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; }
@media (max-width: 900px) { .pulse { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pulse { grid-template-columns: 1fr; } }

/* ---------- spot terminal */
.term { border: 1px solid var(--line-2); background: var(--bg); }
.term-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); }
.seg button { height: 32px; padding: 0 12px; background: var(--bg); border: 0; border-right: 1px solid var(--line-2); font-family: var(--mono);
              font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg.small button { height: 26px; padding: 0 10px; font-size: 10.5px; }
.term-body { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 520px; }
.zones { border-right: 1px solid var(--line-2); max-height: 640px; overflow: auto; }
.zones-head { padding: 10px 14px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--bg); z-index: 1; }
.city-head { display: flex; justify-content: space-between; padding: 10px 14px 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase;
             letter-spacing: .04em; background: var(--soft); border-bottom: 1px solid var(--line); }
.zone { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; width: 100%; padding: 10px 14px; background: var(--bg);
        border: 0; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; cursor: pointer; text-align: left; color: var(--ink); }
.zone:hover { background: var(--soft); }
.zone.on { border-left-color: var(--accent); background: #f3f5ff; }
.zone .zn { font-family: var(--mono); font-size: 12px; font-weight: 600; display: grid; }
.zone .zn small { font-weight: 400; font-size: 10px; color: var(--muted); }
.zone .zp { font-family: var(--mono); font-size: 13px; font-weight: 600; text-align: right; display: grid; }
.zone .zp small { font-size: 10.5px; font-weight: 500; }
.zone .zp small.up, .chip.up { color: #0f9d58; } .zone .zp small.down, .chip.down { color: #e5383b; } .zone .zp small.flat, .chip.flat { color: var(--muted); }
.term-main { padding: 16px 18px 14px; min-width: 0; display: flex; flex-direction: column; }
.quote-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qh-price { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.qh-price b { font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.qh-price span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.qh-r { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--line-2); white-space: nowrap; }
.term-chart-top { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; gap: 10px; flex-wrap: wrap; }
.term-chart { width: 100%; }
.tchart .ax { stroke: var(--line); } .tchart .axt { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.seg.range { align-self: center; margin-top: 8px; }
@media (max-width: 900px) { .term-body { grid-template-columns: 1fr; } .zones { border-right: 0; border-bottom: 1px solid var(--line-2); max-height: 300px; } }

/* ---------- logo */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo .mark { flex: none; }
.logo .wm { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.logo .wm b { font-family: var(--sans); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--accent); }
.logo .wm span { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.logo:hover .wm span { color: var(--muted); }
@media (max-width: 420px) { .logo .wm b { font-size: 17px; } .logo .wm span { font-size: 11px; letter-spacing: .14em; } }
.detail > * { min-width: 0; }

/* ---------- phone layout */
@media (max-width: 700px) {
  .page-head .meta { gap: 4px 16px; }
  .page-head .meta .label { font-size: 11px; }
  .term { border-left: 0; border-right: 0; margin: 0 calc(var(--gutter) * -1); }
  .term-bar { flex-direction: column; gap: 8px; padding: 10px var(--gutter); }
  .term-bar .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .term-bar .seg::-webkit-scrollbar { display: none; }
  .term-bar .seg button { flex: none; height: 36px; }
  .term-body { display: flex; flex-direction: column; }
  .term-main { order: 1; padding: 14px var(--gutter) 12px; }
  .zones { order: 2; max-height: none; border-top: 1px solid var(--line-2); border-bottom: 0; }
  .qh-price b { font-size: 44px; }
  .qh-r .chip { font-size: 10.5px; padding: 3px 6px; }
  .term-chart-top .label { font-size: 10px; }
  .seg.range button { height: 34px; min-width: 52px; }
  .region-bar { gap: 6px; }
  .region-bar #pb-q { flex-basis: 100%; max-width: none; }
  table.data { font-size: 13px; }
  table.data th, table.data td { padding-right: 10px; }
  .pulse-card .pv b { font-size: 26px; }
  .stat .v { font-size: 36px; }
  .btn { height: 46px; }
}
.hero-copy .lead-mono { max-width: 52ch; }

/* ---------- hero heatmap */
.hero-grid.has-heat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-grid.has-heat h1.display { font-size: clamp(44px, 6.6vw, 116px); }
.heat { border: 1px solid var(--line-2); background: var(--bg); padding: 16px; min-width: 0; }
.heat-t, .heat-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px;
                   letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.heat-t { margin-bottom: 12px; } .heat-f { margin-top: 12px; }
.heat-f a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.heat-g { display: grid; grid-template-columns: 88px repeat(3, minmax(0, 1fr)); gap: 2px; }
.hc { padding: 8px 8px 7px; text-align: right; font-family: var(--mono); font-size: 12.5px; line-height: 1.2; min-width: 0; }
.hc b { font-weight: 600; display: block; white-space: nowrap; }
.hc small { display: block; font-size: 9.5px; opacity: .78; text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc.h { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 0; }
.hc.m { text-align: left; font-weight: 600; color: var(--ink); display: flex; align-items: center; }
.hc.na { background: var(--soft); color: var(--muted-2); display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 900px) { .hero-grid.has-heat { grid-template-columns: 1fr; } .hero-grid.has-heat h1.display { font-size: clamp(40px, 13vw, 96px); } }
@media (max-width: 420px) { .heat-g { grid-template-columns: 70px repeat(3, minmax(0, 1fr)); } .hc { font-size: 11.5px; padding: 7px 5px; } }
