/*
 * Strony kont panelu narzędzi Carsonnet (logowanie, rejestracja, pierwsze logowanie, moje konto,
 * panel administratora): tokeny jasne i ciemne oraz komponenty bazowe.
 * Przeniesione 1:1 ze stylów zatwierdzonej makiety (17.10.2026), bez części tylko-makietowych
 * (ramki ekranów, telefony, spis ekranów). Ramki telefonu z makiety zastępują tu zwykłe
 * reguły dla wąskiego ekranu (na dole pliku).
 *
 * Zasady:
 * - CSP stron kont: style tylko z tego pliku i admin.css, więc żadnych atrybutów style w HTML.
 * - Motyw wybiera /wspolne/motyw.js atrybutem data-theme na <html> ("light" albo "dark").
 * - Komponenty paneli administratora (kafelki statystyk, kanał zdarzeń, karta użytkownika,
 *   panel boczny) są w admin.css, nie tutaj.
 */

/* Fonty z bramki panelu (licencja SIL OFL 1.1, pliki /fonts/LICENSE-*.txt). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.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: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/sora-latin-ext-wght-normal.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: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/sora-latin-wght-normal.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;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #f4f5f7; --bg-grad-1: #ffffff; --bg-grad-2: #eef0f3;
  --surface: #ffffff; --surface-2: #f7f8fa; --surface-3: #eef0f3;
  --border: rgba(15, 20, 30, .10); --border-strong: rgba(15, 20, 30, .18);
  --text: #14171c; --text-dim: #4a525e; --text-mute: #646c79;
  --accent: #e8202e; --accent-hover: #ff3543; --accent-ink: #c8101d;
  --accent-soft: rgba(232, 32, 46, .10); --accent-line: rgba(232, 32, 46, .30);
  --ok: #0b7a5a; --ok-bg: rgba(46, 211, 163, .15); --ok-line: rgba(11, 122, 90, .28);
  --warn: #8a5a00; --warn-bg: rgba(244, 183, 64, .20); --warn-line: rgba(170, 120, 0, .30);
  --bad: #c8101d; --bad-bg: rgba(232, 32, 46, .08); --bad-line: rgba(232, 32, 46, .28);
  --info: #1f5fbf; --info-bg: rgba(79, 155, 255, .11); --info-line: rgba(31, 95, 191, .25);
  --danger-solid: #b3121e;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, .06);
  --shadow-md: 0 8px 24px -10px rgba(20, 30, 50, .18);
  --shadow-lg: 0 24px 50px -16px rgba(20, 30, 50, .22);
  --overlay: rgba(14, 17, 22, .42);
  --radius: 18px; --radius-sm: 10px;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font-ui);
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0b0d; --bg-grad-1: #0e1013; --bg-grad-2: #0a0b0d;
  --surface: #14161a; --surface-2: #1a1d22; --surface-3: #20242a;
  --border: rgba(255, 255, 255, .08); --border-strong: rgba(255, 255, 255, .14);
  --text: #f3f4f6; --text-dim: #aab0ba; --text-mute: #868d99;
  --accent-ink: #ff5a64; --accent-soft: rgba(232, 32, 46, .14); --accent-line: rgba(232, 32, 46, .35);
  --ok: #2ed3a3; --ok-bg: rgba(46, 211, 163, .12); --ok-line: rgba(46, 211, 163, .30);
  --warn: #f4b740; --warn-bg: rgba(244, 183, 64, .12); --warn-line: rgba(244, 183, 64, .30);
  --bad: #ff5a64; --bad-bg: rgba(232, 32, 46, .13); --bad-line: rgba(232, 32, 46, .38);
  --info: #79b3ff; --info-bg: rgba(79, 155, 255, .12); --info-line: rgba(79, 155, 255, .30);
  --danger-solid: #c8101d;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);
  --overlay: rgba(0, 0, 0, .62);
  color-scheme: dark;
}

/* ---------- Podstawa ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font-ui); font-size: 15px; line-height: 1.5; color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(232, 32, 46, .09), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(79, 155, 255, .06), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2) 45%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
::selection { background: var(--accent-soft); color: var(--text); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: middle; }
.tic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: middle; }
.logo { display: block; height: 22px; width: auto; aspect-ratio: 250.865 / 24.856; color: var(--text); }
:root:not([data-theme="dark"]) .th-moon { display: none; }
:root[data-theme="dark"] .th-sun { display: none; }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-mute); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }
.cap { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 10px; }
main { flex: 1 0 auto; }

/* ---------- Pasek górny ---------- */
.tb { height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 28px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 80%, transparent); position: sticky; top: 0; z-index: 20; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.tb .logo { height: 21px; }
.tb__brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.tb__brand:hover .logo { opacity: .85; }
.tb__nav { display: flex; gap: 4px; margin-left: 20px; }
.tb__nav a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-dim); text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.tb__nav a .ic { width: 16px; height: 16px; }
.tb__nav a:hover { color: var(--text); }
.tb__nav a.is-active { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow-sm); }
.tb__nav a.is-active .ic { color: var(--accent); }
/* "Stock B2B" w pasku (odsłaniany po 200 z /stock/api/dostep) od 961 px, jak nawigacja strony startowej panelu:
   węższy pasek z trzema linkami nie mieści się w 9 językach, a pozycja "Stock B2B" jest też w menu konta. */
