/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: brand · redesign: full · draw: 9aa08c · job: try
 * paper: oklch(0.96 0.011 85) · accent: oklch(0.38 0.077 241) · display: Frank Ruhl Libre · body: Heebo · hero: Stage (/), Banner (/accessibility.html), Banner (/privacy.html), Banner (/404.html) · nav: masthead · footer: statement · signature: real demo screens that carry their honest status marks, Luna's penicillin alert first
 * axes: light/high-contrast-serif/cool · posture: Restrained · imagery: screenshots 5 (public demo, 2x) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · swapped the draw's Settled hero for Stage on / · at 6|6 the wide ward-card capture left the text 266px short of it; 5|7 gives the real screen the width it reads at */
/* Hallmark · waive 78 · the accessibility statement and the privacy policy are long documents set as Banner routes · their own section heads render at 40px; the 20px head measured there is the cookie notice inside the fixed dock */
/* Hallmark · waive 77 · a labelled part of the privacy policy kept at the document's 68ch measure · the policy section on changing the cookie choice is legal text, kept verbatim and at reading width */
/* Hallmark · waive 79 · on the Banner document routes the band is measured to the fixed cookie notice, which sits first in the DOM so keyboard users reach the consent choice right after the skip link · the statement's first section starts 64px under its title */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V5 · weakest: E, the ledger is dense for the screen budget; every status stays visible and each description moved into a disclosure */
/* Hallmark · answered F18 · the production CSP forbids inline script, and the captured screens are the owner's own product, so no slot-swap script ships */
/* Hallmark · dropped data-demo-pulse, data-demo-time, data-sync-step · the simulated pulse, clock and lab route animated drawn record mocks; real captured screens replace them (84) */
/* Hallmark · dropped #ready, calendar-1600.webp, file-1600.webp, hospital-1600.webp · the future block now lives inside the ledger chapter, and the three screens were recaptured at 2x with tighter crops */
/* Hallmark · hero-review: fix · 5 findings · 3 resolved, 1 partial (the phone fold sits behind the owner's first-visit consent notice), 1 to the owner (the headline is the owner's own line) */
/* Hallmark · answered F4 · the close band repeats the hero's one action, open the demo, in its inverse colours; it is the same action, not a second primary */
/* Hallmark · dismissed 59 · the tenth section is the cookie notice's own labelled section inside the fixed dock, not a page section */
/* Hallmark · finish-review: subagent workflow · first word fix · 8 findings, 0 confirmed by its skeptic, 2 taken as design improvements (the ledger key's alignment, the footer chapters' orphan row); Hebrew 4/12, accessibility 2/5, honesty 5/12 confirmed, all fixed */
/* Hallmark · dismissed 77 · the accessibility statement, the privacy policy and the 404 are documents with one subject each, not landing pages to be filled to six sections */
/* Hallmark · dropped זאוס, כל החלקים. בלי לייפות., שלושה כלים. אותה תמונה., האחריות ברורה. גם הפרטים., כל המעבדות. באותו תיק מטופל. · the drawn case sheet left with its heading and each section keeps one head; the facts under these heads moved into the ledger and beside their proofs */
/* Hallmark · dropped חותמים על המסך. המסמך נשאר בתיק., השיחה טבעית. המטרה ברורה., היום מתחיל בקבלה., בין רישום אחד לפעולה הבאה., המספרים מחושבים. שיקול הדעת נשאר שלכם., גם תורים שאינם חיסונים., עוד מבט על הדימות. · still on the page word for word, as caption leads, ledger row names and detail leads rather than headings; the two ledger row names lost only their full stops */
/* Hallmark · reworded "מה יש במערכת. ומה עוד בדרך." to "מה יש במערכת, ומה עוד בדרך.", "אצלכם. בענן. או גם וגם." to "אצלכם, בענן, או גם וגם.", "אותו מטופל. מבט אחר לכל תפקיד." to "מבט אחר מכל עמדה." · 19 names the two-beat rebuttal cadence that every section head repeated */
/* Hallmark · dropped 09:00, 09:30, 10:00, 05:00, 13:00, 22:45, 31.20 · sample times of the drawn appointment strip and ward sheet left with them; 22:45 and 31.20 remain in the clinical role view and the correction disclosure, one choice away */
/* Hallmark · dropped anamnesis-title, calc-title, case-caption, lab-title, reception-title, route-caption, screens-title, signature-title, voice-title, ward-title · label ids of headings and figures that moved into the ledger or left with the drawn mocks */
/* Hallmark · added .cap-recordings · five recorded test calls, each with a transcript disclosure, inside the voice receptionist's ledger row (24 November 2026, on the owner's word) · native <audio controls preload="none">, so nothing is fetched until played; the row keeps its prototype mark and its limit */
@import url("./tokens.css?v=hallmark-9") layer(tokens);
@import url("./base.css?v=hallmark-9") layer(base);

