/* One feedback language across lessons, practice, and completed assessments. */
.answer-feedback { --feedback-accent: #986019; margin: 24px 0; padding: 22px; border: 1px solid #e2ded5; border-radius: 16px; background: #fffdf8; color: #253f38; overflow-wrap: anywhere; }
.answer-feedback.is-correct { --feedback-accent: #216747; background: #f6fbf7; }
.answer-feedback.is-unanswered { --feedback-accent: #59655f; background: #f8f9f7; }
.answer-feedback-heading { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--feedback-accent); }
.answer-feedback-heading > span { display: inline-flex; }
.answer-feedback .answer-feedback-heading h4 { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 650; }
.answer-feedback-comparison, .answer-feedback-part dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin: 0; }
.answer-feedback-comparison.is-correct { grid-template-columns: minmax(0,1fr); }
.answer-feedback-comparison > div { padding: 14px 16px; border-radius: 10px; border: 1px solid #e7dfd1; background: #faf5ec; }
.answer-feedback-comparison .answer-expected, .answer-feedback-comparison.is-correct > div { background: #edf5ef; border-color: #d3e3d7; }
.answer-feedback dt { font-size: 12px; font-weight: 650; color: #54635b; margin-bottom: 5px; }
.answer-feedback dd { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 550; }
.answer-feedback .answer-feedback-explanation, .answer-feedback .answer-feedback-reason { margin-top: 20px; }
.answer-feedback h5 { margin: 0 0 7px; font-size: 14px; line-height: 1.5; font-weight: 700; color: #294b40; }
.answer-feedback p { margin: 0; font-size: 15px; line-height: 1.7; color: #41534b; }
.answer-feedback-reason p + p { margin-top: 12px; }
.answer-feedback .answer-feedback-next { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid #e2ded5; font-size: 13px; }
.answer-feedback-selections { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.answer-feedback-selections li { display: flex; gap: 12px; align-items: baseline; line-height: 1.6; font-size: 15px; }
.answer-change { font-size: 12px; font-weight: 650; min-width: 58px; text-align: center; padding: 2px 8px; border-radius: 5px; background: #edf5ef; color: #216747; flex-shrink: 0; }
.answer-change.is-remove { background: #f6ead9; color: #865018; }
.answer-change.is-add { background: #eaf0f6; color: #365779; }
.answer-feedback-parts { display: grid; gap: 10px; }
.answer-feedback-part { padding: 14px; border: 1px solid #e2ded5; border-radius: 10px; background: #fff; }
.answer-part-label { display: flex; gap: 12px; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.answer-part-label > span { font-size: 12px; font-weight: 500; color: #865018; }
.answer-feedback-part.is-correct .answer-part-label > span { color: #216747; }
.answer-feedback-part.is-correct dl { grid-template-columns: minmax(0,1fr); }
.result-row > .answer-feedback { margin-top: 16px; }
.mock-review-item > .answer-feedback { margin-top: 16px; }
.choice-selected-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.choice-label { flex: 1; }
.choice-result-label { display: block; font-size: 11px; line-height: 1.5; margin-top: 4px; font-weight: 600; }
.question .choice[data-choice-result="incorrect"], .question .evidence-span[data-choice-result="incorrect"], .question .chip[data-choice-result="incorrect"] { background: #faf0df; border-color: #b57b32; color: #6f481c; opacity: 1; }
.question .choice[data-choice-result="incorrect"] .option-letter { background: #986019; color: #fff; }
.question .choice[data-choice-result="correct"], .question .evidence-span[data-choice-result="correct"], .question .chip[data-choice-result="correct"] { background: #edf5ef; border-color: #468364; color: #24573c; opacity: 1; }
.question .choice[data-choice-result="correct"] .option-letter { background: #216747; color: #fff; }
.question .hotspot[data-choice-result="incorrect"] { stroke: #986019; fill: #f4d5a3; fill-opacity: .45; }
.question .hotspot[data-choice-result="correct"] { stroke: #216747; fill: #91c5a1; fill-opacity: .45; }
@media (max-width: 600px) {
  .answer-feedback { padding: 17px; margin: 18px 0; border-radius: 12px; }
  .answer-feedback-comparison, .answer-feedback-part dl { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .answer-feedback dd { font-size: 15px; }
  .answer-feedback-comparison > div { padding: 12px; }
  .answer-part-label { flex-wrap: wrap; gap: 4px 12px; }
}
