.template-dimmed{opacity:.45}.template-vars{flex-wrap:wrap;gap:.35rem;display:flex}.template-var{font-family:var(--mono);cursor:pointer;border:1px solid var(--border-strong);background:var(--surface-alt);color:var(--text);border-radius:6px;padding:.2rem .5rem;font-size:.75rem}.template-var:hover{border-color:var(--primary);color:var(--primary)}.receipt-preview{position:sticky;top:80px}.receipt-business{margin:.25rem 0;font-size:14px;font-weight:700}.receipt-logo{object-fit:contain;max-width:120px;max-height:60px;margin:0 auto .25rem;display:block}.receipt-logo-placeholder{opacity:.45;letter-spacing:2px;border:1px dashed;justify-content:center;align-items:center;width:120px;height:44px;margin:0 auto .25rem;display:flex}.receipt-note{white-space:pre-wrap;margin-top:.25rem;font-style:italic}.receipt-line{justify-content:space-between;gap:.5rem;display:flex}.receipt-qty{text-align:right;width:36px}.receipt-total{margin-top:.2rem;font-size:14px;font-weight:700}.receipt-barcode{letter-spacing:1px;margin-top:.5rem;font-size:18px}