:root{color:#17202a;background:#f5f7fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{border:0;border-radius:8px;background:#1677c5;color:#fff;cursor:pointer;font-weight:750;min-height:42px;padding:0 16px}button:hover{background:#0e609f}button:disabled{cursor:not-allowed;opacity:.65}input,textarea{width:100%;border:1px solid #cdd6e1;border-radius:8px;background:#fff;color:#17202a;min-height:42px;padding:10px 12px}textarea{min-height:96px;resize:vertical}label{display:grid;gap:7px;color:#526173;font-size:.92rem;font-weight:700}h1,h2,h3,p{letter-spacing:0}h1,h2,h3{color:#111827;margin:0}h1{font-size:2rem;line-height:1.08}h2{font-size:1.55rem;line-height:1.15}h3{font-size:1.05rem}.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px 18px;background:linear-gradient(90deg,#eef6f7 0 50%,transparent 50%),#f5f7fa}.auth-panel{width:min(100%,460px);border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:28px;box-shadow:0 22px 50px #2533421a}.brand-row{display:flex;align-items:center;gap:12px;margin-bottom:28px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:#14b8a6;color:#083c37;font-weight:900}.brand-title{margin:0;color:#111827;font-size:1.18rem;font-weight:850}.brand-subtitle,.muted{color:#657386}.brand-subtitle{margin:2px 0 0;font-size:.9rem}.form-grid{display:grid;gap:15px;margin-top:22px}.check-row{align-items:center;display:flex;gap:10px}.check-row input{width:18px;min-height:18px}.notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;border:1px solid #bae6fd;border-radius:8px;background:#f0f9ff;padding:14px}.notice p,.status-message,.footer-link{margin:0}.status-message{margin-top:16px;color:#a93d0d;font-weight:700}.footer-link,.auth-links{margin-top:18px}.footer-link button,.auth-links button,.inline-action{min-height:0;padding:0;background:transparent;color:#0e609f}.footer-link button:hover,.auth-links button:hover,.inline-action:hover{background:transparent;color:#0a4778}.auth-links{display:flex;justify-content:space-between;gap:14px}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:#f5f7fa}.sidebar{background:#162234;color:#eff6ff;padding:26px 18px}.sidebar .brand-title{color:#fff}.sidebar .brand-subtitle{color:#b9c7d8}.nav-list{display:grid;gap:8px}.nav-list button{justify-content:flex-start;display:flex;align-items:center;width:100%;background:transparent;color:#d7e1ee;text-align:left}.nav-list button:hover,.nav-list button.active{background:#24354d;color:#fff}.main{min-width:0;padding:30px}.topbar,.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.topbar{margin-bottom:30px}.eyebrow{color:#66758a;font-size:.78rem;font-weight:850;margin:0 0 7px;text-transform:uppercase}.content-section{display:grid;gap:18px}.content-section.narrow{max-width:620px}.empty-panel,.tool-panel{border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:20px}.empty-panel{display:flex;align-items:center;justify-content:space-between;gap:16px}.student-list{display:grid;gap:10px}.student-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;border:1px solid #d9e2ec;background:#fff;color:#17202a;min-height:58px;text-align:left}.student-row:hover{border-color:#92c8ee;background:#f8fbff}.student-row span:first-child{overflow:hidden;text-overflow:ellipsis}.student-row span:last-child{color:#66758a;font-size:.9rem;font-weight:700}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.split-panel{display:grid;gap:18px;align-content:start}.button-row{display:flex;justify-content:flex-end;gap:10px}.button-row button:first-child,.topbar button,.section-heading button:first-child:not(:only-child){background:#e6edf5;color:#24354d}.button-row button:first-child:hover,.topbar button:hover,.section-heading button:first-child:not(:only-child):hover{background:#d7e1ee}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{padding:18px}.nav-list{grid-template-columns:repeat(4,minmax(0,1fr))}.nav-list button{justify-content:center;padding:0 8px}.main{padding:24px 18px}.detail-grid,.student-row{grid-template-columns:1fr}}@media(max-width:560px){.auth-panel{padding:22px}.topbar,.section-heading,.empty-panel,.notice,.button-row{display:grid}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
