/* Mirasoles: Auth */

.auth-session-notice {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  top: calc(var(--header-height) + 14px);
  z-index: 650;
  width: min(440px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(136, 33, 33, 0.18);
  border-radius: var(--radius-md);
  background: #fff8f4;
  color: #5f1f1f;
  box-shadow: var(--shadow-md);
}

.auth-session-notice__body {
  display: grid;
  gap: 6px;
}

.auth-session-notice__title {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.auth-session-notice__message {
  line-height: 1.45;
}

.auth-session-notice__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.auth-session-notice__button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #8b1e1e;
  color: var(--color-white);
  font-weight: 700;
}

.auth-session-notice__button:hover,
.auth-session-notice__button:focus-visible {
  background: #6f1717;
  color: var(--color-white);
}

.auth-session-notice__button--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(95, 31, 31, 0.2);
}

.auth-session-notice__button--ghost:hover,
.auth-session-notice__button--ghost:focus-visible {
  background: rgba(95, 31, 31, 0.08);
  color: inherit;
}

body:not(.page-create-account):not(.page-reset-password):not(.page-pending-approval) h1,
body:not(.page-create-account):not(.page-reset-password):not(.page-pending-approval) h2,
body:not(.page-create-account):not(.page-reset-password):not(.page-pending-approval) h3 {
  min-height: 1.2em;
  line-height: var(--line-heading);
}

.form-field__label[data-required='true']::after,
.auth-check-inline span[data-required='true']::after,
.auth-consent span[data-required='true']::after {
  content: ' *';
  color: var(--color-danger);
}

.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice-group__options {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.choice-group__options--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  align-items: start;
  gap: 10px 18px;
}

body.page-account,
body.page-create-account,
body.page-pending-approval,
body.page-account-deleted {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-auth main {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(20px, 5vw, 44px) var(--space-page);
}

.page-account main,
.page-create-account main,
.page-pending-approval main,
.page-account-deleted main {
  flex: 1 0 auto;
  width: 100%;
  justify-items: center;
  align-content: center;
  gap: clamp(14px, 2.4vw, 22px);
  padding-block: clamp(18px, 4vw, 44px);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-logo img {
  display: block;
  width: clamp(140px, 16vw, 184px);
  height: auto;
}

.account-split {
  display: grid;
  justify-items: center;
}

.page-account .account-split,
.page-create-account .account-split {
  width: min(500px, calc(100vw - 32px));
  margin-top: 0;
}

.account-split__right {
  width: min(960px, 100%);
}

.auth-card {
  width: min(960px, 100%);
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 16px;
  border-radius: 22px;
}

.auth-card--centered {
  margin-inline: auto;
}

.auth-card--flat {
  width: min(500px, 100%);
}

.auth-title,
.account-side-title {
  color: var(--color-black);
}

.page-account .auth-title {
  font-size: clamp(30px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.08;
}

.page-create-account-password .auth-title {
  font-size: 45px;
  font-weight: 600;
}

.page-create-account:not(.page-create-account-password) .auth-title {
  font-size: clamp(28px, 4.4vw, 34px);
  font-weight: 600;
  line-height: 1.08;
}

.auth-form,
.account-settings-form {
  display: grid;
  gap: 12px;
}

.auth-status {
  min-height: 1.3em;
  margin: 0;
  color: #5b5b55;
}

.auth-status.is-error {
  color: #b42318;
}

.auth-status.is-success {
  color: #166534;
}

.auth-status--inline {
  min-height: 0;
}

.auth-verification {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--color-primary-muted);
  border-radius: 12px;
  background: var(--color-primary-subtle);
}

.auth-verification__title,
.auth-verification__copy {
  margin: 0;
}

.auth-verification__title {
  font-weight: 700;
  color: var(--color-black);
}

.auth-verification__copy {
  color: #44403c;
}

.auth-verification__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-form__row {
  display: grid;
  gap: 11px;
}

.auth-form__row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form__row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-submit {
  width: 100%;
  color: var(--color-white);
}

.page-account .auth-form input:not([type='hidden']):not([type='checkbox']):not([type='radio']),
.page-create-account .auth-form input:not([type='hidden']):not([type='checkbox']):not([type='radio']),
.page-create-account .auth-form select {
  min-height: 54px;
  border-radius: 18px;
  font-size: 16px;
}

.page-account .auth-submit,
.page-create-account .auth-submit,
.page-pending-approval .pending-actions .btn,
.page-account-deleted .pending-actions .btn,
.auth-link--passkey,
.auth-link--create-pill {
  min-height: 54px;
  padding-block: 0;
}

.auth-submit:hover,
.auth-submit:focus-visible,
.auth-submit:visited {
  color: var(--color-white);
}

.page-account .btn-outline.auth-submit,
.page-account .btn-outline.auth-submit:hover,
.page-account .btn-outline.auth-submit:focus-visible,
.page-account .btn-outline.auth-submit:visited {
  color: var(--color-black);
}

.page-account .auth-form input[type='email'],
.page-account .auth-form input[type='password'],
.page-create-account .auth-form input[type='email'] {
  border-radius: 18px;
}

.auth-link,
.auth-forgot,
.auth-link--small,
.auth-link--create,
.auth-link--back {
  color: var(--color-primary-strong);
  font-weight: 700;
}

.auth-link,
.auth-forgot {
  border: 0;
  background: transparent;
  padding: 0;
  justify-self: start;
}

.auth-link--passkey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-strong);
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.auth-link--passkey i {
  color: var(--color-primary-strong);
}

.auth-link--passkey:hover,
.auth-link--passkey:focus-visible {
  border-color: rgba(57, 172, 74, 0.34);
  background: var(--color-primary-subtle);
  color: #12452f;
  outline: none;
}

.auth-link--passkey[disabled],
.auth-link--passkey[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-link--passkey[disabled]:hover,
.auth-link--passkey[aria-disabled='true']:hover {
  border-color: rgba(17, 17, 17, 0.14);
  background: var(--color-white);
  color: var(--color-text-strong);
}

.auth-link--create-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-black);
  text-decoration: none;
}

