/* investing — feature styles */

/* add-trade form: responsive grid of labeled fields */
.trade-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.trade-form .field { margin-bottom: 0; }
.trade-form .input,
.trade-form .select { width: 100%; }

/* platform filter chips */
.plat-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.plat-chip {
  display: inline-flex; align-items: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
}
.plat-chip:hover { color: var(--text); border-color: var(--border); }
.plat-chip.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.plat-count { font-size: 10.5px; opacity: 0.75; margin-left: 5px; }

/* trade table accents */
.trade-side { font-weight: 600; font-size: 12px; }
.trade-side.buy { color: var(--accent-2); }
.trade-side.sell { color: var(--danger); }
.pnl-pos { color: var(--accent-2); font-weight: 600; }
.pnl-neg { color: var(--danger); font-weight: 600; }
.pnl-open { color: var(--text-faint); font-style: italic; font-size: 12px; }
