<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">@media print {
    /* --- Hide MudBlazor Layout Components --- */
    /* Assumed class for the main AppBar at the top */
    .mud-appbar {
        display: none !important;
    }
    /* Assumed class for the side navigation drawer */
    .mud-drawer {
        display: none !important;
    }

    /* Hide the print button itself */
    .print-hide {
        display: none !important;
    }

    /* --- General Print Optimizations (from previous answer) --- */
    body {
        margin: 0;
        padding: 0;
    }

    /* Ensure backgrounds and colors are printed */
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    

    /* Optional: Add page breaks */
    .mud-paper {
        page-break-inside: avoid; /* Avoid breaking MudPaper across pages if possible */
    }
    /* If you have sections that should always start on a new page */
    /* .my-section-class { page-break-before: always; } */
}


@media not-in-use {
    /* Improve MudGrid and Flexbox for print */
    .mud-grid, .d-flex {
        display: block !important; /* Force block layout for better print flow */
        width: 100% !important; /* Ensure they take full width */
        flex-direction: initial !important; /* Reset flex direction */
        justify-content: initial !important; /* Reset justify */
        align-items: initial !important; /* Reset align */
    }

    .mud-grid-item {
        width: 100% !important; /* Make grid items full width in print */
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important; /* Ensure no max-width constraints */
    }

    /* Remove shadows and add borders for definition */
    .mud-card, .mud-paper {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    /* Ensure text colors are visible on print (e.g., if theme uses light text on dark bg) */
    .mud-text, .mud-text-primary, .mud-text-secondary {
        color: #000 !important;
    }

    /* Specific adjustments for elements that might get cut off or look bad */
    .mud-chart {
        width: 100% !important; /* Ensure charts take full width */
        height: auto !important; /* Auto height to prevent cutting off labels */
        /* If charts still look bad, consider rendering them as images via JS before print */
    }

    /* Adjust font sizes if the print output is too large/small */
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.1em !important;
    }

    p, span, div {
        font-size: 0.9em !important;
    }
}</pre></body></html>