/* 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 {
  /* THE DESIGN SYSTEM'S TOKENS (site/design/design_system_1123/pequalnp.ds.txt), light theme, by their design names. */
  --color-accent-core: #FFF4D6; --color-accent-ink: #C9A24B; --color-accent-light: #FFD27A; --color-accent-mid: #E0A43A; --color-accent-deep: var(--color-avatar-1-ink); --color-art-map-000000: #000000;
  --color-art-organism-4e9a8a: #4E9A8A; --color-art-organism-9a8f3c: #9A8F3C; --color-art-site-cfc8ba: #CFC8BA; --color-art-site-f1eee8: #F1EEE8;
  --color-avatar-1-bg: #EFE7D6; --color-avatar-1-ink: #8A6A1E; --color-avatar-2-bg: #DCE6F4; --color-avatar-2-ink: #2D5E8A; --color-avatar-3-bg: #E8E1F0; --color-avatar-3-ink: #5E4A86;
  --color-avatar-4-bg: #DDEBEA; --color-avatar-4-ink: #2F6266; --color-avatar-5-bg: #F4E1D8; --color-avatar-5-ink: #8A4A2E; --color-avatar-6-bg: #E4E2DC; --color-avatar-6-ink: #4A463E; --color-footer-link: #D6D3CB; --color-footer-text: #A9A396; --color-heat-green-1: #EEF4EF;
  --color-heat-green-2: #E3EFE6; --color-heat-green-3: #DCEBE1; --color-heat-green-4: #C9E0D0; --color-heat-green-5: #B4D4BF; --color-heat-green-6: #9DC8AC;
  --color-heat-month-green-2: #CFE3D6; --color-heat-month-green-3: #B8D6C2; --color-heat-month-green-4: #A3CBB2; --color-heat-month-green-5: #8FC0A2;
  --color-heat-month-red-1: #F2D6D0; --color-heat-month-red-2: #E9BFB5; --color-heat-month-red-3: #DDA597; --color-heat-month-red-4: #D58F7E;
  --color-heat-red-1: #F6EDEA; --color-heat-red-2: #F6E3DF; --color-heat-red-3: #F2DAD4; --color-heat-red-4: #EFCBC2; --color-heat-red-5: #E7B3A6;
  --color-heat-red-6: #E09A88; --color-hub-bubble: #141820; --color-ink: #1B1A17; --color-ink-faint: #B5AFA2; --color-ink-ghost: #C9C3B5;
  --color-ink-meta: #8A857A; --color-live-ink: #3D8A5E; --color-ink-muted: #6B665B; --color-ink-secondary: #4A463E; --color-map-agent: #BFE8FF; --color-map-agent-glow: #7FD1FF;
  --color-map-bg: #07080B; --color-map-bg-from: #0D1016; --color-map-bg-to: #06070A; --color-map-credit: #4A4F59; --color-map-graph-from: #11141B; --color-map-ink: #F3EEE4;
  --color-map-public: #5B9BFF; --color-map-region: #3E434C; --color-program-geometric-mark: #8B6BB0; --color-program-meta-mark: #C25A44;
  --color-program-proof-mark: #5F86AA; --color-public-ink: #2B6FD6; --color-split-cause: #C98A1E; --color-result-checked-edge: #3A404B; --color-result-checked-fill: #E6F0E9;
  --color-result-checked-glow: #F3E9D2; --color-result-checked-ink: #2F6B4F; --color-result-checked-live: #3DAA6E; --color-result-checked-on-dark: #7BC79A;
  --color-result-new-ink: #F2B84B; --color-rule: #E2DED4; --color-rule-soft: #EEEAE2; --color-rule-strong: #D6D1C5; --color-rule-verify: #D9D3C6;
  --color-status-blocked-ring: #EDEAE2; --color-status-conjecture-edge: #2A2F38; --color-status-conjecture-node: #8B8F98;
  --color-status-conjecture-ring: #5E636D; --color-status-in-work-ink: #2D5E8A; --color-status-in-work-ring: #7FA6C9; --color-status-in-work-fill: #E3ECF5; --color-strip-stale-fill: #FBF3E0; --color-status-refuted-edge: #4A2622;
  --color-status-refuted-fill: #F7E4E0; --color-status-refuted-ink: #A2321F; --color-status-refuted-mark: #C2412D; --color-status-refuted-ring: #E0705C;
  --color-status-refuted-row: #FBEDEA; --color-surface: #F6F4EF; --color-cause-pnp-accent: #2F7A5E; --color-cause-pnp-wash: #E3F1EA; --color-cause-pnp-mid: #C9D8CB; --color-cause-raredx-accent: #2A68A0; --color-cause-raredx-wash: #E3F0FC; --color-cause-raredx-morning: #FDF1E6; --color-surface-organism: #FBFAF6; --color-surface-plain: #EFEBE2;
  --color-surface-raised: #FFFFFF; --color-strip-stale-fill: #FBF3E0; --color-surface-sunk: #ECE8DF; --color-surface-sunk2: #F1EEE7; --color-surface-warm: #FBFAF7;
  --radius-2: 2px; --radius-3: 3px; --radius-4: 4px; --radius-6: 6px; --radius-8: 8px; --radius-10: 10px; --radius-12: 12px; --radius-14: 14px;
  --radius-16: 16px; --radius-20: 20px; --radius-full: 999px;
  /* Service state (Components/Chrome; /status and its footer dot): the colours css/status.css reads. */
  --color-strip-incident-fill: #FCEDE0; --color-strip-incident-ink: #6E3412; --color-strip-incident-mark: #CF6A23;
  --color-service-paused-fill: #E3ECF5; --color-service-maintenance-mark: #8E6FB0; --color-service-maintenance-ink: #5E4A86; --color-service-maintenance-fill: #E8E1F0;
  --spacing-8: 8px; --spacing-16: 16px; --spacing-24: 24px; --spacing-32: 32px; --spacing-40: 40px; --spacing-48: 48px; --spacing-64: 64px; --spacing-96: 96px;
          --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. */
    /* The space above and below a section's content. */
  --section: var(--spacing-64);
  /* THE COLOURS, each declared once. Named by value until the design token map names them by role. */
  --a-0-0-0-025: rgba(0,0,0,0.25); --a-0-0-0-035: rgba(0,0,0,0.35); --a-139-143-152-03: rgba(139,143,152,0.3);
  --a-194-65-45-008: rgba(194,65,45,0.08); --a-194-65-45-06: rgba(194,65,45,0.6); --a-194-65-45-075: rgba(194,65,45,0.75);
  --a-201-162-75-028: rgba(201,162,75,0.28); --a-226-222-212-07: rgba(226,222,212,0.7); --a-242-184-75-014: rgba(242,184,75,0.14);
  --a-242-184-75-016: rgba(242,184,75,0.16); --a-242-184-75-025: rgba(242,184,75,0.25); --a-242-184-75-035: rgba(242,184,75,0.35);
  --a-242-184-75-04: rgba(242,184,75,0.4); --a-242-184-75-045: rgba(242,184,75,0.45); --a-242-184-75-05: rgba(242,184,75,0.5);
  --a-242-184-75-055: rgba(242,184,75,0.55); --a-242-184-75-06: rgba(242,184,75,0.6); --a-242-184-75-095: rgba(242,184,75,0.95);
  --a-243-233-210-06: rgba(243,233,210,0.6); --a-255-210-122-06: rgba(255,210,122,0.6); --a-255-255-255-004: rgba(255,255,255,0.04);
  --a-255-255-255-005: rgba(255,255,255,0.05); --a-255-255-255-006: rgba(255,255,255,0.06); --a-255-255-255-007: rgba(255,255,255,0.07);
  --a-255-255-255-008: rgba(255,255,255,0.08); --a-255-255-255-01: rgba(255,255,255,0.1); --a-255-255-255-012: rgba(255,255,255,0.12);
  --a-255-255-255-016: rgba(255,255,255,0.16); --a-255-255-255-02: rgba(255,255,255,0.2); --a-255-255-255-028: rgba(255,255,255,0.28);
  --a-255-255-255-03: rgba(255,255,255,0.3); --a-255-255-255-06: rgba(255,255,255,0.6); --a-255-255-255-07: rgba(255,255,255,0.7); --a-26-22-48-004: rgba(26,22,48,0.04);
  --a-26-22-48-006: rgba(26,22,48,0.06); --a-26-22-48-01: rgba(26,22,48,0.1); --a-27-26-23-004: rgba(27,26,23,0.04);
  --a-27-26-23-005: rgba(27,26,23,0.05); --a-27-26-23-01: rgba(27,26,23,0.1); --a-27-26-23-012: rgba(27,26,23,0.12);
  --a-27-26-23-016: rgba(27,26,23,0.16); --a-27-26-23-022: rgba(27,26,23,0.22); --a-27-26-23-045: rgba(27,26,23,0.45);
  --a-27-26-23-05: rgba(27,26,23,0.5); --a-27-33-48-0: rgba(27,33,48,0); --a-43-111-214-05: rgba(43,111,214,0.5); --a-6-7-10-055: rgba(6,7,10,0.55); --a-6-7-10-072: rgba(6,7,10,0.72);
  --a-6-7-10-085: rgba(6,7,10,0.85); --c-00c950: #00C950; --c-0a0c10: #0A0C10;
  --c-0b0e15: #0B0E15; --c-0e1015: #0E1015; --c-0e1118: #0E1118; --c-171717: #171717;
  --c-191c20: #191C20; --c-1b2130: #1B2130; --c-1d2129: #1D2129; --c-2a2925: #2A2925; --c-2f7d5b: #2F7D5B;
  --c-4a3a12: #4A3A12; --c-5a6070: #5A6070;   --c-5c1d12: #5C1D12; --c-5e5b54: #5E5B54; --c-6b4e12: #6B4E12; --c-6e6a62: #6E6A62;   --c-8a6a12: #8A6A12;   --c-a9a498: #A9A498; --c-b88a3a: #B88A3A; --c-b9b4a8: #B9B4A8;   --c-d1d1d6: #D1D1D6; --c-d8d3c7: #D8D3C7;
  --c-d9b64a: #D9B64A; --c-d9d4c7: #D9D4C7;   --c-e0a93b: #E0A93B; --c-e3a99c: #E3A99C; --c-e4e1da: #E4E1DA; --c-e5e5ea: #E5E5EA; --c-e7c873: #E7C873;
  --c-eadfc3: #EADFC3; --c-edf3ee: #EDF3EE; --c-eef0f3: #EEF0F3;     --c-faece9: #FAECE9; --c-fbe7b6: #FBE7B6; --c-fbf0d2: #FBF0D2; --c-fbf3dc: #FBF3DC;
  --color-service-paused-fill: #E3ECF5; --color-service-paused-mark: #5F86AA; --color-service-paused-ink: #2D5E8A; /* the footer status dot, paused (Live/Status) */
  /* The incident strip (Components/Chrome, 467756626e68f18a). */
  --color-strip-incident-bar: #2B1A14; --color-strip-incident-signal: #F08A5D; --color-strip-incident-outage-bar: #331416; --color-strip-incident-outage-signal: #F2665E;
  --color-strip-incident-text: #EDEAE2; --color-strip-incident-edge: #FFFFFF; --color-strip-resolved-bar: #14261C; --color-strip-resolved-signal: #5BC98A;
  /* The desk's level colours (C2, Components/Desk, a founder approved them 25 Nov): colour means level only. color.level.<level>.bg, .ink, .pip */
  --color-level-warmup-bg: #E3EFE6; --color-level-warmup-ink: #2F6B4F; --color-level-warmup-pip: #B1CABC;
  --color-level-solid-bg: #F4E3BF; --color-level-solid-ink: #8A5A10; --color-level-solid-pip: #D6BD8E;
  --color-level-hard-bg: #F3D9CF; --color-level-hard-ink: #9A3E22; --color-level-hard-pip: #DAAE9F;
  --color-level-open-bg: #2E2347; --color-level-open-ink: #FFFFFF; --color-level-open-pip: #69617B;
  --color-status-in-work-fill: var(--color-service-paused-fill); /* color.status.in-work.fill, one value with the paused dot */
  /* The rare-diseases cause map (design rd-home, raredx_launch_1126): one hue per disease cluster, the drug node, the newest agreed. */
  --color-rd-hue-0: #C9A24B; --color-rd-hue-1: #7FA6C9; --color-rd-hue-2: #B48FD9; --color-rd-hue-3: #7BC79A; --color-rd-hue-4: #9FD0C4; --color-rd-hue-5: #5B9BFF;
  --color-rd-gold: #9A6A1C; --color-rd-gold-fill: #FBF3E4; --color-rd-node: #E6E0D4; --color-rd-newest: #FFE2A6; --color-rd-panel: rgba(17,20,27,0.9); --color-rd-field: rgba(7,8,11,0.7);
  --color-public-wash: #EAF1FC; /* color.public.wash: the visitor's own lease (the desk's timer track and Leased by you) */
  --c-fbf4df: #FBF4DF; --c-fefefe: #FEFEFE; --c-2e2b26: #2E2B26; --c-c9c4b8: #C9C4B8; --a-27-26-23-018: rgba(27,26,23,0.18); /* the hero count and its Who is counted tooltip (design hero-count-f) */     --public-bg: #E8F0FD; /* the public's blue: a step an outside agent proved, a row that just moved */
  /* THE CORNERS. */
  }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 760px) { :root { --gutter: 16px; --section: var(--spacing-40); } }
/* A narrow tablet: the header in two rows, the mark and then the links with Sponsors at their right. */
@media (min-width: 761px) and (max-width: 900px) { .site-footer .foot-top { flex-wrap: wrap; gap: 32px 24px; } .site-footer .foot-top .foot-about, .site-footer .foot-top .foot-col { flex: 0 0 calc(50% - 12px); width: auto; } header.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; align-items: center; } header.site-header .brand { grid-column: 1 / -1; } header.site-header .brand-tag { display: none; } header.site-header .site-nav { grid-column: 1; justify-self: start; } header.site-header .site-actions { grid-column: 2; } }
/* A tablet (design/tablet_1123): 32 px at the sides, the question at 84 px, the Backed by line under its marks. */
@media (min-width: 761px) and (max-width: 1100px) { :root { --gutter: 32px; } .hero .hero-q { font-size: clamp(84px, 10.9vw, 110px); } .page-sponsors .sp-head .become.raised { flex: 1 1 100%; width: 100%; } .page-sponsors .sp-head h1 { font-size: clamp(44px, 7.4vw, 64px); } div.backed-by { flex-wrap: wrap; } div.backed-by > .pitch { order: 5; flex: 1 1 100%; } div.backed-by > .backer { margin-left: auto; } }
/* 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(--color-surface); color: var(--color-ink); font: 400 16px/1.5 var(--sans); min-width: 320px; }
/* Cause themes (theme_1126): a low tint on a cause home and its bands, keyed on body[data-cause] (test 111: AA) */
.page-home[data-cause=pnp]{--ct:color-mix(in srgb,var(--color-cause-pnp-wash) 40%,#0000);--cm:color-mix(in srgb,var(--color-cause-pnp-mid) 20%,#0000);--ce:color-mix(in srgb,var(--color-cause-pnp-wash) 30%,#0000);--cb:var(--ct);--cn:color-mix(in srgb,var(--color-cause-pnp-mid) 40%,#0000)}
.page-rd-home[data-cause=raredx]{--ct:color-mix(in srgb,var(--color-cause-raredx-wash) 75%,#0000);--cm:color-mix(in srgb,var(--color-cause-raredx-morning) 60%,#0000);--ce:color-mix(in srgb,var(--color-cause-raredx-wash) 55%,#0000);--cb:color-mix(in srgb,var(--color-cause-raredx-wash) 70%,#0000);--cn:color-mix(in srgb,var(--color-cause-raredx-morning) 70%,#0000)}
[data-cause]:is(.page-home,.page-rd-home){background:linear-gradient(var(--ct),var(--cm),var(--ce)) var(--color-surface)}
[data-cause]:is(.page-home,.page-rd-home) :is(.backed-by,.site-footer){background-image:linear-gradient(var(--cb),var(--cb))}
[data-cause]:is(.page-home,.page-rd-home) .numbers{background-image:linear-gradient(var(--cn),var(--cn))}
[data-cause]:is(.page-home,.page-rd-home) :is(.backed-by,.site-footer,.numbers){--color-ink-meta:var(--color-ink-secondary);--color-ink-muted:var(--color-ink-secondary)} /* the grey text darkens on a tint, so it stays AA */
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(--color-ink); outline-offset: 3px; border-radius: var(--radius-3); }
.map :focus-visible, .graph :focus-visible { outline-color: var(--color-status-blocked-ring); }
[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(--color-ink); color: var(--color-surface); padding: 8px 12px; border-radius: var(--radius-6); 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(--color-ink-faint); 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(--color-ink-meta); }
.kicker > span + span::before { content: '·'; margin: 0 1.1em; }
.kicker > span:empty { display: none; }

/* ---- Buttons, the toggle, the chips ---- */

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

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

/* ---- Header and footer ---- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-24); padding: var(--spacing-16) var(--gutter); border-bottom: 1px solid var(--color-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(--color-ink-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; gap: 24px; font: 500 14px/1.21 var(--sans); color: var(--color-ink-secondary); }
.site-nav a:not(.btn) { text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
/* ==== BUTTON (the design master 'Button', a founder approved it): the site's one button. ====
   kind   .btn-primary | .btn-secondary (outline) | .btn-quiet (white, a faint line) | .btn-accent (amber) | .btn-link | .btn-on-dark
   shape  rect (default) | .btn-pill
   size   .btn-xs (a step card's action, Components/Desk) | .btn-sm | md (default) | .btn-lg
   state  default | :hover | :active (pressed) | :disabled
   width  .btn-block: the full width of its place.  .btn-phone-lg: large and full width on a phone.  .btn-wide-lg: large from 1920 px up.
   Nothing outside this block gives a button its look; a place may only say where the button sits (flex, margin, width, order). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; padding: 12px 18px; border: 1px solid transparent; border-radius: var(--radius-6); background: none; font: 600 14px/1.21 var(--sans); color: var(--color-ink); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); } .btn-primary:hover { background: var(--color-art-map-000000); border-color: var(--color-art-map-000000); }
.btn-secondary { border-color: var(--color-ink); } .btn-secondary:hover { background: var(--color-surface-sunk2); }
.btn-accent { background: var(--color-result-new-ink); border-color: var(--color-result-new-ink); color: var(--color-ink); } .btn-accent:hover { filter: brightness(0.95); }
.btn-on-dark { background: var(--color-surface); border-color: var(--color-surface); color: var(--color-ink); } .btn-on-dark.btn-secondary { background: none; border-color: var(--color-ink-muted); color: var(--color-surface); } .btn-on-dark:hover { filter: brightness(0.95); }
.btn-quiet { background: var(--color-surface-raised); border-color: var(--color-rule-verify); } .btn-quiet:hover { background: var(--color-surface-sunk2); }
.btn-link { padding: 0; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; } .btn-link:hover { color: var(--color-art-map-000000); }
.btn-pill { border-radius: var(--radius-full); }
.btn-xs { padding: 6px 11px 6px 13px; gap: 6px; font-size: 13px; } .btn-sm { padding: 8px 16px; } .btn-lg { padding: 14px 20px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled='true'] { background: var(--color-surface-sunk); border-color: var(--color-surface-sunk); color: var(--color-ink-muted); cursor: default; transform: none; filter: none; }
.btn-block { display: flex; width: 100%; }
/* On a phone every button is a 44 px target (a founder's standing rule on responsiveness). */
@media (max-width: 760px) { .btn, .seg button { min-height: 44px; } .btn-link { min-height: 0; } .btn-sm { padding-top: 6px; padding-bottom: 6px; } .btn-phone-lg { display: flex; width: 100%; padding: 14px 20px; font-size: 16px; } }
@media (min-width: 1920px) { .btn-wide-lg { padding: 14px 20px; font-size: 16px; } }
/* ==== end of BUTTON ==== */
/* COPY BUTTON (Components/Navigation, 'Copy button'): a 28 px round mark that copies; default, hover, pressed, focus, copied. */
.copy-mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-ink-muted); cursor: pointer; }
.copy-mark:hover { background: var(--color-surface-sunk); color: var(--color-ink); } .copy-mark:active { background: var(--color-surface-sunk); }
.copy-mark:focus-visible { outline: 2px solid var(--color-ink); outline-offset: -2px; }
/* The one copy icon (partials/copy-icon.html, 16 px viewBox) drawn at 14 px in the small marks. */
:is(.copy-mark, .nav-copy-mark, .foot-join) > svg.ico-copy { width: 14px; height: 14px; flex: none; }
.copy-mark .ico-check, .copy-mark.copied .ico-copy { display: none; } .copy-mark.copied .ico-check { display: block; } .copy-mark.copied { background: var(--color-surface); color: var(--color-ink); }
/* TEXT LINK, inline (the design master 'Text link · inline'): an underlined label and its arrow. */
.text-link { display: inline-flex; align-items: center; gap: 4px; border-radius: var(--radius-3); font: 600 13px/1.25 var(--sans); color: var(--color-ink); text-decoration: none; }
.text-link > span { text-decoration: underline; text-underline-offset: 3px; } .text-link:hover { color: var(--color-art-map-000000); }
.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 1 1 0; }
.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(--spacing-64) var(--gutter) 0; background: var(--color-surface-sunk2); border-top: 1px solid var(--color-rule-verify); color: var(--color-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(--spacing-40); padding-bottom: var(--spacing-40); }
.foot-about { flex: none; width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--spacing-16); }
.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(--color-ink-secondary); line-height: 1.4; }
/* Service state (Components/Chrome): .sv-<state> sets the colours the chip (.svc), the footer status dot and the rows read. */
.sv-operational { --sv-mark: var(--color-result-checked-live); --sv-ink: var(--color-result-checked-ink); --sv-fill: var(--color-result-checked-fill); }
.sv-degraded { --sv-mark: var(--color-strip-incident-mark); --sv-ink: var(--color-strip-incident-ink); --sv-fill: var(--color-strip-incident-fill); }
.sv-outage { --sv-mark: var(--color-status-refuted-mark); --sv-ink: var(--color-status-refuted-ink); --sv-fill: var(--color-status-refuted-row); }
.sv-paused { --sv-mark: var(--color-program-proof-mark); --sv-ink: var(--color-status-in-work-ink); --sv-fill: var(--color-service-paused-fill); }
.sv-maintenance { --sv-mark: var(--color-service-maintenance-mark); --sv-ink: var(--color-service-maintenance-ink); --sv-fill: var(--color-service-maintenance-fill); }
.sv-unknown { --sv-mark: var(--color-ink-faint); --sv-ink: var(--color-ink-muted); --sv-fill: var(--color-surface-sunk); }
/* The footer status dot (Live/Status, Footer status dot; js/status-state.js): the worst state of status.json and its word,
   a link to /status, in the place of the old LIVE pill. No glow, no pulse. Unseen until the first read says a state. */
