/* ============================================================================
   baza.css — fonty lokalne, reset, typografia i drobne klasy wspólne (port panelu Gońca; pismo z tokenów --t-*, UI-19).
   Fonty: Geist i Geist Mono z /fonts/ (SIL OFL 1.1, www/fonts/OFL.txt) — ⛔ CDN (CSP font-src 'self').
   ⛔ overflow:hidden na html/body (fałszuje pomiar poziomego przewijania, UI-11).
   ============================================================================ */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/geist-v5-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/geist-v5-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; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-v6-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-v6-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; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--tlo); }
body { margin: 0; min-height: 100dvh; background: var(--tlo); color: var(--tekst); font: var(--t-tekst); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; color: var(--tekst); }
h1 { font: var(--t-h1); letter-spacing: -.02em; }
h2 { font: var(--t-h2); letter-spacing: -.01em; }
h3, h4 { font: var(--t-h3); letter-spacing: -.006em; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 18px; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; border-radius: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
img, svg { max-width: 100%; }
::selection { background: var(--akcja-tlo); color: var(--tekst); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--linia-pole); border-radius: var(--r-chip); }
:where(a, button, [tabindex], summary, input, textarea):focus-visible { outline: 2px solid var(--akcja); outline-offset: 2px; }

/* UI-14: atrybut hidden zawsze wygrywa z klasą układu (display:flex/grid klasy nie odsłoni schowanego elementu) */
[hidden]{display:none!important}

/* drobne klasy wspólne — UI-19: .mono WYŁĄCZNIE dla identyfikatorów (adres, domena, polecenie); liczby = .licz-t (Sans, tabular) */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.licz-t { font-variant-numeric: tabular-nums; }
.et { display: block; font: var(--t-etykieta); color: var(--olow); }
.olow { color: var(--olow); }
.mute { color: var(--mute); }
.mocny { color: var(--tekst); font-weight: 600; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 16px; height: 16px; flex: none; display: inline-flex; align-items: center; justify-content: center; vertical-align: -3px; }
.ico svg { width: 100%; height: 100%; display: block; }

@keyframes tr-wejscie { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes tr-puls { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes tr-obrot { to { transform: rotate(360deg); } }
/* Bez ruchu: animacje i przejścia wyłączone całkiem. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
