.account-auth{max-width:620px;margin:70px auto}
.account-page,.profile-page,.hub-page{padding-bottom:80px}
.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.account-grid>.card{display:block}
.account-notice{margin-bottom:24px;padding:18px 20px;border:1px solid #594a25;border-radius:10px;background:#19150d}
.account-notice p{margin:4px 0 0;color:var(--muted)}
.verification-form{max-width:720px;margin-bottom:80px}
.verification-form select,.editor-card select,.student-form select{width:100%;padding:12px;border:1px solid #30333b;background:#0b0c0f;color:#fff}
.verification-form label small,.student-form label small{display:block;color:var(--muted);margin:5px 0}
.profile-avatar{display:grid;place-items:center;width:72px;height:72px;margin-bottom:18px;border-radius:18px;background:linear-gradient(135deg,var(--purple),var(--blue));font-size:28px;font-weight:700}
.profile-badges{display:flex;gap:10px;flex-wrap:wrap}
.hub-hero{max-width:820px;padding:92px 0 76px}
.hub-hero h1{font-size:clamp(44px,6vw,72px);line-height:1.03;letter-spacing:-.05em;margin:20px 0}
.hub-hero>p{max-width:650px;color:var(--muted);font-size:18px}
.hub-tabs{display:flex;gap:6px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.hub-tabs a{padding:9px 13px;border-radius:7px;color:var(--muted);white-space:nowrap}
.hub-tabs a.active{background:var(--panel2);color:#fff}
.verification-list{display:grid;gap:16px}
.verification-card header{display:flex;justify-content:space-between;gap:20px}
.verification-card dl{display:grid;grid-template-columns:140px 1fr;gap:7px 14px}
.verification-card dt{color:var(--muted)}
.verification-card dd{margin:0}
.remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}
.remember input{width:auto!important}
.login-links{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}

/* Student learning home — standalone dashboard (no public header/footer) */
.student-body{min-height:100vh;margin:0;background:
  radial-gradient(ellipse 80% 50% at 0% 0%,rgba(79,140,255,.1),transparent 50%),
  radial-gradient(ellipse 50% 40% at 100% 100%,rgba(94,224,160,.06),transparent 45%),
  var(--bg)}
.student-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}
.student-menu-toggle{display:none;position:fixed;top:16px;left:16px;z-index:30;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#12141b;color:#fff;align-items:center;justify-content:center;cursor:pointer}
.student-menu-toggle svg{width:20px;height:20px}
.student-side{
  display:flex;flex-direction:column;gap:22px;padding:28px 20px;border-right:1px solid var(--line);
  background:linear-gradient(180deg,#10131a 0%,#0b0c10 100%);position:sticky;top:0;height:100vh;overflow:auto
}
.student-brand{display:flex;align-items:center;gap:10px;font-weight:700;color:#fff}
.student-brand .logo{width:34px;height:34px}
.student-brand small{display:block;margin-top:2px;font:500 11px DM Mono,ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#9db7ff}
.student-identity{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #242833;border-radius:14px;background:#0d0f14}
.student-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#3d6fd4,#5ee0a0);font-weight:700;font-size:18px;color:#071018;flex:none}
.student-identity strong{display:block;font-size:15px;line-height:1.2}
.student-identity small{color:var(--muted);font-size:12px}
.student-nav{display:grid;gap:4px}
.student-nav a{padding:11px 12px;border-radius:10px;color:#b4b8c3;font-size:14px}
.student-nav a:hover{color:#fff;background:rgba(255,255,255,.04)}
.student-nav a.is-active{color:#fff;background:#171c28;border:1px solid #2f3a55}
.student-side-foot{margin-top:auto;display:grid;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.student-side-foot a{font-size:13px;color:var(--muted)}
.student-side-foot a:hover{color:#fff}
.student-admin-escape{color:#9db7ff!important}
.student-main{min-width:0;display:grid;gap:22px;align-content:start;padding:36px 40px 64px;max-width:1120px}
.student-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:8px}
.student-page-head h1{margin:8px 0 8px;font-size:clamp(28px,4vw,40px);letter-spacing:-.04em;line-height:1.1}
.student-page-head p{margin:0;max-width:560px;color:var(--muted)}
.student-head-actions{display:flex;flex-wrap:wrap;gap:10px}
.student-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.student-metrics>div{padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#101116}
.student-metrics span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.student-metrics strong{font-size:28px;letter-spacing:-.03em}
.student-dash{display:grid;grid-template-columns:1.35fr .9fr;gap:16px}
.student-panel{display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#101116;align-content:start}
.student-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.student-panel>header h2{margin:6px 0 0;font-size:20px;letter-spacing:-.02em}
.student-panel>header a{color:var(--muted);font-size:13px}
.student-panel>header a:hover{color:#fff}
.student-course-list,.student-note-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.student-course-list li{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:14px;border:1px solid #22252e;border-radius:12px;background:#0c0d12}
.student-course-list strong{display:block}
.student-course-list small,.student-note-list small{color:var(--muted)}
.student-note-list li a,.student-note-list li>div{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid #1f222b}
.student-note-list li:last-child a,.student-note-list li:last-child>div{border-bottom:0;padding-bottom:0}
.student-note-list span{color:var(--muted);font-size:14px}
.student-empty{padding:28px 8px;text-align:left}
.student-empty.wide{padding:48px 28px;border:1px dashed #2c303b;border-radius:16px;background:#0d0e13}
.student-empty.quiet{padding:8px 0;color:var(--muted)}
.student-empty h2,.student-empty h3{margin:0 0 8px}
.student-empty p{margin:0 0 16px;color:var(--muted);max-width:420px}
.student-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.student-quick a{display:grid;gap:6px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#101116;transition:border-color .18s ease,transform .18s ease}
.student-quick a:hover{border-color:#3a3f4d;transform:translateY(-2px)}
.student-quick strong{font-size:16px}
.student-quick small{color:var(--muted);line-height:1.45}
.student-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.student-course-card{display:grid;gap:10px;align-content:start;padding:22px;border:1px solid var(--line);border-radius:16px;background:#101116}
.student-course-card h2{margin:0;font-size:22px;letter-spacing:-.03em}
.student-course-card p{margin:0;color:var(--muted)}
.student-course-card small{color:#7f8491}
.student-note{padding:10px 12px;border-radius:8px;background:#15171d;color:#c9ccd4;font-size:13px}
.student-form{display:grid;gap:16px;max-width:640px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#101116}
.student-form label{display:grid;gap:7px;font-size:13px;color:#d7d9df}
.student-form input,.student-form textarea{width:100%;padding:12px 14px;border:1px solid #30333b;border-radius:8px;background:#0b0c0f;color:#fff;font:inherit}
.student-form input:disabled{opacity:.55}
.student-form .button{justify-self:start}
.status-chip{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;border:1px solid #333845;font-size:11px;color:#c5c8d0;background:#15171d;width:fit-content}
.status-chip.verified{color:#6ee7a8;border-color:rgba(75,210,130,.28);background:rgba(38,180,100,.12)}
.status-chip.pending{color:#f0c674;border-color:rgba(240,198,116,.28);background:rgba(120,90,20,.18)}
.status-chip.rejected,.status-chip.revoked{color:#f0a0a0;border-color:rgba(240,120,120,.28);background:rgba(90,30,30,.18)}

@media(max-width:980px){
  .student-shell{grid-template-columns:1fr}
  .student-menu-toggle{display:inline-flex}
  .student-side{
    position:fixed;inset:0 auto 0 0;width:min(300px,88vw);z-index:25;height:100vh;
    transform:translateX(-105%);transition:transform .22s ease;box-shadow:24px 0 60px rgba(0,0,0,.45)
  }
  .student-side.menu-open{transform:translateX(0)}
  .student-main{padding:72px 20px 48px}
  .student-dash,.student-quick,.student-course-grid,.student-metrics{grid-template-columns:1fr}
  .student-page-head{flex-direction:column;align-items:flex-start}
  .student-course-list li{grid-template-columns:1fr;justify-items:start}
}
@media(max-width:850px){
  .account-grid{grid-template-columns:1fr}
  .hub-hero{padding-top:65px}
  .verification-card header{display:block}
  .verification-card dl{grid-template-columns:1fr}
  .verification-card dd{margin-bottom:8px}
}
/* Hidden registration honeypot. */
.form-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