.foot-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--radius-full); background: var(--sv-fill); color: var(--sv-ink); font: 400 11px/15px var(--mono); text-transform: uppercase; text-decoration: none; }
.foot-status::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sv-mark); }
.foot-status:hover { text-decoration: underline; text-underline-offset: 3px; } .foot-status[data-state='loading'] { visibility: hidden; }
/* Paused (Live/Status, the footer status dot): the live data has stopped; the same calm state as the incident strip. */
.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(--color-ink-meta); }
.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(--color-ink-meta); }
/* Open: a button that copies the line to join, in the footer's own link style. */
.site-footer .foot-agent:has(.foot-join) { color: inherit; } .site-footer a.foot-join { color: inherit; text-decoration: none; }
.foot-join { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; } .foot-join:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The footer's copy (Footer link · copy, Ami 26 Nov): the words and a 14 px copy mark 8 px after; hover underlines the words
   and inks the mark, pressed is the secondary ink, copied is the check, focus a 2 px ink ring. */
button.foot-join { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-4); color: var(--color-ink); }
button.foot-join:hover { text-decoration: none; } button.foot-join:hover .foot-join-text { text-decoration: underline; text-underline-offset: 3px; }
button.foot-join svg { flex: none; color: var(--color-ink-muted); } button.foot-join:hover svg, button.foot-join .ico-check { color: var(--color-ink); }
button.foot-join:active, button.foot-join:active svg { color: var(--color-ink-secondary); } button.foot-join:active .foot-join-text { text-decoration: none; }
button.foot-join:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-ink); }
.foot-join .ico-check, .foot-join.copied .ico-copy { display: none; } .foot-join.copied .ico-check { display: block; }
.foot-join-line { flex-basis: 100%; padding: 8px 10px; border-radius: var(--radius-6); background: var(--color-surface-raised); font: 400 12px/1.4 var(--mono); color: var(--color-ink); overflow-wrap: anywhere; user-select: all; }
.foot-chip { padding: 2px 7px; box-shadow: inset 0 0 0 1px var(--color-ink-ghost); border-radius: var(--radius-full); font: 500 10px/12px var(--sans); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--spacing-16) var(--spacing-40); padding: var(--spacing-24) 0; border-top: 1px solid var(--color-rule-verify); font-size: 13px; line-height: 16px; }
.foot-line { color: var(--color-ink-muted); }
.foot-made { display: flex; align-items: center; gap: 16px; }
/* Who is behind it (both founders' word, 23 Nov): before Made in Brilliant, then a short rule. On a phone a row of its own under the line. */
.foot-line { margin-right: auto; }
.foot-by { color: var(--color-ink-muted); white-space: nowrap; } .site-footer .foot-by a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-rule { flex: none; width: 1px; height: 14px; background: var(--color-rule-verify); }
.foot-bottom { gap: var(--spacing-16) 16px; }
.foot-credit { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.foot-try { padding: 6px 12px; border-radius: var(--radius-6); background: var(--color-ink); color: var(--color-surface); font-weight: 600; } .site-footer a.foot-try:hover { text-decoration: none; background: var(--color-art-map-000000); }
@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(--spacing-40); } .foot-top { padding-bottom: var(--spacing-24); } .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; } .foot-rule { display: none; } .foot-line { margin-right: 0; }
}

/* ---- 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(--spacing-64) var(--gutter); row-gap: var(--spacing-40); }
.hero-main, .hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--spacing-24); }
.hero-side { align-items: stretch; gap: var(--spacing-40); min-height: 0; }
.hero-side .latest { margin-top: auto; } @media (min-width: 1024px) { .hero-side { gap: 28px; } } /* design T1: 28 between the whispers and Latest on the map */
.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(--color-ink-muted); }
.hero-line { max-width: 620px; font: 400 19px/1.5 var(--sans); color: var(--color-ink-secondary); }
.hero-counters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-8) var(--spacing-16); color: var(--color-ink-muted); }
.hero-counters .num { font-size: 18px; color: var(--color-ink); margin-right: 6px; }
.hero-counters .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--color-ink-faint); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--spacing-16); margin-top: var(--spacing-8); }
.hero-cta .live-dot { margin: 0; }
/* The released result on the home (design/approved_1123/breakthrough-strip): a dark strip over the hero, in the place of the Just in line. */
.bt-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px 64px; align-items: center; padding: 32px var(--gutter); background: var(--color-ink); color: var(--color-surface); } .bt-strip[hidden] { display: none; }
.has-breakthrough .just-in { display: none; }
.bt-strip .bt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 13px/1.4 var(--sans); color: var(--c-d8d3c7); } .bt-strip .bt-tag { padding: 3px 10px; border-radius: var(--radius-full); background: var(--color-result-new-ink); font: 700 11px/1.4 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--color-ink); }
.bt-strip h2 { margin-top: 12px; font: 400 clamp(26px, 2.7vw, 38px)/1.15 var(--serif); color: var(--color-surface-warm); overflow-wrap: anywhere; }
.bt-strip .bt-rungs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.bt-strip .bt-rungs li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 30px 10px 0 0; } .bt-strip .bt-rungs li::before { content: ''; position: absolute; left: 20px; right: 0; top: 10px; border-top: 1px dashed var(--c-5e5b54); } .bt-strip .bt-rungs li:last-child::before { display: none; } .bt-strip .bt-rungs li.done::before { border-top: 1px solid var(--c-2f7d5b); }
.bt-strip .bt-rungs i { position: absolute; left: 0; top: 0; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px dashed var(--c-6e6a62); border-radius: 50%; background: var(--color-ink); } .bt-strip .bt-rungs .done i { border: 0; background: var(--c-2f7d5b); } .bt-strip .bt-rungs .next i { border: 2px solid var(--color-map-public); box-shadow: inset 0 0 0 4px var(--color-ink), inset 0 0 0 10px var(--color-map-public); }
.bt-strip .bt-rungs b { font: 600 13px/1.3 var(--sans); color: var(--color-surface-warm); } .bt-strip .bt-rungs .later b { color: var(--c-b9b4a8); } .bt-strip .bt-rungs span { font: 400 11px/1.3 var(--mono); color: var(--c-b9b4a8); }
.bt-strip .bt-acts { display: flex; gap: 10px; margin-top: 20px; } .bt-strip .btn { flex: 1 1 0; } @media (max-width: 900px) { .bt-strip { grid-template-columns: minmax(0, 1fr); padding: 24px var(--gutter); } .bt-strip .bt-rungs { grid-template-columns: minmax(0, 1fr); gap: 16px; } .bt-strip .bt-rungs li { padding: 0 0 0 32px; } .bt-strip .bt-rungs li::before { display: none; } }
/* The eyebrow row (design/papers_1123/home-hero-eyebrow-row, then a founder's ruling): it spans the whole hero, over
   both columns: the pill, and to its right the newest outside agents, standing still, scrolled by hand, fading at
   the right edge. Desktop only: none on a phone. */
.hero > .eyebrow-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; min-width: 0; margin-bottom: 16px; } .eyebrow-row .agents-pill { flex: none; } /* 56 under the row (40 + 16), Ami 27 Nov; 44 on a tablet, 52 on a phone */
.just-joined { flex: 1 1 0; display: flex; margin: 0; min-width: 0; }
.just-joined .chips { flex: 1 1 0; display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 64px 2px 0; cursor: grab; -webkit-mask-image: linear-gradient(to right, var(--color-art-map-000000) calc(100% - 64px), transparent); mask-image: linear-gradient(to right, var(--color-art-map-000000) calc(100% - 64px), transparent); } .just-joined .chips::-webkit-scrollbar { display: none; } .just-joined .chips:active { cursor: grabbing; }
.just-joined .joined { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--color-rule); border-radius: var(--radius-full); background: var(--color-surface-raised); font: 600 13px/1.3 var(--sans); color: var(--color-ink); text-decoration: none; white-space: nowrap; user-select: none; } .just-joined .joined:hover { border-color: var(--color-ink-meta); }
.just-joined .joined .initials { font-size: 9px; } .just-joined .joined .ago { font: 400 11px/1.3 var(--mono); color: var(--color-ink-meta); white-space: nowrap; } .just-joined .joined .ago time { font: inherit; color: inherit; }
@media (max-width: 1023px) { .eyebrow-row { flex-wrap: wrap; row-gap: 12px; } .hero > .eyebrow-row { margin-bottom: 4px; } .eyebrow-row > .just-joined { flex: 1 0 100%; } } /* the ticker under the pill: its chips fade at the edge, never sliced */
@media (max-width: 760px) { .just-joined { display: none; } .hero > .eyebrow-row { display: block; margin-bottom: 12px; } }
/* Share, on the phone home only (a founder: on mobile, nothing on desktop): full width under the two buttons. */
.hero-share, .hero-toast { display: none; }
@media (max-width: 480px) {
  .hero-share { display: flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; padding: 12px 16px; border: 1px solid var(--color-rule-verify); border-radius: var(--radius-6); background: var(--color-surface-raised); font: 600 15px/1.3 var(--sans); color: var(--color-ink); cursor: pointer; }
  .hero-share svg { flex: none; }
  .hero-toast:not([hidden]) { display: block; position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translateX(-50%); padding: 10px 16px; border-radius: var(--radius-6); background: var(--color-ink); font: 600 14px/1.3 var(--sans); color: var(--color-surface-raised); white-space: nowrap; }
}
@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; } 
}
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink-faint); margin-right: 10px; vertical-align: 1px; }
.live-dot.on, .live-dot.small { background: var(--color-result-checked-live); }
.live-dot.small { width: 6px; height: 6px; margin-right: 8px; }
.live-dot.small.off { background: var(--color-ink-faint); }
/* 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, .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; }
.latest { display: flex; flex-direction: column; gap: 10px; } .latest[hidden] { display: none; }
.latest-head { display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-16); }
.latest-label { font: 600 13px/1.23 var(--sans); color: var(--color-ink); }
.latest-open, .whispers-open { font: 600 13px/1.25 var(--sans); color: var(--color-ink); }
.latest-map { height: 150px; border-radius: var(--radius-8); overflow: hidden; background: var(--color-map-bg-to); }
.latest-map canvas { display: block; width: 100%; height: 100%; }
.latest-cap { margin: 0; font: 400 12px/1.33 var(--mono); }
.latest-cap a { color: var(--color-ink-meta); text-decoration: none; transition: opacity 0.15s; } .latest-cap a:hover { color: var(--color-ink); text-decoration: underline; }
/* js/mappreview.js */
.mp-host, .mp { position: relative; } .mp { cursor: pointer; outline: none; } .latest-map.mp:focus-visible { box-shadow: inset 0 0 0 2px var(--color-status-blocked-ring); }
.mp-dim .rd-pt:not(.mp-hot) { opacity: 0.6; }
.mp-ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-map-ink); pointer-events: none; }
.mp-card { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 4px; max-width: 220px; padding: 8px 10px; border-radius: var(--radius-8); background: var(--color-rd-panel); box-shadow: 0 0 0 0.5px var(--a-255-255-255-016); color: var(--color-map-ink); pointer-events: none; }
.mp-ring[hidden], .mp-card[hidden], .mp-off .mp-zoom { display: none; }
.mp-card b { font: 500 11px/1.3 var(--mono); color: var(--color-rd-newest); }
.mp-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 400 12px/1.35 var(--sans); }
.mp-card small { font: 400 11px/1.3 var(--mono); color: var(--color-status-conjecture-node); }
.mp-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; overflow: hidden; border-radius: var(--radius-8); background: var(--color-rd-panel); box-shadow: 0 0 0 0.5px var(--a-255-255-255-016); cursor: default; }
.mp-zoom i { width: 1px; height: 16px; background: var(--a-255-255-255-012); }
.mp-z { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--color-map-ink); cursor: pointer; }
.mp-z:hover:not(:disabled) { background: var(--a-255-255-255-008); } .mp-z:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--color-status-blocked-ring); }
.mp-z:disabled { cursor: default; } .mp-z:disabled svg { opacity: 0.35; }
@media (max-width: 760px) { .mp-z { width: 32px; height: 32px; } }

/* ---- Home: the map ---- */
.map { position: relative; height: clamp(620px, 62.5vw, 900px); overflow: hidden; color: var(--color-status-blocked-ring); background: radial-gradient(75% 75% at 40% 50%, var(--color-map-bg-from) 0%, var(--color-map-bg-to) 100%); }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-head { position: absolute; left: var(--gutter); top: var(--spacing-64); 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: var(--radius-full); background: var(--a-255-255-255-006); border: 1px solid var(--a-255-255-255-012); font: 500 13px/1.23 var(--sans); color: var(--color-status-blocked-ring); }
.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: var(--radius-6); background: var(--a-6-7-10-055); 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: var(--color-status-blocked-ring); }
.map-program .sub { font: 400 10px/1.3 var(--mono); color: var(--color-status-conjecture-ring); white-space: nowrap; }
.map-program.empty { background: none; cursor: default; }
.map-program.empty .name { color: var(--color-status-conjecture-ring); }
.map-program.empty .sub { font: italic 400 10px/1.2 var(--sans); color: var(--color-map-region); }
.map-program:not(.empty):hover .name { color: var(--color-accent-light); }
.map-card { position: absolute; padding: 10px 12px; border-radius: var(--radius-6); background: var(--a-6-7-10-085); pointer-events: none; display: flex; flex-direction: column; gap: 5px; }
.map-card .id { font: 500 12px/1.3 var(--mono); color: var(--color-status-blocked-ring); white-space: nowrap; }
.map-card .id .dot { color: var(--color-status-conjecture-ring); }
.map-card .id.is-conjecture, .map-card .id.is-in_work { font-style: italic; color: var(--color-status-conjecture-node); }
.map-card .id.is-refuted { color: var(--color-status-refuted-ring); }
.map-card .id.is-blocked { color: var(--color-status-conjecture-node); }
.map-card .id.is-ignite { color: var(--color-accent-light); font-style: normal; }
.map-card .title { font-size: 12px; line-height: 1.35; color: var(--color-status-blocked-ring); }
.map-card .meta { font: italic 400 10px/1.3 var(--sans); color: var(--color-status-conjecture-node); }
.map-legend { position: absolute; left: var(--gutter); bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 9px 14px; border-radius: var(--radius-8); background: var(--a-255-255-255-004); border: 1px solid var(--a-255-255-255-008); font-size: 11px; line-height: 1.2; color: var(--color-ink-ghost); max-width: calc(100% - 2 * var(--gutter)); }
.map-legend li { display: flex; align-items: center; gap: 7px; }
.map-legend .it { color: var(--color-status-conjecture-node); }
.lg { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lg-checked { background: var(--color-result-checked-glow); box-shadow: 0 0 6px var(--a-243-233-210-06); }
.lg-conjecture { border: 1px dashed var(--color-status-conjecture-node); }
.lg-agent { width: 12px; height: 2px; border-radius: 0; background: linear-gradient(90deg, transparent, var(--color-map-agent-glow)); }
.lg-refuted { border: 1.5px solid var(--color-status-refuted-mark); }
.lg-public { background: var(--color-result-checked-glow); box-shadow: 0 0 0 2px var(--color-map-public); }
.map-card .public { font: 600 11px/1.3 var(--sans); letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-map-public); }
.lg-dead { border: 1.5px solid var(--color-status-conjecture-ring); background: linear-gradient(var(--color-status-conjecture-ring), var(--color-status-conjecture-ring)) center / 5px 1.5px no-repeat; }
.map-credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: 10px; font-style: italic; color: var(--color-map-credit); }

/* ---- Home: numbers strip ---- */
.numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--spacing-16) var(--spacing-40); padding: var(--spacing-24) var(--gutter); background: var(--color-surface-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(--color-ink-muted); }
.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(--color-ink-secondary); }

