@font-face{font-family:Montserrat;src:url('fonts/montserrat-400.ttf')}@font-face{font-family:Montserrat;src:url('fonts/montserrat-700.ttf');font-weight:700}@font-face{font-family:Playfair Display;src:url('fonts/playfair-600.ttf');font-weight:600}.auth-body{margin:0;min-height:100vh;background:#fefcf7;color:#1b365d;font-family:Montserrat,Arial,sans-serif}.auth-main{max-width:1080px;margin:0 auto;padding:52px 24px}.auth-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:46px}.auth-logo img{display:block;width:180px;height:auto}.auth-back{color:#1b365d;font-weight:700;text-decoration:none}.auth-card{max-width:510px;margin:0 auto;background:#fffdf7;border:1px solid #e6dcc7;border-radius:16px;padding:38px;box-shadow:0 18px 42px rgba(27,54,93,.12)}.auth-card.wide{max-width:800px}.auth-kicker{color:#b28b3e;font-size:.76rem;font-weight:700;letter-spacing:.12em}.auth-card h1{font-family:'Playfair Display',Georgia,serif;font-size:2.4rem;margin:.4rem 0 .7rem}.auth-card p{line-height:1.6;color:#4b525d}.auth-form{display:grid;gap:17px;margin-top:25px}.auth-form label{display:grid;gap:7px;font-weight:700}.auth-form input{box-sizing:border-box;border:1px solid #cbbd9e;border-radius:8px;padding:13px;font:inherit;font-size:1rem}.auth-form button,.auth-button{border:0;border-radius:8px;padding:14px 18px;background:#1b365d;color:#fff;font:700 1rem Montserrat,Arial;cursor:pointer}.auth-form button:hover,.auth-button:hover{background:#102b4e}.form-message{min-height:1.5em;margin:0;color:#a4473b}.form-message.success{color:#23734b}.auth-help{font-size:.9rem}.admin-header{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:28px}.admin-header h1{font-family:'Playfair Display',Georgia,serif;margin:0}.student-list{padding:0;margin:20px 0;list-style:none;border-top:1px solid #e6dcc7}.student-list li{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e6dcc7}.student-list small{display:block;color:#656b75;margin-top:4px}.student-list button{background:transparent;color:#1b365d;border:1px solid #1b365d;border-radius:7px;padding:8px 10px;font-weight:700;cursor:pointer}.status-off{color:#a4473b}@media(max-width:600px){.auth-main{padding:30px 16px}.auth-top{margin-bottom:28px}.auth-card{padding:26px 20px}.auth-card h1{font-size:2rem}.student-list li{align-items:flex-start;flex-direction:column}}

.student-actions{display:flex;flex-wrap:wrap;gap:10px}.password-reset-panel{padding:22px;margin:20px 0;border:1px solid #cbbd9e;border-radius:10px;background:#fffdf7}.password-reset-panel h2{margin-top:0}.password-reset-panel .reset-cancel{background:transparent;color:#1b365d;border:1px solid #1b365d}.student-actions button{font:700 1rem Montserrat,Arial,sans-serif}.password-reset-panel button:disabled{opacity:.6;cursor:wait}

.student-account-controls{width:min(100%,350px)}.student-teacher-label{display:grid;gap:7px;margin-bottom:10px;font-weight:700}.student-teacher-label select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbbd9e;border-radius:7px;font:inherit;font-size:1rem;color:#1b365d;background:#fff}.teacher-link-status{min-height:1.5em;margin:8px 0!important;font-size:.9rem}.student-list li>div:first-child{min-width:0;overflow-wrap:anywhere}.student-account-controls>button{font-size:1rem}.student-account-controls button:disabled{opacity:.6;cursor:wait}
