.guardian-auth { --guardian-auth-ink: #152d32; --guardian-auth-muted: #74827e; min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 46%) minmax(0, 1fr); background: #f7f5f0; color: var(--guardian-auth-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.guardian-auth * { box-sizing: border-box; }
.guardian-auth a { color: inherit; text-decoration: none; }
.guardian-auth-story { background: #152d32; color: #f5f1e7; padding: 44px clamp(34px, 5vw, 92px) 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 100vh; }
.guardian-auth-brand { display: inline-flex; align-items: center; gap: 13px; font-size: 24px; font-weight: 700; letter-spacing: 1px; align-self: flex-start; }
.guardian-auth-emblem { width: 38px; height: 38px; flex-shrink: 0; }
.guardian-auth-story-copy { margin-top: clamp(45px, 9vh, 105px); position: relative; z-index: 1; }
.guardian-auth-eyebrow { color: #b6c8be; font-size: 11px; letter-spacing: 2.4px; font-weight: 600; }
.guardian-auth-story h2 { margin: 23px 0 22px; font-size: clamp(32px, 3vw, 50px); font-weight: 650; line-height: 1.42; letter-spacing: -1.2px; }
.guardian-auth-story h2 span { display: block; white-space: nowrap; }
.guardian-auth-story-description { max-width: 350px; font-size: 15px; line-height: 1.95; color: #aec1b9; margin: 0; }
.guardian-auth-illustration { width: min(100%, 440px); margin: auto; padding-top: 24px; padding-bottom: 22px; }
.guardian-auth-illustration svg { display: block; width: 100%; height: auto; }
.guardian-auth-story-bottom { display: flex; gap: 18px; align-items: center; color: #aec1b9; font-size: 12px; padding-top: 24px; border-top: 1px solid #36504f; letter-spacing: 1px; }
.guardian-auth-story-bottom i { width: 3px; height: 3px; background: #f26b3f; border-radius: 50%; }
.guardian-auth-main { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; padding: 42px clamp(28px, 5vw, 88px) 26px; }
.guardian-auth-topline { display: flex; justify-content: space-between; gap: 24px; color: #84918a; font-size: 12px; line-height: 20px; }
.guardian-auth-topline a { color: #45615d; transition: color .18s ease; }
.guardian-auth-topline a:hover { color: #f26b3f; }
.guardian-auth-panel { width: 100%; max-width: 400px; margin: auto; padding: 48px 0; }
.guardian-auth-step { color: #b77956; font-size: 10px; font-weight: 650; letter-spacing: 2px; }
.guardian-auth-panel h1 { color: #152d32; font-size: 31px; line-height: 1.4; letter-spacing: -.7px; margin: 12px 0 12px; font-weight: 650; }
.guardian-auth-intro { color: #7c8983; font-size: 14px; line-height: 1.8; margin: 0 0 32px; }
.guardian-auth-mobile-brand { display: none; }
.guardian-auth-form .n-form-item-label { color: #405650; font-size: 13px; font-weight: 550; padding-bottom: 9px; }
.guardian-auth-form .n-input { background: #fff; --n-border: 1px solid #e1e7de !important; --n-border-hover: 1px solid #92aca1 !important; --n-border-focus: 1px solid #167b74 !important; --n-box-shadow-focus: 0 0 0 3px rgb(22 123 116 / 8%) !important; --n-height: 48px !important; --n-border-radius: 12px !important; }
.guardian-auth-form .n-input__input-el { color: #152d32; font-size: 14px; }
.guardian-auth-form .n-form-item { margin-bottom: 0; }
.guardian-auth-form .n-form-item-feedback-wrapper { min-height: 22px; }
.guardian-auth-form .n-button--primary-type { min-height: 48px; border-radius: 12px; font-weight: 600; letter-spacing: .3px; box-shadow: 0 6px 12px rgb(22 123 116 / 10%); }
.guardian-auth-form-options { display: flex; justify-content: space-between; gap: 10px; color: #93a097; font-size: 12px; line-height: 1.7; margin: -2px 0 25px; }
.guardian-auth-form-options a { color: #167b74; font-weight: 550; }
.guardian-auth-form-options a:hover, .guardian-auth-bottom-link a:hover { color: #f26b3f; }
.guardian-auth-bottom-link { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; border-top: 1px solid #e3e7dc; margin-top: 30px; padding-top: 23px; font-size: 13px; color: #8b968d; }
.guardian-auth-bottom-link a { color: #167b74; font-weight: 650; }
.guardian-auth-footer { color: #9aa49a; font-size: 11px; display: flex; gap: 16px; justify-content: space-between; letter-spacing: .4px; }
.guardian-auth-verify-row { display: flex; gap: 10px; align-items: center; width: 100%; min-width: 0; }
.guardian-auth-verify-row > .n-input { flex: 1; min-width: 0; }
.guardian-auth-verify-row > .n-button { flex: none; height: 48px; padding: 0 13px; border-radius: 12px; font-size: 12px; color: #167b74; }
.guardian-auth-form-compact .n-form-item-feedback-wrapper { min-height: 16px; }
.guardian-auth-form-compact .n-form-item-label { padding-bottom: 6px; }
.guardian-auth-form .el-form-item { margin-bottom: 24px; }
.guardian-auth-form .el-form-item__label { color: #405650 !important; font-size: 13px; font-weight: 550; padding-bottom: 8px; line-height: 20px; }
.guardian-auth-form .el-input__wrapper { min-height: 48px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #e1e7de inset; padding: 2px 16px; }
.guardian-auth-form .el-input__wrapper:hover { box-shadow: 0 0 0 1px #92aca1 inset; }
.guardian-auth-form .el-input__wrapper.is-focus { box-shadow: 0 0 0 1px #167b74 inset, 0 0 0 3px rgb(22 123 116 / 8%); }
.guardian-auth-form .el-input__inner { color: #152d32; font-size: 14px; }
.guardian-auth-admin-submit.el-button { width: 100%; min-height: 48px; color: #fff; background: #167b74; border-color: #167b74; border-radius: 12px; font-weight: 600; box-shadow: 0 6px 12px rgb(22 123 116 / 10%); }
.guardian-auth-admin-submit.el-button:hover { background: #116861; border-color: #116861; }
@media (min-width: 1600px) { .guardian-auth-panel { max-width: 430px; } .guardian-auth-story-copy { margin-top: 12vh; } }
@media (max-width: 1040px) { .guardian-auth { grid-template-columns: 42% minmax(0, 1fr); } .guardian-auth-story { padding-left: 32px; padding-right: 32px; } .guardian-auth-story h2 { font-size: 31px; } .guardian-auth-main { padding-left: 32px; padding-right: 32px; } .guardian-auth-story-bottom { gap: 12px; font-size: 10px; } }
@media (max-width: 760px) { .guardian-auth { display: block; min-height: 100dvh; } .guardian-auth-story { display: none; } .guardian-auth-main { min-height: 100dvh; padding: 24px 24px 20px; } .guardian-auth-topline { font-size: 11px; } .guardian-auth-panel { max-width: 420px; padding: 40px 0; } .guardian-auth-mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; color: #152d32; font-size: 22px; font-weight: 700; } .guardian-auth-mobile-brand .guardian-auth-emblem { width: 33px; height: 33px; } .guardian-auth-panel h1 { font-size: 28px; } .guardian-auth-intro { margin-bottom: 28px; font-size: 13px; } .guardian-auth-step { font-size: 9px; } .guardian-auth-footer { font-size: 10px; } }
@media (max-height: 780px) and (min-width: 761px) { .guardian-auth-story-copy { margin-top: 38px; } .guardian-auth-story h2 { font-size: 36px; } .guardian-auth-illustration { max-width: 340px; } .guardian-auth-panel { padding-top: 28px; padding-bottom: 28px; } }
@media (max-width: 760px) {
  .guardian-auth-main { padding: max(12px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom)); }
  .guardian-auth-topline { min-height: 44px; align-items: center; gap: 12px; font-size: 12px; }
  .guardian-auth-topline a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .guardian-auth-panel { padding: 22px 0 26px; margin-block: auto; }
  .guardian-auth-mobile-brand { font-size: 23px; gap: 10px; margin-bottom: 24px; line-height: 1.45; }
  .guardian-auth-mobile-brand .guardian-auth-emblem { width: 36px; height: 36px; }
  .guardian-auth-step { font-size: 10px; letter-spacing: 1.5px; }
  .guardian-auth-panel h1 { margin-top: 10px; font-size: 28px; line-height: 1.4; }
  .guardian-auth-intro { font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
  .guardian-auth-form .n-form-item-label, .guardian-auth-form .el-form-item__label { font-size: 14px; }
  .guardian-auth-form .n-input__input-el, .guardian-auth-form .el-input__inner { font-size: 16px; }
  .guardian-auth-form .n-input { --n-height: 48px !important; }
  .guardian-auth-form .n-button { min-height: 46px; font-size: 14px; }
  .guardian-auth-form .n-form-item-feedback-wrapper { min-height: 22px; }
  .guardian-auth-form-compact .n-form-item-feedback-wrapper { min-height: 18px; }
  .guardian-auth-form-options { align-items: center; font-size: 13px; margin: -1px 0 16px; }
  .guardian-auth-form-options a { display: inline-flex; align-items: center; min-height: 44px; }
  .guardian-auth-bottom-link { align-items: center; gap: 8px; font-size: 14px; margin-top: 23px; padding-top: 12px; }
  .guardian-auth-bottom-link a { display: inline-flex; align-items: center; min-height: 44px; }
  .guardian-auth-verify-row { gap: 8px; }
  .guardian-auth-verify-row > .n-button { padding-inline: 11px; font-size: 13px; }
  .guardian-auth-footer { flex-wrap: wrap; gap: 6px 14px; font-size: 11px; line-height: 1.7; }
  .guardian-auth-form .n-input__eye { min-width: 36px; min-height: 44px; align-items: center; justify-content: center; }
}
@media (max-width: 359px) {
  .guardian-auth-main { padding-inline: 16px; }
  .guardian-auth-topline { font-size: 11px; }
  .guardian-auth-panel { padding-top: 16px; }
  .guardian-auth-mobile-brand { margin-bottom: 20px; font-size: 21px; }
  .guardian-auth-panel h1 { font-size: 26px; }
  .guardian-auth-verify-row > .n-button { font-size: 12px; padding-inline: 9px; }
}
@media (max-height: 500px) and (max-width: 932px) and (orientation: landscape) {
  .guardian-auth { display: block; }
  .guardian-auth-story { display: none; }
  .guardian-auth-main { min-height: 100dvh; padding: 12px 24px 18px; }
  .guardian-auth-panel { max-width: 480px; padding: 16px 0 24px; }
  .guardian-auth-mobile-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 18px; }
  .guardian-auth-intro { margin-bottom: 20px; }
  .guardian-auth-form .n-input__input-el, .guardian-auth-form .el-input__inner { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .guardian-auth * { transition: none !important; } }
