.account-panel-content {
  width: min(100%, 620px);
}

.login-card,
.signed-in-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.login-brand {display:flex;align-items:center;gap:12px;max-width:260px}
.login-brand-icon {display:block;width:82px;height:82px;object-fit:contain}
.login-brand-wordmark {display:block;width:auto;height:46px;max-width:160px;object-fit:contain}

.login-card > small {
  display: block;
  margin-top: 10px;
  color: #989b90;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.login-card h2 {
  margin: 5px 0 4px;
  font-size: 26px;
}

.login-intro {
  margin: 0 0 21px;
  color: #84877e;
  font-size: 12px;
}

.auth-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 17px;
  padding: 4px;
  border-radius: 12px;
  background: #e8ece3;
}

.auth-methods button {
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #697269;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.auth-methods button.active {
  background: #fff;
  color: #17231d;
  box-shadow: 0 2px 8px #17231d14;
}

.auth-methods button:disabled {cursor:not-allowed;opacity:.45}

.sms-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: -3px;
}

.sms-code-row button {
  min-width: 112px;
  border: 1px solid #c9cdc0;
  border-radius: 10px;
  background: #fff;
  color: #4e5840;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.sms-code-row button:disabled {opacity:.55;cursor:wait}

.login-actions {
  display: block;
}

.login-actions button {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.login-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}
