/* AgencyOS - B2B Minimalist Styling, Blur Teaser, Multi-Theme System & A4 Layout */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #090d16;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Document Paper Styling & Realistic Shadow */
#documentWrapper, #proposalContainer {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ========================================================================= */
/* "TRY BEFORE SIGN-UP" BLUR HOOK STYLING                                    */
/* ========================================================================= */
.doc-blurred {
    filter: blur(8px) grayscale(20%);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

#documentBlurWrapper {
    transition: filter 0.5s ease, opacity 0.5s ease;
}

/* Base DIN A4 Aspect Ratio & Print Preview formatting */
#export-document {
    background: #ffffff;
    color: #1e293b;
    font-size: 13.5px;
    line-height: 1.65;
    transition: all 0.3s ease;
}

/* Base WYSIWYG Prose Styling */
#aiTextContent h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
}

#aiTextContent h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

#aiTextContent p {
    margin-bottom: 0.85rem;
    color: #334155;
}

#aiTextContent ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
    color: #334155;
}

#aiTextContent ul li {
    margin-bottom: 0.35rem;
}

#aiTextContent blockquote {
    border-left: 3px solid #3b82f6;
    background-color: #f8fafc;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #475569;
}

#aiTextContent table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 12.5px;
}

#aiTextContent table th {
    background: #f8fafc;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

#aiTextContent table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

/* ========================================================================= */
/* FEATURE 5: EXPANDED THEME LIBRARY (3 FREE + 15 PRO THEMES)                */
/* ========================================================================= */

/* --- 1. FREE: MODERN MINIMAL (DEFAULT / GENERAL FREELANCER) --- */
#export-document.theme-modern-minimal,
#export-document.theme-corporate,
#export-document.theme-minimalist {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}
#export-document.theme-modern-minimal #docBadgeText,
#export-document.theme-corporate #docBadgeText {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
#export-document.theme-modern-minimal #docHeading,
#export-document.theme-corporate #docHeading {
    color: #0f172a;
}
#export-document.theme-modern-minimal #docBudget,
#export-document.theme-corporate #docBudget {
    color: #1d4ed8;
}

/* --- 2. FREE: TECH STARK (DEVS & IT CONSULTING) --- */
#export-document.theme-tech-stark {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-family: 'Inter', sans-serif;
}
#export-document.theme-tech-stark #docAgency,
#export-document.theme-tech-stark #docHeading {
    color: #0f172a;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}
#export-document.theme-tech-stark #docBadgeText {
    background: #0f172a;
    color: #38bdf8;
    border: 1px solid #1e293b;
    font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
    font-size: 10px;
    border-radius: 4px;
}
#export-document.theme-tech-stark .bg-slate-50 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
}
#export-document.theme-tech-stark .bg-blue-50\/80 {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 6px !important;
}
#export-document.theme-tech-stark #docBudget {
    color: #0284c7 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
#export-document.theme-tech-stark #aiTextContent h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #0f172a;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 4px;
}
#export-document.theme-tech-stark #aiTextContent blockquote {
    border-left: 3px solid #0284c7;
    background: #f0f9ff;
    color: #0369a1;
}

/* --- 3. FREE: CREATIVE BOLD (DESIGNERS & MARKETERS) --- */
#export-document.theme-creative-bold {
    background: #fffdfa;
    color: #292524;
    border: 1px solid #fecdd3;
}
#export-document.theme-creative-bold #docAgency,
#export-document.theme-creative-bold #docHeading {
    color: #881337;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}
#export-document.theme-creative-bold #docBadgeText {
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid #fecdd3;
    border-radius: 9999px;
    padding: 3px 12px;
}
#export-document.theme-creative-bold .bg-slate-50 {
    background: #fff1f2 !important;
    border: 1px solid #ffe4e6 !important;
    border-radius: 16px !important;
}
#export-document.theme-creative-bold .bg-blue-50\/80 {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 16px !important;
}
#export-document.theme-creative-bold #docBudget {
    color: #ea580c !important;
    font-weight: 800;
}
#export-document.theme-creative-bold #aiTextContent h2 {
    color: #9f1239;
    border-bottom: 2px solid #f43f5e;
    padding-bottom: 6px;
    font-weight: 800;
}
#export-document.theme-creative-bold #aiTextContent blockquote {
    border-left: 4px solid #f43f5e;
    background: #fff1f2;
    color: #881337;
    border-radius: 0 12px 12px 0;
}

