:root{--cream:#fff8e9;--paper:#fffdf7;--ink:#213e49;--muted:#6b7d81;--coral:#f17355;--coral-dark:#d65c42;--yellow:#f8c95e;--mint:#77caa4;--mint-dark:#439b77;--blue:#9bcfe1;--line:#e8e5d9;--category-starters-bg:#ecf8e7;--category-starters-border:#d8ebd4;--category-mains-bg:#fff2df;--category-mains-border:#f2e3cc;--category-desserts-bg:#fff0f1;--category-desserts-border:#f1dade;--category-drinks-bg:#e9f5fb;--category-drinks-border:#d4e9f2;--shadow:0 14px 32px rgba(49,72,65,.12);font-family:ui-rounded,"Avenir Next",Avenir,"Trebuchet MS",sans-serif;color:var(--ink)}
*{box-sizing:border-box}html{min-height:100%;background:var(--cream)}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 8% 14%,#fffef8 0 7%,transparent 21%),radial-gradient(circle at 92% 92%,#fff2d2 0 10%,transparent 29%),var(--cream);-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:4px solid #477cfd;outline-offset:3px}img{display:block;max-width:100%}[hidden]{display:none!important}.modal-open{overflow:hidden}.app-shell{min-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:76px;min-height:76px;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));display:grid;grid-template-columns:72px 1fr 72px;align-items:center;position:relative;z-index:2}.brand{text-align:center;font-size:30px;line-height:1;font-weight:1000;letter-spacing:-2px;user-select:none}.brand span:first-child{color:var(--coral)}.brand-dot{color:#f4bd3e}.brand-mark{width:54px;height:54px;border-radius:17px;background:#e4f4dc;display:grid;place-items:center;font-size:35px;color:#5caa77;transform:rotate(-8deg)}.icon-button{border:0;background:transparent;display:grid;place-items:center}.home-button,.settings-button{width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 5px 0 #e9e5d8;font-size:36px;font-weight:900;line-height:1}.home-button{font-size:43px;padding-bottom:9px}.settings-button{justify-self:end;color:#729399;font-size:29px}.home-button:active,.settings-button:active,.choice-card:active,.table-unit:active,.food-tile:active,.payment-card:active{transform:translateY(4px);box-shadow:0 2px 0 #d9d7cc}

/* Home */
.home-main{width:min(1220px,calc(100% - 56px));margin:0 auto;flex:1;display:flex;flex-direction:column;justify-content:center;padding:12px 0 24px;position:relative}.home-intro{text-align:center;position:relative;flex:0 0 auto}.home-intro h1{font-size:clamp(32px,4vw,55px);line-height:1.04;letter-spacing:-1.8px;margin:0 0 28px;font-weight:1000}.home-intro h1 span{color:var(--coral)}.sparkle{position:absolute;font-size:38px;color:#f4c34b}.sparkle-one{left:17%;top:4px;transform:rotate(-20deg)}.sparkle-two{right:17%;bottom:25px;color:#77caa4}.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:30px;min-height:0}.choice-card{border-radius:38px;min-height:360px;max-height:520px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 0 rgba(39,79,76,.13),var(--shadow);transition:transform .16s,box-shadow .16s;position:relative}.choice-cashier{background:#ffd4b9}.choice-restaurant{background:#bfe7ce}.choice-card:before{content:"";position:absolute;left:23px;top:23px;width:45px;height:45px;border:3px solid rgba(255,255,255,.68);border-radius:50%;z-index:1}.choice-card:after{content:"✦";position:absolute;right:26px;top:17px;font-size:39px;color:rgba(255,255,255,.78)}.choice-art{height:76%;display:flex;align-items:center;justify-content:center;padding:15px 23px 0}.choice-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 8px rgba(75,76,52,.12))}.choice-footer{height:24%;min-height:84px;background:rgba(255,255,255,.72);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,3vw,48px)}.choice-title{font-size:clamp(28px,3.3vw,47px);font-weight:1000;letter-spacing:-1.5px}.choice-arrow{height:57px;width:57px;border-radius:50%;background:var(--coral);color:white;display:grid;place-items:center;font-size:31px;box-shadow:0 5px 0 #d55a40}.choice-restaurant .choice-arrow{background:#58b98e;box-shadow:0 5px 0 #3f9c76}.home-decoration{display:flex;justify-content:center;gap:26px;color:#eab84e;font-size:22px;margin-top:20px}.home-decoration span:nth-child(2){color:#f08b71}.home-decoration span:last-child{color:#79cba4}

/* Shared headings and dialogs */
.section-heading{width:min(1350px,calc(100% - 54px));margin:4px auto 20px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:900;color:#7b9992}.section-heading h1{font-size:clamp(31px,3.7vw,48px);letter-spacing:-1.5px;margin:2px 0 0;line-height:1.08}.dialog-close{width:54px;height:54px;border-radius:17px;background:#f1f1e9;color:#51646b;font-size:38px;line-height:1}.dialog-close:active{transform:scale(.94)}.settings-backdrop,.table-backdrop,.payment-backdrop{position:fixed;inset:0;z-index:20;background:rgba(27,53,56,.55);display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));backdrop-filter:blur(5px)}.settings-backdrop{z-index:30}.settings-panel{width:min(470px,96vw);border-radius:32px;background:var(--paper);padding:36px;text-align:center;position:relative;box-shadow:0 24px 60px rgba(8,36,40,.26)}.settings-panel .dialog-close{position:absolute;right:16px;top:16px}.settings-symbol{font-size:54px}.settings-panel h2{font-size:30px;margin:5px 0}.settings-panel p{font-size:17px;color:var(--muted);line-height:1.4}.settings-reset{border:0;border-radius:18px;padding:17px 20px;background:#fbdacb;color:#853f2d;font-weight:900;font-size:18px;min-height:62px;width:100%;margin-top:8px}.settings-reset.is-armed{background:var(--coral);color:white}.settings-confirm{color:#a54e35!important;font-weight:800;margin-bottom:0}

/* Restaurant floor */
.restaurant-main{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:max(20px,env(safe-area-inset-bottom))}.table-legend{display:flex;gap:12px;align-items:center;background:white;border-radius:50px;padding:13px 17px;box-shadow:0 5px 0 #e5e5d6}.legend-dot{display:block;width:23px;height:23px;border-radius:50%;border:3px solid #e4e4d9}.legend-dot.empty{background:#fffdf8}.legend-dot.preparing{background:var(--yellow);border-color:#e9ab45}.legend-dot.served{background:var(--mint);border-color:#54af82}.dining-room{width:min(1350px,calc(100% - 54px));height:min(710px,calc(100dvh - 191px));min-height:480px;margin:0 auto;border:9px solid #e5cfa8;border-radius:42px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 37px,rgba(197,138,80,.06) 38px 41px),#f9ecd6;position:relative;overflow:hidden;box-shadow:inset 0 0 0 5px #fff8e9,0 17px 0 #d7bd95,0 25px 36px rgba(79,88,63,.14)}.tables-grid{position:absolute;inset:15px 35px 65px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);align-items:center;justify-items:center;gap:10px 15px;z-index:1}.room-decor{position:absolute;pointer-events:none}.decor-plant{width:70px;height:70px;border-radius:50%;background:#7dbb83;display:grid;place-items:center;color:#e8f3b6;font-size:45px;box-shadow:0 8px 0 #63945e,inset 0 0 0 9px #a8d19b}.decor-plant-one{left:-24px;top:30px}.decor-plant-two{right:-24px;bottom:75px}.decor-rug{width:24%;height:32%;background:#f7d98e;opacity:.44;transform:rotate(-11deg);border-radius:32px;left:37%;top:33%}.room-counter{position:absolute;bottom:0;left:34%;width:32%;height:46px;border-radius:20px 20px 0 0;background:#cb9672;border:5px solid #b98969;border-bottom:0;display:flex;justify-content:space-evenly;align-items:center;font-size:25px;box-shadow:0 -7px 12px rgba(84,62,42,.08)}.table-unit{border:0;background:transparent;position:relative;width:170px;height:170px;display:grid;place-items:center;filter:drop-shadow(0 9px 4px rgba(92,80,50,.14));transition:transform .16s;z-index:2}.table-unit:active{filter:drop-shadow(0 3px 2px rgba(92,80,50,.14))}.table-surface{width:76%;height:76%;border-radius:28px;background:#fffdf5;border:8px solid #d8a87a;box-shadow:inset 0 0 0 4px #fff6e6,0 7px 0 #ba8960;display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.table-round .table-surface{border-radius:50%;width:77%;height:77%}.table-large{width:215px;height:170px}.table-large .table-surface{width:78%;height:72%;border-radius:38px}.table-number{font-size:64px;font-weight:1000;color:#627d7b;line-height:1}.table-state-icon{position:absolute;right:-7px;bottom:-16px;border-radius:50%;background:#fffef8;width:46px;height:46px;display:grid;place-items:center;font-size:25px;box-shadow:0 4px 7px #c5ac8e}.status-preparing .table-surface{background:#fbd581;border-color:#df9d4e}.status-preparing .table-number{color:#8e5b2f}.status-served .table-surface{background:#8bd7aa;border-color:#4eaa7e}.status-served .table-number{color:#246950}.status-served .table-state-icon{background:#eaffee;color:#2c9c66;font-weight:1000}.chair{position:absolute;width:46px;height:32px;border-radius:15px;background:#f19b73;border:5px solid #d7815f;box-shadow:0 4px 0 #bb7053;z-index:0}.chair-top{top:-12px;left:calc(50% - 23px)}.chair-bottom{bottom:-12px;left:calc(50% - 23px)}.chair-left{left:-8px;top:calc(50% - 16px);transform:rotate(90deg)}.chair-right{right:-8px;top:calc(50% - 16px);transform:rotate(90deg)}.chair-top-left{top:-8px;left:29px}.chair-top-right{top:-8px;right:29px}.chair-bottom-left{bottom:-8px;left:29px}.chair-bottom-right{bottom:-8px;right:29px}

/* Table order */
.table-panel{width:min(1180px,100%);height:min(790px,95dvh);background:var(--paper);border-radius:32px;box-shadow:0 25px 65px rgba(8,36,40,.25);display:flex;flex-direction:column;overflow:hidden}.table-panel-header{height:86px;min-height:86px;padding:13px 26px 13px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #f0eee5}.table-title-wrap{display:flex;align-items:center;gap:15px}.table-title-icon{width:58px;height:58px;background:#fbe6b5;border-radius:18px;display:grid;place-items:center;font-size:32px}.table-title-wrap h2{font-size:32px;line-height:1;margin:4px 0 0;letter-spacing:-1px}.table-panel-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:0;flex:1}.menu-side{padding:18px 22px 22px;min-width:0;min-height:0;display:flex;flex-direction:column}.category-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;flex:0 0 auto}.category-tab{border:3px solid transparent;background:#f3f2e9;border-radius:22px;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#5d7276;font-weight:900;font-size:14px;box-shadow:0 4px 0 #e6e4d8}.category-tab .category-icon{font-size:37px;line-height:1.1}.category-tab.is-active{background:#ffdeb2;border-color:#f3ac63;color:#8d4c2c;box-shadow:0 4px 0 #df9b56}.food-grid{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:13px;margin-top:21px;padding:3px 3px 12px;scrollbar-color:#e4d5b8 transparent}.food-tile{border:3px solid #eee9dd;border-radius:25px;background:white;min-height:140px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;box-shadow:0 5px 0 #e5e5d9;transition:transform .15s,background .15s}.food-tile:hover{filter:saturate(1.15)}.food-starters{background:var(--category-starters-bg);border-color:var(--category-starters-border)}.food-mains{background:var(--category-mains-bg);border-color:var(--category-mains-border)}.food-desserts{background:var(--category-desserts-bg);border-color:var(--category-desserts-border)}.food-drinks{background:var(--category-drinks-bg);border-color:var(--category-drinks-border)}.food-illustration{font-size:65px;line-height:1.1;filter:drop-shadow(0 4px 1px rgba(48,45,38,.09))}.food-illustration img{width:84px;height:84px;object-fit:contain}.food-name{font-size:16px;font-weight:900;color:#5d6a6c}.food-added{position:absolute;right:7px;top:7px;width:35px;height:35px;border-radius:50%;background:#4cb785;color:white;display:grid;place-items:center;font-weight:1000;font-size:23px;opacity:0;transform:scale(.3)}.food-tile.is-added .food-added{animation:added .55s ease-out}.food-tile.is-added .food-illustration{animation:bounce .4s}.order-side{background:#f6f4e9;border-left:2px solid #ece8db;padding:20px 17px;display:flex;flex-direction:column;min-height:0}.order-heading{display:flex;align-items:center;justify-content:space-between;font-size:23px;font-weight:1000;flex:0 0 auto}.order-clear{height:49px;width:49px;border-radius:15px;background:#fff;font-size:24px;box-shadow:0 3px 0 #deddd3}.order-list{margin-top:14px;min-height:0;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:9px;padding:2px 3px 8px}.order-empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#a7b3ad;gap:8px;font-size:55px;text-align:center}.order-empty small{font-size:15px;font-weight:800}.order-item{background:white;border-radius:17px;display:grid;grid-template-columns:42px minmax(0,1fr) auto 46px;align-items:center;gap:5px;padding:8px 6px 8px 9px;min-height:66px;box-shadow:0 3px 0 #e8e6da}.order-item-icon{font-size:29px}.order-item-name{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-item strong{font-size:20px}.remove-item{width:46px;height:46px;border-radius:13px;border:0;background:#ffebdf;color:#bb604c;font-size:30px;line-height:1;font-weight:900}.order-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:13px;flex:0 0 auto}.order-actions button{border:0;border-radius:19px;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:white;font-weight:1000;box-shadow:0 5px 0 rgba(0,0,0,.13)}.order-actions button span{font-size:33px;line-height:1}.order-actions button small{font-size:13px}.action-save{background:var(--coral);grid-column:1 / -1}.action-save:disabled{opacity:.42;cursor:default}.order-actions .action-serve{background:#58b788}.order-actions .action-bill{background:#5aabc6}.order-actions .action-serve[hidden] + .action-bill{grid-column:1 / -1}.toast{position:fixed;z-index:25;top:110px;left:50%;transform:translate(-50%,-20px) scale(.8);background:white;border-radius:25px;padding:10px 24px;font-size:45px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.is-visible{opacity:1;transform:translate(-50%,0) scale(1)}

/* Cashier */
.cashier-sticker{width:54px;height:54px;border-radius:17px;background:#fce6ad;color:#dbad45;display:grid;place-items:center;font-size:37px;transform:rotate(12deg)}.cashier-main{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:max(18px,env(safe-area-inset-bottom))}.cashier-layout{width:min(1350px,calc(100% - 54px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);gap:26px;flex:1;min-height:0}.register-panel{min-height:0;background:#f07758;border:8px solid #df684b;border-radius:36px;padding:20px;display:flex;flex-direction:column;box-shadow:0 12px 0 #cb664f,0 19px 28px rgba(113,70,53,.16)}.register-display{border:8px solid #d4efe5;background:#e7f6ef;border-radius:25px;padding:17px 23px 13px;min-height:150px;flex:0 0 auto;box-shadow:inset 0 5px 10px rgba(31,102,92,.1)}.display-top{font-size:13px;font-weight:1000;letter-spacing:1.8px;color:#65968a;display:flex;align-items:center;justify-content:space-between}.display-sparkle{font-size:28px;color:#9bc8a9}.total-line{display:flex;align-items:baseline;justify-content:center;gap:12px;line-height:1.1}.total-line #total-amount{font-size:clamp(62px,7.4vw,112px);font-weight:1000;letter-spacing:-5px;font-variant-numeric:tabular-nums}.currency{font-size:18px;font-weight:1000;color:#68948a}.entered-items{display:flex;gap:8px;min-height:26px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.entered-items::-webkit-scrollbar{display:none}.amount-chip{display:inline-block;background:#c8e7d8;border-radius:20px;padding:3px 9px;font-size:14px;font-weight:900;color:#527e71}.keypad-area{min-height:0;flex:1;display:flex;flex-direction:column;padding-top:12px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,minmax(55px,1fr));gap:9px;min-height:0;flex:1}.keypad button{border:0;border-radius:16px;background:#fffdfa;color:var(--ink);font-size:34px;font-weight:1000;box-shadow:0 5px 0 #e8d5c7;min-height:55px}.keypad button:active,.keypad-actions button:active,.cash-choice:active,.confirm-payment:active{transform:translateY(4px);box-shadow:0 1px 0 #d9c9ba}.keypad-actions{display:grid;grid-template-columns:1fr 80px;gap:10px;margin-top:14px}.keypad-actions button{border:0;border-radius:17px;min-height:62px;box-shadow:0 5px 0 rgba(97,59,47,.2);font-weight:1000}.add-amount{background:#f9ce6c;font-size:24px;color:#76512a}.add-amount span{font-size:31px;vertical-align:-2px}.clear-amount{background:#fce5db;font-size:26px}.register-panel.linked-bill{justify-content:center}.register-panel.linked-bill .register-display{min-height:65%;display:flex;flex-direction:column;justify-content:center}.payment-panel{background:#fffdf6;border:5px solid #e9e6db;border-radius:35px;padding:20px;box-shadow:0 10px 0 #e3e2d4;display:flex;flex-direction:column;min-height:0}.payment-heading{display:flex;align-items:center;gap:8px;flex:0 0 auto}.payment-heading h2{font-size:clamp(22px,2.7vw,34px);letter-spacing:-1px;margin:0 0 14px}.payment-heading-icon{color:#f1bd47;font-size:32px}.payment-options{display:grid;grid-template-rows:repeat(3,minmax(110px,1fr));gap:13px;flex:1;min-height:0}.payment-card{border:0;border-radius:26px;display:flex;align-items:center;gap:24px;padding:12px 25px;text-align:left;font-size:clamp(22px,2.6vw,35px);font-weight:1000;box-shadow:0 6px 0 rgba(78,81,72,.12);transition:transform .15s}.payment-card img{width:100px;height:94px;object-fit:contain;flex:0 0 auto}.payment-cash{background:#fbe3a7;color:#865d2b}.payment-bank{background:#cbe9f4;color:#2c6d87}.payment-qr{background:#d7efd9;color:#3c795b}.payment-card:disabled{filter:grayscale(.8);opacity:.6;cursor:default}.payment-card:disabled:active{transform:none}

/* Payment overlays */
.payment-modal{background:#fffdf7;border-radius:38px;width:min(650px,96vw);max-height:95dvh;min-height:500px;position:relative;display:flex;align-items:center;justify-content:center;box-shadow:0 25px 65px rgba(8,36,40,.28);padding:24px;overflow:auto}.payment-modal .dialog-close{position:absolute;right:16px;top:16px;z-index:5}.payment-flow,.success-flow{text-align:center;width:100%;padding:20px 0 5px}.payment-flow h2,.success-flow h2{font-size:36px;margin:3px 0 13px}.flow-icon{font-size:75px;line-height:1}.flow-due{display:flex;justify-content:center;align-items:baseline;gap:9px;margin:5px auto 18px;color:var(--ink)}.flow-due small{font-size:13px;font-weight:1000;color:#829895;letter-spacing:1px}.flow-due strong{font-size:53px;font-weight:1000;font-variant-numeric:tabular-nums;letter-spacing:-2px}.flow-due span{font-size:17px;font-weight:900;color:#8ea19b}.cash-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:500px;margin:0 auto}.cash-choice{border:4px solid #eddac0;background:#fff1d1;min-height:78px;border-radius:19px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 5px 0 #e8d5b5}.cash-choice span{font-size:30px}.cash-choice strong{font-size:25px}.cash-choice.selected{border-color:#e4aa59;background:#ffe0a6}.flow-hint{font-size:15px;font-weight:800;color:#94a4a1;margin:16px 0 0}.change-display{background:#e1f4e6;border-radius:20px;padding:10px 20px;margin:14px auto 12px;max-width:500px;display:flex;align-items:center;justify-content:space-between;color:#317854;font-weight:900}.change-display strong{font-size:38px;font-variant-numeric:tabular-nums}.confirm-payment{border:0;border-radius:23px;background:#50b985;color:white;min-width:175px;min-height:70px;font-size:48px;line-height:1;box-shadow:0 6px 0 #339368}.terminal{width:248px;height:205px;background:#394f59;border-radius:27px;margin:4px auto 11px;padding:18px;box-shadow:0 10px 0 #263f4b;transform:rotate(-4deg)}.terminal-screen{height:140px;border-radius:16px;background:#d5ede5;display:flex;align-items:center;justify-content:center;gap:13px;font-size:48px}.terminal-arrow{color:#6c988b;font-size:34px}.terminal-check{width:56px;height:56px;border-radius:50%;background:#b0e4c3;color:#3ba56c;display:grid;place-items:center;font-weight:1000;animation:terminalCheck 1.3s}.terminal-light{width:14px;height:14px;background:#6bdda1;border-radius:50%;margin:13px auto;box-shadow:0 0 14px #6bdda1}.waiting-dots{display:flex;justify-content:center;gap:11px}.waiting-dots i{width:13px;height:13px;border-radius:50%;background:#82c7a4;animation:dot 1s infinite alternate}.waiting-dots i:nth-child(2){animation-delay:.2s}.waiting-dots i:nth-child(3){animation-delay:.4s}.qr-phone{width:257px;border:12px solid #2d4856;border-radius:34px;background:white;padding:14px;margin:0 auto;box-shadow:0 9px 0 #172f39}.fake-qr{display:block;width:100%;height:auto}.qr-flow .flow-due{margin-bottom:9px}.qr-flow .confirm-payment{margin-top:3px}.success-circle{width:170px;height:170px;border-radius:50%;background:#67c894;color:white;display:grid;place-items:center;margin:23px auto 12px;font-size:114px;line-height:1;box-shadow:0 12px 0 #45aa75;animation:successPop .55s}.success-flow h2{font-size:49px;color:#337c5d}.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:480px;margin:24px auto 0}.success-actions a{min-height:118px;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:1000;box-shadow:0 6px 0 rgba(0,0,0,.1)}.success-actions span{font-size:52px;line-height:1}.success-actions small{font-size:16px}.new-customer{background:#ffcc78;color:#835326}.back-to-room{background:#d5eddb;color:#367a58}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-20px;width:12px;height:20px;background:#f5c94c;animation:fall 2.4s ease-in infinite}.confetti i:nth-child(2n){background:#ee8569}.confetti i:nth-child(3n){background:#70c6a0}.confetti i:nth-child(1){left:8%;animation-delay:.1s}.confetti i:nth-child(2){left:18%;animation-delay:.6s}.confetti i:nth-child(3){left:29%;animation-delay:1.1s}.confetti i:nth-child(4){left:39%;animation-delay:.3s}.confetti i:nth-child(5){left:49%;animation-delay:1.6s}.confetti i:nth-child(6){left:60%;animation-delay:.9s}.confetti i:nth-child(7){left:70%;animation-delay:1.4s}.confetti i:nth-child(8){left:79%;animation-delay:.2s}.confetti i:nth-child(9){left:87%;animation-delay:1.9s}.confetti i:nth-child(10){left:94%;animation-delay:.8s}

@keyframes added{0%{opacity:0;transform:scale(.3)}35%{opacity:1;transform:scale(1.2)}70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}@keyframes bounce{50%{transform:scale(1.19)}}@keyframes terminalCheck{0%,65%{opacity:.15;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}@keyframes dot{to{opacity:.25;transform:translateY(-7px)}}@keyframes successPop{0%{transform:scale(.2) rotate(-20deg)}70%{transform:scale(1.15) rotate(5deg)}100%{transform:scale(1)}}@keyframes fall{to{transform:translateY(650px) rotate(700deg);opacity:0}}

@media(max-width:1100px){.food-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.food-tile{min-height:125px}.food-illustration{font-size:57px}.table-panel-body{grid-template-columns:minmax(0,1fr) 280px}.register-panel{padding:14px}.register-display{padding:11px 16px}.cashier-layout{gap:18px}.payment-card{gap:12px;padding:10px 14px}.payment-card img{width:80px;height:80px}}
@media(max-width:800px){.home-main{width:min(720px,calc(100% - 32px))}.home-choices{gap:18px}.choice-card{min-height:310px}.section-heading,.dining-room,.cashier-layout{width:calc(100% - 32px)}.cashier-layout{grid-template-columns:1fr;gap:25px}.cashier-main{min-height:100vh}.register-panel{min-height:620px}.payment-panel{min-height:415px}.payment-options{grid-template-columns:repeat(3,1fr);grid-template-rows:1fr}.payment-card{flex-direction:column;justify-content:center;text-align:center;gap:5px;font-size:20px}.payment-card img{height:96px;width:96px}.dining-room{height:auto;min-height:760px}.tables-grid{inset:25px 18px 65px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}.room-counter{left:29%;width:42%}.table-panel-body{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 260px}.order-side{border-left:0;border-top:2px solid #ece8db;padding:10px 16px;display:grid;grid-template-columns:minmax(0,1fr) 215px;grid-template-rows:auto 1fr;gap:0 12px}.order-heading{grid-column:1}.order-list{grid-column:1;margin-top:3px}.order-actions{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:column;padding-top:0}.order-actions button{min-height:68px;flex:1}.food-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.food-tile{min-height:120px}}
@media(max-width:600px){.topbar{height:65px;min-height:65px;grid-template-columns:58px 1fr 58px;padding-left:12px;padding-right:12px}.brand{font-size:26px}.home-button,.settings-button,.brand-mark{height:45px;width:45px;font-size:29px}.home-button{font-size:38px}.home-main{justify-content:flex-start;padding-top:20px}.home-intro h1{font-size:34px;margin-bottom:20px}.sparkle{display:none}.home-choices{grid-template-columns:1fr;gap:17px}.choice-card{min-height:230px;max-height:250px;border-radius:27px}.choice-art{height:70%}.choice-footer{height:30%;min-height:65px}.choice-title{font-size:30px}.choice-arrow{height:47px;width:47px}.section-heading{margin:5px auto 15px}.section-heading h1{font-size:34px}.dining-room{min-height:780px}.tables-grid{inset:22px 5px 58px;gap:2px}.table-unit{width:145px;height:145px}.table-large{width:180px}.table-number{font-size:54px}.chair{width:37px;height:27px}.chair-top,.chair-bottom{left:calc(50% - 18px)}.chair-left,.chair-right{top:calc(50% - 14px)}.chair-top-left,.chair-bottom-left{left:25px}.chair-top-right,.chair-bottom-right{right:25px}.table-panel{height:98dvh;border-radius:23px}.table-panel-header{height:65px;min-height:65px;padding:8px 13px}.table-title-icon{height:45px;width:45px;font-size:27px}.table-title-wrap h2{font-size:26px}.table-title-wrap .eyebrow{font-size:10px}.dialog-close{height:44px;width:44px;font-size:32px}.table-panel-body{grid-template-rows:minmax(0,1fr) 215px}.menu-side{padding:9px}.category-tabs{gap:5px}.category-tab{min-height:67px;border-radius:16px;font-size:11px}.category-tab .category-icon{font-size:28px}.food-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.food-tile{min-height:105px;border-radius:16px}.food-illustration{font-size:49px}.food-name{font-size:12px}.order-side{grid-template-columns:minmax(0,1fr) 120px;gap:0 7px;padding:7px}.order-heading{font-size:18px}.order-title{display:none}.order-clear{height:38px;width:38px;font-size:20px}.order-item{grid-template-columns:32px minmax(0,1fr) auto 42px;min-height:52px;padding:3px;gap:2px}.order-item-icon{font-size:23px}.order-item-name{font-size:11px}.order-item strong{font-size:15px}.remove-item{height:42px;width:42px;font-size:24px}.order-actions{gap:5px}.order-actions button{min-height:55px;border-radius:12px}.order-actions button span{font-size:26px}.order-actions button small{font-size:10px}.register-panel{min-height:610px}.payment-panel{padding:14px;min-height:530px}.payment-options{grid-template-columns:1fr;grid-template-rows:repeat(3,1fr)}.payment-card{flex-direction:row;text-align:left;font-size:24px}.payment-card img{width:86px;height:82px}.total-line #total-amount{font-size:70px}.payment-modal{min-height:480px}.flow-due strong{font-size:43px}.cash-choice{min-height:68px}.cash-choice strong{font-size:20px}}
@media(max-height:700px) and (min-width:801px){.topbar{height:64px;min-height:64px}.home-intro h1{font-size:36px;margin-bottom:15px}.choice-card{min-height:300px}.home-decoration{margin-top:11px}.section-heading{margin-bottom:10px}.dining-room{height:calc(100dvh - 150px);min-height:420px}.table-unit{transform:scale(.82)}.table-unit:active{transform:scale(.78)}.register-display{min-height:125px}.total-line #total-amount{font-size:66px}.keypad-area{padding-top:8px}.keypad{grid-template-rows:repeat(4,minmax(44px,1fr));gap:6px}.keypad button{min-height:44px;font-size:27px}.keypad-actions{margin-top:8px}.keypad-actions button{min-height:50px}.payment-options{gap:8px}.payment-card img{height:70px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(min-width:801px) and (min-height:701px) and (max-height:850px){.cashier-heading{margin-bottom:13px}.register-panel{padding:13px}.register-display{min-height:125px}.keypad{grid-template-rows:repeat(4,minmax(50px,1fr));gap:7px}.keypad button{min-height:50px}.keypad-actions{margin-top:10px}.keypad-actions button{min-height:56px}}
.total-line #total-amount.compact{font-size:clamp(38px,5vw,70px);letter-spacing:-2px}.total-line #total-amount.very-compact{font-size:clamp(28px,3.5vw,52px);letter-spacing:-1px}
#payment-content{width:100%}

.order-clear,.remove-item,.clear-amount{display:grid;place-items:center;padding:0;line-height:1}
.order-clear img,.clear-amount img{display:block;width:36px;height:36px}.remove-item img{display:block;width:30px;height:30px}
@media(min-width:651px) and (max-width:800px){.cashier-main{min-height:0}.cashier-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:14px}.register-panel,.payment-panel{min-height:0}.payment-options{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.payment-card{flex-direction:row;justify-content:flex-start;text-align:left;gap:9px;padding:10px;font-size:clamp(18px,2.5vw,25px)}.payment-card img{width:74px;height:74px}.payment-panel{padding:13px}.payment-heading h2{font-size:22px}}
@media(max-width:600px){.order-clear{width:44px;height:44px}}
@media(min-width:801px) and (max-height:620px){.cashier-heading{margin-bottom:4px}.cashier-main{padding-bottom:12px}.register-display{padding:8px 13px 5px}.total-line #total-amount{font-size:58px}.display-top{font-size:11px}.entered-items{min-height:22px}.amount-chip{font-size:12px;padding:2px 7px}}
@media(min-width:801px) and (max-height:600px){.topbar{height:54px;min-height:54px}.cashier-main{padding-bottom:8px}.register-display{padding:6px 12px 3px}.total-line #total-amount{font-size:52px}.payment-options{grid-template-rows:repeat(3,minmax(92px,1fr))}.payment-card img{height:60px}}
.settings-button{padding:0}.settings-button img{display:block;width:36px;height:36px}
@media(min-width:651px){.page-cashier .app-shell{height:100vh;height:100dvh;min-height:0}.page-cashier .cashier-main{flex:1 1 0;min-height:0}.page-cashier .cashier-layout{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr)}.page-cashier .register-panel:not(.linked-bill){display:grid;grid-template-rows:auto minmax(0,1fr)}.page-cashier .register-panel:not(.linked-bill) .keypad-area{display:grid;grid-template-rows:minmax(0,1fr) auto}.page-cashier .keypad{grid-template-rows:repeat(4,minmax(0,1fr))}.page-cashier .payment-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.page-cashier .payment-options{grid-template-rows:repeat(3,minmax(0,1fr))}.page-cashier .payment-card{min-height:0}}
@media(min-width:651px) and (max-height:560px){.page-cashier .app-shell{height:auto;min-height:100dvh;overflow:visible}.page-cashier .cashier-layout{grid-template-rows:auto}.page-cashier .keypad{grid-template-rows:repeat(4,minmax(44px,1fr))}.page-cashier .payment-options{grid-template-rows:repeat(3,minmax(92px,1fr))}}

/* Cashier: the committed total stays small while the current entry leads. */
.page-cashier .register-display{height:clamp(152px,22dvh,218px);min-height:0;display:flex;flex-direction:column;overflow:hidden}
.page-cashier .display-top{flex:0 0 auto}.page-cashier .display-sparkle{font-size:19px}
.page-cashier .total-line{justify-content:flex-start;align-items:baseline;flex:0 0 auto;gap:7px}
.page-cashier .total-line #total-amount,.page-cashier .total-line #total-amount.compact,.page-cashier .total-line #total-amount.very-compact{font-size:clamp(26px,3.8dvh,42px);letter-spacing:-1.5px;line-height:1;font-weight:1000}
.page-cashier .total-line #total-amount.compact{font-size:clamp(24px,3.2dvh,36px)}
.page-cashier .total-line #total-amount.very-compact{font-size:clamp(20px,2.7dvh,30px)}
.page-cashier .currency{font-size:clamp(12px,1.7dvh,17px)}
.current-line{flex:1;min-height:0;display:flex;align-items:center;justify-content:flex-end;gap:5px;line-height:1;white-space:nowrap;overflow:hidden}
.current-plus{font-size:clamp(22px,3dvh,31px);font-weight:900;color:#7daa9d;align-self:center}
#entry-amount{font-size:clamp(54px,8.4dvh,96px);font-weight:1000;letter-spacing:-4px;font-variant-numeric:tabular-nums;color:var(--ink)}
#entry-amount.compact{font-size:clamp(38px,6dvh,70px);letter-spacing:-2px}
.page-cashier .entered-items{flex:0 0 25px;min-height:0;align-items:center;overflow-y:hidden}
.page-cashier .register-panel.linked-bill .register-display{height:auto;min-height:65%}
.page-cashier .linked-bill .total-line{justify-content:center;margin:20px 0}
.page-cashier .linked-bill .total-line #total-amount{font-size:clamp(62px,7vw,105px);letter-spacing:-4px}
.page-cashier .linked-bill .current-line{display:none}

/* Adults' quiet switch and pictorial reset confirmation. */
.settings-sound{width:100%;min-height:62px;border:0;border-radius:18px;background:#e5f5ec;color:#2d7456;display:flex;align-items:center;justify-content:center;gap:14px;font-size:18px;font-weight:900;margin-top:12px}
.settings-sound [data-sound-icon]{font-size:29px;line-height:1}
.settings-sound[aria-pressed="false"]{background:#eeeae0;color:#6b7d81}
.clear-backdrop{position:fixed;inset:0;z-index:24;background:rgba(27,53,56,.55);display:grid;place-items:center;padding:18px;backdrop-filter:blur(4px)}
.clear-panel{width:min(360px,95vw);background:var(--paper);border-radius:30px;padding:30px;box-shadow:0 22px 55px rgba(8,36,40,.26)}
.clear-question{display:flex;align-items:center;justify-content:center;gap:18px;font-size:55px;font-weight:1000;margin-bottom:22px;color:#a3624f}
.clear-question img{width:66px;height:66px}
.clear-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.clear-choices button{border:0;border-radius:21px;min-height:84px;font-size:55px;font-weight:1000;line-height:1;box-shadow:0 5px 0 rgba(0,0,0,.12)}
#cancel-clear{background:#f8dfd7;color:#ad5e50}#confirm-clear{background:#bdeacb;color:#288a5c}

/* The receipt is clipped at the printer slot until it has finished sliding out. */
.payment-modal.is-receipt{background:#eaf3ec;overflow:hidden;min-height:0}
.receipt-flow{width:100%;max-width:430px;margin:auto;text-align:center;padding:12px 0 3px;position:relative}
.printer-slot{height:17px;width:86%;background:#334b52;border-radius:12px;margin:0 auto -5px;position:relative;z-index:2;box-shadow:inset 0 3px 3px #21363d,0 4px 0 #c1d8cb}
.receipt-stage{overflow:hidden;padding:0 12px 8px;max-height:min(67dvh,590px)}
.receipt-paper{background:#fffefa;border-radius:3px 3px 12px 12px;padding:20px 25px 19px;box-shadow:0 7px 13px rgba(39,63,57,.2);border:1px solid #eee9de;transform:translateY(-105%);animation:receiptPrint .58s cubic-bezier(.22,.72,.28,1) forwards}
.receipt-paper.is-leaving{animation:receiptLeave .23s ease-in forwards}
.receipt-logo{font-size:33px;line-height:1}.receipt-paper h2{font-size:25px;margin:0 0 4px;letter-spacing:-1px}
.receipt-table{font-weight:900;color:#698478;margin-bottom:6px}.receipt-list{border-top:2px dashed #dcded6;border-bottom:2px dashed #dcded6;padding:9px 0;max-height:min(27dvh,240px);overflow-y:auto}
.receipt-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;font-size:20px;font-variant-numeric:tabular-nums;font-weight:850}
.receipt-item{display:flex;align-items:center;gap:6px;font-size:25px}.receipt-item strong{font-size:19px}
.receipt-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:12px;font-weight:1000;color:var(--ink)}
.receipt-total span{font-size:15px;letter-spacing:1px}.receipt-total strong{font-size:29px;font-variant-numeric:tabular-nums;white-space:nowrap}.receipt-total small{font-size:13px;color:#668d82}
.receipt-method{display:flex;justify-content:center;align-items:center;gap:14px;font-size:32px;margin-top:7px}.receipt-method span{width:40px;height:40px;border-radius:50%;background:#5dbf87;color:white;display:grid;place-items:center;font-size:29px;font-weight:1000}
.receipt-restart{border:0;border-radius:24px;background:#ffce78;color:#7d5329;min-height:87px;min-width:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:14px auto 0;box-shadow:0 6px 0 #d8a65b;font-weight:1000;animation:successPop .25s}
.receipt-restart span{font-size:55px;line-height:.85}.receipt-restart small{font-size:14px;margin-top:6px}
@keyframes receiptPrint{0%{transform:translateY(-105%)}83%{transform:translateY(5px)}100%{transform:translateY(0)}}
@keyframes receiptLeave{to{transform:translateY(-105%);opacity:.5}}

/* Game surfaces should never select text during repeated taps. */
.keypad,.keypad-actions,.payment-options,.food-grid,.category-tabs,.tables-grid,.order-actions,.receipt-restart{-webkit-user-select:none;user-select:none}
@media(max-width:600px){.receipt-paper{padding:15px 18px}.receipt-list{max-height:23dvh}.receipt-row{font-size:18px}.receipt-item{font-size:22px}.page-cashier .register-display{height:185px}}
@media(min-width:651px) and (max-height:700px){.page-cashier .register-display{height:152px}.page-cashier .display-sparkle{font-size:16px}.page-cashier .entered-items{flex-basis:21px}.page-cashier .register-display{padding-top:7px;padding-bottom:5px}.receipt-paper{padding-top:13px;padding-bottom:12px}.receipt-list{max-height:23dvh}}

/* The order list uses the exact pastel surface colors of the product grid. */
.order-item.food-starters{background:var(--category-starters-bg)}
.order-item.food-mains{background:var(--category-mains-bg)}
.order-item.food-desserts{background:var(--category-desserts-bg)}
.order-item.food-drinks{background:var(--category-drinks-bg)}

/* Remote opening and closing: one fixed curtain above every game screen. */
.game-locked .app-shell{pointer-events:none;-webkit-user-select:none;user-select:none}
.restaurant-gate{position:fixed;inset:0;z-index:80;overflow:hidden;pointer-events:auto}
.gate-night{position:absolute;inset:0;background:rgba(12,25,34,.75);backdrop-filter:saturate(.35) brightness(.7);opacity:1;transition:opacity 8s ease-in-out}
.gate-curtain{position:absolute;inset:0 0 -28px;background:linear-gradient(90deg,rgba(255,255,255,.15),transparent 24%,rgba(255,255,255,.09) 51%,transparent 78%,rgba(16,32,38,.13)),repeating-linear-gradient(to bottom,#a8b4b8 0 5px,#87979e 6px 32px,#56666f 33px 37px,#c5cdd0 38px 40px);box-shadow:inset 11px 0 20px rgba(0,0,0,.18),inset -11px 0 20px rgba(0,0,0,.18),0 16px 25px rgba(0,0,0,.35);transform:translateY(0);transition:transform 8s cubic-bezier(.42,0,.58,1)}
.restaurant-gate.gate--open .gate-curtain{transform:translateY(-105%)}
.restaurant-gate.gate--open .gate-night{opacity:0}
.restaurant-gate.gate--instant .gate-curtain,.restaurant-gate.gate--instant .gate-night{transition:none!important}
.gate-rail{position:absolute;left:0;right:0;bottom:0;height:31px;background:linear-gradient(#d8dddf,#53636a 50%,#7c8c93);border-top:4px solid #41535c;box-shadow:0 4px 10px rgba(0,0,0,.33)}
.gate-rail:before,.gate-rail:after{content:"";position:absolute;top:9px;width:92px;height:8px;border-radius:7px;background:#3c4d55;box-shadow:inset 0 2px 2px rgba(0,0,0,.3)}
.gate-rail:before{left:15%}.gate-rail:after{right:15%}
.gate-sign{position:absolute;top:37%;left:50%;width:min(350px,78vw);min-height:142px;padding:22px 18px;border-radius:18px;background:#fff4d6;border:9px solid #ca9266;color:#754b39;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-align:center;box-shadow:0 10px 0 #8f6e5b,0 17px 22px rgba(30,40,40,.24);transform:translateX(-50%) rotate(-3deg);transform-origin:50% -65px}
.gate-sign:before,.gate-sign:after{content:"";position:absolute;bottom:100%;width:4px;height:70px;background:#b68a67}.gate-sign:before{left:23%}.gate-sign:after{right:23%}
.gate-sign span{font-size:37px;line-height:1}.gate-sign strong{font-size:clamp(25px,6vw,38px);line-height:1.08;font-weight:1000;letter-spacing:-1px}
.restaurant-gate.gate--closed .gate-sign{animation:gateSignSway 5s ease-in-out infinite}
.gate-pair{position:absolute;left:50%;bottom:max(45px,env(safe-area-inset-bottom));z-index:3;transform:translateX(-50%);width:min(440px,calc(100% - 30px));background:#fffdf7;border-radius:24px;padding:20px;text-align:center;box-shadow:0 15px 35px rgba(0,0,0,.28)}
.gate-pair-icon{font-size:37px}.gate-pair h2{margin:2px 0;font-size:26px}.gate-pair p{font-size:15px;font-weight:800;color:#6d8183;margin:7px 0 12px}
.gate-pair form{display:flex;gap:9px}.gate-pair input{min-width:0;flex:1;border:3px solid #b7d9cd;border-radius:15px;padding:10px;font:inherit;font-size:23px;text-align:center;text-transform:uppercase;letter-spacing:3px;font-weight:1000}.gate-pair button{border:0;border-radius:15px;background:#68be8e;color:white;min-height:60px;padding:0 15px;font-size:17px;font-weight:1000}.gate-pair-error{color:#a65341!important;min-height:20px}
.closing-warning{position:fixed;z-index:75;top:max(88px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 30px));padding:15px 22px;border-radius:23px;background:#fff0c6;border:4px solid #ecc479;box-shadow:0 10px 25px rgba(53,49,35,.2);text-align:center;font-size:clamp(20px,4vw,28px);font-weight:1000;color:#80552d;pointer-events:none}
@keyframes gateSignSway{0%,100%{transform:translateX(-50%) rotate(-3deg)}50%{transform:translateX(-50%) rotate(-1deg)}}
@media(max-height:650px){.gate-sign{top:29%;min-height:105px;padding:10px}.gate-sign span{font-size:28px}.gate-pair{bottom:17px;padding:12px}.gate-pair h2{font-size:21px}.gate-pair input{font-size:19px}}
@media(prefers-reduced-motion:reduce){.gate-curtain,.gate-night{transition-duration:.01ms!important}.gate-sign{animation:none!important}}
