:root {
  --navy: #000443;
  --ink: #000443;
  --muted: #4a4d78;
  --faint: #8c8581;
  --smoke: #e0dddb;
  --paper: #ffffff;
  --off: #f4f4f4;
  --row: #f6f6f8;
  --rule: var(--navy);
  --accent-hover: #202576;
  --tint: rgba(0, 4, 67, .08);
  --tint-flash: rgba(0, 4, 67, .07);
  --tint-chg: rgba(0, 4, 67, .09);
  --tint-fresh: rgba(0, 4, 67, .14);
  --shadow-insp: rgba(0, 4, 67, .35);
  --shadow-binsp: rgba(0, 4, 67, .06);
  --on-accent-dim: rgba(255, 255, 255, .75);
  --on-accent-line: rgba(255, 255, 255, .4);
  --on-accent-track: rgba(255, 255, 255, .3);
  color-scheme: light;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --canvas: 68rem;
  --margin: clamp(1rem, 4vmin, 2.75rem);
  --toc: 10.5rem;
  --note: 10.5rem;
  --gap: 2.25rem;
  --ease: cubic-bezier(.5, 0, 0, 1);
}
/* Dark mode: Vercel-style black. Inverted (navy) surfaces become near-white with black text. */
:root[data-theme="dark"] {
  --navy: #ededed;
  --ink: #ededed;
  --muted: #a1a1a1;
  --faint: #6e6e6e;
  --smoke: #1f1f1f;
  --rule: #2e2e2e;
  --paper: #0a0a0a;
  --off: #111;
  --row: #1a1a1a;
  --accent-hover: #c9c9c9;
  --tint: rgba(255, 255, 255, .1);
  --tint-flash: rgba(255, 255, 255, .09);
  --tint-chg: rgba(255, 255, 255, .11);
  --tint-fresh: rgba(255, 255, 255, .16);
  --shadow-insp: rgba(0, 0, 0, .6);
  --shadow-binsp: rgba(0, 0, 0, .5);
  --on-accent-dim: rgba(0, 0, 0, .65);
  --on-accent-line: rgba(0, 0, 0, .35);
  --on-accent-track: rgba(0, 0, 0, .3);
  color-scheme: dark;
}
/* Dark only: a black top bar over #0a0a0a panels (shapes stay square, same as light) */
:root[data-theme="dark"] .t-top { background: #000; }
:root[data-theme="dark"] .t-cmd { background: #000; border-color: var(--rule); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.03125rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--navy); color: var(--paper); }
a { color: inherit; text-decoration: underline; text-decoration-thickness: .0625em; text-underline-offset: .18em; transition: text-decoration-thickness .3s var(--ease); }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--navy); color: var(--paper); padding: .25rem .5rem; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Opening */
.opening { padding-top: clamp(3rem, 9vmin, 5.5rem); }
h1 { font-weight: 500; font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.1; letter-spacing: -.012em; max-width: 62rem; text-wrap: balance; }
.abstract-wrap { margin-left: calc(var(--toc) + var(--gap)); max-width: 40rem; margin-top: 3rem; }
.abstract { font-weight: 300; font-style: italic; font-size: 1.03125rem; line-height: 1.6; }
.abstract b { font-weight: 500; }
.meta { display: grid; grid-template-columns: 1fr auto auto; gap: 2.5rem; margin-top: 2rem; font-size: .875rem; font-weight: 500; }
.actions { display: flex; gap: 1.1rem; align-items: baseline; margin-top: 2.5rem; flex-wrap: wrap; }
.btn { background: var(--navy); color: var(--off); text-decoration: none; padding: .05em .25em; font-weight: 400; }
.btn:hover { background: var(--accent-hover); }
.hint { margin-top: 1rem; font-size: .8125rem; color: var(--faint); }

/* Figure */
.fig { margin: clamp(4rem, 10vmin, 7rem) 0 0; }
.ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); border-top: 1px solid var(--smoke); padding-top: 1.25rem; }
.tick .n { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tick .l { font-size: .875rem; font-weight: 500; margin-top: .35rem; }
.tick .s { font-size: .8125rem; color: var(--muted); }
.series { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: var(--toc) 1fr 4.5rem; gap: var(--gap); align-items: center; }
.row .name { font-size: .875rem; font-weight: 500; }
.row .total { font-family: var(--mono); font-size: .8125rem; text-align: right; color: var(--muted); }
.cells { display: grid; grid-template-columns: repeat(30, 1fr); height: 14px; align-items: center; justify-items: center; }
.cells i { display: block; background: var(--navy); width: var(--w, 0); height: 7px; max-width: 100%; transition: width .6s var(--ease); }
.cells i.z { background: var(--smoke); width: 2px; height: 2px; }
.cells i:hover { outline: 4px solid var(--tint); }
.axis { display: grid; grid-template-columns: var(--toc) 1fr 4.5rem; gap: var(--gap); font-family: var(--mono); font-size: .6875rem; color: var(--faint); }
.axis span:nth-child(2) { display: flex; justify-content: space-between; }
figcaption { margin-top: 1.5rem; font-size: .875rem; margin-left: calc(var(--toc) + var(--gap)); max-width: 40rem; }
figcaption b { font-weight: 500; }

/* Body layout */
.body { display: grid; grid-template-columns: var(--toc) minmax(0, 1fr); gap: var(--gap); margin-top: clamp(4rem, 10vmin, 7rem); }
.toc { position: sticky; top: 1.5rem; align-self: start; font-size: .875rem; max-height: calc(100vh - 3rem); overflow: auto; padding-top: .6rem; }
.toc ol { list-style: none; }
.toc > ol > li { margin-bottom: .9rem; }
.toc ol ol { margin-top: .35rem; padding-left: 1.1rem; font-size: .78rem; color: var(--muted); }
.toc ol ol li { margin-bottom: .2rem; }
.toc a { text-decoration: none; display: inline-block; position: relative; }
.toc a.on::before { content: ""; position: absolute; left: -1.1rem; top: .55em; width: 11px; height: 7px; background: var(--navy); }
.toc a:hover { text-decoration: underline; }

.doc { min-width: 0; }
.doc section { margin-bottom: clamp(4.5rem, 11vmin, 7.5rem); }
.doc > section > *:not(.entries):not(.tbl):not(.two) { max-width: 40rem; }
h2 { font-size: 2rem; line-height: 1.2; font-weight: 500; letter-spacing: -.005em; margin-bottom: 1.6rem; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.2; margin: 3rem 0 1.25rem; }
.doc p + p { margin-top: 1.4rem; }
.lede { color: var(--ink); }

/* Entries with side notes */
.entries { margin-top: 1.75rem; }
.entry { display: grid; grid-template-columns: minmax(0, 40rem) var(--note); column-gap: var(--gap); padding: 1.15rem 0; border-top: 1px solid var(--smoke); }
.entry:last-child { border-bottom: 1px solid var(--smoke); }
.entry .k { font-family: var(--mono); font-size: .75rem; color: var(--muted); display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: .3rem; }
.entry .t { font-weight: 500; }
.entry .t .amt { font-variant-numeric: tabular-nums; }
.entry .d { margin-top: .3rem; color: var(--ink); font-weight: 300; }
.entry .d.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.entry .more { font-size: .8125rem; background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font-family: inherit; margin-top: .2rem; }
.note { font-size: .78rem; line-height: 1.45; color: var(--ink); padding-top: 1.35rem; }
.note ol { list-style: none; }
.note li { display: grid; grid-template-columns: 1.6rem 1fr; margin-bottom: .3rem; }
.note li span { color: var(--muted); }
.note a { font-style: italic; }
.stage { font-family: var(--mono); font-size: .6875rem; letter-spacing: .02em; padding: 0 .35em; border: 1px solid var(--rule); }
.stage.Claimed { border-style: dashed; }
.stage.Confirmed { background: var(--navy); color: var(--paper); }
.empty { font-size: .9rem; color: var(--muted); padding: 1rem 0; border-top: 1px solid var(--smoke); }
.showall { margin-top: 1rem; font: inherit; font-size: .875rem; background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* Tables */
.tbl { border-collapse: collapse; width: 100%; max-width: calc(40rem + var(--gap) + var(--note)); font-size: .875rem; margin-top: .5rem; }
.tbl th { text-align: left; font-weight: 500; padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--rule); }
.tbl td { padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--smoke); vertical-align: top; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: .8125rem; }
.tbl td.bar { width: 40%; }
.tbl td.bar i { display: block; height: 7px; background: var(--navy); margin-top: .5em; }
.tbl.kev td:first-child { font-family: var(--mono); font-size: .78rem; white-space: nowrap; }
.tbl .sub { color: var(--muted); font-weight: 300; display: block; }
.tbl a { white-space: nowrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: calc(40rem + var(--gap) + var(--note)); }

