/* Coide app, calmer look (mockup layer on top of app.css).
   Agents become a settings-style list, colours stay quiet, one accent. */

/* agents: one quiet list instead of a grid of chunky cards */
.agents-head h2 { font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.agents-head p { max-width: 560px; }
.agents { grid-template-columns: 1fr; gap: 0; max-width: 860px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #ffffff03; }
.agent-card { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; column-gap: 14px; row-gap: 2px;
  padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.agent-card:last-child { border-bottom: 0; }
.agent-card.on { border-color: var(--line); }
.agent-card:hover { background: #ffffff05; }
.agent-top { display: contents; }
.agent-top .agent-tile { grid-row: 1 / span 2; }
.agent-info { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: 8px; }
.agent-top h3 { font-size: 14px; font-weight: 500; }
.agent-vendor { font-size: 12px; }
.agent-note { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.45; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-status { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; background: none !important; font-size: 12px; font-weight: 400; color: var(--ink-faint) !important; }
.agent-status.on { color: var(--ink-soft) !important; }
.agent-status::before { width: 6px; height: 6px; }
.agent-status.off::before { background: #ffffff38; }
.agent-actions { grid-column: 4; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; gap: 6px; }
.agent-actions .btn { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
.agent-actions .btn.ghost { padding: 0 8px; color: var(--ink-faint); }
.agent-actions .btn.ghost:hover { color: var(--ink); background: none; }
.btn.brand, .agent-actions .btn.primary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.brand:hover, .agent-actions .btn.primary:hover { background: #ffffff0f; }

/* agent tiles: one neutral surface, the logo carries the identity */
.agent-tile, .agent-tile[data-agent] { background: #232326 !important; box-shadow: inset 0 0 0 1px #ffffff14 !important; }
.agent-tile.lg { width: 36px; height: 36px; border-radius: 10px; }
.agent-tile.sm { width: 18px; height: 18px; border-radius: 5px; }

/* sidebar: no white pills, a quiet "Sign in" link */
.side-agent-sign { background: none !important; color: var(--ink-faint) !important; border: 0 !important; box-shadow: none !important; font-weight: 400; padding: 0 6px; }
.side-agent-sign:hover { color: var(--ink) !important; }
.side-agent.off .side-agent-dot { background: #ffffff38; }

/* toolchain: a plain two-column list */
.toolchain { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; max-width: 860px; }
.tool-row { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 11px 2px !important; }
.tool-row.ok i { box-shadow: none; }

/* chrome */
.tabs button.on { border-bottom-width: 1.5px; }
.btn.small { border-radius: 7px; }

/* phones: status and actions drop under the name */
@media (max-width: 700px) {
  .agent-card { grid-template-columns: 36px 1fr; row-gap: 8px; }
  .agent-note { white-space: normal; }
  .agent-status { grid-column: 2; grid-row: 3; justify-self: start; }
  .agent-actions { grid-column: 1 / -1; grid-row: 4; flex-wrap: wrap; }
}
