/* Hallmark · shape: app screen · genre: modern-minimal · theme: Dusk (deal 1/3, seed 545b·c2b415e4·2026-11-17·r0; picked by the owner)
 * nav: a slate sidebar that becomes a menu under 60rem, a top bar with the trail and the account · signature: the audit chain, each entry with its hash and each check signed (M0); the estate map, each path in its algorithm's posture colour (M1) · states: full, empty, error, waiting · dusk: well/green-apricot
 * axes: light+dark/grotesk-sans/chromatic-green · posture: restrained · surface: absolute · modes: light+dark · contrast: checked per brand pack by portal/brand.py · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a people table and a log could be any admin tool; led with what only this one has, the chain's hashes, its signed checks and who from the operator can get in */

/* Hallmark · dismissed F1 · the straight quotes are JSON in the audit log's detail column: stored data, shown as stored, in the mono face */
/* Hallmark · finish-review: subagent · fix · 8 findings · 7 resolved, 1 partial at the scoring round (the phone trail cut the current page), then fixed · the scoring round raised 7 more on the dark set and the state screens (mode switch, dark sign-in card, refused invitation, a second check while one waits, the confirm step, the waiting page), all fixed · gap: the last batch was scored in-thread against its recaptures, not by the reviewer */
/* Hallmark · finish-review M1: subagent · fix · 8 findings · 7 resolved, 1 partial at the scoring round (two captures showed the wrong state), then fixed, with three faults the first fixes had caused (the relations' Kind column, the phone tally, the empty console's heads) · gap: that last batch was scored in-thread against its recaptures; a target's Proved state is not captured (it needs a real DNS record) */
/* Hallmark · finish-review M1, the rest (2026-11-18): subagent · fix · 10 findings · 9 resolved, 1 partial (the last, a batch of polish: a hash inside an audit entry's detail line is still in the body face) · two answered differently from what was asked: taking a domain off the do-not-scan list is one step under the table, not a row of its own under each entry; the operator's own stop step still says "an administrator", because on that screen it is the role that can · gap: the fixes were scored in-thread against their recaptures, not by the reviewer; not captured: a scan waiting for its window, a window closed now, a report not made, a host a deep scan found */
/* Hallmark · finish-review M1, closing (2026-11-18): subagent · fix · 8 findings on a target's host list and the log's About column · 8 resolved: the page no longer reloads itself over a half-filled authorisation; a host name and an IPv4 address stay whole; a list more than a day old is amber and sits above the table; one primary, the lowest step still owed; a refused look-up shows beside its button; the count and the date lead the section; step 4 defers to the table for SSH; the logs were recaptured, with a slug as code and "scan node" for the runner on an organisation's screens · the earlier partial (a hash in the detail line in the body face) is closed · gap: the fixes were scored in-thread against their recaptures and a measurement of wrapping at 1024 and 390, not by the reviewer; not captured: a look-up under way, one that failed, a list more than a day old, a host left alone; left as they are, outside the change: raw timestamps in the instance log's details, the record table of step 1 */
/* Hallmark · finish-review M2 (2026-11-18): subagent · fix · 12 findings · 11 resolved: the key-exchange cell says its source and carries that algorithm's posture; the review leads with what accepting would do and names a file received before; Reject and Not a register open a step holding the reason; the tally fits; a system's page has no Trace and its name is not code; a system's weakest algorithm is named; the trail reads in the register's own words; Withdraw is a red text button; the links form's words; custody words (Not said, grouped bytes, quoted notes, the assurance chip on a published file, a next step on a refused one); the upload form at the measure · 1 answered: a new link sits in the notice invitations use, in its link-once well; that notice's tint is the portal's one notice and is kept · gap: scored in-thread against the recaptures */
/* Hallmark · finish-review M2, closing (2026-11-18): subagent · fix · 12 findings · 12 acted on: the Settled column printed a method (fixed), the item head's grid took the citation (moved out), progress counts what applies, the next owed item leads the list with the one primary, the register item offers the template, the ways to answer sit beside the primary, "Mark it not applicable" is an action, a settled item's copy and the profile's decisions are its own, Held by says Nobody named, a waiting attestation keeps a disabled button, the make-a-list form is folded once a list exists, export buttons name their object · gap: scored in-thread against recaptures; the received state, an open attestation form and a refused profile are not captured */
/* Hallmark · finish-review M3, first part (2026-11-18): subagent · fix · 12 findings · 12 acted on: the assessed state is captured (a horizon and migration times set through the screens); no tally and one "Waiting on a horizon" chip before a horizon is chosen, "Not set" in empty cells; post-quantum reads "Not exposed" whatever the horizon, and Overall says Low only when every part is known; criticality reads "Criticality high", the method is a list of definitions; an upload finding names the file it rests on, its hash is whole, sentences are not code; the "no decision" figure and its filter count the same, a dashed "None yet" in the cell, each filter on its own line; a status opens on "Choose a status" and Met says where its evidence is (server too), in a text area, the ledger top-aligned; "Owed by" on every requirement (migration 0022), a "Computed" or "Stated" chip, no Due column when the text sets no dates, only the reference bold on a phone; figures written as parts of a whole, dates as the portal writes them; the decision steps stacked, one open at a time, text areas, the open step's button the primary; the bulk form folded above the table, its labels apart; a system's risk is one line and a Rating column, Vendor in the classification · gap: scored in-thread against the recaptures, not by the reviewer */
/* Hallmark · finish-review M3, second part (2026-11-19): subagent · fix · 8 findings, all acted on · the plan's timeline labels each regulator line at its foot (SAMA, NCSC, NIST, two close dates on two lines), its caption is a key of definitions at the measure, systems on the road map with no dates are named, and year lines are fainter than the regulators' · the paper's figures are three ruled sentences, never tiles; 'how it is known' sits in the status; the paper is set at 10.5pt · prose at the measure in every new section and fold · Withdrawn, Expired and Made before signing are neutral chips, not dashed · the two paper forms share one grid; the summary's format is text in its track · timestamps never break; the signature's algorithms and key are code on one line · the verify answer is a tinted notice and the form folds under 'Check another file' once it shows · answered differently: on a phone the timeline's names scroll with it inside a focusable frame, not pinned (the table below carries every row) · scored in-thread against the recaptures, not by the reviewer */
/* Hallmark · finish-review M3, closing (2026-11-19): subagent · fix · 12 findings · 10 acted on: the verify answer names a pack's kind and framework in words; the technical report's evidence leaves out empty keys and what Where says and is never cut, fix texts and playbooks set their identifiers as code; PCI 12.3.3 (d) is stated (a publication is not a review); NIST signatures lead with 'Not due until after 2030'; one short date per ledger row and PCI's cadence in its note; PCI rows (a) to (d) and NCSC rows by milestone name; a task's playbooks set identifiers as code, the measured platform once, the OpenSSH entry leads with what 10.0 already does, labels spaced; the reviewer's README splits files from their hashes, labels rows by code, says 'Not stated yet', prints the disclaimer once; Reports buttons name their document, the CBK in full, 'In English only', both CBOMs 'Download the CBOM'; sizes in grouped bytes on their own line · answered: #2 the technical report's playbooks were an older render (15 in the current one); #5 NIST IR 8547 final (October 2026) deprecates every strength after 2030, the reviewer read the draft · #10: the endpoint read 'quantum-vulnerable' beside X25519MLKEM768 is one stale declared row in Example Bank's development data; Lab Bank and Lab Estate Bank read hybrid (open: find which earlier intake wrote it) · not changed: DORA 6(5) counts planned decisions (a planned fix is an update, the article's records are for what cannot be updated); a task on a 'for information' finding is a person's choice · scored in-thread against the recaptures */
/* Hallmark · answered F7 · each of the selectors it counts is a control (a navigation link, the account button, a text button, the skip link), and Dusk sets its controls as pills */
/* Hallmark · waive 49b · the links it counts are a finding's title and an evidence source's description in table cells, at 320px and 1024px · they are the data itself and can be any length; cutting one short would hide what the finding is, and the row restacks under 48rem */
/* Hallmark · dismissed 67 · the capitals are a system's name as the client's own CMDB export spells it (ONLINE-BANKING-WEB): data, shown as written, in the body face */
/* Hallmark · dismissed 69 · the repeated value is a time of day in separate rows: each row's own last-seen time, equal because one scan saw them all; none is a restated fact */
/* Hallmark · waive 72 · .node__name code ends in an ellipsis inside its row (overflow hidden, text-overflow ellipsis); measured on inventory and inventory-trace, no element crosses a row · the text it measures is an estate-map host name past forty characters, from the lab's uploads, which portal/design.md lets give way on the map; the text's own range runs on under the clip, and the row's title and the tables hold the name whole */
/* Hallmark · waive 25 · the connection test's paragraphs (/connection) measure about 90 characters a line at 1440px · they sit at the system's own measure (--measure, 68ch in this face), in the same white card as /security, whose paragraphs are the same 696px wide; a narrower column on this one page would break the pair, and the measure is the locked system's to change, not a page's */
/* Hallmark · finish-review, the connection test (2026-11-24): subagent · fix · 7 findings · 7 resolved: the green answer speaks only of what made the connection (it cannot know the leg behind an inspecting proxy); the comparison is a step with its two outcomes as definitions; Test again sits under the answer, which carries the time it was read; all six states captured, the refused one no longer promising a reading; the group leads its well as a fact; an algorithm's name is code and never cut; the unread state gives the public address */
/* Hallmark · answered F23 · every page carries the brand's one-line description; the screens behind sign-in are noindex and have no link preview */

