/* Печать A4: только отчёт из #druk (итоги + сводные), по-польски. Подключён с media="print". */
@page { size: A4 portrait; margin: 16mm 14mm 16mm; }

html, body { background: #fff !important; color: #111a28 !important; }
body { font: 9.5pt/1.4 var(--sans); }
#aplikacja, .komunikat, .okno, .podpowiedz, .pomin { display: none !important; }
#druk { display: block !important; }

.r-glowa { display: flex; justify-content: space-between; align-items: flex-end; gap: 12mm; padding-bottom: 5mm; border-bottom: .6pt solid #111a28; margin-bottom: 7mm; }
.r-glowa img { height: 11mm; width: auto; }
.r-tytul { font: 400 20pt/1.1 var(--serif); margin: 0 0 1.5mm; }
.r-podtytul { color: #4a5566; font-size: 9pt; }
.r-meta { text-align: right; font-size: 8.5pt; color: #4a5566; line-height: 1.5; }

.r-ksiega { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); border-bottom: .4pt solid #c9d0da; margin-bottom: 8mm; }
.r-poz { padding: 0 3mm 4mm; border-left: .4pt solid #c9d0da; }
.r-poz:first-child { border-left: 0; padding-left: 0; }
.r-etyk { font-size: 7.5pt; min-height: 2.6em; color: #4a5566; margin-bottom: 1.5mm; }
.r-wart { font: 400 12pt/1.1 var(--serif); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.r-poz:first-child .r-wart { font-size: 22pt; }
.r-rys { width: 12mm; height: .8pt; background: #b8892a; margin-top: 2.5mm; }

.r-sekcja { margin-bottom: 7mm; break-inside: avoid; }
.r-sekcja h2 { font: 500 11pt/1.2 var(--serif); margin: 0 0 2.5mm; }
.r-tab { width: 100%; border-collapse: collapse; font-size: 8.5pt; }
.r-tab th { text-align: left; font-weight: 500; color: #4a5566; font-size: 7.5pt; padding: 1.5mm 2mm; border-bottom: .6pt solid #111a28; }
.r-tab td { padding: 1.4mm 2mm; border-bottom: .3pt solid #d9dee5; }
.r-tab th:first-child, .r-tab td:first-child { padding-left: 0; }
.r-tab th:last-child, .r-tab td:last-child { padding-right: 0; }
.r-tab .l { text-align: right; font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.r-tab tfoot td { border-top: .6pt solid #111a28; border-bottom: 0; font-weight: 600; }
.r-tab .zero { color: #9aa3b0; }
.r-dwie { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.r-stopka { margin-top: 10mm; padding-top: 3mm; border-top: .4pt solid #c9d0da; font-size: 7.5pt; color: #4a5566; display: flex; justify-content: space-between; }
.r-podpis { margin-top: 14mm; display: grid; grid-template-columns: 1fr 1fr; gap: 20mm; font-size: 8pt; color: #4a5566; }
.r-podpis div { border-top: .4pt solid #8a94a3; padding-top: 1.5mm; }
