.si-print-preview{max-width:100%;overflow:auto;overscroll-behavior:contain;padding:14px;background:#edf1ed;border:1px solid #dce5de;border-radius:12px}
.modal:has(.si-print-preview){width:1020px;max-width:calc(100vw - 40px)}
.si-paper{box-sizing:border-box;width:240mm;min-height:140mm;padding:6mm;color:#111;background:#fff;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:10pt;line-height:1.3;margin:0 auto 14px;box-shadow:0 4px 20px #0001;overflow-wrap:anywhere}
.si-paper *{box-sizing:border-box}.si-paper header{display:flex;align-items:center;justify-content:space-between;gap:5mm;border-bottom:.4mm solid #111;padding-bottom:1.5mm;margin-bottom:1.5mm}.si-paper header p{font-size:10pt;margin:0 0 .7mm;letter-spacing:.35mm;line-height:1.2}.si-paper h1{font-size:18pt;font-weight:750;letter-spacing:2mm;line-height:1.1;margin:0}.si-paper header aside{text-align:right;max-width:88mm}.si-paper header aside strong{display:block;font-size:11pt;line-height:1.2}.si-paper header small{display:block;margin-top:1.5mm;font-size:9pt;line-height:1.2}.si-paper-mark{border:1px solid #111;padding:.6mm 2mm;margin:0 0 1.5mm;font-size:10pt;font-weight:750;text-align:center;line-height:1.2}.si-paper-facts{display:grid;grid-template-columns:1.6fr 1fr .8fr;gap:1mm 3mm;margin-bottom:2mm;font-size:10pt;line-height:1.25}.si-paper-facts>strong{font-size:12pt}.si-paper-address{grid-column:1/-1;font-size:9.5pt}.si-paper table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.si-paper th,.si-paper td{border:.25mm solid #333;padding:1mm 1.2mm;text-align:left;vertical-align:middle;white-space:pre-wrap;overflow-wrap:anywhere}.si-paper th{font-size:9pt;font-weight:700;background:#fff;line-height:1.25}.si-paper th:nth-child(1){width:8mm}.si-paper th:nth-child(2){width:58mm}.si-paper th:nth-child(3){width:9mm}.si-paper th:nth-child(4){width:23mm}.si-paper th:nth-child(5){width:25mm}.si-paper th:nth-child(6){width:25mm}.si-paper th:nth-child(7){width:29mm}.si-paper th:nth-child(8){width:auto}.si-paper table{border-bottom:.35mm solid #000!important}.si-paper table tbody tr:last-child>td{border-bottom:.35mm solid #000!important}.si-paper table thead th{border-bottom:.25mm solid #000!important}.si-paper-product{font-size:12pt;font-weight:700;line-height:1.25}.si-paper-qty{font-size:14pt;font-weight:750;line-height:1.2}.si-paper td:nth-child(5){font-size:12pt;line-height:1.2}.si-paper-exclusive{font-size:10pt;line-height:1.2;font-variant-numeric:tabular-nums}.si-paper-amount{font-size:12pt;font-weight:700;line-height:1.2}.si-paper-line-note{font-size:9pt;line-height:1.25}.si-paper-notes{display:flex;gap:2mm;min-height:9mm;border:1px solid #333;margin:2mm 0;padding:1.5mm 2mm;font-size:11pt;line-height:1.3;white-space:pre-wrap;break-inside:avoid}.si-paper-notes>b{flex:0 0 auto}.si-paper-notes>div{flex:1;min-width:0}.si-note-title{font-size:12pt;line-height:1.2;margin:2mm 0}.si-paper-details{margin:0}.si-paper-details>div{margin:0 0 2mm}.si-paper-details dt{font-size:9pt;font-weight:750;line-height:1.2;margin-bottom:1mm}.si-paper-details dd{margin:0;font-size:10pt;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere}.si-paper-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(40mm,1fr));gap:2mm;border-top:.3mm solid #333;padding-top:1.5mm;margin-top:2mm}.si-paper-totals>div{display:flex;flex-direction:column;gap:.5mm}.si-paper-totals span{font-size:9pt;line-height:1.2}.si-paper-totals b{font-size:12pt;line-height:1.2}.si-paper-grand b{font-size:15pt}.si-paper-settlement{display:flex;gap:1mm 5mm;flex-wrap:wrap;font-size:9pt;line-height:1.3;margin-top:1.5mm}.si-paper-settlement>span{flex-basis:100%}.si-paper-settlement strong{font-size:11pt;line-height:1.2}.si-paper-terms{display:flex;gap:1mm 4mm;flex-wrap:wrap;font-size:9pt;line-height:1.3;margin:1.5mm 0}.si-paper footer{display:flex;justify-content:space-between;gap:5mm;border-top:.25mm solid #555;padding-top:1.5mm;margin-top:2mm;font-size:9pt;line-height:1.2;break-inside:avoid}.si-paper-continuation{font-size:9pt;line-height:1.2;margin:2mm 0}.si-paper td,.si-paper tr{break-inside:avoid;page-break-inside:avoid}#sales-issue-print-root{display:none}
@page salesIssue{size:240mm 140mm;margin:0}
@media print{body.sales-issue-printing{margin:0!important;padding:0!important;background:#fff!important}body.sales-issue-printing> :not(#sales-issue-print-root){display:none!important}body.sales-issue-printing>#sales-issue-print-root{display:block!important}body.sales-issue-printing .si-paper{page:salesIssue;width:240mm;min-height:140mm;margin:0;box-shadow:none;break-after:page;page-break-after:always}body.sales-issue-printing .si-paper:last-child{break-after:auto;page-break-after:auto}body.sales-issue-printing .si-paper{color:#000!important;background:#fff!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

@media print{body.sales-issue-printing .si-paper table{border-bottom:.35mm solid #000!important}body.sales-issue-printing .si-paper table tbody tr:last-child>td{border-bottom:.35mm solid #000!important}body.sales-issue-printing .si-paper th,body.sales-issue-printing .si-paper td{border-color:#000!important}}
