:root{--bg: #1e1e1e;--bg-darker: #181818;--bg-darkest: #111;--fg: #d4d4d4;--fg-dim: #888;--border: #333;--accent: #007acc;--accent-hover: #1f8ad2;--danger: #f48771;--success: #89d185;--tab-active: #1e1e1e;--tab-inactive: #2d2d2d;--tab-hover: #383838}*{box-sizing:border-box;margin:0;padding:0}html,body,#app{height:100%;width:100%;overflow:hidden}body{background:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}#login-page{display:flex;align-items:center;justify-content:center;height:100%;background:var(--bg-darkest)}.login-card{background:var(--bg);padding:32px 40px;border-radius:8px;border:1px solid var(--border);width:340px;box-shadow:0 12px 40px #00000080}.login-card h1{font-size:18px;margin-bottom:8px;text-align:center;color:var(--fg)}.login-card .subtitle{text-align:center;color:var(--fg-dim);font-size:12px;margin-bottom:24px}.login-card .error{color:var(--danger);font-size:12px;margin-bottom:8px;min-height:16px}.login-card input{width:100%;padding:10px 12px;margin-bottom:12px;background:var(--bg-darker);color:var(--fg);border:1px solid var(--border);border-radius:4px;font-size:13px;outline:none;transition:border .15s}.login-card input:focus{border-color:var(--accent)}.login-card button{width:100%;padding:10px;margin-top:4px;background:var(--accent);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .15s}.login-card button:hover:not(:disabled){background:var(--accent-hover)}.login-card button:disabled{opacity:.6;cursor:not-allowed}.login-card .hint{color:var(--fg-dim);font-size:11px;margin-top:14px;text-align:center}#main-page{display:flex;flex-direction:column;height:100%}#tab-bar{display:flex;align-items:center;background:var(--bg-darker);border-bottom:1px solid var(--border);height:36px;flex-shrink:0;overflow-x:auto;overflow-y:hidden}#tab-bar::-webkit-scrollbar{height:0}.tab{display:flex;align-items:center;padding:0 8px 0 14px;height:100%;background:var(--tab-inactive);border-right:1px solid var(--border);cursor:pointer;min-width:130px;max-width:220px;-webkit-user-select:none;user-select:none;position:relative}.tab:hover{background:var(--tab-hover)}.tab.active{background:var(--tab-active)}.tab.active:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--accent)}.tab .title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.tab .close{width:18px;height:18px;line-height:16px;text-align:center;border-radius:3px;color:#888;margin-left:8px;font-size:14px;flex-shrink:0}.tab .close:hover{background:#444;color:#fff}#new-tab{padding:0 14px;height:100%;cursor:pointer;color:#aaa;border-right:1px solid var(--border);display:flex;align-items:center;font-size:16px;flex-shrink:0}#new-tab:hover{background:var(--tab-inactive);color:#fff}.tab.spacer{flex:1;background:transparent;border:none;cursor:default;min-width:0}.tab.spacer:hover{background:transparent}.tab.user-tab{background:transparent;border:none;min-width:auto;padding:0 14px;color:var(--fg-dim);cursor:pointer}.tab.user-tab:hover{background:var(--tab-inactive);color:var(--fg)}#terminal-area{flex:1;position:relative;background:var(--bg);overflow:hidden}.terminal-container{position:absolute;top:0;right:0;bottom:0;left:0;padding:6px}.terminal-container.hidden{display:none}.term-status{position:absolute;top:6px;right:14px;font-size:11px;color:var(--fg-dim);padding:2px 6px;background:#00000080;border-radius:3px;z-index:10;pointer-events:none;opacity:0;transition:opacity .2s}.term-status.connecting,.term-status.closed{opacity:1}.term-status.connecting{color:#dcdcaa}.term-status.closed{color:var(--danger)}#drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#007acc2e;border:3px dashed var(--accent);display:none;z-index:9999;align-items:center;justify-content:center;font-size:22px;color:#fff;pointer-events:none;font-weight:500;text-shadow:0 1px 3px rgba(0,0,0,.7)}#drop-overlay.active{display:flex}.ctx-menu{position:fixed;background:#252526;border:1px solid #454545;border-radius:4px;padding:4px 0;z-index:10000;min-width:170px;box-shadow:0 6px 20px #0009}.ctx-menu .item{padding:6px 14px;cursor:pointer;color:#ccc;font-size:12px}.ctx-menu .item:hover{background:#094771;color:#fff}.ctx-menu .sep{height:1px;background:#454545;margin:4px 0}.xterm{height:100%;width:100%}.xterm-viewport{background:transparent!important}/**
* 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}
