/* Contain standard Academics drawers; custom finance, funding and service overlays own their sizing. */
@media (max-width:768px){
  body.acad-lock-scroll.ed-phone-contained{touch-action:pan-y!important}
  .acad-drawer[data-ed-phone-drawer]{
    top:var(--ed-phone-drawer-top,0px)!important;bottom:auto!important;
    height:var(--ed-phone-drawer-height,100dvh)!important;
    max-height:var(--ed-phone-drawer-height,100dvh)!important;
    display:none;flex-direction:column;overflow:hidden!important;overscroll-behavior:contain;
  }
  .acad-drawer[data-ed-phone-drawer].show{display:flex!important}
  .acad-drawer[data-ed-phone-drawer]>.acad-drawerTop,
  .acad-drawer[data-ed-phone-drawer]>.acad-drawerSub,
  .acad-drawer[data-ed-phone-drawer]>.acad-hr{flex:0 0 auto!important}
  .acad-drawer[data-ed-phone-drawer] .acad-drawerForm{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
  .acad-drawer[data-ed-phone-drawer] .acad-drawerBody{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:none!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;scroll-padding:14px;padding-bottom:18px!important}
  .acad-drawer[data-ed-phone-drawer] .acad-drawerActions{position:static!important;flex:0 0 auto!important;margin:0!important;padding:10px 16px max(10px,env(safe-area-inset-bottom,0px))!important}
  .acad-drawer[data-ed-phone-drawer].ed-phone-keyboard .acad-drawerSub{display:none}
  .acad-drawer[data-ed-phone-drawer].ed-phone-keyboard .acad-drawerActions .academics-btn{min-height:44px!important}
  #academicsSidebar{top:var(--ed-menu-top,var(--acad-topbar-h))!important;height:var(--ed-menu-height,calc(100dvh - var(--acad-topbar-h)))!important;max-height:var(--ed-menu-height,calc(100dvh - var(--acad-topbar-h)))!important;overflow:hidden!important;display:flex;flex-direction:column}
  #academicsSidebar>.academics-sidebar__inner{flex:1 1 0;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:16px!important}
}