/* ---------- Page defaults on top of base.css ---------- */
html {
  scroll-padding-top: var(--space-lg);
  /* Keyboard focus scrolls clear of the fixed dock and its cookie notice (WCAG 2.4.11).
     preferences.js measures the dock, open notice included, into this custom property. */
  scroll-padding-bottom: var(--accessibility-clearance, calc(var(--target) + var(--space-xl)));
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="calm"]) {
    scroll-behavior: smooth;
  }
}
body {
  font-size: var(--text-body);
  line-height: 1.6;
  font-synthesis: none;
}
h1,
h2,
h3 {
  font-weight: var(--display-weight);
}
h2 {
  letter-spacing: -0.015em;
}
strong,
b {
  font-weight: 600;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex-shrink: 0;
}
bdi,
time {
  font-variant-numeric: tabular-nums;
}
time {
  direction: ltr;
  unicode-bidi: isolate;
}
a:hover {
  color: var(--color-accent);
}
.skip {
  position: fixed;
  inset-block-start: var(--space-md);
  inset-inline-start: var(--space-md);
  z-index: var(--z-toast);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

/* ---------- Controls: the one filled primary, an outlined secondary, typographic links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  padding-inline: var(--space-lg);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font: 600 var(--text-md) / 1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}
.button.primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.button.primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-ink);
}
.button.secondary {
  border-color: var(--color-ink);
  background: transparent;
  color: var(--color-ink);
}
.button.secondary:hover {
  background: var(--color-paper-2);
  color: var(--color-ink);
}
.button:active {
  transform: translateY(1px);
}
.button:focus-visible,
.text-link:focus-visible,
.text-button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.text-link,
.text-button {
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color var(--dur-short) var(--ease-out);
}
.text-link:hover,
.text-button:hover {
  color: var(--color-accent);
}
.text-link:active,
.text-button:active {
  color: var(--color-accent-hover);
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--text-md);
  cursor: pointer;
}
.text-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Status marks: built, built with a stated limit, prototype, a direction for later ---------- */
.status-mark {
  display: inline-block;
  inline-size: 10px;
  block-size: 10px;
  border: 1.5px solid var(--color-ink);
  flex-shrink: 0;
}
.status-mark[data-status="built"] {
  background: var(--color-ink);
}
.status-mark[data-status="partial"] {
  background: linear-gradient(to left, var(--color-ink) 50%, transparent 50%);
}
.status-mark[data-status="future"] {
  border-style: dashed;
}
.cap-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-ink);
  font-weight: 600;
}

/* ---------- Real screens in the record bracket (the paw mark's open L) ---------- */
.proof {
  display: grid;
  gap: var(--space-lg);
  min-inline-size: 0;
  margin: 0;
}
.screen-link {
  position: relative;
  display: block;
  color: var(--color-ink);
  text-decoration: none;
}
.screen-link::before,
.screen-link::after {
  content: "";
  position: absolute;
  inset-block: 0 calc(-1 * var(--space-sm));
  inset-inline: 0 calc(-1 * var(--space-sm));
  pointer-events: none;
  transition: border-color var(--dur-short) var(--ease-out);
}
.screen-link::before {
  border-inline-end: var(--rule-bracket) solid currentColor;
  border-block-end: var(--rule-bracket) solid currentColor;
}
/* The two short returns of the bracket: top of the open side and the far end of the base.
   Physical corners on purpose: the site is Hebrew-only, so the open side is always the left. */
.screen-link::after {
  background:
    linear-gradient(currentColor, currentColor) left top / var(--bracket-arm) var(--rule-bracket) no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / var(--rule-bracket) var(--bracket-arm) no-repeat;
}
.screen-link:hover {
  color: var(--color-accent);
}
.screen-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: calc(var(--space-sm) + 4px);
}
.screen {
  display: block;
  background: var(--color-sheet);
  outline: 1px solid color-mix(in oklch, var(--color-ink) 9%, transparent);
  outline-offset: -1px;
}
.screen > img {
  object-position: right top;
}
.proof figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2xs) var(--space-sm);
  max-inline-size: 62ch;
  margin-block-start: var(--space-sm);
  color: var(--color-ink-2);
  font-size: var(--text-md);
  line-height: 1.5;
}
.proof figcaption .status-mark {
  inline-size: 12px;
  block-size: 12px;
}
.proof figcaption strong {
  color: var(--color-ink);
}

