/**
 * 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}:root{--bg: #0a0a0a;--bg-elev: #121212;--bg-tab: #1a1a1a;--border: #2a2a2a;--fg: #e5e5e5;--fg-muted: #909090;--accent: #4ea1ff;--danger: #ff5d5d;--radius: 6px;--font-mono: "JetBrains Mono", "SF Mono", Menlo, Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100vw;height:100vh;background:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:hidden}#app{display:flex;flex-direction:column;height:100%}.status{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:var(--bg);color:var(--fg-muted);font-family:var(--font-mono);font-size:13px;z-index:100;letter-spacing:.02em;transition:opacity .2s ease-out}.status.hidden{opacity:0;pointer-events:none}.status.error{color:var(--danger)}.tabbar{display:flex;align-items:stretch;background:var(--bg-tab);border-bottom:1px solid var(--border);height:36px;padding:0 6px;flex-shrink:0;-webkit-user-select:none;user-select:none}.tab{display:inline-flex;align-items:center;gap:8px;height:100%;padding:0 14px;color:var(--fg-muted);font-size:12px;font-family:var(--font-mono);cursor:pointer;border-right:1px solid var(--border);position:relative;min-width:120px;max-width:220px}.tab:hover{color:var(--fg);background:#ffffff08}.tab.active{color:var(--fg);background:var(--bg)}.tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--accent)}.tab-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-close{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:3px;color:var(--fg-muted);font-size:14px;line-height:1;opacity:.6;flex-shrink:0}.tab-close:hover{background:#ffffff1a;color:var(--fg);opacity:1}.tab-new{display:inline-flex;align-items:center;justify-content:center;height:100%;width:36px;color:var(--fg-muted);font-size:16px;cursor:pointer}.tab-new:hover{color:var(--fg);background:#ffffff0d}.tabbar-spacer{flex:1}.tabbar-meta{display:inline-flex;align-items:center;height:100%;padding:0 10px;color:var(--fg-muted);font-size:11px;font-family:var(--font-mono);letter-spacing:.02em}.terminals{flex:1;display:flex;flex-direction:row;background:var(--bg);overflow:hidden;min-height:0}.term-pane{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;border-right:1px solid var(--border)}.term-pane:last-child{border-right:none}.term-pane.dim{opacity:.85}.term-host{flex:1;min-height:0;padding:8px 10px;background:var(--bg)}.term-host .xterm,.term-host .xterm-viewport,.term-host .xterm-screen{height:100%}
