/* AuCRA INSIGHT, one person's page (docs/plans/accounts-area.md AA5, AA16):
   its head (ui/pages/account_person_head.py), the role row with its select
   (account_person_cards.py), the reader's own password in Set a new
   password (account_person_password.py), the workspace links and the share
   line (account_person_spaces.py). The card rows, the session rows and the
   dialog band are Your account's (pages_account_own.css). Every class takes
   the aucra-acct-person- prefix; the brand tokens only. */

/* ---- the head ---- */
.aucra-acct-person-initials {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aucra-acct-person-who {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 16rem;
  min-width: 0;
}
.aucra-acct-person-who > .aucra-title {
  overflow-wrap: anywhere;
}
.aucra-acct-person-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.aucra-acct-person-email {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---- the cards ---- */
.aucra-acct-person-pad {
  padding: 14px 18px;
}
.aucra-acct-person-lone {
  font-size: 13.5px;
  line-height: 1.5;
}
.aucra-acct-person-help {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
/* The role row: the select with its sentence on the left, Save role at the
   right; the native form is the row's own box. */
.aucra-form.aucra-acct-person-form {
  width: auto;
}
.aucra-acct-person-role > .aucra-acct-user-role {
  flex: 1 1 16rem;
  max-width: 360px;
}
.aucra-acct-person-role {
  align-items: flex-end;
}
/* Set a new password: the reader's own password under a line of its own. */
.aucra-acct-person-own {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px -18px 0;
  padding: 12px 18px 0;
  border-top: 1px solid var(--line);
}

/* ---- the workspaces ---- */
a.aucra-acct-person-space {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--soft-line);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
}
a.aucra-acct-person-space:hover {
  background: var(--wash-head);
}
a.aucra-acct-person-space:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}
.aucra-acct-person-space-name {
  flex: 1 1 12rem;
  min-width: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.aucra-acct-person-said {
  border-left: 3px solid var(--warn);
  border-radius: var(--soft-radius-inner);
  background: var(--warn-wash);
  padding: 8px 12px;
  font-size: 13px;
}
