/* Direction: clinical, tuned to a municipal planning document.
   Palette names come from the subject: a cadastral plan sheet. */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/golos-text-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --font-display: "Golos Text", Arial, sans-serif;
  --font-body: "Golos Text", Arial, sans-serif;
  --w-display: 650; --tr-display: -0.02em; --radius: 10px; --radius-sm: 6px; --radius-button: 8px;
  --bg: #f4f6f7;            /* plan-sheet paper */
  --surface: #ffffff;       /* tracing paper */
  --surface-2: #e9eef1;     /* survey grid wash */
  --ink: #142028;           /* graphite */
  --muted-strong: #33444f;
  --muted: #4e5f6a;
  --line: #d6dee3;          /* grid line */
  --line-strong: #b9c5cc;
  --ink-field: #10232e;     /* blueprint ground */
  --on-ink: #eef4f7;
  --on-ink-muted: #b8c8d0;
  --accent: #1c5fa6;        /* boundary-line blue */
  --accent-fill: #1c5fa6;
  --accent-on-fill: #ffffff;
  --accent-text: #17518f;
  --accent-soft: #e1ebf6;
  --field-1: #e1ebf6; --field-1-ink: #142028;
  --field-2: #e9eef1; --field-2-ink: #142028;
  --field-3: #10232e; --field-3-ink: #eef4f7;
  --ok: #1d6b3a; --warn: #8a4b00;
  color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e151a; --surface: #141d23; --surface-2: #1a252c;
    --ink: #e6eef2; --muted-strong: #c2d0d7; --muted: #95a8b2;
    --line: rgba(230, 238, 242, 0.12); --line-strong: rgba(230, 238, 242, 0.22);
    --ink-field: #081015; --on-ink: #e6eef2; --on-ink-muted: #a8bac3;
    --accent: #6fa8e6; --accent-fill: #6fa8e6; --accent-on-fill: #0e151a; --accent-text: #8dbbec; --accent-soft: rgba(111, 168, 230, 0.16);
    --field-1: #16283a; --field-1-ink: #e6eef2; --field-2: #1a252c; --field-2-ink: #e6eef2; --field-3: #081015; --field-3-ink: #e6eef2;
    --ok: #7bd39a; --warn: #f0b66a;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #0e151a; --surface: #141d23; --surface-2: #1a252c;
    --ink: #e6eef2; --muted-strong: #c2d0d7; --muted: #95a8b2;
    --line: rgba(230, 238, 242, 0.12); --line-strong: rgba(230, 238, 242, 0.22);
    --ink-field: #081015; --on-ink: #e6eef2; --on-ink-muted: #a8bac3;
    --accent: #6fa8e6; --accent-fill: #6fa8e6; --accent-on-fill: #0e151a; --accent-text: #8dbbec; --accent-soft: rgba(111, 168, 230, 0.16);
    --field-1: #16283a; --field-1-ink: #e6eef2; --field-2: #1a252c; --field-2-ink: #e6eef2; --field-3: #081015; --field-3-ink: #e6eef2;
    --ok: #7bd39a; --warn: #f0b66a;
  }
}