/* Colours, type families, radii and rules come from the brand pack (/brand.css). Nothing here names a
   colour or a face: this file is the same under every brand. Direction-neutral throughout (inline and
   block, start and end), so a right-to-left language needs no second stylesheet. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px;
  --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;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms;
  --control: 36px; --control-small: 32px; --side: 15rem; --top: 56px; --measure: 68ch;
  --z-raised: 10; --z-dropdown: 100; --z-sticky: 200;
  --color-error: var(--status-bad); --color-error-soft: var(--status-bad-soft);
  /* A QR code is read by a camera: dark on light, whatever the mode. */
  --qr-ink: oklch(15% 0.01 260); --qr-paper: oklch(99% 0.002 260);
  /* Dusk's lit edge: a line of light along the top of the primary control, and of a raised panel in the dark. */
  --glint: oklch(100% 0 0 / 0.26); --edge-lit: none;
  /* The pages before the workspace: a card on a ground. In the dark the card is the lighter of the two. */
  --ground: var(--color-paper-2); --card: var(--color-paper);
}
[data-mode="dark"] { --edge-lit: inset 0 1px 0 color-mix(in oklab, var(--color-ink) 9%, transparent); --ground: var(--color-paper); --card: var(--color-paper-2); }
@media (prefers-color-scheme: dark) { :root:not([data-mode]) { --edge-lit: inset 0 1px 0 color-mix(in oklab, var(--color-ink) 9%, transparent); --ground: var(--color-paper); --card: var(--color-paper-2); } }
/* The mode switch offers the other mode than the one in effect, whether the person or their device chose it. */
.top__mode .mode--to-light { display: none; }
[data-mode="dark"] .top__mode .mode--to-light { display: inline-flex; }
[data-mode="dark"] .top__mode .mode--to-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-mode]) .top__mode .mode--to-light { display: inline-flex; } :root:not([data-mode]) .top__mode .mode--to-dark { display: none; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.5; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 24%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd, form { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.15; font-synthesis: none; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-2xl); } h2 { font-size: var(--text-lg); } h3 { font-size: var(--text-md); }
p { text-wrap: pretty; }
code, .mono { font-family: var(--font-mono); font-size: 0.9375em; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: var(--space-md); inset-block-start: var(--space-md); z-index: var(--z-sticky); padding: var(--space-xs) var(--space-md); background: var(--color-paper); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-control); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---- the wordmark: set in type from the pack's parts, or the pack's own drawing ---- */
.wordmark { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.03em; line-height: 1; text-decoration: none; color: inherit; }
.wordmark__accent { color: var(--wordmark-accent, var(--color-accent-text)); }
.wordmark__mark { font-size: 0.5em; font-weight: 700; letter-spacing: 0; align-self: flex-start; margin-inline-start: 1px; }
.wordmark svg { display: block; block-size: 1.5rem; inline-size: auto; }

