.account-panel {
  min-width: 0;
  max-width: 480px;
}
.account-panel .account-heading {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 600;
}
.account-introduction {
  margin-bottom: 24px;
  color: #71717a;
  font-size: 12px;
  line-height: 1.8;
}
.account-form .field input {
  border-color: #dcdce2;
  min-height: 43px;
}
.account-form .field input:focus-visible {
  border-color: #128579;
  outline-color: #12857922;
}
.account-email-control {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.account-email-control input {
  flex: 1 1 0;
  width: 0;
}
.account-code-send {
  flex: 0 0 auto;
  min-width: 100px;
  padding: 9px 10px;
  border-color: #dcdce2;
  color: #176f67;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
}
.account-field-help {
  margin-top: 6px;
  color: #8b8b96;
  font-size: 11px;
  line-height: 1.7;
}
.account-password-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.account-password-control {
  display: flex;
  position: relative;
  align-items: center;
}
.account-password-control input {
  padding-right: 45px;
}
.account-password-toggle {
  position: absolute;
  right: 3px;
  display: grid;
  place-items: center;
  width: 39px;
  min-height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #90909a;
}
.account-password-toggle:hover {
  background: #f4f6f6;
  color: #176f67;
}
.account-password-toggle svg {
  width: 19px;
  height: 19px;
}
.account-agreement {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 3px;
  margin: 0 0 18px;
  color: #777781;
  font-size: 11px;
  line-height: 1.8;
  transition: color 420ms linear;
}
.account-agreement input {
  align-self: flex-start;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 3px 3px 0 0;
  accent-color: #128579;
}
.account-agreement-label {
  cursor: pointer;
}
.account-agreement .account-legal-link {
  transition: color 420ms linear;
}
.account-agreement-help {
  flex-basis: 100%;
  margin: 3px 0 0 22px;
  color: #c24141;
  overflow-wrap: anywhere;
}
.account-agreement.is-shaking {
  color: #c24141;
  transition: none;
  animation: account-agreement-shake 320ms ease-in-out;
}
.account-agreement.is-shaking .account-legal-link {
  color: inherit;
  transition: none;
}
@keyframes account-agreement-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-3px);
  }
  40%,
  80% {
    transform: translateX(3px);
  }
}
.account-legal-link,
.account-small-link {
  color: #176f67;
  font-size: 11px;
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.account-mode-links {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.account-panel .account-submit {
  background: #128579;
  border-color: #128579;
  min-height: 43px;
}
.account-panel .account-submit:hover:not(:disabled) {
  background: #106c63;
  border-color: #106c63;
}
.account-name {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .account-panel {
    width: 100%;
    max-width: none;
  }
  .account-code-send {
    min-width: 92px;
    font-size: 11px;
    padding: 8px;
  }
}
