/* Northern Lights AI × Hexis: one visual system for every screen.
   Two voices: Archivo (sans) states facts, labels and numbers; Newsreader (serif) is prose that
   explains. If it is set in the serif, it is narrative, never a computed value. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14px/1.45 var(--sans); font-variation-settings: 'wdth' 100; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, select, input { font: inherit; color: inherit; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .92em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
small { font-size: .8em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.voice { font-family: var(--serif); font-variant-numeric: lining-nums; }
.is-neg { color: var(--neg); } .is-pos { color: var(--pos); } .is-warn { color: var(--warn); }
.pnl.is-neg, .pnl-big.is-neg { color: var(--crit); }      /* money lost is a status, not a delta direction */
.pnl.is-pos, .pnl-big.is-pos { color: var(--good); }

/* ---------- shell (v2): one top bar, one column ----------
   brand · Morning · More · time machine · Export PDF · theme. Morning is the product; the other screens
   sit in the More menu on purpose, so they never read as tabs of equal weight. */
:root { --bar-h: 58px; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--s5); padding: 9px var(--s6); background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.brand-name { font-weight: 700; font-size: 14px; line-height: 1.12; font-variation-settings: 'wdth' 108; letter-spacing: -.005em; }
.brand-x { display: block; font-weight: 500; color: var(--ink-3); font-variation-settings: 'wdth' 100; }
.nav { display: flex; align-items: center; gap: 2px; flex: none; }
.nav-a, .more > summary { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.more > summary::-webkit-details-marker, .sec-menu > summary::-webkit-details-marker, #mv-drawer > summary::-webkit-details-marker { display: none; }
.nav-a[aria-current], .more > summary.on { background: var(--ink); color: var(--surface); }
.nav-a:hover:not([aria-current]), .more > summary:hover:not(.on) { color: var(--ink); background: var(--surface-2); }
.more { position: relative; }
.more > summary { font-weight: 500; }
.more > summary svg { width: 9px; height: 6px; transition: transform .15s; }
.more[open] > summary svg { transform: rotate(180deg); }
.more ul { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 272px; padding: 6px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 14px 34px -14px rgb(14 27 42 / .4); }
.more li a { display: grid; gap: 1px; padding: 8px 10px; border-radius: var(--radius-s); text-decoration: none; }
.more li a:hover, .more li a[aria-current] { background: var(--surface-2); }
.more li span { font-size: 12px; color: var(--ink-3); }
.tools { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.tools .btn { padding: 6px 13px; font-size: 13px; }
.ghost-btn { background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ghost-btn:hover { border-color: var(--ink); color: var(--ink); }
.fine { font-size: 11.5px; color: var(--ink-3); line-height: 1.35; }
.appfoot { margin-top: auto; padding: var(--s4) var(--s6) var(--s5); border-top: 1px solid var(--line); }
select { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 5px 26px 5px 9px; max-width: 250px; cursor: pointer; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; font-weight: 600; white-space: nowrap; }
.link-btn:hover { text-decoration-color: currentColor; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the time machine: an operating day and one minute of its report morning. Amber means "not now". */
.tm { flex: 1 1 760px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.tm.is-past { background: var(--tm-bg); border-color: color-mix(in srgb, var(--tm) 50%, transparent); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); font-weight: 600; }
.tm .tm-mode { border-radius: 999px; flex: none; }
.tm .tm-mode button { padding: 4px 12px; font-size: 12.5px; }
.tm.is-past .tm-mode { border-color: var(--tm); }
.tm.is-past .tm-mode button[aria-pressed="true"] { background: var(--tm); color: var(--tm-bg); }
#tm-day { border-radius: 999px; padding: 4px 26px 4px 12px; font-size: 12.5px; max-width: 232px; min-width: 0; flex: 0 1 auto; border-color: color-mix(in srgb, var(--tm) 50%, transparent); }
.tm-step { flex: none; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tm) 50%, transparent); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.tm-step svg { width: 7px; height: 11px; }
.tm-step:hover { border-color: var(--ink); color: var(--ink); }
.tm-scrub { position: relative; flex: 1 1 200px; min-width: 150px; height: 34px; }
.tm-scrub input[type=range] { position: absolute; left: 0; top: 1px; width: 100%; height: 16px; margin: 0; padding: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; z-index: 1; }
.tm-scrub input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--tm) 40%, var(--line-strong)); }
.tm-scrub input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--tm) 40%, var(--line-strong)); }
.tm-scrub input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--tm); border: 3px solid var(--tm-bg); box-shadow: 0 0 0 1px var(--tm); }
.tm-scrub input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%; background: var(--tm); border: 3px solid var(--tm-bg); box-shadow: 0 0 0 1px var(--tm); }
.tm-ticks { position: absolute; left: 8px; right: 8px; top: 15px; height: 18px; pointer-events: none; }      /* 8px = half the thumb, so ticks sit under its centre */
.tk { position: absolute; left: calc(var(--p) * 1%); top: 0; width: 1px; height: 5px; background: var(--ink-3); }
.tk span { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 600; font-style: normal; color: var(--ink-3); white-space: nowrap; font-variation-settings: 'wdth' 85; }
.tk-cut { width: 2px; height: 7px; background: var(--tm); } .tk-cut span { color: var(--tm); }
.tk-due { background: var(--crit); }
.tm-time { flex: none; display: grid; text-align: right; line-height: 1.1; min-width: 96px; }
.tm-time strong, .tm-live strong { font-size: 18px; font-weight: 700; font-variation-settings: 'wdth' 92; letter-spacing: -.01em; }
.tm-time small, .tm-live small { font-size: 10.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.tm-live { flex: 1; display: flex; align-items: baseline; gap: 8px; padding: 0 4px; min-width: 0; }
.tm-live .pulse-dot { align-self: center; flex: none; }
.tm-note { margin-left: auto; font-size: 11.5px; color: var(--ink-3); border-bottom: 1px dotted var(--ink-3); cursor: help; white-space: nowrap; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 var(--good); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.ban { display: flex; gap: 10px; align-items: flex-start; padding: 9px var(--s6); font-size: 13px; border-bottom: 1px solid var(--line); }
.ban .pg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.ban p { max-width: 110ch; }
.ban-sim { background: var(--sim-bg); } .ban-sim .pg { color: var(--pos); }

/* the print frame is a table only so its header can repeat on every printed page; on screen it is plain blocks */
.pf { width: 100%; border-collapse: collapse; border-spacing: 0; }
.pf, .pf > tbody, .pf > tbody > tr, .pf > tbody > tr > td { display: block; padding: 0; }
.pf > thead, .pf > tfoot { display: none; }
main.screen { width: 100%; padding: var(--s5) var(--s6) var(--s8); max-width: 1480px; margin: 0 auto; display: grid; gap: var(--s6); align-content: start; }
main.screen-morning { max-width: 1280px; }
main:focus { outline: none; }

/* ---------- type and shared pieces ---------- */
h1 { font-size: 30px; line-height: 1.1; font-weight: 700; font-variation-settings: 'wdth' 106; letter-spacing: -.015em; }
h2 { font-size: 18px; line-height: 1.2; font-weight: 700; font-variation-settings: 'wdth' 104; letter-spacing: -.005em; margin-bottom: var(--s3); }
h3 { font-size: 14.5px; font-weight: 700; }
section > h2:not(:first-child), .col-side > h2:not(:first-child), .col-main > h2:not(:first-child) { margin-top: var(--s6); }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }
.shead-r { display: flex; gap: var(--s4); align-items: flex-end; flex-wrap: wrap; }
.lede { color: var(--ink-2); max-width: 72ch; margin-top: 6px; font-size: 14.5px; }
.kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: var(--s3); }
.aside { font-size: 12.5px; color: var(--ink-3); margin-top: var(--s2); max-width: 78ch; }
.hint { font-size: 12px; color: var(--ink-3); padding: 0 var(--s4) var(--s3); }
.tag { font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap; }
.count-n { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: var(--s7); align-items: start; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius-s); padding: 7px 14px; font-weight: 600; font-size: 13.5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.quiet:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .35; cursor: default; }
.ctl { display: grid; gap: 3px; }
.ctl-l { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.ctl-v { font-weight: 600; padding: 5px 0; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-s); overflow: hidden; background: var(--surface); }
.seg button { background: none; border: 0; border-right: 1px solid var(--line); padding: 5px 11px; cursor: pointer; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--surface); font-weight: 600; }
.seg button[disabled] { color: var(--ink-3); opacity: .55; cursor: help; text-decoration: line-through; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 500; padding: 5px 0; white-space: nowrap; }
.switch input { appearance: none; width: 30px; height: 18px; border-radius: 9px; background: var(--line-strong); position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch input::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); transition: transform .15s; }
.switch input:checked { background: var(--ink); } .switch input:checked::after { transform: translateX(12px); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line-strong); border-left: 3px solid var(--tm); border-radius: var(--radius-s); background: var(--surface); font-size: 13.5px; max-width: 108ch; }
.notice .pg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--tm); }
.empty { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-s); color: var(--ink-2); font-size: 13px; background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--line) 45%, transparent) 7px 8px); }
.empty .pg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--ink-3); }
.empty strong { display: block; color: var(--ink); } .empty p { max-width: 70ch; }