/* ---- 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(--spacing-24); font-size: 14px; color: var(--color-ink-muted); }
.record .events { margin-top: var(--spacing-24); border-top: 1px solid var(--color-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(--color-rule); }
.event .when { font: 400 13px/1.9 var(--mono); color: var(--color-ink-meta); 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(--color-ink-muted); 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(--color-ink-muted); 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(--color-ink-muted); }

/* ---- Sponsors: the home section, the page, the today strip ---- */
.sponsors { padding: var(--section) var(--gutter); background: var(--color-surface-raised); border-top: 1px solid var(--color-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(--spacing-24); padding-bottom: var(--spacing-24); border-bottom: 1px solid var(--color-ink); }
.seg { display: inline-flex; padding: 3px; border-radius: var(--radius-6); background: var(--color-surface-sunk2); }
.seg button { padding: 6px 12px; border-radius: var(--radius-4); font: 600 12px/1.25 var(--sans); color: var(--color-ink-muted); }
.seg button[aria-pressed='true'] { background: var(--color-ink); color: var(--color-surface); }
.seg.big { background: var(--color-surface-sunk); padding: 4px; }
.seg.light { background: var(--color-surface-sunk); border-radius: var(--radius-8); } .seg.light button { padding: 5px 12px; font-weight: 500; } .seg.light button[aria-pressed='true'] { background: var(--color-surface-raised); color: var(--color-ink); font-weight: 600; box-shadow: 0 1px 3px var(--a-27-26-23-01); }
.seg.big button { padding: 9px 16px; font-size: 14px; font-weight: 500; }
.split { display: flex; gap: var(--spacing-64); align-items: flex-start; }
.split-main { flex: 3 1 0; min-width: 0; }
.become { flex: 2 1 0; margin-top: var(--spacing-40); padding: var(--spacing-24); border-radius: var(--radius-10); background: var(--color-surface); 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(--color-ink-secondary); }
.become .mail { font: 400 12px/1.33 var(--mono); color: var(--color-ink-meta); text-align: center; }
.become.raised { background: var(--color-surface-raised); border: 1px solid var(--color-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(--color-rule); }
.compact .sponsor { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 76px 100px; padding: 16px 0; }
/* Choosing an amount: the chips and the field of the payment form (home and sponsors page) and of the pledge form. */
.amount-form .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; min-width: 0; }
.amount-form .chips label { flex: 1 1 64px; position: relative; cursor: pointer; }
.amount-form .chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount-form .chips span { display: block; padding: 10px 14px; border: 1px solid var(--color-rule-verify); border-radius: var(--radius-full); background: var(--color-surface-raised); font: 600 14px/1.25 var(--sans); font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; color: var(--color-ink-secondary); }
.amount-form .chips label:hover span { border-color: var(--color-ink-muted); }
.amount-form .chips input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); }
.amount-form .chips input:focus-visible + span { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.amount-form .field { display: flex; flex-direction: column; gap: 6px; font: 600 13px/1.3 var(--sans); color: var(--color-ink); }
.amount-form .field small { font: 400 12px/1.3 var(--sans); color: var(--color-ink-meta); margin-left: 4px; }
/* 16 px and no less: a smaller input makes a phone zoom the page when it is touched. */
.amount-form .field input { width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-6); background: var(--color-surface-raised); color: var(--color-ink); font: 400 16px/1.3 var(--sans); appearance: none; -webkit-appearance: none; }
.amount-form .field input[type='number'] { font-family: var(--mono); -moz-appearance: textfield; }
.amount-form .field input::placeholder { color: var(--color-ink-faint); }
.amount-form .field input:focus { outline: 2px solid var(--color-ink); outline-offset: 1px; border-color: var(--color-ink); }
.amount-form .field input[aria-invalid='true'] { border-color: var(--color-ink); box-shadow: inset 3px 0 0 var(--color-ink); }
.pay-form { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .pay-form .field-say, .pay-form .claim-say { font-size: 13px; line-height: 1.4; color: var(--color-ink); font-weight: 500; }
.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(--color-ink-muted); }
.sponsor .note { font-size: 15px; font-style: italic; color: var(--color-ink-meta); overflow-wrap: anywhere; }
.compact .sponsor .note { font-size: 12px; }
.sponsor .note.none::before { content: ''; display: block; width: 14px; border-top: 1px solid var(--color-ink-ghost); }
.sponsor .when { font: 400 13px/1.33 var(--mono); color: var(--color-ink-meta); 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(--color-ink-meta); font-size: 12px; }
.today { display: flex; align-items: center; gap: var(--spacing-24); padding: var(--spacing-16) var(--gutter); background: var(--color-surface-sunk2); border-top: 1px solid var(--color-rule); font-size: 14px; color: var(--color-ink-secondary); }
.today .kicker { flex: none; }
.today p { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, var(--color-art-map-000000) 32px, var(--color-art-map-000000) calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, var(--color-art-map-000000) 32px, var(--color-art-map-000000) calc(100% - 32px), transparent); }
.today .track { display: inline-flex; animation: today-pass var(--dur, 30s) linear infinite; will-change: transform; } .today .set { display: inline-flex; flex: none; }
.today p:hover .track, .today p:focus-within .track, .today p.held .track { animation-play-state: paused; }
@keyframes today-pass { to { transform: translateX(-50%); } }
.today .today-item { flex: none; padding: 0 22px 0 0; color: inherit; text-decoration: none; } .today .today-item::after { content: '·'; margin-left: 22px; color: var(--color-ink-faint); } .today .today-item:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.today .amt { margin-left: 8px; }
.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(--color-ink-secondary); 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(--color-ink); }
.order { display: flex; align-items: center; gap: 16px; }
.sp-summary { font: 400 13px/1.33 var(--mono); color: var(--color-ink-meta); white-space: pre-wrap; }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 14px; color: var(--color-ink-meta); }
.pager div { display: flex; gap: 20px; }
.pager button { font-weight: 600; color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.pager button:disabled { color: var(--color-ink-faint); 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(--color-ink-meta); font-style: italic; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--color-ink-secondary); }
.crumbs a { text-underline-offset: 3px; }
.crumbs .slash { color: var(--color-ink-faint); }
.crumbs .here { font: 400 13px/1.3 var(--mono); color: var(--color-ink); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 30px; font-size: 14px; color: var(--color-ink-secondary); }
.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(--color-rule-strong); border-radius: var(--radius-full); font: 500 12px/1.25 var(--sans); color: var(--color-ink-muted); white-space: nowrap; vertical-align: middle; }
.kind-open { border-color: var(--c-e7c873); color: var(--color-avatar-1-ink); }
.status-line .kind { margin-right: 16px; } /* What an orchestrator is doing now: a breathing dot, then the words. */
.doing { display: inline-flex; align-items: center; gap: 6px; min-width: 0; } .doing .live-dot { flex: none; margin: 0; } .doing.is-idle { color: var(--color-ink-meta); } .doing a { color: inherit; text-underline-offset: 3px; }
/* A row's chips stack on one left edge, 6 px apart, inside their column: never into the text (a founder saw one run over it). */
.event .state { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; } .event .state .kind { margin-left: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.page-program .rebuilds { margin-top: 8px; color: var(--color-ink-muted); }
.lemma-title { margin-top: 26px; max-width: 17em; text-wrap: balance; }
.lemma-title.open { font-style: italic; color: var(--color-ink-secondary); }
.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(--color-ink-secondary); }
.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: var(--radius-8); background: var(--color-ink); color: var(--color-status-blocked-ring); font: 400 14px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.lean.open { background: none; color: var(--color-ink-secondary); border: 1px dashed var(--color-ink-meta); 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(--color-result-checked-ink); border-radius: var(--radius-8); }
.checker.is-refuted { border-color: var(--color-status-refuted-ink); }
.checker > .icon { color: var(--color-result-checked-ink); }
.checker.is-refuted > .icon { color: var(--color-status-refuted-ink); }
.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(--color-ink-muted); margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.verify-note { margin-top: 12px; font-size: 12px; color: var(--color-ink-meta); max-width: 52em; }
/* A correction to a lemma's title or sentence, above the sentence it corrects. */
.corrections { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.corrections li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 16px; border: 1px solid var(--c-e7c873); border-radius: var(--radius-8); background: var(--c-fbf4df); font: 400 14px/1.5 var(--sans); color: var(--color-ink); }
.title-correction { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 60em; margin-top: 14px; font: 400 15px/1.5 var(--sans); color: var(--color-ink-secondary); } .title-correction .label { font: 600 11px/2 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-avatar-1-ink); } .title-correction span + span { flex: 1 1 24em; }
.stale-note { margin: 0 0 8px; font: 600 13px/1.4 var(--sans); color: var(--color-result-checked-ink); } .statement .plain-text.stale { border-left: 1px dashed var(--color-ink-meta); background: none; font-size: 16px; color: var(--color-ink-muted); }
.corrections .kicker { color: var(--color-avatar-1-ink); } .corrections .note { flex: 1 1 24em; } .corrections .when { font: 400 12px/1.5 var(--mono); color: var(--color-ink-meta); }
/* The credit of an outside contributor, under the statement (design/credit_socials_1123). */
.credit { position: relative; margin-top: 20px; padding: 16px 18px; border: 1px solid var(--color-rule); border-radius: var(--radius-12); background: var(--color-surface-raised); }
.credit .head { display: flex; align-items: center; gap: 14px; }
.credit .avatar { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--color-avatar-1-bg); }
.credit .avatar .initials { font: 600 15px/1 var(--sans); color: var(--color-avatar-1-ink); } .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(--color-ink); } .credit .by a { color: inherit; text-decoration: none; white-space: nowrap; }
.credit .how { margin-top: 2px; font: 400 12px/1.5 var(--sans); color: var(--color-ink-muted); } .credit .how time { font: inherit; color: inherit; }
.credit .socs { margin-top: 12px; display: grid; gap: 6px; }
.credit .soc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .credit .soc .icon { display: inline-flex; color: var(--color-ink); }
.credit .soc a { font: 600 13px/1.4 var(--sans); color: var(--color-ink); text-underline-offset: 3px; } .credit .given { font: 400 11px/1.4 var(--sans); color: var(--color-ink-meta); }
.credit .given-all { display: none; font: 400 11px/1.4 var(--sans); color: var(--color-ink-meta); }
.credit .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-rule); }
.credit .pr { font: 600 13px/1.4 var(--sans); color: var(--color-ink); text-underline-offset: 3px; }
.credit .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--color-rule-verify); border-radius: var(--radius-full); background: var(--color-surface-raised); font: 600 13px/1.4 var(--sans); color: var(--color-ink); cursor: pointer; }
.credit .share-btn .icon, .credit .target .icon { display: inline-flex; }
.credit .share-btn[aria-expanded='true'] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface-raised); }
.credit .share-menu { position: absolute; left: -1px; right: -1px; top: calc(100% + 10px); z-index: 6; padding: 16px; border: 1px solid var(--color-rule); border-radius: var(--radius-12); background: var(--color-surface-raised); box-shadow: 0 8px 24px var(--a-27-26-23-01); }
.credit .share-menu[hidden] { display: none; }
.credit .ready { padding: 10px 14px; border-radius: var(--radius-8); background: var(--color-art-site-f1eee8); font: 400 13px/1.5 var(--sans); color: var(--color-ink); overflow-wrap: anywhere; }
.credit .targets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.credit .target { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--color-rule-verify); border-radius: var(--radius-8); background: var(--color-surface-raised); font: 600 13px/1.4 var(--sans); color: var(--color-ink); text-decoration: none; cursor: pointer; }
.credit .target:hover, .credit .share-btn:hover { border-color: var(--color-ink-muted); }
@media (max-width: 760px) {
  .credit .head { display: grid; grid-template-columns: auto minmax(0, 1fr); } .credit .head > div { display: contents; }
  .credit .how { grid-column: 1 / -1; margin-top: 10px; font-size: 14px; }
  .credit .given { display: none; } .credit .given-all { display: block; }
  .credit .soc a { font-size: 15px; }
  .credit .foot { flex-direction: column-reverse; align-items: stretch; border-top: 0; padding-top: 0; }
  .credit .share-btn { justify-content: center; padding: 11px 14px; border-color: var(--color-ink); border-radius: var(--radius-10); font-size: 15px; }
  .credit .pr { font-size: 14px; }
  .credit .share-menu { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 30; border-radius: 16px 16px 0 0; padding: 18px 16px 24px; box-shadow: 0 -10px 40px var(--a-0-0-0-025); }
  .page-hub .credit .share-menu { bottom: 64px; }
}
.event .outside a { color: inherit; text-underline-offset: 3px; }
/* A contributor's own links, and the links to share a step: small, plain. */
.social { margin-left: 8px; padding: 1px 7px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-full); font: 500 11px/1.5 var(--sans); color: var(--color-ink-muted); text-decoration: none; white-space: nowrap; }
.social:hover { border-color: var(--color-ink-muted); color: var(--color-ink); }
/* Sponsor placements (design/sponsor_placements_1123). A: one centred line under the home hero. B: a white card above the footer. */
.backed-by { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 16px 28px; margin: 0; padding: 18px var(--gutter); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); background: var(--color-surface); }
.backed-by[hidden], .sponsor-band[hidden] { display: none; } .backed-by[data-backed-by] { margin-bottom: var(--spacing-40); }
.backed-by .label { font: 600 11px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-meta); white-space: nowrap; }
.backed-by .marks { display: flex; flex-wrap: nowrap; align-items: center; gap: 40px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, var(--color-ink) calc(100% - 48px), transparent); mask-image: linear-gradient(to right, var(--color-ink) calc(100% - 48px), transparent); } .backed-by .marks::-webkit-scrollbar { display: none; } .backed-by .marks.moving { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, var(--color-ink) 32px, var(--color-ink) calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, var(--color-ink) 32px, var(--color-ink) calc(100% - 32px), transparent); } .backed-by .marks .track { display: inline-flex; flex: none; animation: today-pass var(--dur, 30s) linear infinite; will-change: transform; } .backed-by .marks .set { display: inline-flex; align-items: center; flex: none; gap: 40px; padding-right: 40px; } .backed-by .marks:hover .track, .backed-by .marks:focus-within .track, .backed-by .marks.held .track { animation-play-state: paused; } .backed-by .marks > * { flex: none; }
.backed-by .slot.your { flex: none; height: 32px; padding: 0 12px; border: 1px dashed var(--color-ink-faint); border-radius: 6px; background: transparent; font: 600 13px/1 var(--sans); color: var(--color-ink); white-space: nowrap; cursor: pointer; }
/* Design A (Ami 24 Nov, "A approved"): one row, kicker, logos that scroll with a fade, a slim slot; on a phone the kicker and an underlined link on one line, the logos below. */
@media (max-width: 760px) { .backed-by { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; } .backed-by .label { grid-column: 1; } .backed-by .slot.your { grid-column: 2; grid-row: 1; height: auto; padding: 0; border: 0; text-decoration: underline; text-underline-offset: 3px; } .backed-by .slot.your .plus { display: none; } .backed-by .marks { grid-column: 1 / -1; } } .backed-by .wordmark { font: 600 16px/22px var(--sans); color: var(--color-ink-muted); white-space: nowrap; }
/* The way to become one (design/logo_tier_1123): a dashed slot that says so, two fainter empty ones, one line, a button. */
.slot { flex: none; display: inline-flex; align-items: center; height: 30px; min-width: 96px; box-sizing: border-box; padding: 0 12px; border: 1px dashed var(--color-rule-verify); border-radius: var(--radius-4); background: none; font: 600 13px/1 var(--sans); white-space: nowrap; } .slot.your { border-color: var(--color-accent-ink); color: var(--color-avatar-1-ink); } button.slot { cursor: pointer; } a.slot { text-decoration: none; } a.slot:hover { background: var(--c-fbf3dc); } button.slot:hover { background: var(--c-fbf3dc); } i.slot { opacity: 0.6; } .slot[hidden] { display: none; }
/* Under the hero the band stands on the page's own edges: the kicker under the question, the button's right edge on the right column's; the first slot is as quiet as the empty ones (a founder's fixes). */
.backed-by .slot.your { border-color: var(--color-ink-faint); color: var(--color-ink-secondary); } .backed-by .slot.your .plus { margin-right: 6px; color: var(--color-ink-muted); } .backed-by button.slot.your:hover { background: var(--color-surface-sunk2); }
.backed-by .slots { display: flex; align-items: center; gap: 12px; } .backed-by .pitch { flex: 1 1 0; min-width: 0; font: 400 14px/1.4 var(--sans); color: var(--color-ink-muted); } .backed-by .backer { flex: none; } .backed-by a.mark, .logo-band a.mark { display: inline-flex; text-decoration: none; }
.backed-by [data-logo-cta][hidden], .logo-line[hidden], .logo-band[hidden] { display: none; }
/* Ami 25 Nov (Live/Home 768 and 390, ui-lab): below the desk width the home Sponsors section's Backed by row is the
   /sponsors preview box with no Your logo slot, and 'Become a logo sponsor' sits under it as a text link. At 768 the
   label and the marks share one line; at 390 the label is centred on top. */
.become-logo-line { display: none; }
@media (max-width: 1100px) {
  section.sponsors > .logo-line.backed-by { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 8px 24px; margin: var(--spacing-16) 0 0; padding: 10px 16px; border: 1px solid var(--color-rule); border-radius: 0; background: var(--color-surface); }
  section.sponsors > .logo-line.backed-by[hidden], section.sponsors > .become-logo-line[hidden] { display: none; }
  section.sponsors > .logo-line.backed-by .label { flex: none; }
  section.sponsors > .logo-line.backed-by .marks { flex: 1 1 0; }
  section.sponsors > .logo-line.backed-by img { height: 18px; }
  section.sponsors > .logo-line.backed-by .slot.your { display: none; }
  section.sponsors > .become-logo-line { display: block; margin: 10px 0 var(--spacing-16); }
  .become-logo { padding: 0; border: 0; background: none; font: 600 13px/1.3 var(--sans); color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
}
@media (max-width: 760px) {
  section.sponsors > .logo-line.backed-by { flex-wrap: wrap; justify-content: center; padding: 10px 12px; }
  section.sponsors > .logo-line.backed-by .label { flex: 1 1 100%; text-align: center; }
}
@media (min-width: 1100px) { .backed-by { flex-wrap: nowrap; gap: 12px 20px; } .backed-by i.slot { min-width: 72px; } }
.logo-line { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 20px; margin: var(--spacing-40) 0; padding: 14px 20px; border: 1px solid var(--color-rule); border-radius: var(--radius-4); background: var(--color-surface-raised); } .logo-line .label, .logo-band .label { font: 600 11px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-meta); } .logo-line .pitch { flex: 1 1 280px; font: 400 14px/1.4 var(--sans); color: var(--color-ink-muted); } .logo-line .link { cursor: pointer; }
.logo-band { margin-top: var(--spacing-40); padding: 24px 28px; border: 1px solid var(--color-rule); border-radius: var(--radius-4); background: var(--color-surface-raised); } .logo-band .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; } .logo-band .kicker { color: var(--color-avatar-1-ink); } .logo-band h2 { margin-top: 6px; max-width: 22em; font: 400 24px/1.25 var(--serif); } .logo-band .fine { margin-top: 8px; font: 400 14px/1.4 var(--sans); color: var(--color-ink-meta); } .logo-band .preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 20px; padding: 14px 20px; border: 1px solid var(--color-rule); background: var(--color-surface); } .logo-band .marks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; } .logo-band .wordmark { font: 600 16px/22px var(--sans); color: var(--color-ink-muted); } .logo-band img { height: 22px; width: auto; filter: grayscale(1); opacity: 0.75; } .logo-band .note { margin-top: 10px; font: italic 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
@media (max-width: 760px) { .logo-line .pitch { flex-basis: 100%; } .logo-band { padding: 20px; } }
/* Every sponsor logo is black and white, everywhere it is drawn (Ami 24 Nov: the only option). */
.sponsor-logo { filter: grayscale(1); }
.backed-by img { height: 28px; width: auto; filter: grayscale(1); opacity: 0.75; } .backed-by a { font: 600 13px/1.3 var(--sans); color: var(--color-ink); text-underline-offset: 3px; white-space: nowrap; }
.sponsor-band { padding: var(--spacing-40) var(--gutter) var(--spacing-64); }
.sponsor-band .card { padding: 24px 28px; border: 1px solid var(--color-rule); border-radius: var(--radius-16); background: var(--color-surface-raised); }
.sponsor-band .head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.sponsor-band h2 { font: 400 22px/1.2 var(--serif); } .sponsor-band .head a { font: 600 14px/1.3 var(--sans); color: var(--color-ink); text-underline-offset: 3px; }
.sponsor-band .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 18px; } .sponsor-band .wordmark { font: 600 17px/20px var(--sans); color: var(--color-ink-secondary); }
.sponsor-band img { height: 20px; width: auto; filter: grayscale(1); } .sponsor-band .fine { margin-top: 14px; font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
.sponsor-band.none .logos, .sponsor-band.none h2 { display: none; } .sponsor-band.none .fine { margin-top: 8px; }
@media (max-width: 760px) { .backed-by { gap: 10px 20px; } .backed-by .marks { gap: 24px; } .sponsor-band { padding: var(--spacing-24) var(--gutter) var(--spacing-40); } .sponsor-band .card { padding: 20px; } }
/* The card floats with the same air above and below: the fleet viewer's hairline runs under it, clear of the card. */
.avatar { position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--color-avatar-1-bg); }
.avatar .initials { font: 600 13px/1 var(--sans); color: var(--color-avatar-1-ink); }
/* The avatar's tones (color.avatar.2 to .6: neutral identity colours, never a status) and a size taken from its place. */
.avatar.tone-2 { background: var(--color-avatar-2-bg); } .avatar.tone-2 .initials { color: var(--color-avatar-2-ink); } .avatar.tone-3 { background: var(--color-avatar-3-bg); } .avatar.tone-3 .initials { color: var(--color-avatar-3-ink); }
.avatar.tone-4 { background: var(--color-avatar-4-bg); } .avatar.tone-4 .initials { color: var(--color-avatar-4-ink); } .avatar.tone-5 { background: var(--color-avatar-5-bg); } .avatar.tone-5 .initials { color: var(--color-avatar-5-ink); }
.avatar.tone-6 { background: var(--color-avatar-6-bg); } .avatar.tone-6 .initials { color: var(--color-avatar-6-ink); } .avatar.fill-box { width: 100% !important; height: 100% !important; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The public leaderboard on the home (design/leaderboard_1123). */
.leaderboard { padding: var(--spacing-64) var(--gutter); } .leaderboard[hidden] { display: none; }
.lb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; } .lb-head h2 { font: 400 clamp(30px, 3vw, 42px)/1.1 var(--serif); } .lb-say { margin-top: 10px; font: 400 16px/1.45 var(--sans); color: var(--color-ink-muted); } .lb-all { font: 600 14px/1.3 var(--sans); color: var(--color-ink); text-underline-offset: 3px; white-space: nowrap; }
/* The small segmented toggle (Components/Navigation, size sm). */
.leaderboard .seg button, .ct-by button { padding: 7px 14px; font-size: 13px; cursor: pointer; }
.lb-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: var(--spacing-32); } .lb-toggles { display: flex; flex-wrap: wrap; gap: 12px; } .lb-legend { font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
.lb-rows { display: flex; flex-direction: column; gap: 6px; margin: var(--spacing-32) 0 0; padding: 0; list-style: none; }
.lb-row { position: relative; display: grid; grid-template-columns: 24px 32px minmax(0, 1fr) 28px 110px auto; align-items: center; gap: 16px; min-height: 60px; box-sizing: border-box; padding: 10px 20px; border: 1px solid var(--color-rule); border-radius: var(--radius-4); background: var(--color-surface-raised); }
/* What the site names (ui.js thing): a link to its page, underlined under the pointer. In a row that opens whole, the
   picture is part of the row's link and a name inside it is a link of its own, over the row's. */
a.thing { text-decoration: none; } a.thing:hover { text-decoration: underline; }
.lb-row > .avatar { pointer-events: none; } .lb-row a.thing { position: relative; z-index: 1; }
.lb-row:hover { border-color: var(--color-ink-faint); } .lb-link { position: absolute; inset: 0; border-radius: inherit; } .lb-link:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.lb-row .rank { font: 400 13px/1 var(--mono); color: var(--color-ink-meta); } .lb-row .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lb-row .handle { font: 600 15px/1.3 var(--sans); color: var(--color-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .sub { font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); } .lb-row .sub time { font: inherit; color: inherit; } .lb-row .n { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; } .lb-row .n b { font: 400 24px/1 var(--serif); color: var(--color-ink); } .lb-row .n span { font: 400 12px/1.3 var(--sans); color: var(--color-ink-meta); }
/* A gain (js/board-motion.js; Explorations/Points gain, G2): tabular figures so a count never jumps, and the '+N' over the
   number's right edge, mono 11 medium in the public ink. */
.lb-row .n { position: relative; } .lb-row .n b { font-variant-numeric: tabular-nums; }
.lb-gain { position: absolute; top: -10px; font: 500 11px/15px var(--mono); color: var(--color-public-ink); white-space: nowrap; pointer-events: none; }
.lb-row.just { border-color: var(--color-public-ink); background: var(--public-bg); box-shadow: 0 0 0 1px var(--color-public-ink); animation: lb-just 2s ease-out 1; } .lb-row.just .rank, .lb-row.just .sub, .lb-row.just .n b { color: var(--color-public-ink); } .lb-row.just .sub { font-family: var(--mono); } .lb-row.just .sub .mono { font: inherit; color: inherit; }
@keyframes lb-just { 0% { box-shadow: 0 0 0 6px var(--public-bg), 0 0 0 1px var(--color-public-ink); } 100% { box-shadow: 0 0 0 1px var(--color-public-ink); } }
.lb-row.yours { border-style: dashed; border-color: var(--color-ink-faint); background: none; } .lb-row.yours:hover { border-color: var(--color-ink-faint); } .lb-row .ring { width: 32px; height: 32px; box-sizing: border-box; border: 1px dashed var(--color-ink-faint); border-radius: 50%; }
/* Rank change (Components/Rows): a grey arrow and the places moved, a faint dash for none, right against the bars. */
.lb-row .move { display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; font: 400 12px/1.33 var(--mono); color: var(--color-ink-meta); white-space: nowrap; } .lb-row .move.same { color: var(--color-ink-faint); }
.lb-spark { display: block; width: 100%; height: 28px; fill: var(--color-public-ink); } .lb-spark .idle { opacity: 0.18; }
.lb-none { padding: 18px 20px; border: 1px solid var(--color-rule); border-radius: var(--radius-4); font: italic 400 14px/1.4 var(--sans); color: var(--color-ink-muted); }
/* JOIN CTA (the design master, the leaderboard's): the pill's join half as a box: the agent badges, the words, a copy mark. */
.join-cta { display: inline-flex; align-items: center; gap: 10px; padding: 4px 6px 4px 12px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-8); background: var(--color-surface-raised); box-shadow: 0 1px 2px var(--a-26-22-48-004); font: 600 13px/1.3 var(--sans); color: var(--color-ink); cursor: pointer; } .join-cta:disabled { color: var(--color-ink-meta); cursor: default; }
/* The join popup (contributors.js joinPopup), over the layout. */
.join-reveal { position: absolute; left: 0; top: calc(100% + 10px); z-index: 5; width: 440px; max-width: calc(100vw - 2 * var(--gutter)); display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--color-rule); border-radius: var(--radius-12); background: var(--color-surface-raised); box-shadow: 0 8px 24px var(--a-26-22-48-01); white-space: normal; text-align: left; }
.join-reveal[hidden] { display: none; }
.join-reveal .head { display: flex; align-items: center; gap: 8px; font: 400 13px/1.25 var(--sans); color: var(--color-ink-muted); } .copied > .join-reveal .head { font-weight: 600; color: var(--color-ink); } .copied > .join-reveal .head svg { color: var(--c-00c950); }
.join-reveal p { margin: 0; } .join-reveal .foot { font: 400 12px/1.4 var(--sans); color: var(--color-ink-muted); }
.join-reveal .line { padding: 10px 12px; border-radius: var(--radius-8); background: var(--color-surface-sunk); font: 400 13px/1.5 var(--mono); color: var(--color-ink); overflow-wrap: anywhere; user-select: all; cursor: pointer; }
.lb-row > .join-reveal { left: auto; right: 20px; top: calc(100% - 4px); } .none-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.join-cta .label { white-space: nowrap; } .join-cta .badges { flex: none; height: 28px; width: auto; } .join-cta .copy { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--color-surface-sunk); } .join-cta:disabled .copy { display: none; } .join-cta:not(:disabled):hover .copy { background: var(--color-rule); }
.join-cta .ico-check, .copied > .join-cta .ico-copy { display: none; } .copied > .join-cta .ico-check { display: block; } .copied > .join-cta .copy { background: var(--c-00c950); color: var(--color-surface-raised); }
@media (max-width: 760px) {
  .leaderboard { display: grid; padding: var(--spacing-40) var(--gutter); } .lb-head { display: contents; } .lb-controls { display: grid; justify-items: start; } .lb-toggles { gap: 8px; } .lb-all { order: 1; justify-self: start; margin-top: var(--spacing-48); } /* a phone ends the board with See all (Live/Home 390) */ .lb-row { grid-template-columns: 16px minmax(0, 1fr) 22px 56px auto; gap: 12px; padding: 10px 14px; } .lb-row > .avatar { display: none; } /* a phone row has no picture (Live/Home 390) */ .lb-row .n span { display: none; }
  .join-reveal { width: calc(100vw - 2 * var(--gutter)); } .lb-row > .join-reveal { right: 0; } .lb-row.yours { grid-template-columns: 16px 32px minmax(0, 1fr) 22px 56px; } .lb-row.yours .join-cta { grid-column: 1 / -1; justify-content: space-between; gap: 8px; padding-left: 8px; } .lb-row.yours .join-cta .badges { height: 22px; } .lb-row.just .sub { font-size: 11px; } .lb-row.just .sub .mono { display: none; } /* a phone says "just proved" and when */
}
.soc-icon { flex: none; display: inline-flex; color: var(--color-ink-muted); } .soc-icon:hover { color: var(--color-ink); } .soc-icon .icon { display: inline-flex; }
.verdict { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-8); font-size: 15px; }
.verdict .kicker { margin-bottom: 8px; }
.verdict.refuted { background: var(--color-status-refuted-fill); color: var(--c-5c1d12); }
.verdict.refuted .kicker { color: var(--color-status-refuted-ink); }
.verdict.dead { background: var(--color-ink); color: var(--color-footer-link); }
.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: var(--radius-10); background: radial-gradient(70% 70% at 50% 50%, var(--color-map-graph-from) 0%, var(--color-map-bg) 100%); color: var(--color-status-blocked-ring); 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: var(--color-status-conjecture-node); white-space: pre; }
.graph-svg { display: block; width: 100%; height: auto; }
.graph-svg text { font: 400 13px var(--mono); fill: var(--color-status-blocked-ring); }
.graph-svg .edge { stroke: var(--color-status-conjecture-edge); stroke-width: 1; stroke-dasharray: 2 5; }
.graph-svg .edge.solid { stroke: var(--color-result-checked-edge); stroke-width: 1.25; stroke-dasharray: none; }
.graph-svg .edge.lit { stroke: var(--c-b88a3a); }
.graph-svg .edge.refuted { stroke: var(--color-status-refuted-edge); stroke-dasharray: 3 4; }
.gnode .hit { fill: transparent; }
.gnode .dot { fill: none; stroke: var(--color-status-conjecture-node); stroke-width: 1; stroke-dasharray: 2 2; }
.gnode.is-conjecture text, .gnode.is-in_work text { font-style: italic; fill: var(--color-status-conjecture-node); }
.gnode.is-checked .dot { fill: var(--color-result-checked-glow); stroke: none; filter: drop-shadow(0 0 5px var(--a-243-233-210-06)); }
.gnode.is-refuted .dot { fill: var(--color-map-bg); stroke: var(--color-status-refuted-mark); stroke-width: 1.5; stroke-dasharray: none; }
.gnode.is-refuted text { fill: var(--color-status-refuted-ring); }
.gnode.is-blocked .dot { fill: var(--color-map-bg); stroke: var(--color-status-conjecture-ring); stroke-width: 1.5; stroke-dasharray: none; }
.gnode.is-blocked text { fill: var(--color-status-conjecture-node); }
.gnode .mark { stroke: var(--color-status-refuted-mark); stroke-width: 1.5; fill: none; }
.gnode.is-blocked .mark { stroke: var(--color-status-conjecture-ring); }
.gnode:hover text, .gnode:focus-visible text { fill: var(--color-accent-light); }
.gnode .ring { fill: none; stroke: var(--color-result-new-ink); 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: var(--a-242-184-75-016); filter: blur(12px); }
.graph-svg .this { fill: none; stroke: var(--color-status-conjecture-node); stroke-dasharray: 2 2; }
.graph-svg .this.is-checked { fill: var(--color-accent-core); stroke: none; filter: drop-shadow(0 0 12px var(--color-result-new-ink)); }
.graph-svg .this.is-refuted { fill: var(--color-map-bg); stroke: var(--color-status-refuted-mark); stroke-width: 2; stroke-dasharray: none; }
.graph-svg .this.is-blocked { fill: var(--color-map-bg); stroke: var(--color-status-conjecture-ring); stroke-width: 2; stroke-dasharray: none; }
.graph-svg .this-label { fill: var(--color-accent-light); }
.graph-svg .more { fill: var(--color-status-conjecture-ring); font-style: italic; }
.graph-credit { position: absolute; right: 36px; bottom: 16px; font-size: 10px; font-style: italic; color: var(--color-map-credit); }
.graph-note { margin-top: 14px; font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.lemma-missing { padding: 40px 0; display: flex; flex-direction: column; gap: 20px; }
.lean-id { font: 400 14px var(--mono); color: var(--color-ink-muted); 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(--color-ink-secondary); 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(--color-ink-muted); }
.is-not { margin: 56px 0; padding: 32px; border-radius: var(--radius-10); background: var(--color-surface-raised); border: 1px solid var(--color-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(--color-status-refuted-mark); transform: rotate(45deg); }
.is-not li::after { transform: rotate(-45deg); }
.about .soon { font-size: 14px; font-style: italic; color: var(--color-ink-meta); 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(--spacing-8) 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(--color-surface); border-bottom: 1px solid var(--color-rule); font-size: 16px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--color-rule); }
  .site-nav .menu-only { display: flex; }
  .hero { padding: var(--spacing-40) var(--gutter); }
  .hero-main { gap: var(--spacing-16); }
  .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; }
  .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; }
  /* The moving line takes the full width under its kicker and never pushes the page sideways. */
  .today p { flex: none; width: 100%; max-width: 100%; }
  .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 { }
