/* generated by tools/build-tokens.py from tokens.json — do not edit */
:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #031841;
  --muted: #4f5866;
  --line: #d7dbe3;
  --link: #1d3a74;
  --accent: #031841;
  --on-accent: #ffffff;
  --accent-hover: #1d3a74;
  --tint: #e9edf5;
  --band-bg: #031841;
  --band-surface: #0a2457;
  --band-ink: #ffffff;
  --band-muted: #a9b3c6;
  --band-line: #1d3a74;
  --band-hover: #9cb8ef;
  --space-3xs: 3px;
  --space-2xs: 5px;
  --space-xs: 8px;
  --space-sm: 13px;
  --space-md: 21px;
  --space-lg: 34px;
  --space-xl: 55px;
  --space-2xl: 89px;
  --text-sm: 0.786rem;
  --text-base: 1rem;
  --text-md: 1.272rem;
  --text-lg: 1.618rem;
  --text-xl: 2.058rem;
  --text-2xl: 2.618rem;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --weight-regular: 400;
  --weight-bold: 600;
  --leading-tight: 1.25;
  --leading-body: 1.618;
  --tracking-caps: 0.08em;
  --radius-sm: 5px;
  --radius-md: 8px;
  --line-thin: 1px;
  --line-focus: 3px;
  --size-tap-min: 55px;
  --size-logo-max: 377px;
  --size-page-max: 610px;
  --size-page-wide: 987px;
  --size-card-min: 233px;
  --size-tile-min: 144px;
  --size-measure: 610px;
  --motion-fast: 150ms;
  --shadow-plate: 0 1px 2px rgba(3, 24, 65, 0.06), 0 13px 34px rgba(3, 24, 65, 0.10);
  --logo-plate-bg: #ffffff;
  --logo-plate-frame: #031841;
  --logo-plate-shadow: var(--shadow-plate);
  --button-bg: var(--accent);
  --button-fg: var(--on-accent);
  --button-bg-hover: var(--accent-hover);
  --button-focus-ring: var(--link);
  --button-bg-active: var(--accent);
  --button-bg-disabled: var(--line);
  --topbar-rule: var(--accent);
  --topbar-fg: var(--muted);
  --series-card-bg: var(--band-surface);
  --series-card-fg: var(--band-ink);
  --series-card-muted: var(--band-muted);
  --series-card-line: var(--band-line);
  --series-card-hover: var(--band-hover);
  --tile-bg: var(--surface);
  --tile-line: var(--line);
  --tile-rule: var(--accent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1222;
    --surface: #121b30;
    --ink: #e8ecf3;
    --muted: #a9b3c6;
    --line: #26324d;
    --link: #9cb8ef;
    --accent: #9cb8ef;
    --on-accent: #0b1222;
    --accent-hover: #e8ecf3;
    --tint: #26324d;
    --band-bg: #121b30;
    --band-surface: #0b1222;
    --band-ink: #e8ecf3;
    --band-muted: #a9b3c6;
    --band-line: #26324d;
    --band-hover: #9cb8ef;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1222;
  --surface: #121b30;
  --ink: #e8ecf3;
  --muted: #a9b3c6;
  --line: #26324d;
  --link: #9cb8ef;
  --accent: #9cb8ef;
  --on-accent: #0b1222;
  --accent-hover: #e8ecf3;
  --tint: #26324d;
  --band-bg: #121b30;
  --band-surface: #0b1222;
  --band-ink: #e8ecf3;
  --band-muted: #a9b3c6;
  --band-line: #26324d;
  --band-hover: #9cb8ef;
}
:root[data-theme="light"] { color-scheme: light; }
