/* Learning courses (learn.js): explanation cards and questions on top of the shared styles. */
.learn-stats { grid-template-columns: repeat(4, minmax(58px, 1fr)); }
.learn-note { margin: 18px 0 0; }

.explain {
  margin: 20px 0; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0;
  background: var(--accent-soft); font-size: 1.0625rem; line-height: 1.6;
}
.explain + .explain { border-left-color: var(--gold); background: var(--gold-soft); }
.explain p { margin: 0; }
.explain h2 { margin: 0 0 6px; font: 800 12px/1.2 system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.question { margin: 22px 0 16px; font: 500 clamp(21px, 5vw, 26px)/1.3 Georgia, "Times New Roman", serif; }
.answers { display: grid; gap: 10px; margin-bottom: 14px; }
.choice-button { position: relative; width: 100%; }
.choice-button.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.choice-button .tick { margin-right: 8px; color: var(--accent-dark); }

.order-list { margin: 0 0 12px; padding: 12px 14px 12px 34px; min-height: 48px; border: 1px dashed var(--line); border-radius: 15px; background: var(--white); }
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.match-grid .answers { align-content: start; }
.choice-button .tick { display: inline-block; min-width: 1.4em; }
.order-list:empty { display: none; }
.order-list li { padding: 3px 0; font-weight: 700; }

.learn-actions { margin-top: 14px; }
.learn-actions .primary-button:disabled { opacity: .45; cursor: default; }

.overview h2 { margin: 28px 0 8px; font: 600 20px/1.2 Georgia, serif; }
.overview details { margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.overview summary { cursor: pointer; font-weight: 750; }
.overview details p { line-height: 1.55; }
.overview .is-done { color: var(--green); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.timeline b { color: var(--accent-dark); }


/* Levels and the proeftoets (skill-app.js with COURSE.levels / COURSE.exam). */
.level-name { margin-left: 4px; color: var(--muted); font-weight: 700; letter-spacing: 0; text-transform: none; }
.readiness { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.readiness p { margin: 6px 0; }
.readiness.is-ready { border-color: var(--green); background: var(--green-soft); }
.readiness-bar { height: 10px; margin: 8px 0 10px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.readiness-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .4s; }
.paradigm { border-collapse: collapse; margin: 8px 0 12px; font-size: 15px; }
.paradigm th, .paradigm td { padding: 3px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.paradigm th { color: var(--muted); font-weight: 700; }
.paradigm .is-hit { background: var(--gold-soft); font-weight: 800; }
.form-split { font-size: 1.4em; font-weight: 800; letter-spacing: .02em; }
.form-split i { font-style: normal; color: var(--accent); }
.sentence { font-size: 1.15em; line-height: 1.6; }