/* ---------- Masthead ---------- */
.masthead {
  border-block-end: 1px solid var(--color-rule);
}
.masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-md);
  min-block-size: var(--masthead-height);
}
.masthead-start {
  justify-self: start;
}
.masthead-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: var(--space-lg);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
  font: 600 1.625rem / 1 var(--font-body);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover {
  color: var(--color-ink);
}
.brand:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}
.brand-mark {
  inline-size: 40px;
  block-size: 40px;
  stroke-width: 2.5;
}
.brand-period {
  color: var(--color-accent);
}
.index-open,
.index-link,
.back-link,
.masthead-entry {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  padding-inline: var(--space-md);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--color-ink);
  font: 500 var(--text-md) / 1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}
.index-open svg {
  inline-size: 20px;
  block-size: 20px;
}
.index-open:hover,
.index-link:hover,
.back-link:hover,
.masthead-entry:hover {
  border-color: var(--color-ink);
  background: var(--color-paper-2);
  color: var(--color-ink);
}
.index-open:active,
.index-link:active,
.back-link:active,
.masthead-entry:active {
  background: var(--color-paper-3);
}
.index-open:focus-visible,
.index-link:focus-visible,
.back-link:focus-visible,
.masthead-entry:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
html:not([data-enhanced]) .index-open,
html[data-enhanced] .index-link {
  display: none;
}
.masthead-entry {
  border-color: var(--color-ink);
  gap: 0;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  color: var(--color-ink);
  font-weight: 500;
  text-underline-offset: 0.3em;
  white-space: nowrap;
}

/* ---------- Hero, Settled: centred in the first screen ---------- */
.hero {
  display: grid;
  align-items: center;
  min-block-size: calc(100svh - var(--masthead-height) - 1px);
  padding-block: var(--space-xl);
}
.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-2xl);
}
.opening-copy {
  display: grid;
  justify-items: stretch;
  gap: var(--space-lg);
}
.hero h1 {
  line-height: 1;
}
.hero .lead {
  color: var(--color-ink-2);
  max-inline-size: none;
}
.opening-actions {
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  margin-block-start: var(--space-xs);
}
.terms {
  max-inline-size: 44ch;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.proof-lead .screen {
  aspect-ratio: 585 / 455;
}

/* ---------- Dialogs: chapters and preferences ---------- */
.chapter-dialog,
.preferences-dialog {
  inline-size: min(36rem, calc(100% - 2 * var(--space-md)));
  max-block-size: calc(100% - 2 * var(--space-md));
  padding: var(--space-xl);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-card);
  background: var(--color-sheet);
  color: var(--color-ink);
  box-shadow: var(--shadow-dialog);
}
.chapter-dialog::backdrop,
.preferences-dialog::backdrop {
  background: color-mix(in oklch, var(--color-ink) 45%, transparent);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-block-end: var(--space-md);
}
/* The menu's title is a <p> since 24 November 2026, so the H1 is the page's first heading.
   It keeps the look base.css and the h2 rules above gave the <h2>. */
