/* RUYA_FINANCE_PLAN_VIEWPORT_V1 */

body .financePlanViewportBack{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;

  padding:24px !important;
  box-sizing:border-box !important;
  overflow:auto !important;
}

body .financePlanViewportBack > .financeV6Modal{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;

  transform:none !important;
  margin:auto !important;

  max-width:calc(100vw - 48px) !important;
  max-height:calc(100dvh - 48px) !important;

  overflow-x:hidden !important;
  overflow-y:auto !important;
}

@media(max-width:700px){
  body .financePlanViewportBack{
    padding:12px !important;
  }

  body .financePlanViewportBack > .financeV6Modal{
    max-width:calc(100vw - 24px) !important;
    max-height:calc(100dvh - 24px) !important;
  }
}