/* ---- the shell ---- */
.app__frame { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-block-size: 100vh; }
.side { --wordmark-accent: var(--color-side-accent); display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-md); background: var(--color-side); color: var(--color-side-ink); border-inline-end: var(--rule-hair) solid var(--color-side-rule); }
.side .wordmark { padding: var(--space-xs) var(--space-xs) 0; }
.side :focus-visible { outline-color: var(--color-side-accent); }
.side__menu { display: flex; flex-direction: column; flex: 1; }
.side__menu::details-content { display: flex; flex-direction: column; flex: 1; }
.side__menu > summary { display: none; }
.side__body { display: flex; flex-direction: column; gap: var(--space-lg); flex: 1; }

.switch { position: relative; }
.switch__current { display: grid; gap: var(--space-3xs); padding: var(--space-xs) var(--space-sm); background: var(--color-side-2); border-radius: var(--radius-input); cursor: pointer; list-style: none; }
.switch__current::-webkit-details-marker { display: none; }
.switch__name { font-weight: 600; font-size: var(--text-sm); overflow-wrap: anywhere; }
.switch__meta { font-size: var(--text-xs); color: var(--color-side-muted); }
.switch__list { display: grid; gap: var(--space-3xs); margin-block-start: var(--space-2xs); padding: var(--space-2xs); background: var(--color-side-2); border-radius: var(--radius-input); }
.switch__list a { display: flex; align-items: center; min-block-size: var(--control); padding-inline: var(--space-xs); font-size: var(--text-sm); text-decoration: none; border-radius: var(--radius-input); color: var(--color-side-muted); }
.switch__list a[aria-current="true"] { color: var(--color-side-ink); font-weight: 600; }

.nav { display: grid; gap: var(--space-3xs); }
.nav a { display: flex; align-items: center; min-block-size: var(--control); padding-inline: var(--space-sm); font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--color-side-muted); border-radius: var(--radius-control); transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.nav a[aria-current="page"] { color: var(--color-side-ink); background: var(--color-side-2); font-weight: 600; }
.nav--foot { margin-block-start: auto; padding-block-start: var(--space-md); border-block-start: var(--rule-hair) solid var(--color-side-rule); }

.work { display: flex; flex-direction: column; min-width: 0; }
.top { display: flex; align-items: center; gap: var(--space-md); min-block-size: var(--top); padding-inline: var(--space-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
.crumbs { margin-inline-end: auto; font-size: var(--text-sm); color: var(--color-muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs b { font-weight: 600; color: var(--color-ink); }
.crumbs a { color: inherit; }
.who { position: relative; }
.who__name { display: flex; align-items: center; white-space: nowrap; min-block-size: var(--control); padding-inline: var(--space-sm); font-size: var(--text-sm); font-weight: 500; border-radius: var(--radius-control); cursor: pointer; list-style: none; }
.who__name::-webkit-details-marker { display: none; }
.who__menu { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + var(--space-2xs)); z-index: var(--z-dropdown); display: grid; gap: var(--space-xs); min-inline-size: 15rem; padding: var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-card); font-size: var(--text-sm); }
.who__email { color: var(--color-muted); overflow-wrap: anywhere; }

.main { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--space-lg); padding: var(--space-lg) var(--space-lg) var(--space-2xl); inline-size: 100%; max-inline-size: 90rem; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-xs) var(--space-lg); }
.head > * { min-width: 0; }
.head h1 { grid-column: 1; }
.head__meta { grid-column: 1; grid-row: 2; font-size: var(--text-sm); color: var(--color-muted); max-inline-size: var(--measure); }
.head__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.block { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); }
.lead { color: var(--color-ink-2); max-inline-size: var(--measure); }
.note, .help { font-size: var(--text-sm); color: var(--color-muted); }
.help { min-block-size: 1lh; }
.link { color: var(--color-accent-text); text-decoration: underline; }
.block__head .link { white-space: nowrap; }

