.dot-receipt{box-sizing:border-box;width:240mm;height:94mm;padding:5mm 15mm 4mm;color:#000;background:white;font:10pt SimSun,'宋体',serif;line-height:1.3;overflow:visible}
.dot-receipt *{box-sizing:border-box}.dot-receipt h2{text-align:center;font-size:15pt;margin:0 0 2mm}.receipt-meta{display:flex;justify-content:space-between;gap:4mm;margin-bottom:1mm;font-size:9pt;overflow-wrap:anywhere}.receipt-meta span:first-child{flex:1}.receipt-meta span:last-child{max-width:95mm}
.dot-receipt table{border-collapse:collapse;width:100%;table-layout:fixed}.dot-receipt td,.dot-receipt th{border:.2mm solid black;padding:1mm 1.5mm;font-size:9pt;font-weight:normal;text-align:left;color:black;overflow-wrap:anywhere;line-height:1.25}.dot-receipt th{font-weight:bold}.dot-receipt td:last-child,.dot-receipt th:last-child{text-align:right;white-space:nowrap}.receipt-sum{padding:1mm 0;text-align:right;font-weight:bold}.receipt-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:1mm;border-top:.2mm solid black;padding-top:1mm}.receipt-upper{padding:1mm 0;border-bottom:.2mm solid black}.dot-receipt footer{font-size:8pt;padding-top:1mm;line-height:1.4}
.box:has(.dot-receipt){width:min(1000px,96vw)}.receipt-preview{overflow:auto;border:1px solid #dce4e4;background:#eee}.receipt-warning{color:#8c5c13}.receipt-print-page{margin:0;padding:0;background:white}
@page{size:240mm 94mm;margin:0}
.receipt-fees col:nth-child(1){width:18%}.receipt-fees col:nth-child(2){width:30%}.receipt-fees col:nth-child(3){width:37%}.receipt-fees col:nth-child(4){width:15%}
@media print{html,body{margin:0!important;padding:0!important;background:white!important}.dot-receipt{margin:0;break-inside:avoid;page-break-inside:avoid}body.receipt-print-page{width:240mm}}
