/* Agents list screen. The table follows the homepage's command center (site/index.html, #product). */

.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.agents-search { flex: 1 1 200px; max-width: 280px; margin-left: auto; }
.agents-search input { min-height: 44px; }

table.agents { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 15px; }
.agents th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-3);
  padding: 14px 14px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
.agents td { padding: 13px 14px; border-bottom: 1px solid var(--cream-tint); vertical-align: middle; }
.agents tbody tr:last-child td { border-bottom: 0; }
.agents tbody tr:hover { background: var(--cream); }
.agent-link { font-family: var(--font-mono); font-weight: 500; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
.agent-link:hover { color: var(--oxblood); text-decoration: underline; }
.engine { display: flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.engine img { width: 18px; height: 18px; object-fit: contain; }
.model { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.spend { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.spend-cell { min-width: 150px; }
.last { font-size: 14px; color: var(--text-2); min-width: 180px; }
.team { font-size: 14px; white-space: nowrap; }
.team.solo { color: var(--text-3); }
.empty-row td { padding: 40px 16px; text-align: center; color: var(--text-3); }
.agent-cell { display: inline-flex; align-items: center; gap: 6px; }
.chat-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text-3); }
.chat-icon:hover { background: var(--cream-tint); color: var(--oxblood); }

@media (max-width: 900px) {
  .agents-search { max-width: none; margin-left: 0; flex-basis: 100%; }
  .chat-icon { width: 44px; height: 44px; }
  .agents-search input { font-size: 16px; }
}
