/* ── Shared index table styles (places, units, people) ── */
.idx-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0 1.25rem;
}

.idx-search {
  width: min(34rem, 100%);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.idx-count {
  color: var(--text-dim);
  font-size: 0.86rem;
}

.muted {
  color: var(--text-dim);
}

.idx-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.idx-table th,
.idx-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.62rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

.idx-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-bright);
}

.idx-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.section-label td {
  font-family: "Work Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 1.2rem;
  border-bottom: 1px solid var(--accent);
}

/* Places-specific column widths */
.idx-table.places th:nth-child(1), .idx-table.places td:nth-child(1) { width: 24%; }
.idx-table.places th:nth-child(2), .idx-table.places td:nth-child(2) { width: 14%; }
.idx-table.places th:nth-child(3), .idx-table.places td:nth-child(3) { width: 16%; }
.idx-table.places th:nth-child(4), .idx-table.places td:nth-child(4) { width: 20%; }
.idx-table.places th:nth-child(5), .idx-table.places td:nth-child(5) { width: 14%; }
.idx-table.places th:nth-child(6), .idx-table.places td:nth-child(6) { width: 12%; white-space: nowrap; }

/* Units-specific column widths */
.idx-table.units th:nth-child(1), .idx-table.units td:nth-child(1) { width: 30%; }
.idx-table.units th:nth-child(2), .idx-table.units td:nth-child(2) { width: 14%; white-space: nowrap; }
.idx-table.units th:nth-child(3), .idx-table.units td:nth-child(3) { width: 23%; }
.idx-table.units th:nth-child(4), .idx-table.units td:nth-child(4) { width: 19%; }
.idx-table.units th:nth-child(5), .idx-table.units td:nth-child(5) { width: 14%; white-space: nowrap; }

/* People-specific column widths */
.idx-table.people th:nth-child(1), .idx-table.people td:nth-child(1) { width: 22%; }
.idx-table.people th:nth-child(2), .idx-table.people td:nth-child(2) { width: 11%; white-space: nowrap; }
.idx-table.people th:nth-child(3), .idx-table.people td:nth-child(3) { width: 33%; }
.idx-table.people th:nth-child(4), .idx-table.people td:nth-child(4) { width: 20%; }
.idx-table.people th:nth-child(5), .idx-table.people td:nth-child(5) { width: 14%; white-space: nowrap; }
