.jh-h5p-results {
  --jh-results-navy: #0b2a45;
  --jh-results-muted: #526a7f;
  --jh-results-line: #d9e4ed;
  color: var(--jh-results-navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  max-width: 1120px;
  margin: 0 auto;
}
.jh-h5p-results *, .jh-h5p-results *::before, .jh-h5p-results *::after { box-sizing: border-box; }
.jh-h5p-results [hidden] { display: none; }
.jh-h5p-results h2, .jh-h5p-results h3, .jh-h5p-results h4, .jh-h5p-results h5 { margin: 0; color: var(--jh-results-navy); font-weight: 700; line-height: 1.25; }
.jh-h5p-results p { margin: 0; }
.jh-h5p-results a { color: #153f63; }
.jh-h5p-results a:focus-visible, .jh-h5p-results button:focus-visible, .jh-h5p-results select:focus-visible, .jh-h5p-results summary:focus-visible, .jh-results-table-scroll:focus-visible { outline: 3px solid #b56100; outline-offset: 4px; }
.jh-h5p-results .jh-results-header { background: linear-gradient(115deg,#0b2a45,#153f63); border-radius: 18px; padding: 30px 34px; margin-bottom: 30px; }
.jh-h5p-results .jh-results-header h2 { color: #fff; font-size: clamp(26px,3vw,36px); margin-bottom: 10px; }
.jh-h5p-results .jh-results-header p { color: #e0eaf2; }
.jh-h5p-results .jh-results-eyebrow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #975000; margin-bottom: 8px; }
.jh-h5p-results .jh-results-header .jh-results-eyebrow { color: #ffc46b; }
.jh-results-course + .jh-results-course { margin-top: 38px; }
.jh-results-course-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jh-h5p-results .jh-results-course-heading h3 { font-size: 24px; }
.jh-results-course-heading a, .jh-results-text-link { font-size: 14px; font-weight: 650; }
.jh-results-module { border: 1px solid var(--jh-results-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(11,42,69,.045); margin: 0 0 22px; overflow: hidden; }
.jh-results-module-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; }
.jh-h5p-results .jh-results-module-heading h4 { font-size: 23px; }
.jh-results-module-heading h4 a { text-decoration: none; }
.jh-results-module-heading h4 a:hover { text-decoration: underline; }
.jh-results-text-link { flex-shrink: 0; }
.jh-results-submissions { margin: 0 28px; padding: 22px 24px; border: 1px solid #e5edf3; border-radius: 12px; background: #f4f8fb; }
.jh-results-submission { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jh-results-submission + .jh-results-submission { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--jh-results-line); }
.jh-h5p-results .jh-results-submission h5 { font-size: 20px; margin-bottom: 8px; overflow-wrap: anywhere; }
.jh-h5p-results .jh-results-date { font-size: 13px; color: var(--jh-results-muted); }
.jh-results-version { display: block; }
.jh-results-score { display: flex; flex-direction: column; flex-shrink: 0; text-align: right; color: var(--jh-results-muted); font-size: 13px; }
.jh-results-score > strong { color: var(--jh-results-navy); font-size: 38px; line-height: 1.1; margin-bottom: 5px; }
.jh-results-score > strong > span { font-size: 22px; }
.jh-results-score .jh-results-score-missing { font-size: 18px; }
.jh-results-outcome { margin-top: 6px; font-weight: 700; }
.jh-results-no-score strong { display: block; font-size: 19px; margin-bottom: 6px; }
.jh-results-no-score p { color: var(--jh-results-muted); font-size: 14px; max-width: 660px; }
.jh-results-practice { padding: 24px 28px; }
.jh-results-practice-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.jh-h5p-results .jh-results-practice-heading h5 { font-size: 18px; }
.jh-results-practice-heading > span { font-size: 12px; color: var(--jh-results-muted); }
.jh-results-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 18px; padding: 0; gap: 14px; }
.jh-results-stats > div { border-left: 3px solid #f6a137; padding-left: 14px; }
.jh-results-stats dt { font-size: 12px; font-weight: 650; color: var(--jh-results-muted); }
.jh-results-stats dd { margin: 3px 0 0; font-size: 25px; font-weight: 750; line-height: 1.3; }
.jh-results-stats small { display: block; font-size: 12px; font-weight: 400; color: var(--jh-results-muted); }
.jh-h5p-results .jh-results-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 18px; background: #153f63; border: 1px solid #153f63; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 650; font-size: 14px; line-height: 1.4; }
.jh-h5p-results .jh-results-button:hover { background: #0b2a45; color: #fff; }
.jh-h5p-results .jh-results-note { font-size: 12px; color: var(--jh-results-muted); margin: 10px 0 14px; }
.jh-results-question-details { margin-top: 20px; border-top: 1px solid var(--jh-results-line); }
.jh-h5p-results summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 14px; }
.jh-h5p-results summary:hover { color: #1c5786; }
.jh-results-question-details > summary > span { margin-left: 8px; color: var(--jh-results-muted); font-size: 12px; font-weight: 400; }
.jh-results-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.jh-results-filter label { display: flex; align-items: center; gap: 9px; }
.jh-results-filter select { min-height: 40px; width: auto; max-width: 100%; padding: 5px 28px 5px 10px; border: 1px solid #bccddc; border-radius: 6px; background-color: #fff; color: var(--jh-results-navy); font: inherit; }
.jh-h5p-results .jh-results-questions { list-style: none; margin: 0; padding: 0; }
.jh-results-questions > li { margin: 0; padding: 0; border-top: 1px solid #e6edf2; }
.jh-results-questions a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 8px; text-decoration: none; }
.jh-results-questions a:hover, .jh-results-questions a:focus-visible { background: #edf0f3; }
.jh-results-question-number { flex: 0 0 24px; font-size: 12px; color: var(--jh-results-muted); }
.jh-results-question-label { flex: 1; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.jh-results-question-label small { display: block; font-size: 11px; color: var(--jh-results-muted); }
.jh-results-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 12px; white-space: nowrap; background: #e7edf2; color: #40566a; }
.jh-results-badge.is-correct { color: #165b40; background: #e0f2e8; }
.jh-results-badge.is-incorrect { color: #8e2d2d; background: #fde9e8; }
.jh-results-badge.is-ungraded { color: #715008; background: #fff0c9; }
.jh-results-history { padding: 0 28px; border-top: 1px solid var(--jh-results-line); margin-top: 20px; }
.jh-results-practice + .jh-results-history { margin-top: 0; }
.jh-results-module > .jh-results-submissions:last-child { margin-bottom: 24px; }
.jh-results-table-scroll { overflow-x: auto; max-width: 100%; }
.jh-h5p-results table { width: 100%; min-width: 530px; border-collapse: collapse; font-size: 13px; margin: 0 0 16px; }
.jh-h5p-results th, .jh-h5p-results td { border: 0; border-bottom: 1px solid var(--jh-results-line); padding: 11px 10px; text-align: left; vertical-align: top; background: transparent; }
.jh-h5p-results th { background: #f4f8fb; color: var(--jh-results-muted); font-size: 12px; }
.jh-h5p-results td small { display: block; color: var(--jh-results-muted); font-size: 11px; }
.jh-h5p-results .jh-results-more { border: 1px solid #b8ccdc; border-radius: 7px; padding: 9px 15px; min-height: 40px; font: inherit; font-size: 13px; color: #153f63; background: #fff; cursor: pointer; }
.jh-h5p-results .jh-results-more:hover { background: #edf3f7; }
.jh-results-more:disabled { opacity: .6; cursor: wait; }
.jh-h5p-results .jh-results-history-status { color: var(--jh-results-muted); font-size: 12px; margin: 8px 0 14px; }
.jh-results-empty { border: 1px solid var(--jh-results-line); border-radius: 12px; padding: 26px; }
.jh-results-empty p { margin-top: 10px; }
.jh-results-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Combined roadmap: one lesson card, with assessment details on demand. */
.jh-results-roadmap { width: 100%; max-width: none; }
.jh-results-roadmap .jh-results-lesson { display: block; min-width: 0; }
.jh-results-lesson-top { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(0, 1.65fr); align-items: center; gap: 16px 24px; }
.jh-results-roadmap .jh-h5p-course-content-row-heading { display: flex; flex-direction: column; align-items: flex-start; }
.jh-results-roadmap .jh-h5p-course-content-row-heading h3 { overflow-wrap: anywhere; }
.jh-results-roadmap .jh-h5p-course-content-link { margin-top: 10px; min-height: 28px; }
.jh-results-lesson-progress { min-width: 0; }
.jh-results-lesson-progress .jh-h5p-course-content-link { display: flex; width: fit-content; margin-left: auto; }
.jh-results-roadmap .jh-results-lesson-details { margin-top: 12px; border-top: 1px solid var(--jh-results-line); }
.jh-results-roadmap .jh-results-lesson-details > summary { padding: 12px 6px 6px; line-height: 1.5; min-height: 42px; border-radius: 5px; }
.jh-results-roadmap .jh-results-lesson-details > summary:hover { background: #f0f3f6; }
.jh-results-disclosure-hint { margin-left: 9px; font-weight: 400; color: var(--jh-results-muted); font-size: 12px; }
.jh-results-lesson-body { padding-top: 16px; min-width: 0; }
.jh-results-lesson-body > p { font-size: 14px; color: var(--jh-results-muted); }
.jh-results-roadmap .jh-results-module { border: 0; border-radius: 0; box-shadow: none; margin: 0; overflow: visible; }
.jh-results-roadmap .jh-results-module + .jh-results-module { margin-top: 20px; border-top: 1px solid var(--jh-results-line); }
.jh-results-roadmap .jh-results-module-heading { padding: 16px 0; }
.jh-results-roadmap .jh-results-submissions { margin: 0; padding: 18px; }
.jh-results-roadmap .jh-results-practice { padding: 18px 0 0; }
.jh-results-roadmap .jh-results-history { padding: 0; }
.jh-results-roadmap .jh-results-empty { padding: 16px; }
.jh-results-notice { margin-bottom: 16px; padding: 16px; background: #f3f7fa; border: 1px solid var(--jh-results-line); border-radius: 10px; }
.jh-results-notice p { margin-bottom: 10px; }
@media (max-width: 600px) {
  .jh-results-lesson-top { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .jh-results-disclosure-hint { display: block; margin-left: 18px; }
  .jh-results-roadmap .jh-h5p-course-content-progress-line { margin-top: 0; }
  .jh-results-lesson-progress .jh-h5p-course-content-link { margin-left: 0; }
  .jh-h5p-results .jh-results-header { padding: 24px 20px; }
  .jh-results-module-heading { padding: 20px; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .jh-results-submissions { margin: 0 16px; padding: 18px; }
  .jh-results-submission { align-items: flex-start; gap: 18px; flex-wrap: wrap; }
  .jh-results-score { text-align: left; }
  .jh-results-practice { padding: 20px 16px; }
  .jh-results-history { padding: 0 16px; }
  .jh-results-stats { gap: 6px; }
  .jh-results-stats > div { padding-left: 8px; }
  .jh-results-stats dd { font-size: 22px; }
  .jh-results-questions a { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 4px 8px; }
  .jh-results-badge { grid-column: 2; justify-self: start; white-space: normal; }
}
