/* Explicit text, symbols and contrast keep results clear without relying on color. */
.learning-ui .study-card.feedback-correct{border:2px solid #23734c;box-shadow:0 0 0 4px #e4f3e9,0 16px 55px #30483205}
.learning-ui .study-card.feedback-incorrect{border:2px solid #b23b36;box-shadow:0 0 0 4px #fce9e6,0 16px 55px #30483205}
.learning-ui .study-card.feedback-reference,.learning-ui .study-card.feedback-timeout{border:2px solid #8a692f}
.answer-feedback{display:flex;align-items:flex-start;gap:15px;padding:20px 22px;margin:0 0 26px;border:1px solid;border-left-width:5px;border-radius:12px;scroll-margin:24px;outline:none}
.answer-feedback.feedback-correct{color:#155d39;background:#eaf6ee;border-color:#80b89a}
.answer-feedback.feedback-incorrect{color:#952d28;background:#fff0ed;border-color:#d99a94}
.answer-feedback.feedback-reference,.answer-feedback.feedback-timeout{color:#735315;background:#fff8e7;border-color:#dbc58c}
.feedback-symbol{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:currentColor}
.feedback-symbol .ui-icon{width:24px;height:24px;color:#fff;stroke-width:2.8}
.answer-feedback>div{min-width:0}
.answer-feedback strong{display:block;font:700 22px/1.5 var(--sans);letter-spacing:.3px}
.answer-feedback p{margin:5px 0 0;font-size:14px;line-height:1.8;color:inherit;overflow-wrap:anywhere}
.learning-ui .choice.is-ok,.learning-ui .judgment-choice.is-ok{border:2px solid #297b50;background:#eaf6ee;color:#1a5738;box-shadow:none}
.learning-ui .choice.is-bad,.learning-ui .judgment-choice.is-bad{border:2px solid #bc433c;background:#fff0ed;color:#8f2c26;box-shadow:none}
.learning-ui .choice.is-ok>span{background:#23734c;border-color:#23734c;color:#fff}
.learning-ui .choice.is-bad>span{background:#b23b36;border-color:#b23b36;color:#fff}
.learning-ui .choice.is-ok .option-explain{color:#315f43;border-color:#b9d8c5}
.learning-ui .choice.is-bad .option-explain{color:#8d413b;border-color:#e6bab4}
.option-verdict{display:flex;align-items:center;gap:5px;width:fit-content;font:650 12px/1.6 var(--sans);margin-top:8px;padding:3px 8px;border-radius:5px}
.verdict-correct{color:#155d39;background:#d6ecdf}
.verdict-incorrect{color:#952d28;background:#fadbd6}
.option-verdict .ui-icon{width:15px;height:15px;flex:0 0 15px;stroke-width:2.6}
.learning-ui .judgment-choice{flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:74px}
.judgment-label{display:flex;align-items:center;gap:7px}
.judgment-choice .option-verdict{margin:0;font-size:11px;white-space:normal}
.learning-ui .token.is-ok,.learning-ui .gap.is-ok{color:#155d39;background:#dcefe3;border-color:#23734c;border-width:2px;border-style:solid}
.learning-ui .token.is-bad,.learning-ui .gap.is-bad{color:#952d28;background:#fce2dd;border-color:#b23b36;border-width:2px;border-style:solid}
.learning-ui .card-actions.has-result{gap:12px}
.footer-verdict{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0;padding:7px 9px;border-radius:6px;font-size:13px;margin-right:auto}
.footer-verdict .ui-icon{width:19px;height:19px;stroke-width:2.7;flex:0 0 19px}
.footer-verdict.verdict-reference,.footer-verdict.verdict-timeout{color:#735315;background:#fff4d6}
.learning-ui .card-actions.has-result .secondary{margin-right:0}
.learning-ui .session-top .feedback-sound-toggle{margin-left:auto;padding:5px 9px;white-space:nowrap;min-height:36px;border:1px solid #d9e2d2;border-radius:7px;color:#44614c;background:#f3f7ed;font-size:11px}
.learning-ui .session-top .feedback-sound-toggle[aria-pressed=false]{background:#fff;color:#73796f}
.learning-ui .session-top>span:last-child{margin-left:0}
.feedback-sound-setting label{display:flex;align-items:center;gap:9px;min-height:44px}
.feedback-sound-setting input[type=checkbox]{width:20px;height:20px;accent-color:#234e42;flex:0 0 20px}
.feedback-fresh .answer-feedback .feedback-symbol{animation:answer-result-pop .34s ease-out}
@keyframes answer-result-pop{0%{transform:scale(.65);opacity:.3}65%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@media(max-width:700px){
 .answer-feedback{padding:15px 13px;gap:11px;margin-bottom:22px;border-left-width:4px}
 .feedback-symbol{width:32px;height:32px;flex-basis:32px}.feedback-symbol .ui-icon{width:21px;height:21px}
 .answer-feedback strong{font-size:20px}.answer-feedback p{font-size:13px}
 .learning-ui .session-top{gap:7px;flex-wrap:wrap}.learning-ui .session-top .feedback-sound-toggle{font-size:11px;padding:4px 6px;min-height:38px}
 .learning-ui .session-top>span:last-child{font-size:11px;letter-spacing:0;white-space:nowrap}
 .learning-ui .study-track{padding:4px 7px}
 .learning-ui .study-card .card-actions.has-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .footer-verdict{grid-column:1/-1;margin:0;width:fit-content;font-size:13px;padding:5px 8px}
 .learning-ui .card-actions.has-result .primary,.learning-ui .card-actions.has-result .secondary{width:100%;min-width:0;padding:12px 8px;white-space:normal}
 .learning-ui .judgment-choice{padding:12px 7px;font-size:15px}.judgment-choice .option-verdict{font-size:10px;padding:3px 5px}
}
@media(prefers-reduced-motion:reduce){.feedback-fresh .answer-feedback .feedback-symbol{animation:none}}

@media(pointer:coarse){.learning-ui .session-top .feedback-sound-toggle{min-height:44px}.learning-ui .gap{min-height:44px}}
