/* pequalnp.com. Tokens from site/design/batch1/TOKENS.md.
   The rule: only checked looks like a result. Checked is solid, upright and green. A
   conjecture (and a lemma in work, which is one) is dashed and italic. Refuted is a red mark.
   Ruled dead is the black chip. No drop shadows on paper; glows live on the map only. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/newsreader.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('../fonts/newsreader-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('../fonts/inter-italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-italic.woff2') format('woff2'); }

:root {
  --paper: #F6F4EF; --raised: #FFFFFF; --sunk: #ECE8DF; --sunk-2: #F1EEE7; --plain: #EFEBE2;
  --rule: #E2DED4; --rule-strong: #D6D1C5;
  --ink: #1B1A17; --ink-2: #4A463E; --ink-3: #6B665B; --ink-4: #8A857A; --ink-5: #B5AFA2; --ink-6: #C9C3B5;
  --green: #2F6B4F; --green-bg: #E6F0E9; --red: #A2321F; --red-bg: #F7E4E0; --live: #3DAA6E; --mid: #C2412D;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* THE CONTAINER. One for the whole site: content is at most 1240 px wide and centred, with 24 px
     gutters (16 px on a phone). Every section, the header and the footer pad their sides with --gutter,
     so backgrounds run edge to edge and every block starts on the same left edge. Inside it, a block
     either spans the container or sits on declared columns of the 12-column grid (.grid12, 24 px gaps).
     Nothing is placed from the window's edge. */
  --page: 1240px;
  --gutter: max(24px, calc((100vw - var(--page)) / 2));
  --col-gap: 24px;
  /* THE SPACING SCALE. Every gap on the home page, the header and the footer is one of these. */
  --s8: 8px; --s16: 16px; --s24: 24px; --s32: 32px; --s40: 40px; --s64: 64px; --s96: 96px;
  /* The space above and below a section's content. */
  --section: var(--s64);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 760px) { :root { --gutter: 16px; --section: var(--s40); } }
/* A very wide window (from 1920 px): the container is 1440 px and the hero's type is 12% larger, so the page does not read small. */
@media (min-width: 1920px) { :root { --page: 1440px; } }
/* The 12-column grid of the container. A child names its columns; on a narrow window every child spans all of them. */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.grid12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) { .grid12 > .cols-1-8 { grid-column: 1 / span 8; } .grid12 > .cols-9-12 { grid-column: 9 / span 4; } }
/* The page keeps the reader's place itself (js/ui.js, keepPlace), the same way in every browser: the browser's own
   scroll anchoring is off, or the two would each correct the same change. */
html { overflow-anchor: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); min-width: 320px; }
h1, h2, h3, p, ul, ol, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.map :focus-visible, .graph :focus-visible { outline-color: #EDEAE2; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.nowrap { white-space: nowrap; }
.it { font-style: italic; }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.dot { color: var(--ink-5); margin: 0 0.6em; }
.icon { display: inline-flex; flex: none; }
.kicker { font: 600 11px/1.18 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-4); }
.kicker > span + span::before { content: '·'; margin: 0 1.1em; }
.kicker > span:empty { display: none; }

/* ---- Buttons, the toggle, the chips ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 6px; font: 600 14px/1.21 var(--sans); text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-outline { border: 1px solid var(--ink); }
.btn-block { display: flex; width: 100%; }

.chip { --chip-bg: transparent; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--chip-bg); font: 600 12px/1.25 var(--sans); white-space: nowrap; vertical-align: middle; }
.chip-checked { --chip-bg: var(--green-bg); color: var(--green); }
.chip-refuted { --chip-bg: var(--red-bg); color: var(--red); }
.chip-blocked { --chip-bg: var(--ink); color: var(--paper); }
.chip-conjecture, .chip-in_work { color: var(--ink-3); font-weight: 500; font-style: italic; border: 1px dashed var(--ink-4); padding: 3px 9px 3px 7px; }
.chip-died { color: var(--ink-3); font-weight: 500; border: 1px solid var(--rule-strong); padding: 3px 9px 3px 7px; }

.trouble { margin: 0; padding: 10px var(--gutter); background: var(--plain); color: var(--ink-2); font-size: 13px; }

/* ---- Header and footer ---- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--s24); padding: var(--s16) var(--gutter); border-bottom: 1px solid var(--rule); position: relative; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex: 1 1 0; min-width: 0; }
.brand-mark { font: italic 500 22px/1 var(--serif); white-space: nowrap; }
.brand-tag { font-size: 13px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; gap: 24px; font: 500 14px/1.21 var(--sans); color: var(--ink-2); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 1 1 0; }
.site-actions .btn { padding: 9px 16px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
/* The footer, option B: light paper, on every page (site/design/footer_1122). One Inter size for links, no italics. */
.site-footer { padding: var(--s64) var(--gutter) 0; background: var(--sunk-2); border-top: 1px solid #D9D3C6; color: var(--ink); font: 400 14px/17px var(--sans); }
.site-footer a { text-decoration: none; } .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-top { display: flex; gap: var(--s40); padding-bottom: var(--s40); }
.foot-about { flex: none; width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s16); }
.foot-brand { font: italic 500 28px/1 var(--serif); white-space: nowrap; } .site-footer a.foot-brand:hover { text-decoration: none; }
.foot-tag { color: var(--ink-2); line-height: 1.4; }
.foot-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding: 5px 12px; border-radius: 999px; background: var(--green-bg); font: 400 11px/15px var(--mono); color: var(--green); }
.foot-live[hidden] { display: none; }
.foot-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
[data-stale='yes'] .foot-live { background: var(--sunk); color: var(--ink-3); } [data-stale='yes'] .foot-live::before { background: var(--ink-5); }
.foot-col { flex: 1 0 0; min-width: 0; }
.foot-col h2 { font: 600 11px/13px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-4); }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.foot-col li { display: flex; align-items: center; min-height: 17px; } .foot-col li[hidden] { display: none; }
.foot-rss { display: inline-flex; align-items: center; gap: 6px; height: 17px; }
.site-footer .foot-agent { flex-wrap: wrap; gap: 4px 8px; color: var(--ink-4); }
.foot-chip { padding: 2px 7px; box-shadow: inset 0 0 0 1px var(--ink-6); border-radius: 999px; font: 500 10px/12px var(--sans); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s16) var(--s40); padding: var(--s24) 0; border-top: 1px solid #D9D3C6; font-size: 13px; line-height: 16px; }
.foot-line { color: var(--ink-3); }
.foot-made { display: flex; align-items: center; gap: 16px; }
.foot-credit { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.foot-try { padding: 6px 12px; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 600; } .site-footer a.foot-try:hover { text-decoration: none; background: #000; }
@media (max-width: 900px) { .foot-top { flex-wrap: wrap; gap: 28px 24px; } .foot-about { flex: 1 0 100%; width: auto; } }
@media (max-width: 640px) {
  .site-footer { padding-top: var(--s40); } .foot-top { padding-bottom: var(--s24); } .foot-long { display: none; }
  .foot-col { flex: 1 0 calc(50% - 12px); } .foot-follow { flex-basis: 100%; } .foot-follow ul { flex-direction: row; flex-wrap: wrap; gap: 10px 16px; } .foot-agent { flex-basis: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0 32px; }
}

/* ---- Home: hero ----
   Two columns on the 12-column grid (site/design/hero_1122, section 7): the content on columns 1 to 8,
   the whispers and the bars on 9 to 12. Everything is left-aligned on its column's left edge, and every
   gap in a column is 24 px. Below 1024 px the right column goes under the left. */
.hero { padding: var(--s64) var(--gutter); row-gap: var(--s40); }
.hero-main, .hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s24); }
.hero-side { align-items: stretch; gap: var(--s40); min-height: 0; }
.hero-side .tug { margin-top: auto; }
.hero-q { font: 400 clamp(88px, 9.17vw, 132px)/0.98 var(--serif); letter-spacing: -0.024em; }
.hero-a { font: italic 400 36px/1.1 var(--serif); color: var(--ink-3); }
.hero-line { max-width: 620px; font: 400 19px/1.5 var(--sans); color: var(--ink-2); }
.hero-counters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s8) var(--s16); color: var(--ink-3); }
.hero-counters .num { font-size: 18px; color: var(--ink); margin-right: 6px; }
.hero-counters .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-5); }
.hero-progress { margin-top: calc(-1 * var(--s8)); font: 400 12px/1.5 var(--mono); color: var(--ink-4); white-space: pre-wrap; }
.hero-progress:empty { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s16); margin-top: var(--s8); }
.hero-cta .live-dot { margin: 0; }
@media (min-width: 1920px) {
  .hero-q { font-size: 148px; } .hero-a { font-size: 40px; } .hero-line { font-size: 21px; max-width: 700px; }
  .hero-counters { font-size: 18px; } .hero-counters .num { font-size: 20px; } .hero-progress { font-size: 13px; } .hero-cta .btn { font-size: 16px; padding: 14px 20px; }
}
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-5); margin-right: 10px; vertical-align: 1px; }
.live-dot.on, .live-dot.small { background: var(--live); }
.live-dot.small { width: 6px; height: 6px; margin-right: 8px; }
.live-dot.small.off { background: var(--ink-5); }
/* EVERY GREEN LIVE DOT BREATHES (site/design/hero_1122, section 9): a halo ring grows from the dot to 2.2 times
   its size and fades from 0.5 to nothing over 2 s, and the dot itself dips to 0.85. This is the one rule: a new
   live dot takes the class "breathe", or joins this list if it is a pseudo-element. A stale page has no halo
   (--halo), and with reduced motion the halo is a still ring. */
