*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:#0b0e14;color:#c9d1d9;font:14px/1.4 system-ui,-apple-system,sans-serif}#app{display:flex;flex-direction:column;height:100%}#bar{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#11151c;border-bottom:1px solid #20262f}.brand{font-weight:600;white-space:nowrap}.launcher{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;min-width:0;-webkit-overflow-scrolling:touch;scrollbar-width:none}.launcher::-webkit-scrollbar{display:none}.spacer{flex:1}.conn{font-size:12px;color:#8b949e;white-space:nowrap}button{cursor:pointer;font:inherit}.profile{flex:none;background:#1b2230;color:#c9d1d9;border:1px solid #333;border-radius:6px;padding:4px 10px}.profile:hover{background:#232c3d}.badge{color:#fff;border-radius:4px;padding:1px 6px;font-size:11px;text-transform:uppercase;margin-right:6px;font-weight:600}.badge.sm{font-size:10px;padding:0 5px}#tabs{display:flex;gap:4px;padding:6px 8px 0;background:#0e1219;border-bottom:1px solid #20262f;min-height:36px;overflow-x:auto}.tab{flex:none;background:#171c26;color:#c9d1d9;border:1px solid #2a2f3a;border-bottom:none;border-radius:6px 6px 0 0;padding:5px 9px;display:flex;align-items:center;gap:6px;white-space:nowrap}.tab.active{background:#0b0e14}.tab .x{color:#8b949e;padding:0 2px;border-radius:3px}.tab .x:hover{color:#f85149}.dot{width:8px;height:8px;border-radius:50%;background:#8b949e;flex:none}.dot.connected{background:#3fb950}.dot.connecting{background:#d29922}.dot.disconnected{background:#8b949e}.dot.error{background:#f85149}#panes{flex:1;position:relative;min-height:0}.pane{position:absolute;inset:0;display:none;padding:6px}.pane.show{display:block}.pane .xterm,.pane .xterm-viewport,.pane .xterm-screen{height:100%!important}#gate{position:fixed;inset:0;background:#000000a6;display:flex;align-items:center;justify-content:center}.card{background:#11151c;border:1px solid #2a2f3a;border-radius:10px;padding:22px;width:360px;max-width:90vw}.card h2{margin:0 0 6px;font-size:18px}.card p{color:#8b949e;margin:0 0 14px;font-size:13px}.card input{width:100%;padding:9px;background:#0b0e14;border:1px solid #333;border-radius:6px;color:#c9d1d9}.card button{width:100%;padding:10px;margin-top:10px;background:#238636;color:#fff;border:none;border-radius:6px;font-weight:600}.card button:hover{background:#2ea043}.err{color:#f85149;font-size:12px;min-height:16px;margin-top:10px}.remember{display:flex;align-items:center;gap:6px;color:#8b949e;font-size:13px;margin-top:10px}.forget{background:#1b2230;color:#8b949e;border:1px solid #333;border-radius:6px;padding:3px 8px;font-size:12px}.forget:hover{color:#f85149}.settings-wrap{position:relative}.settings{display:inline-flex;align-items:center;background:#1b2230;color:#8b949e;border:1px solid #2a2f3a;border-radius:6px;padding:2px 9px;font-size:15px;line-height:1.4;cursor:pointer}.settings:hover{color:#c9d1d9}.settings-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:45;display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:150px;padding:10px;background:#11151c;border:1px solid #2a2f3a;border-radius:8px;box-shadow:0 6px 18px #0006}.settings-menu[hidden]{display:none}.settings-menu .conn{white-space:normal}#copyov{position:fixed;inset:0;z-index:50;background:#000000b3;display:flex;align-items:center;justify-content:center;padding:12px}.copyov-card{display:flex;flex-direction:column;width:100%;max-width:760px;height:85%;background:#11151c;border:1px solid #2a2f3a;border-radius:10px;overflow:hidden}.copyov-bar{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #20262f}.copyov-bar button{background:#238636;color:#fff;border:none;border-radius:6px;padding:7px 12px;font-weight:600}.copyov-bar button:last-child{background:#1b2230;color:#c9d1d9;border:1px solid #333}.copyov-hint{flex:1;color:#8b949e;font-size:12px}.copyov-text{flex:1;width:100%;resize:none;border:none;padding:10px;background:#0b0e14;color:#c9d1d9;font:13px/1.45 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;-webkit-user-select:text;user-select:text}#keys{display:flex;gap:4px;padding:6px 8px;background:#11151c;border-top:1px solid #20262f;overflow-x:auto;flex:none;-webkit-overflow-scrolling:touch}#keys:empty{display:none}.key{flex:none;min-width:42px;padding:9px 11px;background:#1b2230;color:#c9d1d9;border:1px solid #2a2f3a;border-radius:6px;font-size:14px;font-family:ui-monospace,Menlo,Consolas,monospace;touch-action:manipulation}.key:active{background:#2d3748}.key.ctrl.on{background:#1f6feb;color:#fff;border-color:#1f6feb}.key.mic.rec{background:#da3633;color:#fff;border-color:#da3633;animation:micpulse 1s ease-in-out infinite}.key.mic.busy{background:#9e6a03;color:#fff;border-color:#9e6a03}@keyframes micpulse{50%{opacity:.55}}.profile .short,.tab .short{display:none}.fstoggle{display:inline-flex;align-items:center;background:#1b2230;color:#8b949e;border:1px solid #2a2f3a;border-radius:6px;padding:2px 9px;font-size:13px;line-height:1.4;cursor:pointer}.fstoggle:hover{color:#c9d1d9}body.fullscreen #bar{height:0;min-height:0;padding:0;border:none;overflow:visible}body.fullscreen #bar>:not(.fstoggle){display:none}body.fullscreen .fstoggle{position:fixed;top:6px;right:8px;z-index:40;opacity:.6;background:#11151c}body.fullscreen .fstoggle:hover{opacity:1}@media(max-width:640px){.brand{display:none}#bar{padding:4px 8px;gap:6px;min-height:0}.profile{font-size:11px;padding:3px 7px}.profile .full{display:none}.profile .short{display:inline}.profile .badge{display:none}.tab{padding:7px 10px;gap:6px}.tab .full{display:none}.tab .short{display:inline}.tab .badge.sm{display:none}.tab .x{padding:2px 5px;margin-left:2px}.conn{font-size:10px}.forget{font-size:10px;padding:2px 6px}}.key.busy{background:#9e6a03;color:#fff;border-color:#9e6a03;animation:micpulse 1s ease-in-out infinite}#dropov{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:#04080fb8;z-index:50;pointer-events:none}#dropov.show{display:flex}.dropov-card{background:#11151c;border:2px dashed #2a2f3a;border-radius:12px;padding:22px 30px;color:#c9d1d9;font-size:16px}/**
 * 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;inset: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;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{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}
