/* Hallmark · shape: app screen · genre: editorial · theme: Specimen (deal 1/3, seed letterhead-free-letterhead-maker-3f5d·3e86eb36·2026-11-22·r0)
 * nav: top bar, the wordmark and four links that wrap on a phone, never hidden · signature: the A4 sheet drawn live beside the form, with its millimetre rulers and the ink-blue margin guides showing where the letter will start · states: sample (no name yet), filled, number warnings, making a file, saved, failed
 * axes: light/high-contrast-serif/cool · posture: restrained · surface: absolute white on the preview sheet only, the printer paper · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4 · weakest: P, a tool page argues little; the reading pages carry the argument (the law quoted, the maker obeying it) and the sheet does the talking */
/* Hallmark · waive 7b · .sheet is the only surface on --color-sheet · the white is printer paper: the preview shows the letterhead on the paper it prints on */
/* Hallmark · waive 22 · --color-sheet, one token, zero chroma · the downloads are drawn on white, so the sheet under the preview cannot carry the oat tint */
/* Hallmark · waive 37 · EB Garamond appears only in the typeface picker · it is one of the letterhead faces a person picks, shown in itself so the choice is honest */
: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.75rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-3xl: 2.074rem;
  --text-display-s: 1.44rem; --text-display: 1.728rem; --text-section: 1.2rem; --text-title: 1rem; --text-lead: 1rem;
  --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(96.5% 0.016 82); --color-paper-2: oklch(93.5% 0.02 80); --color-paper-3: oklch(89% 0.024 78);
  --color-ink: oklch(17% 0.012 60); --color-ink-2: oklch(28% 0.014 60); --color-muted: oklch(49% 0.014 65);
  --color-rule: oklch(80% 0.018 75); --color-rule-2: oklch(66% 0.02 72);
  --color-accent: oklch(45% 0.18 262); --color-accent-ink: oklch(97% 0.012 82); --color-focus: oklch(50% 0.18 262);
  --color-guide: oklch(55% 0.16 262 / 0.5);
  --font-display: "Bodoni Moda", ui-serif, Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.02em; --display-weight: 400; --display-optical: 96;
}

*, *::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 ink paper con=8 */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-paper); 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-ink); mix-blend-mode: lighten; pointer-events: none; }

:root {
  --color-sheet: oklch(100% 0 0);          /* the printer paper the letterhead is drawn on */
  --color-mark: oklch(92% 0.06 95);         /* the highlight on a [placeholder] in a letter */
  --swatch-ink: #1d1c1a;
  --swatch-indigo: #26408f;
  --swatch-forest: #2f5d46;
  --swatch-maroon: #7a2430;
  --swatch-saffron: #b5651d;
  --swatch-slate: #4a5866;
  --font-garamond: "EB Garamond", Georgia, serif;   /* a letterhead face, shown in its own cell */
  --sheet-max: min(100%, calc((100svh - 9rem) / 1.4142));
  --ruler: 18px;
  --display-optical: 72;   /* the theme's floor: at these app-scale sizes a razor hairline breaks up */
}

@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

h1, h2 { font-variation-settings: "opsz" var(--display-optical); line-height: 1.02; }
h3 { font-optical-sizing: auto; line-height: 1.15; }
a { text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
code, .mono { font-family: var(--font-outlier); font-size: 0.92em; font-variant-numeric: tabular-nums; }

/* ---- the bar ----------------------------------------------------------------------------------------------------- */
.bar { border-bottom: var(--rule-hair) solid var(--color-guide); background: var(--color-paper); }
.bar__in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-block: var(--space-md); }
.wordmark { font-family: var(--font-display); font-size: var(--text-xl); font-variation-settings: "opsz" 72; text-decoration: none; color: var(--color-ink); letter-spacing: var(--tracking-display); }
.wordmark:focus-visible, .bar__nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.bar__nav { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.bar__nav a { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-2xs); }
.bar__nav a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--color-ink); }

/* ---- the maker ----------------------------------------------------------------------------------------------------- */
.maker { display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); grid-template-areas: "intro side" "form side"; column-gap: var(--space-2xl); padding-block: var(--space-xl) var(--space-3xl); align-items: start; }
.maker__intro { grid-area: intro; padding-bottom: var(--space-lg); }
.maker__intro h1 { font-size: var(--text-3xl); max-width: 14ch; }
.maker__intro .lead { margin-top: var(--space-sm); color: var(--color-ink-2); }
.maker__form { grid-area: form; }
.maker__side { grid-area: side; position: sticky; top: var(--space-lg); display: grid; justify-items: center; gap: var(--space-md); }
.maker__sheet { display: grid; justify-items: center; gap: var(--space-md); width: 100%; }
.sheet-toggle { display: none; }

