/* Generated by scripts/sync_designs.php — maps the vital pack's tokens
   onto Simple Stack's semantic variables. Do not edit; override via
   scripts/design_bridge_overrides.php and re-sync. */
:root, :root[data-theme="light"] {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --surface-2: #ece5d8;
  --text: #12232b;
  --muted: #3b4a53;
  --line: #ddd3c3;
  --accent: #0b5866;
  --accent-2: #053b45;
  --accent-ink: #ffffff;
  --focus: #b04a00;
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --bg: #0d191e;
  --surface: #14242b;
  --surface-2: #0a1418;
  --text: #eef4f2;
  --muted: #b5c5c7;
  --line: #2a3d45;
  --accent: #68d1c7;
  --accent-2: #2b8f87;
  --accent-ink: #05211f;
  --focus: #ffc857;
}
:root {
  --board: var(--bg);
  --dot: var(--surface-2);
  --paper: var(--surface);
  --paper-sunk: var(--surface-2);
  --ink: var(--line);
  --text-soft: var(--muted);
  --text-faint: var(--muted);
  --yellow: var(--accent);
}

/* WCAG contrast tokens — generated by scripts/fix_design_contrast.php. */
:root, :root[data-theme="light"] {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --surface-2: #ece5d8;
  --calm-side: #fffdf8;
  --calm-side-text: #12232b;
  --calm-safe-text: #12232b;
  --calm-safe-muted: #3b4a53;
  --calm-safe-accent: #0b5664;
  --calm-success: #0b5664;
  --calm-warning: #0b5664;
  --calm-info: #0b5664;
  --calm-danger: #0b5664;
  --primary-fill: #0b5866;
  --primary-label: #ffffff;
  --primary-hover-fill: #0b5562;
  --control-edge: #3b4a53;
  --shot-light-display: block;
  --shot-dark-display: none;
  --accent: #0b5866;
  --accent-ink: #ffffff;
  --accent-on-ink: #61939c;
  --accent-2: #053b45;
  --accent-2-ink: #ffffff;
  --accent-text: #0b5866;
  --text: #12232b;
  --muted: #3b4a53;
}
:root[data-theme="dark"] {
  --bg: #0d191e;
  --surface: #14242b;
  --surface-2: #0a1418;
  --calm-side: #0a1418;
  --calm-side-text: #eef4f2;
  --calm-safe-text: #eef4f2;
  --calm-safe-muted: #b5c5c7;
  --calm-safe-accent: #68d1c7;
  --calm-success: #68d1c7;
  --calm-warning: #68d1c7;
  --calm-info: #68d1c7;
  --calm-danger: #68d1c7;
  --primary-fill: #68d1c7;
  --primary-label: #111111;
  --primary-hover-fill: #70d3ca;
  --control-edge: #b5c5c7;
  --shot-light-display: none;
  --shot-dark-display: block;
  --accent: #68d1c7;
  --accent-ink: #111111;
  --accent-on-ink: #68d1c7;
  --accent-2: #2b8f87;
  --accent-2-ink: #111111;
  --accent-text: #68d1c7;
  --text: #eef4f2;
  --muted: #b5c5c7;
}
