/* FARMS MOBILE-03R1: management viewport positioning on phones.
   LIVE-ACCESS-04M returns overlays to document flow.  Management is
   appended AFTER #root, which makes it appear below the active React page
   while html/body are locked by live04b-management.css:has(overlay).
   Keep the existing management overlay fixed, and make overlay own scrolling.
   Does not modify Access overlay, route handlers, auth or desktop layout. */
@media screen and (max-width:760px){
  #farms-management-overlay {
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
    max-height:100dvh !important;
    min-height:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
}