.dialog-top .dialog-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 700);
  font-synthesis: none;
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 30ch;
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-size: var(--text-title);
}
.menu-intro {
  margin-block-end: var(--space-lg);
  color: var(--color-muted);
}
.chapter-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: chapter;
  border-block-start: 1px solid var(--color-rule);
}
.chapter-nav li {
  counter-increment: chapter;
  border-block-end: 1px solid var(--color-rule);
}
.chapter-nav a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: var(--space-sm);
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
}
.chapter-nav a::before {
  content: counter(chapter, decimal-leading-zero);
  grid-row: span 2;
  color: var(--color-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.chapter-nav small {
  grid-column: 2;
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 400;
}
.chapter-nav a:hover,
.chapter-nav a[aria-current] {
  color: var(--color-accent);
}
.chapter-nav a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.menu-foot {
  margin-block-start: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.menu-foot a {
  display: inline-block;
  margin-inline-start: var(--space-xs);
  color: var(--color-ink);
  font-weight: 500;
}
.preferences-dialog fieldset {
  margin: 0 0 var(--space-lg);
  padding: 0;
  border: 0;
}
.preferences-dialog legend {
  margin-block-end: var(--space-xs);
  font-weight: 600;
}
.preferences-dialog label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
  border-block-end: 1px solid var(--color-rule);
  cursor: pointer;
}
.preferences-dialog label small {
  display: block;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.preferences-dialog input {
  inline-size: 20px;
  block-size: 20px;
  margin: var(--space-3xs) 0 0;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}
.preferences-dialog input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.cookie-preferences > p {
  margin-block-end: var(--space-xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.preference-error:not(:empty) {
  margin-block-end: var(--space-md);
  color: var(--color-error);
  font-size: var(--text-sm);
}
.preference-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
}
.preferences-more {
  margin-block-start: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.preference-feedback:empty {
  display: none;
}
.preference-feedback {
  padding: var(--space-md) var(--gutter);
  border-block-start: 1px solid var(--color-rule);
  background: var(--color-sheet);
  font-size: var(--text-sm);
}

/* ---------- The floating dock: accessibility and cookies, bottom left ---------- */
.privacy-dock {
  position: fixed;
  inset-inline-end: var(--space-md);
  inset-block-end: var(--space-md);
  z-index: var(--z-sticky);
  display: grid;
  justify-items: end;
  gap: var(--space-xs);
  max-inline-size: min(26rem, calc(100% - 2 * var(--space-md)));
}
.privacy-tools {
  display: inline-flex;
  border: 1px solid color-mix(in oklch, var(--color-band-ink) 30%, transparent);
  border-radius: var(--radius-control);
  background: var(--color-band);
}
.accessibility-launcher,
.cookie-launcher {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  padding-inline: var(--space-md);
  border: 0;
  background: transparent;
  color: var(--color-band-ink);
  font: 600 var(--text-sm) / 1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.accessibility-launcher + .cookie-launcher {
  border-inline-start: 1px solid color-mix(in oklch, var(--color-band-ink) 25%, transparent);
}
.accessibility-launcher svg,
.cookie-launcher svg {
  inline-size: 20px;
  block-size: 20px;
}
.accessibility-launcher:hover,
.cookie-launcher:hover {
  background: var(--color-ink-2);
  color: var(--color-band-ink);
}
.accessibility-launcher:active,
.cookie-launcher:active {
  background: var(--color-muted);
}
.accessibility-launcher:focus-visible,
.cookie-launcher:focus-visible {
  outline: 2px solid var(--color-band-ink);
  outline-offset: -4px;
}
.cookie-notice {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-rule-strong);
  background: var(--color-sheet);
  font-size: var(--text-sm);
}
.cookie-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-block-end: var(--space-xs);
}
/* The cookie notice's title is a <p> on every page since 24 November 2026, so the H1 is the first heading.
   It keeps the look base.css and the h2 rules above gave the <h2>. */
.cookie-heading .cookie-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 700);
  font-synthesis: none;
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 30ch;
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-size: var(--text-lg);
}
.cookie-close {
  display: grid;
  place-items: center;
  inline-size: var(--target);
  block-size: var(--target);
  margin-inline-end: calc(-1 * var(--space-sm));
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}
.cookie-close svg {
  inline-size: 20px;
  block-size: 20px;
}
.cookie-close:hover {
  color: var(--color-accent);
}
.cookie-close:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -4px;
}
.cookie-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-xs);
}
.choice-button {
  min-block-size: var(--target);
  white-space: nowrap;
  padding-inline: var(--space-sm);
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--color-ink);
  font: 600 var(--text-sm) / 1.2 var(--font-body);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.choice-button:hover {
  background: var(--color-paper-2);
}
.choice-button:active {
  background: var(--color-paper-3);
}
.choice-button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* ---------- Footer, statement ---------- */
.footer {
  margin-block-start: var(--section-gap);
  padding-block: var(--space-2xl) calc(var(--accessibility-clearance, 96px) + var(--space-lg));
  border-block-start: 1px solid var(--color-rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-xl) var(--gap-columns);
}
.footer-statement {
  grid-column: 1 / -1;
  max-inline-size: 22ch;
  font: var(--display-weight) var(--text-display-s) / 1.08 var(--font-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.footer-index,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: var(--space-2xs) var(--space-lg);
}
.footer-index {
  display: grid;
  grid-template-columns: repeat(4, max-content);
}
.footer-index a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  color: var(--color-ink);
  text-underline-offset: 0.3em;
}
.footer-index a:focus-visible,
.footer-links a:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-md) var(--space-lg);
  padding-block-start: var(--space-lg);
  border-block-start: 1px solid var(--color-rule);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.brand-small {
  font-size: var(--text-lg);
}
/* On the homepage the footer follows the ink band directly: no second gap, no second rule. */
main:has(> .close:last-child) + .footer {
  margin-block-start: 0;
  border-block-start: 0;
}

/* ---------- Sections: varied gaps, one diptych (text on the start side, proof on the end) ---------- */
.tour {
  margin-block-start: var(--section-gap-s);
}
.ledger,
.start {
  margin-block-start: var(--section-gap-l);
}
.roles,
.platforms {
  margin-block-start: var(--section-gap);
}
.original {
  margin-block-start: var(--section-gap-s);
}
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap-columns);
  row-gap: var(--space-2xl);
  align-items: start;
}
.split-text {
  grid-column: 1 / span 5;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-lg);
}
.split-proof,
.split > .proof {
  grid-column: 7 / span 6;
  min-inline-size: 0;
}
.split-lead .split-text {
  grid-column: 1 / span 5;
  position: sticky;
  inset-block-start: var(--space-xl);
}
.split-lead .split-proof {
  grid-column: 6 / span 7;
}
.split-text > p {
  max-inline-size: 46ch;
  color: var(--color-ink-2);
}

