@font-face { font-family: "Inter"; src: url("/assets/Inter-Regular-4.1-pl.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/Inter-Bold-4.1-pl.ttf") format("truetype"); font-weight: 600 700; font-style: normal; font-display: swap; }
:root {
  /* System wizualny LabLogic; jeden motyw jasny. Czcionka Inter z własnego serwera (SIL OFL 1.1, assets/OFL.txt). */
  --navy: #0B2440;
  --blue: #074B88;
  --blue-2: #1B6FB8;
  --text: #25384C;
  --muted: #4A5A6A;
  --panel: #EAF2FC;
  --soft: #F6F8FB;
  --line: #DCE5F0;
  --risk: #B3261E;
  --warn: #8A5A00;
  --ok: #136B4E;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--soft); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.app { max-width: 480px; margin: 0 auto; min-height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line); }
header.top { background: var(--navy); color: #fff; padding: 14px 20px 18px; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--panel); }
.brand .logo svg { display: block; height: 24px; width: auto; }
.brand a.logo { display: inline-flex; border-radius: 4px; }
.brand a.logo:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
header.top h1 { margin: 10px 0 0; font-size: 22px; line-height: 1.25; font-weight: 700; text-wrap: balance; }
.progress { display: flex; gap: 6px; margin-top: 14px; }
.progress span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.progress span.on { background: #fff; }
main { flex: 1; padding: 20px 20px 120px; display: flex; flex-direction: column; gap: 16px; }
h2 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--navy); text-wrap: balance; }
.lead { margin: 0; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
button, .btn { font: inherit; cursor: pointer; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; width: 100%; }
.btn:hover { background: var(--navy); }
.btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn.ghost:hover { background: var(--panel); }
.btn.big { min-height: 68px; font-size: 20px; }
.btn .arr { font-size: 1.15em; line-height: 1; }
@media (prefers-reduced-motion: no-preference) { .btn .arr { transition: transform .15s; } .btn:hover .arr { transform: translateX(3px); } }
.btn:focus-visible, .tile:focus-visible, .opt:focus-visible, input:focus-visible, textarea:focus-visible, .linkish:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.note { font-size: 14px; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.note b { color: var(--text); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* F27: kolumny mogą się zwęzić poniżej szerokości najdłuższego słowa */
.tile { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; min-height: 92px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.tile:hover { border-color: var(--blue); }
.tile[aria-pressed="true"] { border-color: var(--blue); background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--blue); }
.tile svg { width: 26px; height: 26px; stroke: var(--blue); }
.tile { min-width: 0; }
.tile strong { font-size: 15px; line-height: 1.3; color: var(--navy); min-width: 0; max-width: 100%; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tile.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ok); flex: none; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > .q { font-weight: 600; color: var(--navy); font-size: 16px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: -4px; }
.field .zestaw { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: -4px; }   /* 1.25 (C3): czyje dane — przy obu rolach */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px; min-height: 44px; font-size: 15px; text-align: left; line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; }
.opts.gesto { gap: 4px; }
.opts.gesto .opt { padding-top: 5px; padding-bottom: 5px; }   /* 1.18: pytanie o CSIRT ma 7 odpowiedzi */
.form-info { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.form-info p { margin: 4px 0; }
details.privacy ol { margin: 6px 0 0 18px; padding: 0; font-size: 13px; }
details.privacy li { margin: 4px 0; }
.opt:hover { border-color: var(--blue); }
.opt[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
input[type="datetime-local"], input[type="text"], input[type="tel"], textarea { font: inherit; padding: 12px; border-radius: 10px; border: 1.5px solid var(--line); color: var(--text); width: 100%; background: #fff; }
.clock { border-radius: 14px; padding: 14px 16px; border: 1.5px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.clock .t { font-size: 15px; font-weight: 600; color: var(--navy); }
.clock .left { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 22px; color: var(--blue); }
.clock .left small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.clock .due { grid-column: 1; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.clock.hot { border-color: var(--risk); }
.clock.hot .left { color: var(--risk); }
.clock.idle .left { color: var(--muted); font-size: 15px; }
.duty { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.duty .head { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px 6px; }
.badge { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--panel); color: var(--blue); margin-top: 2px; }
.badge.ksc { background: #E8EEF5; color: var(--navy); }
.badge.dora { background: #F5EFE3; color: var(--warn); }
.duty h3 { margin: 0; font-size: 16px; line-height: 1.35; color: var(--navy); }
.duty p { margin: 0; padding: 0 16px 12px; font-size: 14px; color: var(--text); }
.duty .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; background: var(--soft); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.duty .meta .deadline { font-weight: 700; color: var(--risk); font-variant-numeric: tabular-nums; }
.duty .meta .deadline.calm { color: var(--text); }
.duty.must { border-left: 4px solid var(--risk); }
.duty.maybe { border-left: 4px solid var(--warn); }
.duty.fine { border-left: 4px solid var(--ok); }
.verdict { border-radius: 14px; padding: 16px; background: var(--panel); }
.verdict strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.card-text { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; max-height: 320px; overflow: auto; color: var(--text); }
.linkish { background: none; border: 0; color: var(--blue); text-decoration: underline; padding: 6px 0; font-size: 15px; text-align: left; }
.helpbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.helpbar .inner { max-width: 448px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.helpbar .btn { background: var(--risk); min-height: 50px; font-size: 16px; }
.helpbar .btn:hover { background: #8E1E18; }
.helpbar .small { flex: none; font-size: 12px; color: var(--muted); line-height: 1.3; width: 112px; }
.sheet-back { position: fixed; inset: 0; background: rgba(11,36,64,.45); display: none; align-items: flex-end; justify-content: center; z-index: 10; }
.sheet-back.open { display: flex; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; max-height: 92%; overflow: auto; }
.sheet h2 { font-size: 19px; }
.phone { font-size: 22px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; display: none; z-index: 20; max-width: 90%; }
.toast.show { display: block; }
footer.fine-print { font-size: 12px; color: var(--muted); padding-top: 6px; }
.sep { height: 1px; background: var(--line); margin: 4px 0; }
@media (prefers-reduced-motion: no-preference) { .btn, .opt, .tile { transition: background .15s, border-color .15s; } }

/* Etap 2a: klasy zamiast atrybutów style="" (CSP bez 'unsafe-inline') */
.inline-check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.inline-check input { width: 20px; height: 20px; }
.mt8 { margin-top: 8px; }
.card-check { display: block; }
.card-check > span { display: flex; gap: 10px; align-items: flex-start; }
.card-check > span > span { text-decoration: none; color: var(--text); }
.checklist .card-check input:checked + span { color: var(--text); text-decoration: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
details.privacy { font-size: 13px; color: var(--muted); }
details.privacy summary { cursor: pointer; color: var(--blue); font-size: 14px; padding: 4px 0; }
details.privacy p { margin: 6px 0 0; }
.helpbar .phone-link { flex: none; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.helpbar .phone-link small { display: block; font-weight: 400; font-size: 12px; line-height: 1.25; color: var(--muted); }   /* F36: godziny przy pilnym kontakcie */
.helpbar .phone-link small { white-space: normal; max-width: 9.5em; }                                          /* 1.22: „working days 8–16 Polish time” w dwóch wierszach zamiast ściskania przycisku */
.helpbar .phone-link { line-height: 1.2; }
.form-msg { border-radius: 12px; padding: 14px; font-size: 15px; }
.form-msg.ok { background: #E7F4EE; color: var(--ok); }
.form-msg.err { background: #FBEDEC; color: var(--risk); }
.form-msg .phone { display: block; margin-top: 6px; }
.field-err { color: var(--risk); font-size: 13px; margin: -4px 0 0; }
.field-err.przy-polu { margin: 6px 0 0; }                           /* D1 (1.20): komunikat walidacji ankiety przy polu, do poprawienia odpowiedzi */
.btn[disabled] { opacity: .6; cursor: progress; }
.testbar { background: var(--warn); color: #fff; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 6px; }
.hidden { display: none !important; }

/* 1.1: grupy wyniku, podstawy prawne, uzasadnienie, usługi */
h2.group { margin: 22px 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.duty .meta .basis a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
details.law { border-top: 1px solid var(--line); padding: 8px 16px 10px; font-size: 13px; color: var(--muted); background: #fff; }
details.law summary, details.why summary { cursor: pointer; font-weight: 700; color: var(--blue); }
details.law p { margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--text); }
details.why { margin: 16px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
details.why ul { margin: 10px 0 0; padding-left: 18px; } details.why li { margin: 6px 0; }
.services { display: grid; gap: 10px; margin: 10px 0 18px; }
@media (min-width: 560px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: block; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 12px; background: var(--soft); text-decoration: none; color: var(--text); }
.service strong { display: block; color: var(--navy); margin-bottom: 4px; } .service span { font-size: 14px; }

/* Jedno pytanie na ekran: ciaśniejszy układ i niższy pasek pomocy na ekranach pytań */
body.pytania main { padding: 16px 20px 84px; gap: 12px; }
body.pytania header.top { padding: 10px 20px 12px; }
body.pytania header.top h1 { font-size: 18px; margin-top: 6px; }
body.pytania .helpbar { padding: 6px 16px calc(6px + env(safe-area-inset-bottom)); }
body.pytania .helpbar .btn { min-height: 40px; font-size: 15px; padding: 8px 14px; }
details.wiecej { font-size: 13px; color: var(--muted); }
details.wiecej summary { cursor: pointer; color: var(--blue); padding: 6px 0; }
details.wiecej dt { font-weight: 600; color: var(--text); margin-top: 6px; }
details.wiecej dd { margin: 0; }
body.pytania .field > .q { font-size: 17px; line-height: 1.3; }
body.pytania .tiles { gap: 8px; }
body.pytania .tile { min-height: 0; padding: 10px 12px; flex-direction: row; align-items: center; gap: 10px; }
body.pytania .tile svg { width: 22px; height: 22px; flex: none; }
body.pytania .tile strong { font-size: 14px; }
body.pytania .lead { margin: 0; }
details.wiecej p { margin: 4px 0; }
body.pytania .clock { padding: 9px 14px; }
body.pytania #clocks { gap: 6px; }

/* Duży ekran: szeroka karta, dwa albo trzy pytania obok siebie, bez przewijania */
@media (min-width: 900px) {
  .app { max-width: 1160px; }
  header.top, body.pytania header.top { padding-left: 40px; padding-right: 40px; }
  body:not(.pytania) main { max-width: 760px; width: 100%; margin: 0 auto; box-sizing: border-box; }
  body.pytania main { padding: 20px 40px 76px; gap: 14px; }
  body.pytania header.top h1 { font-size: 20px; }
  .siatka { display: grid; gap: 16px 36px; align-items: start; }
  .siatka.k2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .siatka.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .siatka .kol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .siatka > .kol:only-child { grid-column: 1 / -1; max-width: 680px; }   /* 1.18: samotne pytanie na ekranie (np. CSIRT, 7 odpowiedzi) zajmuje szerszą kolumnę, żeby mieściło się bez przewijania */
  body.pytania .tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  body.pytania .tile { padding: 16px; }
  body.pytania .tile.wide { grid-column: auto; }
  body.pytania .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  body.pytania .checklist label { padding: 8px 12px; }
  body.pytania main > .row { max-width: 440px; width: 100%; margin-left: auto; }
  .helpbar .inner { max-width: 1080px; justify-content: flex-end; }
  .helpbar .btn { width: auto; padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1100px) { body.pytania .checklist { grid-template-columns: 1fr 1fr 1fr; } body.pytania .checklist label { font-size: 14px; line-height: 1.35; } }
.lead.small { font-size: 14px; }

/* 1.16: przegląd z 12.11.2026 — werdykt z najbliższym terminem, pasek przykładu, ostrzeżenie o terminie RODO, „Dalej” nieaktywny do wyboru */
.btn.czeka[disabled] { opacity: .45; cursor: not-allowed; }
.verdict .next { display: block; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.note.warn { background: #FBF3E6; border-color: #E9D3A8; color: var(--text); }
.note.warn .linkish { display: block; padding: 4px 0 0; font-size: 14px; }
.przyklad { display: flex; flex-direction: column; gap: 8px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.przyklad p { margin: 0; }
.przyklad b { color: #fff; }
.btn.small { min-height: 40px; font-size: 15px; padding: 8px 14px; background: #fff; color: var(--navy); }
.btn.small:hover { background: var(--panel); }
.clock .t small.jesli { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }
p.fine-print { font-size: 12.5px; color: var(--muted); margin: 0; }
/* Niski ekran telefonu (360×640 z paskami przeglądarki): ciaśniej, żeby pytanie i „Dalej” mieściły się bez przewijania */
@media (max-width: 380px) and (max-height: 700px) {
  body.pytania header.top { padding: 8px 16px 10px; }
  body.pytania header.top h1 { font-size: 17px; margin-top: 4px; }
  body.pytania .progress { margin-top: 8px; }
  body.pytania main { padding: 12px 16px 76px; gap: 10px; }
  body.pytania .field > .q { font-size: 16px; }
  body.pytania .opt { padding: 8px 12px; min-height: 40px; font-size: 14.5px; }
  body.pytania .opts { gap: 6px; }
  body.pytania .tile { padding: 8px 10px; }
  body.pytania .tile strong { font-size: 13.5px; }
  body.pytania .clock { padding: 7px 12px; }
  body.pytania .clock .left { font-size: 19px; }
  body.pytania .btn { min-height: 46px; }
  body.pytania .helpbar .btn { min-height: 38px; }
}
@media (min-width: 900px) { body.pytania .clock { padding: 6px 12px; gap: 0 10px; } body.pytania .clock .left { font-size: 19px; } body.pytania .clock .due { font-size: 12.5px; } body.pytania #clocks { gap: 5px; } }

/* F27 (audyt 12.11.2026): najwęższe ekrany (320 px i węższe, także z paskiem przewijania) — mniejsze marginesy wewnętrzne, bez ukrywania przepełnienia */
@media (max-width: 340px) { main { padding-left: 16px; padding-right: 16px; } header.top { padding-left: 16px; padding-right: 16px; } .tiles { gap: 8px; } .tile { padding: 10px; } .tile strong { font-size: 13.5px; } .helpbar { padding-left: 12px; padding-right: 12px; } .helpbar .inner { gap: 8px; } }

/* 1.19 — F34, od 1.23: w nagłówku „Prywatność” i pastylka języka; „Regulamin” na ekranie startowym i końcowym; okno z treścią */
.brand-r { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.zasady { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.zlink { background: none; border: 0; padding: 2px 0; min-height: 24px; color: var(--panel); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }   /* D3 (1.20): WCAG 2.5.8 — min. 24 px */
.zlink:hover { color: #fff; }
/* 1.23: przełącznik języka — pastylka „Polski | English” (słowa, bez flag); bieżący język zaznaczony, drugi to odnośnik */
.jezyki { display: inline-flex;   /* ujemny margines: pastylka zajmuje w układzie 24 px jak dawne odnośniki — ekrany ankiety bez zmian wysokości (E.66) */ align-items: center; flex: none; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 0; gap: 0; margin: -1px 0; font-size: 12px; line-height: 1; white-space: nowrap; }
.jezyki:empty { display: none; }
.jezyki .jz { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-weight: 600; color: var(--panel); text-decoration: none; }   /* WCAG 2.5.8 — min. 24 px */
.jezyki .jz-akt { background: #fff; color: var(--navy); }
.jezyki a.jz:hover { color: #fff; background: rgba(255,255,255,.14); }
.jezyki a.jz:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.jezyki .jl-krotka { display: none; }
#zPrywatnosc { flex: none; }
@media (max-width: 599px) {                                                                                          /* telefon: „PL | EN” (polecenie właściciela 14.11.2026; pełna nazwa w aria-label odnośnika, przy bieżącym — tekst tylko dla czytnika) */
  .jezyki .jz { padding: 0 9px; } .jezyki .jl-krotka { display: inline; } .zasady { gap: 10px; }
  .jezyki a.jz .jl-pelna { display: none; }
  .jezyki .jz-akt .jl-pelna { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.zasady-dol { padding: 4px 0; font-size: inherit; margin-top: 4px; }
html { scroll-padding-bottom: 96px; }                                                                            /* fokus i przewijanie do elementu nie chowają go pod paskiem pomocy (WCAG 2.4.11) */
html.uwaga-tel { scroll-padding-bottom: 150px; }
.zacheta-jezyka { margin: 0; font-size: 14px; }
.zacheta-jezyka a { color: var(--navy); font-weight: 600; }
.law .nieurz, .plan-cytat .nieurz { color: var(--muted); font-size: .92em; }                                     /* D3: tłumaczenie nieurzędowe */
.law .oryginal { margin-top: -6px; color: var(--muted); font-size: .92em; }
.law .oryginal span, .plan-cytat .oryginal { color: var(--muted); }
.bar-uwaga { max-width: 448px; margin: 0 auto 6px; font-size: 12.5px; line-height: 1.3; color: var(--risk); font-weight: 600; }   /* P11 */
body.uwaga-tel main { padding-bottom: 150px; }
.zlink:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.zasady-okno { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 48px); border: 0; border-radius: 14px; padding: 18px 20px; color: var(--text); font-size: 14px; line-height: 1.5; }
.zasady-okno::backdrop { background: rgba(11,36,64,.45); }
.zasady-okno h2 { font-size: 19px; margin: 0 0 8px; color: var(--navy); }
.zasady-okno h3 { font-size: 15px; margin: 14px 0 6px; color: var(--navy); }
.zasady-okno h3:focus { outline: none; }
.zasady-okno ol { padding-left: 20px; margin: 0; }
.zasady-okno li { margin: 0 0 6px; }
.zasady-okno .row { position: sticky; bottom: -18px; background: #fff; padding: 10px 0 2px; margin-top: 10px; flex-wrap: wrap; }

/* F16: zapowiedź samoczynnego przejścia */
.zapowiedz { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
h2.hp:focus { outline: none; }

/* F26: plan jako strona */
.plan-pasek { flex-wrap: wrap; }
.plan-pasek .btn { flex: 1 1 140px; width: auto; min-width: 0; }
.plan-html { display: flex; flex-direction: column; gap: 14px; }
.plan-czesc { display: flex; flex-direction: column; gap: 12px; }
.plan-czesc + .plan-czesc { border-top: 3px solid var(--blue); padding-top: 14px; margin-top: 10px; }
.plan-html h2.plan-tytul { margin: 0; font-size: 24px; line-height: 1.2; color: var(--navy); }
.plan-html h3 { margin: 6px 0 8px; font-size: 18px; color: var(--blue); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.plan-html h4 { margin: 0 0 4px; font-size: 15px; color: var(--navy); line-height: 1.35; }
.plan-html p { margin: 0; }
.plan-html .eyebrow { margin: 0; }
.plan-opis { font-size: 14.5px; color: var(--muted); }
.plan-sekcja { display: flex; flex-direction: column; gap: 8px; }
.plan-panel { background: var(--panel); border-left: 5px solid var(--blue); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.plan-panel.ryzyko { background: #FBEDEC; border-left-color: var(--risk); }
.plan-panel strong { font-size: 17px; color: var(--navy); line-height: 1.3; }
.plan-panel.ryzyko strong, .plan-panel.ryzyko strong a { color: var(--risk); }
.plan-panel p { font-size: 14px; }
.plan-etyk { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.plan-panel.ryzyko .plan-etyk { color: var(--risk); }
.plan-tabela { overflow-x: auto; }
.plan-html table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.plan-html thead th { background: var(--blue); color: #fff; text-align: left; padding: 6px 8px; font-weight: 700; }
.plan-html td, .plan-html tbody th { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.plan-html tbody tr:nth-child(even) { background: var(--soft); }
.plan-kv tbody th { width: 42%; color: var(--muted); font-weight: 700; }
.plan-pola td { min-width: 40%; height: 2.2em; }
.plan-znacznik { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.5; padding: 0 6px; border-radius: 3px; background: var(--panel); color: var(--blue); white-space: nowrap; }
.plan-znacznik.ryz { background: #FBEDEC; color: var(--risk); }
.plan-maly { font-size: 12.5px; color: var(--muted); }
.plan-warunek { font-size: 12.5px; color: #8A5A00; }                 /* B8 (1.20): warunek przy działaniu w krótkim planie */
.plan-pomoc, .plan-lista, .plan-kratki { margin: 0; padding-left: 22px; font-size: 14.5px; display: flex; flex-direction: column; gap: 4px; }
.plan-pomoc { list-style: "☐  "; }
.plan-pomoc li.ok { list-style: "☑  "; color: var(--muted); }
.plan-kratki { list-style: "☐  "; }
.plan-ok { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-grupa { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px !important; }
.plan-poz { border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.plan-poz.must { border-left-color: var(--risk); }
.plan-poz.maybe { border-left-color: var(--warn); }
.plan-poz.fine { border-left-color: var(--ok); }
.plan-kiedy { font-size: 13px; font-weight: 700; color: var(--navy); }
.plan-poz.must .plan-kiedy { color: var(--risk); }
.plan-zgl { margin-top: 6px !important; }
.plan-cytat { font-size: 13.5px; }
.plan-kontakt { background: var(--navy); color: #C9D8EA; border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.plan-kontakt strong { font-size: 22px; }
.plan-kontakt a { color: #fff; }
.plan-stopka p + p { margin-top: 4px; }
@media print {
  .helpbar, .progress, .plan-pasek, .toast, header.top .zasady { display: none !important; }
  body, .app { background: #fff; box-shadow: none; }
  main { padding: 0 !important; }
  .plan-poz, .plan-panel, .plan-kontakt, tr { break-inside: avoid; }
  .plan-czesc + .plan-czesc { break-before: page; border-top: 0; }
  thead { display: table-header-group; }
}
.zasady-okno .btn { min-height: 44px; font-size: 15px; padding: 8px 14px; flex: 1 1 auto; }
p.fine-print .linkish { font-size: inherit; padding: 0; line-height: inherit; }

/* kontrola 1.19, B3: długie adresy aktów łamią się na telefonie */
.plan-html a, .plan-html td, .plan-html th, .plan-html .plan-maly, .plan-html .plan-warunek, .plan-html li { overflow-wrap: anywhere; }
/* uwaga właściciela 6 (13.11.2026): pierwsza pomoc — równe pola, wyraźny obrys, numer czynności (kolejność czytania przy 2–3 kolumnach) */
ul.checklist { counter-reset: czynnosc; }
ul.checklist > li { counter-increment: czynnosc; display: flex; }
ul.checklist > li > label { flex: 1; border: 1.5px solid #B8C7D9; }
ul.checklist > li > label::before { content: counter(czynnosc) "."; flex: none; min-width: 1.4em; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
body.pytania ul.checklist { gap: 8px; align-items: stretch; }