@media (max-width: 960px) { .tb__nav a[data-cn-stock] { display: none; } }
.tb__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb__lang-wrap { position: relative; display: inline-flex; align-items: center; }
.tb__lang { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color .16s ease; }
.tb__lang:hover { border-color: var(--border-strong); }
.tb__lang option { color: #14171c; background: #fff; }
.tb__lang-wrap .ic { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--text-mute); pointer-events: none; }
.tb__back { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: .16s ease; }
.tb__back:hover { color: var(--text); border-color: var(--border-strong); }
.tb__back .ic { width: 16px; height: 16px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text-dim); cursor: pointer; flex: none; transition: .16s ease; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn .ic { width: 18px; height: 18px; }
.icon-btn--sm { width: 34px; height: 34px; border-radius: 9px; }
.icon-btn--plain { background: transparent; border-color: transparent; }
.icon-btn[aria-expanded="true"] { border-color: var(--accent-line); color: var(--text); background: var(--surface); }

/* ---------- Awatary i menu ---------- */
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; background: var(--surface-3); color: var(--text-dim); border: 1px solid var(--border-strong); }
.av--admin { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.av--lg { width: 44px; height: 44px; font-size: 15px; }
.av--xl { width: 68px; height: 68px; font-size: 22px; font-family: var(--font-display); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 292px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 40; text-align: left; }
.menu--up { top: auto; bottom: calc(100% + 4px); }
.menu--row { width: 250px; right: 8px; top: 100%; border-radius: 12px; }
.menu--row.menu--up { top: auto; bottom: 100%; }
.menu--row .menu__item { padding: 8px 12px; }
.menu--static { position: static; width: 100%; box-shadow: var(--shadow-md); }
.menu__head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.menu__head b { display: block; font-size: 14.5px; line-height: 1.25; }
.menu__head .m { display: block; font-size: 12.5px; color: var(--text-mute); overflow-wrap: anywhere; }
.menu__head .pill { margin-top: 6px; }
.menu__item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border-radius: 9px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--text-dim); text-decoration: none; cursor: pointer; text-align: left; }
.menu__item:hover { background: var(--surface-2); color: var(--text); }
.menu__item .ic { width: 17px; height: 17px; color: var(--text-mute); }
.menu__item.is-danger, .menu__item.is-danger .ic { color: var(--bad); }
.menu__item[disabled] { opacity: .42; cursor: not-allowed; }
.menu__item[disabled]:hover { background: transparent; color: var(--text-dim); }
.menu__sep { height: 1px; background: var(--border); margin: 6px 4px; }
.menu__note { display: flex; gap: 8px; font-size: 12.5px; color: var(--text-mute); padding: 8px 12px 6px; line-height: 1.45; }
.menu__note .ic { width: 15px; height: 15px; margin-top: 2px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14.5px; font-weight: 700; cursor: pointer; border: 1px solid transparent; white-space: nowrap; text-decoration: none; transition: .16s ease; }
.btn .ic { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-line); }
.btn--ink { background: var(--text); color: var(--bg); }
.btn--danger { background: var(--danger-solid); color: #fff; }
.btn--danger-ghost { background: var(--surface); border-color: var(--bad-line); color: var(--bad); }
.btn--danger-ghost:hover { background: var(--bad-bg); }
.btn:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.btn--primary:disabled:hover { background: var(--accent); }
.btn--sm { height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn--lg { height: 52px; font-size: 15.5px; border-radius: 13px; }
.btn--block { width: 100%; }
.btn.is-busy { cursor: progress; }
.link { color: var(--accent-ink); font-weight: 700; font-size: 13.5px; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.link:hover { text-decoration: underline; }

/* ---------- Pola ---------- */
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fld__label { font-size: 13px; font-weight: 600; color: var(--text-dim); display: flex; justify-content: space-between; gap: 10px; }
.fld__label em { font-style: normal; font-weight: 500; color: var(--text-mute); }
/* Hasło na logowaniu: link „Nie pamiętasz hasła?” stoi w kodzie ZA polem hasła, żeby tabulator z pola e-mail szedł
   prosto do hasła; siatka pokazuje go w wierszu etykiety, po prawej, jak wcześniej. */
.fld--haslo { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
.fld--haslo > .fld__label { grid-column: 1; grid-row: 1; }
.fld--haslo > .fld__zapomniane { grid-column: 2; grid-row: 1; }
.fld--haslo > .pw, .fld--haslo > .fld__hint { grid-column: 1 / -1; }
.fld__hint { font-size: 12.5px; color: var(--text-mute); line-height: 1.45; }
.fld__err { font-size: 12.5px; color: var(--bad); font-weight: 600; line-height: 1.45; }
.inp { width: 100%; height: 48px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 11px; color: var(--text); font-size: 15px; padding: 0 15px; transition: .16s ease; }
textarea.inp { height: auto; min-height: 84px; padding: 12px 15px; resize: vertical; line-height: 1.45; }
.inp::placeholder { color: var(--text-mute); opacity: .8; }
.inp:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.ro { position: relative; display: block; }
.ro .inp { background: transparent; border-style: dashed; color: var(--text-dim); cursor: not-allowed; padding-right: 44px; box-shadow: none; }
.ro > .ic { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-mute); pointer-events: none; }
.inp.is-error { border-color: var(--bad-line); box-shadow: 0 0 0 4px var(--bad-bg); }
.inp.is-mono { font-family: var(--font-mono); font-size: 15px; letter-spacing: .03em; }
.sel { position: relative; display: block; }
.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--text-mute); border-bottom: 2px solid var(--text-mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; }
.sel select option { color: #14171c; background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pw { position: relative; display: flex; align-items: center; }
.pw .inp { padding-right: 52px; }
/* Własne oko zamiast przycisku podglądu hasła w Edge (jedno oko jak w makiecie). */
.pw input::-ms-reveal, .pw input::-ms-clear { display: none; }
.pw--3 .inp { padding-right: 132px; }
.pw__btns { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: flex; gap: 2px; }
.pw__btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 0; background: transparent; color: var(--text-mute); cursor: pointer; transition: .14s; }
.pw__btn:hover { background: var(--surface-3); color: var(--text); }
.pw__btn .ic { width: 18px; height: 18px; }
.pw__btn .i-off { display: none; }
.pw__btn.is-on .i-on { display: none; }
.pw__btn.is-on .i-off { display: inline-block; }
.pw__btn .i-done { display: none; color: var(--ok); }
.pw__btn.is-done .i-copy { display: none; }
.pw__btn.is-done .i-done { display: inline-block; }
.is-manual [data-gen] { display: none; }

.strength { display: flex; align-items: center; gap: 12px; margin-top: -4px; margin-bottom: 12px; }
.strength__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; min-width: 64px; }
.strength__bars i { height: 6px; border-radius: 4px; background: var(--surface-3); }
.strength[data-level="1"] i:nth-child(-n+1) { background: var(--bad); }
.strength[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-level="3"] i:nth-child(-n+3) { background: var(--ok); }
.strength[data-level="4"] i { background: var(--ok); }
/* Bez nowrap: dłuższe tłumaczenia (es, fr, it) łamią się w wąskim formularzu zamiast wychodzić poza ekran. */
.strength__label { font-size: 12.5px; color: var(--text-mute); min-width: 128px; text-align: right; }
.strength__label b { color: var(--text); }
.reqs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; font-size: 13px; color: var(--text-mute); margin-bottom: 16px; }
.reqs--one { grid-template-columns: 1fr; }
.reqs li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.req-ic { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); flex: none; margin-top: 1px; display: grid; place-items: center; transition: .15s; }
.reqs li.is-ok { color: var(--text); }
.reqs li.is-ok .req-ic { background: var(--ok); border-color: var(--ok); }
.reqs li.is-ok .req-ic::after { content: ""; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(0, -1px) rotate(-45deg); }
:root[data-theme="dark"] .reqs li.is-ok .req-ic::after { border-color: #0a0b0d; }
.reqs li.is-bad { color: var(--bad); }
.reqs li.is-bad .req-ic { border-color: var(--bad); }

.chk { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.4; color: var(--text); }
.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--surface); flex: none; margin-top: 0; display: grid; place-items: center; cursor: pointer; transition: .15s; }
.chk input:checked { background: var(--accent); border-color: var(--accent); }
.chk input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(0, -1px) rotate(-45deg); }
.chk small { display: block; color: var(--text-mute); font-size: 12.5px; margin-top: 2px; }
.chk-box { padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); margin-bottom: 16px; }