.mono { font: 400 13px/1.5 var(--mono); color: var(--color-ink-secondary); white-space: pre-wrap; }
.kicker.ink { color: var(--color-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(--color-result-checked-live); border-radius: var(--radius-full); font: 600 11px/1.2 var(--sans); color: var(--color-result-checked-ink); text-transform: uppercase; letter-spacing: 0.5px; }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-result-checked-live); }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pills .label, .pick .label { font-size: 14px; color: var(--color-ink-meta); margin-right: 4px; }
.pills button { padding: 7px 14px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-full); font: 500 14px/1.21 var(--sans); color: var(--color-ink-secondary); }
.pills button[aria-pressed='true'] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); }
.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(--color-ink); background: none; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-full); 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(--spacing-64); 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: var(--radius-8); border: 1px solid var(--a-255-255-255-028); background: var(--a-6-7-10-072); color: var(--color-status-blocked-ring); }
.search-field:focus-within { border-color: var(--color-status-blocked-ring); }
.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: var(--color-status-conjecture-node); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field kbd { font: 400 11px var(--mono); color: var(--color-status-conjecture-node); border: 1px solid var(--a-255-255-255-02); border-radius: var(--radius-4); padding: 1px 6px; }
.search-field.light { background: var(--color-surface-raised); border-color: var(--color-rule-strong); color: var(--color-ink); padding: 14px 16px; }
.search-field.light:focus-within { border-color: var(--color-ink); }
.search-field.light input::placeholder { color: var(--color-ink-meta); }
.search-panel { margin-top: 8px; border-radius: var(--radius-8); overflow: hidden; background: var(--color-surface-raised); color: var(--color-ink); max-height: min(70vh, 560px); overflow-y: auto; border: 1px solid var(--color-rule); }
.hub-search { position: relative; }
.hub-search .search-panel { position: absolute; left: 0; right: 0; z-index: 4; box-shadow: 0 12px 30px var(--a-27-26-23-012); }
.search-panel .group { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--color-surface-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(--color-ink-muted); }
.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(--color-rule); text-decoration: none; }
.search-panel .result:hover, .search-panel .result.on { background: var(--color-surface-sunk2); }
.search-panel .result .id { font: 400 12px var(--mono); color: var(--color-ink-muted); }
.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(--color-ink-meta); 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(--color-ink); color: var(--color-ink-ghost); 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(--spacing-24); margin-top: var(--spacing-40); }
.return { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: var(--radius-8); background: var(--color-surface-raised); border: 1px solid var(--color-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(--color-ink-meta); }
.tag-checked { color: var(--color-result-checked-ink); } .tag-refuted { color: var(--color-status-refuted-ink); } .tag-dead { color: var(--color-ink); }
.return .foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 12px; color: var(--color-ink-muted); }
.return.frontier { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); }
.return.frontier .kicker { color: var(--color-result-checked-on-dark); }
.return.frontier .foot { color: var(--color-status-blocked-ring); font-weight: 600; }
.return.grave { background: none; border-color: var(--color-ink-meta); }
.return.grave .big a { position: relative; z-index: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-decoration: none; } .return.grave .big .id { font: 400 12px/1.6 var(--mono); font-style: normal; color: var(--color-ink-meta); }
.return.grave .big a:hover, .return.grave .big a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; } .return.grave .cta { flex: none; font-weight: 600; color: var(--color-ink); } .return.grave:has(.cover:hover, .cover:focus-visible) .cta { text-decoration: underline; text-underline-offset: 3px; }
.record-more { display: flex; align-items: center; gap: var(--spacing-24); margin-top: var(--spacing-24); 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: var(--radius-8); background: var(--color-surface-plain); font: 400 20px/1.5 var(--serif); color: var(--color-ink); }
.statement .plain-text.open { background: none; border: 1px dashed var(--color-ink-meta); font-style: italic; color: var(--color-ink-secondary); }
.plain-note { margin-top: 10px; font-size: 12px; font-style: italic; color: var(--color-ink-meta); }

/* ---- 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(--color-ink-faint); }
.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(--color-ink); }
.box { flex: 2 1 320px; padding: 22px 24px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-10); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--color-ink-secondary); }
.box .mono { color: var(--color-ink); font-size: 14px; }
.box .note, .hub-note, .matrix-card .note { font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 56px; padding-bottom: 14px; border-bottom: 1px solid var(--color-ink); font-size: 12px; color: var(--color-ink-meta); }
.list-head a { color: var(--color-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(--color-rule); }
.milestones .code { font: 400 12px var(--mono); color: var(--color-ink-meta); }
.milestones .title { font: 400 22px/1.25 var(--serif); }
.milestones .open .title { font-style: italic; color: var(--color-ink-muted); }
.milestones .finding { font-size: 15px; color: var(--color-ink-muted); overflow-wrap: anywhere; }
.milestones .finding.open { font-style: italic; }
.milestones .finding.confirmed { color: var(--color-result-checked-ink); }
.milestones .finding.disproven { color: var(--color-status-refuted-ink); }
.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(--color-rule); border-radius: var(--radius-10); background: var(--color-surface-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(--color-ink-secondary); flex: 1; }
.mix { display: flex; gap: 2px; height: 12px; margin-top: 18px; border-radius: var(--radius-3); overflow: hidden; }
.program-list .mix { margin-top: 4px; }
.mix span { flex: 1 0 0; min-width: 2px; }
.mix-conjecture { background: var(--color-rule-strong); } .mix-in_work { background: var(--color-status-in-work-ring); } .mix-checked { background: var(--color-result-checked-ink); } .mix-refuted { background: var(--color-status-refuted-mark); } .mix-blocked { background: var(--color-ink); }
.mixline { margin-top: 10px; font-size: 13px; color: var(--color-ink-muted); }
/* A count that is a way in: ink and an underline under the pointer, the site's ring on focus. A zero is muted. */
.count-link { color: inherit; text-decoration: none; cursor: pointer; border-radius: var(--radius-3); }
.count-link:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.count-zero { color: var(--color-ink-faint); }
/* A count and its word stay together: a line of counts breaks between them, never inside "0 ruled dead". */
.count-link, .count-zero { white-space: nowrap; }
.matrix td .count-link { display: inline-block; padding: 2px 0; font: inherit; }
/* The list's filters, each a chip that takes itself off. */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-full); background: var(--color-surface-raised); font: 500 13px/1.3 var(--sans); color: var(--color-ink); text-decoration: none; }
.filter-chip .k { color: var(--color-ink-meta); font-weight: 400; } .filter-chip .x { margin-left: 2px; font-size: 15px; line-height: 1; color: var(--color-ink-meta); }
.filter-chip:hover { border-color: var(--color-ink-muted); } .filter-chip:hover .x { color: var(--color-ink); }
.filter-chips .clear { font: 400 13px/1.3 var(--sans); color: var(--color-ink-muted); text-underline-offset: 3px; }
.pick-head .of { margin-top: 8px; }
.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(--color-rule); }
.seat-list .name { font-size: 22px; }
.seat-list .note, .dead-list .note, .rel-list .note { font-size: 14px; color: var(--color-ink-muted); }
.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(--color-ink); color: var(--color-surface); }
.frontier-band .kicker { color: var(--color-result-checked-on-dark); }
.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: var(--color-footer-text); }
.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: var(--color-footer-text); 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: var(--radius-10); }
.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: var(--color-status-conjecture-node); }
.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: var(--color-map-bg-from); color: var(--color-status-blocked-ring); }
.layers .kicker { color: var(--color-ink-ghost); }
.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: var(--radius-4); 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: var(--color-status-conjecture-ring); } .bar .refuted { background: var(--color-status-refuted-ring); } .bar .checked { background: var(--color-result-checked-live); }
.bar .name { font: 400 11px var(--mono); color: var(--color-ink-ghost); }
.bar.on { outline: 1px solid var(--color-result-new-ink); outline-offset: 3px; } .bar.on .name { color: var(--color-accent-light); }
.bar:disabled { cursor: default; opacity: 0.5; }
.layer-list { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-8); background: var(--a-255-255-255-005); }
.layer-list .drill li { border-color: var(--a-255-255-255-01); }
.layer-list .drill a { color: var(--color-status-blocked-ring); }

/* ---- The hub: chrome, board, matrix, drill list ---- */
.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(--color-ink-meta); 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; }
/* Rule C: the note beside a points total that counts the default-10 estimates (head.json points_estimated_share). */
.estimates-note { font-size: 12px; line-height: 1.4; color: var(--color-ink-meta); margin: 4px 0 0; }
.hub > .pills { margin-top: 24px; }
.hub-desk { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-8); background: var(--color-surface-sunk); }
.columns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.column { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px 10px; border-radius: var(--radius-10); background: var(--color-surface-sunk); }
.column .kicker { color: var(--color-ink-secondary); padding: 0 4px 4px; white-space: pre; }
.col-checked { background: var(--color-result-checked-fill); } .col-checked .kicker { color: var(--color-result-checked-ink); }
.col-refuted { background: var(--color-status-refuted-fill); } .col-refuted .kicker { color: var(--color-status-refuted-ink); }
.col-blocked { background: var(--c-e4e1da); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius-8); background: var(--color-surface-raised); border: 1px solid var(--color-rule); text-decoration: none; min-width: 0; }
.card:hover { border-color: var(--color-ink-meta); }
.card.is-checked { border-color: var(--color-result-checked-ink); } .card.is-refuted { border-color: var(--color-status-refuted-mark); } .card.is-blocked { border-color: var(--color-ink); }
.card.is-conjecture, .card.is-in_work { border-style: dashed; border-color: var(--color-ink-faint); }
.card .top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--color-ink-muted); }
.card .kind { font: 600 9px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-meta); }
.card .title { font: 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.card .id { font: 400 11px var(--mono); color: var(--color-ink-meta); padding-bottom: 10px; border-bottom: 1px solid var(--color-rule); }
.card .seat { font-size: 12px; color: var(--color-ink-secondary); }
.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(--color-rule-strong); border-radius: var(--radius-10); overflow: hidden; background: var(--color-surface-raised); }
.record-page > .matrix-card { margin-top: 40px; }
/* The cleanup a founder approved: numbers right-aligned in fixed columns, tabular, in ink; a status's colour lives in
   its column header only. The cell being listed is red, semibold, underlined. A held cell says "0 held", muted. */
.matrix { width: 100%; border-collapse: collapse; font: 400 15px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 16px 12px; text-align: right; border-bottom: 1px solid var(--color-rule); color: var(--color-ink); white-space: nowrap; }
.matrix th:first-child { padding-left: 22px; font-weight: 400; text-align: left; }
.matrix thead th, .matrix .sum th, .matrix .sum td { background: var(--color-surface-plain); }
.matrix thead th { font: 600 10px/1.2 var(--sans); letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-ink-meta); }
.matrix th a { text-decoration: none; color: inherit; } .matrix th a:hover { text-decoration: underline; }
.matrix thead .is-in_work { color: var(--color-status-in-work-ink); } .matrix thead .is-checked { color: var(--color-result-checked-ink); } .matrix thead .is-refuted { color: var(--color-status-refuted-ink); } .matrix thead .is-blocked { color: var(--color-ink-secondary); }
.matrix .total { font-weight: 600; }
.matrix .seat-doing { color: var(--color-ink-meta); }
.matrix td .count-link.on { color: var(--color-status-refuted-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.matrix .held { color: var(--color-ink-meta); }
/* On a phone the numbers must be in sight: the line of what an orchestrator is on is left out (it pushed every
   number far off to the right), and the cells are tight. */
@media (max-width: 760px) { .matrix .seat-doing { display: none; } .matrix th, .matrix td { padding: 12px 5px; } .matrix th:first-child { padding-left: 12px; } .matrix thead th { font-size: 9px; letter-spacing: 0.2px; } }
@media (min-width: 761px) {
  .matrix { table-layout: fixed; }
  .matrix th:not(:first-child), .matrix td { width: 96px; } .matrix thead th:last-child, .matrix td.total { width: 84px; }
  .matrix th:first-child { overflow: hidden; text-overflow: ellipsis; }
}
.matrix tr.on th, .matrix tr.on td { background: var(--color-status-refuted-row); }
.matrix-card .note { padding: 14px 22px; }
.drill-card { border: 1px solid var(--color-status-refuted-mark); border-radius: var(--radius-10); overflow: hidden; background: var(--color-surface-raised); }
.drill-card.is-checked { border-color: var(--color-result-checked-ink); } .drill-card.is-conjecture, .drill-card.is-in_work, .drill-card.is-blocked { border-color: var(--color-ink-meta); }
.drill-head { position: relative; padding: 20px 56px 16px 22px; background: var(--color-status-refuted-row); }
.is-checked .drill-head { background: var(--color-result-checked-fill); } .is-conjecture .drill-head, .is-in_work .drill-head, .is-blocked .drill-head { background: var(--color-surface-plain); }
.drill-head h2 { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 15px var(--mono); color: var(--color-status-refuted-ink); }
.is-checked .drill-head h2 { color: var(--color-result-checked-ink); } .is-conjecture .drill-head h2, .is-in_work .drill-head h2, .is-blocked .drill-head h2 { color: var(--color-ink); }
.drill-head p { margin-top: 10px; font-size: 13px; color: var(--color-ink-secondary); }
.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 var(--color-rule-soft); }
.drill .id { font: 400 12px var(--mono); text-decoration: none; }
.drill-card.is-refuted .id { color: var(--color-status-refuted-ink); }
.drill .title { font-size: 15px; overflow-wrap: anywhere; }
.drill .age, .drill .word { font: 400 11px var(--mono); color: var(--color-ink-meta); white-space: nowrap; }
.drill .word.is-checked { color: var(--color-result-checked-on-dark); } .drill .word.is-refuted { color: var(--color-status-refuted-ring); }
.drill-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; font: 400 12px var(--mono); color: var(--color-ink-meta); }
.drill-foot button { font: 600 14px var(--sans); color: var(--color-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: 400 20px/1.2 var(--serif); }
.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(--color-rule-strong); border-radius: var(--radius-8); font-size: 13px; color: var(--color-ink-muted); text-decoration: none; min-height: 90px; }
.more-tile b { font: 500 18px var(--mono); color: var(--color-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: var(--radius-10); background: var(--color-ink); color: var(--color-surface); }
.today-band > div { flex: 3 1 360px; }
.today-band .kicker { color: var(--color-ink-ghost); }
.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 var(--a-255-255-255-016); }
.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(--color-result-checked-live); border-radius: var(--radius-8); color: var(--color-result-checked-ink); font: 600 13px var(--sans); text-align: left; }
.page-feed .events { border-top: 1px solid var(--color-ink); }

