/* Hallmark · shape: Workbench · genre: editorial · theme: Newsprint (deal 3/3, seed studyroom-study-timer-rounds-10b3·d6a72f31·2026-12-05·r0) · job: try · draw: manual
 * hero: the head left, the clock face right with its three buttons and the lengths · nav: edge-aligned, the wordmark and three links · footer: a ruled note over the credit lines · imagery: none, the clock is the page · signature: the minutes and seconds in slab figures on a ruled face · newsprint: pale stock
 * axes: light/slab-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, one timer and a page on its method; the clock carries the look */
/* Hallmark · dismissed 46a · the timer and the method page · 25 minutes, 5 to 10, 20 to 30 and four rounds are inside quoted sentences, checked word for word */
/* Hallmark · waive 77 · every page · a timer and a short page on its method, not a landing strip */
/* Hallmark · waive 44c · every page · the clock stands beside the head; on the other pages the head stands over its list */
/* Hallmark · waive 79 · the timer · the space under the clock is the margin before the footer */
: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(94% 0.011 92); --color-paper-2: oklch(90.5% 0.015 88); --color-paper-3: oklch(87% 0.017 86);
  --color-ink: oklch(17% 0.012 60); --color-ink-2: oklch(27% 0.012 58); --color-muted: oklch(46% 0.014 60);
  --color-rule: oklch(68% 0.016 75); --color-rule-2: oklch(34% 0.012 60);
  --color-accent: oklch(44% 0.13 32); --color-accent-ink: oklch(95% 0.012 90); --color-focus: oklch(48% 0.17 32);
  --font-display: "Zilla Slab", ui-serif, Georgia, serif; --font-body: "Spectral", ui-serif, Georgia, serif;
  --font-outlier: "Libre Franklin", ui-sans-serif, sans-serif;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.02em; --display-weight: 700;
}

*, *::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) 20%, transparent); }
: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: mono */
[data-slot] > img { filter: grayscale(1) contrast(1.18); }

@font-face { font-family: "Zilla Slab"; src: url("/fonts/zilla-slab-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("/fonts/spectral-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("/fonts/spectral-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); line-height: 1; overflow-wrap: break-word; min-width: 0; }
.num { font-variant-numeric: tabular-nums; }
.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-accent); }
a:hover { color: var(--color-accent); }

.bar { border-bottom: 3px double var(--color-rule-2); }
.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: 600; font-size: var(--text-xl); 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; }

.hero { padding-block: var(--space-3xl) var(--space-2xl); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); max-width: 10ch; }
.hero .lead { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 34ch; }

/* the clock face */
.clockface { margin: 0; padding: var(--space-xl); border-top: 3px double var(--color-rule-2); border-bottom: 3px double var(--color-rule-2); display: grid; gap: var(--space-sm); justify-items: start; }
.clockface__k { margin: 0; font-size: var(--text-lg); color: var(--color-ink); }
.clockface__v { margin: 0 0 var(--space-sm); font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }
.acts { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); font: inherit; font-weight: 500; border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xs); }
.field { display: grid; gap: var(--space-3xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.field input { font: inherit; font-size: var(--text-lg); color: var(--color-ink); height: 48px; width: 8rem; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: 0; background: var(--color-paper); box-sizing: border-box; }
.field input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }

.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); max-width: 16ch; }
.head .lead { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 56ch; }

.sec { padding-block: var(--section-gap-s); border-top: 3px double var(--color-rule-2); }
.sec--first { padding-top: var(--space-2xl); }
.sec h2 { font-size: var(--text-section); }
.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; gap: var(--space-sm); max-width: 64ch; }
.steps li { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps b { color: var(--color-ink); font-family: var(--font-display); font-weight: 600; }

.register { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 68ch; }
.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); background: var(--color-paper-2); color: var(--color-ink); }
.register blockquote p { margin: 0; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; }

/* the menu on a phone: a link that opens the list (#menu), and one that closes it */
.bar__menu, .bar__nav .bar__close { display: none; }

/* breadcrumbs over a deep page's head */
.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-ink-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-muted); }
.crumbs a { font-weight: 500; }

/* an index of pages: ruled rows, the link set in the slab */
.index { list-style: none; margin: 0; padding: 0; display: grid; max-width: 68ch; border-top: var(--rule-hair) solid var(--color-rule); }
.index li { padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.index a { font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); color: var(--color-ink); }
.index p { margin-top: var(--space-2xs); max-width: 60ch; }
.steps--num { counter-reset: step; }
.steps--num li { counter-increment: step; padding-block: var(--space-md); }
.steps--num li::before { content: counter(step) ". "; font-family: var(--font-display); font-weight: 600; color: var(--color-accent); }

/* tables of numbers */
.tbl-wrap { max-width: 100%; overflow-x: auto; margin-top: var(--space-md); }
.tbl { border-collapse: collapse; min-width: 100%; font-size: var(--text-md); }
.tbl caption { text-align: left; caption-side: top; padding-bottom: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--space-xs) var(--space-md) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.tbl thead th { color: var(--color-ink); font-weight: 500; border-bottom: 2px solid var(--color-rule-2); white-space: nowrap; }
.tbl tbody th { font-weight: 400; color: var(--color-ink); }
.tbl b { color: var(--color-ink); font-family: var(--font-display); font-weight: 600; }
.tt__head { display: flex; flex-wrap: wrap; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.tt__head span:first-child { width: min(20rem, 70vw); }
.tt__rows { display: grid; gap: var(--space-xs); }
.tt__row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.tt__row input { font: inherit; font-size: var(--text-lg); color: var(--color-ink); height: 48px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: 0; background: var(--color-paper); }
.tt__row input[type="text"] { width: min(20rem, 70vw); }
.tt__row input[type="date"] { width: 11rem; }
.tt__row input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tbl--tt tr.is-break td { color: var(--color-muted); }
.halls { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-xl); }
.hall { border: 0; border-top: 3px double var(--color-rule-2); margin: 0; padding: var(--space-md) 0 0; display: grid; gap: var(--space-sm); }
.hall legend { font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); color: var(--color-ink); padding: 0 var(--space-xs) 0 0; }
.hall__out { margin: 0; font-size: var(--text-lg); color: var(--color-ink); }
.hall__out b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); }
.hall__day { margin: 0; color: var(--color-ink-2); }
.tbl--tt tr.is-exam td { color: var(--color-accent); font-weight: 500; }

