/* Split out of style.css — enqueued only where it is needed.
   Edit here, not in style.css. */

/* ═══════════════════════════════════════════════════════════════════
   PRINT MEDIA STYLESHEET (OFFICIAL PDF AUDIT & PROPOSAL ENGINE)
   ═══════════════════════════════════════════════════════════════════ */
@media print {
    /* Reset background and text for pristine high-res ink printing */
    body, html, main, section, .tpc-hub-box, .tpc-scanner-box, .tpc-calc-box {
        background: #ffffff !important;
        color: #0f172a !important;
        box-shadow: none !important;
        border-color: #cbd5e1 !important;
    }

    /* Hide non-printable floating elements */
    #site-header, .site-footer, #tpc-mobile-bottom-bar, #tpc-chat-widget, #tpc-chat-fab,
    .whatsapp-float, #tpc-social-proof-toast, #tpc-exit-intent-modal, .announce-bar,
    .btn, button, .tpc-hub-tabs, #tpc-scroll-progress, .bg-noise, .hero-orb, .bg-grid {
        display: none !important;
    }

    /* Brand Header for PDF Documents */
    body::before {
        content: "TECH PRO CODE — OFFICIAL ARCHITECTURE & AUDIT REPORT";
        display: block;
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 16pt;
        color: #1e3a8a;
        border-bottom: 2px solid #2563eb;
        padding-bottom: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    body::after {
        content: "Tech Pro Code © 2026 | Certified Solutions Architect | Riyadh, Saudi Arabia & Cairo, Egypt | https://techprocode.com";
        display: block;
        font-family: Arial, sans-serif;
        font-size: 9pt;
        color: #64748b;
        border-top: 1px solid #e2e8f0;
        padding-top: 10px;
        margin-top: 30px;
        text-align: center;
    }

    .tpc-rfp-doc-preview, .tpc-audit-checklist, .tpc-calc-result {
        background: #f8fafc !important;
        color: #0f172a !important;
        border: 1px solid #cbd5e1 !important;
        page-break-inside: avoid;
    }
}


