.learning-course-switcher[hidden] { display: none; }
.learning-course-switcher { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; }
.learning-course-switcher__backdrop { position: absolute; inset: 0; background: rgba(24, 31, 40, .46); backdrop-filter: blur(8px); }
.learning-course-switcher__panel { position: relative; width: min(100%, 760px); max-height: min(88dvh, 820px); overflow: auto; padding: 24px; border: 1px solid #dde6ec; border-radius: 24px; background: #fff; box-shadow: 0 34px 90px rgba(24, 31, 40, .24); }
.learning-course-switcher__head { display: flex; justify-content: space-between; gap: 20px; }
.learning-course-switcher__head span { color: #d95d16; font-size: .78rem; font-weight: 800; }
.learning-course-switcher__head h2 { margin: 4px 0 6px; color: var(--ink, #17202a); font-size: 1.45rem; }
.learning-course-switcher__head p { margin: 0; color: var(--muted, #667085); font-size: .9rem; }
.learning-course-switcher__close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid #dde6ec; border-radius: 50%; background: #fff; color: #485568; cursor: pointer; font-size: 1.25rem; }
.learning-course-switcher__reset { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; margin: 20px 0; padding: 14px 16px; border: 1px solid #fed7aa; border-radius: 16px; background: #fff8f2; color: #9a4218; text-decoration: none; }
.learning-course-switcher__reset > span { grid-row: 1 / 3; font-size: 1.3rem; }
.learning-course-switcher__reset strong { font-size: .92rem; }
.learning-course-switcher__reset small { color: #9a6a4f; }
.learning-course-switcher__reset b { grid-column: 3; grid-row: 1 / 3; }
.learning-course-switcher__status { padding: 18px 0; color: var(--muted, #667085); font-weight: 700; }
.learning-course-switcher__status.is-error { color: #9a4218; }
.learning-course-switcher__content, .learning-course-group { display: grid; gap: 14px; }
.learning-course-group + .learning-course-group { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e8edf2; }
.learning-course-group__title { display: flex; align-items: center; justify-content: space-between; }
.learning-course-group__title h3 { margin: 0; color: var(--ink, #17202a); font-size: 1rem; }
.learning-course-group__title span { min-width: 26px; padding: 3px 8px; border-radius: 999px; background: #f1f4f7; color: #667085; font-size: .75rem; text-align: center; }
.learning-course-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.learning-course-card { display: grid; align-content: start; gap: 10px; padding: 16px; border: 1px solid #dde6ec; border-radius: 18px; background: #fbfcfd; }
.learning-course-card.is-current { border-color: rgba(24, 134, 75, .3); background: #f0faf4; }
.learning-course-card__head { display: grid; gap: 4px; }
.learning-course-card__head span { color: #667085; font-size: .76rem; font-weight: 760; }
.learning-course-card__head strong { color: var(--ink, #17202a); font-size: 1rem; line-height: 1.35; }
.learning-course-card p, .learning-course-card small { margin: 0; color: #667085; font-size: .8rem; line-height: 1.45; }
.learning-course-card__meter { height: 7px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.learning-course-card__meter span { display: block; height: 100%; border-radius: inherit; background: #f27522; }
.learning-course-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 2px; }
.learning-course-card__actions .button { min-height: 36px; padding: 8px 12px; font-size: .8rem; }
.learning-course-switcher__empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed #d7e0e7; border-radius: 16px; color: #667085; text-align: center; }
body.has-course-switcher-open { overflow: hidden; }
.learn-home-today-actions .button.secondary { border-color: rgba(222, 91, 20, .38); background: #fff; color: var(--primary-dark, #b94f14); box-shadow: none; }
.learn-home-today-actions .button.secondary:hover, .learn-home-today-actions .button.secondary:focus-visible { border-color: var(--primary, #de5b14); background: #fff7f0; color: var(--primary-dark, #b94f14); }
@media (max-width: 680px) {
  .learning-course-switcher { align-items: end; padding: 0; }
  .learning-course-switcher__panel { width: 100%; max-height: 92dvh; padding: 20px 16px; border-radius: 24px 24px 0 0; }
  .learning-course-list { grid-template-columns: 1fr; }
  .learning-course-switcher__head h2 { font-size: 1.25rem; }
}
