:root{font-family:system-ui,sans-serif;color:#193c32;background:#f1f5ef;line-height:1.5}
*{box-sizing:border-box}
[hidden]{display:none!important}
main{max-width:790px;margin:auto;padding:16px 16px 44px}
header,section{border:1px solid #d1dfd3;border-radius:18px;margin:12px 0;padding:18px 20px;background:#fff}
header{background:#174d3b;color:white;padding:26px 22px}
h1,h2,p{margin:0 0 12px}
h1{font-size:clamp(30px,6vw,48px);line-height:1.1}
h2{font-size:22px}
.eyebrow{font-size:12px;letter-spacing:1.5px}
.muted{color:#48655c;font-size:14px}
.row,.filters{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.filters>*{flex:1 1 220px}
label{display:block;font-weight:600}
button,select,input,textarea{font:inherit;border-radius:9px;border:1px solid #6d897e;min-height:46px;padding:8px 12px}
select,input,textarea{display:block;width:100%;margin:6px 0 12px;background:white;color:inherit}
button{cursor:pointer;color:white;background:#205b47;margin:4px 0}
button.secondary{background:white;color:#205b47}
button:disabled{opacity:.46;cursor:default}
button[aria-pressed=true]{background:#142f26;color:white;outline:2px solid #205b47}
a{color:#17624b}
#tests>button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:10px}
.marks>button{margin-right:8px}
progress{width:100%;accent-color:#205b47}
#error,.grading{padding:12px;border-radius:8px;background:#e7f2e9;margin:12px 0}
#error{background:#ffe9e4;color:#753526}
.answer-part{padding:12px 0;border-top:1px solid #d1dfd3}.answer-part input{max-width:260px;text-transform:uppercase}.marks{margin-top:8px}
.answer-part button+button{margin-left:8px}

.task-content{padding:12px 0;}
.task-text{white-space:pre-line;overflow-wrap:anywhere;margin:10px 0;line-height:1.55}
.task-content details,.grading details{margin:10px 0}
.task-content summary,.grading summary{cursor:pointer;color:#205b47}
#task-images img{display:block;width:100%;height:auto;margin:10px 0;border:1px solid #d1dfd3}

.task-content{padding:0;min-width:0}
.task-content .task-text,.part-copy{font-size:1rem;line-height:1.55;max-width:65ch;margin:0 0 14px}
.shared-copy{background:#f3f7f4;padding:12px 14px;border-radius:10px}
#task-images:empty{display:none}
#task-images img{display:block;max-width:100%;width:auto;max-height:460px;margin:8px auto 14px;object-fit:contain;border:0}
.answer-part h3{margin:0 0 8px;font-size:1.05rem}
.answer-part button+button{margin-left:0}
.answer-part button{margin-right:8px}
.answer-part p:empty{display:none}
#quiz{overflow-wrap:anywhere}

.answer-model{margin:12px 0 0;padding:12px 14px;background:#f3f7f4;border:1px solid #d1dfd3;border-radius:10px}.answer-model h4{margin:0 0 8px}.answer-model .task-text{margin-bottom:0}
