/* The browser's own print dialog (Ctrl+P, or the fallback when pages cannot
   be drawn) prints the pages of the current view and nothing else. The paper
   size comes from the @page rule the view sets. */

@media print {
    body {
        background: none;
    }

    .masthead,
    .toolbar,
    .catalog-browser,
    [data-screen-only] {
        display: none !important;
    }

    .view {
        max-width: none;
        padding: 0;
    }

    .page-stage {
        display: block;
        height: auto !important;
        margin: 0;
        overflow: visible;
    }

    .sheet-pages,
    .card-sheets {
        display: block;
        transform: none !important;
    }

    .sheet-page,
    .card-sheet {
        box-shadow: none;
        break-after: page;
    }

    .sheet-page:last-child,
    .card-sheet:last-child {
        break-after: auto;
    }
}
