@font-face {
  font-family: "Rxxp Display";
  src: url("fonts/rxxp-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
.rxxp-login-page {
  --login-ink: #17394a;
  --login-green: #11766c;
  --login-muted: #5e7079;
  background: #f5f7f6;
  color: var(--login-ink);
  min-height: 100svh;
  padding: 40px 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
}
.rxxp-login-page ::selection { color: #17394a; background: #d6e8b8; }
.rxxp-login-page :is(input, button, a):focus-visible { outline: 3px solid #11766c; outline-offset: 3px; }
.rxxp-login-page :is(input, button, a) { -webkit-tap-highlight-color: transparent; }
.rxxp-login-page input { caret-color: var(--login-green); }
.login-header, .login-footer { width: min(1144px, 100%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.login-header { margin-bottom: 28px; gap: 16px; }
.login-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--login-ink); text-decoration: none; }
.login-brand:hover { text-decoration: none; }
.login-brand img { flex-shrink: 0; }
.login-brand-name { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: .06em; }
.login-brand-en { display: block; font-size: 9px; line-height: 1.8; font-weight: 500; letter-spacing: .14em; }
.login-header-caption { color: #5e7079; font-size: 13px; letter-spacing: .08em; }
.login-layout { width: min(1144px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.12fr 1fr; overflow: hidden; border: 1px solid #dce4e3; border-radius: 16px; background: white; }
.login-intro { background: var(--login-ink); color: #f1f5ef; padding: 54px 48px 32px; display: flex; flex-direction: column; min-width: 0; }
.login-intro h1 { font-family: "Rxxp Display", "Microsoft YaHei", serif; font-size: clamp(36px, 3.4vw, 48px); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.login-intro-description { font-size: 15px; color: #c2d3d8; line-height: 1.85; margin: 22px 0 0; }
.login-constellation { position: relative; width: 100%; margin: 26px 0 12px; min-height: 144px; }
.login-constellation svg { width: 100%; display: block; }
.login-orbit-label { position: absolute; color: #d0e0e1; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.login-orbit-left { left: 7%; top: 52%; }
.login-orbit-center { left: 43%; bottom: 0; }
.login-orbit-right { right: 5%; top: 50%; }
.login-capabilities { padding: 24px 0 0; margin: auto 0 0; list-style: none; border-top: 1px solid #466372; display: flex; gap: 20px; justify-content: space-between; }
.login-capabilities li { min-width: 0; }
.login-capabilities strong { display: block; color: #f1f5ef; font-weight: 600; font-size: 14px; }
.login-capabilities span { display: block; color: #bdd0d6; font-size: 11px; line-height: 1.6; margin-top: 7px; }
.login-intro-note { margin: 28px 0 0; font-size: 12px; color: #bdd0d6; }
.login-panel { min-width: 0; padding: 50px 52px 36px; }
.login-panel-heading h2 { font-size: 25px; font-weight: 650; letter-spacing: -.02em; margin: 0; line-height: 1.5; }
.login-panel-heading p { font-size: 14px; color: var(--login-muted); margin: 9px 0 0; line-height: 1.65; }
.login-form, .login-email-start { margin-top: 30px; }
.login-field { margin-top: 19px; }
.login-field:first-of-type { margin-top: 0; }
.login-field label { margin: 0 0 9px; color: #213f4b; font-size: 14px; font-weight: 600; line-height: 1.5; }
.login-field input { display: block; border: 1px solid #c6d1d5; border-radius: 7px; min-height: 48px; padding: 11px 13px; font-size: 15px; margin: 0; background: #fbfcfc; color: var(--login-ink); width: 100%; transition: border-color .15s ease, background-color .15s ease; }
.login-field input::placeholder { color: #5e7079; opacity: 1; font-size: 14px; }
.login-field input:hover { border-color: #8ea5ae; }
.login-field input:focus { background: #fff; border-color: var(--login-green); outline: 2px solid var(--login-green); outline-offset: 2px; }
.login-password-wrap { position: relative; }
.login-password-wrap input { padding-right: 48px; }
.login-password-toggle { position: absolute; inset: 2px 2px 2px auto; min-height: 44px; min-width: 44px; padding: 12px; border: 0; color: #607781; background: transparent; border-radius: 6px; }
.login-password-toggle[hidden] { display: none; }
.login-password-toggle:hover { background: #edf3f2; filter: none; }
.login-password-toggle svg { display: block; width: 20px; height: 20px; }
.login-password-toggle .login-eye-slash { display: none; }
.login-password-toggle[aria-pressed="true"] .login-eye-slash { display: block; }
.login-field-help { color: var(--login-muted); font-size: 12px; margin: 8px 0 0; line-height: 1.65; }
.login-submit { width: 100%; min-height: 48px; margin-top: 27px; padding: 12px 18px; border-radius: 7px; background: var(--login-green); font-size: 15px; font-weight: 600; justify-content: space-between; transition: background-color .15s ease; }
.login-submit svg { width: 20px; height: 20px; }
.login-submit:hover { background: #0a625a; filter: none; }
.login-submit:active { background: #084f49; }
.login-submit:disabled { background: #537d78; opacity: 1; cursor: wait; }
.login-help { display: flex; gap: 10px; border-top: 1px solid #e4e9e8; margin-top: 25px; padding-top: 20px; color: var(--login-muted); }
.login-help svg { width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; color: #557579; }
.login-help p { font-size: 12px; line-height: 1.75; margin: 0; }
.login-help span { color: var(--login-muted); }
.login-error { padding: 11px 13px; border-radius: 7px; color: #84312d; background: #fff0ec; font-size: 13px; line-height: 1.7; margin-top: 18px; }
.login-error + .login-form { margin-top: 18px; }
.login-email-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 13px; }
.login-email-actions form { margin: 0; }
.login-email-actions a, .login-email-resend { color: var(--login-green); }
.login-email-resend { min-height: 40px; padding: 0; border: 0; background: transparent; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.login-email-resend:hover { background: transparent; filter: none; }
.login-email-resend:disabled { color: var(--login-muted); cursor: wait; text-decoration: none; }
.login-footer { gap: 20px; font-size: 11px; color: var(--login-muted); margin-top: 22px; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .login-constellation svg { animation: login-star-arrive .85s cubic-bezier(.16,1,.3,1) both; }
  @keyframes login-star-arrive { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .rxxp-login-page { padding: 28px; }
  .login-intro { padding: 46px 32px 30px; }
  .login-panel { padding: 44px 36px 32px; }
  .login-capabilities { gap: 12px; }
}
@media (max-width: 900px) {
  .rxxp-login-page { padding: 28px 24px 20px; }
  .login-header, .login-layout, .login-footer { max-width: 560px; }
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { padding: 28px 34px; }
  .login-intro h1 { font-size: 29px; line-height: 1.45; }
  .login-intro h1 br { display: none; }
  .login-intro-description { font-size: 13px; margin-top: 12px; }
  .login-desktop-break { display: none; }
  .login-constellation, .login-capabilities, .login-intro-note { display: none; }
  .login-panel { padding: 32px 34px; }
  .login-panel-heading h2 { font-size: 23px; }
  .login-form, .login-email-start { margin-top: 24px; }
  .login-header { margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .rxxp-login-page { padding: 22px 16px 18px; justify-content: flex-start; }
  .login-brand-name { font-size: 19px; }
  .login-brand-en { font-size: 8px; }
  .login-header-caption { display: none; }
  .login-intro { padding: 23px 24px; }
  .login-intro h1 { font-size: 25px; }
  .login-intro-description { line-height: 1.75; margin-top: 9px; }
  .login-panel { padding: 26px 24px; }
  .login-panel-heading h2 { font-size: 22px; }
  .login-panel-heading p { font-size: 13px; }
  .login-field { margin-top: 17px; }
  .login-submit { margin-top: 24px; }
  .login-footer { margin-top: 18px; flex-wrap: wrap; gap: 4px 12px; line-height: 1.7; }
}
