.academic-print-preview{overflow:auto;background:#e8e8ec;padding:16px;margin-top:18px}
@media print{html,body{background:#fff!important;color:#17212c!important}#print-report{background:#fff!important;box-shadow:none!important}}
/* Keep the admission identity, filters and totals with every printed sheet. */
.ofr-print-sheet .report-paper-title-cell{width:auto!important;padding:0 0 8px!important;border:0!important;background:#fff!important;color:#20202b;font:11px/1.35 Arial,sans-serif;text-transform:none;letter-spacing:normal;white-space:normal}
.report-paper-title-cell .ofr-paper-header{position:static;min-height:0;background:#fff;color:#20202b;box-shadow:none;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:2px solid #6d2248;padding:0 0 8px}
.admission-paper-stamp{text-align:right;font-size:9px;font-weight:400;line-height:1.4;margin:0}
.report-paper-title-cell .admission-paper-totals{font-weight:400}
@page admission{size:A4 landscape;margin:12mm;@bottom-right{content:"Page " counter(page) " of " counter(pages);font:8px Arial,sans-serif;color:#444}}
@media print{#print-report .admission-paper{page:admission}#print-report .ofr-print-sheet .report-paper-title-cell{border:0!important;background:#fff!important}#print-report .admission-paper thead{display:table-header-group;break-inside:avoid}#print-report .report-paper-title-cell h1{font-size:19px}#print-report .report-paper-title-cell h2{font-size:12px}}
/* Chromium repeats table headers only while they occupy less than a quarter
   of the printable page. Keep the complete report banner below that limit. */
.report-paper-title-cell h1{font-size:18px!important;margin:6px 0 3px!important;line-height:1.15}
.report-paper-title-cell h2{font-size:11px!important;margin:5px 0 3px!important;line-height:1.15}
.report-paper-title-cell .admission-paper-context{font-size:9px;line-height:1.2;margin:0 0 4px}
.report-paper-title-cell .admission-paper-totals{margin:5px 0;gap:6px}
.report-paper-title-cell .admission-paper-totals>div{padding:3px 7px}
.report-paper-title-cell .admission-paper-totals small{font-size:8px;line-height:1.1;margin-top:0}
.report-paper-title-cell .admission-paper-totals strong{font-size:11px;line-height:1.2}
.report-paper-title-cell .ofr-paper-header{padding-bottom:5px}
.report-paper-title-cell .ofr-paper-brand img{width:32px;height:32px;object-fit:contain}
.report-paper-title-cell .ofr-paper-brand small{font-size:8px;margin-top:2px}
@media print{#print-report .ofr-print-sheet :is(th,td){line-height:1.25}}
.academic-print-page{box-sizing:border-box;width:186mm;min-height:267mm;background:#fff;color:#17212c;font:10px/1.3 Arial,sans-serif;padding:8mm;margin:0 auto 16px;display:flex;flex-direction:column;box-shadow:0 1px 5px #0002}
.academic-paper-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #722249;padding-bottom:9px;gap:12px}
.academic-paper-logo{display:flex;align-items:center;gap:9px}.academic-paper-logo img{object-fit:contain;flex-shrink:0}.academic-paper-logo strong{font-size:13px}.academic-paper-logo small{font-size:8px;color:#444;margin-top:4px}.academic-paper-stamp{text-align:right;font-size:8px;line-height:1.45;max-width:42%}
.academic-print-page h1{font:700 18px/1.2 Arial,sans-serif;margin:13px 0 4px;color:#17212c;letter-spacing:0}.academic-paper-subtitle{font-size:10px;font-weight:700}.academic-paper-context,.academic-paper-import{font-size:8px;margin:5px 0;line-height:1.4;color:#444}.academic-paper-import{margin-bottom:10px}
.academic-print-page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px;color:#17212c}.academic-print-page th,.academic-print-page td{border:1px solid #697581!important;padding:5px 4px;min-width:0;max-width:none;vertical-align:top;overflow-wrap:anywhere;white-space:normal;line-height:1.3;font-size:inherit;background:#fff;color:#17212c}
.academic-print-page th{background:#ece8ed!important;font-weight:700}.academic-print-page tr:last-child td{border-bottom:1px solid #697581!important}.academic-paper-footer{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#444}.academic-paper-footer:before{content:none}.academic-paper-footer span{border-top:1px solid #697581;padding-top:6px}.academic-paper-footer span:first-child{flex:1}.academic-paper-footer span:last-child{white-space:nowrap}
@page academic{size:A4 portrait;margin:12mm}
@media print{#print-report .academic-print-page{page:academic;width:100%;min-height:267mm;padding:0;margin:0;box-shadow:none;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}#print-report .academic-print-page:last-child{break-after:auto}.academic-print-page table{break-inside:avoid}.academic-print-page tr{break-inside:avoid}.academic-print-page thead{display:table-header-group}.academic-paper-brand{background:white!important}.academic-print-page *{text-shadow:none!important}}

.report-paper-title-cell .ofr-paper-meta{font-size:9px;line-height:1.25;margin:5px 0;gap:4px 12px}
@page ofr{size:A4 landscape;margin:12mm;@bottom-right{content:"Page " counter(page) " of " counter(pages);font:8px Arial,sans-serif;color:#444}}
@media print{#print-report .ofr-paper-paginated{page:ofr}}
