:root {
  --login-ink: #18181b;
  --login-muted: #6b7280;
  --login-line: #d7dbe2;
  --login-blue: #2f67e9;
  --login-dark: #17191c;
}

* { box-sizing: border-box; }

html,
body { width: 100%; min-width: 1080px; min-height: 100%; margin: 0; }

body { color: var(--login-ink); background: #f7f8fa; font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

a { color: inherit; }

.login-page { width: 100%; min-height: 100vh; display: grid; grid-template-columns: 46% 54%; }

.brand-story { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--login-dark); }

.story-content { position: relative; z-index: 2; width: min(620px, calc(100% - 120px)); margin-left: max(80px, calc((100vw - 1600px) / 2)); }

.story-logo { width: 112px; height: 100px; display: block; object-fit: contain; }

.story-logo.logo-agent,
.story-logo.logo-neutral { width: 104px; height: 104px; border-radius: 5px; object-fit: cover; }

.story-content h1 { max-width: 600px; margin: 32px 0 18px; overflow-wrap: anywhere; font-size: 56px; line-height: 1.13; letter-spacing: 0; }

.story-content p { margin: 0; color: #d5dae2; font-size: 21px; line-height: 1.75; }

.main-watermark { position: absolute; right: -180px; bottom: -240px; width: 620px; height: 620px; object-fit: contain; opacity: .045; }

.neutral-watermark { position: absolute; right: -92px; bottom: -138px; width: 520px; height: 520px; opacity: .055; }

.neutral-watermark i { position: absolute; border: 12px solid #fff; border-radius: 50%; }

.neutral-watermark i:first-child { inset: 0; }

.neutral-watermark i:nth-child(2) { inset: 96px; }

.neutral-watermark b { position: absolute; top: 50%; left: 50%; width: 112px; height: 112px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }

.form-zone { min-height: 720px; display: grid; place-items: center; padding: 50px 9%; background: #f7f8fa; }

.login-form { width: min(600px, 100%); }

.login-form header { margin-bottom: 40px; }

.login-form h2 { margin: 0; font-size: 38px; line-height: 1.25; letter-spacing: 0; }

.login-form header p { margin: 12px 0 0; color: var(--login-muted); font-size: 16px; }

.field { margin-top: 20px; }

.field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 700; }

.field input { width: 100%; height: 58px; padding: 0 16px; color: var(--login-ink); background: #fff; border: 1px solid var(--login-line); border-radius: 6px; outline: none; font: inherit; }

.field input::placeholder { color: #9aa1ad; }

.field input:hover { border-color: #aeb5c0; }

.field input:focus { border-color: var(--login-blue); box-shadow: 0 0 0 3px rgba(47, 103, 233, .12); }

.form-options { height: 54px; display: flex; align-items: center; justify-content: space-between; color: #697180; font-size: 13px; }

.remember,
.agreement { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }

.remember input,
.agreement input { width: 15px; height: 15px; margin: 0; accent-color: var(--login-blue); }

.submit-button { width: 100%; height: 58px; color: #fff; background: var(--login-blue); border: 1px solid var(--login-blue); border-radius: 6px; font-size: 17px; font-weight: 700; cursor: pointer; }

.submit-button:hover { background: #2459d1; border-color: #2459d1; }

.submit-button:focus-visible { outline: 3px solid rgba(47, 103, 233, .28); outline-offset: 2px; }

.agreement { width: 100%; justify-content: center; margin-top: 20px; color: #737b88; font-size: 12px; }

.agreement a { color: #4f5f7d; text-decoration: none; }

.agreement a:hover { color: var(--login-blue); text-decoration: underline; }

.login-form footer { min-height: 50px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 54px; padding-top: 20px; color: #9aa1ad; border-top: 1px solid #e2e5ea; font-size: 11px; }

.login-form footer a { text-decoration: none; }

@media (max-height: 820px) {
  .form-zone { padding-top: 28px; padding-bottom: 28px; }
  .login-form header { margin-bottom: 24px; }
  .login-form footer { margin-top: 30px; }
  .story-content h1 { font-size: 50px; }
}

@media (max-width: 1280px) {
  .login-page { grid-template-columns: 44% 56%; }
  .story-content { width: calc(100% - 80px); margin-left: 56px; }
  .story-content h1 { font-size: 48px; }
  .story-content p { font-size: 18px; }
  .form-zone { padding-right: 8%; padding-left: 8%; }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .login-page {
    min-height: 100vh;
    display: block;
  }

  .brand-story {
    min-height: 180px;
    padding: 26px 20px;
    align-items: center;
  }

  .story-content {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 0 14px;
  }

  .story-logo,
  .story-logo.logo-agent,
  .story-logo.logo-neutral {
    width: 58px;
    height: 58px;
  }

  .story-content h1 {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-size: 27px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .story-content p {
    grid-column: 1 / -1;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  .main-watermark,
  .neutral-watermark {
    display: none;
  }

  .form-zone {
    min-height: calc(100vh - 180px);
    display: block;
    padding: 30px 20px 24px;
  }

  .login-form {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .login-form header {
    margin-bottom: 24px;
  }

  .login-form h2 {
    font-size: 28px;
  }

  .login-form header p {
    font-size: 14px;
    line-height: 1.6;
  }

  .field input,
  .submit-button {
    height: 54px;
    font-size: 16px;
  }

  .agreement {
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1.6;
  }

  .agreement input {
    flex: 0 0 15px;
    margin-top: 2px;
  }

  .login-form footer {
    margin-top: 32px;
  }
}

@media (max-width: 420px) {
  .brand-story {
    min-height: 168px;
    padding: 22px 18px;
  }

  .form-zone {
    min-height: calc(100vh - 168px);
    padding-right: 18px;
    padding-left: 18px;
  }
}
