/* ADDPOS 1.0.124 — Account status: fixed header and independently scrolling body.
   Legacy Android 9-compatible vh fallback, loaded last to override generic modal CSS. */
#accountStatusModal.active { touch-action:pan-y !important; overscroll-behavior:contain; }
#accountStatusModal .account-modal-v2 {
  display:-webkit-flex!important;display:flex!important;
  -webkit-flex-direction:column!important;flex-direction:column!important;
  width:min(100%,600px)!important;
  height:auto!important;
  max-height:92vh!important;
  max-height:min(92vh,780px)!important;
  max-height:min(calc(var(--app-vvh,100vh) - 20px),780px)!important;
  min-height:0!important;
  overflow:hidden!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:auto!important;
}
#accountStatusModal .account-profile-header {
  position:relative!important;
  top:auto!important;
  z-index:6!important;
  flex:0 0 auto!important;
  -webkit-flex:0 0 auto!important;
  margin-bottom:10px!important;
}
#accountStatusModal .account-scroll-body {
  min-height:0!important;
  -webkit-flex:1 1 auto!important;flex:1 1 auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain;
  touch-action:pan-y!important;
  padding:1px 2px 10px!important;
  position:relative;
}
#accountStatusModal .account-close-btn {
  flex:0 0 40px!important;
  min-width:40px!important;
  max-width:40px!important;
  min-height:40px!important;
  max-height:40px!important;
}
@media(max-width:560px){
  #accountStatusModal .account-modal-v2 {
    max-height:calc(100vh - 16px)!important;
    max-height:calc(var(--app-vvh,100vh) - 16px)!important;
    height:auto!important;
  }
}
