.transaction-history-page{min-height:calc(100vh - var(--cashier-nav-height));padding:10px 8px calc(var(--cashier-nav-height) + 20px);background:#fff}.history-toolbar{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.history-search,.history-date-filter{color:#718198;background:#f3f4f6;border-radius:999px;align-items:center;gap:9px;min-height:47px;padding:0 14px;display:flex}.history-search{border:1px solid #cbd5e1;flex:275px;min-width:0;max-width:275px}.history-date-filter{cursor:pointer;flex:none;padding:0 12px}.history-search input,.history-date-filter input{color:#111827;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:.75rem;font-weight:600}.history-date-filter input{width:0;padding:0}.history-date-filter input::-webkit-datetime-edit{display:none}.history-date-filter input::-webkit-calendar-picker-indicator{display:none}.history-date-filter button{color:#fff;cursor:pointer;background:#aab4c2;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.history-search button{color:#fff;background:0 0;border:0;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:grid;position:relative}.history-search button:before{content:"";background:#aab4c2;border-radius:999px;width:24px;height:24px;position:absolute}.history-search button .icon{position:relative}.history-search button:focus-visible{outline-offset:2px;outline:3px solid #2563eb59}.history-search input::-webkit-search-cancel-button{appearance:none}.history-tabs{background:#f1f5f9;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;display:grid}.history-tabs button{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:37px;padding:4px 7px;font-size:.75rem;font-weight:700}.history-tabs .history-tab-active{color:#111827;background:#fff;box-shadow:0 1px 5px #0f172a1f}.history-pagination-row{color:#667792;justify-content:space-between;align-items:center;min-height:42px;font-size:.7rem;display:flex}.history-scope-filter{align-items:center;gap:5px;margin-left:auto;display:flex}.history-scope-label{color:#64748b;font-size:.64rem;font-weight:700}.history-scope-filter button{color:#64748b;min-width:32px;height:32px;font:inherit;background:#fff;border:2px solid #101828;border-radius:6px;justify-content:center;align-items:center;gap:3px;padding:0 7px;font-size:.64rem;font-weight:700;display:inline-flex}.history-scope-filter .history-scope-active{color:#1d4ed8;background:#dbe7ff;border-color:#93c5fd}.history-page-controls{align-items:center;gap:6px;margin-left:4px;display:flex}.history-page-controls button{color:#475569;background:#fff;border:2px solid #101828;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;font-size:1rem;display:grid}.history-page-controls button:disabled,.history-bottom-pagination button:disabled{opacity:1}.history-page-controls b{color:#111827;text-align:center;min-width:30px}.history-bottom-pagination{border-top:1px solid #101828;grid-template-columns:auto 32px minmax(0,1fr) 32px auto;align-items:center;gap:8px;margin-top:8px;padding:10px 0 2px;display:grid}.history-bottom-pagination button{color:#111827;background:#fff;border:2px solid #101828;border-radius:6px;min-height:36px;padding:0 10px;font-size:.72rem;font-weight:700}.history-bottom-pagination button:nth-of-type(2),.history-bottom-pagination button:nth-of-type(3){padding:0;font-size:1rem}.history-bottom-pagination strong{color:#111827;text-align:center;font-size:.74rem}.history-item-wrapper{display:grid}.sold-item-card{background:#fff;border:2px solid #101828;border-left:4px solid;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-height:0;padding:10px 12px;display:grid;box-shadow:1px 1px #101828}.sold-item-orange{border-left-color:#f59e0b}.sold-item-cyan{border-left-color:#22b8cf}.sold-item-violet{border-left-color:#8b5cf6}.sold-item-emerald{border-left-color:#10b981}.sold-item-red{border-left-color:#f43f5e}.sold-item-refunded-full{background:#fff1f2;border-top-color:#fecdd3;border-bottom-color:#fecdd3;border-right-color:#fecdd3;box-shadow:0 2px 3px #e11d4821}.history-search-result-card{border-top-color:#93c5fd;border-bottom-color:#93c5fd;border-right-color:#93c5fd;box-shadow:0 0 0 1px #2583ff29,0 2px 3px #2583ff1f}.sold-item-refunded-full.history-search-result-card{border-top-color:#93c5fd;border-bottom-color:#93c5fd;border-right-color:#93c5fd}.history-search-result-badge{display:none}.history-search-summary{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:2px 0 8px;padding:7px 12px;font-size:.78rem;font-weight:600}mark.history-search-hit{color:inherit;background:#fef08a;border-radius:4px;padding:0 2px}.history-search-mate-card{opacity:.62}.history-cashier-badge{color:#15803d;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;align-items:center;max-width:120px;margin:0 0 3px 6px;padding:3px 7px;font-size:.56rem;font-weight:700;line-height:1;display:inline-flex;overflow:hidden}.sold-item-details{min-width:0}.sold-item-code{color:#101010;background:#ffe45c;border:2px solid #101828;border-radius:4px;padding:4px 8px;font-size:.61rem;display:inline-block}.sold-item-full-refund-badge{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:4px;margin-left:5px;padding:4px 6px;font-size:.56rem;font-weight:700;display:inline-block}.sold-item-refund-cancelled-badge{color:#0369a1;letter-spacing:.02em;text-transform:uppercase;background:#f0f9ff;border:1px solid #bae6fd;border-radius:999px;margin-left:5px;padding:4px 7px;font-size:.56rem;font-weight:700;display:inline-block}.sold-item-actions{justify-items:end;gap:4px;display:grid}.sold-item-date{color:#507091;white-space:nowrap;justify-content:flex-end;align-items:center;gap:4px;margin:0;font-size:.64rem;display:flex}.sold-item-date .icon{color:#1d4ed8}span.history-relative-date,.receipt-history-card span.history-relative-date{color:#168152;background:#ecfdf5;border:1px solid #86efac;border-radius:999px;padding:3px 6px;font-size:.54rem}span.history-relative-date-yesterday,.receipt-history-card span.history-relative-date-yesterday{color:#dc2626;background:#fef2f2;border-color:#fecaca}span.history-relative-date-two-days,.receipt-history-card span.history-relative-date-two-days{color:#c2410c;background:#fff7ed;border-color:#fed7aa}span.history-relative-date-three-days,.receipt-history-card span.history-relative-date-three-days{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.sold-item-card h2{color:#111827;margin:2px 0;font-size:.82rem}.sold-item-calculation{color:#667792;margin:0;font-size:.68rem}.sold-item-details>strong{color:#1d4ed8;margin-top:6px;font-size:.95rem;display:block}.sold-item-details>.sold-item-full-refund-amount{color:#dc2626}.history-refund-unavailable{color:#64748b;margin:5px 0 0;font-size:.62rem;font-weight:600;line-height:1.35}.history-item-has-refund{gap:0}.history-item-has-refund .sold-item-card{position:relative}.history-item-has-refund .sold-item-card:after{content:"";background:#fb923c;width:2px;height:13px;position:absolute;bottom:-13px;left:35px}.history-refund-subcard{width:calc(100% - 44px);margin:12px 0 4px 44px;position:relative}.history-refund-subcard:before{content:"";border-bottom:2px solid #fb923c;border-left:2px solid #fb923c;border-bottom-left-radius:7px;width:9px;height:13px;position:absolute;top:-13px;left:-9px}.history-refund-subcard-content{color:#9a3412;background:#fff7ed;border:1px solid #fdba74;border-radius:8px;min-width:0;padding:9px 10px}.history-refund-subcard-full .history-refund-subcard-content{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.sold-item-refund-quantity{flex-wrap:wrap;gap:4px 7px;margin:0;font-size:.68rem;display:flex}.sold-item-refund-quantity span{color:#dc2626;font-weight:700}.sold-item-refund-quantity b{color:#168152;font-weight:700}.history-refund-title{color:#c2410c;text-transform:uppercase;flex-wrap:wrap;align-items:center;gap:5px;margin:0;font-size:.62rem;font-weight:800;display:flex}.history-refund-title b{color:#3f526b;letter-spacing:0;background:#fff;border:2px solid #101828;border-radius:4px;padding:3px 6px;font-size:.55rem}.history-refund-title .history-refund-timing{color:#b45309;text-transform:none;font-size:.59rem;font-weight:700}.history-refund-subcard-content>p:not(.history-refund-title){color:#9a6b4d;margin:7px 0 8px;font-size:.64rem}.history-refund-subcard-content>p:not(.history-refund-title) strong{color:#7c2d12}.history-refund-subcard-full .history-refund-title,.history-refund-subcard-full .history-refund-subcard-content>p:not(.history-refund-title){color:#9f4a4a}.history-refund-subcard-full .history-refund-subcard-content>p:not(.history-refund-title) strong{color:#991b1b}.history-refund-value{border-top:1px solid #fed7aa;justify-content:space-between;align-items:baseline;gap:8px;padding-top:7px;font-size:.61rem;display:flex}.history-refund-subcard-full .history-refund-value{border-top-color:#fecaca}.history-refund-value span{color:#9a6b4d;font-weight:700}.history-refund-value strong{color:#c2410c;font-size:.75rem}.history-refund-subcard-full .history-refund-value span{color:#9f4a4a}.history-refund-subcard-full .history-refund-value strong{color:#b91c1c}.refund-button{color:#e02020;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:6px;justify-content:center;align-items:center;gap:4px;min-width:82px;min-height:44px;padding:0 10px;font-size:.68rem;display:flex;box-shadow:0 2px 3px #e11d4821}.refund-button:disabled{color:#94a3b8;box-shadow:none;cursor:not-allowed;background:#f8fafc;border-color:#101828}.refund-read-model-note{color:#64748b;margin:7px 0 0;font-size:.7rem;line-height:1.4}.refund-notice,.refund-recovery{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;grid-column:1/-1;align-items:center;gap:10px;margin:8px 0;padding:10px 12px;font-size:.74rem;display:flex}.refund-notice{justify-content:space-between}.refund-notice button{color:#285683;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;min-width:32px;height:32px;padding:0;display:grid}.refund-recovery{color:#713f12;background:#fffbeb;border-color:#fcd34d;align-items:flex-start}.refund-recovery>.icon{color:#1d4ed8;min-width:21px}.refund-recovery>div:first-of-type{flex:1;min-width:0}.refund-recovery b,.refund-recovery p{margin:0}.refund-recovery p{margin-top:3px;font-size:.68rem}.refund-recovery>div:last-child,.refund-dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.refund-recovery button,.refund-dialog-actions button,.refund-confirm-button{color:#334155;min-height:42px;font:inherit;background:#fff;border:2px solid #101828;border-radius:7px;padding:0 10px;font-size:.74rem;font-weight:700}.refund-recovery button:last-child,.refund-confirm-button{color:#fff;background:#dc2626;border-color:#dc2626}.refund-confirm-button:disabled{color:#94a3b8;background:#e5e7eb;border-color:#e5e7eb}.history-debt-badge{color:#c2410c;text-align:center;background:#fff7ed;border:1px solid #fdba74;border-radius:5px;max-width:120px;padding:4px 6px;font-size:.56rem;font-weight:700;line-height:1.2}.history-loading-state,.history-error-state{color:#64748b;text-align:center;justify-items:center;gap:10px;min-height:220px;padding:24px;display:grid}.history-loading-state span{background:#f1f5f9;border-radius:10px;width:min(100%,360px);height:58px;animation:1.2s ease-in-out infinite history-skeleton-pulse}.history-error-state h2{color:#334155;margin:0;font-size:1rem}.history-error-state p{max-width:360px;margin:0;font-size:.78rem}.history-error-state button{color:#1d4ed8;min-height:36px;font:inherit;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:0 12px;font-size:.74rem;font-weight:700}@keyframes history-skeleton-pulse{50%{opacity:.55}}.transaction-divider{color:#667792;text-align:center;margin:17px 0;font-size:.62rem;position:relative}.transaction-divider:before,.transaction-divider:after{content:"";background:#101828;width:35%;height:1px;position:absolute;top:50%}.transaction-divider:before{left:0}.transaction-divider:after{right:0}.history-simple-state,.history-empty-state{color:#b6c0cd;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex}.history-simple-state h2{color:#334155;margin:14px 0 5px;font-size:1rem}.history-simple-state p,.history-empty-state p{color:#667792;max-width:390px;margin:0;font-size:.78rem}.refund-dialog{gap:10px;padding:28px;display:grid;overflow-y:auto}@media (width<=520px){.modal-panel-refund-draft{align-self:start;max-height:calc(100dvh - 36px)}}.refund-dialog>.icon{color:#dc2626}.refund-dialog-draft h2{text-align:center}.refund-dialog h2{color:#111827;margin:0;font-size:1.08rem}.refund-dialog p{color:#667792;margin:0;font-size:.8rem}.refund-dialog label{color:#334155;font-size:.8rem;font-weight:700}.refund-dialog small{color:#718198;margin-top:-6px;font-size:.68rem}.refund-dialog textarea{color:#111827;resize:vertical;width:100%;min-height:92px;font:inherit;border:2px solid #101828;border-radius:7px;padding:10px;font-size:.82rem}.refund-dialog textarea:focus{border-color:#60a5fa;outline:2px solid #2563eb2e}.refund-dialog-product{text-align:center}.refund-dialog-product b{color:#111827}.refund-dialog-impact{text-align:center;max-width:290px;margin-inline:auto!important}.refund-quantity-card,.refund-reason-card{background:#fff7f7;border:1px solid #fecaca;border-radius:8px;justify-items:center;gap:7px;padding:14px;display:grid}.refund-quantity-card>p{text-align:center;font-weight:700;color:#b91c1c!important;font-size:.78rem!important}.refund-quantity-stepper{grid-template-columns:45px 82px 45px;align-items:center;gap:14px;display:grid}.refund-quantity-stepper button{color:#111827;background:#fff;border:1px solid #fca5a5;border-radius:7px;place-items:center;width:45px;height:45px;padding:0;display:grid}.refund-quantity-stepper button:disabled{color:#94a3b8;background:#f8fafc;border-color:#e5e7eb}.refund-quantity-stepper .zpos-text-input{color:#dc2626;min-width:0;min-height:45px;box-shadow:none;text-align:center;background:0 0;border:0;border-bottom:2px solid #fca5a5;border-radius:0;padding:5px 8px;font-size:1.28rem;font-weight:800}.refund-quantity-stepper .zpos-text-input:focus-visible{border-color:#dc2626;box-shadow:0 2px #dc262633}.refund-quantity-card>small{color:#64748b;margin-top:-4px}.refund-quantity-card>strong{color:#c2410c;font-size:.79rem}.refund-quantity-card>.refund-quantity-invalid{color:#b91c1c;font-weight:700}.refund-quantity-card>.refund-availability-note{color:#b45309;text-align:center;margin-top:0}.refund-reason-card{background:#f8fafc;border-color:#101828;place-items:start stretch}.refund-reason-card label{color:#334155}.refund-reason-card label span{color:#dc2626}.refund-reason-card textarea{background:#fff;min-height:74px}.refund-reason-card small{margin:-2px 0 0}.refund-dialog-draft-actions{grid-template-columns:1fr}.refund-dialog-draft-actions .refund-confirm-button{justify-content:center;align-items:center;gap:7px;display:flex}.refund-server-note{background:#fffbeb;border-left:3px solid #1d4ed8;padding:8px 10px;color:#713f12!important;font-size:.72rem!important}.refund-error{background:#fef2f2;border:1px solid #fecaca;padding:9px 10px;color:#b91c1c!important;font-size:.74rem!important}.refund-operation-id{font-weight:700;color:#475569!important;font-size:.72rem!important}.refund-receipt-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.refund-receipt-summary div{background:#f8fafc;border:2px solid #101828;padding:10px}.refund-receipt-summary dt{color:#64748b;font-size:.66rem}.refund-receipt-summary dd{color:#111827;margin:4px 0 0;font-size:.78rem;font-weight:700}.receipt-history-cards,.debt-list-cards{gap:9px;display:grid}.receipt-history-card,.debt-list-card{color:#111827;width:100%;min-height:78px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:2px solid #101828;border-left:4px solid #1d4ed8;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 12px;display:grid;box-shadow:0 2px 3px #0f172a14}.receipt-history-orange{border-left-color:#f59e0b}.receipt-history-cyan{border-left-color:#22b8cf}.receipt-history-violet{border-left-color:#8b5cf6}.receipt-history-emerald{border-left-color:#10b981}.receipt-history-red{border-left-color:#f43f5e}.receipt-history-card.history-search-result-card{border-top-color:#93c5fd;border-bottom-color:#93c5fd;border-right-color:#93c5fd}.debt-list-card{border-left-color:#1d4ed8}.debt-list-card-open{background:#fff7f7;border-left-color:#ef4444}.debt-list-card-open strong{color:#dc2626}.debt-name-row{align-items:center;gap:6px;min-width:0;display:flex}.debt-name-row b{min-width:0}.owner-debt-list-page{padding:4px 0 32px}.owner-debt-list{max-width:880px;margin:0 auto}.owner-debt-list .debt-list-header{align-items:center}.owner-debt-refresh{color:#334155;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:6px;padding:7px 12px;font-size:.72rem;font-weight:700;display:inline-flex}.receipt-history-card>div,.debt-list-card>div{align-content:start;gap:4px;min-width:0;display:grid}.receipt-history-card>div:last-child,.debt-list-card>div:last-child{text-align:right;justify-items:end}.receipt-history-card b,.debt-list-card b{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.receipt-history-card span.receipt-code-row{color:#111827;min-width:0;max-width:100%;font-size:inherit;align-items:center;gap:6px;margin:0;display:inline-flex}.receipt-history-card span.receipt-code-row b{flex:0 auto;min-width:0}.receipt-history-card span.receipt-code-row .history-cashier-badge{color:#15803d;flex:0 auto;min-width:0;margin:0;font-size:.56rem}.receipt-history-card span,.receipt-history-card small,.debt-list-card span,.debt-list-card small{color:#667792;font-size:.67rem}.receipt-debt-state{background:#fff7ed;border:1px solid #fdba74;border-radius:999px;padding:2px 5px;font-weight:700;color:#c2410c!important}.receipt-debt-state-open{background:#dc2626;border-color:#b91c1c;padding:3px 8px;font-weight:800;color:#fff!important}.receipt-debt-state-settled{background:#ecfdf5;border-color:#86efac;color:#15803d!important}.receipt-debt-state-closed_by_refund{background:#f8fafc;border-color:#cbd5e1;color:#475569!important}.receipt-history-card strong,.debt-list-card strong{color:#1d4ed8;font-size:.92rem}.receipt-guest-label{color:#334155;font-weight:700}.receipt-history-card:focus-visible,.debt-list-card:focus-visible,.debt-settlement-actions button:focus-visible,.receipt-detail-close:focus-visible,.receipt-action-done:focus-visible{outline-offset:2px;outline:3px solid #2563eb59}.debt-detail-dialog,.debt-list-dialog{gap:12px;padding:26px;display:grid;overflow-y:auto}.debt-detail-dialog>.icon,.debt-list-header>.icon{color:#1d4ed8}.debt-detail-dialog h2,.debt-list-dialog h2{color:#111827;margin:0;font-size:1.05rem}.debt-list-header p,.debt-settlement-history{color:#667792;margin:0;font-size:.74rem}.debt-detail-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;display:grid}.debt-detail-totals div{background:#f8fafc;border:2px solid #101828;border-radius:7px;padding:9px}.debt-detail-totals dt{color:#64748b;font-size:.65rem}.debt-detail-totals dd{color:#111827;margin:3px 0 0;font-size:.74rem;font-weight:700}.debt-detail-totals div:last-child{background:#fffbeb;border-color:#fde68a}.debt-settlement-actions button{color:#1d4ed8;min-height:44px;font:inherit;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;padding:0 12px;font-size:.78rem;font-weight:700}.receipt-detail-time{color:#667792;margin:0;font-size:.74rem}.receipt-detail-items{gap:7px;max-height:260px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.receipt-detail-items li{border-bottom:1px solid #e5edf4;justify-content:space-between;gap:10px;padding:8px 0;display:flex}.receipt-detail-items li>div{gap:2px;min-width:0;display:grid}.receipt-detail-items b{color:#475569;font-size:.65rem}.receipt-detail-items span{color:#111827;font-size:.76rem;font-weight:700}.receipt-detail-items small{color:#718198;font-size:.65rem}.receipt-detail-items strong{color:#1d4ed8;white-space:nowrap;align-self:center;font-size:.75rem}.receipt-detail-close{color:#1d4ed8;min-height:44px;font:inherit;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;padding:0 12px;font-size:.78rem;font-weight:700}.debt-list-header{align-items:flex-start;gap:10px;display:flex}.debt-list-header>div{gap:3px;display:grid}.debt-list-search{color:#718198;background:#f3f4f6;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:0 12px;display:flex}.debt-list-search input{color:#111827;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:.72rem;font-weight:700}.debt-list-tabs{background:#f1f5f9;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.debt-list-tabs button{color:#64748b;min-height:44px;font:inherit;background:0 0;border:0;border-radius:6px;font-size:.75rem;font-weight:700}.debt-list-tabs .debt-list-tab-active{color:#111827;background:#fff;box-shadow:0 1px 5px #0f172a1f}.debt-state-badge{border:1px solid;border-radius:999px;justify-content:center;padding:3px 6px;font-size:.58rem;font-weight:700;line-height:1.2;display:inline-flex}.debt-state-open{color:#c2410c;background:#fff7ed;border-color:#fdba74}.debt-state-settled{color:#15803d;background:#ecfdf5;border-color:#86efac}.debt-state-closed_by_refund{color:#475569;background:#f8fafc;border-color:#cbd5e1}.debt-age-badge{color:#b91c1c;background:#fee2e2;border-radius:999px;flex:none;padding:2px 7px;font-size:.62rem;font-weight:700;line-height:1.3}.debt-server-note,.debt-settlement-confirm{color:#713f12;background:#fffbeb;border-left:3px solid #1d4ed8;margin:0;padding:9px 10px;font-size:.72rem}.debt-settlement-confirm{border:1px solid #fcd34d;gap:8px;display:grid}.debt-settlement-confirm p{margin:0}.debt-settlement-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.debt-settlement-actions button:last-child{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.receipt-detail-loading,.receipt-detail-error{color:#64748b;text-align:center;justify-items:center;gap:10px;min-height:180px;display:grid}.receipt-detail-loading span{background:#f1f5f9;border-radius:8px;width:min(100%,300px);height:34px;animation:1.2s ease-in-out infinite history-skeleton-pulse}.receipt-detail-error h2,.receipt-detail-error p{margin:0}.receipt-detail-error button{color:#1d4ed8;min-height:44px;font:inherit;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;padding:0 12px;font-weight:700}@media (width>=1024px){.transaction-history-page{max-width:1040px;padding:24px 28px calc(var(--cashier-nav-height) + 28px);margin:0 auto}.sold-items-history,.receipts-history{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.receipt-history-cards{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.history-pagination-row{grid-column:1/-1}.transaction-divider{display:none}}@media (width<=390px){.history-toolbar{grid-template-columns:1fr}.history-tabs button{font-size:.68rem}}.modal-panel-receipt{background:#eef2f7;border-color:#101828}.receipt-detail-dialog{gap:12px;padding:16px;display:grid;overflow-y:auto}.receipt-thermal-paper{font-variant-numeric:tabular-nums;background:#fff;border:1px solid #e2e8f0;border-bottom:0;border-radius:12px 12px 0 0;gap:11px;padding:20px 20px 16px;display:grid}.receipt-thermal-kop{text-align:center;border-bottom:4px double #334155;gap:3px;margin:0;padding-bottom:9px;display:grid}.receipt-thermal-kop strong{letter-spacing:.12em;color:#1d2939;font-family:ui-monospace,Courier New,monospace;font-size:1.06rem}.receipt-thermal-kop span{color:#667792;font-size:.7rem}.receipt-thermal-meta{color:#64748b;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:.68rem;display:flex}.receipt-thermal-meta b{color:#334155;font-weight:700}.receipt-thermal-extras{gap:4px;display:grid}.receipt-thermal-extras p{color:#64748b;justify-content:space-between;gap:10px;margin:0;font-size:.7rem;display:flex}.receipt-thermal-extras b{color:#334155;font-weight:700}.receipt-thermal-rule{border:0;border-top:1px dashed #cbd5e1;margin:0}.receipt-thermal-items{gap:9px;margin:0;padding:0;font-family:ui-monospace,Courier New,monospace;list-style:none;display:grid}.receipt-thermal-items li{grid-template-columns:minmax(0,1fr) auto;gap:1px 10px;display:grid}.receipt-thermal-item-name{overflow-wrap:anywhere;color:#111827;font-size:.76rem;font-weight:700;line-height:1.4}.receipt-thermal-items strong{color:#b45309;white-space:nowrap;grid-area:1/2;align-self:center;font-size:.8rem}.receipt-thermal-items small{color:#718198;font-size:.66rem;line-height:1.5}.receipt-thermal-items small s{color:#94a3b8}.receipt-thermal-summary{gap:5px;font-family:ui-monospace,Courier New,monospace;display:grid}.receipt-thermal-summary-row{color:#475569;justify-content:space-between;align-items:baseline;gap:10px;font-size:.74rem;display:flex}.receipt-thermal-summary-row span{letter-spacing:.08em;text-transform:uppercase;font-weight:800}.receipt-thermal-summary-row strong{color:#334155}.receipt-thermal-summary-discount{color:#b42318;font-weight:700}.receipt-thermal-summary-discount strong{color:#b42318}.receipt-thermal-summary-total{color:#1d2939;border-top:1px dashed #cbd5e1;padding-top:8px;font-size:.86rem}.receipt-thermal-summary-total strong{color:#dd7500;font-size:1.42rem}.receipt-thermal-summary-solo{border-top:0;padding-top:0}.receipt-thermal-foot{color:#94a3b8;letter-spacing:.14em;text-align:center;margin:0;font-size:.66rem}.receipt-tear{filter:drop-shadow(0 1px 1px #0f172a14);background:linear-gradient(-45deg,#fff 7px,#0000 0) 0 0/10px 10px repeat-x,linear-gradient(45deg,#fff 7px,#0000 0) 0 0/10px 10px repeat-x;height:10px;margin-top:-12px}.receipt-actions{gap:8px;display:flex}.receipt-action-print,.receipt-action-done{min-height:44px;font:inherit;border-radius:7px;flex:1;padding:0 12px;font-size:.78rem;font-weight:700}.receipt-action-print{color:#475569;cursor:default;background:#fff;border:1px solid #cbd5e1}.receipt-action-done{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe}.receipt-card-original-price{color:#98a2b3!important;font-size:.72rem!important}.receipt-card-original-price s{text-decoration-thickness:1.5px}.receipt-discount-chip{white-space:nowrap;background:#fff1f2;border:1px solid #fecaca;border-radius:999px;padding:2px 7px;font-weight:700;color:#c22114!important;font-size:.68rem!important}.history-pending-queue{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin-top:10px;padding:10px 12px}.history-pending-queue h2{color:#92400e;align-items:center;gap:7px;margin:0 0 8px;font-size:.8rem;display:flex}.history-pending-queue ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.history-pending-queue li{background:#fff;border:1px solid #fde68a;border-radius:9px;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:7px 9px;font-size:.76rem;display:flex}.history-pending-queue li span:first-child{color:#6b7280}.history-pending-queue li strong{margin-left:auto}.history-pending-queue li small{color:#b45309;flex-basis:100%;font-weight:600}
