/* The page's ground: the reset, the root size, the digits. Components keep their own CSS modules. */
html { font-size: 13px; }
*, *::before, *::after { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
/* the page's text is 13 px: --w-small (420), not 350 (tokens.css; quiz 12 Б) */
body { background: var(--bg) var(--app-bg) center / cover fixed no-repeat; color: var(--text); font: var(--w-small) var(--fs-13) / var(--lh) var(--font);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; letter-spacing: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
/* a <b> no part styled is the scale's semibold, not the browser's 700 («Сейчас платит **баланс, 600 ₸/ч**», design audit
   01.11): the Panel's weights are 350 / 450 / 550 / 650 only. No weight of its own (:where): every part's rule wins */
:where(b, strong) { font-weight: var(--w-semi); }
/* the keyboard's ring, of no weight (:where): a part that draws its own focus (a field's box, a seat) always wins, whatever
   order the build puts the sheets in — the ring drew a second, square frame inside a field's round one (27.10) */
:where(:focus) { outline: none; }
:where(:focus-visible) { outline: 2px solid var(--text-2); outline-offset: 1px; }
::selection { background: var(--selection); }
/* a field's placeholder is often its only name («Чек кассы клуба», the guest's search): --text-3, not --text-4 (2,4:1, design
   audit 01.11); --text-4 stays for the disabled */
::placeholder { color: var(--text-3); }
* { scrollbar-width: thin; scrollbar-color: var(--scrollbar) transparent; }
/* «Меньше движения» (Windows 11: Параметры → Специальные возможности → Визуальные эффекты → Анимационные эффекты; MDN: take
   away what moves and grows, a fade may stay): nothing slides, grows or glides — a fade or a colour stays, 150 ms at most (the
   parts swap their sliding keyframes for a fade: Overlay, Pop, Command, the canvas's plates); the waiting ring turns as
   before (ui/Action). Until 30.10 everything stopped here, the ring too: a pressed button looked frozen. */
@media (prefers-reduced-motion: reduce) {
  :root:root { --t-state: .15s; }
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color, outline-color, box-shadow, visibility !important; }
}
