/* Task Window — Unified Tasks Dashboard Styles */ .tw-container { display: flex; flex-direction: column; height: 100%; background: #fff; font-family: 'Fira Code', monospace; } /* ============================================ TAB HEADER ============================================ */ .tw-tabs-header { display: flex; background: #f8f8f8; border-bottom: 1px solid #f0f1f2; min-height: 34px; overflow-x: auto; } .tw-tab { height: 34px; min-width: 140px; padding: 0 18px; border: none; border-right: 1px solid #f0f1f2; background: transparent; font-family: 'Fira Code', monospace; font-size: 12px; font-weight: 600; color: #3b3b3b; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.15s; white-space: nowrap; } .tw-tab:hover { background: #fff; } .tw-tab.active { background: #84d669; color: #fff; } .tw-tab-prefix { opacity: 0.7; } .tw-tab .tw-tab-close { margin-left: 8px; opacity: 0.5; font-size: 14px; cursor: pointer; } .tw-tab .tw-tab-close:hover { opacity: 1; } /* ============================================ PIPELINE TABS ============================================ */ .tw-pipeline-tabs { display: flex; background: #f8f8f8; border-bottom: 1px solid #f0f1f2; } .tw-pipeline-tab { flex: 1; height: 32px; border: none; border-right: 1px solid #f0f1f2; background: transparent; font-family: 'Fira Code', monospace; font-size: 11px; font-weight: 500; color: #888; cursor: pointer; transition: all 0.15s; } .tw-pipeline-tab:last-child { border-right: none; } .tw-pipeline-tab:hover { background: #fff; color: #3b3b3b; } .tw-pipeline-tab.active { background: #84d669; color: #fff; } /* ============================================ FILTERS ============================================ */ .tw-filters { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #f0f1f2; } .tw-filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border: 1px solid #e0e0e0; border-radius: 16px; background: #fff; font-family: 'Fira Code', monospace; font-size: 11px; font-weight: 500; color: #666; cursor: pointer; transition: all 0.15s; } .tw-filter-chip:hover { border-color: #84d669; color: #3b3b3b; } .tw-filter-chip.active { background: #84d669; color: #fff; border-color: #84d669; } .tw-filter-icon { font-size: 10px; } /* ============================================ INTENT BAR ============================================ */ .tw-intent-bar { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #f0f1f2; } .tw-intent-input { flex: 1; padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 6px; font-family: 'Fira Code', monospace; font-size: 13px; color: #3b3b3b; outline: none; transition: border-color 0.15s; background: #fff; } .tw-intent-input:focus { border-color: #84d669; box-shadow: 0 0 0 3px rgba(132, 214, 105, 0.15); } .tw-intent-input::placeholder { color: #bbb; } .tw-intent-run { padding: 8px 20px; border: none; border-radius: 6px; background: #84d669; color: #fff; font-family: 'Fira Code', monospace; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.15s; letter-spacing: 0.5px; } .tw-intent-run:hover { background: #72c458; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(132, 214, 105, 0.3); } .tw-intent-run:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } /* ============================================ SPLIT VIEW (task list + detail) ============================================ */ .tw-split-view { flex: 1; display: flex; overflow: hidden; } .tw-task-list { width: 280px; min-width: 200px; border-right: 1px solid #f0f1f2; overflow-y: auto; } .tw-task-list-empty { padding: 24px 16px; text-align: center; color: #bbb; font-size: 13px; } .tw-task-detail { flex: 1; overflow-y: auto; padding: 20px; } .tw-task-detail-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: #888; gap: 8px; } .tw-task-detail-empty p { margin: 0; font-size: 14px; } .tw-hint { font-size: 12px; color: #bbb; } /* ============================================ TASK LIST ITEMS ============================================ */ .tw-task-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #f0f1f2; cursor: pointer; transition: background 0.15s; } .tw-task-item:hover { background: #f8f8f8; } .tw-task-item.active { background: rgba(132, 214, 105, 0.08); border-left: 3px solid #84d669; } .tw-task-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .tw-task-status-dot.running { background: #84d669; } .tw-task-status-dot.pending { background: #f59e0b; } .tw-task-status-dot.completed { background: #3b82f6; } .tw-task-status-dot.failed { background: #ef4444; } .tw-task-status-dot.paused { background: #888; } .tw-task-item-info { flex: 1; min-width: 0; } .tw-task-item-name { font-size: 12px; font-weight: 600; color: #3b3b3b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tw-task-item-type { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; } /* ============================================ AGENT PROFILE VIEW ============================================ */ .tw-agent-profile { padding: 20px; } .tw-agent-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #f0f1f2; } .tw-agent-avatar { width: 48px; height: 48px; border-radius: 50%; background: #84d669; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; } .tw-agent-meta { flex: 1; } .tw-agent-title { font-size: 16px; font-weight: 700; color: #3b3b3b; margin: 0 0 4px 0; } .tw-agent-subtitle { font-size: 12px; color: #888; } .tw-section { margin-bottom: 20px; } .tw-section-title { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; } .tw-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .tw-stat-card { padding: 12px; background: #f8f8f8; border-radius: 8px; border: 1px solid #f0f1f2; } .tw-stat-value { font-size: 18px; font-weight: 700; color: #3b3b3b; } .tw-stat-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.3px; margin-top: 2px; }