/* Filter rows lined up as in the approved design (owner request 2026-11-12).
   Loaded after bizbox-theme.css on every themed page. Owned by the filter-row work (b78);
   reports/design-differences.md, "Filter rows (b78)".

   The drawn filter row is bizbox-theme.css's .bb-filters: a wrapping flex row, fields bottom-aligned, every field
   at least 150px wide (the label decides when it is longer), the search field (.grow) taking the rest of its line.
   Nothing here changes those rules; it only stops older controls from making a field wider or taller than drawn,
   so the fields fall into the drawn rows at 1280, 820 and 390 pixels. Date fields are left to bizbox-date-field.css
   (one control filling its field). */

/* A select or text box never widens its field: a long option ("Scheduled send date (drafts)") or an input's
   default size made fields 175-237px wide and pushed the next field onto a line of its own. The control now
   fills the field, whose width comes from the drawn 150px minimum or its label. */
.bb-filters>.bb-field:not(.grow)>.bb-select,
.bb-filters>.bb-field:not(.grow)>.bb-input,
.bb-filters>.bb-field:not(.grow)>.inline-choice{width:0;min-width:100%;max-width:100%}

/* The searchable driver list (courier-search.css .inline-choice) draws as the field's select: 34px high, the
   select's border, radius, padding and type, so its label sits on the same line as the other labels. Its list
   still opens below it as before. */
.bb-filters .inline-choice .inline-choice-toggle{box-sizing:border-box;min-height:0;height:34px;padding:0 10px;border:1px solid var(--bb-border-2,#d1d5db);border-radius:var(--bb-r,8px);background:#fff;color:var(--bb-text,#111827);font-size:13.5px;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* A row with more fields than drawn (Invoices adds Document status) keeps its button and Clear link together,
   so Clear never wraps onto a line of its own. Same 10px gap and bottom alignment as the row. */
.bb-filters>.bb-filter-actions{display:flex;gap:10px;align-items:flex-end}

/* Quick date buttons (Today, This Week...) take their own line under the fields and buttons. */
.bb-filters>.bb-btnrow[role=group]{flex:1 0 100%}
