/*
 * The site's one set of design tokens, loaded first on every page. Taken from the All Tickets Board's own theme
 * (teal accent), with its dark theme. A page's stylesheet keeps only what is its own.
 *
 * Status colours: green is finished or fine; amber needs attention (out of date); red is wrong or failed; blue is
 * information; grey is only a label. No pink or magenta.
 */
:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #eef1f3;
  --fg: #1b2228;
  --muted: #5b6770;
  --line: #dde2e6;
  --control-border: #7d8a93;
  --accent: #1f6f78;
  --accent-hover: #195b63;
  --accent-soft: #e2f0f1;
  --on-accent: #ffffff;
  --focus: #1f6f78;
  --ok: #1d7a46; --ok-soft: #e1f3e8;
  --info: #2b62b0; --info-soft: #e3ecf8;
  --warn: #9a6200; --warn-soft: #fbf0d9;
  --none: #6b747b; --none-soft: #eceff1;
  --crit: #b3261e; --crit-soft: #fbe4e2; --on-crit: #ffffff;
  --shadow: 0 8px 24px rgb(0 0 0 / 0.12);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12171b; --surface: #192026; --surface-2: #20282f; --fg: #e6eaed; --muted: #97a3ab; --line: #2c363d;
    --control-border: #6b7780;
    --accent: #5fb7c0; --accent-hover: #7cc6ce; --accent-soft: #1d3337; --on-accent: #0f1d1f; --focus: #5fb7c0;
    --ok: #6fcf97; --ok-soft: #173326; --info: #8ab4f0; --info-soft: #1b2a40;
    --warn: #e8b55a; --warn-soft: #3a2d14; --none: #a3adb4; --none-soft: #252e34;
    --crit: #f08a82; --crit-soft: #3d1b19; --on-crit: #2a0f0d;
    --shadow: 0 8px 24px rgb(0 0 0 / 0.5);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12171b; --surface: #192026; --surface-2: #20282f; --fg: #e6eaed; --muted: #97a3ab; --line: #2c363d;
  --control-border: #6b7780;
  --accent: #5fb7c0; --accent-hover: #7cc6ce; --accent-soft: #1d3337; --on-accent: #0f1d1f; --focus: #5fb7c0;
  --ok: #6fcf97; --ok-soft: #173326; --info: #8ab4f0; --info-soft: #1b2a40;
  --warn: #e8b55a; --warn-soft: #3a2d14; --none: #a3adb4; --none-soft: #252e34;
  --crit: #f08a82; --crit-soft: #3d1b19; --on-crit: #2a0f0d;
  --shadow: 0 8px 24px rgb(0 0 0 / 0.5);
}
