.ev-document{box-sizing:border-box;width:min(960px,96vw);max-width:none;max-height:94vh;padding:0;border:0;border-radius:14px;color:#20232e;background:#eee;font-family:inherit}
.ev-document::backdrop{background:#1b1c2866}.ev-doc-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:14px 22px;border-bottom:1px solid #ddd}.ev-doc-toolbar>div{display:flex;gap:8px}.ev-doc-toolbar button{background:#fff;border:1px solid #d4d3df;border-radius:8px;padding:10px 14px;font:inherit;cursor:pointer}.ev-doc-toolbar [data-doc-print]{background:#ee2389;color:#fff;border-color:#ee2389}
.ev-doc-paper{box-sizing:border-box;margin:24px auto;background:#fff;width:210mm;max-width:100%;padding:16mm 14mm;font-size:12px;line-height:1.6}.ev-doc-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #1e2430;padding-bottom:20px}.ev-doc-head img{width:112px;height:auto}.ev-doc-head h1{font-size:30px;letter-spacing:5px;margin:0}.ev-doc-head p{margin:3px 0;font-size:11px}.ev-doc-head>div:last-child{text-align:right}.ev-doc-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.ev-doc-parties>div{min-width:0}.ev-doc-parties h2{font-size:16px;margin:4px 0 10px}.ev-doc-parties small{color:#737783}.ev-doc-parties dl{display:grid;grid-template-columns:75px 1fr;gap:6px;margin:0}.ev-doc-parties dt{color:#747885}.ev-doc-parties dd{margin:0;overflow-wrap:anywhere}.ev-doc-summary{padding:18px 20px;background:#fff1f8;border-top:1px solid #ffd1e6;border-bottom:1px solid #ffd1e6;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.ev-doc-summary strong{font-size:28px;color:#e42083}.ev-doc-summary span{font-size:11px}.ev-doc-table{border-collapse:collapse;width:100%;table-layout:fixed}.ev-doc-table th,.ev-doc-table td{padding:10px 7px;border-bottom:1px solid #e2e4e9;text-align:left;vertical-align:top;overflow-wrap:anywhere}.ev-doc-table th{background:#f5f6f8;font-size:11px}.ev-doc-table th:first-child{width:15%}.ev-doc-table th:nth-child(3){width:8%}.ev-doc-table th:nth-child(4){width:9%}.ev-doc-table th:last-child{width:21%;text-align:right}.ev-doc-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.ev-doc-table td span{font-size:11px;color:#737783}.ev-doc-subtotal{background:#fafafa;font-weight:700}.ev-doc-totals{margin:22px 0;break-inside:avoid}.ev-doc-totals p{display:flex;justify-content:space-between;gap:16px;margin:8px 0}.ev-doc-totals .grand{font-size:20px;border-top:2px solid #252735;padding-top:12px;color:#e42083}.ev-doc-memo{border:1px solid #e3e4e8;padding:12px}.ev-doc-memo p{white-space:pre-wrap;overflow-wrap:anywhere}.ev-doc-foot{margin-top:24px;font-size:11px;color:#737783}.ev-doc-foot>div{text-align:right;margin-top:22px;break-inside:avoid}.ev-doc-foot b{color:#222}.ev-doc-foot b span{border:1px solid #cf4960;border-radius:50%;color:#cf4960;padding:4px;margin-left:6px}
@media(max-width:600px){.ev-doc-paper{padding:20px 12px}.ev-doc-toolbar{padding:12px;font-size:12px}.ev-doc-toolbar button{padding:8px}.ev-doc-parties{grid-template-columns:1fr;gap:16px}.ev-doc-summary{display:block}.ev-doc-summary strong,.ev-doc-summary span{display:block}.ev-doc-table{font-size:10px}.ev-doc-table th,.ev-doc-table td{padding:7px 3px}.ev-doc-totals{font-size:11px}}
@media print{@page{size:A4;margin:12mm}body:has(#ev-document[open])>*:not(#ev-document){display:none!important}body:has(#ev-document[open]){background:#fff!important}#ev-document[open]{display:block!important;position:static!important;inset:auto!important;overflow:visible!important;max-height:none!important;height:auto!important;width:auto!important;max-width:none!important;border-radius:0!important;background:#fff!important}#ev-document .ev-doc-toolbar{display:none!important}#ev-document .ev-doc-paper{width:auto;max-width:none;margin:0;padding:0;font-size:10px}#ev-document .ev-doc-parties{grid-template-columns:1fr 1fr}#ev-document .ev-doc-table{font-size:10px}#ev-document .ev-doc-table thead{display:table-header-group}#ev-document tr{break-inside:avoid}#ev-document .ev-doc-head,#ev-document .ev-doc-parties,#ev-document .ev-doc-summary{break-inside:avoid}#ev-document::backdrop{display:none}.ev-doc-summary,.ev-doc-table th,.ev-doc-subtotal{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
