/* Task creation, projection and answer feedback. */
[hidden]{display:none!important}
.task-wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:22px 0}
.task-wizard-steps button{display:flex;align-items:center;gap:10px;min-height:64px;border:1px solid #c6d4e1;border-radius:12px;padding:12px;background:#f5f8fc;color:#244966;text-align:left;cursor:pointer;font:inherit}
.task-wizard-steps button span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:white;font-weight:700}
.task-wizard-steps button[aria-current=step]{background:#245d89;color:white;border-color:#245d89}
.task-wizard-steps button[aria-current=step] span{color:#245d89}
.editor-layout.task-wizard{display:block;max-width:1040px}.wizard-step{scroll-margin-top:24px}.wizard-step>h2{margin-bottom:16px}.wizard-navigation{display:flex;justify-content:space-between;align-items:center;margin:24px 0;padding:14px;background:#f2f6fa;border-radius:12px;max-width:1040px}
#wizard-question-content{margin-top:20px}#simple-parts>.row{margin:12px 0}#simple-parts>.row input{flex:1}.task-thumbnail{width:48px;height:48px;object-fit:cover;border-radius:9px;flex-shrink:0;vertical-align:middle;margin-right:8px}.task-thumbnail.preview{width:112px;height:112px}
.task-group{width:100%;min-width:0}.task-group h3{font-size:.85rem;text-align:left;margin:10px 0 6px;color:#244966;border-bottom:1px solid #d0dce7;padding-bottom:5px}.inline-unit .task-thumbnail{width:32px;height:32px}.task-correction{font-size:1em;white-space:nowrap}.board-task-group h2{font-size:1.1rem;text-align:left;margin:12px 0 6px}.board-task-group{margin-bottom:14px}.board-task-group ol{margin-top:8px}.board-goal-picker{font-size:1rem;display:block;margin-top:10px}.board-goal-picker select{max-width:100%;min-width:220px;font-size:1rem}.board-day-goal>div{min-width:0;width:100%}.board-day-goal ul{margin:8px 0;padding-left:24px}.board-day-goal li{margin:5px 0}.lesson-goal-settings{margin:24px 0}.pupil-optional{border-top:2px solid #d1ddea;margin-top:28px;padding-top:20px}.pupil-task h2{line-height:1.5}
.result-overview{margin:20px 0;padding:20px;border:1px solid #c6d4e1;border-radius:14px;background:#f5f8fc}.result-counts{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.result-counts>span{padding:8px 12px;border-radius:8px;background:white}.result-verdict{font-weight:700}.result-good{color:#16603a;background:#edf8f0}.result-bad{color:#a21d28;background:#fff0f1}.result-item.incorrect{border:2px solid #c32f3e;border-left-width:6px;background:#fff4f4}.result-item.correct{border:2px solid #2f8051;border-left-width:6px;background:#f4fbf6}.answer-comparison th,.answer-comparison td,.fr-answer-report th,.fr-answer-report td{white-space:normal;vertical-align:top;min-width:120px}.answer-attempts{margin:0;padding-left:22px}.answer-attempts li{margin-bottom:8px}.answer-attempts small{display:block;color:#52616e}.fr-answer-report tr.result-bad td,.fr-answer-report tr.result-good td{background:transparent}
.practice-feedback.good{border:2px solid #27834e;background:#eaf8ef;color:#145732}.practice-feedback.retry,.exercise-check-feedback.retry{border:2px solid #c32f3e;background:#ffedef;color:#a21d28;border-radius:12px;padding:16px;font-weight:650}.exercise-check-feedback.good{border:2px solid #27834e;border-radius:12px;background:#eaf8ef;padding:16px}.question.answer-incorrect{border:2px solid #c32f3e;background:#fff6f6}.question.answer-incorrect .choice:has(input:checked){border-color:#c32f3e;background:#ffedef;color:#a21d28}.question.answer-correct{border:2px solid #27834e}.memory-card.answer-incorrect{border-color:#c32f3e;background:#ffedef;color:#a21d28}
@keyframes answer-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.practice-feedback.retry,.question.answer-incorrect,.result-item.incorrect,.memory-card.answer-incorrect{animation:answer-shake .32s ease-in-out 1}
@media(prefers-reduced-motion:reduce){.practice-feedback.retry,.question.answer-incorrect,.result-item.incorrect,.memory-card.answer-incorrect{animation:none}}
@media(max-width:760px){.task-wizard-steps{grid-template-columns:1fr 1fr}.task-wizard-steps button{min-height:52px;font-size:.9rem}.task-wizard-steps button:last-child{grid-column:1/-1}.wizard-step{padding:18px}.board-task-group .task-thumbnail{width:36px;height:36px}}

.instruction-image{display:block;max-width:100%;max-height:560px;object-fit:contain;margin:12px 0;border-radius:12px;background:#fff}.assignment-level-tabs{flex-wrap:wrap}.wf-instruction-edit{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #dce7df}
