/*
 * 17-page A4 report refinement.
 * Keeps the existing editorial design, but gives each physical page an explicit
 * vertical grid so content uses the sheet naturally instead of being scaled.
 */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html[data-report-export-mode="document"] [data-testid="report-cloud-save-status"],
  html[data-pdf-export="document"] [data-testid="report-cloud-save-status"] {
    display: none !important;
  }

  html[data-report-export-mode="document"] body,
  html[data-pdf-export="document"] body,
  html[data-report-export-mode="document"] #root,
  html[data-pdf-export="document"] #root {
    width: 210mm !important;
    min-width: 210mm !important;
    max-width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-front-cover,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-front-cover {
    break-before: auto !important;
    page-break-before: auto !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] :is(
    #ugr-report-front-cover,
    #ugr-report-parent-clarity,
    #ugr-report-directory,
    #ugr-report-back-cover
  ),
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] :is(
    #ugr-report-front-cover,
    #ugr-report-parent-clarity,
    #ugr-report-directory,
    #ugr-report-back-cover
  ) {
    box-sizing: border-box !important;
    width: 210mm !important;
    min-width: 210mm !important;
    max-width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] :is(
    #ugr-report-front-cover .ugr-page-content,
    #ugr-report-front-cover .ugr-formal-cover,
    #ugr-report-parent-clarity .ugr-page-content,
    #ugr-report-parent-clarity .parent-clarity-page,
    #ugr-report-directory .ugr-page-content,
    #ugr-report-directory .ugr-directory-page,
    #ugr-report-back-cover .ugr-page-content,
    #ugr-report-back-cover .ugr-back-cover-page
  ),
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] :is(
    #ugr-report-front-cover .ugr-page-content,
    #ugr-report-front-cover .ugr-formal-cover,
    #ugr-report-parent-clarity .ugr-page-content,
    #ugr-report-parent-clarity .parent-clarity-page,
    #ugr-report-directory .ugr-page-content,
    #ugr-report-directory .ugr-directory-page,
    #ugr-report-back-cover .ugr-page-content,
    #ugr-report-back-cover .ugr-back-cover-page
  ) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-directory .ugr-directory-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-directory .ugr-directory-page {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 12mm !important;
    padding: 25mm 18mm 20mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-directory .ugr-directory-list,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-directory .ugr-directory-list {
    align-self: center !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-one-page-conclusion .ugr-one-conclusion-card,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-one-page-conclusion .ugr-one-conclusion-card {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-columns: minmax(46mm, .72fr) minmax(0, 1.28fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 8mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-one-page-conclusion .ugr-one-conclusion-hero,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-report-one-page-conclusion .ugr-one-conclusion-hero {
    grid-row: 1 / span 2 !important;
    align-self: stretch !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-editorial-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-editorial-page {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    align-content: stretch !important;
    padding: 6mm 0 !important;
    position: relative !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-strength-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-strength-page {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 8mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-strength-page .motivation-strength-visual,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-strength-page .motivation-strength-visual {
    align-self: stretch !important;
    align-content: center !important;
    min-height: 0 !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page {
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    gap: 7mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page .motivation-barrier-reading,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page .motivation-barrier-reading {
    align-self: stretch !important;
    align-items: stretch !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page .motivation-barrier-reading > article,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] .motivation-barrier-page .motivation-barrier-reading > article {
    align-content: center !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-engine-intro,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-engine-intro {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 8mm !important;
    padding: 4mm 0 !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-expert-opinion-grid,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-expert-opinion-grid {
    align-self: stretch !important;
    align-items: stretch !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-educator-avatar-card,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-educators .ugr-educator-avatar-card {
    align-content: space-between !important;
    height: 100% !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth :is(
    .ugr-growth-pdf-main-page,
    .ugr-growth-pdf-resource-page
  ),
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth :is(
    .ugr-growth-pdf-main-page,
    .ugr-growth-pdf-resource-page
  ) {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    align-content: stretch !important;
    gap: 8mm !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-page {
    grid-template-rows: 78mm 42mm minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 8mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-hero,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-hero {
    min-height: 78mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-hero img,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-hero img {
    height: 78mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-core,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-core {
    min-height: 42mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-grid,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-grid {
    min-height: 0 !important;
    height: 100% !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-card,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-card {
    grid-template-rows: auto repeat(2, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    height: 100% !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-card section,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-card section {
    align-content: center !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-grid,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-main-grid,
  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-grid,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-grid {
    align-self: auto !important;
    align-items: stretch !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-page {
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 8mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list > *,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list > * {
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-card,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-card {
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    height: 100% !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list {
    grid-auto-rows: minmax(0, 1fr) !important;
    align-content: stretch !important;
    height: 100% !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list > *,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-growth .ugr-growth-pdf-resource-list > * {
    align-content: center !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"],
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"] {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-rows: auto auto !important;
    align-content: space-between !important;
    gap: 7mm !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body {
    align-content: start !important;
    gap: 6mm !important;
    height: auto !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"] :is(
    .pbl-brief-action,
    .pbl-brief-observe
  ),
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-project-overview-page"] :is(
    .pbl-brief-action,
    .pbl-brief-observe
  ) {
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .is-project-manual,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .is-project-manual {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-rows: 94mm 147mm !important;
    align-content: stretch !important;
    gap: 5mm !important;
    padding: 0 !important;
    display: grid !important;
    position: relative !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"],
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] {
    box-sizing: border-box !important;
    height: 94mm !important;
    min-height: 94mm !important;
    max-height: 94mm !important;
    grid-template-rows: auto auto auto !important;
    align-content: stretch !important;
    gap: 2mm !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    overflow: hidden !important;
    break-before: auto !important;
    page-break-before: auto !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map {
    align-self: auto !important;
    grid-auto-rows: auto !important;
    margin: 0 !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map-step,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map-step {
    min-height: 20mm !important;
    height: auto !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .pbl-child-task-card-page,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .pbl-child-task-card-page {
    box-sizing: border-box !important;
    height: 147mm !important;
    min-height: 147mm !important;
    max-height: 147mm !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 2mm !important;
    margin: 0 !important;
    padding: 3mm 0 !important;
    display: grid !important;
    overflow: hidden !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .pbl-child-task-grid,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action .pbl-child-task-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    align-self: stretch !important;
    align-items: stretch !important;
    gap: 2mm !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="thinking-training-card"],
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="thinking-training-card"] {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 6mm !important;
    padding: 4mm 0 !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="thinking-training-card"] [data-testid="pbl-task-mind-map-block"],
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-action [data-testid="thinking-training-card"] [data-testid="pbl-task-mind-map-block"] {
    align-content: space-between !important;
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-parent-guide > .ugr-page-content,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-parent-guide > .ugr-page-content {
    box-sizing: border-box !important;
    height: 270mm !important;
    min-height: 270mm !important;
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 7mm !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-parent-guide :is(
    .ugr-parent-communication-panel,
    .ugr-parent-dont-panel
  ),
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-parent-guide :is(
    .ugr-parent-communication-panel,
    .ugr-parent-dont-panel
  ) {
    align-content: center !important;
    height: 100% !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-navigator .ugr-day7-evidence-dashboard,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-navigator .ugr-day7-evidence-dashboard {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto !important;
    align-content: stretch !important;
    gap: 6mm !important;
    padding: 5mm 0 !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-navigator .ugr-day7-change-chart,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-navigator .ugr-day7-change-chart {
    align-self: stretch !important;
    grid-auto-rows: minmax(0, 1fr) !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-archive > .ugr-page-content,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-archive > .ugr-page-content {
    box-sizing: border-box !important;
    height: 270mm !important;
    min-height: 270mm !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: space-between !important;
    gap: 7mm !important;
    display: grid !important;
  }

  html[data-report-export-mode="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-archive .ugr-archive-material-only,
  html[data-pdf-export="document"] body #root .ugr-root[data-report-layout="legacy16"] #ugr-chapter-archive .ugr-archive-material-only {
    align-self: auto !important;
    align-content: start !important;
    min-height: 0 !important;
    display: grid !important;
  }
}

/*
 * 2026-07-28 final 29-page readability contract.
 * Export-only: the ordinary web report keeps its existing responsive layout.
 * The legacy renderer applies an approximately 0.9 physical type scale, so
 * 12.5–13.4pt CSS body sizes land at 11–12pt in Chromium/Skia.
 */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"] {
    --ugr-paper: #fbf8f1;
    --ugr-card: #ffffff;
    --ugr-ink: #0a2f50;
    --ugr-deep-teal: #093b38;
    --ugr-teal: #0f766e;
    --ugr-teal-bright: #12918c;
    --ugr-gold: #c08e3a;
    --ugr-line: rgba(15, 118, 110, 0.28);
  }

  /* Shared paper-reading floor. Cover and back cover retain brand microcopy. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(p, li, dd, blockquote, td) {
    font-size: 13.2pt !important;
    line-height: 1.46 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(small, dt, figcaption, label) {
    font-size: 10.7pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(b, strong) {
    font-size: 13.5pt !important;
    line-height: 1.36 !important;
  }

  /* 03 / 29 — directory: five large reading stops instead of a thin index. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-page {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 10mm !important;
    padding: 18mm 16mm 16mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-heading h2 {
    font-size: 31pt !important;
    line-height: 1.08 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-heading p {
    max-width: 154mm !important;
    font-size: 13pt !important;
    line-height: 1.5 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
    height: 142mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list > * {
    align-content: center !important;
    min-height: 0 !important;
    padding: 5mm 6mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list :where(span, b, strong) {
    font-size: 13.4pt !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-spotlight {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5mm !important;
    min-height: 45mm !important;
    padding: 5mm 0 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-spotlight :where(p, span, b, strong) {
    font-size: 11.4pt !important;
    line-height: 1.42 !important;
  }

  /* 04 / 29 — one-page conclusion. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-card {
    grid-template-columns: minmax(57mm, 0.8fr) minmax(0, 1.2fr) !important;
    grid-template-rows: minmax(0, 1fr) 32mm !important;
    gap: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-hero {
    align-content: center !important;
    padding: 9mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-hero h1 {
    font-size: 32pt !important;
    line-height: 1.08 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-hero p {
    font-size: 13.1pt !important;
    line-height: 1.52 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
    padding: 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-grid > * {
    align-content: center !important;
    padding: 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-grid :where(p, span, b, strong) {
    font-size: 12.6pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-footer {
    grid-column: 2 !important;
    align-content: center !important;
    min-height: 32mm !important;
    padding: 5mm 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-footer :where(p, span, b, strong) {
    font-size: 11.2pt !important;
    line-height: 1.42 !important;
  }

  /* 05 / 29 — child portrait: enlarge real cards and portrait, use the full sheet. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-page-content,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-layout,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    box-sizing: border-box !important;
    height: 246mm !important;
    min-height: 246mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(56mm, 0.8fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child :where(h1, .ugr-cover-title) {
    font-size: 31pt !important;
    line-height: 1.08 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child :where(p, li) {
    font-size: 13.1pt !important;
    line-height: 1.47 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    align-self: stretch !important;
    gap: 5mm !important;
    min-height: 102mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-card {
    align-content: center !important;
    min-height: 0 !important;
    padding: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-card :where(p, span, em, b, strong) {
    font-size: 12.4pt !important;
    line-height: 1.42 !important;
  }

  /* 06–07 / 29 — assessment: larger evidence, natural vertical track. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-editorial-head h2 {
    max-width: 174mm !important;
    font-size: 28pt !important;
    line-height: 1.1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-editorial-head p {
    font-size: 12.7pt !important;
    line-height: 1.46 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-strength-page {
    grid-template-rows: auto minmax(0, 1fr) 48mm !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-strength-visual {
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    min-height: 0 !important;
    padding: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-activation-conditions {
    align-self: stretch !important;
    align-items: stretch !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-activation-conditions > * {
    align-content: center !important;
    padding: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment :is(
      .motivation-strength-visual,
      .motivation-parent-action,
      .motivation-cause-map,
      .motivation-barrier-reading
    ) :where(p, li, span) {
    font-size: 12.6pt !important;
    line-height: 1.43 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-parent-action {
    align-content: center !important;
    min-height: 48mm !important;
    padding: 7mm 9mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-page {
    grid-template-rows: auto 62mm minmax(0, 1fr) 48mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-cause-map,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-reading {
    align-items: stretch !important;
    min-height: 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-cause-map > *,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-reading > * {
    align-content: center !important;
    padding: 5mm !important;
  }

  /* 08–09 / 29 — dense theory pages: efficient two-column cards at >=11pt. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-engine-intro {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-expert-debate-main :where(h2, h3) {
    font-size: 27pt !important;
    line-height: 1.1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-expert-opinion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card {
    align-content: start !important;
    gap: 2.5mm !important;
    height: 100% !important;
    padding: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card :where(p, li, span, summary) {
    font-size: 12.25pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card :where(b, strong, em) {
    font-size: 12.8pt !important;
    line-height: 1.34 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-debate-consensus {
    align-content: center !important;
    min-height: 36mm !important;
    padding: 5mm 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators :is(
      .ugr-evidence-flow-strip,
      .ugr-engine-pipeline,
      .ugr-engine-matrix,
      .ugr-engine-bridge,
      .ugr-note
    ) :where(p, li, span, b, strong, em) {
    font-size: 12.2pt !important;
    line-height: 1.38 !important;
  }

  /* 09–10 / 29 — growth direction and resource navigation. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-page {
    grid-template-rows: 78mm 48mm minmax(0, 1fr) 24mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-page :where(p, li, span) {
    font-size: 12.6pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-card {
    gap: 3mm !important;
    padding: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-card section {
    padding: 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview {
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 5mm !important;
    min-height: 188mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-card {
    border: 1px solid var(--ugr-line) !important;
    background: var(--ugr-card) !important;
    grid-template-rows: auto auto auto auto auto !important;
    align-content: space-between !important;
    gap: 4mm !important;
    min-height: 188mm !important;
    padding: 8mm 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-purposes {
    gap: 2.5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-purposes > li {
    border-left-color: var(--ugr-gold) !important;
    background: #f7fbfa !important;
    padding: 3mm !important;
    font-size: 13.4pt !important;
    line-height: 1.38 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    :is(.ugr-main-resource-description, .ugr-main-resource-link) {
    font-size: 13.2pt !important;
    line-height: 1.44 !important;
  }

  /* 11–13 / 29 — PBL: compact gaps, larger text, no empty card stretching. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] {
    grid-template-rows: 50mm minmax(0, 1fr) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-hero {
    align-content: center !important;
    min-height: 50mm !important;
    padding: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
    height: 191mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body > * {
    align-content: center !important;
    min-height: 0 !important;
    padding: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] :where(p, li, span, em) {
    font-size: 12.2pt !important;
    line-height: 1.38 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .is-project-manual {
    grid-template-rows: 104mm 137mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] {
    height: 104mm !important;
    min-height: 104mm !important;
    max-height: 104mm !important;
    gap: 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 2mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map-step {
    align-content: center !important;
    min-height: 28mm !important;
    padding: 2.5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-card-page {
    height: 137mm !important;
    min-height: 137mm !important;
    max-height: 137mm !important;
    gap: 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 2mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-grid > * {
    align-content: center !important;
    min-height: 0 !important;
    padding: 2.5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action :is(
      [data-testid="pbl-seven-day-route-page"],
      .pbl-child-task-card-page
    ) :where(p, li, span, em) {
    font-size: 12.05pt !important;
    line-height: 1.34 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] {
    grid-template-rows: auto 60mm minmax(0, 1fr) 40mm !important;
    gap: 5mm !important;
    padding: 3mm 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] :where(p, li, span) {
    font-size: 12.35pt !important;
    line-height: 1.4 !important;
  }

  /* 14–16 / 29 — parent, evidence and archive: readable continuous tracks. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-content {
    grid-template-rows: 64mm minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 5mm !important;
    height: 270mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide .ugr-parent-secret-hero,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide .ugr-parent-communication-panel {
    align-content: center !important;
    min-height: 0 !important;
    padding: 5mm 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide :where(p, li, span, em) {
    font-size: 12.35pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide :where(b, strong) {
    font-size: 12.9pt !important;
    line-height: 1.34 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-evidence-dashboard {
    grid-template-rows: auto minmax(0, 1fr) 72mm 34mm !important;
    gap: 5mm !important;
    padding: 3mm 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-change-chart {
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-evidence-dashboard :where(p, li, span) {
    font-size: 12.45pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-content {
    grid-template-rows: 54mm 62mm 68mm 48mm 18mm !important;
    align-content: stretch !important;
    gap: 4mm !important;
    height: 270mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive :is(
      .ugr-archive-compact-hero,
      .ugr-day7-contract,
      .ugr-archive-compact-grid,
      .ugr-archive-route-strip,
      .ugr-boundary-note
    ) {
    align-content: center !important;
    min-height: 0 !important;
    padding: 4mm 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive :where(p, li, span, small) {
    font-size: 12.2pt !important;
    line-height: 1.36 !important;
  }

  /*
   * 17–28 / 29 — annex system.
   * Same ordinary body-paper palette as the report, no brown/olive gradients.
   */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-board > .ugr-annex-page {
    color: var(--ugr-ink) !important;
    background:
      linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px) 0 0 / 14mm 14mm,
      var(--ugr-paper) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-shell {
    grid-template-rows: 44mm minmax(0, 1fr) 10mm !important;
    gap: 5mm !important;
    padding: 11mm 12mm 8mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-header {
    border-bottom: 1px solid var(--ugr-line) !important;
    padding-bottom: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-heading {
    gap: 1.6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-eyebrow {
    color: var(--ugr-teal) !important;
    font-size: 10.8pt !important;
    line-height: 1.3 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-heading h2 {
    color: var(--ugr-ink) !important;
    font-size: 27pt !important;
    line-height: 1.08 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-description {
    max-width: 158mm !important;
    color: var(--ugr-deep-teal) !important;
    font-size: 11.2pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-footer {
    border-top: 1px solid var(--ugr-line) !important;
    color: var(--ugr-teal) !important;
    font-size: 9.8pt !important;
  }

  /* Theory annexes: two complete, evenly weighted real-content cards. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-grid {
    grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-card {
    border: 1px solid var(--ugr-line) !important;
    border-left: 2mm solid var(--ugr-teal) !important;
    border-radius: 0 6mm 6mm 0 !important;
    background: var(--ugr-card) !important;
    grid-template: auto auto auto / 18mm minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 2.5mm 6mm !important;
    padding: 6mm 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-card-index {
    color: var(--ugr-gold) !important;
    grid-row: 1 / span 3 !important;
    font-size: 21pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-card h3 {
    color: var(--ugr-ink) !important;
    font-size: 19pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education :is(.ugr-annex-theory-lead, .ugr-annex-theory-lens) {
    color: var(--ugr-teal) !important;
    font-size: 11pt !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section {
    border-top: 1px solid var(--ugr-line) !important;
    grid-column: 2 !important;
    gap: 1.5mm !important;
    padding-top: 2.5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section h4 {
    color: var(--ugr-teal) !important;
    font-size: 10.7pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section p {
    color: var(--ugr-ink) !important;
    font-size: 13.2pt !important;
    line-height: 1.44 !important;
  }

  /* Resource annexes: three real recommendations, no empty lower band. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-list {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-item {
    border: 1px solid var(--ugr-line) !important;
    border-left: 2mm solid var(--ugr-teal) !important;
    border-radius: 0 6mm 6mm 0 !important;
    background: var(--ugr-card) !important;
    grid-template: auto auto 1fr / 19mm minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 2mm 5mm !important;
    padding: 6mm 7mm 6mm 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-number {
    color: var(--ugr-gold) !important;
    font-size: 22pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-purpose {
    color: var(--ugr-teal) !important;
    font-size: 11.2pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-item h3 {
    color: var(--ugr-ink) !important;
    font-size: 19pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-copy {
    color: var(--ugr-deep-teal) !important;
    font-size: 13.35pt !important;
    line-height: 1.48 !important;
  }

  /* Day 1–7: one real day per page, paper-body colors and 12pt reading copy. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-manual-list {
    grid-template-rows: minmax(0, 1fr) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card {
    border: 1px solid var(--ugr-line) !important;
    border-top: 2mm solid var(--ugr-teal) !important;
    border-radius: 6mm !important;
    background: var(--ugr-card) !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 5mm !important;
    padding: 8mm 9mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > header {
    border-bottom: 1px solid var(--ugr-line) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > header > :first-child {
    color: var(--ugr-teal) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card > header :where(span, b, em) {
    color: var(--ugr-ink) !important;
    font-size: 13.4pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > div:nth-of-type(1) > div {
    border-top: 1px solid rgba(15, 118, 110, 0.16) !important;
    grid-template-columns: 32mm minmax(0, 1fr) !important;
    align-items: center !important;
    padding: 3.2mm 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > div:nth-of-type(2) {
    border-top: 1px solid var(--ugr-line) !important;
    gap: 3mm 7mm !important;
    padding-top: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card :where(p, span, b, strong, em) {
    color: var(--ugr-deep-teal) !important;
    font-size: 13.35pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-physical-folio, .ugr-annex-index, .ugr-annex-footer > b) {
    display: none !important;
  }
}

/* Iteration 2: undo narrow-column regressions while preserving the type floor. */
@media print {
  /* Child portrait is one full-width hero; the score detail is not a second column. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    flex-direction: column !important;
    gap: 0 !important;
    height: 246mm !important;
    min-height: 246mm !important;
    display: flex !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(60mm, 0.85fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 7mm !important;
    width: 100% !important;
    height: 100% !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-copy {
    align-content: space-between !important;
    min-width: 0 !important;
    padding: 7mm 0 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-copy :where(p, li, span) {
    font-size: 12.2pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-type-visual {
    align-self: stretch !important;
    min-width: 0 !important;
    height: 100% !important;
  }

  /* Four real PBL sections: 2×2, each section owns a visible track. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    grid-template-rows: 116mm 70mm !important;
    align-content: stretch !important;
    gap: 5mm !important;
    height: 191mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-definition {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-rationale {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-action {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-observe {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body > * {
    align-content: start !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 4mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] :where(p, li, span, em) {
    font-size: 11.55pt !important;
    line-height: 1.34 !important;
  }

  /* Seven child steps need wide lines, not seven narrow vertical text columns. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 2mm 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-grid > * {
    align-content: center !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 2mm 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-card-page :where(p, li, span, em) {
    font-size: 11.2pt !important;
    line-height: 1.3 !important;
  }

  /* Restore the component's complete four-part thinking model. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] {
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 5mm !important;
    padding: 3mm 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] > * {
    min-width: 0 !important;
    min-height: 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] :where(p, li, span) {
    font-size: 11.7pt !important;
    line-height: 1.36 !important;
  }

  /* Replace the oversized floating chapter pill with a compact full-width rail. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(#ugr-chapter-parent-guide, #ugr-chapter-archive) > .ugr-page-top {
    box-sizing: border-box !important;
    flex: 0 0 14mm !important;
    width: 100% !important;
    height: 14mm !important;
    min-height: 14mm !important;
    max-height: 14mm !important;
    padding: 0 !important;
    display: flex !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(#ugr-chapter-parent-guide, #ugr-chapter-archive) > .ugr-page-top .ugr-page-title {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 14mm !important;
    min-height: 14mm !important;
    max-height: 14mm !important;
    border-radius: 4mm !important;
    padding: 2mm 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-content {
    grid-template-rows: 58mm minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 4mm !important;
    height: 246mm !important;
    min-height: 246mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-content {
    grid-template-rows: 48mm 58mm 62mm 44mm 18mm !important;
    gap: 4mm !important;
    height: 246mm !important;
    min-height: 246mm !important;
  }

  /* Theory paragraphs were still caught by a more specific legacy rule. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section p {
    color: var(--ugr-ink) !important;
    font-size: 13.2pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education :is(
      .ugr-annex-theory-lead,
      .ugr-annex-theory-lens,
      .ugr-annex-theory-section h4
    ) {
    color: var(--ugr-teal) !important;
    font-size: 11.1pt !important;
    line-height: 1.34 !important;
  }
}

/* Final physical-type lock for the PDF-only resource navigation page.
   These values compensate for the legacy page scaler so body copy lands
   near 11pt in the generated A4 document. */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-growth-pdf-resource-head span {
    font-size: 12pt !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-growth-pdf-resource-head h2 {
    font-size: 28pt !important;
    line-height: 1.12 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-growth-pdf-resource-head p {
    font-size: 14pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-number {
    font-size: 30pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-kicker {
    font-size: 14pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-card h3 {
    font-size: 24pt !important;
    line-height: 1.2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-purposes {
    font-size: 15pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-description {
    font-size: 15pt !important;
    line-height: 1.55 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-link {
    font-size: 14pt !important;
    line-height: 1.4 !important;
  }
}

/* 2026-07-28 annex v2: keep the main resource page large and navigational,
   while the complete folded content lives on full A4 appendix pages. */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board.ugr-has-annex-overview {
    grid-template-rows: auto minmax(0, 1fr) !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board.ugr-has-annex-overview
    .ugr-recommendation-accordion {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 7mm !important;
    width: 100% !important;
    min-height: 188mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-accordion.ugr-has-annex-overview {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: 188mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-card {
    box-sizing: border-box !important;
    border: 1px solid rgba(96, 108, 56, 0.48) !important;
    border-radius: 8mm !important;
    background:
      radial-gradient(circle at 88% 12%, rgba(192, 142, 58, 0.2), transparent 34mm),
      rgba(232, 220, 199, 0.78) !important;
    grid-template-rows: auto auto auto 1fr auto !important;
    align-content: stretch !important;
    gap: 5.5mm !important;
    min-width: 0 !important;
    min-height: 188mm !important;
    padding: 10mm 8mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-card-head {
    justify-content: space-between !important;
    align-items: center !important;
    display: flex !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-number {
    color: #c08e3a !important;
    font-size: 24pt !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-kicker {
    color: #606c38 !important;
    letter-spacing: 0.08em !important;
    font-size: 10.5pt !important;
    font-weight: 900 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-card h3 {
    color: #24352d !important;
    letter-spacing: -0.025em !important;
    font-size: 19.5pt !important;
    font-weight: 950 !important;
    line-height: 1.25 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-purposes {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start !important;
    gap: 3mm !important;
    color: #606c38 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11.5pt !important;
    font-weight: 850 !important;
    line-height: 1.45 !important;
    list-style: none !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-purposes li {
    border-left: 1.5mm solid rgba(192, 142, 58, 0.78) !important;
    background: rgba(255, 253, 247, 0.52) !important;
    border-radius: 0 4mm 4mm 0 !important;
    padding: 3.5mm 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-description {
    color: #31483b !important;
    font-size: 12.5pt !important;
    font-weight: 650 !important;
    line-height: 1.72 !important;
    align-self: center !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-main-resource-link {
    border-top: 1px solid rgba(96, 108, 56, 0.38) !important;
    color: #606c38 !important;
    padding-top: 5mm !important;
    font-size: 11pt !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-grid {
    grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr) !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-card {
    grid-template: auto auto auto / 18mm minmax(0, 1fr) !important;
    gap: 2mm 6mm !important;
    padding: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-card-index {
    grid-row: 1 / span 3 !important;
    font-size: 18pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-card h3 {
    font-size: 17pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-lead,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-lens {
    font-size: 10pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section {
    grid-column: 2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section h4 {
    font-size: 9.8pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-education .ugr-annex-theory-section p {
    font-size: 10.5pt !important;
    line-height: 1.55 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-footer {
    padding-right: 2mm !important;
  }
}

/* 2026-07-28: larger print type + native A4 annex pages for folded content. */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(p, li) {
    font-size: 9.5pt !important;
    line-height: 1.52 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(small, em) {
    font-size: 9pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(b, strong) {
    font-size: 10pt !important;
    line-height: 1.4 !important;
  }

  /* The main report keeps concise summaries; the full folded text moves to annex pages. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-theory-drawer > p,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-list,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-day-manual-body {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-theory-drawer {
    min-height: 12mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-theory-drawer > summary::after {
    color: #0f766e !important;
    content: "完整理论见后续理论页" !important;
    margin-left: auto !important;
    font-size: 8.8pt !important;
    font-weight: 800 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board {
    grid-template-rows: auto minmax(0, 1fr) !important;
    min-height: 246mm !important;
    padding: 8mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board > header {
    align-items: start !important;
    gap: 3mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board > header h2 {
    font-size: 24pt !important;
    line-height: 1.12 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board > header p {
    max-width: 145mm !important;
    font-size: 11pt !important;
    line-height: 1.55 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-accordion {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 7mm !important;
    min-height: 188mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer {
    border: 1px solid #8b9d83 !important;
    border-radius: 8mm !important;
    background: linear-gradient(160deg, #e8dcc7 0%, #d4b895 145%) !important;
    min-height: 188mm !important;
    padding: 9mm 7mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-card-head {
    grid-template-rows: auto auto 1fr auto !important;
    align-content: center !important;
    gap: 5mm !important;
    height: 100% !important;
    padding: 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-card-head :where(b, strong) {
    font-size: 16pt !important;
    line-height: 1.25 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-card-head :where(span, small, em) {
    font-size: 10pt !important;
    line-height: 1.45 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer:nth-child(1) > summary::after {
    content: "3 条详细推荐见后续资源页" !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer:nth-child(2) > summary::after {
    content: "3 条详细推荐见后续资源页" !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer:nth-child(3) > summary::after {
    content: "3 条详细推荐见后续资源页" !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer > summary::after {
    align-self: end !important;
    color: #606c38 !important;
    border-top: 1px solid #8b9d83 !important;
    padding-top: 4mm !important;
    font-size: 9.5pt !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-board > .ugr-annex-page {
    box-sizing: border-box !important;
    break-after: page !important;
    page-break-after: always !important;
    width: 210mm !important;
    min-width: 210mm !important;
    max-width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
    color: #24352d !important;
    background:
      radial-gradient(circle at 92% 5%, rgba(192, 142, 58, 0.18), transparent 52mm),
      radial-gradient(circle at 6% 95%, rgba(96, 108, 56, 0.14), transparent 62mm),
      linear-gradient(155deg, #e8dcc7 0%, #d4b895 135%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-shell {
    box-sizing: border-box !important;
    grid-template-rows: 40mm minmax(0, 1fr) 9mm !important;
    gap: 6mm !important;
    width: 100% !important;
    height: 100% !important;
    padding: 12mm 12mm 8mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-header {
    border-bottom: 1px solid rgba(36, 53, 45, 0.35) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0 !important;
    padding-bottom: 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-index {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-heading {
    align-content: start !important;
    gap: 1.5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-eyebrow {
    color: #606c38 !important;
    letter-spacing: 0.08em !important;
    font-size: 9pt !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-heading h2 {
    color: #24352d !important;
    letter-spacing: -0.035em !important;
    font-size: 24pt !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-description {
    max-width: 138mm !important;
    color: #435649 !important;
    font-size: 9.5pt !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-body {
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-footer {
    border-top: 1px solid rgba(36, 53, 45, 0.35) !important;
    justify-content: flex-start !important;
    align-items: end !important;
    padding-top: 2mm !important;
    font-size: 8.5pt !important;
    display: flex !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-physical-folio, .ugr-annex-footer > b) {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-grid {
    grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)) !important;
    gap: 5mm !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-card {
    border: 1px solid rgba(96, 108, 56, 0.42) !important;
    border-radius: 7mm !important;
    background: rgba(232, 220, 199, 0.72) !important;
    grid-template-rows: auto auto auto auto 1fr auto !important;
    align-content: start !important;
    gap: 2mm !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 5mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-card-index {
    color: #c08e3a !important;
    font-size: 9pt !important;
    font-weight: 950 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-card h3 {
    color: #24352d !important;
    font-size: 15pt !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-lead,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-lens {
    color: #606c38 !important;
    font-size: 9pt !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-section {
    border-top: 1px solid rgba(96, 108, 56, 0.28) !important;
    align-content: start !important;
    gap: 1.5mm !important;
    padding-top: 2.5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-section h4 {
    color: #606c38 !important;
    font-size: 9pt !important;
    font-weight: 900 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-section p {
    color: #24352d !important;
    font-size: 9.7pt !important;
    line-height: 1.52 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-list {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 6mm !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-item {
    border-left: 2mm solid #606c38 !important;
    border-radius: 0 7mm 7mm 0 !important;
    background: rgba(232, 220, 199, 0.76) !important;
    grid-template: auto auto 1fr / 20mm minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 2mm 6mm !important;
    min-height: 0 !important;
    padding: 7mm 9mm 7mm 6mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-number {
    color: #c08e3a !important;
    grid-row: 1 / span 3 !important;
    font-size: 22pt !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-purpose {
    color: #606c38 !important;
    font-size: 10pt !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-item h3 {
    color: #24352d !important;
    font-size: 18pt !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-copy {
    color: #35483c !important;
    font-size: 11pt !important;
    line-height: 1.58 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-list {
    gap: 5mm !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-3 .ugr-annex-manual-list {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-2 .ugr-annex-manual-list {
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-manual-list {
    grid-template-rows: minmax(0, 1fr) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card {
    border: 1px solid rgba(96, 108, 56, 0.42) !important;
    border-radius: 6mm !important;
    background: rgba(232, 220, 199, 0.76) !important;
    grid-template-rows: auto auto 1fr !important;
    gap: 2.5mm !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 4.5mm 5mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > header {
    border-bottom: 1px solid rgba(96, 108, 56, 0.28) !important;
    grid-template-columns: 22mm minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 4mm !important;
    padding-bottom: 2mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > header :where(span, b, em) {
    color: #24352d !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > header > :first-child {
    color: #606c38 !important;
    font-weight: 950 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > div:nth-of-type(1) {
    border: 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > div:nth-of-type(1) > div {
    border-top: 1px solid rgba(96, 108, 56, 0.18) !important;
    grid-template-columns: 27mm minmax(0, 1fr) !important;
    gap: 3mm !important;
    padding: 1.2mm 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card > div:nth-of-type(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-content: start !important;
    gap: 1.2mm 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-day-card :where(p, span, b, strong, em) {
    color: #35483c !important;
    font-size: 9.5pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-2 .ugr-annex-day-card :where(p, span, b, strong, em) {
    font-size: 10pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card {
    gap: 5mm !important;
    padding: 8mm 9mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card > header {
    padding-bottom: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card > header :where(span, b, em) {
    font-size: 12pt !important;
    line-height: 1.45 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card > div:nth-of-type(1) > div {
    grid-template-columns: 31mm minmax(0, 1fr) !important;
    padding: 3mm 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card > div:nth-of-type(2) {
    gap: 3mm 8mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card :where(p, span, b, strong, em) {
    font-size: 11pt !important;
    line-height: 1.58 !important;
  }
}

/*
 * Readability pass: use real page content to fill the printable sheet and keep
 * parent-facing copy comfortably readable at normal A4 viewing distance.
 */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover)
    .ugr-page-content :where(p, li, dd, blockquote, td) {
    font-size: 8.5pt !important;
    line-height: 1.5 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover)
    .ugr-page-content :where(small, dt, figcaption, label) {
    font-size: 7.5pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover)
    .ugr-page-content :where(article, section, div) > :where(b, strong) {
    font-size: 9pt !important;
    line-height: 1.35 !important;
  }

  /* Directory: turn the thin horizontal index into six readable modules. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(27mm, 1fr) !important;
    align-self: stretch !important;
    align-content: center !important;
    gap: 4mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list > * {
    align-content: center !important;
    min-height: 27mm !important;
    padding: 4mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory :where(h2, .ugr-directory-title) {
    font-size: 27pt !important;
    line-height: 1.18 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list :where(b, strong) {
    font-size: 10pt !important;
  }

  /* Child profile: top portrait story + bottom safe observation directions. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child > .ugr-page-content {
    box-sizing: border-box !important;
    height: 270mm !important;
    min-height: 270mm !important;
    padding-top: 3mm !important;
    padding-bottom: 3mm !important;
    display: block !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-layout,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 264mm !important;
    min-height: 264mm !important;
    margin: 0 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    grid-template-rows: 264mm !important;
    align-content: stretch !important;
    gap: 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-hero {
    box-sizing: border-box !important;
    height: 264mm !important;
    min-height: 264mm !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(58mm, .75fr) !important;
    align-items: stretch !important;
    gap: 8mm !important;
    padding: 10mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-copy {
    grid-template-rows: auto 48mm 72mm 60mm !important;
    align-content: center !important;
    gap: 6mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-copy > h2 {
    font-size: 30pt !important;
    line-height: 1.18 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child :is(
      .ugr-cover-type-name,
      .ugr-cover-type-name strong,
      .ugr-cover-type b
    ) {
    font-size: 24pt !important;
    line-height: 1.15 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-type-visual,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-type-visual img {
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-feature-grid,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-compact-summary {
    align-items: stretch !important;
    gap: 3mm !important;
    height: 100% !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child :is(
      .ugr-cover-feature-grid,
      .ugr-cover-compact-summary
    ) > * {
    align-content: center !important;
    height: 100% !important;
    padding: 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-feature-grid p,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-compact-summary p,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-type-insight {
    font-size: 10pt !important;
    line-height: 1.5 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-score {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-score > .ugr-peer-score-head,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-score > p {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 3mm !important;
    margin: 0 !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-card {
    align-content: center !important;
    min-height: 0 !important;
    padding: 4mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-card :where(p, span, em),
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-peer-rationale p {
    font-size: 8.8pt !important;
    line-height: 1.45 !important;
  }

  /* Motivation pages: continuous headline -> evidence -> action tracks. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-strength-page {
    grid-template-rows: auto 88mm 60mm 48mm !important;
    align-content: stretch !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-strength-visual {
    min-height: 88mm !important;
    padding: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-activation-conditions {
    align-items: stretch !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-activation-conditions > * {
    align-content: center !important;
    padding: 5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-parent-action {
    align-content: center !important;
    min-height: 48mm !important;
    padding: 7mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment :is(
      .motivation-editorial-head p,
      .motivation-activation-conditions p,
      .motivation-parent-action p,
      .motivation-parent-action span
    ) {
    font-size: 9pt !important;
    line-height: 1.5 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-parent-action,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-parent-action * {
    color: #fffdf8 !important;
    -webkit-text-fill-color: #fffdf8 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-parent-action :where(b, em) {
    color: #f0c978 !important;
    -webkit-text-fill-color: #f0c978 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-page {
    grid-template-rows: auto 58mm 78mm auto auto !important;
    align-content: stretch !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-cause-map {
    align-items: stretch !important;
    min-height: 58mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-cause-map > *,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-reading > * {
    align-content: center !important;
    padding: 4mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-reading {
    min-height: 78mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-page :where(p, span, li) {
    font-size: 8.8pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-boundary-note :where(p, span, strong) {
    color: #fffdf8 !important;
    -webkit-text-fill-color: #fffdf8 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-boundary-note :where(b, em) {
    color: #f0c978 !important;
    -webkit-text-fill-color: #f0c978 !important;
  }

  /* Educator discussion: larger 2x2 cards rather than tiny copy in the corners. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-expert-opinion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card {
    align-content: start !important;
    gap: 3mm !important;
    padding: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card :where(p, li) {
    font-size: 8.3pt !important;
    line-height: 1.48 !important;
  }

  /* Growth pages: retain the image-led hierarchy but raise real reading sizes. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-page :where(p, li) {
    font-size: 8.5pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page :where(p, li) {
    font-size: 8pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-list > * {
    align-content: center !important;
    gap: 2mm !important;
    padding: 3mm !important;
  }

  /* PBL overview: use the page width before reducing the font. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] {
    grid-template-rows: 43mm minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-hero {
    align-content: center !important;
    min-height: 43mm !important;
    padding: 6mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
    height: 197mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-definition {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-rationale {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-strength-contrast {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-action {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-brief-observe {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body > * {
    box-sizing: border-box !important;
    align-content: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 5mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] :where(p, li, span) {
    font-size: 8.3pt !important;
    line-height: 1.45 !important;
  }

  /* Seven-day route and child card: readable 4+3 rows on both halves. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 2mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] .pbl-route-map-step {
    align-content: center !important;
    min-height: 0 !important;
    padding: 2.5mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action :is(
      [data-testid="pbl-seven-day-route-page"],
      .pbl-child-task-card-page
    ) :where(p, li, span, em) {
    font-size: 7.8pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-grid > * {
    align-content: center !important;
    padding: 3mm !important;
    display: grid !important;
  }

  /* Thinking page. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] :where(p, li, span) {
    font-size: 8.4pt !important;
    line-height: 1.47 !important;
  }

  /* Parent guide: keep the component's own compact hierarchy, only raise type. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-top {
    box-sizing: border-box !important;
    flex: 0 0 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: none !important;
    box-shadow: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-top .ugr-page-title {
    box-sizing: border-box !important;
    width: fit-content !important;
    height: 10mm !important;
    min-height: 10mm !important;
    max-height: 10mm !important;
    color: #fffdf8 !important;
    -webkit-text-fill-color: #fffdf8 !important;
    background: #0f766e !important;
    border: 0 !important;
    border-radius: 4mm !important;
    align-items: center !important;
    gap: 2mm !important;
    padding: 2mm 5mm !important;
    display: inline-flex !important;
    box-shadow: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-content {
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) !important;
    align-content: stretch !important;
    gap: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide .ugr-parent-guide-core {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    align-items: start !important;
    align-content: center !important;
    gap: 3mm !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5mm !important;
    display: grid !important;
    overflow: visible !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide .ugr-parent-goal-inline {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 3mm !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 3mm 4mm !important;
    display: grid !important;
    overflow: visible !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide :where(p, li, span, em) {
    font-size: 7.8pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide :where(b, strong) {
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
  }

  /* Day7 and archive: raise supporting copy and close accidental gaps. */
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-evidence-dashboard :where(p, li, span) {
    font-size: 8.4pt !important;
    line-height: 1.46 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-top {
    box-sizing: border-box !important;
    flex: 0 0 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: none !important;
    box-shadow: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-top .ugr-page-title {
    box-sizing: border-box !important;
    width: fit-content !important;
    height: 10mm !important;
    min-height: 10mm !important;
    max-height: 10mm !important;
    color: #fffdf8 !important;
    -webkit-text-fill-color: #fffdf8 !important;
    background: #0f766e !important;
    border: 0 !important;
    border-radius: 4mm !important;
    align-items: center !important;
    gap: 2mm !important;
    padding: 2mm 5mm !important;
    display: inline-flex !important;
    box-shadow: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-content {
    grid-template-rows: 10mm 72mm 72mm 72mm 20mm !important;
    align-content: center !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-content::before {
    align-self: start !important;
    height: 10mm !important;
    min-height: 10mm !important;
    max-height: 10mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive :is(
      .ugr-archive-compact-hero,
      .ugr-day7-contract,
      .ugr-archive-compact-grid,
      .ugr-boundary-note
    ) {
    align-content: center !important;
    min-height: 0 !important;
    padding: 6mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive .ugr-archive-compact-grid {
    align-content: stretch !important;
    height: 100% !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive .ugr-boundary-note :where(p, span, small) {
    font-size: 8pt !important;
    line-height: 1.45 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive :where(p, li, span) {
    font-size: 8.5pt !important;
    line-height: 1.48 !important;
  }
}

/* Final cascade: paper-readable main pages and concise fold summaries. */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(p, li) {
    font-size: 9.5pt !important;
    line-height: 1.52 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(small, em) {
    font-size: 9pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(.ugr-annex-page) :where(b, strong) {
    font-size: 10pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-theory-drawer > p,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-list,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-day-manual-body {
    display: none !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board {
    grid-template-rows: auto minmax(0, 1fr) !important;
    min-height: 246mm !important;
    padding: 8mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board > header h2 {
    font-size: 24pt !important;
    line-height: 1.12 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-recommendation-board > header p {
    font-size: 11pt !important;
    line-height: 1.55 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-accordion {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 7mm !important;
    min-height: 188mm !important;
    display: grid !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-drawer {
    border: 1px solid #8b9d83 !important;
    border-radius: 8mm !important;
    background: linear-gradient(160deg, #e8dcc7 0%, #d4b895 145%) !important;
    min-height: 188mm !important;
    padding: 9mm 7mm !important;
    display: grid !important;
    overflow: hidden !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-recommendation-card-head {
    grid-template-rows: auto auto 1fr auto !important;
    align-content: center !important;
    gap: 5mm !important;
    height: 100% !important;
    padding: 0 !important;
    display: grid !important;
  }
}

@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-purposes > li {
    font-size: 15pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-card > .ugr-main-resource-description {
    font-size: 15pt !important;
    line-height: 1.55 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-card > .ugr-main-resource-link {
    font-size: 14pt !important;
    line-height: 1.4 !important;
  }
}

/* Final cascade lock — must remain the final rules in this stylesheet. */
@media print {
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"] {
    --ugr-paper: #fbf8f1;
    --ugr-card: #ffffff;
    --ugr-ink: #0a2f50;
    --ugr-deep-teal: #093b38;
    --ugr-teal: #0f766e;
    --ugr-gold: #c08e3a;
    --ugr-line: rgba(15, 118, 110, 0.28);
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(p, li, dd, blockquote, td) {
    font-size: 13.2pt !important;
    line-height: 1.46 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(small, dt, figcaption, label) {
    font-size: 10.7pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-page:not(#ugr-report-front-cover):not(#ugr-report-back-cover):not(.ugr-annex-page)
    .ugr-page-content :where(b, strong) {
    font-size: 13.5pt !important;
    line-height: 1.36 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-page {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 10mm !important;
    padding: 18mm 16mm 16mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
    height: 142mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-directory .ugr-directory-list > * {
    align-content: center !important;
    min-height: 0 !important;
    padding: 5mm 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-card {
    grid-template-columns: minmax(57mm, 0.8fr) minmax(0, 1.2fr) !important;
    grid-template-rows: minmax(0, 1fr) 32mm !important;
    gap: 7mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-report-one-page-conclusion .ugr-one-conclusion-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-cover-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(56mm, 0.8fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 7mm !important;
    height: 246mm !important;
    min-height: 246mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 5mm !important;
    min-height: 102mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-child .ugr-authority-card :where(p, span, em, b, strong) {
    font-size: 12.4pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-strength-page {
    grid-template-rows: auto minmax(0, 1fr) 48mm !important;
    gap: 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment .motivation-barrier-page {
    grid-template-rows: auto 62mm minmax(0, 1fr) 48mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-assessment :is(
      .motivation-strength-visual,
      .motivation-parent-action,
      .motivation-cause-map,
      .motivation-barrier-reading
    ) :where(p, li, span) {
    font-size: 12.6pt !important;
    line-height: 1.43 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-engine-intro {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-expert-opinion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-educators .ugr-educator-avatar-card :where(p, li, span, summary) {
    font-size: 12.25pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-page {
    grid-template-rows: 78mm 48mm minmax(0, 1fr) 24mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-main-page :where(p, li, span) {
    font-size: 12.6pt !important;
    line-height: 1.42 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-growth .ugr-growth-pdf-resource-page.ugr-has-annex-overview
    .ugr-main-resource-card {
    border-color: var(--ugr-line) !important;
    background: var(--ugr-card) !important;
    grid-template-rows: auto auto auto auto auto !important;
    align-content: space-between !important;
    gap: 4mm !important;
    padding: 8mm 6mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] {
    grid-template-rows: 50mm minmax(0, 1fr) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] .pbl-brief-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 4mm !important;
    height: 191mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-project-overview-page"] :where(p, li, span, em) {
    font-size: 12.2pt !important;
    line-height: 1.38 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .is-project-manual {
    grid-template-rows: 104mm 137mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="pbl-seven-day-route-page"] {
    height: 104mm !important;
    min-height: 104mm !important;
    max-height: 104mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action .pbl-child-task-card-page {
    height: 137mm !important;
    min-height: 137mm !important;
    max-height: 137mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action :is(
      [data-testid="pbl-seven-day-route-page"],
      .pbl-child-task-card-page
    ) :where(p, li, span, em) {
    font-size: 12.05pt !important;
    line-height: 1.34 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] {
    grid-template-rows: auto 60mm minmax(0, 1fr) 40mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-action [data-testid="thinking-training-card"] :where(p, li, span) {
    font-size: 12.35pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide > .ugr-page-content {
    grid-template-rows: 64mm minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-parent-guide :where(p, li, span, em) {
    font-size: 12.35pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-evidence-dashboard {
    grid-template-rows: auto minmax(0, 1fr) 72mm 34mm !important;
    gap: 5mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-navigator .ugr-day7-evidence-dashboard :where(p, li, span) {
    font-size: 12.45pt !important;
    line-height: 1.4 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive > .ugr-page-content {
    grid-template-rows: 54mm 62mm 68mm 48mm 18mm !important;
    gap: 4mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    #ugr-chapter-archive :where(p, li, span, small) {
    font-size: 12.2pt !important;
    line-height: 1.36 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-board > .ugr-annex-page {
    color: var(--ugr-ink) !important;
    background:
      linear-gradient(90deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px) 0 0 / 14mm 14mm,
      var(--ugr-paper) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-shell {
    grid-template-rows: 44mm minmax(0, 1fr) 10mm !important;
    gap: 5mm !important;
    padding: 11mm 12mm 8mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-header,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-footer {
    border-color: var(--ugr-line) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-eyebrow,
  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-footer {
    color: var(--ugr-teal) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-heading h2 {
    color: var(--ugr-ink) !important;
    font-size: 27pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-description {
    color: var(--ugr-deep-teal) !important;
    font-size: 11.2pt !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-annex-theory-card, .ugr-annex-resource-item, .ugr-annex-day-card) {
    border-color: var(--ugr-line) !important;
    background: var(--ugr-card) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-annex-theory-card, .ugr-annex-resource-item) {
    border-left-color: var(--ugr-teal) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-annex-card-index, .ugr-annex-resource-number) {
    color: var(--ugr-gold) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-annex-theory-card h3, .ugr-annex-resource-item h3) {
    color: var(--ugr-ink) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-annex-theory-lead, .ugr-annex-theory-lens, .ugr-annex-theory-section h4, .ugr-annex-resource-purpose) {
    color: var(--ugr-teal) !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-theory-section p {
    color: var(--ugr-ink) !important;
    font-size: 13.2pt !important;
    line-height: 1.44 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-resource-copy {
    color: var(--ugr-deep-teal) !important;
    font-size: 13.35pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card {
    border-top-color: var(--ugr-teal) !important;
    background: var(--ugr-card) !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 5mm !important;
    padding: 8mm 9mm !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    .ugr-annex-manual-count-1 .ugr-annex-day-card :where(p, span, b, strong, em) {
    color: var(--ugr-deep-teal) !important;
    font-size: 13.35pt !important;
    line-height: 1.48 !important;
  }

  :is(html[data-report-export-mode="document"], html[data-pdf-export="document"])
    body #root .ugr-root[data-report-layout="legacy16"]
    :is(.ugr-physical-folio, .ugr-annex-index, .ugr-annex-footer > b) {
    display: none !important;
  }
}
