/* Shared account typography. The v6 static overlay uses these same rules;
   its retained markup receives the approved logo through the legacy selector. */
.market-phone--partner {
  --account-ink: #17365d;
  --account-muted: #60748f;
  --account-line: #c7dcf5;
  --account-control: #f4f8ff;
  --account-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-family: var(--account-font);
}
.market-phone--partner .market-nav h1 {
  margin: 0;
  font-family: var(--account-font);
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.market-phone--partner .market-nav__side svg { width: 20px; height: 20px; }
.mingde-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--account-ink);
  font-family: var(--account-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0;
}
.mingde-brand img { display: block; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; }
.account-intro { padding: 28px 8px 24px; }
.account-intro h2 {
  margin: 24px 0 10px;
  color: var(--account-ink);
  font-size: 24px;
  font-weight: 650;
  line-height: 34px;
  letter-spacing: 0;
}
.account-intro p { color: var(--account-muted); font-size: 13px; line-height: 22px; }
.account-form { gap: 20px; padding: 24px 18px; border-radius: 16px; }
.account-form label { min-width: 0; }
.account-form label > span { margin-bottom: 8px; color: #496282; font-size: 13px; line-height: 20px; }
.account-form input { min-width: 0; height: 46px; padding: 10px 12px; border-color: var(--account-line); border-radius: 10px; background: var(--account-control); font-family: var(--account-font); font-size: 16px; line-height: 24px; }
.account-form input:disabled { opacity: .65; }
.account-form .partner-primary,
.partner-entry .partner-primary { min-height: 46px; padding: 11px 16px; border-radius: 23px; font-family: var(--account-font); font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: 0; }
.account-form .partner-primary > .partner-icon { display: none; }
.account-form .partner-primary:disabled,
.partner-entry .partner-primary:disabled { cursor: wait; opacity: .65; }
.account-form .partner-primary .partner-spinner,
.partner-entry .partner-primary .partner-spinner { width: 16px; height: 16px; border-color: #ffffff70; border-top-color: #fff; }
.account-switch { margin-top: 12px; }
.account-help { margin-top: 12px; }
.partner-entry h1 { margin: 20px 0 10px; font-size: 22px; font-weight: 650; line-height: 32px; letter-spacing: 0; }
.partner-entry > p { color: var(--account-muted); font-size: 14px; line-height: 24px; }
.partner-entry > small { line-height: 20px; }
/* Compatibility for the archived v6 bundle: visually replace its text-only M
   without changing its identity, form, or registration logic. */
.account-brand { display: flex; align-items: center; gap: 10px; min-height: 32px; color: var(--account-ink); font-family: var(--account-font); font-size: 0; line-height: 0; }
.account-brand::before { content: ''; display: block; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: url('/assets/brand/mingde-logo.png') center / contain no-repeat; }
.account-brand > span { color: var(--account-ink); font-family: var(--account-font); font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: 0; }
@media (max-width: 350px) {
  .account-intro { padding-top: 24px; }
  .account-intro h2 { font-size: 22px; line-height: 32px; }
  .account-form { padding-inline: 16px; }
}
