/* Agent Terminal — Boiled Ocean — Slate & Chalk */

.terminal {
  margin-top: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #161618;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.amber { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: var(--space-sm);
}

.terminal-body {
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-muted);
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line .prompt {
  color: var(--amber);
}

.terminal-line .output {
  color: var(--text);
}

.terminal-line .highlight {
  color: var(--amber);
}

.terminal-line .success {
  color: var(--amber);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--amber);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
