/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Blueprint (deal 1/3, seed taste-independent-reference-three-5ed1·264c610f·2026-11-24·r0) · job: try · draw: c0a6aa
 * hero: Banner · nav: slab, the wordmark and five links on a darker bar over a heavy line · footer: colophon block, set as the sheet's title block with the page's name and the day it was revised · imagery: the product (a pair of drafted specimens whose choice writes a line of the file, the file printed as a sheet with its line numbers, the checker's marks) and quoted sentences in double keylines; no photographs · signature: a preference drawn as two specimens with their measure, and the line each choice writes · blueprint: cyanotype
 * axes: mid/geometric-sans/neutral · posture: drenched · copy: verbatim · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S4 R4 V4 · weakest: H, a sheet of registers can read as one grey of text, so every head is drafted capitals at section size, each page opens on a working drawing or one short quotation, and the rows and the title-block cells never follow each other in one skeleton */
/* Hallmark · answered F1 · the straight marks sit inside quotations and lines of files, printed exactly as their authors set them */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(35% 0.105 256); --color-paper-2: oklch(31% 0.10 257); --color-paper-3: oklch(26.5% 0.095 258);
  --color-ink: oklch(97% 0.012 240); --color-ink-2: oklch(90% 0.025 242); --color-muted: oklch(80% 0.045 244);
  --color-rule: oklch(93% 0.02 240 / 0.85); --color-rule-2: oklch(93% 0.02 240 / 0.32);
  --color-grid: oklch(97% 0.01 240 / 0.09); --color-grid-2: oklch(97% 0.01 240 / 0.2);
  --color-accent: oklch(97% 0.012 240); --color-accent-ink: oklch(33% 0.105 256); --color-focus: oklch(97% 0.012 240);
  --font-display: "Chakra Petch", ui-sans-serif, sans-serif; --font-body: "IBM Plex Sans", ui-sans-serif, sans-serif;
  --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 2px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 600; --sheet-inset: 20px; --tick: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone paper-3 ink con=30 exp=-10 */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-ink); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.3) brightness(0.9); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper-3); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Chakra Petch"; src: url("/fonts/chakra-petch-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bar-h: 64px; --row-h: 9.5rem;
  --text-banner: clamp(2.5rem, 3.6vw + 1rem, 4.5rem);
  --text-row: clamp(1.375rem, 0.7vw + 1.1rem, 1.75rem);
  --text-value: clamp(1.375rem, 0.9vw + 1.05rem, 1.875rem);
  --text-quote: clamp(1.75rem, 2vw + 0.9rem, 2.75rem);
}

/* ---- type ---------------------------------------------------------------------------------------------------------- */
body { color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); }
h1, h2 { text-transform: uppercase; line-height: 1.02; }
h1 { max-width: none; font-size: var(--text-banner); }
h3 { max-width: none; font-size: var(--text-row); line-height: 1.15; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
small, figcaption, th, label, legend, .btn, .ref, .crumbs, .slab nav, .tool__note, .opt__foot, .pair__q, .progress__n, .scale__ends, .finds, .sheet__mark, .sheet__more, .doc__meta, .register dt, .register__on, .glance dt, .tblock__meta, .tblock__own, .wire__where, .wire__note { font-family: var(--font-body); font-weight: 500; }
.num, code, pre, .sheet__text { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; }
a { transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: transparent; }
.lead { max-width: 40ch; color: var(--color-ink); }
.ref { font-size: var(--text-xs); line-height: 1.3; color: var(--color-muted); white-space: nowrap; }
.ref + .ref { margin-left: var(--space-xs); }
.nowrap { white-space: nowrap; }
a.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-accent-ink); transform: translateY(-300%); }
a.skip:focus { transform: none; }
.nojs { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink); }
.js .nojs { display: none; }

