﻿:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #687872;
  --line: #d9e5df;
  --panel: #fbfdf9;
  --green: #118366;
  --green-dark: #18342f;
  --gold: #e0a43b;
  --blue: #2f6df6;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.login-container {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 42px 28px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, #07110f, #0b2022 45%, #171912);
  background-size: 52px 52px, 52px 52px, auto;
}

.login-container::before,
.login-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.login-container::before {
  background:
    linear-gradient(118deg, transparent 0 17%, rgba(36, 165, 126, .2) 17.2% 17.6%, transparent 17.8% 100%),
    linear-gradient(146deg, transparent 0 58%, rgba(237, 166, 58, .16) 58.2% 58.55%, transparent 58.8% 100%),
    linear-gradient(72deg, transparent 0 37%, rgba(54, 120, 255, .13) 37.2% 37.5%, transparent 37.8% 100%);
  opacity: .78;
}

.login-container::after {
  inset: auto 0 0;
  height: 156px;
  background: linear-gradient(90deg, transparent 0 7%, rgba(35, 185, 137, .2) 7% 18%, transparent 18% 25%, rgba(235, 181, 83, .16) 25% 36%, transparent 36% 46%, rgba(58, 123, 255, .14) 46% 59%, transparent 59% 100%);
  opacity: .7;
}

.market-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.flow-line {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 220, 167, .5), rgba(239, 184, 92, .42), transparent);
  transform-origin: center;
  opacity: .58;
}

.flow-line-a { top: 22%; transform: rotate(-8deg); }
.flow-line-b { top: 47%; transform: rotate(5deg); opacity: .42; }
.flow-line-c { top: 72%; transform: rotate(-4deg); opacity: .36; }

.ticker-tape {
  position: absolute;
  width: 360px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(27, 115, 98, .18), rgba(12, 24, 24, .08));
  transform: skew(-14deg);
}

.ticker-tape-a { top: 92px; right: 9%; }
.ticker-tape-b { bottom: 110px; left: 7%; opacity: .5; }

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  overflow: hidden;
  border: 1px solid rgba(220, 237, 230, .24);
  border-radius: 24px;
  background: rgba(8, 18, 19, .9);
  box-shadow: 0 32px 86px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.brand-panel {
  position: relative;
  min-width: 0;
  padding: 42px;
  color: #edf8f2;
  background: linear-gradient(160deg, rgba(12, 57, 50, .9), rgba(9, 20, 22, .96) 62%, rgba(28, 25, 16, .92));
  border-right: 1px solid rgba(220, 237, 230, .14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(211, 236, 224, .1);
  border-radius: 18px;
  pointer-events: none;
}

.brand-panel::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(69, 205, 154, .22);
  box-shadow: inset 0 0 0 28px rgba(69, 205, 154, .04), inset 0 0 0 58px rgba(237, 166, 58, .035);
  pointer-events: none;
}

