@media print {
    .sidebar, .top-navbar, .sidebar-overlay,
    .no-print, .btn, .navbar-actions { display: none !important; }

    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    body { background: #fff; color: #000; font-size: 12pt; }

    .invoice-preview {
        border: none;
        box-shadow: none;
        max-width: 100%;
    }

    .invoice-header {
        background: #1e3a5f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .card {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .report-row.grand-total {
        background: #1e3a5f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    a { text-decoration: none; color: inherit; }

    h1 { font-size: 18pt; }
    h2 { font-size: 14pt; }
}
