/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Dusk (deal 1/3, seed tyre-sizes-compared-type-1d8b·f09f8ccc·2026-12-05·r0) · job: try · draw: manual
 * hero: the head and the two size fields beside the answer on a lit slate panel · nav: edge-aligned, the wordmark and three links · footer: a ruled note over the credit lines · imagery: none, the answer on a lit slate panel · signature: the speedometer at a true 60 km/h, the one big figure under the ruled rows · dusk: no hour/periwinkle-apricot/glass, solid with its lit edge
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, one calculator and one reading page; the lit answer panel and the code taken apart carry the look */
/* Hallmark · waive 44c · the reading page, the sources page and the reference pages (models, charts, codes) · a short head stands over the code taken apart, the register, a table of sizes or a chart, each of which begins on the first screen */
/* Hallmark · waive 77 · every page · a calculator, a page on reading the code, a page per model, the charts, the code tables and the sources: a tool and its reference, not a landing strip */
/* Hallmark · dismissed F1 · the sources page · the straight quotation marks are inside sentences quoted word for word from Wikipedia, and a quote keeps its own marks */
/* Hallmark · dismissed 58 · the sources page, the charts, the code tables and the heads of the reference pages · the register is the quoted sentences with their sources, and a chart or code table is figures read for one row: lists a reader scans, not copy to cut; the paragraph in a reference page's head is its answer, kept whole */
/* imagery: Dusk's hour is a library photograph behind the hero; a tyre-size calculator has no honest photograph to show, so the hero is slate, and with nothing behind the answer to blur, its glass is a solid panel lifted by lightness with the lit edge */
: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(17.5% 0.014 268); --color-paper-2: oklch(21% 0.016 268); --color-paper-3: oklch(25% 0.017 268);
  --color-ink: oklch(96% 0.006 75); --color-ink-2: oklch(85% 0.010 262); --color-muted: oklch(70% 0.016 262);
  --color-rule: oklch(30% 0.016 266); --color-light: oklch(99% 0.005 268); --color-shade: oklch(10% 0.022 268);
  --color-accent: oklch(77% 0.10 274); --color-accent-ink: oklch(19% 0.035 274); --color-accent-hi: oklch(84% 0.085 274);
  --color-accent-deep: oklch(44% 0.13 274); --color-accent-soft: oklch(91% 0.038 274); --color-focus: oklch(80% 0.10 274);
  --color-accent-2: oklch(83% 0.095 62); --color-dusk: oklch(70% 0.12 330);
  --color-day-ink: oklch(22% 0.022 268); --color-day-muted: oklch(38% 0.022 266); --color-fog: oklch(94% 0.012 70);
  --color-well: oklch(95.5% 0.008 75); --color-well-2: oklch(92% 0.010 75); --color-well-ink: oklch(21% 0.016 268); --color-well-muted: oklch(47% 0.016 265); --color-well-rule: oklch(87.5% 0.009 75); --color-card: oklch(99.5% 0.003 75);
  --glass: oklch(22% 0.018 268 / 0.58); --glass-blur: 22px;
  --glass-hi: inset 0 1px 0 oklch(100% 0 0 / 0.10), inset 0 0 0 1px oklch(100% 0 0 / 0.06);
  --shadow-card: 0 1px 0 oklch(100% 0 0 / 0.06) inset, 0 40px 80px -32px oklch(8% 0.02 268 / 0.7);
  --font-display: "Wix Madefor Display", ui-sans-serif, system-ui, sans-serif; --font-body: "Wix Madefor Text", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 18px; --radius-inner: 10px; --radius-pill: 999px; --rule-hair: 1px;
  --tracking-display: -0.022em; --display-weight: 500;
}

*, *::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: natural con=4 vib=6 */
[data-slot] > img { filter: contrast(1.04) saturate(1.03); }

@font-face { font-family: "Wix Madefor Display"; src: url("/fonts/wix-madefor-display-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Wix Madefor Text"; src: url("/fonts/wix-madefor-text-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Wix Madefor Text"; src: url("/fonts/wix-madefor-text-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root { --color-split: color-mix(in oklab, var(--color-light) 8%, transparent); --color-field: color-mix(in oklab, var(--color-light) 5%, var(--color-paper-2)); }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2 { color: var(--color-ink); }
.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-muted); }
a:hover { color: var(--color-accent-hi); text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }

.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-weight: 500; font-size: var(--text-xl); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-accent); }
.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; font-weight: 500; color: var(--color-ink-2); }
.bar__nav a:active { transform: translateY(1px); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* the hero: the head and the fields on the left, the answer in glass on the right */
.hero { padding-block: var(--space-3xl) var(--section-gap-s); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.02; max-width: 11ch; }
.hero .lead { margin-top: var(--space-sm); color: var(--color-muted); max-width: 34ch; }
.tyre { margin-top: var(--space-xl); display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink-2); }
.field input { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: var(--tracking-display); color: var(--color-ink); height: 52px; width: 100%; max-width: 21rem; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-field); box-shadow: var(--glass-hi); transition: border-color var(--dur-short) var(--ease-out); }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-accent); }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.tyre__msg { min-height: 1.55em; font-size: var(--text-sm); color: var(--color-accent-2); }
.tyre__key { font-size: var(--text-sm); color: var(--color-muted); max-width: 34ch; }