/* The tour: three of the demo's screens, Luna in each. */
.tour-screens {
  display: grid;
  gap: var(--space-2xl);
}
.proof-calendar .screen {
  aspect-ratio: 873 / 560;
}
.proof-file .screen {
  aspect-ratio: 859 / 590;
}
.proof-reminder {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--space-2xl);
  align-items: end;
}
.proof-reminder .screen {
  aspect-ratio: 417 / 450;
}
.proof-reminder figcaption {
  align-self: end;
  margin: 0;
}

/* The ledger: statuses always visible, each description one tap away. */
.status-key {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
}
.status-key div {
  display: grid;
  gap: var(--space-3xs);
}
.status-key dt {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
}
.status-key dd {
  margin: 0;
  padding-inline-start: calc(10px + var(--space-xs));
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.ledger-note {
  padding: var(--space-lg);
  background: var(--color-paper-2);
  font-size: var(--text-sm);
}
.ledger-layout {
  display: grid;
  gap: var(--space-2xl);
}
.ledger-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap-columns);
  row-gap: var(--space-xl);
  align-items: start;
}
.ledger-title {
  grid-column: 1 / span 6;
  display: grid;
  gap: var(--space-lg);
}
.ledger-title > p {
  max-inline-size: 46ch;
  color: var(--color-ink-2);
}
.ledger-key {
  grid-column: 8 / span 5;
  display: grid;
  gap: var(--space-lg);
}
.ledger-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap-columns);
  row-gap: var(--space-2xl);
  align-items: start;
}
.ledger-later {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap-columns);
  align-items: start;
}
.ledger-later > h3 {
  grid-column: 1 / -1;
}
.ledger-later > .ledger-later-note {
  grid-column: 1 / span 4;
}
.ledger-later > .ledger-rows {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap-columns);
}
.ledger-group h3 {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  max-inline-size: none;
  padding-block-end: var(--space-sm);
  border-block-end: var(--rule-bracket) solid var(--color-ink);
  font-size: var(--text-title);
}
.ledger-group h3 bdi {
  color: var(--color-muted);
}
.ledger-later h3 {
  border-block-end-style: dashed;
}
.ledger-later-note {
  padding-block: var(--space-sm) var(--space-2xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.ledger-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ledger-row {
  border-block-end: 1px solid var(--color-rule);
}
.ledger-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--space-sm);
  row-gap: var(--space-2xs);
  align-items: start;
  min-block-size: var(--target);
  padding-block: var(--space-sm);
  list-style: none;
  cursor: pointer;
}
.ledger-row summary::-webkit-details-marker,
.correction-explainer summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}
.cap-name {
  grid-column: 1;
  font-weight: 600;
  transition: color var(--dur-short) var(--ease-out);
}
.ledger-row .cap-status {
  grid-column: 1;
  flex-wrap: wrap;
  font-size: var(--text-sm);
}
.cap-status .cap-limit {
  flex-basis: 100%;
  padding-inline-start: calc(10px + var(--space-xs));
  color: var(--color-muted);
  font-weight: 400;
}
.ledger-row summary:hover .cap-name {
  color: var(--color-accent);
}
.ledger-row summary:focus-visible,
.correction-explainer summary:focus-visible,
.faq-list summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.ledger-row summary .disclosure-mark {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.disclosure-mark {
  position: relative;
  display: inline-block;
  inline-size: 14px;
  block-size: 14px;
  flex-shrink: 0;
}
.disclosure-mark::before,
.disclosure-mark::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(50% - 0.75px);
  block-size: 1.5px;
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-out);
}
.disclosure-mark::after {
  transform: rotate(90deg);
}
details[open] > summary .disclosure-mark::after {
  transform: rotate(0deg);
}
.cap-detail {
  display: grid;
  gap: var(--space-xs);
  padding-block: 0 var(--space-md);
  color: var(--color-ink-2);
}
.cap-detail strong {
  color: var(--color-ink);
}
.cap-pairs {
  display: grid;
  gap: var(--space-xs);
  margin: 0;
}
.cap-pairs dt {
  font-weight: 600;
  color: var(--color-ink);
}
.cap-pairs dd {
  margin: 0;
}

/* ---------- Recorded test calls inside the voice receptionist's ledger row (24 November 2026) ----------
   Native <audio controls preload="none">: nothing is fetched until a visitor presses play, and the
   production CSP's default-src 'self' already admits same-origin media. Each recording has a transcript
   in a disclosure (WCAG 1.2.1), set in the call's language and direction. */
