:root{color-scheme:light;font-family:Inter,Noto Sans TC,system-ui,sans-serif;--nm-color-brand: #285943;--nm-color-surface: #ffffff;--nm-color-canvas: #f4f7f5;--nm-color-text: #17211c;--nm-space-2: .5rem;--nm-space-4: 1rem;--nm-radius: .75rem;--nm-touch-target: 44px}*{box-sizing:border-box}body{margin:0;padding:0;background-color:#f1f5f3;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent;overflow-x:hidden}.pos-app-layout{display:flex;flex-direction:column;height:100vh;overflow:hidden}.pos-top-nav{height:60px;background:var(--nm-color-brand, #1e453e);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 1.25rem;box-shadow:0 2px 8px #00000026;z-index:50;flex-shrink:0}.pos-brand-section{display:flex;align-items:center;gap:.75rem}.pos-brand-logo{font-size:1.25rem;font-weight:800;letter-spacing:.5px;display:flex;align-items:center;gap:.5rem}.pos-store-selector{background:#ffffff26;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.35rem .75rem;border-radius:6px;font-size:.85rem;font-weight:600;outline:none;cursor:pointer}.pos-store-selector option{background:#fff;color:#1e293b}.pos-nav-tabs{display:flex;gap:.5rem;background:#0003;padding:4px;border-radius:8px}.pos-nav-tab-btn{background:transparent;border:none;color:#fffc;padding:.45rem 1.25rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .15s ease}.pos-nav-tab-btn.active{background:#fff;color:var(--nm-color-brand, #1e453e);box-shadow:0 2px 6px #0000001a}.badge-count{background:#ef4444;color:#fff;font-size:.75rem;padding:.1rem .45rem;border-radius:9999px;font-weight:700}.pos-clock-section{display:flex;align-items:center;gap:1rem;font-size:.85rem}.pos-live-clock{font-family:monospace;font-weight:600;background:#ffffff26;padding:.3rem .6rem;border-radius:4px}.pos-workspace{flex:1;overflow:hidden;position:relative}.counter-view-container{display:grid;grid-template-columns:1fr 380px;height:100%}@media(max-width:1024px){.counter-view-container{grid-template-columns:1fr 320px}}.counter-catalog-area{display:flex;flex-direction:column;border-right:1px solid #e2e8f0;background:#fff;overflow:hidden}.counter-category-bar{display:flex;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;overflow-x:auto;flex-shrink:0}.counter-cat-btn{background:#fff;border:1px solid #cbd5e1;color:#475569;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s}.counter-cat-btn.active{background:var(--nm-color-brand, #1e453e);color:#fff;border-color:var(--nm-color-brand, #1e453e)}.counter-product-grid{flex:1;padding:1rem;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:max-content;gap:1rem}.counter-product-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;padding:.875rem;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .1s,border-color .15s,box-shadow .15s;min-height:130px}.counter-product-card:hover{transform:translateY(-2px);border-color:var(--nm-color-brand, #1e453e);box-shadow:0 4px 12px #1e453e14}.counter-product-card.out-of-stock{opacity:.5;cursor:not-allowed}.card-title{font-weight:700;font-size:.95rem;color:#1e293b;margin-bottom:.25rem}.card-desc{font-size:.75rem;color:#64748b;line-height:1.3}.card-footer{margin-top:.75rem;display:flex;justify-content:space-between;align-items:center}.card-price{font-weight:800;font-size:1.05rem;color:var(--nm-color-brand, #1e453e)}.card-spec-tag{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.2rem .4rem;border-radius:4px}.counter-register-sidebar{display:flex;flex-direction:column;background:#f8fafc;height:100%;min-height:0;overflow:hidden}.register-header{flex-shrink:0;padding:.75rem 1rem;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.register-title{font-weight:700;font-size:1rem;color:#0f172a}.register-type-toggles{display:flex;background:#f1f5f9;border-radius:6px;padding:2px}.reg-type-btn{border:none;background:transparent;padding:.35rem .75rem;font-size:.8rem;font-weight:600;border-radius:4px;color:#64748b;cursor:pointer}.reg-type-btn.active{background:#fff;color:var(--nm-color-brand, #1e453e);box-shadow:0 1px 3px #0000000d}.register-customer-bar{flex-shrink:0;padding:.5rem 1rem;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;gap:.5rem}.reg-input{flex:1;padding:.35rem .55rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem;outline:none}.reg-input:focus{border-color:var(--nm-color-brand, #1e453e)}.register-items-list{flex:1 1 0%;min-height:0;padding:.75rem 1rem;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.register-items-list::-webkit-scrollbar{width:6px}.register-items-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.reg-empty-cart{text-align:center;padding:3rem 1rem;color:#94a3b8;font-size:.9rem}.reg-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.65rem .75rem;display:flex;flex-direction:column;gap:.35rem}.reg-item-top{display:flex;justify-content:space-between;align-items:flex-start}.reg-item-name{font-weight:600;font-size:.9rem;color:#1e293b}.reg-item-mods{font-size:.75rem;color:#64748b}.reg-item-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:.25rem}.reg-item-price{font-weight:700;color:var(--nm-color-brand, #1e453e);font-size:.95rem}.reg-qty-controls{display:flex;align-items:center;border:1px solid #cbd5e1;border-radius:4px;background:#f8fafc}.reg-btn-qty{border:none;background:transparent;width:26px;height:26px;font-weight:700;cursor:pointer;color:#475569}.reg-qty-val{min-width:22px;text-align:center;font-size:.85rem;font-weight:600}.register-footer{flex-shrink:0;padding:.75rem 1rem;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -4px 12px #00000008}.reg-total-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.75rem}.reg-total-label{font-size:.95rem;font-weight:600;color:#475569}.reg-total-amount{font-size:1.5rem;font-weight:800;color:var(--nm-color-brand, #1e453e)}.reg-actions-row{display:grid;grid-template-columns:80px 1fr;gap:.5rem}.btn-reg-clear{border:1px solid #cbd5e1;background:#f1f5f9;color:#64748b;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer}.btn-reg-checkout{border:none;background:var(--nm-color-brand, #1e453e);color:#fff;padding:.875rem;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:.5rem;box-shadow:0 2px 6px #1e453e33;transition:background .15s}.btn-reg-checkout:hover{background:#14312c}.btn-reg-checkout:disabled{background:#cbd5e1;cursor:not-allowed;box-shadow:none}.kds-view-container{display:flex;flex-direction:column;height:100%;background:#0f172a;color:#f8fafc}.kds-top-toolbar{padding:.75rem 1.25rem;background:#1e293b;border-bottom:1px solid #334155;display:flex;justify-content:space-between;align-items:center}.kds-toolbar-title{font-weight:800;font-size:1.1rem;display:flex;align-items:center;gap:.5rem}.kds-toolbar-actions{display:flex;gap:.75rem;align-items:center}.btn-kds-refresh{background:#334155;border:1px solid #475569;color:#f8fafc;padding:.4rem .8rem;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.35rem}.btn-kds-refresh:hover{background:#475569}.kds-kanban-board{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:1rem;overflow:hidden}@media(max-width:900px){.kds-kanban-board{grid-template-columns:1fr;overflow-y:auto}}.kds-column{background:#1e293b;border-radius:12px;display:flex;flex-direction:column;border:1px solid #334155;overflow:hidden}.kds-column-header{padding:.75rem 1rem;font-weight:700;font-size:.95rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #334155}.kds-col-paid{background:#f59e0b26;color:#f59e0b;border-bottom-color:#f59e0b4d}.kds-col-preparing{background:#3b82f626;color:#60a5fa;border-bottom-color:#3b82f64d}.kds-col-ready{background:#10b98126;color:#34d399;border-bottom-color:#10b9814d}.kds-column-count{background:#ffffff26;padding:.15rem .5rem;border-radius:9999px;font-size:.8rem}.kds-column-cards{flex:1;padding:.75rem;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem}.kds-empty-col{text-align:center;padding:3rem 1rem;color:#64748b;font-size:.85rem}.kds-order-card{background:#0f172a;border:1.5px solid #334155;border-radius:10px;padding:.875rem;display:flex;flex-direction:column;gap:.6rem;box-shadow:0 4px 6px #0000004d;transition:transform .1s,border-color .15s}.kds-order-card:hover{border-color:#64748b}.kds-card-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px dashed #334155;padding-bottom:.5rem}.kds-order-num{font-weight:800;font-size:1.1rem;color:#38bdf8;letter-spacing:.5px}.kds-order-type-badge{font-size:.75rem;font-weight:700;padding:.2rem .5rem;border-radius:4px}.kds-badge-pickup{background:#065f46;color:#6ee7b7}.kds-badge-dinein{background:#4c1d95;color:#c4b5fd}.kds-order-customer{font-size:.8rem;color:#94a3b8;margin-top:.15rem}.kds-order-items{display:flex;flex-direction:column;gap:.4rem}.kds-item-row{display:flex;justify-content:space-between;font-size:.9rem;line-height:1.3}.kds-item-main{flex:1}.kds-item-title{font-weight:700;color:#f1f5f9}.kds-item-mods{font-size:.75rem;color:#38bdf8;margin-top:.15rem}.kds-item-qty{font-weight:800;font-size:1rem;color:#fbbf24;margin-left:.5rem}.kds-card-note{background:#1e293b;border-left:3px solid #f59e0b;padding:.35rem .5rem;border-radius:4px;font-size:.75rem;color:#fbbf24}.kds-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.25rem;padding-top:.5rem;border-top:1px dashed #334155}.kds-time-ago{font-size:.75rem;color:#94a3b8}.btn-kds-action{border:none;font-weight:700;font-size:.85rem;padding:.45rem .875rem;border-radius:6px;cursor:pointer;transition:all .15s}.btn-kds-prepare{background:#3b82f6;color:#fff}.btn-kds-prepare:hover{background:#2563eb}.btn-kds-ready{background:#10b981;color:#fff}.btn-kds-ready:hover{background:#059669}.btn-kds-complete{background:#475569;color:#f8fafc}.btn-kds-complete:hover{background:#334155}.btn-kds-print{background:#334155;color:#f1f5f9;border:1px solid #475569;display:inline-flex;align-items:center;gap:.25rem}.btn-kds-print:hover{background:#475569;color:#fff;border-color:#64748b}.pos-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.pos-modal-box{background:#fff;width:90%;max-width:480px;border-radius:12px;box-shadow:0 20px 25px -5px #0003;overflow:hidden;display:flex;flex-direction:column;max-height:85vh}.pos-modal-header{padding:1rem 1.25rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.pos-modal-header h3{margin:0;font-size:1.1rem;font-weight:700;color:#0f172a}.pos-modal-body{padding:1.25rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.25rem}.pos-mod-group{display:flex;flex-direction:column;gap:.5rem}.pos-mod-title{font-size:.9rem;font-weight:700;color:#334155}.pos-mod-options-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.pos-opt-btn{background:#fff;border:1px solid #cbd5e1;padding:.6rem;border-radius:6px;font-size:.85rem;font-weight:600;color:#334155;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .1s}.pos-opt-btn.selected{border-color:var(--nm-color-brand, #1e453e);background:#ecfdf5;color:var(--nm-color-brand, #1e453e)}.pos-modal-footer{padding:1rem 1.25rem;border-top:1px solid #e2e8f0;background:#f8fafc;display:flex;justify-content:space-between;align-items:center}.pos-success-receipt{text-align:center;padding:2rem 1.5rem}.receipt-icon{font-size:3rem;margin-bottom:.5rem}.receipt-num{font-size:2rem;font-weight:900;color:var(--nm-color-brand, #1e453e);letter-spacing:1px;margin:.5rem 0}:root{--pos-ink: #162a22;--pos-muted: #62756b;--pos-brand: #1f4d3b;--pos-brand-deep: #12362a;--pos-surface: #fffdfa;--pos-canvas: #eef3ef;--pos-line: #d9e3dc;--pos-warm: #c98945;--pos-focus: rgba(201, 137, 69, .5)}html,body,#root{min-width:320px;min-height:100%}body{color:var(--pos-ink);background:radial-gradient(circle at 90% 0%,rgba(205,177,128,.14),transparent 26rem),var(--pos-canvas);font-family:Noto Sans TC,PingFang TC,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,select,input{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--pos-focus);outline-offset:2px}.pos-app-layout{min-height:100svh;height:100svh;background:var(--pos-canvas)}.pos-top-nav{min-height:72px;height:auto;display:grid;grid-template-columns:minmax(185px,.76fr) minmax(0,1.65fr) auto;align-items:center;gap:.7rem;padding:.65rem .85rem;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(255,255,255,.1),transparent 50%),var(--pos-brand-deep);box-shadow:0 4px 18px #12362a33}.pos-brand-section{min-width:0;gap:.6rem}.pos-brand-logo{min-width:0;gap:.5rem;color:#fffaf0;font-family:"Noto Serif TC",Songti TC,serif;font-size:1.05rem;letter-spacing:.02em;white-space:nowrap}.pos-brand-logo em{color:#d5e5d5;font-style:normal;font-family:Noto Sans TC,sans-serif;font-size:.78em}.pos-brand-mark{display:inline-grid;place-items:center;width:2.15rem;height:2.15rem;flex:0 0 auto;border:1px solid rgba(255,255,255,.42);border-radius:.65rem .65rem .65rem .2rem;color:#fff5df;background:#ffffff1f;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.7rem;font-weight:800;letter-spacing:.06em}.pos-store-selector{min-width:0;min-height:44px;max-width:10.5rem;padding:.45rem 1.7rem .45rem .65rem;border:1px solid rgba(211,235,214,.5);border-radius:.65rem;color:#ecf7ed;background:#ffffff1a;font-size:.76rem;font-weight:700;outline:none}.pos-nav-tabs{min-width:0;display:flex;justify-content:flex-start;gap:.25rem;padding:.25rem;border:1px solid rgba(255,255,255,.12);border-radius:.8rem;background:#0003;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}.pos-nav-tabs::-webkit-scrollbar{display:none}.pos-nav-tab-btn{min-height:46px;min-width:44px;flex:0 0 auto;gap:.35rem;padding:.5rem .7rem;border:1px solid transparent;border-radius:.62rem;color:#ffffffc7;background:transparent;font-size:.77rem;font-weight:750;white-space:nowrap;transition:color .18s ease,background .18s ease,border-color .18s ease}.pos-nav-tab-btn:hover{color:#fff;background:#ffffff17}.pos-nav-tab-btn.active{border-color:#2859431f;color:var(--pos-brand);background:#fffdf8;box-shadow:0 3px 10px #00000024}.pos-nav-icon-svg{width:1.05rem;height:1.05rem;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}.pos-clock-section{min-width:0;gap:.42rem;justify-content:flex-end;flex-wrap:wrap}.pos-display-link,.pos-shift-status{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:.6rem;font-size:.68rem;font-weight:750;white-space:nowrap}.pos-display-link{padding:.4rem .55rem;border:1px solid rgba(160,224,172,.58);color:#a7e6ae;text-decoration:none;background:#43a0521f}.pos-display-link:hover{background:#43a0523d}.pos-shift-status{gap:.35rem;padding:.35rem .55rem;color:#fff}.pos-shift-status.active{background:#1b824b}.pos-shift-status.inactive{background:#a33e35}.pos-status-dot{width:.48rem;height:.48rem;border-radius:999px;background:currentColor;box-shadow:0 0 0 .18rem #ffffff24}.pos-live-clock{min-height:38px;display:inline-flex;align-items:center;padding:.35rem .5rem;border:1px solid rgba(255,255,255,.13);border-radius:.55rem;color:#f1e7ce;background:#ffffff1a;font-size:.75rem;font-weight:700}.pos-workspace{min-width:0;min-height:0;background:var(--pos-canvas)}.counter-view-container{min-width:0;min-height:0;grid-template-columns:minmax(0,1fr) minmax(320px,34%);background:var(--pos-canvas)}.counter-catalog-area,.counter-register-sidebar{min-width:0}.counter-catalog-area{border-right-color:var(--pos-line);background:var(--pos-surface)}.counter-category-bar{min-height:60px;align-items:center;gap:.45rem;padding:.5rem .75rem;border-bottom-color:var(--pos-line);background:#f7f9f4;scrollbar-width:none}.counter-category-bar::-webkit-scrollbar{display:none}.counter-cat-btn{min-height:44px;padding:.5rem .85rem;border-color:#d5e0d6;border-radius:.65rem;color:var(--pos-muted);background:#fffefa;font-size:.78rem;font-weight:750}.counter-cat-btn:hover{border-color:var(--pos-brand);color:var(--pos-brand)}.counter-cat-btn.active{border-color:var(--pos-brand);background:var(--pos-brand)}.counter-product-grid{min-width:0;min-height:0;padding:.8rem;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:.75rem;align-content:start}.counter-product-card{min-width:0;min-height:132px;padding:.8rem;border:1px solid var(--pos-line);border-radius:.85rem;background:#fffefa;box-shadow:0 5px 14px #2a48360d;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.counter-product-card:hover,.counter-product-card:focus-visible{border-color:#1f4d3b66;box-shadow:0 10px 20px #2a48361a;transform:translateY(-1px)}.card-title{color:var(--pos-ink);font-family:"Noto Serif TC",Songti TC,serif}.card-desc{display:-webkit-box;overflow:hidden;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.card-footer{gap:.5rem}.card-spec-tag{border:1px solid #dce8dc;border-radius:999px;color:var(--pos-brand);background:#edf5ed;font-weight:700}.counter-register-sidebar{background:#f5f8f4}.register-header{min-height:60px;gap:.55rem;padding:.55rem .75rem;border-bottom-color:var(--pos-line);background:var(--pos-surface)}.register-title{color:var(--pos-ink);font-family:"Noto Serif TC",Songti TC,serif;font-size:.95rem}.register-type-toggles{flex:0 0 auto;padding:.2rem;border-radius:.6rem;background:#edf2ed}.reg-type-btn{min-height:40px;min-width:48px;padding:.35rem .55rem;border-radius:.45rem;color:var(--pos-muted)}.reg-type-btn.active{color:var(--pos-brand);background:#fffefa}.register-customer-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.45rem;padding:.55rem .75rem;border-bottom-color:var(--pos-line);background:var(--pos-surface)}.reg-input{min-width:0;min-height:44px;padding:.55rem .65rem;border:1px solid #ccd9ce;border-radius:.6rem;color:var(--pos-ink);background:#fffefa;font-size:.8rem}.reg-input:focus{border-color:var(--pos-brand);box-shadow:0 0 0 3px #1f4d3b1a}.register-items-list{min-height:0;padding:.65rem .75rem;gap:.5rem}.reg-empty-cart{padding:2rem .8rem;color:#82928a}.reg-item-card{padding:.65rem;border-color:var(--pos-line);border-radius:.72rem;background:var(--pos-surface)}.reg-item-name{color:var(--pos-ink)}.reg-item-price,.reg-total-amount{color:var(--pos-brand)}.reg-qty-controls{border-color:#cbd9ce;border-radius:.55rem;background:#f6faf5}.reg-btn-qty{min-width:44px;min-height:44px;color:var(--pos-brand)}.reg-qty-val{min-width:26px}.register-footer{max-height:48%;overflow-y:auto;padding:.7rem .75rem max(.75rem,env(safe-area-inset-bottom));border-top-color:var(--pos-line);background:var(--pos-surface)}.reg-total-row{margin-bottom:.6rem}.reg-total-label{color:var(--pos-muted)}.reg-actions-row{grid-template-columns:minmax(82px,.34fr) minmax(0,1fr);gap:.45rem}.btn-reg-clear,.btn-reg-checkout{min-height:48px;border-radius:.68rem}.btn-reg-clear{border-color:#ccd9ce;color:var(--pos-muted);background:#f1f5f0}.btn-reg-checkout{background:var(--pos-brand);box-shadow:0 4px 10px #1f4d3b2b}.btn-reg-checkout:hover{background:#173e30}.pos-modal-overlay{padding:1rem;background:#0b1f1694;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pos-modal-box{width:min(100%,520px);max-height:min(90svh,720px);border:1px solid rgba(31,77,59,.12);border-radius:1.05rem;background:#fffefa;box-shadow:0 24px 50px #0a231738}.pos-modal-header{min-height:58px;padding:.7rem .9rem;border-bottom-color:var(--pos-line);background:#f7f9f4}.pos-modal-header h3{color:var(--pos-ink);font-family:"Noto Serif TC",Songti TC,serif}.pos-modal-body{min-height:0;padding:.9rem;gap:1rem;overflow-y:auto}.pos-mod-options-grid{gap:.55rem}.pos-opt-btn{min-height:48px;border-color:#ccd9ce;border-radius:.65rem}.pos-modal-footer{min-height:64px;gap:.65rem;padding:.75rem .9rem max(.75rem,env(safe-area-inset-bottom));border-top-color:var(--pos-line);background:#f7f9f4}.pos-success-receipt{padding:1.5rem 1.1rem}.receipt-icon{display:grid;place-items:center;width:3.2rem;height:3.2rem;margin:0 auto .6rem;border-radius:1rem;color:var(--pos-brand);background:#e7f1e6;font-size:0}.receipt-icon:after{content:"OK";font-family:ui-monospace,SFMono-Regular,monospace;font-size:.9rem;font-weight:800}.kds-view-container{min-width:0}.kds-top-toolbar{min-height:60px;gap:.75rem;padding:.55rem .8rem;background:#172d25;border-bottom-color:#2f5142}.kds-toolbar-title{min-width:0;font-size:.95rem}.kds-toolbar-title span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-kds-refresh,.btn-kds-action{min-height:44px}.kds-kanban-board{min-width:0;min-height:0;gap:.7rem;padding:.75rem}.kds-column{min-width:0;border-radius:.85rem}.kds-column-cards{min-height:0;padding:.6rem;gap:.6rem}.kds-order-card{padding:.75rem;border-radius:.75rem}.kds-card-footer{gap:.45rem;flex-wrap:wrap}.pos-inventory-container,.pos-data-view{min-width:0;height:100%!important;max-width:none!important;padding:1rem!important;overflow-y:auto}.pos-inventory-container>div:first-child,.pos-data-view>div:first-child{gap:.65rem!important;flex-wrap:wrap}.pos-inventory-container button,.pos-data-view button{min-height:44px;touch-action:manipulation}.pos-inventory-container table,.pos-data-view table{min-width:700px}@media(max-width:1199px)and (orientation:landscape){.pos-top-nav{grid-template-columns:195px minmax(0,1fr) 154px;gap:.45rem;padding:.5rem .65rem}.pos-brand-logo{font-size:.9rem}.pos-brand-mark{width:2rem;height:2rem}.pos-store-selector{max-width:9.5rem;font-size:.7rem}.pos-nav-tab-btn{min-height:44px;padding-right:.5rem;padding-left:.5rem;font-size:.7rem}.pos-nav-icon-svg{width:.95rem;height:.95rem}.pos-clock-section{gap:.25rem}.pos-display-link,.pos-shift-status,.pos-live-clock{min-height:34px;font-size:.63rem}.counter-view-container{grid-template-columns:minmax(0,1fr) 340px}.counter-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:.7rem;gap:.65rem}.counter-product-card{min-height:126px;padding:.7rem}.register-footer{max-height:46%}.kds-kanban-board{gap:.6rem;padding:.65rem}.kds-column-header{padding:.6rem .7rem;font-size:.82rem}.kds-order-card{padding:.65rem}.pos-inventory-container,.pos-data-view{padding:.8rem!important}}@media(max-width:767px){.pos-app-layout{height:auto;min-height:100svh;overflow:visible}.pos-top-nav{grid-template-columns:1fr auto}.pos-nav-tabs{grid-column:1 / -1;grid-row:2}.pos-clock-section{gap:.25rem}.pos-live-clock{display:none}.counter-view-container{min-height:calc(100svh - 142px);grid-template-columns:1fr}.counter-catalog-area{min-height:55svh;border-right:0;border-bottom:1px solid var(--pos-line)}.counter-register-sidebar{min-height:62svh}.counter-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.register-footer{max-height:none}.kds-kanban-board{grid-template-columns:1fr;overflow-y:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.pos-user-bar{display:flex;align-items:center;gap:.4rem;margin-right:.5rem}.pos-user-badge-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .65rem;background:#f2f7f4;border:1px solid #c9ded2;border-radius:999px;cursor:pointer;transition:all .2s ease}.pos-user-badge-btn:hover{background:#e2ede6;border-color:#285943}.pos-user-dot{width:7px;height:7px;border-radius:50%;background:#28a745;box-shadow:0 0 0 2px #28a74533}.pos-user-name-text{font-size:.82rem;color:#143d2c;font-weight:700}.pos-user-role-pill{font-size:.7rem;padding:.1rem .35rem;background:#285943;color:#fff;border-radius:4px;font-weight:600}.pos-lock-btn{padding:.3rem .55rem;font-size:.78rem;font-weight:600;color:#794343;background:#fdf5f5;border:1px solid #ebd4d4;border-radius:.4rem;cursor:pointer;transition:all .2s ease}.pos-lock-btn:hover{background:#f8dede;border-color:#d19f9f}.pos-tab-badge-sm{font-size:.65rem;padding:.1rem .3rem;background:#2859431f;color:#285943;border-radius:4px;margin-left:.3rem}.pos-login-modal{width:min(100%,560px);background:#fff;border-radius:1rem;padding:1.25rem;box-shadow:0 24px 60px #0a231759;animation:posModalFadeIn .2s ease}@keyframes posModalFadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.pos-login-modal-header{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #eef2ed;padding-bottom:.85rem;margin-bottom:1rem}.pos-modal-brand{display:flex;align-items:center;gap:.75rem}.pos-modal-logo{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#285943;color:#fff;font-weight:800;font-size:1rem;letter-spacing:-.5px}.pos-modal-brand h3{margin:0;font-size:1.1rem;color:#143d2c;font-weight:700}.pos-modal-brand p{margin:.2rem 0 0;font-size:.8rem;color:#687a70}.pos-modal-close-btn{background:transparent;border:none;font-size:1.2rem;color:#8c9b93;cursor:pointer;padding:.2rem .5rem;border-radius:6px}.pos-modal-close-btn:hover{background:#f0f3ef;color:#143d2c}.pos-login-error-banner{padding:.6rem .8rem;background:#fdf2f2;border:1px solid #f5c6cb;color:#b54747;border-radius:.5rem;font-size:.85rem;margin-bottom:1rem}.pos-section-title{display:block;font-size:.85rem;font-weight:700;color:#285943;margin-bottom:.6rem}.pos-quick-users-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-bottom:1.25rem}.pos-quick-user-card{position:relative;border:1px solid #e1e9e3;background:#fbfcf9;border-radius:.65rem;padding:.75rem .85rem;cursor:pointer;transition:all .2s ease}.pos-quick-user-card:hover{border-color:#285943;background:#f2f7f4;transform:translateY(-2px);box-shadow:0 4px 12px #2859431f}.pos-quick-user-card.is-current{border-color:#285943;background:#edf5f0;box-shadow:inset 0 0 0 1px #285943}.pos-user-card-top{display:flex;align-items:center;gap:.4rem;margin-bottom:.35rem}.pos-user-icon{font-size:1rem}.pos-user-name{font-size:.9rem;color:#143d2c}.pos-user-badge{font-size:.7rem;padding:.1rem .4rem;border-radius:4px;font-weight:600;margin-left:auto}.pos-user-desc{margin:0;font-size:.74rem;color:#687a70;line-height:1.35}.pos-current-indicator{display:block;margin-top:.4rem;font-size:.7rem;font-weight:700;color:#28a745}.pos-custom-login-form{border-top:1px dashed #dbe4dd;padding-top:1rem}.pos-login-fields-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:.5rem}.pos-login-input{padding:.55rem .75rem;border:1px solid #ccd9ce;border-radius:.5rem;font-size:.85rem;color:#143d2c;outline:none;background:#fafbfa}.pos-login-input:focus{border-color:#285943;background:#fff}.pos-login-submit-btn{padding:.55rem 1.25rem;background:#285943;color:#fff;border:none;border-radius:.5rem;font-weight:700;font-size:.85rem;cursor:pointer;transition:all .2s ease}.pos-login-submit-btn:hover:not(:disabled){background:#1e4735}.pos-login-submit-btn:disabled{opacity:.6;cursor:not-allowed}@media(min-width:768px)and (max-width:1199px)and (orientation:landscape){.pos-top-nav{min-height:0;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:.85rem;row-gap:.55rem;padding:.65rem .85rem .7rem}.pos-brand-section{grid-column:1;grid-row:1;min-width:0;display:flex;align-items:center;gap:.55rem}.pos-brand-logo{min-width:0;flex:0 1 auto;font-size:.95rem}.pos-store-selector{width:min(10rem,28vw);max-width:none;flex:0 1 10rem}.pos-clock-section{grid-column:2;grid-row:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:.35rem;white-space:nowrap}.pos-user-bar{min-width:0;flex:0 1 auto;gap:.3rem;margin-right:0}.pos-user-badge-btn{min-width:0;min-height:42px;max-width:8rem;gap:.35rem;padding:.35rem .5rem;white-space:nowrap}.pos-user-name-text{max-width:4.25rem;overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.pos-user-role-pill{flex:0 0 auto;padding:.12rem .3rem;font-size:.62rem}.pos-lock-btn{min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:.25rem;padding:.35rem .45rem;white-space:nowrap}.pos-lock-icon{display:inline-grid;place-items:center;flex:0 0 auto}.pos-lock-icon svg{width:.95rem;height:.95rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.pos-lock-label{font-size:.68rem}.pos-display-link,.pos-shift-status,.pos-live-clock{min-height:42px;font-size:.68rem}.pos-display-link,.pos-shift-status{padding:.35rem .45rem}.pos-live-clock{padding:.35rem .45rem;font-variant-numeric:tabular-nums}.pos-nav-tabs{grid-column:1 / -1;grid-row:2;width:100%;max-width:none}.pos-nav-tab-btn{min-height:46px;padding-right:.65rem;padding-left:.65rem;font-size:.74rem}}.kds-order-table{margin-top:.2rem;color:#fbbf24;font-size:.78rem;font-weight:800;letter-spacing:.02em}.lookup-modal-box{width:100%;max-width:560px;background:#fff;border-radius:1.25rem;box-shadow:0 20px 45px -10px #143d2c33,0 0 1px 1px #143d2c0d;display:flex;flex-direction:column;overflow:hidden;animation:modalScaleIn .2s cubic-bezier(.16,1,.3,1)}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.lookup-modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.25rem 1.5rem 1rem;border-bottom:1px solid #eef2ed;background:#fff}.lookup-header-left{display:flex;flex-direction:column;gap:.35rem}.lookup-badge-row{display:flex;align-items:center;gap:.5rem}.lookup-type-pill{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:9999px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.lookup-order-number-pill{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:700;color:#143d2c;background:#f0f4f1;padding:.2rem .55rem;border-radius:6px;letter-spacing:.03em}.lookup-modal-title{margin:0;font-size:1.25rem;font-weight:800;color:#143d2c;letter-spacing:-.01em}.lookup-close-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:none;background:#f1f5f3;color:#64748b;cursor:pointer;transition:all .15s ease;font-size:1.1rem;line-height:1}.lookup-close-btn:hover{background:#e2e8f0;color:#0f172a}.lookup-modal-body{padding:1.25rem 1.5rem;max-height:calc(82vh - 150px);overflow-y:auto;display:flex;flex-direction:column;gap:1.1rem}.lookup-summary-card{background:#fafbf9;border:1px solid #e2e8e2;border-radius:.875rem;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.6rem}.lookup-info-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.lookup-info-label{color:#64748b;font-weight:500}.lookup-info-value{color:#1e293b;font-weight:700}.lookup-status-pill{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;font-weight:700;padding:.25rem .65rem;border-radius:9999px}.lookup-status-pill.created{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.lookup-status-pill.paid{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.lookup-note-box{margin-top:.2rem;padding:.5rem .75rem;background:#fff7ed;border:1px dashed #fdba74;border-radius:6px;font-size:.8rem;color:#9a3412}.lookup-items-section{display:flex;flex-direction:column;gap:.5rem}.lookup-section-heading{font-size:.85rem;font-weight:750;color:#475569;text-transform:uppercase;letter-spacing:.04em;display:flex;justify-content:space-between;align-items:center}.lookup-items-container{border:1px solid #eef2ed;border-radius:.75rem;overflow:hidden;background:#fff;divide-y:1px solid #f1f5f3}.lookup-item-row{display:flex;justify-content:space-between;align-items:flex-start;padding:.75rem 1rem;border-bottom:1px solid #f1f5f3;transition:background-color .15s ease}.lookup-item-row:last-child{border-bottom:none}.lookup-item-row:hover{background-color:#fafbf9}.lookup-item-title{font-size:.925rem;font-weight:700;color:#143d2c;display:flex;align-items:center;gap:.4rem}.lookup-item-qty{font-size:.75rem;font-weight:700;background:#e6f0e5;color:#285943;padding:.1rem .4rem;border-radius:4px}.lookup-item-modifiers{margin-top:.3rem;display:flex;flex-wrap:wrap;gap:.3rem}.lookup-modifier-chip{font-size:.75rem;color:#4b6354;background:#f0f5f1;padding:.15rem .45rem;border-radius:4px}.lookup-item-price{font-size:.95rem;font-weight:800;color:#1e293b;font-variant-numeric:tabular-nums;margin-left:.75rem;white-space:nowrap}.lookup-invoice-card{background:#fff;border:1px solid #e2e8e2;border-radius:.875rem;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.lookup-invoice-header{display:flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:750;color:#334155}.lookup-seg-control{display:flex;background:#f1f5f3;padding:3px;border-radius:.6rem;gap:3px}.lookup-seg-btn{flex:1;border:none;background:transparent;padding:.45rem .3rem;font-size:.78rem;font-weight:600;color:#64748b;border-radius:.45rem;cursor:pointer;transition:all .15s ease;white-space:nowrap}.lookup-seg-btn:hover:not(.active){background:#ffffff80;color:#1e293b}.lookup-seg-btn.active{background:#285943;color:#fff;font-weight:700;box-shadow:0 2px 4px #28594333}.lookup-input-group{display:flex;gap:.5rem;animation:fadeIn .15s ease}.lookup-text-input{width:100%;padding:.6rem .85rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:.55rem;outline:none;transition:all .15s ease;background:#fff}.lookup-text-input:focus{border-color:#285943;box-shadow:0 0 0 3px #2859431f}.lookup-amount-card{background:linear-gradient(135deg,#f0f7f3,#e6f0e9);border:1px solid #cfe2d5;border-radius:.875rem;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.lookup-amount-label{font-size:.95rem;font-weight:700;color:#285943}.lookup-amount-val{font-size:1.65rem;font-weight:900;color:#143d2c;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.lookup-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem 1.25rem;border-top:1px solid #eef2ed;background:#fff;gap:.75rem}.lookup-btn-cancel{padding:.75rem 1.35rem;border-radius:.75rem;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .15s ease}.lookup-btn-cancel:hover{background:#f8fafc;color:#1e293b;border-color:#94a3b8}.lookup-btn-confirm{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:.75rem;border:none;background:linear-gradient(135deg,#285943,#1e453e);color:#fff;font-size:1rem;font-weight:800;cursor:pointer;box-shadow:0 4px 12px #28594340;transition:all .15s ease}.lookup-btn-confirm:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #28594359;background:linear-gradient(135deg,#2d654c,#17382b)}.lookup-btn-confirm:active:not(:disabled){transform:translateY(0)}.lookup-btn-confirm:disabled{opacity:.6;cursor:not-allowed}