/* the answer: ruled rows in smoked glass, then the comparison and the speedometer */
.panel { margin: 0; background: var(--color-paper-2); color: var(--color-ink-2); border-radius: var(--radius-card); box-shadow: var(--glass-hi), var(--shadow-card); padding: var(--space-lg) var(--space-xl) var(--space-xl); transition: opacity var(--dur-short) var(--ease-out); }
.panel[data-stale] { opacity: 0.5; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: var(--space-sm) 0 var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-split); text-align: right; vertical-align: baseline; }
.spec th:first-child { padding-left: 0; text-align: left; }
.spec thead th { padding-top: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); letter-spacing: var(--tracking-display); color: var(--color-ink); white-space: nowrap; }
.spec tbody th { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.spec td { font-size: var(--text-lg); color: var(--color-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.u { font-size: 0.8em; color: var(--color-muted); }
.cmp { margin-top: var(--space-lg); display: grid; gap: var(--space-2xs); }
.cmp__diff { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); }
.cmp__k { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.cmp__v { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); color: var(--color-accent-2); }
.cmp__t { color: var(--color-ink-2); }
.speedo { margin-top: var(--space-md); font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); }
.speedo__v { font-size: clamp(4rem, 8.5vw, 6.75rem); }
.speedo__u { font-size: var(--text-xl); color: var(--color-muted); }
.speedo__k { margin-top: var(--space-xs); color: var(--color-ink-2); max-width: 46ch; }

.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; max-width: 18ch; }
.head .lead { margin-top: var(--space-md); color: var(--color-muted); max-width: 56ch; }

.sec { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.sec--first { padding-top: var(--space-2xl); }
.sec h2 { font-size: var(--text-section); line-height: 1.05; }
.sec h2 + * { margin-top: var(--space-xl); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }
/* a split section: the head in the left third, the rows or the reading in the rest */
.sec--split .sec__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--space-2xl); align-items: start; }
.sec--split .sec__in > h2 { grid-column: 1; grid-row: 1 / span 4; }
.sec--split .sec__in > :not(h2) { grid-column: 2; margin-top: 0; }
.sec--split .sums, .sec--split .prose { max-width: none; }
.reading { display: grid; gap: var(--space-xs); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.reading__v { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.5rem, 7vw, 6rem); letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); }
.reading__u { font-size: var(--text-xl); color: var(--color-muted); }
.reading__k { color: var(--color-ink-2); max-width: 44ch; }

/* the sums, one ruled row each */
.sums { list-style: none; margin: 0; padding: 0; max-width: 76ch; border-top: 1px solid var(--color-rule); }
.sums li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.sums__k { font-weight: 500; color: var(--color-ink); }
.sums__v { color: var(--color-ink-2); font-variant-numeric: tabular-nums; }

/* the code taken apart: each part at display size over what it means */
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.parts li { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-md); border-top: 2px solid var(--color-accent); }
.parts__k { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 6vw, 5.25rem); letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); }
.parts b { display: block; font-weight: 500; color: var(--color-ink); }
.prose { display: grid; gap: var(--space-md); max-width: 64ch; }
.prose b { font-weight: 500; color: var(--color-ink); }

.register { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 70ch; }
.register__claim { margin: 0; color: var(--color-ink); font-weight: 500; }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-2); color: var(--color-ink-2); box-shadow: var(--glass-hi); }
.register blockquote p { margin: 0; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 66ch; }

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


/* the Menu toggle: the links sit in the bar on a wide screen; on a phone, Menu opens them over the page (#menu) */
.menu-link, .bar__nav .menu-close { display: none; }
.menu-link, .menu-close { min-height: 44px; align-items: center; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; }
.menu-link:hover, .menu-close:hover { border-color: var(--color-accent); color: var(--color-accent-hi); }

/* breadcrumbs over the head of a deep page */
.crumbs { margin-bottom: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule); }
.crumbs a { color: var(--color-ink-2); }
.head--deep h1 { max-width: 22ch; }

/* tables of sizes: ruled rows, figures to the right; wide tables scroll inside their own frame */
.tablewrap { overflow-x: auto; max-width: 100%; border-radius: var(--radius-inner); }
.tablewrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.sizes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sizes caption { caption-side: top; text-align: left; padding-bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.sizes th, .sizes td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: baseline; }
.sizes thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.sizes tbody th { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); letter-spacing: var(--tracking-display); color: var(--color-ink); white-space: nowrap; }
.sizes td { color: var(--color-ink-2); }
.sizes td.num { white-space: nowrap; color: var(--color-ink); }
.sizes--hub tbody th { font-family: var(--font-body); font-size: var(--text-md); letter-spacing: 0; }

