/* Elevate R37 UI32 — Order Console Mobile Workspace R1 */
.dashboard-page .order-console-panel{border-radius:12px!important;overflow:hidden!important}
.dashboard-page .order-console-head{min-height:48px!important}
.dashboard-page .order-console-collapse{min-width:40px!important;min-height:40px!important;border-radius:8px!important}
.dashboard-page .order-console-subbar{gap:8px!important}
.dashboard-page .order-console-summary{font-size:11px!important;line-height:1.4!important}
.dashboard-page .order-console-baskets{scrollbar-width:thin!important}
.dashboard-page .order-console-toggle:focus-visible,.dashboard-page .order-console-collapse:focus-visible{outline:2px solid #fff!important;outline-offset:2px!important}
@media(max-width:600px){
 .dashboard-page .order-console-backdrop{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
 .dashboard-page .order-console-panel{
   width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
   border-radius:0!important;border-left:0!important;border-right:0!important
 }
 .dashboard-page .order-console-head{padding:env(safe-area-inset-top,0px) 10px 0!important;min-height:calc(50px + env(safe-area-inset-top,0px))!important}
 .dashboard-page .order-console-collapse{width:44px!important;height:44px!important;flex:0 0 44px!important}
 .dashboard-page .order-console-subbar{padding:6px 8px 8px!important}
 .dashboard-page .order-console-history-btn{width:100%!important;min-height:42px!important}
 .dashboard-page .order-console-baskets{padding:8px 8px calc(12px + env(safe-area-inset-bottom,0px))!important}
 .dashboard-page .order-console-float{right:8px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
 .dashboard-page .order-console-toggle{min-width:48px!important;height:48px!important}
}

/* REORG47 · modal-owned scrolling: wheel/touch stay inside Order Console. */
body.order-console-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
.dashboard-page .order-console-backdrop{overscroll-behavior:contain!important}
.dashboard-page .order-console-panel{min-height:0!important;max-height:min(84vh,720px)!important}
.dashboard-page .order-console-baskets{
  flex:1 1 0!important;min-height:0!important;max-height:100%!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;scrollbar-gutter:stable!important;
}
@media(max-width:600px){
 .dashboard-page .order-console-panel{max-height:100dvh!important}
}