/* --- 4. PRO: EXECUTIVE CORPORATE --- */
#export-document.theme-executive-corporate {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
#export-document.theme-executive-corporate #docAgency,
#export-document.theme-executive-corporate #docHeading,
#export-document.theme-executive-corporate h1,
#export-document.theme-executive-corporate h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #0a192f;
    letter-spacing: -0.01em;
}
#export-document.theme-executive-corporate #docBadgeText {
    background: #0a192f;
    color: #f8fafc;
    border: 1px solid #1e3a8a;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 3px 10px;
    border-radius: 2px;
}
#export-document.theme-executive-corporate .bg-slate-50 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #1e3a8a !important;
}
#export-document.theme-executive-corporate .bg-blue-50\/80 {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-left: 4px solid #2563eb !important;
}
#export-document.theme-executive-corporate #docBudget {
    color: #1e3a8a !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}
#export-document.theme-executive-corporate #aiTextContent h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #0a192f;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 4px;
}

/* --- 5. PRO: STARTUP VIBRANT --- */
#export-document.theme-startup-vibrant {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e0e7ff;
    position: relative;
}
#export-document.theme-startup-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #ec4899);
    border-radius: 12px 12px 0 0;
}
#export-document.theme-startup-vibrant #docAgency,
#export-document.theme-startup-vibrant #docHeading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e1b4b;
    font-weight: 800;
}
#export-document.theme-startup-vibrant #docBadgeText {
    background: linear-gradient(135deg, #e0e7ff, #cffafe);
    color: #4338ca;
    border: 1px solid #a5b4fc;
    border-radius: 9999px;
    padding: 3px 12px;
}
#export-document.theme-startup-vibrant .bg-slate-50 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
}
#export-document.theme-startup-vibrant .bg-blue-50\/80 {
    background: linear-gradient(135deg, #f5f3ff, #ecfeff) !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 16px !important;
}
#export-document.theme-startup-vibrant #docBudget {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
#export-document.theme-startup-vibrant #aiTextContent h2 {
    color: #312e81;
    border-bottom: 2px solid #818cf8;
    padding-bottom: 4px;
}

/* --- 6. PRO: LUXURY GOLD --- */
#export-document.theme-luxury-gold {
    background: #09090b;
    color: #d4d4d8;
    border: 1px solid #27272a;
}
#export-document.theme-luxury-gold #docAgency,
#export-document.theme-luxury-gold #docHeading,
#export-document.theme-luxury-gold h1,
#export-document.theme-luxury-gold h2 {
    font-family: 'Cinzel', 'Playfair Display', serif;
    color: #fef08a;
    letter-spacing: 0.05em;
}
#export-document.theme-luxury-gold #docBadgeText {
    background: rgba(212, 175, 55, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 2px;
    letter-spacing: 0.2em;
}
#export-document.theme-luxury-gold .bg-slate-50 {
    background: #18181b !important;
    border: 1px solid #27272a !important;
    border-radius: 4px !important;
}
#export-document.theme-luxury-gold .bg-blue-50\/80 {
    background: rgba(212, 175, 55, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 4px !important;
}
#export-document.theme-luxury-gold #docClient,
#export-document.theme-luxury-gold #docDeadline {
    color: #ffffff !important;
}
#export-document.theme-luxury-gold #docBudget {
    color: #fbbf24 !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
}
#export-document.theme-luxury-gold #docCategory {
    color: #fde047 !important;
}
#export-document.theme-luxury-gold #docEmail,
#export-document.theme-luxury-gold #docDate {
    color: #a1a1aa !important;
}
#export-document.theme-luxury-gold #aiTextContent h2 {
    font-family: 'Cinzel', serif;
    color: #fde047;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}
#export-document.theme-luxury-gold #aiTextContent blockquote {
    border-left: 2px solid #d4af37;
    background: #18181b;
    color: #e4e4e7;
}
#export-document.theme-luxury-gold #aiTextContent table th {
    background: #18181b;
    color: #fef08a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- 7. PRO: ECO SUSTAINABLE --- */
#export-document.theme-eco-sustainable {
    background: #f7f9f6;
    color: #14532d;
    border: 1px solid #dcfce7;
}
#export-document.theme-eco-sustainable #docAgency,
#export-document.theme-eco-sustainable #docHeading {
    color: #14532d;
    font-weight: 800;
}
#export-document.theme-eco-sustainable #docBadgeText {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
}
#export-document.theme-eco-sustainable .bg-slate-50 {
    background: #edf5ee !important;
    border: 1px solid #d1e7d3 !important;
    border-radius: 12px !important;
}
#export-document.theme-eco-sustainable .bg-blue-50\/80 {
    background: #e2f2e5 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
}
#export-document.theme-eco-sustainable #docBudget {
    color: #15803d !important;
    font-weight: 800;
}
#export-document.theme-eco-sustainable #aiTextContent h2 {
    color: #14532d;
    border-bottom: 2px solid #22c55e;
    padding-bottom: 4px;
}
#export-document.theme-eco-sustainable #aiTextContent blockquote {
    border-left: 3px solid #22c55e;
    background: #edf5ee;
    color: #166534;
}