/* ---- controls ------------------------------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: none; color: var(--color-ink); font-size: var(--text-md); line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink-2); }
.field { display: grid; gap: var(--space-2xs); min-width: 0; }
.field > span, .seg legend { font-size: var(--text-sm); line-height: 1.3; color: var(--color-ink-2); }
.field input, .field textarea { width: 100%; min-width: 0; height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); }
.field textarea { height: auto; min-height: 17rem; padding-block: var(--space-sm); font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-sm); line-height: 1.6; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--color-paper-3); }
.field input:disabled, .field textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); opacity: 1; }
.seg { min-width: 0; margin: 0; padding: 0; border: 0; }
.seg legend { padding: 0; margin-bottom: var(--space-2xs); }
.seg__row { display: flex; flex-wrap: wrap; row-gap: var(--space-2xs); }
.seg label { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-right: -1px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.seg label:hover { background: var(--color-paper-3); }
.seg label:active { transform: translateY(1px); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-accent-ink); }
.seg input:focus-visible + label { position: relative; z-index: var(--z-base); outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg input:disabled + label { opacity: 0.5; cursor: not-allowed; }

/* a pair: two radios, each labelled by its drafted specimen; the chosen one carries the line's fill under it */
.opts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.opt { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.opt:hover { background: var(--color-paper-3); }
.opt:active { transform: translateY(1px); }
.opts input:focus-visible + .opt { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.opts input:disabled + .opt { opacity: 0.5; cursor: not-allowed; }
.opt__fig { display: grid; place-items: center; min-width: 0; aspect-ratio: 8 / 5; padding: var(--space-md); }
.builder .opt__fig { aspect-ratio: 2 / 1; }
.opt__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 48px; padding: var(--space-xs) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-md); line-height: 1.2; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.opts input:checked + .opt .opt__foot { background: var(--color-ink); color: var(--color-accent-ink); }
.opt__dim { font-size: var(--text-sm); white-space: nowrap; }
.opt__say { font-size: var(--text-lg); line-height: 1.3; text-align: center; text-wrap: balance; }
.opt__code { font-size: var(--text-sm); line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.spec { width: auto; max-width: 100%; height: 100%; max-height: 100%; }
.spec .l { fill: none; stroke: var(--color-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spec .h { fill: none; stroke: var(--color-muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spec .h2 { fill: none; stroke: var(--color-ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spec .f { fill: var(--color-ink); }
.spec .h2f { fill: var(--color-muted); }
.spec .g { fill: var(--color-paper-3); }
.spec .p { fill: var(--color-paper); }

/* ---- the slab -------------------------------------------------------------------------------------------------------- */
.slab { background: var(--color-paper-3); border-bottom: var(--rule-heavy) solid var(--color-rule); }
.slab__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--bar-h); }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--color-ink); text-decoration: none; }
.slab nav { display: flex; flex-wrap: wrap; }
.slab nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); font-size: var(--text-md); line-height: 1; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.slab nav a:hover { text-decoration: underline; }
.slab nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---- the head: a banner, the text on six columns, a drawing or one quotation on five ----------------------------------- */
.head__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-2xl) var(--space-xl); }
.head--plain .head__in { grid-template-columns: minmax(0, 1fr); }
.head--plain .head__in { padding-top: var(--space-xl); }
.head--plain h1 { font-size: var(--text-display); }
.head__note { max-width: 62ch; margin-top: var(--space-lg); font-size: var(--text-md); line-height: 1.6; color: var(--color-ink-2); }
.head__text .lead { margin-top: var(--space-lg); }
.head__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.crumbs { margin-bottom: var(--space-xs); font-size: var(--text-sm); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-muted); }
.head__panel { min-width: 0; }

/* a figure: a keyline, and a second one five units inside */
.fig { position: relative; margin: 0; border: var(--rule-hair) solid var(--color-rule); }
.fig::after { content: ""; position: absolute; inset: 5px; border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.pull { display: grid; align-content: space-between; gap: var(--space-xl); min-height: 21rem; padding: var(--space-xl); }
.pull blockquote { margin: 0; }
.pull blockquote p { max-width: none; font-size: var(--text-quote); line-height: 1.16; color: var(--color-ink); text-wrap: balance; }
.pull--m blockquote p { font-size: var(--text-2xl); line-height: 1.2; }
.pull--s blockquote p { font-size: var(--text-xl); line-height: 1.3; }
.pull--say { min-height: 24rem; }
.pull--say blockquote p { font-size: var(--text-quote); line-height: 1.16; }
.pull figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---- sections: every one a split, the head on the left under a heavy line, the proof on the right ---------------------- */
.sec { padding-top: var(--section-gap); }
.sec--l { padding-top: var(--section-gap-l); }
.sec--s { padding-top: var(--section-gap-s); }
.head + .sec { padding-top: calc(var(--space-2xl) + var(--space-md)); }
.sec__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.sec--b .sec__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.sec__head { position: sticky; top: var(--space-xl); display: grid; gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-heavy) solid var(--color-rule); }
.sec__head .lead { max-width: 26ch; }
.sec__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-sm); }
.sec__body { min-width: 0; }

.rows { margin: 0; padding: 0; list-style: none; border-top: var(--rule-heavy) solid var(--color-rule); }
.rows > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-xs) var(--gap-columns); align-content: center; align-items: baseline; min-height: var(--row-h); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.rows p { max-width: none; font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink); }
.row__ref { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); }
.rows .row__ref { display: flex; margin-top: var(--space-xs); }
.glance { margin: 0; border: var(--rule-hair) solid var(--color-rule); }
.glance > div { display: grid; align-content: space-between; gap: var(--space-md); min-height: var(--row-h); padding: var(--space-md) var(--space-lg) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.glance > div:last-child { border-bottom: 0; }
.glance dt { font-size: var(--text-sm); line-height: 1.3; color: var(--color-muted); }
.glance dd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin: 0; }
.glance__v { max-width: 26ch; font-size: var(--text-value); line-height: 1.2; color: var(--color-ink); text-wrap: balance; }