/* ---- controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-block-size: var(--control); padding-inline: var(--space-md); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--color-ink); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-control); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--primary { color: var(--color-accent-ink); background: var(--color-accent); border-color: var(--color-accent); box-shadow: inset 0 1px 0 var(--glint); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.quiet { display: inline-flex; align-items: center; min-block-size: var(--control-small); padding-inline: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-text); background: none; border: 0; border-radius: var(--radius-control); cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; position: relative; }
.quiet::before { content: ""; position: absolute; inset: -7px 0; }        /* a 44px target without a taller row */
.quiet--danger { color: var(--color-error); }
.top .quiet, .who .quiet { color: var(--color-ink-2); text-decoration: none; }
@media (hover: hover) {
  .btn:hover { background: var(--color-paper-2); }
  .btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
  .nav a:hover, .switch__list a:hover { color: var(--color-side-ink); background: var(--color-side-2); }
  .quiet:hover, .who__name:hover { background: var(--color-paper-2); }
  .table tbody tr:hover { background: var(--color-paper-2); }
  .link:hover { text-decoration-thickness: 2px; }
}

.label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.field { display: block; inline-size: 100%; min-block-size: var(--control); padding-inline: var(--space-sm); font-size: var(--text-md); color: var(--color-ink); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-input); outline: 2px solid transparent; outline-offset: -3px; }
.field:focus-visible { outline-color: var(--color-focus); }
.field:disabled { opacity: 0.55; cursor: not-allowed; }
.field[aria-invalid="true"] { border-color: var(--color-error); }
.field--small { inline-size: auto; min-block-size: var(--control-small); font-size: var(--text-sm); padding-inline: var(--space-xs); }
.field--code { font-family: var(--font-mono); font-size: var(--text-lg); letter-spacing: 0.12em; max-inline-size: 14rem; }
.form { display: grid; gap: var(--space-xs); justify-items: start; }
.form .field { margin-block-end: var(--space-xs); }
.form--row { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--space-sm) var(--space-md); align-items: end; justify-items: stretch; max-inline-size: 72rem; }
.form--row .field { margin-block-end: 0; }
.form--row .label { margin-block-end: var(--space-2xs); }
.form--row .btn { justify-self: start; }
.inline { display: inline-flex; align-items: center; gap: var(--space-xs); }

/* ---- tables: horizontal rules only, heads in sentence case ---- */
.table { inline-size: 100%; border-collapse: collapse; font-size: var(--text-sm); border-block-start: var(--rule-bar) solid var(--color-rule-strong); }
.table th { padding: var(--space-xs) var(--space-sm); text-align: start; font-weight: 500; color: var(--color-muted); white-space: nowrap; border-block-end: var(--rule-hair) solid var(--color-rule-strong); }
.table td { padding: var(--space-sm); vertical-align: middle; line-height: 1.35; border-block-end: var(--rule-hair) solid var(--color-rule); }
.table th:first-child, .table td:first-child { padding-inline-start: var(--space-xs); }
.table__act { text-align: end; inline-size: 16rem; }
.inline .confirm__body { max-inline-size: 20rem; }
.table__wrap { overflow-wrap: anywhere; max-inline-size: 28rem; }

.chip { display: inline-flex; align-items: center; min-block-size: 22px; padding-inline: var(--space-xs); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; color: var(--color-muted); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); }
.table .chip { min-block-size: 20px; margin-block: calc(-1 * var(--space-3xs)); }
.chip--ok { color: var(--status-ok); background: var(--status-ok-soft); border-color: transparent; }
.chip--warn { color: var(--status-warn); background: var(--status-warn-soft); border-color: transparent; }
.chip--bad { color: var(--status-bad); background: var(--status-bad-soft); border-color: transparent; }
.chip--plain { border-style: dashed; border-color: var(--color-muted); }

.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); row-gap: var(--space-md); }
.tally > div { display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; padding-inline: var(--space-lg); border-inline-start: var(--rule-hair) solid var(--color-rule); }   /* a label that wraps leaves its figure level with the others */
.tally > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.tally dt { font-size: var(--text-sm); color: var(--color-muted); }
.tally dd { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); letter-spacing: var(--display-tracking); line-height: 1.2; }
.tally dd .chip { vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }
.tally dd.tally__words { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 500; letter-spacing: 0; line-height: 1.4; padding-block-start: var(--space-xs); }
.sub { display: block; font-size: var(--text-xs); color: var(--color-muted); }

/* ---- a step before anything that removes: the control opens to say what will happen ---- */
.confirm { display: block; }
.confirm > summary { list-style: none; }
.confirm > summary::-webkit-details-marker { display: none; }
/* The step opens in place, inside a column of fixed width, so the row grows downward and nothing beside it moves. */
.confirm__body { display: grid; gap: var(--space-xs); justify-items: start; margin-block-start: var(--space-xs); padding: var(--space-sm) var(--space-md); text-align: start; white-space: normal; background: var(--color-paper-2); border-radius: var(--radius-input); box-shadow: var(--edge-lit); }
.confirm__body p { font-size: var(--text-sm); color: var(--color-ink-2); }

