.pending-thermal-preview{width:min(450px,96vw);max-width:450px;max-height:92vh;padding:0;border:1px solid #ccd7e5;border-radius:8px;background:#e8edf3;box-shadow:0 16px 60px #0004;overflow:hidden}
.pending-thermal-preview-heading,.pending-thermal-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;color:#17324c}
.pending-thermal-preview-heading h2{margin:0;color:#17324c;font-size:19px;font-weight:650}
.pending-thermal-preview-scroll{max-height:calc(92vh - 130px);padding:18px;overflow:auto}
.pending-thermal-preview-actions{justify-content:flex-end;border-top:1px solid #d3dce8}
.pending-thermal-preview-actions button{margin:0;min-height:40px}
.pending-thermal-preview .pending-thermal-preview-actions button.primary{background:var(--draw-deep,#345e9f)!important;border-color:var(--draw-deep,#345e9f)!important;color:#fff!important}
.pending-thermal-sheet{box-sizing:border-box;width:80mm;max-width:100%;margin:0 auto;padding:4mm;background:#fff;color:#000;font:11px/1.35 'Courier New',monospace;box-shadow:0 3px 14px #142c441c}
.pending-thermal-sheet *{box-sizing:border-box;color:#000!important;letter-spacing:0}
.pending-thermal-inner{width:var(--receipt-printable-width,72mm);max-width:100%;margin:auto}
.pending-thermal-heading{text-align:center}
.pending-thermal-brand{display:block;font-size:21px;font-weight:400;margin:1mm 0 5mm}
.pending-thermal-heading h2{margin:5mm 0 1mm;font:400 17px/1.25 'Courier New',monospace;white-space:nowrap}
.pending-thermal-heading p{margin:0 0 5mm;font-size:10.5px;white-space:nowrap}
.pending-thermal-rule{height:0;border-top:1px dashed #000}
.pending-thermal-table{width:100%;margin:7mm 0 0;border:0;border-collapse:collapse;table-layout:fixed;background:#fff;font:11px/1.4 'Courier New',monospace}
.pending-thermal-table :is(th,td){padding:0 1mm!important;border:0!important;background:#fff!important;font:700 12px/1.25 Arial,Helvetica,sans-serif!important;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.pending-thermal-table :is(th,td):first-child{padding-left:0!important}
.pending-thermal-table :is(th,td):last-child{padding-right:0!important}
.pending-thermal-table :is(th,td):nth-child(1){width:28%;text-align:left}
.pending-thermal-table :is(th,td):nth-child(2){width:32%;text-align:center}
.pending-thermal-table :is(th,td):nth-child(3){width:19%}
.pending-thermal-table :is(th,td):nth-child(4){width:21%}
.pending-thermal-table td.pending-thermal-long{overflow-wrap:anywhere;white-space:normal}
.pending-thermal-table thead th{padding-bottom:2mm;letter-spacing:.04em;font-size:11px}
.pending-thermal-total{margin:10mm 0 1mm;text-align:center;font-size:20px;white-space:nowrap}
.pending-thermal-total strong{font-weight:400}
@media print{
 body:has(>#pending-report-paper)>:not(#pending-report-paper){display:none!important}
 body>#pending-report-paper.pending-thermal-sheet{display:block!important;width:80mm!important;max-width:80mm!important;margin:0!important;padding:4mm!important;box-shadow:none!important;background:#fff!important;color:#000!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table{width:100%!important;margin-top:7mm!important;border:0!important;font:11px/1.4 'Courier New',monospace!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table :is(th,td){padding:0 1mm!important;border:0!important;text-align:right;background:#fff!important;font-weight:700!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table :is(th,td):first-child{padding-left:0!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table :is(th,td):last-child{padding-right:0!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table :is(th,td):first-child{text-align:left!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table :is(th,td):nth-child(2){text-align:center!important}
 #pending-report-paper.pending-thermal-sheet .pending-thermal-table thead th{padding-bottom:2mm!important}
}
