/* ===== Global Print Styles ===== */
@media print {
    @page {
        size: landscape;
        margin: 1cm;
    }

    /* Hide navigation, header chrome, and interactive controls */
    .header, nav.nav, .nav-dropdown,
    .no-print {
        display: none !important;
    }

    /* Let content fill the page */
    body, .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .content {
        padding: 0 !important;
    }

    /* Remove scroll constraints from any scrollable containers */
    [style*="overflow"], .table-container {
        overflow: visible !important;
        max-height: none !important;
        box-shadow: none !important;
    }

    /* Tables: flow naturally, no min-width forcing horizontal scroll */
    table {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Remove sticky positioning (breaks across printed pages) */
    th, thead {
        position: static !important;
    }

    /* Preserve background colors in print */
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Avoid breaking rows across pages */
    tr {
        page-break-inside: avoid;
    }
}