fieldset { border: 0; border-top: var(--rule-hair) solid var(--color-rule); margin: 0; padding: var(--space-lg) 0 var(--space-xl); min-width: 0; }
legend { font-family: var(--font-display); font-size: var(--text-xl); font-optical-sizing: auto; letter-spacing: var(--tracking-display); padding: 0 var(--space-xs) 0 0; color: var(--color-ink); }
.row { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); min-width: 0; }
.row--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.row--two > .row { margin-top: 0; }
label, .label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.opt { font-weight: 400; color: var(--color-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 40px; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card);
  background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md);
}
textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
input:hover, select:hover, textarea:hover { border-color: var(--color-ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
input[aria-invalid="true"] { border-color: var(--color-error); }
input:disabled, select:disabled { background: var(--color-paper-2); color: var(--color-muted); cursor: not-allowed; }
input[type="text"].upper { text-transform: uppercase; font-family: var(--font-outlier); letter-spacing: 0; }
.hint { font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
.hint--warn { color: var(--color-error); }
.note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); max-width: 52ch; padding-left: var(--space-sm); border-left: var(--rule-hair) solid var(--color-guide); }

/* choice cells: square cells inside one ink hairline; the chosen one is paper with a 2px ink rule beneath */
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rule-hair); background: var(--color-rule-2); border: var(--rule-hair) solid var(--color-ink); margin-top: var(--space-xs); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { position: relative; display: block; min-width: 0; }
.cell input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cell span { display: grid; align-content: start; gap: var(--space-3xs); height: 100%; min-height: 44px; padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); background: var(--color-paper); border-bottom: 2px solid transparent; }
.cell small { font-size: var(--text-xs); color: var(--color-muted); }
.cell input:hover + span { background: var(--color-paper-2); color: var(--color-ink); }
.cell input:checked + span { background: var(--color-paper); color: var(--color-ink); border-bottom-color: var(--color-ink); }
.cell input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.face-garamond { font-family: var(--font-garamond); font-size: var(--text-md); }
.face-bodoni { font-family: var(--font-display); font-size: var(--text-md); }
.face-geist { font-family: var(--font-body); }

.swatches { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); align-items: center; }
.swatch { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch i { display: block; width: 32px; height: 32px; border: var(--rule-hair) solid var(--color-rule-2); }
.swatch input:checked + i { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.swatch input:focus-visible + i { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.swatch--ink i { background: var(--swatch-ink); } .swatch--indigo i { background: var(--swatch-indigo); } .swatch--forest i { background: var(--swatch-forest); }
.swatch--maroon i { background: var(--swatch-maroon); } .swatch--saffron i { background: var(--swatch-saffron); } .swatch--slate i { background: var(--swatch-slate); }
.swatch-pick { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.swatch-pick input[type="color"] { width: 44px; height: 44px; padding: var(--space-3xs); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); cursor: pointer; }
.swatch-pick input[type="color"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

input[type="range"] { appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--color-rule-2); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--color-rule-2); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: calc(-1 * var(--space-xs)); background: var(--color-ink); border-radius: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--color-ink); border: 0; border-radius: 0; }
input[type="range"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
input[type="file"] { font-size: var(--text-sm); max-width: 100%; }
input[type="file"]::file-selector-button { min-height: 40px; margin-right: var(--space-sm); padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: transparent; color: var(--color-ink); font: inherit; font-weight: 500; cursor: pointer; }
input[type="file"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--color-ink); }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); font-weight: 500; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { background: transparent; color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { cursor: not-allowed; background: var(--color-paper-2); color: var(--color-muted); border-color: var(--color-rule-2); transform: none; }
.btn-text { background: none; border: 0; padding: var(--space-2xs) 0; color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; cursor: pointer; min-height: 44px; }
.btn-text:hover { color: var(--color-ink); text-decoration-thickness: 2px; }
.btn-text:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* the sheet: printer paper on the oat page, millimetre rulers on two edges, the margin guides drawn over it */
.sheet-frame { display: grid; grid-template-columns: var(--ruler) minmax(0, 1fr); grid-template-rows: var(--ruler) auto; width: calc(var(--sheet-max) + var(--ruler)); max-width: 100%; }
.ruler { color: var(--color-guide); overflow: visible; }
.ruler--top { grid-column: 2; grid-row: 1; width: 100%; height: var(--ruler); }
.ruler--left { grid-column: 1; grid-row: 2; width: var(--ruler); height: auto; align-self: stretch; contain: size; }   /* the sheet sets the row's height, not the ruler's drawing */
.ruler line { stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.sheet { grid-column: 2; grid-row: 2; position: relative; aspect-ratio: 210 / 297; background: var(--color-sheet); outline: var(--rule-hair) solid var(--color-rule-2); }
.sheet canvas { display: block; width: 100%; height: 100%; }
.guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.guides line { stroke: var(--color-guide); stroke-width: 0.25; vector-effect: non-scaling-stroke; }
.sheet-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-md); width: calc(var(--sheet-max) + var(--ruler)); max-width: 100%; padding-left: var(--ruler); font-size: var(--text-xs); color: var(--color-muted); }
.downloads { display: grid; gap: var(--space-xs); width: calc(var(--sheet-max) + var(--ruler)); max-width: 100%; padding-left: var(--ruler); }
.downloads__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); }
.downloads__row .btn { padding-inline: var(--space-sm); font-size: var(--text-sm); }
.status { min-height: 1.5em; font-size: var(--text-sm); color: var(--color-ink-2); }
.noscript { padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-2); font-size: var(--text-sm); }

