:root{--bg: #0f1115;--bg-elev: #161a21;--bg-elev-2: #1c222b;--border: #262d38;--border-light: #313a47;--text: #e6e9ef;--text-dim: #9aa4b2;--text-faint: #6b7482;--primary: #4f8cff;--primary-dim: #2f5bb7;--success: #37b24d;--warning: #f59f00;--danger: #e03131;--danger-dim: #a12626;--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;--sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{margin:0 0 .4em;font-weight:600}h1{font-size:22px}h2{font-size:18px}h3{font-size:15px}p{margin:0 0 .8em}code,pre{font-family:var(--mono)}.muted{color:var(--text-dim)}.faint{color:var(--text-faint)}.small{font-size:12px}.mono{font-family:var(--mono)}.right{text-align:right}.nowrap{white-space:nowrap}.grow{flex:1}.row{display:flex;align-items:center;gap:10px}.col{display:flex;flex-direction:column;gap:10px}.wrap{flex-wrap:wrap}.between{justify-content:space-between}.gap-4{gap:4px}.gap-8{gap:8px}.gap-16{gap:16px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mb-8{margin-bottom:8px}.hidden{display:none}.app{display:flex;min-height:100%}.sidebar{width:240px;flex-shrink:0;background:var(--bg-elev);border-right:1px solid var(--border);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar .brand{display:flex;align-items:center;gap:10px;padding:18px;font-weight:700;font-size:16px}.sidebar .brand svg{color:var(--primary)}.nav{padding:8px;display:flex;flex-direction:column;gap:2px}.nav .section{padding:14px 12px 6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-faint)}.nav a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:var(--text-dim);font-weight:500}.nav a:hover{background:var(--bg-elev-2);color:var(--text);text-decoration:none}.nav a.active{background:var(--primary-dim);color:#fff}.sidebar .footer{margin-top:auto;padding:14px;border-top:1px solid var(--border);font-size:12px;color:var(--text-dim)}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:60px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;padding:0 24px;background:var(--bg-elev);position:sticky;top:0;z-index:5}.content{padding:24px;max-width:1200px;width:100%;margin:0 auto}.card{background:var(--bg-elev);border:1px solid var(--border);border-radius:12px;padding:18px}.card.pad-0{padding:0}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.grid{display:grid;gap:16px}.grid.cols-2{grid-template-columns:repeat(2,1fr)}.grid.cols-3{grid-template-columns:repeat(3,1fr)}.grid.auto{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}@media (max-width: 800px){.grid.cols-2,.grid.cols-3{grid-template-columns:1fr}.sidebar{width:64px}.sidebar .brand span,.nav a span,.nav .section{display:none}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 14px;border-radius:8px;border:1px solid var(--border-light);background:var(--bg-elev-2);color:var(--text);font:inherit;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s,opacity .12s}.btn:hover{background:#232b36}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:#3f7ef0}.btn.success{background:var(--success);border-color:var(--success);color:#fff}.btn.warning{background:var(--warning);border-color:var(--warning);color:#201400}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.danger:hover{background:#c92a2a}.btn.ghost{background:transparent}.btn.sm{padding:5px 10px;font-size:12px}.btn.icon{padding:8px}.input,.select,textarea{width:100%;padding:9px 12px;border-radius:8px;border:1px solid var(--border-light);background:var(--bg);color:var(--text);font:inherit;outline:none}.input:focus,.select:focus,textarea:focus{border-color:var(--primary)}label{display:block;font-size:12px;color:var(--text-dim);margin-bottom:5px;font-weight:500}.field{margin-bottom:14px}textarea{font-family:var(--mono);resize:vertical}.checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.checkbox input{width:auto}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:20px;font-size:12px;font-weight:600;border:1px solid transparent}.badge .dot{width:7px;height:7px;border-radius:50%;background:currentColor}.badge.running{color:#69db7c;background:#37b24d1f}.badge.stopped{color:#ff8787;background:#e031311f}.badge.pending{color:#ffd43b;background:#f59f001f}.badge.neutral{color:var(--text-dim);background:var(--bg-elev-2)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--border)}th{font-size:12px;color:var(--text-faint);text-transform:uppercase;letter-spacing:.04em;font-weight:600}tbody tr:hover{background:var(--bg-elev-2)}tr:last-child td{border-bottom:none}.clickable{cursor:pointer}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:20px;overflow-x:auto}.tabs a{padding:10px 14px;color:var(--text-dim);font-weight:500;border-bottom:2px solid transparent;white-space:nowrap}.tabs a:hover{color:var(--text);text-decoration:none}.tabs a.active{color:var(--text);border-bottom-color:var(--primary)}.console{background:#0a0c10;border:1px solid var(--border);border-radius:10px;padding:10px;height:460px}.console .xterm{height:100%}.cmd-input{display:flex;gap:8px;margin-top:10px}.cmd-input .input{font-family:var(--mono)}.stat{background:var(--bg-elev);border:1px solid var(--border);border-radius:10px;padding:14px}.stat .label{font-size:12px;color:var(--text-dim)}.stat .value{font-size:22px;font-weight:700;margin-top:2px}.bar{height:6px;border-radius:4px;background:var(--bg-elev-2);overflow:hidden;margin-top:10px}.bar>span{display:block;height:100%;background:var(--primary)}.bar>span.warn{background:var(--warning)}.bar>span.crit{background:var(--danger)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:50;padding:20px}.modal{background:var(--bg-elev);border:1px solid var(--border);border-radius:14px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto}.modal.lg{max-width:780px}.modal-head{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal-body{padding:20px}.modal-foot{padding:16px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}.spinner{width:22px;height:22px;border:3px solid var(--border-light);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.center{display:flex;align-items:center;justify-content:center}.page-center{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.error-banner{background:#e031311f;border:1px solid var(--danger-dim);color:#ffc9c9;padding:10px 14px;border-radius:8px}.empty{padding:40px;text-align:center;color:var(--text-dim)}.breadcrumb{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-family:var(--mono);font-size:13px}.breadcrumb a{color:var(--primary)}.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px}.kv .k{color:var(--text-dim)}.tag{font-family:var(--mono);font-size:12px;padding:2px 7px;border-radius:6px;background:var(--bg-elev-2);border:1px solid var(--border)}.toast-wrap{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:8px;z-index:100}.toast{background:var(--bg-elev-2);border:1px solid var(--border-light);border-left:3px solid var(--primary);padding:12px 16px;border-radius:8px;min-width:260px;box-shadow:0 8px 24px #0006}.toast.error{border-left-color:var(--danger)}.toast.success{border-left-color:var(--success)}/**
 * 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}
