/* Report print layout — accounting, inventory, CRM (Blazor parity) */
@media print {
    body.report-print-mode .page-header,
    body.report-print-mode .report-page-header,
    body.report-print-mode .sidebar,
    body.report-print-mode .header,
    body.report-print-mode #sidebar,
    body.report-print-mode .navbar,
    body.report-print-mode .invoice-toolbar,
    body.report-print-mode .sidebar-contact,
    body.report-print-mode .sidebar-themesettings,
    body.report-print-mode .sidebar-themeoverlay,
    body.report-print-mode .modal,
    body.report-print-mode .toast,
    body.report-print-mode .offcanvas {
        display: none !important;
    }

    body.report-print-mode .page-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        margin-left: 0 !important;
        padding-top: 0 !important;
    }

    body.report-print-mode .card {
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }

    body.report-print-mode .table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 11px !important;
    }

    body.report-print-mode .table th,
    body.report-print-mode .table td {
        padding: 4px 6px !important;
        vertical-align: top !important;
    }

    body.report-print-mode .table-bordered th,
    body.report-print-mode .table-bordered td,
    body.report-print-mode .table th,
    body.report-print-mode .table td {
        border: 1px solid #333 !important;
    }

    body.report-print-mode .table-light th,
    body.report-print-mode thead.table-light th {
        background-color: #f1f3f5 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.report-print-mode .text-end {
        text-align: right !important;
    }

    body.report-print-mode .badge {
        border: 1px solid #ccc !important;
        color: #212529 !important;
        background: #f8f9fa !important;
    }

    body.report-print-mode .status-adequate,
    body.report-print-mode tr.status-adequate td {
        background-color: #d4edda !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.report-print-mode .status-low,
    body.report-print-mode tr.status-low td {
        background-color: #fff3cd !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.report-print-mode .status-out,
    body.report-print-mode tr.status-out td {
        background-color: #f8d7da !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.report-print-mode .status-over,
    body.report-print-mode tr.status-over td {
        background-color: #cce5ff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.report-print-mode .tally-bs-container,
    body.report-print-mode .tally-container {
        page-break-inside: avoid;
    }

    body.report-print-mode a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
