.login-container{display:flex;justify-content:center;align-items:center;height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.login-box{background:#2d2d2d;padding:40px;border-radius:8px;box-shadow:0 10px 25px #0003;width:100%;max-width:300px}.login-box h1{text-align:center;margin-bottom:30px;color:#4fc3f7}.login-box form{display:flex;flex-direction:column;gap:12px}.login-box input{padding:10px;border:1px solid #444;border-radius:4px;background:#1e1e1e;color:#d4d4d4}.login-box button{padding:10px;background:#4fc3f7;color:#000;border:none;border-radius:4px;cursor:pointer;font-weight:700}.login-box button:hover:not(:disabled){background:#29b6f6}.login-box button:disabled{opacity:.6;cursor:not-allowed}.login-box .error{color:#f48771;font-size:12px;text-align:center}.projects-dashboard{width:100%}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.btn-new{padding:10px 20px;background:#4fc3f7;color:#000;border:none;border-radius:4px;cursor:pointer;font-weight:700}.new-project-form{background:#252526;padding:20px;border-radius:8px;margin-bottom:30px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.new-project-form input,.new-project-form textarea{padding:10px;border:1px solid #444;border-radius:4px;background:#1e1e1e;color:#d4d4d4;grid-column:1 / -1}.new-project-form textarea{min-height:80px;resize:vertical}.new-project-form label{display:flex;align-items:center;gap:8px}.new-project-form button{padding:10px 20px;background:#4fc3f7;color:#000;border:none;border-radius:4px;cursor:pointer;font-weight:700}.new-project-form button:last-of-type{background:#666;color:#d4d4d4}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.project-card{background:#252526;border:1px solid #3e3e42;border-radius:8px;padding:20px;display:flex;flex-direction:column;gap:10px;transition:transform .2s}.project-card:hover{transform:translateY(-2px);border-color:#4fc3f7}.project-card h3{color:#4fc3f7;margin:0}.project-card p{color:#999;font-size:13px;margin:0;flex:1}.card-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666}.team-badge{background:#667eea;color:#fff;padding:2px 8px;border-radius:3px;font-size:11px}.project-card button{padding:8px 16px;background:#4fc3f7;color:#000;border:none;border-radius:4px;cursor:pointer;font-weight:700;width:100%}.btn-delete{background:#5a1d1d!important;color:#f48771!important;margin-top:4px}.btn-delete:hover{background:#7a2a2a!important}.projects-view{display:flex;flex-direction:column;height:100vh}.projects-header{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;background:#252526;border-bottom:1px solid #3e3e42}.projects-header h1{color:#4fc3f7}.header-right{display:flex;gap:20px;align-items:center}.header-right button.logout-btn{padding:8px 16px;background:#f48771;border:none;border-radius:4px;cursor:pointer;color:#fff;font-weight:600}.admin-btn-header{padding:8px 16px;background:#094771;color:#4fc3f7;border:1px solid #4fc3f7;border-radius:4px;cursor:pointer;font-size:13px;font-weight:600}.admin-btn-header:hover{background:#0d5a8a}.projects-main{flex:1;overflow:auto;padding:30px}.sidebar{width:250px;display:flex;flex-direction:column;background:#252526;border-right:1px solid #3e3e42;min-height:0}.sidebar-header{padding:12px 16px;border-bottom:1px solid #3e3e42}.sidebar-header h3{margin:0;font-size:12px;color:#999;text-transform:uppercase}.sidebar-content{flex:1;overflow:auto;padding:8px 0}.file-tree{list-style:none;padding:0;margin:0}.file-tree li{-webkit-user-select:none;user-select:none}.file-tree .directory>span{display:block;padding:4px 16px;cursor:pointer;color:#d4d4d4;font-size:13px}.file-tree .directory>span:hover{background:#2d2d30}.file-tree .file-item{display:block;padding:4px 32px;cursor:pointer;color:#d4d4d4;font-size:13px}.file-tree .file-item:hover{background:#2d2d30}.file-tree .file-item.selected{background:#094771;color:#4fc3f7}.dir-toggle{-webkit-user-select:none;user-select:none}.file-tree>.directory>ul{padding-left:8px}/**
 * 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-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:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.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}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.terminals-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#1e1e1e}.term-tabs{display:flex;background:#252526;border-bottom:1px solid #3e3e42;flex-shrink:0;overflow-x:auto}.term-tab{display:flex;align-items:center;gap:5px;padding:6px 14px;background:transparent;border:none;color:#999;cursor:pointer;font-size:11px;border-bottom:2px solid transparent;white-space:nowrap}.term-tab:hover{background:#2d2d2d;color:#d4d4d4}.term-tab.active{color:#4fc3f7;border-bottom-color:#4fc3f7;background:#1e1e1e}.term-tab-icon{font-size:14px}.term-tab-label{font-size:11px;text-transform:uppercase;letter-spacing:.5px}.term-panel{display:none;flex:1;min-height:0}.term-panel.active{display:flex;flex-direction:column}.term-session{display:flex;flex-direction:column;flex:1;min-height:0}.term-session-header{display:flex;align-items:center;gap:8px;padding:4px 12px;background:#252526;border-bottom:1px solid #3e3e42;flex-shrink:0}.term-session-label{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.5px}.term-status{font-size:10px}.term-status.connected{color:#6a9955}.term-status.disconnected{color:#f48771}.term-btn{padding:3px 10px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px;margin-left:auto}.term-xterm-container{flex:1;min-height:0;padding:4px}.term-xterm-container .xterm{height:100%;padding:4px}.agent-chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#1e1e1e;color:#d4d4d4}.chat-header{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#252526;border-bottom:1px solid #3e3e42;flex-shrink:0}.chat-header-title{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#888}.chat-header-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.model-selector{background:#3e3e42;color:#d4d4d4;border:1px solid #555;border-radius:3px;padding:2px 6px;font-size:11px;max-width:200px;cursor:pointer}.chat-clear-btn{background:none;border:none;color:#888;cursor:pointer;font-size:14px;padding:2px 4px}.chat-clear-btn:hover{color:#f48771}.chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:12px}.chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:#666}.chat-empty-icon{font-size:40px;margin-bottom:12px}.chat-empty p{margin:4px 0;font-size:13px}.chat-empty-hint{font-size:11px!important;color:#555}.chat-message{display:flex;gap:8px;max-width:100%}.chat-message.user{align-self:flex-end;flex-direction:row-reverse}.chat-message.assistant{align-self:flex-start}.chat-avatar{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;background:#333}.chat-bubble{background:#2d2d2d;border-radius:8px;padding:8px 12px;font-size:13px;line-height:1.5;min-width:0;overflow-wrap:break-word}.chat-message.user .chat-bubble{background:#094771}.chat-text{margin:4px 0;white-space:pre-wrap}.chat-text:first-child{margin-top:0}.chat-text:last-child{margin-bottom:0}.chat-message-image{max-width:240px;border-radius:6px;margin-bottom:8px;display:block}.chat-code-block{margin:8px 0;border:1px solid #3e3e42;border-radius:6px;overflow:hidden}.chat-code-block:first-child{margin-top:0}.chat-code-block:last-child{margin-bottom:0}.chat-code-header{display:flex;align-items:center;justify-content:space-between;padding:4px 10px;background:#333;font-size:11px;color:#888}.chat-code-header button{background:none;border:1px solid #555;color:#aaa;padding:1px 8px;border-radius:3px;cursor:pointer;font-size:10px}.chat-code-header button:hover{background:#444;color:#d4d4d4}.chat-code-block pre{margin:0;padding:10px;background:#1a1a1a;overflow-x:auto;font-size:12px;line-height:1.4}.chat-code-block code{font-family:Monaco,Menlo,Consolas,Courier New,monospace;color:#d4d4d4}.chat-status-bar{display:flex;align-items:center;gap:6px;padding:3px 12px;background:#2d2d2d;border-bottom:1px solid #3e3e42;flex-shrink:0;font-size:11px;min-height:22px}.chat-status-dot{font-size:10px;animation:none}.chat-status-dot:has(+.chat-status-text:contains("Thinking")){animation:pulse 1.5s ease-in-out infinite}.chat-status-text{color:#888}.chat-status-model{color:#4fc3f7;margin-left:auto;font-family:monospace;font-size:10px}.chat-mode-toggle{display:flex;gap:2px;background:#333;border-radius:4px;padding:2px}.mode-btn{background:none;border:none;color:#888;padding:2px 8px;font-size:11px;border-radius:3px;cursor:pointer;white-space:nowrap}.mode-btn.active{background:#094771;color:#fff}.chat-snapshot-badge{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#888;cursor:default}.chat-snapshot-btn{background:none;border:none;color:#888;cursor:pointer;font-size:14px;padding:2px 4px}.chat-snapshot-btn:hover:not(:disabled){color:#e2b714}.chat-snapshot-btn:disabled{opacity:.4;cursor:not-allowed}.chat-message.system .chat-bubble{background:transparent;padding:2px 0}.chat-snapshot-bubble{display:flex;align-items:center;gap:6px;padding:4px 10px;background:#2d2d1a;border:1px solid #555522;border-radius:6px;font-size:11px;color:#d4d4a0;width:100%}.chat-snapshot-icon{font-size:14px}.chat-snapshot-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-snapshot-time{color:#777;font-size:10px}.chat-snapshot-restore-btn{background:#444;border:none;color:#4fc3f7;padding:2px 8px;border-radius:3px;cursor:pointer;font-size:10px;white-space:nowrap}.chat-snapshot-restore-btn:hover{background:#555}.chat-activity-streaming{display:flex;align-items:center;gap:6px;padding:2px 0}.chat-activity-icon{font-size:16px;line-height:1}.chat-activity-icon.pulse{animation:activity-pulse 1.5s ease-in-out infinite}@keyframes activity-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.7}}.chat-activity-label{font-size:13px;color:#888}.chat-activity-dots span{font-size:18px;font-weight:700;color:#4fc3f7;line-height:1}.chat-activity-dots span:nth-child(1){animation:dot-pulse 1.4s ease-in-out infinite}.chat-activity-dots span:nth-child(2){animation:dot-pulse 1.4s ease-in-out .2s infinite}.chat-activity-dots span:nth-child(3){animation:dot-pulse 1.4s ease-in-out .4s infinite}.chat-activity-summary{display:flex;align-items:flex-start;gap:6px;padding:4px 0 8px}.chat-activity-summary-text{font-size:12px;color:#aaa;line-height:1.4}.chat-full-log{border-top:1px solid #3e3e42;margin-top:6px;padding-top:8px}.chat-log-toggle{background:#333;border:1px solid #555;color:#4fc3f7;padding:3px 10px;border-radius:4px;cursor:pointer;font-size:11px;margin-top:6px}.chat-log-toggle:hover{background:#444}.chat-mode-bubble{padding:4px 10px;background:#1a2d3a;border:1px solid #225;border-radius:6px;font-size:11px;color:#88c8ff;width:100%}.chat-streaming-cursor{animation:blink 1s step-end infinite;color:#4fc3f7}@keyframes blink{50%{opacity:0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.chat-thinking{display:flex;align-items:center;padding:4px 0}.chat-thinking-dots span{font-size:24px;font-weight:700;color:#888;line-height:1}.chat-thinking-dots span:nth-child(1){animation:dot-pulse 1.4s ease-in-out infinite}.chat-thinking-dots span:nth-child(2){animation:dot-pulse 1.4s ease-in-out .2s infinite}.chat-thinking-dots span:nth-child(3){animation:dot-pulse 1.4s ease-in-out .4s infinite}@keyframes dot-pulse{0%,80%,to{opacity:.2}40%{opacity:1;color:#4fc3f7}}.chat-avatar.thinking{animation:avatar-think 1.5s ease-in-out infinite;background:#3a3a00}@keyframes avatar-think{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.chat-message.streaming .chat-bubble{border-left:2px solid #4fc3f7}.chat-attached-files{display:flex;flex-wrap:wrap;gap:4px;padding:4px 12px;background:#252526;border-top:1px solid #3e3e42;flex-shrink:0}.chat-attached-file-chip{display:flex;align-items:center;gap:4px;background:#094771;color:#d4d4d4;font-size:11px;padding:2px 6px;border-radius:3px}.chat-attached-file-chip button{background:none;border:none;color:#f48771;cursor:pointer;font-size:10px;padding:0;line-height:1}.chat-image-preview{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#252526;border-top:1px solid #3e3e42;flex-shrink:0}.chat-image-preview img{max-height:60px;border-radius:4px}.chat-image-preview button{background:none;border:none;color:#f48771;cursor:pointer;font-size:16px}.chat-file-picker{border-top:1px solid #3e3e42;background:#252526;max-height:180px;display:flex;flex-direction:column;flex-shrink:0}.chat-file-picker-header{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:11px;color:#888;border-bottom:1px solid #3e3e42}.chat-file-picker-header button{background:none;border:none;color:#f48771;cursor:pointer;font-size:14px;padding:0 4px}.chat-file-picker-list{overflow-y:auto;flex:1;padding:4px 0}.chat-file-picker-item{display:flex;align-items:center;gap:6px;padding:3px 12px;font-size:12px;color:#d4d4d4;cursor:pointer}.chat-file-picker-item:hover{background:#2d2d2d}.chat-file-picker-item input{accent-color:#4fc3f7}.chat-file-picker-empty{padding:12px;text-align:center;color:#666;font-size:12px}.chat-attach-btn.active{color:#4fc3f7;background:#094771;border-radius:4px}.chat-input-area{display:flex;align-items:flex-end;gap:6px;padding:8px 12px;background:#252526;border-top:1px solid #3e3e42;flex-shrink:0}.chat-attach-btn{background:none;border:none;color:#888;cursor:pointer;font-size:18px;padding:4px;flex-shrink:0}.chat-attach-btn:hover{color:#d4d4d4}.chat-input{flex:1;background:#3e3e42;color:#d4d4d4;border:1px solid #555;border-radius:4px;padding:8px 10px;font-size:13px;font-family:inherit;resize:none;outline:none;min-height:44px;max-height:200px}.chat-input:focus{border-color:#4fc3f7}.chat-send-btn{background:#094771;color:#fff;border:none;border-radius:4px;padding:8px 16px;cursor:pointer;font-size:13px;font-weight:500;flex-shrink:0}.chat-send-btn:hover:not(:disabled){background:#0d5a8a}.chat-send-btn:disabled{opacity:.4;cursor:not-allowed}.live-preview{display:flex;flex-direction:column;height:100%;background:#1e1e1e}.preview-start{display:flex;align-items:center;justify-content:center;height:100%;padding:20px}.preview-start-content{text-align:center;max-width:260px}.preview-start-content h3{margin:0 0 8px;color:#d4d4d4;font-size:15px}.preview-start-content p{color:#888;font-size:12px;line-height:1.5;margin:0 0 16px}.preview-start-form{display:flex;gap:6px}.preview-start-form input{flex:1;padding:8px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px;font-size:13px}.preview-start-form button{padding:8px 16px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;white-space:nowrap}.preview-toolbar{display:flex;align-items:center;padding:5px 8px;background:#252526;border-bottom:1px solid #3e3e42;gap:6px;flex-shrink:0}.preview-btn{padding:3px 7px;background:#3c3c3c;color:#ccc;border:1px solid #555;border-radius:3px;cursor:pointer;font-size:13px;flex-shrink:0}.preview-btn:hover{background:#4a4a4a;color:#fff}.preview-url-form{flex:1;display:flex}.preview-url-input{flex:1;padding:4px 8px;background:#1e1e1e;border:1px solid #555;color:#d4d4d4;border-radius:3px;font-size:12px;font-family:monospace;min-width:0}.preview-url-input:focus{outline:none;border-color:#094771}.preview-iframe{flex:1;border:none;width:100%;background:#fff}.preview-waiting{flex:1;display:flex;align-items:center;justify-content:center;color:#666;font-size:13px;background:#1e1e1e}.preview-error{padding:6px 10px;background:#3a1b1b;color:#f48771;font-size:11px}.preview-env-warning{padding:6px 12px;background:#3a3a00;color:#e2b714;font-size:11px;flex-shrink:0;border-bottom:1px solid #555500}.deploy-panel{display:flex;flex-direction:column;height:100%;background:#1e1e1e;font-size:12px;overflow-y:auto}.deploy-status{font-size:11px;padding:2px 8px;border-radius:3px}.status-running{background:#1b3a1b;color:#6a9955}.status-stopped{background:#3a1b1b;color:#f48771}.status-unknown{background:#3a3a1b;color:#e2b714}.deploy-setup{padding:12px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid #3e3e42}.deploy-setup label{display:flex;flex-direction:column;gap:4px;color:#999;font-size:11px}.deploy-setup select,.deploy-setup input{padding:6px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px}.deploy-setup button{padding:6px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer}.deploy-controls{display:flex;gap:6px;padding:12px;flex-wrap:wrap;border-bottom:1px solid #3e3e42}.deploy-btn{padding:6px 14px;border:none;border-radius:3px;cursor:pointer;font-size:12px;flex:1;background:#094771;color:#fff}.deploy-btn.start{background:#1b6b1b}.deploy-btn.stop{background:#6b1b1b}.deploy-btn:disabled{opacity:.5;cursor:not-allowed}.deploy-message{padding:6px 12px;background:#094771;color:#d4d4d4;font-size:11px}.deploy-logs{padding:8px 12px;border-top:1px solid #3e3e42}.deploy-logs h4{margin:0 0 6px;font-size:11px;color:#999;text-transform:uppercase}.log-line{font-family:monospace;font-size:11px;color:#d4d4d4;padding:1px 0}.dashboard-panel{display:flex;flex-direction:column;height:100%;background:#1e1e1e;font-size:12px;overflow-y:auto}.dashboard-loading{padding:20px;text-align:center;color:#666}.dashboard-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.stat-card{padding:12px;border-radius:6px;background:#2d2d2d}.stat-card h4{margin:0 0 6px;font-size:11px;color:#999;text-transform:uppercase}.stat-value{font-size:20px;font-weight:700;color:#4fc3f7}.stat-detail{font-size:11px;color:#888;margin-top:4px}.dashboard-containers{padding:12px;border-top:1px solid #3e3e42}.dashboard-containers h4{margin:0 0 8px;font-size:11px;color:#999;text-transform:uppercase}.container-list{display:flex;flex-direction:column;gap:6px}.container-item{padding:8px;background:#2d2d2d;border-radius:4px;display:flex;flex-direction:column;gap:2px}.container-name{color:#d4d4d4;font-weight:500}.container-status{font-size:11px}.container-status.up{color:#6a9955}.container-status.down{color:#f48771}.container-ports{font-size:10px;color:#888;font-family:monospace}.no-containers{color:#666;text-align:center;padding:12px;font-style:italic}.dashboard-info-bar{display:flex;gap:16px;padding:8px 12px;color:#888;font-size:11px;background:#252526;border-bottom:1px solid #3e3e42}.dashboard-info-bar strong{color:#d4d4d4}.dashboard-last-update{text-align:center;font-size:10px;color:#666;padding:4px 12px 0}.devserver-section{padding:12px;border-bottom:1px solid #3e3e42}.devserver-section h4{margin:0 0 8px;font-size:11px;color:#999;text-transform:uppercase}.devserver-info{background:#2d2d2d;border-radius:6px;padding:10px;display:flex;flex-direction:column;gap:6px}.devserver-status-row{display:flex;align-items:center;gap:8px}.devserver-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.devserver-dot.running{background:#6a9955;box-shadow:0 0 4px #6a9955}.devserver-dot.stopped{background:#666}.devserver-status-text{color:#d4d4d4;font-size:12px}.devserver-status-text.muted{color:#666}.devserver-type{font-size:11px;color:#4fc3f7}.devserver-command{font-size:10px;color:#888;font-family:monospace;word-break:break-all}.devserver-actions{display:flex;gap:6px;margin-top:4px}.devserver-start{background:#094771!important;color:#fff!important}.devserver-restart{background:#3a3a00!important;color:#e2b714!important}.snapshots-panel{display:flex;flex-direction:column;height:100%;background:#1e1e1e}.snapshot-create-form{display:flex;gap:6px;padding:10px 12px;border-bottom:1px solid #3e3e42}.snapshot-create-form input{flex:1;padding:6px 8px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px;font-size:12px}.snapshot-create-form button{padding:6px 12px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:12px;white-space:nowrap}.snapshot-create-form button:disabled{opacity:.5}.snapshot-message{padding:4px 12px;font-size:11px;color:#6a9955;background:#1b3a1b}.snapshot-list{flex:1;overflow-y:auto;padding:8px}.snapshot-loading,.snapshot-empty{color:#666;text-align:center;padding:20px;font-size:12px}.snapshot-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#2d2d2d;border-radius:4px;margin-bottom:6px}.snapshot-info{display:flex;flex-direction:column;gap:2px}.snapshot-info strong{font-size:12px;color:#d4d4d4}.snapshot-meta{font-size:10px;color:#888}.snapshot-actions{display:flex;gap:4px}.snapshot-actions button{padding:3px 8px;border:none;border-radius:3px;cursor:pointer;font-size:10px;background:#094771;color:#fff}.snapshot-delete{background:#6b1b1b!important}.git-panel{display:flex;flex-direction:column;height:100%;background:#1e1e1e;font-size:12px;overflow-y:auto}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #3e3e42}.panel-header h3{margin:0;font-size:13px;color:#d4d4d4}.panel-btn{padding:3px 10px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px}.git-branch{padding:8px 12px;color:#4fc3f7;border-bottom:1px solid #3e3e42;font-size:12px}.git-actions{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid #3e3e42}.git-actions button{padding:4px 12px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:11px;flex:1}.git-section{border-bottom:1px solid #3e3e42}.git-section h4{margin:0;padding:6px 12px;font-size:11px;color:#999;text-transform:uppercase}.git-changes,.git-commits{list-style:none;margin:0;padding:0}.git-changes li,.git-commits li{padding:4px 12px;display:flex;gap:8px;font-size:12px;color:#d4d4d4}.change-status{width:16px;font-weight:700}.change-modified .change-status{color:#e2b714}.change-untracked .change-status{color:#6a9955}.no-changes{color:#666;font-style:italic}.commit-hash{color:#4fc3f7;font-family:monospace}.commit-msg{color:#d4d4d4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.git-commit-form{padding:8px 12px;border-bottom:1px solid #3e3e42;display:flex;flex-direction:column;gap:6px}.git-commit-form textarea{padding:6px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px;resize:none;font-size:12px}.git-commit-form button{padding:4px 12px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;align-self:flex-end;font-size:11px}.git-clone-form{padding:8px 12px;border-bottom:1px solid #3e3e42;display:flex;flex-direction:column;gap:6px}.git-clone-form input{padding:6px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px;font-size:12px}.git-clone-form button{padding:4px 12px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer;align-self:flex-end;font-size:11px}.git-no-repo{padding:20px;text-align:center;color:#666}.git-no-repo .hint{font-size:11px;margin-top:4px}.git-message{padding:6px 12px;background:#094771;color:#d4d4d4;font-size:11px}.right-activity-bar{display:flex;flex-direction:row;height:100%;background:#252526;border-left:1px solid #3e3e42;flex-shrink:0}.right-panel{width:400px;min-width:400px;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid #3e3e42;background:#1e1e1e}.activity-buttons{display:flex;flex-direction:column;width:48px;min-width:48px;align-items:center;padding:4px 0;gap:2px;background:#333333;overflow-y:auto}.activity-btn{width:40px;height:36px;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;color:#999;border-radius:4px;transition:all .15s}.activity-btn:hover{background:#454545;color:#d4d4d4}.activity-btn.active{color:#4fc3f7;background:#094771}.activity-btn.admin-btn{margin-top:auto}.activity-btn.admin-btn:hover{background:#6b1b1b;color:#f48771}.panel-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#666;font-size:13px}.ide-view{display:flex;flex-direction:column;height:100vh;overflow:hidden}.ide-header{display:flex;justify-content:space-between;align-items:center;padding:6px 16px;background:#252526;border-bottom:1px solid #3e3e42;min-height:40px;flex-shrink:0}.header-left{display:flex;gap:12px;align-items:center}.header-left button{padding:5px 10px;background:transparent;border:1px solid #444;color:#d4d4d4;cursor:pointer;border-radius:4px;font-size:12px}.header-left h2{margin:0;color:#4fc3f7;font-size:16px}.header-center{display:flex;gap:4px}.main-tab{padding:4px 14px;background:transparent;border:none;color:#888;cursor:pointer;font-size:12px;border-radius:3px}.main-tab.active{background:#094771;color:#4fc3f7}.header-right{display:flex;gap:8px;align-items:center;flex-shrink:0}.header-right span{font-size:12px;color:#999}.header-right button,.header-right button.logout-btn{padding:5px 10px;background:transparent;border:1px solid #444;color:#d4d4d4;cursor:pointer;border-radius:4px;font-size:12px}.header-right button.admin-btn-header,button.admin-btn-header{padding:5px 12px;background:#094771;color:#4fc3f7;border:1px solid #4fc3f7;border-radius:4px;cursor:pointer;font-size:12px;font-weight:600}.header-right button.admin-btn-header:hover,button.admin-btn-header:hover{background:#0d5a8a}.agent-btn{font-size:18px!important;padding:2px 8px!important}.ide-content{display:flex;flex:1;min-height:0;overflow:hidden}.ide-main{display:flex;flex:1;flex-direction:column;min-width:0;overflow:hidden}.editor-section{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.editor-tabs{display:flex;background:#252526;border-bottom:1px solid #3e3e42;overflow-x:auto;min-height:32px;flex-shrink:0}.no-tabs-placeholder{padding:6px 14px;color:#666;font-size:12px}.editor-tab{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#2d2d2d;border-right:1px solid #3e3e42;cursor:pointer;font-size:12px;color:#999;white-space:nowrap;-webkit-user-select:none;user-select:none}.editor-tab.active{background:#1e1e1e;color:#d4d4d4;border-bottom:2px solid #4fc3f7}.tab-close{background:transparent;border:none;color:#666;cursor:pointer;font-size:10px;padding:0 2px;line-height:1}.tab-close:hover{color:#f48771}.editor{flex:1;overflow:hidden;background:#1e1e1e;display:flex;flex-direction:column}.logs-panel{flex:1;background:#1e1e1e;overflow-y:auto}.logs-output{padding:8px 12px;font-family:monospace;font-size:11px}.logs-output .log-line{color:#d4d4d4;padding:1px 0}.logs-placeholder{color:#666;text-align:center;padding:20px;font-style:italic}.team-badge{font-size:10px;padding:2px 6px;background:#094771;color:#4fc3f7;border-radius:3px;text-transform:uppercase}.git-status-badge{font-size:11px;padding:2px 8px;background:#2d2d2d;color:#999;border-radius:3px;border:1px solid #3e3e42;cursor:default;display:inline-flex;align-items:center;gap:4px}.git-status-badge .git-dirty{color:#e2b714;font-weight:600}.env-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:20px}.env-modal{background:#252526;border:1px solid #3e3e42;border-radius:8px;padding:32px;max-width:520px;width:100%;max-height:80vh;overflow-y:auto}.env-modal h2{margin:0 0 8px;color:#d4d4d4;font-size:20px}.env-modal-desc{color:#888;font-size:13px;margin:0 0 20px;line-height:1.5}.env-modal-field{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.env-modal-key{color:#d4d4d4;font-size:12px;font-family:monospace;font-weight:600}.env-modal-field input{padding:8px 10px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px;font-size:13px;font-family:monospace}.env-modal-field input:focus{outline:none;border-color:#094771}.env-modal-save{margin-top:8px;padding:10px 32px;background:#094771;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;width:100%}.env-modal-save:hover{background:#0d5a8e}.env-modal-save:disabled{opacity:.6;cursor:default}.admin-panel-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);z-index:1000;display:flex;align-items:center;justify-content:center}.admin-panel{width:90%;max-width:1000px;height:85vh;background:#1e1e1e;border:1px solid #3e3e42;border-radius:8px;display:flex;flex-direction:column;overflow:hidden}.admin-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#252526;border-bottom:1px solid #3e3e42}.admin-header h2{margin:0;font-size:18px;color:#4fc3f7}.close-btn{background:transparent;border:none;color:#999;font-size:20px;cursor:pointer;padding:4px 8px}.close-btn:hover{color:#d4d4d4}.admin-tabs{display:flex;border-bottom:1px solid #3e3e42;background:#252526}.admin-tab-btn{padding:10px 20px;background:transparent;border:none;color:#999;cursor:pointer;font-size:13px;border-bottom:2px solid transparent}.admin-tab-btn:hover{color:#d4d4d4}.admin-tab-btn.active{color:#4fc3f7;border-bottom-color:#4fc3f7;background:#094771}.admin-content{flex:1;overflow-y:auto}.admin-tab{padding:16px}.admin-tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.admin-tab-header h4{margin:0;font-size:14px;color:#d4d4d4}.admin-form{display:flex;flex-direction:column;gap:8px;padding:12px;background:#2d2d2d;border-radius:6px;margin-bottom:12px}.admin-form input{padding:8px;background:#3c3c3c;border:1px solid #555;color:#d4d4d4;border-radius:3px}.admin-form label{display:flex;align-items:center;gap:6px;color:#d4d4d4;font-size:12px}.admin-form button{padding:8px;background:#094771;color:#fff;border:none;border-radius:3px;cursor:pointer}.admin-list{display:flex;flex-direction:column;gap:6px}.admin-list-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#2d2d2d;border-radius:4px}.item-info{display:flex;align-items:center;gap:8px;font-size:13px;color:#d4d4d4;flex-wrap:wrap}.item-detail{font-size:11px;color:#888}.admin-badge{font-size:10px;padding:2px 6px;background:#094771;color:#4fc3f7;border-radius:3px;text-transform:uppercase}.active-badge{font-size:10px;padding:2px 6px;border-radius:3px;text-transform:uppercase}.active-badge.active{background:#1b3a1b;color:#6a9955}.active-badge.inactive{background:#3a1b1b;color:#f48771}.item-actions{display:flex;gap:4px}.item-actions button{padding:4px 10px;border:none;border-radius:3px;cursor:pointer;font-size:11px;background:#094771;color:#fff}.admin-message{padding:6px 12px;background:#094771;color:#d4d4d4;font-size:11px;margin-bottom:8px;border-radius:3px}.admin-logs{display:flex;flex-direction:column;gap:4px}.log-entry{display:flex;gap:12px;padding:6px 10px;font-size:12px;background:#2d2d2d;border-radius:3px;flex-wrap:wrap}.log-user{color:#4fc3f7;font-weight:500;min-width:80px}.log-action{color:#e2b714;min-width:100px}.log-detail{color:#d4d4d4;flex:1}.log-time{color:#888;font-size:11px}.no-data{color:#666;text-align:center;padding:20px;font-style:italic}.dashboard-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.app{display:flex;flex-direction:column;height:100vh;background:#1e1e1e;color:#d4d4d4}.error{color:#f48771;padding:8px;border-radius:4px;background:#3d2626}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#1e1e1e;color:#d4d4d4}#root{height:100vh;overflow:hidden}
