/* Content typography and supporting records for the student iHP narrative.
   The original interactive charts and cycle layout live in hp-cycles.css. */
.student-ihp-page .student-ihp { overflow-wrap: anywhere; }
.student-ihp-page .student-ihp > section[id^="stage-"] {
  padding-top: 2.2rem;
  border-top: 2px solid var(--ui-border);
}
.student-ihp-page .student-ihp > section[id^="stage-"] > h2 {
  max-width: 48rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}
.student-ihp-page .hp-cycle__body .student-ihp-step-title {
  margin: 0 0 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-accent);
  font: 600 .87rem/1.6 var(--font-nav);
  letter-spacing: .025em;
}
.student-ihp-page .hp-cycle__body .science-card > :last-child { margin-bottom: 0; }
.student-ihp-page .student-ihp-records {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--ui-border);
}
.student-ihp-page .student-ihp-record-context { margin: 1.5rem 0; }
.student-ihp-page .student-ihp-records > section { margin-bottom: 3rem; }
.student-ihp-page .student-ihp-evidence-note { margin-block: 1.5rem; }
@media (max-width: 760px) {
  .student-ihp-page .student-ihp > section[id^="stage-"] > h2 { font-size: 1.7rem; }
}
@media print {
  .student-ihp-page .hp-cycle__title,
  .student-ihp-page .student-ihp-step-title { break-after: avoid; }
}