@page{size:A4;margin:15mm}.invoice-print{max-width:210mm;margin:0 auto;padding:1rem}.invoice-print-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.invoice-sheet{background:#fff;color:#111;overflow-x:auto;padding:12mm;border:1px solid #d0d7de;font-size:10.5pt;line-height:1.4}.invoice-sheet h1{margin:0 0 .5rem;font-size:18pt}.invoice-sheet h2{margin:0 0 .25rem;font-size:11pt;text-transform:uppercase;letter-spacing:.04em}.invoice-sheet p{margin:0}.tax-qr{display:flex;flex-direction:column;align-items:center;margin:0 auto 8mm;width:fit-content;text-align:center}.tax-qr-caption,.tax-qr-label{font-size:10.5pt;font-weight:600;max-width:60mm}.tax-qr-code{width:35mm;height:35mm;margin:1.5mm 0}.invoice-head{display:flex;justify-content:space-between;gap:8mm;margin-bottom:6mm}.invoice-head dl,.invoice-totals{margin:0}.invoice-head dl div,.invoice-totals div{display:flex;justify-content:space-between;gap:4mm}.invoice-head dt,.invoice-totals dt{font-weight:600}.invoice-head dd,.invoice-totals dd{margin:0}.invoice-party{margin-bottom:6mm}.invoice-description,.invoice-rectifies{margin-bottom:4mm;font-weight:600}.invoice-lines{width:100%;background:#fff;color:#111;border-collapse:collapse;margin-bottom:6mm}.invoice-lines caption{text-align:left;font-weight:600;padding-bottom:2mm}.invoice-lines td,.invoice-lines th{border-bottom:1px solid #d0d7de;padding:1.5mm 2mm;text-align:right;vertical-align:top}.invoice-lines th[scope=row],.invoice-lines thead th:first-child{text-align:left;font-weight:400}.invoice-lines thead th{font-weight:600}.invoice-totals{margin-left:auto;width:min(100%,90mm)}.invoice-total{font-size:12pt;border-top:1px solid #111;padding-top:1mm;margin-top:1mm}.invoice-notes{margin-top:8mm;font-size:9pt}.invoice-user-notes{margin-top:6mm;white-space:pre-line}@media screen and (max-width:40rem){.invoice-lines thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.invoice-lines,.invoice-lines tbody,.invoice-lines td,.invoice-lines th[scope=row],.invoice-lines tr{display:block;width:100%}.invoice-lines tr{border-bottom:1px solid #d0d7de;padding:2mm 0}.invoice-lines td,.invoice-lines th[scope=row]{border-bottom:0;padding:.5mm 0}.invoice-lines th[scope=row]{font-weight:600}.invoice-lines td{display:flex;justify-content:space-between;gap:4mm}.invoice-lines td:before{content:attr(data-label);color:#57606a;text-align:left}.invoice-lines .invoice-line-amount{font-weight:600}}@media (max-width:40rem){.invoice-sheet{padding:4mm}.invoice-head{flex-direction:column}}@media print{body:has(.invoice-print),html:has(.invoice-print){background:#fff}.invoice-print-toolbar,.invoice-print>.ml-notice,.invoice-print>[role=status]{display:none}.invoice-print{padding:0;max-width:none}.invoice-sheet{border:0;padding:0;overflow:visible}.invoice-print-warning{margin-bottom:6mm;break-inside:avoid}.invoice-print-warning .ml-notice{background:#fff;color:#111;border:1px solid #111}.invoice-head{flex-direction:row}.invoice-head,.invoice-lines tr,.invoice-totals,.tax-qr{break-inside:avoid}}.invoice-sheet--minimal .invoice-head{display:block;border-bottom:1px solid #111;padding-bottom:4mm}.invoice-sheet--minimal .invoice-head .invoice-party{margin-top:4mm}.invoice-sheet--minimal .invoice-head h1{font-size:16pt}.invoice-sheet--minimal .invoice-lines td,.invoice-sheet--minimal .invoice-lines th{border-bottom:0}.invoice-sheet--minimal .invoice-lines thead th{border-bottom:1px solid #111}.invoice-sheet--centered .invoice-head{flex-direction:column;align-items:center;text-align:center}.invoice-sheet--centered>.invoice-party{text-align:center}.invoice-sheet--centered .invoice-head dl{min-width:55mm}