.brand-top,
.hero-copy,
.signal-board {
  position: relative;
  z-index: 1;
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(245, 193, 91, .38);
  background: linear-gradient(135deg, #118366, #1f9f73 58%, #e0a43b 140%);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24), 0 0 0 5px rgba(255, 255, 255, .08);
}

.brand-name {
  display: grid;
  gap: 5px;
}

.brand-name strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.brand-name span {
  color: rgba(237, 248, 242, .68);
  font-size: 13px;
  font-weight: 750;
}

.hero-copy {
  max-width: 430px;
  margin: 74px 0;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
}

.hero-copy p {
  margin: 18px 0 0;
  color: rgba(237, 248, 242, .72);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 680;
}

.signal-board {
  width: min(390px, 100%);
  display: grid;
  gap: 10px;
}

.signal-row {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(237, 248, 242, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.signal-row span {
  color: rgba(237, 248, 242, .66);
  font-size: 13px;
  font-weight: 750;
}

.signal-row strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.login-panel {
  min-width: 0;
  padding: 42px 46px 34px;
  background: linear-gradient(180deg, rgba(253, 253, 249, .98), rgba(242, 247, 243, .98));
  display: flex;
  flex-direction: column;
}

.status-strip {
  align-self: flex-start;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #dce7e1;
  border-radius: 999px;
  background: #fff;
  color: #5f6f69;
  font-size: 12px;
  font-weight: 850;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.status-strip.ok .status-dot { background: #16a34a; }
.status-strip.warn .status-dot { background: #f59e0b; }
.status-strip.fail .status-dot { background: #dc2626; }

.panel-heading {
  margin: 22px 0 28px;
}

.panel-heading h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.16;
  font-weight: 900;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}
.field-group[hidden], .register-only[hidden] { display: none !important; }

.field-group > span {
  color: #4a5a55;
  font-size: 14px;
  font-weight: 800;
}

.custom-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfb;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.custom-input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 131, 102, .12), 0 10px 22px rgba(15, 52, 42, .06);
}

.custom-input::placeholder {
  color: #9ba9a3;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 10px;
}

.code-btn {
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.code-btn:disabled {
  background: #aab6b0;
  cursor: not-allowed;
}

.agreement-check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #5f6f69;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 760;
}

.agreement-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.agreement-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

.agreement-check button,
.login-actions button,
.demo-box button {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.message-line {
  min-height: 20px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 760;
}

/* 记住账号 + 忘记密码 行 */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #5f6f69;
  font-size: 13px;
  font-weight: 760;
}

.remember-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.forgot-link {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .2s;
}

.forgot-link:hover {
  opacity: .7;
  text-decoration: underline;
}

/* 找回密码对话框：3 步流程 */
.forgot-dialog {
  width: min(460px, 100%);
}

.reset-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 18px;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.reset-step {
  padding: 4px 8px;
  border-radius: 8px;
  background: #f1f5f9;
  white-space: nowrap;
}

.reset-step.active {
  background: #2563eb;
  color: #fff;
}

.reset-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.reset-panel p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
}

.reset-panel .custom-input {
  margin-bottom: 10px;
  height: 44px;
  font-size: 13px;
}

.reset-action-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #118366);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 4px;
  transition: transform .1s;
}

.reset-action-btn:active {
  transform: scale(.98);
}

.reset-action-btn:disabled {
  background: #aab6b0;
  cursor: not-allowed;
}

.reset-resend-row {
  text-align: right;
  margin: -4px 0 10px;
}

.reset-link-btn {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.reset-link-btn:hover {
  text-decoration: underline;
}

.reset-link-btn:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.reset-message {
  margin-top: 10px;
  min-height: 18px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 760;
}

.reset-success-panel {
  text-align: center;
  padding: 14px 0;
}

.reset-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 32px;
  font-weight: 900;
  line-height: 56px;
}

.reset-success-panel p {
  color: #047857;
  font-size: 14px;
  font-weight: 800;
}

.message-line.success {
  color: #118366;
}

.submit-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #118366, #1f9f73 58%, #e0a43b 140%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(17, 131, 102, .24);
}

.submit-btn:active,
.code-btn:active {
  transform: scale(.98);
}

.download-btn {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 2px solid #118366;
  border-radius: 15px;
  background: #fff;
  color: #118366;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
}

.download-btn:hover {
  background: #f0faf6;
  border-color: #0d6b52;
  color: #0d6b52;
}

.download-btn:active {
  transform: scale(.98);
}

.download-icon {
  display: flex;
  align-items: center;
}

/* 注册账户大按钮：显眼、吸引新人 */
.register-btn {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #0A93C9, #1e9fdb 60%, #2dd4bf 140%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(10, 147, 201, .28);
  transition: all .2s;
}

.register-btn:hover {
  background: linear-gradient(135deg, #0984ba, #1a8fc7 60%, #25beaf 140%);
}

.register-btn:active {
  transform: scale(.98);
}

.login-actions {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  color: #7d8b85;
  font-size: 12px;
  font-weight: 700;
}

.login-actions > * + * {
  padding-left: 10px;
  border-left: 1px solid #c3ccc8;
}

.demo-box {
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #dce7e1;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #75827d;
  font-size: 12px;
  font-weight: 800;
}

.support-line {
  margin: 10px 0 0;
  color: #98a59f;
  font-size: 12px;
  font-weight: 680;
  text-align: center;
}

.dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(7, 17, 15, .7);
  backdrop-filter: blur(10px);
}

.dialog-mask[hidden] {
  display: none;
}

.dialog {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .34);
  display: flex;
  flex-direction: column;
}

.contact-dialog {
  width: min(460px, 100%);
}

.dialog-head {
  flex: 0 0 auto;
  padding: 26px 30px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dialog-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #eef4f1;
  color: #52615c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialog-body {
  overflow-y: auto;
  padding: 0 30px 8px;
  color: #5e6a66;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 680;
}

.dialog-body p,
.contact-body p {
  margin: 0 0 18px;
}

.contact-body {
  padding: 0 30px 8px;
  color: #5e6a66;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #dce7e1;
  border-radius: 14px;
  background: #f8fbf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-item span {
  color: #75827d;
  font-size: 13px;
  font-weight: 850;
}

.contact-item strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.dialog-foot {
  flex: 0 0 auto;
  padding: 18px 30px 28px;
}

.dialog-foot button {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #118366, #1f9f73 58%, #e0a43b 140%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(17, 131, 102, .2);
}

