/* 登录页独立样式：系统字体、本地矢量插画，无第三方样式依赖。 */
:root { color-scheme: light; --ink: #213f54; --muted: #526d7e; --blue: #2384b9; --blue-dark: #186992; --line: #dce7ee; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); background: radial-gradient(ellipse at 15% 56%, #e4f2f8 0, transparent 49%), #f5f8fa; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { display: block; }
.site-header { width: min(1240px, 100%); margin: 0 auto; padding: 36px 44px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.school-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand-emblem { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #c8dfe9; border-radius: 13px; background: #eef8fc; color: var(--blue-dark); }
.brand-emblem svg { width: 36px; height: 36px; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.brand-copy strong { font-family: "STSong", "SimSun", serif; font-size: 24px; letter-spacing: 3px; line-height: 1.2; }
.brand-copy > span { color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.header-label { color: var(--muted); font-size: 12px; letter-spacing: 1px; display: flex; align-items: center; gap: 9px; }
.header-label i { width: 6px; height: 6px; background: #67aaa4; border-radius: 50%; }
.login-layout { width: min(1152px, 100%); margin: auto; padding: 50px 44px 38px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 70px; align-items: center; }
.campus-panel { position: relative; min-width: 0; }
.welcome-copy { position: relative; z-index: 1; padding-left: 12px; }
.eyebrow { margin: 0 0 20px; color: #46778f; font-size: 12px; font-weight: 600; letter-spacing: 3px; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { height: 1px; width: 25px; background: #5fa4c4; }
h1 { margin: 0; font-family: "STSong", "SimSun", "Songti SC", serif; font-size: clamp(36px, 3.8vw, 49px); font-weight: 600; line-height: 1.43; letter-spacing: 3px; }
h1 > span { color: #2b85ac; }
.welcome-description { margin: 20px 0 0; font-size: 13px; color: var(--muted); line-height: 1.9; letter-spacing: .4px; }
.campus-illustration { display: block; width: calc(100% + 42px); max-width: 640px; height: auto; margin: -8px -20px -8px; }
.campus-caption { margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 11px; letter-spacing: 3px; }
.campus-caption > span { width: 28px; height: 1px; background: #b6cdd9; }
.login-panel { min-width: 0; }
.login-card { padding: 34px 36px 26px; background: #fff; border: 1px solid #e2ebf0; border-radius: 22px; box-shadow: 0 18px 54px -24px #52799235, 0 2px 6px #2c6b8b04; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.card-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #eaf5fc; color: var(--blue); }
.card-mark svg { width: 30px; height: 30px; }
.portal-label { color: var(--muted); letter-spacing: 2px; font-size: 10px; }
h2 { margin: 0; font-size: 27px; font-weight: 650; letter-spacing: 1px; line-height: 1.4; }
.login-description { margin: 9px 0 28px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-field + .form-field { margin-top: 20px; }
.form-field label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 600; color: #3a566a; }
.input-wrap { position: relative; }
.field-icon { width: 19px; height: 19px; color: #87a0ae; position: absolute; left: 15px; top: 16px; pointer-events: none; }
.input-wrap input { width: 100%; height: 51px; padding: 0 15px 0 44px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; color: var(--ink); outline: none; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.input-wrap input::placeholder { color: #607485; font-size: 13px; }
.input-wrap input:hover { border-color: #b2ccd9; }
.input-wrap input:focus { background: #fff; border-color: #3499c7; box-shadow: 0 0 0 3px #e6f3fa; }
.password-wrap input { padding-right: 50px; }
.password-toggle { border: 0; background: transparent; position: absolute; right: 3px; top: 3px; width: 45px; height: 45px; display: grid; place-items: center; color: #839cab; border-radius: 7px; }
.password-toggle:hover { color: var(--blue-dark); background: #edf6fa; }
.password-toggle svg { width: 19px; height: 19px; }
.password-toggle .eye-hide, .password-toggle[aria-pressed="true"] .eye-show { display: none; }
.password-toggle[aria-pressed="true"] .eye-hide { display: block; }
.login-message { min-height: 20px; margin: 10px 0 12px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; color: #647b8c; }
.login-message.error { color: #bd3e3e; }
.login-message.success { color: #278568; }
.login-button { display: flex; width: 100%; height: 50px; align-items: center; justify-content: center; gap: 10px; border: none; border-radius: 9px; color: #fff; background: #217cab; font-size: 14px; font-weight: 600; letter-spacing: 1px; box-shadow: 0 6px 14px -6px #2384b975; transition: background .15s; }
.login-button:hover { background: #1c73a2; }
.login-button:disabled { cursor: wait; background: #609fbe; box-shadow: none; }
.button-arrow { height: 18px; width: 18px; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff60; border-top-color: #fff; border-radius: 50%; }
.login-button[aria-busy="true"] .button-spinner { display: block; animation: spin .8s linear infinite; }
.login-button[aria-busy="true"] .button-arrow { display: none; }
.login-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 26px; padding-top: 21px; border-top: 1px solid #edf1f4; color: var(--muted); font-size: 11px; }
.login-note svg { width: 15px; height: 15px; }
.account-help { margin: 19px 0 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.6; }
.site-footer { padding: 16px 24px 25px; display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--muted); font-size: 10px; line-height: 1.5; letter-spacing: .3px; }
.footer-divider { height: 10px; width: 1px; background: #cddbe3; }
button:focus-visible, a:focus-visible { outline: 3px solid #83bfda; outline-offset: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 761px) and (max-height: 780px) {
  .site-header { padding-top: 22px; }
  .login-layout { padding-top: 28px; padding-bottom: 22px; }
  .welcome-description { margin-top: 12px; }
  h1 { font-size: 43px; }
  .campus-illustration { width: 86%; margin: -12px auto; }
  .login-card { padding-top: 27px; padding-bottom: 22px; }
  .card-heading { margin-bottom: 16px; }
  .card-mark { width: 36px; height: 36px; }
  .login-description { margin-bottom: 22px; }
  .form-field + .form-field { margin-top: 16px; }
  .login-note { margin-top: 20px; padding-top: 16px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .login-layout { gap: 28px; padding-left: 32px; padding-right: 32px; }
  .login-card { padding-left: 27px; padding-right: 27px; }
  .welcome-copy { padding-left: 0; }
  h1 { font-size: 37px; letter-spacing: 1px; }
}
@media (max-width: 760px) {
  body { background: radial-gradient(ellipse at 0 15%, #e0f0f7, transparent 64%), #f5f8fa; }
  .site-header { padding: 22px 24px 0; }
  .brand-emblem { width: 40px; height: 40px; border-radius: 10px; }
  .brand-emblem svg { width: 31px; height: 31px; }
  .brand-copy strong { font-size: 20px; letter-spacing: 2px; }
  .brand-copy > span { font-size: 10px; letter-spacing: 1px; }
  .header-label { display: none; }
  .login-layout { width: min(460px, 100%); padding: 24px 22px 12px; display: flex; flex-direction: column; gap: 18px; }
  .campus-panel { width: 100%; min-height: 104px; display: flex; align-items: center; }
  .welcome-copy { padding-left: 3px; }
  .eyebrow { margin-bottom: 9px; font-size: 10px; letter-spacing: 2px; gap: 6px; }
  .eyebrow > span { width: 14px; }
  h1 { font-size: 27px; line-height: 1.5; letter-spacing: 1px; }
  .welcome-description, .campus-caption { display: none; }
  .campus-illustration { position: absolute; width: 50%; height: auto; right: -12px; bottom: -2px; margin: 0; opacity: .9; }
  .login-panel { width: 100%; }
  .login-card { border-radius: 17px; padding: 24px 25px 20px; }
  .card-heading { margin-bottom: 16px; }
  .card-mark { width: 36px; height: 36px; border-radius: 10px; }
  .card-mark svg { width: 26px; height: 26px; }
  h2 { font-size: 24px; }
  .login-description { margin: 7px 0 21px; }
  .form-field + .form-field { margin-top: 16px; }
  .input-wrap input { font-size: 16px; }
  .login-note { margin-top: 20px; padding-top: 16px; }
  .account-help { margin-top: 14px; font-size: 10px; }
  .site-footer { flex-wrap: wrap; gap: 6px; padding: 10px 16px 18px; font-size: 9px; }
}
@media (max-width: 380px), (max-width: 760px) and (max-height: 740px) {
  .site-header { padding-top: 16px; }
  .login-layout { padding-top: 18px; gap: 12px; }
  .campus-panel { min-height: 83px; }
  h1 { font-size: 23px; }
  .eyebrow { margin-bottom: 6px; font-size: 9px; }
  .login-card { padding: 21px 22px 18px; }
  .card-heading { display: none; }
  .login-description { margin-bottom: 18px; }
  .form-field + .form-field { margin-top: 14px; }
  .login-note { margin-top: 16px; padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
