/**
 * 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}:root{--bg0: #10140f;--bg1: #171d16;--bg2: #21281f;--line: #334032;--text: #e7efe3;--muted: #9aab93;--accent: #d97706;--accent-dim: #92400e;--ok: #4ade80;--warn: #fbbf24;--bad: #f87171;--run: #38bdf8;--mono: "IBM Plex Mono", ui-monospace, monospace;--sans: "Source Sans 3", "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:var(--sans);color:var(--text);background:radial-gradient(1200px 600px at 10% -10%,#2a3324 0%,transparent 55%),radial-gradient(900px 500px at 100% 0%,#3a2a14 0%,transparent 50%),var(--bg0)}button,input,select{font:inherit}.app{max-width:1200px;margin:0 auto;padding:1.5rem}.topbar{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start;justify-content:space-between;margin-bottom:1.25rem}.brand h1{margin:0;font-size:1.55rem;letter-spacing:-.02em}.brand p{margin:.25rem 0 0;color:var(--muted)}.controls{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.btn{border:1px solid var(--line);background:var(--bg2);color:var(--text);border-radius:8px;padding:.55rem .9rem;cursor:pointer}.btn:hover{border-color:#4b5a48}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-arm{background:linear-gradient(180deg,#3f6b3a,#2d4d2a);border-color:#4f7d49;font-weight:700}.btn-pause{background:linear-gradient(180deg,#8a5a16,#6b4010);border-color:var(--accent);font-weight:700}.btn-kill{background:linear-gradient(180deg,#7f1d1d,#5f1515);border-color:#b91c1c;font-weight:700}.btn-ghost{background:transparent}.panel{background:color-mix(in srgb,var(--bg1) 92%,transparent);border:1px solid var(--line);border-radius:12px;padding:1rem;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.stat{background:var(--bg2);border:1px solid var(--line);border-radius:10px;padding:.8rem}.stat .label{color:var(--muted);font-size:.85rem}.stat .value{margin-top:.2rem;font-family:var(--mono);font-size:1.05rem}.filters{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.9rem}.filters input,.filters select,.login input{background:var(--bg0);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:.55rem .7rem;min-width:180px}.login{max-width:420px;margin:12vh auto}.login h1{margin-top:0}.login form{display:flex;flex-direction:column;gap:.75rem}.login .hint{color:var(--muted);font-size:.92rem}.error{color:var(--bad);margin:.5rem 0 0}.list{display:flex;flex-direction:column;gap:.7rem}.cmd{border:1px solid var(--line);border-radius:10px;background:var(--bg2);overflow:hidden}.cmd-head{width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:.85rem 1rem;cursor:pointer;display:grid;gap:.35rem}.cmd-title-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between}.cmd-title{font-weight:700;font-size:1.05rem}.cmd-desc{color:var(--muted)}.cmd-meta{display:flex;flex-wrap:wrap;gap:.55rem;font-family:var(--mono);font-size:.8rem;color:var(--muted)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:.15rem .55rem;font-family:var(--mono);font-size:.75rem;border:1px solid var(--line)}.badge.running{color:var(--run);border-color:#0369a1}.badge.succeeded{color:var(--ok);border-color:#166534}.badge.failed,.badge.rejected_paused{color:var(--bad);border-color:#7f1d1d}.badge.aborted{color:var(--warn);border-color:#854d0e}.cmd-body{border-top:1px solid var(--line);padding:.85rem 1rem 1rem;display:grid;gap:.75rem}.block-label{color:var(--muted);font-size:.8rem;margin-bottom:.25rem}pre{margin:0;background:var(--bg0);border:1px solid var(--line);border-radius:8px;padding:.7rem;overflow:auto;max-height:280px;font-family:var(--mono);font-size:.8rem;white-space:pre-wrap;word-break:break-word}.empty{color:var(--muted);padding:1.5rem .25rem}.tabs{display:flex;gap:.4rem;margin-bottom:.85rem}.tab{border:1px solid var(--line);background:var(--bg2);color:var(--muted);border-radius:8px;padding:.45rem .9rem;cursor:pointer}.tab.active{color:var(--text);border-color:var(--accent);background:color-mix(in srgb,var(--accent-dim) 45%,var(--bg2))}.term-panel{padding:.75rem}.term-toolbar{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-bottom:.65rem}.term-toolbar select{background:var(--bg0);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:.5rem .65rem}.term-status{color:var(--muted);font-family:var(--mono);font-size:.85rem}.term-host{height:min(62vh,640px);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#0c100c;padding:.35rem}.term-host .xterm{height:100%}.term-host .xterm-viewport{overflow-y:auto!important}@media(max-width:800px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
