/** * StatusDot — small colored indicator for connection/state. */ const STATE_COLORS: Record = { connected: "var(--success)", idle: "var(--text-muted)", processing: "var(--processing)", stopped: "var(--text-muted)", error: "var(--error)", done: "var(--success)", }; interface StatusDotProps { state: string; glow?: boolean; } export function StatusDot({ state, glow = false }: StatusDotProps) { const color = STATE_COLORS[state] || "var(--text-muted)"; return ( ); }