.receipt-options{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:20px}.receipt-preview{overflow:auto;padding:12px;background:#eee9eb;border-radius:10px}.receipt-sheet{width:210mm;height:297mm;padding:8mm;box-sizing:border-box;background:#fff;display:grid;grid-template-rows:136.5mm 136.5mm;gap:8mm 6mm;margin:0 auto 15px}.receipt-sheet.half{grid-template-columns:194mm}.receipt-sheet.quarter{grid-template-columns:94mm 94mm}.voucher{border:.25mm dashed currentColor;padding:4mm;display:flex;flex-direction:column;min-height:0;box-sizing:border-box;font-size:11px;line-height:1.65;overflow-wrap:anywhere;background:white}.quarter .voucher{font-size:10px;padding:3mm}.voucher-header{display:flex;flex-direction:column;align-items:center;text-align:center;flex:none;padding-bottom:2mm;border-bottom:.2mm solid currentColor;margin-bottom:2mm}.voucher-header .brand-mark{width:76px;height:48px;flex:none}.voucher-header .brand-mark img{width:132px;height:132px;left:-28px;top:-37px}.voucher-header h2{font-size:13px;margin:1mm 0;line-height:1.8;white-space:pre-wrap}.quarter .voucher-header h2{font-size:12px}.voucher-header>strong{font-size:11px}.voucher-header small{font-size:9px}.voucher-id{max-width:100%;overflow-wrap:anywhere;font-family:system-ui,sans-serif}.voucher-body{flex:1;min-height:0;overflow:visible}.voucher-line{display:flex;flex-wrap:wrap;gap:0 2mm;align-items:baseline;padding:.7mm 0;border-bottom:.15mm dotted #d5c4c9;white-space:pre-wrap;break-inside:avoid}.voucher-line b{font-weight:700}.voucher-line span{overflow-wrap:anywhere}.voucher-footer{flex:none;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1mm;padding-top:3mm;font-size:8px}.quarter .voucher-footer{flex-direction:column}.receipt-measure{position:absolute;left:-10000px;top:0;visibility:hidden;pointer-events:none}#print-root{display:none}#print-error{color:#ac2040;margin-top:14px}
@media(max-width:650px){.receipt-options{grid-template-columns:1fr}.receipt-preview{padding:5px}}
@media print{@page{size:A4 portrait;margin:0}html,body{margin:0!important;padding:0!important;background:#fff!important}body>*{display:none!important}body>#print-root{display:block!important}.receipt-sheet{margin:0;break-after:page;page-break-after:always;break-inside:avoid;page-break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.receipt-sheet:last-child{break-after:auto;page-break-after:auto}.voucher{break-inside:avoid;page-break-inside:avoid}.receipt-measure{display:none!important}}