/* the chart: a matrix, rows are widths, columns aspect ratios; a maker's size is lit */
.grid { border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--text-sm); }
.grid caption { caption-side: top; text-align: left; padding-bottom: var(--space-sm); color: var(--color-muted); }
.grid th, .grid td { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-rule); text-align: right; }
.grid thead th, .grid tbody th { font-weight: 500; color: var(--color-ink); background: var(--color-paper-2); }
.grid td { color: var(--color-ink-2); }
.grid td[data-maker] { background: var(--color-accent-deep); color: var(--color-light); }
.grid__d, .grid__c { display: block; }
.grid__d { color: var(--color-ink); font-weight: 500; }
.grid td[data-maker] .grid__d, .grid td[data-maker] .grid__c { color: var(--color-light); }
.grid__c { font-size: var(--text-xs); color: var(--color-muted); }
/* the width column stays in view while the aspect ratios scroll past */
.grid tbody th, .grid thead th:first-child { position: sticky; left: 0; z-index: var(--z-base); }
.head--deep { padding-bottom: var(--space-2xl); }
.head--deep + .sec { padding-top: var(--space-2xl); }
.sec__lead { max-width: 64ch; color: var(--color-ink-2); }
.sec__lead + .tablewrap, .sec__lead + .codes { margin-top: var(--space-lg); }

/* the code tables (load index, speed symbol): index and value pairs, four to a row on a wide screen and two on a phone, in order across */
.codes { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.codes th, .codes td { padding: var(--space-2xs) var(--space-lg) var(--space-2xs) 0; border-bottom: 1px solid var(--color-rule); text-align: left; }
.codes thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.codes__k { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.codes__v { color: var(--color-ink-2); padding-right: var(--space-xl); }

/* lists of links with a figure beside each */
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.links li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.links a { font-weight: 500; }
.links__v { color: var(--color-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .sec--split .sec__in { grid-template-columns: minmax(0, 1fr); }
  .sec--split .sec__in > h2, .sec--split .sec__in > :not(h2) { grid-column: 1; grid-row: auto; }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bar__in { flex-wrap: nowrap; }
  .menu-link { display: inline-flex; margin-left: auto; }
  .bar__nav { position: fixed; inset: 0; display: none; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: var(--space-3xl) var(--gutter) var(--space-xl); background: var(--color-paper); z-index: var(--z-modal); overflow-y: auto; }
  .bar__nav:target { display: flex; }
  .bar__nav a { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); border-bottom: 1px solid var(--color-rule); }
  .bar__nav .menu-close { display: inline-flex; position: absolute; top: var(--space-md); right: var(--gutter); font-family: var(--font-body); font-size: var(--text-sm); border: 1px solid var(--color-muted); }
}
@media (max-width: 600px) {
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .hero { padding-top: var(--space-xl); }
  .tyre { margin-top: var(--space-lg); }
  .field input { max-width: none; }
  .panel { padding: var(--space-md) var(--space-md) var(--space-lg); }
  .spec th, .spec td { padding-left: var(--space-xs); }
  .spec td, .spec thead th { font-size: var(--text-md); }
  .sums li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  /* a table of sizes becomes one card a row: the size on top, each figure under its own name */
  .sizes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sizes tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .sizes th, .sizes td { padding: 0; border: 0; }
  .sizes tbody th { grid-column: 1 / -1; white-space: normal; }
  .sizes td[data-k]::before { content: attr(data-k); display: block; font-size: var(--text-xs); color: var(--color-muted); }
  .sizes td.num { white-space: normal; }
  /* the code tables keep each index beside its value, two pairs a line */
  .codes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .codes tr { display: grid; grid-template-columns: repeat(2, minmax(0, 3rem) minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .field input { transition: none; }
}
/* on paper: dark ink on white, no bar, no foot, the tables whole */
@media print {
  body, .head, .sec, .panel { background: var(--color-card); color: var(--color-well-ink); }
  h1, h2, .sizes tbody th, .sizes td.num, .grid__d, .codes__k, .grid thead th, .grid tbody th { color: var(--color-well-ink); }
  .grid thead th, .grid tbody th { background: var(--color-well-2); }
  .grid td[data-maker] { background: var(--color-well-2); }
  .grid td[data-maker] .grid__d, .grid td[data-maker] .grid__c { color: var(--color-well-ink); }
  .grid th, .grid td, .sizes th, .sizes td, .codes li, .links li { border-color: var(--color-well-rule); }
  .grid__c, .codes__v, .links__v, .lead, .sec__lead, .sec__note, .grid caption { color: var(--color-well-muted); }
  .bar, .foot, .skip, .crumbs, .menu-link { display: none; }
  .sec { padding-block: var(--space-lg); border-color: var(--color-well-rule); break-inside: avoid-page; }
  .tablewrap { overflow: visible; }
  a { color: var(--color-well-ink); }
}
