:root{--bg: #1b1b1f;--bg-sidebar: #161618;--bg-soft: #252529;--bg-mute: #313137;--bg-hover: #2a2a30;--divider: rgba(60, 60, 67, .2);--divider-solid: #2e2e34;--accent: #3b82f6;--accent-soft: rgba(59, 130, 246, .12);--accent-hover: rgba(59, 130, 246, .18);--text-1: rgba(255, 255, 255, .87);--text-2: rgba(235, 235, 245, .6);--text-3: rgba(235, 235, 245, .35);--danger: #f56565;--danger-soft: rgba(245, 101, 101, .1)}.light-theme{--bg: #f5f5f7;--bg-sidebar: #e8e8ed;--bg-soft: #ffffff;--bg-mute: #ebebf0;--bg-hover: #dededf;--divider: rgba(0, 0, 0, .08);--divider-solid: #d0d0d8;--accent: #2563eb;--accent-soft: rgba(37, 99, 235, .1);--accent-hover: rgba(37, 99, 235, .18);--text-1: rgba(0, 0, 0, .88);--text-2: rgba(0, 0, 0, .55);--text-3: rgba(0, 0, 0, .35);--danger: #dc2626;--danger-soft: rgba(220, 38, 38, .08)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--text-1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}button{cursor:pointer;font-family:inherit;font-size:13px;border:none;outline:none;transition:background .15s,color .15s,box-shadow .15s,opacity .15s}button:disabled{opacity:.45;cursor:default}.btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:6px;font-weight:500;font-size:13px}.btn-primary{background:var(--accent);color:#fff;border:1px solid transparent}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-soft{background:var(--accent-soft);color:var(--accent);border:1px solid transparent}.btn-soft:hover:not(:disabled){background:var(--accent-hover)}.btn-ghost{background:transparent;color:var(--text-2);border:1px solid var(--divider-solid)}.btn-ghost:hover:not(:disabled){background:var(--bg-hover);color:var(--text-1);border-color:#3a3a40}.btn-danger-ghost{background:transparent;color:var(--text-3);border:1px solid transparent}.btn-danger-ghost:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.btn-sm{padding:4px 10px;font-size:12px;border-radius:5px}input{font-family:inherit;font-size:14px;outline:none;transition:border-color .15s,box-shadow .15s}.input-field{width:100%;background:var(--bg-soft);border:1px solid var(--divider-solid);border-radius:7px;color:var(--text-1);padding:9px 12px}.input-field:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.input-field::placeholder{color:var(--text-3)}.card{background:var(--bg-soft);border:1px solid var(--divider);border-radius:10px}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);padding:10px 16px;border-bottom:1px solid var(--divider-solid)}.data-table td{padding:11px 16px;border-bottom:1px solid var(--divider);vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover td{background:#ffffff06}.code-block{background:#111115;border:1px solid var(--divider-solid);border-radius:8px;padding:14px 16px;font-family:JetBrains Mono,Fira Code,Cascadia Code,Menlo,Consolas,monospace;font-size:12px;color:#9ecc9e;white-space:pre-wrap;word-break:break-all;max-height:280px;overflow-y:auto;line-height:1.7;animation:fade-in .15s ease}.code-block::-webkit-scrollbar{width:4px}.code-block::-webkit-scrollbar-track{background:transparent}.code-block::-webkit-scrollbar-thumb{background:var(--divider-solid);border-radius:4px}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:20px;font-size:12px;font-weight:500}.badge-green{background:var(--accent-soft);color:var(--accent)}.badge-gray{background:#ffffff0f;color:var(--text-2)}.spinner{width:14px;height:14px;border:2px solid var(--divider-solid);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;display:inline-block;flex-shrink:0}.dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;display:inline-block}.dot-green{background:var(--accent);box-shadow:0 0 0 2px #3b82f633}.dot-red{background:var(--danger);box-shadow:0 0 0 2px #ef444433}.dot-yellow{background:#eab308;box-shadow:0 0 0 2px #eab30833}.divider{height:1px;background:var(--divider-solid)}.text-danger{color:var(--danger);font-size:12px}.text-success{color:var(--accent);font-size:12px}.text-muted{color:var(--text-3);font-size:13px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;display:flex;align-items:center;justify-content:center;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-box{background:var(--bg-soft);border:1px solid var(--divider-solid);border-radius:12px;padding:28px;width:100%;max-width:420px;box-shadow:0 24px 64px #0009;animation:fade-in .15s ease}.modal-title{font-size:16px;font-weight:600;color:var(--text-1);margin-bottom:18px}.modal-actions{display:flex;gap:8px;margin-top:16px}.section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--text-3);padding:0 10px;margin-bottom:4px}:root{--bg-3: #222226;--bottom-nav-h: 60px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--bottom-nav-h);padding-bottom:env(safe-area-inset-bottom);background:var(--bg-sidebar);border-top:1px solid var(--divider-solid);display:flex;z-index:50}.bottom-nav-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:none;color:var(--text-3);font-size:10px;font-weight:500;font-family:inherit;cursor:pointer;transition:color .15s;padding:0;min-height:44px}.bottom-nav-btn.active{color:var(--accent)}.sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:200;display:flex;align-items:flex-end}.sheet{background:var(--bg-sidebar);border-radius:18px 18px 0 0;border:1px solid var(--divider-solid);border-bottom:none;width:100%;padding:8px 0 calc(16px + env(safe-area-inset-bottom));animation:sheet-up .22s ease}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-handle{width:36px;height:4px;background:var(--divider-solid);border-radius:2px;margin:6px auto 16px}.m-user-card{background:var(--bg-sidebar);border:1px solid var(--divider-solid);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}@media (max-width: 768px){.modal-box{margin:12px;max-width:calc(100vw - 24px);padding:20px}}/**
 * 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}
