/* Junktrunk — generated from tokens.json */
:root, [data-theme="paper"] {
  --paper: #f0eddf; /* Standard sheet stock: Field Reports, Memoranda, index cards. The default ground for all document text. */
  --paper-aged: #e3dbc2; /* Discoloration at sheet edges and fold lines (inset edge shadow). Never a text ground on its own. */
  --manila: #d8c6a0; /* Folders, case-file covers and Equipment Record stock (JT-03). `ink` and `ink-muted` read on it; `stamp` only at 24px+ or as a mark. */
  --manila-deep: #c4ae80; /* Folder tabs, the active index entry's tab edge, folder spines. `ink` reads on it (7:1). */
  --ledger: #c5cdb8; /* Data-processing stock: Experiment Log (JT-05) covers, table headers on ledger sheets. `ink` and `ink-muted` read on it. */
  --ledger-band: #dde5d1; /* Greenbar row bands on `paper` in ledger tables and Experiment Logs (every other 3 rows). */
  --graph-line: #a9c3c6; /* Graph-paper rules on Technical Drawing (JT-02) and calculation sheets; the blue rules on index cards. Decorative only — never carries meaning. */
  --blueprint: #284655; /* Technical drawings, figure numbers, links and the focus ring on paper stocks. As text on `paper` (8.6:1) and `manila` (6:1). */
  --blueprint-line: #c9d8de; /* Drawing linework and dimension lines on `blueprint` grounds. */
  --on-blueprint: var(--paper); /* Text and labels set on a `blueprint` fill (8.6:1). */
  --ink: #252723; /* All body copy, titles, field values and heavy rules — on `paper`, `paper-aged`, `manila`, `manila-deep`, `ledger`, `ledger-band`. */
  --ink-muted: #4e4f47; /* Field labels, captions, running heads and footers on `paper` (7:1), `manila` (4.9:1) and `ledger` (5:1). */
  --hairline: #85837a; /* Light 1px rules: field-grid cell dividers, table row rules, card rules. 3.2:1 on `paper`. */
  --stamp: #963d31; /* Rubber-stamp ink for status stamps (COMPLETED, UNDER INVESTIGATION), the index-card headline rule and the 'Correspondence' count. Text on `paper` (6:1); on `manila` only at 24px+. */
  --stamp-violet: #4b3f72; /* Second stamp-pad ink: RECEIVED / FILED date stamps and revision stamps — administrative marks, as opposed to `stamp`'s verdicts. 8:1 on `paper`. */
  --grease-pencil: #b8322a; /* Handwritten mark-ups only: circled areas on photographs, margin notes, corrections. Never typeset copy. 5.1:1 on `paper`. */
  --tape: #e3d5a5d9; /* Masking-tape strips holding photographs and notes. Translucent: whatever it covers stays faintly visible. */
  --print: #f8f6ee; /* The white border of photographic prints and the stock of typed labels and reinforcement rings. */
  --steel: #9c9f99; /* Paperclips and staples (the fastener SVGs are drawn in this value). */
  --steel-dark: #5e615b; /* Fastener shading and highlights' counter-edge (drawn into the fastener SVGs). */
  --desk: #2f302b; /* The surface the documents sit on: the viewer background, the left-hand index, what shows through punched holes. */
  --on-desk: var(--paper); /* Primary text on `desk` (11:1): index entries, viewer controls. */
  --on-desk-muted: #a9a797; /* Secondary text on `desk` (5.5:1): index call numbers, counts, zoom readouts. */
  --focus: var(--blueprint); /* Focus ring on paper stocks: 2px solid, 2px offset. On `desk` use `on-desk` instead. */
  --shadow-sheet: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.28); /* A sheet lying on the desk (on the viewer page wrapper, not the sheet, so punched holes stay clean). */
  --shadow-photo: 0 1px 1px rgba(37, 39, 35, 0.25), 0 3px 8px rgba(37, 39, 35, 0.18); /* Photographic prints and labels resting on a sheet. */
  --shadow-edge: inset 0 0 48px rgba(150, 120, 60, 0.22); /* Aged-edge discoloration inside a sheet. Omit on Memoranda (fresh stock). */
}
:root {
  --space-1: 4px; /* Label-to-value gap inside a form field. */
  --space-2: 8px; /* Field cell padding (vertical); checkbox gap. */
  --space-3: 12px; /* Field cell padding (horizontal); list item gap. */
  --space-4: 16px; /* Paragraph spacing; gap between figure and caption block. */
  --space-5: 24px; /* Gap between field grid and first section; 1/4 inch at page scale. */
  --space-6: 32px; /* Between numbered sections. */
  --space-7: 48px; /* Half inch: hole-punch inset, header block bottom margin. */
  --space-8: 72px; /* Three-quarter inch: standard page margin. */
  --space-9: 96px; /* One inch at page scale (96 CSS px = 1in): binding margin on punched sheets. */
  --radius-none: 0; /* Everything by default: sheets, cards, fields, tables, photos. Forms are square. */
  --radius-label: 2px; /* Typed labels and folder tabs — die-cut stock. */
  --radius-stamp: 4px; /* Rubber-stamp frames. */
  --radius-hole: 50%; /* Punched holes and reinforcement rings. */
  --page-width: 816px; /* US Letter width at 96 CSS px per inch. Portrait sheets are always this wide. */
  --page-height: 1056px; /* US Letter height (1 : 1.294). Landscape sheets swap width and height. */
  --page-gap: 20px; /* Vertical gap between sheets in the viewer (16–24px range). */
  --page-margin: 72px; /* Top, right and bottom content margin of a sheet. */
  --page-margin-binding: 96px; /* Left content margin on punched sheets — clears the holes. */
  --hole-size: 26px; /* Punched hole diameter (9/32 in). */
  --hole-inset: 48px; /* Hole centre distance from the left edge (1/2 in). */
  --hole-pitch: 408px; /* Centre-to-centre spacing of the three holes (4.25 in), centred on the sheet. */
  --stroke-hair: 1px; /* Field cell dividers, table rules. */
  --stroke-rule: 1.5px; /* Section rules and stamp inner frames. */
  --stroke-heavy: 3px; /* The heavy rule under running heads and above field grids; stamp outer frames. */
  --tilt-stamp: -4deg; /* Default stamp rotation; vary between -7deg and 3deg per stamp. */
  --tilt-photo: 1.2deg; /* Clipped or taped photographic prints. Never more than 2deg. */
  --tilt-note: -2deg; /* Handwritten margin notes. */
  --tilt-staple: -38deg; /* Corner staple on multipage documents. */
  --opacity-stamp: 0.86; /* Rubber-stamp ink density. */
  --opacity-grain: 0.55; /* Paper grain texture strength over sheet stock. */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Century Schoolbook", Georgia, serif;
  --font-mono: "Courier Prime", "Courier New", Courier, monospace;
  --font-hand: "Kalam", "Bradley Hand", cursive;
  --text-masthead: 900 64px/0.92 var(--font-display); /* The department masthead only — General Index and case-file covers. Uppercase. */
  --text-title: 800 30px/1.12 var(--font-display); /* Document title, once per record, sentence case. */
  --text-heading: 700 14px/1.3 var(--font-display); /* Numbered section heads inside a document. Uppercase, preceded by a two-digit number. */
  --text-label: 600 11px/1.2 var(--font-display); /* Form field labels, table headers, running heads. Uppercase, condensed (font-stretch 75%). */
  --text-lead: 400 18px/1.45 var(--font-serif); /* The Objective paragraph that opens a record. One per document. */
  --text-body: 400 15px/1.6 var(--font-serif); /* All running text in reports, memoranda and logs. */
  --text-caption: italic 400 13px/1.4 var(--font-serif); /* Figure captions after the FIG. number. */
  --text-field: 400 14px/1.4 var(--font-mono); /* Typed entries in form fields, observation lists, table cells. */
  --text-record: 700 13px/1.3 var(--font-mono); /* Record numbers, FIG. numbers, accession numbers, call numbers. */
  --text-footer: 400 11px/1.3 var(--font-mono); /* Running heads and footers, continuation labels. Uppercase. */
  --text-annotation: 400 20px/1.15 var(--font-hand); /* Grease-pencil and pen notes in margins and on photographs. Lowercase, short. */
}
.masthead {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.heading {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.label {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.lead {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  font-style: italic;
}
.field {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.record {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.annotation {
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
}