/* ---------- Komunikaty, pigułki, przełączniki ---------- */
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px; line-height: 1.45; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.alert .ic { width: 18px; height: 18px; margin-top: 1px; }
.alert b { font-weight: 700; }
.alert--bad { background: var(--bad-bg); border-color: var(--bad-line); }
.alert--bad > .ic { color: var(--bad); }
.alert--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.alert--warn > .ic { color: var(--warn); }
.alert--info { background: var(--info-bg); border-color: var(--info-line); }
.alert--info > .ic { color: var(--info); }
.alert--ok { background: var(--ok-bg); border-color: var(--ok-line); }
.alert--ok > .ic { color: var(--ok); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; line-height: 1; }
.pill .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--bad { background: var(--bad-bg); color: var(--bad); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--info { background: var(--info-bg); color: var(--info); }
.pill--admin { background: var(--text); color: var(--bg); }
:root[data-theme="dark"] .pill--admin { background: var(--surface-3); color: var(--text); border-color: rgba(255, 255, 255, .26); }
:root[data-theme="dark"] .pill--admin .ic { color: var(--accent-ink); }
.pill--role { background: var(--surface-3); color: var(--text-dim); border-color: var(--border); }
.pill--plain { background: transparent; color: var(--text-mute); border-color: var(--border-strong); }
.cc { display: inline-block; padding: 0 6px; border-radius: 5px; border: 1px solid var(--border-strong); color: var(--text-mute); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; line-height: 17px; vertical-align: 1px; }
.you { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); margin-left: 6px; vertical-align: 2px; }