/* --- 8. PRO: ARCHITECTURAL GRID --- */
#export-document.theme-architectural-grid {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #0284c7;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}
#export-document.theme-architectural-grid #docAgency,
#export-document.theme-architectural-grid #docHeading {
    font-family: 'JetBrains Mono', monospace;
    color: #0f172a;
    letter-spacing: -0.03em;
}
#export-document.theme-architectural-grid #docBadgeText {
    background: #0284c7;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 0;
}
#export-document.theme-architectural-grid .bg-slate-50,
#export-document.theme-architectural-grid .bg-blue-50\/80 {
    background: #f8fafc !important;
    border: 1px solid #0284c7 !important;
    border-radius: 0 !important;
}
#export-document.theme-architectural-grid #docBudget {
    color: #0284c7 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
#export-document.theme-architectural-grid #aiTextContent h2 {
    font-family: 'JetBrains Mono', monospace;
    color: #0f172a;
    border-bottom: 1px dashed #0284c7;
}

/* --- 9. PRO: BOLD AGENCY --- */
#export-document.theme-bold-agency {
    background: #ffffff;
    color: #000000;
    border: 3px solid #000000;
}
#export-document.theme-bold-agency #docAgency,
#export-document.theme-bold-agency #docHeading {
    font-family: 'Space Grotesk', sans-serif;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}
#export-document.theme-bold-agency #docBadgeText {
    background: #facc15;
    color: #000000;
    border: 2px solid #000000;
    font-weight: 900;
    border-radius: 0;
    box-shadow: 3px 3px 0 #000000;
}
#export-document.theme-bold-agency .bg-slate-50 {
    background: #ffffff !important;
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
    box-shadow: 4px 4px 0 #000000 !important;
}
#export-document.theme-bold-agency .bg-blue-50\/80 {
    background: #facc15 !important;
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
    box-shadow: 4px 4px 0 #000000 !important;
}
#export-document.theme-bold-agency #docBudget {
    color: #000000 !important;
    font-weight: 900 !important;
}
#export-document.theme-bold-agency #aiTextContent h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 3px solid #000000;
}

/* --- 10. PRO: FINANCIAL TRUST --- */
#export-document.theme-financial-trust {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}
#export-document.theme-financial-trust #docAgency,
#export-document.theme-financial-trust #docHeading {
    color: #064e3b;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
#export-document.theme-financial-trust #docBadgeText {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 4px;
}
#export-document.theme-financial-trust .bg-slate-50 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #059669 !important;
}
#export-document.theme-financial-trust .bg-blue-50\/80 {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-top: 3px solid #047857 !important;
}
#export-document.theme-financial-trust #docBudget {
    color: #065f46 !important;
    font-weight: 800;
}
#export-document.theme-financial-trust #aiTextContent h2 {
    color: #064e3b;
    border-bottom: 2px solid #059669;
}

/* --- 11. PRO: CREATIVE DARK --- */
#export-document.theme-creative-dark,
#export-document.theme-creative {
    background: #020617;
    color: #e2e8f0;
    border: 1px solid #1e293b;
}
#export-document.theme-creative-dark #docHeading,
#export-document.theme-creative-dark #docAgency,
#export-document.theme-creative #docHeading,
#export-document.theme-creative #docAgency {
    font-family: 'Space Grotesk', sans-serif;
    color: #f8fafc;
    letter-spacing: -0.02em;
}
#export-document.theme-creative-dark #docBadgeText,
#export-document.theme-creative #docBadgeText {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
}
#export-document.theme-creative-dark .bg-slate-50,
#export-document.theme-creative .bg-slate-50 {
    background: #0f172a !important;
    border: 1px solid #1e293b !important;
}
#export-document.theme-creative-dark .bg-blue-50\/80,
#export-document.theme-creative .bg-blue-50\/80 {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
#export-document.theme-creative-dark #docClient,
#export-document.theme-creative-dark #docDeadline,
#export-document.theme-creative #docClient,
#export-document.theme-creative #docDeadline {
    color: #ffffff !important;
}
#export-document.theme-creative-dark #docBudget,
#export-document.theme-creative #docBudget {
    color: #34d399 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
