.account {
  max-width: 36rem;
  padding-block: clamp(1.5rem, 5vw, 3rem) 3rem;
}

.account-card {
  gap: .85rem;
  padding: clamp(.95rem, 4vw, 1.45rem);
}

.account-login {
  border-color: #d6bba3;
}

.account-card .google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  padding: .55rem .85rem;
  background: #fff;
  border: 1px solid #747775;
  border-radius: 6px;
  color: #1f1f1f;
  font-size: .94rem;
  font-weight: 600;
}

.google-login-button svg {
  flex: none;
}

.account-card .google-login-button:hover:not(:disabled) {
  background: #f1f3f4;
}

.account :is(input, button) {
  min-height: 44px;
}

.account-privacy,
.account-balance-note {
  color: var(--dim);
  font-size: .875rem;
}

#account-identity {
  overflow-wrap: anywhere;
}

.account .balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.balance > div {
  padding: .65rem;
  border: 1px solid var(--edge);
  border-radius: 6px;
}

.balance dt {
  font-size: .875rem;
}

#account-status {
  margin: 0;
}

#account-status:not(:empty) {
  margin: .65rem 0 0;
}

[data-login-challenge]:empty {
  display: none;
}

@media (max-width: 420px) {
  .account-card .google-login-button {
    width: 100%;
  }

  [data-login-challenge] {
    width: max(100%, min(300px, calc(100vw - 12px)));
    justify-self: center;
  }
}
