.auth-page {
  padding: 28px 0 48px;
}
.auth-intro {
  padding-bottom: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-intro h1 {
  margin: 0;
  font-family: var(--headline-font);
  font-size: 25px;
}
.auth-intro p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-card {
  width: min(100%, 480px);
  margin: 28px auto 0;
}
.auth-card--wide {
  width: min(100%, 620px);
}
.auth-field {
  margin-top: 17px;
}
.auth-field:first-child {
  margin-top: 0;
}
.auth-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.auth-field label em {
  margin-left: 3px;
  color: var(--evergreen);
  font-style: normal;
}
.auth-field input {
  width: 100%;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}
.auth-field input:focus {
  border-color: var(--evergreen);
  outline: 0;
}
.auth-field input[aria-invalid="true"] {
  border-color: var(--live);
}
.auth-field__error {
  margin: 6px 0 0;
  color: var(--live);
  font-size: 12px;
  line-height: 1.5;
}
.auth-field__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.auth-field__line button,
.auth-secondary-button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--evergreen);
  color: var(--evergreen);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.auth-field__hint,
.auth-form-message {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.auth-form-message {
  min-height: 15px;
  color: var(--live);
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 12px;
}
.auth-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--evergreen);
}
.auth-primary-button {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--evergreen);
  color: #fff;
  background: var(--evergreen);
  font-size: 13px;
  font-weight: 800;
}
.auth-primary-button:hover,
.auth-primary-button:focus-visible {
  background: #781b1b;
}
.auth-primary-button:disabled,
.auth-secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.auth-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}
.auth-links a + a {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}
.auth-join-callout {
  margin-top: 30px;
  padding: 17px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.auth-join-callout a {
  margin-left: 10px;
  color: var(--evergreen);
  font-weight: 800;
}
.signup-steps {
  display: flex;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.signup-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.signup-steps span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}
.signup-steps .is-active {
  color: var(--evergreen);
  font-weight: 800;
}
.signup-steps .is-active span {
  border-color: var(--evergreen);
  color: #fff;
  background: var(--evergreen);
}
.terms-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}
.terms-all input,
.term-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--evergreen);
}
.term-item {
  border-bottom: 1px solid var(--line);
}
.term-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 12px;
}
.term-row em {
  color: var(--evergreen);
  font-style: normal;
}
.term-row button {
  border: 0;
  padding: 3px 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}
.term-content {
  margin: 0 0 14px;
  padding: 12px;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  line-height: 1.7;
}
.signup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 25px;
}
.signup-actions .auth-secondary-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.signup-section {
  margin-top: 29px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.signup-section h2 {
  margin: 0 0 18px;
  font-family: var(--headline-font);
  font-size: 18px;
}
.signup-section h2 small {
  margin-left: 6px;
  color: var(--evergreen);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
}
.auth-page module {
  display: none;
}
.auth-setting-v1-signup-pass:not(module),
.auth-setting-v1-community-signup-pass:not(module) {
  display: contents;
}
@media (max-width: 700px) {
  .auth-page {
    padding-right: 0;
    padding-left: 0;
  }
  .auth-card {
    width: 100%;
  }
  .auth-intro h1 {
    font-size: 22px;
  }
}
.verification-code {
  padding: 16px;
  background: var(--paper);
}
.auth-field__hint.is-error {
  color: var(--live);
}
#community-signup-form .auth-field__line input {
  min-width: 0;
  flex: 1;
}
#community-signup-form .auth-field__line button {
  flex-shrink: 0;
  min-height: 44px;
}
#community-signup-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
