.auth-page{display:grid;place-items:center;min-height:100vh;padding:25px;background:linear-gradient(125deg,#e7efe8,#f4f7f3)}.auth-card{width:100%;max-width:460px;margin:0;background:white;border:1px solid #d4e1d9;border-radius:10px;padding:38px;box-shadow:0 15px 60px #193c3010}.auth-card h1{margin:16px 0 8px}.auth-card label{display:block;font-size:12px;margin:18px 0 7px}.auth-card input{width:100%;padding:11px 12px;border:1px solid #cddbd4;border-radius:4px;background:#fbfdfb}.auth-card button{margin-top:25px}.auth-card #message{min-height:24px;color:#a14c38;font-size:12px;margin:12px 0}.account-tools{display:flex;align-items:center;gap:10px;font-size:11px}.account-tools #syncStatus{max-width:260px;white-space:normal}.sync-error{color:#a14c38!important}.teacher-shell{max-width:1180px;margin:auto;padding:35px 25px}.teacher-shell header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.teacher-grid{display:grid;grid-template-columns:330px 1fr;gap:22px}.teacher-shell form label{display:block;font-size:12px;margin:12px 0 5px}.teacher-shell form input{width:100%}.teacher-shell #message{font-size:12px;color:#a14c38}.teacher-shell .table-wrap{max-height:650px}.teacher-shell #refresh{margin-bottom:15px}.password-dialog{max-width:430px;width:90%;border:1px solid #cddbd4;border-radius:8px;padding:25px;color:var(--ink)}.password-dialog::backdrop{background:#12342d66}.password-dialog label{display:block;margin:12px 0 5px;font-size:12px}.password-dialog input{width:100%}@media(max-width:760px){.auth-card{padding:28px 23px}.teacher-grid{grid-template-columns:1fr}.teacher-shell{padding:22px 16px}.account-tools{gap:5px;flex-wrap:wrap;justify-content:flex-end}.account-tools .who{display:none}.account-tools #syncStatus{font-size:10px;max-width:150px}.topbar{height:auto;min-height:65px;padding:10px 16px}.teacher-shell header{align-items:flex-start}}
.teacher-grid>*{min-width:0}.teacher-shell .table-wrap{max-width:100%}


/* ===== 登录页美化（蓝色主题 · 与实验库统一）20261115c ===== */
.auth-page{display:grid;place-items:center;min-height:100vh;padding:28px;position:relative;overflow-x:hidden;
  background:linear-gradient(150deg,#d9ecff 0%,#eef5ff 45%,#f2efff 100%)}
.auth-page::before,.auth-page::after{content:"";position:fixed;border-radius:50%;pointer-events:none}
.auth-page::before{width:560px;height:560px;right:-150px;top:-190px;border:58px solid rgba(45,140,255,.10)}
.auth-page::after{width:460px;height:460px;left:-170px;bottom:-210px;
  background:radial-gradient(circle,rgba(124,58,237,.14) 0%,rgba(45,140,255,.07) 55%,transparent 72%)}
/* 注册模式卡片很高（5 个字段）：收起横幅与体验入口、压缩间距，保证小窗口也能看全 */
body.mode-register .login-banner{display:none}
body.mode-register .auth-card{padding:18px 26px}
body.mode-register .auth-card h1{font-size:24px;margin:4px 0 2px}
body.mode-register .auth-card label{margin:6px 0 4px}
body.mode-register .auth-card input{padding:6px 10px}
body.mode-register .auth-card button{margin-top:0}
body.mode-register .auth-card #authTabs button{margin-top:0}
body.mode-register .auth-card .btn.full{margin-top:10px;padding:10px;font-size:14px}
body.mode-register .auth-card #message{min-height:0;margin:6px 0 0}
body.mode-register .auth-card .notice{margin-top:8px;font-size:11px}
body.mode-register.auth-page{padding:10px 28px}
.auth-card{position:relative;z-index:1;max-width:470px;background:rgba(255,255,255,.94);border:1px solid #d5e4f4;
  border-radius:20px;padding:34px 38px;box-shadow:0 22px 60px rgba(40,102,213,.16);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.auth-card .login-banner{border-radius:14px;overflow:hidden;margin-bottom:6px}
.auth-card .eyebrow{display:block;font-size:11px;letter-spacing:2px;color:#2866d5;font-weight:800;margin:0}
.auth-card h1{margin:6px 0 2px;font-size:36px;color:#123a6b;letter-spacing:1px}
.auth-card .pn-text{font-size:16px;font-weight:800;line-height:1.55;margin:0 0 4px;
  text-wrap:balance;width:100%;color:#16325c}
.auth-card .pn-text .pn-hl{color:#0f766e}
.auth-card .muted{color:#5b7391}
.auth-card .btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:0;
  box-shadow:0 8px 18px rgba(40,102,213,.30)}
.auth-card .btn.primary:hover{filter:brightness(1.07)}
.auth-card input:focus{border-color:#2563eb;outline:0;box-shadow:0 0 0 3px rgba(40,102,213,.14);background:#fff}
.auth-card .notice{background:#eef5ff;border:1px solid #d5e4f4;border-radius:10px;padding:10px 12px;
  color:#45688e;font-size:12px}
.auth-card .definition{color:#64748b}

/* ===== 二轮美化：去徽章后的项目名与卡片细节 ===== */
.auth-card{overflow:hidden}
.auth-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#2563eb,#7c3aed 55%,#2dd4bf)}
.auth-card .pn-text{font-size:16px;margin:0 0 6px;padding-bottom:10px;position:relative;
  text-wrap:balance;width:100%}
.auth-card .pn-text::after{content:"";position:absolute;left:1px;bottom:0;height:3px;width:150px;
  border-radius:999px;background:linear-gradient(90deg,#2563eb 0 55%,#0f766e 55% 100%)}
.auth-card .btn.primary.full{padding:13px;font-size:15px;letter-spacing:2px}
.auth-card #authTabs{margin-bottom:4px}
.auth-card #authTabs button{border-radius:10px;padding:9px 16px;font-weight:700}
.auth-card #authTabs button[aria-pressed="true"]{background:linear-gradient(135deg,#2563eb,#1d4ed8);
  border-color:transparent;box-shadow:0 6px 16px rgba(40,102,213,.26)}
.auth-card .notice{margin-top:14px}
