.account { max-width: 46rem; margin: auto; }
.account-card {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #e4e8f2;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 5px 22px #171c2310;
}
.account-heading, .account-identity { display: flex; align-items: center; gap: 1rem; }
.account-heading { margin-bottom: 1.5rem; }
.account-mark, .account-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
}
.account-mark { background: #e7e6ff; color: #3631a9; font-size: 1.5rem; font-weight: 800; }
.account-kicker { margin: 0; color: #5856d6; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.account-heading h2 { margin: .15rem 0 0; font-size: 1.35rem; }
.account-state, .account-error {
  margin: .75rem 0;
  padding: .85rem 1rem;
  border-radius: .8rem;
  background: #f0f4fd;
  color: #464554;
  overflow-wrap: anywhere;
}
.account-error { background: #fff0ef; color: #8e2522; }
.account-profile[hidden], [hidden] { display: none !important; }
.account-identity { margin: .5rem 0 1.5rem; }
.account-avatar { object-fit: cover; border-radius: 50%; background: #e7e6ff; }
.account-avatar-fallback { color: #3631a9; font-size: 1.25rem; font-weight: 800; }
.account-identity h3 { margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.account-role { margin: .25rem 0 0; color: #464554; font-size: .875rem; }
.account-details { margin: 0; border-top: 1px solid #e4e8f2; }
.account-details div { padding: .9rem 0; border-bottom: 1px solid #e4e8f2; }
.account-details dt { color: #646477; font-size: .8rem; font-weight: 700; }
.account-details dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.account-note { color: #646477; font-size: .8rem; }
.account-button, .account-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: .75rem;
  padding: .65rem 1rem;
  border: 0;
  border-radius: .75rem;
  background: #5856d6;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.account-button-secondary { background: #e7e6ff; color: #3631a9; }
.account-button-danger { background: #a52e2a; color: #fff; }
.account-retry { margin-left: .5rem; border: 1px solid #d5d4e2; background: #fff; color: #3631a9; }
.account :is(a, button):focus-visible { outline: 3px solid #5856d6; outline-offset: 3px; }
.account :is(a, button):disabled { cursor: wait; opacity: .6; }
