/* 账号页独立布局：桌面展示品牌与表单，手机优先完成注册，不影响公共页面。 */
.email-auth-page { padding: 20px 0; min-height: calc(100vh - 174px); }
.auth-layout { display: grid; grid-template-columns: .88fr 1.12fr; width: min(1000px, 100%); background: #fff; border: 1px solid #dce7eb; border-radius: 22px; box-shadow: 0 18px 55px #183e5010; overflow: hidden; }
.auth-context { display: flex; flex-direction: column; padding: 32px; background: #edf5f4; border-right: 1px solid #e1ecea; }
.auth-brand { display: flex; align-items: center; gap: 12px; color: #193d4e; font-size: 16px; font-weight: 700; }
.auth-brand img { border-radius: 12px; }
.auth-brand small { display: block; margin-top: 4px; color: #6a8387; font-size: 12px; font-weight: 400; letter-spacing: .1em; }
.auth-intro { margin: 42px 0 32px; }
.auth-eyebrow { margin: 0 0 12px; color: #428075; font-size: 13px; font-weight: 700; letter-spacing: .07em; }
.auth-intro h2 { margin: 0; color: #173b4c; font-size: 34px; line-height: 1.55; letter-spacing: -.035em; font-weight: 700; }
.auth-intro h2 span { color: #258775; }
.auth-intro-copy { margin: 17px 0 20px; color: #597279; font-size: 15px; line-height: 1.9; }
.auth-subjects { display: flex; gap: 9px; }
.auth-subjects span { padding: 5px 13px; border: 1px solid #d6e6e1; border-radius: 6px; background: #ffffff70; color: #4d706b; font-size: 12px; }
.auth-features { display: grid; gap: 22px; margin-bottom: 30px; }
.auth-features > div { display: flex; align-items: center; gap: 12px; }
.auth-feature-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: #ffffffb5; color: #398577; border: 1px solid #deebe6; border-radius: 11px; }
.auth-feature-icon svg { width: 23px; height: 23px; }
.auth-features p { margin: 0; }
.auth-features b { display: block; margin-bottom: 5px; color: #2c514f; font-size: 14px; font-weight: 600; }
.auth-features p > span { display: block; color: #6b8282; font-size: 12px; line-height: 1.6; }
.auth-explore { display: flex; align-items: center; justify-content: space-between; margin-top: auto; min-height: 44px; padding-top: 16px; border-top: 1px solid #d5e5df; color: #327365; font-size: 13px; font-weight: 600; }
.auth-explore span { font-size: 19px; }
.email-auth-card { display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 24px 38px 20px; border: 0; border-radius: 0; box-shadow: none; }
.email-auth-card h1 { margin: 0; color: #193c50; font-size: 28px; letter-spacing: -.025em; font-weight: 700; }
.auth-form-heading .auth-eyebrow { margin-bottom: 9px; }
.auth-description { margin: 10px 0 0; color: #70818d; font-size: 13px; line-height: 1.7; }
.email-auth-card form { gap: 12px; margin-top: 20px; }
.email-auth-card label { gap: 8px; color: #345063; font-size: 14px; font-weight: 600; }
.email-auth-card input { min-width: 0; width: 100%; height: 46px; padding: 0 13px; border: 1px solid #d2dfe6; border-radius: 8px; background: #fcfdfe; color: #1e4054; font-size: 15px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.email-auth-card input::placeholder { color: #96a4ad; opacity: 1; }
.email-auth-card input:focus { border-color: #378778; background: #fff; box-shadow: 0 0 0 3px #28887715; }
.auth-passwords { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.verification-field { display: grid; gap: 8px; }
.verification-controls { display: grid; grid-template-columns: minmax(0, 1fr) 126px; gap: 10px; }
.verification-controls button { min-height: 46px; padding: 0 8px; border: 1px solid #c4dcd6; border-radius: 8px; background: #f0f8f5; color: #287762; font-size: 14px; font-weight: 600; cursor: pointer; }
.verification-controls button:hover:not(:disabled) { background: #e4f2ed; border-color: #95bfb2; }
.verification-controls button:disabled { cursor: default; color: #81918f; background: #f3f6f5; border-color: #e0e8e5; }
.verification-field p { margin: 0; color: #667d8a; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.verification-field p[data-error="true"] { color: #b33431; }
.auth-promo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #e4ebe9; border-radius: 9px; background: #f7faf9; }
.auth-promo > div > span { display: block; margin-top: 4px; color: #647d75; font-size: 12px; }
.email-auth-card .auth-promo input { width: 112px; height: 38px; padding: 0; border: 0; background: transparent; color: #3d7d6b; text-align: right; font: 600 14px ui-monospace, Consolas, monospace; letter-spacing: .09em; }
.email-auth-card .email-consent { display: flex; align-items: flex-start; gap: 9px; color: #617781; font-size: 12px; line-height: 1.6; font-weight: 400; cursor: pointer; }
.email-auth-card .email-consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #287762; }
.email-consent small { display: block; margin-top: 3px; color: #697e8a; font-size: 12px; }
.email-auth-card form > button { min-height: 47px; height: auto; border-radius: 8px; background: #1c4359; font-size: 15px; font-weight: 600; letter-spacing: .04em; cursor: pointer; box-shadow: 0 4px 10px #16374814; }
.email-auth-card form > button:hover { background: #255970; }
.email-auth-card .auth-switch { margin-top: 19px; color: #8a99a3; font-size: 13px; }
.email-auth-card .auth-switch a { margin-left: 4px; color: #286f62; font-weight: 600; }
.email-auth-card .auth-free-note { margin: 12px 0 0; font-weight: 400; letter-spacing: 0; text-align: center; color: #697e8a; font-size: 12px; }
.auth-layout :focus-visible { outline: 3px solid #348977; outline-offset: 3px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .auth-context { padding: 28px 24px; }
  .auth-intro h2 { font-size: 29px; }
  .email-auth-card { padding: 28px; }
}
@media (max-width: 760px) {
  .email-auth-page { padding: 22px 0; }
  .auth-layout { width: min(500px,100%); grid-template-columns: minmax(0,1fr); border-radius: 17px; }
  .auth-context { display: none; }
  .email-auth-card { padding: 28px 24px 24px; }
  .email-auth-card input { font-size: 16px; }
  .auth-description { font-size: 13px; }
  .email-auth-card .email-consent { font-size: 13px; }
  .email-consent small { font-size: 12px; }
  .auth-free-note { font-size: 12px; }
}
@media (max-width: 430px) {
  .auth-passwords { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .email-auth-card { padding: 25px 21px; }
  .email-auth-card h1 { font-size: 26px; }
  .verification-controls { grid-template-columns: minmax(0,1fr) 116px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .email-auth-card input { transition: none; } }

/* 常见笔记本视口压缩分区间距，保留输入框与按钮尺寸。 */
@media (min-width: 761px) and (max-height: 850px) {
  .email-auth-page { padding: 16px 0; }
  .email-auth-card { padding-top: 22px; padding-bottom: 18px; }
  .email-auth-card form { gap: 11px; margin-top: 18px; }
  .auth-intro { margin: 32px 0 24px; }
  .auth-features { gap: 18px; }
}