.tablewrap { min-width: 0; }
.table { width: 100%; border: var(--rule-hair) solid var(--color-rule); border-collapse: collapse; }
.table th, .table td { padding: var(--space-md) var(--space-lg); text-align: left; vertical-align: middle; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.table thead th { font-size: var(--text-sm); color: var(--color-muted); border-bottom: var(--rule-heavy) solid var(--color-rule); }
.table tbody th { font-size: var(--text-lg); line-height: 1.2; color: var(--color-ink); }
.table td { height: 4.5rem; font-size: var(--text-md); color: var(--color-ink); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }

/* a sheet: a file printed with its name, its length and the numbers of the lines shown */
.sheet { padding: var(--space-lg) var(--space-lg) var(--space-md); background: var(--color-paper-2); }
.sheet__bar { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-ink); }
.sheet__body { display: grid; }
.sheet__row { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; max-width: none; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); line-height: 1.6; }
.sheet__row:last-child { border-bottom: 0; }
.sheet--marked .sheet__row { grid-template-columns: 2rem minmax(0, 5fr) minmax(0, 4fr); min-height: 4.5rem; align-items: center; }
.sheet--marked .sheet__row:last-child { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.sheet__n { color: var(--color-muted); text-align: right; }
.sheet__row code { color: var(--color-ink); overflow-wrap: anywhere; }
.sheet__mark { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); font-size: var(--text-md); color: var(--color-ink); }
.sheet__mark b { font-weight: 500; }
.sheet__more { max-width: none; padding-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.sheet__text { margin: 0; padding-top: var(--space-md); max-height: min(60vh, 34rem); overflow: auto; font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }

.band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); color: var(--color-ink-2); border-block: var(--rule-hair) solid var(--color-rule-2); }
.band .sec__head { position: static; }
.band .sheet { background: var(--color-paper); color: var(--color-ink-2); }


/* ---- the tools --------------------------------------------------------------------------------------------------------- */
.tool { padding: var(--space-xl); background: var(--color-paper-2); }
.tool__note { font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.tool__go { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pair { display: grid; gap: var(--space-md); padding: var(--space-lg); }
.pair__q { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.pair__q b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--color-ink); }
.pair__out { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-md); min-height: 3rem; max-width: none; font-size: var(--text-md); color: var(--color-ink); }
.pair__out code { font-size: var(--text-sm); }
.pair__out a { white-space: nowrap; }

.builder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.builder__work { display: grid; gap: var(--space-lg); min-width: 0; }
.builder__file { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-md); min-width: 0; }
.progress { display: grid; gap: var(--space-sm); }
.progress__n, .scale__ends { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); max-width: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.dim { position: relative; height: var(--rule-hair); margin-block: calc(var(--tick) / 2); background: var(--color-rule); }
.dim::before, .dim::after { content: ""; position: absolute; top: calc(var(--tick) / -2); width: var(--rule-hair); height: var(--tick); background: var(--color-rule); transform: rotate(45deg); }
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim i { position: absolute; top: calc(var(--tick) / -2); left: calc(var(--at, 0) * 100%); width: 3px; height: var(--tick); margin-left: -1px; background: var(--color-ink); }
.pairs { display: grid; gap: var(--space-sm); }
.pairstep { display: grid; gap: var(--space-lg); }
.builder__last { display: block; min-height: 1.6em; font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink); overflow-wrap: anywhere; }
.pairstep__q { font-size: var(--text-section); }
.pairstep--done { min-height: 16rem; align-content: center; }

.checker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.checker > .nojs { grid-column: 1 / -1; }
.checker__in, .checker__out { display: grid; gap: var(--space-md); min-width: 0; }
.scale { display: grid; gap: var(--space-sm); }
.checker__sum { max-width: none; font-size: var(--text-lg); line-height: 1.35; color: var(--color-ink); }
.finds { margin: 0; padding: 0; list-style: none; border-top: var(--rule-heavy) solid var(--color-rule); font-size: var(--text-md); line-height: 1.4; }
.finds > li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.finds__at { font-size: var(--text-sm); color: var(--color-muted); }
.finds__what { display: grid; gap: var(--space-3xs); font-weight: 400; color: var(--color-ink-2); }
.finds__what b { font-weight: 500; font-size: var(--text-lg); color: var(--color-ink); }
.finds code { grid-column: 2 / -1; font-size: var(--text-sm); color: var(--color-ink); overflow-wrap: anywhere; }

