/* Z203 (F2) — arkusz A4 okręgu do druku (makieta F: druk-okreg). Style z makiety 1:1 + układ w dwóch kolumnach dla dużych okręgów. */
body { background: var(--paper-2); }
.pasek-d { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 0 22px; }
.pasek-d .wstecz { font: 600 16px var(--f-t); color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.pasek-d h1 { font: 400 30px/1.1 var(--f-d); margin: 0; flex: 1; min-width: 260px; }
.pasek-d h1 small { display: block; font: italic 400 16px/1.4 var(--f-t); color: var(--muted); margin-top: 2px; }
.pasek-d .btn { min-height: 52px; }
.stol { display: flex; justify-content: center; padding-bottom: 40px; }
.skala { width: 794px; }
/* arkusz A4: 210 × 297 mm = 794 × 1123 px przy 96 dpi */
.a4 { width: 794px; height: 1123px; overflow: hidden; background: #fff; color: #111; padding: 40px 50px 32px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 24px 50px -24px color-mix(in srgb, var(--ink) 50%, transparent); transform-origin: 0 0; position: relative; font-family: var(--f-t); }
.a4 * { color: inherit; }
.a4-g { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 12px; border-bottom: 2px solid #111; }
.a4-k { font: 600 10.5px/1.3 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: #444; display: flex; gap: 8px; align-items: center; }
.a4-k svg { width: 18px; height: 18px; }
.a4-g h2 { font: 400 42px/1 var(--f-d); margin: 8px 0 4px; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.a4-g p { margin: 0; font: italic 400 15px/1.4 var(--f-t); color: #333; }
.a4-qr { display: grid; justify-items: center; gap: 4px; font: 500 10px var(--f-t); color: #333; text-align: center; }
.a4-sr { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 14px 0 10px; border-bottom: .75px solid #111; }
.a4-sr svg.plansza-svg { width: 300px !important; }
.a4-jak { font: 400 13px/1.5 var(--f-t); color: #222; }
.a4-jak b { display: block; font: 600 13.5px var(--f-t); margin-bottom: 2px; }
.a4-jak ol { margin: 6px 0 10px; padding-left: 18px; }
.a4-jak .leg { display: grid; gap: 3px; margin-top: 6px; font-size: 12px; }
.a4-jak .leg span { display: flex; gap: 8px; align-items: center; }
.a4-l { list-style: none; margin: 0; padding: 0; flex: 1; }
.a4-l li { display: grid; grid-template-columns: 58px minmax(0, 1fr) 190px 54px; gap: 0 14px; align-items: center; padding: 4px 0; border-bottom: .5px solid #999; }
.a4-l .nr { font: 400 24px/1 var(--f-d); font-variant-numeric: lining-nums tabular-nums; }
.a4-l b { display: block; font: 500 17px/1.2 var(--f-d); }
.a4-l .a4-sk { display: block; font: 400 11.5px/1.35 var(--f-t); color: #333; margin-top: 2px; }
.a4-l .ad { font: 400 12.5px/1.35 var(--f-t); }
.a4-l .ad strong { display: block; font: 600 15px/1.2 var(--f-t); }
.a4-l .ad em { font-style: italic; font-family: var(--f-t); font-size: 12.5px; color: #333; }
.a4-st { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; border-top: 2px solid #111; font: 400 11px/1.4 var(--f-t); color: #333; }
.uwaga { max-width: 794px; margin: 0 auto 30px; font: italic 400 15.5px/1.5 var(--f-t); color: var(--muted); }
body.mini { background: #fff; overflow: hidden; }
body.mini::before, body.mini::after { display: none; }
body.mini .a4 { box-shadow: none; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  body::before, body::after, #naglowek, #stopka, .pasek-d, .uwaga { display: none !important; }
  .stol { padding: 0; } .a4 { box-shadow: none; transform: none !important; }
}
@media (max-width: 860px) {
  .pasek-d h1 { font-size: 26px; }
  .pasek-d .btn { width: 100%; justify-content: center; }
  .stol { justify-content: flex-start; }
  .uwaga { font-size: 16.5px; }
}

/* Z203 (F2) */
main.mini { padding: 0 !important; max-width: none; }
.a4-mapa svg.plansza-svg { width: 300px !important; }
.a4-qr .qr-m svg, .a4-l .qr-m svg { display: block; }
.a4-l li > span:nth-child(2) { min-width: 0; }
.a4-l .ad { overflow-wrap: anywhere; }
/* duże okręgi (ponad 13 oddziałów): dwie kolumny, wiersze zwarte */
.a4-l.dwie { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; align-content: start; }
.a4-l.dwie li { grid-template-columns: 42px minmax(0, 1fr) 38px; gap: 0 8px; padding: 2px 0; }
.a4-l.dwie li .ad { grid-column: 2; grid-row: 2; font-size: 11px; }
.a4-l.dwie li .ad strong { display: inline; font-size: 12.5px; margin-right: 6px; }
.a4-l.dwie li .ad br, .a4-l.dwie li .ad em { display: none; }
.a4-l.dwie li .qr-m { grid-column: 3; grid-row: 1 / span 2; }
.a4-l.dwie .nr { font-size: 18px; grid-row: 1 / span 2; }
.a4-l.dwie b { font-size: 13.5px; line-height: 1.15; }
.a4-l.dwie .a4-sk { margin-top: 0; }
.a4-l.dwie li .ad { line-height: 1.25; }
.a4-l.dwie .a4-sk { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
