/* Taking a course (Karl's course plan, 2026-11-28, phase 2): the course page and the lesson page. */
.course-progress { margin: 0 0 1.25rem; }
.course-progress p { margin: 0 0 .4rem; }
.course-bar { height: 12px; background: #e3e6ef; border-radius: 999px; overflow: hidden; }
.course-bar span { display: block; height: 100%; background: #2e9e5b; border-radius: 999px; }
.course-check { display: inline-block; color: #1f7a45; font-weight: 800; margin-right: .3rem; }
.course-locked { background: #fff6d6; border: 1px solid #f1d27a; border-radius: 10px; padding: .5rem .8rem; margin: .4rem 0; }
.store-files li.is-done { background: #f3faf5; border-color: #9bd3ad; }
.store-files li.is-current { border-color: #2a59c7; box-shadow: inset 3px 0 0 #2a59c7; }
.store-files li.is-locked { color: #5b6275; background: #f6f7fa; }
.course-complete { margin: 1.5rem 0; }
.course-complete form { margin: 0; }
.course-quiz { margin: 1.75rem 0; padding: 1rem 1.1rem; border: 1px solid #e3e6ef; border-radius: 12px; }
.course-quiz h2 { margin-top: 0; }
.course-question { border: 1px solid #e3e6ef; border-radius: 10px; margin: 0 0 1rem; padding: .7rem .9rem; display: grid; gap: .45rem; }
.course-question legend { font-weight: 700; padding: 0 .3rem; }
.course-question label { display: flex; gap: .5rem; align-items: flex-start; }
.course-question.is-wrong { border-color: #efa3a3; background: #fdf5f5; }
.course-question-note { margin: 0; color: #b3261e; font-weight: 600; font-size: .92em; }
.course-nav { margin: 2rem 0 0; border-top: 1px solid #e3e6ef; padding-top: 1rem; }
.course-nav summary { cursor: pointer; font-weight: 700; }
/* A lesson's own blocks, written in the lesson editor: the button, the audio player and the divider. */
.store-body a[data-button] { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: .25rem 0 1rem; padding: 10px 22px; border-radius: 999px; background: var(--yellow, #ffc72c); color: var(--navy-deep, #0c1f3f); font-weight: 700; text-decoration: none; }
.store-body a[data-button]:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 33, 61, .18); }
.store-body audio { display: block; width: 100%; max-width: 32rem; margin: .25rem 0 1rem; }
.store-body hr { border: 0; border-top: 2px solid #e3e6ef; margin: 1.75rem 0; }
/* Staff only: which view of the course they have, and the switch. */
.course-viewer { justify-content: space-between; }
.course-complete .store-link-btn { margin-top: .5rem; }
