/* Scroll within the dialog recognized by the existing modal guard. */
#atmOverlay.atm-overlay{
 box-sizing:border-box!important;
 height:100vh!important;height:100dvh!important;
 padding:16px!important;
 overflow:hidden!important;
 align-items:flex-start!important;
 overscroll-behavior:none;
}
#atmOverlay #atmModal.atm-modal{
 box-sizing:border-box!important;
 min-height:0!important;
 max-height:calc(100vh - 32px)!important;
 max-height:calc(100dvh - 32px)!important;
 overflow-x:hidden!important;
 overflow-y:auto!important;
 overscroll-behavior:contain;
 -webkit-overflow-scrolling:touch;
 touch-action:pan-y pinch-zoom;
 scrollbar-width:none!important;
 -ms-overflow-style:none!important;
 flex-shrink:0;
}
#atmOverlay::-webkit-scrollbar,
#atmOverlay #atmModal::-webkit-scrollbar{
 display:none!important;width:0!important;height:0!important;
}
@media(max-width:600px){
 #atmOverlay.atm-overlay{padding:10px!important}
 #atmOverlay #atmModal.atm-modal{
  max-height:calc(100vh - 20px)!important;
  max-height:calc(100dvh - 20px)!important;
 }
}
