/* Customer Portal print reset (2026-11-17).

   On screen the app shell scrolls inside a fixed-height container (app.css: body { overflow: hidden !important },
   the Radzen layout grid, .rz-body as the scroll box). Printed, that clipped everything below the first screen: a
   printed order or invoice stopped at its "Ship To" / "Bill To" and never reached the export-control statement in
   its rail (compliance: the statement prints wherever it is shown; legacy PrintInvoice.aspx carried it).

   Print only, and only un-clipping: the shell flows at its natural height so a long page continues onto further
   sheets. Nothing here changes the screen. CP-owned (not the shared Universal.WebAssets submodule, which Admin also
   loads). Linked from App.razor with media="print". */

@media print {
    html,
    body {
        height: auto !important;
        overflow: visible !important;
    }

    .layout-container,
    .layout-content,
    .simple-layout,
    .rz-layout,
    .rz-body,
    #main-content {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* The shell is a CSS grid / flex box sized to the viewport; on paper it is a plain flow. */
    .rz-layout,
    .rz-body {
        display: block !important;
    }

    /* Flowed as a block, the navigation menu would print above the record whenever the sheet is wider than the
       1024px breakpoint that otherwise moves it off-canvas (A4 landscape, small print scale). Paper has no menu. */
    .rz-sidebar {
        display: none !important;
    }
}