/* provenance chips: a glyph with a word; details on hover or focus */
.chip { display: inline-flex; align-items: center; gap: 4px; vertical-align: 1px; font: 550 11.5px/1 var(--sans); font-variation-settings: 'wdth' 90; color: var(--ink-2); padding: 3px 8px 3px 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); cursor: help; white-space: nowrap; }
.chip .pg { width: 11px; height: 11px; }
.chip.quiet { border: 0; padding: 2px; background: none; color: var(--ink-3); vertical-align: -2px; }
.chip.quiet .pg { width: 12px; height: 12px; }
.chip-forecast, .chip-forecast.quiet { color: var(--plan); }
.chip-simulated { border-style: dashed; border-color: var(--pos); color: var(--pos); background: var(--sim-bg); }
.chip-simulated.quiet { color: var(--pos); background: none; }
.chip-not_loaded { border-style: dashed; color: var(--ink-3); }
.chip-ai { font-family: var(--serif); font-style: italic; font-size: 12.5px; }
.side { display: inline-block; font-weight: 700; font-size: 11.5px; padding: 1px 6px; border-radius: 4px; border: 1.5px solid currentColor; cursor: help; font-variation-settings: 'wdth' 92; }
.side-inc { color: var(--neg); } .side-dec { color: var(--pos); }
.tip { position: absolute; left: 0; top: 0; z-index: 60; max-width: 340px; background: var(--ink); color: var(--page); padding: 9px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.4; pointer-events: none; box-shadow: 0 6px 24px rgb(0 0 0 / .22); }
.tip p + p { margin-top: 3px; opacity: .86; } .tip .lead { font-weight: 600; }

/* keys and legends */
.fig-foot, .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.fig-foot { padding: var(--s3) var(--s4) var(--s4); }
.key { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; background: var(--div-mid); }
.sw.neg { background: var(--neg); } .sw.pos { background: var(--pos); }
.sw.ghost { background: none; border: 2px solid var(--ghost); border-radius: 50%; }
.sw.na, td.na { background: repeating-linear-gradient(135deg, var(--surface-2) 0 3px, var(--line) 3px 4px); }
.ln { width: 20px; height: 0; border-top: 2.5px solid var(--c, var(--ink)); display: inline-block; }
.ln.dash { border-top-style: dashed; } .ln.plan { --c: var(--plan); } .ln.ink { --c: var(--ink); } .ln.ghost { --c: var(--ghost); }
.tri { width: 0; height: 0; border: 6px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; }
.scale-note { color: var(--ink-3); }
.dlegend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .dlegend > span, .dlegend em { white-space: nowrap; }
.nw { white-space: nowrap; }
.dl-steps { display: inline-flex; gap: 2px; } .dl-steps i { width: 18px; height: 12px; border-radius: 2px; cursor: help; }
.dlegend em { font-style: normal; color: var(--ink-3); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c, transparent); margin-right: 6px; vertical-align: 0; }
.meter { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 5px 0 3px; max-width: 160px; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.bignum { font-size: 32px; font-weight: 700; line-height: 1.05; font-variation-settings: 'wdth' 92; letter-spacing: -.02em; }
.bignum small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: 4px; font-variation-settings: 'wdth' 100; }

/* figures: the only things that sit on a surface */
.hero-fig, .panel, .tape-main, .net-map { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); padding: var(--s4) var(--s4) var(--s2); flex-wrap: wrap; }
figcaption strong { display: block; font-size: 14.5px; }
figcaption span { color: var(--ink-3); font-size: 12.5px; }
figcaption select { padding: 2px 24px 2px 6px; font-weight: 700; margin-left: 4px; }
.panel .chart { margin: 0 var(--s2); } .panel .legend { padding: 0 var(--s4) var(--s3); }
.chart { width: 100%; }

