/* Trail colours (22 October 2026): graphite, chosen by Pat from three palettes; light and dark.
   theme.js sets data-mode on <html> before the page draws (system, light or dark; the account menu changes it).
   Generated from one table and checked for WCAG AA contrast (text 4.5:1). Red is reserved for Austria. */
:root { color-scheme: light; --shadow: 0 18px 50px #0f172a26;
  --amber-soft: #fbf0d8;
  --amber-ink: #7a5000;
  --amber-line: #e6cf9f;
  --amber-mark: #a87300;
  --red-soft: #f8e6e4;
  --red-ink: #8f3b33;
  --red-line: #e4c4bf;
  --good-soft: #ddefe6;
  --good-ink: #1d5a44;
  --good: #1f8a4c;
  --warning: #f0a81c;
  --critical: #c23b3b;
  --austria: #b4232b;
  --austria-ink: #b4232b;
  --bg: #f4f4f6;
  --paper: #ffffff;
  --wash: #f8f8fa;
  --hover: #f9f9fb;
  --sunken: #e8e8ec;
  --track: #d5d6dc;
  --chip: #ececf0;
  --chip-ink: #4a4c56;
  --ink: #1b1d22;
  --muted: #53565f;
  --faint: #5e616b;
  --line: #dcdde2;
  --line-soft: #ebebef;
  --line-strong: #c4c6cd;
  --line-hover: #9a9ca6;
  --dark: #1e2127;
  --on-dark: #eeeff2;
  --on-dark-muted: #b5b8c1;
  --strong: #1e2127;
  --on-strong: #ffffff;
  --accent: #4a4ec2;
  --accent-hover: #3e42aa;
  --accent-ink: #3e41a8;
  --accent-soft: #ececfb;
  --accent-line: #c3c4ee;
  --blue-soft: #ebeef4;
  --blue-ink: #3e4f6c;
  --ov-signal: #1e2127;
  --ov-classified: #4a4ec2;
  --ov-waiting: #8d90dc;
  --ov-screened_out: #c7c8ef;
  --grid: #e6e6ea;
  --axis: #c4c6cd;
  --map-sea: #f1f1f5;
  --map-land: #dcdce3;
}
:root[data-mode="dark"] { color-scheme: dark; --shadow: 0 18px 50px #00000080;
  --amber-soft: #3a2e14;
  --amber-ink: #f2c56e;
  --amber-line: #5e4a1c;
  --amber-mark: #e0a52a;
  --red-soft: #3f2120;
  --red-ink: #f3a59d;
  --red-line: #6b3532;
  --good-soft: #173a2d;
  --good-ink: #93d8b6;
  --good: #3fb871;
  --warning: #f0b23a;
  --critical: #e05c5c;
  --austria: #b4232b;
  --austria-ink: #f06a70;
  --bg: #131417;
  --paper: #1c1e22;
  --wash: #202227;
  --hover: #222429;
  --sunken: #0f1012;
  --track: #33363d;
  --chip: #2a2c33;
  --chip-ink: #cfd1d8;
  --ink: #eceef1;
  --muted: #acafb8;
  --faint: #9a9da7;
  --line: #2e3138;
  --line-soft: #26282e;
  --line-strong: #3e4149;
  --line-hover: #5d606a;
  --dark: #0e0f11;
  --on-dark: #eceef1;
  --on-dark-muted: #a8abb4;
  --strong: #e3e4e8;
  --on-strong: #131417;
  --accent: #5559cf;
  --accent-hover: #6266d9;
  --accent-ink: #adaff7;
  --accent-soft: #262747;
  --accent-line: #45478a;
  --blue-soft: #22262f;
  --blue-ink: #b3c0d6;
  --ov-signal: #b9bbf7;
  --ov-classified: #8184e6;
  --ov-waiting: #5255a8;
  --ov-screened_out: #36386c;
  --grid: #2a2c32;
  --axis: #3e4149;
  --map-sea: #17181c;
  --map-land: #2e3037;
}
