/* Direct order entry, a compact workstation, and touch layouts. */
.order-entry{background:#fff;border:1px solid #dce5e0;border-radius:12px;padding:20px;margin:0 0 22px;box-shadow:0 2px 6px #143a2404}.entry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.entry-heading h2{font-size:17px;margin:0}.entry-heading>span{color:#73847b;font-size:12px}.entry-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.entry-choice{border:0;padding:0;margin:0;min-width:0}.entry-choice legend{font-size:12px;color:#53685f;margin-bottom:7px;padding:0}.entry-segment{display:grid;grid-template-columns:1fr 1fr;gap:7px}.entry-segment button{border:1px solid #d9e3dd;background:#fff;color:#516b5c;border-radius:8px;min-height:44px;padding:9px;font-size:13px}.entry-segment button[aria-pressed=true]{color:#125f48;background:#edf7f1;border-color:#268366;font-weight:650}.entry-schedule,.entry-delivery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:4px}.entry-delivery .form-field:nth-child(2){grid-column:1/-1;grid-row:2}.entry-tip{font-size:12px;color:#657a6b;margin:14px 0 0;line-height:1.7}.order-entry input{font-variant-numeric:tabular-nums;min-width:0;max-width:100%}.mobile-order-bar,.close-cart,.cart-shade{display:none}.topbar-actions #layout-toggle{padding:8px 12px;min-height:40px;white-space:nowrap;font-size:12px;color:#176b53}.fulfillment-summary{line-height:1.7;overflow-wrap:anywhere}.simple-layout .page-intro,.simple-layout .menu-footer,.simple-layout .rail-bottom{display:none}.simple-layout .product-card{min-height:140px;padding:16px}.simple-layout .product-mark{display:none}.simple-layout .product-description{font-size:12px;margin-bottom:12px;line-height:1.6}.simple-layout .card-selected{top:14px;right:14px}.simple-layout .card-badge{position:static;align-self:flex-start;order:-1;margin-bottom:7px}.simple-layout .product-card:has(.card-selected) h3{padding-right:20px}.simple-layout .cart-heading{padding-top:20px;padding-bottom:16px}.simple-layout main{padding-top:22px}.simple-layout .menu-toolbar{margin-bottom:20px}.simple-layout .topbar{height:68px}.simple-layout .header-center,.simple-layout .brand small{display:none}.simple-layout .frontdesk-toolbar{padding:9px 24px}.simple-layout #frontdesk-connection{display:none}.simple-layout .workspace{min-height:calc(100vh - 125px)}.simple-layout .cart{height:calc(100vh - 125px)}.simple-layout .order-entry{padding:18px}.simple-layout .frontdesk-toolbar strong{font-size:12px}
@media(max-width:1100px){
 .topbar{height:68px;padding:0 18px}.topbar-actions{gap:8px}#clock,.header-center{display:none}.brand strong{font-size:18px}.brand small{display:none}.workspace{grid-template-columns:minmax(0,1fr) 320px}.workspace>.rail{grid-column:1/-1;flex-direction:row;border-right:0;border-bottom:1px solid var(--line);padding:8px 18px;gap:8px}.rail-button{width:auto;height:42px;flex-direction:row;padding:0 16px;font-size:13px}.rail-icon{font-size:18px}.rail-count{position:static}.rail-bottom{display:none}main{padding:20px}.cart,.simple-layout .cart{height:calc(100dvh - 58px);top:0;min-height:480px}.workspace.orders-workspace{grid-template-columns:1fr}.orders-workspace main{padding:20px}.entry-grid{grid-template-columns:1fr}.entry-grid>.full-field{grid-column:1}.entry-schedule,.entry-delivery{grid-template-columns:1fr}.entry-delivery .form-field:nth-child(2){grid-column:auto;grid-row:auto}.order-entry .modal-input{font-size:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-intro{margin-bottom:20px}.frontdesk-toolbar,.simple-layout .frontdesk-toolbar{padding:9px 18px;gap:9px}.frontdesk-toolbar #frontdesk-connection{display:none}.frontdesk-toolbar #sound-status{font-size:11px;flex:1}.frontdesk-toolbar strong{margin-left:0}.search input{font-size:14px}.form-field>span{font-size:13px}.stepper button{min-width:36px;height:36px}.edit-item{min-height:36px;padding-right:8px;font-size:12px}.cart-item-bottom{gap:8px}.order-tabs button{min-height:42px}.order-date input{font-size:16px}
}
@media(min-width:701px) and (max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 292px}main{padding:18px 14px}.cart-heading,.cart-bottom{padding-left:16px;padding-right:16px}.cart-items{padding-left:16px;padding-right:16px}.fulfillment-summary{margin-left:16px;margin-right:16px}.product-card,.simple-layout .product-card{padding:12px}.product-card h3{font-size:14px}.card-price{font-size:20px}.product-description{font-size:11px}.entry-heading>span{display:none}}
@media(max-width:700px), (max-height:500px) and (max-width:1000px) and (pointer:coarse){
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}.topbar,.simple-layout .topbar{height:62px;padding:0 12px;gap:8px}.brand{gap:8px}.brand-seal{width:32px;height:32px;font-size:23px;border-radius:9px}.brand strong{font-size:16px;letter-spacing:1px}.topbar-actions{gap:5px}.topbar-actions #layout-toggle,.display-fullscreen{font-size:11px!important;padding:7px!important;min-height:36px!important}.connection{font-size:10px}.topbar-actions .connection{max-width:80px;white-space:normal;line-height:1.4}.frontdesk-toolbar,.simple-layout .frontdesk-toolbar{padding:9px 12px;gap:7px}.frontdesk-toolbar .secondary-button{min-height:36px;font-size:11px;padding:7px 9px}.frontdesk-toolbar #sound-status{max-width:calc(100% - 125px);line-height:1.6}.frontdesk-toolbar strong{width:100%;font-size:11px}.workspace,.simple-layout .workspace,.workspace.orders-workspace{display:grid;grid-template-columns:minmax(0,1fr);min-height:0}.workspace>.rail{padding:6px 12px;gap:6px}.rail-button{flex:1;justify-content:center;height:42px;min-width:0;border-radius:8px}.workspace>main,.orders-workspace main,.simple-layout main{padding:16px 12px 22px;min-width:0}.order-entry,.simple-layout .order-entry{padding:15px;margin-bottom:18px;border-radius:10px}.entry-heading{margin-bottom:14px}.entry-heading h2{font-size:16px}.entry-heading>span{font-size:11px}.entry-grid{gap:13px}.entry-segment button{font-size:12px;padding:9px 6px;min-height:44px}.entry-schedule,.entry-delivery{gap:13px}.entry-tip{font-size:11px}.modal-input,input,select,textarea{font-size:16px}.modal-input{padding:11px;min-height:46px;width:100%;min-width:0}input[type=datetime-local]{appearance:none;-webkit-appearance:none;min-width:0;text-align:left;max-width:100%}.categories{display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;padding:0 0 4px;gap:6px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.category{flex:0 0 auto;font-size:12px;min-height:42px;padding:9px 12px}.menu-toolbar{gap:9px;margin-bottom:17px}.search{min-height:44px}.search input{font-size:16px}.search kbd{display:none}.product-grid{gap:10px}.product-card,.simple-layout .product-card{min-height:142px;padding:14px 12px}.product-card h3{font-size:15px}.product-description,.simple-layout .product-description{font-size:11px;line-height:1.6}.product-mark{width:28px;height:28px;font-size:18px;margin-bottom:10px}.card-price{font-size:22px}.card-plus{height:30px;width:30px}.page-intro h1{font-size:20px}.service-note{display:none}.menu-footer{display:none}
 .cart,.simple-layout .cart{display:none;position:fixed;inset:auto 0 0;z-index:60;height:auto;min-height:0;max-height:88vh;max-height:88dvh;border:0;border-radius:18px 18px 0 0;box-shadow:0 -15px 60px #17382a22;padding-bottom:env(safe-area-inset-bottom);overflow:auto;overscroll-behavior:contain}.cart-open .cart{display:flex}.cart-open{overflow:hidden}.cart .cart-items{max-height:none;flex:1;overflow:auto;min-height:60px}.cart .cart-bottom{flex:none}.cart .empty-cart{min-height:100px}.close-cart{display:block;flex:none;align-self:flex-end;margin:10px 14px 0;min-height:40px;color:#176b53;font-size:12px}.cart-heading,.simple-layout .cart-heading{padding:12px 20px}.cart-shade:not([hidden]){display:block;position:fixed;inset:0;z-index:59;border:0;background:#0a291e80;border-radius:0}.mobile-order-bar{display:flex;align-items:center;gap:12px;position:fixed;bottom:0;left:0;right:0;z-index:40;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce5df;box-shadow:0 -5px 20px #173b2508}.mobile-order-bar>button:first-child{border:0;background:none;text-align:left;padding:0;min-height:46px;flex:1;color:#213e31}.mobile-order-bar strong{display:block;font-size:24px;line-height:1.2}.mobile-order-bar span{display:block;font-size:12px;color:#63796b;margin-top:4px}.mobile-order-bar .primary-button{min-width:132px;min-height:48px;font-size:15px}.viewing-orders .mobile-order-bar,.keyboard-open .mobile-order-bar,.cart-open .mobile-order-bar{display:none}.viewing-orders{padding-bottom:0}.modal-backdrop{padding:0;align-items:flex-end}.modal{width:100%;max-width:100%;padding:22px 16px calc(22px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;max-height:92vh;max-height:92dvh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-heading{margin-bottom:18px}.modal .modal-footer{bottom:calc(-22px - env(safe-area-inset-bottom));padding-bottom:calc(10px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:12px}.modal-footer .primary-button{min-height:48px;font-size:14px}.modal-total{font-size:25px}.modal-total small{font-size:11px}.modal .form-grid{grid-template-columns:1fr}.full-field{grid-column:1/-1}.option-grid{gap:8px}.option-button{font-size:13px;min-height:48px}.method-grid .option-button{min-height:44px;padding:10px 12px}.quantity-row .stepper button{width:42px;height:42px}.quantity-row input{font-size:16px;height:42px;width:64px}.modal .form-actions{grid-column:1/-1}.flavor-row{grid-template-columns:minmax(70px,1fr) 64px 16px 38px}.order-info strong{font-size:14px}.order-date input{max-width:146px}.order-legend{font-size:11px}.order-row{padding:15px 12px}.order-no{font-size:19px;min-width:0}.order-tools input{font-size:16px}.frontdesk-dialog{max-height:88vh;max-height:88dvh}.frontdesk-alert-card .primary-button{min-height:48px}
}
@media(max-width:360px){.brand strong{font-size:14px}.topbar-actions .connection{display:none}.entry-heading>span{display:none}.entry-segment button{font-size:11px}.product-card h3{font-size:14px}.mobile-order-bar .primary-button{min-width:115px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.customer-tools{border:1px solid #e2e8e3;border-radius:9px;padding:12px 14px;margin-bottom:18px}.customer-tools summary{font-size:13px;font-weight:600;color:#365f4c;cursor:pointer;min-height:24px}.customer-tools[open] summary{margin-bottom:14px}.customer-tools .customer-import{margin:14px 0 0}.customer-tools .form-field{margin-top:12px}
@media(min-width:701px) and (max-width:1100px) and (min-height:501px){.cart,.simple-layout .cart{height:calc(100dvh - 184px);min-height:0}.cart-items{min-height:60px}.stepper button{width:44px;min-width:44px;height:44px}}

@media(max-height:500px) and (max-width:1000px) and (pointer:coarse){.topbar,.frontdesk-toolbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.workspace>main{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.mobile-order-bar{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.modal{max-height:96dvh}.cart,.simple-layout .cart{max-height:96dvh}.entry-grid{grid-template-columns:1fr 1fr}.entry-grid>.full-field{grid-column:1/-1}.entry-schedule,.entry-delivery{grid-template-columns:1fr 1fr}}
/* Order details belong to the first product popup, never the menu homepage. */
.product-order-modal .order-entry,.simple-layout .product-order-modal .order-entry{margin:0;padding:16px;background:#f6f9f7;border-color:#e2e9e4;box-shadow:none}.product-order-modal .entry-heading{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:14px}.product-order-modal .entry-heading h2{font-size:15px}.product-order-modal .entry-heading>span{font-size:11px;display:block}.product-order-modal .entry-tip{font-size:11px;margin-top:12px}.product-order-modal .entry-segment button{font-size:12px;padding:9px 6px}.product-options{min-width:0}.product-order-layout{display:grid;gap:20px}.product-order-modal .entry-grid{grid-template-columns:1fr 1fr}.product-order-modal .entry-schedule,.product-order-modal .entry-delivery{grid-template-columns:1fr 1fr}.product-order-modal .entry-grid>.full-field{grid-column:1/-1}.product-order-modal .entry-delivery .form-field:nth-child(2){grid-column:1/-1;grid-row:auto}
@media(min-width:1000px){.modal.product-order-modal{width:1060px}.product-order-layout{grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:26px;align-items:start}.product-order-modal .entry-grid,.product-order-modal .entry-schedule,.product-order-modal .entry-delivery{grid-template-columns:1fr}.product-order-modal .order-entry{position:sticky;top:0}.product-order-modal .entry-grid>.full-field,.product-order-modal .entry-delivery .form-field:nth-child(2){grid-column:1}.product-order-modal .quantity-row{margin:16px 0;padding:12px 0}.product-order-modal .flavor-section{margin:16px 0}}
@media(max-width:700px), (max-height:500px) and (max-width:1000px) and (pointer:coarse){.product-order-modal .entry-grid,.product-order-modal .entry-schedule,.product-order-modal .entry-delivery{grid-template-columns:1fr}.product-order-modal .order-entry{padding:14px}.product-order-modal .entry-heading{flex-direction:row;align-items:center}.product-order-modal .entry-heading>span{font-size:10px}.product-order-modal .product-order-layout{gap:18px}.product-order-modal .entry-delivery .form-field:nth-child(2){grid-column:1}.product-order-modal .modal-footer{position:sticky}}
/* Compact header and square order board in both standard and simple layouts. */
.topbar,.simple-layout .topbar{height:60px;padding:0 22px}.brand-seal{width:36px;height:36px;border-radius:10px;font-size:25px}.brand strong{font-size:18px}.brand small,.header-center{display:none}.frontdesk-toolbar,.simple-layout .frontdesk-toolbar{padding:6px 22px;min-height:44px;gap:12px}.frontdesk-toolbar .secondary-button{min-height:32px;padding:6px 10px;font-size:12px}.frontdesk-toolbar #sound-status{font-size:11px}.frontdesk-toolbar strong{font-size:11px}.workspace,.simple-layout .workspace{min-height:calc(100vh - 104px)}.cart,.simple-layout .cart{height:calc(100vh - 104px)}.orders-workspace main,.simple-layout .orders-workspace main{margin:0 auto;align-self:start;max-width:none;padding:18px 22px}.orders-toolbar{display:flex;align-items:center;gap:14px;min-width:0;margin-bottom:12px}.orders-toolbar h1{font-size:20px;letter-spacing:0;margin:0;white-space:nowrap}.orders-toolbar #order-search{flex:1;min-width:140px;max-width:440px;min-height:40px;height:40px;padding:9px 12px}.orders-toolbar .order-date{display:flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap}.orders-toolbar .order-date input{margin:0;min-height:40px;height:40px;font-size:13px;max-width:150px}.active-orders-toggle{font-size:12px;display:flex;align-items:center;gap:5px;white-space:nowrap;color:#52695d;min-height:40px}.active-orders-toggle input{margin:0;width:16px;height:16px}.orders-toolbar .order-legend{position:relative;font-size:12px;margin:0;flex:none}.order-legend summary{cursor:pointer;list-style:none;border:1px solid #dce5df;border-radius:7px;background:#fff;padding:10px;white-space:nowrap}.order-legend>div{position:absolute;top:calc(100% + 7px);right:0;z-index:10;width:290px;max-width:80vw;background:#fff;border:1px solid #dce5df;border-radius:9px;padding:12px 14px;box-shadow:0 8px 30px #193c241a;font-size:12px;line-height:2}.order-tabs{margin:0 0 14px;gap:7px}.order-tabs button{min-height:36px;padding:7px 12px;font-size:12px}.order-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;align-items:stretch}.order-list .order-row{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;aspect-ratio:1;min-height:285px;min-width:0;padding:16px;border-radius:12px;overflow:hidden}.order-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.order-list .order-no{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:26px;line-height:1.2;overflow-wrap:anywhere}.order-list .order-no small{display:inline-block;margin:0;font-size:12px;white-space:nowrap}.order-list .status-pill{white-space:nowrap;font-size:12px;line-height:1.4;flex:none}.order-card-customer{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.priority-badge{display:inline-block;background:#ffddd3;color:#ad3422;font-size:11px;padding:2px 6px;border-radius:4px;flex:none}.order-card-items{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:7px}.order-card-item{line-height:1.5;min-height:0}.order-card-item strong{font-size:13px;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.order-card-item>span{display:block;font-size:11px;color:#63796b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-card-time{font-size:11px;line-height:1.7;color:#536e5d;flex:none}.order-card-footer{border-top:1px solid #254b3215;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.order-card-footer>span{font-size:11px;color:#6e7f75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.order-card-footer>strong{font-size:18px;white-space:nowrap}.order-card-more{font-size:11px;color:#617568}.order-list .overdue-label{font-size:11px;padding:6px 8px;margin:0;flex:none}.order-list .list-empty{grid-column:1/-1}.order-list .order-row.overdue{border-left-width:6px}
@media(min-width:701px) and (max-width:1100px){.cart,.simple-layout .cart{height:calc(100dvh - 162px);min-height:0}.orders-toolbar{flex-wrap:wrap;gap:10px}.orders-toolbar #order-search{max-width:none}.orders-toolbar .order-date{margin-left:0}.orders-workspace main,.simple-layout .orders-workspace main{padding:16px}.order-list{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}}
@media(max-width:700px), (max-height:500px) and (max-width:1000px) and (pointer:coarse){.topbar,.simple-layout .topbar{height:54px;padding:0 12px}.brand-seal{width:30px;height:30px;font-size:22px}.brand strong{font-size:16px}.frontdesk-toolbar,.simple-layout .frontdesk-toolbar{padding:5px 12px;gap:6px;min-height:40px}.frontdesk-toolbar #sound-status{font-size:10px;max-width:none;flex:1;line-height:1.5}.frontdesk-toolbar strong{width:auto;margin-left:auto;font-size:10px}.frontdesk-toolbar .secondary-button{font-size:10px;min-height:30px;padding:6px 8px}.frontdesk-toolbar #frontdesk-connection{display:none}.workspace,.simple-layout .workspace{min-height:0}.workspace>.rail{padding:5px 12px}.rail-button{height:36px}.orders-workspace main,.simple-layout .orders-workspace main{padding:12px}.orders-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-bottom:10px}.orders-toolbar h1{font-size:18px}.orders-toolbar #order-search{grid-column:1/-1;grid-row:2;max-width:none;height:42px;font-size:16px}.orders-toolbar .order-date{grid-column:2;grid-row:1;margin:0;gap:0}.orders-toolbar .order-date>span{display:none}.orders-toolbar .order-date input{font-size:14px;max-width:150px;height:36px;min-height:36px}.active-orders-toggle{min-height:32px;font-size:11px}.orders-toolbar .order-legend{justify-self:end;font-size:11px}.order-legend summary{padding:7px 9px}.order-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;gap:6px;margin:0 0 10px;scrollbar-width:none}.order-tabs::-webkit-scrollbar{display:none}.order-tabs button{flex:none;min-height:38px;padding:8px 11px}.order-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.order-list .order-row{aspect-ratio:auto;min-height:255px;height:285px;padding:12px;gap:8px}.order-card-heading{flex-wrap:wrap;gap:7px}.order-list .order-no{font-size:23px;gap:6px}.order-list .status-pill{font-size:11px;padding:4px 6px}.order-card-customer{font-size:13px}.order-card-item strong{font-size:12px}.order-card-item>span{font-size:10px}.order-card-time{font-size:10px}.order-card-footer{padding-top:8px;gap:5px;flex-wrap:wrap}.order-card-footer>strong{font-size:16px}.order-card-footer>span{font-size:10px}.order-list .overdue-label{font-size:10px;padding:5px}.cart,.simple-layout .cart{height:auto}}
@media(max-width:360px){.order-list{grid-template-columns:1fr}.order-list .order-row{aspect-ratio:auto;min-height:250px;height:260px}}
@media(max-width:1100px){.workspace,.simple-layout .workspace{grid-template-rows:auto minmax(0,1fr)}.workspace>.rail{align-self:start}}