/* tables */
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); border-bottom-color: var(--line-strong); white-space: nowrap; font-variation-settings: 'wdth' 90; }
.tbl tbody th { font-weight: 600; white-space: nowrap; }
.tbl tbody th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tr.cur > * { background: var(--surface); box-shadow: inset 0 1px 0 var(--ink), inset 0 -1px 0 var(--ink); }
.tbl tr.grp th { font-size: 12px; color: var(--ink-2); padding-top: 14px; background: none; }
.rules, .plain, .drivers { display: grid; gap: 0; }
.rules li, .plain li { display: grid; gap: 1px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rules li span, .plain li span { color: var(--ink-2); font-size: 13px; }
.drivers li { padding: 8px 0 8px 14px; border-bottom: 1px solid var(--line); position: relative; }
.drivers li::before { content: ''; position: absolute; left: 0; top: 15px; width: 6px; height: 2px; background: var(--ink-3); }
.lineage { display: grid; gap: 0; }
.lineage > div { display: grid; grid-template-columns: 130px 1fr; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid var(--line); }
.lineage dt { color: var(--ink-3); font-size: 12.5px; font-weight: 600; } .lineage dd .muted { display: block; font-size: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.facts > div { border-top: 2px solid var(--ink); padding-top: 8px; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.facts dd { font-size: 24px; font-weight: 700; font-variation-settings: 'wdth' 92; letter-spacing: -.015em; line-height: 1.15; }
.facts dd small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.facts span { font-size: 12px; color: var(--ink-3); }
.facts.tight { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); } .facts.tight dd { font-size: 19px; }
.facts.two { grid-template-columns: 1fr 1fr; }

/* ---------- the hour curtain ---------- */
.curtain { display: block; width: 100%; height: auto; padding: 0 var(--s4); overflow: visible; }
.curtain text { font-family: var(--sans); fill: var(--ink-3); font-size: 11px; }
.cu-grid { stroke: var(--line); stroke-width: 1; } .cu-grid.zero { stroke: var(--ink-3); }
.cu-he { font-weight: 600; font-size: 11.5px !important; fill: var(--ink-2) !important; } .cu-he.now { fill: var(--ink) !important; font-weight: 800; }
.cu-now { fill: var(--ink); opacity: .06; }
.cu-obs.neg, .cu-mid.neg { fill: var(--neg); } .cu-obs.pos, .cu-mid.pos { fill: var(--pos); }
.cu-band.neg { fill: var(--neg); opacity: .22; } .cu-band.pos { fill: var(--pos); opacity: .22; }
.cu-clip { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cu-ghost { fill: var(--surface); stroke: var(--ghost); stroke-width: 2.5; }
.cu-gap { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 4; stroke-linecap: round; }
.cu-hit { fill: transparent; cursor: help; } .cu-hit:hover, .cu-hit:focus-visible { fill: var(--ink); fill-opacity: .06; outline: none; }
.cu-br { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; } .cu-br.inc { stroke: var(--neg); } .cu-br.dec { stroke: var(--pos); }
.cu-brl { font-weight: 700; font-size: 12px !important; fill: var(--ink) !important; }
.curtain.compact { padding: 0; min-width: 220px; height: 30px; }
:root[data-theme="dark"] .curtain:not(.compact) :is(.cu-obs, .cu-mid) { filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor 0%, var(--glow, transparent))); }
:root[data-theme="dark"] .curtain:not(.compact) .neg:is(.cu-obs, .cu-mid) { filter: drop-shadow(0 0 6px rgb(26 166 124 / .55)); }
:root[data-theme="dark"] .curtain:not(.compact) .pos:is(.cu-obs, .cu-mid) { filter: drop-shadow(0 0 6px rgb(152 105 238 / .6)); }
.spark { display: block; } .spark-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; } .spark-dot { fill: var(--ink); } .spark-zero { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 3; }

/* ---------- pieces shared by the secondary screens ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-decoration: none; margin-bottom: 10px; }
.back svg { width: 12px; height: 10px; }
.back:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.voice.sub { font-size: 18px; line-height: 1.4; color: var(--ink-2); margin-top: var(--s4); max-width: 46ch; text-wrap: pretty; }
.changes li { display: grid; grid-template-columns: 74px 92px minmax(0, 1fr) auto; gap: var(--s3); align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.changes time { font-weight: 700; } .changes time small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }
.ch-kind { font-size: 12px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ch-kind::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.ch-alert .ch-kind::before { background: var(--crit); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); } .ch-gas .ch-kind::before { background: var(--warn); border-radius: 0; transform: rotate(45deg); } .ch-outage .ch-kind::before { border-radius: 1px; background: var(--ink-2); }
.changes a { text-decoration: none; overflow-wrap: anywhere; } .changes a:hover { text-decoration: underline; }
.pn { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.kv li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); padding: 9px 0; border-bottom: 1px solid var(--line); } .kv strong { font-size: 17px; } .kv em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--ink-3); }
.locs-tbl .c-cur { width: 34%; min-width: 230px; padding-top: 3px; padding-bottom: 3px; }
.defn { border-bottom: 1px dotted var(--ink-3); cursor: help; }
.defn-line { margin-top: var(--s4); max-width: 60ch; } .defn-line strong { color: var(--ink-2); }

/* ---------- Morning (v2) ----------
   One column, read top to bottom in five minutes. The priorities are the only cards; the chart stack is the
   only other surface. Everything else sits on the page, separated by space and hairlines. */
.mview { display: grid; gap: var(--s6); min-width: 0; }
.mcols { display: grid; gap: var(--s6); min-width: 0; }
.msec, .pane, .pcard { min-width: 0; scroll-margin-top: calc(var(--bar-h) + 56px); }

/* 2. status strip: one line */
.sline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px var(--s6); padding-bottom: var(--s3); border-bottom: 2px solid var(--ink); }
.sline h1 { display: grid; gap: 3px; font-size: 27px; white-space: nowrap; }
.sline h1 small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; font-variation-settings: 'wdth' 100; }
.sl-items { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; color: var(--ink-2); padding-bottom: 4px; }
.sl-items > span:not(.tag) { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.sl-items > span:first-child { padding-left: 0; border-left: 0; }
.sl-items em { font-style: normal; font-weight: 600; color: var(--ink); } .sl-items em.urgent { color: var(--crit); }
.sl-note { cursor: help; } .sl-note .pg { width: 12px; height: 12px; color: var(--warn); }
.sl-items .tag { margin-left: 4px; cursor: help; }
.sl-fresh { flex-basis: 100%; padding-bottom: 0; font-size: 12.5px; color: var(--ink-3); }
.sl-fresh b { font-weight: 600; color: var(--ink-2); } .sl-fresh > span[tabindex] { cursor: help; }
.sl-fresh .sl-k { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.sl-latest { flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start; margin: 0 0 4px; padding: 8px 12px; border-radius: 8px; background: var(--surface-2, rgba(127,127,127,.08)); font-size: 13.5px; color: var(--ink-2); }
.sl-latest svg { flex: none; margin-top: 2px; }
.older-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 var(--s3); padding: 8px 12px; border-left: 3px solid var(--line-strong); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--ink-2); }
.older-note svg { flex: none; margin-top: 2px; } .older-note strong { color: var(--ink); }
.mnote { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-top: calc(-1 * var(--s4)); } .mnote .pg { width: 12px; height: 12px; flex: none; }