/* calculators: the fields, then what they make */
.calc { display: grid; gap: var(--space-md); max-width: 60rem; }
.row--tight { margin-top: 0; }
.row--out { gap: var(--space-lg); }
.row--out p b { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); font-size: var(--text-lg); }
.field select { font: inherit; font-size: var(--text-lg); color: var(--color-ink); height: 48px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: 0; background: var(--color-paper); }
.field select:focus-visible, .field input[type="color"]:focus-visible, .field input[type="range"]:focus-visible, .check input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field--wide input { width: min(20rem, 70vw); }
.field input[type="date"], .field input[type="time"] { width: 11rem; }
.field input[type="color"] { width: 5rem; padding: var(--space-2xs); }
.field input[type="range"] { width: 10rem; height: 48px; padding: 0; border: 0; background: transparent; accent-color: var(--color-accent); }
.field--colour { grid-template-columns: auto auto; align-items: center; column-gap: var(--space-xs); }
.field--colour > span:first-child { grid-column: 1 / -1; }
.swatch { display: inline-block; width: 48px; height: 48px; border: 1px solid var(--color-rule-2); }
.out { padding: var(--space-md) 0; border-top: 3px double var(--color-rule-2); border-bottom: 3px double var(--color-rule-2); display: grid; gap: var(--space-xs); color: var(--color-ink); font-size: var(--text-lg); max-width: 64ch; }
.out b { font-family: var(--font-display); font-weight: 600; }
.clockface--wide { max-width: 60rem; }
.clockface__note { margin: 0; color: var(--color-ink); max-width: 64ch; }
.log { margin: 0; padding-left: var(--space-lg); font-variant-numeric: tabular-nums; }

/* drawings: plans to scale and the seated figure */
.plan-fig, .seat-fig { margin: 0 0 var(--space-lg); max-width: 40rem; }
.plan-fig figcaption, .seat-fig figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); max-width: 64ch; }
.plan { width: 100%; height: auto; }
.plan__room { fill: var(--color-paper-2); stroke: var(--color-ink); stroke-width: 3; }
.plan__item { fill: var(--color-paper); stroke: var(--color-ink-2); stroke-width: 1.5; }
.plan__clear { fill: none; stroke: var(--color-accent); stroke-width: 1.5; stroke-dasharray: 6 5; }
.plan__label { font-family: var(--font-body); font-size: 13px; fill: var(--color-ink); }
.plan__dim { font-family: var(--font-body); font-size: 13px; fill: var(--color-muted); }
.seat { width: 100%; max-width: 30rem; height: auto; }
.seat__floor, .seat__line { fill: none; stroke: var(--color-ink-2); stroke-width: 3; }
.seat__body { fill: none; stroke: var(--color-ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.seat__dim { fill: none; stroke: var(--color-accent); stroke-width: 2; }
.seat__txt { font-family: var(--font-body); font-size: 15px; fill: var(--color-ink); }

/* the checklist, on screen and on paper */
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 64ch; }
.check li { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.check label { display: inline-flex; gap: var(--space-sm); align-items: center; min-height: 44px; color: var(--color-ink); }
.check input { width: 22px; height: 22px; accent-color: var(--color-accent); }

/* the online room: the clock and today's list side by side */
.room { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.room__h { font-size: var(--text-2xl); }
.room__side { display: grid; gap: var(--space-md); }
.room__side .row { align-items: flex-end; }
.room__side .btn { white-space: nowrap; }
.room__list { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.room__list li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.room__list label { display: flex; gap: var(--space-sm); align-items: center; min-height: 44px; color: var(--color-ink); }
.room__list input { width: 22px; height: 22px; accent-color: var(--color-accent); }
.room__list .is-done label { color: var(--color-muted); text-decoration: line-through; }
[data-room-wrap]:fullscreen { background: var(--color-paper); padding: var(--space-2xl); overflow: auto; }

.foot { border-top: 3px double var(--color-rule-2); }
.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; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .room { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bar__menu { display: inline-flex; min-height: 44px; align-items: center; padding: 0 var(--space-md); border: 2px solid var(--color-ink); color: var(--color-ink); text-decoration: none; font-weight: 500; }
  .bar__nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .bar__nav:target { display: flex; }
  .bar__in:has(.bar__nav:target) .bar__menu { display: none; }
  .bar__nav:target .bar__close { display: inline-flex; }
  .bar__nav a { border-bottom: var(--rule-hair) solid var(--color-rule); }
}
@media (max-width: 600px) {
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .hero { padding-top: var(--space-xl); }
  .clockface { padding: var(--space-lg) 0; }
  .field input { width: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
@media print {
  .skip, .bar, .foot, .crumbs, [data-noprint], .acts { display: none !important; }
  .head, .sec { padding-block: var(--space-sm); border: 0; }
  .check input { -webkit-appearance: none; appearance: none; border: 1px solid var(--color-ink); }
  .tbl th, .tbl td { padding-block: var(--space-2xs); }
}
