:root{--app-mobile-modal-gap: 1rem;--app-visual-viewport-height: 100dvh}.fi-modal>.fi-modal-window-ctn{min-height:var(--app-visual-viewport-height)}.fi-modal.fi-modal-slide-over>.fi-modal-window-ctn>.fi-modal-window,.fi-modal.fi-width-screen>.fi-modal-window-ctn>.fi-modal-window{height:var(--app-visual-viewport-height);max-height:var(--app-visual-viewport-height);min-height:var(--app-visual-viewport-height)}.fi-modal>.fi-modal-window-ctn>.fi-modal-window{min-height:0}.fi-modal>.fi-modal-window-ctn>.fi-modal-window .fi-modal-content,.app-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-modal-overlay{min-height:var(--app-visual-viewport-height)}.app-modal-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}@media (max-width: 640px){.fi-modal:not(.fi-modal-slide-over):not(.fi-width-screen)>.fi-modal-window-ctn{padding-top:max(var(--app-mobile-modal-gap),env(safe-area-inset-top));padding-bottom:max(var(--app-mobile-modal-gap),env(safe-area-inset-bottom))}.fi-modal:not(.fi-modal-slide-over):not(.fi-width-screen)>.fi-modal-window-ctn>.fi-modal-window,.app-modal-panel{max-height:calc(var(--app-visual-viewport-height) - (var(--app-mobile-modal-gap) * 2));overflow:hidden}.app-modal-overlay{padding-top:max(var(--app-mobile-modal-gap),env(safe-area-inset-top));padding-bottom:max(var(--app-mobile-modal-gap),env(safe-area-inset-bottom))}}
