.option {
  flex-wrap: wrap;
  align-items: center;
}
.option-text {
  flex: 1 1 60%;
  min-width: 0;
}
.option .choice-badge {
  margin-left: 0;
}
.option.correct {
  border-color: #38834b;
  background: #eaf5e5;
  color: #125f34;
  box-shadow: inset 3px 0 0 #38834b;
}
.option.correct .option-num {
  background: #126137;
  color: #fff;
}
.option.wrong {
  border-color: #c9464c;
  background: #fff0ef;
  color: #ad2228;
  box-shadow: inset 3px 0 0 #c9464c;
}
.option.wrong .option-num {
  background: #b42328;
  color: #fff;
}
.option.correct .choice-badge {
  border-color: #38834b;
  color: #125f34;
}
.option.wrong .choice-badge {
  border-color: #c9464c;
  color: #ad2228;
}
.result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.4;
}
.result.is-correct {
  border-color: #72a56e;
  background: #e4f2de;
  color: #0f5b2f;
}
.result.is-correct::before {
  content: "✓";
}
.result.is-wrong {
  border-color: #d77a7e;
  background: #ffebe9;
  color: #b42328;
}
.result.is-wrong::before {
  content: "✕";
}
.result.is-ungraded {
  color: var(--ink);
}
.answer-choice,
.answer-key {
  padding: 9px 11px;
  border-left: 3px solid var(--line);
  border-radius: 0 6px 6px 0;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.answer-choice.is-wrong {
  border-left-color: #c9464c;
  background: #fff0ef;
  color: #ad2228;
}
.answer-choice.is-correct,
.answer-key {
  border-left-color: #38834b;
  background: #eaf5e5;
  color: #125f34;
}
.answer-choice.is-ungraded {
  color: var(--ink);
}
@media (forced-colors: active) {
  .result,
  .answer-choice,
  .answer-key {
    border: 1px solid;
  }
}
