:root{--bg: #f5f6f8;--panel: #ffffff;--bd: #e2e4e8;--bd-strong: #c9ccd1;--fg: #1f2328;--fg-sub: #656d76;--fg-mute: #8c959f;--accent: #2f6feb;--accent-soft: #eaf1ff;--ok: #1a7f37;--warn: #9a6700;--err: #c0392b;--radius: 10px;--shadow: 0 1px 2px rgba(27, 31, 36, .06), 0 3px 8px rgba(27, 31, 36, .04)}*{box-sizing:border-box}html,body,#app{height:100%}body{margin:0;background:var(--bg);color:var(--fg);font:14px/1.55 system-ui,-apple-system,Segoe UI,Microsoft YaHei,sans-serif}a{color:var(--accent);text-decoration:none}h1,h2,h3{font-weight:500;margin:0 0 12px}h1{font-size:18px}h2{font-size:16px}h3{font-size:14px}code,pre{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.shell{display:flex;flex-direction:column;height:100%}.top{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:0 16px;height:52px;background:var(--panel);border-bottom:1px solid var(--bd);position:sticky;top:0;z-index:10}.top strong{font-size:15px}.top nav{display:flex;gap:4px;flex-wrap:wrap}.top nav a{padding:5px 10px;border-radius:6px;color:var(--fg-sub);font-size:13px}.top nav a:hover{background:#f0f1f3;color:var(--fg)}.top nav a.on{background:var(--accent-soft);color:var(--accent);font-weight:500}.top .who{margin-left:auto;color:var(--fg-sub);font-size:13px}.top .who em{font-style:normal;margin-left:6px;color:var(--fg-mute)}main{flex:1;padding:16px;overflow:auto}button,select,input,textarea{font:inherit;color:var(--fg);background:var(--panel);border:1px solid var(--bd-strong);border-radius:6px;padding:5px 10px}button{cursor:pointer}button:hover{border-color:#a9adb4}button:disabled{opacity:.5;cursor:default}button.ghost{border-color:transparent;color:var(--fg-sub)}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.danger{border-color:#e6b0aa;color:var(--err)}input,textarea,select{outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent)}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.spacer{flex:1}.muted{color:var(--fg-sub)}.mute{color:var(--fg-mute)}.small{font-size:12px}.card{background:var(--panel);border:1px solid var(--bd);border-radius:var(--radius);box-shadow:var(--shadow)}.pad{padding:14px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.badge{display:inline-block;font-size:11px;line-height:1.6;padding:0 7px;border-radius:20px;background:#eef0f2;color:var(--fg-sub);white-space:nowrap}.badge.ok{background:#e7f5ec;color:var(--ok)}.badge.warn{background:#fdf3d8;color:var(--warn)}.badge.err{background:#fdecea;color:var(--err)}.badge.accent{background:var(--accent-soft);color:var(--accent)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b8bcc2}.dot.on{background:var(--ok)}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--bd)}th{color:var(--fg-sub);font-weight:500;background:#fafbfc}tbody tr:hover{background:#fafbfc}pre.out{background:#1f2328;color:#d7dae0;padding:10px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.5;margin:0;white-space:pre-wrap}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f232861;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{background:var(--panel);border-radius:12px;width:min(560px,100%);max-height:88vh;overflow:auto;box-shadow:0 8px 28px #1b1f242e}.modal header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--bd);position:sticky;top:0;background:var(--panel)}.modal header h3{margin:0}.modal .body{padding:16px}.modal footer{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--bd)}label.field{display:block;margin-bottom:12px}label.field span{display:block;margin-bottom:4px;color:var(--fg-sub);font-size:13px}label.field input,label.field select,label.field textarea{width:100%}.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:200}.toast{background:#1f2328;color:#fff;padding:8px 14px;border-radius:8px;font-size:13px;box-shadow:0 4px 14px #0000002e;max-width:340px}.toast.err{background:var(--err)}.toast.ok{background:var(--ok)}.login-wrap{display:flex;align-items:center;justify-content:center;height:100%}.login-box{width:min(360px,92vw)}.login-box h1{text-align:center}.term-host{background:#1f2328;border-radius:8px;padding:8px;min-height:380px}/**
 * 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}