.auth-link--create-pill:hover,
.auth-link--create-pill:focus-visible,
.auth-link--create-pill:visited {
  color: var(--color-black);
}

.page-auth .auth-link--passkey,
.page-auth .auth-link--create-pill {
  min-height: 54px;
  padding-block: 0;
}

.auth-divider {
  height: 1px;
  background: var(--color-border);
}

.auth-password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  width: 30px;
  height: 30px;
}

.create-account-card__left .auth-form,
.create-account-card__left .auth-status {
  width: 100%;
}

.page-create-account-password .account-split,
.page-create-account-password .account-split__right,
.page-create-account-password .auth-card {
  width: min(1040px, 100%);
}

.page-create-account-password .auth-card {
  background: var(--color-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.page-create-account-password .create-account-password-card:has(.auth-form__slide--blend.is-active) {
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border-radius: 22px;
}

.page-create-account-password {
  background: #f7f4ee;
}

.page-create-account-password main {
  justify-items: center;
  align-content: start;
  gap: clamp(6px, 1.2vw, 10px);
  padding: var(--space-page) var(--space-page) clamp(24px, 4vw, 44px);
}

.page-create-account-password .account-split {
  margin-top: 0;
}

.page-create-account-password .auth-logo img {
  width: clamp(140px, 16vw, 184px);
}

.create-account-password-card__header {
  display: grid;
  gap: 10px;
  width: min(960px, 100%);
  justify-self: center;
}

.create-account-password-card {
  gap: 18px;
}

.page-create-account-password .auth-form--business {
  gap: 14px;
}

.page-create-account-password .auth-form__slides {
  display: grid;
  justify-items: center;
}

.page-create-account-password .auth-form__slide {
  display: none;
  gap: 14px;
  align-content: start;
  width: min(960px, 100%);
}

.page-create-account-password .auth-form__slide.is-active {
  display: grid;
}

.page-create-account-password .auth-form__slide--routing {
  gap: 20px;
}

.page-create-account-password .auth-form__slide--routing .auth-form__row {
  gap: 16px;
}

.page-create-account-password .auth-form__slide--routing .form-field,
.page-create-account-password .auth-form__slide--routing .choice-group {
  gap: 10px;
}

.page-create-account-password .auth-form__slide--routing .choice-group__options {
  align-items: flex-start;
  gap: 22px;
}

.page-create-account-password .auth-form__slide--routing .choice-group__options--grid {
  gap: 14px 22px;
}

.page-create-account-password .auth-form__slide-head {
  display: grid;
  gap: 4px;
}

.page-create-account-password .auth-form__slide-title,
.page-create-account-password .auth-form__section-title,
.page-create-account-password .auth-trade-references__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-black);
}

.page-create-account-password .auth-form__section {
  display: grid;
  gap: 11px;
}

.page-create-account-password [data-account-slide="1"] .auth-form__section + .auth-form__section {
  margin-top: calc(50px - 14px);
}

.page-create-account-password .auth-form__field-hidden,
.page-create-account-password .auth-form__section-hidden {
  display: none;
}

.page-create-account-password .auth-check-inline,
.page-create-account-password .auth-consent {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  color: var(--color-black);
  cursor: pointer;
}

.page-create-account-password .auth-check-inline input[type='checkbox'],
.page-create-account-password .auth-consent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.page-create-account-password .auth-check-inline span,
.page-create-account-password .auth-consent span {
  line-height: 1.4;
}

.page-create-account-password .auth-form__section input:disabled,
.page-create-account-password .auth-form__section select:disabled,
.page-create-account-password .auth-form__section [data-us-state-input]:disabled {
  background: rgba(17, 17, 17, 0.04);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.page-create-account-password .form-field__error {
  font-size: 13px;
  line-height: 1.3;
}

.page-create-account-password .form-field.is-error input,
.page-create-account-password .form-field.is-error select,
.page-create-account-password .form-field.is-error textarea {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(190, 36, 36, 0.1);
}

.page-create-account-password .choice-group.is-error .form-field__error,
.page-create-account-password .auth-check-inline.is-error .form-field__error,
.page-create-account-password .auth-consent.is-error .form-field__error {
  display: block;
}

.page-create-account-password .auth-application-note {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--color-border-muted);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.page-create-account-password .auth-application-note summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-black);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}

.page-create-account-password .auth-application-note summary::-webkit-details-marker {
  display: none;
}

.page-create-account-password .auth-application-note summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary-strong);
  font-weight: 700;
  line-height: 1;
}

.page-create-account-password .auth-application-note[open] summary::after {
  content: '-';
}