.facts { display: grid; gap: var(--space-sm); max-inline-size: var(--measure); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { overflow-wrap: anywhere; }

/* ---- what a region says when it is not full ---- */
.empty { display: grid; gap: var(--space-xs); justify-items: start; padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius-card); box-shadow: var(--edge-lit); max-inline-size: var(--measure); }
.empty p { color: var(--color-ink-2); }
.alert { display: grid; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md); color: var(--status-bad); background: var(--status-bad-soft); border-radius: var(--radius-input); max-inline-size: var(--measure); }
.notice { display: grid; gap: var(--space-xs); padding: var(--space-md); background: var(--color-accent-soft); border-radius: var(--radius-input); max-inline-size: 72rem; }
.link-once { display: block; padding: var(--space-xs) var(--space-sm); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-input); overflow-wrap: anywhere; user-select: all; }

/* ---- the pages before the workspace ---- */
.plain { display: grid; grid-template-rows: auto 1fr auto; min-block-size: 100vh; background: var(--ground); }
.plain__bar { padding: var(--space-lg); }
.plain__main { display: grid; place-items: start center; padding: var(--space-md) var(--space-md) var(--space-2xl); }
.plain__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding: var(--space-md) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.panel { display: grid; gap: var(--space-md); inline-size: 100%; max-inline-size: 26rem; padding: var(--space-xl) var(--space-lg); color: var(--color-ink); background: var(--card); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--edge-lit); }
.panel--wide { max-inline-size: 52rem; }
.panel .form { justify-items: stretch; }
.panel .btn { min-block-size: 44px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.or::before, .or::after { content: ""; border-block-start: var(--rule-hair) solid var(--color-rule); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-xl); }
.choice { display: grid; align-content: start; gap: var(--space-sm); }
.choice + .choice { padding-inline-start: var(--space-xl); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.qr { justify-self: start; padding: var(--space-xs); color: var(--qr-ink); background: var(--qr-paper); border-radius: var(--radius-input); }
.qr svg { display: block; inline-size: 11rem; block-size: 11rem; }
.secret { font-size: var(--text-sm); }
.secret .label { display: inline; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-lg); padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-input); }
.codes code { font-size: var(--text-md); }

/* ---- under 60rem the sidebar becomes a menu at the top ---- */
@media (max-width: 60rem) {
  .app__frame { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-sm); border-inline-end: 0; border-block-end: var(--rule-hair) solid var(--color-side-rule); }
  .side .wordmark { padding: 0; margin-inline-end: auto; }
  .side__menu { display: block; flex: none; }
  .side__menu[open] { flex-basis: 100%; }
  .side__menu::details-content { display: block; }
  .side__menu > summary { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: var(--space-sm); font-size: var(--text-sm); font-weight: 500; border: var(--rule-hair) solid var(--color-side-rule); border-radius: var(--radius-control); cursor: pointer; list-style: none; }
  .side__menu > summary::-webkit-details-marker { display: none; }
  .side__body { padding-block-start: var(--space-sm); gap: var(--space-md); }
  .nav a, .switch__list a { min-block-size: 44px; font-size: var(--text-md); }
  .nav--foot { margin-block-start: 0; }
  .top, .main { padding-inline: var(--space-md); }
  .choice + .choice { padding-inline-start: 0; border-inline-start: 0; padding-block-start: var(--space-lg); border-block-start: var(--rule-hair) solid var(--color-rule); }
  .tally > div { padding-inline: 0 var(--space-md); border-inline-start: 0; }
  .btn, .field { min-block-size: 44px; }
}

/* ---- under 48rem a table row becomes a labelled block: what names the row and what acts on it stay in view ---- */
@media (max-width: 48rem) {
  .table, .table tbody, .table tr, .table td { display: block; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-sm); border-block-end: var(--rule-hair) solid var(--color-rule); }
  .table td { padding: 0; border: 0; white-space: normal; text-align: start; max-inline-size: none; }
  .table td:first-child { padding: 0; font-weight: 600; }
  .crumbs__up { display: none; }               /* on a phone the trail is the page you are on */
  .table__act { inline-size: auto; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
  .table__act .quiet { margin-inline-start: calc(-1 * var(--space-xs)); }
  /* A log entry: its number and its time on one line as the row's head, then who, what and the rest. */
  .table--log tr { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-xs); }
  .table--log td { grid-column: 1 / -1; }
  .table--log td:first-child { grid-column: 1; }
  .table--log td:first-child::after { content: "."; }
  .table--log td:nth-child(2) { grid-column: 2; font-weight: 600; }
  .table td:empty { display: none; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .head__actions { grid-column: 1; grid-row: auto; }
  .form--row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .side, .top, .skip { display: none; }
  .app__frame { display: block; }
}

