.thermal{color:#000;background:#fff;font-family:Arial,sans-serif;font-size:9pt;line-height:1.3;overflow-wrap:anywhere}
.thermal p{margin:2px 0;color:inherit;line-height:1.3}
.thermal .t-center{text-align:center}
.thermal header{display:block;background:white;color:black;min-height:0;padding:0;box-shadow:none;border:0}
.thermal .t-brand{font-size:16pt;font-weight:900;margin:0}
.thermal .t-small{font-size:8pt}
.thermal .t-title{margin:8px 0 3px;border-block:1px solid #000;font-size:11pt;text-align:center;padding:4px 0}
.thermal .t-order{font-size:15pt;font-weight:800;margin:2px 0}
.thermal .t-rule{border:0;border-top:1px dashed #000;margin:6px 0}
.thermal .t-due{border:1px solid #000;text-align:center;padding:5px 2px;margin:7px 0;font-weight:750;break-inside:avoid}
.thermal .t-section{break-inside:avoid;margin:7px 0}
.thermal h3{font-size:9.5pt;margin:5px 0 2px}
.thermal table{width:100%;border-collapse:collapse;margin:3px 0;text-align:left}
.thermal td,.thermal th{font-size:inherit;padding:3px 2px;border:0;vertical-align:top;color:#000}
.thermal .t-rx th,.thermal .t-rx td{border:1px solid #000;text-align:center}
.thermal .t-rx th:first-child{text-align:left;width:15%}
.thermal .t-right{text-align:right;white-space:nowrap}
.thermal .t-item{border-bottom:1px solid #777}
.thermal .t-strong th,.thermal .t-strong td{border-top:1px solid #000;font-size:10pt;font-weight:800}
.thermal .t-sign{margin-top:19px;border-top:1px dashed #000;padding-top:4px;text-align:center}
.thermal .t-demo{margin-top:8px;font-size:7.5pt;text-align:center}
#printbox #preview{background:#fff;margin-inline:auto;border:1px solid #ddd;padding:4mm;width:min(var(--roll,80mm),100%)}
#printbox .roll-picker{margin-bottom:9px;grid-template-columns:1fr auto;align-items:center}
#printbox .roll-picker select{width:auto}
@media print{
 html,body{margin:0!important;padding:0!important;background:#fff!important}
 #paper{position:static!important;width:var(--roll,80mm)!important;padding:3mm var(--roll-pad,4mm)!important;margin:0!important}
}