.page-create-account-password .auth-application-note__body {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.page-create-account-password .auth-application-note__body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.page-create-account-password .auth-application-note__body p:first-child,
.page-create-account-password .auth-application-note__body p:nth-child(6),
.page-create-account-password .auth-application-note__body p:nth-child(7) {
  color: var(--color-black);
  font-weight: 700;
}

.page-create-account-password [data-account-slide="5"] .auth-form__slide-head + .auth-form__section-title {
  margin-top: 6px;
}

.page-create-account-password .auth-trade-references {
  display: grid;
  gap: 22px;
}

.page-create-account-password .auth-trade-references__note {
  margin: -10px 0 0;
  color: var(--color-text-muted);
}

.page-create-account-password .auth-trade-references__title span {
  color: var(--color-danger);
}

.page-create-account-password .auth-trade-references__rows {
  display: grid;
  gap: 24px;
}

.page-create-account-password .trade-reference-row {
  display: grid;
  gap: 16px;
}

.page-create-account-password .trade-reference-row__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.page-create-account-password .trade-reference-row__label {
  margin: 0;
  color: var(--color-black);
  font-weight: 700;
}

.page-create-account-password .trade-reference-row + .trade-reference-row {
  padding-top: 24px;
  border-top: 1px solid rgba(85, 104, 143, 0.18);
}

.page-create-account-password .auth-form__row--trade {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-create-account-password .auth-trade-references__add {
  width: fit-content;
  min-width: 174px;
  background: #b4bdcf;
  border-color: #b4bdcf;
  color: var(--color-white);
}

.page-create-account-password .auth-trade-references__add:hover,
.page-create-account-password .auth-trade-references__add:focus-visible {
  background: #a7b1c5;
  border-color: #a7b1c5;
  color: var(--color-white);
}

.page-create-account-password .auth-trade-references__remove {
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.page-create-account-password .auth-trade-references__remove:hover,
.page-create-account-password .auth-trade-references__remove:focus-visible {
  color: #1f2937;
}

.page-create-account-password .auth-form__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.page-create-account-password .auth-form__nav--end {
  justify-content: flex-end;
}

.page-create-account-password .auth-form__nav .btn {
  min-width: 148px;
}

.page-create-account-password [data-account-step-next].btn {
  color: var(--color-white);
}

.page-create-account-password [data-account-step-next].btn:hover,
.page-create-account-password [data-account-step-next].btn:focus-visible,
.page-create-account-password [data-account-step-next].btn:visited {
  color: var(--color-white);
}

.page-create-account-password .auth-form__nav--submit .auth-submit {
  flex: 0 0 50%;
  width: 50%;
  margin-left: auto;
}

.page-create-account-password .auth-form__slide--review {
  gap: 18px;
}

.auth-review,
.auth-review__sections,
.auth-review__section,
.auth-review__list {
  display: grid;
}

.auth-review {
  gap: 16px;
}

.auth-review__sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-review__section {
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border-muted);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-review__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-review__section-head h4 {
  margin: 0;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-review__edit {
  border: 0;
  background: transparent;
  color: var(--color-primary-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.auth-review__edit:hover,
.auth-review__edit:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-review__list {
  gap: 8px;
  margin: 0;
}

.auth-review__item {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.auth-review__item dt,
.auth-review__item dd {
  margin: 0;
  min-width: 0;
  line-height: 1.35;
}

.auth-review__item dt {
  color: var(--color-text-muted);
  font-weight: 700;
}

.auth-review__item dd {
  color: var(--color-black);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.password-strength {
  display: grid;
  gap: 8px;
  width: min(312px, calc(50% - 8px));
}

.password-strength__bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--color-border-subtle);
  overflow: hidden;
}

.password-strength__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--color-danger);
  transition: width 180ms ease, background-color 180ms ease;
}

.password-strength__label {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 700;
  line-height: 1.3;
}

.page-create-account-password .form-field select {
  border-radius: var(--radius-md);
  background: var(--color-white);
  min-height: 50px;
  padding: 11px 44px 11px 13px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%235b5b55' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 2l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 10px;
}

.page-create-account-password .auth-hint,
.page-create-account-password .form-field--consent,
.page-create-account-password .auth-submit,
.page-create-account-password .auth-divider,
.page-create-account-password .auth-meta {
  width: 100%;
}

.page-create-account-password .create-account-password-card__header .auth-link,
.page-create-account-password .auth-form__slide .auth-link {
  width: fit-content;
  justify-self: start;
}

.page-create-account .create-account-card__right .auth-title,
.page-create-account .create-account-card__right .account-side-title {
  color: var(--color-white);
}

.page-create-account .create-account-card__right .auth-title,
.page-create-account .create-account-card__right .account-side-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
}

.page-create-account .create-account-card__right .auth-subtext {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

body.page-auth .footer.footer--auth-minimal {
  margin-top: auto;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-black);
}

.footer-auth-minimal {
  min-height: 68px;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

body.page-auth .footer-auth-minimal a {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: none;
}

body.page-auth .footer-auth-minimal a:hover,
body.page-auth .footer-auth-minimal a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-account-login .auth-logo img {
  width: clamp(150px, 12vw, 178px);
}

body.page-account-login main {
  align-content: start;
  padding-top: clamp(34px, 5vh, 58px);
  padding-bottom: clamp(36px, 7vh, 72px);
}

body.page-account-login .account-split {
  width: min(430px, calc(100vw - 32px));
}

body.page-account-login .auth-card {
  width: 100%;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border: 0;
  border-radius: 16px;
  background: var(--color-surface-muted);
  box-shadow: none;
}

body.page-account-login .auth-title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
}

body.page-account-login .auth-form {
  gap: 10px;
}

body.page-account-login .auth-form input:not([type='hidden']):not([type='checkbox']):not([type='radio']) {
  min-height: 50px;
  border-radius: 12px;
  padding: 0 14px;
  border-color: var(--color-border-emphasis);
  color: var(--color-black);
  font-size: 15px;
  font-weight: 600;
}

body.page-account-login .auth-form input::placeholder {
  color: rgba(17, 17, 17, 0.42);
  font-weight: 600;
}

body.page-account-login .auth-submit {
  min-height: 50px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
}

body.page-account-login .btn-primary.auth-submit {
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: none;
}

body.page-account-login .btn-primary.auth-submit:hover,
body.page-account-login .btn-primary.auth-submit:focus-visible {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  color: var(--color-white);
  box-shadow: none;
}

body.page-account-login .auth-create-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  justify-self: center;
  margin-top: 10px;
  border-radius: 999px;
  padding: 0 20px;
  background: transparent;
  color: var(--color-black);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: none;
  transition:
    background-color var(--ease),
    color var(--ease);
}

body.page-account-login .auth-create-account-link:hover,
body.page-account-login .auth-create-account-link:focus-visible {
  background: rgba(17, 17, 17, 0.14);
  color: var(--color-black);
  box-shadow: none;
  outline: none;
}

body.page-account-login .auth-create-account-link:focus-visible {
  outline: 3px solid rgba(57, 172, 74, 0.32);
  outline-offset: 2px;
}

body.page-account-login .auth-status {
  min-height: 0;
  font-size: 13px;
  line-height: 1.3;
}

body.page-account-login .footer.footer--auth-minimal {
  border-top-color: rgba(17, 17, 17, 0.07);
}

body.page-account-login .footer-auth-minimal {
  min-height: 54px;
  padding-block: 14px;
  gap: 8px;
}

body.page-account-login .footer-auth-minimal a {
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  font-weight: 700;
}

body.page-account-login .footer-auth-minimal a + a::before {
  content: '·';
  margin-right: 8px;
  color: rgba(17, 17, 17, 0.28);
}

body.page-account-login .footer-auth-minimal a:hover,
body.page-account-login .footer-auth-minimal a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: none;
}

.page-pending-approval .account-split {
  padding-block: 0;
}

.page-pending-approval main {
  align-content: center;
  gap: 8px;
  padding-block: clamp(18px, 4vw, 44px);
}

.page-pending-approval .account-split__right {
  width: min(1020px, 100%);
}

.page-pending-approval .pending-card {
  width: min(1020px, 100%);
  max-width: 1020px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 22px;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 253, 251, 0.94) 100%);
}

