/* Who sits in each body: a heading, then the names as plain links (the search page's list). */
.sitting { margin: 0 0 var(--space-gutter); }
.sitting ul { list-style: none; margin: 0; padding: 0; }
.sitting li { padding: var(--space-em-half) 0; }
.district { color: var(--colour-muted); }

/* The home page's districts: one details element per body, a white panel like the search page's, its table
   scrolling inside its own box so a narrow screen never scrolls the page sideways. */
.body {
  margin: 0 0 var(--space-6);
  background: var(--colour-panel);
  border: var(--size-hairline) solid var(--colour-footer-bg);
  border-radius: var(--radius-tip);
  padding: var(--space-4);
}
.body summary { cursor: pointer; }
.body summary h2 { display: inline; color: var(--colour-band); }
.body .count { color: var(--colour-muted); margin-left: var(--space-em-half); }
/* The finder link sits outside <summary> (a button to screen readers) and is drawn at the heading row's right edge.
   On a narrow screen it drops under the heading, still at the right. */
.body { position: relative; }
.body .finder { position: absolute; top: var(--space-4); right: var(--space-4); margin: 0; }
@media (max-width: 40rem) {
  .body .finder { position: static; text-align: right; margin: var(--space-2) 0 var(--space-4); }
}
.table-scroll { overflow-x: auto; }
.table-scroll table { border-collapse: collapse; width: 100%; }
.table-scroll th, .table-scroll td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
  vertical-align: top;
  border-bottom: var(--size-hairline) solid var(--colour-footer-bg);
}
.table-scroll thead th {
  background: var(--colour-band);
  color: var(--colour-white);
  font-size: var(--text-muted);
}
/* The seat column is as narrow as its longest label; the names take the rest. */
.table-scroll tbody th { white-space: nowrap; width: 1%; color: var(--colour-muted); font-weight: var(--weight-strong); }
.table-scroll tbody tr:nth-child(even) { background: var(--colour-page); }