/* ---- M1: the inventory, its estate map, findings and evidence ---- */
.tally__unit { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.tally__link { color: inherit; text-decoration-color: var(--color-rule-strong); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-2xs); border-block-end: var(--rule-hair) solid var(--color-rule); }
.tabs a { display: inline-flex; align-items: center; min-block-size: var(--control); padding-inline: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); text-decoration: none; border-block-end: 2px solid transparent; margin-block-end: -1px; }
.tabs a[aria-current="page"] { color: var(--color-ink); border-block-end-color: var(--color-accent); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.filters .quiet[aria-current="true"] { color: var(--color-ink); background: var(--color-accent-soft); text-decoration: none; }
.filters__gap { margin-inline-start: var(--space-md); }
h1 code { font-size: 0.82em; font-weight: 500; letter-spacing: 0; }
b, strong { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.facts--grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-md) var(--space-lg); max-inline-size: none; }
.prose { max-inline-size: 56ch; white-space: pre-line; color: var(--color-ink-2); }
.plainlist { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.raw > summary { list-style: none; } .raw > summary::-webkit-details-marker { display: none; }
.raw pre { margin: var(--space-xs) 0 0; padding: var(--space-sm); max-block-size: 22rem; max-inline-size: 44rem; overflow: auto; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.5; background: var(--color-paper-2); border-radius: var(--radius-input); }
.notice--narrow { max-inline-size: var(--measure); }
.tools { gap: 0; }
.alert--warn { color: var(--status-warn); background: var(--status-warn-soft); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.map { display: grid; gap: var(--space-sm); }
.map__say { font-size: var(--text-sm); color: var(--color-ink-2); max-inline-size: var(--measure); }
.map__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(3rem, 0.4fr) minmax(0, 1.3fr) minmax(3rem, 0.4fr) minmax(0, 1.3fr); align-items: start; }
.map__col h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-muted); margin-block-end: var(--space-xs); min-block-size: 1.5rem; }
.map__gutter { padding-block-start: calc(1.5rem + var(--space-xs)); }
.map__list { display: grid; gap: var(--space-xs); }      /* with the row's height, the pitch the paths are drawn to (estate.py) */
.map__paths { display: block; inline-size: 100%; overflow: visible; }
.path { fill: none; stroke-width: 1.5px; stroke: var(--color-rule-strong); }
.path--bad { stroke: var(--status-bad); } .path--warn { stroke: var(--status-warn); } .path--ok { stroke: var(--status-ok); }
.path--off { stroke: var(--color-rule); stroke-width: 1px; }
.node { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 var(--space-xs); block-size: 56px; padding: var(--space-2xs) var(--space-sm); background: var(--color-paper-2); border-radius: var(--radius-input); box-shadow: var(--edge-lit); }
.node__name { font-size: var(--text-sm); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.node__sub { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; overflow: hidden; }
.node__sub .chip { flex: none; }
.node__what, .node__kin { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }      /* names from uploads run longer than a scan's */
.node__name code { display: block; overflow: hidden; text-overflow: ellipsis; }      /* a name past forty characters gives way here; the row's title and the tables hold it whole */
.node__trace { min-block-size: 22px; font-size: var(--text-xs); }
/* What a trace leaves out recedes by colour, not by fading: its links stay readable. The traced row takes
   an outline and no tint, because in this one view a colour is a posture. */
.node--dim { background: none; box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.node--dim .node__name, .node--dim .node__sub { color: var(--color-muted); }
.node--dim .chip { color: var(--color-muted); background: none; border: var(--rule-hair) solid var(--color-rule); }
.node--focus { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.node__what { overflow: hidden; text-overflow: ellipsis; min-inline-size: 0; }
.node__kin, .map__narrow { display: none; }
@media (hover: hover) { .node__name:hover { text-decoration: underline; } }
/* Under 60rem there is no room to draw paths: each row says how many it is joined to, and a trace
   brings what it joins to the top of each list. */
@media (max-width: 60rem) {
  .map__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .map__gutter, .map__wide, .node__what { display: none; }
  .map__narrow, .node__kin { display: inline; }
  .node--dim { order: 1; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .tabs a { white-space: nowrap; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally dd { white-space: normal; overflow-wrap: anywhere; }
  /* Two to a row: each label keeps room for two lines and each unit goes under its figure, so figures stay level. */
  .tally > div { align-content: start; }
  .tally dt { min-block-size: 2lh; }
  .tally__unit { display: block; }
}
@media (max-width: 48rem) {
  .block__head { flex-wrap: wrap; }
  .block__head h2 { flex-basis: 100%; }
  .block__head .link { white-space: normal; overflow-wrap: anywhere; }
  .ledger td:first-child { font-weight: 400; }
  .table td:first-child code { font-weight: 400; }
  .facts--grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 48rem) {
  .table--evidence td:nth-child(2) { white-space: nowrap; max-inline-size: none; }
  .table--evidence .sub { white-space: nowrap; }
}
.check { display: flex; align-items: center; gap: var(--space-xs); min-block-size: var(--control); font-size: var(--text-sm); }
.check input { inline-size: 18px; block-size: 18px; accent-color: var(--color-accent); }
.authorise { max-inline-size: 44rem; justify-items: stretch; }
.authorise__statement { padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-input); color: var(--color-ink-2); box-shadow: var(--edge-lit); }
.authorise .btn { justify-self: start; }
.table--console :is(th, td):first-child { inline-size: 7rem; }
.table--console :is(th, td):nth-child(2) { inline-size: 16rem; }

/* Restraint: a target's scan window and pace. A fieldset is a group to pick from, with its legend as the label. */
.pick { display: grid; gap: 0; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.pick > legend { padding: 0; }
.pick--row { display: flex; flex-wrap: wrap; column-gap: var(--space-md); }
.pick--row > legend { inline-size: 100%; }
.restraint { max-inline-size: 44rem; justify-items: stretch; margin-block-start: var(--space-sm); }
.restraint .btn { justify-self: start; }
.restraint__when { display: grid; gap: var(--space-xs); }
.restraint:has(input[name="window"][value="any"]:checked) .restraint__when { display: none; }     /* hours and days are asked only when a window is wanted */
.restraint__hours { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
.field--time { inline-size: 9rem; }
.table--files { margin-block-start: var(--space-sm); }
.table__act--narrow { inline-size: 7rem; }             /* one short action: the column need not hold three */
/* Something that opens in place and is not a step that stops or removes: a long list, a form to change a setting. */
.fold > summary { list-style: none; inline-size: fit-content; }
.fold > summary::-webkit-details-marker { display: none; }
.block > .fold > summary.quiet, .block > .confirm > summary.quiet { margin-inline-start: calc(-1 * var(--space-xs)); }
/* A stop is an outline with the status red as its ink: never a red fill. */
.btn--danger { color: var(--color-error); inline-size: fit-content; cursor: pointer; }
.confirm > summary.btn { display: inline-flex; }
.confirm--end { text-align: end; }
.confirm--end .confirm__body { max-inline-size: 20rem; margin-inline-start: auto; }
.confirm__body--grave { max-inline-size: var(--measure); justify-items: stretch; }
.confirm__body--grave .btn { justify-self: start; }
.confirm__body--grave > p:first-of-type { font-size: var(--text-md); color: var(--color-ink); }
.form__alert { grid-column: 1 / -1; }
.form--add { margin-block-start: var(--space-md); }
.actions--note { align-items: center; gap: var(--space-sm); }
.note--line { display: block; }
.nowrap { white-space: nowrap; }
/* M2, intake: what happens to a file, the reading's notes, the file field. */
.steps { display: grid; gap: var(--space-2xs); padding-inline-start: var(--space-md); max-inline-size: var(--measure); color: var(--color-ink-2); }
.warnings { max-inline-size: var(--measure); }
.field--file { padding-block: var(--space-2xs); }
.form.upload { max-inline-size: var(--measure); justify-items: stretch; }
.form.upload .btn { justify-self: start; }
.field-note { margin-block: calc(-1 * var(--space-xs)) var(--space-sm); }
.spaced { margin-block-start: var(--space-md); }
.field--file::file-selector-button { margin-inline-end: var(--space-sm); padding-inline: var(--space-sm); min-block-size: calc(var(--control) - 2 * var(--space-2xs) - 2px); font: inherit; font-size: var(--text-sm); color: var(--color-ink); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-control); cursor: pointer; }
.check input { outline: var(--rule-hair) solid var(--color-rule-strong); outline-offset: -1px; }        /* an unchecked box keeps an edge on the dark slate */
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* M2, the request list: a command to run as written, and a step's quiet actions side by side */
.command { margin: var(--space-2xs) 0 0; padding: var(--space-xs) var(--space-sm); max-inline-size: 52rem; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--color-paper-2); border-radius: var(--radius-input); }
.row-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); align-items: start; }
.profile { max-inline-size: var(--measure); }
.profile__row { display: grid; gap: var(--space-3xs); }
.field--count { inline-size: 8rem; }
.row-actions--end { justify-content: end; margin-block-start: 0; }
.row-actions > details:first-child > summary.quiet { margin-inline-start: calc(-1 * var(--space-xs)); }   /* a quiet action that leads its row sits on the text's edge */
/* M3: the Systems view's bulk form sits under its table inside one form; a ticked row's box keeps to its column. */
.bulk { margin-block-end: var(--space-sm); }
.hash { overflow-wrap: anywhere; }
.ledger td { vertical-align: top; }
.steps-stack { display: grid; gap: var(--space-xs); max-inline-size: var(--measure); }
.steps-stack .confirm__body { justify-items: stretch; }
.steps-stack .confirm__body .btn { justify-self: start; }
.table__pick { inline-size: 2.75rem; }
.table__pick input { display: block; inline-size: 18px; block-size: 18px; accent-color: var(--color-accent); }
.table__keep { min-inline-size: 8.5rem; }
/* M3, the plan: the road map's timeline, drawn on the server in a 1000-wide box that scales evenly, names in its gutter. */
.timeline { margin: 0 0 var(--space-md); display: grid; gap: var(--space-xs); }
.timeline__frame { overflow-x: auto; max-inline-size: 72rem; }          /* on a phone the chart keeps a readable size and scrolls in its frame */
.timeline__chart { display: block; inline-size: 100%; min-inline-size: 44rem; block-size: auto; }
.tl__year { stroke: var(--color-rule); stroke-width: 1; stroke-opacity: 0.6; }
.tl__label { fill: var(--color-muted); font-family: var(--font-body); font-size: 13px; font-variant-numeric: tabular-nums; }
.tl__name { fill: var(--color-ink); font-family: var(--font-body); font-size: 14px; }
.tl__marker { stroke: var(--color-rule-strong); stroke-width: 1; stroke-dasharray: 4 3; }
.tl__horizon { stroke: var(--color-ink); stroke-width: 2; }
.tl__today { stroke: var(--color-muted); stroke-width: 1; stroke-dasharray: 1 3; }
.tl__bar { fill: var(--color-ink-2); }
.tl__bar--late { fill: var(--status-bad); }
/* M3, reports: the two papers side by side, each its own small form. */
.papers { display: grid; gap: var(--space-lg); margin-block-start: var(--space-sm); }          /* one paper a row: each form's fields run wider than half the page */
.paper-form { display: grid; gap: var(--space-xs); align-content: start; }
.paper-form h3 { font-size: var(--text-md); }
.paper-form .note { max-inline-size: var(--measure); }
/* M3, the verify page: a wider pre-sign-in card, and the answer in a bone well edged in its status colour. */
.verdict { display: grid; gap: var(--space-xs); margin-block: var(--space-sm) var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-input); }
.verdict h2 { font-size: var(--text-lg); }
.verdict--signed { background: var(--status-ok-soft); } .verdict--signed h2 { color: var(--status-ok); }
.verdict--unsigned { background: var(--status-warn-soft); } .verdict--unsigned h2 { color: var(--status-warn); }
.verdict--missing, .verdict--broken, .verdict--other-key { background: var(--status-bad-soft); }
.verdict--missing h2, .verdict--broken h2, .verdict--other-key h2 { color: var(--status-bad); }
/* The connection test (pqc-to-do.md item 9): the same well, named by what it says. A key exchange with a post-quantum
   part holds (green-teal); a classical one is quantum-vulnerable (the status red, as its chip is everywhere else);
   what cannot be read or is not known takes the bone well and no status. */
.verdict--ok { background: var(--status-ok-soft); } .verdict--ok h2 { color: var(--status-ok); }
.verdict--bad { background: var(--status-bad-soft); } .verdict--bad h2 { color: var(--status-bad); }
.verdict--none { background: var(--color-paper-2); }
.prose-page .verdict p { color: var(--color-ink); }
.verdict code { white-space: nowrap; }                       /* an identifier is never cut inside its own answer */
.facts--pair { grid-template-columns: repeat(2, minmax(0, max-content)); gap: var(--space-2xs) var(--space-xl); }
@media (max-width: 30rem) { .facts--pair { grid-template-columns: minmax(0, 1fr); } }
.field--hash { font-family: var(--font-mono); font-size: var(--text-sm); }
.timeline__frame:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* Finish review of M3's second part: prose at the measure, the papers' fields in one grid, timestamps whole, the timeline's key. */
.timeline__key, .block > .alert { max-inline-size: var(--measure); }
p.note { max-inline-size: 52ch; }          /* about 70 characters of the small face: a ch is a "0", wider than the average letter */
.paper-form .form--row { grid-template-columns: repeat(3, minmax(10rem, 13rem)) auto; }
.field-static { min-block-size: var(--control); display: flex; align-items: center; margin: 0; color: var(--color-ink-2); }
@media (max-width: 60rem) { .paper-form .form--row { grid-template-columns: minmax(0, 1fr); } }
.when { white-space: nowrap; }
.timeline__key { display: grid; gap: var(--space-2xs) var(--space-md); grid-template-columns: max-content 1fr; margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.timeline__key dt { font-weight: 500; color: var(--color-ink); }
.timeline__key dd { margin: 0; }
.tl__mark { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 12px; }
/* Playbooks on a task (M3, closing): one fold per platform, the measured one open; facts at the measure, commands as code. */
.playbook { margin-block-start: var(--space-sm); padding-block: var(--space-xs); border-block-start: var(--rule-hair) solid var(--color-rule); }
.playbook .facts dd.prose { max-inline-size: 68ch; }
.sources { margin: var(--space-2xs) 0 0; padding-inline-start: var(--space-md); display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); max-inline-size: 68ch; }
.playbook__label { margin-block-start: var(--space-sm); }

/* ---- M4: the demonstration bank's bar and its guided tour ---- */
/* A bone band under the top bar, on every screen of the demonstration organisation: the line that says it is a
   demonstration, or during the tour one line with the stop and one sentence on what to look at, and the way on.
   Never a primary: the page beneath keeps its own one. Its contents keep the page's cap; the band runs full width. */
.demo-bar { background: var(--color-paper-2); border-block-end: var(--rule-hair) solid var(--color-rule); }
.demo-bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-md);
  max-inline-size: 90rem; padding: var(--space-sm) var(--space-lg); }
