/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Lumen (deal 2/3, seed json-tidier-developers-paste-26a4·441ce2ef·2026-12-05·r2) · job: try · draw: manual
 * hero: the head over the tool's well (sentence case, the house rule, in place of the theme's lowercase), the paste box beside the result · nav: edge-aligned, the wordmark and two links · footer: a ruled note over the credit lines · imagery: none, the product is the picture · signature: the first error named by line and column, its own line of text printed beneath with the place marked · lumen: night, the blueprint grid left out (owner rule: no texture behind text)
 * axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, two tools and a short list each; the well with the two boxes carries the look */
/* Hallmark · waive 38iii · the hero head · the one verb draws its underline once, as Lumen prescribes */
/* Hallmark · waive 44c · both tools · the well with the two boxes is the first screen's visual, straight under the head */
/* Hallmark · waive 77 · every page · a tool and a few lines on reading it, not a landing strip */
:root {
  color-scheme: dark;
  --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(72% 0.15 27); --color-success: oklch(76% 0.13 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(12.5% 0.027 290); --color-paper-2: oklch(16% 0.03 290); --color-paper-3: oklch(20% 0.032 290);
  --color-ink: oklch(96% 0.01 300); --color-ink-2: oklch(85% 0.017 298); --color-muted: oklch(69% 0.026 295);
  --color-rule: oklch(27% 0.034 290); --color-rule-2: oklch(36% 0.04 292); --rule-blueprint: oklch(96% 0.01 300 / 0.05);
  --color-accent: oklch(80% 0.15 62); --color-accent-2: oklch(72% 0.15 12); --color-accent-ink: oklch(14% 0.028 290);
  --color-live: oklch(80% 0.13 155); --color-focus: oklch(80% 0.15 62);
  --font-display: "Instrument Serif", ui-serif, Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 28px 64px -30px oklch(4% 0.02 290 / 0.8);
  --tracking-display: -0.015em; --display-weight: 400;
}

*, *::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 ink-2 */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-ink-2); 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.08); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper); mix-blend-mode: lighten; pointer-events: none; }

:root { --color-mark: oklch(72% 0.15 27 / 0.3); }

@font-face { font-family: "Geist"; src: url("/fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
h1, h2 { font-weight: 400; color: var(--color-ink); line-height: 0.98; }
h2 { font-size: var(--text-display-s); }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); }
a:hover { text-decoration-color: var(--color-accent); }
code { font: 400 0.875em var(--font-outlier); color: var(--color-ink); }

.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-muted); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--color-ink-2); }
.bar__nav a:hover { color: var(--color-ink); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.4em; }

.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero .tool { margin-top: var(--space-xl); }
.hero h1 { font-size: clamp(3rem, 7vw, 6.25rem); max-width: 15ch; }
.hero .lead { margin-top: var(--space-md); max-width: 44ch; }
.verb { display: inline-block; color: var(--color-accent-2); }
.verb::after { content: ""; display: block; height: var(--rule-hair); background: currentColor; transform-origin: left; animation: draw var(--dur-long) var(--ease-out) both; }
@keyframes draw { from { transform: scaleX(0); } }

/* the well: the controls, the two boxes, the readout */
.well { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.tool { padding: var(--space-lg); display: grid; gap: var(--space-md); }
.tool__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); border: 0; margin: 0; padding: 0; min-width: 0; }
.pills label { position: relative; display: inline-flex; }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out); }
.pills label:hover span { background: var(--color-paper-3); }
.pills input:checked + span { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; font-weight: 500; }
.pills input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.find { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink-2); }
.find input { min-height: 44px; width: 14rem; max-width: 100%; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 400 0.875rem var(--font-outlier); }
.find input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); color: var(--color-ink); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; }
.panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.pane { display: grid; gap: var(--space-xs); min-width: 0; }
.pane__h { font-size: var(--text-sm); color: var(--color-muted); }
.pane textarea { display: block; width: 100%; min-height: 20rem; padding: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font: 400 0.8125rem/1.6 var(--font-outlier); tab-size: 4; white-space: pre; overflow: auto; resize: vertical; }
.pane textarea[readonly] { color: var(--color-ink-2); }
.pane textarea.soft { white-space: pre-wrap; overflow-wrap: anywhere; }
.pane textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.say { font: 400 0.8125rem/1.6 var(--font-outlier); color: var(--color-ink-2); }
.say p { max-width: 72ch; }
.say__ok::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: var(--space-xs); border-radius: 50%; background: var(--color-live); vertical-align: 1px; }
.say__no { color: var(--color-ink); }
.say__no::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: var(--space-xs); border-radius: 50%; background: var(--color-error); vertical-align: 1px; }
.err { display: grid; gap: var(--space-sm); }
.err__h { color: var(--color-ink); max-width: 72ch; }
.where { margin: 0; padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink-2); font: 400 0.8125rem/1.7 var(--font-outlier); white-space: pre; overflow-x: auto; }
.where__n { color: var(--color-muted); user-select: none; }
.where mark { background: var(--color-mark); color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-error); padding: 0 1px; }
.where mark.where__gap { font-style: italic; color: var(--color-muted); }

