/* symbol-search.css (23/08/2026): the "follow a company we don't track
   yet" picker on /favorites, and what that follow looks like afterwards.

   ONE FILE, ONE FEATURE, like hover-chart.css, signal.css, row-click.css
   and ticker-filter.css before it. Removing the picker is deleting this
   file, its <link> in base.html and the two blocks in favorites.html -
   not an excavation through the 34 KB brand layer.

   IT EXISTS BECAUSE THE OPPOSITE FAILURE HAS ALREADY HAPPENED HERE.
   member_history.html shipped .ticker-pill and its siblings on 09/08 as
   "hooks for a later CSS-only commit"; the commit never came and the
   filter was a row of naked links for five days - green in CI and naked
   on screen. Every class rendered by partials/search_results.html,
   partials/pending_follows.html and the two blocks in favorites.html has
   a declaration below, for that reason.

   Loaded AFTER style.css and quorum.css. Its selectors are single-class
   and its elements sit outside <table class="leaderboard">, so the 0-1-2
   specificity trap documented against quorum.css does not reach them. */

.symbol-search {
  margin: 1.25rem 0 1.5rem;
  max-width: 34rem;
}

.symbol-search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.symbol-search-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid rgba(128, 128, 128, 0.45);
  border-radius: 4px;
  background: transparent;
  color: inherit;
}

.symbol-search-input:focus {
  outline: 2px solid rgba(128, 128, 128, 0.55);
  outline-offset: 1px;
}

.symbol-search-hint {
  font-size: 0.78rem;
  opacity: 0.75;
  margin: 0.4rem 0 0;
}

/* The panel htmx swaps into. Empty until the first search, so it must
   collapse to nothing rather than reserve a blank strip. */
.symbol-search-panel:empty {
  display: none;
}

.symbol-search-results {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 4px;
}

.symbol-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
}

.symbol-search-result + .symbol-search-result {
  border-top: 1px solid rgba(128, 128, 128, 0.22);
}

.symbol-search-identity {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}

.symbol-search-ticker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  white-space: nowrap;
}

.symbol-search-name {
  font-size: 0.86rem;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.symbol-search-exchange {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  white-space: nowrap;
}

.symbol-search-action {
  flex: 0 0 auto;
}

.symbol-search-empty {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  opacity: 0.8;
}

/* ---------- Follows awaiting coverage ----------

   Deliberately quieter than the table it sits above: this is a note
   about something already paid for, not a call to action. It must be
   impossible to mistake for a row of the leaderboard, because the whole
   point is that these companies are NOT in it yet. */

.pending-follows {
  margin: 0 0 1.5rem;
  padding: 0.75rem 0.9rem;
  max-width: 34rem;
  border: 1px dashed rgba(128, 128, 128, 0.45);
  border-radius: 4px;
}

.pending-follows-title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pending-follows-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pending-follows-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
}

.pending-follows-item + .pending-follows-item {
  border-top: 1px solid rgba(128, 128, 128, 0.18);
}

.pending-follows-symbol {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
}

.pending-follows-since {
  font-size: 0.78rem;
  opacity: 0.7;
}

.pending-follows-action {
  margin-left: auto;
  flex: 0 0 auto;
}

.pending-follows-note {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  opacity: 0.75;
}
