/* web/people-filter.css — the filter bar on every list of people (release 323, web/people-filter.js,
   docs/specs/PEOPLE_FILTERS.md). The chips are the Contacts list's own (cl-chip, cl-n in web/contacts-list.css), so every
   list's filters look alike; this file lays the bar out. Theme tokens only. */
.pf { margin: 10px 0 12px; min-width: 0; }
.pf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.pf-q { flex: 0 1 230px; width: 230px; max-width: 100%; min-height: 32px; padding: 5px 10px; font-size: 13.5px; }
.pf-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.pf-gl { font-size: 12px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.pf-chip:disabled, .pf-chip:disabled:hover { opacity: .5; cursor: default; border-color: var(--line); color: var(--ink-soft); }
/* More filters: a chip-like summary in the row; open, it takes a line of its own under the row with its groups */
.pf-more { min-width: 0; }
.pf-more[open] { flex: 1 1 100%; order: 10; }
.pf-more-sum { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-pill); background: var(--card); color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; cursor: pointer; list-style: none; user-select: none; }
.pf-more-sum::-webkit-details-marker { display: none; }
/* the app's own arrow (studio-v2.css details > summary::before), turning when open; the gap spaces it */
.pf-more > .pf-more-sum::before { margin-right: 0; }
.pf-more-sum:hover { border-color: var(--blue); color: var(--ink); }
.pf-more-sum:focus-visible, .pf-q:focus-visible, .pf-sel:focus-visible, .pf-clear:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pf-more-body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--card); }
.pf-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pf-sel { min-height: 32px; max-width: 320px; padding: 4px 8px; font-size: 13px; }
/* Company and Location as boxes he types in (release 329): part of a name, a|b, or a pattern; "pattern" says it is read as one */
.pf-pickq { width: 260px; padding: 5px 10px; }
.pf-pat { padding: 1px 8px; border: 1px solid var(--blue); border-radius: var(--radius-pill); background: var(--blue-tint); color: var(--ink);
  font-size: 11.5px; font-weight: 600; }
.pf-tail { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.pf-count { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-empty { margin: 14px 0; color: var(--ink-soft); }
/* a batch sent from the page, one every 2 minutes (release 324): where it is, and Stop */
.pf-run { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; padding: 8px 12px; border: 1px solid var(--blue);
  border-radius: var(--radius-sm); background: var(--blue-tint); color: var(--ink); }
.pf-run-t { font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-run-note { font-size: 12.5px; color: var(--ink-soft); }
.pf-run-stop:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* Select all · Deselect all beside a list's Send all checked (release 323) */
.pf-select { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pf-selall:focus-visible, .pf-selnone:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) {
  .pf-q { flex: 1 1 100%; width: 100%; }
  .pf-tail { margin-left: 0; }
  .pf-sel { max-width: 100%; }
  .pf-pickq { width: 100%; }
  .pf-pick { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .pf-more-sum { transition: none; } }
