/**
 * 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}.terminal-view[data-v-f6983f46]{display:flex;flex-direction:column;height:100%;min-height:0}.bar[data-v-f6983f46]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .75rem;border-bottom:1px solid var(--border);background:var(--panel-2)}.bar .title[data-v-f6983f46]{font-size:.85rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar .status[data-v-f6983f46]{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;padding:.15rem .45rem;border-radius:999px;border:1px solid var(--border);color:var(--muted)}.bar .status.running[data-v-f6983f46]{color:var(--green);border-color:color-mix(in srgb,var(--green) 50%,transparent)}.bar .status.exited[data-v-f6983f46]{color:var(--red);border-color:color-mix(in srgb,var(--red) 50%,transparent)}.xterm-host[data-v-f6983f46]{flex:1 1 auto;min-height:0;padding:.5rem;overflow:hidden;background:#0b0e14}.toolbar[data-v-f6983f46]{display:flex;flex-wrap:wrap;gap:.4rem .75rem;padding:.5rem;border-top:1px solid var(--border);background:var(--panel-2)}.group[data-v-f6983f46]{display:flex;gap:.3rem}.toolbar button[data-v-f6983f46]{min-width:2.4rem;height:2.4rem;padding:0 .6rem;border-radius:.5rem;border:1px solid var(--border);background:var(--panel);color:var(--text);font-size:.95rem}.toolbar button[data-v-f6983f46]:active{background:var(--accent);color:#06121f}.toolbar .yn[data-v-f6983f46]{font-weight:700}@media(max-width:600px){.toolbar[data-v-f6983f46]{gap:.35rem .5rem}.toolbar button[data-v-f6983f46]{min-width:2.7rem;height:2.7rem}}.login[data-v-7a48efeb]{display:grid;place-items:center;height:100%;padding:1rem}.card[data-v-7a48efeb]{width:min(380px,100%);display:flex;flex-direction:column;gap:.85rem;padding:1.5rem;background:var(--panel);border:1px solid var(--border);border-radius:.9rem}.card h1[data-v-7a48efeb]{margin:0;font-size:1.4rem}.card .sub[data-v-7a48efeb]{margin:-.6rem 0 .4rem;color:var(--muted);font-size:.9rem}.card label[data-v-7a48efeb]{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem;color:var(--muted)}.card input[data-v-7a48efeb]{padding:.6rem .7rem;border-radius:.55rem;border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit}.primary[data-v-7a48efeb]{margin-top:.4rem;padding:.7rem;border:0;border-radius:.55rem;background:var(--accent);color:#06121f;font-weight:700}.primary[data-v-7a48efeb]:disabled{opacity:.6}.err[data-v-7a48efeb]{color:var(--red);font-size:.85rem;margin:0}.app[data-v-7a48efeb]{display:flex;height:100%}.sidebar[data-v-7a48efeb]{width:260px;flex:0 0 260px;background:var(--panel);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.sidebar header[data-v-7a48efeb]{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-bottom:1px solid var(--border)}.sidebar .brand[data-v-7a48efeb]{font-weight:700}.sidebar .count[data-v-7a48efeb]{font-size:.75rem;color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:.05rem .5rem}.sidebar ul[data-v-7a48efeb]{list-style:none;margin:0;padding:.5rem;overflow-y:auto}.sidebar li[data-v-7a48efeb]{display:flex;align-items:center;gap:.55rem;padding:.6rem .65rem;border-radius:.5rem;cursor:pointer;font-size:.88rem}.sidebar li[data-v-7a48efeb]:hover{background:var(--panel-2)}.sidebar li.active[data-v-7a48efeb]{background:color-mix(in srgb,var(--accent) 22%,transparent)}.sidebar li.exited .title[data-v-7a48efeb]{color:var(--muted)}.sidebar li .title[data-v-7a48efeb]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar li .badge[data-v-7a48efeb]{font-size:.68rem;color:var(--red)}.sidebar li.empty[data-v-7a48efeb]{color:var(--muted);cursor:default;justify-content:center;padding:1.2rem 0}.sidebar li.empty[data-v-7a48efeb]:hover{background:none}.dot[data-v-7a48efeb]{width:.55rem;height:.55rem;border-radius:50%;background:var(--muted);flex:none}.dot.running[data-v-7a48efeb]{background:var(--green)}.dot.exited[data-v-7a48efeb]{background:var(--red)}.stage[data-v-7a48efeb]{flex:1;min-width:0;position:relative;display:flex}.stage>.terminal-view[data-v-7a48efeb]{flex:1}.toggle[data-v-7a48efeb]{display:none;position:absolute;top:.5rem;left:.5rem;z-index:5;width:2.2rem;height:2.2rem;border-radius:.5rem;border:1px solid var(--border);background:var(--panel);color:var(--text)}.placeholder[data-v-7a48efeb]{margin:auto;color:var(--muted)}.approvals[data-v-7a48efeb]{position:fixed;right:1rem;bottom:1rem;z-index:20;display:flex;flex-direction:column;gap:.6rem;width:min(380px,calc(100vw - 2rem))}.approval-card[data-v-7a48efeb]{background:var(--panel);border:1px solid var(--accent);border-radius:.7rem;padding:.75rem .85rem;box-shadow:0 8px 30px #00000073}.ac-head[data-v-7a48efeb]{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem}.ac-badge[data-v-7a48efeb]{font-size:.62rem;text-transform:uppercase;letter-spacing:.05em;background:color-mix(in srgb,var(--accent) 25%,transparent);color:var(--accent);padding:.1rem .45rem;border-radius:999px}.ac-session[data-v-7a48efeb]{font-size:.75rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ac-tool[data-v-7a48efeb]{font-weight:700;font-size:.95rem;margin-bottom:.35rem;word-break:break-word}.ac-input[data-v-7a48efeb]{margin:0 0 .6rem;max-height:9rem;overflow:auto;background:var(--bg);border:1px solid var(--border);border-radius:.45rem;padding:.5rem;font-size:.78rem;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,Menlo,Consolas,monospace;color:var(--text)}.ac-actions[data-v-7a48efeb]{display:flex;gap:.5rem;justify-content:flex-end}.ac-actions button[data-v-7a48efeb]{flex:1;padding:.55rem;border-radius:.5rem;border:1px solid var(--border);font-weight:700;font-size:.9rem}.ac-actions .allow[data-v-7a48efeb]{background:var(--green);color:#06121f;border-color:var(--green)}.ac-actions .deny[data-v-7a48efeb]{background:var(--panel-2);color:var(--red)}.ac-actions button[data-v-7a48efeb]:active{opacity:.8}@media(max-width:720px){.approvals[data-v-7a48efeb]{left:.6rem;right:.6rem;bottom:.6rem;width:auto}}@media(max-width:720px){.sidebar[data-v-7a48efeb]{position:absolute;z-index:10;height:100%;transform:translate(-100%);transition:transform .18s ease}.sidebar.open[data-v-7a48efeb]{transform:translate(0)}.toggle[data-v-7a48efeb]{display:block}}:root{--bg: #0b0e14;--panel: #11151f;--panel-2: #161b29;--border: #232a3b;--text: #d6dcea;--muted: #8a93a8;--accent: #5aa6ff;--green: #43d17a;--red: #ff6b6b;color-scheme:dark}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}