.demo-bar__note { font-size: var(--text-sm); color: var(--color-ink-2); }
.demo-bar__stop { display: grid; gap: var(--space-2xs); flex: 1 1 32rem; max-inline-size: var(--measure); }
.demo-bar__where { font-size: var(--text-sm); color: var(--color-ink-2); }
.demo-bar__where strong { color: var(--color-ink); }
.demo-bar__text { font-size: var(--text-sm); }
.demo-bar__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: var(--space-xs); }
.demo-bar .btn:hover { background: var(--color-paper-3); }
@media (max-width: 48rem) {
  .demo-bar { --control: 44px; }
  .demo-bar__in { padding-inline: var(--space-md); }
  .demo-bar__nav { justify-content: start; }
}

/* M4, closing: the security page, a pre-sign-in page of prose (portal-dev-plan.md section 9.9). One white card, heads
   in the body's scale, paragraphs at the measure, no figures and no tiles. */
.prose-page { gap: var(--space-sm); max-inline-size: calc(var(--measure) + 2 * var(--space-lg) + 2px); }
.demo-bar__note--measure { max-inline-size: var(--measure); }
.plain__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
.prose-page h1 { margin-block-end: var(--space-2xs); }
.prose-page h2 { margin-block-start: var(--space-md); font-size: var(--text-lg); }
.prose-page p { max-inline-size: var(--measure); color: var(--color-ink-2); }
.prose-page .lead { color: var(--color-ink); }
