.domochi-prebill{box-sizing:border-box;width:var(--receipt-width,80mm);padding:var(--receipt-margin,4mm);font:var(--receipt-font,12px)/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:white;color:#111;overflow-wrap:anywhere;max-width:100%}.prebill-block{margin:var(--receipt-gap,4mm) 0;white-space:pre-wrap;break-inside:avoid}.prebill-block.align-center{text-align:center}.prebill-block.align-right{text-align:right}.prebill-block.size-small{font-size:.85em}.prebill-block.size-large{font-size:1.3em}.prebill-block small,.prebill-legal{font-size:.8em}.prebill-block hr{border:0;border-top:1px dashed #444}.prebill-row{display:flex;justify-content:space-between;gap:12px;text-align:left}.prebill-row span{min-width:0;flex:1}.prebill-row b{flex:none}.prebill-item{margin-bottom:8px}.prebill-space{height:5mm}.prebill-stamp{text-align:center;font-weight:bold;border-block:1px solid #333;padding:5px 0;font-size:11px}.prebill-legal{text-align:center;border-top:1px dashed #333;padding-top:8px}.prebill-preview-label{text-align:center;font:11px system-ui;color:#a24b4e;margin-bottom:10px}@media print{body>.print-sheet{width:auto!important;padding:0!important;margin:0!important}.print-sheet .domochi-prebill{max-width:none}.prebill-preview-label{display:none}@page{margin:0;size:auto}}

.prebill-logo{display:inline-block;width:70%;max-width:42mm;filter:grayscale(1);mix-blend-mode:multiply}
