/* lf-select-search.css (19 Nov 2026): the typed drop-down of assets/lf-select-search.js.
   The input takes the page's own field styles where the page styles inputs
   (browse-firms: .filter-group input); these rules add only the list. */
.lfss { position: relative; }
/* 20 Nov 2026: a typed box whose page gives it no field style still looks like a field
   (zero specificity: any rule of the page wins). */
:where(.lfss-in[class="lfss-in"]) { box-sizing: border-box; min-height: 42px; padding: .55rem .8rem;
  border: 1px solid #d1d5db; border-radius: 9px; background: #fff; font: inherit; font-size: .92rem;
  color: #111827; }
:where(.lfss-in[class="lfss-in"]):focus { outline: none; border-color: #16243f;
  box-shadow: 0 0 0 3px rgba(22,36,63,.12); }
.lfss-in { width: 100%; }
.lfss-in::placeholder { color: #374151; opacity: 1; }
.lfss::after { content: ''; position: absolute; right: 1rem; top: 50%; width: .45rem; height: .45rem;
  border-right: 2px solid #64748b; border-bottom: 2px solid #64748b; transform: translateY(-70%) rotate(45deg);
  pointer-events: none; }
.lfss-in { padding-right: 2.4rem !important; }
.lfss-l { position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem;
  list-style: none; background: #fff; border: 1px solid #d1d5db; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15,23,42,.12); max-height: 280px; overflow-y: auto; }
.lfss-l [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem .7rem; border-radius: 8px; cursor: pointer; font-size: .92rem; color: #111827; line-height: 1.3; }
.lfss-l [role="option"].is-active { background: #eef1f5; }
.lfss-l [role="option"][aria-selected="true"] { font-weight: 700; color: #16243f; }
.lfss-n { flex: 0 0 auto; min-width: 1.6rem; padding: .05rem .4rem; border-radius: 6px; background: #f3efe6;
  color: #5b6472; font-size: .76rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.lfss-none { padding: .6rem .7rem; color: #6b7280; font-size: .88rem; }
@media (max-width: 768px) { .lfss-l { max-height: 240px; } }
/* 28 Nov 2026: while open the script places the list with position: fixed beside the box
   (a card with overflow: hidden cut it off); it opens upwards when there is more room. */
.lfss-l.lfss-up { box-shadow: 0 -12px 28px rgba(15,23,42,.12); }
/* 28 Nov 2026: a select enhanced where it stands (data-lf-all containers, data-lf-fit) keeps its
   place: inline in a toolbar, full width where it filled its column. */
.lfss-fit { display: inline-block; vertical-align: middle; max-width: 100%; }
.lfss-fit.lfss-block { display: block; }
.lfss-fit .lfss-in { box-sizing: border-box; max-width: 100%; }
.lfss-fit .lfss-in:disabled { opacity: .6; cursor: not-allowed; }
/* A select with no class of its own gets a field a little smaller than a form field. */
:where(.lfss-fit .lfss-in[class="lfss-in"]) { min-height: 36px; padding-top: .4rem; padding-bottom: .4rem; font-size: .875rem; }