/* section headers, status chips, note tools */
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: 8px var(--s4); margin-bottom: var(--s3); flex-wrap: wrap; }
.sec-t { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; min-width: 0; } .sec-t h2 { margin: 0; }
.sec-r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* final = quiet and solid; updating / live = the live colour; coming = dashed outline; waiting = warning.
   The colour sits in the icon and the edge; the words stay ink so they pass contrast in both themes. */
.st { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--sans); font-variation-settings: 'wdth' 92; color: var(--ink-2); padding: 4px 9px 4px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; cursor: help; }
.st svg { width: 12px; height: 12px; flex: none; }
.st-final svg { color: var(--ink-3); }
.st-updating, .st-live { color: var(--ink); background: color-mix(in srgb, var(--good) 9%, transparent); border-color: color-mix(in srgb, var(--good) 45%, transparent); }
.st-updating svg, .st-live svg { color: var(--good); }
.st-coming { background: none; border: 1px dashed var(--line-strong); }
.st-waiting { color: var(--ink); background: color-mix(in srgb, var(--warn) 11%, transparent); border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.st-waiting svg { color: var(--warn); }
.st-late { border-style: dashed; }
.note-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 0; border-radius: 11px; background: var(--ink); color: var(--surface); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.sec-menu { position: relative; }
.sec-menu > summary { list-style: none; width: 26px; height: 22px; display: grid; place-items: center; border-radius: 6px; cursor: pointer; color: var(--ink-3); }
.sec-menu > summary:hover, .sec-menu[open] > summary { background: var(--surface-2); color: var(--ink); }
.sec-menu > summary svg { width: 15px; height: 4px; fill: currentColor; }
.sec-menu-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 150px; padding: 4px; display: grid; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-s); box-shadow: 0 10px 26px -12px rgb(14 27 42 / .4); }
.sec-menu-pop button { background: none; border: 0; text-align: left; padding: 7px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; white-space: nowrap; }
.sec-menu-pop button:hover { background: var(--surface-2); }

/* a section that is not here yet keeps its place, so the page does not jump while the morning is scrubbed */
.pending { display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; padding: var(--s5); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-2); }
.pending > strong { font-size: 16px; color: var(--ink); font-variation-settings: 'wdth' 104; }
.pending p { max-width: 64ch; font-size: 13px; }
.pend-c { font-size: 30px; font-weight: 700; line-height: 1.1; font-variation-settings: 'wdth' 92; letter-spacing: -.02em; color: var(--ink); }
.pend-n { display: flex; gap: 10px; margin-top: 6px; }
.pend-n i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--ink-3); }
.pending.is-waiting { border-color: color-mix(in srgb, var(--warn) 50%, var(--line-strong)); background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--line) 45%, transparent) 7px 8px); }
.pending .btn { margin-top: 6px; }

