.fi-modal-close-overlay { z-index: 1000 !important; }
.fi-modal-window-ctn {
    z-index: 1001 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.fi-no { z-index: 1100 !important; }

body:has(.fi-modal.fi-modal-open) { overflow: hidden; }

.fi-modal-slide-over-window {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
}

@media (max-width: 640px) {
    .fi-modal-window { max-width: 100vw; }
}