.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 18ch; }
.head .lead { margin-top: var(--space-md); max-width: 56ch; }

.sec { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.sec h2 + * { margin-top: var(--space-lg); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-md) var(--space-xl); }
.steps li { padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-muted); max-width: 40ch; }
.steps b { color: var(--color-ink); font-weight: 500; }

.foot { border-top: var(--rule-hair) solid var(--color-rule); }
.foot__in { padding-block: var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

/* the deeper pages: breadcrumbs, quoted rules, code before and after, tables, lists of links */
.crumbs ol { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule-2); }
.crumbs a { color: var(--color-ink-2); display: inline-flex; min-height: 24px; align-items: center; }
.ref { font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.ref:hover { color: var(--color-ink); }
.sec h3 { margin-top: var(--space-xl); }
.sec h3 + * { margin-top: var(--space-md); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); max-width: 72ch; }
.rules li { padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.rules b { display: block; margin-bottom: var(--space-2xs); color: var(--color-ink); font-weight: 500; }
.rules q { color: var(--color-ink-2); }
.code { margin: 0; min-width: 0; display: grid; gap: var(--space-xs); align-content: start; }
.code figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.code pre { margin: 0; padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); font: 400 0.8125rem/1.65 var(--font-outlier); tab-size: 4; white-space: pre; overflow-x: auto; }
.code pre code { font: inherit; color: inherit; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.changes { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); max-width: 72ch; }
.tbl-wrap { overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.tbl thead th { color: var(--color-muted); font-weight: 500; background: var(--color-paper-2); white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl th[scope="row"] { color: var(--color-ink); font-weight: 500; white-space: nowrap; }
.muted { color: var(--color-muted); }
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-sm) var(--space-xl); }
.index li { display: grid; gap: var(--space-3xs); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.index a { color: var(--color-ink); font-weight: 500; }
.index span { font-size: var(--text-sm); color: var(--color-muted); }
.index--col { grid-template-columns: minmax(0, 1fr); }
.lines { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.lines li { padding: var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.lines li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.index--3 { grid-template-columns: repeat(auto-fill, minmax(max(15rem, calc((100% - 2 * var(--space-xl)) / 3)), 1fr)); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.grid2 h3 { margin-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); max-width: 72ch; }
.ticks li { position: relative; padding-left: var(--space-xl); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border: var(--rule-hair) solid var(--color-muted); border-radius: 4px; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; }
.cases li { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); align-items: baseline; padding: var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.cases__k { min-width: 13rem; font-size: var(--text-sm); color: var(--color-muted); }
.cases code.cases__k { color: var(--color-muted); }
.cases code { overflow-wrap: anywhere; }
.panes--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .panes--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panes--three > :last-child { grid-column: 1 / -1; } }
.tbl th[scope="row"] { position: sticky; left: 0; background: var(--color-paper); }
.register { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-lg); max-width: 76ch; }
.register__claim { color: var(--color-ink); font-weight: 500; }
.register blockquote { margin: var(--space-xs) 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); }
.register__src { font-size: var(--text-sm); color: var(--color-muted); }
.register li:target blockquote { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-accent); }

@media (max-width: 860px) {
  .panes { grid-template-columns: minmax(0, 1fr); }
  .pane textarea { min-height: 0; height: 12rem; }
  .pair, .grid2 { grid-template-columns: minmax(0, 1fr); }
}
/* on paper: dark ink on white, no bar or foot */
@media print {
  :root { --color-paper: oklch(99% 0.005 290); --color-paper-2: oklch(97% 0.006 290); --color-ink: oklch(16% 0.02 290); --color-ink-2: oklch(24% 0.02 290); --color-muted: oklch(40% 0.02 290); --color-rule: oklch(82% 0.01 290); --color-rule-2: oklch(72% 0.01 290); }
  .bar, .foot, .skip, .crumbs { display: none; }
  .sec { padding-block: var(--space-md); }
}
@media (max-width: 600px) {
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr { display: block; }
  .tbl--stack tr { padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .tbl--stack tbody tr:last-child { border-bottom: 0; }
  .tbl--stack th, .tbl--stack td { display: block; padding: var(--space-3xs) 0; border: 0; }
  .tbl--stack th[scope="row"] { position: static; padding-bottom: var(--space-2xs); }
  .tbl--stack td[data-k]::before { content: attr(data-k) ": "; color: var(--color-muted); }
  .hero { padding-top: var(--space-xl); }
  .tool { padding: var(--space-md); }
  .find { display: grid; gap: var(--space-2xs); width: 100%; }
  .find input { width: 100%; }
  .head { padding-block: var(--space-xl) var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .verb::after { animation: none; }
  .btn, .pills span { transition: none; }
}
