/* Activity Panel */
.activity-section { margin-bottom: 16px; }
.activity-section-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px;
}
.directive-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 14px; margin-bottom: 8px;
}
.directive-card.priority-high { border-left: 3px solid var(--status-yellow); }
.directive-card.awaiting { border-left: 3px solid var(--accent); }
.directive-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.directive-meta { font-size: 11px; color: var(--text-muted); }
.directive-text { font-size: 13px; color: var(--text-primary); line-height: 1.4; margin-bottom: 6px; }
.directive-status {
  font-size: 11px; padding: 2px 6px; border-radius: 3px;
  font-weight: 600; text-transform: uppercase;
}
.directive-status.pending { background: rgba(255,200,0,0.15); color: var(--status-yellow); }
.directive-status.planned { background: rgba(100,100,255,0.15); color: var(--accent); }
.directive-status.approved, .directive-status.dispatched { background: rgba(0,200,100,0.15); color: var(--status-green); }
.directive-status.complete { background: rgba(100,100,100,0.15); color: var(--text-muted); }
.directive-status.rejected { background: rgba(255,80,80,0.15); color: var(--status-red); }
.directive-plan {
  font-size: 12px; color: var(--text-secondary);
  margin: 6px 0; padding: 6px 8px;
  background: var(--bg-secondary); border-radius: 4px;
}
.directive-plan-summary { margin-bottom: 2px; }
.directive-plan-count { font-size: 11px; color: var(--text-muted); }
.directive-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-approve {
  padding: 4px 10px; font-size: 11px; font-weight: 600; cursor: pointer;
  background: rgba(0,200,100,0.15); color: var(--status-green);
  border: 1px solid rgba(0,200,100,0.3); border-radius: 4px;
}
.btn-approve:hover { background: rgba(0,200,100,0.25); }
.btn-reject {
  padding: 4px 10px; font-size: 11px; font-weight: 600; cursor: pointer;
  background: rgba(255,80,80,0.10); color: var(--status-red);
  border: 1px solid rgba(255,80,80,0.2); border-radius: 4px;
}
.btn-reject:hover { background: rgba(255,80,80,0.2); }
.run-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px;
}
.run-row:last-child { border-bottom: none; }
.run-agent { font-weight: 600; color: var(--text-primary); min-width: 90px; }
.run-time { color: var(--text-muted); min-width: 50px; }
.run-status {
  font-size: 11px; padding: 1px 5px; border-radius: 3px; font-weight: 600;
}
.run-status.success { background: rgba(0,200,100,0.12); color: var(--status-green); }
.run-status.error { background: rgba(255,80,80,0.12); color: var(--status-red); }
.run-status.running { background: rgba(100,100,255,0.12); color: var(--accent); }
.run-expand { margin-left: auto; font-size: 11px; color: var(--accent); cursor: pointer; }
.run-expand:hover { text-decoration: underline; }
.run-output {
  font-size: 11px; color: var(--text-secondary);
  background: var(--bg-secondary); padding: 6px 8px;
  border-radius: 4px; margin-top: 4px; white-space: pre-wrap; display: none;
}
.run-output.visible { display: block; }
