.inventory-category-filter{border:1px solid var(--line);background:var(--surface);border-radius:16px;justify-content:space-between;align-items:flex-end;gap:12px;margin:12px 0;padding:12px 14px;display:flex}.cancel-order-modal{width:min(620px,100vw - 24px);max-height:min(92vh,820px);overflow:auto}.cancel-order-form,.cancel-category-fieldset{gap:14px;display:grid}.cancel-category-fieldset{border:0;min-width:0;margin:0;padding:0}.cancel-category-fieldset legend{color:var(--ink);margin-bottom:10px;font-weight:850}.cancel-category-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cancel-category-option{border:1px solid var(--line);min-width:0;min-height:82px;color:var(--ink);text-align:left;background:#fff;border-radius:14px;gap:4px;padding:13px;display:grid}.cancel-category-option small{color:var(--muted);line-height:1.35}.cancel-category-option.active{background:#fff7f7;border-color:#8b1119;box-shadow:0 0 0 2px #8b111921}.cancel-order-form textarea{resize:vertical;min-height:94px}.cancel-order-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:10px;display:grid}.cancel-order-actions .button{width:100%;min-height:48px}@media (max-width:540px){.cancel-category-options,.cancel-order-actions{grid-template-columns:1fr}.cancel-category-option{min-height:72px}}.front-menu-availability{overflow:hidden}.front-menu-availability>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;list-style:none;display:flex}.front-menu-availability>summary::-webkit-details-marker{display:none}.front-menu-availability>summary>span:first-child{gap:3px;display:grid}.front-menu-availability>summary small{color:var(--muted);font-size:.75rem}.front-menu-availability-body{border-top:1px solid var(--line);gap:12px;padding:0 18px 18px;display:grid}.front-menu-availability-controls{grid-template-columns:minmax(0,1fr) minmax(160px,.36fr);gap:10px;padding-top:14px;display:grid}.front-menu-availability-controls input,.front-menu-availability-controls select{border:1px solid var(--line);min-width:0;min-height:46px;color:var(--ink);font:inherit;background:#fff;border-radius:12px;padding:10px 12px}.front-menu-availability-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;display:grid}.front-menu-availability-grid button{min-height:58px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#f1faf4;border:1px solid #bfd8c8;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.front-menu-availability-grid button>span{gap:2px;min-width:0;display:grid}.front-menu-availability-grid button small{color:var(--muted);overflow-wrap:anywhere}.front-menu-availability-grid button strong{color:#8b151c;flex:none;font-size:.78rem}.front-menu-availability-grid button.sold-out{background:#fff1ed;border-color:#e0b1aa}.front-menu-availability-grid button.sold-out strong{color:var(--good)}.front-tablet-shell .front-menu-availability{order:4}.pos-menu-backdrop{display:none}@media (min-width:900px){.front-tablet-shell .commerce-shell{gap:10px}.front-tablet-shell .pos-layout,.front-tablet-shell:not(.sidebar-collapsed) .pos-layout{grid-template-columns:minmax(0,1fr) clamp(360px,32vw,430px);gap:12px}.front-tablet-shell .pos-main{gap:10px}.front-tablet-shell .order-context{min-height:54px;padding:6px 10px}.front-tablet-shell .segmented{padding:4px}.front-tablet-shell .segmented button{min-height:40px;padding-block:7px}.front-tablet-shell .compact-floor{padding:12px}.front-tablet-shell .compact-floor .floor-canvas{height:235px;min-height:235px}.front-tablet-shell .compact-floor.has-selected-table{padding:9px 11px}.front-tablet-shell .compact-floor.has-selected-table .floor-plan-head,.front-tablet-shell .compact-floor.has-selected-table .reservation-reminder-panel,.front-tablet-shell .compact-floor.has-selected-table .floor-canvas{display:none}.front-tablet-shell .compact-floor.has-selected-table .floor-action-bar{margin:0;padding:8px 10px}.front-tablet-shell .pos-main.is-ordering .pos-menu-toggle{min-height:58px;padding:9px 13px}.front-tablet-shell .pos-main.is-ordering .pos-menu-toggle strong{font-size:16px}.front-tablet-shell .pos-main.is-ordering .pos-menu-toggle em{font-size:12px}.front-tablet-shell .pos-main.is-ordering .pos-menu-content{flex:auto;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;padding:0 12px 12px;overflow:hidden}.front-tablet-shell .pos-main.is-ordering .pos-menu-content .menu-tabs{padding:9px 1px 5px}.front-tablet-shell .pos-main.is-ordering .menu-tabs button{min-height:38px;padding:7px 12px}.front-tablet-shell .pos-main.is-ordering .menu-tile-grid{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));grid-auto-rows:minmax(122px,auto);align-content:start;gap:8px;min-height:0;padding-right:4px;overflow-y:auto}.front-tablet-shell .pos-main.is-ordering .menu-tile{border-radius:13px;height:100%;min-height:122px;padding:10px;overflow:hidden}.front-tablet-shell .pos-main.is-ordering .menu-tile strong{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px;line-height:1.22;display:-webkit-box;overflow:hidden}.front-tablet-shell .pos-main.is-ordering .menu-tile span{overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:11px;line-height:1.3;display:-webkit-box;overflow:hidden}.front-tablet-shell .pos-main.is-ordering .menu-tile em{flex:none;margin-top:auto;font-size:14px;line-height:1.15}.pos-menu-backdrop.is-open{z-index:78;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);touch-action:none;background:#1c141170;border:0;display:block;position:fixed;inset:0 clamp(372px,32vw + 12px,442px) 0 0}.pos-main .pos-menu.is-open.is-table-overlay{z-index:79;background:#fffdfa;border:2px solid #ffffffe6;border-radius:22px;flex-direction:column;min-width:0;min-height:0;margin:0;padding:0;display:flex;position:fixed;inset:22px clamp(384px,32vw + 24px,454px) 22px clamp(18px,5vw,96px);overflow:hidden;box-shadow:0 24px 64px #23161152}.pos-main .pos-menu.is-open.is-table-overlay .pos-menu-toggle{border-bottom:1px solid var(--line);border-radius:20px 20px 0 0;flex:none}.pos-main .pos-menu.is-open.is-table-overlay .pos-menu-content{flex:auto;grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden}.pos-main .pos-menu.is-open.is-table-overlay .menu-tabs{z-index:auto;background:#fffdfa;margin:0;position:static;top:auto;overflow-x:auto}.pos-main .pos-menu.is-open.is-table-overlay .menu-tile-grid{overscroll-behavior:contain;align-content:start;min-height:0;overflow-y:auto}.front-tablet-shell .pos-order-rail{flex-direction:column;height:calc(100dvh - 86px);min-height:0;max-height:calc(100dvh - 86px);padding-right:0;display:flex;position:sticky;top:8px;overflow:hidden}.front-tablet-shell .pos-order-rail>*+*{margin-top:10px}.front-tablet-shell .pos-order-rail .checkout-basket{flex:none;max-height:min(48dvh,100dvh - 110px);overflow-y:auto}.front-tablet-shell .pos-order-rail .checkout-basket.is-addition-draft{flex:0 42%}.front-tablet-shell .pos-order-rail .active-orders.is-focus-mode{flex-direction:column;flex:auto;min-height:0;padding:12px;display:flex;overflow:hidden}.front-tablet-shell .active-orders.is-focus-mode>.panel-head{flex:none}.front-tablet-shell .active-orders.is-focus-mode .order-card-grid{flex:auto;min-height:0;overflow:hidden}.front-tablet-shell .active-orders.is-focus-mode .order-card{max-height:100%;padding:12px;overflow-y:auto}.front-tablet-shell .active-orders.is-focus-mode .ticket-lines{max-height:none}.front-tablet-shell .active-orders.is-focus-mode.no-focused-order{flex:none}.front-tablet-shell .active-orders.is-focus-mode.no-focused-order .order-list-empty{display:none}}@media (max-width:720px){.front-menu-availability-controls,.front-menu-availability-grid{grid-template-columns:1fr}}@media (max-width:900px){.analytics-metrics,.ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-shift-detail{grid-template-columns:1fr}.financial-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-shift-detail dl{grid-template-columns:repeat(3,minmax(0,1fr))}}.mobile-order-summary,.mobile-basket-backdrop,.mobile-order-rail-head{display:none}.square-tap-panel{background:linear-gradient(135deg,#fbfaf8,#f0ede9);border:1px solid #cabfb4;border-radius:15px;gap:12px;padding:14px;display:grid}.square-tap-panel.approved{background:linear-gradient(135deg,#f0faf4,#fbfffc);border-color:#9cc9ae}.square-tap-panel>div,.square-tap-panel>div>span:last-child{align-items:center;gap:10px;display:flex}.square-tap-panel>div>span:last-child{flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.square-tap-panel small{color:var(--muted);overflow-wrap:anywhere}.square-mark{color:#0000;border:4px solid #111;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:grid}.square-tap-panel.approved .square-mark{border-color:#276547}@media (max-width:780px),(orientation:landscape) and (max-height:500px) and (max-width:960px){.mobile-pos-shell{background:#f4efe8;min-height:100dvh}.mobile-pos-shell .main{min-height:100svh;min-height:100dvh;padding:max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) calc(178px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));background:linear-gradient(#f8f4ee,#f3eee7)}.mobile-pos-shell .topbar{min-height:48px;margin:0 0 8px;padding:0 2px 8px}.mobile-pos-shell .mobile-context-strip{margin:0 0 8px;padding:7px 9px}.mobile-pos-shell .topbar>div:first-child{min-height:40px}.mobile-pos-shell .topbar .topbar-brand-logo{width:112px;height:34px}.mobile-pos-shell .topbar .eyebrow,.mobile-pos-shell .topbar h1,.mobile-pos-shell .topbar .profile-copy,.mobile-pos-shell .commerce-shell>.section-header,.mobile-pos-shell .commerce-shell>.pos-secondary-tools{display:none!important}.mobile-pos-shell .commerce-shell>.front-menu-availability{order:2}.mobile-pos-shell .commerce-shell>.operations-admin{order:3;grid-template-columns:1fr;display:grid}.mobile-pos-shell .operations-admin .floor-admin,.mobile-pos-shell .operations-admin .guest-qr-admin,.mobile-pos-shell .operations-admin .menu-admin{grid-area:auto/1;min-width:0;scroll-margin-top:64px;display:block}.mobile-pos-shell .mobile-pos-admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.mobile-pos-shell .mobile-pos-admin-shortcuts button{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:48px;color:var(--ink);font:inherit;overflow-wrap:anywhere;cursor:pointer;border-radius:12px;padding:8px;font-size:.8rem;font-weight:850;line-height:1.25}.mobile-pos-shell .guest-qr-admin summary,.mobile-pos-shell .floor-admin summary{padding:13px}.mobile-pos-shell .guest-qr-admin-body{padding:12px}.mobile-pos-shell .guest-qr-table-list>div{flex-wrap:wrap}.mobile-pos-shell .front-menu-availability>summary,.mobile-pos-shell .menu-admin>summary{padding:13px}.mobile-pos-shell .menu-admin>summary{align-items:stretch}.mobile-pos-shell .menu-admin>summary .button{width:100%}.mobile-pos-shell .commerce-shell,.mobile-pos-shell .pos-main{gap:9px}.mobile-pos-shell .pos-layout,.front-tablet-shell.mobile-pos-shell .pos-layout,.front-tablet-shell.mobile-pos-shell:not(.sidebar-collapsed) .pos-layout{grid-template-columns:1fr;display:block}.mobile-pos-shell .order-context{z-index:20;border-radius:15px;min-height:0;padding:6px;position:sticky;top:0;box-shadow:0 8px 22px #3a1d1a1a}.mobile-pos-shell .pos-service-switch,.front-tablet-shell.mobile-pos-shell .pos-service-switch{width:100%}.mobile-pos-shell .pos-service-switch .segmented,.front-tablet-shell.mobile-pos-shell .pos-service-switch .segmented{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;padding:4px}.mobile-pos-shell .segmented button,.front-tablet-shell.mobile-pos-shell .segmented button{min-width:0;min-height:46px;padding:8px 4px;font-size:15px}.mobile-pos-shell .pos-live-status{display:none}.mobile-pos-shell .compact-floor{border-radius:16px;flex-direction:column;padding:8px;display:flex}.mobile-pos-shell .floor-plan-head{order:1;align-items:center;gap:6px;margin-bottom:6px}.mobile-pos-shell .floor-plan-head h3{font-size:15px}.mobile-pos-shell .floor-plan-head .small,.mobile-pos-shell .floor-plan-head-actions .button,.mobile-pos-shell .reservation-reminder-panel,.mobile-pos-shell .floor-action-bar .tag,.mobile-pos-shell .floor-action-bar .button:first-of-type{display:none}.mobile-pos-shell .compact-floor .floor-canvas{background:linear-gradient(#71101709 1px,#0000 1px) 0 0/18px 18px,linear-gradient(90deg,#71101709 1px,#0000 1px) 0 0/18px 18px,linear-gradient(145deg,#fbfaf7,#f2eee8);border:1px solid #d8cabb;border-radius:13px;order:2;width:100%;height:164px;min-height:164px;padding:0;display:block;position:relative;overflow:hidden}.mobile-pos-shell .floor-table{touch-action:manipulation;border-radius:10px;min-width:42px;max-width:28%;min-height:36px;max-height:36%;padding:3px;overflow:hidden;position:absolute!important}.mobile-pos-shell .floor-table strong{font-size:13px;line-height:1}.mobile-pos-shell .floor-table span,.mobile-pos-shell .floor-table em{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;line-height:1.05;overflow:hidden}.mobile-pos-shell .compact-floor.has-selected-table{padding:8px 10px}.mobile-pos-shell .compact-floor.has-selected-table .floor-plan-head,.mobile-pos-shell .compact-floor.has-selected-table .reservation-reminder-panel,.mobile-pos-shell .compact-floor.has-selected-table .floor-canvas{display:none}.mobile-pos-shell .compact-floor.has-selected-table .floor-action-bar{order:1;margin:0;padding:7px 4px}.mobile-pos-shell .floor-action-bar>span{align-items:baseline;gap:8px;display:flex}.mobile-pos-shell .floor-action-bar>span strong{color:#7b151c;font-size:20px}.mobile-pos-shell .floor-action-bar>div,.mobile-pos-shell .floor-action-bar .button:last-child{width:auto}.mobile-pos-shell .floor-action-bar .button:last-child{min-height:42px;padding-inline:12px;font-size:14px;display:inline-flex}.mobile-pos-shell .pos-menu{border-radius:16px;margin-top:9px;scroll-margin-top:62px}.mobile-pos-shell .pos-menu-toggle{gap:8px;min-height:64px;padding:10px 12px}.mobile-pos-shell .pos-menu-toggle strong{font-size:16px}.mobile-pos-shell .pos-menu-toggle em,.mobile-pos-shell .pos-menu-toggle>.tag{font-size:12px}.mobile-pos-shell .pos-menu-toggle:after{width:34px;height:34px}.mobile-pos-shell .pos-menu-content{gap:9px;padding:0 8px 10px}.mobile-pos-shell .pos-menu-content .menu-tabs{z-index:8;scrollbar-width:none;background:#fffdfa;flex-wrap:nowrap;margin-inline:-1px;padding:9px 1px 7px;display:flex;position:sticky;top:58px;overflow-x:auto}.mobile-pos-shell .menu-tabs button,.front-tablet-shell.mobile-pos-shell .menu-tabs button{flex:none;min-height:42px;padding:8px 13px;font-size:14px}.mobile-pos-shell .menu-tile-grid,.front-tablet-shell.mobile-pos-shell .menu-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-pos-shell .menu-tile,.front-tablet-shell.mobile-pos-shell .menu-tile{touch-action:manipulation;border-radius:14px;min-height:112px;padding:10px}.mobile-pos-shell button,.mobile-pos-shell summary{touch-action:manipulation;-webkit-tap-highlight-color:#7b151c1f}.mobile-pos-shell .menu-tile strong,.front-tablet-shell.mobile-pos-shell .menu-tile strong{font-size:15px;line-height:1.25}.mobile-pos-shell .menu-tile span,.mobile-pos-shell .menu-tile em,.mobile-pos-shell .menu-tile small{font-size:12px}.mobile-pos-shell .menu-tile-image{height:78px}.mobile-order-summary{left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:58;color:#fff;text-align:left;background:linear-gradient(135deg,#711017,#941d26);border:1px solid #a64b51;border-radius:17px;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:10px 14px;display:flex;position:fixed;box-shadow:0 14px 34px #500d1447}.mobile-order-summary>span{gap:1px;display:grid}.mobile-order-summary small{color:#f1cfd2;font-size:12px}.mobile-order-summary strong{font-size:16px}.mobile-order-summary b{white-space:nowrap;font-size:17px}.mobile-basket-backdrop{z-index:80;opacity:0;pointer-events:none;background:#1812107a;border:0;transition:opacity .2s;display:block;position:fixed;inset:0}.mobile-basket-backdrop.is-open{opacity:1;pointer-events:auto}.mobile-pos-shell .pos-order-rail,.front-tablet-shell.mobile-pos-shell .pos-order-rail{z-index:82;width:100%;height:min(82dvh,760px);max-height:82dvh;padding:10px 10px calc(14px + env(safe-area-inset-bottom));overscroll-behavior:contain;pointer-events:none;background:#f7f2eb;border:1px solid #ddcfc2;border-bottom:0;border-radius:24px 24px 0 0;transition:transform .24s;display:block;position:fixed;inset:auto 0 0;overflow-y:auto;transform:translateY(104%);box-shadow:0 -22px 54px #2a1c173d}.mobile-pos-shell .pos-order-rail.is-mobile-open,.front-tablet-shell.mobile-pos-shell .pos-order-rail.is-mobile-open{pointer-events:auto;transform:translateY(0)}.mobile-order-rail-head{z-index:12;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f7f2ebf5;border-bottom:1px solid #e1d4c8;justify-content:space-between;align-items:center;gap:12px;margin:-2px -2px 8px;padding:8px 6px 10px;display:flex;position:sticky;top:-10px}.mobile-order-rail-head>div{gap:1px;display:grid}.mobile-order-rail-head small{color:#8b2028;letter-spacing:.1em;font-size:11px;font-weight:900}.mobile-order-rail-head strong{font-size:18px}.mobile-order-rail-head>button{color:#711017;background:#fff;border:1px solid #d9cabd;border-radius:13px;width:42px;height:42px;font-size:24px}.mobile-pos-shell .pos-order-rail>*+*,.front-tablet-shell.mobile-pos-shell .pos-order-rail>*+*{margin-top:9px}.mobile-pos-shell .checkout-basket,.front-tablet-shell.mobile-pos-shell .checkout-basket,.mobile-pos-shell .active-orders{border-radius:17px;max-height:none;padding:13px;overflow:visible}.mobile-pos-shell .checkout-basket.is-mobile-no-table,.front-tablet-shell.mobile-pos-shell .checkout-basket.is-mobile-no-table{display:none}.mobile-pos-shell .basket-product-head>strong{font-size:15px}.mobile-pos-shell .quantity-control button{touch-action:manipulation;width:44px;height:44px;font-size:19px}.mobile-pos-shell .basket-modifier-group button{min-height:42px;font-size:13px}.mobile-pos-shell .checkout-basket>textarea{min-height:58px;font-size:16px}.mobile-pos-shell .pos-confirm-order{min-height:58px!important;font-size:17px!important}.mobile-pos-shell .active-orders.is-focus-mode.no-focused-order{display:none}.mobile-pos-shell .active-orders .order-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.mobile-pos-shell .active-orders .order-actions .button{width:100%;min-height:46px;padding-inline:8px;font-size:14px}.mobile-pos-shell .active-orders .ticket-lines{scrollbar-width:auto;max-height:none;padding-right:0;overflow:visible}.checkout-modal{border-radius:0;flex-direction:column;width:100%;max-width:none;height:100dvh;max-height:none;display:flex}.checkout-modal .modal-head{z-index:10;padding:max(14px, env(safe-area-inset-top)) 16px 12px;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffdfaf7;flex:none;position:sticky;top:0}.checkout-modal .modal-body{padding:12px 12px calc(18px + env(safe-area-inset-bottom));flex:auto;overflow-y:auto}.checkout-modal .checkout-summary{padding:11px}.checkout-modal .payment-grid{grid-template-columns:1fr}.checkout-modal .checkout-submit{z-index:9;min-height:58px;position:sticky;bottom:0;box-shadow:0 -12px 26px #fffdfaf5}.square-tap-panel>.button{width:100%}}.commerce-shell>.operations-admin>:only-child{grid-column:1/-1}@media (max-width:700px){.analytics-range-card,.week-toolbar{flex-direction:column;align-items:stretch}.analytics-custom-dates,.analytics-custom-dates label,.analytics-custom-dates input,.week-toolbar label,.week-toolbar input{width:100%}.analytics-metrics,.ranking-grid,.payroll-service-summary{grid-template-columns:1fr}.sales-chart .bar-chart{min-width:0;overflow-x:auto}.sales-chart .bar-column{flex:0 0 46px}.sales-chart .bar-value{font-size:.58rem}.payroll-detail-row{background:0 0!important;border:0!important;margin-top:0!important;padding:0!important}.payroll-detail-row>td{text-align:left!important;border:0!important;padding:0!important;display:block!important}.payroll-detail-row>td:before{display:none!important}.payroll-shift-detail dl,.financial-catalogue-grid{grid-template-columns:1fr}.overtime-review{justify-content:stretch}.overtime-review .button{flex:120px}}.inventory-category-filter .field{width:min(320px,100%)}.team-role-panel,.recipes,.recipe-detail,.recipe-editor-modal .modal-body{padding-inline:clamp(16px,3vw,28px)}.team-role-row,.recipe-item-card,.recipe-sections section{min-width:0}.team-role-row>*,.recipe-item-card *,.recipe-sections section *{overflow-wrap:anywhere;max-width:100%}.timeline-mobile-axis,.timeline-mobile-person{display:none}.timeline-day .timeline-person-row{top:0;bottom:0;left:calc((100% / var(--shift-lanes)) * var(--shift-lane));width:calc(100% / var(--shift-lanes));min-width:0;padding-inline:5px;position:absolute}.timeline-person-track{width:100%;height:100%;position:relative}.timeline-day .timeline-person-row .timeline-shift{top:var(--shift-top);width:100%;height:var(--shift-height);position:absolute;left:0;right:0}.kitchen-speed-panel{gap:16px;margin-top:16px;padding:18px;display:grid}.kitchen-speed-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.kitchen-speed-summary article{background:var(--soft);border-radius:14px;gap:5px;min-width:0;padding:13px;display:grid}.kitchen-speed-summary span{color:var(--muted);font-size:.75rem;font-weight:750}.kitchen-speed-summary strong{overflow-wrap:anywhere;font-size:1.2rem}.kitchen-speed-tables{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.kitchen-speed-tables details{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;overflow:hidden}.kitchen-speed-tables summary{cursor:pointer;padding:12px 14px;font-weight:850}.kitchen-speed-tables table{border-collapse:collapse;width:100%;font-size:.78rem}.kitchen-speed-tables th,.kitchen-speed-tables td{border-top:1px solid var(--line);text-align:left;white-space:nowrap;padding:9px 10px}body .prep-toolbar{grid-template-columns:minmax(170px,1fr) auto auto;align-items:end;display:grid}body .prep-toolbar .button{white-space:normal;min-height:44px}.floor-plan-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.floor-canvas.is-layout-locked,.floor-canvas.is-layout-locked .floor-table{touch-action:pan-y}.floor-canvas.is-layout-locked .floor-table:active{cursor:pointer}.floor-canvas.is-layout-editing{outline-offset:3px;outline:3px solid #71101729}.floor-canvas.is-layout-editing .floor-table{cursor:grab}.foh-arrive-open-order{border-color:var(--ink)!important;background:var(--ink)!important;color:#fff!important}.compact-form .check-row{border:1px solid var(--line);border-radius:12px;grid-template-columns:20px minmax(0,1fr);justify-content:start;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px;line-height:1.35;display:grid!important}.compact-form .check-row input[type=checkbox]{min-width:20px;height:20px;margin:0;width:20px!important;max-width:20px!important}@media (max-width:900px){.kitchen-speed-tables{grid-template-columns:1fr}}@media (max-width:700px){.inventory-category-filter{flex-direction:column;align-items:stretch}.kitchen-speed-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-timeline-scroll{overflow:visible}.schedule-timeline{grid-template-rows:repeat(7,auto auto);grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.timeline-corner,.timeline-axis,.timeline-gridline{display:none}.timeline-head{border-right:0;place-items:center start;min-height:36px;padding:7px 10px;position:static}.timeline-head:not(.timeline-corner){grid-column:1}.timeline-head:nth-child(2){grid-row:1}.timeline-head:nth-child(3){grid-row:3}.timeline-head:nth-child(4){grid-row:5}.timeline-head:nth-child(5){grid-row:7}.timeline-head:nth-child(6){grid-row:9}.timeline-head:nth-child(7){grid-row:11}.timeline-head:nth-child(8){grid-row:13}.timeline-day{border-right:0;border-bottom:1px solid var(--line);background:#fff;gap:6px;min-height:44px;padding:7px 6px 10px;display:grid;position:static}.timeline-day:nth-child(10){grid-row:2}.timeline-day:nth-child(11){grid-row:4}.timeline-day:nth-child(12){grid-row:6}.timeline-day:nth-child(13){grid-row:8}.timeline-day:nth-child(14){grid-row:10}.timeline-day:nth-child(15){grid-row:12}.timeline-day:nth-child(16){grid-row:14}.timeline-mobile-axis,.timeline-day .timeline-person-row{grid-template-columns:clamp(58px,21vw,76px) minmax(0,1fr);align-items:center;min-width:0;display:grid}.timeline-mobile-axis{color:var(--muted);font-size:.55rem}.timeline-mobile-axis i{grid-area:1/2;font-style:normal}.timeline-mobile-axis i:first-of-type{justify-self:start}.timeline-mobile-axis i:nth-of-type(2){justify-self:start;margin-left:25%}.timeline-mobile-axis i:nth-of-type(3){justify-self:center}.timeline-mobile-axis i:nth-of-type(4){justify-self:end;margin-right:25%}.timeline-mobile-axis i:nth-of-type(5){justify-self:end}.timeline-day .timeline-person-row{width:100%;height:42px;padding:0;position:static}.timeline-mobile-person{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;padding-right:7px;font-size:clamp(.62rem,2.8vw,.74rem);font-weight:800;display:block;overflow:hidden}.timeline-day .timeline-person-row .timeline-person-track{grid-column:2;height:38px}.timeline-day .timeline-person-row .timeline-shift{top:0;right:auto;left:var(--shift-left);width:var(--shift-width);text-align:center;border-radius:8px;min-width:0;height:38px;padding:5px 4px}.timeline-day .timeline-shift strong,.timeline-day .timeline-shift small{display:none}.timeline-day .timeline-shift span{letter-spacing:-.02em;text-overflow:clip;white-space:nowrap;font-size:clamp(.48rem,2.1vw,.62rem);font-weight:800;display:block;overflow:hidden}body .prep-toolbar{grid-template-columns:minmax(0,1fr);width:100%}body .prep-toolbar>*,body .prep-toolbar .field{width:100%}.floor-plan-head{align-items:stretch}.floor-plan-head-actions{justify-content:space-between;width:100%}.payroll-layout,.payroll-table-card,.payroll-table-card .table-scroll,.wage-form{width:100%;min-width:0;max-width:100%}.payroll-table-card{padding:14px;overflow:hidden}.payroll-table-card .panel-head{flex-direction:column;align-items:flex-start}.payroll-table-card .table-scroll{overflow:visible}.payroll-table,.payroll-table tbody{width:100%;display:block}.payroll-table thead{display:none}.payroll-table tr{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;margin-top:10px;padding:10px 12px;display:grid}.payroll-table td,.payroll-table tbody td:first-child{border-bottom:1px solid var(--line);white-space:normal;text-align:right;overflow-wrap:anywhere;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:8px 0;display:flex}.payroll-table td:last-child{border-bottom:0}.payroll-table td:before{color:var(--muted);text-align:left;flex:none;font-size:.72rem;font-weight:800}.payroll-table td:first-child:before{content:"員工 / Team"}.payroll-table td:nth-child(2):before{content:"類型 / Type"}.payroll-table td:nth-child(3):before{content:"排班 / Scheduled"}.payroll-table td:nth-child(4):before{content:"實際 / Worked"}.payroll-table td:nth-child(5):before{content:"加班 / OT"}.payroll-table td:nth-child(6):before{content:"預估薪資 / Gross"}.payroll-table tbody td:first-child{grid-template-columns:auto minmax(0,1fr);display:grid}.payroll-table tbody td:first-child:before{grid-row:1/3}.payroll-table tbody td:first-child strong,.payroll-table tbody td:first-child small{grid-column:2;min-width:0}.wage-form input,.wage-form select,.wage-form button{width:100%;max-width:100%}}.kitchen-speed-help{max-width:62ch;color:var(--muted);margin:7px 0 0;font-size:.75rem;line-height:1.45}@media (max-width:700px){.kitchen-speed-panel .panel-head{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;display:grid}.kitchen-speed-range{white-space:normal;overflow-wrap:anywhere;justify-self:start;max-width:100%}.kitchen-speed-tables th:last-child,.kitchen-speed-tables td:last-child{white-space:normal;min-width:112px}.mobile-pos-shell .order-context{border-radius:13px;padding:4px}.mobile-pos-shell .pos-service-switch .segmented,.front-tablet-shell.mobile-pos-shell .pos-service-switch .segmented{padding:3px}.mobile-pos-shell .segmented button,.front-tablet-shell.mobile-pos-shell .segmented button{min-height:40px;padding:5px 3px;font-size:14px}.mobile-pos-shell .floor-plan-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.mobile-pos-shell .floor-plan-head>div:first-child{min-width:0}.mobile-pos-shell .floor-plan-head h3{white-space:nowrap;width:auto;margin:0}.mobile-pos-shell .floor-plan-head-actions{justify-content:flex-end;width:auto}}.loss-report-panel{gap:18px;margin-top:18px;display:grid}.loss-report-head{align-items:start}.loss-report-head>div{min-width:0}.loss-report-head .tag{white-space:normal;overflow-wrap:anywhere;max-width:100%}.loss-summary-grid,.loss-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.loss-summary-grid .metric-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-rows:auto auto auto minmax(48px,1fr);gap:5px;min-width:0;min-height:0;padding:14px;display:grid;box-shadow:0 6px 18px #3f2a1b0d}.loss-summary-grid .metric-card>span{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:.73rem;font-weight:800;line-height:1.25}.loss-summary-grid .metric-card>strong{overflow-wrap:anywhere;min-width:0;font-size:clamp(1.08rem,2vw,1.45rem);line-height:1.15}.loss-summary-grid .metric-card>small{min-height:2.5em;color:var(--muted);overflow-wrap:anywhere;font-size:.67rem;line-height:1.3}.loss-category-card{border:1px solid var(--line);background:#fffaf6;border-radius:14px;gap:5px;min-width:0;padding:14px;display:grid}.loss-category-card>span,.loss-category-card>small{color:var(--muted)}.loss-category-card>em{color:var(--muted);overflow-wrap:anywhere;font-size:.68rem;font-style:normal;line-height:1.35}.loss-category-card>strong{color:var(--ink);font-size:1.25rem}.loss-category-card.staff_meal{background:#f4f8f2}.loss-category-card.front_error{background:#fff4f2}.loss-category-card.customer_cancel{background:#fff9ed}.loss-report-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:14px;display:grid}.loss-daily-card,.loss-detail-card{border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0;padding:14px}.loss-daily-card h3,.loss-detail-card h3{margin:0 0 12px}.loss-detail-list{gap:10px;display:grid}.loss-detail-list>article{border:1px solid var(--line);background:#fffaf8;border-left:4px solid #9d1d26;border-radius:12px;gap:9px;padding:12px;display:grid}.loss-detail-list>article.pending{background:#fff9ed;border-left-color:#b88639}.loss-detail-title{justify-content:space-between;align-items:start;gap:10px;display:flex}.loss-detail-title>span:first-child{gap:2px;min-width:0;display:grid}.loss-detail-title small,.loss-detail-list p,.loss-detail-list dt{color:var(--muted)}.loss-detail-list p{overflow-wrap:anywhere;margin:0}.loss-detail-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.loss-detail-list dl>div{min-width:0}.loss-detail-list dt,.loss-detail-list dd{overflow-wrap:anywhere;margin:0}.loss-detail-list dd{font-weight:800}@media (max-width:980px){.loss-summary-grid,.loss-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.loss-report-layout{grid-template-columns:1fr}}@media (max-width:600px){.loss-report-head{grid-template-columns:minmax(0,1fr);display:grid}.loss-summary-grid,.loss-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loss-summary-grid .metric-card{border-radius:13px;min-height:0;padding:11px}.loss-summary-grid .metric-card>span{font-size:.66rem}.loss-summary-grid .metric-card>strong{font-size:.98rem}.loss-summary-grid .metric-card>small,.loss-category-card>em{font-size:.61rem}.loss-category-card{border-radius:12px;padding:10px}.loss-category-card>strong{font-size:1rem}.loss-detail-title{display:grid}.loss-detail-title .tag{justify-self:start}.loss-detail-list dl{grid-template-columns:1fr}}.menu-option-builder-content,.menu-option-rows{gap:8px;min-width:0;display:grid}.menu-option-presets{flex-wrap:wrap;gap:6px;margin:2px 0 5px;display:flex}.menu-option-preset{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:3px;padding:4px 5px 4px 8px;font-size:.75rem;display:inline-flex}.menu-editor-modal .menu-option-preset>label{cursor:pointer;align-items:center;gap:6px;min-width:0;padding:3px 0;font-size:.75rem;line-height:1.3;display:inline-flex}.menu-option-preset.selected{background:#eaf5ed;border-color:#a8cbb6}.menu-editor-modal .menu-option-preset input{flex:0 0 16px;width:16px;height:16px;margin:0;padding:0}.menu-option-preset-remove{color:#9b3434;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 24px;place-items:center;width:24px;height:28px;padding:0;font-size:1rem;display:grid}.menu-option-preset-remove:hover{background:#fbe9e7}.menu-option-preset-hint{color:var(--muted);overflow-wrap:anywhere;font-size:.66rem;line-height:1.4}.menu-option-restore{color:var(--good);cursor:pointer;background:0 0;border:0;justify-self:start;padding:3px 0;font-size:.68rem;text-decoration:underline}.menu-option-column-labels,.menu-option-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 100px 32px;align-items:center;gap:7px;min-width:0;display:grid}.menu-option-column-labels{color:var(--muted);font-size:.66rem;font-weight:800}.menu-editor-modal .menu-option-row>input:not([type=hidden]){min-width:0;padding:8px;font-size:.75rem}.menu-option-price{gap:4px;min-width:0;font-size:.75rem;display:grid}.menu-option-price-control{border:1px solid var(--line);box-sizing:border-box;background:#fff;border-radius:11px;align-items:center;gap:5px;width:100%;min-width:0;padding:0 8px;display:flex}.menu-option-price-control>span{color:var(--muted);flex:none;line-height:1}.menu-option-price-control:focus-within{border-color:var(--good);box-shadow:0 0 0 3px #2f7d581a}.menu-option-price-label{display:none}.menu-editor-modal .menu-option-price-control input{width:0;min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1 1 0;padding:8px 0;font-size:.75rem}.menu-editor-modal .menu-option-price-control input:focus{box-shadow:none}.menu-editor-modal .check-line{align-items:center;gap:7px;line-height:1.4;display:flex}.menu-editor-modal .check-line input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0;padding:0}.menu-option-remove{border:1px solid var(--line);color:#9b3434;cursor:pointer;background:#fff;border-radius:8px;width:28px;height:32px;padding:0;font-size:1rem}.menu-option-add{justify-self:start;padding:7px 10px;font-size:.74rem}@media (max-width:700px){.menu-option-column-labels{display:none}.menu-option-row{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:9px}.menu-option-price{max-width:none}.menu-option-price-label{color:var(--muted);flex-shrink:0;font-size:.65rem;display:inline}.menu-option-remove{justify-self:end}}@media (max-width:780px),(orientation:landscape) and (max-height:760px) and (max-width:960px){.main :is(.panel,.metric-card,.section-header,.panel-head,.toolbar,.setting-card,.integration-card,.operations-admin,form,fieldset,details,summary,article),.main :is(.panel,.metric-card,.section-header,.panel-head,.toolbar,.setting-card,.integration-card,.operations-admin,form,fieldset,details,summary,article)>*{min-width:0}.main :is(h1,h2,h3,h4,p,small,strong,label,legend,summary,.button,.tag){overflow-wrap:anywhere;max-width:100%}.main :is(input,select,textarea){min-width:0;max-width:100%}.main :is(.toolbar,.panel-head,.section-header,.foh-head,.foh-form-title){flex-wrap:wrap}.main :is(.button,.tag){white-space:normal;text-align:center}.operations-admin details>summary>span:first-child{min-width:0}.operations-admin details>summary>.tag{flex:none}.metric-spark-bars>button{flex-basis:30px;min-width:30px}.metric-spark-bars small{text-overflow:ellipsis}}@media (max-width:680px){.analytics-metrics{grid-template-columns:minmax(0,1fr)}.external-platform-report .panel-head{flex-direction:column;align-items:flex-start}.external-platform-report .panel-head>.tag{white-space:normal;align-self:flex-start}}@media (max-width:780px),(orientation:landscape) and (max-height:760px) and (max-width:960px){.main button{min-width:44px;min-height:44px}.main summary,.main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){min-height:44px}.main .link-button{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px;display:inline-flex}.main .language-switch button,.main .segmented button,.main .analytics-period-navigation .button,.main .week-navigation .button,.main .print-job-actions .button,.main .overtime-review .button,.main .range-switch button,.main .floor-table,.main .floor-action-bar .button,.main .menu-tabs button,.main .basket-modifier-group button{min-height:44px}.main .language-switch button{min-width:44px}.main .quantity-control button{width:44px;height:44px}.mobile-menu-sheet{overscroll-behavior:contain;scrollbar-gutter:stable}.mobile-menu-head{z-index:2;background:var(--surface);margin:-20px -20px 15px;padding:20px 20px 10px;position:sticky;top:-20px}.mobile-menu-sheet :is(.close-button,.language-switch button,.mobile-menu-actions>button){min-width:44px;min-height:44px}}
