@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";/**
 * 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: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{-webkit-user-select:text;user-select:text;white-space:pre}.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}*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #0a0a0a;--bg-surface: #141414;--bg-elevated: #1c1c1e;--bg-hover: #2c2c2e;--text: #f5f5f7;--text-2: #98989d;--text-3: #636366;--accent: #0a84ff;--accent-glow: rgba(10,132,255,.15);--green: #30d158;--orange: #ff9f0a;--red: #ff453a;--border: rgba(255,255,255,.08);--sidebar-w: 240px;--t: .2s ease}html,body,#root{height:100%;overflow:hidden}body{font-family:Inter,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}#root{display:flex}.sidebar{width:var(--sidebar-w);background:var(--bg-surface);border-right:1px solid var(--border);display:flex;flex-direction:column;height:100vh;flex-shrink:0;transform:translate(0);transition:transform .3s cubic-bezier(.25,.1,.25,1);z-index:50}.sidebar.hidden{transform:translate(calc(-1 * var(--sidebar-w)));width:0;min-width:0;border:none;overflow:hidden}.sb-head{padding:14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.sb-head h2{font-size:14px;font-weight:600}.sb-list{flex:1;overflow-y:auto;padding:6px}.sb-list::-webkit-scrollbar{width:3px}.sb-list::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:3px}.ws-item{padding:9px 10px;border-radius:8px;cursor:pointer;transition:all var(--t);display:flex;align-items:center;gap:8px;margin-bottom:1px;position:relative}.ws-item:hover{background:var(--bg-hover)}.ws-item.active{background:var(--accent)}.ws-dot{width:7px;height:7px;border-radius:50%;background:var(--green);flex-shrink:0}.ws-label{font-size:12px;font-weight:500;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-cwd{font-size:9px;color:var(--text-3);font-family:JetBrains Mono,monospace}.ws-item.active .ws-cwd{color:#ffffff80}.ws-del{position:absolute;top:5px;right:5px;width:18px;height:18px;border-radius:50%;border:none;background:#ff453a1a;color:var(--red);font-size:9px;cursor:pointer;display:none;align-items:center;justify-content:center}.ws-item:hover .ws-del{display:flex}.sb-foot{padding:10px 14px;border-top:1px solid var(--border);font-size:10px;color:var(--text-3);display:flex;align-items:center;gap:5px}.main{flex:1;display:flex;flex-direction:column;height:100vh;min-width:0}.topbar{height:40px;padding:0 10px;background:var(--bg-surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:6px;flex-shrink:0}.tb-btn{width:30px;height:30px;border-radius:6px;border:none;background:transparent;color:var(--text-2);font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--t)}.tb-add{background:var(--accent)!important;color:#fff!important;border-radius:50%!important;width:24px!important;height:24px!important;font-size:14px!important;font-weight:700;margin:0 4px}.tb-add:hover{background:#0070e0!important}.tb-title{font-size:12px;font-weight:500;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tb-tabs{display:flex;gap:1px}.tb-tab{padding:4px 8px;border-radius:5px;border:none;background:transparent;color:var(--text-3);font-size:11px;font-weight:500;cursor:pointer;transition:all var(--t)}.tb-tab:hover{background:var(--bg-hover);color:var(--text-2)}.tb-tab.active{background:var(--accent-glow);color:var(--accent)}.view-area{flex:1;overflow:hidden;display:flex;flex-direction:column}.terminal-wrap{flex:1;overflow:hidden;padding:2px;background:var(--bg)}.terminal-wrap .xterm{height:100%}.browser-wrap{flex:1;overflow:hidden;background:var(--bg);display:flex;flex-direction:column}.browser-bar{height:36px;padding:0 8px;background:var(--bg-surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:6px}.browser-bar input{flex:1;height:26px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:11px;font-family:JetBrains Mono,monospace;outline:none}.browser-bar input:focus{border-color:var(--accent)}.browser-frame{flex:1;border:none}.screen-wrap{flex:1;overflow:hidden;background:var(--bg);display:flex;flex-direction:column}.screen-bar{height:36px;padding:0 8px;background:var(--bg-surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:6px}.screen-bar input{flex:1;height:26px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:11px;font-family:JetBrains Mono,monospace;outline:none}.screen-bar input:focus{border-color:var(--accent)}.screen-canvas-wrap{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;background:#111}.screen-canvas-wrap canvas{cursor:crosshair}.composer{padding:6px 10px 10px;background:var(--bg-surface);border-top:1px solid var(--border);flex-shrink:0}.cp-box{display:flex;align-items:center;gap:6px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:10px;padding:5px 5px 5px 10px;transition:all var(--t)}.cp-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-glow)}.cp-box input{flex:1;border:none;background:none;font-family:inherit;font-size:12px;color:var(--text);outline:none;min-width:0}.cp-box input::placeholder{color:var(--text-3)}.cp-btn{width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:var(--text-3);font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--t);flex-shrink:0}.cp-btn:hover{background:var(--bg-hover);color:var(--text-2)}.cp-btn.active{color:var(--red);animation:pulse 1.5s infinite}.cp-btn.tts-active{color:var(--accent);background:var(--accent-glow)}.cp-send{background:var(--accent);color:#fff}.cp-send:hover{background:#0070e0}.cp-send:disabled{background:var(--bg-hover);color:var(--text-3);cursor:default}.mic-btn{user-select:none;-webkit-user-select:none;touch-action:none}.tts-btn.tts-active{color:var(--accent);background:var(--accent-glow)}.cp-recording{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;border-radius:10px;background:linear-gradient(135deg,#ff453a26,#ff453a14);border:1px solid rgba(255,69,58,.3);cursor:pointer;user-select:none;-webkit-user-select:none;animation:recPulse 1.5s ease-in-out infinite}@keyframes recPulse{0%,to{border-color:#ff453a4d}50%{border-color:#ff453a99}}.cp-rec-pulse{width:10px;height:10px;border-radius:50%;background:var(--red);animation:pulse 1s infinite}.cp-rec-text{font-size:13px;font-weight:600;color:var(--red)}.cp-rec-hint{font-size:10px;color:var(--text-3)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .15s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:var(--bg-elevated);border:1px solid var(--border);border-radius:14px;padding:20px;width:360px;max-width:92vw;animation:scaleIn .2s ease}@keyframes scaleIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.modal h3{font-size:15px;font-weight:600;margin-bottom:14px}.fg{margin-bottom:12px}.fg label{display:block;font-size:10px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px}.fg input,.fg textarea{width:100%;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font-family:inherit;font-size:12px;outline:none;transition:all var(--t)}.fg input:focus{border-color:var(--accent)}.fg textarea{resize:vertical;min-height:50px;font-family:inherit}.modal-btns{display:flex;gap:6px;justify-content:flex-end;margin-top:14px}.btn-cancel{padding:7px 14px;border-radius:7px;border:1px solid var(--border);background:transparent;color:var(--text-2);font-size:12px;cursor:pointer}.btn-ok{padding:7px 14px;border-radius:7px;border:none;background:var(--accent);color:#fff;font-size:12px;font-weight:600;cursor:pointer}.btn-ok:disabled{background:var(--bg-hover);color:var(--text-3)}.empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-3);gap:6px}.empty h2{font-size:16px;color:var(--text-2)}.empty p{font-size:11px;max-width:200px;text-align:center;line-height:1.5}.auth-screen{display:flex;align-items:center;justify-content:center;height:100vh;background:var(--bg)}.auth-card,.auth-card input{text-align:center}.otp-input{font-size:22px;letter-spacing:10px;font-family:JetBrains Mono,monospace;text-align:center}@media(max-width:768px){:root{--sidebar-w: 100vw}.sidebar:not(.hidden){position:fixed}}