/* ---- Rel ---- */
.hub > .crumbs { margin-top: 20px; }
.hub > .crumbs:first-child { margin-top: 0; }
.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: var(--radius-12); background: var(--color-surface-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(--color-ink); }
.ncol .nothing, .npanel .nothing { font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.ncard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--radius-6); background: var(--color-surface-raised); border: 1px solid var(--color-rule); text-decoration: none; }
.ncard.focus { border: 2px solid var(--color-ink); box-shadow: 0 6px 18px var(--a-27-26-23-012); }
.ncard.is-conjecture, .ncard.is-in_work { border: 1px dashed var(--color-ink-meta); }
.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(--color-ink-meta); }
.ncard .kind i { width: 8px; height: 8px; border-radius: 50%; border: 1px dashed var(--color-ink-meta); }
.ncard.is-checked .kind i { background: var(--color-result-checked-ink); border: 0; } .ncard.is-refuted .kind i { background: var(--color-status-refuted-mark); border: 0; } .ncard.is-blocked .kind i { background: var(--color-ink); border: 0; }
.ncard .title { font: 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.ncard .id { font: 400 11px var(--mono); color: var(--color-ink-meta); white-space: pre-wrap; }
.nedges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nedges line { stroke: var(--color-ink-meta); stroke-width: 1; }
.nedges .in { stroke: var(--color-ink); stroke-width: 1.5; } .nedges .out { stroke: var(--color-accent-ink); 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(--color-rule-strong); border-radius: var(--radius-10); background: var(--color-surface-raised); }
.npanel .id { font: 400 12px var(--mono); color: var(--color-ink-meta); }
.npanel h2 { font: 400 28px/1.15 var(--serif); overflow-wrap: anywhere; }
.npanel h3 { width: 100%; padding-top: 16px; border-top: 1px solid var(--color-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(--color-ink-muted); } .nlist .is-refuted, .nlist .is-refuted .id { color: var(--color-status-refuted-ink); }
.npanel .note { font-size: 13px; font-style: italic; color: var(--color-ink-meta); }

/* ---- 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: var(--radius-3); background: var(--color-surface-sunk); }
.year-strip .on { outline: 2px solid var(--color-ink); outline-offset: -2px; }
.year-strip .green-1 { background: var(--color-result-checked-fill); } .year-strip .green-2 { background: var(--color-heat-month-green-2); } .year-strip .green-3 { background: var(--color-heat-month-green-3); } .year-strip .green-4 { background: var(--color-heat-month-green-4); } .year-strip .green-5 { background: var(--color-heat-month-green-5); }
.year-strip .red-1 { background: var(--color-heat-month-red-1); } .year-strip .red-2 { background: var(--color-heat-month-red-2); } .year-strip .red-3 { background: var(--color-heat-month-red-3); } .year-strip .red-4, .year-strip .red-5 { background: var(--color-heat-month-red-4); }
.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(--color-rule); border: 1px solid var(--color-rule); border-radius: var(--radius-8); overflow: hidden; }
.dow { padding: 10px; background: var(--color-surface-plain); font: 600 11px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--color-ink-meta); }
.cday { display: flex; flex-direction: column; gap: 5px; min-height: 124px; padding: 10px; background: var(--color-surface); text-decoration: none; }
.cday.pad, .cday.future { background: var(--color-surface-sunk2); }
.cday .n { font: 400 13px var(--mono); color: var(--color-ink-muted); white-space: pre; }
.cday.today { outline: 2px solid var(--color-ink); outline-offset: -2px; background: var(--color-surface-warm); }
.cday.picked { box-shadow: inset 0 0 0 2px var(--color-ink-muted); }
.cday.quiet { background: var(--color-surface-warm); }
.green-1 { background: var(--color-heat-green-1); } .green-2 { background: var(--color-heat-green-2); } .green-3 { background: var(--color-heat-green-3); } .green-4 { background: var(--color-heat-green-4); } .green-5 { background: var(--color-heat-green-5); } .green-6 { background: var(--color-heat-green-6); }
.red-1 { background: var(--color-heat-red-1); } .red-2 { background: var(--color-heat-red-2); } .red-3 { background: var(--color-heat-red-3); } .red-4 { background: var(--color-heat-red-4); } .red-5 { background: var(--color-heat-red-5); } .red-6 { background: var(--color-heat-red-6); }
.entry { display: flex; align-items: baseline; gap: 7px; padding: 4px 8px; border-radius: var(--radius-4); font: 500 11px/1.25 var(--sans); background: var(--color-surface-raised); color: var(--color-ink); }
.entry i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); transform: translateY(-1px); }
.entry.is-checked { background: var(--color-result-checked-fill); } .entry.is-checked i { background: var(--color-result-checked-ink); }
.entry.is-refuted { background: var(--color-status-refuted-fill); } .entry.is-refuted i { background: var(--color-status-refuted-mark); }
.entry.is-blocked { background: var(--color-ink); color: var(--color-surface); } .entry.is-blocked i { background: var(--color-status-blocked-ring); }
.entry.more, .entry.is-conjecture, .entry.is-in_work, .entry.is-died, .entry.is-other { background: var(--a-226-222-212-07); }
.agenda { flex: 0 0 min(400px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--color-ink); border-radius: var(--radius-10); background: var(--color-surface-raised); }
.agenda h2 { font: 400 32px/1.1 var(--serif); }
.agenda .note { font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.agenda-list { width: 100%; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--color-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%, var(--color-map-bg-from) 0%, var(--color-map-bg-to) 100%); color: var(--color-status-blocked-ring); }
.how-hub .kicker { color: var(--color-ink-ghost); }
.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: var(--radius-8); background: var(--a-255-255-255-005); border: 1px solid var(--a-255-255-255-01); font-size: 14px; color: var(--color-ink-ghost); }
.how-grid li .kicker { font-size: 10px; margin-bottom: 8px; color: var(--color-status-blocked-ring); }
.how-grid li.red { border-color: var(--a-194-65-45-06); background: var(--a-194-65-45-008); } .how-grid li.red .kicker { color: var(--color-status-refuted-ring); }
.how-grid a { color: var(--color-status-blocked-ring); }
.judge { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 40px; border-radius: var(--radius-10); background: var(--color-surface); color: var(--color-ink); box-shadow: 0 0 40px var(--a-242-184-75-045), 0 0 10px var(--a-255-210-122-06); }
.judge b { font: 400 24px var(--serif); } .judge i { font-size: 13px; color: var(--color-ink-muted); }
.how-foot { margin-top: 48px; text-align: center; font-size: 14px; font-style: italic; color: var(--color-status-conjecture-node); }
.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(--color-rule-strong); border-radius: var(--radius-10); overflow: hidden; background: var(--color-surface-sunk); }
.mock .bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--color-rule-strong); font-size: 13px; color: var(--color-ink-secondary); }
.mock .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-ink-ghost); } .mock .bar span { margin-left: 8px; }
.mock-body { display: flex; }
.mock-body ul { flex: 0 0 132px; padding: 16px 14px; background: var(--color-surface); font-size: 12px; color: var(--color-ink-meta); display: flex; flex-direction: column; gap: 8px; }
.mock-body .h, .mock-body .on { color: var(--color-ink); font-weight: 600; }
.mock-map { flex: 1; margin: 22px; border-radius: var(--radius-8); background: var(--color-map-bg); outline: 2px solid var(--color-status-in-work-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(--color-ink); color: var(--color-surface); border-bottom: 1px solid var(--c-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: var(--color-footer-text); }
.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 var(--a-0-0-0-035); padding-top: 14px; }
  .search-field kbd { display: none; }
  .map-legend { bottom: 34px; }
  .page-hub { padding-bottom: 64px; }
  .hub-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--color-surface-raised); border-top: 1px solid var(--color-rule); }
  .hub-tabs a { padding: 16px 4px 18px; text-align: center; font: 500 12px var(--sans); color: var(--color-ink-meta); text-decoration: none; }
  .hub-tabs a[aria-current] { color: var(--color-ink); font-weight: 600; box-shadow: inset 0 2px 0 var(--color-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(--color-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(--color-ink-muted); }
  .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(--color-result-checked-ink); } .matrix-bars .is-refuted { color: var(--color-status-refuted-ink); } .matrix-bars .is-in_work { color: var(--color-status-in-work-ink); } .matrix-bars .is-conjecture { color: var(--color-ink-muted); }
  .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(--color-ink-muted); }
.byline { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--color-ink-secondary); }
.covers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 24px; }
.covers .label { font-size: 12px; color: var(--color-ink-meta); }
.dek { font: italic 400 20px/1.4 var(--serif); color: var(--color-ink-secondary); }
.news-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 56px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-10); background: var(--color-surface-raised); border: 1px solid var(--color-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(--color-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(--color-ink-secondary); }
.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(--color-rule); border-bottom: 1px solid var(--color-rule); }
.byline-row .byline { font-weight: 600; color: var(--color-ink); }
.byline-row .meta { font-size: 12px; color: var(--color-ink-meta); 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: var(--radius-6); background: var(--color-surface-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(--color-result-checked-fill); } .claim.is-checked .text { font-weight: 600; }
.claim.is-refuted { background: var(--color-status-refuted-row); }
.claim.is-blocked { background: var(--color-ink); color: var(--color-surface); } .claim.is-blocked .chip { padding-left: 0; }
.claim.is-conjecture, .claim.is-in_work, .claim.is-unknown { background: none; border: 1px dashed var(--color-ink-meta); color: var(--color-ink-secondary); }
.fig { margin: 36px 0 0; } .fig figcaption { margin-top: 12px; font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.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(--color-ink); }
.related h2 { grid-column: 1 / -1; } .related h3 { font: 400 13px var(--sans); color: var(--color-ink-meta); 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(--color-ink-meta); }

/* ---- 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: var(--radius-8); background: var(--color-surface-sunk); }
.view-switch button { padding: 9px 16px; border-radius: var(--radius-6); font: 500 14px var(--sans); color: var(--color-ink-secondary); }
.view-switch button[aria-pressed='true'] { background: var(--color-ink); color: var(--color-surface); }
.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(--color-ink-meta); }
.week-days a { padding: 8px 6px; text-decoration: none; border-left: 1px solid var(--color-rule); } .week-days a.today { color: var(--color-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: var(--radius-4); background: var(--color-surface-raised) repeating-linear-gradient(90deg, var(--color-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(--color-result-checked-ink); } .week-lane .dot.refuted { background: var(--color-status-refuted-mark); } .week-lane .dot.blocked { background: var(--color-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(--color-rule); border-bottom: 1px solid var(--color-rule); }
  .fold[open] > summary { border-bottom: 0; }
  .fold > summary .kicker { margin: 0; display: flex; justify-content: space-between; color: var(--color-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(--color-ink); }
.plan div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--color-ink-secondary); }
.plan .big { font: 400 24px/1.25 var(--serif); color: var(--color-ink); overflow-wrap: anywhere; }
.plan .note { font-size: 13px; font-style: italic; color: var(--color-ink-meta); } .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. ---- */
/* The two stripes share one row (a founder, 24 Nov; Components/Chrome 467756626e68f18a): the container's left edge for the
   label, the text after it, the meta pushed to the container's right edge, everything centred on one line. */
.just-in, .incident { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: var(--spacing-8) var(--gutter); }
.just-in { background: var(--color-ink); color: var(--color-surface); font: 500 14px/20px var(--sans); }
.just-in .lede, .incident-say { flex: 1 1 300px; min-width: min(300px, 100%); }
.just-in-meta, .incident-meta { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.just-in b { font-weight: 700; color: var(--color-result-new-ink); } .just-in .lede b { margin-right: 2px; }
@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(--color-ink-meta); } .just-in a.say { font-weight: inherit; color: inherit; text-decoration: none; white-space: normal; } .just-in a.say:hover { text-decoration: underline; text-underline-offset: 3px; }
/* A message opens in its place: the whole row is the link, a lemma id inside is its own; hover says where it goes. */
.hit { position: relative; cursor: pointer; } .hit > .hit-link { position: absolute; inset: 0; z-index: 0; border-radius: inherit; } .hit > .hit-link:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.hit a:not(.hit-link), .hit > p, .hit > q { position: relative; z-index: 1; } .hit > p, .hit > q { -webkit-user-select: text; user-select: text; } /* the words sit over the row link, so they can be selected (a founder could not); ui.js opens the row on a plain press on them */ .hit .in-id { font-family: var(--mono); font-size: 0.86em; color: inherit; text-underline-offset: 3px; }
.hit .open-hint { position: absolute; right: 12px; bottom: 6px; z-index: 1; padding: 2px 8px; border-radius: var(--radius-full); background: var(--color-ink); color: var(--color-surface); font: 600 11px/1.5 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 120ms; }
.hit:hover .open-hint, .hit:focus-within .open-hint { opacity: 1; }
/* Inside the hub the message is already there: no hint; a press marks it and its thread in place. */
.page-live .open-hint { display: none; }
.msg.hit:hover, .msg.hit:focus-within, .said .hit:hover { background: var(--color-surface-sunk2); box-shadow: -12px 0 0 var(--color-surface-sunk2), 12px 0 0 var(--color-surface-sunk2); }
.msg.on { background: var(--c-fbf3dc); box-shadow: -12px 0 0 var(--c-fbf3dc), 12px 0 0 var(--c-fbf3dc), inset 0 0 0 0 transparent; } .msg.on .who span::before { content: 'Opened  ·  '; color: var(--c-8a6a12); } .msg.thread { box-shadow: -12px 0 0 var(--color-surface), -14px 0 0 var(--c-d9b64a); }
.whisper.hit:hover, .whisper.hit:focus-within { background: var(--color-surface-raised); box-shadow: inset 0 0 0 1px var(--color-rule); border-radius: var(--radius-10); }
.just-in time { font: 400 11px/20px var(--mono); color: var(--color-ink-faint); white-space: nowrap; }
.just-in a { font-weight: 600; color: var(--color-result-new-ink); text-underline-offset: 3px; white-space: nowrap; }
.just-in.arrive { animation: just-in 1.2s ease-out; }
@keyframes just-in { 30% { background: var(--c-4a3a12); } }
/* The incident strip (master 467756626e68f18a): the message fills, at least 300 px, so on a phone it takes its own line. */
.incident { border-top: 1px solid color-mix(in srgb, var(--color-strip-incident-edge) 8%, transparent); background: var(--incident-bar); font: 500 14px/17px var(--sans); }
.incident[hidden] { display: none; }
.incident[data-state='degraded'] { --incident-bar: var(--color-strip-incident-bar); --incident-signal: var(--color-strip-incident-signal); }
.incident[data-state='outage'] { --incident-bar: var(--color-strip-incident-outage-bar); --incident-signal: var(--color-strip-incident-outage-signal); }
.incident[data-state='resolved'] { --incident-bar: var(--color-strip-resolved-bar); --incident-signal: var(--color-strip-resolved-signal); }
.incident-lead { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } .incident-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--incident-signal); }
.incident-title { font-weight: 600; color: var(--incident-signal); }
.incident-say { color: var(--color-strip-incident-text); overflow-wrap: anywhere; }
.incident-sep { color: var(--color-ink-meta); } .incident-at { font: 400 11px/15px var(--mono); color: var(--color-ink-faint); }
.incident-link { font-weight: 600; color: var(--incident-signal); text-decoration: underline; text-underline-offset: 3px; }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px var(--gutter); padding: 12px 18px; border-radius: var(--radius-8); font-size: 15px; }
[data-stale='yes'] .live-pill { border-color: var(--color-ink-faint); color: var(--color-ink-muted); } [data-stale='yes'] .live-pill::before { background: var(--color-ink-faint); }
.map-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--color-status-conjecture-node); font-size: 15px; background: var(--c-0b0e15); z-index: 1; }
[data-painted] .map-loading { display: none; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-status-conjecture-ring); 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(--color-surface-sunk), var(--color-surface-sunk)) 0 0 / 34% 14px no-repeat, linear-gradient(var(--color-surface-sunk), var(--color-surface-sunk)) 0 40px / 78% 64px no-repeat,
  linear-gradient(var(--color-surface-sunk2), var(--color-surface-sunk2)) 0 132px / 92% 14px no-repeat, linear-gradient(var(--color-surface-sunk2), var(--color-surface-sunk2)) 0 162px / 86% 14px no-repeat, linear-gradient(var(--color-surface-sunk2), var(--color-surface-sunk2)) 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; }
}

/* ---- 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: var(--color-status-blocked-ring); background: radial-gradient(60% 80% at 60% 50%, var(--color-map-graph-from) 0%, var(--color-map-bg-to) 100%); }
.attack-field .kicker { color: var(--color-status-blocked-ring); } .edge-note { text-align: center; } .edge-note .cite { max-width: 60em; margin: 8px auto 0; font-size: 13px; font-style: italic; color: var(--color-status-conjecture-node); 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: var(--color-status-blocked-ring); } .attack-svg .dim { fill: var(--color-status-conjecture-ring); }
.attack-svg .lit { stroke: var(--color-result-checked-glow); stroke-width: 2; } .attack-svg .open { stroke: var(--color-status-conjecture-ring); stroke-width: 1.25; stroke-dasharray: 5 6; }
.attack-svg .to-hard { stroke: var(--color-result-new-ink); stroke-width: 2; stroke-dasharray: 6 6; }
.attack-svg .edge { stroke: var(--color-status-conjecture-node); stroke-width: 2; } .attack-svg .known { fill: var(--color-result-checked-on-dark); font-weight: 600; letter-spacing: 1.5px; font-size: 11px; } .attack-svg .beyond { fill: var(--color-result-new-ink); font-weight: 600; letter-spacing: 1.5px; font-size: 11px; }
.rung circle { fill: none; stroke: var(--color-status-conjecture-node); stroke-dasharray: 2 2; } .rung.is-checked circle { fill: var(--color-result-checked-glow); stroke: none; filter: drop-shadow(0 0 6px var(--a-243-233-210-06)); }
.rung.is-refuted circle { stroke: var(--color-status-refuted-mark); stroke-dasharray: none; } .rung:hover text, .hard:hover + text { fill: var(--color-accent-light); }
.hard circle { fill: none; stroke: var(--color-result-new-ink); stroke-width: 2; filter: drop-shadow(0 0 8px var(--a-242-184-75-05)); } .hard .inner { stroke-width: 1.25; stroke-dasharray: 3 3; filter: none; }
.attack-svg .hard-label { fill: var(--color-result-new-ink); font-weight: 600; letter-spacing: 1.5px; } .attack-svg .hard-count { fill: var(--color-result-new-ink); }
.strand line { stroke: var(--color-map-agent-glow); stroke-width: 1.5; opacity: 0.75; } .strand circle { fill: var(--color-map-agent); } .strand:hover line, .strand:focus line { opacity: 1; stroke-width: 2.5; }
.attack-svg .flight { fill: var(--color-map-agent-glow); font-weight: 600; letter-spacing: 1.5px; font-size: 11px; }
.attack-svg .dead { fill: none; stroke: var(--color-status-refuted-ring); stroke-width: 1.5; } .attack-svg .dead-line { stroke: var(--color-status-refuted-edge); stroke-dasharray: 3 4; }
.attack-svg .death { fill: var(--color-status-refuted-ring); font-size: 12px; } .attack-svg .death.dim { fill: var(--color-footer-text); }
.attack-svg .star { fill: none; stroke: var(--color-ink-ghost); stroke-width: 3; stroke-linejoin: round; } .attack-svg .star.reached { fill: var(--color-result-checked-glow); }
.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 var(--a-255-255-255-012); font-size: 15px; color: var(--color-ink-ghost); }
.attack-text div { display: flex; flex-direction: column; gap: 8px; } .attack-text .big { font: 400 24px/1.25 var(--serif); color: var(--color-status-blocked-ring); overflow-wrap: anywhere; }
.attack-text .mono { color: var(--color-footer-text); } .attack-text a { color: var(--color-status-blocked-ring); }
.attack-note { margin-top: 24px; font-size: 13px; font-style: italic; color: var(--color-status-conjecture-node); }

/* ---- 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(--color-ink-muted); padding-bottom: 4px; } .hub-desk-tabs a[aria-current] { color: var(--color-ink); border-bottom: 1.5px solid var(--color-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(--color-ink-muted); } .live-stats b { font: 500 30px/1.1 var(--mono); color: var(--color-ink); }
.live-kicker::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--color-result-checked-live); margin-right: 10px; }
[data-stale='yes'] .live-kicker::before { background: var(--color-ink-faint); }
.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(--color-rule-strong); border-radius: var(--radius-14); background: var(--color-surface-warm); }
.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: var(--color-ink-ghost); opacity: 0.8; stroke-linecap: round; } .live-graph svg line.run { stroke: var(--color-heat-green-5); } .live-graph svg line.run.bad { stroke: var(--color-heat-red-5); }
.cluster { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cluster .kicker { color: var(--color-ink-secondary); } .cluster .hardlink { font: 400 12px/1.4 var(--mono); color: var(--color-avatar-1-ink); overflow-wrap: anywhere; }
.seat-card { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border-radius: var(--radius-8); background: var(--color-surface-raised); border: 1px solid var(--color-rule); text-decoration: none; font-size: 14px; color: var(--color-ink-secondary); }
.seat-card .id { font: 500 14px var(--mono); color: var(--color-ink); } .seat-card .id::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c-e0a93b); margin-right: 9px; }
.seat-card .holds { color: var(--color-ink); overflow-wrap: anywhere; } .seat-card .subs { font: 400 12px var(--mono); color: var(--color-ink-muted); } .seat-card .speaking { color: var(--color-result-checked-ink); 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: var(--radius-10); background: var(--color-surface-raised); border: 1px solid var(--c-e7c873); box-shadow: 0 0 24px var(--a-242-184-75-025); }
.judge-card b { font: 400 22px var(--serif); } .judge-card i { font-size: 12px; color: var(--color-ink-muted); } .judge-card .sum { margin-top: 6px; font: 400 12px var(--mono); color: var(--color-ink-muted); }
.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(--color-ink-muted); }
.rule-card { padding: 12px 16px; border-radius: var(--radius-8); background: var(--c-fbf0d2); color: var(--c-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(--color-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(--color-ink-meta); }
.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(--color-ink-muted); } .held summary { cursor: pointer; font-weight: 600; color: var(--color-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(--color-ink-secondary); }
.live-card.dashed { border-style: dashed; background: none; } .live-card.paused { background: var(--color-status-refuted-row); border-color: var(--color-heat-red-5); } .live-card.paused h2 { font: 400 26px var(--serif); color: var(--color-ink); } .live-card.paused .mono { color: var(--color-status-refuted-ink); }
.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(--color-result-checked-ink); } .runs .no { color: var(--color-status-refuted-ink); } .runs a { text-decoration: none; } .live-card .note { font-size: 13px; font-style: italic; color: var(--color-ink-meta); }
.role-pills { display: flex; gap: 8px; } .role-pills span { padding: 3px 12px; border: 1px dashed var(--color-ink-faint); border-radius: var(--radius-full); font-size: 13px; color: var(--color-ink-meta); }
@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(--color-ink); border-radius: var(--radius-10); background: var(--color-surface); font-size: 15px; color: var(--color-ink-secondary); }
.grave .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; } .grave .top .mono { font-size: 11px; color: var(--color-ink-meta); }
.grave h2 { font: italic 400 26px/1.2 var(--serif); color: var(--color-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(--color-ink); overflow-wrap: anywhere; } .grave .survived { font-style: italic; color: var(--color-ink-muted); } .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: var(--radius-8); }
.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; } [data-follow].following { background: var(--color-result-checked-fill); border-color: var(--color-result-checked-ink); color: var(--color-result-checked-ink); }
dialog.follow { width: min(560px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-14); background: var(--color-surface-raised); color: var(--color-ink); }
dialog.follow::backdrop { background: var(--a-27-26-23-045); }
dialog.follow h2 { font: 400 30px/1.15 var(--serif); padding-right: 36px; } dialog.follow > p { margin-top: 10px; font-size: 15px; color: var(--color-ink-secondary); }
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(--color-rule); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--color-ink-secondary); } .way.soon { color: var(--color-ink-meta); }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .addr code { flex: 1 1 240px; padding: 10px 12px; border-radius: var(--radius-6); background: var(--color-surface-sunk2); font: 400 13px var(--mono); overflow-wrap: anywhere; } .toast { padding: 8px 12px; border-radius: var(--radius-6); background: var(--color-ink); color: var(--color-surface); 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(--color-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(--color-ink); font-weight: 600; text-underline-offset: 3px; }
.home-live .live-cols { margin-top: var(--spacing-40); }
.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(--color-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(--color-ink); text-underline-offset: 3px; }
.paused-note { padding: 14px 16px; border-radius: var(--radius-8); background: var(--color-status-refuted-row); font-size: 14px; color: var(--color-ink-secondary); }
.race { padding: var(--spacing-40) var(--gutter); background: var(--c-0b0e15); color: var(--color-status-blocked-ring); }
.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: var(--color-status-blocked-ring); text-underline-offset: 3px; }
.tracks { margin-top: var(--spacing-16); 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: var(--color-status-blocked-ring); overflow-wrap: anywhere; } .lane-track .say { color: var(--color-result-new-ink); 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: var(--color-result-checked-edge); 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 var(--color-status-conjecture-ring); background: var(--c-0b0e15); }
.lane-track .line i.lit { background: var(--color-result-checked-glow); } .lane-track .line i.lit::after { border: 0; background: var(--color-result-checked-glow); box-shadow: 0 0 6px var(--a-243-233-210-06); }
.lane-track .line i.hard::after { top: -7px; right: -4px; width: 13px; height: 13px; border: 1.5px solid var(--color-result-new-ink); box-shadow: 0 0 8px var(--a-242-184-75-06); }
/* 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 var(--color-ink-ghost); border-radius: 50%; background: none; } .lane-track .line i.star::after { top: 3px; right: 3px; width: 6px; height: 6px; border: 0; background: var(--color-ink-ghost); }
.lane-track:hover .name { color: var(--color-accent-light); }
.race-note { margin-top: var(--spacing-16); font-size: 12px; color: var(--color-status-conjecture-node); } .race-note .rung { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--color-result-checked-ink); vertical-align: 1px; }
@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(--color-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(--color-rule); }
.follow-list h2 { font: 400 26px/1.15 var(--serif); } .follow-list p { margin: 6px 0; font-size: 15px; color: var(--color-ink-secondary); } .follow-list .mono { font-size: 12px; overflow-wrap: anywhere; } .follow-soon { max-width: 46em; }

/* ---- Shared components, as the pages vary them. Each rule here was in a page stylesheet; a page stylesheet
   may not style a shared component (the build refuses it), so the variants live with the component. ---- */
