/**
 * Kinlytix — Genealogy Research & DNA Collaboration Platform
 *
 * Top-pin fixed form overlays so dialogs stay in the visible viewport
 * on tall pages / Growing iframes (not vertically centered mid-document).
 *
 * Copyright (c) 2026 Z-Factor PM, LLC. All rights reserved.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 *
 * @author     Suzanne St. John <suzanne@kinlytix.com>
 * @copyright  2026 Z-Factor PM, LLC
 * @license    Proprietary — All Rights Reserved
 */

.modal-overlay.active,
.kkb-modal.kkb-modal-open,
.kin-treasury-modal-overlay.is-open,
.kin-stakeholder-modal-overlay.is-open,
.federation-add-list-modal,
.federation-settings-modal,
.federation-tree-link-modal,
.kinny-lists-modal,
.kinny-kr-modal-backdrop,
.kb-feedback-modal-backdrop.is-open,
.newsfeed-compose-modal.active,
.ptree-dna-modal,
.kin-dna-pathways__modal,
.zcorner-meeting-overlay[aria-hidden="false"],
.kn-modal-backdrop,
#taskImportModal,
#ftdnaRevealModal.modal-overlay {
    align-items: flex-start;
    justify-content: center;
    padding-top: max(24px, min(10vh, 80px));
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
