.activity-panel { max-height: 48vh; }
.activity { max-height: calc(48vh - 38px); background: #090d12; padding: 8px 14px 14px; }
.activity-head { gap: 10px; overflow-x: auto; }
.console-filters { display: flex; gap: 4px; margin-left: auto; }
.console-filters button { padding: 3px 7px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.console-filters button.active { color: #fff; border-color: #3b82f6; background: #16345c; }
.activity-item { white-space: pre-wrap; overflow-wrap: anywhere; padding: 7px 0; }
.activity-item::before { display: inline-block; min-width: 68px; color: #66717e; font-size: 9px; text-transform: uppercase; }
.activity-item.command { color: #79c0ff; }
.activity-item.command::before { content: 'COMMAND'; }
.activity-item.output { color: #c9d1d9; }
.activity-item.output::before { content: 'OUTPUT'; }
.activity-item.error { color: #ff7b72; }
.activity-item.error::before { content: 'ERROR'; }
.activity-item.diff { color: #d2a8ff; background: #16111d; margin: 4px -8px; padding: 8px; border-radius: 4px; }
.activity-item.diff::before { content: 'DIFF'; }
.activity-item.tool::before { content: 'TOOL'; }
.activity-item.commentary { color: #a5d6ff; }
.activity-item.commentary::before { content: 'CODEX'; }
.activity-item.progress::before, .activity-item.status::before { content: 'STATUS'; }
