/* «Вигляд Б» (the user's choice of 05.10.2026, kept for Lumen by review 07): the colour tokens and the page's base of
   sts-report dashboard/page.html as they are, both themes. */
:root {
  color-scheme: light;
  --page: #f9f9f7;
  --page-art: url("/web/assets/topo-light.webp");
  --page-veil: rgba(249, 249, 247, 0);
  --surface: #fcfcfb;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --ring: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6;
  --hover-bg: color-mix(in srgb, var(--surface) 95%, var(--ink));
  /* the chosen pill or segment: a tint of the accent (look «Б») */
  --sel-bg: color-mix(in srgb, var(--accent) 18%, var(--surface));
  --sel-ring: color-mix(in srgb, var(--accent) 60%, transparent);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .10);
  --o-int: #0ca30c;
  --o-miss: #fab219;
  --o-loss: #d03b3b;
  --o-other: #898781;
  --o-ret: #c3c2b7;
  --good-ink: #087f08;
  --bad-ink: #b52c2c;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --s-other: #c3c2b7;
  --gap: var(--surface);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --page-art: url("/web/assets/topo-dark.webp");
  --page-veil: rgba(13, 13, 13, 0);
  --surface: #1a1a19;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --muted: #898781;
  --grid: #2c2c2a;
  --axis: #383835;
  --ring: rgba(255, 255, 255, 0.10);
  --accent: #3987e5;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .5);
  --o-ret: #52514e;
  --good-ink: #3fcf3f;
  --bad-ink: #ff6b5e;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --s-other: #52514e;
}

* { box-sizing: border-box; }
/* the hidden attribute always hides: a class's own display (the map's groups are inline-flex) must not keep a hidden control shown (05.11.2026) */
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  position: relative;
  background: var(--page) var(--page-art) center / cover no-repeat fixed;
  color: var(--ink);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* the veil over the picture of the dark theme; the page's content stands above it (05.11.2026) */
body::before { content: ""; position: fixed; inset: 0; background: var(--page-veil); pointer-events: none; z-index: 0; }
body > * { position: relative; z-index: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 28px 24px 64px; }
@media (max-width: 640px) { .wrap { padding: 16px 16px 48px; } }

button, select, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent); }
main:focus { outline: none; }