.seg { display: inline-flex; padding: 3px; background: var(--surface-3); border: 1px solid var(--border); border-radius: 11px; gap: 2px; }
.seg button { height: 32px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 700; color: var(--text-mute); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.chip { flex: 0 0 auto; height: 34px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; color: var(--text-dim); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: .16s; }
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px -4px var(--accent); }
.chip .count { font-size: 11px; padding: 1px 7px; border-radius: 100px; background: var(--surface-3); color: var(--text-mute); }
.chip[aria-pressed="true"] .count { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- Karty i tabele ---------- */
.card { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.card__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card__title h2, .card__title h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.card__title small { font-size: 12.5px; color: var(--text-mute); font-weight: 600; }
.card__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-mute); }
.bar { display: block; flex: 1; height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; min-width: 40px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }

.pg { width: 100%; max-width: 1320px; margin: 0 auto; padding: 28px 36px 40px; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.pg-head h1 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -.02em; line-height: 1.1; margin-top: 10px; overflow-wrap: anywhere; }
.pg-head p { margin-top: 6px; color: var(--text-dim); font-size: 14.5px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--text-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.tabs a .ic { width: 16px; height: 16px; }
.tabs a.is-active { color: var(--text); border-color: var(--accent); }
.tabs a.is-active .ic { color: var(--accent); }
.tabs .count { font-size: 11px; padding: 1px 7px; border-radius: 100px; background: var(--surface-3); color: var(--text-mute); }
.tbl-wrap { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-mute); padding: 13px 9px 11px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl th .ic { width: 13px; height: 13px; color: var(--accent); margin-left: 3px; vertical-align: -1px; }
.tbl td { padding: 12px 9px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child, .tbl th:first-child { padding-left: 16px; }
.tbl td:last-child, .tbl th:last-child { padding-right: 12px; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl--mini { font-size: 13.5px; }
.tbl--mini th { padding: 10px 10px 9px; }
.tbl--mini td { padding: 10px 10px; }
.tbl--mini td:first-child, .tbl--mini th:first-child { padding-left: 0; }
.tbl--mini td:last-child, .tbl--mini th:last-child { padding-right: 0; }
.tbl--mini td:first-child { white-space: nowrap; }
.u { display: flex; align-items: center; gap: 12px; }
.u__name { font-weight: 700; line-height: 1.3; }
.u__mail { font-size: 12.5px; color: var(--text-mute); line-height: 1.35; }
.u__co { font-weight: 600; line-height: 1.3; white-space: nowrap; }
.empty { text-align: center; padding: 36px 14px !important; color: var(--text-mute); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.dl dt { color: var(--text-mute); font-weight: 600; font-size: 13px; padding-top: 1px; white-space: nowrap; }
.dl dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.dl dd small { display: block; font-weight: 500; color: var(--text-mute); font-size: 12.5px; }

/* ---------- Okna ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: var(--overlay); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); display: flex; align-items: center; justify-content: center; padding: 32px; overflow-y: auto; }
.modal { width: min(480px, 100%); max-height: calc(100vh - 64px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); padding: 24px; position: relative; }
.modal--wide { width: min(580px, 100%); }
.modal__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bad-bg); color: var(--bad); margin-bottom: 14px; }
.modal__ic .ic { width: 22px; height: 22px; }
.modal__ic--warn { background: var(--warn-bg); color: var(--warn); }
.modal__ic--ok { background: var(--ok-bg); color: var(--ok); }
.modal__ic--accent { background: var(--accent-soft); color: var(--accent); }
.modal h2, .modal h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 10px; }
.modal p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.modal .alert { margin-top: 14px; }
.modal .fld { margin-top: 16px; margin-bottom: 0; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.modal__x { position: absolute; right: 14px; top: 14px; }
.uchip { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); margin-bottom: 14px; }
.uchip b { display: block; font-size: 14.5px; line-height: 1.25; }
.uchip div span { display: block; font-size: 12.5px; color: var(--text-mute); }
.contact-list { list-style: none; display: grid; gap: 8px; margin: 12px 0 14px; }
.contact-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.contact-list b { display: block; font-size: 14px; line-height: 1.25; }
.contact-list div a, .contact-list div span { display: block; font-size: 12.5px; color: var(--accent-ink); font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.contact-list div a:hover { text-decoration: underline; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: min(560px, calc(100% - 32px)); display: flex; gap: 10px; align-items: center; }
.toast .ic { width: 18px; height: 18px; }

/* ---------- Logowanie ---------- */
/* minmax(0, ...): kolumny w stałej proporcji niezależnie od szerokości formularza (rozmiar nagłówka liczy
   się z szerokości kolumny); formularz zwęża się do kolumny przez max-width: 100%. */
.login { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: calc(100vh - 64px); }
.login__aside { position: relative; overflow: hidden; padding: 68px 56px 56px; border-right: 1px solid var(--border); background: radial-gradient(640px 380px at 10% 0%, rgba(232, 32, 46, .12), transparent 60%), linear-gradient(165deg, var(--surface), var(--surface-2) 60%, var(--bg)); }
.login__mark { position: absolute; right: -70px; bottom: -40px; width: 470px; height: auto; aspect-ratio: 62 / 22; color: var(--accent); opacity: .07; pointer-events: none; }
.login__aside h1 { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1.04; letter-spacing: -.025em; margin-top: 16px; }
.login__lead { margin-top: 16px; font-size: 17px; color: var(--text-dim); max-width: 44ch; line-height: 1.6; }
.login__tools { list-style: none; margin-top: 32px; display: grid; gap: 10px; max-width: 470px; position: relative; }
.login__tools li { display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--border); }
.login__tools b { display: block; font-size: 15px; line-height: 1.3; }
.login__tools .d { display: block; font-size: 13px; color: var(--text-mute); line-height: 1.4; }
/* Znaki narzędzi z paczki logotypów Jakuba (docs/logotypy-narzedzi.md), te same co na kafelkach panelu, w rozmiarze dawnej
   płytki ikony (42 px). Wklejone w HTML, a nie przez use z ikony.svg: reguła .tic przeniosłaby stroke i fill na elementy
   znaku bez własnego stroke. Transport, Raporty i trade-in mają własne ciemne tło #14171C z zaokrągleniem rx 15 na 64
   (border-radius 23.4375%, czyli 15/64 boku), więc w ciemnym motywie dostają po tym kształcie subtelną jasną obwódkę,
   żeby nie zlały się z tłem listy; CalcBooster jest bez tła. */
.tool-znak { display: block; flex: none; width: 42px; height: 42px; border-radius: 23.4375%; }
.tool-znak svg { display: block; width: 100%; height: 100%; }
:root[data-theme="dark"] .tool-znak--kwadrat { box-shadow: 0 0 0 1px var(--border-strong); }
.login__main { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-content: center; padding: 48px 40px; }
.login__phone-head { display: none; }
.login__phone-head .login__phone-title { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin: 8px 0 18px; }
.auth { width: 430px; max-width: 100%; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-md); }
.auth h1, .auth h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.auth .eyebrow { margin-bottom: 12px; }
.auth__sub { margin: 8px 0 22px; color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 22px; }
.auth__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-mute); line-height: 1.55; }
.auth .alert { margin-bottom: 18px; }
.auth--wide { width: 520px; }
.auth__forgot { display: none; text-align: center; margin-top: 14px; }
.tylko-telefon { display: none; }
/* minmax(0, 1fr): formularz (520 px) zwęża się do ekranu telefonu zamiast poszerzać stronę. */
.center-pg { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 52px 24px 64px; }