.page-pending-approval .auth-title {
  margin: 2px 0 0;
  font-size: 50px;
  font-weight: 600;
}

.page-pending-approval .pending-lead,
.page-pending-approval .pending-note {
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.page-pending-approval [data-pending-card][data-pending-state='missing'] .pending-lead {
  text-align: left;
}

.page-pending-approval .pending-actions {
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.page-pending-approval .pending-actions .btn {
  min-width: clamp(190px, 22vw, 248px);
}

.page-pending-approval .pending-actions .btn.btn-primary,
.page-pending-approval .pending-actions .btn.btn-primary:hover,
.page-pending-approval .pending-actions .btn.btn-primary:focus-visible,
.page-pending-approval .pending-actions .btn.btn-primary:visited {
  color: var(--color-white);
}

.page-pending-approval .pending-support {
  justify-content: center;
}

.page-account-deleted .auth-title {
  font-size: 50px;
  font-weight: 600;
}

.page-account-deleted .pending-card {
  border-radius: 22px;
}

.page-account-deleted main {
  flex: 1 0 auto;
  width: 100%;
  justify-items: center;
  align-content: center;
}

.page-account-deleted .pending-actions .btn.btn-primary,
.page-account-deleted .pending-actions .btn.btn-primary:hover,
.page-account-deleted .pending-actions .btn.btn-primary:focus-visible,
.page-account-deleted .pending-actions .btn.btn-primary:visited {
  color: var(--color-white);
}

.page-account-deleted .pending-support {
  justify-content: center;
}

.account-detail-row,
.account-password-row,
.account-security-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.account-detail-label,
.account-password-label,
.account-toggle__hint {
  color: var(--color-text-soft);
}

.account-detail-value,
.account-password-value,
.account-row-status,
.auth-email-display {
  color: var(--color-black);
  font-weight: 700;
}

.account-modal__actions [data-forgot-password-submit].btn,
.account-modal__actions [data-forgot-password-submit].btn:hover,
.account-modal__actions [data-forgot-password-submit].btn:focus-visible,
.account-modal__actions [data-forgot-password-submit].btn:visited {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.account-modal__actions [data-forgot-password-submit].btn:hover,
.account-modal__actions [data-forgot-password-submit].btn:focus-visible {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.account-modal__actions .account-modal__cancel {
  border-color: transparent;
  background: transparent;
  color: rgba(17, 17, 17, 0.68);
  box-shadow: none;
  transform: none;
}

.account-modal__actions .account-modal__cancel:hover,
.account-modal__actions .account-modal__cancel:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--color-primary-strong);
  box-shadow: none;
  transform: none;
}

.account-modal__actions .account-modal__cancel:focus-visible {
  outline: 2px solid var(--color-primary-focus);
  outline-offset: 2px;
}

body.page-portal.portal-dark-mode .portal-admin-topbar,
body.page-portal.portal-dark-mode .portal-admin-order,
body.page-portal.portal-dark-mode .portal-admin-orders,
body.page-portal.portal-dark-mode .portal-admin-detail,
body.page-portal.portal-dark-mode .portal-section,
body.page-portal.portal-dark-mode .portal-admin-mobile-tabs__btn,
body.page-portal.portal-dark-mode .portal-admin-items-table-wrap,
body.page-account-settings.portal-dark-mode .account-settings-block,
body.page-account-settings.portal-dark-mode .account-detail-row,
body.page-account-settings.portal-dark-mode .account-password-row,
body.page-account-settings.portal-dark-mode .account-security-row,
body.page-account-settings.portal-dark-mode .account-toggle,
body.page-account-settings.portal-dark-mode .portal-signout-icon,
body.page-account-settings.portal-dark-mode .account-modal__panel {
  background: #101a14;
  border-color: var(--color-border);
  box-shadow: none;
}

body.page-portal.portal-dark-mode .portal-admin-order__title,
body.page-portal.portal-dark-mode .portal-admin-detail__head h4,
body.page-portal.portal-dark-mode .portal-admin-user__signed,
body.page-account-settings.portal-dark-mode .portal-admin-user__signed,
body.page-account-settings.portal-dark-mode .account-detail-value,
body.page-account-settings.portal-dark-mode .account-password-value,
body.page-account-settings.portal-dark-mode .account-row-status,
body.page-account-settings.portal-dark-mode .account-two-factor-summary code {
  color: #f3faf4;
}

body.page-portal.page-auth main,
body.page-account-settings.page-auth main {
  padding-left: 0;
  padding-right: 0;
}

.page-account-settings .account-detail-row,
.page-account-settings .account-password-row,
.page-account-settings .account-security-row,
.page-account-settings .account-toggle {
  border-bottom: 1px solid var(--color-border);
  padding-inline: 0;
}

@media (max-width: 980px) {
.page-create-account:not(.page-create-account-password) .account-split {
    width: min(500px, calc(100vw - 32px));
    max-width: min(500px, calc(100vw - 32px));
    min-width: 0;
  }

.create-account-card__left,
  .create-account-card__right,
  .create-account-card__right-copy,
  .create-account-card__left .auth-form,
  .create-account-card__left .auth-status {
    min-width: 0;
  }

.page-create-account:not(.page-create-account-password) .create-account-card__left .auth-form,
  .page-create-account:not(.page-create-account-password) .create-account-card__left .auth-status {
    width: 100%;
    max-width: 100%;
    justify-self: start;
  }

.page-create-account:not(.page-create-account-password) .create-account-card__left,
  .page-create-account:not(.page-create-account-password) .create-account-card__right {
    padding: 24px;
    overflow: hidden;
  }

.page-create-account-password .auth-form__row--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.page-create-account-password .auth-form__row--trade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.page-create-account-password .auth-form__nav .btn {
    min-width: 0;
  }
}

@media (max-width: 700px) {
.page-create-account:not(.page-create-account-password) .account-split,
  .page-create-account:not(.page-create-account-password) .create-account-card {
    width: min(500px, calc(100vw - 32px));
    max-width: min(500px, calc(100vw - 32px));
    min-width: 0;
  }

.page-create-account:not(.page-create-account-password) .create-account-card__left,
  .page-create-account:not(.page-create-account-password) .create-account-card__right {
    padding: 24px;
    overflow: hidden;
  }

.page-create-account:not(.page-create-account-password) .auth-title {
    font-size: clamp(28px, 7vw, 32px);
    overflow-wrap: anywhere;
  }

.page-create-account:not(.page-create-account-password) .auth-hint,
  .page-create-account:not(.page-create-account-password) .auth-signin-note,
  .page-create-account:not(.page-create-account-password) .auth-subtext,
  .page-create-account:not(.page-create-account-password) .account-benefits {
    overflow-wrap: anywhere;
  }

.page-create-account-password .auth-form__row--two,
  .page-create-account-password .auth-form__row--three,
  .page-create-account-password .auth-form__row--trade {
    grid-template-columns: minmax(0, 1fr);
  }

.page-create-account-password .trade-reference-row__head {
    align-items: center;
    flex-direction: row;
  }

.page-create-account-password .trade-reference-row {
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--color-border-muted);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
  }

.page-create-account-password .trade-reference-row + .trade-reference-row {
    padding-top: 14px;
    border-top: 1px solid var(--color-border-muted);
  }

.page-create-account-password .trade-reference-row__label {
    font-size: 15px;
  }

.page-create-account-password .auth-card {
    padding: 18px;
  }

.page-create-account-password .account-progress__meta,
  .page-create-account-password .auth-form__nav {
    flex-direction: column;
    align-items: stretch;
  }

.page-create-account-password .account-progress__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px 8px;
  }

.page-create-account-password .auth-review__sections {
    grid-template-columns: minmax(0, 1fr);
  }

.page-create-account-password .auth-review__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

.page-create-account-password .auth-form__nav .btn,
  .page-create-account-password .auth-form__nav--submit .auth-submit {
    width: 100%;
  }

.page-create-account-password .auth-form__nav--submit {
    flex-direction: column;
    align-items: stretch;
  }

.page-create-account-password .auth-form__nav--submit .btn-outline {
    width: 100%;
  }

.page-create-account-password .auth-form__nav--submit .auth-submit {
    width: 100%;
    flex: 0 0 auto;
    margin-left: 0;
  }

.page-pending-approval .pending-meta {
    grid-template-columns: minmax(0, 1fr);
  }

.page-pending-approval .pending-meta > div + div {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

.page-pending-approval .pending-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --pending-step-dot-size: 12px;
    gap: 8px;
  }

.page-pending-approval .pending-step {
    padding-top: 18px;
  }
}

