.document-template-base{font-size:16px;line-height:1.8;color:#1f2937;max-width:100%;margin:0 auto;background:white;padding:48px 64px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);border-radius:12px;min-height:800px}@media print{.document-template-base{padding:48px;box-shadow:none;border-radius:0;background:white;font-size:12pt;line-height:1.6;max-width:none}}.document-template-academic{font-family:Times New Roman,Times,serif;font-size:16px;line-height:1.8;color:#1f2937}.document-template-academic h1{font-size:28px;font-weight:700;text-align:center;margin:0 0 32px;padding-bottom:16px;border-bottom:2px solid #374151;color:#111827}.document-template-academic h2{font-size:22px;font-weight:700;margin:32px 0 16px;color:#1f2937;border-bottom:1px solid #e5e7eb;padding-bottom:8px}.document-template-academic h3{font-size:18px;font-weight:700;margin:24px 0 12px;color:#374151}.document-template-academic p{margin:16px 0;text-align:justify}.document-template-academic strong{font-weight:700;color:#111827}.document-template-academic em{font-style:italic;color:#374151}.document-template-corporate{font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.7;color:#1f2937}.document-template-corporate h1{font-size:26px;font-weight:600;text-align:left;margin:0 0 28px;color:#111827;border-left:4px solid #3b82f6;padding-left:16px}.document-template-corporate h2{font-size:20px;font-weight:600;margin:28px 0 14px;color:#1f2937;background-color:#f8fafc;padding:12px 16px;border-left:3px solid #6b7280}.document-template-corporate h3{font-size:17px;font-weight:600;margin:20px 0 10px;color:#374151}.document-template-corporate p{margin:14px 0;text-align:left}.document-template-corporate strong{font-weight:600;color:#111827}.document-template-government{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6;color:#1f2937}.document-template-government h1{font-size:24px;font-weight:700;text-align:center;margin:0 0 24px;color:#111827;text-transform:uppercase;letter-spacing:1px}.document-template-government h2{font-size:18px;font-weight:700;margin:24px 0 12px;color:#1f2937;text-transform:uppercase;letter-spacing:.5px}.document-template-government h3{font-size:16px;font-weight:700;margin:18px 0 8px;color:#374151}.document-template-government p{margin:12px 0;text-align:justify}.document-template-government strong{font-weight:700;color:#111827}.grant-section-executive_summary{background-color:#fefefe;border-radius:8px;padding:8px 0}.grant-section-statement_of_need{border-left:3px solid #ef4444;padding-left:16px}.grant-section-project_description{border-left:3px solid #3b82f6;padding-left:16px}.grant-section-budget_narrative{border-left:3px solid #10b981;padding-left:16px}.grant-section-organizational_capacity{border-left:3px solid #f59e0b;padding-left:16px}.grant-section-evaluation_plan{border-left:3px solid #8b5cf6;padding-left:16px}.grant-section-conclusion{background-color:#f8fafc;border-radius:8px;padding:16px;margin-top:24px;border:1px solid #e2e8f0}.grant-list{margin:16px 0}.grant-list ul{list-style-type:disc;margin-left:24px}.grant-list ol{list-style-type:decimal;margin-left:24px}.grant-list li{margin:8px 0;line-height:1.6}@media (max-width:768px){.document-template-base{padding:24px 32px}.document-template-academic h1,.document-template-corporate h1,.document-template-government h1{font-size:22px}.document-template-academic h2,.document-template-corporate h2,.document-template-government h2{font-size:18px}}@media (max-width:480px){.document-template-base{padding:16px 20px}.document-template-academic,.document-template-corporate,.document-template-government{font-size:14px}}