/* 3. the three priorities */
.gloss { font-size: 12.5px; color: var(--ink-3); margin: -4px 0 var(--s4); max-width: 110ch; }
.gloss .sw { width: 9px; height: 9px; margin: 0 5px 0 4px; vertical-align: -1px; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); align-items: stretch; }
.pcards.n1 { grid-template-columns: minmax(0, 560px); } .pcards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: var(--s4) var(--s4) var(--s3); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); }
.pcard.is-call.neg { border-top-color: var(--neg); } .pcard.is-call.pos { border-top-color: var(--pos); }
.pcard.is-watch { background: none; border: 1px dashed var(--line-strong); }      /* a watch item is quieter than a call */
.pc-h { display: flex; align-items: center; gap: 8px; }
.pcard .pn { width: 24px; height: 24px; font-size: 12.5px; background: var(--ink); color: var(--surface); }
.pcard.is-watch .pn { background: none; color: var(--ink-3); border: 1.5px dashed var(--line-strong); }
.pc-kind { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pc-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pcard h3 { font-size: 19px; line-height: 1.15; font-variation-settings: 'wdth' 104; letter-spacing: -.01em; }
.pcard.is-watch h3 { font-size: 16.5px; color: var(--ink-2); }
.pc-dir { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; margin-top: -4px; }
.pc-dir .sw { width: 10px; height: 10px; flex: none; }
.pc-where { font-size: 12.5px; color: var(--ink-3); margin-top: -6px; cursor: help; }
.pc-delta { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; margin-top: 4px; }
.pc-dl { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.pc-delta strong { font-size: 30px; font-weight: 700; line-height: 1; font-variation-settings: 'wdth' 92; letter-spacing: -.02em; }
.pcard.is-watch .pc-delta strong { font-size: 22px; color: var(--ink-2); }
.pc-rng { font-size: 12.5px; color: var(--ink-2); }
.rb-track { position: relative; height: 10px; border-radius: 5px; background: var(--surface-2); }
.pcard.is-watch .rb-track { background: color-mix(in srgb, var(--line) 60%, transparent); }
.rb-band { position: absolute; top: 0; bottom: 0; opacity: .32; }
.rb-band.neg { background: var(--neg); border-radius: 5px 0 0 5px; } .rb-band.pos { background: var(--pos); border-radius: 0 5px 5px 0; }
.rb-zero { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--ink-3); }
.rb-mid { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 2px; }
.rb-mid.neg { background: var(--neg); } .rb-mid.pos { background: var(--pos); }
.rb-ax { position: relative; height: 14px; }
.rb-ax span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 10px; color: var(--ink-3); }
.pc-ev { display: grid; border-top: 1px solid var(--line); }
.pc-ev > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pc-ev dt { font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding-top: 1px; }
.pc-ev dd { display: grid; gap: 5px; font-size: 13px; line-height: 1.35; color: var(--ink-2); min-width: 0; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.dots i.on.neg { background: var(--neg); border-color: var(--neg); } .dots i.on.pos { background: var(--pos); border-color: var(--pos); }
.rbars { position: relative; display: inline-flex; gap: 4px; height: 26px; width: max-content; }
.rbars::before { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 1px; background: var(--line-strong); }
.rbars i { position: relative; width: 12px; cursor: help; }
.rbars i::after { content: ''; position: absolute; left: 0; right: 0; height: max(2px, var(--h)); border-radius: 2px; }
.rbars i.neg::after { top: 50%; background: var(--neg); } .rbars i.pos::after { bottom: 50%; background: var(--pos); }
.tmeter { display: block; width: 100%; max-width: 170px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tmeter i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.pc-tail { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.pc-tail svg { width: 12px; height: 12px; flex: none; margin-top: 2px; color: var(--warn); }
.pc-why { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); padding: 8px 10px; background: var(--surface-2); border-radius: var(--radius-s); }
.pc-why strong { color: var(--ink); }
.pc-f { margin-top: auto; padding-top: 2px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pc-f .link-btn { font-size: 12.5px; color: var(--ink-2); white-space: normal; text-align: right; }
.quiet-day { display: grid; gap: 8px; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quiet-day .voice { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.quiet-day p:not(.voice) { color: var(--ink-2); max-width: 80ch; }

/* 4 to 6. the chart stack: three panels, one hour axis, one crosshair, one readout */
.stack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.stack:focus-visible { outline-offset: 3px; border-radius: var(--radius); }
.stack-read { position: sticky; top: var(--bar-h); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 42px; padding: 8px var(--s4); font-size: 12.5px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.rd-hint { color: var(--ink-3); }
.rd-he { display: inline-flex; align-items: baseline; gap: 7px; min-width: 158px; }
.rd-he strong { font-size: 17px; font-variation-settings: 'wdth' 92; } .rd-he small { color: var(--ink-3); font-size: 11px; }
.rv { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rv em { font-style: normal; color: var(--ink-3); } .rv b { font-weight: 700; font-size: 13.5px; } .rv small { color: var(--ink-3); font-size: 11.5px; }
.pane { padding: var(--s4) var(--s4) var(--s3); border-top: 1px solid var(--line); }
.stack-read + .pane { border-top: 0; }
.pane .sec-h { margin-bottom: 2px; } .pane h2 { font-size: 16px; }
.pane .chart { margin: 0 -6px; width: calc(100% + 12px); }
.pane .fig-foot { padding: 4px 0 2px; }
.pane .pending { margin-top: 6px; }
.ctl-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ctl-inline select { font-weight: 600; color: var(--ink); padding: 4px 26px 4px 9px; }
.kbar { display: inline-block; width: 14px; height: 5px; border-radius: 2.5px; background: linear-gradient(90deg, var(--neg) 50%, var(--pos) 50%); }
.kband { display: inline-block; width: 14px; height: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--neg) 50%, var(--pos) 50%); opacity: .3; }
.kmark { display: inline-block; width: 14px; height: 12px; border-top: 3px solid var(--ink-3); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ln.dotted { border-top-style: dotted; } .ln.thin { border-top-width: 1.5px; }
.ln.faint { --c: var(--ink); opacity: .45; } .ln.wind { --c: var(--ink-2); } .ln.solar { --c: var(--solar); }
.tag.late { border-style: dashed; color: var(--ghost); border-color: var(--ghost); cursor: help; }       /* orange = learned later */
.gapnote { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); padding: 8px 10px; margin-top: 6px; border: 1px dashed var(--line-strong); border-radius: var(--radius-s); }
.gapnote .pg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--ink-3); } .gapnote strong { color: var(--ink); }
.analogs { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.analogs > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.analogs > summary span { font-weight: 500; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.analogs[open] > summary { margin-bottom: 8px; } .analogs[open] > summary span { display: none; }
.analogs .tbl { max-width: 680px; }

/* 7 and 8. weather and gas; since yesterday */
.wg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s5); border-top: 1px solid var(--line); }
.since { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5) var(--s7); align-items: start; }
.since h3 { font-size: 13px; color: var(--ink-2); padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.since .fig-foot { padding: var(--s3) 0 0; } .since .empty { margin-top: var(--s3); }
.sy li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--s4); align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sy-l { display: grid; min-width: 0; } .sy-l span { font-size: 12px; color: var(--ink-3); }
.sy-v { display: grid; text-align: right; } .sy-v b { font-size: 17px; font-variation-settings: 'wdth' 92; } .sy-v small { font-size: 11px; color: var(--ink-3); }
.sy .hstrip { grid-column: 1 / -1; }
.hstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; height: 16px; }
.hstrip i { border-radius: 2px; background: var(--div-mid); cursor: help; }
.hstrip i.na { background: repeating-linear-gradient(135deg, var(--surface-2) 0 3px, var(--line) 3px 4px); }
.hstrip i.mk { border-top: 3px solid var(--ink); border-radius: 0 0 2px 2px; }

/* 9. the details drawer: background, one click away */
.drawer > details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#mv-drawer > summary { list-style: none; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 14px var(--s4); cursor: pointer; border-radius: var(--radius); }
#mv-drawer > summary::before { content: ''; align-self: center; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); transition: transform .15s; flex: none; margin-right: 2px; }
#mv-drawer[open] > summary::before { transform: rotate(45deg); }
.dr-t { font-size: 16px; font-weight: 700; font-variation-settings: 'wdth' 104; } .dr-s { font-size: 12.5px; color: var(--ink-3); }
.dr-body { display: grid; gap: var(--s4); padding: 0 var(--s4) var(--s4); min-width: 0; }
.dr-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dr-tabs { flex-wrap: wrap; } .dr-tools { display: flex; align-items: center; gap: 8px; }
.dr-pane { display: grid; gap: var(--s3); min-width: 0; }
.dr-pane h3 { font-size: 16px; } .dr-pane > .lede { margin: 0; }
.drop { border-bottom: 1px solid var(--line); } .drop + .drop { margin-top: calc(-1 * var(--s3)); }
.drop > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; padding: 9px 0; font-size: 13.5px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: ''; align-self: center; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; }
.drop[open] > summary::after { transform: rotate(-135deg); }
.drop > summary strong { min-width: 34px; text-align: right; font-size: 16px; font-variation-settings: 'wdth' 92; }
.drop-why { font-size: 13px; color: var(--ink-2); padding: 0 0 6px 44px; }
.drop-l { display: grid; gap: 5px; padding: 0 0 12px 44px; font-size: 12.5px; color: var(--ink-2); max-height: 340px; overflow: auto; }
.drop-l li span { display: block; color: var(--ink-3); } .drop-l b { color: var(--ink); font-weight: 600; }
.drop-l.tight { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 3px var(--s4); }