.wire { display: grid; gap: var(--space-lg); }
.wire__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-md) var(--gap-columns); align-items: start; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.wire__what, .wire__side { display: grid; gap: var(--space-md); min-width: 0; }
.wire__where { max-width: none; font-size: var(--text-lg); color: var(--color-ink); }
.wire__note { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.code { margin: 0; padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
/* one agent at a time where the browser can tell which is chosen; all six, one under another, where it cannot */
@supports selector(:has(*)) {
  .wire__panel { display: none; }
  .wire:has(#agent-claude:checked) [data-agent="claude"], .wire:has(#agent-gemini:checked) [data-agent="gemini"], .wire:has(#agent-codex:checked) [data-agent="codex"],
  .wire:has(#agent-cursor:checked) [data-agent="cursor"], .wire:has(#agent-copilot:checked) [data-agent="copilot"], .wire:has(#agent-agents:checked) [data-agent="agents"] { display: grid; }
}

/* ---- the register of sources ------------------------------------------------------------------------------------------- */
.sec--register .sec__body { display: grid; gap: var(--space-2xl); }
.doc h3 { font-size: var(--text-title); }
.doc__meta { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.register { margin: var(--space-md) 0 0; border-top: var(--rule-heavy) solid var(--color-rule); }
.register > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 6fr); gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-2); scroll-margin-top: var(--space-xl); }
.register > div:target { background: var(--color-paper-2); }
.register dt { font-size: var(--text-sm); line-height: 1.35; color: var(--color-muted); }
.register dd { margin: 0; }
.register blockquote { margin: 0; }
.register blockquote p { max-width: 56ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink); }
.register__on { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }

/* ---- the foot: the sheet's title block ------------------------------------------------------------------------------------ */
.foot { padding-block: var(--section-gap) var(--space-2xl); }
.band + .foot, main:has(> .band:last-child) + .foot { padding-top: var(--space-2xl); }
.tblock { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); border: var(--rule-heavy) solid var(--color-rule); }
.tblock > * { min-width: 0; padding: var(--space-lg); }
.tblock > * + * { border-left: var(--rule-hair) solid var(--color-rule); }
.tblock__name { display: grid; align-content: space-between; gap: var(--space-xl); }
.tblock__own { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink); }
.tblock__own span, .tblock__meta dt { font-size: var(--text-xs); color: var(--color-muted); }
.tblock__own a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-outlier); }
.tblock__say { max-width: none; font-size: var(--text-md); line-height: 1.6; color: var(--color-ink-2); }
.tblock__say a { color: var(--color-ink); }
.tblock__meta { display: grid; align-content: space-between; gap: var(--space-md); margin: 0; }
.tblock__meta dd { margin: 0; font-size: var(--text-md); color: var(--color-ink); }
.lost { padding-block: var(--space-4xl); }
.lost .lead { margin-top: var(--space-lg); }

/* ---- narrower screens ---------------------------------------------------------------------------------------------------- */
@media (max-width: 60rem) {
  :root { --row-h: 0px; }
  .head__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-xl) var(--space-lg); }
  .sec__in, .sec--b .sec__in, .builder, .checker, .wire__panel { grid-template-columns: minmax(0, 1fr); }
  .sec__head, .builder__file { position: static; }
  .sec__head .lead { max-width: 45ch; }
  .rows > li { grid-template-columns: minmax(0, 1fr); }
  .pull, .pull--say { min-height: 0; padding: var(--space-lg); }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr, .table tbody th, .table td { display: block; width: auto; }
  .table tr { padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table th, .table td { height: auto; padding: 0; border: 0; }
  .table td { margin-top: var(--space-xs); }
  .table td::before { content: attr(data-label); display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); }
  .sheet--marked .sheet__row { grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline; }
  .sheet--marked .sheet__mark { grid-column: 2; }
  .register > div { grid-template-columns: minmax(0, 1fr); }
  .tblock { grid-template-columns: minmax(0, 1fr); }
  .tblock > * + * { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .tblock__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .slab__in { flex-direction: column; align-items: flex-start; gap: 0; padding-block: var(--space-sm) var(--space-2xs); }
  .slab nav { margin-left: calc(var(--space-xs) * -1); }
  .slab nav a { padding-inline: var(--space-xs); }
  .tool { padding: var(--space-md); }
  .pair { padding: var(--space-md); }
  .opts { gap: var(--space-xs); }
  .opt__fig { padding: var(--space-xs); }
  .opt__foot { padding-inline: var(--space-xs); font-size: var(--text-sm); }
  .opt__say { font-size: var(--text-md); }
  .opt__code { font-size: var(--text-xs); }
  .finds > li { grid-template-columns: minmax(0, 1fr); }
  .finds code { grid-column: 1; }
  .sheet { padding: var(--space-md); }
}
