.agent-console {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  margin: -4px 0 22px;
  padding: 16px 18px;
  border: 1px solid #111;
  border-radius: 15px;
  background: #0a0a0a;
  color: #fff;
}
.agent-identity { display: flex; align-items: center; gap: 11px; }
.agent-orb { position: relative; width: 34px; height: 34px; border: 1px solid #666; border-radius: 50%; }
.agent-orb::before { content: ""; position: absolute; inset: 8px; border: 1px dashed #fff; border-radius: 50%; animation: orbit 5s linear infinite; }
.agent-orb::after { content: ""; position: absolute; width: 5px; height: 5px; left: 14px; top: 14px; border-radius: 50%; background: #fff; }
.agent-name { font-size: 12px; font-weight: 850; }
.agent-state { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #777; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.agent-state i { width: 6px; height: 6px; border-radius: 50%; background: #777; }
.agent-state.running i { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); animation: corePulse 1.2s ease-in-out infinite; }
.agent-state.complete i { background: #fff; }
.agent-message { color: #aaa; font-size: 11px; line-height: 1.5; }
.agent-run { border: 1px solid #555; border-radius: 999px; padding: 9px 13px; background: transparent; color: #fff; font-size: 9px; font-weight: 850; cursor: pointer; }
.agent-run:hover { border-color: #fff; }
.agent-results { grid-column: 1 / -1; display: none; grid-template-columns: repeat(3,1fr); gap: 8px; padding-top: 13px; border-top: 1px solid #303030; }
.agent-results.show { display: grid; }
.agent-result { padding: 12px; border: 1px solid #303030; border-radius: 11px; background: #111; }
.agent-result-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; }
.agent-result-head span { color: #888; font-size: 9px; }
.agent-result p { min-height: 31px; margin: 8px 0 10px; color: #888; font-size: 9px; line-height: 1.45; }
.agent-actions { display: flex; gap: 6px; }
.agent-actions button { flex: 1; border: 1px solid #444; border-radius: 8px; padding: 7px; background: transparent; color: #aaa; font-size: 8px; font-weight: 800; cursor: pointer; }
.agent-actions button:first-child { background: #fff; color: #050505; border-color: #fff; }
.agent-actions button:disabled { opacity: .45; cursor: default; }
@media(max-width:800px){.agent-console{grid-template-columns:1fr auto}.agent-message{grid-column:1/-1;grid-row:2}.agent-results{grid-template-columns:1fr}}

