*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0f172a;color:#e2e8f0;min-height:100vh}.app{max-width:100%;min-height:100vh;display:flex;flex-direction:column}.header{background:linear-gradient(135deg,#1e293b,#0f172a);padding:1rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #334155;position:sticky;top:0;z-index:100}.header h1{font-size:1.25rem;font-weight:700}.live-indicator{color:#22c55e;font-size:.75rem;font-weight:600;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.main{flex:1;padding:1rem;display:flex;flex-direction:column;gap:1.5rem}.section{background:#1e293b;border-radius:12px;padding:1rem;border:1px solid #334155}.section h2{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:#f1f5f9}.agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.agent-card{background:#0f172a;border-radius:8px;padding:.75rem;border:1px solid #334155}.agent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.agent-name{font-weight:600;font-size:.875rem}.agent-status{font-size:.625rem;padding:.125rem .375rem;border-radius:4px;text-transform:uppercase;font-weight:600;color:#fff}.agent-role{font-size:.75rem;color:#94a3b8;margin-bottom:.25rem}.agent-heartbeat{font-size:.625rem;color:#64748b}.goal-progress{margin-bottom:1rem}.goal-label{display:flex;justify-content:space-between;font-size:.75rem;color:#94a3b8;margin-bottom:.5rem}.progress-bar{height:8px;background:#0f172a;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#22d3ee,#22c55e);border-radius:4px;transition:width .5s ease}.progress-fill.sprint{background:linear-gradient(90deg,#f59e0b,#ef4444);animation:pulse-bar 1.5s ease-in-out infinite}@keyframes pulse-bar{0%,to{opacity:1}50%{opacity:.7}}.progress-fill.podcast{background:linear-gradient(90deg,#8b5cf6,#6366f1)}.podcast-mode .goal-label span:first-child{color:#8b5cf6;font-weight:700}.sprint-mode .goal-label span:first-child{color:#f59e0b;font-weight:700}.goal-stats{display:flex;justify-content:space-between;font-size:.7rem;color:#64748b;margin:.25rem 0}.metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.metric-card{background:#0f172a;border-radius:8px;padding:1rem;text-align:center;border:1px solid #334155}.metric-value{font-size:1.5rem;font-weight:700;color:#22d3ee}.metric-label{font-size:.75rem;color:#94a3b8;margin-top:.25rem}.mini-progress{height:4px;background:#1e293b;border-radius:2px;margin-top:.5rem;overflow:hidden}.mini-progress-fill{height:100%;background:#f59e0b;border-radius:2px;transition:width .3s ease}.tasks-list{display:flex;flex-direction:column;gap:.5rem}.task-card{background:#0f172a;border-radius:8px;padding:.75rem;border:1px solid #334155}.task-header{display:flex;gap:.5rem;margin-bottom:.5rem}.task-status{font-size:.625rem;padding:.125rem .5rem;border-radius:4px;text-transform:uppercase;font-weight:600;color:#fff}.task-priority{font-size:.625rem;padding:.125rem .5rem;border-radius:4px;font-weight:600}.priority-urgent{background:#dc2626;color:#fff}.priority-high{background:#f97316;color:#fff}.priority-medium{background:#eab308;color:#1e293b}.priority-low{background:#6b7280;color:#fff}.task-title{font-size:.875rem;font-weight:500}.activity-feed{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.activity-item{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem;background:#0f172a;border-radius:6px;font-size:.8125rem}.activity-icon{flex-shrink:0}.activity-message{flex:1;color:#cbd5e1}.activity-time{flex-shrink:0;font-size:.6875rem;color:#64748b}.activity-item.agent-comm{background:linear-gradient(135deg,#1e1b4b,#0f172a);border:1px solid #4f46e5;border-left:3px solid #818cf8}.activity-item.agent-comm .activity-message{color:#c7d2fe}.loading,.empty{text-align:center;padding:1rem;color:#64748b;font-size:.875rem}.footer{background:#1e293b;padding:.75rem;text-align:center;font-size:.75rem;color:#64748b;border-top:1px solid #334155}.clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.clickable:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000004d;border-color:#3b82f6}.agent-card.selected{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f64d}.section-hint{font-size:.7rem;color:#64748b;font-weight:400}.agent-detail-main{padding:1rem}.agent-detail-view{width:100%}.agent-detail-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding:1rem;background:#1e293b;border-radius:12px;border:1px solid #334155}.back-button{background:#334155;border:none;color:#e2e8f0;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;transition:background .15s ease}.back-button:hover{background:#475569}.agent-detail-info h2{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}.agent-detail-role{font-size:.875rem;color:#94a3b8}.kanban-board{display:flex;gap:.75rem;overflow-x:auto;padding-bottom:1rem;-webkit-overflow-scrolling:touch}.kanban-column{flex:0 0 260px;background:#1e293b;border-radius:12px;border:1px solid #334155;display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.kanban-column-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:3px solid #334155;flex-shrink:0}.kanban-column-title{font-weight:600;font-size:.875rem}.kanban-column-count{background:#0f172a;color:#94a3b8;font-size:.75rem;padding:.125rem .5rem;border-radius:10px;font-weight:600}.kanban-column-tasks{flex:1;overflow-y:auto;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.kanban-task-card{background:#0f172a;border-radius:8px;padding:.75rem;border:1px solid #334155}.kanban-task-title{font-size:.8125rem;font-weight:500;margin-bottom:.5rem;line-height:1.3}.kanban-task-meta{display:flex;flex-wrap:wrap;gap:.375rem}.kanban-task-priority{font-size:.625rem;padding:.125rem .375rem;border-radius:4px;color:#fff;font-weight:600;text-transform:uppercase}.kanban-task-tag{font-size:.625rem;padding:.125rem .375rem;border-radius:4px;background:#334155;color:#94a3b8}.kanban-empty{text-align:center;color:#64748b;font-size:.75rem;padding:1rem}.modal-overlay{position:fixed;inset:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#1e293b;border-radius:12px;border:1px solid #334155;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;position:relative}.modal-close{position:absolute;top:.75rem;right:.75rem;background:#334155;border:none;color:#e2e8f0;width:32px;height:32px;border-radius:6px;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:background .15s ease}.modal-close:hover{background:#475569}.task-modal{padding:1.5rem}.task-modal-header{margin-bottom:1.5rem;padding-right:2rem}.task-modal-header h2{font-size:1.25rem;font-weight:700;margin-bottom:.75rem;line-height:1.3}.task-modal-badges{display:flex;gap:.5rem}.task-modal-status{font-size:.75rem;padding:.25rem .75rem;border-radius:6px;color:#fff;font-weight:600;text-transform:capitalize}.task-modal-priority{font-size:.75rem;padding:.25rem .75rem;border-radius:6px;font-weight:600;text-transform:capitalize}.task-modal-section{margin-bottom:1.25rem}.task-modal-section h3{font-size:.875rem;font-weight:600;color:#94a3b8;margin-bottom:.5rem}.task-description{font-size:.875rem;line-height:1.6;color:#cbd5e1;white-space:pre-wrap}.task-assignees,.task-tags{display:flex;flex-wrap:wrap;gap:.5rem}.assignee-badge{background:#3b82f6;color:#fff;font-size:.75rem;padding:.25rem .75rem;border-radius:12px;font-weight:500}.tag-badge{background:#334155;color:#94a3b8;font-size:.75rem;padding:.25rem .75rem;border-radius:6px}.task-messages{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.task-message{background:#0f172a;border-radius:8px;padding:.75rem;border:1px solid #334155}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.message-author{font-weight:600;font-size:.8125rem;color:#3b82f6}.message-time{font-size:.6875rem;color:#64748b}.message-content{font-size:.8125rem;line-height:1.5;color:#cbd5e1}.task-modal-footer{display:flex;gap:1rem;padding-top:1rem;border-top:1px solid #334155}.task-meta{font-size:.75rem;color:#64748b}@media(min-width:768px){.main{padding:1.5rem;max-width:1200px;margin:0 auto;width:100%}.metrics-grid{grid-template-columns:repeat(4,1fr)}.agents-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.header h1{font-size:1.5rem}.kanban-column{flex:0 0 280px}.agent-detail-main{padding:1.5rem}}@media(min-width:1024px){.kanban-board{justify-content:center}.kanban-column{flex:1;max-width:300px}}.refresh-button{background:transparent;border:1px solid #374151;border-radius:6px;padding:6px 10px;font-size:16px;cursor:pointer;transition:all .2s ease;margin-right:12px}.refresh-button:hover{background:#374151;transform:rotate(180deg)}.refresh-button:active{transform:rotate(360deg)}.activity-modal{padding:1.5rem}.activity-modal-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;padding-right:2rem}.activity-modal-icon{font-size:2rem;flex-shrink:0}.activity-modal-title-section h2{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}.activity-modal-time{font-size:.8125rem;color:#64748b}.activity-modal-section{margin-bottom:1.25rem}.activity-modal-section h3{font-size:.875rem;font-weight:600;color:#94a3b8;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.thread-count{font-size:.75rem;color:#64748b;font-weight:400}.activity-full-message{font-size:.9375rem;line-height:1.6;color:#e2e8f0;background:#0f172a;padding:1rem;border-radius:8px;border:1px solid #334155;white-space:pre-wrap;word-break:break-word}.agent-info-badge{display:flex;align-items:center;gap:.75rem;background:#0f172a;padding:.75rem;border-radius:8px;border:1px solid #334155}.agent-info-badge .agent-name{font-weight:600;color:#3b82f6}.agent-role-tag{font-size:.75rem;color:#94a3b8;background:#334155;padding:.25rem .5rem;border-radius:4px}.related-task-card{display:flex;align-items:center;gap:.75rem;background:#0f172a;padding:.75rem;border-radius:8px;border:1px solid #334155}.related-task-title{flex:1;font-weight:500}.task-status-badge{font-size:.6875rem;padding:.25rem .5rem;border-radius:4px;text-transform:uppercase;font-weight:600;color:#fff}.task-status-badge.status-inbox{background:#9ca3af}.task-status-badge.status-assigned{background:#3b82f6}.task-status-badge.status-in_progress{background:#f59e0b}.task-status-badge.status-review{background:#8b5cf6}.task-status-badge.status-done{background:#22c55e}.task-status-badge.status-blocked{background:#ef4444}.metadata-grid{display:flex;flex-direction:column;gap:.5rem;background:#0f172a;padding:.75rem;border-radius:8px;border:1px solid #334155}.metadata-item{display:flex;gap:.5rem;font-size:.8125rem}.metadata-key{color:#64748b;font-weight:500}.metadata-value{color:#cbd5e1}.conversation-thread{display:flex;flex-direction:column;gap:.5rem;max-height:350px;overflow-y:auto}.thread-message{background:#0f172a;border-radius:8px;padding:.75rem;border:1px solid #334155;transition:border-color .15s ease}.thread-message.current{border-color:#4f46e5;border-left:3px solid #818cf8;background:linear-gradient(135deg,#1e1b4b,#0f172a)}.thread-message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.375rem}.thread-icon{font-size:.875rem}.thread-time{font-size:.6875rem;color:#64748b}.thread-message-content{font-size:.8125rem;line-height:1.5;color:#cbd5e1}.activity-modal-footer{padding-top:1rem;border-top:1px solid #334155}.activity-id{font-size:.6875rem;color:#475569;font-family:monospace}.blockers-section{background:linear-gradient(135deg,#ef44441a,#f973161a);border:1px solid rgba(239,68,68,.3);border-radius:12px}.blockers-list{display:flex;flex-direction:column;gap:12px}.blocker-card{background:#1f2937;border-radius:8px;padding:16px;border-left:4px solid #6b7280;cursor:pointer;transition:all .2s ease}.blocker-card:hover{transform:translate(4px);background:#374151}.blocker-card.priority-critical{border-left-color:#dc2626}.blocker-card.priority-high{border-left-color:#f97316}.blocker-card.priority-medium{border-left-color:#eab308}.blocker-card.priority-low{border-left-color:#6b7280}.blocker-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.blocker-priority{font-size:10px;font-weight:700;text-transform:uppercase;padding:2px 8px;border-radius:4px;color:#fff}.blocker-priority.priority-critical{background:#dc2626}.blocker-priority.priority-high{background:#f97316}.blocker-priority.priority-medium{background:#eab308}.blocker-priority.priority-low{background:#6b7280}.blocker-agent{font-size:12px;color:#9ca3af}.blocker-title{font-weight:600;margin-bottom:8px}.blocker-steps-preview{font-size:12px;color:#9ca3af}.all-clear{color:#22c55e;text-align:center;padding:20px}.blocker-modal{max-width:600px}.blocker-modal-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.blocker-priority-badge{padding:6px 12px;border-radius:6px;font-weight:700;font-size:12px;color:#fff}.blocker-modal-section{margin-bottom:20px}.blocker-modal-section h3{font-size:14px;color:#9ca3af;margin-bottom:8px}.blocker-description,.agent-tried{color:#e5e7eb;line-height:1.6}.steps-section{background:#22c55e1a;border:1px solid rgba(34,197,94,.3);border-radius:8px;padding:16px}.steps-list{list-style:none;padding:0;margin:0}.step-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #374151}.step-item:last-child{border-bottom:none}.step-number{background:#22c55e;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}.step-text{color:#e5e7eb;line-height:1.5}.blocker-modal-footer{margin-top:24px;padding-top:16px;border-top:1px solid #374151;font-size:12px;color:#6b7280}.section-header-with-toggle{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header-with-toggle h2{margin-bottom:0}.filter-toggle{background:#374151;border:1px solid #4b5563;color:#9ca3af;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:13px;transition:all .2s}.filter-toggle:hover{background:#4b5563;color:#e5e7eb}.filter-toggle.active{background:#3b82f633;border-color:#3b82f6;color:#60a5fa}.activity-item.agent-comm{background:#3b82f61a;border-left:3px solid #3b82f6}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;font-weight:400;color:#e2e8f0;background-color:#0f172a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{height:100%;margin:0;padding:0}
