/*
 * Profile — optional personal data for the agent. Fits one screen; Save lives in
 * the top app bar. See docs/views.md.
 */

.id-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-line);
}

.avatar-lg {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
  font-size: 1.25rem;
  font-weight: var(--weight-heading);
}

.id-head__name {
  font-size: var(--text-title);
  font-weight: var(--weight-heading);
  letter-spacing: -0.01em;
}

.id-head__email {
  font-size: var(--text-small);
  color: var(--color-muted);
}

.profile-fields {
  margin-top: var(--space-4);
}

/* A unit label (cm/kg) sitting inside the input. */
.unit {
  position: relative;
}

.unit .field__control {
  padding-right: 42px;
}

.unit__suffix {
  position: absolute;
  top: 50%;
  right: var(--space-3);
  transform: translateY(-50%);
  font-size: var(--text-small);
  color: var(--color-muted);
  pointer-events: none;
}
