/* Dagda colour tokens. Every page loads this before its own stylesheet.
   --brand is the logo ink (the supplied logo is monochrome black; near-white in dark mode).
   --signal stays the amber accent for highlights and alerts.
   The rest is the UI palette. Dark mode applies with the OS preference unless the user
   picked light (data-theme="light"), or when the user picked dark (data-theme="dark"). */
:root {
  color-scheme: light;
  --brand: #111418; --brand-ink: #111418;
  --bg: #e9edf2; --panel: #f8fafc; --panel-2: #eef2f6; --line: #d3dae3; --line-soft: #e2e7ee;
  --ink: #0f1d30; --ink-2: #44546a; --ink-3: #6f7d90;
  --signal: #b77800; --signal-bg: #fff3d6;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a;
  --good: #1a7f4b; --warn: #a76600; --crit: #c42b2b; --info: #2a6fb8;
  --good-bg: #e2f4ea; --warn-bg: #fdf0d8; --crit-bg: #fbe3e1;
  --btn: #0f1d30; --btn-ink: #fff;
  --grid: rgba(15, 29, 48, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #eef1f5; --brand-ink: #eef1f5;
    --bg: #0e1a2b; --panel: #13223a; --panel-2: #182a45; --line: #24395a; --line-soft: #1d3050;
    --ink: #e8eef7; --ink-2: #a9b8cc; --ink-3: #7a8ca5;
    --signal: #f0b43c; --signal-bg: #3a3017;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70;
    --good: #4cc38a; --warn: #f0b43c; --crit: #ff6b6b; --info: #6aa9ff;
    --good-bg: #123526; --warn-bg: #3a3017; --crit-bg: #421b1f;
    --btn: #f0b43c; --btn-ink: #10161f;
    --grid: rgba(232, 238, 247, .07);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #eef1f5; --brand-ink: #eef1f5;
  --bg: #0e1a2b; --panel: #13223a; --panel-2: #182a45; --line: #24395a; --line-soft: #1d3050;
  --ink: #e8eef7; --ink-2: #a9b8cc; --ink-3: #7a8ca5;
  --signal: #f0b43c; --signal-bg: #3a3017;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70;
  --good: #4cc38a; --warn: #f0b43c; --crit: #ff6b6b; --info: #6aa9ff;
  --good-bg: #123526; --warn-bg: #3a3017; --crit-bg: #421b1f;
  --btn: #f0b43c; --btn-ink: #10161f;
  --grid: rgba(232, 238, 247, .07);
}
