:root{--bg-primary: #0a0c10;--bg-secondary: #11141a;--bg-tertiary: #161b22;--bg-hover: #1f242c;--bg-active: #252c37;--border-subtle: #21262d;--border-focus: #388bfd;--border-active: #58a6ff;--text-primary: #f0f6fc;--text-secondary: #8b949e;--text-muted: #484f58;--text-accent: #58a6ff;--text-success: #3fb950;--text-warning: #d29922;--text-danger: #f85149;--accent-blue: #1f6feb;--accent-purple: #8957e5;--accent-cyan: #39c5cf;--accent-glow: rgba(56, 139, 253, .15);--font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;--space-xs: 4px;--space-sm: 8px;--space-md: 12px;--space-lg: 16px;--space-xl: 24px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-pill: 9999px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 4px 12px rgba(0, 0, 0, .5);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .7);--splitter-size: 4px;--splitter-hover-size: 6px;--splitter-color: var(--border-subtle);--splitter-hover: var(--accent-blue)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);font-size:13px;line-height:1.5;overflow:hidden;height:100vh;width:100vw;-webkit-user-select:none;user-select:none}.workspace-root{display:flex;flex-direction:column;height:100vh;width:100vw;background-color:var(--bg-primary);overflow:hidden}.top-header{display:flex;align-items:center;justify-content:space-between;height:38px;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-subtle);padding:0 var(--space-md);z-index:10}.brand-section{display:flex;align-items:center;gap:var(--space-sm);font-weight:700;font-size:13px;letter-spacing:.5px;color:var(--text-primary)}.brand-badge{font-family:var(--font-mono);font-size:10px;padding:1px 6px;border-radius:var(--radius-sm);background:var(--bg-tertiary);color:var(--accent-cyan);border:1px solid var(--border-subtle)}.chat-selector-section{display:flex;align-items:center;gap:var(--space-sm)}.chat-select{background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-subtle);padding:3px 8px;border-radius:var(--radius-sm);font-family:var(--font-sans);font-size:12px;outline:none}.chat-select:focus{border-color:var(--border-focus)}.top-actions{display:flex;align-items:center;gap:var(--space-sm)}.btn-icon{background:transparent;border:1px solid transparent;color:var(--text-secondary);padding:4px 8px;border-radius:var(--radius-sm);cursor:pointer;display:flex;align-items:center;gap:4px;font-size:12px;transition:all .15s ease}.btn-icon:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-subtle)}.connection-indicator{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-secondary)}.status-dot{width:7px;height:7px;border-radius:50%;background-color:var(--text-muted)}.status-dot.online{background-color:var(--text-success);box-shadow:0 0 6px #3fb95099}.workspace-body{display:flex;flex:1;overflow:hidden;position:relative}.splitter-h{width:var(--splitter-size);background-color:var(--splitter-color);cursor:col-resize;position:relative;transition:background-color .2s ease;z-index:5}.splitter-h:hover,.splitter-h.dragging{background-color:var(--splitter-hover)}.splitter-v{height:var(--splitter-size);background-color:var(--splitter-color);cursor:row-resize;position:relative;transition:background-color .2s ease;z-index:5}.splitter-v:hover,.splitter-v.dragging{background-color:var(--splitter-hover)}.dock-left,.dock-right{display:flex;flex-direction:column;background-color:var(--bg-secondary);overflow:hidden;height:100%}.dock-center{display:flex;flex-direction:column;flex:1;background-color:var(--bg-primary);overflow:hidden;height:100%}.center-middle{display:flex;flex:1;overflow:hidden;position:relative}.dock-bottom{display:flex;flex-direction:column;background-color:var(--bg-secondary);overflow:hidden}.panel{display:flex;flex-direction:column;flex:1;overflow:hidden;border-right:1px solid var(--border-subtle)}.dock-right .panel{border-right:none;border-left:1px solid var(--border-subtle)}.dock-bottom .panel{border-top:1px solid var(--border-subtle);border-right:none}.panel-header{display:flex;align-items:center;justify-content:space-between;height:32px;background-color:var(--bg-tertiary);border-bottom:1px solid var(--border-subtle);padding:0 var(--space-sm);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary)}.panel-title{display:flex;align-items:center;gap:var(--space-xs)}.panel-actions{display:flex;align-items:center;gap:2px}.panel-action-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:3px;border-radius:var(--radius-sm);display:flex;align-items:center;font-size:11px}.panel-action-btn:hover{color:var(--text-primary);background:var(--bg-hover)}.panel-content{flex:1;overflow:auto;position:relative;background-color:var(--bg-primary);padding:var(--space-sm)}.tool-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-muted);text-align:center;gap:var(--space-sm);font-family:var(--font-mono);font-size:12px}.tool-placeholder .tool-icon{font-size:28px;opacity:.5}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);width:480px;max-width:90vw;box-shadow:var(--shadow-lg);overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-md) var(--space-lg);border-bottom:1px solid var(--border-subtle);font-weight:600;font-size:14px}.modal-body{padding:var(--space-lg);max-height:60vh;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-md)}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-sm);padding:var(--space-md) var(--space-lg);border-top:1px solid var(--border-subtle);background:var(--bg-tertiary)}.tool-checkbox-row{display:flex;align-items:center;justify-content:space-between;padding:var(--space-sm);background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:var(--radius-md)}.tool-checkbox-label{display:flex;align-items:center;gap:var(--space-sm);font-weight:500;cursor:pointer}.btn-primary{background:var(--accent-blue);color:#fff;border:1px solid transparent;padding:6px 14px;border-radius:var(--radius-sm);font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease}.btn-primary:hover{background:#388bfd}.btn-secondary{background:var(--bg-hover);color:var(--text-primary);border:1px solid var(--border-subtle);padding:6px 14px;border-radius:var(--radius-sm);font-size:12px;cursor:pointer}.explorer-root{display:flex;flex-direction:column;height:100%;font-family:var(--font-sans)}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;border-bottom:1px solid var(--border-subtle);font-size:11px;font-weight:700;color:var(--text-secondary);letter-spacing:.5px}.explorer-tree{flex:1;overflow-y:auto;padding:4px 0}.tree-list{list-style:none}.tree-item-content{display:flex;align-items:center;gap:6px;padding:4px 8px;cursor:pointer;border-radius:var(--radius-sm);font-size:12px;color:var(--text-primary);transition:background .1s ease}.tree-item-content:hover{background:var(--bg-hover)}.tree-icon{font-size:13px;width:16px;text-align:center}.tree-subfolder{padding-left:14px;border-left:1px solid var(--border-subtle);margin-left:10px}.explorer-loading,.explorer-empty,.explorer-error{padding:12px;color:var(--text-muted);font-size:11px;text-align:center}.editor-root{display:flex;flex-direction:column;height:100%;width:100%;background:var(--bg-primary);overflow:hidden}.editor-tabs-bar{display:flex;align-items:center;height:34px;background:var(--bg-secondary);border-bottom:1px solid var(--border-subtle);overflow-x:auto;scrollbar-width:none}.editor-tabs-bar::-webkit-scrollbar{display:none}.editor-tab{display:flex;align-items:center;gap:6px;padding:0 12px;height:100%;border-right:1px solid var(--border-subtle);background:var(--bg-secondary);color:var(--text-secondary);font-size:12px;cursor:pointer;white-space:nowrap;transition:all .15s ease}.editor-tab:hover{background:var(--bg-hover);color:var(--text-primary)}.editor-tab.active{background:var(--bg-primary);color:var(--text-accent);border-top:2px solid var(--accent-blue);font-weight:500}.tab-dirty-dot{display:none;color:var(--text-warning);font-size:10px}.editor-tab.dirty .tab-dirty-dot{display:inline-block}.tab-close-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:2px;border-radius:var(--radius-sm);font-size:10px}.tab-close-btn:hover{color:var(--text-primary);background:var(--bg-hover)}.editor-sub-toolbar{display:flex;align-items:center;justify-content:space-between;height:28px;background:var(--bg-tertiary);border-bottom:1px solid var(--border-subtle);padding:0 10px;font-size:11px}.editor-breadcrumb{font-family:var(--font-mono);color:var(--text-secondary)}.editor-actions{display:flex;align-items:center;gap:6px}.editor-view-container{flex:1;position:relative;overflow:hidden}.editor-status-bar{display:flex;align-items:center;justify-content:space-between;height:22px;background:var(--bg-secondary);border-top:1px solid var(--border-subtle);padding:0 8px;font-family:var(--font-mono);font-size:10px;color:var(--text-muted)}.terminal-root{display:flex;flex-direction:column;height:100%;background:#0a0c10;overflow:hidden}.terminal-tabs-bar{display:flex;align-items:center;justify-content:space-between;height:30px;background:var(--bg-tertiary);border-bottom:1px solid var(--border-subtle);padding:0 6px}.terminal-tabs-list{display:flex;align-items:center;gap:4px}.terminal-tab{display:flex;align-items:center;gap:6px;padding:3px 8px;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:11px;cursor:pointer}.terminal-tab.active{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-focus)}.terminal-views-host{flex:1;position:relative;overflow:hidden;padding:4px}.xterm-host-container{width:100%;height:100%}.agent-panel-root{display:flex;flex-direction:column;height:100%;width:100%;background:var(--bg-primary);overflow-y:auto;gap:12px;padding:12px}.agent-section{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:10px 12px;display:flex;flex-direction:column;gap:8px}.chat-selector-row,.task-selector-row{display:flex;align-items:center;gap:8px}.agent-label{font-size:11px;font-weight:700;color:var(--text-muted);min-width:44px}.agent-select{flex:1;background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:4px 8px;font-size:12px;outline:none}.agent-select:focus{border-color:var(--border-focus)}.task-badge-row{display:flex;align-items:center;gap:8px;margin-top:2px}.task-title-text{font-size:12px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-timer-box{border-left:3px solid #06b6d4;background:linear-gradient(180deg,#06b6d40d,#0f172a66)}.step-timer-header{display:flex;justify-content:space-between;align-items:center}.step-title{font-size:12px;font-weight:700;color:var(--text-primary)}.step-clock{font-family:JetBrains Mono,Consolas,monospace;font-size:13px;font-weight:700;color:#06b6d4}.step-progress-track{width:100%;height:6px;background:#ffffff14;border-radius:3px;overflow:hidden}.step-progress-fill{height:100%;background:#06b6d4;border-radius:3px;transition:width .1s linear,background-color .3s ease}.step-timing-info{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--text-muted)}.step-status-tag{font-size:10px;font-weight:600;padding:1px 6px;border-radius:var(--radius-sm);background:var(--bg-hover);color:var(--text-secondary)}.step-status-tag.tag-running{background:#06b6d433;color:#06b6d4}.step-status-tag.tag-completed{background:#22c55e33;color:#22c55e}.step-status-tag.tag-timeout{background:#ef444433;color:#ef4444}.prompt-input-group textarea{width:100%;background:var(--bg-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:8px;font-size:12px;color:var(--text-primary);resize:vertical;outline:none;font-family:inherit}.prompt-input-group textarea:focus{border-color:var(--border-focus)}.prompt-action-bar{display:flex;gap:8px;margin-top:8px;align-items:center}.section-title-row{display:flex;justify-content:space-between;align-items:center}.section-heading{font-size:11px;font-weight:700;text-transform:uppercase;color:var(--text-muted);letter-spacing:.5px}.steps-tree-list{display:flex;flex-direction:column;gap:6px;max-height:180px;overflow-y:auto}.step-card{background:var(--bg-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:6px 10px;display:flex;flex-direction:column;gap:4px}.step-card-header{display:flex;justify-content:space-between;align-items:center}.step-card-num{font-weight:700;font-size:12px;color:var(--text-primary)}.step-card-duration{font-size:11px;color:var(--text-muted);font-family:monospace}.step-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px}.step-card-ck{color:var(--text-muted);font-family:monospace;font-size:10px}.checkpoint-details-box{border-left:3px solid #8b5cf6;background:linear-gradient(180deg,#8b5cf60d,#0f172a66)}.checkpoint-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#a78bfa}.checkpoint-files-list ul{margin:4px 0;padding-left:16px;font-size:11px;color:var(--text-secondary)}.checkpoint-files-list code{background:var(--bg-hover);padding:1px 4px;border-radius:var(--radius-sm);color:#38bdf8}.recovery-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn-tool{background:var(--bg-primary);border:1px solid var(--border-subtle);color:var(--text-secondary);padding:6px 8px;border-radius:var(--radius-sm);font-size:11px;cursor:pointer;text-align:center;transition:all .15s ease}.btn-tool:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-focus)}.btn-tool.btn-danger{color:#f87171;border-color:#ef44444d}.btn-tool.btn-danger:hover{background:#ef444426;border-color:#ef4444}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-window{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:0 8px 32px #00000080;overflow:hidden;max-width:90vw;max-height:90vh;display:flex;flex-direction:column}.snapshot-modal-window{width:800px;height:520px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid var(--border-subtle)}.modal-header h3{font-size:13px;margin:0;color:var(--text-primary)}.modal-body{flex:1;padding:12px;display:flex;align-items:center;justify-content:center;overflow:auto;background:#000}.snapshot-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--radius-sm)}.events-root{display:flex;flex-direction:column;height:100%;width:100%;background:var(--bg-primary);overflow:hidden}.events-toolbar{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:var(--bg-secondary);border-bottom:1px solid var(--border-subtle)}.events-status-indicator{display:flex;align-items:center;gap:6px;font-size:11px}.status-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.status-dot.online{background:#22c55e;box-shadow:0 0 6px #22c55e99}.status-dot.offline{background:#ef4444}.events-controls{display:flex;align-items:center;gap:6px}.events-filter{background:var(--bg-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-primary);padding:2px 6px;font-size:11px;outline:none}.events-stream{flex:1;overflow-y:auto;padding:6px 10px;font-family:JetBrains Mono,Consolas,monospace;font-size:11px;display:flex;flex-direction:column;gap:4px}.event-item{display:flex;align-items:baseline;gap:8px;padding:2px 0;border-bottom:1px solid rgba(255,255,255,.03)}.event-time{color:var(--text-muted);font-size:10px;min-width:60px}.event-badge{font-size:10px;font-weight:600;padding:1px 6px;border-radius:var(--radius-sm)}.badge-primary{background:#3b82f633;color:#60a5fa}.badge-info{background:#06b6d433;color:#22d3ee}.badge-success{background:#22c55e33;color:#4ade80}.badge-warn{background:#f59e0b33;color:#fbbf24}.badge-danger{background:#ef444433;color:#f87171}.badge-neutral{background:var(--bg-hover);color:var(--text-secondary)}.event-step-tag{font-size:10px;background:#8b5cf633;color:#c084fc;padding:1px 4px;border-radius:var(--radius-sm)}.event-payload{color:var(--text-secondary);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding-top:12vh;z-index:2000}.palette-container{width:620px;max-width:90vw;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:0 16px 48px #0009,0 0 0 1px #ffffff0d;overflow:hidden;display:flex;flex-direction:column}.palette-input{width:100%;padding:14px 16px;background:var(--bg-primary);border:none;border-bottom:1px solid var(--border-subtle);color:var(--text-primary);font-size:14px;outline:none;font-family:inherit}.palette-input::placeholder{color:var(--text-muted)}.palette-list{max-height:380px;overflow-y:auto;padding:6px;display:flex;flex-direction:column;gap:2px}.palette-item{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:var(--radius-sm);cursor:pointer;transition:all .1s ease}.palette-item:hover{background:var(--bg-hover)}.palette-item.selected{background:#6366f133;border-left:3px solid #6366f1}.palette-icon{font-size:16px;width:20px;text-align:center;color:var(--text-secondary)}.palette-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.palette-title{font-size:13px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.palette-category{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.palette-empty{padding:24px;text-align:center;color:var(--text-muted);font-size:13px}.agent-mode-switcher{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-subtle);padding:8px 12px;background:var(--bg-secondary);border-radius:var(--radius-md) var(--radius-md) 0 0;gap:8px}.mode-tabs-group{display:flex;gap:4px}.mode-tab{background:transparent;border:1px solid transparent;color:var(--text-muted);padding:5px 12px;font-size:12px;font-weight:600;border-radius:var(--radius-sm);cursor:pointer;transition:all .15s ease}.mode-tab:hover{color:var(--text-primary);background:#ffffff0d}.mode-tab.active{color:#38bdf8;background:#38bdf81f;border-color:#38bdf84d}.chat-header-actions{display:flex;align-items:center;gap:6px}.agent-view-container{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.chat-messages-thread{flex:1;overflow-y:auto;padding:16px 12px;display:flex;flex-direction:column;gap:16px;background:var(--bg-primary)}.chat-welcome-card{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:20px;text-align:center;max-width:520px;margin:20px auto;display:flex;flex-direction:column;align-items:center;gap:10px}.welcome-icon{font-size:32px;background:#38bdf81a;width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#38bdf8}.chat-welcome-card h3{font-size:15px;font-weight:700;color:var(--text-primary);margin:0}.chat-welcome-card p{font-size:12px;color:var(--text-secondary);margin:0;line-height:1.5}.chat-welcome-card ul{text-align:left;font-size:12px;color:var(--text-muted);padding-left:20px;margin:4px 0;line-height:1.6}.welcome-tip{font-size:11px;color:#38bdf8;font-weight:600;margin-top:6px}.chat-message-row{display:flex;flex-direction:column;width:100%}.chat-message-row.user{align-items:flex-end}.chat-message-row.agent{align-items:flex-start}.chat-sender-header{font-size:11px;font-weight:700;margin-bottom:4px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.chat-sender-header.agent-sender{color:#38bdf8}.chat-bubble{max-width:88%;padding:10px 14px;border-radius:var(--radius-md);font-size:13px;line-height:1.55;word-break:break-word}.chat-message-row.user .chat-bubble{background:#1e3a5f;color:#fff;border-bottom-right-radius:2px;border:1px solid rgba(56,189,248,.2)}.chat-message-row.agent .chat-bubble{background:var(--bg-secondary);color:var(--text-primary);border-bottom-left-radius:2px;border:1px solid var(--border-subtle)}.chat-bubble p{margin:0 0 8px}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble .chat-code-block{background:#090d16;border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-sm);margin:8px 0;overflow:hidden}.chat-bubble .code-header{background:#ffffff0a;padding:4px 10px;font-size:10px;text-transform:uppercase;color:var(--text-muted);border-bottom:1px solid rgba(255,255,255,.05)}.chat-bubble pre{margin:0;padding:8px 12px;overflow-x:auto;font-family:JetBrains Mono,Fira Code,monospace;font-size:12px}.chat-inline-code{background:#ffffff14;color:#38bdf8;padding:2px 5px;border-radius:3px;font-family:monospace;font-size:12px}.chat-ul{margin:6px 0;padding-left:20px}.chat-li{margin-bottom:4px}.chat-tools-accordion{margin-top:8px;background:#0003;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-size:11px}.chat-tools-accordion summary{padding:6px 10px;cursor:pointer;color:var(--text-secondary);font-weight:600;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:6px}.chat-tools-accordion summary:hover{color:#38bdf8}.tools-accordion-content{padding:8px 10px;border-top:1px solid var(--border-subtle);display:flex;flex-wrap:wrap;gap:6px}.tool-chip{background:#38bdf81a;color:#38bdf8;border:1px solid rgba(56,189,248,.25);padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.checkpoint-chip{background:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.25);padding:2px 8px;border-radius:12px;font-size:11px}.chat-message-meta{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:10px;color:var(--text-muted)}.chat-activity-bar{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#38bdf814;border-top:1px solid rgba(56,189,248,.2);border-bottom:1px solid rgba(56,189,248,.2)}.activity-spinner{width:14px;height:14px;border:2px solid rgba(56,189,248,.3);border-top-color:#38bdf8;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.activity-text{display:flex;align-items:center;justify-content:space-between;flex:1;font-size:12px;color:var(--text-primary)}.chat-activity-timer{font-family:monospace;font-weight:700;color:#38bdf8}.chat-input-bar{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;background:var(--bg-secondary);border-top:1px solid var(--border-subtle)}.chat-user-input{flex:1;background:var(--bg-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-md);color:var(--text-primary);padding:8px 12px;font-size:13px;font-family:inherit;resize:none;max-height:120px;min-height:38px;line-height:1.4;outline:none;transition:border-color .15s ease}.chat-user-input:focus{border-color:#38bdf8}.btn-chat-send{background:#0284c7;color:#fff;border:none;border-radius:var(--radius-md);padding:8px 14px;height:38px;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:background .15s ease}.btn-chat-send:hover{background:#0369a1}.btn-chat-send:disabled{background:var(--bg-tertiary);color:var(--text-muted);cursor:not-allowed}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}
