/* Shared UI states for the API-connected front end. */
.field-error { font-size: var(--font-small); color: var(--danger); }
.profile-button > span:nth-child(2) { min-width: 0; overflow: hidden; }
.profile-button strong, .profile-button small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-feedback {
  position: sticky;
  bottom: 0;
  z-index: 6;
  padding: var(--space-4);
  background: var(--danger-bg);
  color: var(--danger);
  border-top: 1px solid var(--border);
  font-size: var(--font-label);
}
