.receipt-quantity{width:90px;min-width:74px;padding:9px;border:1px solid #b6c5d9;border-radius:8px;font:inherit;text-align:center;background:#fff;color:#172b45}
.receipt-quantity[aria-invalid="true"],.receipt-dialog input[aria-invalid="true"]{border:2px solid #c13636;background:#fff3f3}
.receipt-row-actions,.receipt-history-actions{display:flex;gap:5px;flex-wrap:wrap}.receipt-row-actions button,.receipt-history-actions button{padding:7px 10px;white-space:nowrap}
.receipt-void-filter{display:flex;align-items:center;gap:8px;margin:12px 0;color:#465d77}.receipt-void-filter input{width:auto;margin:0}
.receipt-matches{margin:12px 0 18px;padding:12px;border:1px solid #d5dfec;border-radius:10px;background:#f8faff}.receipt-matches table{min-width:480px}.receipt-matches td:first-child{overflow-wrap:anywhere}.receipt-matches h3{margin:0 0 10px}
.receipt-actions{padding:12px;border:1px solid #d8e1ed;border-radius:10px;background:#f8faff;margin-bottom:14px}.receipt-voided{display:inline-block;color:#9a3412;background:#fff0dc;border-radius:6px;padding:3px 7px;font-size:13px}
.receipt-overlay{position:fixed;inset:0;z-index:100000;background:rgba(13,24,45,.72);display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto}
.receipt-dialog{box-sizing:border-box;background:#fff;color:#1b293e;border-radius:14px;padding:22px;width:min(760px,100%);max-height:94vh;overflow:auto;box-shadow:0 18px 55px #0005}.receipt-dialog h3{margin-top:0;font-size:20px}
.receipt-dialog input,.receipt-dialog select{box-sizing:border-box;min-width:0;width:100%;padding:10px;border:1px solid #bfccde;border-radius:8px;background:#fff;font:inherit;color:#1b293e}.receipt-dialog input:focus,.receipt-dialog select:focus,.receipt-quantity:focus{outline:3px solid #a5c6ff;outline-offset:1px}
.receipt-impact{padding:12px;background:#fff8e9;border-left:4px solid #e5b44c;border-radius:5px;font-size:14px;line-height:1.6}
.receipt-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e0e7f1}.receipt-editor-row label{margin:0;font-size:14px}.receipt-editor-row button{margin-bottom:0;white-space:nowrap;min-height:42px}
.receipt-dialog-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.receipt-dialog-buttons button{min-height:44px}.receipt-void-lines{max-height:220px;overflow:auto;padding-left:24px}.receipt-dialog button:disabled,.receipt-quantity:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.receipt-overlay{padding:8px;align-items:flex-start;padding-top:max(12px,env(safe-area-inset-top))}.receipt-dialog{padding:16px;max-height:calc(100vh - 24px)}.receipt-editor-row{grid-template-columns:minmax(0,1fr) 88px}.receipt-editor-row button{grid-column:1/-1;justify-self:start}.receipt-dialog-buttons button{flex:1 1 180px}.receipt-quantity{width:80px}}
