/* Design tokens of TP.monitor: a verbatim copy of the :root blocks of web/index.html (docs/DESIGN_GUIDELINE.md §3).
   Used by login.html and the console. tests/test_design_tokens.py fails when the two differ. */
:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --line: #d9dee5;
  --fg: #17202b;
  --muted: #5a6676;
  --accent: #1f5fbf;
  --accent-soft: #e3ecfa;
  --free: #2f9e6a;
  --free-soft: rgba(47, 158, 106, .16);
  --warn: #c2410c;
  --track: #c5ccd6;
  --c-fv: #b4232c;
  --c-rv: #1f5fbf;
  --c-s: #0f8a8a;
  --c-ot: #8a5cc7;
  /* path request status (TAF/TAP) */
  --st-req: #c98a00; --st-draft: #7fa7d6; --st-off: #1f5fbf; --st-book: #1f8a4c; --st-ref: #c4577a;
  --st-rej: #8e2430; --st-nc: #d9480f; --st-wd: #9aa3ad; --st-can: #4b5563;
  --heat0: #eef2f7;
  --heat1: #9fb8e0;
  --heat2: #3a6fc4;
  --heat3: #13285a;
  --neg: #b4232c;
  --pos: #1f7a4d;
  /* one font that every system has (Windows, macOS, iOS; Linux and Android get the metric twin), no web font request */
  --f-sys: Arial, "Liberation Sans", Arimo, Helvetica, sans-serif;
  --f-head: var(--f-sys);
  --f-body: var(--f-sys);
  --f-mono: var(--f-sys);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f141a; --panel: #161d26; --line: #2a3441; --fg: #e4e9ef; --muted: #93a0b0;
    --accent: #6ea3f5; --accent-soft: #1b2b45; --free: #4cc38a; --free-soft: rgba(76, 195, 138, .18);
    --warn: #f08a4b; --track: #36414f; --c-fv: #f06a72; --c-rv: #6ea3f5; --c-s: #3cc4c4; --c-ot: #b48ef0;
    --st-req: #e8b339; --st-draft: #8fb4e6; --st-off: #5b95ef; --st-book: #4cc38a; --st-ref: #e07a9b;
    --st-rej: #e0606c; --st-nc: #f07b3f; --st-wd: #7b8694; --st-can: #a3adba;
    --heat0: #1a222c; --heat1: #2c4a7a; --heat2: #4f86dd; --heat3: #c9dcff; --neg: #f06a72; --pos: #4cc38a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f141a; --panel: #161d26; --line: #2a3441; --fg: #e4e9ef; --muted: #93a0b0;
  --accent: #6ea3f5; --accent-soft: #1b2b45; --free: #4cc38a; --free-soft: rgba(76, 195, 138, .18);
  --warn: #f08a4b; --track: #36414f; --c-fv: #f06a72; --c-rv: #6ea3f5; --c-s: #3cc4c4; --c-ot: #b48ef0;
  --st-req: #e8b339; --st-draft: #8fb4e6; --st-off: #5b95ef; --st-book: #4cc38a; --st-ref: #e07a9b;
  --st-rej: #e0606c; --st-nc: #f07b3f; --st-wd: #7b8694; --st-can: #a3adba;
  --heat0: #1a222c; --heat1: #2c4a7a; --heat2: #4f86dd; --heat3: #c9dcff; --neg: #f06a72; --pos: #4cc38a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--fg); font: 14px/1.45 var(--f-body); font-variant-numeric: tabular-nums; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
