/* R17: typography and spacing only. Six existing modules, content, charts and controls are unchanged. */
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 {
  --r17-heading: 28px; --r17-panel: 18px; --r17-center: 20px; --r17-number: 36px;
  line-height: 1.5;
}
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .cd-heading h1 { font-size: var(--r17-heading); line-height: 1.3; font-weight: 600; letter-spacing: .03em; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-panel-heading h2,
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-quality .rd-panel-heading h2 { font-size: var(--r17-panel); line-height: 1.4; font-weight: 600; letter-spacing: 0; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-disciplines .rd-panel-heading h2 { font-size: var(--r17-center); line-height: 1.4; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-development .rd-panel-heading h2 { font-size: 14px; line-height: 20px; font-weight: 500; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-development .rd-hero-counts strong { font-size: var(--r17-number); line-height: 1.05; font-weight: 600; font-variant-numeric: tabular-nums; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-hero-counts button { row-gap: 3px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key { gap: 8px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key button { column-gap: 8px; align-items: baseline; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key strong { font-size: 18px; line-height: 22px; font-weight: 600; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key small { grid-column: 2; text-align: right; line-height: 20px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-quality-detail button:first-child b { font-size: 18px; line-height: 24px; font-weight: 600; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-school-legend { column-gap: 8px; row-gap: 4px; line-height: 20px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-school-legend > span { display: inline-flex; align-items: center; gap: 4px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-school-values { font-variant-numeric: tabular-nums; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-subject-ledger b,
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-mosaic-stage-heading b { font-weight: 600; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-mosaic-cell-inner { row-gap: 2px; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-mosaic-cell-inner b { font-weight: 600; }
#root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-structure-hint { line-height: 22px; }
@container (min-width: 1450px) {
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 { --r17-heading: 32px; --r17-panel: 20px; --r17-center: 22px; --r17-number: 40px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-development .rd-panel-heading h2 { font-size: 16px; line-height: 22px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key strong { font-size: 22px; line-height: 26px; }
}
@container (max-width: 1050px) {
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 { --r17-heading: 26px; --r17-panel: 16px; --r17-center: 18px; --r17-number: 30px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key { gap: 4px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key strong { font-size: 16px; line-height: 20px; }
}
@media (max-height: 820px) {
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 { --r17-heading: 26px; --r17-panel: 16px; --r17-center: 18px; --r17-number: 30px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-key { gap: 4px; }
}
/* Preserve all six panels on screen. Compact windows scroll only local panel content. */
@media (min-width: 1024px) and (max-height: 760px) {
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen { padding: 8px; gap: 7px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-quality { grid-template-rows: auto minmax(60px,1fr) auto; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-award-composition { height: 64px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7 .rd-quality-detail button:first-child b { font-size: 16px; line-height: 20px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) :is(.rd-quality,.rd-people,.rd-schools,.rd-topics) { overflow-y: auto; overscroll-behavior-y: contain; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) .rd-school-comparison { min-height: 56px; flex: none; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) .rd-cohort-landscape { min-height: 86px; flex: none; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) .rd-topic-list { min-height: 80px; flex: none; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) .rd-discipline-views { overflow-y: auto; overscroll-behavior-y: contain; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7:not(.erc-fullscreen) .rd-matrix-view { min-height: 260px; flex: none; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-panel:not(.rd-development) { padding: 6px; gap: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-panel-heading { min-height: 24px; padding-bottom: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-award-key button { grid-template-columns: minmax(0,1fr) auto auto; column-gap: 4px; min-height: 20px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-award-key span { grid-column: 1; grid-row: 1; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-award-key strong { grid-column: 2; grid-row: 1; font-size: 16px; line-height: 20px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-award-key small { display: block; grid-column: 3; grid-row: 1; font-size: 14px; line-height: 20px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-count strong { font-size: 24px; line-height: 24px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-count > span { line-height: 18px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-school-comparison { min-height: 26px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-cohort-landscape { gap: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-cohort-landscape > button { position: relative; grid-template-rows: 20px; min-height: 20px; gap: 0 4px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-cohort-column { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-cohort-column i { height: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-continuity { padding-top: 2px !important; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-topic-list { gap: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-topic-list > button { min-height: 20px; padding: 0 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-topic-pair { padding-top: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-topic-actions { padding-top: 2px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-topic-actions > button { min-height: 20px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-structure-figure { gap: 6px; }
  #root .app-shell .executive-cockpit.institutional-cockpit-designed.research-screen-v7.erc-fullscreen .rd-panel .rd-mosaic-stage-heading { height: 46px; min-height: 46px; padding: 0; }
}
