@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:"DM Sans",system-ui,-apple-system,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}.topbar{background:#fff;border-bottom:1px solid #e7eaf0;padding:20px max(24px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}
h1,h2,h3,p{margin-top:0}.topbar h1{font-size:22px;margin:0;font-weight:700;letter-spacing:-.5px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#68758c;margin:0 0 6px}
.status{font-size:12px;color:#4d5a70;background:#f4f6fa;border-radius:30px;padding:8px 12px;white-space:nowrap}.status span{display:inline-block;width:7px;height:7px;background:#26a269;border-radius:50%;margin-right:6px}
.container{max-width:1120px;margin:0 auto;padding:36px 24px 48px}.intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.intro h2{font-size:26px;letter-spacing:-.8px;margin-bottom:7px}.intro p,.muted{color:#738097;font-size:14px;margin-bottom:0}
button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:11px 15px;font-weight:600;font-size:13px}.primary{background:#315be8;color:white}.primary:hover{background:#2449ca}.secondary{background:#eef1f7;color:#34415a}.text-button{background:transparent;color:#68758c;padding:7px}.text-button:hover{color:#d43b46}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card,.panel{background:#fff;border:1px solid #e7eaf0;border-radius:14px}.stat-card{padding:20px 22px}.stat-card span{display:block;color:#758198;font-size:13px;margin-bottom:11px}.stat-card strong{font-size:29px;letter-spacing:-1px}
.panel{overflow:hidden}.toolbar{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.toolbar h3{font-size:16px;margin-bottom:6px}.toolbar input{width:min(340px,100%);padding:11px 13px;border:1px solid #dfe4ed;border-radius:9px;outline:none;font-size:13px}.toolbar input:focus,input:focus,select:focus{border-color:#6b88f1;box-shadow:0 0 0 3px #315be81c}
.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:800px;text-align:left}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8390a5;background:#fafbfe;font-weight:700}th,td{padding:14px 22px;border-top:1px solid #edf0f5}td{font-size:13px;color:#4d5a70}td:first-child{font-weight:600;color:#1c2940}.student-avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf0ff;color:#315be8;font-weight:700;margin-right:10px;vertical-align:middle}.badge{display:inline-block;border-radius:30px;padding:5px 9px;font-size:11px;font-weight:700}.badge.active{background:#e5f7ed;color:#167345}.badge.inactive{background:#f0f2f6;color:#68758c}.actions{display:flex;gap:6px}.small-button{padding:6px 9px;background:#f3f5f9;color:#47546a;font-size:12px}.small-button.delete{color:#c23a46}.panel-footer{padding:14px 22px;border-top:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center;color:#8390a5;font-size:12px}.empty{text-align:center;color:#8390a5;padding:28px}.note{color:#8b95a7;font-size:12px;line-height:1.6;margin:16px 2px}
dialog{border:0;border-radius:16px;padding:0;width:min(500px,calc(100% - 28px));box-shadow:0 24px 80px #17203330}dialog::backdrop{background:#10182880;backdrop-filter:blur(3px)}dialog form{padding:26px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.dialog-heading h2{font-size:22px;margin:0}.icon-button{font-size:25px;background:#f0f2f7;color:#4e5a70;padding:3px 10px}label{display:block;font-size:12px;color:#59667c;font-weight:600;margin-bottom:15px}label input,label select{display:block;width:100%;margin-top:7px;border:1px solid #dfe4ed;border-radius:9px;padding:11px 12px;color:#172033;background:#fff;outline:none;font-size:13px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.error{font-size:12px;color:#c23a46;min-height:16px;margin:0}
@media(max-width:650px){.container{padding:26px 14px}.topbar{padding:18px 14px}.intro{align-items:flex-start;flex-direction:column}.stats{gap:8px}.stat-card{padding:14px}.stat-card strong{font-size:24px}.stat-card span{font-size:11px}.toolbar{align-items:stretch;flex-direction:column;padding:18px}.toolbar input{width:100%}.two-col{grid-template-columns:1fr;gap:0}}
