/* v0.9.8 — First Start / Login UX */
:root{--auth-blue:#245fa8;--auth-blue-soft:#edf5ff;--auth-green:#1f7b60;--auth-error:#a43b32;--auth-error-soft:#fff1ef;--auth-muted:#566f87}
.first-start-auth-wrap{max-width:660px;margin:0 auto}
.first-start-auth-tabs,.classroom-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;border:1px solid #cfdeec;border-radius:14px;background:#eaf2fa}
.auth-tab{min-height:46px;border:0;border-radius:10px;background:transparent;color:#58718a;font:inherit;font-weight:800;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.auth-tab:hover{background:rgba(255,255,255,.72);color:#244f7b}
.auth-tab.is-active{background:#fff;color:#164d86;box-shadow:0 4px 13px rgba(25,67,110,.1)}
.auth-tab[aria-selected="true"]{cursor:default}
.first-start-auth-panels{margin-top:12px}
.first-start-card{min-height:0}
.first-start-login,.first-start-register{border-top:0}
.first-start-card>div:first-child{padding-bottom:4px;border-bottom:1px solid #edf2f7}
.first-start-card>div:first-child>p:not(.eyebrow){color:var(--auth-muted)}
.field-hint{display:block;margin-top:-2px;color:#617b94;font-size:.76rem;line-height:1.5}
.field-error{min-height:0;margin:0;color:var(--auth-error);font-size:.78rem;font-weight:700;line-height:1.45}
.field-error:empty{display:none}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:#d66c63;background:var(--auth-error-soft)}
.field input[aria-invalid="true"]:focus,.field select[aria-invalid="true"]:focus{outline-color:#c6544a}
.auth-room-field{padding:11px 12px;border:1px dashed #c8d8e8;border-radius:11px;background:#f8fbfe}
.auth-extra-details{border:1px solid #d7e3ef;border-radius:11px;background:#f8fbfe;overflow:hidden}
.auth-extra-details>summary{cursor:pointer;padding:11px 12px;color:#416586;font-size:.84rem;font-weight:800;list-style-position:inside}
.auth-extra-details>summary span{font-weight:500;color:#70869b}
.auth-extra-details[open]>summary{border-bottom:1px solid #e1eaf2;background:#f3f8fc}
.auth-extra-details>div{padding:12px}
.first-start-message{max-width:660px;margin:12px auto 0;padding:0 6px;color:var(--auth-error);text-align:left}
.first-start-message:not(:empty){padding:9px 11px;border:1px solid #efc0bb;border-radius:9px;background:var(--auth-error-soft)}
.student-auth-grid.student-auth-tabbed{display:block;margin-top:12px}
.student-auth-tabbed .student-auth-form{max-width:660px;margin:0 auto}
.classroom-auth-tabs{max-width:660px;margin:0 auto}
.student-account-card .field-error{margin-top:-2px}
@media(max-width:650px){
 .first-start-auth-wrap{max-width:none}.auth-tab{min-height:44px}.auth-room-field{padding:10px}.auth-extra-details>div .student-auth-two{grid-template-columns:1fr}.first-start-message{padding-left:0;padding-right:0}.first-start-message:not(:empty){padding:9px 10px}
}
