@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap";:root{--rf-charcoal:#1f2933;--rf-teal:#0f766e;--rf-bright:#12a89d;--rf-burgundy:#9d1c3b;--rf-canvas:#f3f6f7;--rf-border:#dfe6e8;--rf-shadow:0 18px 50px #1627331f}*{box-sizing:border-box}body{min-height:100vh;color:var(--rf-charcoal);background:var(--rf-canvas);margin:0;font-family:Montserrat,sans-serif}button,input,select{font:inherit}.auth-page{background:linear-gradient(135deg,#f9fbfb,#edf4f4 55%,#dce9eb);grid-template-columns:minmax(320px,520px) 1fr;min-height:100vh;display:grid}.auth-panel{z-index:2;box-shadow:var(--rf-shadow);background:#fffffff0;flex-direction:column;justify-content:center;padding:clamp(2rem,6vw,5rem);display:flex;position:relative}.auth-visual{background:linear-gradient(145deg,#17263033,#0539422e),url(/brand/background.jpg) 50%/cover no-repeat;position:relative;overflow:hidden}.auth-visual:before,.auth-visual:after{content:"";border:1px solid #ffffff2e;border-radius:50%;width:80%;height:42%;position:absolute;transform:rotate(-16deg)}.auth-visual:before{top:13%;right:-15%}.auth-visual:after{bottom:5%;left:-22%}.visual-copy{color:#fff;position:absolute;bottom:12%;left:10%;right:10%}.visual-copy h2{letter-spacing:-.045em;max-width:650px;font-size:clamp(2rem,4vw,4.2rem);font-weight:800}.visual-copy p{color:#ffffffb8;max-width:580px;font-size:1.05rem}.brand{align-items:center;gap:.8rem;margin-bottom:3rem;display:flex}.brand-lockup{flex-wrap:wrap;gap:.7rem 1rem}.brand-logo{width:min(100%,280px);height:auto;display:block}.brand-product{color:var(--rf-teal);letter-spacing:.12em;text-transform:uppercase;background:#e8f6f4;border-radius:999px;padding:.38rem .62rem;font-size:.65rem;font-weight:800}.brand-mark{background:#fff;border-radius:14px;place-items:center;width:46px;height:46px;display:grid;overflow:hidden;box-shadow:0 10px 24px #0f766e40}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.brand-name{font-size:1.15rem;font-weight:800}.brand-subtitle{color:#7c8891;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:600;display:block}.eyebrow{color:var(--rf-teal);letter-spacing:.13em;text-transform:uppercase;margin-bottom:.6rem;font-size:.72rem;font-weight:800}.auth-panel h1{letter-spacing:-.04em;margin:0;font-size:clamp(1.9rem,3vw,2.65rem);font-weight:800}.lead-copy{color:#6b7780;margin:.8rem 0 2rem;line-height:1.7}.form-control,.form-select{border-color:#d8e0e3;border-radius:12px;min-height:50px}.form-control:focus,.form-select:focus{border-color:var(--rf-teal);box-shadow:0 0 0 .22rem #0f766e1f}.form-label{color:#46535d;font-size:.78rem;font-weight:700}.btn-rf{color:#fff;background:var(--rf-teal);border:0;border-radius:12px;min-height:50px;font-weight:700;transition:all .2s;box-shadow:0 10px 24px #0f766e38}.btn-rf:hover{color:#fff;background:#0b625c;transform:translateY(-1px)}.error-text{color:var(--rf-burgundy);margin-top:.45rem;font-size:.78rem}.cashier-shell{background:linear-gradient(145deg,#17252f,#164e55 58%,#7e1733);place-items:center;min-height:100vh;padding:2rem;display:grid}.cashier-card{background:#fffffff7;border-radius:28px;width:min(100%,920px);padding:clamp(1.4rem,4vw,3rem);box-shadow:0 34px 90px #0000004d}.cashier-layout{grid-template-columns:1fr 330px;align-items:center;gap:3rem;display:grid}.cashier-list{flex-wrap:wrap;gap:.7rem;display:flex}.cashier-chip{border:1px solid var(--rf-border);background:#f8fafb;border-radius:12px;padding:.7rem .9rem;font-size:.78rem;font-weight:700}.pin-display{height:58px;color:var(--rf-charcoal);border:1px solid var(--rf-border);letter-spacing:.45em;text-align:center;background:#f2f6f6;border-radius:14px;margin-bottom:1rem;font-size:1.8rem;font-weight:800}.pin-grid{grid-template-columns:repeat(3,1fr);gap:.65rem;display:grid}.pin-key{border:1px solid var(--rf-border);background:#fff;border-radius:13px;height:58px;font-size:1.05rem;font-weight:800;transition:all .15s}.pin-key:hover{color:var(--rf-teal);border-color:var(--rf-teal);background:#effaf8}.pos-topbar{z-index:20;color:#fff;background:var(--rf-charcoal);justify-content:space-between;align-items:center;gap:1rem;min-height:72px;padding:.8rem 1.2rem;display:flex;position:sticky;top:0;box-shadow:0 7px 24px #0f19212e}.pos-brand{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.75rem;padding:0;font-weight:800;display:flex}.pos-brand:hover{color:#a8f1e7}.pos-brand .brand-mark{border-radius:12px;width:40px;height:40px}.pos-brand .register-meta{display:block}.register-meta{color:#ffffff9e;font-size:.7rem;font-weight:600}.topbar-actions{align-items:center;gap:.65rem;display:flex}.cashier-badge{color:#e5fffb;background:#12a89d29;border:1px solid #12a89d59;border-radius:11px;padding:.55rem .8rem;font-size:.76rem;font-weight:700}.icon-button{color:#fff;background:#ffffff14;border:1px solid #ffffff1f;border-radius:11px;place-items:center;width:42px;height:42px;display:grid}.pos-workspace{grid-template-columns:minmax(0,1fr) minmax(340px,430px);min-height:calc(100vh - 72px);display:grid}.mode-list .pos-workspace{grid-template-columns:50% 50%}.mode-list .cart-pane{grid-template:"title options""cart summary"minmax(0,1fr)/minmax(0,1fr) minmax(0,1fr);gap:.8rem;display:grid}.mode-list .cart-title{grid-area:title;margin:0}.mode-list .operation-grid{grid-area:options;margin:0}.mode-list .cart-items,.mode-list .cart-empty{grid-area:cart;min-height:0}.mode-list .cart-summary{border-top:0;border-left:1px solid var(--rf-border);grid-area:summary;min-height:0;padding:0 0 0 .8rem;overflow-y:auto}.catalog-pane{padding:1.25rem;overflow:hidden}.catalog-toolbar{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;display:flex}.search-box{flex:320px;position:relative}.search-box input{border:1px solid var(--rf-border);background:#fff;border-radius:13px;width:100%;min-height:48px;padding:0 1rem 0 2.8rem}.search-box svg{color:#829098;position:absolute;top:14px;left:.9rem}.mode-toggle{background:#e7edef;border-radius:12px;gap:.35rem;padding:.3rem;display:flex}.mode-toggle button{background:0 0;border:0;border-radius:9px;padding:.55rem .8rem;font-size:.74rem;font-weight:700}.mode-toggle button.active{color:#fff;background:var(--rf-charcoal)}.category-strip{gap:.55rem;padding-bottom:.85rem;display:flex;overflow-x:auto}.category-button{white-space:nowrap;color:#53616a;border:1px solid var(--rf-border);background:#fff;border-radius:999px;padding:.55rem .85rem;font-size:.72rem;font-weight:700}.category-button.active{color:#fff;background:var(--rf-teal);border-color:var(--rf-teal)}.product-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.85rem;max-height:calc(100vh - 225px);padding:.15rem .2rem 2rem;display:grid;overflow-y:auto}.product-card{text-align:left;border:1px solid var(--rf-border);background:#fff;border-radius:17px;flex-direction:column;min-height:190px;transition:all .18s;display:flex;overflow:hidden;box-shadow:0 5px 16px #2336420e}.product-card:hover{border-color:#0f766e80;transform:translateY(-2px);box-shadow:0 12px 28px #0f766e1f}.product-image{color:#a4b2b8;background:linear-gradient(145deg,#edf4f4,#f8fbfb);place-items:center;height:94px;font-size:1.7rem;font-weight:800;display:grid}.product-image img{object-fit:cover;width:100%;height:100%}.product-info{flex-direction:column;flex:1;padding:.85rem;display:flex}.product-name{font-size:.78rem;font-weight:700;line-height:1.35}.product-sku{color:#8a969d;margin-top:.25rem;font-size:.62rem}.product-price{color:var(--rf-teal);margin-top:auto;font-size:.96rem;font-weight:800}.product-table{border-collapse:separate;border-spacing:0;border:1px solid var(--rf-border);background:#fff;border-radius:15px;width:100%;overflow:hidden}.product-table th,.product-table td{border-bottom:1px solid #edf1f2;padding:.8rem 1rem;font-size:.74rem}.product-table tr:last-child td{border-bottom:0}.product-table tbody tr{cursor:pointer}.product-table tbody tr:hover{background:#f0f9f7}.cart-pane{border-left:1px solid var(--rf-border);background:#fff;flex-direction:column;height:calc(100vh - 72px);padding:1.15rem;display:flex;position:sticky;top:72px}.cart-title{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.cart-title h2{margin:0;font-size:1.05rem;font-weight:800}.cart-count{min-width:28px;height:28px;color:var(--rf-teal);background:#e7f6f3;border-radius:9px;place-items:center;font-size:.72rem;font-weight:800;display:grid}.cart-items{flex-direction:column;flex:1;gap:.65rem;display:flex;overflow-y:auto}.cart-empty{color:#96a1a7;text-align:center;flex:1;place-items:center;display:grid}.cart-item{background:#f7f9fa;border:1px solid #edf1f2;border-radius:13px;grid-template-columns:1fr auto;gap:.5rem;padding:.75rem;display:grid}.cart-item-name{font-size:.74rem;font-weight:700}.cart-item-price{color:#748087;margin-top:.2rem;font-size:.65rem}.quantity-control{align-items:center;gap:.35rem;display:flex}.quantity-control button{border:1px solid var(--rf-border);background:#fff;border-radius:8px;width:28px;height:32px;font-weight:800}.quantity-control label{align-items:center;display:flex;position:relative}.quantity-control input{text-align:right;background:#fff;border:1px solid #bfcacd;border-radius:8px;width:82px;height:32px;padding:0 28px 0 7px;font-size:.7rem;font-weight:800}.quantity-control input:focus{border-color:var(--rf-teal);outline:0;box-shadow:0 0 0 2px #0f766e1f}.quantity-control small{color:#7a878d;pointer-events:none;font-size:.55rem;font-weight:700;position:absolute;right:7px}.cart-summary{border-top:1px solid var(--rf-border);padding-top:1rem}.summary-row{color:#6d7980;justify-content:space-between;font-size:.72rem;display:flex}.summary-total{justify-content:space-between;margin:.45rem 0 1rem;font-size:1.3rem;font-weight:800;display:flex}.checkout-button{color:#fff;background:linear-gradient(135deg,var(--rf-teal),#0a625c);border:0;border-radius:14px;justify-content:center;align-items:center;gap:.5rem;width:100%;min-height:55px;font-weight:800;display:flex;box-shadow:0 12px 26px #0f766e3d}.checkout-button:disabled{opacity:.45;box-shadow:none}.checkout-options{grid-template-columns:1fr 1fr;gap:.65rem;margin-bottom:.75rem;display:grid}.checkout-options .form-select{min-height:44px;font-size:.72rem}.alert-rf{border-radius:12px;margin:1rem 1.2rem 0;padding:.85rem 1rem;font-size:.78rem}.receipt-card{text-align:center}.receipt-number{color:var(--rf-charcoal);word-break:break-all;background:#f1f6f6;border-radius:12px;padding:.8rem;font-size:.8rem;font-weight:800}.topbar-button{color:#edfdfa;background:#ffffff14;border:1px solid #ffffff24;border-radius:10px;align-items:center;gap:.4rem;min-height:40px;padding:.45rem .7rem;font-size:.68rem;font-weight:700;display:flex}.topbar-button:hover{background:#12a89d33}.topbar-button:disabled{opacity:.55}.sync-status{color:#9ce7de;font-size:.65rem;font-weight:700}.spinning{animation:.8s linear infinite rf-spin}@keyframes rf-spin{to{transform:rotate(360deg)}}.processor-indicator{color:#f0f4f5;background:#ffffff14;border:1px solid #ffffff2e;border-radius:10px;align-items:center;gap:.4rem;min-height:40px;padding:.45rem .7rem;font-size:.66rem;font-weight:800;transition:all .18s;display:flex}.processor-indicator.online{color:#baffef;background:#12a89d2e;border-color:#5de0c573}.processor-indicator.offline{color:#ffd5de;background:#9d1c3b33;border-color:#f4769280}.processor-indicator.checking{color:#e7eef1}.processor-indicator:hover{transform:translateY(-1px)}.shift-close-button{color:#ffdce5;border-color:#ffaec252}.shift-close-button:hover{background:#9d1c3b61}.customer-search{position:relative}.customer-results{z-index:15;border:1px solid var(--rf-border);background:#fff;border-radius:10px;max-height:180px;position:absolute;top:calc(100% + 3px);left:0;right:0;overflow:auto;box-shadow:0 12px 30px #1428322e}.customer-results button{text-align:left;background:#fff;border:0;border-bottom:1px solid #edf1f2;justify-content:space-between;width:100%;padding:.6rem .7rem;font-size:.62rem;display:flex}.customer-results button:hover{background:#eef8f6}.customer-results span{color:#748188}.customer-entry{grid-template-columns:minmax(0,1fr) auto;gap:.4rem;display:grid}.customer-add-button{color:var(--rf-teal);background:#fff;border:1px solid #b9d8d4;border-radius:10px;align-items:center;gap:.3rem;padding:0 .75rem;font-size:.66rem;font-weight:800;display:flex}.customer-form{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.customer-form-inline{border-top:1px solid #dbe6e6;margin-top:.7rem;padding-top:.7rem}.customer-form-heading{color:var(--rf-teal);grid-column:1/-1;justify-content:space-between;align-items:center;font-size:.72rem;display:flex}.customer-form-heading button{color:#7b4b58;background:#fff;border:1px solid #ead1d8;border-radius:7px;place-items:center;width:26px;height:26px;display:grid}.customer-form label>span{color:#46535d;margin-bottom:.35rem;font-size:.72rem;font-weight:700;display:block}.customer-address,.customer-form-actions{grid-column:1/-1}.customer-form-actions{justify-content:flex-end;gap:.6rem;padding-top:.2rem;display:flex}.customer-form-actions .btn-rf{min-height:40px;padding:0 1rem;font-size:.7rem}.receipt-email{grid-template-columns:1fr auto;gap:.5rem;margin-top:.75rem;display:grid}.receipt-email .btn-rf{align-items:center;gap:.35rem;min-height:46px;padding:0 1rem;display:flex}.operation-grid{grid-template-columns:1fr 1fr;gap:.55rem;margin-bottom:.65rem;display:grid}.operation-grid label>span{color:#6b7880;margin-bottom:.25rem;font-size:.62rem;font-weight:700;display:block}.operation-grid .form-select{min-height:42px;font-size:.7rem}.reference-banner{color:#704f00;background:#fff5cf;border:1px solid #f0d76b;border-radius:9px;justify-content:space-between;margin-bottom:.55rem;padding:.55rem .65rem;font-size:.64rem;display:flex}.reference-banner button{color:#8c1c36;background:0 0;border:0;font-weight:700}.payment-box,.buyer-box{background:#f7f9fa;border:1px solid #e8edef;border-radius:12px;margin-bottom:.7rem;padding:.65rem}.section-title{justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.68rem;font-weight:800;display:flex}.section-title button{color:var(--rf-teal);background:0 0;border:0;align-items:center;gap:.25rem;font-size:.64rem;font-weight:800;display:flex}.payment-row{grid-template-columns:1fr 105px 30px;gap:.4rem;margin-bottom:.4rem;display:grid}.payment-row .form-select,.payment-row .form-control,.buyer-fields .form-select,.buyer-fields .form-control{min-height:38px;font-size:.66rem}.mini-danger{color:var(--rf-burgundy);background:#fff;border:1px solid #ead1d8;border-radius:8px;place-items:center;display:grid}.payment-difference{color:#557067;font-size:.6rem;font-weight:700}.payment-difference.invalid{color:var(--rf-burgundy)}.buyer-toggle{align-items:center;gap:.45rem;font-size:.67rem;font-weight:700;display:flex}.buyer-fields{gap:.4rem;margin-top:.55rem;display:grid}.payment-row .form-control[readonly]{color:#31535a;cursor:not-allowed;background:#e8f4f2;font-weight:800}.cash-auto-note{color:var(--rf-teal)}.cash-tender{color:#fff;background:linear-gradient(135deg,#15333a,#0f766e);border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(105px,.55fr);align-items:end;gap:.45rem;margin:.55rem 0;padding:.6rem;display:grid}.cash-tender label>span,.cash-tender>div>span{color:#cceee9;margin-bottom:.3rem;font-size:.58rem;font-weight:700;display:block}.cash-tender .form-control{min-height:42px;font-size:.78rem;font-weight:800}.cash-tender>div{text-align:right;padding:.35rem .55rem}.cash-tender strong{font-size:1rem;display:block}.cash-tender .is-invalid{background-image:none;border-color:#ff8da8}.pos-modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f1b23b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.pos-modal{background:#fff;border-radius:20px;width:min(100%,720px);max-height:92vh;padding:1.35rem;overflow:auto;box-shadow:0 30px 90px #0000004d}.pos-modal.wide{width:min(100%,1120px)}.pos-modal>header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.pos-modal h2{margin:0;font-size:1.25rem;font-weight:800}.modal-close{border:1px solid var(--rf-border);background:#fff;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.history-search{grid-template-columns:1fr auto;gap:.6rem;margin-bottom:1rem;display:grid}.history-search .btn-rf{min-height:46px;padding:0 1.2rem}.history-table{border-collapse:collapse;width:100%}.history-table th,.history-table td{vertical-align:middle;border-bottom:1px solid #edf1f2;padding:.7rem;font-size:.68rem}.history-actions{flex-wrap:wrap;gap:.3rem;display:flex}.history-actions button{color:#31535a;background:#f2f7f7;border:1px solid #d9e5e6;border-radius:7px;padding:.35rem .5rem;font-size:.6rem;font-weight:700}.report-metrics{grid-template-columns:repeat(3,1fr);gap:.7rem;margin-bottom:1.2rem;display:grid}.report-metrics>div{background:#f3f8f7;border-radius:13px;padding:1rem}.report-metrics span{color:#718088;font-size:.65rem;display:block}.report-metrics strong{margin-top:.3rem;font-size:1.05rem;display:block}.pos-modal h3{margin:1rem 0 .5rem;font-size:.78rem}.report-list>div{border-bottom:1px solid #edf1f2;justify-content:space-between;padding:.55rem .2rem;font-size:.7rem;display:flex}.receipt-paper{color:#111;background:#fff;margin:auto}.journal-content{font-family:Courier New,monospace;line-height:1.35}.journal-header{text-align:center;white-space:pre;overflow:hidden}.journal-paper{color:#111;font:inherit;white-space:pre;background:#fff;border:0;margin:0;padding:0;overflow:hidden}.receipt-verification{text-align:center;flex-direction:column;align-items:center;padding-top:4mm;display:flex}.receipt-qr{object-fit:contain;width:64mm;max-width:92%;height:64mm;image-rendering:pixelated;display:block}.receipt-qr-missing{color:#555;border:1px dashed #999;padding:10mm 2mm;font:7px Courier New,monospace}.receipt-brand-logo{filter:grayscale();width:62%;max-width:44mm;height:auto;margin-top:3mm;display:block}.receipt-brand-url{letter-spacing:.1px;margin-top:2mm;font:800 11px Courier New,monospace}.receipt-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.receipt-actions .btn{align-items:center;gap:.35rem;display:flex}.print-58mm .receipt-paper{width:48mm}.print-80mm .receipt-paper{width:72mm}.print-58mm .receipt-qr{width:44mm;height:44mm}.print-80mm .receipt-qr{width:66mm;height:66mm}.print-58mm .receipt-brand-logo{width:32mm}.print-80mm .receipt-brand-logo{width:44mm}.print-a4 .receipt-paper{width:190mm}.inline-receipt{background:#f0faf7;border:1px solid #b8ded7;border-radius:12px;margin-top:.8rem;padding:.75rem}.inline-receipt-status{color:#11645d;justify-content:space-between;align-items:flex-start;gap:.5rem;font-size:.7rem;display:flex}.inline-receipt-status div{flex-direction:column;gap:.2rem;min-width:0;display:flex}.inline-receipt-status span{word-break:break-all;font-size:.58rem}.inline-receipt-status button{color:#11645d;white-space:nowrap;background:#fff;border:1px solid #b8ded7;border-radius:7px;padding:.3rem .45rem;font-size:.58rem;font-weight:700}.inline-print-paper{display:none}.inline-receipt .receipt-actions{gap:.35rem}.inline-receipt .receipt-actions .btn{padding:.35rem .5rem;font-size:.6rem}.inline-receipt .receipt-email{grid-template-columns:minmax(0,1fr) auto}.inline-receipt .receipt-email .form-control{min-width:0;font-size:.65rem}.inline-receipt .receipt-email .btn-rf{padding:0 .6rem;font-size:.62rem}.print-preference{color:#6d7980;margin-top:.8rem;font-size:.65rem}.receipt-actions .btn.active{color:#fff;background:var(--rf-teal);border-color:var(--rf-teal)}.shortcuts-modal{width:min(100%,620px)}.shortcut-grid{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.shortcut-grid>div{background:#f4f8f8;border:1px solid #e3ebec;border-radius:11px;align-items:center;gap:.75rem;padding:.7rem .8rem;font-size:.72rem;display:flex}.shortcut-grid kbd{color:#fff;background:var(--rf-charcoal);text-align:center;border-radius:7px;min-width:82px;padding:.35rem .5rem;font:700 .66rem Montserrat,sans-serif;box-shadow:inset 0 -2px #ffffff1f}.shortcut-note{color:#6d7980;margin:1rem 0 0;font-size:.66rem;line-height:1.55}.issue-confirmation-modal{width:min(100%,500px)}.issue-confirmation-total{background:#edf8f6;border:1px solid #cce8e3;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;display:flex}.issue-confirmation-total span{color:#52656c;font-size:.72rem}.issue-confirmation-total strong{color:var(--rf-teal);font-size:1.35rem}.issue-confirmation-note{color:#5f7077;margin:1rem 0;font-size:.72rem;line-height:1.55}.issue-confirmation-note kbd{color:#fff;background:var(--rf-charcoal);border-radius:5px;padding:.2rem .4rem}.issue-confirmation-actions{justify-content:flex-end;gap:.65rem;display:flex}.issue-confirmation-actions .btn{justify-content:center;align-items:center;gap:.4rem;min-width:130px;min-height:44px;font-weight:800;display:inline-flex}.records-page,.report-page{background:#eef3f4;min-height:100vh}.records-topbar{color:#fff;background:var(--rf-charcoal);justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.4rem;display:flex;box-shadow:0 7px 24px #0f19212e}.records-topbar h1{margin:.2rem 0 0;font-size:1.45rem;font-weight:800}.records-topbar p{color:#adc0c6;margin:.15rem 0 0;font-size:.7rem}.records-topbar .btn{align-items:center;gap:.4rem;display:inline-flex}.records-back{color:#8de0d6;background:0 0;border:0;align-items:center;gap:.35rem;padding:0;font-size:.68rem;font-weight:800;display:flex}.records-layout{grid-template-columns:minmax(640px,1.2fr) minmax(390px,.8fr);gap:1rem;padding:1rem;display:grid}.records-list-panel,.receipt-detail-panel,.report-section,.report-export{border:1px solid var(--rf-border);background:#fff;border-radius:18px;box-shadow:0 8px 28px #1e303a12}.records-list-panel{min-width:0;overflow:hidden}.records-filters{border-bottom:1px solid var(--rf-border);grid-template-columns:minmax(220px,1fr) repeat(4,minmax(120px,auto)) auto;gap:.55rem;padding:1rem;display:grid}.records-filters .form-control,.records-filters .form-select{min-height:42px;font-size:.68rem}.records-filters .btn{min-height:42px;padding:0 1rem}.records-search{position:relative}.records-search svg{z-index:1;color:#7d8c93;position:absolute;top:12px;left:.75rem}.records-search input{padding-left:2.35rem}.records-table{border-collapse:collapse;width:100%}.records-table th,.records-table td{vertical-align:middle;border-bottom:1px solid #e8edef;padding:.78rem .85rem;font-size:.68rem}.records-table th{color:#65737b;text-transform:uppercase;letter-spacing:.04em;background:#f7f9fa;font-size:.6rem}.records-table tbody tr{cursor:pointer;transition:all .15s}.records-table tbody tr:hover,.records-table tbody tr.selected{background:#eaf7f5}.records-table td small{color:#7d8990;margin-top:.2rem;display:block}.records-empty{color:#87949a;text-align:center;padding:3rem!important}.receipt-detail-panel{align-self:start;max-height:calc(100vh - 2rem);padding:1.1rem;position:sticky;top:1rem;overflow:auto}.detail-heading{border-bottom:1px solid var(--rf-border);justify-content:space-between;gap:1rem;padding-bottom:.9rem;display:flex}.detail-heading span,.detail-heading p{color:#75838a;font-size:.65rem}.detail-heading h2{word-break:break-all;margin:.25rem 0;font-size:1rem}.detail-heading>strong{color:var(--rf-teal);white-space:nowrap;font-size:1.2rem}.detail-actions{flex-wrap:wrap;gap:.4rem;margin:.8rem 0;display:flex}.detail-actions .btn{align-items:center;gap:.3rem;min-height:38px;padding:.45rem .65rem;font-size:.64rem;display:flex}.detail-grid{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.detail-grid>div{background:#f5f8f8;border-radius:10px;padding:.65rem}.detail-grid span{color:#7b878d;font-size:.58rem;display:block}.detail-grid strong{margin-top:.2rem;font-size:.67rem;display:block}.receipt-detail-panel h3{margin:1rem 0 .45rem;font-size:.72rem}.detail-items>div{border-bottom:1px solid #edf1f2;justify-content:space-between;gap:.75rem;padding:.5rem .2rem;font-size:.65rem;display:flex}.detail-items span{flex-direction:column;display:flex}.detail-items small{color:#849097;margin-top:.15rem}.receipt-flow-actions{flex-wrap:wrap;gap:.35rem;margin-top:1rem;display:flex}.receipt-flow-actions button{color:#31535a;background:#eef6f5;border:1px solid #cfdfdf;border-radius:8px;padding:.45rem .6rem;font-size:.6rem;font-weight:800}.detail-email{grid-template-columns:1fr auto;gap:.45rem;margin-top:.8rem;display:grid}.detail-email .form-control,.detail-email .btn{min-height:42px;font-size:.65rem}.detail-email .btn{align-items:center;gap:.3rem;display:flex}.detail-journal{color:#17252f;white-space:pre;background:#f7f9fa;border:1px solid #e2e8ea;border-radius:10px;max-height:440px;margin:0;padding:.75rem;font:6.7px/1.35 Courier New,monospace;overflow:auto}.report-top-actions,.report-export,.report-export>div{align-items:center;gap:.5rem;display:flex}.report-top-actions .form-control{width:155px;min-height:40px}.report-content{padding:1rem}.report-export{justify-content:space-between;margin-bottom:1rem;padding:1rem}.report-export>div:first-child{flex-direction:column;align-items:flex-start;display:flex}.report-export span{color:#75838a;font-size:.68rem}.report-export .btn{align-items:center;gap:.35rem;min-height:42px;font-size:.68rem;display:flex}.report-cards{grid-template-columns:repeat(3,1fr);gap:.8rem;margin-bottom:1rem;display:grid}.report-cards article{border:1px solid var(--rf-border);background:#fff;border-radius:15px;padding:1rem;box-shadow:0 6px 20px #1e303a0d}.report-cards article.primary{color:#fff;background:linear-gradient(135deg,var(--rf-teal),#085b56);border-color:#0000}.report-cards article.refund{border-left:4px solid var(--rf-burgundy)}.report-cards span,.report-cards small{color:#718087;font-size:.62rem;display:block}.report-cards .primary span,.report-cards .primary small{color:#c8f3ed}.report-cards strong{margin:.35rem 0;font-size:1.25rem;display:block}.report-section{margin-bottom:1rem;overflow:hidden}.report-section-title{border-bottom:1px solid var(--rf-border);padding:1rem}.report-section-title h2{margin:0;font-size:.95rem;font-weight:800}.report-section-title p{color:#718087;margin:.25rem 0 0;font-size:.65rem}.report-table{border-collapse:collapse;width:100%}.report-table th,.report-table td{border-bottom:1px solid #e8edef;padding:.75rem .85rem;font-size:.66rem}.report-table th{color:#65737b;text-transform:uppercase;background:#f7f9fa;font-size:.58rem}.refund-text{color:var(--rf-burgundy)}.shift-close-panel{color:#263740;border:1px solid #e1c1ca;border-left:5px solid var(--rf-burgundy);background:#fff;border-radius:16px;grid-template-columns:minmax(240px,1.2fr) minmax(180px,.7fr) minmax(150px,.45fr);align-items:end;gap:.8rem;padding:1.1rem;display:grid;box-shadow:0 10px 30px #281e2314}.shift-close-panel h2{margin:0 0 .3rem;font-size:1.05rem}.shift-close-panel p{color:#6f7d84;margin:0;font-size:.67rem;line-height:1.5}.shift-close-panel label>span,.shift-difference>span{color:#637179;margin-bottom:.35rem;font-size:.62rem;font-weight:700;display:block}.shift-difference{background:#f2f6f6;border-radius:11px;padding:.6rem .75rem}.shift-difference strong{font-size:1rem;display:block}.shift-difference.negative strong{color:var(--rf-burgundy)}.shift-difference.positive strong{color:var(--rf-teal)}.shift-note{grid-column:1/3}.shift-note textarea{min-height:70px}.shift-confirm{grid-column:1/3;align-items:center;gap:.5rem;font-size:.67rem;font-weight:700;display:flex}.shift-close-panel>.btn{justify-content:center;align-items:center;gap:.4rem;min-height:48px;display:flex}.shift-closed-summary{color:#fff;background:linear-gradient(135deg,#0f766e,#174a50);border-radius:16px;flex-wrap:wrap;align-items:center;gap:1rem;padding:1.1rem;display:flex}.shift-closed-summary h2{flex:100%;margin:0;font-size:1.05rem}.shift-closed-summary>div{min-width:150px}.shift-closed-summary span{color:#c8ede8;font-size:.62rem;display:block}.shift-closed-summary strong{margin-top:.25rem;font-size:1rem;display:block}.shift-closed-summary .btn{margin-left:auto}@media (width<=1200px){.mode-list .pos-workspace{grid-template-columns:1fr}.mode-list .cart-pane{border-top:1px solid var(--rf-border);border-left:0;height:auto;min-height:560px;position:relative;top:0}}@media (width<=980px){.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.pos-workspace{grid-template-columns:1fr}.cart-pane{border-top:1px solid var(--rf-border);border-left:0;height:auto;min-height:430px;position:relative;top:0}.product-grid{max-height:none}}@media (width<=1100px){.records-layout{grid-template-columns:1fr}.receipt-detail-panel{max-height:none;position:relative;top:0}.records-filters{grid-template-columns:1fr 1fr 1fr}.report-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=680px){.cashier-layout{grid-template-columns:1fr;gap:1.5rem}.pos-topbar{align-items:flex-start}.cashier-badge,.register-meta,.sync-status{display:none}.topbar-button{padding:.45rem;font-size:0}.topbar-button svg{width:18px}.processor-indicator{padding:.45rem}.processor-indicator span{display:none}.catalog-pane{padding:.8rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{min-height:165px}.product-image{height:75px}.report-metrics{grid-template-columns:1fr}.history-table{min-width:760px}.customer-form{grid-template-columns:1fr}.customer-address,.customer-form-actions{grid-column:auto}.mode-list .cart-pane{display:flex}.mode-list .cart-summary{border-top:1px solid var(--rf-border);border-left:0;padding:1rem 0 0}.shortcut-grid{grid-template-columns:1fr}}@media (width<=900px){.shift-close-panel{grid-template-columns:1fr}.shift-note,.shift-confirm{grid-column:auto}}@media print{@page{margin:5mm}body *{visibility:hidden}:is(.pos-modal-backdrop:has(.receipt-print),.receipt-print,.receipt-print *){visibility:visible}.pos-modal-backdrop:has(.receipt-print){background:#fff;padding:0;display:block;position:absolute;inset:0}.receipt-print{width:auto;max-height:none;box-shadow:none;background:#fff;border:0;padding:0;position:absolute;inset:0}.inline-receipt.receipt-print{margin:0;position:absolute;top:0;left:0}.pos-shell:has(.inline-receipt.receipt-print){height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}.pos-shell:has(.inline-receipt.receipt-print) .pos-workspace{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-pane{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-summary{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}.pos-shell:has(.inline-receipt.receipt-print) .pos-topbar{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .catalog-pane{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-title{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .operation-grid{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-items{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-empty{display:none!important}.pos-shell:has(.inline-receipt.receipt-print) .cart-summary>:not(.inline-receipt){display:none!important}.cart-pane,.cart-summary{overflow:visible!important}.inline-print-paper{display:block}.no-print{display:none!important}.print-58mm{width:58mm!important}.print-80mm{width:80mm!important}.print-a4{width:210mm!important;padding:10mm!important}.journal-paper{border:0;padding:0}.report-page *{visibility:visible}.report-page{background:#fff}.report-page .records-topbar,.report-page .report-export>div:last-child{display:none}.report-content{padding:0}.report-section,.report-export,.report-cards article{box-shadow:none}.report-table th,.report-table td{padding:.35rem;font-size:8px}}.detail-journal-receipt{background:#f7f9fa;border:1px solid #e2e8ea;border-radius:10px;overflow:hidden}.detail-journal-receipt .detail-journal{background:0 0;border:0;border-radius:0}.detail-journal-verification{text-align:center;border-top:1px dashed #bdc9cc;flex-direction:column;align-items:center;gap:.55rem;padding:1rem;display:flex}.detail-journal-verification img{width:min(180px,55%);height:auto;image-rendering:pixelated;display:block}.detail-journal-verification a{color:var(--rf-teal);font-size:.62rem;font-weight:800;text-decoration:none}.detail-journal-verification a:hover{text-decoration:underline}.journal-end-marker,.detail-journal-end{text-align:center;padding-top:3mm!important;font-weight:800!important}.journal-after-marker,.detail-journal-after{padding-top:3mm!important}.receipt-branding{border-top:1px dashed #999;margin-top:3mm}.receipt-flow-card{background:linear-gradient(135deg,#f3faf9,#f9fbfb);border:1px solid #cee3e0;border-radius:12px;margin:.85rem 0;padding:.75rem}.receipt-flow-card h3{color:#31535a;text-transform:uppercase;letter-spacing:.04em;margin:0 0 .55rem;font-size:.66rem}.receipt-flow-card .receipt-flow-actions{flex-wrap:wrap;gap:.4rem;margin:0;display:flex}.receipt-flow-card .receipt-flow-actions button{color:#31535a;background:#fff;border:1px solid #c9dcda;border-radius:8px;min-height:38px;padding:.48rem .68rem;font-size:.62rem;font-weight:800;transition:transform .15s,box-shadow .15s}.receipt-flow-card .receipt-flow-actions button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #1946481f}.receipt-flow-card .receipt-flow-actions .flow-primary{color:#fff;background:var(--rf-teal);border-color:var(--rf-teal)}.receipt-flow-card .receipt-flow-actions .flow-warning{color:#714c00;background:#fff8df;border-color:#ead28a}.receipt-flow-card .receipt-flow-actions .flow-danger{color:#8a1738;background:#fff2f5;border-color:#e7bcc8}