/* ---- reading pages -------------------------------------------------------------------------------------------------- */
.doc { padding-block: var(--space-xl) var(--space-3xl); }
.doc__body { max-width: 46rem; }
.doc h1 { font-size: var(--text-3xl); max-width: 20ch; }
.doc .lead { margin-top: var(--space-md); font-size: var(--text-lg); color: var(--color-ink-2); max-width: 46ch; }
.doc h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); max-width: 26ch; }
.doc h3 { font-size: var(--text-lg); margin-top: var(--space-xl); }
.doc p, .doc ul, .doc ol { margin-top: var(--space-md); max-width: 65ch; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li + li { margin-top: var(--space-2xs); }
.quote { margin: var(--space-lg) 0 0; padding: var(--space-md) 0 var(--space-md) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink-2); max-width: 62ch; }
.quote p { margin-top: var(--space-sm); }
.quote p:first-child { margin-top: 0; }
.source { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.rule--double { border: 0; border-top: 3px double var(--color-rule-2); margin: var(--space-xl) 0 0; }
table { width: 100%; border-collapse: collapse; margin-top: 0; font-size: var(--text-md); }
th, td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
td a { font-weight: 500; }
.table-wrap { overflow-x: auto; }
.letter { margin-top: var(--space-lg); padding: var(--space-lg); background: var(--color-paper-2); outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; max-width: 62ch; }
.letter p { margin-top: 0; min-height: 1.55em; }
.letter mark { background: var(--color-mark); color: var(--color-ink); padding: 0 0.12em; }
.letter strong { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* ---- footer --------------------------------------------------------------------------------------------------------- */
.foot { border-top: var(--rule-hair) solid var(--color-rule); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.foot__in p { max-width: 60ch; }
.foot a { color: var(--color-ink-2); }
.foot a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (max-width: 60rem) {
  /* on a phone the top of the sheet, where the letterhead is, stays above the form while you type */
  .maker { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "sheet" "form" "dl"; }
  .maker__side { display: contents; }
  .maker__sheet { grid-area: sheet; position: sticky; top: 0; z-index: var(--z-sticky); max-height: 32svh; overflow: hidden; justify-items: start; padding-top: var(--space-xs); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-guide); margin-bottom: var(--space-lg); }
  .maker__sheet.is-open { position: static; max-height: none; overflow: visible; }
  .maker__sheet:not(.is-open) .sheet-meta { display: none; }
  .sheet-toggle { display: inline-flex; align-items: center; position: absolute; right: 0; bottom: 0; min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; cursor: pointer; }
  .sheet-toggle:hover { background: var(--color-paper-2); }
  .sheet-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
  .maker__sheet.is-open .sheet-toggle { position: static; }
  .maker__dl { grid-area: dl; padding-left: 0; }
  :root { --sheet-max: min(100%, 34rem); --ruler: 14px; }
}
@media (max-width: 40rem) {
  .row--two { grid-template-columns: minmax(0, 1fr); }
  .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .downloads__row { grid-template-columns: minmax(0, 1fr); }
  .maker__intro h1, .doc h1 { font-size: var(--text-2xl); }
}
@media print { .bar, .foot, .maker__form, .downloads { display: none; } }
