/* Search Transactions — everything reusable already lives in app.css
   (.gcc-panel, .gcc-toolbar, .gcc-input/.gcc-date, .gcc-btn, .gcc-table,
   .empty-state); this file only covers the compact labeled-field wrapper
   the filter toolbar uses and the account autocomplete dropdown. */

/* Compact label-above-input pair, sized by the inline width on each field
   (content-driven, like the toolbar fields in bank position/accounts) —
   NOT .form-grid, which is full-bleed two-column and far too wide for a
   filter bar with mostly small fields. */
.stx-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stx-field > label {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stx-hint {
  font-weight: 500;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: normal;
  margin-left: 4px;
}

.stx-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 20;
}
.stx-suggestion-item {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
}
.stx-suggestion-item:last-child { border-bottom: none; }
.stx-suggestion-item:hover,
.stx-suggestion-item.active { background: var(--brand-50); color: var(--brand-700); }

.stx-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 6px;
}
