/* Tiny delivery legend, always next to the delivery jump buttons. */
.delivery-board-toolbar{position:sticky;top:0;z-index:7;display:flex;align-items:center;gap:8px;background:var(--surface,#fff)}
.delivery-board-toolbar .delivery-board-jumps{flex:1;min-width:0}
.fulfillment-legend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:3px 5px;color:#718187;font-size:8px;line-height:1;white-space:nowrap}
.fulfillment-legend span{display:inline-flex;align-items:center;gap:3px}.fulfillment-legend i{width:6px;height:6px;border-radius:2px;background:#2b7eb5}.fulfillment-legend .is-pickup{background:#d78320}.fulfillment-legend .is-counter{background:#198358}@media(max-width:680px){.delivery-board-toolbar{align-items:flex-start;flex-direction:column;gap:1px}.fulfillment-legend{padding:0 6px 5px;font-size:7px}}

/* The edit page uses its width for work; preview is only opened when requested. */
#menuView .menu-manager-layout{grid-template-columns:minmax(0,1fr)!important}
#menuView .menu-manager-aside{display:none!important}
#menuView .real-menu-preview{display:none!important}
#menuView{--menu-readable-text:13px}
#menuView .menu-manager-layout,#menuView .menu-manager-main,#menuView .product-editor,#menuView .category-builder,#menuView .ingredient-builder,#menuView .allergen-builder{width:100%!important;max-width:none!important}
#menuView .product-editor :is(label,small,p),#menuView .category-builder :is(label,small,p),#menuView .ingredient-builder :is(label,small,p){font-size:var(--menu-readable-text)!important;line-height:1.4}
#menuView .product-editor :is(input,select,textarea),#menuView .category-builder input,#menuView .ingredient-builder input{font-size:14px!important}
#menuView .product-category-quick{display:block!important;max-width:100%!important}#menuView .product-category-quick label{display:grid!important;gap:5px;width:100%!important;min-width:0}#menuView .product-category-quick select{display:block!important;width:100%!important;min-width:0!important}
#menuView .bulk-pay-banner,#menuView .minimum-order-settings,#menuView .delivery-fee-settings{margin:9px 0;padding:11px 13px;border-radius:12px}
#menuView .bulk-pay-banner h2,#menuView .minimum-order-settings h2,#menuView .delivery-fee-settings h2{font-size:16px}
#menuView .bulk-pay-banner p,#menuView .minimum-order-settings p,#menuView .delivery-fee-settings p{font-size:11px}
#menuView .bulk-pay-banner button,#menuView .minimum-order-settings button,#menuView .delivery-fee-settings button{min-height:34px;padding:6px 9px;font-size:10px}
#menuView .product-editor{padding:17px!important;gap:11px!important}
#menuView .product-editor :is(label,small,p){font-size:13px!important;line-height:1.4!important}
#menuView .product-editor :is(input,select,textarea){min-height:40px;padding:8px 10px;font-size:14px!important}
#menuView .product-editor textarea{min-height:52px}
#menuView .product-editor .ingredient-choices{max-height:none!important;height:auto!important;overflow:visible!important}
#menuView .product-editor .ingredient-choices label{padding:7px 9px;font-size:13px!important}
#menuView .product-editor button,#menuView .saved-product-actions button{font-size:12px!important}
#menuView .menu-editor-tabs button{font-size:13px!important;padding:9px 13px!important}
#menuView .saved-category-group h3{font-size:15px!important}
#menuView .saved-product-row strong{font-size:14px!important}
#menuView .saved-product-row small{font-size:12px!important}
body.shop-authenticated .sidebar .nav-item.is-active{background:color-mix(in srgb,var(--sidebar-text,#fff) 9%,transparent)!important;color:var(--sidebar-text,#fff)!important;box-shadow:inset 3px 0 0 var(--brand-custom,#bdf51d)}
.menu-preview-dialog{width:min(1100px,96vw);height:min(88dvh,860px);padding:0;border:0;border-radius:18px;background:#f5f8f7;box-shadow:0 24px 80px #10252c70}.menu-preview-dialog::backdrop{background:#081d2590;backdrop-filter:blur(3px)}.menu-preview-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:#fff;border-bottom:1px solid #dce7e4}.menu-preview-dialog-head small{color:#16805a;font-size:9px;font-weight:950;letter-spacing:.1em}.menu-preview-dialog-head h2{margin:3px 0 0;font-size:18px}.menu-preview-dialog-head button{width:32px;height:32px;border:1px solid #d5e2de;border-radius:9px;background:#f4f8f6;color:#234e42;font-size:21px}.menu-preview-dialog .real-menu-preview{display:block!important;margin:0;padding:12px;border:0;border-radius:0;box-shadow:none}.menu-preview-dialog .real-menu-preview .panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.menu-preview-dialog .real-menu-preview .panel-header p{display:none}.menu-preview-dialog .real-menu-preview .panel-kicker{font-size:9px}.menu-preview-dialog .real-menu-preview h2{font-size:15px}.menu-preview-dialog .real-menu-preview iframe{height:calc(min(88dvh,860px) - 145px);min-height:420px}@media(max-width:650px){.menu-preview-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.menu-preview-dialog .real-menu-preview{padding:8px}.menu-preview-dialog .real-menu-preview iframe{height:calc(100dvh - 132px);min-height:0}.menu-preview-dialog .preview-browser-bar{margin-top:8px}}

/* Coupon search stays small and immediate. */
#customersView .coupon-quick-panel{align-items:center}#customersView .coupon-quick-panel>div{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(200px,1fr);align-items:center;gap:6px 9px}#customersView .coupon-quick-panel h2,#customersView .coupon-quick-panel p{grid-column:1/-1;margin:0}#customersView #couponCustomerSearch,#customersView #couponCustomerPicker{box-sizing:border-box;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #bfd3ca;border-radius:8px;background:#fff;font:inherit;font-size:12px}@media(max-width:650px){#customersView .coupon-quick-panel>div{grid-template-columns:1fr}#customersView .coupon-quick-panel .button{width:100%}}
