/* Kassenbeleg und Quittung (Vorschau und Druck). Eigene Datei, weil die Sicherheitsrichtlinie (style-src 'self') eingebettete Stilblöcke sperrt. */
.receipt{font:13px/1.45 system-ui,sans-serif;color:#111;max-width:320px;margin:0 auto}
.receipt-head{text-align:center;margin-bottom:10px}
.receipt-meta{border-top:1px dashed #999;border-bottom:1px dashed #999;padding:6px 0;margin:8px 0}
.receipt table{width:100%;border-collapse:collapse}
.receipt-items td{padding:3px 0;vertical-align:top}
.receipt-items td:last-child,.receipt-vat td:not(:first-child),.receipt-vat th:not(:first-child){text-align:right;white-space:nowrap}
.receipt small{color:#555}
.receipt-total{display:flex;justify-content:space-between;font-size:16px;border-top:1px solid #111;padding-top:6px;margin:8px 0}
.receipt-vat{font-size:11px;margin:6px 0}
.receipt-vat th{font-weight:600;text-align:left}
.receipt-pay{margin:8px 0}
.receipt-foot{text-align:center;margin-top:12px}
.receipt-void{text-align:center;font-weight:700;letter-spacing:.2em;border:2px solid #111;padding:4px}

.receipt-sign{margin:28px 0 0;font-size:11px;color:#555}
.receipt-sign span{display:block;border-top:1px solid #111;margin-bottom:2px}

/* TSE-Angaben (gleich Tse::CSS in PHP und Block tse-css in styles.css) */
.tse-block{font-family:Arial,Helvetica,sans-serif;display:flex;gap:12px;align-items:flex-start;border:1px solid #999;padding:8px;margin:14px 0 6px;font-size:10px;line-height:1.35;color:#222;break-inside:avoid}
.tse-qr-box{flex:0 0 auto}
.tse-qr{width:120px;height:120px;display:block}
.tse-title{font-weight:700;margin:0 0 4px}
.tse-data{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;margin:0}
.tse-data dt{color:#555}
.tse-data dd{margin:0;word-break:break-all}
.tse-note{margin:4px 0 0;font-weight:700}
.tse-fail{display:block;border-color:#b00;color:#b00}
.tse-fail p{margin:2px 0}
.receipt .tse-block{display:block;font-size:9px}
.receipt .tse-qr{margin:0 auto 6px}

/* zb-css */.zb{font-family:Arial,Helvetica,sans-serif;max-width:340px;font-size:12px;line-height:1.35;color:#111}.zb-title{font-weight:700;font-size:14px;margin:8px 0 4px}.zb-sub{font-weight:700;margin:10px 0 2px;border-bottom:1px solid #999}.zb-table{width:100%;border-collapse:collapse}.zb-table td{padding:1px 0;vertical-align:top}.zb-num{text-align:right;white-space:nowrap;padding-left:8px}.zb-small td{color:#555;font-size:11px}.zb-sum td{font-weight:700}.zb-warn td{color:#b00;font-weight:700}.zb-note{margin:8px 0 0}.zb-foot{margin:10px 0 0;font-size:10px;color:#555;word-break:break-all}/* /zb-css */
.receipt.zb{max-width:none}

/* Gutschein zum Verschenken (beta.176, Gestaltung beta.223 wie das PDF): nur Linien und Schrift farbig, keine Flächen (tonersparend) */
.receipt.voucher-print{max-width:460px;color:#222}
.voucher-frame{border:2px solid #8f6b33;outline:1px solid #8f6b33;outline-offset:-7px;padding:22px 26px 18px;text-align:center}
.voucher-print p{margin:0}
.voucher-house{font:15px/1.3 Georgia,"Times New Roman",serif;letter-spacing:.18em;text-transform:uppercase}
.voucher-addr{font-size:11px;color:#666;letter-spacing:.04em;margin-top:2px}
.voucher-orn{display:flex;align-items:center;gap:8px;max-width:180px;margin:12px auto!important;color:#8f6b33;font-size:12px}
.voucher-orn::before,.voucher-orn::after{content:"";flex:1;border-top:1px solid #8f6b33}
.voucher-print .voucher-title{font:italic 54px/1.1 Georgia,"Times New Roman",serif;color:#8f6b33;margin:4px 0 10px}
.voucher-print .voucher-for{font:italic 22px/1.3 Georgia,"Times New Roman",serif;margin:2px 0}
.voucher-print .voucher-for small{display:block;font-size:13px;color:#666}
.voucher-print .voucher-occ{font:italic 14px/1.4 Georgia,"Times New Roman",serif;color:#666;margin:4px 0}
.voucher-print .voucher-service{font:700 15px/1.4 Georgia,"Times New Roman",serif;margin:6px 0} /* Leistungsgutschein (beta.201) */
.voucher-value{border:2px solid #8f6b33;outline:1px solid #8f6b33;outline-offset:-6px;max-width:280px;margin:18px auto;padding:14px 10px 12px}
.voucher-value small{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#666}
.voucher-value strong{display:block;font:700 38px/1.15 Georgia,"Times New Roman",serif;color:#222}
.voucher-rows{width:auto!important;margin:0 auto 12px;border-collapse:collapse}
.voucher-rows th,.voucher-rows td{padding:5px 10px;border-bottom:1px solid #ccc;vertical-align:baseline}
.voucher-rows tr:last-child th,.voucher-rows tr:last-child td{border-bottom:0}
.voucher-rows th{font-size:9px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:#666;text-align:right}
.voucher-rows td{font:14px Georgia,"Times New Roman",serif;text-align:left}
.voucher-code-big{font:700 17px Arial,Helvetica,sans-serif;letter-spacing:.1em}
.voucher-text{font:italic 13px/1.45 Georgia,"Times New Roman",serif;margin:8px 0}
.voucher-contact{font-size:11px;color:#666}

/* Außer-Haus-Verkauf (beta.322): nur Rahmen und Schrift, keine Fläche (tonersparend) */
.receipt-away{text-align:center;font-weight:700;letter-spacing:.08em;border:1px solid #111;padding:4px;margin:6px 0}
.receipt-away small{font-weight:400;letter-spacing:0}
