
.thermal-charges{width:100%;margin-top:7px;border-bottom:1px dashed #000}
.thermal-charges>div{display:flex;justify-content:space-between;align-items:center;padding:4px 1px;font-size:8px;line-height:1.15}
.thermal-charges>div span{font-weight:400}
.thermal-charges>div strong{font-weight:700;text-align:right;white-space:nowrap}
.thermal-charges .payable{font-weight:800;border-top:1px dashed #000;padding:5px 1px;font-size:9px}
.thermal-charges .payable span,.thermal-charges .payable strong{font-weight:800}
@media print{.thermal-charges{width:100%;max-width:100%;box-sizing:border-box}.thermal-charges>div{font-size:8px;padding:4px 1px}.thermal-charges .payable{font-size:9px;padding:5px 1px}.thermal-charges strong{white-space:nowrap}}


/* Final 58mm SUNMI receipt styling */
.thermal-brand{text-align:center;border-bottom:1.5px solid #000;padding-bottom:6px;margin-bottom:5px;line-height:1.25;font-size:8px}
.thermal-brand .thermal-title{font-size:10px;font-weight:900;letter-spacing:.2px;margin-bottom:2px}
.thermal-brand strong{display:block;font-size:11px;font-weight:900}
.thermal-brand span{display:block}
.thermal-meta{display:flex;justify-content:space-between;gap:4px;border-bottom:1px dashed #000;padding:5px 0;font-size:8px}
.thermal-meta span{font-weight:800;text-align:right}
.thermal-section{border-bottom:1px dashed #000;padding:4px 0;font-size:8px}
.thermal-section>div{display:flex;justify-content:space-between;gap:4px;padding:2px 0}
.thermal-section b{font-weight:800}.thermal-section span{text-align:right;overflow-wrap:anywhere}
.thermal-section-title{text-align:center!important;justify-content:center!important;font-weight:900;border-bottom:1px dashed #000;padding-bottom:3px!important}
.thermal-party{border-bottom:1px dashed #000;padding:4px 0;font-size:8px;line-height:1.25}
.thermal-party>div{display:flex;gap:4px;padding:1.5px 0}
.thermal-party b{min-width:46px;font-weight:800}.thermal-party span{flex:1;overflow-wrap:anywhere}
.thermal-total-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px dashed #000;padding:5px 0;gap:5px;font-size:8px}
.thermal-total-grid>div{display:flex;flex-direction:column;gap:2px}.thermal-total-grid>div+div{border-left:1px dashed #000;padding-left:5px}.thermal-total-grid span{font-size:7px;font-weight:700}.thermal-total-grid b{font-size:9px}
.dispatch-items th:nth-child(1),.dispatch-items td:nth-child(1){width:13%}.dispatch-items th:nth-child(2),.dispatch-items td:nth-child(2){width:27%}.dispatch-items th:nth-child(3),.dispatch-items td:nth-child(3){width:13%}.dispatch-items th:nth-child(4),.dispatch-items td:nth-child(4){width:22%}.dispatch-items th:nth-child(5),.dispatch-items td:nth-child(5){width:25%}
.slip-items th:nth-child(1),.slip-items td:nth-child(1){width:68%}.slip-items th:nth-child(2),.slip-items td:nth-child(2){width:32%}
.thermal-footer{border-top:1px dashed #000;margin-top:5px;padding-top:4px;font-size:7.5px;line-height:1.3}
.thermal-footer div{padding:1px 0}
@media print{.thermal-brand{border-color:#000}.thermal-meta,.thermal-section,.thermal-party,.thermal-total-grid,.thermal-footer{border-color:#000}}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
