:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#203c3c;background:#f4f7f5;font-size:15px}*{box-sizing:border-box}body{margin:0}header{height:80px;border-bottom:1px solid #dce6df;display:flex;align-items:center;gap:22px;padding:0 max(5vw,20px);background:#fff}.brand{font-size:25px;font-weight:800;text-decoration:none;color:#174d43;margin-right:auto}.brand small{font-size:11px;letter-spacing:2px;margin-left:12px;color:#7c9690}main{max-width:1220px;padding:44px 24px;margin:auto}h1{font-size:34px;letter-spacing:-1px;margin:12px 0}h2{font-size:20px;line-height:1.65}p{line-height:1.8;color:#6b807a}.eyebrow{font-size:11px;color:#377f6c;letter-spacing:2px;font-weight:700}.card{background:#fff;border:1px solid #dde8e1;border-radius:20px;padding:30px;box-shadow:0 5px 24px #223c3205}#auth{max-width:580px;margin:4vh auto}label{display:block;font-size:14px;margin:20px 0 10px}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;border:1px solid #cbdcd2;border-radius:9px;background:#fff;padding:13px;font:inherit;margin-top:9px;color:#203c3c}button{border:1px solid #cbdcd2;background:#fff;border-radius:9px;padding:12px 18px;font:inherit;cursor:pointer;color:#31564b}button:hover{background:#edf5ef}button:disabled{opacity:.55;cursor:default}.primary{background:#1c6b53;color:white;border-color:#1c6b53}.primary:hover{background:#175a46}.actions{display:flex;gap:12px;margin-top:24px}.vertical{flex-direction:column}.intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.stats{background:#e9f1e9;padding:20px;border-radius:16px;font-size:14px;line-height:2;white-space:pre-line;min-width:190px}.layout{display:grid;grid-template-columns:285px 1fr;gap:24px}aside.card{padding:24px;height:fit-content}aside h2{margin-top:0}.check{display:flex;align-items:center;gap:10px}.check input{accent-color:#1c6b53;width:17px;height:17px}.hint{font-size:12px}.practice{min-height:490px}#empty{text-align:center;padding-top:80px}.empty-icon{font-size:52px;color:#377f6c}.qtop{display:flex;justify-content:space-between;font-size:12px;color:#6a8276}#badge{background:#edf5ee;padding:6px 10px;border-radius:6px}progress{width:100%;height:5px;accent-color:#287a5b;margin-top:20px}#stem{font-size:22px;white-space:pre-wrap;margin:28px 0}.option{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dae5df;border-radius:12px;cursor:pointer;margin:12px 0;line-height:1.65}.option:has(input:checked){background:#eef7ef;border-color:#377f6c}.option input{margin-top:5px;accent-color:#1c6b53}.option span{white-space:pre-wrap;overflow-wrap:anywhere}#result{margin-top:28px;border-top:1px solid #dae5df;padding-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}#result h3{color:#1c6b53}.analysis{padding:14px;background:#f3f7f3;border-radius:10px;margin:10px 0;line-height:1.8}.analysis.bad{border-left:3px solid #ca7956}.analysis.good{border-left:3px solid #27765c}#message{color:#a34b2f;font-weight:600}details{border-top:1px solid #dce6df;margin-top:24px;padding-top:20px}summary{cursor:pointer}a{color:#237756}footer{text-align:center;color:#91a39a;font-size:12px;padding:30px}[hidden]{display:none!important}:focus-visible{outline:3px solid #80ac92;outline-offset:3px}@media(max-width:720px){header{height:64px;padding:0 16px;gap:10px}header #account{font-size:12px}.brand small{display:none}main{padding:26px 14px}.intro{display:block}h1{font-size:26px}.stats{margin-top:18px}.layout{grid-template-columns:1fr;gap:16px}.card{padding:22px}.practice{min-height:400px}#stem{font-size:19px}#empty{padding-top:40px}.actions button{flex:1}.option{padding:13px}}

#security,#recovery{max-width:620px;margin:20px auto}.linkbutton{border:0;padding:12px 0;color:#287a5b;font-size:13px}@media(max-width:720px){header #settings,header #logout{padding:8px;font-size:12px}}

header{flex-wrap:wrap;min-height:80px;height:auto;padding-top:12px;padding-bottom:12px}.teacherTools{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.teacherTools label{min-width:220px;flex:1}.teacherTools button{margin-bottom:10px}.teacherStudents,#studentDetail{margin-top:22px}.tableScroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:13px 10px;border-bottom:1px solid #e0e8e2;text-align:left;white-space:nowrap}th{background:#edf5ee}tbody tr:hover{background:#f7faf7}td button{padding:7px 10px;font-size:12px}.attempt p,.attempt .analysis,#detailMistakes p{white-space:pre-wrap;overflow-wrap:anywhere}#detailPage{align-self:center;font-size:13px}#teacherPanel .card{margin-bottom:20px}
