/**
 * 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}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;min-height:100vh}#root{display:flex;flex-direction:column}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#0d1117;color:#e0e0e0}.shell{min-height:100%;flex:1;display:flex;align-items:center;justify-content:center;padding:1.5rem}.shell--terminal{flex:1;min-height:0;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:.75rem;gap:.75rem}.card{width:100%;max-width:420px;background:#161b22;border:1px solid #30363d;border-radius:10px;padding:1.75rem;box-shadow:0 12px 40px #00000059}.card h1{margin:0 0 .5rem;font-size:1.35rem;font-weight:600}.muted{margin:0 0 1.25rem;color:#8b949e;font-size:.92rem;line-height:1.45}.form label{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;font-size:.88rem;color:#c9d1d9}.form input{padding:.55rem .65rem;border-radius:6px;border:1px solid #30363d;background:#0d1117;color:#e0e0e0;font-size:1rem}.form input:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 2px #388bfd40}.actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.5rem}.button{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1rem;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;border:1px solid transparent;text-decoration:none;background:transparent;color:#e0e0e0}.button:disabled{opacity:.6;cursor:not-allowed}.button.primary{background:#238636;border-color:#2ea043;color:#fff}.button.primary:hover:not(:disabled){background:#2ea043}.button.ghost{border-color:#30363d;background:#21262d}.button.ghost:hover:not(:disabled){background:#30363d}.field-error{color:#f85149;font-size:.88rem;margin-bottom:.5rem}.topbar{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;background:#161b22;border:1px solid #30363d;border-radius:10px}.topbar .title{flex:1;font-weight:600;font-size:.95rem}.banner.error{padding:.4rem .6rem;background:#f8514926;color:#f85149;font-size:.8rem;border-bottom:1px solid #30363d}.terminal-mount{flex:1;min-height:0;position:relative;padding:.5rem 0 0}.terminal-mount .xterm{position:absolute;left:.5rem;right:.5rem;top:.5rem;bottom:.5rem;width:auto!important;height:auto!important;padding:0}.terminal-mount .xterm-viewport{overflow-y:auto!important}.window-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.6rem;padding:.6rem}.window-pane{display:flex;flex-direction:column;min-height:0;border:1px solid #30363d;border-radius:8px;background:#11161d;overflow:hidden}.window-pane--active{border-color:#58a6ff;box-shadow:0 0 0 1px #58a6ff59 inset}.window-pane-header{flex:0 0 auto;padding:.4rem .6rem;border-bottom:1px solid #30363d;color:#9fb3c8;font-size:.82rem}.window-pane-body{flex:1;min-height:0;display:flex;flex-direction:column}.window-pane-body .xterm{height:100%;padding:.35rem}.window-pane-error{flex:0 0 auto;border-top:1px solid #30363d;background:#f8514926;color:#f85149;font-size:.78rem;padding:.25rem .5rem}.terminal-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#9fb3c8;font-size:.95rem}@media (max-width: 900px){.window-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(0,1fr))}}.terminal-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.75rem}.terminal-pane{min-height:0;display:flex;flex-direction:column;border:1px solid #30363d;border-radius:10px;overflow:hidden;background:#0d1117}.terminal-pane__titlebar{height:32px;display:flex;align-items:center;gap:.4rem;padding:0 .6rem;border-bottom:1px solid #30363d;background:#161b22}.terminal-pane__dot{width:10px;height:10px;border-radius:999px;display:inline-block}.terminal-pane__dot--red{background:#ff5f57}.terminal-pane__dot--yellow{background:#ffbd2e}.terminal-pane__dot--green{background:#28ca42}.terminal-pane__title{margin-left:.35rem;color:#8b949e;font-size:.82rem}@media (max-width: 980px){.terminal-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(220px,1fr))}}
