/*
 * Wentro — ekrany wejścia do systemu: logowanie, rejestracja, reset hasła, potwierdzenie adresu.
 * Ładowany po colors.css (tokeny marki) i, na logowaniu, po wentro-app.css (ekrany bramki aplikacji).
 *
 * Zasady, których trzymają się wszystkie ekrany (nawyki, które użytkownik już ma z innych serwisów):
 *  - etykieta NAD polem, zwykłym pismem, nigdy sam placeholder i nigdy pisane WERSALIKAMI,
 *  - jedno główne działanie na ekranie, drugie (np. „Załóż konto") jako przycisk poboczny,
 *  - błąd stoi PRZY polu, którego dotyczy, i mówi co zrobić; nie tylko kolorem,
 *  - hasło można podejrzeć, a reguły hasła widać, zanim się je złamie,
 *  - pola mają 16 px (iOS nie powiększa strony przy wejściu w pole) i min. 48 px wysokości.
 *
 * Wszystko jest ograniczone do body.auth - plik nie rusza reszty serwisu.
 */

body.auth, .au-scope {
  --au-bg: #ffffff;
  --au-surface: #ffffff;
  --au-soft: #F2FAF9;
  --au-ink: #0B2321;
  --au-ink-2: #3F5552;
  --au-ink-3: #5E7773;
  --au-line: #D6E5E3;
  --au-field: #7E9693;
  --au-field-hover: #5E7C78;
  --au-brand: #0E7C74;
  --au-brand-strong: #0A615B;
  --au-ring: rgba(20, 184, 166, .32);
  --au-cta-a: #D43E2A;
  --au-cta-b: #E04F37;
  --au-danger: #B3261E;
  --au-danger-bg: #FDF1F0;
  --au-danger-line: #F1C2BE;
  --au-ok: #0B7A4B;
  --au-ok-bg: #EBF8F2;
  --au-ok-line: #BCE5D1;
  --au-info-bg: #EEF8F7;
  --au-info-line: #C4E4E0;
  --au-warn: #7A4B00;
  --au-warn-bg: #FFF6E8;
  --au-warn-line: #F6D9A8;
  --au-radius: 12px;
  --au-shadow: 0 1px 2px rgba(11, 35, 33, .06), 0 8px 24px -12px rgba(11, 35, 33, .18);
}
html[data-theme="dark"] body.auth, html[data-theme="dark"] .au-scope {
  --au-bg: #0E1615;
  --au-surface: #0E1615;
  --au-soft: #142120;
  --au-ink: #EAF4F2;
  --au-ink-2: #B9CCC9;
  --au-ink-3: #8EA6A2;
  --au-line: #243735;
  --au-field: #6C8985;
  --au-field-hover: #8EA6A2;
  --au-brand: #3CCFBF;
  --au-brand-strong: #7CE3D7;
  --au-ring: rgba(60, 207, 191, .35);
  --au-danger: #FF8A84;
  --au-danger-bg: #2A1716;
  --au-danger-line: #5A2B28;
  --au-ok: #6FDBA8;
  --au-ok-bg: #112820;
  --au-ok-line: #1F4A38;
  --au-info-bg: #12302D;
  --au-info-line: #1F4A45;
  --au-warn: #F6C976;
  --au-warn-bg: #2B2313;
  --au-warn-line: #5A4620;
  --au-shadow: none;
}

