/* Wygląd dokumentu (A4) — przeniesiony 1:1 z proof of concept v4. Ten sam arkusz posłuży do PDF w Fazie 2. */
.page { width:210mm; min-height:297mm; height:297mm; overflow:hidden; margin:0 auto 20px; background:#fff;
  box-shadow:0 6px 28px rgba(0,0,0,.10); padding:13mm 18mm 13mm; position:relative; display:flex; flex-direction:column; }
.doc { font-family: Arial, Helvetica, sans-serif; font-size:10.3pt; line-height:1.22; text-align:justify; color:#111; }
.header-logo { display:block; width:100%; height:auto; margin:0 auto 9mm; }
.title { text-align:center; font-weight:700; line-height:1.15; margin:0 0 7mm; }
.title .big { font-size:11pt; }
.intro { margin-bottom:3mm; }
.party { display:grid; grid-template-columns:5mm 1fr; gap:2mm; margin:0 0 3mm; }
.bullet { font-size:18px; line-height:1; padding-top:1px; }
.sep { margin:1mm 0 3mm; }
.sec { text-align:center; font-weight:700; margin:4mm 0 2mm; }
.num { margin:0 0 1.6mm; padding-left:7mm; text-indent:-5mm; }
.subnum { margin:0 0 1.2mm 8mm; padding-left:5mm; text-indent:-5mm; }
.bullets { margin:1.2mm 0 2mm 11mm; padding:0; }
.bullets li { margin:.7mm 0; }
.nowrap { white-space:nowrap; }
.footer { margin-top:auto; display:flex; align-items:center; gap:4mm; padding-top:6mm; font-size:7.2pt; line-height:1.15; }
.footer img { width:16mm; height:16mm; object-fit:contain; }
.footer strong { font-size:7.6pt; }
.doc-missing { color:#b91c1c; font-weight:700; }
.draft-mark .page::after { content:"WERSJA ROBOCZA"; position:absolute; top:45%; left:50%; transform:translate(-50%,-50%) rotate(-30deg);
  font:700 64pt Arial, sans-serif; color:rgba(185,28,28,.10); pointer-events:none; white-space:nowrap; }

@media print {
  @page { size:A4; margin:0; }
  body { background:#fff !important; }
  .no-print, .topbar, #toast { display:none !important; }
  .print-root { padding:0 !important; }
  .page { box-shadow:none; margin:0; page-break-after:always; }
  .page:last-child { page-break-after:auto; }
}
.title .note { font-weight:400; font-size:10pt; margin-top:1mm; }
.doc-table { width:100%; border-collapse:collapse; margin:3mm 0; text-align:center; table-layout:fixed; }
.doc-table th, .doc-table td { border:0.6pt solid #111; padding:2mm 2mm; vertical-align:middle; }
.doc-table th { font-weight:700; }
