#reportDocument {
    background: #fff;
    color: #273548;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    padding: 36px;
    border: 1px solid #dce3ec;
    border-radius: 8px;
}
#reportDocument h2, #reportDocument h3, #reportDocument h4 { color: #142c46; }
#reportDocument .report-cover { border-bottom: 3px solid #267681; padding-bottom: 24px; margin-bottom: 28px; }
#reportDocument .report-eyebrow { color: #267681; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#reportDocument h2 { font-size: 30px; line-height: 1.2; margin: 10px 0; }
#reportDocument .report-institution { font-size: 20px; color: #415873; }
#reportDocument .report-metadata { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0; font-size: 11px; color: #52647a; }
#reportDocument .report-purpose { max-width: 640px; }
#reportDocument .report-demo-notice { margin-top: 16px; padding: 10px 14px; background: #f1f6f8; border-left: 3px solid #267681; font-size: 11px; }
#reportDocument .section-card { background: #fff; border: 0; border-bottom: 1px solid #dce3ec; border-radius: 0; margin: 0 0 22px; padding: 0 0 22px; }
#reportDocument h3 { font-size: 17px; margin: 0 0 12px; }
#reportDocument h4 { font-size: 13px; }
#reportDocument p { margin: 8px 0; }
#reportDocument .quality-block { padding: 10px 14px; margin: 8px 0; border-left: 3px solid #52647a; background: #f5f7fa; }
#reportDocument .quality-block.harmony { border-color: #26816a; }
#reportDocument .quality-block.discipline { border-color: #6562a0; }
#reportDocument .quality-block.excitement { border-color: #b97819; }
#reportDocument .report-diagrams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 18px 0; }
#reportDocument figure { margin: 0; text-align: center; }
#reportDocument figure h4 { color: #142c46 !important; margin-bottom: 8px; }
#reportDocument figure img { display: block; width: 100%; height: auto; margin: 0 auto; border: 1px solid #dce3ec; }
#reportDocument figcaption { font-size: 11px; line-height: 1.4; margin-top: 10px; color: #52647a; }
#reportDocument .report-badge { display: inline-block; padding: 8px 14px; background: #eaf3f4; color: #174f58; border: 1px solid #bdd6db; border-radius: 4px; font-weight: 700; }
#reportDocument .report-method-note { font-size: 12px; color: #52647a; border-left: 2px solid #bdd6db; padding-left: 12px; }
#reportDocument .stats-table { width: 100%; border-collapse: collapse; margin: 18px 0 0; font-variant-numeric: tabular-nums; }
#reportDocument .stats-table caption { text-align: left; font-size: 11px; font-weight: 600; margin-bottom: 8px; color: #52647a; }
#reportDocument .stats-table th { background: #edf2f7; color: #142c46; }
#reportDocument .stats-table th, #reportDocument .stats-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #dce3ec; }
#reportDocument .stats-table td { color: #273548; }
#reportDocument .stats-table td:last-child { font-weight: 600; }
#reportDocument .report-reflection, #reportDocument .indicator-list { padding-left: 22px; margin: 12px 0; }
#reportDocument li { padding: 3px 0; }
#reportDocument .report-footer { color: #52647a; font-size: 10px; padding-top: 12px; }
@media (max-width: 700px) {
    #reportDocument { padding: 20px; }
    #reportDocument h2 { font-size: 24px; }
    #reportDocument .report-diagrams { grid-template-columns: 1fr; }
}
@media print {
    @page {
        size: A4; margin: 17mm 16mm 18mm;
        @bottom-left { content: "InCompass | Institutional Compass Report"; font: 8pt Arial, sans-serif; color: #52647a; }
        @bottom-right { content: counter(page) " / " counter(pages); font: 8pt Arial, sans-serif; color: #52647a; }
    }
    body.printing-compass-report #htmlReport > h3 { display: none; }
    body.printing-compass-report #reportDocument { font-size: 10pt; line-height: 1.5; border: 0; padding: 0; }
    body.printing-compass-report #reportDocument .report-cover { padding-bottom: 16px; margin-bottom: 20px; }
    body.printing-compass-report #reportDocument h2 { font-size: 25pt; }
    body.printing-compass-report #reportDocument .section-card { break-inside: auto; }
    body.printing-compass-report #reportDocument h3 { font-size: 13pt; break-after: avoid; }
    body.printing-compass-report #reportDocument p { orphans: 3; widows: 3; }
    body.printing-compass-report #reportDocument .quality-block,
    body.printing-compass-report #reportDocument figure,
    body.printing-compass-report #reportDocument tr { break-inside: avoid; }
    body.printing-compass-report #reportDocument .report-diagrams { display: block; }
    body.printing-compass-report #reportDocument .report-compass,
    body.printing-compass-report #reportDocument .report-assessment,
    body.printing-compass-report #reportDocument figure + figure { break-before: page; }
    body.printing-compass-report #reportDocument figure img { width: 145mm; max-width: 100%; max-height: 175mm; object-fit: contain; }
    body.printing-compass-report #reportDocument .stats-table thead { display: table-header-group; }
    body.printing-compass-report #reportDocument .report-footer { border-top: 1px solid #dce3ec; }
}
