/* Druck: nur die Abrechnungen. data-print="one" druckt das gewählte Blatt, sonst alle mit Seitenumbruch je Mietpartei. */
@page { size: A4; margin: 15mm 18mm 14mm 22mm; }
:root { color-scheme: light; }
html, body { background: #fff !important; color: #15171a; }
body { font-size: 10.5pt; }
.top, .hero, .intro, #sec-property, #sec-units, #sec-tenancies, #sec-costs, #results, #sec-data,
#sec-bill > header, #sec-bill > .rows, .billbar { display: none !important; }
main { padding: 0 !important; }
.card, .sheetwrap { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0; }
.scroll { overflow: visible !important; }
#sheets .sheet { display: block; width: auto; min-height: 0; height: auto; margin: 0; padding: 0; box-shadow: none; break-after: page; page-break-after: always; }
#sheets .sheet:last-child { break-after: auto; page-break-after: auto; }
/* Blocklayout im Druck, die Unterschriftszeile folgt dem Text und bleibt als Block zusammen. */
.sh-sign { margin-top: 0; padding-top: 14mm; }
body[data-print="one"] #sheets .sheet { display: none; }
body[data-print="one"] #sheets .sheet.active { display: block; break-after: auto; page-break-after: auto; }
.sh-table thead { display: table-header-group; }
