.course-sidebar { position: sticky; top: 14px; max-height: calc(100dvh - 28px); display: flex; flex-direction: column; gap: 12px; padding: 0; min-width: 0; }
.chapter-picker { position: relative; flex: 0 0 auto; min-height: 0; border: 1px solid #d9d3ed; border-radius: 11px; background: #fff; overflow: visible; }
.chapter-picker > summary { padding: 12px; cursor: pointer; list-style-position: inside; }
.chapter-picker > summary strong { display: block; margin-top: 3px; font-size: 15px; color: #342765; }
.nav-eyebrow { color: #64577d; font-size: 12px; }
.chapter-options { position: absolute; z-index: 12; top: calc(100% - 2px); left: -1px; right: -1px; max-height: min(48dvh, 430px); overflow-y: auto; padding: 5px 7px 8px; overscroll-behavior: contain; border: 1px solid #d9d3ed; border-radius: 0 0 11px 11px; background: white; box-shadow: 0 12px 20px #2520371a; }
.chapter-options a, .chapter-planned { display: grid; gap: 1px; padding: 9px; border-radius: 7px; text-decoration: none; color: #30394b; }
.chapter-options a:hover, .chapter-options a[aria-current] { background: #efebff; color: #4a3393; }
.chapter-options span, .chapter-options small { font-size: 11px; color: #606a7c; }
.chapter-options b { font-size: 13px; font-weight: 650; }
.chapter-planned { color: #667084; }
.lesson-picker { display: flex; flex-direction: column; min-height: 0; }
.lesson-picker > summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; font-size: 12px; color: #5a6274; padding: 0 5px 7px; cursor: pointer; }
.lesson-picker > summary b { display: none; }
.nav-mobile-hint { display: none; }
.course-sidebar #lesson-route { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; min-height: 0; max-height: calc(100dvh - 355px); overflow-y: auto; overscroll-behavior: contain; padding-right: 3px; margin: 0; }
.course-sidebar .nav-button { padding: 9px 7px; font-size: 13px; grid-template-columns: 27px minmax(0,1fr); gap: 8px; line-height: 1.5; }
.course-sidebar .nav-button b { font-weight: 650; }
.course-sidebar .nav-button small { display: block; font-size: 11px; margin-top: 3px; }
.course-sidebar .nav-button .number { height: 26px; width: 26px; }
.course-progress { border-top: 1px solid #dce0e9; padding: 10px 5px 0; font-size: 12px; color: #555f72; }
.course-progress small { display: block; margin-top: 5px; font-size: 11px; }
.course-progress progress { appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: #dfd9ed; }
.course-progress progress::-webkit-progress-bar { background: #dfd9ed; }
.course-progress progress::-webkit-progress-value { background: #6245c4; border-radius: 99px; }
.course-progress progress::-moz-progress-bar { background: #6245c4; }
.overview-layout main:focus { outline: none; }
.course-sidebar .legacy-link { padding: 0 5px; font-size: 12px; }
.nav-note { margin: 0 5px; color: #657084; font-size: 11px; }
.course-return { color: #493797; font-size: 13px; font-weight: 650; }
.course-link-button { display: inline-block; padding: 6px 10px; border: 1px solid #c9bfeb; border-radius: 7px; color: #4a3394; background: #f4f0ff; text-decoration: none; font-size: 13px; }
@media (max-width: 715px) {
  .course-sidebar { position: static; max-height: none; gap: 8px; margin-bottom: 12px; }
  .chapter-picker > summary { padding: 9px 12px; }
  .chapter-picker > summary strong { font-size: 14px; }
  .chapter-picker { overflow: visible; }
  .lesson-picker { background: white; border: 1px solid #dce0e9; border-radius: 9px; }
  .lesson-picker > summary { padding: 9px 12px; }
  .lesson-picker > summary b { display: inline; flex: 1; font-weight: 600; min-width: 0; }
  .nav-mobile-hint { display: inline; color: #62449d; }
  .course-sidebar #lesson-route { max-height: 45dvh; padding: 0 8px 8px; }
  .course-sidebar .nav-button { display: grid; flex-direction: row; text-align: left; align-items: start; }
  .course-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 0 2px; border: 0; }
  .course-progress progress { width: 90px; margin: 0; }
  .course-progress small { display: none; }
  .course-sidebar > .legacy-link, .course-sidebar > .nav-note { display: none; }
}
