@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}
.auth-form select{box-sizing:border-box;width:100%;border:1px solid #cbbd9e;border-radius:8px;padding:13px;font:inherit;font-size:1rem;background:#fff;color:#1b365d}

.student-type-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 8px}.student-type-card{display:grid;gap:12px;min-height:205px;padding:24px;text-align:left;color:#1b365d;background:#fffdf7;border:1px solid #d8cba9;border-radius:14px;box-shadow:0 8px 22px rgba(27,54,93,.08);font:inherit;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.student-type-card:hover,.student-type-card:focus-visible{transform:translateY(-2px);border-color:#b28b3e;box-shadow:0 12px 26px rgba(27,54,93,.14);outline:3px solid rgba(178,139,62,.22);outline-offset:2px}.student-type-card.family{background:#f7f8fb}.student-type-card-title{font-size:1.35rem;font-weight:700}.student-type-card-count{color:#b28b3e;font-size:1.05rem;font-weight:700}.student-type-card-description{color:#4b525d;line-height:1.5}.student-type-card-action{margin-top:auto;font-weight:700}.student-group-panel{margin-top:8px}.student-type-back{margin:8px 0 20px;padding:9px 12px;border:1px solid #b28b3e;border-radius:8px;background:transparent;color:#1b365d;font:700 .95rem Montserrat,Arial,sans-serif;cursor:pointer}.student-group-panel h2{margin-bottom:6px}.student-list-empty{color:#656b75;padding:18px 0!important}@media(max-width:650px){.student-type-cards{grid-template-columns:1fr}.student-type-card{min-height:170px;padding:20px}}

.family-practice-access{grid-column:1/-1;border:1px solid #ccd8e6;border-radius:10px;padding:14px 16px;background:#f7f9fc}.family-practice-access summary{font-weight:700;color:#173b67;cursor:pointer;padding:4px 0}.family-practice-access p{margin:10px 0;color:#53647a}.family-practice-access fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:12px 0;padding:12px;border:1px solid #d7e0ea;border-radius:8px;background:#fff}.family-practice-access legend{font-weight:700;padding:0 5px}.family-practice-access fieldset label{display:flex;align-items:center;gap:8px;font-weight:400}.family-practice-access button{margin:4px 0;padding:10px 14px;border:0;border-radius:7px;background:#173b67;color:#fff;font-weight:700;cursor:pointer}.family-practice-access button:disabled{opacity:.6;cursor:wait}@media(max-width:600px){.family-practice-access fieldset{grid-template-columns:1fr}}

.access-preset-controls{display:grid;gap:12px;padding:16px;margin:14px 0;border:1px solid #c9d6e4;border-radius:10px;background:#f5f8fc}.access-preset-controls label{display:grid;gap:6px;font-weight:600}.access-preset-controls select,.access-preset-controls button{font:inherit;min-height:44px;max-width:100%;padding:10px;border:1px solid #b7c8da;border-radius:7px}.access-preset-controls p{margin:0;font-size:14px;line-height:1.5}.access-preset-controls button:disabled{opacity:.6}@media(max-width:600px){.access-preset-controls{padding:12px;min-width:0}.access-preset-controls select{width:100%;min-width:0;box-sizing:border-box}}
