/* filters.css · Nov 19, Aaron: the audience filters on Start's plan card (filters.js, plan.js) and the
   line they leave on a test's results. Quiet controls in the plan card's own greys; the pressed state is the ink fill
   the trailer setup uses (trailers.css .ds-trl-opts). */

/* ---------- on the plan card ---------- */
.ds-flt { display: grid; gap: 8px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #E4EAF2; }
.ds-flt-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 10px; }
.ds-flt-k { padding-top: 6px; font-size: 13.5px; font-weight: 600; color: #536A84; }
.ds-flt-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
html[data-skin] .ds-flt-opts > button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid #D5DEEB; border-radius: 8px; background: #fff; color: #17283E; font: inherit; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: default; transition: background-color .16s, color .16s, border-color .16s; }
html[data-skin] .ds-flt-opts > button:hover { border-color: #17283E; }
html[data-skin] .ds-flt-opts > button[aria-pressed="true"] { border-color: #17283E; background: #17283E; color: #fff; }
html[data-skin] .ds-flt-opts > button:focus-visible, html[data-skin] .ds-flt-tag button:focus-visible, html[data-skin] .ds-flt-add:focus-visible { outline: 2px solid #2F6BDB; outline-offset: 2px; }
html[data-skin] .ds-flt-opts .ds-pl-chip { height: 32px; margin: 0; font-size: 13.5px; }
.ds-flt-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 4px 0 11px; border-radius: 8px; background: #E9EEF5; color: #17283E; font-size: 13.5px; font-weight: 600; }
html[data-skin] .ds-flt-tag button { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #536A84; cursor: default; }
html[data-skin] .ds-flt-tag button:hover { background: #D9E1EC; color: #17283E; }
.ds-flt-tag svg { width: 10px; height: 10px; }
html[data-skin] .ds-flt-add { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 1px dashed #B9C6D8; border-radius: 8px; background: transparent; color: #17283E; font: inherit; font-size: 13.5px; font-weight: 600; cursor: default; }
html[data-skin] .ds-flt-add:hover { border-color: #17283E; }
.ds-flt-add svg { width: 11px; height: 11px; }
.ds-flt-cin { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 260px; }
html[data-skin] .ds-flt-cin input { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #B9C6D8; border-radius: 8px; background: #fff; color: #0F1B2D; font: inherit; font-size: 14px; }
html[data-skin] .ds-flt-cin input:focus { outline: 2px solid #2F6BDB; outline-offset: 1px; border-color: #2F6BDB; }
html[data-skin] .ds-flt-cin .ds-btn { flex: none; height: 32px; padding: 0 12px; font-size: 13.5px; }
.ds-flt-n { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: #647A94; text-wrap: pretty; }
.ds-flt-n b { font-weight: 650; color: #17283E; }
.ds-flt-n.is-none b { color: #B4361C; }
/* in the Cohorts menu */
.ds-flt-in-menu { padding: 2px 10px 6px; }
.ds-flt-cin.is-menu { display: flex; padding: 4px 10px 8px; }
.ds-flt-n.is-menu { padding: 0 10px 8px; }

/* ---------- on the results ---------- */
.ds-flt-res { margin: 14px 2px 2px; }
.ds-flt-res-l { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #536A84; text-wrap: pretty; }
.ds-flt-res-l b { font-weight: 650; color: #17283E; }
.ds-flt-res-c { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; }
.ds-flt-res-c li { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.ds-flt-res-c b { font-weight: 650; color: #17283E; }
.ds-flt-res-c span { color: #536A84; font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .ds-flt-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ds-flt-k { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-skin] .ds-flt-opts > button { transition: none; }
}
