.classroom-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px}.classroom-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.classroom-card h3{margin:0;font-size:23px}.classroom-card-actions{display:flex;gap:10px;flex-wrap:wrap}.classroom-member-picker{grid-column:1/-1;display:grid;gap:8px;max-height:340px;overflow:auto;border:1px solid #dce4d3;border-radius:12px;padding:12px}.classroom-member-option{display:flex;align-items:center;gap:10px;padding:8px}.classroom-member-option input{width:18px;height:18px;accent-color:#4f7654}.classroom-member-tools{display:flex;gap:14px;align-items:center;grid-column:1/-1}.classroom-member-summary{font-size:12px;color:#7b8c6f}.classroom-member-option:has(input:checked){background:#eaf0e0;border-radius:10px}.classroom-member-option[hidden]{display:none}.classroom-context{color:#4c6946;font-size:13px;font-weight:600}.classroom-result-wrap{overflow:auto}.classroom-results{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}.classroom-results th{color:#829274;font-weight:500}.classroom-results th,.classroom-results td{padding:13px 12px;border-bottom:1px solid #e4e9db}.classroom-results tbody tr:last-child td{border:0}.classroom-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}.classroom-link-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e7ebdf}.classroom-link-row:last-child{border:0}.classroom-link-row button{font-size:12px}.classroom-lobby{max-width:900px;margin:30px auto 70px;padding:25px 24px 40px;border-radius:24px;background:#fffdf2}.classroom-lobby-heading{text-align:center;margin:12px 0 28px}.classroom-lobby-heading h1{font-family:var(--heading-rounded),sans-serif;font-size:clamp(26px,5vw,39px);color:#3e6046;margin:12px 0}.classroom-lobby-heading p{color:#819071;line-height:1.7}.classroom-eyebrow{font-size:14px}.classroom-lobby-status{min-height:24px;text-align:center;font-size:13px;color:#8a7156;margin:0 0 15px}.classroom-name-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.classroom-name{background:#e6edda;border:2px solid transparent;min-height:155px;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#476448;padding:18px 10px;transition:background .2s,border-color .2s}.classroom-name:not(:disabled):hover{background:#dce7cc;border-color:#b3c99f}.classroom-name strong{font-size:clamp(18px,3vw,24px);overflow-wrap:anywhere}.classroom-name small{font-size:11px;color:#839078;min-height:16px}.classroom-person-mark{width:37px;height:37px;border-radius:50%;background:#f8faef8f;display:grid;place-items:center;font-size:15px}.classroom-name.is-busy{background:#eeefe8;color:#9a9f92;opacity:.7;cursor:not-allowed}.classroom-name:disabled{cursor:default}.classroom-name:focus-visible,.class-change-button:focus-visible{outline:3px solid #94b078;outline-offset:4px}.class-student-identity{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin:0 0 8px;color:#54724d;font-size:13px}.class-change-button{font:inherit;border:0;background:#e9efdf;border-radius:20px;padding:8px 14px;color:#57744e;min-height:40px;cursor:pointer}body.classroom-route .teacher-sidebar,body.classroom-route .teacher-header,body.classroom-route .sidebar-open,body.classroom-route .teacher-notice{display:none!important}body.teacher-shell.classroom-route{--side-width:0px}body.classroom-route:has(#student.hidden)>main{max-width:none!important;margin:0!important;padding:0 14px!important}body.classroom-route .topbar{display:flex!important}body.classroom-route:not(.student-mode) .topbar .brand{display:flex!important}.classroom-lobby[hidden]{display:none!important}@media(max-width:600px){.classroom-name-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.classroom-name{min-height:135px}.classroom-lobby{padding:16px 12px;margin:10px auto 25px}.classroom-lobby-heading{margin-bottom:15px}.classroom-lobby-heading p{font-size:12px}.classroom-cards{grid-template-columns:1fr}.class-student-identity{padding-inline:14px}.classroom-member-picker{max-height:280px}}

.class-change-button::before{content:'';display:inline-block;vertical-align:middle;width:16px;height:16px;margin-right:6px;background:url('assets/icons/users-round.svg') center/contain no-repeat;opacity:.7}

/* Class workspace: compact overview, separate results and link history. */
.classroom-detail,.classroom-index{
 display:grid;
 gap:24px;
 width:100%;
 max-width:1180px;
 margin-inline:auto;
}
.classroom-detail>.classroom-back{
 justify-self:start;
 min-height:30px;
 margin-bottom:-8px;
 padding:0;
}
.classroom-detail .teacher-surface{
 padding:24px;
 border:1px solid #e3e8dd;
 border-radius:20px;
 box-shadow:0 2px 6px #38523903;
}
.classroom-overview{
 display:grid;
 gap:22px;
}
.classroom-overview-top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.classroom-overview-summary{display:flex;align-items:center;gap:16px;min-width:0}
.classroom-overview-mark{
 display:grid;place-items:center;flex-shrink:0;
 width:52px;height:52px;border-radius:16px;background:#edf2e5;
}
.classroom-overview-mark .nav-icon{width:25px;height:25px;opacity:.7}
.classroom-overview-copy{display:grid;gap:6px;min-width:0}
.classroom-overview-copy h2{margin:0;font-size:24px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
.classroom-overview-count{margin:0;font-size:12px;line-height:1.6;color:#839078}
.classroom-overview-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.classroom-overview-actions .soft-button,.classroom-overview-actions .solid-button{
 min-height:42px;padding:10px 18px;border-radius:12px;
}
.classroom-overview-members{min-width:0;border-top:1px solid #e8eddf;padding-top:20px}
.classroom-overview-members h3{margin:0 0 14px;font-size:13px;line-height:1.6;font-weight:600;color:#7b8d70}
.classroom-member-list{
 display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:10px;
 list-style:none;margin:0;padding:0;max-height:286px;overflow:auto;
}
.classroom-member-list>li{min-width:0}
.classroom-member{
 display:flex;align-items:center;gap:11px;width:100%;min-height:66px;padding:12px;
 border:1px solid #e5ebdc;border-radius:13px!important;background:#f5f7ef;color:#3f6046;
 text-align:left;cursor:pointer;transition:background .15s,border-color .15s;
}
.classroom-member:hover{background:#edf3e3;border-color:#cbd9bc}
.classroom-member:focus-visible{outline:3px solid #94b078;outline-offset:-3px}
.classroom-member-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#e3ebd7;color:#6c855e;font-size:15px;overflow:hidden}
.classroom-member-name{flex:1;min-width:0;font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.classroom-member>.nav-icon{flex:0 0 14px;width:14px;height:14px;opacity:.4}
.classroom-members-empty{margin:0;font-size:13px;line-height:1.7;color:#8b9780}
.classroom-detail-grid{
 display:grid;
 grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);
 gap:24px;
 align-items:start;
}
.classroom-report-panel,.classroom-links-panel{min-width:0}
.classroom-panel-heading,.classroom-report-panel .classroom-progress-heading{
 display:flex;align-items:center;justify-content:space-between;
 gap:12px;min-height:38px;margin:0 0 16px;
}
.classroom-panel-heading h2,.classroom-report-panel .classroom-progress-heading h3{
 margin:0;font-size:16px;line-height:1.5;font-weight:600;
}
.classroom-refresh{
 display:grid;place-items:center;flex-shrink:0;
 width:36px;height:36px;min-height:36px;
 padding:9px;border:1px solid #e4e9de;border-radius:10px;
 background:transparent;cursor:pointer;
}
.classroom-refresh:hover{background:#eef3e7}
.classroom-refresh .nav-icon{width:16px;height:16px;opacity:.6}
.classroom-empty-state{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:10px;min-height:152px;padding:16px 8px;text-align:center;
}
.classroom-empty-mark{
 display:grid;place-items:center;width:42px;height:42px;
 margin-bottom:2px;border-radius:13px;background:#f0f4e9;
}
.classroom-empty-mark .nav-icon{width:21px;height:21px;opacity:.45}
.classroom-empty-state h4{margin:0;font-size:14px;line-height:1.6;font-weight:550;color:#657c5b}
.classroom-empty-state p{max-width:280px;margin:0;font-size:12px;line-height:1.8;color:#8b9780}
.classroom-links-panel>.classroom-panel-heading{margin-bottom:8px}
.classroom-report-label{margin:-6px 0 18px;font-size:12px;line-height:1.6;color:#87957d;overflow-wrap:anywhere}
.classroom-report-panel .classroom-results th{font-size:11px;padding:10px 10px;background:#f6f8f1}
.classroom-report-panel .classroom-results td{padding:15px 10px;font-size:13px}
.classroom-report-panel .classroom-results td:nth-child(3){font-weight:600;color:#486b48;font-variant-numeric:tabular-nums}
.classroom-report-panel>.small{margin:16px 0 0;font-size:11px;line-height:1.8;color:#8b9781}
.classroom-report-panel .learning-empty,.classroom-links-panel .learning-empty{margin:0;padding:28px 8px;font-size:12px;line-height:1.8}
.classroom-links-panel .classroom-link-row{display:grid;gap:14px;padding:18px 0;align-items:start}
.classroom-link-copy{display:grid;gap:5px;min-width:0}
.classroom-link-copy strong{font-size:14px;line-height:1.6;font-weight:550;overflow-wrap:anywhere}
.classroom-link-copy p{margin:0;font-size:11px;color:#929c88;line-height:1.6}
.classroom-link-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.classroom-link-actions .soft-button{min-height:34px;padding:7px 12px;font-size:11px;border-radius:9px}
.classroom-link-actions .soft-button[aria-pressed=true]{background:#e0ead4;color:#3f653e;box-shadow:inset 0 0 0 1px #cfddc1}
.classroom-link-actions .quiet-action{min-height:34px;padding:6px 0;font-size:11px}
.classroom-index-heading .view-toolbar{margin:0;align-items:flex-start;gap:24px}
.classroom-index-heading h2{margin:0 0 8px;font-size:24px;line-height:1.4}
.classroom-index-heading p{margin:0;max-width:560px;line-height:1.8}
.classroom-index .classroom-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:20px}
.classroom-index .classroom-card{padding:24px;border:1px solid #e3e8dd;border-radius:20px;gap:10px}
.classroom-index .classroom-card h3{font-size:20px;line-height:1.5}
.classroom-index .classroom-card>p{margin:0;font-size:12px;color:#859278}
.classroom-index .classroom-card-actions{margin-top:12px;gap:8px}
.classroom-index .classroom-card-actions button{min-height:38px;padding:9px 13px;font-size:12px;border-radius:11px}
@media(max-width:1024px){
 .classroom-detail-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .classroom-overview{gap:20px}
}
@media(max-width:600px){
 .classroom-detail,.classroom-index{gap:18px}
 .classroom-detail .teacher-surface{padding:20px;border-radius:18px}
 .classroom-overview-top{flex-direction:column;align-items:stretch;gap:20px}
 .classroom-overview-mark{width:46px;height:46px;border-radius:14px}
 .classroom-overview-copy h2{font-size:21px}
 .classroom-overview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .classroom-overview-actions .soft-button,.classroom-overview-actions .solid-button{min-height:44px;padding:10px;font-size:12px}
 .classroom-member-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .classroom-member{gap:8px;padding:10px;min-height:62px}
 .classroom-member-avatar{flex-basis:32px;width:32px;height:32px;font-size:14px}
 .classroom-member-name{font-size:13px}
 .classroom-refresh{width:40px;height:40px;min-height:40px}
 .classroom-empty-state{min-height:136px;padding-block:12px}
 .classroom-detail-grid{gap:18px}
 .classroom-index-heading .view-toolbar{gap:16px}
 .classroom-index .classroom-card{padding:20px}
}
@media(max-width:360px){.classroom-member-list{grid-template-columns:minmax(0,1fr)}}