.cap-recordings {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-recordings > li {
  display: grid;
  gap: var(--space-xs);
  padding-block-start: var(--space-sm);
  border-block-start: 1px solid var(--color-rule);
}
.recording-title {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink);
}
.recording-length {
  margin-inline-start: var(--space-xs);
  white-space: nowrap;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}
.cap-recordings audio {
  display: block;
  inline-size: 100%;
  max-inline-size: 36rem;
  min-inline-size: 0;
  block-size: var(--target);
}
.recording-transcript summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  list-style: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
}
.recording-transcript summary::-webkit-details-marker {
  display: none;
}
.recording-transcript summary:hover {
  color: var(--color-accent);
}
.recording-transcript summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.transcript {
  display: grid;
  gap: var(--space-xs);
  margin: 0;
  padding-block-end: var(--space-xs);
  font-size: var(--text-sm);
}
.transcript > div {
  display: grid;
  grid-template-columns: minmax(4.5em, max-content) minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-sm);
}
.transcript dt {
  font-weight: 600;
  color: var(--color-ink);
}
.transcript dd {
  margin: 0;
  color: var(--color-ink-2);
}
.cap-route {
  display: grid;
  gap: var(--space-2xs);
  margin: 0;
  padding-inline-start: var(--space-lg);
}
.cap-route strong {
  margin-inline-end: var(--space-xs);
}
.cap-chain span {
  font-weight: 600;
  color: var(--color-ink);
}
.cap-note {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* Native choices: radios in the flow at one pixel; the label carries the state and the ring. */
.role-controls,
.hosting-controls {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.role-controls {
  display: grid;
  gap: var(--space-xs);
  inline-size: min(100%, 20rem);
}
.hosting-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-block-end: var(--space-lg);
}
.role-controls legend,
.hosting-controls legend {
  margin-block-end: var(--space-sm);
  font-weight: 600;
}
.hosting-controls legend {
  inline-size: 100%;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  opacity: 0;
}
.choice label {
  display: flex;
  align-items: center;
  min-block-size: var(--target);
  padding-inline: var(--space-md);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-control);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}
