/* Цвета, отступы, скругления — переменные всей системы, светлая и тёмная темы.
   Часть общего каскада: порядок подключения — ui.Stylesheets. */
:root{
  color-scheme:light;
  --plane:#f1f4f7; --panel:#fff; --soft:#f6f8fa; --sunk:#eef2f5;
  --ink:#151d26; --ink-2:#5b6b7a; --ink-3:#66737f;
  --line:#e3e9ee; --line-2:#cfd8e0;
  --accent:#1f62b0; --accent-2:#17497f; --wash:#e9f1fb; --focus:#2a7fd4;
  --ok:#12833a; --ok-wash:#e7f5ec;
  --warn:#a56a00; --warn-wash:#fdf2e0;
  --crit:#c4362f; --crit-wash:#fdecea;
  --c1:#0e4f5c; --c2:#1a7d8e; --c3:#3fa3ae; --c4:#76b9c1;
  --c1t:#fff; --c2t:#fff; --c3t:#06222a; --c4t:#06222a;
  --r:10px; --r-s:7px;
  /* How wide the working area is. Written once because the header bar
     and the content under it have to line up: the logo sits over the
     first column of every table, and a page whose chrome and body are
     different widths reads as a mistake even when nothing is wrong. */
  --page:1440px;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --sans:"IBM Plex Sans",system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --plane:#10161c; --panel:#18212a; --soft:#1d2831; --sunk:#131c23;
  --ink:#eaeff4; --ink-2:#a6b5c2; --ink-3:#7f8d9a;
  --line:#27333e; --line-2:#3a4854;
  --accent:#5a9ee0; --accent-2:#8fbdec; --wash:#16283a; --focus:#6fb0e8;
  --ok:#45bf65; --ok-wash:#142a1c; --warn:#d8a03a; --warn-wash:#2c2313;
  --crit:#e5675f; --crit-wash:#2c1a18;
  --c1:#8fd3db; --c2:#5fb4bf; --c3:#3c8d99; --c4:#286a75;
  --c1t:#06222a; --c2t:#06222a; --c3t:#fff; --c4t:#fff;
}}
[data-theme="dark"]{
  color-scheme:dark;
  --plane:#10161c; --panel:#18212a; --soft:#1d2831; --sunk:#131c23;
  --ink:#eaeff4; --ink-2:#a6b5c2; --ink-3:#7f8d9a;
  --line:#27333e; --line-2:#3a4854;
  --accent:#5a9ee0; --accent-2:#8fbdec; --wash:#16283a; --focus:#6fb0e8;
  --ok:#45bf65; --ok-wash:#142a1c; --warn:#d8a03a; --warn-wash:#2c2313;
  --crit:#e5675f; --crit-wash:#2c1a18;
  --c1:#8fd3db; --c2:#5fb4bf; --c3:#3c8d99; --c4:#286a75;
  --c1t:#06222a; --c2t:#06222a; --c3t:#fff; --c4t:#fff;
}
