@import"https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&family=IBM+Plex+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}:root{--bg: #1B1720;--surface: #221D2B;--surface-2: #2E2A38;--border: #4A4358;--accent: #9B7CF6;--accent-bright: #B99CFF;--accent-soft: #3A2F5C;--ink: #F1EEF9;--ink-muted: #B0A8C4;--ink-faint: #8579A0;--good: #6FCF97;--bad: #F09A8C;--font-ui: "Archivo", system-ui, sans-serif;--font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--font-ui)}.login-screen{height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse 1300px 760px at 6% -12%,rgba(76,59,154,.5),transparent 60%),var(--bg)}.login-card{width:280px;padding:28px 26px;background:var(--surface);border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 24px 60px -20px #0009}.login-card h1{margin:0 0 8px;font-size:15px;text-align:center;color:var(--accent-bright)}.login-card input{padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:#17131d;color:var(--ink);font-family:var(--font-ui);font-size:14px}.login-card button{padding:11px;border:none;border-radius:8px;background:var(--accent);color:var(--bg);font-weight:700;cursor:pointer}.login-error{color:var(--bad);font-size:12px;text-align:center;min-height:14px}.app-shell{height:100%;display:flex;flex-direction:column}.titlebar{height:42px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:var(--surface);border-bottom:1px solid var(--border);font-size:13px;font-weight:600;color:var(--accent-bright)}.titlebar-actions{display:flex;gap:8px}.titlebar-actions button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:6px;padding:5px 10px;font-size:12px;cursor:pointer;font-family:var(--font-ui)}.titlebar-actions button:hover{border-color:var(--accent)}.app-body{flex:1;display:flex;min-height:0}.sidebar{width:260px;flex:none;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden}.sidebar-tabs{display:flex;border-bottom:1px solid var(--border)}.sidebar-tabs button{flex:1;padding:9px;background:none;border:none;color:var(--ink-faint);cursor:pointer;font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.sidebar-tabs button.active{color:var(--accent-bright);border-bottom:2px solid var(--accent)}.file-tree{flex:1;overflow-y:auto;padding:6px 0}.tree-toolbar{display:flex;gap:6px;padding:6px 10px}.tree-toolbar button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink-muted);border-radius:5px;padding:4px 8px;font-size:11px;cursor:pointer}.tree-row{display:flex;align-items:center;gap:6px;padding:4px 10px;cursor:pointer;font-size:13px;white-space:nowrap}.tree-row:hover{background:var(--surface-2)}.tree-row.active{background:var(--accent-soft);color:var(--accent-bright)}.tree-icon{width:12px;color:var(--ink-faint);font-size:10px}.main-area{flex:1;display:flex;flex-direction:column;min-width:0}.editor-area{flex:1;display:flex;flex-direction:column;min-height:0}.tab-bar{display:flex;background:var(--surface);border-bottom:1px solid var(--border);overflow-x:auto;flex:none}.tab{display:flex;align-items:center;gap:8px;padding:8px 12px;border-right:1px solid var(--border);cursor:pointer;font-size:12.5px;color:var(--ink-muted);white-space:nowrap}.tab.active{background:var(--bg);color:var(--ink)}.tab-close{opacity:.5;font-size:11px}.tab-close:hover{opacity:1}.editor-surface{flex:1;min-height:0}.editor-empty{height:100%;display:flex;align-items:center;justify-content:center;color:var(--ink-faint);font-size:13px}.terminal-panel{height:240px;flex:none;border-top:1px solid var(--border);background:#1b1720;padding:4px}.git-panel{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px;font-size:12.5px}.git-header{display:flex;justify-content:space-between;align-items:center}.git-branch{font-family:var(--font-mono);color:var(--accent-bright);font-size:12px}.git-actions{display:flex;gap:6px}.git-actions button,.commit-btn{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:6px;padding:5px 9px;font-size:11.5px;cursor:pointer}.commit-btn{background:var(--accent);color:var(--bg);font-weight:700;border:none}.commit-btn:disabled{opacity:.4;cursor:default}.commit-box{width:100%;min-height:54px;resize:vertical;background:#17131d;border:1px solid var(--border);border-radius:8px;color:var(--ink);font-family:var(--font-ui);font-size:12.5px;padding:8px}.git-notice{color:var(--ink-muted);font-family:var(--font-mono);font-size:11px}.git-section-label{color:var(--ink-faint);font-family:var(--font-mono);font-size:10.5px;text-transform:uppercase;margin-top:6px}.git-file-row{display:flex;align-items:center;gap:6px}.git-file-status{width:46px;flex:none;color:var(--accent-bright);font-family:var(--font-mono);font-size:10.5px}.git-file-path{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.git-file-path:hover{color:var(--accent-bright)}.git-file-row button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:4px;width:22px;cursor:pointer}.diff-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;flex-direction:column;z-index:50;padding:20px}.diff-header{display:flex;justify-content:space-between;align-items:center;color:var(--ink);font-family:var(--font-mono);font-size:12px;margin-bottom:8px}.diff-header button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:6px;padding:6px 12px;cursor:pointer}.quickopen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;z-index:60}.quickopen-box{width:480px;max-width:90vw;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:0 24px 60px -20px #000000b3}.quickopen-box input{width:100%;padding:13px 14px;background:#17131d;border:none;border-bottom:1px solid var(--border);color:var(--ink);font-family:var(--font-ui);font-size:14px;outline:none}.quickopen-list{max-height:340px;overflow-y:auto}.quickopen-item{padding:8px 14px;font-family:var(--font-mono);font-size:12.5px;color:var(--ink-muted);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quickopen-item.active,.quickopen-item:hover{background:var(--accent-soft);color:var(--accent-bright)}.search-panel{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:6px}.search-input{width:100%;padding:9px 10px;background:#17131d;border:1px solid var(--border);border-radius:7px;color:var(--ink);font-family:var(--font-ui);font-size:13px}.search-status{color:var(--ink-faint);font-family:var(--font-mono);font-size:11px}.search-group{margin-top:4px}.search-file{color:var(--accent-bright);font-family:var(--font-mono);font-size:11.5px;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-match{display:flex;gap:8px;padding:3px 6px;cursor:pointer;font-size:12px;border-radius:4px}.search-match:hover{background:var(--surface-2)}.search-line-no{color:var(--ink-faint);font-family:var(--font-mono);flex:none;width:30px;text-align:right}.search-line-text{color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono)}.git-subtabs{display:flex;gap:4px;border-bottom:1px solid var(--border);padding-bottom:6px}.git-subtabs button{flex:1;background:none;border:1px solid transparent;color:var(--ink-faint);border-radius:6px;padding:5px;font-size:11px;cursor:pointer}.git-subtabs button.active{background:var(--surface-2);color:var(--accent-bright);border-color:var(--border)}.git-log{display:flex;flex-direction:column;gap:8px}.git-commit{padding:6px 0;border-bottom:1px solid var(--border)}.git-commit-subject{font-size:12.5px;color:var(--ink)}.git-commit-meta{font-family:var(--font-mono);font-size:10.5px;color:var(--ink-faint);margin-top:2px}.git-branches{display:flex;flex-direction:column;gap:6px}.git-branch-row{padding:6px 8px;border-radius:6px;cursor:pointer;font-family:var(--font-mono);font-size:12px}.git-branch-row:hover{background:var(--surface-2)}.git-branch-row.current{color:var(--accent-bright);font-weight:600}.git-stash-row{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:5px 0;font-size:12px}.git-stash-row button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:5px;padding:3px 8px;font-size:11px;cursor:pointer}.todo-panel{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:6px}.todo-loading,.todo-empty{color:var(--ink-faint);font-size:12px}.todo-item{padding:6px 8px;border-radius:6px;cursor:pointer;border:1px solid var(--border)}.todo-item:hover{background:var(--surface-2);border-color:var(--accent)}.todo-loc{font-family:var(--font-mono);font-size:10.5px;color:var(--accent-bright)}.todo-text{font-size:12px;color:var(--ink-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-toggle{margin-left:auto;background:var(--surface-2);border:1px solid var(--border);color:var(--ink-muted);border-radius:6px;padding:5px 10px;font-size:11px;cursor:pointer;align-self:center;margin-right:8px}.md-toggle:hover{color:var(--accent-bright);border-color:var(--accent)}.markdown-preview{height:100%;overflow-y:auto;padding:24px 32px;color:var(--ink);line-height:1.6}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{color:var(--accent-bright)}.markdown-preview code{background:var(--surface-2);padding:2px 5px;border-radius:4px;font-family:var(--font-mono);font-size:.9em}.markdown-preview pre{background:var(--surface-2);padding:12px;border-radius:8px;overflow-x:auto}.markdown-preview a{color:var(--accent-bright)}.image-preview{height:100%;display:flex;align-items:center;justify-content:center;background:#100d15}.image-preview img{max-width:90%;max-height:90%;object-fit:contain}.blame-decoration{color:#6b6280!important;font-style:italic}.deploy-panel{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px;font-size:12.5px}.deploy-status{color:var(--ink-faint);font-size:12px}.deploy-appname{font-family:var(--font-mono);color:var(--accent-bright);font-size:13px}.deploy-actions{display:flex;gap:6px;flex-wrap:wrap}.deploy-actions button{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);border-radius:6px;padding:6px 10px;font-size:11.5px;cursor:pointer}.deploy-actions button:hover:not(:disabled){border-color:var(--accent);color:var(--accent-bright)}.deploy-actions button:disabled{opacity:.4;cursor:default}.deploy-result{font-weight:700;font-size:12px}.deploy-result.ok{color:var(--good)}.deploy-result.fail{color:var(--bad)}.deploy-log{flex:1;overflow-y:auto;background:#100d15;border:1px solid var(--border);border-radius:8px;padding:8px;font-family:var(--font-mono);font-size:11px;color:var(--ink-muted);min-height:120px;max-height:50vh}.deploy-log-line{white-space:pre-wrap;word-break:break-all}
