.teacherManager{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;max-width:1450px}.teacherStudentList,.teacherStudentDetail{background:#fff;border:1px solid #dbe3ef;border-radius:18px;box-shadow:0 8px 25px rgba(15,23,42,.06);overflow:hidden}.teacherManagerHead{padding:18px;border-bottom:1px solid #e5eaf2}.teacherManagerHead h3{margin:0 0 5px;color:#0b3766}.teacherManagerHead p{margin:0;color:#64748b}.studentSearch{width:100%;margin-top:13px;border:1px solid #cbd5e1;border-radius:11px;padding:11px 12px;min-height:44px}.teacherStudentRows{padding:10px;display:grid;gap:8px}.teacherStudentRow{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:1px solid transparent;background:#f8fafc;border-radius:12px;padding:11px;cursor:pointer}.teacherStudentRow:hover,.teacherStudentRow.active{background:#eff6ff;border-color:#93c5fd}.studentAvatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1d4ed8;color:#fff;font-weight:900;flex:0 0 auto}.studentRowInfo{min-width:0;flex:1}.studentRowInfo strong,.studentRowInfo span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studentRowInfo span{font-size:.86rem;color:#64748b;margin-top:3px}.statusDot{width:10px;height:10px;border-radius:50%;background:#22c55e;flex:0 0 auto}.statusDot.blocked{background:#ef4444}.studentDetailInner{padding:20px}.studentDetailTop{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid #e5eaf2}.studentIdentity{display:flex;align-items:center;gap:13px}.studentIdentity .studentAvatar{width:54px;height:54px;font-size:1.2rem}.studentIdentity h3{margin:0;color:#0b3766}.studentIdentity p{margin:4px 0 0;color:#64748b}.teacherActions{display:flex;gap:9px;flex-wrap:wrap}.tmBtn{border:1px solid #bfcee3;background:#fff;color:#164e9c;border-radius:10px;padding:10px 13px;min-height:43px;font-weight:800;cursor:pointer}.tmBtn.primary{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.tmBtn.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.tmBtn.success{color:#166534;border-color:#bbf7d0;background:#f0fdf4}.subjectArea{margin-top:20px}.subjectArea h4{margin:0 0 6px;color:#0f2f58;font-size:1.05rem}.subjectArea>p{margin:0 0 13px;color:#64748b}.subjectGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.subjectOption{display:flex;align-items:center;gap:9px;border:1px solid #dbe3ef;border-radius:11px;padding:11px;background:#f8fafc;cursor:pointer}.subjectOption:has(input:checked){border-color:#60a5fa;background:#eff6ff;color:#164e9c;font-weight:800}.subjectOption input{width:18px;height:18px;accent-color:#2563eb}.saveSubjectsBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding:13px;background:#f8fafc;border-radius:12px}.studentStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.studentStat{background:#f8fafc;border:1px solid #e5eaf2;border-radius:12px;padding:13px}.studentStat strong{display:block;color:#0b3766;font-size:1.25rem}.studentStat span{color:#64748b;font-size:.86rem}.previewTeacherBar{background:#0b3766;color:#fff;padding:12px 15px;border-radius:12px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.previewTeacherBar button{border:0;border-radius:9px;background:#fff;color:#0b4db6;padding:9px 12px;font-weight:900;cursor:pointer}.blockedStudentNotice{border:1px solid #fecaca;background:#fef2f2;color:#991b1b;border-radius:12px;padding:13px;margin-top:14px;font-weight:800}
@media(max-width:900px){.teacherManager{grid-template-columns:1fr}.teacherStudentRows{grid-template-columns:repeat(2,minmax(0,1fr))}.subjectGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.teacherStudentRows,.subjectGrid,.studentStats{grid-template-columns:1fr}.teacherActions{width:100%}.teacherActions .tmBtn{flex:1}.saveSubjectsBar{align-items:stretch;flex-direction:column}.studentDetailInner{padding:15px}}
