/* test7.css — Test 7 Decyzji. Kolory marki z assets/style.css (grafit, pomarańcz, krem). Mobile-first, widok do druku A4. */
.t7 { padding-top: 32px; padding-bottom: 48px; }
.t7-ekran { max-width: 760px; }
.t7-ekran:focus, .t7 [tabindex="-1"]:focus { outline: none; }
.t7 h1 { overflow-wrap: anywhere; }
.t7-h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; margin: 8px 0 20px; }
.t7-lead { max-width: 46ch; }
.t7-h2-maly { font-size: 20px; margin: 32px 0 12px; }
.t7-fakty { padding: 0 0 0 20px; margin: 0 0 24px; display: grid; gap: 8px; font-size: 17px; }
.t7-akcent { background: var(--w); border-left: 6px solid var(--o); padding: 12px 16px; border-radius: 8px; font-size: 17px; }
.t7-obszary { padding-left: 24px; display: grid; gap: 6px; font-size: 17px; margin: 0; }
.t7-akcent-li strong { background: var(--o); color: var(--w); padding: 0 6px; border-radius: 4px; }

/* przyciski */
.btn:focus-visible, .opt:has(input:focus-visible), .check:has(input:focus-visible), .linkbtn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-jasny { background: var(--w); color: var(--g); border: 2px solid var(--g); }
.btn-jasny:hover { background: var(--c); }
.btn-pomarancz { background: var(--o); color: var(--w); }
.btn-pomarancz:hover { background: #c9411f; }
.btn[disabled] { opacity: .6; cursor: wait; }
.t7-nawigacja { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap-reverse; margin-top: 24px; }
.t7-nawigacja .btn { padding: 14px 22px; font-size: 18px; }
select { width: 100%; font: inherit; color: var(--g); background: var(--c); border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; }

/* kontekst i kroki */
.t7 .opt { min-height: 48px; align-items: center; }
.t7 .opt input { margin-top: 0; flex: none; width: 20px; height: 20px; }
.t7-postep-tekst { font-weight: 700; font-size: 15px; color: var(--muted); margin: 0 0 8px; letter-spacing: .02em; }
.t7-postep { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.t7-postep span { display: block; height: 100%; background: var(--o); transition: width .25s ease; }
.t7-obszar { font-weight: 700; margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.t7-obszar #t7-nr { background: var(--g); color: var(--c); border-radius: 6px; padding: 2px 8px; font-size: 15px; }
.t7-wyroznione { background: var(--o); color: var(--w); font-size: 13px; padding: 2px 8px; border-radius: 6px; }
#t7-statusy legend { font-weight: 400; font-size: 19px; margin-bottom: 16px; line-height: 1.45; }
.t7-status { padding: 14px 16px; font-size: 17px; }
.t7-status strong { display: inline-block; min-width: 7.5em; }
.t7-status.t7-s-known:has(input:checked) { border-color: #2F6B45; background: #EAF3EC; }
.t7-status.t7-s-assumed:has(input:checked) { border-color: #9A6A00; background: #FBF2DC; }
.t7-status.t7-s-unknown:has(input:checked) { border-color: var(--o); background: #FCE9E3; }
.t7-zrodla { background: var(--w); border: 2px solid var(--line); border-radius: 12px; padding: 16px; }
.t7-zrodla legend { padding: 0 4px; }
.t7-zrodla .small { margin: 0 0 12px; }
.t7-zrodla .check { min-height: 32px; }
.t7-na-zakladamy { color: var(--g); font-weight: 700; margin-top: 8px; }
.t7-boczne { display: none; }

/* wynik */
.t7-druk-naglowek { display: none; }
.t7-liczniki { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 8px; }
.t7-licznik { background: var(--w); border: 2px solid var(--line); border-top-width: 6px; border-radius: 12px; padding: 12px 8px; text-align: center; }
.t7-licznik-etykieta { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.t7-licznik-liczba { display: block; font-size: 36px; font-weight: 700; line-height: 1.1; }
.t7-s-known.t7-licznik { border-top-color: #2F6B45; }
.t7-s-assumed.t7-licznik { border-top-color: #C89211; }
.t7-s-unknown.t7-licznik { border-top-color: var(--o); }
.t7-decyzja p { margin: 0; }
.t7-mapa { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.t7-mapa li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--w); border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.t7-mapa-nazwa { min-width: 0; overflow-wrap: anywhere; }
.t7-mapa li.t7-s-known { border-left-color: #2F6B45; }
.t7-mapa li.t7-s-assumed { border-left-color: #C89211; }
.t7-mapa li.t7-s-unknown { border-left-color: var(--o); }
.t7-znacznik { font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.t7-rekomendacja { margin: 24px 0 0; font-size: 19px; }
.t7-rekomendacja p { margin: 0 0 6px; }
.t7-horyzont { font-weight: 700; }
.t7-priorytety { display: grid; gap: 14px; }
.t7-priorytet { background: var(--w); border: 2px solid var(--line); border-radius: 14px; padding: 18px; }
.t7-priorytet h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; display: flex; gap: 10px; align-items: baseline; }
.t7-priorytet-nr { flex: none; background: var(--o); color: var(--w); width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; }
.t7-priorytet .t7-znacznik { margin: 0 0 8px; color: var(--muted); }
.t7-priorytet h4 { margin: 12px 0 2px; font-size: 15px; letter-spacing: .02em; }
.t7-priorytet p { margin: 0; font-size: 17px; }
.t7-ograniczenie { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; }
.t7-cta { background: var(--g); color: var(--c); border-radius: 18px; padding: 24px 20px; margin-top: 24px; }
.t7-cta h2 { color: var(--c); font-size: clamp(22px, 3vw, 28px); margin: 0 0 8px; }
.t7-cta p { margin: 0 0 16px; }
.t7-cta-przyciski { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.t7-cta .linkbtn { color: var(--c); }
.t7-formularz { margin-top: 24px; padding: 24px 20px; }
.t7-formularz h2 { font-size: 26px; margin: 0 0 8px; }
.t7-wyslane-tytul { font-weight: 700; font-size: 20px; }

@media (max-width: 520px) {
  .t7-nawigacja .btn, .t7-cta-przyciski .btn { width: 100%; text-align: center; }
  .t7-status strong { display: block; }
  .t7-mapa li { flex-wrap: wrap; }
}
@media (min-width: 960px) {
  #ekran-krok { max-width: none; }
  .t7-krok-uklad { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 40px; align-items: start; }
  .t7-boczne { display: block; position: sticky; top: 24px; background: var(--w); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 15px; }
  .t7-boczne-tytul { font-weight: 700; margin: 0 0 8px; overflow-wrap: anywhere; }
  .t7-boczne ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
  .t7-boczne li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 6px; }
  .t7-boczne li.t7-teraz { background: var(--c); font-weight: 700; }
  .t7-boczne-status { font-size: 12px; font-weight: 700; color: var(--muted); }
}

/* druk: tylko wynik, A4 */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; font-size: 12pt; }
  header.top, footer, .t7-cta, .t7-formularz, .cookie, #sj-cookie, [class*="cookie"] { display: none !important; }
  .t7 { padding: 0; max-width: none; }
  .t7-ekran { max-width: none; }
  .t7-druk-naglowek { display: block; font-size: 10pt; color: #555; margin: 0 0 4mm; }
  .t7-h1 { font-size: 22pt; margin: 0 0 4mm; }
  .t7-licznik, .t7-mapa li, .t7-priorytet { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .t7-licznik-liczba { font-size: 22pt; }
  .t7-mapa li { padding: 2mm 3mm; }
  .t7-h2-maly { margin: 5mm 0 2mm; font-size: 13pt; }
  .t7-priorytet { padding: 3mm 4mm; }
}
