:root{--auth-ink:#281f31;--auth-muted:#766d7b;--auth-line:#eadfe8;--auth-brand:#e31667;--auth-violet:#7451ad;--auth-soft:#fff4f8}
.teacher-auth-body{background:linear-gradient(135deg,#fffafb 0%,#f8f4fb 52%,#f3f0fb 100%)}
.teacher-auth-shell{grid-template-columns:minmax(440px,1.02fr) minmax(480px,.98fr)}
.teacher-auth-brand{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.18),transparent 22%),radial-gradient(circle at 90% 82%,rgba(255,255,255,.12),transparent 30%),linear-gradient(145deg,#5d3194 0%,#7d4aac 46%,#d51b70 116%)}
.teacher-auth-brand:before{content:"";position:absolute;left:-150px;bottom:-160px;width:430px;height:430px;border:1px solid rgba(255,255,255,.13);border-radius:50%}
.aibuddy-lockup{display:flex;align-items:center;gap:12px;color:#fff}.aibuddy-mark{width:44px;height:44px;border-radius:14px;background:#fff;color:var(--auth-brand);display:grid;place-items:center;font-size:17px;font-weight:950;letter-spacing:-.06em;box-shadow:0 12px 30px rgba(48,22,74,.18)}.aibuddy-wordmark{display:grid;gap:1px}.aibuddy-wordmark strong{font-size:24px;line-height:1;letter-spacing:-.055em}.aibuddy-wordmark small{font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.teacher-auth-brand-copy{max-width:650px}.teacher-auth-brand h1{font-size:clamp(40px,4.45vw,68px)}.teacher-auth-brand p{font-size:15px}.teacher-auth-benefits span{display:flex;align-items:center;gap:9px}.teacher-auth-benefits span:before{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.14);font-size:10px;flex:0 0 20px}
.teacher-auth-card{width:min(500px,calc(100% - 72px));padding:44px 46px;border-radius:28px;box-shadow:0 28px 78px rgba(72,43,87,.12)}.teacher-auth-card-head{margin-bottom:2px}.teacher-auth-card-head .auth-product{display:flex;align-items:center;gap:8px;margin-bottom:18px;color:var(--auth-violet);font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.teacher-auth-card-head .auth-product:before{content:"";width:26px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--auth-brand),var(--auth-violet))}.teacher-auth-card-head h2{font-size:38px}.teacher-auth-card-head p{font-size:13px}.teacher-auth-form{gap:17px}.teacher-auth-form label{font-size:12px}.teacher-auth-form input{height:52px;border-radius:13px;background:#fffdfd}.teacher-auth-form input:hover{border-color:#cdbbc9}.teacher-auth-form input:focus{border-color:#b966a0;box-shadow:0 0 0 4px rgba(227,22,103,.07)}.teacher-auth-submit{min-height:52px;border-radius:13px}.teacher-auth-helper{display:flex;justify-content:space-between;gap:14px;margin-top:-4px;color:#8c818b;font-size:10px}.teacher-auth-helper span:last-child{text-align:right}.teacher-auth-register{min-height:48px;border-radius:13px}.teacher-auth-security{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:11px 12px;border-radius:12px;background:#faf7fb;color:#817681;font-size:10px;line-height:1.55}.teacher-auth-security b{color:#654a74}
.teacher-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;border-bottom:1px solid var(--line)}.teacher-brand-link{display:flex;align-items:center;gap:10px}.teacher-brand-mini{width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,var(--auth-brand),var(--auth-violet));color:#fff;display:grid;place-items:center;font-size:12px;font-weight:950;letter-spacing:-.04em}.teacher-brand-copy{display:grid;gap:1px}.teacher-brand-copy strong{font-size:15px;letter-spacing:-.035em}.teacher-brand-copy small{font-size:9px;font-weight:850;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}.teacher-account-actions{display:flex;align-items:center;gap:10px}.teacher-account-meta{display:grid;text-align:right;gap:1px}.teacher-account-meta strong{font-size:11px}.teacher-account-meta span{font-size:9px;color:var(--muted)}.teacher-logout-form{margin:0}.teacher-logout-button{height:38px;padding:0 13px;border:1px solid #e4d8e1;border-radius:11px;background:#fff;color:#695d69;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.teacher-logout-button:hover{border-color:#d7bdce;background:#fff8fb;color:#b22a86}
.workspace-switch-trigger{min-height:40px;padding:7px 11px;border:1px solid var(--auth-line);border-radius:12px;background:#fff;display:grid;grid-template-columns:1fr auto;column-gap:9px;align-items:center}.workspace-switch-trigger>span{grid-column:1;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--auth-muted)}.workspace-switch-trigger>strong{grid-column:1;font-size:10px;color:var(--auth-violet)}.workspace-switch-trigger>b{grid-column:2;grid-row:1/3;font-size:13px;color:var(--auth-muted)}.workspace-switch-trigger:hover{border-color:#d8bfd0;background:#fff9fc}
.workspace-picker{min-height:100vh;display:grid;place-items:center;padding:28px}.workspace-picker-card{width:min(720px,100%);padding:42px;border:1px solid var(--auth-line);border-radius:28px;background:#fff;box-shadow:0 28px 78px rgba(72,43,87,.12)}.workspace-picker-card h1{font-size:42px;margin:9px 0 10px}.workspace-picker-card>p{margin:0 0 26px;color:var(--auth-muted)}.workspace-picker-grid{display:grid;gap:11px}.workspace-option{display:flex;align-items:center;gap:14px;padding:17px;border:1px solid var(--auth-line);border-radius:16px;background:#fff}.workspace-option:hover,.workspace-option.active{border-color:#d8bfd0;background:linear-gradient(90deg,#fff8fb,#faf7ff)}.workspace-option-mark{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#f5edf8;color:var(--auth-violet);font-weight:900}.workspace-option div{display:grid;gap:3px}.workspace-option strong{font-size:14px}.workspace-option small{font-size:10px;color:var(--auth-muted)}
@media(max-width:980px){.teacher-auth-shell{grid-template-columns:1fr}.teacher-auth-card{width:min(680px,calc(100% - 32px))}.teacher-auth-brand{padding-bottom:40px}}
@media(max-width:680px){.teacher-auth-card{padding:28px 22px;border-radius:21px}.teacher-auth-card-head h2{font-size:31px}.aibuddy-wordmark strong{font-size:21px}.teacher-account-meta{display:none}.teacher-topbar{gap:8px}.teacher-brand-copy small{display:none}.teacher-logout-button{padding:0 10px}.workspace-switch-trigger>span{display:none}.workspace-switch-trigger{display:flex;padding:0 9px}.workspace-picker{padding:14px}.workspace-picker-card{padding:28px 20px;border-radius:21px}.workspace-picker-card h1{font-size:32px}}
