/* Тема «Диспетчерская сводка» ТК Альфа (taste: clinical + моно-подписи из tech).
   Палитра по предмету:
   бланк накладной (фон), асфальт (текст), кабина ночью (тёмная полоса шапки),
   дорожный знак (акцент: фокус и активный фильтр), разметка (метка «допущение»),
   хорошо/плохо: зелёный и кирпичный только как статус с текстом. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("fonts/plexsans-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("fonts/plexsans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plexmono-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plexmono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plexmono-cyrillic-500.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plexmono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2212; }

:root {
  --font-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --w-display: 600; --tr-display: -0.02em; --tr-h2: -0.02em; --lh-display: 1.05;
  --fs-display: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --radius: 10px; --radius-sm: 6px; --radius-button: 8px;
  --case-eyebrow: uppercase; --tr-eyebrow: 0.1em;
  --bg: #f6f7f4;            /* бланк накладной */
  --surface: #ffffff;
  --surface-2: #eceee8;     /* серая подложка бланка */
  --ink: #14191d;           /* асфальт */
  --muted-strong: #343d44;
  --muted: #4f5a62;
  --line: #d9ddd6;
  --line-strong: #b9c0b8;
  --ink-field: #10212c;     /* кабина ночью */
  --on-ink: #eef3f5;
  --on-ink-muted: #b4c4cc;
  --accent: #1c5fa8;        /* дорожный знак */
  --accent-fill: #1c5fa8;
  --accent-on-fill: #ffffff;
  --accent-text: #17518f;
  --accent-soft: #e1ebf6;
  --mark: #f2c94c;          /* разметка */
  --mark-soft: #fbf0cc;
  --mark-ink: #4a3800;
  --bar: #1c5fa8;           /* столбцы графиков */
  --bar-muted: #9fb4c9;
  --good: #1f6b3a;
  --bad: #a2361f;
  --field-1: #e1ebf6; --field-1-ink: #14191d;
  --field-2: #fbf0cc; --field-2-ink: #14191d;
  --field-3: #10212c; --field-3-ink: #eef3f5;
  color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1418; --surface: #141c21; --surface-2: #19232a;
    --ink: #e7eef1; --muted-strong: #c5d1d6; --muted: #97a8b0;
    --line: #26333b; --line-strong: #37464f;
    --ink-field: #081117; --on-ink: #e7eef1; --on-ink-muted: #a9bbc3;
    --accent: #6aa8e8; --accent-fill: #6aa8e8; --accent-on-fill: #0b1620; --accent-text: #8cbcef; --accent-soft: #17293a;
    --mark: #e0b83f; --mark-soft: #3a3214; --mark-ink: #f5e3a6;
    --bar: #6aa8e8; --bar-muted: #3d5a74; --good: #7ccf95; --bad: #f08a72;
    --field-1: #17293a; --field-1-ink: #e7eef1; --field-2: #3a3214; --field-2-ink: #f5e3a6; --field-3: #081117; --field-3-ink: #e7eef1;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #0e1418; --surface: #141c21; --surface-2: #19232a;
    --ink: #e7eef1; --muted-strong: #c5d1d6; --muted: #97a8b0;
    --line: #26333b; --line-strong: #37464f;
    --ink-field: #081117; --on-ink: #e7eef1; --on-ink-muted: #a9bbc3;
    --accent: #6aa8e8; --accent-fill: #6aa8e8; --accent-on-fill: #0b1620; --accent-text: #8cbcef; --accent-soft: #17293a;
    --mark: #e0b83f; --mark-soft: #3a3214; --mark-ink: #f5e3a6;
    --bar: #6aa8e8; --bar-muted: #3d5a74; --good: #7ccf95; --bad: #f08a72;
    --field-1: #17293a; --field-1-ink: #e7eef1; --field-2: #3a3214; --field-2-ink: #f5e3a6; --field-3: #081117; --field-3-ink: #e7eef1;
    color-scheme: dark;
  }
  :root[data-theme="light"] { color-scheme: light; }
}