/* wentro-app.css (ładowany na logowaniu dla ekranów bramki aplikacji) ma własną regułę tła ciemnego motywu */
html[data-theme="dark"] body.auth { background: var(--au-bg); color: var(--au-ink); }
body.auth *, body.auth *::before, body.auth *::after { box-sizing: border-box; }
body.auth {
  margin: 0; padding: 0; display: block; min-height: 100vh; min-height: 100dvh;
  background: var(--au-bg); color: var(--au-ink);
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%;
}
body.auth a, .au-scope a { color: var(--au-brand); }
body.auth :focus-visible { outline: 3px solid var(--au-ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- układ: formularz po prawej, panel marki po lewej (od tabletu w poziomie) ---------- */
.au-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }
.au-main {
  display: flex; flex-direction: column; min-width: 0;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 440px; margin: 0 auto; }
.au-logo { display: inline-flex; border-radius: 8px; text-decoration: none; }
.au-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--au-brand, #0E7C74); }
.au-brand svg { display: block; flex: none; }
.au-brand b { font-size: 1.55rem; line-height: 1; font-weight: 800; letter-spacing: -.025em; }
.au-brand--white { color: #fff; }
html[data-theme="dark"] body.auth { --au-logo-a: #3CCFBF; }
.au-back {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; margin-right: -10px;
  font-size: .9rem; font-weight: 600; color: var(--au-ink-2) !important; text-decoration: none; border-radius: 999px;
}
.au-back:hover { color: var(--au-brand) !important; background: var(--au-soft); }
.au-back .au-ic { width: 16px; height: 16px; }
.au-card { width: 100%; max-width: 440px; margin: auto; padding: 28px 0 24px; }
.au-legal { width: 100%; max-width: 440px; margin: 0 auto; padding-top: 12px; font-size: .8rem; color: var(--au-ink-3); text-align: center; }
.au-legal a { color: var(--au-ink-3); text-decoration: underline; text-underline-offset: 2px; }
.au-legal a:hover { color: var(--au-brand); }
.au-legal span[aria-hidden] { margin: 0 6px; opacity: .6; }

.au-aside { display: none; }
@media (min-width: 980px) {
  .au-shell { grid-template-columns: minmax(380px, 5fr) minmax(0, 6fr); }
  .au-aside { order: -1; }
  .au-main { padding: 28px 56px; }
  .au-top { max-width: 440px; }
  .au-logo { display: none; }
  .au-top { justify-content: flex-start; }
  .au-aside {
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden;
    padding: 44px 56px; color: #fff;
    background:
      radial-gradient(900px 500px at 105% -10%, rgba(255, 107, 91, .30), transparent 60%),
      linear-gradient(165deg, #08403B 0%, #0E7C74 58%, #14B8A6 140%);
  }
  .au-aside::before {
    content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background: radial-gradient(circle at 20% 110%, rgba(94, 234, 212, .25), transparent 45%);
  }
  .au-aside > * { position: relative; }
}
.au-aside-logo { display: inline-flex; text-decoration: none; }
.au-aside-logo .au-brand b { font-size: 1.7rem; }
.au-aside-logo .au-brand svg { width: 44px; height: 44px; }
.au-aside h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
.au-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 380px; }
.au-aside li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.au-aside li .au-ic { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; }
.au-aside-art { width: min(100%, 340px); transform: rotate(-3deg); filter: drop-shadow(0 22px 30px rgba(3, 30, 27, .35)); }
.au-aside small { color: rgba(255, 255, 255, .7); font-size: .82rem; }

/* ---------- zainstalowana aplikacja: bez panelu marki, bez linku „strona główna" ---------- */
@media (display-mode: standalone) {
  .au-shell { grid-template-columns: minmax(0, 1fr) !important; }
  .au-aside, .au-back { display: none !important; }
  .au-logo { display: inline-flex !important; }
  .au-top { justify-content: center; }
  .au-main { padding: max(24px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); }
  .au-card { margin-top: 0; }
}

/* ---------- typografia ekranu ---------- */
.au-h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 1.35rem + 1vw, 2.05rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--au-ink); }
.au-lead { margin: 0 0 24px; color: var(--au-ink-2); font-size: 1rem; line-height: 1.55; }
.au-lead strong { color: var(--au-ink); word-break: break-word; }

/* ---------- komunikaty ---------- */
.au-alert {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px;
  border: 1px solid var(--au-info-line); background: var(--au-info-bg); color: var(--au-ink);
  border-radius: var(--au-radius); font-size: .95rem; line-height: 1.5;
}
.au-alert .au-ic { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--au-brand); }
.au-alert-body { min-width: 0; flex: 1; }
/* Tytuł komunikatu to <strong> bezpośrednio w .au-alert-body; <strong> w treści (w <p>) zostaje zwykłym pogrubieniem w zdaniu. */
.au-alert-body > strong { display: block; margin-bottom: 2px; font-weight: 700; }
.au-alert p strong { font-weight: 700; }
.au-alert p { margin: 0; }
.au-alert p + p, .au-alert .au-alert-actions { margin-top: 8px; }
.au-alert--error { border-color: var(--au-danger-line); background: var(--au-danger-bg); color: var(--au-danger); }
.au-alert--error .au-ic { color: var(--au-danger); }
.au-alert--error a, .au-alert--error .au-linkbtn { color: var(--au-danger); }
.au-alert--success { border-color: var(--au-ok-line); background: var(--au-ok-bg); color: var(--au-ok); }
.au-alert--success .au-ic { color: var(--au-ok); }
.au-alert--warn { border-color: var(--au-warn-line); background: var(--au-warn-bg); color: var(--au-warn); }
.au-alert--warn .au-ic { color: var(--au-warn); }
.au-alert--error strong, .au-alert--success strong, .au-alert--warn strong { color: inherit; }

