/* 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;
  --gutter: clamp(20px, 4.45vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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, .site-footer :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%; }
.plain-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 13px/1.23 var(--sans); color: var(--ink-2); white-space: nowrap; }
.track { display: inline-block; width: 26px; height: 14px; border-radius: 999px; background: var(--rule-strong); position: relative; transition: background 0.15s; flex: none; }
.knob { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.plain-toggle[aria-checked='true'] { color: var(--ink); }
.plain-toggle[aria-checked='true'] .track, .track.mini { background: var(--ink); }
.plain-toggle[aria-checked='true'] .knob, .track.mini .knob { transform: translateX(12px); background: var(--paper); }
.plain-toggle.on-dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #EDEAE2; }
.plain-toggle.on-dark .track { background: rgba(255, 255, 255, 0.22); }
.plain-toggle.on-dark[aria-checked='true'] .track { background: #EDEAE2; }
.plain-toggle.on-dark[aria-checked='true'] .knob { background: #07080B; }

.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: 24px; padding: 22px 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; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 36px var(--gutter); background: var(--ink); color: #A9A396; font-size: 13px; }
.site-footer .dot { color: #6B665B; }
.foot-soon, .foot-credit { font-style: italic; }
.foot-credit { color: #6B665B; }
.foot-link { color: #D6D3CB; font-weight: 500; text-underline-offset: 3px; }

/* ---- Home: hero ---- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 6.7vw, 96px) var(--gutter) clamp(40px, 5vw, 72px); }
.verify-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--sunk); font-size: 13px; line-height: 1.23; color: var(--ink-2); }
.verify-pill .icon { color: var(--green); }
.hero-q { font: 400 clamp(76px, 11.67vw, 168px)/0.98 var(--serif); letter-spacing: -0.024em; margin-top: clamp(20px, 2.4vw, 34px); }
.hero-a { font: italic 400 clamp(40px, 4.45vw, 64px)/1 var(--serif); color: var(--ink-3); margin-top: clamp(18px, 2.4vw, 34px); }
.hero-counters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: clamp(22px, 2.6vw, 38px); 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); }
.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); box-shadow: 0 0 6px rgba(61, 170, 110, 0.5); }
.live-dot.on { animation: pulse 2.4s ease-in-out infinite; }
.live-dot.small { width: 6px; height: 6px; margin-right: 8px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(61, 170, 110, 0.14), 0 0 6px rgba(61, 170, 110, 0.5); } }
.hero-status { width: min(760px, 100%); margin-top: clamp(22px, 2.6vw, 34px); font: 400 clamp(17px, 1.4vw, 20px)/1.5 var(--serif); color: var(--ink-2); text-wrap: pretty; overflow-wrap: anywhere; }
.hero-status .when { display: block; margin-top: 8px; font: 400 12px/1.3 var(--mono); color: var(--ink-4); }
.tug { width: min(880px, 100%); margin-top: 32px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.tug-heads, .tug-notes { display: flex; justify-content: space-between; gap: 16px; }
.tug-heads { font: 600 13px/1.23 var(--sans); }
.tug-notes { font-size: 12px; line-height: 1.25; color: var(--ink-4); }
.tug-notes span + span, .tug-heads span + span { text-align: right; }
.tug-bar { display: flex; align-items: center; gap: 3px; height: 14px; }
.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); }
.hero-toggle { margin-top: 20px; background: var(--raised); }

/* ---- 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: clamp(28px, 4.4vw, 64px); right: var(--gutter); pointer-events: none; }
.map-head .kicker { color: #8B8F98; letter-spacing: 2.5px; font-size: 10px; }
.map-head h2 { font: 400 clamp(22px, 2.1vw, 30px)/1.15 var(--serif); margin-top: 10px; max-width: 26em; text-wrap: balance; }
.map-sub { font-size: 12px; font-style: italic; color: #8B8F98; margin-top: 10px; }
.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-toggle { position: absolute; right: var(--gutter); top: clamp(28px, 4.4vw, 64px); }
.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: 16px 40px; padding: 26px 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: clamp(56px, 7.8vw, 112px) var(--gutter) clamp(56px, 7.2vw, 104px); }
.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: 14px; font-size: 14px; color: var(--ink-3); }
.record .events { margin-top: 28px; 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 .who .fund { font: 400 12px/1.4 var(--sans); color: var(--ink-4); }
.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); }
.record [data-older] { margin-top: 28px; }

/* ---- Sponsors: the home section, the page, the today strip ---- */
.sponsors { padding: clamp(56px, 7.2vw, 104px) var(--gutter); background: var(--raised); border-top: 1px solid var(--rule); }
.sponsors h2 { font-size: clamp(30px, 3.05vw, 44px); letter-spacing: -0.011em; margin-top: 10px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px; 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: 64px; align-items: flex-start; }
.split-main { flex: 3 1 0; min-width: 0; }
.become { flex: 2 1 0; margin-top: 40px; padding: 28px; 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: 28px; padding: 18px 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; }
.lemma-title { margin-top: 26px; max-width: 17em; text-wrap: balance; }
.lemma-title.open { font-style: italic; color: var(--ink-2); }
.plain-block { display: none; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 36px; padding: 16px 20px; border-radius: 8px; background: var(--plain); }
[data-plain='on'] .plain-block { display: flex; }
.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; }
.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-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, .hero .narrow-only { display: inline-flex; }
  .menu-btn { display: inline-flex; }
  .site-header { padding: 10px 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; }
  .site-nav .plain-toggle { align-self: flex-start; margin-top: 16px; }
  .verify-pill { background: none; padding: 0; text-align: center; display: block; color: var(--ink-3); }
  .verify-pill .icon { display: none; }
  .hero-counters { flex-direction: column; font: 400 13px/1.4 var(--mono); }
  .hero-counters .num { font-size: 13px; font-weight: 400; margin-right: 0; }
  .hero-counters .sep { display: none; }
  .tug-notes, .map-sub, .tug-heads span:first-child::before { font-size: 11px; }
  .tug-notes { flex-direction: column; gap: 2px; }
  .tug-notes span + span { text-align: left; }
  .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; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .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; }
}

/* Reduced motion: every state change is a plain change. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= 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: clamp(24px, 4vw, 56px); 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: 20px; margin-top: 32px; }
.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: 24px; margin-top: 28px; 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, [data-plain='on'] .statement.formal { display: none; }
[data-plain='on'] .statement.plainly { display: block; }
.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-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(4, 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) ---- */
.site-nav .nav-news { display: none; }
[data-news='yes'] .site-nav .nav-news { display: inline; }
.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); }