body.page-account-settings .account-detail-row,
body.page-account-settings .account-password-row,
body.page-account-settings .account-security-row,
body.page-account-settings .account-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #e2e9df;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-account-settings .account-detail-label,
body.page-account-settings .account-password-label {
  margin: 0;
  color: #66736b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body.page-account-settings .account-detail-value,
body.page-account-settings .account-password-value {
  margin: 0;
  color: var(--color-text-deep);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.page-account-settings .account-profile-actions .btn,
body.page-account-settings .account-password-row .btn,
body.page-account-settings .account-security-row .btn,
body.page-account-settings .account-settings-actions .btn {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

body.page-account-settings .account-settings-block--danger .account-password-label {
  color: #7e2b1f;
}

body.page-account-settings.portal-dark-mode .account-settings-hero p,
body.page-account-settings.portal-dark-mode .account-settings-block__hint,
body.page-account-settings.portal-dark-mode .account-detail-label,
body.page-account-settings.portal-dark-mode .account-password-label,
body.page-account-settings.portal-dark-mode .account-detail-value.is-empty {
  color: rgba(230, 239, 231, 0.72);
}

body.page-account-settings.portal-dark-mode .account-settings-block__head,
body.page-account-settings.portal-dark-mode .account-detail-row,
body.page-account-settings.portal-dark-mode .account-password-row,
body.page-account-settings.portal-dark-mode .account-security-row,
body.page-account-settings.portal-dark-mode .account-toggle {
  border-color: rgba(232, 245, 234, 0.14);
}

@media (max-width: 640px) {
body.page-account-settings .account-detail-row,
  body.page-account-settings .account-password-row,
  body.page-account-settings .account-security-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

body.page-create-account:not(.page-create-account-password) .auth-logo img {
  width: clamp(150px, 12vw, 178px);
}

body.page-create-account:not(.page-create-account-password) main {
  align-content: start;
  padding-top: clamp(34px, 5vh, 58px);
  padding-bottom: clamp(36px, 7vh, 72px);
}

body.page-create-account:not(.page-create-account-password) .account-split,
body.page-create-account:not(.page-create-account-password) .create-account-card {
  width: min(430px, calc(100vw - 32px));
  max-width: min(430px, calc(100vw - 32px));
  min-width: 0;
}

body.page-create-account:not(.page-create-account-password) .create-account-card {
  display: grid;
  gap: 14px;
  padding:
    clamp(32px, 5vw, 44px)
    clamp(22px, 3vw, 30px);
  border: 0;
  border-radius: 16px;
  background: var(--color-surface-muted);
  box-shadow: none;
  overflow: visible;
}

body.page-create-account:not(.page-create-account-password) .create-account-card__left {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 14px;
  padding: 0;
  align-content: start;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body.page-create-account:not(.page-create-account-password) .create-account-card__right {
  display: none;
}

body.page-create-account:not(.page-create-account-password) .create-account-card__left .auth-form {
  width: 100%;
  max-width: 100%;
  gap: 10px;
  justify-self: start;
}

body.page-create-account:not(.page-create-account-password) .auth-title {
  font-size: clamp(30px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  overflow-wrap: normal;
}

body.page-create-account:not(.page-create-account-password) .form-field {
  gap: 6px;
}

body.page-create-account:not(.page-create-account-password) .form-field__label {
  color: rgba(17, 17, 17, 0.58);
  font-size: 13px;
  font-weight: 700;
}

body.page-create-account:not(.page-create-account-password) .auth-form input:not([type='hidden']):not([type='checkbox']):not([type='radio']) {
  min-height: 50px;
  border-radius: 12px;
  padding: 0 14px;
  border-color: var(--color-border-emphasis);
  color: var(--color-black);
  font-size: 15px;
  font-weight: 600;
}

body.page-create-account:not(.page-create-account-password) .auth-form input::placeholder {
  color: rgba(17, 17, 17, 0.42);
  font-weight: 600;
}

body.page-create-account:not(.page-create-account-password) .auth-submit {
  min-height: 50px;
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  box-shadow: none;
}

body.page-create-account:not(.page-create-account-password) .btn-primary.auth-submit:hover,
body.page-create-account:not(.page-create-account-password) .btn-primary.auth-submit:focus-visible {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  color: var(--color-white);
  box-shadow: none;
}

body.page-create-account:not(.page-create-account-password) .auth-signin-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

body.page-create-account:not(.page-create-account-password) .auth-signin-note a {
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  color: var(--color-black);
  font-weight: 750;
}

body.page-create-account:not(.page-create-account-password) .auth-signin-note a:hover,
body.page-create-account:not(.page-create-account-password) .auth-signin-note a:focus-visible {
  background: rgba(17, 17, 17, 0.14);
  color: var(--color-black);
  text-decoration: none;
  outline: none;
}

body.page-create-account:not(.page-create-account-password) .auth-signin-note a:focus-visible {
  outline: 3px solid rgba(57, 172, 74, 0.32);
  outline-offset: 2px;
}

body.page-create-account:not(.page-create-account-password) .auth-status {
  min-height: 0;
  font-size: 13px;
  line-height: 1.3;
}

body.page-create-account:not(.page-create-account-password) .footer.footer--auth-minimal {
  border-top-color: rgba(17, 17, 17, 0.07);
}

body.page-create-account:not(.page-create-account-password) .footer-auth-minimal {
  min-height: 54px;
  padding-block: 14px;
  gap: 8px;
}

body.page-create-account:not(.page-create-account-password) .footer-auth-minimal a {
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  font-weight: 700;
}

body.page-create-account:not(.page-create-account-password) .footer-auth-minimal a + a::before {
  content: '·';
  margin-right: 8px;
  color: rgba(17, 17, 17, 0.28);
}

body.page-create-account:not(.page-create-account-password) .footer-auth-minimal a:hover,
body.page-create-account:not(.page-create-account-password) .footer-auth-minimal a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: none;
}

body.page-password-login .auth-card {
  gap: 12px;
}

body.page-password-login .auth-link--back {
  width: fit-content;
  justify-self: start;
  margin-bottom: 4px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

body.page-password-login .auth-link--back:hover,
body.page-password-login .auth-link--back:focus-visible {
  color: var(--color-primary-strong);
}

body.page-password-login .auth-title {
  max-width: 320px;
  margin: 0;
}

body.page-password-login #forgotPasswordTitle {
  font-size: clamp(30px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

body.page-password-login .auth-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: -2px;
  padding-bottom: 2px;
}

body.page-password-login .auth-email-display {
  min-width: 0;
  margin: 0;
  color: rgba(17, 17, 17, 0.86);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.page-password-login .auth-link--small,
body.page-password-login .auth-forgot {
  color: rgba(17, 17, 17, 0.56);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

body.page-password-login .auth-link--small:hover,
body.page-password-login .auth-link--small:focus-visible,
body.page-password-login .auth-forgot:hover,
body.page-password-login .auth-forgot:focus-visible {
  color: var(--color-primary-strong);
}

body.page-password-login .auth-form {
  gap: 10px;
}

body.page-password-login .form-field {
  min-width: 0;
  gap: 6px;
}

body.page-password-login .auth-password-field {
  position: relative;
  display: flex;
  min-width: 0;
  width: 100%;
}

body.page-password-login .auth-password-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 50px 0 15px;
  border: 1px solid var(--color-border-emphasis);
  border-radius: 12px;
  outline: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}

body.page-password-login .auth-password-field input::placeholder {
  color: rgba(17, 17, 17, 0.42);
  opacity: 1;
}

body.page-password-login .auth-password-field input:hover {
  border-color: rgba(17, 17, 17, 0.24);
}

body.page-password-login .auth-password-field input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

body.page-password-login .auth-password-field input:-webkit-autofill,
body.page-password-login .auth-password-field input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--color-black);
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset;
  caret-color: var(--color-black);
}

body.page-password-login .auth-password-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset, 0 0 0 3px var(--color-primary-soft);
}

body.page-password-login .auth-password-field input::-ms-reveal,
body.page-password-login .auth-password-field input::-ms-clear {
  display: none;
}

body.page-password-login .password-toggle {
  z-index: 2;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 8px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 15px;
  transition: background-color var(--ease), color var(--ease);
}

body.page-password-login .password-toggle:hover,
body.page-password-login .password-toggle:focus-visible {
  background: rgba(57, 172, 74, 0.1);
  color: var(--color-primary-strong);
  outline: none;
}

body.page-password-login .password-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(57, 172, 74, 0.24);
}

body.page-password-login .form-field__error {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

body.page-password-login .auth-forgot {
  justify-self: end;
  margin-top: -2px;
}

body.page-password-login .auth-link--create-pill {
  width: fit-content;
  min-height: 44px;
  padding-inline: 20px;
  justify-self: center;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--color-black);
  font-size: 15px;
  font-weight: 750;
  box-shadow: none;
  transition:
    background-color var(--ease),
    color var(--ease);
}

body.page-password-login .auth-link--create-pill:hover,
body.page-password-login .auth-link--create-pill:focus-visible {
  border-color: transparent;
  background: rgba(17, 17, 17, 0.14);
  color: var(--color-black);
  box-shadow: none;
  outline: none;
}

body.page-password-login .auth-link--create-pill:focus-visible {
  outline: 3px solid rgba(57, 172, 74, 0.32);
  outline-offset: 2px;
}

body.page-password-login .auth-verification {
  gap: 8px;
  padding: 12px;
  border-color: rgba(57, 172, 74, 0.16);
  border-radius: 12px;
  background: rgba(57, 172, 74, 0.07);
}

body.page-password-login .auth-verification__title {
  font-size: 14px;
  line-height: 1.25;
}

body.page-password-login .auth-verification__copy,
body.page-password-login .auth-verification .auth-status {
  font-size: 13px;
  line-height: 1.4;
}

body.page-password-login .auth-verification .btn {
  min-height: 42px;
  border-radius: 12px;
  font-size: 13px;
}

body.page-reset-password .auth-card {
  gap: 16px;
}

body.page-reset-password .auth-link--back {
  width: fit-content;
  color: rgba(17, 17, 17, 0.58);
  font-size: 13px;
  font-weight: 750;
}

body.page-reset-password .auth-link--back:hover,
body.page-reset-password .auth-link--back:focus-visible {
  color: var(--color-primary-strong);
}

body.page-reset-password .auth-reset-heading {
  display: grid;
  gap: 8px;
}

body.page-reset-password .auth-title {
  max-width: 360px;
  margin: 0;
  font-size: clamp(31px, 5vw, 36px);
  line-height: 1.04;
}

body.page-reset-password .auth-reset-lead {
  max-width: 390px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.page-reset-password .auth-reset-email {
  width: fit-content;
  max-width: 100%;
  margin: -2px 0 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(57, 172, 74, 0.08);
  color: #245c2c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.page-reset-password .auth-status:empty {
  display: none;
}

body.page-reset-password .auth-status:not(:empty) {
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.035);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

body.page-reset-password .auth-status.is-error {
  border-color: rgba(180, 35, 24, 0.18);
  background: rgba(180, 35, 24, 0.06);
}

body.page-reset-password .auth-status.is-success {
  border-color: rgba(22, 101, 52, 0.18);
  background: rgba(22, 101, 52, 0.06);
}

body.page-reset-password .auth-form {
  gap: 11px;
}

body.page-reset-password .form-field {
  gap: 7px;
}

body.page-reset-password .auth-reset-label {
  color: rgba(17, 17, 17, 0.82);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

body.page-reset-password .auth-password-field {
  width: 100%;
}

body.page-reset-password .auth-password-field input {
  width: 100%;
  padding-right: 48px;
}

body.page-reset-password .password-toggle {
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 15px;
  transition: background-color var(--ease), color var(--ease);
}

body.page-reset-password .password-toggle:hover,
body.page-reset-password .password-toggle:focus-visible {
  background: rgba(57, 172, 74, 0.1);
  color: var(--color-primary-strong);
  outline: none;
}

body.page-reset-password .auth-hint {
  margin: -3px 0 2px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

body.page-reset-password .auth-submit {
  margin-top: 5px;
}

body.page-reset-password .form-field__error {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

@media (max-width: 700px) {
body.page-password-login .auth-title {
    max-width: none;
  }

  body.page-reset-password .auth-title,
  body.page-reset-password .auth-reset-lead {
    max-width: none;
  }
}
/* Authentication page masthead */

.auth-header {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: clamp(14px, 2.6vw, 26px) var(--space-page) 0;
}

.page-create-account .auth-header {
  padding-top: clamp(18px, 4vh, 38px);
  padding-bottom: 0;
  border-bottom: 0;
  background: var(--color-white);
}

.page-create-account-password .auth-header {
  padding-top: clamp(14px, 2.6vw, 26px);
}

.page-account-login .auth-header {
  padding-top: clamp(18px, 4vh, 38px);
}

/* Account application form styling aligned with the entry pages. */
body.page-create-account-password .auth-card,
body.page-create-account-password .create-account-password-card:has(.auth-form__slide--blend.is-active) {
  border: 0;
  background: var(--color-surface-muted);
  box-shadow: none;
}

body.page-create-account-password .auth-form__slide-title,
body.page-create-account-password .auth-form__section-title,
body.page-create-account-password .auth-trade-references__title {
  font-weight: 500;
}

body.page-create-account-password .auth-form__nav .btn-primary {
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: none;
}

body.page-create-account-password .auth-form__nav .btn-primary:hover,
body.page-create-account-password .auth-form__nav .btn-primary:focus-visible {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  color: var(--color-white);
  box-shadow: none;
}

body.page-create-account-password .auth-form__nav [data-account-step-prev].btn {
  width: fit-content;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  background: transparent;
  color: var(--color-black);
  box-shadow: none;
}

body.page-create-account-password .auth-form__nav [data-account-step-prev].btn:hover,
body.page-create-account-password .auth-form__nav [data-account-step-prev].btn:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-black);
  outline: none;
}

body.page-create-account-password .create-account-password-card__header .auth-link,
body.page-create-account-password .auth-form__slide > .auth-link {
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--color-black);
}

body.page-create-account-password .create-account-password-card__header .auth-link:hover,
body.page-create-account-password .create-account-password-card__header .auth-link:focus-visible,
body.page-create-account-password .auth-form__slide > .auth-link:hover,
body.page-create-account-password .auth-form__slide > .auth-link:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-black);
  outline: none;
}

body.page-create-account-password .footer.footer--auth-minimal {
  border-top-color: rgba(17, 17, 17, 0.07);
}

body.page-create-account-password .footer-auth-minimal {
  min-height: 54px;
  padding-block: 14px;
  gap: 8px;
}

body.page-create-account-password .footer-auth-minimal a {
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  font-weight: 700;
}

body.page-create-account-password .footer-auth-minimal a + a::before {
  content: '·';
  margin-right: 8px;
  color: rgba(17, 17, 17, 0.28);
}

body.page-create-account-password .footer-auth-minimal a:hover,
body.page-create-account-password .footer-auth-minimal a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: none;
}

body.page-create-account-password span.form-field__label:not(.form-field__label--visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-create-account-password .auth-status:empty {
  display: none;
}

body.page-create-account-password .create-account-password-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.page-create-account-password .create-account-password-card__header .account-progress__step {
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

body.page-create-account-password .auth-trade-references__rows {
  gap: 12px;
}

body.page-create-account-password .trade-reference-row + .trade-reference-row {
  padding-top: 12px;
}

body.page-create-account-password .auth-form__row--ap-secondary {
  align-items: end;
}

body.page-create-account-password .auth-form__row--ap-secondary input[name='ap_phone'] {
  height: 54px;
  min-height: 54px;
}

body.page-create-account-password .auth-application-note__body {
  margin-top: 0;
}

body.page-create-account-password .auth-form__slide-title--with-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

body.page-create-account-password .auth-form__title-note {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

body.page-create-account-password .auth-form__section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.page-create-account-password .auth-review__section {
  align-content: start;
}

body.page-create-account-password .auth-review__section-head {
  width: 100%;
  align-items: flex-start;
}

body.page-create-account-password .auth-review__section-head h4 {
  justify-self: start;
  text-align: left;
}

body.page-create-account-password .auth-review__edit {
  align-self: flex-start;
  margin-left: auto;
}