/* Method */
.stages > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--smoke); }
.stages dt { font-weight: 500; }
.stages dd { font-weight: 300; }
.sources { list-style: none; }
.sources li { padding-left: 1.6rem; position: relative; margin-bottom: .45rem; }
.sources li::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 7px; background: var(--navy); }
.status { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.cite { font-family: var(--mono); font-size: .78rem; line-height: 1.6; background: var(--off); padding: 1.25rem; white-space: pre-wrap; max-width: 40rem; }


/* Ask popover */
.ask-pop { position: absolute; z-index: 20; background: var(--navy); color: var(--off); border: 0; font: 400 .875rem/1.3 var(--sans); padding: .35em .6em; cursor: pointer; transform: translate(-50%, -100%); white-space: nowrap; }
.ask-pop::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.ask-pop:hover { background: var(--accent-hover); }

/* Responsive */
@media (max-width: 64rem) {
  :root { --note: 9rem; --gap: 1.75rem; }
}
@media (max-width: 52rem) {
  .abstract-wrap, figcaption { margin-left: 0; }
  .body { grid-template-columns: 1fr; }
  .toc { display: none; }
  .row, .axis { grid-template-columns: 6.5rem 1fr 3.5rem; gap: 1rem; }
  .entry { grid-template-columns: 1fr; }
  .note { padding-top: .6rem; }
  .note ol { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
  .note li { display: inline; margin: 0; }
  .note li span { margin-right: .3rem; }
}
@media (max-width: 36rem) {
  .ticks { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .meta { grid-template-columns: 1fr; gap: .2rem; }
  .two { grid-template-columns: 1fr; }
  .tbl.kev .hide-sm { display: none; }
  .cells i { height: 5px; }
  .stages > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Patterns, filters and detail panels */
.filter { display: flex; gap: 1rem; align-items: baseline; margin: 1.75rem 0 .75rem; max-width: calc(40rem + var(--gap) + var(--note)) !important; }
.filter input { flex: 1; font: inherit; font-size: .9375rem; color: var(--ink); border: 0; border-bottom: 1px solid var(--rule); padding: .35rem 0; background: transparent; border-radius: 0; }
.filter input::placeholder { color: var(--faint); }
.filter input:focus { outline: none; border-bottom-width: 2px; }
.clear, .fbar button { font: inherit; font-size: .875rem; background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.tbl.pat tr.on td { background: var(--off); }
.plink { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; padding: 0; text-decoration: underline; text-decoration-color: var(--smoke); text-underline-offset: .18em; }
.plink:hover, .plink[aria-pressed="true"] { text-decoration-color: var(--navy); }
.tbl.pat tr.on .plink { font-weight: 500; }
.tbl.pat td.bar { width: 26%; }
.ptag { color: var(--ink); }
.ptag::before { content: ""; display: inline-block; width: 9px; height: 6px; background: var(--navy); margin-right: .45em; vertical-align: .1em; }
.entry .more .cnt { color: var(--faint); text-decoration: none; }
.entry .more { padding: 0; }
.detail { margin-top: 1rem; padding: 1.1rem 0 .4rem; border-top: 1px dashed var(--smoke); font-size: .9375rem; }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .3rem 0; }
.facts dt { font-family: var(--mono); font-size: .75rem; color: var(--muted); padding-top: .2em; }
.facts dd { font-weight: 300; overflow-wrap: anywhere; }
.chips { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.chip { font: 400 .75rem/1.5 var(--mono); color: var(--ink); background: none; border: 1px solid var(--rule); padding: 0 .4em; cursor: pointer; }
.chip:hover, .chip.on { background: var(--navy); color: var(--paper); }
.cpat { margin: .45rem 0 .2rem; }
.dnote { margin-top: .6rem; font-weight: 300; font-size: .875rem; }
.dnote b { font-weight: 500; }
.dsec { margin-top: 1.4rem; }
.dsec h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin-bottom: .5rem; }
.dsec h5 { font-size: .8125rem; font-weight: 500; margin: .9rem 0 .3rem; }
.dsec p { font-weight: 300; }
.steps { counter-reset: s; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 1.8rem 1fr; padding: .3rem 0; border-top: 1px solid var(--smoke); font-weight: 300; }
.steps li::before { content: counter(s); font-family: var(--mono); font-size: .75rem; color: var(--muted); padding-top: .15em; }
.bul { list-style: none; }
.bul li { padding-left: 1.3rem; position: relative; font-weight: 300; margin-bottom: .2rem; }
.bul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 5px; background: var(--navy); }
.dsrc { font-size: .8125rem; color: var(--muted); margin-top: .6rem; }
.rel { list-style: none; margin-top: .4rem; }
.rel li { display: grid; grid-template-columns: 7.5rem 1fr 2.5rem; gap: .9rem; padding: .45rem 0; border-top: 1px solid var(--smoke); }
.rel .rk { font-family: var(--mono); font-size: .72rem; color: var(--muted); padding-top: .2em; }
.rel .rt a { font-weight: 400; }
.rel .why { display: block; font-size: .8125rem; color: var(--muted); font-weight: 300; }
.rel .rs { font-family: var(--mono); font-size: .72rem; color: var(--faint); text-align: right; padding-top: .2em; }
#cluster-list .rel li { grid-template-columns: 5.5rem 1fr; font-size: .9375rem; }
.dask { margin-top: 1.4rem; display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: baseline; font-size: .9375rem; }
.entry.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0% { background: var(--tint-flash); } 100% { background: transparent; } }
.fbar { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 15; background: var(--navy); color: var(--off); font-size: .875rem; padding: .45rem .9rem; display: flex; gap: 1rem; align-items: baseline; max-width: calc(100vw - 2rem); }
.fbar[hidden] { display: none; }
.fbar button { color: var(--off); }
@media (max-width: 36rem) {
  .facts > div { grid-template-columns: 1fr; gap: 0; }
  .rel li { grid-template-columns: 1fr 2.2rem; gap: .2rem .6rem; }
  .rel .rk { grid-column: 1 / -1; }
  #cluster-list .rel li { grid-template-columns: 1fr; }
  .tbl.pat .hide-sm { display: none; }
}
.tbl.pat th.num, .tbl.pat td.num { padding-left: .9rem; }

/* Live */
.live { margin-top: clamp(3.5rem, 9vmin, 6rem); border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.live-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.live-title { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .6rem; }
.dot { width: 9px; height: 9px; background: var(--navy); display: inline-block; position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--navy); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.live-status { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.since { margin-top: .5rem; font-size: .875rem; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); margin-top: 1rem; }
.feed { list-style: none; font-size: .9rem; }
.feed li { display: grid; grid-template-columns: 4.6rem 4.6rem minmax(0, 1fr) 2.4rem; gap: .7rem; padding: .42rem 0; border-top: 1px solid var(--smoke); align-items: baseline; }
.feed li:last-child { border-bottom: 1px solid var(--smoke); }
.feed .when, .feed .fk { font-family: var(--mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.feed .ft { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .ft a { font-weight: 500; }
.feed .fs { color: var(--muted); font-weight: 300; margin-left: .5rem; font-size: .8125rem; }
.feed .new, .entry.is-new .k::after { font-family: var(--mono); font-size: .66rem; background: var(--navy); color: var(--paper); padding: 0 .35em; justify-self: end; }
.entry.is-new .k::after { content: "New"; }
.feed li.fresh { animation: slidein .8s var(--ease); }
@keyframes slidein { from { background: var(--tint); transform: translateY(-4px); } to { background: transparent; transform: none; } }
.day .row { grid-template-columns: 5.5rem 1fr 2.5rem; gap: 1rem; }
.day .axis { grid-template-columns: 5.5rem 1fr 2.5rem; gap: 1rem; }
.cells.h24 { grid-template-columns: repeat(24, 1fr); }
.day .series { margin-top: .4rem; }
.day .cap { font-size: .8125rem; color: var(--muted); margin-top: 1rem; }
.day .cap b { font-weight: 500; color: var(--ink); }
.ticks { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 52rem) {
  .live-grid { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .feed li { grid-template-columns: 3.6rem minmax(0, 1fr) 2.2rem; }
  .feed .fk { display: none; }
  .feed .fs { display: block; margin-left: 0; }
  .feed .ft { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .dot::after, .feed li.fresh { animation: none; } }

/* Today at a glance */
.glance { margin-top: clamp(3rem, 8vmin, 5rem); border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.g-title { font-size: 1.25rem; margin: 0; font-weight: 500; }
.g-title span { color: var(--muted); font-weight: 400; }
.g-brief { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.3; max-width: 52rem; margin: 1.1rem 0 1.75rem; }
.g-ticks { margin-bottom: 2rem; }
.g-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap); }
.g-h { font-family: var(--sans, inherit); font-size: .8125rem; font-weight: 500; margin: 0 0 .5rem; letter-spacing: .01em; }
.g-grid > div > .g-h:not(:first-child) { margin-top: 2rem; }
.tbl.hit { width: 100%; }
.tbl.hit th { font-family: var(--mono); font-size: .7rem; font-weight: 400; color: var(--muted); text-align: left; padding: .3rem .75rem .3rem 0; border-bottom: 1px solid var(--rule); }
.tbl.hit td.org a { font-weight: 500; }
.tbl.hit .what { display: block; color: var(--muted); font-weight: 300; font-size: .84rem; line-height: 1.4; margin-top: .15rem; }
.tbl.hit td.sc { white-space: normal; color: var(--ink); max-width: 8rem; min-width: 5rem; }
.tbl.hit td.pc { width: 1%; }
.tbl.hit td.pc .chip { display: block; margin-bottom: .25rem; white-space: nowrap; font-size: .68rem; }
.gp { display: grid; gap: .1rem; }
.gpr { all: unset; cursor: pointer; display: grid; grid-template-columns: minmax(0, 11rem) 1fr 2rem; gap: .75rem; align-items: center; padding: .3rem 0; border-top: 1px solid var(--smoke); font-size: .84rem; }
.gpr:hover .gl, .gpr:focus-visible .gl { text-decoration: underline; text-underline-offset: .18em; }
.gpr:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.gb i { display: block; height: 7px; width: var(--w); background: var(--navy); transition: width .6s var(--ease); }
.gn { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-align: right; }
.glance .cap { font-size: .8125rem; color: var(--muted); margin-top: .6rem; }
.gr { list-style: none; font-size: .875rem; }
.gr li { padding: .35rem 0; border-top: 1px solid var(--smoke); }
.gr li a { font-weight: 500; }
.gr .fs { display: block; color: var(--muted); font-size: .78rem; font-family: var(--mono); }
.gr li.more { color: var(--muted); font-size: .8125rem; }
@media (max-width: 52rem) { .g-grid { grid-template-columns: 1fr; } }
@media (max-width: 36rem) {
  .tbl.hit thead { display: none; }
  .tbl.hit tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--smoke); padding: .5rem 0; }
  .tbl.hit td { border: 0; padding: 0; }
  .tbl.hit td.org { grid-column: 1 / -1; }
  .tbl.hit td.sc { text-align: left; padding-top: .3rem; }
  .tbl.hit td.pc { width: auto; display: flex; gap: .3rem; justify-content: flex-end; padding-top: .3rem; }
  .tbl.hit td.pc .chip { display: inline-block; margin: 0; }
  .gpr { grid-template-columns: minmax(0, 9rem) 1fr 1.6rem; }
}
.tbl.hit { max-width: none; table-layout: auto; }
.tbl.hit a { white-space: normal; }
.g-grid > div { min-width: 0; }
.tbl.hit td.org { width: 100%; }
#g-more { font: inherit; font-size: .875rem; background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; margin-top: .75rem; padding: 0; }
.tbl.hit tr[hidden] { display: none !important; }
@media (max-width: 52rem) { .ticks { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; } }
@media (max-width: 36rem) { .ticks { grid-template-columns: 1fr 1fr; } }
.opening { padding-top: clamp(1.5rem, 5vmin, 3rem); }
.opening h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.opening .abstract-wrap { margin-top: 1.5rem; }
.opening .meta { margin-top: 1rem; }
.opening .actions { margin-top: 1rem; }
.glance { margin-top: clamp(2rem, 5vmin, 3rem); }

/* X lifecycle */
.track { display: inline-flex; align-items: center; gap: 2px; }
.track i { width: 9px; height: 7px; background: var(--smoke); display: inline-block; }
.track i.on { background: var(--navy); }
.track b { font-weight: 400; margin-left: .45rem; color: var(--ink); }
.track.off i { background: transparent; border: 1px solid var(--muted); height: 5px; }
.stale { color: var(--ink); border-bottom: 1px dashed var(--muted); }
.life { list-style: none; }
.life li { display: grid; grid-template-columns: 7.5rem 7.5rem 1fr; gap: .9rem; padding: .4rem 0; border-top: 1px solid var(--smoke); font-size: .9rem; }
.life .rk { font-family: var(--mono); font-size: .72rem; color: var(--muted); padding-top: .2em; }
.life .ls { font-weight: 500; }
.posts .role { color: var(--muted); font-size: .8125rem; font-weight: 300; }
@media (max-width: 36rem) { .life li { grid-template-columns: 1fr; gap: .1rem; } }

/* ===== Leaderboard and terminal views ===== */
body:not(.view-term) #term { display: none; }
body:not(.view-board) #board { display: none; }
body:not(.view-report) #rep { display: none; }
body.view-term { overflow: hidden; }
body.view-board { overflow: hidden; }
.term { --line: var(--smoke); height: 100vh; height: 100dvh; display: flex; flex-direction: column; font-size: .8125rem; line-height: 1.35; position: relative; }
.term kbd { font: 500 .625rem/1 var(--mono); border: 1px solid var(--line); padding: .15em .35em; margin-right: .45em; color: var(--muted); background: var(--paper); }
.t-top { display: flex; align-items: center; gap: 1.25rem; padding: .55rem 1rem; border-bottom: 1px solid var(--rule); }
.t-brand { font-family: var(--serif); font-size: 1.35rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.t-live { display: inline-flex; align-items: center; gap: .5rem; font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.t-live span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.t-cmd { flex: 1; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .25rem .5rem; font-family: var(--mono); min-width: 0; }
.t-cmd:focus-within { border-color: var(--navy); }
.t-cmd > span { color: var(--navy); font-weight: 500; }
.t-cmd input { flex: 1; min-width: 0; border: 0; outline: 0; font: .78rem var(--mono); color: var(--ink); background: transparent; }
.t-cmd input::placeholder { color: var(--faint); }
.t-cmd kbd { margin: 0; }
.t-clock { font: 500 .75rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-views { display: flex; gap: .25rem; margin-left: auto; }
.t-views a { font-weight: 500; text-decoration: none; white-space: nowrap; padding: .1em .4em; }
.t-views a:hover, .t-views a[aria-current="page"] { background: var(--navy); color: var(--paper); }
.t-ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--off); white-space: nowrap; }
.t-tape { display: flex; width: max-content; animation: tape var(--dur, 80s) linear infinite; }
.t-ticker:hover .t-tape { animation-play-state: paused; }
.t-run { display: flex; }
.t-ti { padding: .3rem 1.4rem .3rem 0; font: 500 .75rem var(--sans, inherit); background: none; border: 0; color: inherit; cursor: pointer; white-space: nowrap; }
.t-ti:hover, .t-ti:focus-visible { text-decoration: underline; text-underline-offset: 2px; outline: none; }
.t-ti .tk { font: 500 .625rem var(--mono); background: var(--navy); color: var(--paper); padding: .05em .35em; margin-right: .2em; }
.t-ti .ts { color: var(--muted); font-weight: 400; }
@keyframes tape { to { transform: translateX(-50%); } }
.t-kpi { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.t-k { padding: .5rem 1rem .55rem; border-right: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: baseline; transition: background 1.2s var(--ease); }
.t-k:last-child { border-right: 0; }
.t-k b { grid-row: span 2; font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.t-k span { font-weight: 500; font-size: .75rem; }
.t-k i { font-style: normal; font: .6875rem var(--mono); color: var(--muted); }
.t-k.chg { background: var(--tint-chg); }
.t-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); }
.t-p { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-p.p-hit { grid-row: span 2; }
.t-p:nth-child(3), .t-p:nth-child(5) { border-right: 0; }
.t-p > header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .4rem .75rem; border-bottom: 1px solid var(--line); font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.t-p.on > header { background: var(--navy); color: var(--paper); }
.t-p.on > header kbd { background: transparent; color: var(--paper); border-color: var(--on-accent-line); }
.t-p.on > header .t-m { color: var(--on-accent-dim); }
.t-m { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); white-space: nowrap; }
.t-b { flex: 1; overflow: auto; min-height: 0; scrollbar-width: thin; }
.p-feed .t-b, .p-x .t-b { padding-bottom: 1rem; mask-image: linear-gradient(#000 0, #000 calc(100% - 1rem), transparent); }
.t-r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .75rem; align-items: baseline; padding: .38rem .75rem; border-bottom: 1px solid var(--line); cursor: pointer; outline: none; }
.t-r:hover { background: var(--row); }
.t-r:focus-visible, .t-r.sel { background: var(--navy); color: var(--paper); }
.t-r:focus-visible small, .t-r.sel small, .t-r:focus-visible .c-t, .t-r.sel .c-t, .t-r.sel .c-pt, .t-r:focus-visible .c-pt { color: var(--on-accent-dim); }
.t-r.t-hd { cursor: default; font: .625rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.t-r.t-hd:hover { background: var(--paper); }
.t-r b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-r small { display: block; color: var(--muted); font-size: .72rem; font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-r.dim b { font-weight: 400; }
.c-sc { font: .72rem var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.c-pt { font: .625rem var(--mono); color: var(--muted); white-space: nowrap; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }
.p-hit .t-r { grid-template-columns: 3.6rem minmax(0, 1fr) 6.5rem 8.5rem; }
.p-feed .t-r, .p-mkt .t-r { grid-template-columns: 3.6rem 3.4rem minmax(0, 1fr); }
.p-mkt .t-r { grid-template-columns: 3.4rem minmax(0, 1fr) auto; }
.c-t { font: .6875rem var(--mono); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-k { font: 500 .5625rem var(--mono); letter-spacing: .04em; border: 1px solid currentColor; padding: .05em .3em; justify-self: start; }
.t-r.fresh { animation: tfresh 3s var(--ease); }
.t-r.fresh .c-k { background: var(--navy); color: var(--paper); border-color: var(--navy); }
@keyframes tfresh { from { background: var(--tint-fresh); } to { background: transparent; } }
.p-x .t-r { grid-template-columns: minmax(0, 1fr) auto 1.8rem; }
.c-tr .track b { font-size: .6875rem; }
.t-r.sel .track i, .t-r:focus-visible .track i { background: var(--on-accent-track); }
.t-r.sel .track i.on, .t-r:focus-visible .track i.on { background: var(--paper); }
.t-r.sel .track b, .t-r:focus-visible .track b { color: var(--paper); }
.t-hours { display: grid; grid-template-columns: 5.5rem 1fr 2rem; gap: .35rem .75rem; align-items: center; padding: .7rem .75rem .5rem; }
.hl { font-size: .72rem; font-weight: 500; }
.hn { font: .6875rem var(--mono); text-align: right; color: var(--muted); }
.hc { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 18px; align-items: end; }
.hc i { display: block; background: var(--navy); height: calc(var(--v) * 100%); min-height: 1px; }
.hc i[style*="--v:0"] { background: var(--smoke); height: 1px; }
.hx { display: flex; justify-content: space-between; font: .5625rem var(--mono); color: var(--faint); }
.t-sub { font: 500 .625rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .7rem .75rem .35rem; border-bottom: 1px solid var(--line); }
.p-act .t-r, .p-mkt .t-r.bar { grid-template-columns: 10rem minmax(0, 1fr) 2rem; align-items: center; }
.p-mkt .c-pl + .c-bar { min-width: 0; }
.p-mkt .t-r:has(.c-bar) { grid-template-columns: 8rem minmax(0, 1fr) 2.5rem; align-items: center; }
.c-pl { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-bar i { display: block; height: 7px; background: var(--navy); width: var(--w); transition: width .6s var(--ease); }
.t-r.sel .c-bar i, .t-r:focus-visible .c-bar i { background: var(--paper); }
.t-tabs { display: inline-flex; gap: .2rem; }
.t-tabs button { font: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: .05em .35em; opacity: .6; }
.t-tabs button.on { opacity: 1; background: var(--navy); color: var(--paper); }
.t-p.on .t-tabs button.on { background: var(--paper); color: var(--navy); }
.t-empty { padding: .75rem; color: var(--muted); }
.t-foot { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 1rem; font: .625rem var(--mono); color: var(--muted); border-top: 1px solid var(--line); }
.t-foot kbd { margin-right: .15em; }
.t-insp { position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%); background: var(--paper); border-left: 1px solid var(--rule); box-shadow: -24px 0 48px -32px var(--shadow-insp); display: flex; flex-direction: column; z-index: 5; animation: insp .35s var(--ease); }
@keyframes insp { from { transform: translateX(24px); opacity: 0; } }
.t-ih { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1rem; border-bottom: 1px solid var(--line); font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.t-ih button { font: inherit; text-transform: none; letter-spacing: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.t-ib { flex: 1; overflow: auto; padding: 1rem 1.25rem 2rem; font-size: .9rem; line-height: 1.5; }
.t-ib h2 { font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin-bottom: .5rem; }
.t-id { font-weight: 300; }
.t-il { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; margin: .8rem 0 0; font-size: .84rem; }
.t-ib .detail { margin-top: 1rem; }
.t-ib .facts { grid-template-columns: 8rem 1fr; }
.t-ib .life li { grid-template-columns: 7.5rem 6.5rem 1fr; }
@media (max-width: 75rem) {
  .t-kpi { grid-template-columns: repeat(4, 1fr); }
  .t-k:nth-child(n+5) { border-top: 1px solid var(--line); }
  .t-k:nth-child(4) { border-right: 0; }
}
@media (max-width: 60rem) {
  body.view-term { overflow: auto; }
  .term { height: auto; }
  .t-top { flex-wrap: wrap; gap: .6rem 1rem; }
  .t-cmd { order: 5; flex-basis: 100%; }
  .t-grid { display: block; }
  .t-p { border-right: 0; }
  .t-p .t-b { max-height: 26rem; }
  .t-p.p-hit .t-b { max-height: 32rem; }
  .t-insp { position: fixed; width: 100%; }
  .t-foot { display: none; }
}
@media (max-width: 36rem) {
  .t-kpi { grid-template-columns: repeat(2, 1fr); }
  .t-k { padding: .45rem .75rem; border-top: 1px solid var(--line); }
  .t-k:nth-child(2n) { border-right: 0; }
  .t-k b { font-size: 1.3rem; }
  .p-hit .t-r { grid-template-columns: 3.4rem minmax(0, 1fr) 5.5rem; }
  .p-hit .c-pt { display: none; }
  .t-clock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .t-tape { animation: none; } .t-ticker { overflow-x: auto; } .t-r.fresh, .t-insp { animation: none; } }
.t-insp[hidden]{display:none}
.t-r[hidden] { display: none; }
.p-hit .t-r { grid-template-columns: 3.6rem minmax(0, 1fr) 7rem 8rem; }
.p-hit .c-sc { overflow: hidden; text-overflow: ellipsis; }
.t-tabs button { white-space: nowrap; }
@media (max-width: 36rem) { .p-hit .t-r { grid-template-columns: 3.4rem minmax(0, 1fr) 6rem; } .t-k:last-child { grid-column: span 2; } }
button.t-live{background:none;border:0;padding:0;cursor:pointer;color:inherit}button.t-live:hover #t-checked{text-decoration:underline}
.t-r.t-hd.t-sep { position: static; background: var(--off); border-top: 1px solid var(--line); }
.tbl tbody.upd th { text-align: left; font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 1.2rem; }
.tbl tbody.upd td { opacity: .78; }
.t-kpi { grid-template-columns: repeat(5, 1fr); }
.t-k.t-w { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: .5rem 1rem .55rem; }
.t-w .wh { display: flex; flex-direction: column; min-width: 4.5rem; }
.t-w .wh span { font: 500 .625rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.t-w .wh b { grid-row: auto; font-size: 1.6rem; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.t-w .wh i { font: .625rem var(--mono); color: var(--muted); font-style: normal; }
.t-w .wb { display: grid; gap: .05rem; font-size: .72rem; min-width: 0; padding-top: .1rem; }
.t-w .wl { display: flex; justify-content: space-between; gap: .5rem; white-space: nowrap; }
.t-w .wl em { font-style: normal; color: var(--muted); font-weight: 300; }
.t-w .wl span { font: .6875rem var(--mono); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 75rem) { .t-kpi { grid-template-columns: repeat(5, 1fr); } .t-k:nth-child(n+5) { border-top: 0; } .t-k:nth-child(4) { border-right: 1px solid var(--line); } .t-k.t-w { grid-template-columns: 1fr; } .t-w .wb { padding-top: .3rem; } }
@media (max-width: 60rem) { .t-kpi { grid-template-columns: repeat(2, 1fr); } .t-k.t-w { border-top: 1px solid var(--line); } .t-k.t-w:nth-child(2n) { border-right: 0; } .t-k.t-w:last-child { grid-column: span 2; grid-template-columns: auto 1fr; } }
.t-w .wl.wt span { font-family: var(--sans); font-size: .6875rem; color: var(--ink); } .t-w .wl.wt em { color: var(--muted); }
.t-kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.t-k.t-w { grid-template-columns: auto minmax(0, 1fr); min-width: 0; }
.t-w .wt { grid-column: 1 / -1; font-size: .6875rem; margin-top: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-w .wt em { font-style: normal; font: .625rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 60rem) { .t-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.dsec ul.plain { margin: .25rem 0 0; padding-left: 1.1rem; font-size: .875rem; line-height: 1.55; }
.dsec ul.plain li { margin: .2rem 0; }
.life li:not(:has(> :nth-child(3))) { grid-template-columns: 7.5rem 1fr; }
@media (max-width: 36rem) { .t-kpi { grid-template-columns: minmax(0, 1fr); } .t-k.t-w, .t-k.t-w:last-child, .t-k.t-w:nth-child(2n) { border-right: 0; grid-column: auto; grid-template-columns: auto minmax(0, 1fr); } }

/* year-to-date archive (panel 5, Since Jan 1) */
.t-tabs .tn { font-style: normal; opacity: .7; }
.t-ahead { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); padding: .4rem .75rem .35rem; display: grid; gap: .4rem; }
.t-achips { display: flex; flex-wrap: wrap; gap: .25rem; }
.t-achips button { font: .625rem var(--mono); text-transform: uppercase; letter-spacing: .04em; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .15rem .4rem; cursor: pointer; }
.t-achips button i { font-style: normal; color: var(--muted); margin-left: .15rem; }
.t-achips button.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.t-achips button.on i { color: var(--on-accent-dim); }
.t-amon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; align-items: end; }
.t-amon button { background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 2px; color: var(--muted); }
.t-amon .bar { height: 26px; display: flex; align-items: flex-end; background: var(--off); }
.t-amon .bar i { display: block; width: 100%; height: calc(var(--v) * 100%); background: var(--navy); opacity: .55; }
.t-amon button:hover .bar i, .t-amon button.on .bar i { opacity: 1; }
.t-amon button.on .ml { color: var(--ink); font-weight: 500; }
.t-amon .ml { font: .5625rem var(--mono); text-transform: uppercase; text-align: center; }
.p-mkt .t-r.arc { grid-template-columns: 3.4rem minmax(0, 1fr) auto; }
.t-kbtn { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; background: none; border: 0; padding: 0; font: .625rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.p-mkt > header > span:first-child { display: flex; align-items: center; min-width: 0; }
.p-mkt .t-tabs { gap: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.p-mkt .t-tabs::-webkit-scrollbar { display: none; }
.p-mkt .t-tabs button { padding: .05em .3em; }
.p-mkt > header .t-m { white-space: nowrap; flex-shrink: 0; }

/* ===== Hacks leaderboard ===== */
.board { --line: var(--smoke); height: 100vh; height: 100dvh; display: flex; flex-direction: column; font-size: .8125rem; line-height: 1.35; }
.board kbd { font: 500 .625rem/1 var(--mono); border: 1px solid var(--line); padding: .15em .35em; margin-right: .45em; color: var(--muted); background: var(--paper); }
.board .t-top { position: sticky; top: 0; background: var(--paper); z-index: 6; }
.b-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.b-k { display: flex; flex-direction: column; padding: .5rem 1rem .55rem; border-right: 1px solid var(--line); }
.b-k:last-child { border-right: 0; }
.b-k span { font: 500 .625rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.b-k b { font-size: 1.6rem; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.b-k i { font: .625rem var(--mono); font-style: normal; color: var(--muted); }
.b-panel { flex: 1; border-right: 0; }
.b-cats { padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.b-cats .chip i { font-style: normal; color: var(--faint); margin-left: .15em; }
.b-cats .chip.on i { color: var(--on-accent-dim); }
.board-tbl th { font: 400 .7rem var(--mono); color: var(--muted); }
.board-tbl th:first-child, .board-tbl td:first-child { padding-left: .75rem; }
.board .b-note { margin: .6rem .75rem 1rem; }
.b-panel > header { flex-wrap: wrap; }
.b-panel > header .t-m { white-space: normal; }
@media (max-width: 36rem) { .b-k { padding: .45rem .6rem; } .b-k b { font-size: 1.1rem; } .t-live { order: 4; } #t-checked { display: none; } .t-live + .t-cmd { flex: 1 1 0; } }
.b-table-wrap { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
@media (max-width: 60rem) { body.view-board { overflow: auto; } .board { height: auto; min-height: 100dvh; } .b-table-wrap { flex: none; overflow-y: visible; overflow-x: auto; } }
.board-tbl { max-width: none; font-size: .8125rem; }
.board-tbl thead th { background: var(--paper); white-space: nowrap; position: sticky; top: 0; z-index: 1; box-shadow: inset 0 -1px var(--rule); }
.board-tbl td:nth-child(3) { white-space: nowrap; }
.board-tbl th.num, .board-tbl td.num { padding-left: 1.1rem; }
.board-tbl th.sortable { padding-right: .55rem; }
.board-tbl .b-sort { display: inline-flex; align-items: center; gap: .3em; font: inherit; font-weight: 500; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.board-tbl .b-sort i { font-style: normal; font-size: .65rem; color: var(--faint); width: .7em; }
.board-tbl th[aria-sort="ascending"] .b-sort i,
.board-tbl th[aria-sort="descending"] .b-sort i { color: var(--navy); }
.board-tbl tbody tr { cursor: pointer; }
.board-tbl tbody tr:hover, .board-tbl tbody tr.sel { background: var(--off); }
.board-tbl td .t { font-weight: 500; }
.board-tbl td .flag { margin-left: .45em; font: 500 .625rem var(--mono); letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--rule); padding: 0 .3em; vertical-align: .15em; }
.board-tbl td .sub { display: block; color: var(--muted); font-weight: 300; font-size: .78rem; }
.board-tbl td.chains { color: var(--muted); }
.b-note { margin-top: 1rem; font-size: .8125rem; color: var(--muted); max-width: 50rem; }
.b-insp { position: fixed; top: 0; right: 0; width: min(32rem, 100vw); height: 100vh; height: 100dvh; background: var(--paper); border-left: 1px solid var(--rule); z-index: 8; display: flex; flex-direction: column; box-shadow: -1rem 0 2rem var(--shadow-binsp); }
.b-insp[hidden] { display: none; }
.b-ih { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); font-weight: 500; }
.b-ih button { font: 400 .8125rem var(--sans); background: none; border: 0; color: var(--muted); cursor: pointer; }
.b-ih kbd { font: 500 .625rem/1 var(--mono); border: 1px solid var(--smoke); padding: .15em .35em; margin-left: .3em; }
.b-ib { overflow: auto; padding: 1.1rem; }
.b-ib .facts { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.b-ib .facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; font-size: .875rem; }
.b-ib .facts dt { color: var(--muted); font-weight: 500; }
@media (max-width: 52rem) {
  .board-tbl .hide-sm { display: none; }
  .b-insp { width: 100vw; }
}

/* ===== Report view: same shell as terminal and leaderboard ===== */
body.view-report { overflow: hidden; }
.rep { --line: var(--smoke); height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.rep kbd { font: 500 .625rem/1 var(--mono); border: 1px solid var(--line); padding: .15em .35em; margin-right: .45em; color: var(--muted); background: var(--paper); }
.rep > .t-top { font-size: .8125rem; line-height: 1.35; background: var(--paper); }
.r-jump { overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: .9rem; }
.r-jump::-webkit-scrollbar { display: none; }
.r-jump a { font: .78rem var(--mono); text-decoration: none; color: var(--muted); }
.r-jump a:hover, .r-jump a.on { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.r-main { position: relative; flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; max-width: none; margin: 0; padding: 0; }
.rep > .t-foot { flex: none; }
/* panels: full-bleed, 1px rules, mono uppercase headers */
.r-main .t-p, .r-main .opening, .r-main .glance, .r-main .live, .r-main .fig { display: block; margin: 0; padding: 0 0 1.25rem; border: 0; border-bottom: 1px solid var(--line); }
.r-main .t-p > header { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.r-main .t-p > header :is(h1, h2) { font: inherit; letter-spacing: inherit; margin: 0; max-width: none; text-wrap: initial; }
.r-main .live-title { display: inline-flex; align-items: center; gap: .5rem; }
.r-main .b-kpi { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.r-main .g-brief { font: 400 1.0625rem/1.5 var(--sans); max-width: 75ch; }
#foot-asof:not(:empty)::after { content: " · "; }
#main .doc > section > header { max-width: none; }
.r-main section > table.tbl { width: calc(100% - 1.5rem); }
.r-main .cite { overflow-wrap: anywhere; }
@media (max-width: 60rem) { .r-main table.tbl { display: block; overflow-x: auto; max-width: 100%; } }
.t-w .wb { grid-template-columns: minmax(0, 1fr); }
.t-w .wl em { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 45rem) { #t-checked { display: none; } }
@media (max-width: 24rem) { .t-brand { font-size: 1.15rem; } .t-top { gap: .5rem .75rem; } .t-views { gap: 0; } .t-views a { padding: .1em .3em; font-size: .78rem; } }
.r-main .t-p > :not(header):not(.b-kpi):not(.t-sub):not(.body) { margin-inline: .75rem; }
.r-main .t-p > .b-kpi { border-top: 0; margin-bottom: .25rem; }
.r-main .t-sub { margin: 1rem 0 .5rem; }
.r-main .g-grid .t-sub, .r-main .doc .t-sub { padding-inline: 0; }
.r-main .opening .meta { display: flex; gap: 1rem; margin: 0; font: inherit; }
.r-main .opening .meta dd { white-space: nowrap; }
.r-main .abstract-wrap { margin: .9rem .75rem 0; max-width: 75ch; }
.r-main .opening .actions { margin-top: .9rem; }
.r-main .fig > figcaption { display: flex; justify-content: space-between; gap: .75rem; padding: .4rem .75rem; margin: 0 0 0; max-width: none; border-bottom: 1px solid var(--line); font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.r-main .fig > figcaption .t-m { white-space: normal; text-align: right; }
.r-main .fig .series { margin: 1rem .75rem 0; }
.r-main .glance .g-brief { margin-top: .9rem; }
.r-main .live-grid { margin-top: .75rem; }
/* contents rail + article */
.r-main .body { margin: 0; gap: 0; grid-template-columns: var(--toc) minmax(0, 1fr); }
.r-main .toc { top: 0; max-height: 100%; padding: .75rem; border-right: 1px solid var(--line); font-size: .8125rem; }
.r-main .doc .t-p { margin: 0; }
.r-main .doc > section > *:not(header) { margin-inline: .75rem; }
.r-main .t-p > header .t-m { white-space: normal; text-align: right; }
@media (max-width: 60rem) {
  body.view-report { overflow: auto; }
  .rep { height: auto; min-height: 100dvh; }
  .r-main { overflow: visible; }
  .rep > .t-top { position: sticky; top: 0; z-index: 6; }
  .r-main .t-p > header { position: static; }
  .r-main .body { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .r-main .opening .meta { flex-wrap: wrap; gap: .25rem .75rem; }
  .r-main .t-p > header { flex-wrap: wrap; }
  .r-main .live-grid, .r-main .g-grid { grid-template-columns: minmax(0, 1fr); }
}
/* theme toggle, same in all three top bars */
.t-theme { flex: none; font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: none; border: 1px solid var(--line, var(--smoke)); padding: .2rem .45rem; cursor: pointer; white-space: nowrap; }
.t-theme:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 24rem) { .t-theme { padding: .15rem .35rem; } }
.t-theme .t-th-l, :root[data-theme="dark"] .t-theme .t-th-d { display: none; }
:root[data-theme="dark"] .t-theme .t-th-l { display: inline; }
@media (max-width: 60rem) { .t-theme { order: 6; } .t-top > .t-cmd { flex: 1 1 calc(100% - 5.5rem); } }
@media (max-width: 36rem) { .t-top > .t-live + .t-cmd { flex: 1 1 0; } }
/* ⌘K command palette */
.pal { --line: var(--smoke); position: fixed; inset: 12vh auto auto 50%; transform: translateX(-50%); margin: 0; width: min(40rem, calc(100vw - 2rem)); max-height: 70vh; padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: .8125rem/1.35 var(--sans); box-shadow: 0 24px 64px -24px var(--shadow-insp); }
.pal[open] { display: flex; flex-direction: column; }
.pal::backdrop { background: color-mix(in srgb, var(--paper) 55%, transparent); }
.pal kbd { font: 500 .625rem/1 var(--mono); border: 1px solid var(--line); padding: .15em .35em; margin-right: .35em; color: var(--muted); background: var(--paper); }
.pal-in { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-bottom: 1px solid var(--rule); font-family: var(--mono); }
.pal-in > span { color: var(--navy); font-weight: 500; }
.pal-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: .875rem var(--mono); }
.pal-in input::placeholder { color: var(--faint); }
.pal-in kbd { margin: 0; }
.pal-list { list-style: none; overflow: auto; scrollbar-width: thin; padding: .3rem 0; }
.pal-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .45rem .9rem; cursor: pointer; }
.pal-list li[aria-selected="true"] { background: var(--navy); color: var(--paper); }
.pal-list li[aria-selected="true"] .pal-h { color: var(--on-accent-dim); }
.pal-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-h { flex: none; font: .6875rem var(--mono); color: var(--muted); white-space: nowrap; }
.pal-none { color: var(--muted); cursor: default; }
.pal-foot { display: flex; justify-content: space-between; padding: .4rem .9rem; border-top: 1px solid var(--line); font: .625rem var(--mono); color: var(--muted); }
:root[data-theme="dark"] .pal::backdrop { background: rgba(0, 0, 0, .6); }
