/* English course review queue and links from the checkpoints. */
.checkpoint-review {
  scroll-margin-top: 5.5rem;
  margin: 2rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--border, #c4d3e6);
  border-top: 3px solid var(--accent, #2455a0);
  border-radius: var(--radius, 8px);
  background: var(--surface, white);
}
.checkpoint-review h2 { margin-top: 0; }
.checkpoint-review h2::after { display: none; }
.checkpoint-review [hidden] { display: none !important; }
.checkpoint-review [data-mistake-review-app] { font-family: var(--sans, sans-serif); }
.checkpoint-review .cr-overview { font-size: .95rem; margin: .85rem 0; }
.cr-overview time, .cr-scheduled time { font-variant-numeric: tabular-nums; }
.checkpoint-review .cr-notice { margin: .65rem 0; font-size: .9rem; }
.cr-notice:empty, .cr-overview:empty, .cr-exercise:empty { display: none; }
.cr-exercise {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border, #c4d3e6);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg, #f8fafc);
}
.checkpoint-review .cr-exercise h3 { margin: 0 0 .65rem; font-size: 1.1rem; }
.cr-exercise [tabindex="-1"] { scroll-margin-top: 5.5rem; }
.cr-exercise form { margin: 0; }
.cr-exercise fieldset { border: 0; padding: 0; min-width: 0; margin: 0; }
.cr-exercise legend {
  max-width: 100%;
  padding: 0;
  margin-bottom: .65rem;
  font: 600 .98rem/1.55 var(--sans, sans-serif);
  color: var(--heading, #203b5e);
}
.cr-choice {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .7rem .8rem;
  min-height: 44px;
  box-sizing: border-box;
  margin: .45rem 0;
  border: 1px solid var(--border, #c4d3e6);
  border-radius: var(--radius-sm, 6px);
  background: var(--surface, white);
  cursor: pointer;
  font: 400 .93rem/1.5 var(--sans, sans-serif);
}
.cr-choice:hover, .cr-choice:focus-within { border-color: var(--accent, #2455a0); }
.cr-choice input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: .18rem 0 0; accent-color: var(--accent, #2455a0); }
.cr-choice span, .cr-scheduled li { overflow-wrap: anywhere; }
.cr-button {
  display: inline-block;
  box-sizing: border-box;
  min-height: 44px;
  margin: .55rem 0 0;
  padding: .55rem .95rem;
  color: #fff;
  background: #2455a0;
  border: 1px solid #194ba1;
  border-radius: 6px;
  font: 650 .9rem/1.5 var(--sans, sans-serif);
  cursor: pointer;
}
.cr-button:hover { background: #193f7b; }
.cr-button:disabled { opacity: .65; cursor: default; }
.cr-button--quiet, .cr-button--quiet:hover {
  min-height: 44px;
  padding: .4rem 0;
  color: var(--text, #33475f);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .83rem;
  font-weight: 500;
}
.checkpoint-review :is(summary, button, a, input):focus-visible {
  outline: 3px solid var(--accent, #2455a0);
  outline-offset: 3px;
}
.cr-scheduled { margin-top: 1rem; }
.cr-scheduled summary { cursor: pointer; width: fit-content; padding: .5rem 0; font-size: .9rem; font-weight: 600; }
.cr-scheduled ul { padding: 0; list-style: none; margin: .25rem 0; }
.cr-scheduled li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .15rem 1rem;
  border-bottom: 1px solid var(--border, #c4d3e6);
  padding: .5rem 0;
  font-size: .88rem;
}
.cr-scheduled time { color: var(--text, #33475f); }
[data-mistake-review-summary] { font: 400 .86rem/1.65 var(--sans, sans-serif); overflow-wrap: anywhere; }
[data-mistake-review-summary] a { font-weight: 650; }
@media (max-width: 480px) {
  .cr-exercise { padding: .75rem; }
  .cr-scheduled li { flex-direction: column; }
}