#export-document.theme-creative-dark #docCategory,
#export-document.theme-creative #docCategory {
    color: #38bdf8 !important;
}
#export-document.theme-creative-dark #docDate,
#export-document.theme-creative-dark #docEmail,
#export-document.theme-creative #docDate,
#export-document.theme-creative #docEmail {
    color: #94a3b8 !important;
}
#export-document.theme-creative-dark #aiTextContent h2,
#export-document.theme-creative #aiTextContent h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #f8fafc;
    border-bottom: 1px solid #334155;
}
#export-document.theme-creative-dark #aiTextContent blockquote,
#export-document.theme-creative #aiTextContent blockquote {
    border-left: 3px solid #10b981;
    background-color: #0f172a;
    color: #cbd5e1;
}

/* --- 12. PRO: MINIMAL WARMTH --- */
#export-document.theme-minimal-warmth {
    background: #fdfbf7;
    color: #44403c;
    border: 1px solid #e7e5e4;
}
#export-document.theme-minimal-warmth #docAgency,
#export-document.theme-minimal-warmth #docHeading {
    font-family: 'Playfair Display', serif;
    color: #7c2d12;
}
#export-document.theme-minimal-warmth #docBadgeText {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
    border-radius: 9999px;
}
#export-document.theme-minimal-warmth .bg-slate-50 {
    background: #f7f3ed !important;
    border: 1px solid #e7e0d6 !important;
    border-radius: 12px !important;
}
#export-document.theme-minimal-warmth .bg-blue-50\/80 {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 12px !important;
}
#export-document.theme-minimal-warmth #docBudget {
    color: #c2410c !important;
    font-family: 'Playfair Display', serif !important;
}
#export-document.theme-minimal-warmth #aiTextContent h2 {
    font-family: 'Playfair Display', serif;
    color: #7c2d12;
    border-bottom: 1px solid #fdba74;
}

/* --- 13. PRO: CYBER SECURITY --- */
#export-document.theme-cyber-security {
    background: #050505;
    color: #86efac;
    border: 1px solid #15803d;
    font-family: 'JetBrains Mono', monospace;
}
#export-document.theme-cyber-security #docAgency,
#export-document.theme-cyber-security #docHeading {
    color: #4ade80;
    font-family: 'JetBrains Mono', monospace;
}
#export-document.theme-cyber-security #docBadgeText {
    background: #052e16;
    color: #4ade80;
    border: 1px solid #22c55e;
    border-radius: 0;
}
#export-document.theme-cyber-security .bg-slate-50,
#export-document.theme-cyber-security .bg-blue-50\/80 {
    background: #0a0a0a !important;
    border: 1px solid #16a34a !important;
    border-radius: 0 !important;
}
#export-document.theme-cyber-security #docClient,
#export-document.theme-cyber-security #docDeadline,
#export-document.theme-cyber-security #docBudget {
    color: #4ade80 !important;
}
#export-document.theme-cyber-security #aiTextContent h2 {
    color: #4ade80;
    border-bottom: 1px solid #22c55e;
}
#export-document.theme-cyber-security #aiTextContent blockquote {
    border-left: 2px solid #22c55e;
    background: #0a0a0a;
    color: #bbf7d0;
}

/* --- 14. PRO: CONSULTING PRO --- */
#export-document.theme-consulting-pro {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #94a3b8;
}
#export-document.theme-consulting-pro #docAgency,
#export-document.theme-consulting-pro #docHeading {
    color: #172554;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
#export-document.theme-consulting-pro #docBadgeText {
    background: #172554;
    color: #ffffff;
    border-radius: 2px;
}
#export-document.theme-consulting-pro .bg-slate-50 {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
}
#export-document.theme-consulting-pro .bg-blue-50\/80 {
    background: #e2e8f0 !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 4px !important;
}
#export-document.theme-consulting-pro #docBudget {
    color: #172554 !important;
    font-weight: 800;
}
#export-document.theme-consulting-pro #aiTextContent h2 {
    color: #172554;
    border-bottom: 2px solid #172554;
}

/* --- 15. PRO: E-COMMERCE GROWTH --- */
#export-document.theme-ecommerce-growth {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #fed7aa;
}
#export-document.theme-ecommerce-growth #docAgency,
#export-document.theme-ecommerce-growth #docHeading {
    color: #c2410c;
    font-weight: 800;
}
#export-document.theme-ecommerce-growth #docBadgeText {
    background: #ffedd5;
    color: #ea580c;
    border: 1px solid #fdba74;
    border-radius: 9999px;
}
#export-document.theme-ecommerce-growth .bg-slate-50 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
}
#export-document.theme-ecommerce-growth .bg-blue-50\/80 {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 12px !important;
}
#export-document.theme-ecommerce-growth #docBudget {
    color: #15803d !important;
    font-weight: 800;
}
#export-document.theme-ecommerce-growth #aiTextContent h2 {
    color: #c2410c;
    border-bottom: 2px solid #f97316;
}

