:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #293746;
  background: #f1f3f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --brand: #b51e2c;
  --blue: #214d78;
  --ink: #293746;
  --muted: #536372;
  --magenta: #9c245f;
  --line: #d5dce3;
  --page: #f1f3f5;
  --light: #f3f6f8;
  --identity: #edf5fa;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--ink); font: 14px/1.5 Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1769aa; outline-offset: 3px; }

.skip-link { position: absolute; z-index: 10; top: -80px; left: 12px; padding: 10px 14px; background: #fff; color: var(--blue); }
.skip-link:focus { top: 8px; }
.portal-topbar { min-height: 32px; padding: 6px 20px; background: var(--blue); color: #fff; font-size: 12px; }
.portal-topbar > div { max-width: var(--max); margin: auto; }
.portal-topbar span { margin-left: 10px; color: #dce9f3; }
.portal-header { display: flex; align-items: center; gap: 24px; min-height: 112px; padding: 7px max(20px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.brand-logo { display: block; flex: 0 1 240px; width: min(240px, 52vw); height: auto; filter: brightness(1.06); }
.portal-service { display: grid; gap: 2px; min-width: 0; padding-left: 20px; border-left: 1px solid #d2d0ce; line-height: 1.35; }
.portal-service strong { color: var(--blue); font-size: 14px; }
.portal-service span { color: var(--muted); font-size: 12px; }
.portal-main { width: min(var(--max), 100%); margin: 22px auto 40px; padding: 0 24px; }

.portal-main.lookup-mode { display: flow-root; position: relative; isolation: isolate; width: 100%; max-width: none; min-height: calc(100vh - 112px); margin: 0; padding: 0 24px 42px; background: #eef4f9; }
.lookup-architecture { position: absolute; z-index: 0; bottom: 0; left: 0; width: min(470px, 38vw); aspect-ratio: 6 / 7; pointer-events: none; user-select: none; }
.lookup-architecture img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; filter: grayscale(1) sepia(.08) hue-rotate(175deg) saturate(.7); opacity: .14; }
.lookup-architecture::after { position: absolute; inset: 0; background: linear-gradient(to top, transparent 42%, #eef4f9 100%), linear-gradient(to right, transparent 35%, #eef4f9 100%); content: ''; }
.lookup { position: relative; z-index: 1; max-width: 880px; margin: 27px auto 0; padding: 4px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: var(--muted); font-size: 12px; }
.breadcrumb-home { width: 16px; height: 16px; color: #516983; }
.breadcrumb [aria-current] { color: var(--blue); font-weight: 700; }
.lookup-header { padding: 0 0 31px; text-align: center; }
.lookup-header h1 { max-width: none; color: var(--blue); font-size: clamp(34px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; }
.subtitle { margin-top: 8px; color: var(--muted); font-size: 18px; }
.lookup-layout { display: block; max-width: none; padding: 0; }
.lookup-panel { max-width: 720px; min-width: 0; margin: 0 auto; padding: 36px 48px 23px; border: 1px solid #d9e0e7; border-top: 4px solid var(--brand); border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgb(33 77 120 / 12%); }
.lookup-form { display: grid; align-content: start; gap: 13px; }
.lookup-form label { color: var(--blue); font-weight: 700; }
.lookup-input-wrap { position: relative; min-width: 0; }
.input-person-icon { position: absolute; z-index: 1; top: 50%; left: 17px; width: 22px; height: 22px; color: #315477; pointer-events: none; transform: translateY(-50%); }
.lookup-form input { width: 100%; min-width: 0; height: 60px; padding: 12px 16px 12px 49px; border: 2px solid #c6d3df; border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; }
.lookup-form input::placeholder { color: #667582; opacity: 1; }
.lookup-form input[aria-invalid="true"] { border-color: #a51f2b; box-shadow: 0 0 0 1px #a51f2b; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 15px; border: 1px solid #8d9aa5; border-radius: 2px; background: #fff; color: var(--blue); font-weight: 700; text-decoration: none; }
.button:hover { background: #eef3f6; }
.button.accent { border-color: var(--magenta); background: var(--magenta); color: #fff; }
.button.accent:hover { background: #811b4d; }
.lookup-form .button { display: flex; width: 100%; min-width: 0; min-height: 56px; gap: 10px; margin-top: 4px; border-radius: 8px; font-size: 16px; }
.lookup-form .button.accent { border-color: var(--brand); background: var(--brand); }
.lookup-form .button.accent:hover { background: #951825; }
.button-arrow { width: 20px; height: 20px; }
.lookup-status { min-height: 0; color: var(--muted); font-size: 12px; }
.lookup-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lookup-status.error { color: #9f1b28; font-weight: 700; }
.lookup-note { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 22px; margin-top: 3px; color: #516983; font-size: 13px; }
.lookup-lock-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lookup-disclaimer { position: relative; z-index: 1; max-width: 720px; margin: 25px auto 0; padding-top: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.note { color: var(--muted); font-size: 11px; line-height: 1.55; }
.report-footer { padding: 15px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; }

.individual-report { padding: 0 24px; background: #fff; }
.individual-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.individual-header { padding: 16px 0 14px; border-top: 5px solid var(--brand); border-bottom: 1px solid var(--line); }
.report-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.report-name { margin-bottom: 4px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.individual-header h1 { color: var(--ink); font-size: 24px; line-height: 1.25; }
.report-brand { display: grid; justify-items: end; color: var(--brand); line-height: 1.2; }
.report-brand strong { font-size: 20px; letter-spacing: -.5px; }
.report-brand span { color: var(--muted); font-size: 10px; }
.report-cutoff { margin-top: 9px; color: var(--muted); font-size: 11px; }
.section-title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.section-title > span { color: var(--magenta); font-weight: 700; }
.student-identity { padding: 19px 0 16px; border-bottom: 1px solid var(--line); }
.identity-data { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; overflow: hidden; background: #fff; }
.identity-data > div { min-width: 0; padding: 10px 12px; background: var(--identity); }
.identity-data dt { margin-bottom: 3px; color: var(--blue); font-size: 10px; font-weight: 700; }
.identity-data dd { overflow-wrap: anywhere; font-size: 13px; }
.identity-data .identity-name { grid-column: span 2; }
.identity-data .student-name { font-size: 16px; font-weight: 700; }
.individual-time-summary { margin-top: 10px; color: var(--muted); font-size: 11px; }
.individual-time-summary strong { color: var(--ink); }
.general-section-title { margin: 17px 0 9px; }
.result-overview { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); }
.overview-score { min-width: 0; padding: 20px 23px 18px 0; }
.overview-reference { min-width: 0; padding: 20px 23px; border-left: 1px solid var(--line); background: var(--light); }
.result-overview h3 { margin-bottom: 8px; color: var(--blue); font-size: 13px; }
.hero-score { margin: 7px 0 5px; color: var(--brand); font-size: clamp(42px, 6vw, 58px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-score small { color: var(--muted); font-size: 18px; font-weight: 400; letter-spacing: 0; }
.overview-score > p, .overview-reference > p { color: var(--muted); font-size: 11px; }
.percentile-label { margin-top: 2px; }
.percentile-value { margin: 6px 0; color: var(--brand); font-size: 43px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.overview-reference > p + p { margin-top: 9px; }
.linear-scale { margin: 17px 0 10px; }
.scale-track { position: relative; height: 7px; background: #dce2e7; }
.scale-fill { display: block; height: 100%; background: var(--brand); }
.scale-pointer { position: absolute; top: -5px; width: 2px; height: 17px; background: var(--ink); transform: translateX(-50%); }
.scale-ticks { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 9px; }
.group-reference { padding: 14px 0 17px; border-bottom: 1px solid var(--line); }
.group-reference h2 { margin-bottom: 10px; color: var(--blue); font-size: 14px; }
.group-reference dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.group-reference dt { color: var(--muted); font-size: 10px; }
.group-reference dd { margin-top: 3px; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.group-reference dd small { color: var(--muted); font-size: 10px; font-weight: 400; }
.partial-result { margin: 14px 0; padding: 13px 15px; border-left: 3px solid var(--magenta); background: var(--light); }
.partial-result h2 { margin-bottom: 4px; color: var(--blue); font-size: 14px; }
.partial-result p { font-size: 12px; }
.pending-modules { margin: 12px 0; }

.competency-results { padding: 18px 0 17px; border-bottom: 1px solid var(--line); }
.competency-results .section-title { margin-bottom: 8px; }
.table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.competency-table { width: 100%; min-width: 710px; border-collapse: collapse; color: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; text-align: left; }
.competency-table caption { padding: 0 0 7px; color: var(--muted); font-size: 10px; text-align: left; }
.competency-table th, .competency-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.competency-table thead { background: var(--light); }
.competency-table thead th { color: var(--blue); font-size: 10px; line-height: 1.35; }
.competency-table tbody th { width: 27%; font-size: 11px; font-weight: 700; }
.competency-table tbody tr:last-child > * { border-bottom: 0; }
.competency-table .rank-cell { min-width: 145px; }
.summary-score, .summary-position { display: block; font-size: 14px; font-weight: 700; }
.summary-position { color: var(--brand); }
.summary-position small { color: var(--muted); font-size: 10px; font-weight: 400; }
.summary-top { display: block; margin-top: 1px; color: var(--blue); font-size: 10px; }
.cell-label { display: none; }
.ranking-note { margin-top: 8px; }

.individual-section { padding: 18px 0 0; }
.individual-section > h2 { margin-bottom: 8px; color: var(--blue); font-size: 16px; }
.module-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-bottom: 1px solid var(--line); }
.module-card { min-width: 0; min-height: 48px; padding: 10px 11px; border: 1px solid var(--line); border-bottom: 2px solid var(--line); border-radius: 2px 2px 0 0; background: #fff; color: var(--blue); text-align: left; }
.module-card:hover { background: var(--light); }
.module-card[aria-selected="true"] { border-color: var(--magenta); border-bottom-color: var(--magenta); background: #fbf6f8; color: var(--magenta); }
.module-card-name { display: block; font-size: 10px; font-weight: 700; line-height: 1.35; }
.individual-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; margin-top: 1px; }
.individual-module-panel { min-width: 0; padding: 17px 0 18px; border-bottom: 1px solid var(--line); }
.individual-module-panel h3 { margin-bottom: 13px; color: var(--blue); font-size: 14px; }
.individual-module-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.individual-module-stats > div { min-width: 0; }
.individual-module-stats > div > span { display: block; min-height: 28px; margin-bottom: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.individual-module-stats strong { display: block; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.individual-module-stats .individual-module-score, .individual-module-stats .module-position { color: var(--brand); font-size: 22px; }
.individual-module-stats strong small { color: var(--muted); font-size: 10px; font-weight: 400; }
.individual-module-stats > div > small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.individual-module-stats .module-top { color: var(--blue); }
.rank-tie { margin-top: 10px; }
.individual-module-time { margin: 10px 0 0; }
.individual-module-time strong { color: var(--ink); }
.student-level-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 17px 0; }
.student-level-segment { display: flex; min-height: 43px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 3px; font-size: 10px; text-align: center; }
.level-0 { background: #e6eef4; color: var(--ink); }
.level-1 { background: #c6d9e8; color: var(--ink); }
.level-2 { background: #779bb8; color: #fff; }
.level-3 { background: var(--blue); color: #fff; }
.student-level-segment.current-level { outline: 2px solid var(--magenta); outline-offset: 1px; position: relative; z-index: 1; }
.student-level-segment strong { font-size: 9px; }
.module-group-comparison { margin-top: 15px; }
.module-group-comparison h4 { margin-bottom: 9px; color: var(--blue); font-size: 12px; }
.comparison-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 58px; gap: 10px; align-items: center; margin: 12px 0; font-size: 10px; }
.comparison-label { line-height: 1.35; }
.bar-track { height: 19px; background: var(--light); }
.bar-fill { display: block; height: 100%; background: var(--blue); }
.comparison-row:first-child .bar-fill { background: var(--brand); }
.comparison-row > strong { text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
.comparison-axis { margin: 4px 68px 0 160px; }
.module-difference { margin-top: 9px; font-size: 10px; }
.individual-reading { margin: 18px 0 0; padding: 15px 0 17px; border-top: 1px solid var(--line); }
.individual-reading h2 { margin-bottom: 8px; color: var(--blue); font-size: 14px; }
.individual-reading p { margin-top: 5px; font-size: 11px; }
.individual-report .report-footer { margin: 0; padding: 13px 0 17px; }

@media (max-width: 760px) {
  .portal-main { margin-top: 17px; padding: 0 18px; }
  .portal-main.lookup-mode { min-height: calc(100svh - 72px); padding: 0 20px 34px; }
  .individual-report { padding: 0 18px; }
  .individual-details { grid-template-columns: minmax(0, 1fr); }
  .individual-module-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .portal-header { min-height: 0; gap: 12px; padding: 10px 14px; }
  .brand-logo { flex-basis: 170px; width: min(170px, 48vw); }
  .portal-service { flex: 1 1 auto; padding-left: 11px; }
  .portal-service strong { font-size: 12px; }
  .portal-service span { font-size: 10px; }
  .portal-main { padding: 0 14px; }
  .portal-main.lookup-mode { min-height: calc(100svh - 66px); padding: 0 18px 30px; }
  .lookup-architecture { width: min(210px, 58vw); opacity: .72; }
  .lookup-architecture img { opacity: .11; }
  .lookup-architecture::after { background: linear-gradient(to top, transparent 32%, #eef4f9 100%), linear-gradient(to right, transparent 20%, #eef4f9 100%); }
  .lookup { margin-top: 18px; padding-top: 0; }
  .breadcrumb { margin-bottom: 17px; font-size: 11px; }
  .lookup-header { padding-bottom: 23px; }
  .lookup-header h1 { font-size: clamp(29px, 8vw, 34px); }
  .subtitle { max-width: 420px; margin: 8px auto 0; font-size: 14px; }
  .lookup-panel { padding: 26px 22px 20px; border-radius: 11px; }
  .lookup-form { gap: 12px; }
  .lookup-form input { height: 56px; }
  .lookup-form .button { min-height: 54px; }
  .lookup-disclaimer { margin-top: 18px; font-size: 11px; }
  .individual-report { padding: 0 14px; }
  .individual-toolbar { align-items: stretch; flex-direction: column; }
  .individual-toolbar .button { width: 100%; }
  .report-heading { align-items: flex-start; }
  .report-heading { display: block; }
  .individual-header h1 { font-size: 20px; }
  .report-brand { justify-items: start; margin-top: 7px; }
  .report-brand strong { font-size: 16px; }
  .identity-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity-data .identity-name { grid-column: 1 / -1; }
  .identity-data > div { padding: 9px; }
  .identity-data .student-name { font-size: 14px; }
  .table-wrap { overflow: visible; }
  .competency-table { display: block; min-width: 0; font-size: 12px; }
  .competency-table caption { display: block; }
  .competency-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .competency-table tbody { display: grid; gap: 8px; }
  .competency-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); background: #fff; }
  .competency-table tbody th { grid-column: 1 / -1; width: auto; padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--identity); font-size: 14px; }
  .competency-table tbody td { min-width: 0; padding: 7px 9px; overflow-wrap: anywhere; font-size: 12px; }
  .competency-table tbody td:nth-of-type(3) { grid-column: 1; }
  .competency-table tbody .rank-cell { grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--line); background: #fafbfc; }
  .competency-table .cell-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; line-height: 1.3; }
  .competency-table .summary-score, .competency-table .summary-position { font-size: 16px; }
  .competency-table .summary-top { font-size: 11px; }
  .result-overview { grid-template-columns: minmax(0, 1fr); }
  .overview-score { padding: 15px 0 17px; }
  .overview-reference { padding: 15px; border-top: 1px solid var(--line); border-left: 0; }
  .hero-score { font-size: 47px; }
  .percentile-value { font-size: 38px; }
  .group-reference dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .group-reference dd { font-size: 17px; }
  .module-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-card { min-height: 45px; padding: 8px; }
  .module-card-name { font-size: 12px; }
  .individual-module-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 11px; }
  .individual-module-stats > div > span { min-height: 0; }
  .comparison-row { grid-template-columns: minmax(0, 1fr) 60px; gap: 6px 9px; }
  .comparison-label { grid-column: 1 / -1; }
  .bar-track { grid-column: 1; grid-row: 2; }
  .comparison-row > strong { grid-column: 2; grid-row: 2; }
  .comparison-axis { margin-left: 0; margin-right: 68px; }
  .student-level-segment { min-height: 40px; font-size: 9px; }
  .student-level-segment strong { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  @page { size: A4 portrait; margin: 11mm 10mm; }
  html, body { min-width: 0; background: #fff; color: #202a33; font-size: 9pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .portal-topbar, .portal-header, .individual-toolbar, .skip-link, .screen-only, .module-tabs, noscript { display: none !important; }
  .portal-main { width: 100%; max-width: none; margin: 0; padding: 0; }
  .lookup, #lookup { display: none !important; }
  .individual-report { width: 100%; max-width: none; padding: 0; }
  .individual-header { padding: 10px 0 8px; border-top-width: 3px; }
  .individual-header h1 { font-size: 17pt; }
  .report-brand strong { font-size: 16pt; }
  .section-title { margin-bottom: 7px; font-size: 11pt; }
  .student-identity { padding: 10px 0 8px; }
  .identity-data > div { padding: 7px 8px; }
  .identity-data dt { font-size: 7pt; }
  .identity-data dd { font-size: 8pt; }
  .identity-data .student-name { font-size: 10pt; }
  .individual-time-summary, .report-cutoff { font-size: 7pt; }
  .general-section-title { margin: 10px 0 6px; }
  .result-overview { grid-template-columns: .8fr 1.2fr; break-inside: avoid; }
  .overview-score, .overview-reference { padding: 12px 15px; }
  .result-overview h3 { margin-bottom: 5px; font-size: 8pt; }
  .hero-score { font-size: 34pt; }
  .hero-score small { font-size: 12pt; }
  .percentile-value { font-size: 30pt; }
  .linear-scale { margin: 11px 0 6px; }
  .scale-ticks { font-size: 7pt; }
  .overview-score > p, .overview-reference > p, .overview-reference .note { font-size: 7pt; }
  .group-reference { padding: 8px 0 10px; }
  .group-reference h2 { margin-bottom: 5px; font-size: 9pt; }
  .group-reference dd { font-size: 13pt; }
  .competency-results { padding: 10px 0; break-inside: avoid; }
  .competency-table { min-width: 0; font-size: 7pt; }
  .competency-table caption, .competency-table thead th { font-size: 7pt; }
  .competency-table th, .competency-table td { padding: 5px 5px; }
  .summary-score, .summary-position { font-size: 9pt; }
  .summary-top { font-size: 7pt; }
  .ranking-note, .note { font-size: 7pt; }
  .individual-section { padding-top: 11px; break-before: page; }
  .individual-section > h2 { margin-bottom: 4px; font-size: 11pt; }
  .individual-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; margin-top: 0; }
  .individual-module-panel, .individual-module-panel[hidden] { display: block !important; padding: 10px 0; break-inside: avoid; }
  .individual-module-panel h3 { margin-bottom: 7px; font-size: 9pt; }
  .individual-module-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .individual-module-stats > div > span { min-height: 0; margin-bottom: 2px; font-size: 6.5pt; }
  .individual-module-stats strong, .individual-module-stats .individual-module-score, .individual-module-stats .module-position { font-size: 13pt; }
  .individual-module-stats strong small, .individual-module-stats > div > small { font-size: 7pt; }
  .student-level-scale { margin: 9px 0; }
  .student-level-segment { min-height: 30px; font-size: 7pt; }
  .module-group-comparison { margin-top: 8px; }
  .module-group-comparison h4 { margin-bottom: 4px; font-size: 8pt; }
  .comparison-row { grid-template-columns: 85px minmax(0, 1fr) 42px; gap: 5px; margin: 6px 0; font-size: 7pt; }
  .bar-track { height: 12px; }
  .comparison-row > strong { font-size: 8pt; }
  .comparison-axis { margin: 2px 47px 0 90px; font-size: 6pt; }
  .module-difference, .individual-module-time { margin-top: 6px; font-size: 7pt; }
  .individual-reading { margin-top: 11px; padding: 9px 0; break-inside: avoid; }
  .individual-reading h2 { margin-bottom: 4px; font-size: 9pt; }
  .individual-reading p { font-size: 7pt; }
  .individual-report .report-footer { padding: 8px 0 0; font-size: 6.5pt; }
  .table-wrap { overflow: visible; }
  tr { break-inside: avoid; }
}
