/* Revenue module-wide layout guardrails. Component-specific visual rules stay local. */
:is(.rm-page,.channel-performance,.otb-management,.pricing-strategy,.variance-report,
    .forecast-container,.analytics-dashboard,.actuals-page,.adjustment-management-container,
    .inventory-management-container,.import-page,.abfl-shell,.rbe,.rer,.rhdr,.rh,.rmx,
    .mhs-shell,.rmsr,.rmr-shell,.rpfr,.rrc-page,.rsc-shell,.revenue-wizard-container,
    .rolling-forecast-wizard,.whatif-page,.zero-config-container) {
    width: 100%;
    max-width: none !important;
    margin-inline: 0 !important;
    box-sizing: border-box;
}

:is(.rm-page,.channel-performance,.otb-management,.pricing-strategy,.variance-report,
    .forecast-container,.analytics-dashboard,.actuals-page,.adjustment-management-container,
    .inventory-management-container,.import-page) :is(.e-grid,.e-treegrid,.table-responsive) {
    max-width: 100%;
}

@media (max-width: 900px) {
    :is(.rm-page,.channel-performance,.otb-management,.pricing-strategy,.variance-report,
        .forecast-container,.analytics-dashboard,.actuals-page,.adjustment-management-container,
        .inventory-management-container,.import-page,.whatif-page) {
        padding-inline: 10px !important;
    }

    :is(.page-header,.page-header-modern,.dashboard-header,.header-controls,.filter-row) {
        min-width: 0;
    }
}
