/*
 * Funding Commitment module — keep page scroll on .app-main-scroll / window sync.
 * overflow-x:hidden on html breaks position:sticky; clip does not.
 */
html:has(.fc-page),
html:has(.fc-detail),
html:has(.fc-review-page),
html:has(.fcr-page),
html:has(.fc-wizard-chrome) {
    overflow-x: clip !important;
}

body.fixed-sn:has(.fc-page),
body.fixed-sn:has(.fc-detail),
body.fixed-sn:has(.fc-review-page),
body.fixed-sn:has(.fcr-page),
body.fixed-sn:has(.fc-wizard-chrome),
body.fixed-sn:has(.fc-page) .page,
body.fixed-sn:has(.fc-detail) .page,
body.fixed-sn:has(.fc-review-page) .page,
body.fixed-sn:has(.fcr-page) .page,
body.fixed-sn:has(.fc-wizard-chrome) .page {
    overflow-x: clip !important;
}

/* Do not trap vertical scroll in list / tab panels (global k-listview rules). */
body.fixed-sn main .fc-page ::deep .k-listview,
body.fixed-sn main .fc-page ::deep .k-listview-content {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

body.fixed-sn main .fc-detail ::deep .k-tabstrip,
body.fixed-sn main .fc-detail ::deep .k-tabstrip-content,
body.fixed-sn main .fc-detail ::deep .k-tabstrip > .k-content,
body.fixed-sn main .fc-detail ::deep .k-tabstrip .k-content {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

body.fixed-sn main .fc-detail ::deep .k-tabstrip-items-wrapper {
    overflow: visible !important;
}

body.fixed-sn main .fc-review-page,
body.fixed-sn main .fc-review-host,
body.fixed-sn main .fcr-page {
    overflow: visible !important;
    min-height: 0;
}
