/* 23.11.2026: a bounded trade list preserves the chart's original dimensions. */
.bots-equity-view { position: relative; min-width: 0; }
.bots-chart-covered { visibility: hidden; }
.bots-trade-list-button { padding: 4px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface2); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.bots-trade-list-button:hover { color: var(--text); border-color: var(--muted); }
.bots-trade-list-button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.bots-trade-list { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; background: var(--surface); color: var(--text); }
.bots-trade-list:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.bots-trade-list-rows { list-style: none; margin: 0; padding: 0; }
.bots-trade-list-rows > li { display: grid; grid-template-columns: 3ch minmax(0, 1fr) max-content; align-items: center; gap: 8px 12px; padding: 10px 14px; border-block-end: 1px solid var(--border); font-size: 12px; }
.bots-trade-list-rows > li:last-child { border-block-end: 0; }
.bots-trade-list-number { align-self: start; color: var(--muted); font-variant-numeric: tabular-nums; }
.bots-trade-list-fills { display: grid; min-width: 0; gap: 4px; }
.bots-trade-list-fill { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.bots-trade-list-fill > span { min-inline-size: 5.5em; color: var(--muted); }
.bots-trade-list-fill bdi { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bots-trade-list-fill time { margin-inline-start: auto; color: var(--muted); font-size: 11px; }
.bots-trade-list-result { max-inline-size: 110px; text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.bots-trade-list-empty { padding: 18px 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .bots-trade-list-rows > li { gap: 8px; padding: 10px; }
  .bots-trade-list-fill time { flex-basis: 100%; margin-inline-start: 0; }
  .bots-trade-list-result { max-inline-size: 90px; }
}
