@import url('/lesson-links.css?v=a471271acbed');
/* QBank shares the site's lesson-link vocabulary. */
.ex-lesson{margin:16px 0 0}

/* The QBank owns these readable link colors even when an older shared CSS
   response is held in the browser or at the edge. */
html.phq-mode-light body[data-qb-view="exam"] #explainScroll {
  --bw-lesson-accent: #1d4ed8;
}
html.phq-mode-dark body[data-qb-view="exam"] #explainScroll {
  --bw-lesson-accent: #93c5fd;
}
html.phq-mode-dark.bw-interface-traditional body[data-qb-view="exam"] #explainScroll {
  --bw-lesson-accent: #fff;
}

/* Keep teaching links readable, including destinations the learner has visited. */
#explainScroll a[href],
#explainScroll a[href]:visited {
  color: var(--bw-lesson-accent) !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  border-bottom-color: currentColor !important;
  text-underline-offset: .2em;
}
#explainScroll a[href]:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 4px;
}

/* The review seal's legacy OS-light rule can leave a white card in a dark exam.
   Explicit exam appearance owns the surface and keeps blue links readable. */
html.phq-mode-light body[data-qb-view="exam"] #explainScroll .bw-rseal-qbank {
  --bw-qbank-review-ink: #1f2937;
  background: #fff !important;
  border-color: #cbd5e1 !important;
}
html.phq-mode-dark body[data-qb-view="exam"] #explainScroll .bw-rseal-qbank {
  --bw-qbank-review-ink: #e2e8f0;
  background: #121922 !important;
  border-color: #475569 !important;
}
html.phq-mode-dark.bw-interface-traditional body[data-qb-view="exam"] #explainScroll .bw-rseal-qbank {
  --bw-qbank-review-ink: #fff;
  background: #000 !important;
  border-color: #fff !important;
}
/* Pair the actual reviewer/date labels with the explicit exam surface too. */
#explainScroll .bw-rseal-qbank :is(.bw-rseal-by, time, .bw-rseal-sep) {
  color: var(--bw-qbank-review-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
