@font-face{font-family:Inter;src:url('fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
.invoice-paper{font:12px/1.5 Inter,Arial,sans-serif;color:#000;background:#fff;width:210mm;min-height:297mm;padding:40px;box-sizing:border-box;margin:0 auto 30px;box-shadow:0 10px 30px #0005}
.invoice-paper *{box-sizing:border-box}.invoice-paper .paper-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:40px;border-bottom:3px solid #157a4c;padding-bottom:20px}.paper-header img{height:80px;width:auto;display:block}.paper-header>div{text-align:right;min-width:0}.paper-number{font-size:24px;font-weight:800;color:#157a4c;text-transform:uppercase;overflow-wrap:anywhere}.paper-date{font-size:14px;margin-top:5px}.paper-parties{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-bottom:30px}.paper-label{font-size:10px;text-transform:uppercase;color:#666;border-bottom:1px solid #ccc;margin-bottom:5px;font-weight:700}.paper-party{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.paper-party>strong{font-size:14px}.paper-info{display:flex;background:#f9fafb;margin-bottom:30px;border:1px solid #eee}.paper-info>div{flex:1;padding:10px;border-right:1px solid #eee;min-width:0;overflow-wrap:anywhere}.paper-info>div:last-child{border-right:0}.paper-info span{display:block;font-size:10px;color:#666;font-weight:700}.paper-info strong{font-size:12px}.invoice-paper table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.paper-lines{margin-bottom:30px}.invoice-paper th{padding:6px;background:#157a4c!important;color:white!important;text-align:left;border:1px solid #157a4c;font-size:12px;font-weight:700}.invoice-paper td{padding:6px;border-bottom:1px solid #eee;border-right:1px solid #eee;vertical-align:top;overflow-wrap:anywhere}.invoice-paper td:last-child{border-right:0}.invoice-paper .center{text-align:center}.invoice-paper .right{text-align:right}.paper-details{font-size:10px;color:#555;margin-top:2px;line-height:1.4;overflow-wrap:anywhere}.invoice-paper .plot{background:#ecfdf5;color:#047857;padding:2px 8px;border-radius:4px;font-weight:700;border:1px solid #a7f3d0;display:inline-block;margin-top:3px;text-transform:uppercase}.invoice-paper .du{background:#fff7ed;color:#9a3412;padding:1px 4px;border-radius:4px;font-weight:700;border:1px solid #fed7aa;display:inline-block;margin-top:2px}.paper-ending{text-align:right;margin-top:20px;break-inside:avoid}.paper-total{display:inline-flex;gap:10px;align-items:center;padding:10px 20px;border:2px solid #157a4c;border-radius:8px}.paper-total span{font-size:12px}.paper-total strong{font-size:20px;color:#157a4c;white-space:nowrap}.paper-tax{margin-bottom:10px}.paper-notes{text-align:left;white-space:normal;margin-top:20px;overflow-wrap:anywhere}.invoice-paper footer{text-align:center;margin-top:40px;font-size:9px;color:#999}.paper-protocols{break-before:page;margin-top:40px}.paper-protocol-title{text-align:center;border-bottom:2px solid #157a4c;margin-bottom:20px;padding-bottom:5px;font-size:12px}.paper-protocol-title>b{font-size:16px}.paper-protocol{margin-bottom:20px}.paper-protocol>header{background:#157a4c;color:white;padding:5px;font-size:12px;display:flex;justify-content:space-between;gap:15px;break-after:avoid}.paper-protocol table{font-size:11px;margin-bottom:15px}.paper-protocol td{border:1px solid #ccc;padding:4px}.paper-protocol td:first-child{width:30px}.paper-protocol td:last-child{width:60px}.paper-protocol tr{break-inside:avoid}#invoice-print-root{display:none}
@media screen and (max-width:820px){#invoice-print{overflow-x:auto}.invoice-paper{margin-left:auto;margin-right:auto}}
@media print{
 @page{size:A4;margin:10.583mm}
 html,body{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:white!important;overflow:visible!important}
 body.invoice-printing>*:not(#invoice-print-root){display:none!important}
 body.invoice-printing>#invoice-print-root{display:block!important}
 #invoice-print-root .invoice-paper{width:100%;min-height:0;margin:0;padding:0;box-shadow:none}
 .invoice-paper{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .invoice-paper thead{display:table-header-group}.paper-lines tr{break-inside:avoid}.paper-protocols{margin-top:0}.paper-info,.paper-header,.paper-parties{break-inside:avoid}
}
.invoice-paper th{font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:normal}.invoice-paper .paper-header,.invoice-paper .paper-protocol>header{position:static}.invoice-paper .paper-lines strong{font-size:inherit}
