.fulfillment-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}.fulfillment-status:empty{display:none}.fulfillment-status{padding:14px;background:#edf8f0;border:1px solid #78a785;border-radius:8px}.fulfillment-status.scan-error{background:#fff0f0;border:2px solid #bd2424;color:#9b1010;font-weight:700}.scan-complete{background:#eaf5ef}#payment-list input[type=checkbox]{width:22px;min-height:22px}#payment-list .secondary{font-size:12px;padding:6px;margin:3px}#shipping-scan{display:flex;align-items:end;gap:12px}#shipping-scan label{flex:1}#shipping-scan button{margin-bottom:14px}#payment-confirm-dialog{width:min(600px,94vw)}#payment-confirm-list{max-height:50vh;overflow:auto}#thermal-dialog{width:min(600px,96vw);max-height:95vh;overflow:auto}#thermal-pages{width:var(--label-width,57mm);margin:0 auto;background:white}.thermal-page{box-sizing:border-box;width:var(--label-width,57mm);height:var(--label-height,80mm);padding:2.5mm;background:#fff;color:#000;font:10px/1.3 Arial,'Microsoft JhengHei',sans-serif;display:flex;flex-direction:column;overflow:hidden;break-inside:avoid;break-after:page;page-break-after:always}.thermal-page:last-child{break-after:auto;page-break-after:auto}.thermal-page header{position:static;display:block;border-bottom:1px solid #000;padding:0 0 1mm;background:white;box-shadow:none}.thermal-page header strong{display:block;font-size:16px}.thermal-page .thermal-person{font-weight:700;overflow-wrap:anywhere;font-size:12px}.thermal-page header div{overflow-wrap:anywhere}.thermal-barcode{display:block;width:100%;height:15mm}.thermal-lines{flex:1;padding-top:1mm}.thermal-line{padding:1mm 0;border-bottom:1px dotted #999;font-size:11px}.thermal-page footer{display:block;position:static;border:0;border-top:1px solid #000;padding:1mm 0 0;margin:0;color:#000;background:white;font-size:9px}.thermal-page small{font-size:8px}.product-label{text-align:center;justify-content:center;gap:2mm}.product-label h2{font-size:20px;margin:0}.product-label .product-size{font-size:36px}.signature-order-barcode{display:block;width:100%;height:12mm}.signature-table th:nth-child(1){width:22%}.signature-table th:nth-child(4){width:17%}@media(max-width:800px){.fulfillment-filters{grid-template-columns:1fr 1fr}#shipping-scan{display:block}}@media print{body.printing-thermal>*:not(#thermal-dialog){display:none!important}body.printing-thermal{margin:0!important;padding:0!important;background:white}body.printing-thermal #thermal-dialog{display:block!important;position:static!important;width:57mm!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}body.printing-thermal #thermal-dialog::backdrop{display:none}body.printing-thermal .no-print{display:none!important}body.printing-thermal #thermal-pages{margin:0!important}body.printing-thermal .thermal-page{margin:0!important}}

#payment-list td:last-child{white-space:normal}#payment-list td:last-child button{display:block;max-width:100%;white-space:normal}#payment-list th:nth-child(2){width:12%}#payment-list th:nth-child(3){width:13%}#payment-list th:nth-child(4){width:17%}#payment-list th:nth-child(5){width:15%}#payment-list th:nth-child(6){width:10%}#payment-list th:nth-child(7){width:10%}#payment-list th:nth-child(8){width:19%}

.product-label{padding:1.5mm;gap:.5mm}.product-label h2{font-size:12px}.product-label .product-size{font-size:20px;line-height:1}.product-label .thermal-barcode{height:12mm;min-height:12mm}.product-label p{margin:0;font-size:8px}

.product-label h2{line-height:1.1}.product-label small{line-height:1.1}.product-label>*{flex-shrink:0}

.thermal-page header,.thermal-page footer{flex-shrink:0}

.product-label .thermal-barcode{width:auto;max-width:100%;height:11mm;margin:0 auto}

.product-label .thermal-barcode{height:auto;max-width:100%;width:auto}.product-label .product-sku{font:9px/1 Arial,sans-serif;margin:0}
.payment-scanner{padding:18px;margin-bottom:24px;border:2px solid #78a785;border-radius:12px;background:#f5faf6}#payment-scan{display:flex;align-items:end;gap:12px}#payment-scan label{flex:1}#payment-scan button{margin-bottom:14px}#payment-scan-results{max-height:300px;overflow:auto;padding-left:28px}#payment-scan-results li{padding:8px;overflow-wrap:anywhere}#payment-scan-results .scan-error{background:#fff0f0;color:#9b1010;font-weight:700}@media(max-width:800px){#payment-scan{display:block}}

.payment-summary{margin:18px 0 24px}.payment-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.payment-summary-cards>div{padding:18px;border:1px solid #b5c9bc;border-radius:12px;background:#f5faf6;display:grid;gap:6px}.payment-summary-cards strong{font-size:clamp(24px,3vw,36px);color:#245b3a;overflow-wrap:anywhere}.payment-summary p,.payment-summary small{font-size:13px}.payment-summary-scope{font-weight:700}@media(max-width:500px){.payment-summary-cards{grid-template-columns:1fr}}
