/*
 * People directory (/plastuns): compact mobile list rows; desktop uses components/tables.css.
 */

/* Global mobile .btn { width: 100% } stretches Search/Reset unevenly when both are visible. */
.plastuns-directory-filters__actions .btn {
  width: auto;
  max-width: 100%;
}

.people-directory-list .people-directory-row {
  padding: var(--space-3) var(--space-4);
}

.people-directory-row__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.people-directory-row__name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.people-directory-row__head .row-primary {
  flex: 1 1 auto;
  min-width: 0;
}

.people-directory-row__branch {
  flex-shrink: 0;
}

.people-directory-table {
  table-layout: fixed;
}

.people-directory-table th:nth-child(1),
.people-directory-table td:nth-child(1) {
  width: 30%;
}

.people-directory-table th:nth-child(2),
.people-directory-table td:nth-child(2) {
  width: 24%;
}

.people-directory-table th:nth-child(3),
.people-directory-table td:nth-child(3) {
  width: 24%;
}

.people-directory-table th:nth-child(4),
.people-directory-table td:nth-child(4) {
  width: 22%;
}

.people-directory-row__meta {
  margin-top: var(--space-2);
  text-wrap: pretty;
}

.people-directory-row__meta-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.people-directory-empty {
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
