/* Shared by ledger.thatis.fun and pageone.thatis.fun — relies only on --line/--txt/--mut/--accent,
   which both hosts' stylesheets already define, so it drops in without a host-specific theme file. */
.tp-trigger {
  display: inline-flex; align-items: center;
  width: 100%; min-height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 12.5px;
  padding: 5px 8px;
  cursor: pointer;
  text-align: left;
}
.tp-trigger:hover { background: rgba(255,255,255,0.1); }
.tp-placeholder { color: var(--mut); }
.tp-chip {
  display: inline-flex; align-items: center;
  border: 1px solid; border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.tp-panel {
  position: fixed;
  z-index: 200;
  background: #12161c;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  padding: 8px;
  max-width: 260px;
}
.tp-search {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--txt);
  font-size: 12.5px;
  padding: 6px 8px;
  margin-bottom: 6px;
}
.tp-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
.tp-option {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--txt);
  cursor: pointer;
  white-space: nowrap;
}
.tp-option:hover { background: rgba(255,255,255,0.08); }
.tp-option-active { background: rgba(94,234,212,0.12); }
.tp-option-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.tp-create-row { color: var(--accent); font-weight: 600; }
.tp-clear-row { color: var(--mut); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; padding-bottom: 8px; }
.tp-empty { color: var(--mut); font-size: 12px; padding: 8px; text-align: center; }
