.diagnostic-main{max-width:1040px;margin:32px auto;padding:0 24px 64px;color:#17324d;font-size:1rem}.diagnostic-main h1{font-size:2.4rem}.diagnostic-main section{margin-block:24px}.diagnostic-main label{display:block;margin:12px 0;font-weight:600}.diagnostic-main select,.diagnostic-main input:not([type=checkbox]),.diagnostic-main textarea{display:block;width:100%;font:inherit;color:inherit;padding:10px;border:1px solid #96acbc;border-radius:6px;background:white;box-sizing:border-box}.diagnostic-main textarea{font-weight:400}.diagnostic-main button,.diagnostic-main .button{cursor:pointer;font:inherit;margin:6px 8px 6px 0;padding:9px 14px;border:1px solid #17324d;border-radius:6px;background:#17324d;color:white}.diagnostic-main button:disabled{opacity:.55;cursor:default}.diagnostic-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.diagnostic-card,#diagnosticSetup,#diagnosticAttempt{border:1px solid #c8d5df;border-radius:12px;background:white;padding:24px;margin-block:16px}.diagnostic-main fieldset{border:1px solid #adc1ce;border-radius:8px;padding:16px;margin-block:16px;min-width:0}.diagnostic-main legend{font-weight:700}.diagnostic-main .math-symbols button{background:#edf4f8;color:#17324d;padding:5px 10px}.math-preview{overflow-x:auto;min-height:40px;padding:12px;background:#f3f7fa;font-weight:400}.math-preview svg{max-width:100%;height:auto}.diagnostic-main .diagnostic-math{font-size:1.1em}.diagnostic-main .math-expression{white-space:normal}.diagnostic-main table{border-collapse:collapse;max-width:100%}.diagnostic-main td,.diagnostic-main th{border:1px solid #c8d5df;padding:8px}.diagnostic-main .question{padding:20px;background:#edf5fa;border-left:4px solid #208b8b;overflow:auto}.concept-options{max-height:300px;overflow:auto;columns:2}.concept-options label{font-size:.95rem;break-inside:avoid}.diagnostic-note{background:#edf5fa;padding:12px;border-radius:6px}.diagnostic-main :focus-visible{outline:3px solid #117ea3;outline-offset:3px}.diagnostic-main [hidden]{display:none!important}@media(max-width:650px){.diagnostic-grid{grid-template-columns:1fr}.concept-options{columns:1}.diagnostic-main{padding:0 14px 40px}.diagnostic-card,#diagnosticSetup,#diagnosticAttempt{padding:16px}}@media print{header,#diagnosticSetup,#diagnosticList,button,form{display:none!important}.diagnostic-main{max-width:none;margin:0;padding:0}.diagnostic-card{break-inside:avoid}details{display:block}}

.editor-help{font-weight:400;font-size:.95rem;color:#405c71}.math-symbols details{margin:10px 0}.math-symbols summary{cursor:pointer;padding:8px 0;font-weight:600}.diagnostic-main .math-symbols button{min-height:40px;min-width:40px}.math-preview:empty{display:none}
.final-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.final-answer{padding:16px;border:1px solid #adc1ce;border-radius:8px;background:#f8fbfd}.answer-check{padding:10px;border-left:4px solid #536a7c}.answer-correct{border-color:#247549;background:#eff8f1}.answer-incorrect{border-color:#ab4927;background:#fff3ec}.answer-needs-review,.answer-unanswered{background:#f3f5f7}.written-work{white-space:pre-wrap}
.reference-solution{margin:20px 0}.reference-solution>summary{cursor:pointer;font-weight:700;padding:12px;background:#edf5fa;border-radius:6px}.reference-solution>div{overflow-x:auto;line-height:1.65;margin-top:12px}.reference-solution table{width:100%}.reference-solution th{background:#edf5fa;text-align:left}.reference-solution td{vertical-align:top}.reference-solution td:first-child{width:3rem}.reference-solution td p{margin:4px 0}
.generated-math{overflow-x:auto;max-width:100%;padding:8px 0}.generated-math svg{max-width:none}.generated-steps{padding-left:24px;line-height:1.65}.generated-steps li{margin:18px 0}.generated-steps p{margin:8px 0}
