/* Layout and state feedback extend the existing HEJlearn exercise skin. */
.hej-wa-attempt{padding:20px;border:1px solid #d7e3df;border-top:3px solid #197b66;border-radius:12px;background:#fff;min-width:0}
.hej-wa-attempt-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0}
.hej-wa-attempt-head h2{font-size:clamp(20px,2vw,26px);margin:4px 0 10px;line-height:1.3}
.hej-wa-pct{flex:none;color:#075d55;font-size:clamp(28px,3vw,42px);line-height:1}
.hej-wa-meta{display:flex;flex-wrap:wrap;gap:12px 28px;padding:14px 0;margin-bottom:16px;border-block:1px solid #e1e9e5}
.hej-wa-meta span{display:grid;gap:4px}.hej-wa-meta small{color:#60738c;font-size:11px}.hej-wa-meta b{font-size:13px}
.hej-wa-counts,.hej-wa-legend{display:flex;flex-wrap:wrap;gap:7px 16px;color:#385647;font-size:12px;margin:0}
.hej-wa-review.hej-lt{margin:0;width:100%;max-width:none}.hej-wa-review .lt-app{margin:0;padding:0}
.hej-wa-review .exercise-surface{box-shadow:none;overflow:hidden}.hej-wa-review-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e1e9e5}
.hej-wa-review-actions p{font-size:12px;margin:0;color:#60738c}.hej-wa-review-actions .btn{flex:none}
.hej-wa-review .layout{margin-top:0!important}.hej-wa-review .layout.hej-wa-no-source{grid-template-columns:1fr!important}
.hej-wa-review .reading-content,.hej-wa-review .question-panel{padding:18px!important;min-width:0}
.hej-wa-review .pilot-document{margin-top:14px}.hej-wa-review .question summary{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;cursor:pointer}
.hej-wa-review .question summary>span:nth-last-of-type(1){flex:1;min-width:150px}.hej-wa-review .question summary>small{font-size:11px;font-weight:500}
.hej-wa-review .question summary .question-number{min-width:24px;height:24px;font-size:12px}
.hej-wa-review .steps{margin:16px 0 10px}.hej-wa-review .steps button{width:auto;min-width:36px;padding:0 8px;border-radius:7px}
.hej-wa-review .feedback{margin:12px 0 0}.hej-wa-review .option input{margin:0}.hej-wa-review .option b{font-size:10px}
.hej-lt .steps .btn[data-answer-state=correct],.hej-wa-status[data-answer-state=correct]{background:#eaf7ef;color:#12633e;border-color:#16834f}
.hej-lt .steps .btn[data-answer-state=incorrect],.hej-wa-status[data-answer-state=incorrect]{background:#fff1f3;color:#9e2338;border-color:#c53049}
.hej-lt .steps .btn[data-answer-state=blank],.hej-wa-status[data-answer-state=blank]{background:#fff8e7;color:#795417;border-color:#c49436}
.hej-lt .steps .btn[data-answer-state=answered]{background:#eef3fa;color:#193c62;border-color:#6383aa}
.hej-lt .steps .btn[data-answer-state=empty]{background:#fff;color:#667585;border-color:#cdd8e0;border-style:dashed}
.hej-lt .steps .btn[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}
.hej-lt .steps .btn{width:auto;min-width:36px;padding:0 8px;border-radius:7px}
.hej-lt .question-number[data-answer-state=correct]{background:#12633e;border-color:#12633e}
.hej-lt .question-number[data-answer-state=incorrect]{background:#9e2338;border-color:#9e2338}
.hej-lt .question-number[data-answer-state=blank]{background:#795417;border-color:#795417}
.hej-wa-status{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:50%;font-size:12px;border:1px solid}
.hej-wa-unanswered{padding:8px 10px;border-left:3px solid #c49436;background:#fff8e7;color:#795417;font-size:13px}
.hej-lt .option[data-state=""]:has(input:checked){background:#edf3fb!important;border-color:#496e9a!important;box-shadow:inset 3px 0 #496e9a}
.hej-lt button:focus-visible,.hej-wa-attempt button:focus-visible,.hej-wa-error button:focus-visible{outline:3px solid #496e9a;outline-offset:3px}
.hej-wa-error{display:grid;gap:14px;padding:20px}.hej-wa-error h3{margin:6px 0 0;font-size:16px}
.hej-wa-answer-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px}
.hej-wa-answer-pair section{padding:12px 14px;border:1px solid #d5e1db;border-left:3px solid;border-radius:7px;min-width:0}
.hej-wa-answer-pair section[data-answer-state=incorrect]{background:#fff5f6;border-color:#d7667a}
.hej-wa-answer-pair section[data-answer-state=correct]{background:#eff8f2;border-color:#54a375}
.hej-wa-answer-pair section[data-answer-state=blank]{background:#fff8e7;border-color:#c49436}
.hej-wa-answer-pair small{font-size:11px;font-weight:700}.hej-wa-answer-pair p{margin:7px 0 0;overflow-wrap:anywhere;font-size:14px}
.hej-wa-error>.btn{justify-self:start}.hej-wa-drafts{margin-bottom:16px}.hej-wa-drafts .hejs-result-row{margin-bottom:0}
@media(max-width:1100px){.hej-wa-review .layout{grid-template-columns:1fr!important}.hej-wa-review .question-panel{border-left:0!important;border-top:1px solid #e1e9e5}}
@media(max-width:600px){.hej-wa-attempt{padding:14px}.hej-wa-attempt-head{align-items:flex-start}.hej-wa-meta{gap:12px 20px}.hej-wa-review-actions{align-items:flex-start;flex-direction:column;padding:12px}.hej-wa-review .reading-content,.hej-wa-review .question-panel{padding:12px!important}.hej-wa-answer-pair{grid-template-columns:1fr}.hej-wa-error{padding:16px}.hej-wa-review .question summary>small{width:100%;margin-left:26px}}