.breathe, .live-dot.on, .live-dot.small:not(.off), .agents-pill .pulse.on, .live-kicker::before, .live-pill::before, .foot-live::before, .live-pulse::before,
.status-note .badge::before, .wti-pill-live::before, .wti-seat .id::before { --dot: 8px; animation: breathe 2s ease-out infinite; }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 var(--halo); opacity: 1; } 60% { opacity: 0.85; } 100% { box-shadow: 0 0 0 calc(var(--dot) * 0.6) transparent; opacity: 1; } }
:root { --halo: rgba(61, 170, 110, 0.5); } [data-stale='yes'] { --halo: transparent; }
.tug { display: flex; flex-direction: column; gap: var(--s8); }
.tug-heads, .tug-notes { display: flex; justify-content: space-between; gap: var(--s16); }
.tug-heads { font: 600 13px/1.23 var(--sans); }
.tug-notes { font-size: 12px; line-height: 1.25; color: var(--ink-4); }
.tug-heads span, .tug-notes span { white-space: pre-wrap; }
.tug-notes span + span, .tug-heads span + span { text-align: right; }
.tug-bar { display: flex; align-items: center; gap: 3px; height: 14px; margin: var(--s8) 0; }
.tug-neq, .tug-eq { align-self: stretch; flex: 1 0 0; min-width: 3px; transition: flex-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tug-neq { background: var(--ink); border-radius: 3px 0 0 3px; }
.tug-eq { background: var(--ink-5); border-radius: 0 3px 3px 0; }
.tug-bar.empty .tug-neq, .tug-bar.empty .tug-eq { background: var(--rule); }
.tug-mark { width: 2px; height: 26px; background: var(--mid); flex: none; }
.tug-disclaimer { font-size: 12px; line-height: 1.25; font-style: italic; color: var(--ink-4); }

/* ---- Home: the map ---- */
.map { position: relative; height: clamp(620px, 62.5vw, 900px); overflow: hidden; color: #EDEAE2; background: radial-gradient(75% 75% at 40% 50%, #0D1016 0%, #06070A 100%); }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-head { position: absolute; left: var(--gutter); top: var(--s64); right: var(--gutter); pointer-events: none; }
.map-head h2 { font: 400 clamp(22px, 2.1vw, 30px)/1.15 var(--serif); max-width: 26em; text-wrap: balance; }
/* The search box sits on the same line at the right: the title and its pulse stop before it, and the pulse drops under the title when they do not fit. */
.map-head .title-line { max-width: calc(100% - 444px); }
.map-back { pointer-events: auto; margin-top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font: 500 13px/1.23 var(--sans); color: #EDEAE2; }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-program { position: absolute; transform: translateX(-50%); pointer-events: auto; text-align: center; padding: 6px 10px; border-radius: 6px; background: rgba(6, 7, 10, 0.55); display: flex; flex-direction: column; gap: 5px; max-width: 300px; }
.map-program .name { font: 600 10px/1.2 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: #EDEAE2; }
.map-program .sub { font: 400 10px/1.3 var(--mono); color: #5E636D; white-space: nowrap; }
.map-program.empty { background: none; cursor: default; }
.map-program.empty .name { color: #5E636D; }
.map-program.empty .sub { font: italic 400 10px/1.2 var(--sans); color: #3E434C; }
.map-program:not(.empty):hover .name { color: #FFD27A; }
.map-card { position: absolute; padding: 10px 12px; border-radius: 6px; background: rgba(6, 7, 10, 0.85); pointer-events: none; display: flex; flex-direction: column; gap: 5px; }
.map-card .id { font: 500 12px/1.3 var(--mono); color: #EDEAE2; white-space: nowrap; }
.map-card .id .dot { color: #5E636D; }
.map-card .id.is-conjecture, .map-card .id.is-in_work { font-style: italic; color: #8B8F98; }
.map-card .id.is-refuted { color: #E0705C; }
.map-card .id.is-blocked { color: #8B8F98; }
.map-card .id.is-ignite { color: #FFD27A; font-style: normal; }
.map-card .title { font-size: 12px; line-height: 1.35; color: #EDEAE2; }
.map-card .meta { font: italic 400 10px/1.3 var(--sans); color: #8B8F98; }
.map-legend { position: absolute; left: var(--gutter); bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 9px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 11px; line-height: 1.2; color: #C9C3B5; max-width: calc(100% - 2 * var(--gutter)); }
.map-legend li { display: flex; align-items: center; gap: 7px; }
.map-legend .it { color: #8B8F98; }
.lg { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lg-checked { background: #F3E9D2; box-shadow: 0 0 6px rgba(243, 233, 210, 0.6); }
.lg-conjecture { border: 1px dashed #8B8F98; }
.lg-agent { width: 12px; height: 2px; border-radius: 0; background: linear-gradient(90deg, transparent, #7FD1FF); }
.lg-refuted { border: 1.5px solid #C2412D; }
.lg-dead { border: 1.5px solid #5E636D; background: linear-gradient(#5E636D, #5E636D) center / 5px 1.5px no-repeat; }
.map-credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: 10px; font-style: italic; color: #4A4F59; }

/* ---- Home: numbers strip ---- */
.numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s16) var(--s40); padding: var(--s24) var(--gutter); background: var(--sunk); }
.counts { display: flex; flex-wrap: wrap; gap: 10px 48px; }
.counts > div { display: flex; align-items: baseline; gap: 12px; }
.counts dd { font-size: 28px; line-height: 1.32; order: -1; }
.counts dt { font-size: 13px; color: var(--ink-3); }
.numbers-side { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font: 500 13px/1.23 var(--sans); }
.numbers-side a { text-underline-offset: 3px; }
.started { font: 400 12px/1.33 var(--mono); color: var(--ink-2); }

/* ---- Event rows: the record on home, the history on a lemma ---- */
.record { padding: var(--section) var(--gutter); }
.record h2, .sponsors h2 { font: 400 clamp(34px, 3.9vw, 56px)/1.05 var(--serif); letter-spacing: -0.018em; }
.record-note { max-width: 46em; margin-top: var(--s24); font-size: 14px; color: var(--ink-3); }
.record .events { margin-top: var(--s24); border-top: 1px solid var(--ink); }
.event { display: grid; grid-template-columns: 148px 132px minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.event .when { font: 400 13px/1.9 var(--mono); color: var(--ink-4); white-space: pre; }
.event .sentence { font: 400 20px/1.3 var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.event .sentence:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.event .who { font: 400 12px/2 var(--mono); color: var(--ink-3); text-align: right; display: flex; flex-direction: column; }
.event h3 { font: 400 20px/1.25 var(--serif); }
.event .body p { margin-top: 6px; font-size: 15px; color: var(--ink-3); max-width: 38em; overflow-wrap: anywhere; }
.events-empty, .sponsors-empty, .none-yet { padding: 28px 0; font: italic 400 20px/1.4 var(--serif); color: var(--ink-3); }

/* ---- Sponsors: the home section, the page, the today strip ---- */
.sponsors { padding: var(--section) var(--gutter); background: var(--raised); border-top: 1px solid var(--rule); }
.sponsors h2 { font-size: clamp(30px, 3.05vw, 44px); letter-spacing: -0.011em; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s24); padding-bottom: var(--s24); border-bottom: 1px solid var(--ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 6px; background: var(--sunk-2); }
.seg button { padding: 6px 12px; border-radius: 4px; font: 600 12px/1.25 var(--sans); color: var(--ink-3); }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.seg.big { background: var(--sunk); padding: 4px; }
.seg.big button { padding: 9px 16px; font-size: 14px; font-weight: 500; }
.split { display: flex; gap: var(--s64); align-items: flex-start; }
.split-main { flex: 3 1 0; min-width: 0; }
.become { flex: 2 1 0; margin-top: var(--s40); padding: var(--s24); border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.become h2, .become h3 { font: 400 30px/1.05 var(--serif); letter-spacing: 0; }
.become p { font-size: 14px; color: var(--ink-2); }
.become .mail { font: 400 12px/1.33 var(--mono); color: var(--ink-4); text-align: center; }
.become.raised { background: var(--raised); border: 1px solid var(--rule); margin-top: 0; padding: 32px; flex: none; width: min(456px, 100%); }
.sponsor { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 110px 110px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.compact .sponsor { grid-template-columns: minmax(0, 195px) minmax(0, 1fr) 64px 100px; padding: 16px 0; }
.sponsor .name { font: 400 clamp(22px, 2vw, 28px)/1.1 var(--serif); overflow-wrap: anywhere; }
.compact .sponsor .name { font-size: 22px; }
.sponsor .name.anon { font-style: italic; color: var(--ink-3); }
.sponsor .note { font-size: 15px; font-style: italic; color: var(--ink-4); overflow-wrap: anywhere; }
.compact .sponsor .note { font-size: 12px; }
.sponsor .note.none::before { content: ''; display: block; width: 14px; border-top: 1px solid var(--ink-6); }
.sponsor .when { font: 400 13px/1.33 var(--mono); color: var(--ink-4); white-space: nowrap; }
.compact .sponsor .when { font-size: 12px; }
.sponsor .amount { font: 500 clamp(15px, 1.35vw, 18px)/1.33 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.compact .sponsor .amount { font-size: 15px; }
.list-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font: 600 13px/1.23 var(--sans); }
.list-foot .note { font-weight: 400; font-style: italic; color: var(--ink-4); font-size: 12px; }
.today { display: flex; align-items: center; gap: var(--s24); padding: var(--s16) var(--gutter); background: var(--sunk-2); border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.today .kicker { flex: none; }
.today p { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; }
.today .amt { margin-left: 8px; }
.today .more { margin-left: 16px; color: var(--ink-4); font-style: italic; }
.sp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(32px, 3.9vw, 56px); }
.sp-intro { flex: 1 1 520px; max-width: 840px; }
.sp-head h1, .lemma-title, .lemma-missing h1 { font: 400 clamp(38px, 4.45vw, 64px)/1.05 var(--serif); letter-spacing: -0.023em; }
.sp-head h1 { margin-top: 14px; }
.lead { font: 400 clamp(18px, 1.55vw, 22px)/1.45 var(--serif); color: var(--ink-2); margin-top: 20px; }
.sp-list { padding: clamp(32px, 3.4vw, 48px) var(--gutter) clamp(48px, 5vw, 72px); }
.sp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.order { display: flex; align-items: center; gap: 16px; }
.sp-summary { font: 400 13px/1.33 var(--mono); color: var(--ink-4); white-space: pre-wrap; }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 14px; color: var(--ink-4); }
.pager div { display: flex; gap: 20px; }
.pager button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.pager button:disabled { color: var(--ink-5); text-decoration: none; font-weight: 400; cursor: default; }

/* ---- Lemma ---- */
.lemma { padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(48px, 5vw, 72px); min-height: 60vh; }
.lemma-wait { color: var(--ink-4); font-style: italic; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--ink-2); }
.crumbs a { text-underline-offset: 3px; }
.crumbs .slash { color: var(--ink-5); }
.crumbs .here { font: 400 13px/1.3 var(--mono); color: var(--ink); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.status-line .chip { margin-right: 16px; }
/* What a lemma is: a known result rebuilt here, a helper, an open target. Quiet, beside its status. */
.kind { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 12px/1.25 var(--sans); color: var(--ink-3); white-space: nowrap; vertical-align: middle; }
.kind-open { border-color: #E7C873; color: #8A6A1E; }
.status-line .kind { margin-right: 16px; } .event .state .kind { margin-left: 6px; }
.page-program .rebuilds { margin-top: 8px; color: var(--ink-3); }
.lemma-title { margin-top: 26px; max-width: 17em; text-wrap: balance; }
.lemma-title.open { font-style: italic; color: var(--ink-2); }
.plain-on { display: flex; align-items: center; gap: 10px; font: 600 13px/1.23 var(--sans); white-space: nowrap; }
.plain-text { flex: 1 1 320px; font-size: 16px; color: var(--ink-2); }
.lemma-cols { display: flex; gap: 48px; align-items: flex-start; margin-top: 48px; }
.lemma-main { flex: 3 1 0; min-width: 0; }
.lemma-side { flex: 2 1 0; min-width: 0; }
.lemma-main > .kicker { margin: 36px 0 16px; }
.lemma-main > .kicker:first-child { margin-top: 0; }
.lean { padding: 24px; border-radius: 8px; background: var(--ink); color: #EDEAE2; font: 400 14px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.lean.open { background: none; color: var(--ink-2); border: 1px dashed var(--ink-4); font-style: italic; }
.checker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; padding: 18px 20px; border: 1px solid var(--green); border-radius: 8px; }
.checker.is-refuted { border-color: var(--red); }
.checker > .icon { color: var(--green); }
.checker.is-refuted > .icon { color: var(--red); }
.run { flex: 1 1 260px; min-width: 0; }
.run-main { font: 400 14px/1.4 var(--mono); overflow-wrap: anywhere; }
.run-main span:last-child { white-space: nowrap; }
.run-meta { font: 400 12px/1.5 var(--mono); color: var(--ink-3); margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.verify-note { margin-top: 12px; font-size: 12px; color: var(--ink-4); max-width: 52em; }
/* The credit of an outside contributor, under the statement (outside/README.md). */
.credit { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--raised); }
.credit .avatar { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #F3E4D3; }
.credit .avatar .initials { font: 600 15px/1 var(--sans); color: #8A5A2B; } .credit .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credit .by { font: 600 15px/1.3 var(--sans); color: var(--ink); } .credit .by a { color: inherit; text-underline-offset: 3px; }
.credit .how, .credit .pr { margin-top: 2px; font: 400 12px/1.5 var(--sans); color: var(--ink-3); } .credit .how time { font: inherit; color: inherit; }
.credit .pr a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.event .outside a { color: inherit; text-underline-offset: 3px; }
.verdict { margin-top: 28px; padding: 18px 20px; border-radius: 8px; font-size: 15px; }
.verdict .kicker { margin-bottom: 8px; }
.verdict.refuted { background: var(--red-bg); color: #5C1D12; }
.verdict.refuted .kicker { color: var(--red); }
.verdict.dead { background: var(--ink); color: #D6D3CB; }
.history .event { grid-template-columns: 136px 132px minmax(0, 1fr) auto; }
.lemma-history { margin-top: 48px; }
.lemma-side .kicker { margin-bottom: 16px; }
.graph { position: relative; border-radius: 10px; background: radial-gradient(70% 70% at 50% 50%, #11141B 0%, #07080B 100%); color: #EDEAE2; overflow: hidden; }
.graph-heads { position: absolute; inset: 28px 36px auto; display: flex; justify-content: space-between; font: 600 9px/1.2 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #8B8F98; white-space: pre; }
.graph-svg { display: block; width: 100%; height: auto; }
.graph-svg text { font: 400 13px var(--mono); fill: #EDEAE2; }
.graph-svg .edge { stroke: #2A2F38; stroke-width: 1; stroke-dasharray: 2 5; }
.graph-svg .edge.solid { stroke: #3A404B; stroke-width: 1.25; stroke-dasharray: none; }
.graph-svg .edge.lit { stroke: #B88A3A; }
.graph-svg .edge.refuted { stroke: #4A2622; stroke-dasharray: 3 4; }
.gnode .hit { fill: transparent; }
.gnode .dot { fill: none; stroke: #8B8F98; stroke-width: 1; stroke-dasharray: 2 2; }
.gnode.is-conjecture text, .gnode.is-in_work text { font-style: italic; fill: #8B8F98; }
.gnode.is-checked .dot { fill: #F3E9D2; stroke: none; filter: drop-shadow(0 0 5px rgba(243, 233, 210, 0.6)); }
.gnode.is-refuted .dot { fill: #07080B; stroke: #C2412D; stroke-width: 1.5; stroke-dasharray: none; }
.gnode.is-refuted text { fill: #E0705C; }
.gnode.is-blocked .dot { fill: #07080B; stroke: #5E636D; stroke-width: 1.5; stroke-dasharray: none; }
.gnode.is-blocked text { fill: #8B8F98; }
.gnode .mark { stroke: #C2412D; stroke-width: 1.5; fill: none; }
.gnode.is-blocked .mark { stroke: #5E636D; }
.gnode:hover text, .gnode:focus-visible text { fill: #FFD27A; }
.gnode .ring { fill: none; stroke: #F2B84B; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 1.8s ease-out 3; }
.gnode .ring.r2 { animation-delay: 0.3s; }
@keyframes ring { from { opacity: 0.7; transform: scale(1); } to { opacity: 0; transform: scale(5); } }
.graph-svg .halo { fill: none; }
.graph-svg .halo.is-checked { fill: rgba(242, 184, 75, 0.16); filter: blur(12px); }
.graph-svg .this { fill: none; stroke: #8B8F98; stroke-dasharray: 2 2; }
.graph-svg .this.is-checked { fill: #FFF4D6; stroke: none; filter: drop-shadow(0 0 12px #F2B84B); }
.graph-svg .this.is-refuted { fill: #07080B; stroke: #C2412D; stroke-width: 2; stroke-dasharray: none; }
.graph-svg .this.is-blocked { fill: #07080B; stroke: #5E636D; stroke-width: 2; stroke-dasharray: none; }
.graph-svg .this-label { fill: #FFD27A; }
.graph-svg .more { fill: #5E636D; font-style: italic; }
.graph-credit { position: absolute; right: 36px; bottom: 16px; font-size: 10px; font-style: italic; color: #4A4F59; }
.graph-note { margin-top: 14px; font-size: 13px; font-style: italic; color: var(--ink-4); }
.lemma-missing { padding: 40px 0; display: flex; flex-direction: column; gap: 20px; }
.lean-id { font: 400 14px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }

/* ---- What this is and is not ---- */
.about { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6.7vw, 96px) var(--gutter) clamp(48px, 5vw, 72px); }
.about h1 { font: 400 clamp(36px, 3.9vw, 56px)/1.1 var(--serif); letter-spacing: -0.018em; margin-top: 16px; text-wrap: balance; }
.about h2 { font: 400 30px/1.1 var(--serif); margin-top: 56px; }
.read { font: 400 20px/1.55 var(--serif); color: var(--ink-2); margin-top: 14px; }
.states { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.states li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.states .it { color: var(--ink-3); }
.is-not { margin: 56px 0; padding: 32px; border-radius: 10px; background: var(--raised); border: 1px solid var(--rule); }
.is-not h2 { margin-top: 0; }
.is-not ul { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.is-not li { position: relative; padding-left: 30px; }
.is-not li::before, .is-not li::after { content: ''; position: absolute; left: 1px; top: 11px; width: 18px; border-top: 1.5px solid var(--mid); transform: rotate(45deg); }
.is-not li::after { transform: rotate(-45deg); }
.about .soon { font-size: 14px; font-style: italic; color: var(--ink-4); margin-top: 10px; }

/* Pieces that exist for one width only. */
.narrow-only, .site-nav .menu-only { display: none; }

/* ---- Narrower than the desktop frame ---- */
@media (max-width: 1080px) {
  .split, .lemma-cols { flex-direction: column; gap: 40px; }
  .split-main, .become, .lemma-main, .lemma-side { flex: none; width: 100%; }
  .become { margin-top: 0; }
  .brand-tag { display: none; }
}
@media (max-width: 760px) {
  .wide-only { display: none !important; }
  .narrow-only { display: inline-flex; }
  .menu-btn { display: inline-flex; }
  .site-header { padding: var(--s8) var(--gutter); }
  .brand-mark { font-size: 20px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .site-nav .menu-only { display: flex; }
  .hero { padding: var(--s40) var(--gutter); }
  .hero-main { gap: var(--s16); }
  .hero-a { font-size: 28px; }
  .hero-line { font-size: 16px; }
  .hero-counters { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; } .hero-counters .num { font-size: 15px; } .hero-counters .sep { display: none; }
  .hero-progress { margin-top: 0; }
  .hero-cta { align-self: stretch; } .hero-cta .btn { flex: 1 1 140px; }
  .tug-notes { font-size: 11px; }
  .tug-bar { height: 10px; }
  .tug-mark { height: 20px; }
  .map-legend { bottom: 34px; padding: 7px 10px; gap: 6px 12px; font-size: 10px; }
  .map-labels { display: none; }
  .numbers { flex-direction: column; align-items: flex-start; }
  .counts { gap: 4px 24px; }
  .counts dd { font-size: 20px; }
  .event, .history .event { grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; }
  .event .when { grid-column: 1 / -1; line-height: 1.3; font-size: 12px; }
  .event .sentence, .event .body { grid-column: 1 / -1; }
  .event .sentence, .event h3 { font-size: 18px; }
  .event .who { grid-row: 2; grid-column: 2; text-align: right; line-height: 1.9; }
  .sponsor, .compact .sponsor { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; }
  .sponsor .name, .compact .sponsor .name { font-size: 18px; }
  .sponsor .amount { grid-column: 2; grid-row: 1; }
  .sponsor .note { grid-column: 1 / -1; font-size: 12px; }
  .sponsor .note.none, .compact .sponsor .when { display: none; }
  .sponsor .when { grid-column: 1 / -1; font-size: 11px; }
  .compact .sponsor .note { display: none; }
  .today { flex-direction: column; align-items: flex-start; gap: 8px; }
  .today p { white-space: normal; flex: none; }
  .checker .btn { width: 100%; }
  .graph-heads { inset: 16px 16px auto; }
  .graph-svg text { font-size: 20px; }
  .about h2 { font-size: 26px; }
  .read { font-size: 18px; }
  .is-not { padding: 22px; }
}

/* A founder's word (2026-11-22): this site does not follow prefers-reduced-motion. All live motion runs for every visitor. */

/* ================= Batch 2: search, return cards, the hub, programs, seats ================= */
:root { --blue: #2D5E8A; --blue-ring: #7FA6C9; }
.btn-light { background: var(--paper); color: var(--ink); }
.mono { font: 400 13px/1.5 var(--mono); color: var(--ink-2); white-space: pre-wrap; }
.kicker.ink { color: var(--ink); }
.kicker .lower, .lower { text-transform: none; letter-spacing: 1px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--live); border-radius: 999px; font: 600 11px/1.2 var(--sans); color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pills .label, .pick .label { font-size: 14px; color: var(--ink-4); margin-right: 4px; }
.pills button { padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 14px/1.21 var(--sans); color: var(--ink-2); }
.pills button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pills.small button { padding: 4px 10px; font-size: 12px; }
.pick { display: inline-flex; align-items: center; gap: 8px; }
.pick select { font: 500 14px/1.21 var(--sans); color: var(--ink); background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 7px 12px; }
.pager button.link, button.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

/* ---- Search field and its panel ---- */
.map-search { position: absolute; right: var(--gutter); top: var(--s64); width: min(420px, calc(100% - 2 * var(--gutter))); z-index: 3; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(6, 7, 10, 0.72); color: #EDEAE2; }
.search-field:focus-within { border-color: #EDEAE2; }
.search-field input { flex: 1 1 0; min-width: 0; background: none; border: 0; outline: 0; color: inherit; font: 400 15px/1.3 var(--sans); }
.search-field input::placeholder { color: #8B8F98; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field kbd { font: 400 11px var(--mono); color: #8B8F98; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; padding: 1px 6px; }
.search-field.light { background: var(--raised); border-color: var(--rule-strong); color: var(--ink); padding: 14px 16px; }
.search-field.light:focus-within { border-color: var(--ink); }
.search-field.light input::placeholder { color: var(--ink-4); }
.search-panel { margin-top: 8px; border-radius: 8px; overflow: hidden; background: var(--raised); color: var(--ink); max-height: min(70vh, 560px); overflow-y: auto; border: 1px solid var(--rule); }
.hub-search { position: relative; }
.hub-search .search-panel { position: absolute; left: 0; right: 0; z-index: 4; box-shadow: 0 12px 30px rgba(27, 26, 23, 0.12); }
.search-panel .group { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--plain); font: 600 11px/1.2 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.search-panel .group.mid { justify-content: center; }
.search-panel .basis { font: 400 12px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.search-panel .result { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.search-panel .result:hover, .search-panel .result.on { background: var(--sunk-2); }
.search-panel .result .id { font: 400 12px var(--mono); color: var(--ink-3); }
.search-panel .result .title { font-size: 15px; overflow-wrap: anywhere; grid-column: 1 / 3; }
.search-panel .result .chip ~ .title { grid-column: 1 / -1; grid-row: 2; }
.search-panel .result .side { font: 400 11px var(--mono); color: var(--ink-4); grid-column: 3; justify-self: end; }
.search-panel .none { padding: 18px 16px; font-size: 15px; }
.search-panel .foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--ink); color: #C9C3B5; font-size: 12px; }
.search-panel .foot span + span { font-family: var(--mono); }

/* ---- Home: the three return cards ---- */
.returns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s24); margin-top: var(--s40); }
.return { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 8px; background: var(--raised); border: 1px solid var(--rule); min-height: 148px; }
.return .kicker { font-size: 10px; }
.return .big { font: 400 20px/1.3 var(--serif); overflow-wrap: anywhere; }
.return .tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; font: 400 11px/1.3 var(--mono); color: var(--ink-4); }
.tag-checked { color: var(--green); } .tag-refuted { color: var(--red); } .tag-dead { color: var(--ink); }
.return .foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 12px; color: var(--ink-3); }
.return.frontier { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.return.frontier .kicker { color: #7BC79A; }
.return.frontier .foot { color: #EDEAE2; font-weight: 600; }
.return.grave { background: none; border-color: var(--ink-4); }
.record-more { display: flex; align-items: center; gap: var(--s24); margin-top: var(--s24); font: 600 13px/1.2 var(--sans); }
.record [data-older] { margin-top: 0; }
.event a.who { text-decoration: none; }
.event a.who:hover { text-decoration: underline; }
.event .expand { font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }

/* ---- Lemma: the statement, formal or in plain words, in one place ---- */
.statement .kicker { margin-bottom: 16px; }
.statement.plainly { display: block; margin-top: 28px; }
.plain-note { display: none; }
.statement .plain-text { padding: 24px; border-radius: 8px; background: var(--plain); font: 400 20px/1.5 var(--serif); color: var(--ink); }
.statement .plain-text.open { background: none; border: 1px dashed var(--ink-4); font-style: italic; color: var(--ink-2); }
.plain-note { margin-top: 10px; font-size: 12px; font-style: italic; color: var(--ink-4); }

/* ---- Pages of one record: seat, program, programs ---- */
.record-page, .hub { padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(48px, 5vw, 72px); min-height: 60vh; }
.page-title, .hub h1 { font: 400 clamp(36px, 4.45vw, 64px)/1.05 var(--serif); letter-spacing: -0.023em; margin-top: 22px; text-wrap: balance; }
.hub h1 { font-size: clamp(32px, 3.9vw, 56px); margin-top: 12px; }
.lead.narrow { max-width: 46em; }
.crumbs .here.plain { font: inherit; }
.crumbs .dim { color: var(--ink-5); }
.seat-top { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; margin-top: 36px; }
.seat-top > div { flex: 3 1 420px; }
.seat-top .lead { margin-top: 10px; font-size: clamp(20px, 2vw, 28px); color: var(--ink); }
.box { flex: 2 1 320px; padding: 22px 24px; border: 1px solid var(--rule-strong); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.box .mono { color: var(--ink); font-size: 14px; }
.box .note, .hub-note, .matrix-card .note { font-size: 13px; font-style: italic; color: var(--ink-4); }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 56px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 12px; color: var(--ink-4); }
.list-head a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.milestones li { display: grid; grid-template-columns: 110px minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.milestones .code { font: 400 12px var(--mono); color: var(--ink-4); }
.milestones .title { font: 400 22px/1.25 var(--serif); }
.milestones .open .title { font-style: italic; color: var(--ink-3); }
.milestones .finding { font-size: 15px; color: var(--ink-3); overflow-wrap: anywhere; }
.milestones .finding.open { font-style: italic; }
.milestones .finding.confirmed { color: var(--green); }
.milestones .finding.disproven { color: var(--red); }
.milestones .finding a { font: 400 12px var(--mono); }
.program-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; margin-top: 40px; }
.program-list li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--rule); border-radius: 10px; background: var(--raised); }
.program-list .name, .seat-list .name { font: 400 26px/1.15 var(--serif); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.program-list .goal { font-size: 15px; color: var(--ink-2); flex: 1; }
.mix { display: flex; gap: 2px; height: 12px; margin-top: 18px; border-radius: 3px; overflow: hidden; }
.program-list .mix { margin-top: 4px; }
.mix span { flex: 1 0 0; min-width: 2px; }
.mix-conjecture { background: var(--rule-strong); } .mix-in_work { background: var(--blue-ring); } .mix-checked { background: var(--green); } .mix-refuted { background: var(--mid); } .mix-blocked { background: var(--ink); }
.mixline { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.counts-line { margin-top: 28px; }
.seat-list li, .dead-list li, .rel-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.seat-list .name { font-size: 22px; }
.seat-list .note, .dead-list .note, .rel-list .note { font-size: 14px; color: var(--ink-3); }
.dead-list .title { font: italic 400 22px/1.25 var(--serif); text-decoration: none; }
.dead-list .title:hover { text-decoration: underline; }
.dead-list .chip { align-self: center; }
.frontier-band { margin: 48px calc(-1 * var(--gutter)) 0; padding: clamp(32px, 4.4vw, 64px) var(--gutter); background: var(--ink); color: var(--paper); }
.frontier-band .kicker { color: #7BC79A; }
.frontier-band h2 { font: 400 clamp(28px, 3.3vw, 48px)/1.15 var(--serif); margin-top: 16px; max-width: 26em; }
.frontier-band.none h2 { font-style: italic; color: #A9A396; }
.frontier-band .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-top: 22px; }
.frontier-band .mono { color: #A9A396; font-size: 12px; }
.frontier-band .stood { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: italic 400 24px/1.1 var(--serif); }
.frontier-band .stood a { font: 600 14px var(--sans); text-underline-offset: 3px; }
.program-cols { display: flex; gap: 48px; align-items: flex-start; margin-top: 56px; }
.program-cols .map.mini { flex: 3 1 0; }
.program-side { flex: 2 1 0; min-width: 0; }
.program-side .list-head:first-child { margin-top: 0; }
.map.mini { height: clamp(380px, 40vw, 580px); border-radius: 10px; }
.map.mini.tall { height: clamp(460px, 52vw, 760px); margin-top: 24px; }
.map.mini .map-back, .map.mini .mini-head { position: absolute; left: 24px; top: 20px; z-index: 2; }
.map.mini .mini-head { color: #8B8F98; }
.map.mini .mini-head + canvas ~ .map-back { top: 48px; }
.map.mini .map-credit { right: 24px; }
.more-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; font: 600 14px var(--sans); }
.layers { margin: 0 calc(-1 * var(--gutter)); padding: clamp(28px, 3.4vw, 48px) var(--gutter); background: #0D1016; color: #EDEAE2; }
.layers .kicker { color: #C9C3B5; }
.bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; height: 240px; margin-top: 20px; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border-radius: 4px; padding-bottom: 2px; }
.bar .stack { display: flex; flex-direction: column; gap: 2px; min-height: 3px; border-radius: 3px 3px 0 0; overflow: hidden; }
.bar .stack i { flex: 0 0 0; } .bar .open { background: #5E636D; } .bar .refuted { background: #E0705C; } .bar .checked { background: #3DAA6E; }
.bar .name { font: 400 11px var(--mono); color: #C9C3B5; }
.bar.on { outline: 1px solid #F2B84B; outline-offset: 3px; } .bar.on .name { color: #FFD27A; }
.bar:disabled { cursor: default; opacity: 0.5; }
.layer-list { margin-top: 24px; padding: 18px 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.layer-list .drill li { border-color: rgba(255, 255, 255, 0.1); }
.layer-list .drill a { color: #EDEAE2; }

/* ---- The hub: chrome, board, matrix, drill list ---- */
.hub-counters, .hub-tabs { display: none; }
.hub-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.hub-head .aside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 12px/1.4 var(--mono); color: var(--ink-4); max-width: 34em; }
.page-feed .hub-head .aside { font: italic 400 14px/1.4 var(--sans); }
.hub-head .hub-search { flex: 0 1 460px; }
.hub > .hub-search { margin-top: 24px; max-width: 760px; }
.hub-note { margin-top: 12px; }
.hub > .pills { margin-top: 24px; }
.hub-desk { display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--sunk); }
.site-nav a[aria-current] { color: var(--ink); }
.columns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 32px; align-items: start; }
.column { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px 10px; border-radius: 10px; background: var(--sunk); }
.column .kicker { color: var(--ink-2); padding: 0 4px 4px; white-space: pre; }
.col-checked { background: var(--green-bg); } .col-checked .kicker { color: var(--green); }
.col-refuted { background: var(--red-bg); } .col-refuted .kicker { color: var(--red); }
.col-blocked { background: #E4E1DA; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 8px; background: var(--raised); border: 1px solid var(--rule); text-decoration: none; min-width: 0; }
.card:hover { border-color: var(--ink-4); }
.card.is-checked { border-color: var(--green); } .card.is-refuted { border-color: var(--mid); } .card.is-blocked { border-color: var(--ink); }
.card.is-conjecture, .card.is-in_work { border-style: dashed; border-color: var(--ink-5); }
.card .top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-3); }
.card .kind { font: 600 9px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-4); }
.card .title { font: 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.card .id { font: 400 11px var(--mono); color: var(--ink-4); padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.card .seat { font-size: 12px; color: var(--ink-2); }
.matrix-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; align-items: start; }
.matrix-row.drilling { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.matrix-card { border: 1px solid var(--rule-strong); border-radius: 10px; overflow: hidden; background: var(--raised); }
.record-page > .matrix-card { margin-top: 40px; }
.matrix { width: 100%; border-collapse: collapse; font: 400 15px/1.3 var(--mono); }
.matrix th, .matrix td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--rule); }
.matrix th:first-child { padding-left: 22px; font-weight: 400; }
.matrix thead th, .matrix .sum th, .matrix .sum td { background: var(--plain); }
.matrix thead th { font: 600 10px/1.2 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-4); }
.matrix th a { text-decoration: none; } .matrix th a:hover { text-decoration: underline; }
.matrix .is-in_work, .matrix .is-in_work button { color: var(--blue); }
.matrix .is-checked, .matrix .is-checked button { color: var(--green); font-weight: 500; }
.matrix .is-refuted, .matrix .is-refuted button { color: var(--red); font-weight: 500; }
.matrix .is-blocked, .matrix .is-blocked button { color: var(--ink); font-weight: 500; }
.matrix .is-conjecture, .matrix .is-conjecture button, .matrix .total { color: var(--ink-3); }
.matrix td button { font: inherit; padding: 2px 0; }
.matrix td button:hover, .matrix td button.on { text-decoration: underline; text-underline-offset: 4px; }
.matrix tr.on th, .matrix tr.on td { background: #FBEDEA; }
.matrix-card .note { padding: 14px 22px; }
.drill-card { border: 1px solid var(--mid); border-radius: 10px; overflow: hidden; background: var(--raised); }
.drill-card.is-checked { border-color: var(--green); } .drill-card.is-conjecture, .drill-card.is-in_work, .drill-card.is-blocked { border-color: var(--ink-4); }
.drill-head { position: relative; padding: 20px 56px 16px 22px; background: #FBEDEA; }
.is-checked .drill-head { background: var(--green-bg); } .is-conjecture .drill-head, .is-in_work .drill-head, .is-blocked .drill-head { background: var(--plain); }
.drill-head h2 { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 15px var(--mono); color: var(--red); }
.is-checked .drill-head h2 { color: var(--green); } .is-conjecture .drill-head h2, .is-in_work .drill-head h2, .is-blocked .drill-head h2 { color: var(--ink); }
.drill-head p { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.drill-head .close { position: absolute; right: 14px; top: 10px; width: 36px; height: 36px; font-size: 26px; line-height: 1; }
.drill li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 22px; border-bottom: 1px solid #EEEAE2; }
.drill .id { font: 400 12px var(--mono); text-decoration: none; }
.drill-card.is-refuted .id { color: var(--red); }
.drill .title { font-size: 15px; overflow-wrap: anywhere; }
.drill .age, .drill .word { font: 400 11px var(--mono); color: var(--ink-4); white-space: nowrap; }
.drill .word.is-checked { color: #7BC79A; } .drill .word.is-refuted { color: #E0705C; }
.drill-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; font: 400 12px var(--mono); color: var(--ink-4); }
.drill-foot button { font: 600 14px var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card .title.it, .ncard .title.it, .search-panel .title.it { font-style: italic; }
.matrix-bars { display: none; }
.lanes { margin-top: 56px; }
.lane { margin-top: 24px; }
.lane-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.lane-head h3 { font: 500 16px var(--mono); }
.lane-head a { font: 500 13px var(--sans); text-underline-offset: 3px; }
.lane-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.more-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; border: 1px dashed var(--rule-strong); border-radius: 8px; font-size: 13px; color: var(--ink-3); text-decoration: none; min-height: 90px; }
.more-tile b { font: 500 18px var(--mono); color: var(--ink); }

/* ---- Feed ---- */
.today-band { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; justify-content: space-between; margin-top: 32px; padding: clamp(24px, 3vw, 40px); border-radius: 10px; background: var(--ink); color: var(--paper); }
.today-band > div { flex: 3 1 360px; }
.today-band .kicker { color: #C9C3B5; }
.today-band .big { font: 400 clamp(20px, 2.1vw, 30px)/1.35 var(--serif); margin-top: 12px; }
.tallies { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.tallies li { display: flex; align-items: center; gap: 14px; }
.tallies .num { font: 400 34px/1 var(--serif); min-width: 1.4em; }
.tallies .chip-blocked { background: none; padding-left: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 32px 0 20px; }
.live-new { display: block; width: 100%; margin-bottom: 8px; padding: 10px 16px; border: 1px solid var(--live); border-radius: 8px; color: var(--green); font: 600 13px var(--sans); text-align: left; }
.page-feed .events { border-top: 1px solid var(--ink); }

/* ---- Rel ---- */
.hub > .crumbs { margin-top: 20px; }
.hub > .crumbs:first-child { margin-top: 0; }
.rel-field { position: relative; margin: 28px calc(-1 * var(--gutter)) 0; padding: 24px var(--gutter) 40px; background: radial-gradient(75% 75% at 45% 50%, #11141B 0%, #07080B 100%); color: #EDEAE2; }
.rel-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 18px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: #C9C3B5; width: fit-content; max-width: 100%; }
.rel-legend li { display: flex; align-items: center; gap: 8px; }
.rel-legend .lead { font: 600 12px var(--sans); color: #EDEAE2; margin: 0; }
.rel-legend i { width: 16px; height: 4px; border-radius: 2px; }
.rel-legend .dim { color: #8B8F98; }
.bubbles { display: block; width: 100%; height: auto; margin-top: 12px; }
.bubbles .link { stroke: #C9C3B5; opacity: 0.3; stroke-linecap: round; }
.bubbles .deps { font: 400 11px var(--mono); fill: #8B8F98; }
.bubble .fill { fill: #141820; }
.bubble .ring { fill: none; }
.bubble .name { font: 600 14px var(--mono); fill: #EDEAE2; }
.bubble .count { font: 400 12px var(--mono); fill: #8B8F98; }
.bubble.empty .fill { fill: none; stroke: rgba(139, 143, 152, 0.3); stroke-dasharray: 1 6; }
.bubble:hover .fill, .bubble:focus-visible .fill { filter: drop-shadow(0 0 16px rgba(242, 184, 75, 0.45)); }
.bubble:hover .name { fill: #FFD27A; }
.rel-list { margin-top: 24px; }
.rel-list a { font: 400 20px var(--serif); text-underline-offset: 4px; }
.nwrap { display: flex; gap: 32px; align-items: flex-start; margin-top: 28px; }
.nfield { position: relative; flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 44px; align-items: center; padding: 64px 28px 28px; border-radius: 12px; background: var(--plain); min-height: 420px; }
.nfield.hops-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ncol { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; align-self: stretch; justify-content: center; }
.ncol .kicker { position: absolute; top: -40px; left: 0; white-space: nowrap; }
.ncol.centre .kicker { color: var(--ink); }
.ncol .nothing, .npanel .nothing { font-size: 13px; font-style: italic; color: var(--ink-4); }
.ncard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 6px; background: var(--raised); border: 1px solid var(--rule); text-decoration: none; }
.ncard.focus { border: 2px solid var(--ink); box-shadow: 0 6px 18px rgba(27, 26, 23, 0.12); }
.ncard.is-conjecture, .ncard.is-in_work { border: 1px dashed var(--ink-4); }
.ncard .kind { display: flex; align-items: center; gap: 7px; font: 600 9px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-4); }
.ncard .kind i { width: 8px; height: 8px; border-radius: 50%; border: 1px dashed var(--ink-4); }
.ncard.is-checked .kind i { background: var(--green); border: 0; } .ncard.is-refuted .kind i { background: var(--mid); border: 0; } .ncard.is-blocked .kind i { background: var(--ink); border: 0; }
.ncard .title { font: 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.ncard .id { font: 400 11px var(--mono); color: var(--ink-4); white-space: pre-wrap; }
.nedges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nedges line { stroke: var(--ink-4); stroke-width: 1; }
.nedges .in { stroke: var(--ink); stroke-width: 1.5; } .nedges .out { stroke: #C9A24B; stroke-width: 1.5; }
.npanel { flex: 0 0 min(360px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--raised); }
.npanel .id { font: 400 12px var(--mono); color: var(--ink-4); }
.npanel h2 { font: 400 28px/1.15 var(--serif); overflow-wrap: anywhere; }
.npanel h3 { width: 100%; padding-top: 16px; border-top: 1px solid var(--rule); line-height: 1.5; }
.nlist { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.nlist a { text-decoration: none; overflow-wrap: anywhere; } .nlist a:hover { text-decoration: underline; }
.nlist .id { font: 400 12px var(--mono); }
.nlist .is-conjecture, .nlist .is-in_work { font-style: italic; color: var(--ink-3); } .nlist .is-refuted, .nlist .is-refuted .id { color: var(--red); }
.npanel .note { font-size: 13px; font-style: italic; color: var(--ink-4); }

/* ---- Calendar ---- */
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; margin-top: 24px; }
.year-strip { display: flex; gap: 3px; margin-top: 10px; }
.year-strip a { flex: 1 1 0; max-width: 120px; height: 28px; border-radius: 3px; background: var(--sunk); }
.year-strip .on { outline: 2px solid var(--ink); outline-offset: -2px; }
.year-strip .green-1 { background: #E6F0E9; } .year-strip .green-2 { background: #CFE3D6; } .year-strip .green-3 { background: #B8D6C2; } .year-strip .green-4 { background: #A3CBB2; } .year-strip .green-5 { background: #8FC0A2; }
.year-strip .red-1 { background: #F2D6D0; } .year-strip .red-2 { background: #E9BFB5; } .year-strip .red-3 { background: #DDA597; } .year-strip .red-4, .year-strip .red-5 { background: #D58F7E; }
.cal-wrap { display: flex; gap: 28px; align-items: flex-start; margin-top: 28px; }
.cal { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.dow { padding: 10px; background: var(--plain); font: 600 11px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-4); }
.cday { display: flex; flex-direction: column; gap: 5px; min-height: 124px; padding: 10px; background: var(--paper); text-decoration: none; }
.cday.pad, .cday.future { background: var(--sunk-2); }
.cday .n { font: 400 13px var(--mono); color: var(--ink-3); white-space: pre; }
.cday.today { outline: 2px solid var(--ink); outline-offset: -2px; background: #FBFAF7; }
.cday.picked { box-shadow: inset 0 0 0 2px var(--ink-3); }
.cday.quiet { background: #FBFAF7; }
.green-1 { background: #EEF4EF; } .green-2 { background: #E3EFE6; } .green-3 { background: #DCEBE1; } .green-4 { background: #C9E0D0; } .green-5 { background: #B4D4BF; } .green-6 { background: #9DC8AC; }
.red-1 { background: #F6EDEA; } .red-2 { background: #F6E3DF; } .red-3 { background: #F2DAD4; } .red-4 { background: #EFCBC2; } .red-5 { background: #E7B3A6; } .red-6 { background: #E09A88; }
.entry { display: flex; align-items: baseline; gap: 7px; padding: 4px 8px; border-radius: 4px; font: 500 11px/1.25 var(--sans); background: var(--raised); color: var(--ink); }
.entry i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-1px); }
.entry.is-checked { background: var(--green-bg); } .entry.is-checked i { background: var(--green); }
.entry.is-refuted { background: var(--red-bg); } .entry.is-refuted i { background: var(--mid); }
.entry.is-blocked { background: var(--ink); color: var(--paper); } .entry.is-blocked i { background: #EDEAE2; }
.entry.more, .entry.is-conjecture, .entry.is-in_work, .entry.is-died, .entry.is-other { background: rgba(226, 222, 212, 0.7); }
.agenda { flex: 0 0 min(400px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--ink); border-radius: 10px; background: var(--raised); }
.agenda h2 { font: 400 32px/1.1 var(--serif); }
.agenda .note { font-size: 13px; font-style: italic; color: var(--ink-4); }
.agenda-list { width: 100%; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--rule); }
.agenda-list .entry { padding: 0; }
.agenda-list a { display: flex; gap: 8px; align-items: baseline; padding: 7px 10px; text-decoration: none; width: 100%; color: inherit; overflow-wrap: anywhere; }
.agenda-list time { font-family: var(--mono); font-weight: 400; white-space: nowrap; flex: none; }

/* ---- How it works ---- */
.how-top { padding: clamp(48px, 6.7vw, 96px) var(--gutter) clamp(40px, 5vw, 72px); }
.how-top h1 { font: 400 clamp(40px, 5.6vw, 80px)/1.02 var(--serif); letter-spacing: -0.025em; margin-top: 14px; }
.how-hub { padding: clamp(40px, 5vw, 64px) var(--gutter); background: radial-gradient(75% 75% at 50% 55%, #0D1016 0%, #06070A 100%); color: #EDEAE2; }
.how-hub .kicker { color: #C9C3B5; }
.how-hub h2 { font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); margin-top: 8px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px clamp(32px, 9vw, 150px); align-items: center; margin-top: 56px; }
.how-grid ul { display: flex; flex-direction: column; gap: 28px; }
.how-grid li { padding: 16px 18px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: #C9C3B5; }
.how-grid li .kicker { font-size: 10px; margin-bottom: 8px; color: #EDEAE2; }
.how-grid li.red { border-color: rgba(194, 65, 45, 0.6); background: rgba(194, 65, 45, 0.08); } .how-grid li.red .kicker { color: #E0705C; }
.how-grid a { color: #EDEAE2; }
.judge { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 40px; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 0 40px rgba(242, 184, 75, 0.45), 0 0 10px rgba(255, 210, 122, 0.6); }
.judge b { font: 400 24px var(--serif); } .judge i { font-size: 13px; color: var(--ink-3); }
.how-foot { margin-top: 48px; text-align: center; font-size: 14px; font-style: italic; color: #8B8F98; }
.how-brilliant { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding: clamp(48px, 6.7vw, 96px) var(--gutter); }
.how-brilliant > div { flex: 1 1 380px; min-width: 0; }
.how-brilliant h2 { font: 400 clamp(32px, 3.4vw, 48px)/1.1 var(--serif); margin-top: 16px; }
.try { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.mock { border: 1px solid var(--rule-strong); border-radius: 10px; overflow: hidden; background: var(--sunk); }
.mock .bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--rule-strong); font-size: 13px; color: var(--ink-2); }
.mock .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-6); } .mock .bar span { margin-left: 8px; }
.mock-body { display: flex; }
.mock-body ul { flex: 0 0 132px; padding: 16px 14px; background: var(--paper); font-size: 12px; color: var(--ink-4); display: flex; flex-direction: column; gap: 8px; }
.mock-body .h, .mock-body .on { color: var(--ink); font-weight: 600; }
.mock-map { flex: 1; margin: 22px; border-radius: 8px; background: #07080B; outline: 2px solid var(--blue-ring); }
.mock-map svg { display: block; width: 100%; height: auto; }
.how-back { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(36px, 4.4vw, 64px) var(--gutter); background: var(--ink); color: var(--paper); border-bottom: 1px solid #2A2925; }
.how-back h2 { font: 400 clamp(30px, 2.8vw, 40px)/1.1 var(--serif); } .how-back p { margin-top: 8px; font-size: 15px; color: #A9A396; }
.how-back .mail { font: 400 12px var(--mono); text-align: right; }

@media (max-width: 1080px) {
  .returns { grid-template-columns: 1fr; }
  .columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lane-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .matrix-row.drilling, .program-cols, .nwrap, .cal-wrap { display: flex; flex-direction: column; }
  .program-cols .map.mini, .program-side, .npanel, .agenda, .matrix-row > *, .cal, .nfield { flex: none; width: 100%; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid .judge { order: -1; justify-self: center; }
}
@media (max-width: 760px) {
  .map-search { top: auto; bottom: 86px; left: var(--gutter); right: var(--gutter); width: auto; }
  .map-head .title-line { max-width: none; }
  .map-search .search-panel { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; max-height: 62vh; border-radius: 24px 24px 0 0; z-index: 20; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); padding-top: 14px; }
  .search-field kbd { display: none; }
  .map-legend { bottom: 34px; }
  .page-hub { padding-bottom: 64px; }
  .hub-counters { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 10px var(--gutter); background: var(--ink); color: #8B8F98; font-size: 11px; }
  .hub-counters b { color: var(--paper); font-size: 13px; margin-right: 3px; } .hub-counters .c b { color: #7BC79A; } .hub-counters .r b { color: #E0705C; }
  .hub-counters .live-pill { margin-left: auto; color: #7BC79A; }
  .hub-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--raised); border-top: 1px solid var(--rule); }
  .hub-tabs a { padding: 16px 4px 18px; text-align: center; font: 500 12px var(--sans); color: var(--ink-4); text-decoration: none; }
  .hub-tabs a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 2px 0 var(--ink); }
  .hub-head .aside .live-pill { display: none; }
  .columns { grid-template-columns: 1fr; }
  .lane-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-board .matrix { display: none; }
  .matrix-bars { display: flex; flex-direction: column; }
  .matrix-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 16px; border-bottom: 1px solid var(--rule); }
  .matrix-bars .name { font: 500 14px var(--mono); text-decoration: none; overflow-wrap: anywhere; } .matrix-bars .total { font: 400 13px var(--mono); color: var(--ink-3); }
  .matrix-bars .mix, .matrix-bars .links { grid-column: 1 / -1; margin: 0; }
  .matrix-bars .links { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 12px var(--mono); }
  .matrix-bars .is-checked { color: var(--green); } .matrix-bars .is-refuted { color: var(--red); } .matrix-bars .is-in_work { color: var(--blue); } .matrix-bars .is-conjecture { color: var(--ink-3); }
  .matrix { font-size: 12px; } .matrix th, .matrix td { padding: 12px 6px; } .matrix th:first-child { padding-left: 12px; }
  .matrix thead th { font-size: 8px; letter-spacing: 0.5px; }
  .matrix-card { overflow-x: auto; }
  .drill li { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; } .drill .title { grid-column: 1 / -1; grid-row: 2; }
  .milestones li { grid-template-columns: 1fr; gap: 6px; }
  .tallies { padding-left: 0; border-left: 0; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; } .tallies .num { font-size: 24px; min-width: 0; }
  .nfield, .nfield.hops-1 { grid-template-columns: 1fr; gap: 40px; padding: 40px 16px 16px; }
  .ncol .kicker { top: -24px; }
  .nedges { display: none; }
  .bars { gap: 4px; height: 180px; } .bar .name { font-size: 8px; white-space: nowrap; overflow: hidden; }
  .cday { min-height: 46px; padding: 5px; } .cday .entry { display: none; } .cday .n { font-size: 11px; white-space: normal; }
  .dow { padding: 6px 2px; font-size: 8px; letter-spacing: 0.5px; text-align: center; }
  .frontier-band .stood { align-items: flex-start; }
  .how-back .mail { text-align: left; }
  .mock-body ul { display: none; }
}

/* ---- News and Article (shown once the export carries articles) ---- */
.event .who .prog { font: 400 13px/1.9 var(--sans); color: var(--ink-3); }
.byline { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.covers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 24px; }
.covers .label { font-size: 12px; color: var(--ink-4); }
.dek { font: italic 400 20px/1.4 var(--serif); color: var(--ink-2); }
.news-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 56px; padding: clamp(24px, 3vw, 40px); border-radius: 10px; background: var(--raised); border: 1px solid var(--rule); }
.news-lead h2 { font: 400 clamp(30px, 3.3vw, 48px)/1.12 var(--serif); letter-spacing: -0.01em; max-width: 20em; }
.news-lead h2 a, .news-grid .title { text-decoration: none; } .news-lead h2 a:hover, .news-grid .title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news-lead .read { font: 600 14px var(--sans); text-underline-offset: 3px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 40px 48px; margin-top: 56px; }
.news-grid li { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--ink); }
.news-grid .title { font: 400 26px/1.2 var(--serif); }
.news-grid .title.it { font-style: italic; }
.news-grid .dek { font: 400 15px/1.5 var(--sans); color: var(--ink-2); }
.news-foot { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font: 400 clamp(34px, 3.9vw, 56px)/1.1 var(--serif); letter-spacing: -0.018em; margin-top: 18px; text-wrap: balance; }
.article > .dek { margin-top: 18px; }
.byline-row { display: flex; flex-direction: column; gap: 8px; margin: 28px 0 12px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.byline-row .byline { font-weight: 600; color: var(--ink); }
.byline-row .meta { font-size: 12px; color: var(--ink-4); white-space: pre-wrap; }
.article .read { margin-top: 26px; }
.claim { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 26px; padding: 14px 18px; border-radius: 6px; background: var(--plain); font-size: 14px; }
.claim .text { flex: 1 1 260px; } .claim .to { font: 400 12px var(--mono); text-underline-offset: 3px; }
.claim.is-checked { background: var(--green-bg); } .claim.is-checked .text { font-weight: 600; }
.claim.is-refuted { background: #FBEDEA; }
.claim.is-blocked { background: var(--ink); color: var(--paper); } .claim.is-blocked .chip { padding-left: 0; }
.claim.is-conjecture, .claim.is-in_work, .claim.is-unknown { background: none; border: 1px dashed var(--ink-4); color: var(--ink-2); }
.fig { margin: 36px 0 0; } .fig figcaption { margin-top: 12px; font-size: 13px; font-style: italic; color: var(--ink-4); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 40px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ink); }
.related h2 { grid-column: 1 / -1; } .related h3 { font: 400 13px var(--sans); color: var(--ink-4); margin-bottom: 8px; }
.related div { display: flex; flex-direction: column; gap: 8px; font: 600 14px var(--sans); } .related a { text-underline-offset: 3px; }
.related .mono.is-conjecture, .related .mono.is-in_work { font-style: italic; }
.article .credit { margin-top: 40px; font-size: 12px; font-style: italic; color: var(--ink-4); }

/* ---- Rows that open (lemma on a phone), the feed's second filter, the calendar's week lanes ---- */
.fold > summary { list-style: none; cursor: default; }
.fold > summary::-webkit-details-marker { display: none; }
.lemma-main > .fold { margin-top: 36px; } .fold > summary .kicker { margin-bottom: 16px; }
.picks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.view-switch { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--sunk); }
.view-switch button { padding: 9px 16px; border-radius: 6px; font: 500 14px var(--sans); color: var(--ink-2); }
.view-switch button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.week { flex: 1 1 0; min-width: 0; }
.week-days { display: grid; grid-template-columns: 150px repeat(7, minmax(0, 1fr)); gap: 0; font: 600 11px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-4); }
.week-days a { padding: 8px 6px; text-decoration: none; border-left: 1px solid var(--rule); } .week-days a.today { color: var(--ink); }
.week-lane { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; margin-top: 6px; }
.week-lane .name { font: 500 12px var(--mono); overflow-wrap: anywhere; padding-right: 10px; text-decoration: none; }
.week-lane .track { position: relative; height: 60px; border-radius: 4px; background: var(--raised) repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 7)); }
.week-lane .dot { position: absolute; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.88; }
.week-lane .dot.checked { background: var(--green); } .week-lane .dot.refuted { background: var(--mid); } .week-lane .dot.blocked { background: var(--ink); }
.week-nav { display: flex; gap: 20px; margin-top: 16px; font: 600 13px var(--sans); } .week-nav a { text-underline-offset: 3px; }
@media (max-width: 1080px) { .week { flex: none; width: 100%; } }
@media (max-width: 760px) {
  .fold > summary { cursor: pointer; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .fold[open] > summary { border-bottom: 0; }
  .fold > summary .kicker { margin: 0; display: flex; justify-content: space-between; color: var(--ink); }
  .fold > summary .kicker > span + span::before { content: none; }
  .lemma-main > .fold { margin-top: 28px; } .lemma-cols { gap: 0; }
  .week-days, .week-lane { grid-template-columns: 74px minmax(0, 1fr); } .week-days { grid-template-columns: 74px repeat(7, minmax(0, 1fr)); font-size: 8px; letter-spacing: 0; }
  .week-lane .name { font-size: 9px; } .week-lane .track { height: 44px; }
}

/* ---- The plan on a program page: target and hard link, plain text until the frames land ---- */
.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 56px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.plan div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan .big { font: 400 24px/1.25 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.plan .note { font-size: 13px; font-style: italic; color: var(--ink-4); } .plan .note.wide { grid-column: 1 / -1; }

/* ================= Batch 3 ================= */
/* ---- Header: the toggle pill, its tooltip, the phone row ---- */
.wide-only-inline { display: inline; } .narrow-only-inline { display: none; }
/* ---- System states ---- */
/* ---- The "Just in" banner (site/design/JUST_IN.md): one line on black under the header, on every page.
   Drawn by js/data.js from head.json just_in; absent until that field exists. ---- */
.just-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; padding: var(--s8) var(--gutter); background: var(--ink); color: var(--paper); font: 500 14px/20px var(--sans); text-align: center; }
.just-in b { font-weight: 700; color: #F2B84B; } .just-in .lede b { margin-right: 2px; } .just-in .lede { max-width: 100%; }
@media (max-width: 760px) { .just-in .lede { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } }
.just-in .sep { color: var(--ink-4); }
.just-in time { font: 400 11px/20px var(--mono); color: var(--ink-5); white-space: nowrap; }
.just-in a { font-weight: 600; color: #F2B84B; text-underline-offset: 3px; white-space: nowrap; }
.just-in.arrive { animation: just-in 1.2s ease-out; }
@keyframes just-in { 30% { background: #4A3A12; } }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px var(--gutter) 0; padding: 12px 18px; border-radius: 8px; font-size: 15px; }
.strip-stale { background: #FBF3E0; border: 1px solid #C9A24B; color: #6B4E12; }
.strip-stale .pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border: 1px solid #8A6A1E; border-radius: 999px; font: 600 11px var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.strip-stale .pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #C9A24B; }
.strip-stale .note { margin-left: auto; font-size: 14px; font-style: italic; color: #8A6A1E; }
.strip-error { background: #FBEDEA; border: 1px solid var(--mid); color: var(--ink); }
.strip-error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid var(--mid); border-radius: 50%; color: var(--mid); font: 600 13px var(--sans); }
.strip-error .btn { margin-left: auto; padding: 9px 16px; }
[data-stale='yes'] .live-pill { border-color: var(--ink-5); color: var(--ink-3); } [data-stale='yes'] .live-pill::before { background: var(--ink-5); }
.map-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #8B8F98; font-size: 15px; background: #0B0E15; z-index: 1; }
[data-painted] .map-loading { display: none; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #5E636D; border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Loading: bars in the page's own shape until the first record arrives. */
.lemma-wait { color: transparent; user-select: none; height: 260px; max-width: 900px; background:
  linear-gradient(var(--sunk), var(--sunk)) 0 0 / 34% 14px no-repeat, linear-gradient(var(--sunk), var(--sunk)) 0 40px / 78% 64px no-repeat,
  linear-gradient(var(--sunk-2), var(--sunk-2)) 0 132px / 92% 14px no-repeat, linear-gradient(var(--sunk-2), var(--sunk-2)) 0 162px / 86% 14px no-repeat, linear-gradient(var(--sunk-2), var(--sunk-2)) 0 192px / 60% 14px no-repeat; }
/* ---- 404 ---- */
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: clamp(24px, 5vw, 72px) 0; }
.nf h1 { font: 400 clamp(52px, 8.4vw, 120px)/1 var(--serif); letter-spacing: -0.024em; }
.nf .hero-a { margin: 0; font-size: clamp(40px, 4.45vw, 64px); line-height: 1; } .nf .lead { max-width: 34em; margin: 0; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 760px) {
  .wide-only-inline { display: none; } .narrow-only-inline { display: inline; }
  .strip { margin-top: 12px; font-size: 14px; } .strip-stale .note { margin-left: 0; }
}

/* ---- Program: the attack ---- */
.attack { margin-top: 44px; }
.attack-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-bottom: 28px; }
.attack-head h2 { font: 400 clamp(34px, 4.45vw, 64px)/1.05 var(--serif); letter-spacing: -0.023em; margin-top: 10px; }
.attack-field { position: relative; margin: 0 calc(-1 * var(--gutter)); padding: 36px var(--gutter) 40px; color: #EDEAE2; background: radial-gradient(60% 80% at 60% 50%, #11141B 0%, #06070A 100%); }
.attack-field .kicker { color: #EDEAE2; } .edge-note { text-align: center; } .edge-note .cite { max-width: 60em; margin: 8px auto 0; font-size: 13px; font-style: italic; color: #8B8F98; overflow-wrap: anywhere; }
.attack-svg { display: block; width: 100%; height: auto; min-width: 760px; }
.attack-field { overflow-x: auto; }
.attack-svg text { font: 400 13px var(--mono); fill: #EDEAE2; } .attack-svg .dim { fill: #5E636D; }
.attack-svg .lit { stroke: #F3E9D2; stroke-width: 2; } .attack-svg .open { stroke: #5E636D; stroke-width: 1.25; stroke-dasharray: 5 6; }
.attack-svg .to-hard { stroke: #F2B84B; stroke-width: 2; stroke-dasharray: 6 6; }
.attack-svg .edge { stroke: #8B8F98; stroke-width: 2; } .attack-svg .known { fill: #7BC79A; font-weight: 600; letter-spacing: 1.5px; font-size: 11px; } .attack-svg .beyond { fill: #F2B84B; font-weight: 600; letter-spacing: 1.5px; font-size: 11px; }
.rung circle { fill: none; stroke: #8B8F98; stroke-dasharray: 2 2; } .rung.is-checked circle { fill: #F3E9D2; stroke: none; filter: drop-shadow(0 0 6px rgba(243, 233, 210, 0.6)); }
.rung.is-refuted circle { stroke: #C2412D; stroke-dasharray: none; } .rung:hover text, .hard:hover + text { fill: #FFD27A; }
.hard circle { fill: none; stroke: #F2B84B; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(242, 184, 75, 0.5)); } .hard .inner { stroke-width: 1.25; stroke-dasharray: 3 3; filter: none; }
.attack-svg .hard-label { fill: #F2B84B; font-weight: 600; letter-spacing: 1.5px; } .attack-svg .hard-count { fill: #F2B84B; }
.strand line { stroke: #7FD1FF; stroke-width: 1.5; opacity: 0.75; } .strand circle { fill: #BFE8FF; } .strand:hover line, .strand:focus line { opacity: 1; stroke-width: 2.5; }
.attack-svg .flight { fill: #7FD1FF; font-weight: 600; letter-spacing: 1.5px; font-size: 11px; }
.attack-svg .dead { fill: none; stroke: #E0705C; stroke-width: 1.5; } .attack-svg .dead-line { stroke: #4A2622; stroke-dasharray: 3 4; }
.attack-svg .death { fill: #E0705C; font-size: 12px; } .attack-svg .death.dim { fill: #A9A396; }
.attack-svg .star { fill: none; stroke: #C9C3B5; stroke-width: 3; stroke-linejoin: round; } .attack-svg .star.reached { fill: #F3E9D2; }
.attack-svg .target-label { font-weight: 600; letter-spacing: 2px; }
.attack-text { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 56px; margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; color: #C9C3B5; }
.attack-text div { display: flex; flex-direction: column; gap: 8px; } .attack-text .big { font: 400 24px/1.25 var(--serif); color: #EDEAE2; overflow-wrap: anywhere; }
.attack-text .mono { color: #A9A396; } .attack-text a { color: #EDEAE2; }
.attack-note { margin-top: 24px; font-size: 13px; font-style: italic; color: #8B8F98; }

/* ---- Hub: Live ---- */
.hub-desk-tabs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 20px; font: 500 14px var(--sans); }
.hub-desk-tabs a { text-decoration: none; color: var(--ink-3); padding-bottom: 4px; } .hub-desk-tabs a[aria-current] { color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.live-stats { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.live-stats div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-3); } .live-stats b { font: 500 30px/1.1 var(--mono); color: var(--ink); }
.live-kicker::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--live); margin-right: 10px; }
[data-stale='yes'] .live-kicker::before { background: var(--ink-5); }
.live-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 28px; margin-top: 32px; align-items: start; }
.live-graph, .inside, .live-card { border: 1px solid var(--rule-strong); border-radius: 14px; background: #FBFAF7; }
.live-graph { position: relative; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.live-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.live-graph svg line { stroke: #C9C3B5; opacity: 0.8; stroke-linecap: round; } .live-graph svg line.run { stroke: #B4D4BF; } .live-graph svg line.run.bad { stroke: #E7B3A6; }
.cluster { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cluster .kicker { color: var(--ink-2); } .cluster .hardlink { font: 400 12px/1.4 var(--mono); color: #8A6A1E; overflow-wrap: anywhere; }
.seat-card { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border-radius: 8px; background: var(--raised); border: 1px solid var(--rule); text-decoration: none; font-size: 14px; color: var(--ink-2); }
.seat-card .id { font: 500 14px var(--mono); color: var(--ink); } .seat-card .id::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #E0A93B; margin-right: 9px; }
.seat-card .holds { color: var(--ink); overflow-wrap: anywhere; } .seat-card .subs { font: 400 12px var(--mono); color: var(--ink-3); } .seat-card .speaking { color: var(--green); font-weight: 600; }
.judge-card { z-index: 1; grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 34px; border-radius: 10px; background: var(--raised); border: 1px solid #E7C873; box-shadow: 0 0 24px rgba(242, 184, 75, 0.25); }
.judge-card b { font: 400 22px var(--serif); } .judge-card i { font-size: 12px; color: var(--ink-3); } .judge-card .sum { margin-top: 6px; font: 400 12px var(--mono); color: var(--ink-3); }
.inside { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.inside-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .inside h2 { font: 400 30px/1.1 var(--serif); }
.inside .intro { font-size: 14px; color: var(--ink-3); }
.rule-card { padding: 12px 16px; border-radius: 8px; background: #FBF0D2; color: #6B4E12; font: 600 14px/1.4 var(--sans); }
.msgs { display: flex; flex-direction: column; } .msg { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.msg .who { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font: 500 13px var(--mono); } .msg .who time { font-weight: 400; color: var(--ink-4); }
.msg q { font: 400 20px/1.5 var(--serif); quotes: '“' '”'; overflow-wrap: anywhere; } .msg .refs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .msg .refs a { font: 400 12px var(--mono); }
.held { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-3); } .held summary { cursor: pointer; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.held details p { margin-top: 8px; }
.live-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 28px; }
.live-card { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink-2); }
.live-card.dashed { border-style: dashed; background: none; } .live-card.paused { background: #FBEDEA; border-color: #E7B3A6; } .live-card.paused h2 { font: 400 26px var(--serif); color: var(--ink); } .live-card.paused .mono { color: var(--red); }
.runs { width: 100%; border-collapse: collapse; font: 400 14px var(--mono); } .runs td { padding: 6px 12px 6px 0; } .runs td:last-child { text-align: right; padding-right: 0; }
.runs .ok { color: var(--green); } .runs .no { color: var(--red); } .runs a { text-decoration: none; } .live-card .note { font-size: 13px; font-style: italic; color: var(--ink-4); }
.role-pills { display: flex; gap: 8px; } .role-pills span { padding: 3px 12px; border: 1px dashed var(--ink-5); border-radius: 999px; font-size: 13px; color: var(--ink-4); }
@media (max-width: 1080px) { .live-cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .live-graph { padding: 16px; gap: 20px; } .live-graph svg, .judge-card { display: none; } .live-stats { gap: 6px 16px; } .live-stats div { flex-direction: row; align-items: baseline; gap: 6px; font-size: 12px; } .live-stats b { font-size: 14px; } .inside { padding: 20px; } }

/* ---- Graveyard, Follow ---- */
.graves { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.grave { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 15px; color: var(--ink-2); }
.grave .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; } .grave .top .mono { font-size: 11px; color: var(--ink-4); }
.grave h2 { font: italic 400 26px/1.2 var(--serif); color: var(--ink); overflow-wrap: anywhere; } .grave h2 a { text-decoration: none; } .grave h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.grave .cause { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; } .grave .survived { font-style: italic; color: var(--ink-3); } .grave .prog { font: 500 14px var(--sans); text-underline-offset: 3px; margin-top: auto; }
.return { position: relative; } .return .cover { position: absolute; inset: 0; border-radius: 8px; }
.program-list .front { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font: 400 13px var(--mono); } .program-list .btn { align-self: flex-start; padding: 8px 16px; }
[data-follow].following { background: var(--green-bg); border-color: var(--green); color: var(--green); }
dialog.follow { width: min(560px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--raised); color: var(--ink); }
dialog.follow::backdrop { background: rgba(27, 26, 23, 0.45); }
dialog.follow h2 { font: 400 30px/1.15 var(--serif); padding-right: 36px; } dialog.follow > p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
dialog.follow .close { position: absolute; right: 16px; top: 12px; width: 40px; height: 40px; font-size: 28px; line-height: 1; }
.way { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); } .way.soon { color: var(--ink-4); }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .addr code { flex: 1 1 240px; padding: 10px 12px; border-radius: 6px; background: var(--sunk-2); font: 400 13px var(--mono); overflow-wrap: anywhere; } .addr .btn { padding: 9px 14px; }
.toast { padding: 8px 12px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 13px; align-self: flex-start; }
.all-feeds { display: flex; flex-direction: column; gap: 6px; } .all-feeds li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; } .all-feeds a { font: 400 12px var(--mono); }
@media (max-width: 760px) { dialog.follow { padding: 22px; margin-bottom: 0; border-radius: 24px 24px 0 0; width: 100%; max-width: 100%; } }


/* ================= Batch 4: the new home ================= */
.home-live { padding: var(--section) var(--gutter); border-top: 1px solid var(--rule); }
.home-live h2 { font: 400 clamp(30px, 3.05vw, 44px)/1.05 var(--serif); letter-spacing: -0.011em; }
.home-live .hub-head .mono { white-space: pre-wrap; } .home-live .hub-head a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.home-live .live-cols { margin-top: var(--s40); }
.live-graph.home { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-content: start; } .live-graph.home .judge-card { text-decoration: none; color: var(--ink); }
.home-live .inside h3 { font: 400 26px/1.1 var(--serif); } .home-live .msg q { font-size: 17px; } .home-live .held a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.paused-note { padding: 14px 16px; border-radius: 8px; background: #FBEDEA; font-size: 14px; color: var(--ink-2); }
.race { padding: var(--s40) var(--gutter); background: #0B0E15; color: #EDEAE2; }
.race-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; } .race-head h2 { font: 400 26px/1.1 var(--serif); } .race-head a { font: 600 13px var(--sans); color: #EDEAE2; text-underline-offset: 3px; }
.tracks { margin-top: var(--s16); display: flex; flex-direction: column; }
.lane-track { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: center; padding: 9px 0; text-decoration: none; color: inherit; font: 400 12px var(--mono); }
.lane-track .name { color: #EDEAE2; overflow-wrap: anywhere; } .lane-track .say { color: #F2B84B; text-align: right; overflow-wrap: anywhere; }
.lane-track .line { display: flex; align-items: center; gap: 0; height: 22px; } .lane-track .line i { flex: 1 1 0; position: relative; height: 1px; background: #3A404B; font-style: normal; }
.lane-track .line i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px dashed #5E636D; background: #0B0E15; }
.lane-track .line i.lit { background: #F3E9D2; } .lane-track .line i.lit::after { border: 0; background: #F3E9D2; box-shadow: 0 0 6px rgba(243, 233, 210, 0.6); }
.lane-track .line i.hard::after { top: -7px; right: -4px; width: 13px; height: 13px; border: 1.5px solid #F2B84B; box-shadow: 0 0 8px rgba(242, 184, 75, 0.6); }
/* The target mark at the right end of a lane: a bullseye. */
.lane-track .line i.star { flex: none; width: 15px; height: 15px; margin-left: 10px; border: 1.5px solid #C9C3B5; border-radius: 50%; background: none; } .lane-track .line i.star::after { top: 3px; right: 3px; width: 6px; height: 6px; border: 0; background: #C9C3B5; }
.lane-track:hover .name { color: #FFD27A; }
.race-note { margin-top: var(--s16); font-size: 12px; font-style: italic; color: #8B8F98; }
@media (max-width: 760px) {
  .lane-track { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; } .lane-track .say { text-align: left; }
  .home-live .hub-head .mono { font-size: 11px; }
}

.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.follow-list { margin-top: 40px; border-top: 1px solid var(--ink); } .follow-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.follow-list h2 { font: 400 26px/1.15 var(--serif); } .follow-list p { margin: 6px 0; font-size: 15px; color: var(--ink-2); } .follow-list .mono { font-size: 12px; overflow-wrap: anywhere; } .follow-soon { max-width: 46em; }

/* ---- css/pages/_readme.css ---- */
/* Rules for one page go in a file of their own here; the build appends them to site.css. */

/* ---- css/pages/about.css ---- */
/* ---- What this is, v3 (site/design/whatthisis_v3): the pulse hero, running now, what ran, read next, made in Brilliant ---- */
.wti-phone { display: none; }
.wti h2 { font: 400 clamp(30px, 3.05vw, 44px)/1.05 var(--serif); letter-spacing: -0.02em; }
.wti-band { padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
.wti-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 20px; }
.wti-head .kicker { margin-bottom: 8px; }
.wti-more { font: 600 14px/1.2 var(--sans); text-underline-offset: 3px; white-space: nowrap; }
.wti-note { font: italic 400 13px/1.3 var(--sans); color: var(--ink-4); }

/* The hero */
.wti-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(24px, 2vw, 28px); background: radial-gradient(900px 620px at 82% 18%, #1B2130 0%, rgba(27, 33, 48, 0) 70%), linear-gradient(180deg, #07080B 0%, #0E1118 55%, #07080B 100%); color: #F6F4EF; }
.wti-hero::before, .wti-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.wti-hero::before { width: 380px; height: 380px; right: calc(var(--gutter) + 16px); top: -60px; border: 1px solid rgba(201, 162, 75, 0.28); }
.wti-hero::after { width: 540px; height: 540px; right: calc(var(--gutter) - 64px); top: -140px; border: 1px solid rgba(255, 255, 255, 0.06); }
.wti-hero > * { position: relative; z-index: 1; }
.wti-hero :focus-visible { outline-color: #EDEAE2; }
.wti-pill { display: inline-flex; flex-wrap: wrap; align-items: center; padding: 5px 12px 5px 10px; border: 1px solid var(--live); border-radius: 999px; font: 600 12px/1.25 var(--sans); letter-spacing: 1px; color: #7BC79A; }
.wti-pill-live { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.wti-pill-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.wti-pill-part::before { content: '·'; margin: 0 0.75em; }
[data-stale='yes'] .wti-pill { border-color: #5E636D; color: #A9A396; }
[data-stale='yes'] .wti-pill-live::before { background: #8B8F98; }
.wti-hero h1 { margin-top: 20px; font: 400 clamp(40px, 5.85vw, 84px)/1.02 var(--serif); letter-spacing: -0.03em; }
.wti-intro { max-width: 760px; margin-top: 28px; font: 400 clamp(18px, 1.55vw, 22px)/1.5 var(--serif); color: #C9C3B5; }
.wti-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.wti-stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.wti-stat .n { font: 400 48px/1 var(--serif); letter-spacing: -1px; font-variant-numeric: lining-nums; }
.wti-stat.is-checked .n { color: #7BC79A; }
.wti-stat.is-refuted .n { color: #E0705C; }
.wti-stat .label { font-size: 14px; line-height: 1.21; color: #C9C3B5; }
.wti-stat a { align-self: flex-start; font: 500 12px/1.25 var(--sans); color: #8B8F98; text-underline-offset: 3px; }
.wti-stat a:hover { color: #EDEAE2; }

/* Running now */
.wti-seats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 140px; gap: 14px; }
.wti-seats > li { display: flex; min-width: 0; }
.wti-seat { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--rule); text-decoration: none; }
.wti-seat:hover { border-color: var(--ink-4); }
.wti-seat .id { display: flex; align-items: center; gap: 8px; font: 500 12px/1.33 var(--mono); overflow-wrap: anywhere; }
.wti-seat .id::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.wti-seat .what { font-size: 13px; line-height: 1.3; color: var(--ink-2); overflow-wrap: anywhere; }
.wti-seat .state { display: flex; flex-direction: column; margin-top: auto; font: 400 11px/1.36 var(--mono); color: var(--blue); }
.wti-rest { align-items: center; justify-content: center; gap: 4px; background: none; border-style: dashed; border-color: var(--rule-strong); text-align: center; }
.wti-rest b { font: 500 20px/1.3 var(--sans); }
.wti-rest span { font-size: 12px; color: var(--ink-4); }

/* What ran */
.wti-chart { padding: 28px clamp(16px, 4vw, 60px) 20px; border-radius: 14px; background: #0E1118; color: #F6F4EF; }
.wti-legend { display: flex; justify-content: flex-end; gap: 20px; font: 600 11px/1.18 var(--sans); }
.wti-legend .up { color: #7BC79A; } .wti-legend .down { color: #E0705C; }
.wti-bars { display: grid; grid-template-columns: repeat(var(--bars, 1), minmax(0, 1fr)); gap: clamp(1px, 0.5vw, 8px); height: 260px; margin-top: 12px; }
.wti-bar { display: grid; grid-template-rows: 2fr 1fr; min-width: 0; text-decoration: none; }
.wti-bar span { display: flex; justify-content: center; min-height: 0; }
.wti-bar .up { align-items: flex-end; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.wti-bar .down { align-items: flex-start; }
.wti-bar i { display: block; width: 100%; max-width: 22px; min-height: 8px; }
.wti-bar .up i { background: #3DAA6E; border-radius: 4px 4px 0 0; }
.wti-bar .down i { background: #E0705C; border-radius: 0 0 4px 4px; max-height: 100%; }
.wti-bar:hover, .wti-bar:focus-visible { background: rgba(255, 255, 255, 0.07); outline: none; }
.wti-axis { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: 400 10px/1.3 var(--mono); color: #8B8F98; }

/* Read next */
.wti-next > .kicker { margin-bottom: 20px; }
.wti-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.wti-card { padding: clamp(20px, 2.2vw, 32px); border-radius: 14px; background: var(--raised); border: 1px solid var(--rule); }
.wti-card .kicker { font-size: 10px; }
.wti-live-kicker { color: var(--green); }
.wti-card h3 { margin-top: 12px; font: 400 clamp(26px, 2.25vw, 32px)/1.1 var(--serif); }
.wti-card h3 a { text-decoration: none; }
.wti-dek { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.wti-go { margin-top: 20px; font: 600 14px/1.2 var(--sans); }
.wti-go a { text-underline-offset: 3px; }
.wti-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 20px; }
.wti-qa details { border-top: 1px solid var(--rule); }
.wti-qa summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; cursor: pointer; list-style: none; }
.wti-qa summary::-webkit-details-marker { display: none; }
.wti-qa .q { font: 400 18px/1.25 var(--serif); }
.wti-qa .open { font: 600 12px/1.25 var(--sans); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.wti-qa details[open] .open { display: none; }
.wti-qa details p { padding: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Made in Brilliant */
.wti-made { display: flex; flex-direction: column; align-items: center; margin-top: clamp(48px, 5vw, 72px); padding: clamp(48px, 6.1vw, 88px) var(--gutter) clamp(32px, 2.8vw, 40px); background: var(--plain); text-align: center; }
.wti-made h2 { max-width: 900px; margin-top: 14px; line-height: 1.15; text-wrap: balance; }
.wti-window { width: 100%; max-width: 1100px; margin-top: 28px; border-radius: 12px; overflow: hidden; background: #171717; box-shadow: 0 24px 60px rgba(27, 26, 23, 0.22), 0 0 0 1px rgba(27, 26, 23, 0.5); }
.wti-window img { display: block; width: 100%; height: auto; }
.wti-made .about-actions { justify-content: center; }
.wti-made .about-actions .btn { padding: 14px 22px; border-radius: 8px; font-size: 15px; }
.wti-made .about-actions .btn::after { content: '↗'; font-weight: 400; }
.wti-sponsor { margin-top: 24px; font: italic 400 13px/1.3 var(--sans); color: var(--ink-3); }
.wti-sponsor a { text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .wti-seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wti-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .wti-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wti-hero::before, .wti-hero::after { display: none; }
}
@media (max-width: 760px) {
  .wti-wide { display: none !important; }
  .wti-phone { display: revert; }
  .wti-band { padding-top: 24px; }
  .wti-hero { padding-top: 28px; padding-bottom: 28px; }
  .wti-pill { padding: 4px 10px 4px 9px; letter-spacing: 0.5px; }
  .wti-hero h1 { margin-top: 14px; font-size: 38px; line-height: 1.05; letter-spacing: -0.02em; }
  .wti-intro { margin-top: 16px; font: 400 15px/1.5 var(--sans); }
  .wti-stats { gap: 10px; margin-top: 20px; }
  .wti-stat { order: var(--phone-order, 0); padding: 14px; gap: 5px; }
  .wti-stat .n { font-size: 40px; }
  .wti-head { margin-bottom: 10px; }
  .wti-head .kicker { margin-bottom: 0; }
  .wti-running .wti-more { display: none; }
  .wti-seats { display: block; border-radius: 12px; background: var(--raised); border: 1px solid var(--rule); overflow: hidden; }
  .wti-seats > li + li { border-top: 1px solid var(--rule); }
  .wti-seats > .wti-wide-row { display: none; }
  .wti-seat { flex-direction: row; align-items: center; gap: 0; padding: 12px 14px; border: 0; border-radius: 0; font: 400 12px/1.4 var(--mono); white-space: nowrap; overflow: hidden; }
  .wti-seat .id { flex: none; }
  .wti-seat .what { flex: 0 1 auto; font: inherit; color: inherit; overflow: hidden; text-overflow: ellipsis; }
  .wti-seat .state { flex: none; flex-direction: row; margin: 0; font: inherit; color: inherit; }
  .wti-seat .what::before, .wti-seat .state::before { content: '·'; margin: 0 0.6em; }
  .wti-seat .state .rel { display: none; }
  .wti-ran h2, .wti-note { display: none; }
  .wti-chart { padding: 14px 12px 12px; border-radius: 10px; }
  .wti-bars { height: 150px; }
  .wti-qa { grid-template-columns: minmax(0, 1fr); }
  .wti-made { margin-top: 32px; }
  .wti-made h2 { font-size: 28px; }
  .wti-window { border-radius: 8px; }
  .wti-made .about-actions { flex-wrap: wrap; width: 100%; }
  .wti-made .about-actions .btn { flex: 1 1 0; }
}

/* ---- css/pages/board.css ---- */
/* ---- Hub, Board: the filter row, the three views, the phone sheet (frames: batch2/hub-board-at-scale-*) ---- */
.page-board .board-scale h1 { font-size: 44px; line-height: 1.1; margin-top: 12px; }
.page-board .search-field.light::before { content: ''; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B665B' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13l4.5 4.5'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.board-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.board-bar .hub-search { flex: 1 1 380px; min-width: 0; }
.page-board .hub-head .aside { max-width: none; }
.board-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filter { display: inline-flex; align-items: center; padding-left: 16px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--raised); font: 500 15px/1.2 var(--sans); color: var(--ink); }
.filter:focus-within, .filter.set { border-color: var(--ink); }
.filter select { -webkit-appearance: none; appearance: none; border: 0; outline: 0; margin: 0; padding: 15px 38px 15px 6px; max-width: 220px; font: inherit; color: inherit; text-overflow: ellipsis; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%231B1A17' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5'/%3E%3C/svg%3E") right 14px center / 14px 14px no-repeat; }
.filter-toggle { display: none; }
.page-board .hub > .view-switch { margin-top: 20px; }
.page-board .board-scale .matrix-row { margin-top: 28px; }
.page-board .view-swim .lanes { margin-top: 28px; }

/* Lane cards: one height, the title at most three lines, a dot before the seat. */
.card .kind { white-space: nowrap; }
.card .top { align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.card .seat { display: flex; align-items: center; gap: 8px; }
.card .seat::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--rule-strong); }
.card.is-in_work .seat::before { background: var(--blue-ring); } .card.is-checked .seat::before { background: var(--green); } .card.is-refuted .seat::before { background: var(--mid); } .card.is-blocked .seat::before { background: var(--ink); }
.lane-cards .card .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; height: 3.75em; flex: none; }
.lane-cards .card .id { margin-top: auto; }

/* The List view: every chosen lemma, a page at a time. */
.lemma-list { margin-top: 28px; }
.pick-head { padding: 18px 22px 16px; background: var(--plain); border-bottom: 1px solid var(--rule); }
.pick-head h2 { display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 15px var(--mono); }
.pick-head h2 span + span::before { content: '×'; margin: 0 14px; color: var(--ink-4); }
.pick-head p { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.lemma-list .drill li { grid-template-columns: 104px minmax(0, 1fr) 96px 132px 84px; }
.lemma-list .st, .lemma-list .who { font: 400 12px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.lemma-list a.who { text-decoration: none; } .lemma-list a.who:hover { text-decoration: underline; }
.lemma-list .is-checked .st { color: var(--green); } .lemma-list .is-refuted .st { color: var(--red); } .lemma-list .is-in_work .st { color: var(--blue); } .lemma-list .is-blocked .st { color: var(--ink); font-weight: 500; }
.lemma-list .age { text-align: right; }
.lemma-list .title.it { font-style: italic; }

@media (max-width: 760px) {
  .page-board .hub { padding-top: 22px; }
  .page-board .hub-head .kicker, .page-board .hub-head .aside { display: none; }
  .page-board .hub h1, .page-board .board-scale h1 { font-size: 32px; margin-top: 0; }
  .page-board .hub-note { font-size: 12px; margin-top: 6px; }
  .board-bar { margin-top: 16px; gap: 10px; }
  .board-bar .hub-search { flex-basis: 100%; }
  .board-bar .search-field { padding-right: 52px; }
  .filter-toggle { display: block; position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; z-index: 2; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%231B1A17' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 7h7M15 7h4M3 15h4M12 15h7'/%3E%3Ccircle cx='12.5' cy='7' r='2.2'/%3E%3Ccircle cx='9.5' cy='15' r='2.2'/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
  .filter-toggle[aria-expanded='true'] { background-color: var(--sunk); border-radius: 6px; }
  .board-filters { display: none; width: 100%; gap: 8px; }
  .board-filters.open { display: flex; }
  .filter { flex: 1 1 100%; justify-content: space-between; font-size: 14px; }
  .filter select { flex: 1 1 0; min-width: 0; max-width: none; padding: 12px 38px 12px 6px; }
  .page-board .hub > .view-switch { display: flex; margin-top: 12px; }
  .page-board .view-switch button { flex: 1 1 0; padding: 8px 6px; font-size: 13px; }
  .page-board .board-scale .matrix-row { margin-top: 16px; }
  .page-board .matrix-card { border-width: 0 0 1px; border-radius: 0; background: none; }
  .page-board .matrix-bars li { padding: 16px 0; }
  .page-board .matrix-bars .mix { display: flex; gap: 2px; height: 9px; border-radius: 3px; overflow: hidden; }
  .page-board .matrix-card .note { padding: 12px 0; }
  .lane-cards .card .title { font-size: 16px; }
  /* The drill list is a sheet over the bars. */
  .page-board .matrix-row .drill-card { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 14; width: auto; max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain; border-width: 1px 0 0; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(27, 26, 23, 0.22); }
  .page-board .matrix-row .drill-head { position: sticky; top: 0; z-index: 1; padding-top: 26px; }
  .page-board .matrix-row .drill-head::before { content: ''; position: absolute; left: 50%; top: 9px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--ink-5); }
  .page-board .matrix-row .drill-head .close { top: 16px; width: 44px; height: 44px; }
  .page-board .matrix-row.drilling { padding-bottom: 40vh; }
  .lemma-list { margin-top: 16px; }
  .page-board .lemma-list { border-width: 1px; border-radius: 10px; background: var(--raised); }
  .pick-head { padding: 14px 16px; } .pick-head h2 span + span::before { margin: 0 8px; }
  .lemma-list .drill li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .lemma-list .drill .title { grid-column: 1 / -1; grid-row: 2; }
  .lemma-list .drill .st { grid-row: 1; grid-column: 2; text-align: right; }
  .lemma-list .drill .who { grid-row: 3; grid-column: 1; }
  .lemma-list .drill .age { grid-row: 3; grid-column: 2; }
}

/* ---- css/pages/calendar.css ---- */
/* ---- Hub, Calendar: the year strip, tinted days, the phone heat grid (frames: batch2/hub-calendar-*) ---- */
.year-strip { gap: 5px; }
.year-strip > * { flex: 1 1 0; min-width: 0; max-width: none; height: 44px; border-radius: 3px; display: flex; align-items: flex-end; padding: 5px 8px; font: 400 10px/1 var(--mono); letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-3); text-decoration: none; overflow: hidden; }
.year-strip > .quiet { background: var(--sunk); color: var(--ink-4); }
.year-strip > .none { color: var(--ink-5); }
.cal-col { flex: 1 1 0; min-width: 0; }
.cal-col .week { width: 100%; }
/* A day keeps its tint when it is today or picked: the outline says which day, the colour what was ruled. */
.cal .cday.green-1 { background: #EEF4EF; } .cal .cday.green-2 { background: #E3EFE6; } .cal .cday.green-3 { background: #DCEBE1; } .cal .cday.green-4 { background: #C9E0D0; } .cal .cday.green-5 { background: #B4D4BF; } .cal .cday.green-6 { background: #9DC8AC; }
.cal .cday.red-1 { background: #F6EDEA; } .cal .cday.red-2 { background: #F6E3DF; } .cal .cday.red-3 { background: #F2DAD4; } .cal .cday.red-4 { background: #EFCBC2; } .cal .cday.red-5 { background: #E7B3A6; } .cal .cday.red-6 { background: #E09A88; }
.cal .cday.today .n { color: var(--ink); }
/* The sponsors strip is also called .today: its rules must not reach a day cell. */
.cal .cday.today { align-items: stretch; border-top: 0; font-size: inherit; color: inherit; }
.cal .cday.today .more { margin-left: 0; font-style: normal; color: var(--ink); }
.cday .tw { text-transform: uppercase; letter-spacing: 0.5px; }
.cal .cday.pad { background: var(--sunk-2); }
.cal .cday.pad .n { color: var(--ink-5); }
.cal a.cday.pad:hover .n { color: var(--ink-3); }
.tap-hint, .agenda .day-name { display: none; }

@media (max-width: 1080px) { .cal-col { flex: none; width: 100%; } }
@media (max-width: 900px) { .cal .cday .tw { display: none; } }
@media (max-width: 760px) {
  .page-calendar .hub { padding-top: 20px; }
  .page-calendar .hub-head { align-items: baseline; gap: 10px 16px; }
  .page-calendar .hub-head .kicker, .page-calendar .hub > .mono, .page-calendar .strip-head .kicker { display: none; }
  .page-calendar .hub h1 { font-size: 28px; margin-top: 0; }
  .page-calendar .hub-head > div:first-child { flex: 1 1 auto; }
  .tap-hint { display: block; font-size: 13px; color: var(--ink-4); }
  .page-calendar .view-switch { display: flex; flex: 1 1 100%; }
  .page-calendar .view-switch button { flex: 1 1 0; padding: 7px 6px; font-size: 13px; }
  .page-calendar .strip-head { margin-top: 12px; } .page-calendar .strip-head .mono { font-size: 11px; }
  .year-strip { gap: 3px; margin-top: 8px; } .year-strip > * { height: 18px; padding: 0; } .year-strip span { display: none; } .year-strip > span.none { display: flex; }
  .cal-wrap { margin-top: 16px; gap: 20px; }
  .cal { gap: 4px; background: none; border: 0; border-radius: 0; overflow: visible; }
  .cal .dow { padding: 0 0 2px; background: none; }
  .cal .cday { min-height: 0; aspect-ratio: 1; padding: 5px 6px; border-radius: 6px; gap: 0; }
  .cal .cday.pad { background: none; }
  .cal .cday .tw { display: none; }
  .cal .cday.quiet, .cal .cday.future { box-shadow: inset 0 0 0 1px var(--rule); }
  .cal .cday.picked { box-shadow: inset 0 0 0 2px var(--ink-3); }
  .page-calendar .cal-col .hub-note { font-size: 12px; margin-top: 10px; }
  .page-calendar .agenda { padding: 18px 0 0; border: 0; border-top: 1px solid var(--rule-strong); border-radius: 0; background: none; gap: 10px; }
  .page-calendar .agenda .kicker { display: none; }
  .agenda .day-name { display: block; font: 600 18px/1.2 var(--sans); }
  .page-calendar .agenda h2 { font: 400 13px/1.3 var(--sans); color: var(--ink-3); margin-top: -6px; }
  .page-calendar .agenda .mono { font-size: 12px; }
  .page-calendar .agenda-list a { padding: 10px 12px; font-size: 13px; overflow-wrap: break-word; }
}

/* ---- css/pages/feed.css ---- */
/* The feed (/feed). Rows with a title, a mono line under it and the program at the right;
   the summary band; the toolbar's filter pills; white cards on a phone. */
.page-feed .today-band .kicker { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.page-feed .today-band .clock { flex: none; margin-right: 12px; color: var(--paper); }
.page-feed .tallies .chip-blocked { background: var(--ink); padding-left: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }

/* A select drawn as a filter pill: the pill is as wide as the chosen option, the select lies over it. */
.pill-select { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 14px/1.21 var(--sans); color: var(--ink); white-space: nowrap; }
.pill-select::after { content: ''; flex: none; width: 7px; height: 7px; margin: -4px 3px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pill-select select, .pick .pill-select select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.pill-select:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.pill-toggle { padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 14px/1.21 var(--sans); color: var(--ink-2); white-space: nowrap; }
.pill-toggle[aria-pressed='true'] { color: var(--ink); border-color: var(--ink-4); }
.page-feed .picks { align-items: center; }

/* Rows */
.event-full .what { min-width: 0; }
.event-full .sentence { display: block; }
.event-full .sub { display: flex; flex-wrap: wrap; margin-top: 6px; font: 400 13px/1.5 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.event-full .sub > * + *::before { content: '·'; margin: 0 0.6em; color: var(--ink-5); display: inline-block; }
.event-full .sub a { text-decoration: none; }
.event-full .sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.event-full .prog { font: 400 13px/1.9 var(--sans); color: var(--ink-3); text-align: right; white-space: nowrap; }
.event-full.burst { margin: 0 calc(var(--gutter) / -4); padding-left: calc(var(--gutter) / 4); padding-right: calc(var(--gutter) / 4); background: var(--sunk-2); }
.event-full.burst-checked { background: #EDF3EE; }
.event-full.burst-refuted { background: #FAECE9; }
.event-full.burst .sentence:hover { text-decoration: none; }
.event-full.burst .expand { margin: 0; align-self: center; font: 600 14px/1.9 var(--sans); white-space: nowrap; }
.event-full.burst-checked .expand { color: var(--green); }
.event-full.burst-refuted .expand { color: var(--red); }

@media (max-width: 760px) {
  .page-feed .filters { display: block; margin: 20px 0 16px; }
  .page-feed .filters .picks { margin-top: 10px; }
  .page-feed .filters .pills, .page-feed .picks { min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .page-feed .filters .pills::-webkit-scrollbar, .page-feed .picks::-webkit-scrollbar { display: none; }
  .page-feed .filters .pills > *, .page-feed .picks > * { flex: none; }
  .page-feed .filters .pills .label { display: none; }
  .page-feed .filters .pills button { padding: 9px 16px; white-space: nowrap; }
  .page-feed .picks { gap: 8px 16px; }

  /* White cards: the chip, the title in Inter, then "program · time". */
  .page-feed .events { border-top: 0; border-radius: 10px; background: var(--raised); overflow: hidden; }
  .event-full { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 0; padding: 14px 16px; }
  .event-full .state { order: 1; flex: 0 0 100%; }
  .event-full .what { order: 2; flex: 0 0 100%; }
  .event-full .sentence { font: 400 17px/1.3 var(--sans); }
  .event-full .sub { display: none; }
  .event-full .prog, .event-full .when { font: 400 12px/1.4 var(--mono); color: var(--ink-4); text-align: left; }
  .event-full .prog { order: 3; flex: 0 1 auto; min-width: 0; max-width: calc(100% - 11em); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .event-full .prog:empty { display: none; }
  .event-full .when { order: 4; flex: none; white-space: nowrap; word-spacing: -0.35em; }
  .event-full .when::before { content: '·'; margin: 0 0.7em; }
  .event-full:not(.burst):has(.prog:empty) .when::before { content: none; }
  .event-full.burst { margin: 0; padding: 14px 16px; }
  .event-full.burst .sub { display: flex; font-size: 12px; }
  .event-full.burst .expand { order: 3; flex: none; line-height: 1.4; font-size: 13px; }
}

/* ---- css/pages/header.css ---- */
/* Header, as the batch 3 header frame: regular nav links in the lighter ink. */
.site-nav { font-weight: 400; color: var(--ink-3); }
.site-nav a[aria-current], .site-nav a:hover { color: var(--ink); }
/* Between the phone menu and the full header the brand must keep its own width. */
@media (max-width: 1080px) { .brand { flex: none; } .site-header { gap: 16px; } .site-nav { gap: 16px; } .site-actions { flex: 1 1 auto; } }

/* ---- css/pages/home-hero.css ---- */
/* The home hero's pill. The hero's layout and rhythm are in site.css ("Home: hero"): one container,
   12 columns, everything on the left edge. The ground is plain paper (founder rulings, 22 Nov). */
/* The pill above the question: how many agents are at work, live (founder ruling, 22 Nov). */
.agents-pill { display: inline-flex; align-items: center; gap: var(--s8); max-width: 100%; padding: 6px 14px 6px 12px; border: 1px solid #D9D3C6; border-radius: 999px;
  background: var(--sunk); font: 600 13px/16px var(--sans); color: var(--ink-2); }
.agents-pill:has([data-bind="agents"]:empty) { visibility: hidden; }
.agents-pill .pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-5); }
/* The dot is green and pulses only while the record is live and somebody is working (js/home.js). */
.agents-pill .pulse.on { background: var(--live); }
/* The hero eyebrow (design/eyebrow_pill_1122): one white pill with a hairline and a soft shadow. The live count, a
   hairline divider, then the way to join: the agent badges, the label, a copy button. Until head.json says join_open
   the join half says "coming soon" and copies nothing. */
.agents-pill { position: relative; z-index: 4; min-height: 36px; padding: 3px 4px 3px 14px; background: #FEFEFE; border-color: #E5E5EA; box-shadow: 0 1px 2px rgba(26, 22, 48, 0.04), 0 4px 14px rgba(26, 22, 48, 0.06); color: #191C20; }
.agents-pill .count { white-space: nowrap; }
.agents-pill .join { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; margin: 0 0 0 4px; padding: 0 10px 0 12px; border: 0; border-left: 1px solid #E5E5EA; border-radius: 0 999px 999px 0; background: none; font: inherit; color: inherit; white-space: nowrap; cursor: pointer; }
.agents-pill .join:disabled { cursor: default; color: #5A6070; font-weight: 500; }
/* The badge stack sits at the pill's text height (a founder: 120 by 40 was too large). */
.agents-pill .badges { flex: none; height: 24px; width: auto; }
.agents-pill .ico { flex: none; color: #5A6070; } .agents-pill .ico-check { display: none; color: #00C950; }
.agents-pill .join:disabled .ico { display: none; }
.agents-pill:has(.join:not(:disabled):hover) { border-color: #D1D1D6; box-shadow: 0 2px 8px rgba(26, 22, 48, 0.1); } .agents-pill .join:not(:disabled):hover .ico-copy { color: #0E1015; }
.agents-pill .join:not(:disabled):active { background: #EEF0F3; }
.agents-pill.copied .ico-copy { display: none; } .agents-pill.copied .ico-check { display: block; }
/* The reveal floats 10 px under the pill, over the headline, and never moves the layout. */
.join-reveal { position: absolute; left: 0; top: calc(100% + 10px); z-index: 5; width: 400px; max-width: calc(100vw - 2 * var(--gutter)); display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border: 1px solid #E5E5EA; border-radius: 12px; background: #FEFEFE; box-shadow: 0 8px 24px rgba(26, 22, 48, 0.1); white-space: normal; text-align: left; }
.join-reveal[hidden] { display: none; }
.join-reveal .head, .join-reveal .foot { margin: 0; font: 500 12px/1.33 var(--sans); color: #5A6070; }
.join-reveal .line { margin: 0; padding: 8px 12px; border-radius: 6px; background: #EEF0F3; font: 500 12px/1.33 var(--mono); color: #1D2129; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 760px) {
  .agents-pill { min-height: 44px; padding-left: 12px; } .agents-pill .join { min-height: 36px; gap: 6px; padding: 0 8px 0 10px; }
  .agents-pill .badges { height: 20px; }
  .join-reveal { width: calc(100vw - 2 * var(--gutter)); }
}
/* A phone has no room for the count, the badges and the label on one line: the badges go. */
@media (max-width: 480px) { .agents-pill .badges { display: none; } .agents-pill { gap: 6px; } }
@media (max-width: 760px) { .agents-pill { font-size: 12px; } }
@media (max-width: 340px) { .agents-pill { font-size: 11px; padding: 6px 10px; } }

/* ---- css/pages/how.css ---- */

/* ---- How it works: the wires to the checker, the window dots in a row, the phone diagram ---- */
/* The mock window's bar is a row: three dots at the top left, the title beside them. */
.mock .bar { flex-direction: row; justify-content: flex-start; padding-bottom: 12px; border-radius: 0; }
.mock .bar i { flex: none; }
.page-how .btn .icon { display: inline-flex; }

/* Wide: the boxes at left and right are wired to the checker in the middle. */
.how-wire { display: none; }
@media (min-width: 1081px) {
  .how-grid { grid-template-columns: minmax(0, 1fr) clamp(32px, 9vw, 150px) auto clamp(32px, 9vw, 150px) minmax(0, 1fr); gap: 0; }
  .how-grid ul { align-self: stretch; justify-content: space-around; }
  .how-grid .how-left li { flex: 1 1 0; }
  .how-wire { display: block; align-self: stretch; position: relative; min-height: 100%; }
  .how-wire .lines { position: absolute; inset: 0; width: 100%; height: 100%; }
  .how-wire .lines path { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
  .how-wire .lines path.red { stroke: rgba(194, 65, 45, 0.75); }
  .how-wire .arrow { display: none; }
}

@media (max-width: 760px) {
  .page-how .how-top { padding: 24px var(--gutter) 28px; }
  .page-how .how-top h1 { margin-top: 10px; font-size: 34px; line-height: 1.08; }
  .page-how .how-top .lead { display: none; }
  /* The diagram reads down: the programs, the checker, then the two desks that say no. */
  .page-how .how-hub { padding: 28px var(--gutter); }
  .page-how .how-hub > .kicker { text-align: center; }
  .page-how .how-hub h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-how .how-grid { margin-top: 16px; gap: 10px; }
  .page-how .how-grid li { padding: 14px 16px; }
  .page-how .how-grid li .kicker { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
  .page-how .how-wire { display: flex; justify-content: center; color: #8B8F98; }
  .page-how .how-wire .lines { display: none; }
  .page-how .how-grid .judge { order: 0; justify-self: stretch; padding: 18px 20px; }
  .page-how .how-right { flex-direction: row; gap: 8px; }
  .page-how .how-right li { flex: 1 1 0; min-width: 0; padding: 12px; }
  .page-how .how-foot { display: none; }
  .page-how .how-brilliant { display: block; padding: 28px var(--gutter); }
  .page-how .how-brilliant h2 { margin-top: 10px; font-size: 26px; }
  .page-how .how-brilliant .read { font: 400 15px/1.5 var(--sans); margin-top: 12px; }
  .page-how .mock { display: none; }
  .page-how .try { margin-top: 16px; }
  .page-how .try .btn, .page-how .how-back .btn { display: flex; width: 100%; padding: 15px 18px; font-size: 15px; border-radius: 8px; }
  .page-how .how-back { display: block; padding: 28px var(--gutter); }
  .page-how .how-back h2 { font-size: 26px; }
  .page-how .how-back > div:first-child p { display: none; }
  .page-how .how-back > div + div { margin-top: 14px; }
  .page-how .how-back .mail { margin-top: 10px; }
}

/* Three plain facts readers asked for: the checker, both directions, thinking before Lean. */
.how-facts { padding: var(--s64) var(--gutter); border-top: 1px solid var(--rule); }
.how-facts h2 { margin-top: 8px; font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); }
.how-facts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s40); margin: var(--s32) 0 0; padding: 0; list-style: none; }
.how-facts h3 { font: 600 16px/1.3 var(--sans); } .how-facts li p { margin-top: 8px; font: 400 15px/1.55 var(--sans); color: var(--ink-2); }
@media (max-width: 900px) { .how-facts { padding: var(--s40) var(--gutter); } .how-facts ul { grid-template-columns: minmax(0, 1fr); gap: var(--s24); } }

/* ---- css/pages/hubtabs.css ---- */
/* ---- Every hub page on a phone: an icon above each tab, the counters as one compact strip ---- */
@media (max-width: 760px) {
  .hub-tabs { height: 64px; }
  .hub-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px 8px; line-height: 1.2; }
  .hub-tabs a::before { content: ''; flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--tab-icon) center / 24px 24px no-repeat; mask: var(--tab-icon) center / 24px 24px no-repeat; }
  .hub-tabs a[data-view='live'] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M7.2 7.2a6.8 6.8 0 0 0 0 9.6M16.8 7.2a6.8 6.8 0 0 1 0 9.6M4.2 4.6a10.6 10.6 0 0 0 0 14.8M19.8 4.6a10.6 10.6 0 0 1 0 14.8'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='live'][aria-current] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3Cpath d='M7.2 7.2a6.8 6.8 0 0 0 0 9.6M16.8 7.2a6.8 6.8 0 0 1 0 9.6M4.2 4.6a10.6 10.6 0 0 0 0 14.8M19.8 4.6a10.6 10.6 0 0 1 0 14.8'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='board'] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.2'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.2'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.2'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.2'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='board'][aria-current] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1.5'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='rel'] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='4.6' r='2.2'/%3E%3Ccircle cx='12.4' cy='12' r='2.2'/%3E%3Ccircle cx='5' cy='19' r='2.2'/%3E%3Ccircle cx='19' cy='17.4' r='2.2'/%3E%3Ccircle cx='19.4' cy='9' r='1.8'/%3E%3Cpath d='M9.1 6.5l2.2 3.6M10.8 13.6l-4.2 3.8M14.3 13.2l2.9 2.8M14.4 11.1l3.3-1.4'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='rel'][aria-current] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='4.6' r='2.2'/%3E%3Ccircle cx='12.4' cy='12' r='2.2'/%3E%3Ccircle cx='5' cy='19' r='2.2'/%3E%3Ccircle cx='19' cy='17.4' r='2.2'/%3E%3Ccircle cx='19.4' cy='9' r='1.8'/%3E%3Cpath d='M9.1 6.5l2.2 3.6M10.8 13.6l-4.2 3.8M14.3 13.2l2.9 2.8M14.4 11.1l3.3-1.4'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='calendar'] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.6'/%3E%3Cpath d='M3.5 9.6h17M8 3v3.6M16 3v3.6'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='calendar'][aria-current] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.6' fill='black'/%3E%3Cpath d='M8 2.6v3M16 2.6v3'/%3E%3Cpath d='M5.5 9.4h13' stroke='white' stroke-opacity='0'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='feed'] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='5.6' cy='18.4' r='1.6' fill='black'/%3E%3Cpath d='M4 11.4a8.6 8.6 0 0 1 8.6 8.6M4 4.6A15.4 15.4 0 0 1 19.4 20'/%3E%3C/svg%3E"); }
  .hub-tabs a[data-view='feed'][aria-current] { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='5.6' cy='18.4' r='1.8' fill='black'/%3E%3Cpath d='M4 11.4a8.6 8.6 0 0 1 8.6 8.6M4 4.6A15.4 15.4 0 0 1 19.4 20'/%3E%3C/svg%3E"); }

  /* The counters: a number over its label, the Live pill on the same line. */
  .hub-counters { flex-wrap: nowrap; gap: 0 18px; padding: 12px var(--gutter); }
  .hub-counters > span:not(.live-pill) { display: flex; flex-direction: column; gap: 2px; font-size: 10px; line-height: 1.2; white-space: nowrap; }
  .hub-counters > span:not(.live-pill) b { margin: 0; font: 500 14px/1.2 var(--mono); }
  .hub-counters .live-pill { flex: none; }
}

/* ---- css/pages/lemma.css ---- */

/* ---- Lemma page: the lighter checker card, the full-width history, the phone layout ---- */
/* Two helpers the page scripts use: a piece shown only on a wide screen, or only on a phone. */
.on-phone { display: none; }
@media (max-width: 760px) { .on-wide { display: none !important; } .on-phone { display: revert; } }

.crumbs .crumb-program .on-phone { font: 400 13px/1.3 var(--mono); }
.lemma > .lemma-history { margin-top: 48px; }
.lemma > .lemma-history .event .body p { max-width: 62em; }

/* The checker card: one line, the button, and the rest of the run behind a row that opens. */
.checker .run-short { display: none; }
.checker .run-main, .checker .run-short { overflow-wrap: break-word; }
.checker .run-main span, .checker .run-main span:last-child { white-space: normal; }
.run-more { flex: 1 1 100%; min-width: 0; }
.run-more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font: 400 12px/1.5 var(--sans); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.run-more > summary::-webkit-details-marker { display: none; }
.run-more > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.run-more[open] > summary::after { transform: rotate(45deg) translate(-2px, -2px); }
.run-more .run-meta { margin: 12px 0 0; white-space: normal; overflow-wrap: break-word; display: grid; gap: 4px; }
.run-more .run-meta div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.run-more .run-meta dt { color: var(--ink-4); }
.run-more .run-meta dd { margin: 0; min-width: 0; overflow-wrap: break-word; color: var(--ink-2); }

/* Explain this plainly on: the plain statement is a white card with a green rule on its left. */
.statement .plain-text { background: var(--raised); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; padding: 28px 32px; }
.statement .plain-text.open { border-left: 1px dashed var(--ink-4); border-radius: 8px; }

@media (max-width: 760px) {
  /* The order on a phone: breadcrumb, chip, title, when and by whom, the statement, the button. */
  .lemma { display: flex; flex-direction: column; padding-top: 24px; }
  .lemma > * { order: 5; }
  .lemma > .crumbs { order: 0; font: 400 13px/1.3 var(--mono); color: var(--ink-4); gap: 4px 8px; }
  .lemma > .crumbs a { text-decoration: none; color: inherit; }
  .lemma > .crumbs .here { color: var(--ink-4); }
  .lemma > .status-line { display: contents; }
  .lemma > .status-line .chip { order: 1; align-self: flex-start; margin: 14px 0 0; }
  .lemma > .lemma-title { order: 2; margin-top: 14px; font-size: 32px; line-height: 1.1; text-wrap: wrap; }
  .lemma > .status-line .status-meta { order: 3; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
  .lemma > .lemma-cols { margin-top: 20px; }
  .statement.formal .kicker { display: none; }
  .lean { padding: 14px 16px; font-size: 12px; line-height: 1.65; }
  .statement .plain-text { padding: 18px 20px; font-size: 18px; }
  .verdict { margin-top: 14px; }

  /* The button, one mono line under it, then the run as a row that opens. */
  .checker { flex-direction: column; align-items: stretch; gap: 0; margin-top: 14px; padding: 0; border: 0; }
  .checker > .icon, .checker .run-main { display: none; }
  .checker .btn { order: 0; padding: 15px 18px; font-size: 15px; border-radius: 8px; }
  .checker .run { order: 1; flex: none; }
  .checker .run-short { display: block; margin-top: 12px; font: 400 12px/1.5 var(--mono); color: var(--ink-3); }
  .checker .run-short .dot { margin: 0 0.5em; }
  .run-more { order: 2; flex: none; margin-top: 16px; background: var(--raised); border-radius: 8px 8px 0 0; }
  .run-more > summary { display: flex; justify-content: space-between; padding: 15px 16px; font: 600 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
  .run-more > summary::after { width: 8px; height: 8px; color: var(--ink-4); }
  .run-more .run-meta { margin: 0; padding: 0 16px 16px; font-size: 11px; }
  .run-more .run-meta div { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
  .lemma .verify-note:not(.it) { display: none; }

  /* The rows that open: one white card, a rule between rows. */
  .lemma .fold { background: var(--raised); }
  .lemma .fold > summary { padding: 15px 16px; border: 0; border-top: 1px solid var(--rule); }
  .lemma .fold > summary .kicker { font: 600 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; align-items: baseline; gap: 12px; }
  .lemma .fold > summary .kicker > span + span { font-weight: 400; font-size: 13px; color: var(--ink-4); text-align: right; }
  .lemma .lemma-side > .fold { margin-top: 0; }
  .lemma > .lemma-history { margin-top: 0; border-radius: 0 0 8px 8px; }
  .lemma .fold > .graph, .lemma .fold > .graph-note, .lemma .fold > .events, .lemma .fold > .none-yet { margin-left: 16px; margin-right: 16px; }
  .lemma .fold > .graph-note { padding-bottom: 14px; }
  .lemma .fold > .none-yet { font-size: 16px; padding: 4px 0 18px; }
  .lemma .fold .event:last-child { border-bottom: 0; }
  /* With no checker run above them the rows start the card themselves. */
  .lemma-main:not(:has(.run-more)) + .lemma-side { margin-top: 16px; }
  .lemma-main:not(:has(.run-more)) + .lemma-side > .fold { border-radius: 8px 8px 0 0; }
  .lemma-main:not(:has(.run-more)) + .lemma-side > .fold > summary { border-top: 0; }
}

/* ---- css/pages/live-layer.css ---- */
/* The live layer (site/design/LIVE_LAYER.md), one set of rules for every page. js/ui.js adds the classes.
   .arrive      an item that has just been prepended to a live list: a 200 ms slide, an amber flash fading over 2 s
   .rolled      a counter whose number has just changed: the digits roll in
   .live-pulse  a section's pulse: a breathing dot and "updated N s ago"
   The site does not follow prefers-reduced-motion (a founder's word): this motion runs for every visitor. */
.arrive { animation: arrive-slide 0.2s ease-out, arrive-flash 2s ease-out; }
@keyframes arrive-slide { from { transform: translateY(-12px); opacity: 0; } }
@keyframes arrive-flash { from { background-color: #FBE7B6; } }
/* A section's header is its title (site/design/SECTION_HEADERS.md); a live section carries its pulse on the same line. */
.title-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s8) var(--s16); }
/* A section's pulse, inline after its title: the breathing dot (site.css) and "updated N s ago". */
.live-pulse { display: inline-flex; align-items: center; gap: var(--s8); font: 400 12px/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink-4); white-space: nowrap; }
.live-pulse::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
[data-stale='yes'] .live-pulse::before { background: var(--ink-5); }
.num.rolled { display: inline-block; animation: rolled 0.35s ease-out; }
@keyframes rolled { from { transform: translateY(0.5em); opacity: 0; } }

/* ---- css/pages/news.css ---- */
/* News (news.html) and one article (article.html). The base rules are in site.css; these bring
   the two pages to the frames (design/batch2: news-1440, news-390, article-1440, article-390). */

/* ---- News ---- */
.page-news .kicker .news-phone { display: none; text-transform: none; letter-spacing: 1px; }
.news-lead .dek { max-width: 34em; }
.page-news .lead.narrow { max-width: 800px; }
/* The byline wraps as one line of text, so its dot never ends a line alone. */
.news-lead .byline, .news-grid .byline { display: block; }
.news-lead .byline .dot, .news-grid .byline .dot { margin: 0 0.5em; }
.news-lead .covers, .news-grid .covers { margin: 0; }
.news-grid .title { overflow-wrap: anywhere; text-wrap: balance; }
.news-lead h2 { overflow-wrap: anywhere; text-wrap: balance; }
.news-foot .mono { font-size: 13px; color: var(--ink-4); }

/* ---- Article ---- */
.article { overflow-wrap: break-word; }
.article .crumbs { font-size: 13px; }
.article > .dek { font-size: clamp(20px, 1.7vw, 24px); }
/* The byline row: a mark for the seat, who wrote and who reviewed, then when and how long. */
.byline-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; margin: 28px 0 0; padding: 14px 0; }
.byline-row::before { content: ''; grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); }
.byline-row > * { grid-column: 2; margin: 0; }
.byline-row .byline .dot { margin: 0 0.6em; }
.byline-row .meta { display: flex; flex-wrap: wrap; white-space: normal; }
.byline-row .meta span + span::before { content: '·'; margin: 0 0.7em; }
.byline-row .covers { margin-top: 8px; }
/* The text. One measure for an essay of any length: 20px Newsreader at 1.62, a line of space between paragraphs. */
.article-body { margin-top: 36px; }
.article-body > :first-child { margin-top: 0; }
.article .article-body .read { margin-top: 26px; font: 400 20px/1.62 var(--serif); color: var(--ink); hanging-punctuation: first; }
.article-body .sub { margin-top: 52px; font: 400 clamp(26px, 2.3vw, 32px)/1.2 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.article-body .sub + .read { margin-top: 16px; }
.article-body .pull { margin: 36px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); }
.article-body .pull p { font: italic 400 clamp(21px, 1.8vw, 24px)/1.45 var(--serif); color: var(--ink); }
.article-body .claim { margin-top: 28px; line-height: 1.4; }
.article-body .claim .to { white-space: nowrap; }
.article-body .claim.is-unknown .to { color: var(--ink-4); }
.article .fig { overflow: hidden; }
.article .related { margin-top: 64px; }
.article .related a, .article .related span { overflow-wrap: anywhere; }
.article .related div span { font-weight: 400; color: var(--ink-2); }

@media (max-width: 760px) {
  /* News on a phone: "News · N articles", the lead as it is, then one raised list of short rows. */
  .page-news .kicker .news-wide { display: none; }
  .page-news .kicker .news-phone { display: inline; }
  .page-news .lead.narrow { display: none; }
  .news-lead { margin-top: 24px; padding: 0; border: 0; border-radius: 0; background: none; gap: 14px; }
  .news-lead h2 { font-size: 30px; line-height: 1.15; }
  .news-lead .dek { font-size: 18px; }
  .news-grid { display: block; margin-top: 28px; border-radius: 10px; background: var(--raised); border: 1px solid var(--rule); overflow: hidden; }
  .news-grid li { gap: 6px; padding: 16px 18px; border-top: 1px solid var(--rule); }
  .news-grid li:first-child { border-top: 0; }
  .news-grid .title { font-size: 21px; line-height: 1.2; }
  .news-grid .dek { display: none; }
  .news-grid .byline { color: var(--ink-3); }
  .news-foot { flex-direction: row-reverse; justify-content: space-between; margin-top: 24px; }

  .article h1 { font-size: 32px; line-height: 1.14; margin-top: 14px; }
  .article > .dek { font-size: 19px; margin-top: 14px; }
  .byline-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 20px; }
  .byline-row::before { content: none; }
  .byline-row .byline { flex-direction: column; font-size: 15px; }
  .byline-row .byline .dot { display: none; }
  .byline-row .byline span + span { font-weight: 400; color: var(--ink-3); }
  .byline-row .meta { display: block; line-height: 1.5; }
  .article-body { margin-top: 26px; }
  .article .article-body .read { font-size: 18px; line-height: 1.6; margin-top: 22px; }
  .article-body .sub { margin-top: 40px; font-size: 25px; }
  .article-body .pull { margin-top: 28px; padding-left: 18px; }
  .article-body .pull p { font-size: 20px; }
  .article-body .claim { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: 8px; font-size: 15px; }
  .article-body .claim .text { flex: none; }
  .article .related { margin-top: 44px; grid-template-columns: 1fr; }
}

/* ---- css/pages/organism.css ---- */
/* ---- The hub organism: home and Live (design/hub_organism_1122/spec/BUILDER-RULES.md) ----
   The checker in the centre, seats on a ring in their program's colour, lines seat to checker
   only, the last five messages as curved pulses. Drawn by organism() in js/hub.js. */
.live-graph [data-slot='circuits'], .org-pop[data-slot='circuits'] { --pc: #E0A43A; }
.live-graph [data-slot='proof'], .org-pop[data-slot='proof'] { --pc: #5F86AA; }
.live-graph [data-slot='algebraic'], .org-pop[data-slot='algebraic'] { --pc: #4E9A8A; }
.live-graph [data-slot='geometric'], .org-pop[data-slot='geometric'] { --pc: #8B6BB0; }
.live-graph [data-slot='meta'], .org-pop[data-slot='meta'] { --pc: #C25A44; }
.live-graph [data-slot='derand'], .org-pop[data-slot='derand'] { --pc: #9A8F3C; }

.live-graph.org { display: block; position: relative; padding: 0; overflow: hidden; overflow: clip; isolation: isolate; border-radius: 20px; --pc: #E0A43A; }
.live-graph.org.home { height: 560px; }
.page-live .live-graph.org { margin-top: 32px; min-height: 300px; }
.org > .none-yet { padding: 48px 28px; text-align: center; }

.org .org-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.org .org-lines line { opacity: 1; stroke-linecap: round; transition: opacity 0.15s; }
.org .org-lines .pulse { fill: none; stroke-width: 2.5; stroke-linecap: round; transition: opacity 0.15s; }
.org .org-lines .pulse.old { stroke-width: 1.6; stroke-dasharray: 1 5; }
.org .org-lines .flow { transition: opacity 0.15s; }
.org .org-lines .burst { filter: drop-shadow(0 0 5px rgba(242, 184, 75, 0.95)); } .org .org-lines .burst.trail { filter: none; }
.org[data-open] .org-lines .flow:not(.on) { opacity: 0.2; }
.org .org-lines .run { filter: drop-shadow(0 0 5px rgba(242, 184, 75, 0.95)); transition: opacity 0.15s; }
.org .org-lines .ring { fill: none; stroke: #E3A99C; stroke-width: 1; stroke-dasharray: 4 7; opacity: 0.75; }
.org[data-open] .org-lines [data-seat]:not(.on) { opacity: 0.3; }
.org[data-open] .org-lines .run:not(.on) { opacity: 0; }

.org-wash { position: absolute; left: 50%; top: 50%; z-index: -2; width: 400px; height: 400px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 24%, transparent), color-mix(in srgb, var(--pc) 8%, transparent) 55%, transparent); }

.org .seat-card { position: absolute; width: 200px; gap: 4px; padding: 14px 16px; border-radius: 12px; border-color: var(--rule); box-shadow: 0 1px 2px rgba(27, 26, 23, 0.04), 0 6px 18px rgba(27, 26, 23, 0.05); cursor: pointer; }
.org .seat-card:hover, .org .seat-card[aria-expanded='true'] { border-color: color-mix(in srgb, var(--pc) 60%, var(--rule)); }
.org .seat-card .id { display: flex; align-items: center; font: 500 15px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org .seat-card .id::before { flex: none; width: 10px; height: 10px; margin-right: 10px; background: var(--pc); }
.org .seat-card.speaking .id::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 28%, transparent), 0 0 10px var(--pc); }
.org .seat-card .prog { font-size: 14px; color: var(--ink-3); }
.org .seat-card .prog, .org .seat-card .holds { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.org .seat-card .subs { font: 400 12px/1.4 var(--mono); color: var(--ink-4); }
/* An idle seat is still drawn, quieter: a faded dot in its program's colour, the word idle. */
.org .seat-card.idle .id::before { opacity: 0.35; }
.org .seat-card.idle .holds { color: var(--ink-4); }

/* The checker is the gate (design/LIVE_LAYER.md): an ink core labelled LEAN inside two hairline rings on a pale disc. Every edge ends on its centre. */
.org .judge-card { --core: 72px; --gate-c: var(--live); position: absolute; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center; width: calc(var(--core) + 44px); height: calc(var(--core) + 44px); margin: 0; padding: 0; gap: 0; border: 1px solid #E2DED4; border-radius: 50%; background: #FBFAF6; box-shadow: none; text-decoration: none; color: var(--ink); }
.org .judge-card.no { --gate-c: var(--mid); }
.org.home .judge-card { --core: 52px; width: calc(var(--core) + 36px); height: calc(var(--core) + 36px); }
.org .judge-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid #CFC8BA; border-radius: 50%; }
.org .gate-core { display: grid; place-items: center; width: var(--core); height: var(--core); border-radius: 50%; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--mono); letter-spacing: 2px; text-indent: 2px; }
.org.home .gate-core { font-size: 9px; letter-spacing: 1.6px; text-indent: 1.6px; }
.org .gate-pill { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font: 400 10px/1.5 var(--mono); white-space: nowrap; color: var(--ink-4); }
.org .gate-pill span { color: var(--green); } .org .judge-card.no .gate-pill span { color: var(--red); }
.org .gate-pill time { font: inherit; color: inherit; }
.org .judge-card .sum, .org-flow { display: none; }
/* An arrival: the outer ring pulses once, green for accepted, red for rejected. */
.org .judge-card.flash { animation: gate-pulse 1.1s ease-out; }
@keyframes gate-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gate-c) 70%, transparent); border-color: var(--gate-c); } 100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--gate-c) 0%, transparent); border-color: #E2DED4; } }

.org .more-seats { position: absolute; right: 24px; bottom: 22px; z-index: 1; padding: 8px 16px; border: 1px dashed var(--ink-6); border-radius: 999px; background: rgba(255, 255, 255, 0.6); font: 500 14px/1.3 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.org .more-seats::before { content: '···'; margin-right: 8px; letter-spacing: 2px; color: var(--ink-4); }
.org .more-seats:hover { border-color: var(--ink-3); color: var(--ink); }
.org-hard { position: absolute; left: 30px; top: 26px; z-index: 1; display: flex; align-items: center; font: 400 12px/1.4 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: #8A6A1E; white-space: pre; }
/* On the home ring the line stops before the top seat card: a long hard link ends in an ellipsis. */
.org.home .org-hard { display: block; left: 16px; top: 12px; max-width: 250px; padding: 14px; overflow: hidden; text-overflow: ellipsis; } .org.home .org-hard::before { display: inline-block; vertical-align: -2px; }
.org-hard a { text-transform: none; text-decoration: none; } .org-hard a:hover { text-decoration: underline; }
.org-hard::before { content: ''; width: 14px; height: 14px; margin-right: 12px; border-radius: 50%; background: #F2B84B; box-shadow: 0 0 0 10px rgba(242, 184, 75, 0.14), 0 0 22px 6px rgba(242, 184, 75, 0.35); }

/* Live: every seat, inside its program's region. */
.org-region { position: absolute; width: var(--cw, 200px); display: flex; flex-direction: column; gap: 8px; }
.org-region.below { flex-direction: column-reverse; }
.org-label { display: flex; flex-direction: column; gap: 3px; padding: 0 2px 4px; text-align: center; font: 600 11px/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: color-mix(in srgb, var(--pc) 72%, #1B1A17); }
.org-region.below .org-label { padding: 4px 2px 0; }
.org-label .hardlink { font: 400 11px/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: #8A6A1E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org.full .seat-card { position: static; width: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 6px; padding: 9px 12px; border-radius: 10px; }
.org.full .seat-card .id { grid-area: 1 / 1; font-size: 13px; } .org.full .seat-card .id::before { width: 8px; height: 8px; margin-right: 8px; }
.org.full .seat-card .subs { grid-area: 1 / 2; align-self: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .org.full .seat-card .subs::before { content: '· '; }
.org.full .seat-card .holds { grid-area: 2 / 1 / 3 / 3; font-size: 13px; }
.org.full .seat-card .prog { display: none; }
.org-bundle { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--raised); text-align: left; font: 400 12px/1.5 var(--mono); color: var(--ink); }
.org-bundle span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The hover card. */
.org-pop { position: absolute; z-index: 5; width: 320px; max-width: calc(100% - 16px); display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--raised); box-shadow: 0 14px 44px rgba(27, 26, 23, 0.16); font-size: 14px; color: var(--ink-2); }
.org-pop .id { display: flex; align-items: center; font: 500 15px/1.3 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.org-pop .id::before { content: ''; flex: none; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--pc); }
.org-pop .prog { color: var(--ink-3); } .org-pop .holds { color: var(--ink); overflow-wrap: anywhere; } .org-pop .holds a { text-underline-offset: 3px; }
.org-pop .subs { font: 400 12px/1.4 var(--mono); color: var(--ink-4); }
.org-pop .said li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--rule); }
.org-pop .who { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.4 var(--mono); color: var(--ink); } .org-pop .who time { font-weight: 400; color: var(--ink-4); white-space: nowrap; }
.org-pop q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 400 15px/1.4 var(--serif); color: var(--ink); quotes: '“' '”'; overflow-wrap: anywhere; }
.org-pop .quiet { padding-top: 10px; border-top: 1px solid var(--rule); font-style: italic; color: var(--ink-4); }
.org-pop .open { align-self: flex-start; padding-top: 4px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }

/* Beside and under the organism. */
.home-live { container-type: inline-size; }
.home-live .live-cols { grid-template-columns: 780px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.home-live .inside { max-height: 560px; overflow-y: auto; border-radius: 20px; }
.home-live .msg q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.msg .who time { white-space: nowrap; }
.live-under { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); gap: 28px; margin-top: 28px; align-items: start; }
.live-side { display: flex; flex-direction: column; gap: 24px; }

/* By the width of the section's own box (the site container), not of the window. */
@container (max-width: 1150px) {
  .home-live .live-cols { grid-template-columns: 600px minmax(0, 1fr); }
  .live-graph.org.home { height: 480px; } .home-live .inside { max-height: 480px; }
  .org.home .seat-card { width: 180px; } .org.home .seat-card .prog, .org-hard { display: none; }
}
@container (max-width: 900px) {
  .home-live .live-cols { grid-template-columns: minmax(0, 1fr); }
  .live-graph.org.home { height: 460px; } .home-live .inside { max-height: none; }
  .org.home .seat-card { width: 170px; }
  .home-live .msg:nth-child(n+4) { display: none; }
}
@media (max-width: 1023px) {
  .live-under { grid-template-columns: minmax(0, 1fr); }
}
/* A phone: no ring. A strip of seat chips, then the messages. */
@media (max-width: 760px) {
  .live-graph.org, .live-graph.org.home { height: auto; min-height: 0; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; overflow: visible; border-radius: 14px; margin-left: 0; margin-right: 0; }
  .org .org-chips, .org .org-region { position: static; width: 100%; display: flex; flex-flow: row wrap; gap: 8px; }
  .org .org-label { flex: 0 0 100%; padding: 0; text-align: left; }
  .org .org-wash { display: none; }
  .org .seat-card, .org.full .seat-card { position: static; width: auto; max-width: 100%; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; box-shadow: none; }
  .org .seat-card .id { font-size: 13px; } .org .seat-card .id::before { width: 8px; height: 8px; margin-right: 8px; }
  .org .seat-card .prog, .org .seat-card .holds { display: none; }
  .org.full .seat-card .subs::before { content: none; }
  .org .more-seats { position: static; padding: 6px 12px; font-size: 13px; }
  /* The gate is a row in the flow, never placed: a 40 px core with one ring, the last verdict and the hour's count beside it. */
  .org.strip .judge-card { --core: 40px; position: static; transform: none; order: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; align-items: center; justify-items: start; text-align: left; width: 100%; height: auto; padding: 5px 0 5px 5px; border: 0; border-radius: 0; background: none; animation: none; }
  .org.strip .judge-card::before { content: none; }
  .org.strip .gate-core { grid-row: 1 / span 2; font-size: 8px; letter-spacing: 1.2px; text-indent: 1.2px; box-shadow: 0 0 0 4px #FBFAF6, 0 0 0 5px #CFC8BA; }
  .org.strip .judge-card.flash .gate-core { animation: gate-core 1.1s ease-out; }
  .org.strip .gate-pill { position: static; transform: none; align-self: end; padding: 0; border: 0; border-radius: 0; background: none; font-size: 11px; white-space: normal; }
  .org.strip .judge-card .sum { display: block; align-self: start; margin: 0; font: 400 11px/1.5 var(--mono); color: var(--ink-4); }
  .org.strip .org-hard { display: none; }
  /* The home strip: one row of chips that scrolls sideways and snaps, fading at the right edge only. */
  .org.home.strip .org-chips { flex-flow: row nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 5px 36px 5px 5px; margin-left: -5px; width: calc(100% + 5px);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .org.home.strip .org-chips::-webkit-scrollbar { display: none; }
  .org.strip .org-chips > * { flex: none; scroll-snap-align: start; }
  .org.strip .seat-card .subs { display: none; }
  .org.strip .seat-card .id { flex: none; overflow: visible; }
  .org.strip .org-label { min-width: 0; max-width: 100%; overflow: hidden; } .org.strip .org-label span { white-space: normal; }
  .org.strip .seat-card .spoke { font: 400 11px/1.3 var(--mono); color: var(--ink-4); white-space: nowrap; } .org.strip .seat-card .spoke time { font: inherit; color: inherit; }
  .org.strip .seat-card.speaking .id::before { box-shadow: none; animation: seat-breathe 2s ease-out infinite; }
  .org.strip .org-label .hardlink { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* The flow hint: dots travel a thin line toward the gate row. */
  .org.strip .org-flow { position: relative; display: block; flex: none; width: 100%; height: 7px; }
  .org.strip .org-flow::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--rule-strong); }
  .org.strip .org-flow b { position: absolute; top: 1px; left: 100%; width: 5px; height: 5px; margin-left: -5px; border-radius: 50%; animation: org-flow-x 6.5s linear infinite; }
  .org-pop { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-width: none; max-height: 70vh; overflow-y: auto; z-index: 30; }
  .page-hub .org-pop { bottom: 76px; max-height: 60vh; }
}

@keyframes gate-core { 0% { box-shadow: 0 0 0 4px #FBFAF6, 0 0 0 6px var(--gate-c); } 100% { box-shadow: 0 0 0 4px #FBFAF6, 0 0 0 5px #CFC8BA; } }
@keyframes seat-breathe { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pc) 55%, transparent); } 100% { box-shadow: 0 0 0 6px transparent; } }
@keyframes org-flow-x { 0% { left: 100%; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: 5px; opacity: 0; } }

/* ---- css/pages/program.css ---- */

/* ---- Program page: sections that are rows on a phone ---- */
/* On a wide screen a section stands open and its row is not drawn. */
.prow > summary { display: none; }
.program-cols > .prow-map { flex: 3 1 0; min-width: 0; }
.program-cols > .prow-map .map.mini { width: 100%; }
.program-side > summary + .list-head { margin-top: 0; }
.prows > .prow-matrix { margin-top: 40px; }
.prows > .prow-dead > .list-head:first-of-type { margin-top: 56px; }
@media (max-width: 1080px) { .program-cols > .prow-map { flex: none; width: 100%; } }

@media (max-width: 760px) {
  .page-program .record-page { padding-top: 24px; }
  .page-program .page-title { margin-top: 14px; font-size: 32px; }
  .page-program .lead.narrow { margin-top: 12px; font-size: 17px; }
  .page-program .follow-line { margin-top: 16px; }
  .page-program .follow-line .btn { display: flex; width: 100%; padding: 15px 18px; font-size: 15px; border-radius: 8px; }
  .page-program .counts-line { display: none; }
  .page-program .mix { margin-top: 14px; }
  .page-program .mixline { margin-top: 8px; }
  /* The frontier, compact: the kicker on one line, the title, the id and how long it has stood. */
  .page-program .frontier-band { margin-top: 24px; padding: 20px var(--gutter); }
  .page-program .frontier-band .kicker { white-space: nowrap; }
  .page-program .frontier-band h2 { margin-top: 8px; font-size: 20px; line-height: 1.25; }
  .page-program .frontier-band .row { display: none; }
  .page-program .frontier-band .mono.on-phone { margin-top: 10px; }
  .page-program .frontier-band .mono a { color: inherit; }
  .page-program .attack { margin-top: 24px; }
  /* The rows: one white card, a rule between rows, a count and a chevron at the right. */
  .prows { display: flex; flex-direction: column; margin-top: 16px; border-radius: 8px; background: var(--raised); overflow: hidden; }
  .prows > .program-cols { display: contents; }
  .prows .prow { order: 5; margin: 0; border-top: 1px solid var(--rule); min-width: 0; }
  .prows .prow-map { order: 1; border-top: 0; }
  .prows .prow-seats { order: 2; }
  .prows .prow-matrix { order: 3; }
  .prows .prow-layers { order: 4; }
  .prows:not(:has(.prow-map)) .prow-seats { border-top: 0; }
  .prow > summary { display: flex; align-items: center; gap: 10px; padding: 15px 16px; cursor: pointer; list-style: none; font: 600 15px/1.3 var(--sans); }
  .prow > summary::-webkit-details-marker { display: none; }
  .prow > summary .n { margin-left: auto; font-weight: 400; font-size: 14px; color: var(--ink-4); }
  .prow > summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-4); border-bottom: 1.5px solid var(--ink-4); transform: rotate(-45deg); }
  .prow[open] > summary::after { transform: rotate(45deg) translate(-2px, -2px); }
  .prow > :not(summary) { margin-left: 16px; margin-right: 16px; }
  .prow > .list-head, .prows > .prow-dead > .list-head:first-of-type { margin-top: 0; }
  .prow > .list-head .kicker { display: none; }
  .prow > .list-head { justify-content: flex-end; border-bottom-color: var(--rule); padding-bottom: 10px; }
  .prow .seat-list li, .prow .dead-list li { padding: 12px 0; }
  .prow .seat-list li:last-child, .prow .dead-list li:last-child { border-bottom: 0; }
  .prow .seat-list .name { font-size: 18px; }
  .prow .dead-list .title { font-size: 18px; }
  .prow > .none-yet { font-size: 16px; padding: 4px 0 18px; }
  .prow-map .map.mini { width: auto; height: 340px; margin-bottom: 16px; }
  .prow-map .map.mini .mini-head { left: 16px; right: 16px; top: 16px; white-space: nowrap; font-size: 9px; letter-spacing: 1px; }
  .prow > .layers { margin: 0 0 16px; padding: 16px; border-radius: 8px; }
  .prow > .matrix-card { margin-bottom: 16px; }
  .page-program .more-links { margin-top: 20px; }
}

/* ---- css/pages/rel.css ---- */
/* ---- Hub, Rel. Frames: design/batch2/hub-rel-at-scale-1440, hub-rel-focus-1440, hub-rel-390. ---- */
/* The head: the title at 40px on one line, the search to its right. */
.page-rel .rel-head { align-items: flex-end; }
.page-rel h1.rel-title { font-size: clamp(28px, 2.78vw, 40px); line-height: 1.1; letter-spacing: -0.018em; margin-top: 14px; text-wrap: wrap; }
.rel-title .qual { font: 500 15px/1.2 var(--sans); letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.page-rel .rel-head .hub-search { flex: 1 1 300px; max-width: 460px; }
@media (min-width: 1200px) {
  .page-rel .rel-head { flex-wrap: nowrap; }
  .page-rel .rel-head > div:first-child { flex: none; }
  .page-rel h1.rel-title { white-space: nowrap; }
}
.rel-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 18px; }
.rel-bar .crumbs .cap, .rel-overlays .cap { font-size: 13px; color: var(--ink-3); }
.rel-bar .crumbs .here.plain { font-weight: 600; font-size: 15px; }
.rel-overlays { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rel-overlays .overlay { padding: 6px 13px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--sunk-2); font: 400 14px/1.21 var(--sans); color: var(--ink-3); cursor: not-allowed; }
.rel-overlays .overlay .state { color: var(--ink-4); }

/* The dark field: the legend at top left, the info card at top right, the bubbles under them. */
.page-rel .rel-field { margin-top: 22px; padding-top: 28px; padding-left: clamp(16px, 2.2vw, 32px); padding-right: clamp(16px, 2.2vw, 32px); }
.rel-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.rel-legend .is-conjecture { font-style: italic; }
.rel-info { flex: 0 1 310px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); font: 400 12px/1.4 var(--sans); color: #8B8F98; }
.rel-info .cap { font-weight: 600; color: #EDEAE2; margin-bottom: 4px; }
@media (min-width: 1200px) {
  .rel-top { min-height: 44px; }
  .rel-info { position: absolute; top: 28px; right: clamp(16px, 2.2vw, 32px); width: 310px; z-index: 1; }
}
.page-rel .bubbles { margin-top: 4px; }
.page-rel .bubbles .link { opacity: 0.32; }
.page-rel .bubbles .deps { font: 500 12px var(--mono); fill: #D9D4C7; stroke: #0A0C10; stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; }
.page-rel .bubble { text-decoration: none; outline: 0; cursor: pointer; }
.page-rel .bubble .name { font-family: var(--mono); font-weight: 600; }
.bubble .open { font: 500 12px var(--sans); fill: #F2B84B; text-decoration: underline; opacity: 0; }
.page-rel .bubble:hover .fill, .page-rel .bubble:focus-visible .fill { filter: drop-shadow(0 0 10px rgba(242, 184, 75, 0.55)) drop-shadow(0 0 30px rgba(242, 184, 75, 0.4)); }
.page-rel .bubble.empty:hover .fill, .page-rel .bubble.empty:focus-visible .fill { filter: none; }
.page-rel .bubble:focus-visible .name { fill: #FFD27A; }
.bubble:hover .open, .bubble:focus-visible .open { opacity: 1; }
@media (hover: none) { .bubble .open { opacity: 1; } }

/* ---- Phone: no chart. Neighbourhood | Programs. ---- */
.rel-tabs, .rel-programs, .rel-rows, .rel-focus { display: none; }
@media (max-width: 760px) {
  .page-rel .hub[data-shape='phone'] { padding-top: 16px; }
  .page-rel .rel-tabs { display: flex; width: 100%; border-radius: 8px; }
  .page-rel .rel-tabs button { flex: 1 1 0; padding: 11px 8px; border-radius: 6px; }
  .page-rel .hub[data-shape='phone'] > .hub-search { margin-top: 12px; }
  .page-rel .hub[data-shape='phone'] .search-field.light { padding: 13px 14px; }
  .page-rel .hub[data-shape='phone'] .search-field input { font-family: var(--mono); font-size: 16px; }
  .page-rel .hub[data-shape='phone'] > .crumbs { margin-top: 16px; }
  .rel-hint, .rel-foot { margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

  .rel-programs { display: flex; flex-direction: column; margin-top: 12px; border-radius: 8px; background: var(--raised); overflow: hidden; }
  .rel-programs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 12px; padding: 16px; border-bottom: 1px solid var(--rule); }
  .rel-programs li:last-child { border-bottom: 0; }
  .rel-programs .name { font: 500 14px var(--mono); overflow-wrap: anywhere; text-decoration: none; }
  .rel-programs a.name { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
  .rel-programs .total { font: 400 13px var(--mono); color: var(--ink-3); white-space: nowrap; }
  .rel-programs .mix, .rel-programs .links { grid-column: 1 / -1; margin: 0; }
  .rel-programs .mix span { flex-shrink: 0; flex-basis: 0; }
  .rel-programs .links { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12px var(--mono); color: var(--ink-3); }
  .rel-programs .is-checked { color: var(--green); } .rel-programs .is-refuted { color: var(--red); } .rel-programs .is-in_work { color: var(--blue); } .rel-programs .is-blocked { color: var(--ink); }

  .rel-focus { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 16px; border: 2px solid var(--ink); border-radius: 10px; background: var(--raised); text-decoration: none; }
  .rel-focus.is-conjecture, .rel-focus.is-in_work { border-style: dashed; }
  .rel-focus .title { font: 400 22px/1.2 var(--serif); overflow-wrap: anywhere; }
  .rel-focus .title.it { font-style: italic; }
  .rel-focus .id { font: 400 12px var(--mono); color: var(--ink-4); white-space: pre-wrap; overflow-wrap: anywhere; }
  .page-rel .hub[data-shape='phone'] h2.kicker { margin: 18px 0 10px; color: var(--ink); line-height: 1.5; }
  .page-rel .hub[data-shape='phone'] .nothing { font-size: 14px; font-style: italic; color: var(--ink-4); }
  .rel-rows { display: flex; flex-direction: column; border-radius: 8px; background: var(--raised); overflow: hidden; }
  .rel-rows li { border-bottom: 1px solid var(--rule); }
  .rel-rows li:last-child { border-bottom: 0; }
  .rel-rows a { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; padding: 12px 14px; text-decoration: none; }
  .rel-rows i { width: 8px; height: 8px; border-radius: 50%; border: 1px dashed var(--ink-4); }
  .rel-rows .title { font: 400 15px/1.3 var(--sans); overflow-wrap: anywhere; }
  .rel-rows .status { font: 400 13px var(--sans); color: var(--ink-3); white-space: nowrap; }
  .rel-rows .is-checked i { background: var(--green); border: 0; } .rel-rows .is-checked .status { color: var(--green); }
  .rel-rows .is-refuted i { background: var(--mid); border: 0; } .rel-rows .is-refuted .status { color: var(--red); }
  .rel-rows .is-blocked i { background: var(--ink); border: 0; } .rel-rows .is-blocked .status { color: var(--ink); font-weight: 600; }
  .rel-rows .is-conjecture .title, .rel-rows .is-in_work .title, .rel-rows .is-conjecture .status, .rel-rows .is-in_work .status { font-style: italic; color: var(--ink-3); }
  .rel-rows .more { padding: 12px 14px; font-size: 13px; color: var(--ink-3); }
}

/* ---- css/pages/seat.css ---- */

/* ---- Seat page on a phone: the mandate, one line of counts, two milestones, two events ---- */
.milestones.short li:nth-child(n+3) { display: none; }
@media (max-width: 760px) {
  .page-seat .record-page { padding-top: 24px; }
  .page-seat .crumbs { font: 400 13px/1.3 var(--mono); color: var(--ink-4); gap: 4px 8px; }
  .page-seat .crumbs a { text-decoration: none; color: inherit; }
  .page-seat .crumbs .here { color: var(--ink-4); }
  .page-seat .page-title { margin-top: 12px; font-size: 30px; line-height: 1.12; overflow-wrap: anywhere; }
  .page-seat .seat-top { display: block; margin-top: 14px; }
  .page-seat .seat-top .kicker, .page-seat .box p:not(.mono) { display: none; }
  .page-seat .seat-top .lead { margin-top: 0; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
  .page-seat .box { margin-top: 14px; padding: 0; border: 0; }
  .page-seat .box .mono { font-size: 11px; white-space: normal; word-spacing: -0.2em; }
  .page-seat .list-head > p { display: none; }
  .page-seat .seat-top + .list-head > p { display: block; }
  .page-seat .list-head { margin-top: 22px; padding-bottom: 10px; border-bottom: 0; }
  /* Milestones and events are white cards; the last row of each is the way to the rest. */
  .page-seat .milestones, .page-seat .events { background: var(--raised); border-radius: 8px 8px 0 0; }
  .page-seat .milestones li { padding: 12px 14px; gap: 3px; }
  .page-seat .milestones .title { font: 600 15px/1.3 var(--sans); }
  .page-seat .milestones .open .title { font-weight: 500; }
  .page-seat .milestones .finding { font-size: 14px; }
  .page-seat .milestones:not(.short) { border-radius: 8px; }
  .page-seat .milestones:not(.short) li:last-child { border-bottom: 0; }
  .page-seat .all-milestones, .page-seat .seat-pager { display: flex; justify-content: center; align-items: baseline; gap: 0.5em; width: 100%; padding: 14px; background: var(--raised); border-radius: 0 0 8px 8px; font: 600 14px/1.3 var(--sans); color: var(--ink); }
  .page-seat .all-milestones, .page-seat .seat-pager button { text-decoration: underline; text-underline-offset: 3px; }
  .page-seat .seat-pager:has(button:not(:disabled)) p::after { content: ' ·'; }
  .page-seat .seat-pager button { padding: 0; }
  .page-seat .seat-pager button:disabled { display: none; }
  .page-seat .events .event { padding: 12px 14px; gap: 6px 14px; }
  .page-seat .events .event .when { order: 3; }
  .page-seat .events .event .sentence { font: 400 15px/1.35 var(--sans); }
  .page-seat .events .event .who { display: none; }
}

/* ---- css/pages/sponsors.css ---- */

/* ---- Sponsors page (design batch 4c): the heading on one line at 1440, quiet rows, the empty list, the phone layout ---- */
/* The footer sits at the foot of the window even when the list is short or empty. */
body.page-sponsors { min-height: 100vh; display: flex; flex-direction: column; }
.page-sponsors main { flex: 1 0 auto; }
.page-sponsors .sp-intro { max-width: 940px; }
.page-sponsors .sp-head .lead { max-width: 820px; }
.page-sponsors .become.raised { width: min(340px, 100%); padding: 24px; }
@media (min-width: 1081px) { .page-sponsors .sp-head { flex-wrap: nowrap; } .page-sponsors .sp-intro { flex: 1 1 0; } .page-sponsors .sp-head h1 { white-space: nowrap; font-size: clamp(38px, 4.2vw, 64px); } }

/* Nobody on the list yet: no order control and no pager, one sentence under the rule. */
.page-sponsors .sp-list.is-empty .order { display: none; }
.page-sponsors .sp-list.is-empty .sp-bar { justify-content: flex-end; }
.page-sponsors .sponsors-empty { padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--rule); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--ink-2); }
.page-sponsors .sponsors-empty span { color: var(--ink-4); }

@media (min-width: 761px) {
  /* Rows as drawn: a 22 px name, a small note, the day and time, the amount. */
  .page-sponsors .sponsor { padding: 16px 0; grid-template-columns: 40px minmax(0, 4fr) minmax(0, 6fr) 124px 100px; column-gap: 24px; }
  .page-sponsors .sponsor .rank { font-size: 13px; }
  .page-sponsors .sponsor .name { font-size: 22px; line-height: 1.18; }
  .page-sponsors .sponsor .name.anon { font-style: normal; color: inherit; }
  .page-sponsors .sponsor .note { font-size: 13px; }
  .page-sponsors .sponsor .when { font-size: 12px; }
  .page-sponsors .sponsor .amount { font-size: 15px; }
}
/* Between the phone and the desktop frame the name gets half the free width, so it stays on one line. */
@media (min-width: 761px) and (max-width: 1080px) { .page-sponsors .sponsor { grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1fr) 108px 84px; gap: 16px; } }

@media (max-width: 760px) {
  .page-sponsors main { display: flex; flex-direction: column; }
  .page-sponsors .today { order: 3; margin-top: auto; }
  .page-sponsors .sp-head { display: block; padding: 22px var(--gutter) 0; }
  .page-sponsors .sp-head h1 { margin-top: 10px; font-size: 32px; line-height: 1.12; }
  .page-sponsors .sp-head .lead { margin-top: 12px; font: 400 16px/1.45 var(--sans); }
  /* The button stands alone: no card, no second heading. */
  .page-sponsors .become.raised { width: 100%; margin-top: 16px; padding: 0; border: 0; background: none; gap: 12px; }
  .page-sponsors .become h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-sponsors .become .btn { padding: 15px 18px; font-size: 15px; border-radius: 8px; }
  .page-sponsors .become .terms { text-align: left; }
  .page-sponsors .sp-list { padding: 16px var(--gutter) 28px; }
  .page-sponsors .sp-bar { display: block; padding: 0; border: 0; }
  .page-sponsors .order { display: block; }
  .page-sponsors #order-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-sponsors .seg.big { display: flex; border-radius: 8px; }
  .page-sponsors .seg.big button { flex: 1 1 0; padding: 11px 16px; border-radius: 6px; }
  .page-sponsors .sp-summary { display: none; }
  /* Compact rows in one white card: the name and the amount, then when and the note in quotes. */
  .page-sponsors .sponsor-list { margin-top: 14px; background: var(--raised); border-radius: 8px; }
  .page-sponsors .sponsor-list:empty { display: none; }
  .page-sponsors .sponsor { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 0; padding: 13px 14px 12px; }
  .page-sponsors .sponsor:last-child { border-bottom: 0; }
  .page-sponsors .sponsor .rank { order: 0; flex: 0 0 30px; font-size: 12px; }
  .page-sponsors .sponsor .name { order: 1; flex: 1 1 calc(100% - 140px); min-width: 0; font-size: 19px; line-height: 1.25; }
  .page-sponsors .sponsor .when { margin-left: 30px; }
  .page-sponsors .sponsor .amount { order: 2; flex: 0 0 110px; font-size: 14px; }
  .page-sponsors .sponsor .when { order: 3; flex: none; margin-right: 0.9em; font-size: 12px; line-height: 1.6; }
  .page-sponsors .sponsor .note { order: 4; flex: 0 1 auto; max-width: calc(100% - 30px); font-size: 13px; line-height: 1.5; }
  .page-sponsors .sponsor .note:not(.none)::before { content: '\201C'; }
  .page-sponsors .sponsor .note:not(.none)::after { content: '\201D'; }
  /* The empty list on a phone: the sentence in a card of its own, where the rows will be. */
  .page-sponsors .sp-list.is-empty { padding-top: 20px; }
  .page-sponsors .sponsors-empty { padding: 22px 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--raised); font-size: 19px; }
  .page-sponsors .sponsors-empty span { display: block; margin-top: 4px; font-size: 16px; }
  .page-sponsors .pager { padding-top: 14px; }
  .page-sponsors .pager p { flex: 1 1 auto; display: flex; justify-content: space-between; align-items: center; font: 400 12px var(--mono); }
  .page-sponsors .pager [data-more] { padding: 11px 16px; border: 1px solid var(--ink); border-radius: 8px; font: 600 14px var(--sans); text-decoration: none; }
  .page-sponsors .today { padding: 14px var(--gutter) 16px; gap: 6px; }
}

/* ---- The wall: the rank, a sponsor's link, the button that opens a payment, the two notices ---- */
.page-sponsors .sponsor .rank { font-family: var(--mono); font-weight: 400; line-height: 1.33; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.page-sponsors .sponsor .name a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--ink-5); }
.page-sponsors .sponsor .name a:hover { text-decoration-color: currentColor; }
.page-sponsors .become button.btn { cursor: pointer; }
.page-sponsors .become button.btn:disabled { background: var(--sunk); color: var(--ink-3); cursor: default; }
.page-sponsors .become .terms { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.page-sponsors .become .terms.fine { font-size: 12px; color: var(--ink-4); }
.page-sponsors .become .claim-say { font-size: 13px; line-height: 1.4; color: var(--ink); }
.page-sponsors .wall-thanks, .page-sponsors .wall-trouble { padding: 14px 18px; border-radius: 8px; font-size: 15px; line-height: 1.4; }
.page-sponsors .wall-thanks { margin: 16px var(--gutter) 0; background: var(--raised); border: 1px solid var(--ink); }
.page-sponsors .wall-thanks.is-failed { border-color: var(--rule); color: var(--ink-2); }
.page-sponsors .wall-trouble { margin-top: 16px; background: var(--sunk-2); border: 1px solid var(--rule); color: var(--ink-2); }

/* ---- css/pages/status-note.css ---- */
/* The strategy seat's note: its own section right under the home hero (site/design/hero_1122, section 3).
   A band on #FBFAF6 between two hairlines; on the hero's grid (section 8): the note on columns 1 to 8,
   760 px wide at most, and the lemmas it names on columns 9 to 12. Phone: the same as a card under the hero. */
.status-note { padding: var(--s64) var(--gutter); row-gap: var(--s40); background: #FBFAF6; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.status-note-in { max-width: 760px; }
.status-note-eyebrow { display: flex; align-items: center; gap: var(--s8); font: 600 11px/14px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); }
.status-note .text { margin-top: var(--s16); font: 400 26px/1.35 var(--serif); color: var(--ink); text-wrap: pretty; overflow-wrap: anywhere; }
.status-note .text a.ref { font: 400 0.72em var(--mono); text-underline-offset: 3px; white-space: nowrap; }
.status-note .text a.is-checked { color: var(--green); }
.status-note .text a.is-conjecture, .status-note .text a.is-in_work { font-style: italic; color: var(--ink-3); }
.status-note .text a.is-refuted { color: var(--red); }
.status-note .when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s8); margin-top: var(--s24); font: 400 12px/1.3 var(--mono); color: var(--ink-4); }
.status-note .badge { text-transform: uppercase; letter-spacing: 1px; color: var(--green); }
.status-note .badge::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--live); vertical-align: 1px; }
.status-note .fresh { display: inline-flex; align-items: center; gap: var(--s8); }
.mentioned ul { display: flex; flex-direction: column; gap: var(--s8); margin-top: var(--s16); }
.mention { display: flex; flex-direction: column; gap: var(--s8); padding: var(--s16); border: 1px solid var(--rule); border-radius: 10px; background: var(--raised); text-decoration: none; transition: border-color 0.15s; }
.mention:hover { border-color: var(--ink); }
.mention .top { display: flex; align-items: center; justify-content: space-between; gap: var(--s16); }
.mention time { font: 400 11px/1.3 var(--mono); color: var(--ink-4); white-space: nowrap; }
.mention .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 400 14px/20px var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.mention .id { font: 400 11px/1.3 var(--mono); color: var(--ink-4); }
@media (max-width: 760px) {
  .status-note { row-gap: var(--s24); }
  .status-note { padding: 0 var(--gutter) var(--s40); background: none; border: 0; }
  .status-note-in { max-width: none; padding: var(--s16); background: #FBFAF6; border: 1px solid var(--rule); border-radius: 12px; }
  .status-note .text { font-size: 19px; line-height: 1.4; }
  .status-note .when { margin-top: var(--s16); }
}

/* ---- css/pages/whispers.css ---- */
/* Live whispers: agents talking, in the right column of the home hero (site/design/hero_1122, sections
   7 and 9). From 1024 px up only. A scroll area: the newest message in a white card on top, the rest
   under hairlines, all at full strength. Sans for the words; mono only for "from -> to" and the time.
   The list takes the height the left column leaves it (220 px at least), so the two columns end together. */
.whispers { display: none; }
@media (min-width: 1024px) { .whispers:not([hidden]) { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; } }
.whispers-eyebrow { display: flex; align-items: center; min-height: 30px; font: 600 11px/1.2 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.whispers-eyebrow .live-dot { flex: none; margin: 0 var(--s8) 0 0; }
.whisper-list { flex: 1 1 0; height: 0; min-height: 220px; margin-top: var(--s16); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ink-6) transparent; }
.whisper-list::-webkit-scrollbar { width: 6px; } .whisper-list::-webkit-scrollbar-thumb { background: var(--ink-6); border-radius: 3px; }
.whisper { padding: var(--s16); border: 1px solid transparent; border-bottom-color: var(--rule); }
.whisper:last-child { border-bottom-color: transparent; }
.whisper:first-child { border-color: var(--rule); border-radius: 10px; background: var(--raised); }
.whisper .who { display: flex; justify-content: space-between; gap: var(--s16); font: 400 11px/1.3 var(--mono); color: var(--ink-4); }
.whisper .who span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whisper .who time { flex: none; white-space: nowrap; }
.whisper:first-child .who time { color: var(--green); }
/* Three lines at most. js/ui.js (clampWords) ends a longer message on a whole word and an ellipsis. */
.whisper q { display: block; max-height: 60px; overflow: hidden; margin-top: var(--s8); font: 400 14px/20px var(--sans); color: var(--ink); quotes: none; overflow-wrap: break-word; }
.whispers-more { align-self: flex-start; margin-top: var(--s16); font: 600 13px/1.3 var(--sans); color: var(--ink); text-underline-offset: 3px; }
