.sidebar{width:240px;height:100vh;background:#0d1117;border-right:1px solid #30363d;display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{padding:16px;border-bottom:1px solid #30363d}.logo{display:flex;align-items:center;gap:10px}.logo-icon{font-size:24px}.logo-text{font-size:14px;font-weight:700;color:#f0f6fc;letter-spacing:1px}.sidebar-section{padding:12px}.section-header{display:flex;justify-content:space-between;align-items:center;color:#8b949e;font-size:12px;font-weight:600;text-transform:uppercase;margin-bottom:8px;padding:0 8px}.refresh-btn{background:none;border:none;color:#8b949e;cursor:pointer;font-size:14px;padding:4px}.refresh-btn:hover{color:#f0f6fc}.create-btn{width:100%;padding:10px 16px;background:linear-gradient(135deg,#238636,#2ea043);border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s}.create-btn:hover{background:linear-gradient(135deg,#2ea043,#3fb950);transform:translateY(-1px)}.create-btn span{font-size:18px}.agent-list{display:flex;flex-direction:column;gap:2px}.agent-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;color:#c9d1d9;text-decoration:none;font-size:14px;transition:all .15s}.agent-item:hover{background:#161b22;color:#f0f6fc}.agent-item.active{background:#21262d;color:#58a6ff}.agent-icon{font-size:16px}.agent-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;color:#8b949e;text-decoration:none;font-size:14px;transition:all .15s}.nav-item:hover{background:#161b22;color:#f0f6fc}.nav-item.active{background:#21262d;color:#58a6ff}.nav-icon{font-size:16px}.empty-state{color:#6e7681;font-size:13px;padding:8px 12px;font-style:italic}.sidebar-footer{margin-top:auto;padding:12px 16px;border-top:1px solid #30363d}.version{color:#6e7681;font-size:11px}.dashboard{height:100%;padding:24px;overflow-y:auto}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dashboard-header h1{font-size:24px;font-weight:600;color:#f0f6fc}.header-actions{display:flex;gap:12px}.btn-refresh{padding:8px 16px;background:#21262d;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:14px;cursor:pointer;transition:all .15s}.btn-refresh:hover{background:#30363d;border-color:#8b949e}.btn-create{padding:8px 16px;background:linear-gradient(135deg,#238636,#2ea043);border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-create:hover{background:linear-gradient(135deg,#2ea043,#3fb950);transform:translateY(-1px)}.agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.agent-card{background:#161b22;border:1px solid #30363d;border-radius:8px;padding:20px;cursor:pointer;transition:all .2s}.agent-card:hover{border-color:#58a6ff;transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.agent-card-icon{font-size:32px;margin-bottom:12px}.agent-card-content h3{font-size:18px;font-weight:600;color:#f0f6fc;margin-bottom:4px}.agent-path{font-size:12px;color:#8b949e;font-family:monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-card-actions{display:flex;gap:8px;margin-top:16px}.btn-edit,.btn-test{flex:1;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s}.btn-edit{background:#21262d;border:1px solid #30363d;color:#c9d1d9}.btn-edit:hover{background:#30363d;border-color:#8b949e}.btn-test{background:#1f6feb;border:none;color:#fff}.btn-test:hover{background:#388bfd}.empty-state{grid-column:1 / -1;text-align:center;padding:60px 20px;background:#161b22;border:1px dashed #30363d;border-radius:8px}.empty-icon{font-size:48px;margin-bottom:16px}.empty-state h2{font-size:20px;color:#f0f6fc;margin-bottom:8px}.empty-state p{color:#8b949e;margin-bottom:20px}.agent-editor{height:100%;display:flex;flex-direction:column;background:#0d1117}.editor-header{display:flex;align-items:center;gap:16px;padding:12px 20px;background:#161b22;border-bottom:1px solid #30363d}.back-btn{padding:6px 12px;background:#21262d;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:13px;cursor:pointer}.back-btn:hover{background:#30363d}.agent-info{display:flex;align-items:center;gap:10px;flex:1}.agent-badge{font-size:20px}.agent-info h2{font-size:16px;font-weight:600;color:#f0f6fc}.status-badge{padding:2px 8px;background:#1f6feb;border-radius:12px;font-size:11px;color:#fff}.save-btn{padding:8px 16px;background:linear-gradient(135deg,#238636,#2ea043);border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.save-btn:hover:not(:disabled){background:linear-gradient(135deg,#2ea043,#3fb950)}.save-btn:disabled{opacity:.6;cursor:not-allowed}.header-actions{display:flex;gap:10px}.deploy-btn{padding:8px 16px;background:linear-gradient(135deg,#8957e5,#a371f7);border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.deploy-btn:hover{background:linear-gradient(135deg,#a371f7,#bc8cff)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#161b22;border:1px solid #30363d;border-radius:12px;width:500px;max-width:90%;box-shadow:0 8px 32px #0006}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #30363d}.modal-header h3{color:#f0f6fc;font-size:16px;margin:0}.modal-close{background:none;border:none;color:#8b949e;font-size:24px;cursor:pointer;padding:0;line-height:1}.modal-close:hover{color:#f0f6fc}.modal-body{padding:20px}.modal-description{color:#8b949e;margin-bottom:20px;font-size:14px}.form-group{margin-bottom:16px}.form-group label{display:block;color:#c9d1d9;font-size:13px;margin-bottom:6px}.form-group input,.form-group select{width:100%;padding:10px 12px;background:#0d1117;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:14px;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#8957e5}.form-hint{display:block;color:#6e7681;font-size:12px;margin-top:4px}.deploy-result{padding:12px;border-radius:6px;margin-top:16px;font-size:14px}.deploy-result.success{background:#23863633;border:1px solid #238636;color:#3fb950}.deploy-result.error{background:#f8514933;border:1px solid #f85149;color:#f85149}.deploy-endpoint{margin-top:8px;font-size:12px;word-break:break-all}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #30363d}.btn-cancel{padding:8px 16px;background:#21262d;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:13px;cursor:pointer}.btn-cancel:hover{background:#30363d}.btn-deploy{padding:8px 20px;background:linear-gradient(135deg,#8957e5,#a371f7);border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.btn-deploy:hover:not(:disabled){background:linear-gradient(135deg,#a371f7,#bc8cff)}.btn-deploy:disabled{opacity:.5;cursor:not-allowed}.deploy-progress{text-align:center;padding:30px}.deploy-progress p{margin-top:15px;color:#8b949e}.spinner{width:40px;height:40px;border:3px solid #21262d;border-top:3px solid #58a6ff;border-radius:50%;margin:0 auto;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.deploy-status{font-weight:600;margin-bottom:10px}.deploy-log-section{margin-top:10px;font-size:12px}.deploy-log-section strong{color:#8b949e}.log-output{background:#0d1117;border:1px solid #21262d;border-radius:4px;padding:8px;margin-top:4px;font-family:JetBrains Mono,monospace;font-size:11px;overflow-x:auto;white-space:pre-wrap;word-break:break-all;max-height:150px;overflow-y:auto}.log-output.error{border-color:#f85149;color:#f85149}.editor-content{flex:1;display:flex;overflow:hidden}.left-pane{width:50%;display:flex;flex-direction:column;border-right:1px solid #30363d}.right-pane{width:50%;display:flex;flex-direction:column}.pane-header{padding:10px 16px;background:#161b22;border-bottom:1px solid #30363d;font-size:13px;color:#8b949e}.code-editor{flex:1;overflow:hidden}.toolbox-section{border-top:1px solid #30363d;padding:12px 16px;background:#161b22}.section-title{font-size:13px;color:#8b949e;margin-bottom:10px}.toolbox-actions{display:flex;gap:8px}.add-btn{padding:6px 12px;background:#21262d;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:12px;cursor:pointer}.add-btn:hover{background:#30363d}.tabs-header{display:flex;background:#161b22;border-bottom:1px solid #30363d}.tab{padding:12px 20px;background:none;border:none;color:#8b949e;font-size:13px;cursor:pointer;position:relative}.tab:hover{color:#c9d1d9}.tab.active{color:#58a6ff}.visualize-content{flex:1;display:flex;align-items:center;justify-content:center}.agent-preview{text-align:center;color:#8b949e}.preview-icon{font-size:48px;margin-bottom:16px}.agent-preview h3{color:#f0f6fc;margin-bottom:8px}.chat-content{flex:1;display:flex;flex-direction:column}.chat-messages{flex:1;overflow-y:auto;padding:16px}.chat-empty{text-align:center;padding:40px}.chat-empty-icon{font-size:48px;margin-bottom:16px}.chat-empty h3{color:#f0f6fc;margin-bottom:8px}.chat-empty p{color:#8b949e}.message{display:flex;gap:12px;margin-bottom:16px}.message-avatar{font-size:20px;flex-shrink:0}.message-content{background:#21262d;padding:10px 14px;border-radius:8px;color:#c9d1d9;font-size:14px;line-height:1.5;max-width:80%}.message.user .message-content{background:#1f6feb;color:#fff}.message.error .message-content{background:#f85149;color:#fff}.message.loading .message-content{opacity:.7}.chat-input{display:flex;gap:8px;padding:12px 16px;background:#161b22;border-top:1px solid #30363d}.chat-input input{flex:1;padding:10px 14px;background:#0d1117;border:1px solid #30363d;border-radius:6px;color:#c9d1d9;font-size:14px}.chat-input input:focus{outline:none;border-color:#58a6ff}.chat-input button{padding:10px 20px;background:#1f6feb;border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:500;cursor:pointer}.chat-input button:hover:not(:disabled){background:#388bfd}.chat-input button:disabled{opacity:.5;cursor:not-allowed}.server-status-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#161b22;border-bottom:1px solid #30363d}.status-indicator{font-size:13px;font-weight:500}.status-indicator.running{color:#3fb950}.status-indicator.stopped{color:#f85149}.start-server-btn{padding:6px 14px;background:#238636;border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.start-server-btn:hover:not(:disabled){background:#2ea043}.start-server-btn:disabled{opacity:.6;cursor:not-allowed}.server-actions{display:flex;gap:8px}.status-info{display:flex;align-items:center;gap:16px}.session-id-display{font-size:12px;color:#8b949e;background:#21262d;padding:4px 8px;border-radius:4px;cursor:pointer;font-family:monospace}.session-id-display:hover{color:#58a6ff;background:#30363d}.traces-btn{padding:6px 14px;background:#6e40c9;border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.traces-btn:hover,.traces-btn.active{background:#8957e5}.debug-btn{padding:6px 14px;background:#f78166;border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.debug-btn:hover{background:#ffa28b}.chat-and-traces-container{display:flex;flex-direction:column;height:100%}.chat-and-traces-container.split-view{flex-direction:row}.chat-and-traces-container.split-view .chat-content{flex:1;min-width:0;border-right:1px solid #30363d}.traces-panel{flex:1;display:flex;flex-direction:column;background:#0d1117;min-width:400px}.traces-header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#161b22;border-bottom:1px solid #30363d}.traces-header span{font-weight:600;color:#c9d1d9}.traces-header button{background:transparent;border:none;color:#8b949e;font-size:18px;cursor:pointer;padding:4px 8px}.traces-header button:hover{color:#f85149}.traces-iframe{flex:1;border:none;width:100%;min-height:500px}.events-list{flex:1;overflow-y:auto;padding:12px}.events-empty{text-align:center;color:#8b949e;padding:40px 20px}.event-turn-separator{text-align:center;padding:12px 0;margin:8px 0;color:#58a6ff;font-weight:600;font-size:12px;border-top:1px dashed #30363d;border-bottom:1px dashed #30363d}.event-item{background:#161b22;border:1px solid #30363d;border-radius:6px;margin-bottom:8px;padding:10px;font-size:13px}.event-item.tool-call{border-left:3px solid #58a6ff}.event-item.tool-response{border-left:3px solid #3fb950}.event-header{display:flex;justify-content:space-between;margin-bottom:6px}.event-type{font-weight:500;color:#c9d1d9}.event-author{color:#8b949e;font-size:12px}.event-tool-call,.event-tool-response{background:#0d1117;padding:8px;border-radius:4px;margin-top:6px}.event-tool-call pre,.event-tool-response pre{margin:6px 0 0;font-size:11px;color:#8b949e;white-space:pre-wrap;word-break:break-all}.event-content{color:#c9d1d9;font-size:12px;background:#0d1117;padding:8px;border-radius:4px;margin-top:6px}.editor-content.code-hidden{display:block}.editor-content.code-hidden .right-pane{width:100%;max-width:100%}.tabs-spacer{flex:1}.codebase-tab{margin-left:auto;background:#21262d!important;border:1px solid #30363d!important}.codebase-tab.active{background:#388bfd!important;border-color:#388bfd!important}.codebase-tab:hover{background:#30363d!important}.chat-messages{flex:1;overflow-y:auto;padding:20px;max-height:calc(100vh - 280px)}.chat-content{display:flex;flex-direction:column;height:100%;overflow:hidden}.editor-content.code-hidden .chat-and-traces-container{height:calc(100vh - 130px)}.editor-content.code-hidden .chat-messages{max-height:calc(100vh - 240px)}/**
* 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}.kodelab-container{display:flex;flex-direction:column;height:100vh;width:100vw;background:#0d1117;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.tabs-bar{display:flex;align-items:center;background:#161b22;border-bottom:1px solid #30363d;padding:0;height:40px;flex-shrink:0}.tab{display:flex;align-items:center;gap:8px;padding:0 16px;height:100%;background:#0d1117;color:#c9d1d9;font-size:13px;border-right:1px solid #30363d;cursor:pointer;position:relative}.tab.active{background:#0d1117}.tab.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#58a6ff}.tab-icon{font-size:14px}.tab-add{display:flex;align-items:center;justify-content:center;width:40px;height:100%;color:#8b949e;font-size:18px;cursor:pointer;transition:color .2s}.tab-add:hover{color:#c9d1d9}.tab-spacer{flex:1}.connection-status{display:flex;align-items:center;gap:8px;padding:0 16px;font-size:12px;color:#8b949e}.status-dot{width:8px;height:8px;border-radius:50%}.status-dot.online{background:#3fb950;box-shadow:0 0 8px #3fb950}.status-dot.offline{background:#f85149;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.terminal-wrapper{flex:1;padding:0;overflow:hidden;cursor:text}.terminal-full{height:100%;width:100%}.terminal-full .xterm{height:100%;padding:12px}.terminal-full .xterm-viewport{overflow-y:auto!important}.terminal-full .xterm-screen{height:100%!important}.terminal-full .xterm-viewport::-webkit-scrollbar{width:10px}.terminal-full .xterm-viewport::-webkit-scrollbar-track{background:#0d1117}.terminal-full .xterm-viewport::-webkit-scrollbar-thumb{background:#30363d;border-radius:5px}.terminal-full .xterm-viewport::-webkit-scrollbar-thumb:hover{background:#484f58}.terminal-page{height:100%;width:100%;display:flex;flex-direction:column}.terminal-banner{background:#f78166;color:#fff;padding:8px 16px;font-weight:500;font-size:14px}.claude-builder{display:flex;height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e);color:#e4e4e7;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.builder-sidebar{width:280px;background:#0000004d;border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.sidebar-header{padding:20px;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-header h2{margin:0 0 15px;font-size:1.1rem;font-weight:600}.new-agent-btn{width:100%;padding:12px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.new-agent-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #6366f166}.agent-list{flex:1;overflow-y:auto;padding:10px}.agent-item{display:flex;align-items:center;gap:10px;padding:12px 15px;border-radius:8px;cursor:pointer;transition:all .2s;margin-bottom:5px}.agent-item:hover{background:#ffffff1a}.agent-item.active{background:#6366f14d;border:1px solid rgba(99,102,241,.5)}.agent-icon{font-size:1.2rem}.agent-name{font-size:.9rem;font-weight:500}.no-agents{padding:20px;text-align:center;color:#71717a;font-size:.9rem}.builder-main{flex:1;display:flex;flex-direction:column;max-width:900px;margin:0 auto;padding:20px}.builder-header{text-align:center;padding:20px 0 30px}.builder-header h1{margin:0;font-size:2rem;background:linear-gradient(135deg,#c084fc,#818cf8,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.builder-header p{margin:8px 0 0;color:#a1a1aa;font-size:.95rem}.selected-agent{margin-top:15px;padding:8px 16px;background:#6366f133;border-radius:20px;display:inline-block;font-size:.85rem}.messages-container{flex:1;overflow-y:auto;padding:20px 0;display:flex;flex-direction:column;gap:20px}.message{display:flex;gap:15px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-avatar{width:40px;height:40px;border-radius:50%;background:#ffffff1a;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.message.user .message-avatar{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.message.assistant .message-avatar{background:linear-gradient(135deg,#8b5cf6,#6366f1)}.message-content{flex:1;background:#ffffff0d;border-radius:12px;padding:15px 18px;border:1px solid rgba(255,255,255,.08)}.message.user .message-content{background:#3b82f61a;border-color:#3b82f633}.message.error .message-content{background:#ef44441a;border-color:#ef44444d}.message.complete .message-content{background:#22c55e1a;border-color:#22c55e4d}.message-text{line-height:1.6;white-space:pre-wrap}.options-container{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.option-btn{padding:10px 20px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:8px;color:#fff;font-weight:500;cursor:pointer;transition:all .2s}.option-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #6366f166}.option-btn:disabled{opacity:.5;cursor:not-allowed}.details-accordion{margin-top:15px;background:#0003;border-radius:8px;padding:10px 15px}.details-accordion summary{cursor:pointer;color:#a1a1aa;font-size:.9rem}.details-accordion pre{margin:10px 0 0;padding:15px;background:#0000004d;border-radius:6px;font-size:.8rem;overflow-x:auto;max-height:300px;overflow-y:auto}.typing-indicator{display:flex;gap:4px;padding:10px 0}.typing-indicator span{width:8px;height:8px;background:#8b5cf6;border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.typing-indicator span:nth-child(1){animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.input-container{display:flex;gap:10px;padding:20px 0;border-top:1px solid rgba(255,255,255,.1)}.input-container textarea{flex:1;padding:15px 20px;background:#ffffff0d;border:1px solid rgba(255,255,255,.15);border-radius:12px;color:#fff;font-size:1rem;resize:none;min-height:50px;max-height:150px;font-family:inherit}.input-container textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f133}.input-container textarea::placeholder{color:#71717a}.send-btn{width:50px;height:50px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:12px;font-size:1.3rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.send-btn:hover:not(:disabled){transform:scale(1.05)}.send-btn:disabled{opacity:.5;cursor:not-allowed}.messages-container::-webkit-scrollbar,.agent-list::-webkit-scrollbar{width:6px}.messages-container::-webkit-scrollbar-track,.agent-list::-webkit-scrollbar-track{background:transparent}.messages-container::-webkit-scrollbar-thumb,.agent-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}@media (max-width: 768px){.builder-sidebar{display:none}.builder-main{padding:10px}.builder-header h1{font-size:1.5rem}}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;width:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#010409;color:#c9d1d9}.app-container{display:flex;height:100vh;width:100vw;overflow:hidden}.main-content{flex:1;overflow:hidden;background:#0d1117}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#0d1117}::-webkit-scrollbar-thumb{background:#30363d;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#484f58}::selection{background:#264f78}
