@page { margin: var(--print-margin); }
html, body { background: var(--print-paper); color: var(--print-ink); }
.site-header, .no-print { display: none !important; }
.page, .document { max-inline-size: none; padding: 0; margin: 0; border: 0; }
.table-scroll { overflow: visible; }
table { background: transparent; }
td, th { overflow-wrap: anywhere; }
td a { min-inline-size: 0; }
a { color: inherit; text-decoration: none; }
tr, .document-header, .document-total { break-inside: avoid; }

.print-only { display: block; font-weight: 700; }

/* the screen shell does not print */
body.signed { display: block; min-height: 0; }
.signed .page, .guest .page { padding: 0; margin: 0; max-width: none; }
.panel, .table-scroll { box-shadow: none; border-radius: 0; padding: 0; background: transparent; }

/* paper look (IRIS, 6 Dec): keep the teal lines and the soft detail box, drop the screen card */
.document.panel { max-width: none; padding: 0; }
.document-header, .document-total { border-color: var(--teal); }
.document h1 { color: var(--teal); }
.document-details, .document th { background: var(--soft); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.made-by { display: none; }
