/* Shared partner brand; auth-split form styles remain member-only. */
.auth-partner.auth-page {
  --blue: #0b806d;
  --cyan: #46bfa8;
  --auth-accent: #0b806d;
  --auth-accent-hover: #096b5c;
  --auth-ink: #163f36;
  --auth-muted: #536f65;
  color: var(--auth-ink);
  background: #f7fcf9;
}
.auth-partner .auth-brand {
  color: var(--auth-ink);
  background:
    radial-gradient(ellipse at 90% 6%, #c7f1e2 0, transparent 55%),
    linear-gradient(150deg, #79cfbb 0%, #b7e8d9 56%, #e4f7ee 100%);
}
.auth-partner .auth-brand::after {
  top: 10vh;
  border-color: #298a7130;
  box-shadow:
    0 0 0 65px #ffffff10,
    0 0 0 66px #298a7118,
    0 0 0 130px #ffffff0a,
    0 0 0 131px #298a7110;
}
.auth-partner .auth-story {
  margin: 0;
}
.auth-partner .auth-story h1 {
  color: var(--auth-ink);
  font-size: clamp(22px, 6cqw, 36px);
  white-space: normal;
  overflow-wrap: anywhere;
}
.auth-partner .auth-story h1 span {
  color: var(--auth-accent);
  background: none;
}
.auth-partner
  :is(.eyebrow.light, .auth-story > p, .auth-features, .auth-brand-foot) {
  color: #27564c;
}
.auth-partner .live-dot {
  background: var(--auth-accent);
  box-shadow: 0 0 0 4px #0b806d14;
}
.auth-partner .auth-features > div {
  border-color: #25866f2b;
}
.auth-partner .feature-number {
  color: #246254;
}
.auth-partner .grow-word {
  color: #ffffff38;
  -webkit-text-stroke: 1px #207c6538;
}
.auth-partner .grow-word span {
  color: #0b806d66;
}
.auth-partner .auth-main {
  background: linear-gradient(145deg, #ffffff 0%, #f2fbf6 100%);
}
.auth-partner .auth-main > .auth-form-wrap {
  margin: 0 auto;
}
.auth-partner
  :is(
    .eyebrow:not(.light),
    .form-intro,
    .field-help,
    .auth-footer,
    .secure-note,
    .auth-top
  ) {
  color: var(--auth-muted);
}
.auth-partner .field-label {
  color: #355f52;
}
.auth-partner :is(.input-basic, .phone-field, .code-field) {
  border-color: #cfe4db;
  background: #fff;
}
.auth-partner
  :is(.input-basic:focus, .phone-field:focus-within, .code-field:focus-within) {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 3px #0b806d14;
}
.auth-partner .code-field button {
  color: var(--auth-accent-hover);
  background: #edf8f2;
  border-color: #cfe4db;
}
.auth-partner .btn.primary {
  color: #fff;
  border-color: var(--auth-accent);
  background: var(--auth-accent);
  box-shadow: none;
}
.auth-partner .btn.primary:hover {
  background: var(--auth-accent-hover);
  box-shadow: none;
  filter: none;
}
.auth-partner :is(button, input, a):focus-visible {
  outline: 2px solid var(--auth-accent);
  outline-offset: 3px;
}
.auth-split [hidden] {
  display: none !important;
}
.auth-partner .auth-brand {
  padding: 36px clamp(24px, 4vw, 64px);
}
.auth-partner .auth-partner-brand {
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.auth-partner .auth-partner-brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.auth-split .auth-main {
  padding: 32px clamp(24px, 4vw, 64px) 22px;
}
.auth-split .auth-form-wrap {
  width: min(460px, 100%);
  padding: 24px 0 32px;
}
.auth-split .auth-form-wrap h2 {
  margin: 10px 0 0;
  color: #1e2423;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.4;
}
.auth-split .eyebrow:not(.light) {
  color: #6a7876;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.auth-split .form-intro {
  margin-top: 12px;
  margin-bottom: 0;
  color: #7a8280;
  font-size: 14px;
  line-height: 1.8;
}
.auth-split .auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  margin: 24px 0;
  border-radius: 12px;
  background: #eaf5ef;
}
.auth-split .auth-mode-switch button {
  min-width: 0;
  min-height: 48px;
  padding: 12px 8px;
  border: 0;
  border-radius: 9px;
  color: #747b78;
  background: transparent;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}
.auth-split .auth-mode-switch button[aria-selected="true"] {
  color: #fff;
  background: var(--auth-accent);
  font-weight: 600;
}
.auth-split .auth-mode-switch button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.auth-split .auth-profile-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.auth-split .field-label {
  color: #394541;
  font-size: 13px;
}
.auth-split :is(.input-basic, .phone-field, .code-field) {
  border-color: #dce2de;
  border-radius: 8px;
}
.auth-split .input-basic {
  min-height: 46px;
}
.auth-split .field-help {
  color: #7b8580;
  line-height: 1.7;
}
.auth-split .field-help .btn.ghost {
  color: #4b6b62;
}
.auth-split .code-field button {
  color: #1c5149;
  background: #f1f5f2;
}
.auth-split .auth-submit {
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid var(--auth-accent);
  border-radius: 9px;
  color: #fff;
  background: var(--auth-accent);
  box-shadow: none;
}
.auth-split .auth-submit:hover {
  background: var(--auth-accent-hover);
  box-shadow: none;
  filter: none;
}
.auth-split .auth-flow-note {
  margin: 18px 0 0;
  color: #85908b;
  font-size: 12px;
  line-height: 1.8;
}
.auth-split :is(button, input, a):focus-visible {
  outline: 2px solid var(--auth-accent);
  outline-offset: 3px;
}
.auth-partner .auth-local-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.auth-partner .auth-local-symbol {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  overflow: hidden;
}
.auth-partner .auth-local-symbol img {
  display: block;
  width: 216px;
  max-width: none;
  height: auto;
}
.auth-partner .auth-local-wordmark {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.auth-partner .auth-local-wordmark strong {
  color: #242424;
  font-size: clamp(28px, 4.2cqw, 38px);
  font-weight: 750;
  letter-spacing: 2px;
  line-height: 1.1;
}
.auth-partner .auth-local-wordmark small {
  color: #626762;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.auth-partner.unified-auth .auth-brand {
  background: #fff;
}
.auth-partner.unified-auth .auth-brand::after,
.auth-partner.admin-auth .auth-brand::after {
  display: none;
}
.auth-partner.admin-auth .auth-brand {
  color: #fff;
  background: #142440;
}
.auth-partner.admin-auth .auth-local-wordmark strong {
  color: #fff;
}
.auth-partner.admin-auth .auth-local-wordmark small {
  color: #d4ddea;
}
.auth-partner.admin-auth .auth-story h1 {
  color: #fff;
}
.auth-partner.admin-auth .auth-story h1 span {
  color: #d4ddea;
}
.auth-partner.admin-auth
  :is(.eyebrow.light, .auth-story > p, .auth-features, .auth-brand-foot) {
  color: #d4ddea;
}
.auth-partner.admin-auth .live-dot {
  background: #75d7c1;
  box-shadow: 0 0 0 4px #75d7c11f;
}
.auth-partner.admin-auth .auth-features > div {
  border-color: #ffffff26;
}
.auth-partner.admin-auth .feature-number {
  color: #d4ddea;
}
.auth-partner.admin-auth .grow-word {
  color: #ffffff20;
  -webkit-text-stroke: 1px #ffffff26;
}
.auth-partner.admin-auth .grow-word span {
  color: #75d7c180;
}
@media (max-width: 900px) {
  .auth-partner.auth-page {
    display: flex;
    flex-direction: column;
  }
  .auth-partner .auth-brand {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 22px 24px;
  }
  .auth-partner .auth-partner-brand {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .auth-partner .auth-local-brand {
    margin-inline: auto;
  }
  .auth-partner :is(.auth-story, .auth-brand-foot) {
    display: none;
  }
  .auth-split .auth-main {
    width: 100%;
    padding: 24px;
  }
  .auth-split .auth-form-wrap {
    width: min(460px, 100%);
    margin: 0 auto;
    padding-top: 8px;
  }
}
@media (max-width: 480px) {
  .auth-partner .auth-brand {
    padding: 20px 16px;
  }
  .auth-partner .auth-local-symbol {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .auth-partner .auth-local-symbol img {
    width: 180px;
  }
  .auth-partner .auth-local-wordmark strong {
    font-size: 25px;
  }
  .auth-partner .auth-local-wordmark small {
    font-size: 12px;
  }
  .auth-split .auth-main {
    padding: 24px 20px;
  }
  .auth-split .auth-mode-switch button {
    font-size: 14px;
  }
}