/* ---------- feedback notes ---------- */
.note-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; cursor: grab; touch-action: none; box-shadow: 0 10px 26px -8px rgb(14 27 42 / .55); }
.note-fab svg { width: 24px; height: 24px; pointer-events: none; }
.note-fab:hover { background: var(--ink-2); }
.note-fab.dragging { cursor: grabbing; opacity: .92; box-shadow: 0 18px 36px -10px rgb(14 27 42 / .65); }
.fab-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; pointer-events: none; }
body.note-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
body.note-dragging [data-section] { outline: 1px dashed var(--line-strong); outline-offset: 5px; border-radius: var(--radius); }
[data-section].note-target { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: var(--radius); background-color: color-mix(in srgb, var(--focus) 6%, transparent); }
.note-pop { position: absolute; z-index: 50; display: grid; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 18px 44px -16px rgb(14 27 42 / .5); }
.np-t { font-size: 13.5px; } .np-s { font-size: 12px; color: var(--ink-3); margin-top: -6px; }
.note-pop textarea, .note-pop input { width: 100%; font: inherit; color: inherit; background: var(--page); border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 8px 10px; resize: vertical; }
.np-who { display: grid; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); } .np-who input { font-weight: 400; color: var(--ink); }
.np-f { display: flex; gap: 8px; }
.sheet { position: fixed; inset: 0; z-index: 55; }
.sheet-bg { position: absolute; inset: 0; background: rgb(10 20 34 / .38); }
.sheet-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s5) 0; overflow: auto; background: var(--surface); border-left: 1px solid var(--line-strong); box-shadow: -18px 0 44px -24px rgb(14 27 42 / .55); }
.sheet-card:focus { outline: none; }
.sheet-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-card h2 { margin: 0; } .sheet-card h2 small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; }
.sheet-s { font-size: 12.5px; color: var(--ink-3); } .sheet-f { display: flex; gap: 14px; font-size: 13px; }
.nlist li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.nl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .nl-h .link-btn { font-weight: 500; font-size: 12px; color: var(--ink-3); }
.nl-t { font-family: var(--serif); font-size: 16px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.nl-m { font-size: 11.5px; color: var(--ink-3); }
.sheet-card footer { position: sticky; bottom: 0; margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding: var(--s3) 0 var(--s4); border-top: 1px solid var(--line); background: var(--surface); }
.btn.danger { color: var(--crit); border-color: color-mix(in srgb, var(--crit) 50%, transparent); }

/* ---------- Market ---------- */
.tape { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: var(--s5); align-items: start; }
.tape-main { padding-top: var(--s2); min-width: 0; background: var(--page); } .tape-main .empty { margin: 0 var(--s4) var(--s4); }
.readout { position: sticky; top: calc(var(--bar-h) + 12px); display: grid; gap: var(--s3); font-size: 13px; max-height: calc(100vh - var(--bar-h) - 28px); overflow: auto; padding-right: 2px; }
.ro-time { display: grid; gap: 1px; padding-bottom: var(--s3); border-bottom: 2px solid var(--ink); }
.ro-time strong { font-size: 30px; font-weight: 700; font-variation-settings: 'wdth' 92; letter-spacing: -.02em; line-height: 1; }
.ro-time span { font-size: 12.5px; color: var(--ink-2); } .ro-time .muted { color: var(--ink-3); font-size: 11.5px; }
.ro-future { color: var(--tm) !important; font-weight: 600; margin-top: 4px; }
.ro-panel h3, .ro-panel h4 { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 2px; }
.ro-panel li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 16px; gap: 6px; align-items: center; padding: 3px 0; }
.ro-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ro-v { font-weight: 700; font-size: 14px; } .ro-v em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.ro-u { font-size: 11px; color: var(--ink-3); } .ro-panel { padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.ro-panel li.later .ro-n { color: var(--ghost); }
.ro-ev li { grid-template-columns: 14px 1fr; align-items: start; font-size: 12px; }
.ro-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--ink-3); }
.ev { width: 9px; height: 9px; display: inline-block; flex: none; margin-top: 3px; }
.ev-alert { background: var(--crit); clip-path: polygon(50% 0, 100% 100%, 0 100%); } .ev-gas { background: var(--warn); transform: rotate(45deg) scale(.8); } .ev-outage { background: var(--ink-2); border-radius: 1px; }
.heat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s3); flex-wrap: wrap; } .heat-head h2, .heat-head h3 { margin: 0; }
.heatmap { border-collapse: separate; border-spacing: 2px; width: 100%; font-size: 12px; }
.heatmap thead th { font-weight: 600; color: var(--ink-3); font-size: 11px; padding: 2px 0; text-align: center; }
.heatmap tbody th { text-align: right; padding-right: 8px; white-space: nowrap; font-weight: 600; width: 1%; }
.heatmap tbody th button { background: none; border: 0; padding: 2px 0; cursor: pointer; font-weight: 600; } .heatmap tbody th button:hover { text-decoration: underline; }
.heatmap td { height: 20px; min-width: 20px; border-radius: 3px; cursor: pointer; } .heatmap td:hover { outline: 2px solid var(--ink); outline-offset: 0; }
.heatmap td.na { cursor: help; } .heatmap td.avg { background: none; text-align: right; padding-left: 10px; white-space: nowrap; cursor: default; font-weight: 600; width: 1%; } .heatmap th.avg { text-align: right; white-space: nowrap; padding-left: 10px; }
.heatmap tr.grp th { text-align: left; font-size: 11.5px; color: var(--ink-3); padding-top: 8px; } .heatmap tr.cur tbody, .heatmap tr.cur th button { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.heat .fig-foot { padding-left: 0; }

/* ---------- Network ---------- */
.net { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: var(--s5); align-items: start; }
.net-svg { padding: var(--s3) var(--s3) 0; }
.metro { width: 100%; height: auto; display: block; }
.metro text { font-family: var(--sans); }
.track-bg { fill: none; stroke: var(--surface); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.track { fill: none; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.tie-ln { stroke: var(--line-strong); stroke-width: 5; stroke-dasharray: 2 8; stroke-linecap: round; }
.st-shape { stroke: var(--ink); stroke-width: 3; transition: fill .45s ease; } .kg .st-shape { fill: var(--div-mid); stroke-width: 2; }
.st-halo { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.st-l { font-size: 18px; font-weight: 700; fill: var(--ink); font-stretch: 85%; font-variation-settings: 'wdth' 85; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.st-v { font-size: 15.5px; font-weight: 500; fill: var(--ink-2); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.stn-g, .iface, .tie { cursor: pointer; outline: none; } .iface, .tie { cursor: help; }
.stn-g:hover .st-shape, .stn-g:focus-visible .st-shape { stroke-width: 5; }
.stn-g.sel .st-shape { stroke-width: 5.5; } .stn-g.sel .st-l { text-decoration: underline; text-decoration-thickness: 2px; }
.stn-g:focus-visible .st-l, .iface:focus-visible .if-l { fill: var(--focus); }
.ord-ring, .ord-shape { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pulse { fill: none; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 0.75s ease-out 1 both; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.iface path { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; } .kg .if-shape { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.if-watch path { fill: var(--warn); stroke: var(--ink); } .if-binding path { fill: var(--crit); stroke: var(--ink); } .iface .if-bar { stroke: #fff; stroke-width: 2.5; fill: none; }
.if-l { font-size: 14px; font-weight: 600; fill: var(--ink-3); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }
.tie circle { fill: var(--surface); stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 3 2; } .tie .st-l { fill: var(--ink-2); }
.out-b path, .out-shape { fill: var(--ink); } .out-b text { fill: var(--surface); font-size: 10.5px; font-weight: 700; }
.hatch-bg { fill: var(--surface-2); } .hatch-ln { stroke: var(--line-strong); stroke-width: 2; }
.kg { width: 15px; height: 15px; }
.scrub { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-top: 1px solid var(--line); }
.scrub input[type=range] { flex: 1; accent-color: var(--ink); } .scrub output { font-weight: 700; min-width: 76px; text-align: right; }
.net-map .aside { padding: 0 var(--s4) var(--s4); margin: 0; }
.net-side { display: grid; gap: var(--s3); align-content: start; position: sticky; top: calc(var(--bar-h) + 12px); } .net-side h2 { margin: 0; font-size: 22px; } .net-side h3 { margin-top: var(--s3); } .net-side .kicker { margin: 0; }
.net-side .mini .curtain { padding: 0; } .net-side .btn { justify-self: start; margin-top: var(--s2); }
:root[data-theme="dark"] .track { filter: drop-shadow(0 0 5px rgb(120 160 220 / .25)); }

/* ---------- Trades ---------- */
.pnl-big { font-size: clamp(40px, 5vw, 68px); font-weight: 750; line-height: 1; font-variation-settings: 'wdth' 88; letter-spacing: -.03em; }
.tally { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s5); } .tally li { display: inline-flex; gap: 7px; align-items: center; } .tally strong { font-size: 16px; }
.out { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.out::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.out-won::before { background: var(--good); } .out-lost::before { background: var(--crit); border-radius: 1px; }
.out-missed::before { background: none; border: 2px solid var(--warn); } .out-did-not-clear::before { background: none; border: 2px solid var(--ink-3); }
.out-sat-out::before { background: none; border: 2px dashed var(--ink-3); } .out-locked::before { background: var(--ink); border-radius: 2px; }
.ledger tbody tr { cursor: pointer; } .ledger tbody tr:hover > * { background: var(--surface); }
.sum { padding: var(--s2) var(--s4) var(--s4); font-size: 13.5px; color: var(--ink-2); max-width: 78ch; } .sum strong { color: var(--ink); }
.trades-hero .voice.sub { margin-top: var(--s3); }

/* ---------- News ---------- */
.gantt { display: grid; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; padding: var(--s3) var(--s4); }
.g-head, .g-row { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: var(--s3); align-items: center; }
.g-row { border-top: 1px solid var(--line); min-height: 30px; }
.g-lab { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; white-space: nowrap; overflow: hidden; }
.g-lab span { overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); } .g-lab em { font-style: normal; color: var(--ink-3); font-size: 11.5px; }
.g-track { position: relative; height: 30px; } .g-head .g-track { height: 22px; }
.g-day { position: absolute; top: 2px; font-size: 11px; color: var(--ink-3); padding-left: 4px; white-space: nowrap; font-variation-settings: 'wdth' 85; } .g-day.we { color: var(--ink-3); opacity: .7; }
.g-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.g-now { position: absolute; top: -1px; bottom: -1px; width: 2px; background: var(--tm); z-index: 2; }
.g-bar { position: absolute; top: 9px; height: 12px; border-radius: 4px; background: var(--ink-3); cursor: help; z-index: 1; min-width: 5px; }
.g-bar.kv765, .gk.kv765 { background: var(--ink); } .g-bar.kv500, .gk.kv500 { background: var(--ink-2); } .g-bar.kv345, .gk.kv345 { background: color-mix(in srgb, var(--ink-3) 70%, var(--surface)); }
.g-bar.open-l { border-top-left-radius: 0; border-bottom-left-radius: 0; } .g-bar.open-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.g-bar:hover, .g-bar:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.gk { width: 18px; height: 9px; border-radius: 3px; display: inline-block; } .gk.now { width: 2px; height: 14px; background: var(--tm); border-radius: 0; }
.panel-sec .fig-foot { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.lanes { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); gap: var(--s6); align-items: start; }
.lane h2 { margin-bottom: 2px; } .lane-s { font-size: 12.5px; color: var(--ink-3); margin-bottom: var(--s3); }
.story { padding: var(--s3) 0 var(--s3) var(--s4); border-top: 1px solid var(--line); border-left: 3px solid var(--line-strong); margin-bottom: var(--s2); }
.story.on { border-left-color: var(--crit); }
.story-h { display: flex; justify-content: space-between; gap: var(--s3); font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }
.sev { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ink-2); } .sev svg { width: 11px; height: 11px; }
.sev-warning { color: var(--crit); } .sev-alert { color: var(--warn); }
.story p { font-size: 13px; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; } .story-f { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 12px !important; }
.gaslist li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: var(--s3); padding: 9px 0; border-top: 1px solid var(--line); }
.gaslist time { font-weight: 600; font-size: 12.5px; } .gaslist time small { display: block; font-weight: 400; color: var(--ink-3); }
.gaslist strong { margin-right: 8px; } .gaslist p { font-size: 13px; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
.lane.press { background: var(--surface-2); border-radius: var(--radius); padding: var(--s4) var(--s5) var(--s5); border: 1px dashed var(--line-strong); }
.heads li { padding: 10px 0; border-top: 1px solid var(--line); } .heads .voice { font-size: 17px; line-height: 1.3; } .heads span { font-size: 12px; color: var(--ink-3); }

/* ---------- Data and development ---------- */
.health { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s7); align-items: start; }
.health-sum { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s4) var(--s5); justify-content: start; } .health-sum .voice { grid-column: 1 / -1; font-size: 16px; margin: 0; }
.health .aside { grid-column: 2; }
.state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; } .state i { width: 9px; height: 9px; border-radius: 50%; }
.st-live i { background: var(--good); } .st-delayed i { background: none; border: 2px solid var(--warn); } .st-paused i { background: var(--warn); border-radius: 1px; } .st-paused { color: var(--warn); }
.feeds code { background: none; padding: 0; color: var(--ink-3); }
.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: f; }
.flow li { position: relative; padding: var(--s3) var(--s4) var(--s3) 0; border-top: 3px solid var(--ink); display: grid; gap: 3px; align-content: start; margin-right: var(--s3); }
.flow li::after { content: ''; position: absolute; right: -9px; top: -8px; border: 6.5px solid transparent; border-left-color: var(--ink); }
.flow li:last-child::after { display: none; }
.flow li span { font-size: 12px; color: var(--ink-2); } .flow li.gate { border-top-color: var(--tm); } .flow li.gate strong { color: var(--tm); }
.flow-ai { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius-s); font-size: 13px; } .flow-ai > span:not(.chip) { color: var(--ink-2); flex: 1 1 400px; } .flow-ai .chip { flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1499px) { .tm { order: 3; flex-basis: 100%; } }      /* the time machine takes its own row under the bar */
@media (max-width: 1180px) {
  .hero, .cols, .tape, .net, .health { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .readout, .net-side { position: static; max-height: none; }
  .readout { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .ro-time, .ro-key { grid-column: 1 / -1; }
  .lanes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lane.press { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: var(--s4); } .health .aside { grid-column: 1; }
  .pc-ev > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
@media (max-width: 940px) {
  .pcards, .pcards.n2 { grid-template-columns: minmax(0, 1fr); }
  .pc-ev > div { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .since { grid-template-columns: minmax(0, 1fr); } .wg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar { position: static; padding: 8px 16px; gap: 8px 12px; }
  .stack-read { top: 0; }
  .tm { flex-wrap: wrap; border-radius: var(--radius); padding: 6px 8px; }
  .tm-scrub { flex-basis: 100%; order: 5; } #tm-day { flex: 1 1 140px; }
  .ban { padding: 8px 16px; } .appfoot { padding: var(--s3) 16px 84px; }
  main.screen { padding: var(--s4) 16px var(--s7); gap: var(--s5); } .mview, .mcols { gap: var(--s5); }
  h1 { font-size: 24px; } .sline h1 { font-size: 23px; } .voice.sub { font-size: 16.5px; }
  .sl-items > span:not(.tag) { white-space: normal; }
  .facts, .facts.tight, .lanes { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: 1fr 1fr; }
  .changes li { grid-template-columns: 62px minmax(0, 1fr) auto; } .ch-kind { grid-column: 2; } .changes a { grid-column: 2; }
  .hero-fig, .tape-main, .net-map { overflow-x: auto; } .curtain:not(.compact) { min-width: 640px; } .metro { min-width: 760px; }
  .pane { padding-left: var(--s3); padding-right: var(--s3); } .rd-he { min-width: 0; }
  .g-head, .g-row { grid-template-columns: 150px minmax(0, 1fr); } .g-lab { grid-template-columns: 48px 1fr; } .g-lab em { display: none; }
  .flow { grid-template-columns: 1fr 1fr; } .shead-r { gap: var(--s3); } select { max-width: 200px; }
  .note-fab { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .drop-why, .drop-l { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .cu-band, .cu-obs, .cu-mid, .st-shape, .g-bar, .heatmap td, .hstrip i, .rb-band, .rb-mid, .dots i, .rbars i::after { forced-color-adjust: none; } }

/* ---------- print: Export PDF ----------
   The button (and Ctrl/Cmd+P) first adds .print-mode, which fixes the page width so the SVG charts are drawn at
   the paper's width; the browser's "Save as PDF" does the rest. Light theme is forced in tokens.css. */
html.print-mode main.screen { width: 700px; max-width: none; margin: 0; padding: 0; }
@media print {
  @page { margin: 12mm 12mm 14mm; }
  html, body { background: #fff !important; }
  body { font-size: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar, .banner, .appfoot, .skip, .note-fab, .tip, .sheet, .note-pop, .drawer, .sec-menu, .note-badge, .stack-read, .back, .proto-error, .pc-f .link-btn, .pending .btn, .analogs:not([open]), .quiet-day .link-btn { display: none !important; }
  .app { display: block; min-height: 0; }
  .pf { display: table; width: 700px; }
  .pf > thead { display: table-header-group; } .pf > tfoot { display: table-footer-group; } .pf > tbody { display: table-row-group; }
  .pf > thead > tr, .pf > tbody > tr, .pf > tfoot > tr { display: table-row; }
  .pf > thead > tr > td, .pf > tbody > tr > td, .pf > tfoot > tr > td { display: table-cell; padding: 0; }
  .pf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding-bottom: 6px; margin-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: 10.5px; color: var(--ink-2); }
  .pf-head strong { margin-right: auto; font-size: 12px; color: var(--ink); font-variation-settings: 'wdth' 108; }
  .pf-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; margin-top: 12px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--ink-3); }
  main.screen { width: 700px; max-width: none; margin: 0; padding: 0; gap: 16px; }
  .mview, .mcols { gap: 16px; }
  .msec, .pane, .pcard, .pending, .quiet-day, .sy li, .wg, .since > div, .gapnote, figure, .notice { break-inside: avoid; page-break-inside: avoid; }
  .sec-h, .sline { break-after: avoid; page-break-after: avoid; }
  .sline h1 { font-size: 21px; }
  .stack { border: 0; background: none; } .pane { padding: 10px 0 6px; } .pane .chart { margin: 0; width: 100%; }
  .pcards, .pcards.n2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .pcards.n1 { grid-template-columns: minmax(0, 1fr); }
  .pcard { padding: 10px 10px 8px; gap: 7px; } .pcard h3 { font-size: 15px; } .pc-delta strong { font-size: 22px; }
  .pc-ev > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px 0; } .pc-ev dd { font-size: 11.5px; } .pc-dir { font-size: 12.5px; }
  .since { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; } .wg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st, .chip, .pc-where, .tag { cursor: default; }
  a { text-decoration: none; }
  * { backdrop-filter: none !important; box-shadow: none !important; animation: none !important; }
}
