/*
 * .seq-filters — the filter row above any index (docs/design-system/component-inventory.md, "Filters").
 *
 * A row of controls (tenant, state, classification, artifact_type, sample), each a gem
 * .form-field with a compact .form-input; below it the active values as removable chips in
 * mono. Never a sidebar: the module is a flex row that wraps, and nothing here positions it.
 *
 * Markup:
 *   <form class="seq-filters">
 *     <div class="seq-filters__controls">
 *       <div class="seq-filters__control form-field">
 *         <label for="f-state">state</label>
 *         <select id="f-state" class="form-input form-input--sm">...</select>
 *       </div>
 *     </div>
 *     <ul class="seq-filters__active">
 *       <li class="seq-filters__chip">state=<b>failed</b> <button class="seq-filters__remove">×</button></li>
 *     </ul>
 *   </form>
 */

.seq-filters {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-12);
}
/* Touch: the apply button's hit area reaches 6px below it and a chip's remove button's 10px
   above the chip on a coarse pointer (_button-seq.css, § Touch below); at --spacing-12 the
   chips' areas covered the button's lower edge, so the gap is --spacing-24 there. */
@media (pointer: coarse) {
  .seq-filters {
    gap: var(--spacing-24);
  }
}

/* The controls align at the start, so the labels share a baseline whatever the height of the
   control under each (the gem's .form-input--sm is 36px as an input and 38px as a select;
   aligned at the end the input's label sat lower, the review of 2026-09-24); the apply
   button alone aligns at the end. */
.seq-filters__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: var(--spacing-12) var(--spacing-16);
}
.seq-filters__control,
.seq-filters__controls > .form-field {
  flex: 0 1 16rem;
  min-width: 0;
}
.seq-filters__control > label {
  font-family: var(--font-family-body);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-400);
  color: var(--text-secondary);
  margin-block-end: var(--spacing-4);
}
.seq-filters__control .form-input {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-400);
  font-variant-numeric: var(--numerals);
}
/* Focus: the page ring and the box-shadow reset are 03-generic/_base.css's .form-input rules. */
.seq-filters__apply {
  align-self: end;
}

/* Active values as removable mono chips. */
