/* Exercise feedback V131.2.99 — real state, not a cosmetic green status label. */
#exerciseScreen .gp-feedback-bound,#trainPlay[data-train-mode="course"] .gp-feedback-bound{display:none!important}
.ex-result[hidden]{display:none!important}
.ex-result{--ex-brand:#7256e8;--ex-ink:#342d48;box-sizing:border-box;border:1px solid #eee7de;border-radius:16px;background:#fffcf6;color:var(--ex-ink);padding:12px 14px;width:100%;text-align:left;flex:none}
.ex-result-row{display:flex;align-items:center;gap:12px;min-width:0}
.ex-result-copy{flex:1;min-width:0}
.ex-result-title{display:block;font-size:16px;line-height:1.4;font-weight:800}
.ex-result-detail{margin:4px 0 0!important;font-size:12px!important;line-height:1.55!important;color:#6f657b!important;overflow-wrap:anywhere}
.ex-result--ready{padding:7px 4px;background:none;border-color:transparent}
.ex-result--ready .ex-result-title{font-size:12px;color:#746884;font-weight:600}
.ex-result--ready .ex-result-detail{font-size:11px!important}
.ex-result--correct{background:linear-gradient(125deg,#effbf3,#fffcf5);border-color:#c9e9d7}
.ex-result--correct .ex-result-title{color:#147b4e;font-size:22px;display:flex;align-items:center;gap:7px}
.ex-result--correct .ex-result-title::before{content:'';width:23px;height:23px;flex:none;background:url('/app/assets/exercise/check.svg') center/contain no-repeat}
.ex-success-mascot{width:92px;height:64px;object-fit:contain;flex:none}
.ex-result--wrong{background:#fff6f0;border-color:#f0dbce}
.ex-result--wrong .ex-result-title{color:#a05238}
.ex-result--answer,.ex-result--trial{background:#f5f1fc;border-color:#e5dbf5}
.ex-result--continuing{background:#f7f5fd;border-color:#e9e1f6}
.ex-result--responding,.ex-result--saving,.ex-result--verifying{background:#fffaf0;border-color:#f0e4cc}
.ex-result-explanation{margin-top:9px;padding-top:8px;border-top:1px solid #d9e9dd}
.ex-result-explanation summary{cursor:pointer;font-size:12px;font-weight:700;color:#517258;min-height:32px;display:list-item;line-height:32px}
.ex-result-explanation p{font-size:13px;line-height:1.65;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.ex-result-enter{animation:none}
.ex-result-enter .ex-result-title::before{animation:ex-result-check .18s ease-out both}
@keyframes ex-result-check{from{opacity:.45}to{opacity:1}}
@keyframes ex-result-in{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ex-result-enter{animation:none}}

/* All answer states keep the same header footprint; only explicitly opened notes grow. */
.ex-result{padding:10px 12px;min-height:86px}
.ex-result-row{min-height:64px}
.ex-result--ready{padding:10px 12px}
.ex-result [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.ex-result-enter .ex-result-title::before{animation:none}}