/* ---------- pola ---------- */
.au-form { margin: 0; }
.au-field { margin: 0 0 18px; }
.au-field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 420px) { .au-field-row--2 { grid-template-columns: 1fr 1fr; } }

/* Część długiego formularza (rejestracja organizatora): wyraźny, ale cichy nagłówek. */
.au-sec { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--au-line, #DCEBE9); }
.au-sec:first-of-type { margin-top: 6px; padding-top: 0; border-top: 0; }
.au-sec h2 { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -.005em; color: var(--au-ink); }
.au-sec p { margin: 3px 0 0; font-size: .86rem; line-height: 1.45; color: var(--au-ink-3, #4B615E); }
.au-label-row .it-label { min-width: 0; }
.au-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.au-label { display: block; font-size: .95rem; font-weight: 600; color: var(--au-ink); }
.au-label small { font-weight: 500; color: var(--au-ink-3); }
.au-label-row .au-label { margin: 0; }
.au-link { font-size: .9rem; font-weight: 600; color: var(--au-brand); text-decoration: none; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.au-link:hover { text-decoration: underline; }
.au-input {
  display: block; width: 100%; height: 48px; padding: 0 14px; margin: 0;
  font: inherit; font-size: 16px; color: var(--au-ink); background: var(--au-surface);
  border: 1.5px solid var(--au-field); border-radius: var(--au-radius);
  transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none;
}
.au-input::placeholder { color: var(--au-ink-3); opacity: .75; }
.au-input:hover { border-color: var(--au-field-hover); }
.au-input:focus { outline: none; border-color: var(--au-brand); box-shadow: 0 0 0 4px var(--au-ring); }
.au-field.has-error .au-input { border-color: var(--au-danger); }
.au-field.has-error .au-input:focus { box-shadow: 0 0 0 4px var(--au-danger-line); }
.au-pw { position: relative; }
.au-pw .au-input { padding-right: 52px; }
.au-pw-toggle {
  position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: var(--au-radius); color: var(--au-ink-2); cursor: pointer; padding: 0;
}
.au-pw-toggle:hover { color: var(--au-brand); }
.au-pw-toggle .au-ic { width: 22px; height: 22px; }
.au-pw-toggle .au-ic-off { display: none; }
.au-pw-toggle[aria-pressed="true"] .au-ic-on { display: none; }
.au-pw-toggle[aria-pressed="true"] .au-ic-off { display: block; }
.au-hint { margin: 6px 0 0; font-size: .85rem; line-height: 1.45; color: var(--au-ink-3); }
.au-err { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: .875rem; line-height: 1.4; font-weight: 600; color: var(--au-danger); }
.au-err[hidden] { display: none; }
.au-err .au-ic { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
.au-caps { display: none; margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--au-warn); }
.au-field.is-caps .au-caps { display: block; }

/* siła hasła */
.au-meter { display: none; margin-top: 8px; }
.au-field.is-typing .au-meter { display: flex; align-items: center; gap: 12px; }
.au-meter-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.au-meter-bars i { height: 5px; border-radius: 3px; background: var(--au-line); transition: background-color .2s ease; }
.au-meter[data-score="1"] i:nth-child(-n+1) { background: #D9453B; }
.au-meter[data-score="2"] i:nth-child(-n+2) { background: #E39A1F; }
.au-meter[data-score="3"] i:nth-child(-n+3) { background: #2E9E6B; }
.au-meter[data-score="4"] i:nth-child(-n+4) { background: #0E7C74; }
html[data-theme="dark"] .au-meter[data-score="4"] i:nth-child(-n+4) { background: #3CCFBF; }
html[data-theme="dark"] .au-meter[data-score="3"] i:nth-child(-n+3) { background: #4FC58C; }
.au-meter-label { margin: 0; font-size: .85rem; color: var(--au-ink-2); white-space: nowrap; }
.au-meter-label b { font-weight: 700; }

/* pole wyboru: zgoda */
.au-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; cursor: pointer; font-size: .92rem; line-height: 1.5; color: var(--au-ink-2); }
.au-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--au-brand); cursor: pointer; }
.au-check a { font-weight: 600; }
.au-field.has-error > .au-check { color: var(--au-ink); }
.au-check.is-locked { cursor: default; }
.au-check--plain { font-size: 1rem; font-weight: 600; color: var(--au-ink); }
.au-check.is-locked input { opacity: .6; cursor: not-allowed; }

/* wybór jednego z dwóch (tak / nie) */
.au-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-seg label { position: relative; cursor: pointer; }
.au-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.au-seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px;
  border: 1.5px solid var(--au-field); border-radius: var(--au-radius); font-weight: 600; background: var(--au-surface); color: var(--au-ink);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.au-seg label:hover span { border-color: var(--au-field-hover); }
.au-seg input:checked + span { border-color: var(--au-brand); background: var(--au-info-bg); box-shadow: inset 0 0 0 1px var(--au-brand); color: var(--au-ink); }
.au-seg input:focus-visible + span { outline: 3px solid var(--au-ring); outline-offset: 2px; }
.au-field.has-error .au-seg span { border-color: var(--au-danger); }

/* ---------- przyciski ---------- */
.au-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 22px; margin: 0;
  font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.au-btn--primary {
  color: #fff !important; background: linear-gradient(135deg, var(--au-cta-a), var(--au-cta-b));
  box-shadow: 0 14px 26px -16px rgba(212, 62, 42, .8);
}
.au-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -16px rgba(212, 62, 42, .85); }
.au-btn--primary:active { transform: none; }
.au-btn--ghost { color: var(--au-brand) !important; background: transparent; border-color: var(--au-field); }
.au-btn--ghost:hover { border-color: var(--au-brand); background: var(--au-info-bg); }
.au-btn[disabled], .au-btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.au-btn.is-busy { opacity: .75; pointer-events: none; }
.au-btn.is-busy::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: au-spin .7s linear infinite;
}
.au-btn--ghost.is-busy::after { border-color: var(--au-line); border-top-color: var(--au-brand); }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-btn + .au-btn { margin-top: 10px; }
.au-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }
.au-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--au-ink-3); font-size: .85rem; }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: var(--au-line); }
.au-switch { margin: 22px 0 0; text-align: center; color: var(--au-ink-2); font-size: .95rem; }
.au-switch a { font-weight: 700; text-decoration: none; }
.au-switch a:hover { text-decoration: underline; }
.au-stack { display: grid; gap: 10px; }

/* ---------- ekrany z komunikatem (sprawdź skrzynkę, gotowe, błąd) ---------- */
.au-status { text-align: center; }
.au-status .au-h1 { margin-top: 18px; }
.au-badge {
  position: relative; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--au-info-bg); color: var(--au-brand); box-shadow: 0 0 0 8px var(--au-soft);
}
.au-badge .au-ic { width: 34px; height: 34px; }
.au-badge--ok { background: var(--au-ok-bg); color: var(--au-ok); box-shadow: 0 0 0 8px var(--au-ok-bg); }
.au-badge--bad { background: var(--au-danger-bg); color: var(--au-danger); box-shadow: 0 0 0 8px var(--au-danger-bg); }
.au-badge--warn { background: var(--au-warn-bg); color: var(--au-warn); box-shadow: 0 0 0 8px var(--au-warn-bg); }
.au-badge-dot { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--au-ok); color: #fff; display: flex; align-items: center; justify-content: center; border: 3px solid var(--au-surface); }
.au-badge-dot .au-ic { width: 14px; height: 14px; }
.au-status .au-lead { margin-bottom: 20px; }
.au-tips { text-align: left; margin: 0 0 22px; padding: 14px 16px; border-radius: var(--au-radius); background: var(--au-soft); border: 1px solid var(--au-line); font-size: .92rem; color: var(--au-ink-2); }
.au-tips b { display: block; margin-bottom: 6px; color: var(--au-ink); }
.au-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.au-small { margin: 18px 0 0; font-size: .9rem; color: var(--au-ink-2); }

