/* The theme follows the device.
 *
 * The design system ships its dark tokens as a sheet whose :root cannot be
 * selected by a media query from another file. This copy applies the same
 * declarations when the device asks for dark, and is skipped when a person has
 * chosen light (html[data-theme="light"], set before paint).
 *
 * scripts/sync-design.sh writes this file from tokens/dock/dark.css, so the
 * colours have one source and are never typed by hand here.
 */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
  --color-bg: #111f26;
  --color-surface: #192c34;
  --color-text: #e3f2f3;
  --color-muted: #a5bec5;
  --color-border: #3b535c;
  --color-accent: #77cbbb;
  --color-on-accent: #101810;
  --color-danger: #ffafa5;
  --color-success: #a2d3ab;
  --color-warning: #e8c889;
  --color-row-hover: #27434b;
  --color-row-active: #2b4a53;
  --radius-control: 10px;
  --font-body: "Trebuchet MS", Arial, sans-serif;
  --font-heading: "Trebuchet MS", Arial, sans-serif;
  --space-unit: 4px;
  --space-section: 20px;
  --size-control: 40px;
  --space-cell: 13px;
  --motion-duration: 120ms;
  }
  html:not([data-theme="light"]) {
    color-scheme: dark;
  }
}