/* from pages/about.css */
.wti-head .kicker { margin-bottom: 8px; }
.wti-next > .kicker { margin-bottom: 20px; }
.wti-card .kicker { font-size: 10px; }
@media (max-width: 760px) { .wti-head .kicker { margin-bottom: 0; } .wti-made .about-actions .btn { flex: 1 1 0; } }
/* from pages/board.css */
@media (max-width: 760px) { .page-board .hub-head .kicker, .page-board .hub-head .aside { display: none; } }
/* from pages/calendar.css */
@media (max-width: 760px) { .page-calendar .agenda .kicker { display: none; } }
/* from pages/feed.css */
.page-feed .today-band .kicker { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
/* from pages/how.css */
@media (max-width: 760px) { .page-how .how-hub > .kicker { text-align: center; } .page-how .how-grid li .kicker { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }  }
/* from pages/lemma.css */
@media (max-width: 760px) { .lemma > .status-line .chip { order: 1; align-self: flex-start; margin: 14px 0 0; } .statement.formal .kicker { display: none; } .checker .btn { order: 0; } .lemma .fold > summary .kicker { font: 600 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; align-items: baseline; gap: 12px; } }
/* from pages/program.css */
@media (max-width: 760px) {  .page-program .frontier-band .kicker { white-space: nowrap; } .prow > .list-head .kicker { display: none; } }
/* from pages/seat.css */
/* from pages/sponsors.css */
@media (max-width: 760px) {  .page-sponsors .seg.big { display: flex; border-radius: var(--radius-8); } }
.page-sponsors .pledged .share .kicker { flex: 1 0 100%; }

/* ---- 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/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(--color-rule-strong); border-radius: var(--radius-8); background: var(--color-surface-raised); font: 500 15px/1.2 var(--sans); color: var(--color-ink); }
.filter:focus-within, .filter.set { border-color: var(--color-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 { padding: 0; border: 0; border-radius: 0; white-space: nowrap; } /* the design's plain label, not the bordered status chip */
.card .top { align-items: baseline; flex-wrap: nowrap; gap: 8px; } .card .top > :last-child { white-space: nowrap; }
.card .seat { display: flex; align-items: center; gap: 8px; }
.card .seat::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--color-rule-strong); }
.card.is-in_work .seat::before { background: var(--color-status-in-work-ring); } .card.is-checked .seat::before { background: var(--color-result-checked-ink); } .card.is-refuted .seat::before { background: var(--color-status-refuted-mark); } .card.is-blocked .seat::before { background: var(--color-ink); }
.lane-cards .card .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; height: 5em; 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(--color-surface-plain); border-bottom: 1px solid var(--color-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(--color-ink-meta); }
.pick-head p { margin-top: 8px; font-size: 13px; color: var(--color-ink-secondary); }
.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(--color-ink-muted); 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(--color-result-checked-ink); } .lemma-list .is-refuted .st { color: var(--color-status-refuted-ink); } .lemma-list .is-in_work .st { color: var(--color-status-in-work-ink); } .lemma-list .is-blocked .st { color: var(--color-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 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(--color-surface-sunk); border-radius: var(--radius-6); }
  .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: var(--radius-3); 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 var(--a-27-26-23-022); }
  .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: var(--radius-2); background: var(--color-ink-faint); }
  .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: var(--radius-10); background: var(--color-surface-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: var(--radius-3); display: flex; align-items: flex-end; padding: 5px 8px; font: 400 10px/1 var(--mono); letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-ink-muted); text-decoration: none; overflow: hidden; }
.year-strip > .quiet { background: var(--color-surface-sunk); color: var(--color-ink-meta); }
.year-strip > .none { color: var(--color-ink-faint); }
.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: var(--color-heat-green-1); } .cal .cday.green-2 { background: var(--color-heat-green-2); } .cal .cday.green-3 { background: var(--color-heat-green-3); } .cal .cday.green-4 { background: var(--color-heat-green-4); } .cal .cday.green-5 { background: var(--color-heat-green-5); } .cal .cday.green-6 { background: var(--color-heat-green-6); }
.cal .cday.red-1 { background: var(--color-heat-red-1); } .cal .cday.red-2 { background: var(--color-heat-red-2); } .cal .cday.red-3 { background: var(--color-heat-red-3); } .cal .cday.red-4 { background: var(--color-heat-red-4); } .cal .cday.red-5 { background: var(--color-heat-red-5); } .cal .cday.red-6 { background: var(--color-heat-red-6); }
.cal .cday.today .n { color: var(--color-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(--color-ink); }
.cday .tw { text-transform: uppercase; letter-spacing: 0.5px; }
.cal .cday.pad { background: var(--color-surface-sunk2); }
.cal .cday.pad .n { color: var(--color-ink-faint); }
.cal a.cday.pad:hover .n { color: var(--color-ink-muted); }
.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 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(--color-ink-meta); }
  .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: var(--radius-6); 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(--color-rule); }
  .cal .cday.picked { box-shadow: inset 0 0 0 2px var(--color-ink-muted); }
  .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(--color-rule-strong); border-radius: 0; background: none; gap: 10px; }
  .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(--color-ink-muted); 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/cause.css ---- */
/* ---- The overview of the cause (/pnp/cause, design pnpcause "E-above", a founder approved it 26 Nov). Three frames:
   1440 (the hero's text and the Connect box side by side; Programs beside the prize), 768 (stacked; the four beats two by
   two) and 390 (one column). Tokens only; the shared components (.kicker, .btn, .lb-row, .join-cta) as they are. ---- */
.page-cause main > * { padding-left: var(--gutter); padding-right: var(--gutter); }
.page-cause h1, .page-cause h2, .page-cause h3 { margin: 0; color: var(--color-ink); }
.page-cause p { margin: 0; }
.cz-mono { font: 400 11px/1.36 var(--mono); color: var(--color-ink-meta); }
.cz-go { display: inline-flex; gap: 4px; align-self: flex-start; font: 600 13px/1.25 var(--sans); color: var(--color-ink); text-underline-offset: 3px; }
.cz-go span { text-decoration: none; display: inline-block; }
.cz-say { font: 400 13px/1.25 var(--sans); color: var(--color-ink-muted); }