/* Nagłówek stron logowania i rejestracji od 601 px w jednej linii (prośba Carsonnet z 19.10.2026): rozmiar
   z szerokości kolumny (jednostki kontenera) i szerokości tekstu w em dla języka strony (--cn-h1-em,
   pomiar Sora 800). Nowe tłumaczenie l_h1_a albo l_h1_b wymaga nowego pomiaru (pilnuje test w przeglądarce).
   container-type sprawia też, że tekst bez łamania nie poszerza kolumny siatki .login. */
:root { --cn-h1-em: 17.8; }
:root:lang(en) { --cn-h1-em: 11; }
:root:lang(de) { --cn-h1-em: 15.5; }
:root:lang(fr) { --cn-h1-em: 20.1; }
:root:lang(es) { --cn-h1-em: 21.3; }
:root:lang(nl) { --cn-h1-em: 13; }
:root:lang(da) { --cn-h1-em: 16.3; }
:root:lang(ro) { --cn-h1-em: 18.8; }
:root:lang(it) { --cn-h1-em: 19.3; }
.login__aside, .login__phone-head { container-type: inline-size; }
.login__aside h1 { white-space: nowrap; max-width: none; overflow-wrap: normal; hyphens: manual; font-size: min(48px, calc(96cqi / var(--cn-h1-em))); }
.login__phone-head .login__phone-title { white-space: nowrap; font-size: min(28px, calc(96cqi / var(--cn-h1-em))); }
/* Telefon do 600 px (decyzja Mateusza z 19.10.2026, próg z pomiaru w 9 językach): nagłówek w najwyżej dwóch
   wyrównanych liniach (text-wrap: balance), 24-28 px, czyli nie mniej niż tytuł formularza (24 px). Od 601 px
   jedna linia jak wyżej. --cn-h1-em2: najdłuższa linia przy najlepszym podziale na dwie (pomiar Sora 800,
   letter-spacing -.02em, zaokrąglone w górę do 0,1 em); przy 320 px każdy język ma co najmniej 24 px.
   Tekst, który mieści się w jednej linii przy 28 px (np. po angielsku od ok. 340 px), zostaje w jednej. */
