/* Phone-only order sheet; tablet and desktop retain the existing open basket. */
.staff-order-dock,.basket-desktop-slot{display:none}
.order-menu.staff-mode dialog.mobile-order-sheet{box-sizing:border-box;padding:0;border:0;width:100%;max-width:none;max-height:90dvh;inset:auto 0 0;margin:0;border-radius:24px 24px 0 0;overflow:auto;overscroll-behavior:contain;background:#f2f2f7;color:#17263c}
.mobile-order-sheet::backdrop{background:#17263c55}
.mobile-order-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:3;padding:16px;background:#f2f2f7;border-bottom:1px solid #e0e3ea}
.mobile-order-heading button{padding:10px 13px;border:0;border-radius:20px;background:#e5e9f2;color:#17263c;font-size:13px;font-weight:650;min-height:44px}
.order-menu.staff-mode .mobile-order-sheet .basket{display:block;position:static;width:100%;height:auto;max-height:none;overflow:visible;border:0;border-radius:0;padding:16px 14px max(24px,env(safe-area-inset-bottom));margin:0;background:#fff}
@media(max-width:619px){
 .order-menu.staff-mode.has-mobile-order main{padding-bottom:100px}
 .order-menu.staff-mode.has-mobile-order .workspace{grid-template-columns:minmax(0,1fr)}
 .order-menu.staff-mode.has-mobile-order .staff-order-dock:not([hidden]){display:flex;position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:8;align-items:center;gap:12px;min-height:54px;padding:14px 16px;border:0;border-radius:18px;background:#17263c;color:white;box-shadow:0 6px 24px #17263c38;font-size:15px}
 .staff-order-dock strong{margin-left:auto}.staff-order-dock b{padding:3px 8px;margin-left:5px;border-radius:20px;background:#ffffff22}
 .order-menu.staff-mode .mobile-order-sheet .basket-grid-head{display:none}
 .order-menu.staff-mode .mobile-order-sheet .basket-grid-row{grid-template-columns:50px minmax(55px,1fr) 66px 28px;gap:7px;padding:13px 0}
 .mobile-order-sheet .basket-description{grid-column:1/4;grid-row:1;min-width:0}
 .mobile-order-sheet .basket-grid-row>[data-delete]{grid-column:4;grid-row:1/3;align-self:start}
 .mobile-order-sheet .basket-description textarea{min-height:40px;resize:none}
 .mobile-order-sheet input,.mobile-order-sheet textarea,.mobile-order-sheet select{font-size:16px!important}
 .mobile-order-sheet .basket-description small{white-space:normal}
 .order-menu.staff-mode .mobile-order-sheet #basket-lines{max-height:none;overflow:visible}
 .order-menu.staff-mode .mobile-order-sheet #review{width:100%;min-height:50px}
}