/* 1 The hero (designs P1 and T1, Ami 26 Nov): the kicker, the title as a question, a one-line subtitle, the home hero's Join pill. */
.cz-hero { display: flex; align-items: flex-end; gap: 64px; padding-top: 72px; padding-bottom: 48px; }
.cz-hero-text { width: 736px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.cz-hero h1 { font: 400 64px/1.2 var(--serif); letter-spacing: -1.5px; }
.cz-sub { font: 400 16px/1.5 var(--sans); color: var(--color-ink-secondary); }

/* 2 The sponsor strip, under the hero and outside the prize. */
.backed-by.cz-backed { gap: 12px 28px; margin: 0; padding-top: 16px; padding-bottom: 16px; background: var(--color-surface-sunk2); }
.cz-backed .label { font-size: 10px; letter-spacing: 2px; }
.cz-marks { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 0 1 auto; }
.cz-backed .marks { gap: 20px; flex: 0 1 auto; }
.cz-backed .marks .wordmark { font: 600 16px/1.2 var(--sans); color: var(--color-ink-muted); }
.cz-backed a.cz-backer { color: var(--color-surface); }
.cz-backed a.cz-more { flex: none; font: 600 13px/1.25 var(--sans); color: var(--color-ink); }

/* 3 What P vs NP asks: four beats, each with its drawing. */
.cz-asks { display: flex; flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cz-head { display: flex; flex-direction: column; gap: 8px; }
.cz-asks h2, .cz-programs h2, .cz-papers h2, .cz-prize h2 { font: 400 30px/1.3 var(--serif); }
.cz-beats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.cz-beats > li { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cz-beats h3, .cz-four h3, .cz-checker h3 { font: 400 22px/1.2 var(--serif); }
.cz-beats p:not([class]), .cz-four p:not([class]) { font: 400 15px/1.25 var(--sans); color: var(--color-ink-muted); }
.cz-n { font: 400 11px/1.36 var(--mono); color: var(--color-ink-meta); }
.cz-art { height: 168px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; padding: 16px; border-radius: var(--radius-8); background: var(--color-surface-sunk2); }
.cz-art svg { fill: currentColor; color: var(--color-ink-meta); flex: none; }
.cz-art svg.cz-ok { color: var(--color-result-checked-ink); }
.cz-sudoku { display: flex; gap: 24px; }
.cz-sudoku > div { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.cz-grid { display: grid; grid-template-columns: repeat(3, 24px); gap: 4px; }
.cz-grid i, .cz-tag, .cz-step { border: 1px solid var(--color-rule); background: var(--color-surface-raised); font: 400 11px/1 var(--mono); font-style: normal; color: var(--color-ink); }
.cz-grid i { display: grid; place-items: center; height: 24px; border-radius: var(--radius-2); }
.cz-cap { display: flex; gap: 4px; align-items: center; font: 400 12px/1.4 var(--sans); color: var(--color-ink-muted); white-space: nowrap; }
.cz-sets { position: relative; width: 200px; height: 112px; border: 1px solid var(--color-ink-muted); border-radius: 50%; }
.cz-np { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font: 400 11px/1 var(--mono); color: var(--color-ink-muted); white-space: nowrap; }
.cz-p { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 88px; height: 56px; margin: -18px 0 0 -44px; border: 1px solid var(--color-ink); border-radius: 50%; background: var(--color-surface-raised); font: 400 11px/1 var(--mono); color: var(--color-ink); }
.cz-art .cz-mono { white-space: pre; }
.cz-forks { display: flex; flex-direction: column; gap: 12px; }
.cz-forks p { display: flex; gap: 10px; align-items: center; font: 400 13px/1.2 var(--sans); color: var(--color-ink-secondary); white-space: nowrap; }
.cz-tag { width: 64px; padding: 4px 0; border-radius: var(--radius-12); text-align: center; }
.cz-steps { display: flex; gap: 6px; align-items: center; }
.cz-step { display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; width: 40px; height: 44px; border-radius: var(--radius-2); color: var(--color-ink-meta); }
.cz-lean { display: flex; flex-direction: column; gap: 2px; align-items: center; padding: 6px 10px; border-radius: var(--radius-4); background: var(--color-ink); font: 400 11px/1.36 var(--mono); color: var(--color-surface); }
.cz-lean small { font: 400 12px/1.4 var(--sans); }

/* 4 Progress: the record's counters. */
.cz-progress { display: flex; flex-direction: column; gap: 16px; padding-bottom: 56px; }
.cz-read { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cz-read .live-dot { width: 7px; height: 7px; margin: 0; }
.cz-counts { display: flex; gap: 24px; margin: 0; padding: 24px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.cz-counts > div { flex: 1 1 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; min-width: 0; }
.cz-counts > div[hidden] { display: none; }
.cz-counts dd { margin: 0; font: 500 28px/1.32 var(--mono); color: var(--color-ink); }
.cz-counts dt { font: 400 13px/1.25 var(--sans); color: var(--color-ink-muted); }
.cz-counts a{display:block;color:inherit;text-decoration:none}.cz-counts a:hover{text-decoration:underline}

/* 5 Programs, and 8 the prize beside them. */
.cz-pair { display: flex; gap: 48px; align-items: flex-start; padding-top: 24px; padding-bottom: 72px; }
.cz-programs { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cz-table { width: 100%; table-layout: fixed; border-collapse: collapse; font: 400 15px/1.25 var(--sans); }
.cz-table th { padding: 10px 0; border-bottom: 1px solid var(--color-rule-strong); font: 600 10px/1.2 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-meta); text-align: left; }
.cz-table td { padding: 14px 0; border-bottom: 1px solid var(--color-rule); }
.cz-table th + th, .cz-table td + td { padding-left: 16px; }
.cz-table .cz-i { width: 32px; font: 400 13px/1.2 var(--mono); color: var(--color-ink-meta); }
.cz-table .cz-num { width: 96px; text-align: right; }
.cz-table .cz-num:last-child { width: 120px; }
.cz-table td.cz-num:not(:last-child) { font: 500 15px/1.2 var(--mono); color: var(--color-ink); }
.cz-name a { color: var(--color-ink); text-decoration: none; } .cz-name a:hover { text-decoration: underline; }
.cz-aim { color: var(--color-ink-secondary); }
.cz-pill { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); background: var(--color-surface-sunk); font: 500 12px/1.25 var(--sans); color: var(--color-ink-secondary); }
.cz-foot { font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
.cz-prize { flex: none; width: 440px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--color-rule); border-radius: var(--radius-12); background: var(--color-surface-raised); }
.cz-prize p:not(.kicker), .cz-split { font: 400 13px/1.25 var(--sans); color: var(--color-ink-secondary); }
.cz-split { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cz-split li { display: flex; gap: 8px; align-items: center; }
.cz-key { flex: none; width: 10px; height: 10px; border-radius: var(--radius-2); background: var(--color-ink); } .cz-key-fro { background: var(--color-rule-strong); }
.cz-prize .cz-go { font-weight: 500; }

/* 6 The leaderboard, top 5 by points: the home's rows. */
.cz-board, .cz-how { display: flex; flex-direction: column; gap: 20px; padding-top: 64px; padding-bottom: 64px; background: var(--color-surface-sunk2); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.cz-board h2, .cz-how h2, .cz-verify h2 { font: 400 44px/1.25 var(--serif); letter-spacing: -0.5px; }
.cz-rows { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }

/* The footer's sponsor band would repeat the strip under the hero; the export draws none here. */
.page-cause .sponsor-band { display: none; }

/* 7 Papers. */
.cz-papers { display: flex; flex-direction: column; gap: 12px; padding-top: 64px; padding-bottom: 24px; }
.cz-paper-list { margin: 0; padding: 0; list-style: none; }
.cz-paper-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.cz-paper-list li + li { border-top: 0; }
.cz-paper-list a { flex: 1 1 0; font: 400 22px/1.2 var(--serif); color: var(--color-ink); text-decoration: none; } .cz-paper-list a:hover { text-decoration: underline; }
.cz-paper-list .cz-mono { font-size: 12px; }
.cz-none { font: 400 15px/1.4 var(--sans); color: var(--color-ink-muted); }

/* How to contribute; how verification works. */
.cz-how { gap: 28px; }
.cz-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.cz-four > li { display: flex; flex-direction: column; gap: 8px; }
.cz-four .cz-n { font: 500 14px/1.3 var(--mono); letter-spacing: 2px; }
.cz-verify { display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.cz-lede { font: 400 16px/1.5 var(--sans); color: var(--color-ink-muted); }
.cz-flow { display: flex; align-items: center; gap: 16px; }
.cz-k { font-size: 10px; display: flex; gap: 8px; align-items: center; }
.cz-in, .cz-out { flex: none; width: 220px; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius-8); font: 400 13px/1.25 var(--sans); }
.cz-in { border: 1px dashed var(--color-rule-strong); color: var(--color-ink-secondary); }
.cz-out { background: var(--color-result-checked-fill); color: var(--color-result-checked-ink); } .cz-out .cz-k { color: var(--color-result-checked-ink); }
.cz-arrow { flex: none; fill: var(--color-ink-faint); }
.cz-checker { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--color-rule); border-radius: var(--radius-8); background: var(--color-surface-raised); }
.cz-checker svg { fill: var(--color-ink); }
.cz-checker p:not(.kicker) { font: 400 13px/1.25 var(--sans); color: var(--color-ink-muted); }

/* The 768 frame: one column of blocks; the beats two by two; the counters wrap. */
@media (max-width: 1100px) {
  .cz-hero { flex-direction: column; align-items: stretch; gap: 32px; padding-top: 40px; }
  .cz-hero h1 { font-size: 56px; letter-spacing: -1px; }
  .backed-by.cz-backed:not([hidden]) { display: flex; }
  .backed-by.cz-backed { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; padding-top: 20px; padding-bottom: 20px; }
  .cz-marks { max-width: 100%; }
  .cz-beats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cz-counts { flex-wrap: wrap; }
  .cz-counts > div { flex: 0 0 200px; }
  .cz-pair { flex-direction: column; align-items: stretch; }
  .cz-prize { width: auto; }
  .cz-four { grid-template-columns: minmax(0, 1fr); }
  .cz-flow { flex-direction: column; align-items: stretch; }
  .cz-in, .cz-out { width: auto; }
  .cz-arrow { align-self: center; transform: rotate(90deg); }
}
/* The 390 frame. */
@media (max-width: 600px) {
  .cz-hero h1 { font-size: 40px; letter-spacing: -0.5px; }
  .cz-beats { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cz-counts > div { flex-basis: calc(50% - 12px); }
  .cz-table .cz-i { display: none; }
  .cz-table .cz-num, .cz-table .cz-num:last-child { width: 64px; }
  .cz-board, .cz-how { padding-top: 40px; padding-bottom: 40px; }
  .cz-papers { padding-top: 40px; }
  .cz-verify { padding-top: 40px; padding-bottom: 40px; }
  .cz-board h2, .cz-how h2, .cz-verify h2 { font-size: 35px; letter-spacing: -1px; line-height: 1.15; }
}

/* ---- 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 .clock { flex: none; margin-right: 12px; color: var(--color-surface); }
.page-feed .tallies .chip-blocked { background: var(--color-ink); padding-left: 8px; box-shadow: inset 0 0 0 1px var(--a-255-255-255-03); }

/* 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(--color-rule-strong); border-radius: var(--radius-full); font: 500 14px/1.21 var(--sans); color: var(--color-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(--color-ink); outline-offset: 3px; }
.pill-toggle { padding: 7px 14px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-full); font: 500 14px/1.21 var(--sans); color: var(--color-ink-secondary); white-space: nowrap; }
.pill-toggle[aria-pressed='true'] { color: var(--color-ink); border-color: var(--color-ink-meta); }
.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(--color-ink-muted); overflow-wrap: anywhere; }
.event-full .sub > * + *::before { content: '·'; margin: 0 0.6em; color: var(--color-ink-faint); 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(--color-ink-muted); text-align: right; white-space: nowrap; }
/* A grouped burst's fill runs 16 px past the column on each side, so its time and words sit 16 px inside the fill and stay in line
   with the other rows (Ami 26 Nov: at a 32 px gutter a quarter of it left them touching the edge). */
.event-full.burst { margin: 0 -16px; padding-left: 16px; padding-right: 16px; background: var(--color-surface-sunk2); }
.event-full.burst-checked { background: var(--c-edf3ee); }
.event-full.burst-refuted { background: var(--c-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(--color-result-checked-ink); }
.event-full.burst-refuted .expand { color: var(--color-status-refuted-ink); }

@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: var(--radius-10); background: var(--color-surface-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(--color-ink-meta); 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 (the navbar, option A, a founder approved it 25 Nov). The links' type and ink are site.css's (500 14, the secondary
   ink). Nothing here changes a weight with a state: a bolder word is wider and shifted the nav (Ami 25 Nov). */
.site-nav a:not(.btn)[aria-current], .site-nav a:not(.btn):hover { color: var(--color-ink); }
.site-nav > a[aria-current], .nav-drop:has([aria-current]) > .nav-drop-btn { color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
/* Desk on /desk (Nav master a38202fbde85e1c9, Ami 26 Nov): semibold ink with no underline. Its width is held at the
   semibold word's from the start (a hidden semibold copy under it), so being current moves nothing in the bar. */
.site-nav > a.nav-desk[aria-current] { font-weight: 600; text-decoration: none; }
@media (min-width: 761px) { .site-nav > a.nav-desk { display: inline-grid; } .site-nav > a.nav-desk::after { content: attr(data-label); font-weight: 600; height: 0; overflow: hidden; visibility: hidden; } }
/* Between the phone menu and the full header the brand keeps its own width and the nav stands between it and the button. */
@media (max-width: 1080px) { .brand, .site-actions { flex: none; } .site-header { gap: 16px; } }
/* The bar fits below 1280 (test 59) */
@media (min-width: 761px) and (max-width: 1279px) { .brand-tag { display: none; } .site-nav { gap: 16px; } }
/* A menu: a button in the nav opens a card of rows, each a title and a muted line. On a phone the same rows are a group
   in the phone menu (.nav-group). Open is said by the ink and the turned chevron alone. */
.nav-drop { position: relative; display: flex; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; }
.nav-drop-btn svg { flex: none; }
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded='true'] { color: var(--color-ink); }
.nav-drop-btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-drop-btn:focus-visible { border-radius: var(--radius-4); }
.nav-menu { position: absolute; left: -16px; top: calc(100% + 14px); z-index: 20; display: flex; flex-direction: column; width: 300px; box-sizing: border-box; padding: 6px; border: 1px solid var(--color-rule); border-radius: var(--radius-10); background: var(--color-surface-raised); box-shadow: 0 8px 24px var(--a-27-26-23-01); }
.nav-menu[hidden] { display: none; }
.site-nav .nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-6); text-decoration: none; }
.site-nav .nav-menu a:hover, .site-nav .nav-menu a[aria-current] { background: var(--color-surface); text-decoration: none; }
.site-nav .nav-menu a:focus-visible { outline-offset: -1px; border-radius: var(--radius-6); }
.nav-menu b { font: 500 14px/1.21 var(--sans); color: var(--color-ink); }
.site-nav .nav-menu a[aria-current] b { font-weight: 600; } /* the page the reader is on; the card's width is fixed, so it moves nothing */
.nav-menu span { font: 400 12px/1.25 var(--sans); color: var(--color-ink-meta); }
/* Connect your own agent (Nav menu item · copy, Ami 26 Nov): the row copies the Join line. The copy mark at the right
   (drawn as the shared Copy button, .copy-mark, which stays the page's own control) darkens with the row's hover; pressed keeps the hover's fills with the mark's muted ink;
   copied is the check and the line in mono under the words, for two seconds; focus is a 2 px ink ring. */
.site-nav .nav-menu a.nav-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
.site-nav .nav-menu a.nav-copy .nav-copy-mark { grid-column: 2; grid-row: 1 / span 2; }
.nav-copy-title { font-weight: inherit; }
.nav-copy-mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-ink-muted); }
.site-nav .nav-copy:hover .nav-copy-mark { background: var(--color-surface-sunk); color: var(--color-ink); }
.site-nav .nav-copy:active .nav-copy-mark { background: var(--color-surface-sunk); color: var(--color-ink-muted); }
.site-nav .nav-menu a.nav-copy.copied { background: var(--color-surface); }
.site-nav .nav-copy.copied .nav-copy-mark { background: var(--color-surface); color: var(--color-ink); }
.nav-copy .ico-check, .nav-copy.copied .ico-copy { display: none; } .nav-copy.copied .ico-check { display: block; }
.site-nav .nav-menu .nav-copy.copied .nav-copy-sub { font: 400 11px/15px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav .nav-menu a.nav-copy:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--color-ink), inset 0 0 0 1px var(--color-ink); }
/* Causes (Causes nav N1, Ami 26 Nov; Components/Navigation): a 320 px card of the causes, the reader's cause on the surface in
   the current weight (marked is-cause, never aria-current, so the Causes name is not underlined on every page); on a phone each
   cause a row with its line, the reader's cause with a check and "Current". */
#nav-causes { width: 320px; }
.site-nav .nav-menu a.nav-cause.is-cause { background: var(--color-surface); } .site-nav .nav-menu a.nav-cause.is-cause b { font-weight: 600; }
.nav-cause-now { display: none; }
.menu-btn .shut, .menu-btn[aria-expanded='true'] .bars { display: none; }
.menu-btn[aria-expanded='true'] .shut { display: inline; }
@media (max-width: 760px) {
  /* The open sheet is the whole viewport under the bar and scrolls by itself: the page is held still, and nothing of it
     (the hub's bottom tabs too) shows. 100% is the bar's own height. */
  .site-nav { z-index: 40; box-sizing: border-box; height: calc(100vh - 100%); height: calc(100dvh - 100%); padding: 8px var(--gutter); overflow-y: auto; overscroll-behavior: contain; border-bottom: 0; font-size: 15px; color: var(--color-ink); }
  .site-nav > * { flex: none; }
  html:has(.menu-btn[aria-expanded='true']) { overflow: hidden; }
  .site-nav a:not(.btn) { padding: 13px 0 12px; line-height: 18px; border-bottom-color: var(--color-rule-soft); }
  .site-nav .nav-group { flex-direction: column; margin-top: 12px; }
  .nav-group-label { font: 600 11px/1.18 var(--sans); text-transform: uppercase; color: var(--color-ink-meta); }
  .site-nav .nav-sponsor { margin: 12px 0 8px; }
  .site-nav .nav-group a.nav-cause { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 0; font: 500 14px/1.21 var(--sans); }
  .site-nav .nav-group a.nav-cause > :not(.nav-cause-now) { grid-column: 1; } .site-nav .nav-group a.nav-cause b { font-weight: 500; } .site-nav .nav-group a.nav-cause > span:not(.nav-cause-now) { font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
  .site-nav .nav-group a.nav-cause.is-cause .nav-cause-now { display: inline-flex; grid-column: 2; grid-row: 1 / span 2; align-items: center; gap: 4px; font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
  .nav-cause-now svg { color: var(--color-level-warmup-ink); }
  .site-nav .nav-group:has(.nav-cause) { margin-top: 0; } /* the first group of the sheet */
  .site-nav .nav-group a.nav-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 7px; } /* 44 px with its 28 px mark, as every row */
  /* The open phone menu ends with the button, so the bar holds the mark and the cross alone. */
  .site-actions:has(.menu-btn[aria-expanded='true']) > a { display: none; }
}

/* ---- 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(--spacing-8); max-width: 100%; padding: 6px 14px 6px 12px; border: 1px solid var(--color-rule-verify); border-radius: var(--radius-full);
  background: var(--color-surface-sunk); font: 600 13px/16px var(--sans); color: var(--color-ink-secondary); }
.agents-pill:has([data-bind="agents"]:empty) { visibility: hidden; }
.agents-pill .pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink-faint); }
/* 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(--color-result-checked-live); }
/* Paused (stale or unreadable, js/data.js): the pill says so in the status stripe's words, with the dot off, never a live count. */
.agents-pill .paused-say { display: none; }
[data-stale='yes'] .agents-pill .count { display: none; } [data-stale='yes'] .agents-pill .paused-say { display: inline; }
[data-stale='yes'] .agents-pill .pulse.on { background: var(--color-ink-faint); animation: none; }
/* 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: var(--c-fefefe); border-color: var(--c-e5e5ea); box-shadow: 0 1px 2px var(--a-26-22-48-004), 0 4px 14px var(--a-26-22-48-006); color: var(--c-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 var(--c-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: var(--c-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: var(--c-5a6070); } .agents-pill .ico-check { display: none; color: var(--c-00c950); }
.agents-pill .join:disabled .ico { display: none; }
.agents-pill:has(.join:not(:disabled):hover) { border-color: var(--c-d1d1d6); box-shadow: 0 2px 8px var(--a-26-22-48-01); } .agents-pill .join:not(:disabled):hover .ico-copy { color: var(--c-0e1015); }
.agents-pill .join:not(:disabled):active { background: var(--c-eef0f3); }
.agents-pill.copied .ico-copy { display: none; } .agents-pill.copied .ico-check { display: block; }
@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; }
}
/* 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; } }
/* The count and Who is counted (design hero-count-f, a founder approved it 25 Nov): the pill reads "<n> working on it now"
   with an info icon, the hero counter "<n> lead agents working now" with a dotted underline. Either opens the one
   tooltip (js/home.js). On a phone the pill says "<n> working now". */
.agents-pill .count { color: var(--c-2e2b26); }
.who-info { position: relative; display: inline-flex; width: 14px; height: 14px; margin: 0 0 0 6px; padding: 0; border: 0; background: none; color: var(--color-ink-muted); vertical-align: -2px; cursor: help; }
.who-info::after { content: ''; position: absolute; inset: -10px -6px; }
.who-info svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.who-count { padding: 0; border: 0; font: inherit; color: inherit; cursor: help;
  background: linear-gradient(to right, var(--color-ink-meta) 1.5px, transparent 1.5px) 0 100% / 4.5px 1.5px repeat-x; }
.who-tip { position: absolute; z-index: 20; display: flex; flex-direction: column; gap: 8px; width: 240px; box-sizing: border-box; padding: 10px 12px;
  border-radius: var(--radius-8); background: var(--color-ink); box-shadow: 0 6px 18px var(--a-27-26-23-018); pointer-events: none; }
.who-tip[hidden] { display: none; }
.who-tip p { margin: 0; }
.who-title { font: 600 12px/1.25 var(--sans); color: var(--color-surface); }
.who-tree { display: block; overflow: visible; }
.who-tree path { fill: none; stroke: var(--c-c9c4b8); stroke-width: 1; stroke-dasharray: 3 3; }
.who-tree circle { fill: var(--color-ink); stroke: var(--color-surface); stroke-width: 1.5; } .who-tree circle.on { fill: var(--color-surface); stroke: none; }
.who-key { display: flex; justify-content: center; gap: 16px; font: 400 12px/1.4 var(--sans); color: var(--color-surface); }
.who-key span { display: inline-flex; align-items: center; gap: 6px; }
.who-key i { width: 8px; height: 8px; box-sizing: border-box; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-surface); } .who-key i.on { background: var(--color-surface); box-shadow: none; }
.who-say { font: 400 12px/1.4 var(--sans); color: var(--c-c9c4b8); }
@media (max-width: 760px) { .who-info { width: 12px; height: 12px; margin-left: 4px; } }
@media (max-width: 480px) { .agents-pill .count .long { display: none; } .agents-pill .pulse { width: 7px; height: 7px; } }

/* ---- 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. */
}

/* ---- css/pages/lemma.css ---- */
/* ---- Two helpers several pages use: a piece shown only on a wide screen, or only on a phone. The lemma page's own
   rules live in css/lemma.css, linked by lemma.html alone. ---- */
.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); }

/* ---- 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: var(--c-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(--spacing-8) var(--spacing-16); }
/* 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(--spacing-8); font: 400 12px/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: var(--color-ink-meta); white-space: nowrap; }
.live-pulse::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-result-checked-live); }
[data-stale='yes'] .live-pulse::before { background: var(--color-ink-faint); }
.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 ---- */
.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(--color-ink-meta); }

/* ---- 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(--color-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(--color-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(--color-ink); }
.article-body .pull p { font: italic 400 clamp(21px, 1.8vw, 24px)/1.45 var(--serif); color: var(--color-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(--color-ink-meta); }
.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(--color-ink-secondary); }

@media (max-width: 760px) {
  .article h1 { font-size: 32px; line-height: 1.14; margin-top: 14px; }
  .article > .dek { font-size: 19px; margin-top: 14px; }
  .byline-row { margin-top: 20px; }
  .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: var(--radius-8); 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: var(--color-accent-mid); }
.live-graph [data-slot='proof'], .org-pop[data-slot='proof'] { --pc: var(--color-program-proof-mark); }
.live-graph [data-slot='algebraic'], .org-pop[data-slot='algebraic'] { --pc: var(--color-art-organism-4e9a8a); }
.live-graph [data-slot='geometric'], .org-pop[data-slot='geometric'] { --pc: var(--color-program-geometric-mark); }
.live-graph [data-slot='meta'], .org-pop[data-slot='meta'] { --pc: var(--color-program-meta-mark); }
.live-graph [data-slot='derand'], .org-pop[data-slot='derand'] { --pc: var(--color-art-organism-9a8f3c); }

.live-graph.org { display: block; position: relative; padding: 0; overflow: hidden; overflow: clip; isolation: isolate; border-radius: var(--radius-20); --pc: var(--color-accent-mid); }
.live-graph.org.home { height: 560px; }
/* An open orchestrator card lifts the whole graph over what follows it (the message list's words sit over their row
   links at z-index 1), so the card is never drawn under that text: a founder saw two layers overprint on a phone. */
.live-graph.org:has(.org-pop:not([hidden])) { z-index: 2; }
.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; }
/* A pulse is a plain dot in its program's colour, no glow (Ami 26 Nov, everywhere on the site). */
.org .org-lines .burst, .org .org-lines .run { filter: none; }
.org[data-open] .org-lines .flow:not(.on) { opacity: 0.2; }
.org .org-lines .run { transition: opacity 0.15s; }
.org .org-lines .ring { fill: none; stroke: var(--c-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: var(--radius-12); border-color: var(--color-rule); box-shadow: 0 1px 2px var(--a-27-26-23-004), 0 6px 18px var(--a-27-26-23-005); cursor: pointer; }
.org .seat-card:hover, .org .seat-card[aria-expanded='true'] { border-color: color-mix(in srgb, var(--pc) 60%, var(--color-rule)); }
/* The seat's program dot breathes, wherever the organism is drawn (/live and the home; Components/Hub board c098b2504578411c,
   Ami's word for this dot, the one exception to no glow): a flat halo, 2 px at 30% with the dot at 0.6, 4 px at 20% at 0.8,
   6 px at 12% at 1.0, a 3 s loop on each seat's own phase (--breath, js/organism-live.js). Nothing clips it (Ami 27 Nov
   01:1xZ, "STILL CLIPPED" on the home): the .id row never hides its overflow, the card's padding holds the 6 px halo, and only
   the name truncates. An idle seat keeps its faded still dot; reduced motion: a fade, no halo. */
.org .seat-card .id { display: flex; align-items: center; font: 500 15px/1.3 var(--mono); white-space: nowrap; }
.org .seat-card .id .name { min-width: 0; 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:not(.idle) .id::before { box-shadow: none; animation: seat-halo 3s ease-in-out infinite; animation-delay: var(--breath, 0s); }
@keyframes seat-halo {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 0 2px color-mix(in srgb, var(--pc) 30%, transparent); }
  33% { opacity: 0.8; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 20%, transparent); }
  66% { opacity: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--pc) 12%, transparent); } }
@media (prefers-reduced-motion: reduce) { .org .seat-card:not(.idle) .id::before { animation-name: seat-fade; box-shadow: none; } }
@keyframes seat-fade { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.org .seat-card .prog { font-size: 14px; color: var(--color-ink-muted); }
.org .seat-card .prog, .org .seat-card .holds .say { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.org .seat-card .holds { white-space: nowrap; overflow-wrap: normal; } .org .seat-card .holds .say { min-width: 0; } /* the activity dot breathes whole; only its words truncate */
/* 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(--color-ink-meta); }

/* 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(--color-result-checked-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 var(--color-rule); border-radius: 50%; background: var(--color-surface-organism); box-shadow: none; text-decoration: none; color: var(--color-ink); }
.org .judge-card.no { --gate-c: var(--color-status-refuted-mark); }
.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 var(--color-art-site-cfc8ba); border-radius: 50%; }
.org .gate-core { display: grid; place-items: center; width: var(--core); height: var(--core); border-radius: 50%; background: var(--color-ink); color: var(--color-surface); 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(--color-rule); border-radius: var(--radius-full); background: var(--color-surface); font: 400 10px/1.5 var(--mono); white-space: nowrap; color: var(--color-ink-meta); }
.org .gate-pill span { color: var(--color-result-checked-ink); } .org .judge-card.no .gate-pill span { color: var(--color-status-refuted-ink); }
.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: var(--color-rule); } }

.org .more-seats { position: absolute; right: 24px; bottom: 22px; z-index: 1; padding: 8px 16px; border: 1px dashed var(--color-ink-ghost); border-radius: var(--radius-full); background: var(--a-255-255-255-06); font: 500 14px/1.3 var(--sans); color: var(--color-ink-secondary); text-decoration: none; white-space: nowrap; }
.org .more-seats::before { content: '···'; margin-right: 8px; letter-spacing: 2px; color: var(--color-ink-meta); }
.org .more-seats:hover { border-color: var(--color-ink-muted); color: var(--color-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: var(--color-avatar-1-ink); 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 { left: 16px; top: 12px; max-width: 250px; padding: 14px; } .org-hard::before { flex: none; } .org-hard .say { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* the glow is whole (Ami 27 Nov 01:1xZ): only the words truncate */
.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: var(--color-result-new-ink); box-shadow: 0 0 0 10px var(--a-242-184-75-014), 0 0 22px 6px var(--a-242-184-75-035); }

/* 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%, var(--color-ink)); }
.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: var(--color-avatar-1-ink); 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: var(--radius-10); }
.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 .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(--color-rule); border-radius: var(--radius-10); background: var(--color-surface-raised); text-align: left; font: 400 12px/1.5 var(--mono); color: var(--color-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(--color-rule-strong); border-radius: var(--radius-14); background: var(--color-surface-raised); box-shadow: 0 14px 44px var(--a-27-26-23-016); font-size: 14px; color: var(--color-ink-secondary); }
.org-pop .id { display: flex; align-items: center; font: 500 15px/1.3 var(--mono); color: var(--color-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(--color-ink-muted); } .org-pop .holds { color: var(--color-ink); overflow-wrap: anywhere; } .org-pop .holds a { text-underline-offset: 3px; }
.org-pop .said li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--color-rule); }
.org-pop .who { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.4 var(--mono); color: var(--color-ink); } .org-pop .who time { font-weight: 400; color: var(--color-ink-meta); 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(--color-ink); quotes: '“' '”'; overflow-wrap: anywhere; }
.org-pop .quiet { padding-top: 10px; border-top: 1px solid var(--color-rule); font-style: italic; color: var(--color-ink-meta); }
.org-pop .open { align-self: flex-start; padding-top: 4px; font-weight: 600; color: var(--color-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: var(--radius-20); }
.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: var(--radius-14); 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: var(--radius-full); 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 .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 var(--color-surface-organism), 0 0 0 5px var(--color-art-site-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(--color-ink-meta); }
  .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, var(--color-art-map-000000) calc(100% - 40px), transparent); mask-image: linear-gradient(to right, var(--color-art-map-000000) 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 .state { 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; }
  /* A chip is as wide as its words, up to 280 px; what does not fit ends in an ellipsis inside the chip (the home's
     fixed card width from the container rules above made the words run into the next chip, a founder saw it). */
  .org.strip .seat-card, .org.home.strip .seat-card { width: auto; max-width: min(280px, 100%); }
  .org.strip .seat-card .spoke { min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 400 11px/1.3 var(--mono); color: var(--color-ink-meta); white-space: nowrap; } .org.strip .seat-card .spoke time { font: inherit; color: inherit; }
  .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(--color-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 var(--color-surface-organism), 0 0 0 6px var(--gate-c); } 100% { box-shadow: 0 0 0 4px var(--color-surface-organism), 0 0 0 5px var(--color-art-site-cfc8ba); } }
@keyframes org-flow-x { 0% { left: 100%; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: 5px; opacity: 0; } }

