@media print {
    /* Hide all unnecessary elements */
    body > *:not(.bizpal-container),
    .bizpal-container > *:not(#bizpal-report),
    .report-actions,
    .report-footer .disclaimer {
        display: none !important;
    }
    
    /* Reset body styles */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Report container styling */
    .bizpal-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    /* Report header styling */
    .report-header {
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 2px solid #000;
        margin-bottom: 20px;
        page-break-after: avoid;
    }
    
    .report-header h2 {
        color: #000 !important;
        font-size: 22pt !important;
        margin-bottom: 5px;
    }
    
    .report-meta {
        color: #555 !important;
        font-size: 10pt;
    }
    
    /* Content styling */
    #report-content h3 {
        color: #000 !important;
        border-left: none !important;
        padding-left: 0 !important;
        font-size: 14pt;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
        margin-top: 20px;
        page-break-after: avoid;
    }
    
    #report-content ul {
        padding-left: 15px;
    }
    
    #report-content li {
        margin-bottom: 8px;
    }
    
    /* Footer styling */
    .failure-prevention {
        border-left: none !important;
        background: transparent !important;
        margin-top: 30px;
        padding-top: 10px;
        border-top: 1px solid #000;
        page-break-before: avoid;
    }
    
    .failure-prevention h3 {
        color: #000 !important;
        font-size: 12pt;
    }
    
    /* Prevent page breaks in important sections */
    h2, h3, .failure-prevention {
        page-break-inside: avoid;
    }
    
    /* Hide URLs */
    a[href]:after {
        content: "" !important;
    }
}