/* ---------- diagnostyka logowania (?diag) ---------- */
.au-diag { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--au-line); border-radius: var(--au-radius); font-size: .82rem; background: var(--au-soft); }
.au-diag > strong { display: block; font-size: .9rem; margin-bottom: 8px; }
.au-diag-line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--au-ink-2); }
.au-diag-line b { color: var(--au-ink); text-align: right; word-break: break-word; }
.au-diag-line.bad b { color: var(--au-danger); }
.au-diag-sep { height: 1px; background: var(--au-line); margin: 8px 0; }
.au-diag-note { margin: 8px 0 0; font-size: .75rem; color: var(--au-ink-3); line-height: 1.5; }

/* ---------- ikony ---------- */
.au-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  body.auth * { transition: none !important; animation-duration: .001ms !important; }
}
@media (max-width: 380px) {
  .au-main { padding-left: 16px; padding-right: 16px; }
  .au-h1 { font-size: 1.55rem; }
}

/* ---------- rejestracja na komputerze: cały formularz na jednym ekranie ----------
   Pola parami (e-mail | telefon, hasło | pełnoletność), szersza kolumna i ciaśniejsze odstępy.
   Na telefonie i tablecie nic się nie zmienia - tam pola stoją jedno pod drugim. */
.au-field-row--wide2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  body.au-wide .au-top, body.au-wide .au-card, body.au-wide .au-legal { max-width: 580px; }
  body.au-wide .au-main { padding-top: 20px; padding-bottom: 14px; }
  body.au-wide .au-card { padding: 10px 0 6px; }
  body.au-wide .au-h1 { font-size: 1.85rem; margin-bottom: 6px; }
  body.au-wide .au-lead { margin-bottom: 16px; }
  body.au-wide .au-field { margin-bottom: 12px; }
  body.au-wide .au-field-row--wide2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.au-wide .au-input, body.au-wide .au-seg span { height: 44px; }
  body.au-wide .au-pw .au-input { padding-right: 46px; }
  body.au-wide .au-pw-toggle { width: 44px; height: 44px; }
  body.au-wide .au-check { margin-bottom: 12px; }
  body.au-wide .au-btn { min-height: 48px; }
  body.au-wide .au-switch { margin-top: 12px; }
  body.au-wide .au-legal { padding-top: 4px; }
}
@media (min-width: 980px) and (max-height: 780px) {
  body.au-wide .au-main { padding-top: 12px; padding-bottom: 8px; }
  body.au-wide .au-lead { display: none; }
  body.au-wide .au-field { margin-bottom: 8px; }
  body.au-wide .au-hint { margin-top: 4px; font-size: .8rem; }
}
@media (min-width: 980px) and (max-height: 700px) {
  /* małe laptopy (ok. 650 px wysokości okna przeglądarki): odnośniki prawne są i tak przy zgodzie w formularzu */
  body.au-wide .au-legal { display: none; }
  body.au-wide .au-h1 { font-size: 1.6rem; }
  body.au-wide .au-switch { margin-top: 8px; }
}
@media (min-width: 980px) and (max-height: 760px) {
  /* panel marki nie może być wyższy niż okno: bez ilustracji biletu i z mniejszymi odstępami */
  .au-aside { padding-top: 28px; padding-bottom: 28px; gap: 20px; }
  .au-aside-art { display: none; }
}
@media (min-width: 980px) and (max-height: 780px) {
  /* logowanie i reset na niskim oknie komputera: ciaśniejsze odstępy zamiast przewijania */
  body.auth .au-main { padding-top: 12px; padding-bottom: 8px; }
  body.auth .au-card { padding-top: 6px; padding-bottom: 4px; }
  body.auth .au-lead { margin-bottom: 14px; }
  body.auth .au-field { margin-bottom: 12px; }
  body.auth .au-input, body.auth .au-seg span { height: 44px; }
  body.auth .au-pw .au-input { padding-right: 46px; }
  body.auth .au-pw-toggle { width: 44px; height: 44px; }
  body.auth .au-btn { min-height: 48px; }
  body.auth .au-or { margin: 14px 0 10px; }
  body.auth .au-small { margin-top: 10px; }
}
@media (min-width: 980px) and (max-height: 640px) {
  body.auth .au-legal { display: none; }
}
