/* MyStationHub Ver027 — iPhone drawer independent scrolling.
   Keep the dashboard stationary when a mobile navigation drawer is open.
   Works with the Ver022/023/026 sidebar; never disables pinch zoom.
*/
@media (max-width: 860px) {
  html.msh-nav-scroll-locked,
  body.msh-nav-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior-y: none;
  }

  body.msh-nav-scroll-locked {
    position: fixed !important;
    width: 100% !important;
    max-width: 100%;
  }

  .app > #mshAdminSidebar.side,
  .msh-dashboard-page #mshCustomerSidebar.msh-customer-side {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .app > #mshAdminNavBackdrop:not([hidden]),
  .msh-dashboard-page #mshCustomerNavBackdrop:not([hidden]) {
    touch-action: none;
    overscroll-behavior: none;
  }
}
