@layer modernApproved {
/* Keep reports inside the visible desktop; never clip the scroll owner. */
body.zace-modern #content#content.vx-scroll-page{height:var(--vx-report-height,calc(100dvh - 186px))!important;min-height:0!important;max-height:var(--vx-report-height,calc(100dvh - 186px))!important;display:flex!important;flex-direction:column!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;box-sizing:border-box!important}
body.zace-modern #content#content.vx-scroll-page>.page-head{flex:0 0 auto!important;margin-bottom:8px!important}
body.zace-modern #content#content.vx-scroll-page>.vp-workspace{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
body.zace-modern #content#content.vx-scroll-page>.vp-workspace>.vp-main{min-height:0!important;overflow:auto!important;overscroll-behavior:contain;scroll-padding-bottom:12px}
body.zace-modern #content#content.vx-scroll-page>.vp-workspace>.vp-sidebar{min-height:0!important;overflow:auto!important}
body.zace-modern #content#content.vx-scroll-page>.cw-page{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:auto!important}
body.zace-modern #content#content.vx-scroll-page>.vp-tree-count{position:static!important;flex:0 0 auto!important;height:auto!important;min-height:18px!important}
body.zace-modern #content#content.vx-scroll-page .cw-statement-table{min-height:0!important;overscroll-behavior:contain}
body.zace-modern #content#content.vx-scroll-page .cw-report{min-height:0!important;overflow:auto!important}
body.zace-modern #content#content.vx-scroll-page>.vx-report-scroll-tools{flex:0 0 auto!important;position:sticky!important;bottom:0!important;display:flex!important;gap:6px!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;z-index:12!important;background:#f3f6f8!important;border-top:1px solid #d3dfe6!important;padding:5px!important;min-height:36px!important;margin-top:3px!important;box-sizing:border-box!important}
body.zace-modern .vx-report-scroll-tools button{min-height:28px!important;padding:3px 12px!important}
body.zace-modern .vx-report-scroll-tools button:focus-visible{outline:2px solid #247ac0!important;outline-offset:1px}
/* Material browsing uses the available report pane, not a short half-height
   table. Filters keep their approved side panel and column order. */
@media screen{
body.zace-modern #content#content:has(#itemReportFilter) .vp-main{display:flex!important;flex-direction:column!important}
body.zace-modern #content#content:has(#itemReportFilter) #reportResults{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important}
body.zace-modern #content#content:has(#itemReportFilter) #reportResults>.table-wrap{flex:1 1 0!important;min-height:120px!important;max-height:none!important;overflow:auto!important}
}
/* Preserve the previous ID specificity without a document-wide :has(). */
body.zace-modern.vx-report-scroll-active:not(.wu-modal-open):not(#modalBackdrop)>.wu-report-navigation{display:none!important}
@media print{body.zace-modern #content#content.vx-scroll-page,body.zace-modern #content#content.vx-scroll-page>.vp-workspace,body.zace-modern #content#content.vx-scroll-page>.vp-workspace>.vp-main{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}body.zace-modern #content#content.vx-scroll-page>.vx-report-scroll-tools{display:none!important}}
}

