/* People page role filter (assets/people-filter.js builds it from people.yml).
   Colours follow styles.css; dark mode is in assets/theme.css. */
#people-filter { margin: 12px 0 8px; }
.pf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; }
.pf-label {
  flex: 0 0 auto;
  min-width: 132px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d5f3a;
}
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip {
  font: inherit;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #d8cfa8;
  border-radius: 999px;
  background: #fffde7;
  color: #33691e;
  cursor: pointer;
}
.pf-chip:hover { background: #dcedc8; }
.pf-chip[aria-pressed="true"] { background: #33691e; border-color: #33691e; color: #ffffff; }
.pf-chip:focus-visible,
.pf-reset:focus-visible { outline: 3px solid #ffd54f; outline-offset: 2px; }
.pf-n { font-size: 13px; color: #6d5f3a; }
.pf-chip[aria-pressed="true"] .pf-n { color: #e8f5e9; }
.pf-status { margin: 2px 0 0; }
.pf-status:empty { display: none; }
.pf-reset {
  font: inherit;
  border: 0;
  background: none;
  padding: 4px 2px;
  color: #1a5fb4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(26, 95, 180, 0.35);
  text-underline-offset: 0.2em;
  cursor: pointer;
}
/* Cards are flex boxes, which would override the hidden attribute */
.person-card[hidden] { display: none; }

@media (max-width: 600px) {
  .pf-label { width: 100%; min-width: 0; }
  .pf-chip { font-size: 15px; min-height: 36px; padding: 5px 12px; }
}
