/* Design 003 Contracts search (#/opportunities): layout only. The page is an fm-page; the title, tabs, search, filter selects and chips are
   fm-* components (assets/d3/components.css, components-w4-findtools.css). The list/notice split and the phone filter layout stay in
   assets/os-find.css and assets/approved-design.css. */
.fx.fm-page > .fm-page__head { margin-block: 0; }
.fx.fm-page .fx-head-l { gap: var(--fm-space-3); }
.fx.fm-page .fx-tabs.fm-tabs { align-self: stretch; }
.fx.fm-page .fx-qrow > .fm-search { flex: 1 1 calc(var(--fm-tap-min) * 6); }
.fx.fm-page .fx-chips { gap: var(--fm-space-2); }
/* Phone pass (plan C13): at 320 px the search box shares its row with the Filters button and shrinks to a sliver, so below 401 px
   Filters drops to its own line and the box keeps the full width. */
@media (max-width: 400px) {
  body.fd-design .fx-search.fx-search { grid-template-columns: minmax(0, 1fr); }
  body.fd-design .fx-search.fx-search > .fx-qrow { grid-column: 1 / -1; }
  body.fd-design .fx-search.fx-search > .fd-search-filters { grid-column: 1 / -1; grid-row: 2; }
}
