/* Section: الأشخاص (P2, on the API). Copied from the approved demo; everything else comes from app.css. */

.people-list {
  margin-top: 4px;
}

/* Relation · phone under the name. */
.people-sub {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
}

.people-dot {
  color: var(--muted);
}

.people-phone {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* «أنا»: a filled avatar and the «أنت» badge beside the name. */
.avatar-me {
  background: var(--brand);
  color: #fff;
}

.people-me-badge {
  display: inline-flex;
  margin-inline-start: 8px;
  vertical-align: middle;
}

.screen-title .people-me-badge .badge {
  font-size: 14px;
}

.people-me-note {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

/* A person's page: notes can be long, so they sit under their label. */
.person-facts .fact:has(.person-notes) {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.person-facts .fact:has(.person-notes) dd {
  text-align: start;
}

.person-notes {
  display: block;
  font-weight: 600;
  white-space: pre-wrap;
}

.btn.people-delete {
  color: var(--late);
}

.btn.people-delete:hover:not(:disabled) {
  border-color: var(--late);
}

/* The "can't delete" sheet. */
.people-usage-lead {
  margin: 0;
}

.people-usage {
  margin: 6px 0 0;
  padding-inline-start: 22px;
}
