/* Learner navigation: internal review states are never rendered. */
.curriculum-page .course-top { margin-bottom: 32px; }
.curriculum-page .course-top h1 { font-size: 42px; }
.curriculum-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 40px; align-items: start; }
.age-navigation { display: grid; gap: 5px; }
.stage-picker { display: none; }
.age-navigation > a { display: flex; min-height: 56px; gap: 12px; align-items: center; border-radius: 9px; padding: 12px 14px; font-size: 14px; color: var(--body); }
.age-navigation > a > span { font-family: Georgia,serif; font-size: 17px; color: var(--muted); }
.age-navigation small { display: block; font-size: 12px; margin-top: 3px; color: var(--muted); }
.age-navigation > a[aria-current] { background: var(--green); color: var(--paper); }
.age-navigation > a[aria-current] small,.age-navigation > a[aria-current] > span { color: var(--paper); opacity: .8; }
.curriculum-stage > header { padding-bottom: 25px; }
.curriculum-stage h2 { font-size: 25px; margin: 8px 0 12px; }
.curriculum-stage header p { color: var(--body); font-size: 14px; max-width: 780px; line-height: 1.9; }
.curriculum-unit { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.unit-overview { display: flex; align-items: center; gap: 18px; padding: 22px; }
.unit-order { flex-shrink: 0; color: var(--orange); font-family: Georgia,serif; font-size: 21px; }
.unit-heading { flex: 1; min-width: 0; }
.unit-heading h3 { font-size: 17px; font-weight: 600; margin: 0; line-height: 1.6; }
.unit-heading p { font-size: 14px; color: var(--body); margin: 6px 0 0; line-height: 1.8; }
.course-start { flex-shrink: 0; min-height: 48px; white-space: nowrap; }
.course-details { border-top: 1px solid var(--line); }
.course-details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; font-size: 13px; color: var(--body); cursor: pointer; list-style: none; }
.course-details summary::-webkit-details-marker { display: none; }
.course-details summary::after { content: '+'; font-size: 20px; color: var(--muted); }
.course-details[open] summary::after { content: '−'; }
.unit-design { padding: 0 22px 16px; }
.unit-design p { font-size: 14px; color: var(--body); line-height: 1.9; margin: 12px 0; }
.unit-design b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; }
.curriculum-stage[data-age="p12"] .curriculum-unit { border-radius: 20px; }
.curriculum-stage[data-age="p12"] .unit-heading h3 { font-size: 19px; }
@media (max-width: 1000px) {
  .curriculum-layout { grid-template-columns: 190px minmax(0,1fr); gap: 24px; }
  .unit-overview { flex-wrap: wrap; gap: 12px; padding: 18px; }
  .unit-heading { flex-basis: calc(100% - 48px); }
  .course-start { margin-left: auto; }
}
@media (max-width: 600px) {
  .curriculum-page .course-top h1 { font-size: 34px; }
  .curriculum-layout { grid-template-columns: 1fr; gap: 24px; }
  .age-navigation { display: none; }
  .stage-picker { display: grid; gap: 8px; margin-bottom: 24px; color: var(--body); font-size: 13px; }
  .stage-picker select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); color: var(--green); font-size: 15px; }
  .curriculum-stage h2 { font-size: 23px; }
  .course-start { width: 100%; justify-content: center; }
}