@media screen and (max-width: 980px) {
  .login-container {
    place-items: start center;
  }

  .login-shell {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .brand-panel {
    min-height: 320px;
    padding: 34px;
    border-right: none;
    border-bottom: 1px solid rgba(220, 237, 230, .14);
  }

  .hero-copy {
    margin: 44px 0 24px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .signal-board {
    width: 100%;
  }

  .login-panel {
    padding: 38px 34px 30px;
  }
}

@media screen and (max-width: 768px) {
  .login-container {
    min-height: 100vh;
    padding: 22px 16px;
  }

  .login-shell {
    border-radius: 16px;
  }

  .brand-panel {
    padding: 28px 24px;
  }

  .brand-panel::before {
    inset: 14px;
    border-radius: 13px;
  }

  .brand-panel::after {
    display: none;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .brand-name strong {
    font-size: 20px;
  }

  .brand-name span {
    font-size: 12px;
  }

  .hero-copy {
    margin: 34px 0 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .signal-row {
    min-height: 46px;
    padding: 0 14px;
  }

  .login-panel {
    padding: 30px 22px 24px;
  }

  .panel-heading {
    margin-bottom: 24px;
  }

  .panel-heading h2 {
    font-size: 25px;
  }

  .custom-input,
  .code-btn {
    height: 46px;
  }

  .verification-row {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .submit-btn,
  .register-btn {
    height: 48px;
    font-size: 15px;
  }

  .dialog-mask {
    padding: 16px;
  }

  .dialog {
    border-radius: 18px;
    max-height: calc(100vh - 32px);
  }

  .dialog-head {
    padding: 22px 22px 12px;
  }

  .dialog-head h2 {
    font-size: 24px;
  }

  .dialog-body {
    padding: 0 22px 4px;
    font-size: 16px;
    line-height: 1.85;
  }

  .contact-body {
    padding: 0 22px 4px;
  }

  .dialog-foot {
    padding: 16px 22px 22px;
  }
}

@media screen and (max-width: 420px) {
  .verification-row {
    grid-template-columns: 1fr;
  }
}

/* 自有登录页视觉：品牌头像、浅色工作台风格 */
.login-container {
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 20% 18%, rgba(47, 109, 246, .12), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(17, 131, 102, .12), transparent 34%),
    linear-gradient(135deg, #f6f9fc, #eef5f3 52%, #f9fbff);
}

.login-container::before,
.login-container::after,
.flow-line,
.ticker-tape {
  display: none;
}

.login-bg-avatar {
  display: none;
}

.login-shell {
  width: min(1080px, 100%);
  min-height: 626px;
  grid-template-columns: minmax(0, 1fr) 420px;
  border: 1px solid #dce7ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .14);
  backdrop-filter: none;
}

.brand-panel {
  overflow: hidden;
  padding: 42px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 109, 246, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 131, 102, .055) 1px, transparent 1px),
    linear-gradient(135deg, #fbfdff, #eef7f5);
  background-size: 34px 34px, 34px 34px, auto;
  border-right: 1px solid #e3edf2;
}

.brand-panel::before {
  inset: auto 42px 34px auto;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(47, 109, 246, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .54);
}

.brand-panel::after {
  display: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(47, 109, 246, .18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
}

.brand-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.brand-name strong,
.hero-copy h1,
.signal-row strong {
  color: #0f172a;
}

.brand-name span,
.hero-copy p,
.signal-row span {
  color: #64748b;
}

.hero-copy {
  max-width: 520px;
  margin: 56px 0 24px;
}

.hero-copy h1 {
  font-size: 50px;
  line-height: 1.06;
}

.hero-copy p {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  min-height: 112px;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid #d9e7f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.hero-visual img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(15, 23, 42, .13);
}

.hero-visual span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.monitor-row {
  display: flex !important;
  align-items: center;
  gap: 0;
}
.monitor-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  margin-right: 6px;
  flex: 0 0 auto;
  animation: blinkDot 2s ease-in-out infinite;
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-visual strong {
  display: block;
  margin-top: 6px;
  color: #047857;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}
.latency {
  display: inline-block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.signal-board {
  width: min(520px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-row {
  min-height: 86px;
  padding: 14px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dce8ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
}

.signal-row strong {
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}

.login-panel {
  padding: 42px 42px 34px;
  background: #fff;
}

.status-strip,
.demo-box,
.custom-input,
.contact-item {
  border-color: #dce7ee;
}

.submit-btn,
.dialog-foot button {
  background: linear-gradient(135deg, #2563eb, #118366);
  box-shadow: 0 16px 28px rgba(37, 99, 235, .2);
}

.code-btn {
  background: #0f172a;
}

@media screen and (max-width: 980px) {
  .login-shell {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
  }

  .brand-panel {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #e3edf2;
  }

  .hero-copy {
    margin: 38px 0 22px;
  }

  .hero-visual {
    width: 100%;
  }

  .signal-board {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .login-bg-avatar {
    width: 520px;
    right: -260px;
    bottom: -160px;
  }

  .brand-panel,
  .login-panel {
    padding: 26px 22px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }

  .brand-avatar {
    border-radius: 12px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-visual {
    min-height: 96px;
  }

  .hero-visual img {
    width: 80px;
    height: 80px;
  }

  .hero-visual strong {
    font-size: 18px;
  }
}

/* 登录页左侧品牌区顶部：用 gooapi 长方形字标替换原「头像+GooAPI终端/gooapi.cn」 */
.brand-top {
  display: block;
}

.brand-logo {
  display: block;
  width: auto;
  height: 100px;
  max-width: 360px;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .brand-logo {
    height: 72px;
    max-width: 280px;
  }
}
