@page { size: A4; margin: 15mm 15mm 17mm; }
.cover { break-after: page; padding-top: 25mm; }
.cover h1 { font-size: 24pt; border: 0; margin: 8mm 0; }
.cover .scheme { font-size: 16pt; }
.subtitle { font-size: 16pt; margin-bottom: 12mm; }
.cover table { font-size: 11pt; margin-bottom: 10mm; }
.part-start { break-before: page; font-size: 15pt; margin-bottom: 6mm; }
.upload { break-before: page; }
.upload + h2 { break-before: page; }
h2 { margin-top: 5mm; }
table { font-size: 10pt; table-layout: fixed; overflow-wrap: anywhere; }
th, td { padding: 1.5mm; }
thead { display: table-header-group; }
.muted { font-size: 10pt; color: #555; }
.review-note { font-size: 10pt; padding: 2mm; background: #fff4e8; border-left: 2pt solid #aa7847; }
.notice { font-weight: bold; color: #8b3f00; margin-top: 8mm; }
.output-entry { break-inside: avoid; margin-bottom: 4mm; }
.annotation { font-size: 11pt; }
.note-path { font-size: 10pt; color: #555; margin-top: 4mm; break-after: avoid; }
.source-link { font-size: 10pt; }
/* Compact RMS fields while preserving the supporting documents' body size. */
body { font-size: 11pt; }
.upload { font-size: 12pt; }
body > h2 { margin-top: 3mm; }
th, td { padding: 1mm; }
.c1_project_description { break-before: auto; }
.budget-year { break-inside: avoid; }
@page { margin-bottom: 15mm; }
.upload h2 { margin-top: 3mm; }
.classification th:first-child { width: 18%; }
.classification th:nth-child(2) { width: 64%; }
.classification th:nth-child(3) { width: 18%; }