:root { --cn-h1-em2: 11.1; }
:root:lang(en) { --cn-h1-em2: 5.5; }
:root:lang(de) { --cn-h1-em2: 8.5; }
:root:lang(fr) { --cn-h1-em2: 11; }
:root:lang(es) { --cn-h1-em2: 10.9; }
:root:lang(nl) { --cn-h1-em2: 6.6; }
:root:lang(da) { --cn-h1-em2: 9; }
:root:lang(ro) { --cn-h1-em2: 11.5; }
:root:lang(it) { --cn-h1-em2: 10.1; }
@media (max-width: 600px) {
  .login__phone-head .login__phone-title { white-space: normal; text-wrap: balance; font-size: clamp(24px, calc(96cqi / var(--cn-h1-em2)), 28px); }
}

/* ---------- Rejestracja ---------- */
/* Pole-pułapka na boty: poza ekranem, nie display: none (część botów pomija ukryte pola). */
.pulapka { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.auth__zgoda { margin: 2px 0 20px; }
.auth__zgoda .fld__err { margin: 6px 0 0 30px; }
.chk .link { font-size: inherit; }
.chk input.is-error { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.btn.is-busy:disabled { opacity: .72; cursor: progress; }
.alert .link { font-size: inherit; }
.auth h2 + .alert { margin-top: 16px; }

/* ---------- Moje konto ---------- */
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.acc-grid .full { grid-column: 1 / -1; }
.dev { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.dev:last-child { border-bottom: 0; }
.dev__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-3); display: grid; place-items: center; color: var(--text-dim); }
.dev b { display: block; font-size: 14px; }
.dev small { display: block; font-size: 12.5px; color: var(--text-mute); }
.dev-list { list-style: none; }
.dev-empty { padding: 12px 0; font-size: 13.5px; color: var(--text-mute); }
/* Firma konta z rejestracji czeka na potwierdzenie administratora (druga tura rejestracji, 19.10.2026). */
.alert.acc-weryfikacja { margin-bottom: 18px; }
/* Poczta kont (23.10.2026): niepotwierdzony adres e-mail w „Moje konto” i strony z linków w mailach. */
.alert.acc-adres { margin-bottom: 18px; }
.acc-adres__akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.acc-adres__stan { font-size: 13px; color: var(--text-dim); }
.strona-poczta .auth .btn + .btn, .strona-poczta #wyslane .btn, .strona-poczta #zly-link .btn { margin-top: 12px; }
.strona-poczta .auth .fld + .btn { margin-top: 6px; }
/* Link do polityki prywatności na logowaniu, pierwszym logowaniu i w „Moje konto” (poprawki po przeglądzie drugiej tury). */
.auth__pp { margin-top: 10px; font-size: 13px; line-height: 1.55; }
.acc-pp { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13.5px; color: var(--text-dim); }
.acc-pp .ic { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Polityka prywatności, polityka cookies i regulamin usług płatnych (publiczne strony, PL i EN) ---------- */
.pp { max-width: 920px; }
.pp__wersje { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.pp__obowiazuje { margin-bottom: 16px; }
.pp__tekst { padding: 28px 32px; font-size: 15px; line-height: 1.65; overflow-wrap: break-word; }
.pp__tekst h2 { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; line-height: 1.3; margin: 26px 0 10px; }
.pp__tekst p, .pp__tekst ul, .pp__tekst ol { margin: 0 0 12px; }
.pp__tekst ul, .pp__tekst ol { padding-left: 22px; }
.pp__tekst li { margin: 6px 0; }
.pp__tekst a { color: var(--accent-ink); font-weight: 600; overflow-wrap: anywhere; }
.pp__tekst code { font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.pp__data { font-size: 13.5px; color: var(--text-dim); }
/* Adnotacja projektu na górze dokumentu (do usunięcia przy publikacji po akceptacji Carsonnet). */
.pp__projekt { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border: 1px solid var(--warn-line); border-radius: 9px; background: var(--warn-bg); color: var(--text); font-size: 13.5px; font-weight: 700; }
/* Miejsca do uzupełnienia przed publikacją: widoczne, żeby nikt ich nie przeoczył. */
.pp__brak { background: var(--warn-bg); color: var(--text); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.pp__tabela { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--border); border-radius: 12px; }
.pp__tabela table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.pp__tabela th, .pp__tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.pp__tabela th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); background: var(--surface-2); }
.pp__tabela tr:last-child td { border-bottom: 0; }
.pp__tabela code { white-space: nowrap; }

/* ---------- Szerokości pośrednie ---------- */
@media (max-width: 1100px) {
  .login__aside { padding: 56px 40px 48px; }
  .login__aside h1 { font-size: min(42px, calc(96cqi / var(--cn-h1-em))); }
}
/* Formularz rejestracji obok kolumny z nagłówkiem: na dwie kolumny pól za wąsko. */
@media (min-width: 901px) and (max-width: 1100px) {
  .strona-rejestracja .row2, .strona-rejestracja .reqs { grid-template-columns: minmax(0, 1fr); }
  .strona-rejestracja .row2 { gap: 0; }
}
@media (max-width: 900px) {
  .login { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .login__aside { display: none; }
  .login__main { display: block; padding: 20px 16px 40px; }
  .login__phone-head, .login__main .auth { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }
  .login__phone-head { display: block; }
  .acc-grid { grid-template-columns: minmax(0, 1fr); }
  .pg { padding: 24px 24px 36px; }
}

/* ---------- Telefon (jak ramki 375 px w makiecie) ---------- */
@media (max-width: 600px) {
  .tb { height: 58px; padding: 0 16px; gap: 10px; }
  .tb .logo { height: 16px; }
  .tb__right { gap: 8px; }
  .tb__nav { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .tb__lang { height: 36px; padding: 0 26px 0 10px; }
  .tb__lang-wrap .ic { right: 8px; }
  .tb__back { height: 36px; width: 36px; padding: 0; justify-content: center; }
  .tb__back span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .tb__back--carsonnet { display: none; }
  .pg { padding: 20px 16px 30px; }
  .pg-head { margin-bottom: 14px; }
  .pg-head h1 { font-size: 28px; margin-top: 8px; }
  .auth { padding: 22px 18px; border-radius: 16px; }
  .auth h1, .auth h2 { font-size: 24px; }
  .auth__row { margin: 4px 0 14px; }
  .auth__forgot { display: block; }
  .fld .link[data-forgot] { display: none; }
  .tylko-telefon { display: inline; }
  .tylko-komputer { display: none; }
  .center-pg { place-items: start center; padding: 20px 16px 40px; }
  .card { padding: 18px 16px; }
  .card__title { flex-wrap: wrap; }
  /* „Wyloguj na wszystkich urządzeniach” w „Moje konto”: tekst łamie się zamiast przewijania strony w poziomie
     przy 320 px (po polsku, hiszpańsku i rumuńsku; poprawki po przeglądzie drugiej tury rejestracji). */
  .card__title .btn { max-width: 100%; height: auto; min-height: 36px; padding: 6px 13px; white-space: normal; text-align: left; line-height: 1.3; }
  .card__title .btn .ic { flex-shrink: 0; }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reqs { grid-template-columns: minmax(0, 1fr); }
  .strength__label { min-width: 0; }
  .overlay { padding: 16px; align-items: flex-end; }
  .modal { padding: 22px 18px; }
  .modal__foot .btn { flex: 1 1 auto; }
  .dev { grid-template-columns: 40px minmax(0, 1fr); }
  .dev > :last-child { grid-column: 2; justify-self: start; }
  .pp__tekst { padding: 20px 16px; font-size: 14.5px; }
  .pp__tekst h2 { font-size: 17px; margin-top: 22px; }
  .pp__tekst ul, .pp__tekst ol { padding-left: 18px; }
  /* Tabele polityki na telefonie jako lista: wiersz pod wierszem, pierwsza komórka pogrubiona. */
  .pp__tabela thead { display: none; }
  .pp__tabela tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--border); }
  .pp__tabela tr:last-child { border-bottom: 0; }
  .pp__tabela td { display: block; padding: 0; border-bottom: 0; }
  .pp__tabela td:first-child { font-weight: 700; margin-bottom: 4px; }
  .pp__tabela td + td + td { margin-top: 4px; color: var(--text-dim); }
}
@media (max-width: 360px) {
  .tb .logo { height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .tb { position: static; }
  .toast, .overlay { display: none !important; }
}