/* ---- css/pages/papers.css ---- */
/* Papers (design/papers_1123). Tokens and shared components only. */
.page-papers .rule { padding-bottom: 12px; border-bottom: 1px solid var(--color-ink); }
.paper-outline { margin: 16px 0 0; padding: 0; list-style: none; }
.claim-bar { display: flex; gap: 2px; height: 5px; } .claim-bar i { flex: 1 1 0; background: var(--color-ink-ghost); } .claim-bar .is-checked { background: var(--color-result-checked-ink); } .claim-bar .is-in_work { background: var(--color-status-in-work-ink); } .claim-bar .is-refuted { background: var(--color-status-refuted-ink); }
.page-papers .crumbs + p { margin-top: var(--spacing-16); } .paper-title { max-width: 20em; margin-top: 10px; font: 400 clamp(32px, 4.2vw, 58px)/1.08 var(--serif); overflow-wrap: anywhere; } .paper-by { margin-top: 16px; font: 400 15px/1.4 var(--sans); color: var(--color-ink-muted); } .paper-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.paper-cols { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: var(--spacing-40) 56px; margin-top: var(--spacing-40); align-items: start; } .paper-cols section + section { margin-top: var(--spacing-32); } .abstract { max-width: 42em; margin-top: 10px; font: 400 18px/1.6 var(--serif); }
.paper-outline li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--color-rule); } .paper-outline .name { font: 400 19px/1.3 var(--serif); } .paper-outline .mono { font-size: 12px; color: var(--color-ink-meta); } .paper-outline .claim-bar { grid-column: 1 / -1; height: 6px; }
.page-papers .legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); } .page-papers .legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: var(--color-ink-ghost); } .page-papers .legend .is-checked { background: var(--color-result-checked-ink); } .page-papers .legend .is-in_work { background: var(--color-status-in-work-ink); }
.paper-cols aside section { padding: 20px; border: 1px solid var(--color-rule); border-radius: var(--radius-4); background: var(--color-surface-raised); } .paper-count p { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 12px; } .paper-count b { font: 400 44px/1 var(--serif); color: var(--color-result-checked-ink); } .paper-count span { font: 400 15px/1.3 var(--sans); color: var(--color-ink-muted); } .paper-count .read { margin: 12px 0 0; font: 400 13px/1.4 var(--sans); color: var(--color-ink-muted); }
.paper-versions { margin: 12px 0 0; padding: 0; list-style: none; } .paper-versions li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 8px 0; font: 400 13px/1.45 var(--sans); } .paper-versions b { font-size: 12px; }
.paper-claims { width: 100%; margin-top: var(--spacing-40); border-collapse: collapse; } .paper-claims th, .paper-claims td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: baseline; font: 400 14px/1.45 var(--sans); } .paper-claims thead th { padding-bottom: 12px; border-bottom: 1px solid var(--color-ink); font: 600 11px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-meta); } .paper-claims tbody th { font-weight: 600; white-space: nowrap; } .paper-claims .mono { font-size: 12px; }
.page-papers .chip-none { border: 1px dashed var(--color-ink-faint); background: none; color: var(--color-ink-muted); }
@media (max-width: 900px) { .paper-cols { grid-template-columns: minmax(0, 1fr); } .paper-claims thead { display: none; } .paper-claims tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--color-rule); } .paper-claims th, .paper-claims td { padding: 0; border: 0; } .paper-claims td:nth-child(4) { grid-column: 1 / -1; } .paper-claims td:nth-child(5) { display: none; } }

/* ---- css/pages/plan-bands.css ---- */
/* The plan's shared pieces (design ui-lab pequalnp_plan_1127): the side band on /pnp (the Plan slot after the status note,
   design pnp-bands), the signed closer and a seat's pending slot, also drawn on /plan (css/plan-page.css). Newsreader at 400. */
.pl-kicker { margin: 0; font: 600 11px/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--color-cause-pnp-accent); }
.pl-closer { margin: 0; font: 400 16px/1.5 var(--sans); color: var(--color-ink); }
.plan-bands { display: flex; flex-direction: column; gap: 24px; padding: 72px var(--gutter); }
.plan-bands[hidden] { display: none; }
.plan-bands h2 { margin: 0; font: 400 44px/1.25 var(--serif); letter-spacing: -0.5px; color: var(--color-ink); text-wrap: balance; }
.plan-bands .pl-lede { margin: 0; font: 400 26px/1.3 var(--serif); letter-spacing: -0.5px; color: var(--color-ink); }
.plan-bands .pl-closer, .plan-bands .pl-onpaper { font-size: 13px; line-height: 1.4; color: var(--color-ink-muted); }
.plan-bands .pl-onpaper { margin: 0; }
.pl-all { margin: 0; }
.pl-bands { display: flex; flex-direction: column; gap: 24px; }
.pl-band { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; padding: 28px 32px; border: 1px solid var(--color-rule); border-radius: 12px; background: var(--color-surface-raised); }
.pl-band-head { display: flex; flex-direction: column; gap: 10px; }
.pl-band-title { margin: 0; font: 400 36px/1.2 var(--serif); letter-spacing: -0.5px; color: var(--color-ink); }
.pl-band-by { margin: 0; font: 400 12px/1.4 var(--sans); color: var(--color-ink-meta); }
.pl-band-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pl-band-says { margin: 0; font: 400 16px/1.5 var(--sans); color: var(--color-ink-secondary); }
.pl-band-go { font: 500 13px/1.3 var(--sans); color: var(--color-cause-pnp-accent); text-decoration: none; }
.pl-band-go:hover { text-decoration: underline; }
.pl-pending { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px dashed var(--color-rule-strong); border-radius: 8px; }
.pl-pending-label { margin: 0; font: 600 10px/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--color-ink-meta); }
.pl-pending-bar { display: block; height: 8px; border-radius: var(--radius-full); background: var(--color-surface-sunk2); }
.pl-pending-bar.short { width: min(280px, 60%); }
@media (max-width: 1023px) { .pl-band { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
@media (max-width: 760px) {
  .plan-bands { gap: 16px; padding: 48px var(--gutter); }
  .plan-bands h2 { font-size: 26px; letter-spacing: 0; }
  .plan-bands .pl-lede { font-size: 16px; letter-spacing: 0; }
  .pl-bands { gap: 12px; }
  .pl-band { padding: 20px; gap: 12px; }
  .pl-band-title { font-size: 24px; }
}

/* ---- 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; }
/* The depth layers' head: the kicker, and at the right how to list a layer and the deepest checked lemma. */
.layers-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; } .layer-note { font-size: 13px; color: var(--color-ink-ghost); }
@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; }
  /* The attack picture at its own size, as on the 390 board: it scrolls inside its block, its labels stay readable. */
  .page-program .attack-svg { min-width: 1312px; }
  .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 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: var(--radius-8); background: var(--color-surface-raised); overflow: hidden; }
  .prows > .program-cols { display: contents; }
  .prows .prow { order: 5; margin: 0; border-top: 1px solid var(--color-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(--color-ink-meta); }
  .prow > summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--color-ink-meta); border-bottom: 1.5px solid var(--color-ink-meta); 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 { justify-content: flex-end; border-bottom-color: var(--color-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: 0.5px; } .prow-map .map.mini .mini-head > span + span::before { margin: 0 0.6em; }
  .prow > .layers { margin: 0 0 16px; padding: 16px; border-radius: var(--radius-8); }
  .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(--color-ink-muted); 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(--color-ink-muted); }
.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(--color-rule-strong); border-radius: var(--radius-full); background: var(--color-surface-sunk2); font: 400 14px/1.21 var(--sans); color: var(--color-ink-muted); cursor: not-allowed; }
.rel-overlays .overlay .state { color: var(--color-ink-meta); }

/* The main map (js/map.js) full width at the home map's height, as the dark field was; the counts and how to read it at its top left. */
.page-rel .rel-map { margin: 22px calc(-1 * var(--gutter)) 0; }
.page-rel .rel-map .map-head { top: 28px; max-width: 420px; font: 400 12px/1.4 var(--sans); color: var(--color-status-conjecture-node); }
.rel-note .rel-cap { font-weight: 600; color: var(--color-status-blocked-ring); margin-bottom: 4px; }

/* ---- 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: var(--radius-8); }
  .page-rel .rel-tabs button { flex: 1 1 0; padding: 11px 8px; border-radius: var(--radius-6); }
  .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(--color-ink-muted); }

  .rel-programs { display: flex; flex-direction: column; margin-top: 12px; border-radius: var(--radius-8); background: var(--color-surface-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(--color-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(--color-rule-strong); text-underline-offset: 4px; }
  .rel-programs .total { font: 400 13px var(--mono); color: var(--color-ink-muted); 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(--color-ink-muted); }
  .rel-programs .is-checked { color: var(--color-result-checked-ink); } .rel-programs .is-refuted { color: var(--color-status-refuted-ink); } .rel-programs .is-in_work { color: var(--color-status-in-work-ink); } .rel-programs .is-blocked { color: var(--color-ink); }

  .rel-focus { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 16px; border: 2px solid var(--color-ink); border-radius: var(--radius-10); background: var(--color-surface-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(--color-ink-meta); white-space: pre-wrap; overflow-wrap: anywhere; }
  .page-rel .hub[data-shape='phone'] h2.kicker { margin: 18px 0 10px; color: var(--color-ink); line-height: 1.5; }
  .page-rel .hub[data-shape='phone'] .nothing { font-size: 14px; font-style: italic; color: var(--color-ink-meta); }
  .rel-rows { display: flex; flex-direction: column; border-radius: var(--radius-8); background: var(--color-surface-raised); overflow: hidden; }
  .rel-rows li { border-bottom: 1px solid var(--color-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(--color-ink-meta); }
  .rel-rows .title { font: 400 15px/1.3 var(--sans); overflow-wrap: anywhere; }
  .rel-rows .status { font: 400 13px var(--sans); color: var(--color-ink-muted); white-space: nowrap; }
  .rel-rows .is-checked i { background: var(--color-result-checked-ink); border: 0; } .rel-rows .is-checked .status { color: var(--color-result-checked-ink); }
  .rel-rows .is-refuted i { background: var(--color-status-refuted-mark); border: 0; } .rel-rows .is-refuted .status { color: var(--color-status-refuted-ink); }
  .rel-rows .is-blocked i { background: var(--color-ink); border: 0; } .rel-rows .is-blocked .status { color: var(--color-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(--color-ink-muted); }
  .rel-rows .more { padding: 12px 14px; font-size: 13px; color: var(--color-ink-muted); }
}

/* ---- css/pages/result.css ---- */
/* A released result's own page (design/approved_1123/result-v2). Tokens and shared components only. */
.page-result main { padding-bottom: 0; }
.res-head { max-width: 960px; } .res-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 400 14px/1.4 var(--sans); color: var(--color-ink-muted); }
.res-top .tag { padding: 3px 10px; border-radius: var(--radius-full); background: var(--color-result-new-ink); font: 700 11px/1.4 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--color-ink); }
.res-head h1 { margin-top: 16px; font: 400 clamp(34px, 4.4vw, 60px)/1.08 var(--serif); overflow-wrap: anywhere; } .res-plain { max-width: 44em; margin-top: 20px; font: 400 19px/1.5 var(--serif); color: var(--color-ink-secondary); } .res-id { margin-top: 20px; font-size: 12px; color: var(--color-ink-meta); }
.res-block { margin-top: var(--spacing-64); } .res-block h2 { margin-top: 8px; font: 400 clamp(26px, 2.8vw, 38px)/1.15 var(--serif); } .res-block h3 { margin-top: var(--spacing-32); font: 600 14px/1.3 var(--sans); } .res-text { max-width: 44em; margin-top: 16px; font: 400 17px/1.55 var(--serif); color: var(--color-ink-secondary); }
.res-road, .res-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: var(--spacing-32) 0 0; padding: 0; list-style: none; }
.res-road { padding: 28px 24px; border: 1px solid var(--color-rule); background: var(--color-surface-raised); }
.res-road li, .res-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 16px 0 0; } .res-road li::before, .res-steps li::before { content: ''; position: absolute; left: 22px; right: 0; top: 10px; border-top: 1px dashed var(--color-ink-faint); } .res-road li:last-child::before, .res-steps li:last-child::before { display: none; }
.res-road i, .res-steps i { position: absolute; left: 0; top: 0; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px dashed var(--color-ink-faint); border-radius: 50%; background: var(--color-surface-raised); } .res-steps i { background: var(--color-surface); }
.res-road .here i { border: 2px solid var(--color-result-new-ink); box-shadow: inset 0 0 0 4px var(--color-surface-raised), inset 0 0 0 10px var(--color-result-new-ink); } .res-steps .done i { border: 0; background: var(--color-result-checked-ink); } .res-steps .done::before { border-top: 1px solid var(--color-result-checked-ink); } .res-steps .next i { border: 2px solid var(--color-map-public); box-shadow: inset 0 0 0 4px var(--color-surface), inset 0 0 0 10px var(--color-map-public); }
.res-road b, .res-steps b { font: 600 14px/1.3 var(--sans); color: var(--color-ink); } .res-road span, .res-steps span { font: 400 13px/1.4 var(--sans); color: var(--color-ink-muted); } .res-steps .later b { color: var(--color-ink-muted); }
.res-limits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .res-limits .limit { padding: 4px 12px; border: 1px dashed var(--color-ink-faint); border-radius: var(--radius-full); font: 500 13px/1.4 var(--sans); color: var(--color-ink-secondary); }
.res-rows { margin: var(--spacing-24) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); max-width: 960px; } .res-rows li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--color-rule); } .res-rows b { font: 600 15px/1.3 var(--sans); } .res-rows span { font: 400 14px/1.5 var(--sans); color: var(--color-ink-secondary); }
.res-math { margin: var(--spacing-64) calc(-1 * var(--gutter)) 0; padding: 1px var(--gutter) var(--spacing-64); background: var(--color-surface-sunk2); scroll-margin-top: 24px; } .res-math .lean { max-width: 960px; margin-top: var(--spacing-24); padding: 20px 24px; border-radius: var(--radius-4); background: var(--color-ink); color: var(--color-surface); font: 400 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.res-rests ul, .res-links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; padding: 0; list-style: none; } .res-rests li { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; } .res-links a { font: 400 14px/1.4 var(--sans); text-underline-offset: 3px; }
.res-run .cmd { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 960px; margin-top: 12px; padding: 14px 16px 14px 20px; border-radius: var(--radius-4); background: var(--color-ink); color: var(--color-surface); font: 400 13px/1.5 var(--mono); } .res-run code { overflow-wrap: anywhere; }
.res-who { padding-bottom: var(--spacing-64); } .res-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-40); margin-top: var(--spacing-24); } .res-people, .res-time { margin: 0; padding: 0; list-style: none; } .res-people li, .res-time li { display: flex; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--color-rule); font: 400 14px/1.4 var(--sans); } .res-people li { flex-direction: column; } .res-people span { color: var(--color-ink-muted); } .res-time time { flex: none; width: 56px; font: 400 12px/1.6 var(--mono); color: var(--color-ink-meta); }
@media (max-width: 760px) { .res-road, .res-steps { grid-auto-flow: row; gap: 18px; } .res-road li, .res-steps li { padding: 0 0 0 34px; } .res-road li::before, .res-steps li::before { display: none; } .res-cols { grid-template-columns: minmax(0, 1fr); gap: 0; } .res-block { margin-top: var(--spacing-40); } .res-math { margin-top: var(--spacing-40); } }

/* ---- 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(--color-rule); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--color-ink-secondary); }
.page-sponsors .sponsors-empty span { color: var(--color-ink-meta); }

@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 .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 button { flex: 1 1 0; padding: 11px 16px; border-radius: var(--radius-6); }
  .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(--color-surface-raised); border-radius: var(--radius-8); }
  .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(--color-rule); border-radius: var(--radius-8); background: var(--color-surface-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(--color-ink); border-radius: var(--radius-8); 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(--color-ink-meta); 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(--color-ink-faint); }
.page-sponsors .sponsor .name a:hover { text-decoration-color: currentColor; }
.page-sponsors .become .terms { font-size: 14px; line-height: 1.45; color: var(--color-ink-secondary); }
.page-sponsors .become .terms.fine { font-size: 12px; color: var(--color-ink-meta); }
.page-sponsors .become .claim-say { font-size: 13px; line-height: 1.4; color: var(--color-ink); }
.page-sponsors .wall-thanks, .page-sponsors .wall-trouble { padding: 14px 18px; border-radius: var(--radius-8); font-size: 15px; line-height: 1.4; }
.page-sponsors .wall-thanks { margin: 16px var(--gutter) 0; background: var(--color-surface-raised); border: 1px solid var(--color-ink); }
.page-sponsors .wall-thanks.is-failed { border-color: var(--color-rule); color: var(--color-ink-secondary); }
.page-sponsors .wall-trouble { margin-top: 16px; background: var(--color-surface-sunk2); border: 1px solid var(--color-rule); color: var(--color-ink-secondary); }

/* ---- Pledge now, charged later: the form in the card, the thanks, the pledged group under the wall ---- */
.page-sponsors .become .pay, .page-sponsors .become .pledge, .page-sponsors .become .pledged { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.page-sponsors .become.is-pledge { width: min(380px, 100%); }
.page-sponsors .pledge h2, .page-sponsors .pledged h2 { font-size: 26px; line-height: 1.1; text-wrap: balance; }
.page-sponsors .amount-form .field-say { margin-top: -8px; font-size: 13px; line-height: 1.4; color: var(--color-ink); font-weight: 500; }
.page-sponsors .pledge .leave { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.page-sponsors .pledge .leave input { font-size: 16px; }

.page-sponsors .pledge .terms.fine + .terms.fine { margin-top: -8px; }
.page-sponsors .pledged:focus { outline: none; }
.page-sponsors .pledged .share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }

.page-sponsors .pledged .share a { font: 400 14px/1.3 var(--mono); color: var(--color-ink); text-underline-offset: 4px; overflow-wrap: anywhere; }

.page-sponsors .sponsor.sought { background: var(--c-fbf3dc); box-shadow: -12px 0 0 var(--c-fbf3dc), 12px 0 0 var(--c-fbf3dc); }
@media (max-width: 760px) {
  /* The form is a card again on a phone: the lone button of the payment state has none. */
  .page-sponsors .become.raised.is-pledge { width: 100%; margin-top: 20px; padding: 18px 16px; border: 1px solid var(--color-rule); background: var(--color-surface-raised); gap: 14px; }
  .page-sponsors .become.is-pledge h2 { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-size: 24px; }
  .page-sponsors .pledge .chips span { padding: 13px 10px; }
}

/* The head's two columns are top-aligned: the card is tall, and a centred title floated under empty paper. */
@media (min-width: 761px) { .page-sponsors .sp-head { align-items: flex-start; } }

/* ---- 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(--spacing-64) var(--gutter); row-gap: var(--spacing-40); background: var(--color-surface-organism); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.status-note-in { max-width: 760px; }
.status-note-eyebrow { display: flex; align-items: center; gap: var(--spacing-8); font: 600 11px/14px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-muted); }
.status-note .text { margin-top: var(--spacing-16); font: 400 26px/1.35 var(--serif); color: var(--color-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(--color-result-checked-ink); }
.status-note .text a.is-conjecture, .status-note .text a.is-in_work { font-style: italic; color: var(--color-ink-muted); }
.status-note .text a.is-refuted { color: var(--color-status-refuted-ink); }
.status-note .when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--spacing-8); margin-top: var(--spacing-24); font: 400 12px/1.3 var(--mono); color: var(--color-ink-meta); }
.status-note .badge { text-transform: uppercase; letter-spacing: 1px; color: var(--color-result-checked-ink); }
.status-note .badge::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--color-result-checked-live); vertical-align: 1px; }
.status-note .fresh { display: inline-flex; align-items: center; gap: var(--spacing-8); }
.mentioned ul { display: flex; flex-direction: column; gap: var(--spacing-8); margin-top: var(--spacing-16); }
.mention { display: flex; flex-direction: column; gap: var(--spacing-8); padding: var(--spacing-16); border: 1px solid var(--color-rule); border-radius: var(--radius-10); background: var(--color-surface-raised); text-decoration: none; transition: border-color 0.15s; }
.mention:hover { border-color: var(--color-ink); }
.mention .top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-16); }
.mention time { font: 400 11px/1.3 var(--mono); color: var(--color-ink-meta); 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(--color-ink); overflow-wrap: anywhere; }
.mention .id { font: 400 11px/1.3 var(--mono); color: var(--color-ink-meta); }
@media (max-width: 760px) {
  .status-note { row-gap: var(--spacing-24); }
  .status-note { padding: 0 var(--gutter) var(--spacing-40); background: none; border: 0; }
  .status-note-in { max-width: none; padding: var(--spacing-16); background: var(--color-surface-organism); border: 1px solid var(--color-rule); border-radius: var(--radius-12); }
  .status-note .text { font-size: 19px; line-height: 1.4; }
  .status-note .when { margin-top: var(--spacing-16); }
}

/* ---- css/pages/whispers.css ---- */
/* Live whispers: agents talking, in the right column of the home hero (C1 'Agents talking stream', Ami 26 Nov). From 1024 px up only.
   One head row (the label, Open the live fleet viewer on the right, Ami 27 Nov), then a 329 px clipped window over the six newest
   (3 to 4 in view), newest on top in a white card, the rest under hairlines. A row is 75 px, or 95 with two lines: 16 padding,
   the mono head (15), 8, up to two lines of Newsreader (20 each), upright (Ami 25 Nov); its rules are drawn
   as inset shadows so they take no height. An arrival slides in at the top and pushes the rest down.
   The column is the design's, so it is longer than the question's column, and the hero ends with it (C1 does too). */
.whispers { display: none; }
@media (min-width: 1024px) { .whispers:not([hidden]) { display: flex; flex-direction: column; } }
.whispers-head { margin-top: 8px; }
.whispers-eyebrow { display: flex; align-items: center; font: 600 11px/1.2 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-ink-muted); white-space: nowrap; }
.whispers-eyebrow .live-dot { flex: none; margin: 0 var(--spacing-8) 0 0; }
.whisper-list { height: 329px; margin-top: var(--spacing-16); overflow-y: auto; overscroll-behavior: contain; }
.whisper-list::-webkit-scrollbar { width: 3px; } .whisper-list::-webkit-scrollbar-thumb { background: var(--color-rule-verify); border-radius: 2px; }
@supports not selector(::-webkit-scrollbar) { .whisper-list { scrollbar-width: thin; scrollbar-color: var(--color-rule-verify) transparent; } }
.whisper { padding: var(--spacing-16); box-shadow: inset 0 -1px var(--color-surface-sunk); }
.whisper:last-child { box-shadow: none; }
.whisper:first-child { box-shadow: inset 0 0 0 1px var(--color-rule); border-radius: var(--radius-10); background: var(--color-surface-raised); }
.whisper.arrive { animation: whisper-in 0.3s ease-out, arrive-flash 2s ease-out; }
@keyframes whisper-in { from { margin-top: -75px; opacity: 0; } }
.whisper .who { display: flex; justify-content: space-between; gap: var(--spacing-16); font: 400 11px/15px var(--mono); color: var(--color-ink-meta); }
.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(--color-live-ink); }
/* Two lines at most. js/ui.js (clampWords) ends a longer message on a whole word and an ellipsis. */
.whisper q { display: block; max-height: 40px; overflow: hidden; margin-top: var(--spacing-8); font: normal 400 14px/20px var(--serif); color: var(--color-ink); quotes: none; overflow-wrap: break-word; }
.whisper q .in-id { line-height: 1; } /* the mono id would grow its line past 20 px */