/* --- 16. PRO: EDITORIAL MAGAZINE --- */
#export-document.theme-editorial-magazine {
    background: #ffffff;
    color: #1c1917;
    border: 1px solid #d6d3d1;
}
#export-document.theme-editorial-magazine #docAgency,
#export-document.theme-editorial-magazine #docHeading {
    font-family: 'Playfair Display', Georgia, serif;
    color: #0c0a09;
    font-weight: 900;
}
#export-document.theme-editorial-magazine #docBadgeText {
    background: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.25em;
    border-radius: 0;
}
#export-document.theme-editorial-magazine .bg-slate-50,
#export-document.theme-editorial-magazine .bg-blue-50\/80 {
    background: #fafaf9 !important;
    border: 1px solid #e7e5e4 !important;
    border-radius: 0 !important;
}
#export-document.theme-editorial-magazine #docBudget {
    color: #0c0a09 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
}
#export-document.theme-editorial-magazine #aiTextContent h2 {
    font-family: 'Playfair Display', serif;
    color: #0c0a09;
    border-bottom: 1px solid #0c0a09;
}

/* --- 17. PRO: NEON PUNCH --- */
#export-document.theme-neon-punch {
    background: #090d16;
    color: #f1f5f9;
    border: 1px solid #3b0764;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.15);
}
#export-document.theme-neon-punch #docAgency,
#export-document.theme-neon-punch #docHeading {
    color: #f472b6;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
}
#export-document.theme-neon-punch #docBadgeText {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    color: #f472b6;
    border: 1px solid #ec4899;
    border-radius: 9999px;
}
#export-document.theme-neon-punch .bg-slate-50 {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 12px !important;
}
#export-document.theme-neon-punch .bg-blue-50\/80 {
    background: rgba(236, 72, 153, 0.1) !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    border-radius: 12px !important;
}
#export-document.theme-neon-punch #docClient,
#export-document.theme-neon-punch #docDeadline {
    color: #ffffff !important;
}
#export-document.theme-neon-punch #docBudget {
    color: #38bdf8 !important;
    font-weight: 800;
}
#export-document.theme-neon-punch #aiTextContent h2 {
    color: #f472b6;
    border-bottom: 1px solid #ec4899;
}

/* --- 18. PRO: SIMPLE MONO --- */
#export-document.theme-simple-mono {
    background: #fbfbfa;
    color: #18181b;
    border: 1px solid #d4d4d8;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}
#export-document.theme-simple-mono #docAgency,
#export-document.theme-simple-mono #docHeading {
    font-family: 'JetBrains Mono', monospace;
    color: #18181b;
}
#export-document.theme-simple-mono #docBadgeText {
    background: #fee2e2;
    color: #dc2626;
    border: 1px dashed #ef4444;
    border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
}
#export-document.theme-simple-mono .bg-slate-50,
#export-document.theme-simple-mono .bg-blue-50\/80 {
    background: #f4f4f5 !important;
    border: 1px dashed #a1a1aa !important;
    border-radius: 0 !important;
}
#export-document.theme-simple-mono #docBudget {
    color: #dc2626 !important;
    font-weight: 700;
}
#export-document.theme-simple-mono #aiTextContent h2 {
    color: #18181b;
    font-family: 'JetBrains Mono', monospace;
    border-bottom: 1px solid #71717a;
}

/* ========================================================================= */
/* Print Specific Optimizations                                              */
/* ========================================================================= */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .doc-blurred {
        filter: none !important;
        opacity: 1 !important;
    }

    #unlockOverlay, #paywallModal, #profileModal, #crmModal, #eSignShareModal, #trackingModal, header, aside, .action-bar {
        display: none !important;
    }

    #documentWrapper, #proposalContainer {
        box-shadow: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #export-document {
        padding: 0 !important;
        min-height: auto !important;
    }
}

/* ========================================================================= */
/* Clean Page Breaks for html2pdf.js & PDF Export                            */
/* ========================================================================= */
#export-document h1,
#export-document h2,
#export-document h3,
#export-document table,
#export-document tr,
#export-document blockquote,
#export-document img,
#export-document .signature-block,
#export-document .roi-calculator-box {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.page-break {
    page-break-before: always !important;
    break-before: always !important;
}