*{box-sizing:border-box}body{margin:0;background:#f5f6f1;color:#263c35;font:1rem/1.55 system-ui,sans-serif}main{max-width:790px;margin:auto;padding:24px clamp(16px,4vw,38px) 60px}a{color:#305649}h1{font-size:clamp(2.2rem,7vw,3.4rem);line-height:1.1;margin:32px 0 8px;letter-spacing:-.045em}header p{margin-top:0}.choices,article{background:white;border:1px solid #d5ddd5;border-radius:18px;padding:clamp(17px,4vw,30px);margin:20px 0}.choices,footer,form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.choices label{flex:1 1 160px}label{display:block;font-weight:650}button,input,select,textarea{font:inherit;border-radius:9px;padding:10px 13px}select,input,textarea{color:inherit;background:white;border:1px solid #9bafa2}select,textarea{width:100%;margin-top:4px}button{cursor:pointer;font-weight:650;background:#34594c;color:white;border:1px solid #34594c}.secondary{background:#f6f8f3;color:#34594c}.meta{color:#4c685a;font-weight:650;margin:0}h2{font-size:clamp(1.3rem,4vw,1.7rem);line-height:1.43;margin:14px 0 24px;letter-spacing:-.018em}form label{width:100%}form input{width:150px}form button{min-width:150px}footer{margin-top:20px;justify-content:space-between}#status:empty{display:none}#status,#hint,#model{background:#eef4ed;border-radius:9px;padding:12px}textarea{display:block;margin-bottom:12px}figure{margin:0 0 20px;padding:12px;background:#f6f8f4;border-radius:12px}svg{display:block;margin:auto;width:100%;max-width:390px;height:155px}figcaption{text-align:center;font-size:.85rem;color:#4a5f55}[hidden]{display:none!important}

#numeric-entry,#choice-entry{flex-basis:100%}
#numeric-entry input{width:min(13rem,75%);margin-right:.35rem}
.answer-note{margin:.25rem 0 .7rem;color:#455f51}
#choice-entry{border:0;margin:0;padding:0}
#choice-entry legend{font-weight:650;margin-bottom:.4rem}
#choice-entry label{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1rem;margin-right:.5rem;border:1px solid #9bafa2;border-radius:9px}
#choice-entry label:has(:checked){background:#e1eee5;border-color:#315b45}
#choice-entry input{width:1.15rem;height:1.15rem;margin:0;accent-color:#315b45}
.stick-figure{padding:.6rem}
.stick-figure figcaption{font-size:1rem;text-align:left;padding:.25rem .45rem;color:#314e40}
.stick-scroll{overflow-x:auto;max-width:100%;padding:.25rem 0}
.stick-board{--cell:clamp(32px,7vw,48px);--inset:16px;position:relative;margin-inline:auto;width:calc(var(--cell)*var(--columns) + 2*var(--inset));height:calc(var(--cell) + 2*var(--inset))}
.stick{position:absolute;cursor:pointer;display:grid;place-items:center}
.stick input{appearance:none;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.stick.top,.stick.bottom{left:calc(var(--inset) + var(--position)*var(--cell));width:var(--cell);height:28px}
.stick.top{top:calc(var(--inset) - 14px)}
.stick.bottom{top:calc(var(--inset) + var(--cell) - 14px)}
.stick.vertical{left:calc(var(--inset) + var(--position)*var(--cell) - 14px);top:calc(var(--inset) + 3px);width:28px;height:calc(var(--cell) - 6px)}
.stick span{pointer-events:none;background:#456b55;border-radius:3px;height:5px;width:calc(100% - 2px)}
.stick.vertical span{height:calc(100% + 4px);width:5px}
.stick input:checked+span{background:#87431a;box-shadow:0 0 0 2px #fff,0 0 0 4px #87431a}
.stick:has(input:focus-visible){outline:2px dashed #153d29;outline-offset:-1px}
#status.correct{border-left:4px solid #2c6842}

.choices fieldset{flex:1 1 100%;min-width:0}
#family{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.25rem .75rem;margin-bottom:.5rem}
#family .option{display:flex;align-items:center;gap:.5rem;min-height:2.5rem}
#family-error:empty{display:none}
