.pure-pos-shell{color:#16181d;background:#f5f6f8;grid-template-rows:68px 1fr 76px;min-width:1400px;height:1080px;font-family:Inter,Noto Sans TC,system-ui,sans-serif;display:grid}.pure-pos-topbar{background:#fff;border-bottom:1px solid #dde1e7;justify-content:space-between;align-items:center;padding:0 24px;display:flex}.pure-pos-topbar>div:first-child{align-items:baseline;gap:12px;display:flex}.pure-pos-topbar small{color:#727884}.pure-pos-status{gap:8px;display:flex}.pure-pos-status span{background:#f0f2f5;border-radius:10px;padding:7px 11px;font-size:13px}.pure-pos-stage{min-height:0;overflow:hidden}.pure-pos-nav{background:#fff;border-top:1px solid #dde1e7;grid-template-columns:repeat(10,1fr);gap:8px;padding:10px 16px;display:grid}.pure-pos-nav button,.pure-pos-shell button{cursor:pointer;background:#fff;border:1px solid #d7dce3;border-radius:10px;padding:10px 14px;font-weight:650}.pure-pos-nav button.active,.pure-pos-shell button.active,.pure-pos-shell button.primary{color:#fff;background:#17191d;border-color:#17191d}.pure-pos-shell button.secondary{background:#eef1f4}.pure-pos-shell button.ghost{color:#777;background:0 0;border:0;padding:6px}.pure-pos-shell button:disabled{opacity:.4;cursor:not-allowed}.pure-pos-page{box-sizing:border-box;height:100%}.pure-pos-cashier{grid-template-columns:minmax(0,1fr) 520px;gap:14px;padding:14px;display:grid}.pure-pos-products,.pure-pos-cart,.pure-pos-page.standard{background:#fff;border:1px solid #dde1e7;border-radius:16px;overflow:hidden}.pure-pos-products{grid-template-rows:auto auto 1fr;display:grid}.pure-pos-toolbar{border-bottom:1px solid #e6e9ed;justify-content:space-between;gap:16px;padding:14px;display:flex}.pure-pos-toolbar input{border:1px solid #d7dce3;border-radius:10px;width:320px;padding:10px 12px;font-size:16px}.segmented{gap:6px;display:flex}.segmented button{padding:9px 18px}.category-strip{border-bottom:1px solid #e6e9ed;gap:8px;padding:12px 14px;display:flex}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:10px;padding:14px;display:grid;overflow:auto}.product-card{text-align:left;flex-direction:column;justify-content:space-between;gap:8px;display:flex;min-height:120px!important}.product-card span{font-size:17px}.product-card strong{font-size:22px}.product-card small{color:#767d88}.pure-pos-cart{grid-template-rows:auto 1fr auto auto;display:grid}.pure-pos-cart>header{border-bottom:1px solid #e6e9ed;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.pure-pos-cart h2{margin:2px 0 0}.cart-lines{padding:8px;overflow:auto}.cart-line{border-bottom:1px solid #edf0f3;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:12px 8px;display:grid}.cart-line>div:first-child{flex-direction:column;gap:4px;display:flex}.cart-line small{color:#777}.qty{align-items:center;gap:8px;display:flex}.qty button{padding:5px 9px}.held-strip{border-top:1px solid #e6e9ed;align-items:center;gap:8px;padding:8px;display:flex;overflow:auto}.pure-pos-cart>footer{border-top:1px solid #e6e9ed;grid-template-columns:120px 1fr;gap:8px;padding:12px;display:grid}.pure-pos-cart>footer .primary{justify-content:space-between;font-size:18px;display:flex}.empty{color:#8a9099;place-items:center;min-height:180px;display:grid}.standard{background:#fff;margin:14px;border-radius:16px!important}.page-heading{border-bottom:1px solid #e6e9ed;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.page-heading h1{margin:3px 0 4px;font-size:26px}.page-heading p{color:#6f7680;margin:0}.page-actions{gap:8px;display:flex}.page-body{box-sizing:border-box;height:calc(100% - 100px);padding:16px;overflow:auto}.filter-row,.catalog-actions{gap:8px;margin-bottom:12px;display:flex}.order-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.order-card{border:1px solid #dde1e7;border-radius:14px;padding:14px}.order-card header,.order-card footer{justify-content:space-between;gap:6px;display:flex}.order-card h3{margin:14px 0;font-size:24px}.order-card footer{justify-content:flex-start}.table-grid{grid-template-columns:repeat(6,1fr);gap:12px;display:grid}.table-card{text-align:left;flex-direction:column;gap:8px;display:flex;min-height:130px!important}.table-card.occupied{background:#f1f2f4;border-color:#17191d}.table-card.billing{background:#fff4dc}.table-card.selected{outline:3px solid #8a8f98}.action-drawer{background:#fff;border:1px solid #cfd5dc;border-radius:16px;gap:8px;width:330px;padding:14px;display:grid;position:absolute;bottom:98px;right:26px;box-shadow:0 16px 50px #00000026}.catalog-list,.device-list{gap:8px;display:grid}.catalog-list>div,.device-list>div{border:1px solid #e0e4e9;border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px;display:grid}.catalog-list>div>div,.device-list>div>div{flex-direction:column;gap:4px;display:flex}.success{background:#edf8ef!important}.danger{background:#fff0f0!important}.device-state{border-radius:999px;padding:7px 10px;font-size:12px}.device-state.online{background:#eaf7ed}.device-state.offline{background:#eef0f2}.device-state.error{background:#ffeded}.center-card{text-align:center;border:1px solid #dde1e7;border-radius:16px;max-width:700px;margin:50px auto;padding:26px}.checkout-surface{z-index:9999;background:#0a0c1073;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.checkout-panel{background:#fff;border-radius:20px;width:min(1050px,92vw);overflow:hidden;box-shadow:0 20px 70px #00000040}.checkout-panel>header{border-bottom:1px solid #e2e5e9;align-items:center;gap:20px;padding:18px 20px;display:flex}.checkout-panel h2{margin:2px 0}.checkout-grid{grid-template-columns:1fr 1fr;gap:18px;padding:20px;display:grid}.checkout-grid section:first-child{grid-template-columns:1fr 1fr;align-content:start;gap:10px;display:grid}.settlement{gap:8px;display:grid}.settlement>div{background:#f4f5f7;border-radius:12px;justify-content:space-between;padding:16px;display:flex}.settlement strong{font-size:22px}.checkout-panel>footer{border-top:1px solid #e2e5e9;justify-content:flex-end;padding:16px 20px;display:flex}.shift-grid,.report-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.metric,.cash-count{border:1px solid #dde1e7;border-radius:14px;flex-direction:column;gap:8px;padding:16px;display:flex}.metric strong{font-size:26px}.cash-count input{border:0;border-bottom:1px solid #aaa;padding:6px;font-size:24px}.report-panels{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px;display:grid}.report-panels article{border:1px solid #dde1e7;border-radius:14px;padding:16px}.kds-board{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.kds-ticket{border:1px solid #ced4dc;border-radius:14px;padding:12px}.kds-ticket>header{justify-content:space-between;margin-bottom:12px;display:flex}.kds-ticket>div{border-bottom:1px solid #eee;flex-direction:column;padding:8px 0;display:flex}.kds-ticket footer{padding-top:12px}.pure-pos-shell h1,.pure-pos-shell h2,.pure-pos-shell h3,.pure-pos-shell p{line-height:1.2}.pure-pos-editor{--editor-top:58px;color:#17191d;background:#eceff3;min-height:100vh;font-family:Inter,Noto Sans TC,system-ui,sans-serif;overflow:hidden}.pure-pos-editor *{box-sizing:border-box}.pure-pos-editor button{font:inherit}.pure-pos-editor-topbar{height:var(--editor-top);z-index:20000;color:#fff;overscroll-behavior-x:contain;background:#121418f7;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex;position:fixed;inset:0 0 auto;overflow-x:auto;box-shadow:0 3px 18px #00000038}.editor-topbar-left,.editor-topbar-actions,.editor-breakpoints,.editor-tool-group,.editor-zoom{align-items:center;gap:6px;min-width:max-content;display:flex}.editor-topbar-left strong{white-space:nowrap;text-overflow:ellipsis;max-width:220px;overflow:hidden}.pure-pos-editor-topbar button{color:#fff;white-space:nowrap;background:#2a2d33;border:1px solid #ffffff24;border-radius:9px;min-height:36px;padding:8px 9px}.pure-pos-editor-topbar button:hover,.pure-pos-editor-topbar button.active,.editor-breakpoints button.active,.editor-tool-group button.active{color:#17191d;background:#fff}.editor-tool-group{background:#0c0e12;border-radius:11px;padding:3px}.editor-tool-group button{min-height:32px;padding:6px 9px}.editor-tool-group button.danger-safe.active{color:#6b3b00;background:#ffebc6;border-color:#ffca6e}.editor-zoom{background:#0c0e12;border-radius:11px;padding:3px}.editor-zoom button{min-width:34px;min-height:32px;padding:6px 8px}.editor-zoom .zoom-readout{font-variant-numeric:tabular-nums;min-width:58px}.pure-pos-pages-panel{z-index:17000;top:var(--editor-top);background:#fff;border-right:1px solid #dce1e7;flex-direction:column;width:264px;transition:transform .18s;display:flex;position:fixed;bottom:0;left:0;transform:translate(-104%);box-shadow:12px 0 28px #13192314}.pure-pos-pages-panel.open{transform:translate(0)}.pure-pos-pages-panel>header{border-bottom:1px solid #e4e7eb;justify-content:space-between;align-items:center;padding:15px;display:flex}.pure-pos-pages-panel>header>div{flex-direction:column;gap:3px;display:flex}.pure-pos-pages-panel small{color:#747b86}.pure-pos-pages-panel button{color:#191b20;background:#fff;border:1px solid #d8dde4;border-radius:9px;padding:8px 10px}.pages-list{flex:1;padding:8px;overflow:auto}.page-row{border-radius:11px;margin-bottom:6px}.page-row.active{background:#eef2ff}.page-select{text-align:left;grid-template-columns:30px minmax(0,1fr);grid-template-areas:"n title""n meta";gap:2px 8px;width:100%;background:0 0!important;border:0!important;padding:10px!important;display:grid!important}.page-select span{background:#eceff4;border-radius:8px;grid-area:n;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.page-row.active .page-select span{color:#fff;background:#215bff}.page-select strong{text-overflow:ellipsis;white-space:nowrap;grid-area:title;overflow:hidden}.page-select small{grid-area:meta}.pure-pos-pages-panel>footer{border-top:1px solid #e4e7eb;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px;display:grid}.pure-pos-pages-panel>footer button{padding:8px 4px;font-size:12px}.pure-pos-editor-workspace{padding-top:var(--editor-top);min-width:0;height:100vh}.pure-pos-editor-canvas-viewport{height:calc(100vh - var(--editor-top));overscroll-behavior:contain;background:#e7eaef;justify-content:center;align-items:flex-start;padding:22px;display:flex;overflow:auto}.pure-pos-editor.tool-hand .pure-pos-editor-canvas-viewport{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.pure-pos-editor.tool-hand .pure-pos-editor-canvas-viewport:active{cursor:grabbing}.pure-pos-editor-canvas-space{flex:none;position:relative}.pure-pos-editor-canvas{transform-origin:0 0;background-color:#f5f6f8;background-image:linear-gradient(#5b687a0d 1px,#0000 1px),linear-gradient(90deg,#5b687a0d 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:16px 16px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:1px solid #cfd5dd;border-radius:14px;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 18px 55px #19202b2e}.pure-pos-runtime-host{background:#f5f6f8;position:absolute;inset:0;overflow:hidden}.pure-pos-runtime-host>div{width:100%;height:100%}.pure-pos-editor-canvas .pure-pos-shell{width:100%!important;min-width:100%!important;height:100%!important;min-height:100%!important}.pure-pos-editor-canvas .pure-pos-stage{overflow:auto}.pure-pos-editor .back-button{top:calc(var(--editor-top) + 8px)!important;z-index:16000!important;left:10px!important}.pure-pos-editor.is-blank-page .pure-pos-shell{visibility:hidden}.pure-pos-custom-layer{z-index:700;pointer-events:none;position:absolute;inset:0}.pure-pos-custom-component{pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:10px;justify-content:center;align-items:center;min-width:32px;min-height:24px;display:flex;position:absolute;overflow:hidden}.pure-pos-editor.is-editing:not(.tool-hand) .pure-pos-custom-component{pointer-events:auto}.pure-pos-editor.tool-select .pure-pos-custom-component{cursor:pointer;touch-action:manipulation}.pure-pos-editor.tool-move .pure-pos-custom-component{cursor:move;touch-action:none}.pure-pos-custom-component.type-button>button{color:#fff;background:#17191d;border:1px solid #1f2329;border-radius:10px;width:100%;height:100%;font-weight:700}.pure-pos-custom-component.type-text{background:0 0;justify-content:flex-start;padding:6px;font-size:18px;font-weight:650}.pure-pos-custom-component.type-card{background:#fff;border:1px solid #ccd2da;justify-content:flex-start;align-items:flex-start;padding:14px;box-shadow:0 7px 18px #00000014}.pure-pos-custom-component.type-card>div{flex-direction:column;gap:5px;display:flex}.pure-pos-custom-component.type-card small{color:#818894}.pure-pos-custom-component.type-image{background:#e8ebf0;border:1px dashed #9ca5b1}.pure-pos-custom-component.type-image img{object-fit:cover;width:100%;height:100%}.image-placeholder{color:#737b87;font-weight:700}.pure-pos-editor.tool-select [data-pure-editor-node=true]{cursor:pointer;touch-action:manipulation}.pure-pos-editor.tool-move [data-pure-editor-node=true]{cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.pure-pos-editor.tool-move [data-pure-editor-node=true]:hover,.pure-pos-editor.tool-select [data-pure-editor-node=true]:hover{outline-offset:-1px;outline:1px dashed #215bff9e}.pure-pos-editor.tool-hand [data-pure-editor-node=true],.pure-pos-editor.tool-hand .pure-pos-custom-component{pointer-events:none!important}.pure-pos-editor .pure-pos-edit-selected{box-shadow:0 0 0 2px #fffc,0 0 0 5px #215bff2e;outline-offset:1px!important;z-index:880!important;outline:3px solid #215bff!important}.pure-pos-custom-component.is-locked,.pure-pos-editor [data-pure-locked=true]{cursor:not-allowed!important}.pure-pos-inspector{z-index:16500;right:0;top:var(--editor-top);background:#fff;border-left:1px solid #dce1e7;flex-direction:column;gap:10px;width:252px;padding:16px;display:none;position:fixed;bottom:0;box-shadow:-12px 0 28px #1319230f}.pure-pos-inspector>small{color:#6e7580;min-height:48px;line-height:1.4}.inspector-actions{grid-template-columns:1fr 1fr;gap:7px;display:grid}.inspector-actions button{background:#fff;border:1px solid #d5dae1;border-radius:9px;padding:9px}.inspector-actions button:disabled{opacity:.35}.inspector-meta{color:#858b95;border-top:1px solid #e6e9ed;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;font-size:12px;display:flex}.pure-pos-editor-mobile-toolbar{z-index:18000;background:#111317f5;border-radius:14px;gap:6px;max-width:calc(100vw - 16px);padding:7px;display:flex;position:fixed;bottom:10px;left:50%;overflow-x:auto;transform:translate(-50%);box-shadow:0 12px 35px #00000040}.pure-pos-editor-mobile-toolbar button{color:#17191d;white-space:nowrap;background:#fff;border:0;border-radius:9px;flex:none;padding:9px 10px;font-size:12px}.pure-pos-editor-mobile-toolbar button.active{color:#fff;background:#215bff}.pure-pos-editor-mobile-toolbar button:disabled{opacity:.35}.editor-scrim{z-index:20900!important;background:#090b0f7a!important;border:0!important;border-radius:0!important;padding:0!important;position:fixed!important;inset:0!important}.editor-sheet{z-index:21000;background:#fff;border:1px solid #d8dde4;border-radius:18px;width:min(980px,100vw - 36px);max-height:78vh;padding:16px;position:fixed;bottom:18px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 25px 80px #00000047}.editor-sheet>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.editor-sheet>header>div{flex-direction:column;gap:3px;display:flex}.editor-sheet>header small{color:#747b86}.editor-sheet>header button{background:#eef0f3;border:0;border-radius:9px;width:36px;height:36px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.template-grid>button,.component-picker>button{text-align:left;background:#fff;border:1px solid #d6dbe2;border-radius:12px;flex-direction:column;gap:6px;min-height:92px;padding:13px;display:flex}.template-grid>button:hover,.component-picker>button:hover{background:#f7f9ff;border-color:#215bff}.template-grid small,.component-picker small{color:#737b87;line-height:1.3}.editor-sheet h3{margin:18px 0 8px}.template-grid.saved{grid-template-columns:repeat(2,minmax(0,1fr))}.component-picker{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.component-picker>button>span{color:#fff;background:#17191d;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.editor-toast{z-index:23000;left:50%;top:calc(var(--editor-top) + 12px);color:#fff;background:#17191d;border-radius:999px;padding:9px 14px;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0003}@media (width>=1180px){.pure-pos-pages-panel{transform:none}.pure-pos-editor-workspace{margin-left:264px;margin-right:252px}.pure-pos-inspector{display:flex}.pure-pos-editor-mobile-toolbar{display:none}.pure-pos-editor .back-button{left:274px!important}.pure-pos-editor-canvas-viewport{justify-content:flex-start}}@media (width<=1179px){.pure-pos-editor-canvas-viewport{padding-bottom:78px}.pure-pos-pages-panel{box-shadow:16px 0 40px #0000002e}}@media (width<=760px){.pure-pos-editor{--editor-top:104px}.pure-pos-editor-topbar{height:var(--editor-top);grid-template-rows:44px 44px;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:7px 8px;display:grid;overflow:visible}.editor-topbar-left{grid-area:1/1/auto/2}.editor-topbar-left strong{display:none}.editor-breakpoints{grid-area:1/2}.editor-breakpoints button{min-height:32px;padding:6px 7px;font-size:11px}.editor-tool-group,.editor-zoom{display:none}.editor-topbar-actions{grid-area:2/1/auto/3;justify-content:flex-start;overflow-x:auto}.editor-topbar-actions button{min-height:32px;padding:6px 9px;font-size:12px}.pure-pos-pages-panel{border-top:1px solid #dce1e7;border-right:0;border-radius:18px 18px 0 0;width:100%;height:min(72vh,650px);transition:transform .18s;inset:auto 0 0;transform:translateY(105%);box-shadow:0 -18px 48px #0003}.pure-pos-pages-panel.open{transform:translateY(0)}.pages-list{padding-bottom:6px}.page-select{grid-template-columns:32px minmax(0,1fr)}.pure-pos-pages-panel>footer{grid-template-columns:repeat(4,1fr)}.pure-pos-editor-canvas-viewport{justify-content:flex-start;padding:10px 8px 76px}.pure-pos-editor-canvas{border-radius:10px}.pure-pos-editor-mobile-toolbar{bottom:7px;left:8px;right:8px;transform:none}.editor-sheet{border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;width:100%;max-height:80vh;padding:14px;bottom:0;left:0;right:0;transform:none}.template-grid,.template-grid.saved{grid-template-columns:1fr}.component-picker{grid-template-columns:1fr 1fr}.component-picker>button{min-height:110px}.pure-pos-editor .back-button{top:calc(var(--editor-top) + 5px)!important;padding:6px 8px!important;font-size:11px!important;left:6px!important}}html,body,#root{overscroll-behavior:none}.pure-pos-editor .pure-pos-editor-canvas-viewport{touch-action:none!important}.pure-pos-editor-topbar,.pure-pos-editor-mobile-toolbar,.pure-pos-pages-panel,.pure-pos-inspector,.editor-sheet,.editor-zoom{touch-action:manipulation}.pure-pos-editor.is-editing.tool-move [data-pure-editor-node=true],.pure-pos-editor.is-editing.tool-move [data-pure-custom-id]{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;touch-action:none!important}.pure-pos-editor.is-editing.tool-move .pure-pos-longpress-armed{outline-offset:2px!important;outline:3px solid #ffb020!important}.pure-pos-editor .pure-pos-editor-canvas-viewport{justify-content:flex-start!important;align-items:flex-start!important;display:flex!important}.pure-pos-editor .pure-pos-editor-canvas-space{flex:none!important;margin:auto!important}@media (width<=760px){.pure-pos-editor .editor-zoom{transform-origin:50%!important;z-index:19500!important;background:#111317f7!important;border:1px solid #ffffff1f!important;border-radius:14px!important;gap:4px!important;width:max-content!important;max-width:calc(100vw - 20px)!important;padding:5px!important;display:flex!important;position:fixed!important;inset:auto auto 68px 50%!important;transform:translate(-50%)!important;box-shadow:0 10px 30px #00000047!important}.pure-pos-editor .editor-zoom button{border-radius:10px!important;min-width:42px!important;min-height:40px!important;padding:7px 10px!important;font-size:14px!important}.pure-pos-editor .editor-zoom .zoom-readout{font-variant-numeric:tabular-nums;min-width:64px!important}.pure-pos-editor .pure-pos-editor-mobile-toolbar{bottom:8px!important}.pure-pos-editor .pure-pos-editor-canvas-viewport{padding:10px 10px 132px!important}}