.choice label:hover {
  border-color: var(--color-ink);
}
.choice input:active + label {
  background: var(--color-paper-2);
}
.choice input:checked + label {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-sheet);
}
.choice input:focus-visible + label {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.choice input:disabled + label {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Roles: one patient, three working positions. */
.role-panel {
  display: grid;
  gap: var(--space-md);
}
.role-panel h3 {
  font-size: var(--text-title);
}
.role-panel > p {
  max-inline-size: 52ch;
  color: var(--color-ink-2);
}
.role-record {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: var(--space-xl);
  border: 1px solid var(--color-rule-strong);
  background: var(--color-sheet);
}
.role-record figcaption {
  font-weight: 600;
}
.role-record dl {
  display: grid;
  margin: 0;
}
.role-record dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  border-block-end: 1px solid var(--color-rule);
}
.role-record dt {
  color: var(--color-muted);
}
.role-record dd {
  margin: 0;
  font-weight: 600;
  text-align: end;
}
.record-note,
.hosting-note {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* The before and after: the original always stays beside the change. */
.facts {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  inline-size: 100%;
}
.facts div {
  display: grid;
  gap: var(--space-3xs);
  padding-block-start: var(--space-md);
  border-block-start: 1px solid var(--color-rule);
}
.facts dt {
  font-weight: 600;
}
.facts dd {
  margin: 0;
  color: var(--color-ink-2);
}
.split-text > .cap-status {
  flex-wrap: wrap;
}
.wording-sheet {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: var(--space-xl);
  border: 1px solid var(--color-rule-strong);
  background: var(--color-sheet);
}
.wording-sheet h3 {
  font-size: var(--text-title);
}
.pair {
  display: grid;
  gap: var(--space-md);
  margin: 0;
}
.pair div {
  display: grid;
  gap: var(--space-2xs);
}
.pair div + div {
  padding-block-start: var(--space-md);
  border-block-start: 1px solid var(--color-rule);
}
.pair dt {
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.pair dd {
  margin: 0;
  font: var(--display-weight) var(--text-xl) / 1.35 var(--font-display);
}
.wording-sheet figcaption {
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.correction-explainer {
  margin-block-start: var(--space-lg);
  border-block: 1px solid var(--color-rule);
}
.correction-explainer summary,
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-block-size: var(--target);
  padding-block: var(--space-sm);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-short) var(--ease-out);
}
.correction-explainer summary:hover,
.faq-list summary:hover {
  color: var(--color-accent);
}
.correction-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-columns);
  padding-block: var(--space-sm) var(--space-md);
}
.correction-pair > div {
  display: grid;
  gap: var(--space-2xs);
}
.pair-label,
.correction-pair small {
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.correction-pair strong {
  font: var(--display-weight) var(--text-2xl) / 1.1 var(--font-display);
}
.correction-pair > div:first-child strong {
  color: var(--color-muted);
}
.correction-explainer > p {
  padding-block-end: var(--space-md);
  color: var(--color-ink-2);
}

/* Hosting: the selected option's panel, under a rule. */
.hosting-panel {
  display: grid;
  gap: var(--space-sm);
  padding-block-start: var(--space-lg);
  border-block-start: var(--rule-bracket) solid var(--color-ink);
}
.hosting-panel h3 {
  font-size: var(--text-title);
}
.hosting-panel + .hosting-panel {
  margin-block-start: var(--space-xl);
}
@supports selector(:has(*)) {
  .role-panel,
  .hosting-panel {
    display: none;
  }
  .roles:has(#role-reception:checked) #reception-view,
  .roles:has(#role-clinical:checked) #clinical-view,
  .roles:has(#role-manager:checked) #manager-view,
  .hosting-choice:has(#hosting-local:checked) #local-info,
  .hosting-choice:has(#hosting-cloud:checked) #cloud-info,
  .hosting-choice:has(#hosting-hybrid:checked) #hybrid-info {
    display: grid;
  }
  .hosting-panel + .hosting-panel {
    margin-block-start: 0;
  }
}

/* Starting: four numbered rows beside the owners' questions. */
.start-steps {
  display: grid;
  inline-size: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.start-steps li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: var(--space-sm);
  row-gap: var(--space-2xs);
  padding-block: var(--space-md);
  border-block-start: 1px solid var(--color-rule);
  counter-increment: step;
}
.start-steps li::before {
  content: counter(step);
  grid-row: span 2;
  color: var(--color-muted);
  font: var(--display-weight) var(--text-2xl) / 1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.start-steps h3 {
  font-size: var(--text-title);
}
.start-steps p {
  color: var(--color-ink-2);
}
.faq-title {
  margin-block-end: var(--space-md);
  font-size: var(--text-title);
}
.faq-list {
  border-block-start: 1px solid var(--color-rule);
}
.faq-list details {
  border-block-end: 1px solid var(--color-rule);
}
.faq-list p a {
  white-space: nowrap;
}
.faq-list p {
  max-inline-size: 60ch;
  padding-block-end: var(--space-md);
  color: var(--color-ink-2);
}

/* The close: a band of ink; every text colour swaps to paper in the same rules. */
.close {
  margin-block-start: var(--section-gap);
  padding-block: var(--section-gap-s);
  background: var(--color-band);
  color: var(--color-band-ink);
}
.close a {
  color: var(--color-band-ink);
}
.close a:hover {
  color: var(--color-band-muted);
}
.close a:focus-visible,
.close .button:focus-visible {
  outline: 2px solid var(--color-band-ink);
  outline-offset: 3px;
}
.close-text > p {
  color: var(--color-band-muted);
}
.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.button.inverse {
  background: var(--color-band-ink);
  color: var(--color-band);
}
.button.inverse:hover {
  background: var(--color-paper-2);
  color: var(--color-band);
}
.button.inverse-outline {
  border-color: var(--color-band-ink);
  background: transparent;
  color: var(--color-band-ink);
}
.button.inverse-outline:hover {
  background: color-mix(in oklch, var(--color-band-ink) 12%, transparent);
  color: var(--color-band-ink);
}
.contact-line {
  font-size: var(--text-sm);
}
.origin {
  display: grid;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
  padding-block-start: var(--space-lg);
  border-block-start: 1px solid color-mix(in oklch, var(--color-band-ink) 25%, transparent);
}
.origin-title {
  color: var(--color-band-ink);
  font: var(--display-weight) var(--text-xl) / 1.2 var(--font-display);
}
.origin p:not(.origin-title) {
  max-inline-size: 54ch;
  color: var(--color-band-muted);
}
.origin strong {
  color: var(--color-band-ink);
}
.proof-menu {
  justify-self: end;
  inline-size: min(100%, 26rem);
}
.proof-menu .screen {
  aspect-ratio: 560 / 700;
}
.close .screen-link {
  color: var(--color-band-ink);
}
.close .screen-link:hover {
  color: var(--color-band-muted);
}
.close .proof figcaption {
  color: var(--color-band-muted);
}

/* ---------- Inner pages: the statement and the policy read as long documents ---------- */
.inner-main {
  inline-size: 100%;
  max-inline-size: var(--container);
  margin-inline: auto;
  padding: var(--space-3xl) var(--gutter) 0;
}
.inner-main > * {
  max-inline-size: 68ch;
}
.page-head {
  display: grid;
  gap: var(--space-lg);
}
.inner-main h1 {
  max-inline-size: 16ch;
  font-size: var(--text-display-s);
  line-height: 1.05;
}
.inner-main h2 {
  max-inline-size: 30ch;
  margin-block: var(--space-2xl) var(--space-md);
  font-size: clamp(2rem, 1.4vw + 1.25rem, 2.75rem);
  line-height: 1.12;
}
.inner-main p,
.inner-main li {
  line-height: 1.7;
}
.inner-main p,
.inner-main ul {
  color: var(--color-ink-2);
}
.inner-main p + p {
  margin-block-start: var(--space-sm);
}
.inner-main ul {
  display: grid;
  gap: var(--space-xs);
  margin: 0;
  padding-inline-start: var(--space-lg);
}
.inner-main .intro {
  color: var(--color-ink);
  font-size: var(--text-lead);
  line-height: 1.5;
}
.document-body > .intro:last-child {
  margin-block-start: var(--space-2xl);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.inner-main a {
  color: var(--color-ink);
  text-underline-offset: 0.25em;
}
.inner-main a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.cookie-ledger {
  display: grid;
  margin: var(--space-md) 0 0;
  border-block-start: 1px solid var(--color-rule);
}
.cookie-ledger div {
  display: grid;
  gap: var(--space-2xs);
  padding-block: var(--space-md);
  border-block-end: 1px solid var(--color-rule);
}
.cookie-ledger dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs) var(--space-md);
  font-weight: 600;
}
.cookie-ledger dt span {
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 400;
}
.cookie-ledger dd {
  margin: 0;
  color: var(--color-ink-2);
}
.policy-preferences {
  margin-block-start: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--color-paper-2);
}
.policy-preferences h2 {
  margin-block-start: 0;
}
.policy-preferences .preferences-link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  margin-block-start: var(--space-sm);
  font-weight: 600;
}
.missing-main {
  padding-block-end: var(--space-2xl);
}
.missing-main > * {
  max-inline-size: none;
}
.missing-split {
  align-items: center;
}
.missing-record {
  grid-column: 7 / span 6;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin: 0;
}
.missing-record svg {
  inline-size: 80px;
  block-size: 160px;
  stroke-width: 2.5;
}
.missing-record figcaption {
  display: grid;
  gap: var(--space-xs);
}
.error-code {
  font: var(--display-weight) clamp(6rem, 12vw, 10rem) / 0.9 var(--font-display);
  letter-spacing: var(--tracking-display);
}
.missing-record figcaption span {
  color: var(--color-muted);
}

/* ---------- Calm mode from the preferences dialog: the same page, instant ---------- */
html[data-motion="calm"] *,
html[data-motion="calm"] *::before,
html[data-motion="calm"] *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 60rem) {
  .hero {
    min-block-size: 0;
    padding-block: var(--space-lg) var(--space-2xl);
  }
  .opening-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
  .opening-copy {
    gap: var(--space-md);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-index {
    grid-template-columns: repeat(2, max-content);
  }
  .split,
  .ledger-head,
  .ledger-later,
  .proof-reminder {
    grid-template-columns: minmax(0, 1fr);
  }
  .ledger-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ledger-title,
  .ledger-key,
  .ledger-later > h3,
  .ledger-later > .ledger-later-note,
  .ledger-later > .ledger-rows {
    grid-column: 1 / -1;
  }
  .split {
    row-gap: var(--space-xl);
  }
  .split-text,
  .split-proof,
  .split > .proof,
  .split-lead .split-text,
  .split-lead .split-proof {
    grid-column: 1 / -1;
  }
  .split-lead .split-text {
    position: static;
  }
  .ledger-index {
    row-gap: var(--space-2xl);
  }
  .proof-reminder {
    row-gap: var(--space-lg);
  }
  .proof-reminder .screen-link {
    inline-size: min(100%, 26rem);
  }
  .proof-menu {
    justify-self: stretch;
    inline-size: auto;
  }
  .missing-record {
    grid-column: 1 / -1;
  }
  .inner-main {
    padding-block-start: var(--space-2xl);
  }
}
@media (max-width: 40rem) {
  .masthead-inner {
    gap: var(--space-xs);
  }
  .contact-link {
    display: none;
  }
  .brand {
    font-size: 1.125rem;
    gap: var(--space-xs);
  }
  .brand-mark {
    inline-size: 28px;
    block-size: 28px;
  }
  .index-open,
  .index-link,
  .masthead-entry {
    padding-inline: var(--space-sm);
  }
  /* Phones: the chapter button keeps only its icon and the demo link reads "הדגמה";
     both keep their full names for assistive technology. */
  .index-open span,
  .entry-long {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .chapter-dialog,
  .preferences-dialog {
    padding: var(--space-lg);
  }
  .correction-pair,
  .ledger-index,
  .ledger-later > .ledger-rows {
    grid-template-columns: minmax(0, 1fr);
  }
  .role-record,
  .wording-sheet {
    padding: var(--space-lg);
  }
}
