/* Muster — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #f4f5f7; --surface: #ffffff; --surface-sunken: #e3e7ee; --surface-tint: #eef2f8;
  --border: #dde2ea; --border-control: #7d889c; --ink: #1b2230; --ink-muted: #4a5468; --heading: #14284b;
  --brand: #14284b; --brand-raised: #22406f; --on-brand: #ffffff; --on-brand-muted: #c9d3e6;
  --primary: #14284b; --on-primary: #ffffff; --link: #14284b; --brass: #d9a940; --on-brass: #14284b; --brass-ink: #7a5810;
  --focus: #2f62d8; --paper: #ffffff; --paper-dim: #e6e3dc; --on-paper-muted: #4a5468; --note: #1f4fb0; --note-ornament: #b42318; --note-playing: #a14a08; --tag: #f4ecd9; --on-tag: #6b4e10;
  --shadow-selected: 0 1px 3px rgba(20,40,75,0.18); --shadow-float: 0 2px 6px rgba(20,40,75,0.15);
}
[data-theme="dark"] {
  --bg: #0e1420; --surface: #172033; --surface-sunken: #0a0f19; --surface-tint: #22304b;
  --border: #2a3650; --border-control: #62719a; --ink: #e8ecf3; --ink-muted: #a7b1c4; --heading: #f1f4f9;
  --brand: #0a1222; --brand-raised: #1a2740; --on-brand: #e8ecf3; --on-brand-muted: #a7b1c4;
  --primary: #a9c1ec; --on-primary: #0b1830; --link: #a9c1ec; --brass: #e2b552; --on-brass: #14284b; --brass-ink: #e8c46e;
  --focus: #8fb4ff; --paper: #ffffff; --paper-dim: #cfccc4; --on-paper-muted: #4a5468; --note: #8fb4ff; --note-ornament: #ff8a80; --note-playing: #a14a08; --tag: #3a2f17; --on-tag: #f0cf86;
  --shadow-selected: 0 1px 3px rgba(0,0,0,0.55); --shadow-float: 0 2px 8px rgba(0,0,0,0.5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1420; --surface: #172033; --surface-sunken: #0a0f19; --surface-tint: #22304b;
    --border: #2a3650; --border-control: #62719a; --ink: #e8ecf3; --ink-muted: #a7b1c4; --heading: #f1f4f9;
    --brand: #0a1222; --brand-raised: #1a2740; --on-brand: #e8ecf3; --on-brand-muted: #a7b1c4;
    --primary: #a9c1ec; --on-primary: #0b1830; --link: #a9c1ec; --brass: #e2b552; --on-brass: #14284b; --brass-ink: #e8c46e;
    --focus: #8fb4ff; --paper: #ffffff; --paper-dim: #cfccc4; --on-paper-muted: #4a5468; --note: #8fb4ff; --note-ornament: #ff8a80; --note-playing: #a14a08; --tag: #3a2f17; --on-tag: #f0cf86;
    --shadow-selected: 0 1px 3px rgba(0,0,0,0.55); --shadow-float: 0 2px 8px rgba(0,0,0,0.5);
    color-scheme: dark;
  }
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 10px; --radius-lg: 14px; --radius-pill: 999px;
  --touch-min: 44px; --play-lg: 56px; --play-md: 48px; --content-max: 1320px;
  --font-display: Archivo, "Arial Narrow", system-ui, sans-serif;
  --font-sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* The faces are self-hosted in layout.css (wwwroot/fonts, SIL OFL). Vera is only for generated PDFs. */
.page-title { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -0.01em; }
.page-title-phone { font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 800; }
.section-title { font-family: var(--font-display); font-size: 17px; line-height: 22px; font-weight: 700; }
.tune-name { font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 700; }
.brand-name { font-family: var(--font-display); font-size: 17px; line-height: 20px; font-weight: 800; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 700; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.time { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 400; }
.note-letter { font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 800; }
