.course-path-panel {
  min-width: 0;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid #d7e2d9;
  border-radius: 12px;
  background: #fff;
  color: #203529;
  text-align: start;
  overflow-wrap: anywhere;
}
.course-path-panel * {box-sizing: border-box;}
.course-path-panel .course-path-header {padding: 14px 16px; background: #edf4ed;}
.course-path-panel .course-path-label {color: #466753; font-size: 12px; font-weight: 600;}
.course-path-panel .course-path-header h2 {margin: 4px 0; color: #193b30; font-size: 18px; line-height: 1.35;}
.course-path-panel .course-path-header h2 a,
.course-path-panel .course-path-others a {display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; color: inherit; font: inherit;}
.course-path-panel .course-path-header h2 a {text-decoration: none;}
.course-path-panel .course-path-header h2 a:hover {text-decoration: underline;}
.course-path-panel .course-path-header p {margin: 0; color: #41594a; font-size: 13px; line-height: 1.45;}
.course-path-panel .course-path-header .course-path-current {margin-top: 7px; font-weight: 600;}
.course-path-panel .course-path-status {color: #506056; font-size: 12px; font-weight: 500;}
.course-path-panel .course-path-current .course-path-status {display: block;}
.course-path-panel .course-path-status[data-status="completed"] {color: #21623a; font-weight: 700;}
.course-path-panel .course-path-status[data-status="not_enrolled"] {color: #735020;}
.course-path-panel .course-path-progress {margin-top: 10px;}
.course-path-panel .course-path-progress label {display: block; margin: 0 0 4px; color: #294b38; font-size: 12px; font-weight: 600;}
.course-path-panel .course-path-progress progress {display: block; width: 100%; height: 6px; margin: 0; overflow: hidden; border: 0; border-radius: 6px; background: #d4e1d5; accent-color: #286445; appearance: none;}
.course-path-progress progress::-webkit-progress-bar {background: #d4e1d5;}
.course-path-progress progress::-webkit-progress-value {background: #286445;}
.course-path-progress progress::-moz-progress-bar {background: #286445;}
.course-path-panel:has(.course-path-sequence[open]) [data-current-in-sequence] {display: none;}
.course-path-panel > details {margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff;}
.course-path-panel summary {min-height: 42px; padding: 11px 15px; cursor: pointer; color: #294b38; font-size: 13px; font-weight: 600; line-height: 1.5;}
.course-path-panel .course-path-sequence ol {max-height: 17rem; overflow-y: auto; overscroll-behavior-y: contain; margin: 0; padding: 0; list-style: none;}
.course-path-panel .course-path-sequence li {margin: 0; padding: 0; list-style: none;}
.course-path-panel .course-path-sequence li a {
  display: flex; align-items: center; gap: 9px;
  min-height: 48px; margin: 0; padding: 6px 12px;
  border: 0; border-inline-start: 3px solid transparent; border-radius: 0;
  color: #25362d; text-decoration: none;
}
.course-path-panel .course-path-sequence li a:hover {background: #f5f8f4;}
.course-path-panel .course-path-sequence .is-current a {background: #eaf2e8; border-inline-start-color: #286445;}
.course-path-panel .course-path-number {min-width: 1.2em; text-align: center; color: #53695b; font-size: 13px; font-variant-numeric: tabular-nums;}
.course-path-panel .course-path-sequence img {width: 58px; height: 34px; object-fit: cover; border-radius: 5px; flex: none;}
.course-path-panel .course-path-name {min-width: 0; font-size: 14px; line-height: 1.35; font-weight: 600;}
.course-path-panel .course-path-name small,
.course-path-panel .course-path-next small {display: block; color: #396247; font-size: 12px; line-height: 1.4; font-weight: 500;}
.course-path-panel > a.course-path-next {display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin: 0; padding: 10px 15px; border: 0; border-top: 1px solid #e5eae4; border-radius: 0; color: #214732; text-decoration: none; line-height: 1.4;}
.course-path-panel .course-path-next strong {font-size: 14px; font-weight: 600;}
.course-path-panel .course-path-next:hover strong {text-decoration: underline;}
.course-path-panel .course-path-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 8px 14px; border-top: 1px solid #e5eae4;}
.course-path-panel .course-path-actions a {display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0; border: 0; color: #294f38; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;}
.course-path-panel .course-path-actions .course-path-bundle {padding: 0 12px; border-radius: 7px; color: #fff; background: #214a37; text-decoration: none;}
.course-path-panel .course-path-actions .course-path-bundle:hover {background: #153b29;}
.course-path-panel > .course-path-others {border-top: 1px solid #e5eae4;}
.course-path-panel .course-path-others ul {margin: 0; padding: 0 14px 10px 30px;}
.course-path-panel .course-path-others li {margin: 3px 0; color: #294f38; font-size: 13px; line-height: 1.4;}
.course-path-panel .course-path-others a {display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px;}
.course-path-panel :is(a, summary):focus-visible {outline: 2px solid #376a48; outline-offset: -2px;}
.reader-nav .course-path-panel {container: reader-path / inline-size; margin-bottom: 15px;}
.reader-nav .course-path-panel .course-path-sequence ol {max-height: min(210px, 27vh);}
.reader-nav .course-path-panel .course-path-sequence img {width: 40px; height: 30px;}
@container reader-path (max-width: 245px) {
  .course-path-panel .course-path-sequence img {display: none;}
}
body.lesson-focus-mode .course-path-panel {display: none;}
@media (max-width: 899px) {
  .course-path-panel {margin-bottom: 16px;}
  .course-path-panel summary,
  .course-path-panel .course-path-actions a {min-height: 44px;}
}
