@media screen and (max-width:700px){
 html body #adminView #checkoutPanel>.checkout-navigation-bar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%;margin:0 0 14px!important;padding:18px 0 0!important;min-width:0}
 html body #adminView #checkoutPanel .checkout-navigation-bar>.checkout-dining-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:10px!important;width:100%!important;padding:0!important;margin:0!important;min-width:0}
 html body #adminView #checkoutPanel .checkout-dining-toolbar .checkout-tablet-menu{display:none!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar .checkout-sales-mode-buttons{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px!important;width:100%!important;min-width:0;padding:4px!important;margin:0!important;border-radius:14px!important}
 html body #adminView #checkoutPanel .checkout-sales-mode-buttons button{min-width:0!important;min-height:43px!important;padding:8px 4px!important;font-size:11px!important;gap:6px;border-radius:11px!important}
 html body #adminView #checkoutPanel .checkout-sales-mode-buttons svg{width:19px;height:19px;flex-shrink:0}
 html body #adminView #checkoutPanel .checkout-dining-toolbar .checkout-fullscreen-button{grid-column:2!important;grid-row:1!important;display:grid!important;place-items:center;justify-self:end;align-self:center;width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;height:44px!important;padding:10px!important;margin:0!important;border:1px solid var(--mobile-line)!important;border-radius:14px!important;background:var(--mobile-soft)!important;color:var(--mobile-ink)!important;box-shadow:none!important}
 html body #adminView #checkoutPanel .checkout-fullscreen-button>span{display:none!important}
 html body #adminView #checkoutPanel .checkout-fullscreen-button>svg{display:block;width:21px!important;height:21px!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>label{grid-column:1/-1;min-width:0;max-width:100%}
 html body #adminView #checkoutPanel .checkout-navigation-bar>.section-intro{display:block!important;width:100%!important;padding:0!important;margin:0!important}
 html body #adminView #checkoutPanel .checkout-navigation-bar .checkout-head-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0}
 html body #adminView #checkoutPanel .checkout-head-actions>.checkout-date-field{order:0!important;grid-column:1/-1!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px!important;width:100%!important;min-width:0;min-height:48px!important;padding:6px 12px!important;background:var(--mobile-soft)!important;border:1px solid var(--mobile-line)!important;border-radius:13px!important;margin:0!important}
 html body #adminView #checkoutPanel .checkout-date-field>span{font:500 11px/1.4 var(--theme-font-family,'Segoe UI',sans-serif);color:var(--mobile-muted)}
 html body #adminView #checkoutPanel #checkoutDate{width:auto!important;max-width:calc(100% - 70px);min-width:0;flex:1;min-height:36px!important;height:36px!important;padding:5px 8px!important;border:0!important;background:transparent!important;margin:0!important}
 html body #adminView #checkoutPanel .checkout-navigation-bar #checkoutCustomerToggle{order:1!important;grid-column:1/-1!important;display:flex!important;align-items:center;justify-content:flex-start;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:54px!important;padding:9px 12px!important;margin:0!important;border-radius:13px!important;gap:10px;box-shadow:none!important}
 html body #adminView #checkoutPanel #checkoutCustomerToggle .checkout-customer-name{flex:1!important;max-width:none!important}
 html body #adminView #checkoutPanel .checkout-head-actions>button:not(#checkoutCustomerToggle){order:2!important;min-width:0!important;max-width:none!important;width:100%!important;min-height:42px!important;padding:9px!important;font-size:11px!important;border-radius:12px!important}
}
.checkout-mobile-view-divider,.checkout-mobile-search-icon{display:none}
@media screen and (max-width:700px){
 html body #adminView #checkoutPanel .product-picker>.checkout-search-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;min-width:0;width:100%;box-sizing:border-box;padding:0!important;margin:0 0 12px!important}
 html body #adminView #checkoutPanel .checkout-search-row>.pos-product-search{display:flex!important;align-items:center;gap:7px;min-width:0!important;max-width:none!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 9px!important;margin:0!important;border:1px solid var(--mobile-line)!important;border-radius:12px!important;background:var(--mobile-soft)!important;font-size:0!important;box-shadow:none!important}
 html body #adminView #checkoutPanel .checkout-search-row>.pos-product-search:before{display:none!important}
 html body #adminView #checkoutPanel .pos-product-search #checkoutProductSearch,html body #adminView #checkoutPanel .pos-product-search #checkoutProductSearch:focus{height:42px!important;min-height:0!important;width:100%!important;min-width:0!important;flex:1;margin:0!important;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font:16px var(--theme-font-family,'Segoe UI',sans-serif)!important}
 html body #adminView #checkoutPanel .pos-product-search:focus-within{outline:2px solid color-mix(in srgb,var(--theme-button) 25%,transparent);outline-offset:1px}
 .checkout-mobile-search-icon{display:grid;place-items:center;flex:0 0 16px;color:var(--mobile-muted)}.checkout-mobile-search-icon svg{width:16px;height:16px}
 html body #adminView #checkoutPanel .checkout-search-row>.checkout-product-tools-trigger{display:grid!important;place-items:center;width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;height:44px!important;padding:10px!important;margin:0!important;border:1px solid var(--mobile-line)!important;border-radius:12px!important;background:var(--mobile-soft)!important;color:var(--theme-primary)!important}
 html body #adminView #checkoutPanel .checkout-product-tools-trigger>svg{width:21px!important;height:21px!important}
 .checkout-mobile-view-divider{display:block;width:1px;height:28px;background:var(--mobile-line)}
 html body #adminView #checkoutPanel .checkout-search-row>.checkout-view-options{display:grid!important;grid-template-columns:repeat(2,36px)!important;gap:6px!important;width:78px!important;min-width:0!important;padding:0!important;margin:0!important;justify-content:end!important;border:0;background:transparent}
 html body #adminView #checkoutPanel .checkout-search-row>.checkout-view-options>button{display:grid!important;place-items:center;width:36px!important;min-width:36px!important;min-height:40px!important;height:40px!important;padding:8px!important;margin:0!important;border:1px solid var(--mobile-line)!important;border-radius:11px!important;background:var(--mobile-soft)!important;color:var(--mobile-muted)!important}
 html body #adminView #checkoutPanel .checkout-search-row>.checkout-view-options>button[aria-pressed=true]{background:var(--theme-button)!important;color:var(--theme-button-text,#fff)!important;border-color:var(--theme-button)!important}
 html body #adminView #checkoutPanel .checkout-view-options svg{width:19px!important;height:19px!important}
}
@media screen and (max-width:700px){
 html body #adminView #checkoutPanel .checkout-layout>.checkout-payment>.form-actions{left:0!important;right:0!important;width:100%!important;padding:10px 14px!important;border:0!important;border-top:1px solid var(--mobile-line)!important;border-radius:0!important;background:var(--theme-background,#f5f7fb)!important;background-image:none!important;opacity:1!important;backdrop-filter:none!important;isolation:isolate;box-shadow:none!important}
 html body #adminView #checkoutPanel .checkout-layout>.checkout-payment>.form-actions:before{content:'';position:absolute;inset:0 0 calc(-84px - env(safe-area-inset-bottom) - var(--checkout-keyboard-inset,0px));z-index:-1;background:var(--theme-background,#f5f7fb);pointer-events:none}
}
@media screen and (max-width:700px){
 html body #checkoutPanel .checkout-cart-dialog .checkout-table tr.checkout-empty-row{display:block!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:120px!important;padding:22px 18px!important;box-sizing:border-box;box-shadow:none!important}
 html body #checkoutPanel .checkout-cart-dialog .checkout-table tr.checkout-empty-row>td{display:block!important;grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;border:0!important;text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;font:400 13px/1.7 var(--theme-font-family,system-ui)!important}
 html body #checkoutPanel .checkout-cart-dialog .checkout-empty-row>td:before{display:none!important;content:none!important}
 html body #checkoutPanel .checkout-cart-dialog:has(.checkout-empty-row) .table-wrap{min-height:0!important}
}
/* Dining actions occupy their own rows, never the narrow fullscreen column. */
@media screen and (max-width:700px){
 html body #adminView #checkoutPanel .checkout-navigation-bar>.checkout-dining-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important;grid-auto-rows:auto!important;align-content:start!important;gap:10px!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar .checkout-sales-mode-buttons{grid-column:1/3!important;grid-row:1!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar .checkout-fullscreen-button{grid-column:3!important;grid-row:1!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>#checkoutTableToggle{grid-column:1!important;grid-row:2!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>#manageDiningTables{grid-column:2/4!important;grid-row:2!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>#openDiningOrders{grid-column:1/-1!important;grid-row:3!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>:is(#checkoutTableToggle,#manageDiningTables,#openDiningOrders){width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;margin:0!important;box-sizing:border-box;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;font:500 12px/1.4 var(--theme-font-family,system-ui)!important;border-radius:13px!important}
 html body #adminView #checkoutPanel .checkout-dining-toolbar>button[hidden]{display:none!important}
 html body #adminView #checkoutPanel #diningOccupiedCount{display:inline-grid;place-items:center;flex:0 0 auto;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:var(--theme-button);color:var(--theme-button-text,#fff);font-size:11px;line-height:1}
 html body #adminView #checkoutPanel .checkout-payment>.form-actions:has(#saveDiningOrder:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body #adminView #checkoutPanel .checkout-payment>.form-actions:has(#saveDiningOrder:not([hidden]))>#completeCheckout{grid-column:1/-1!important}
 html body #adminView #checkoutPanel .checkout-payment>.form-actions>button{min-width:0!important;white-space:normal!important;line-height:1.4!important}
}
@media screen and (max-width:700px){
 html body #adminView #checkoutPanel{padding-top:16px!important}
 html body #adminView #checkoutPanel>.checkout-navigation-bar{padding-top:0!important;margin-top:0!important}
}
