.login-dialog[data-v-4bb42ce4]{width:380px;border-radius:18px;background:var(--panel);border:1px solid var(--bd-strong);box-shadow:0 16px 48px #0009;overflow:hidden}.profile-wrap[data-v-4bb42ce4]{position:relative;width:100%}.profile.clickable[data-v-4bb42ce4]{cursor:pointer;border-radius:10px;transition:background .15s ease}.profile.clickable[data-v-4bb42ce4]:hover{background:#ffffff0a}.pop-arrow[data-v-4bb42ce4]{width:14px;height:14px;color:var(--fg-mute);transition:transform .2s ease}.pop-arrow.up[data-v-4bb42ce4]{transform:rotate(180deg);color:var(--accent)}.user-popover[data-v-4bb42ce4]{position:absolute;bottom:calc(100% + 8px);left:10px;width:200px;background:var(--panel);border:1px solid var(--bd-strong);border-radius:14px;box-shadow:0 10px 30px #00000080;padding:6px;z-index:150;display:flex;flex-direction:column;gap:2px}.pop-enter-active[data-v-4bb42ce4],.pop-leave-active[data-v-4bb42ce4]{transition:all .15s cubic-bezier(.16,1,.3,1)}.pop-enter-from[data-v-4bb42ce4],.pop-leave-to[data-v-4bb42ce4]{opacity:0;transform:translateY(6px) scale(.96)}.pop-item[data-v-4bb42ce4]{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;color:var(--fg);font-size:13px;cursor:pointer;transition:background .15s}.pop-item[data-v-4bb42ce4]:hover{background:#1e2530}.pop-ico[data-v-4bb42ce4]{width:16px;height:16px;color:var(--fg-sub)}.pop-shortcut[data-v-4bb42ce4]{display:none}.pop-divider[data-v-4bb42ce4]{height:1px;background:var(--bd);margin:4px 6px}.pop-item.logout-item[data-v-4bb42ce4],.pop-item.logout-item .pop-ico[data-v-4bb42ce4]{color:var(--err)}.pop-item.logout-item[data-v-4bb42ce4]:hover{background:#f851491f}.invite-dialog[data-v-4bb42ce4]{width:400px;border-radius:18px;background:var(--panel);border:1px solid var(--bd-strong);box-shadow:0 16px 48px #0009;overflow:hidden}.invite-body[data-v-4bb42ce4]{gap:16px}.invite-code-box[data-v-4bb42ce4]{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px 16px;background:var(--panel-2);border:1px dashed var(--bd-strong);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}.invite-code-box[data-v-4bb42ce4]:hover{border-color:var(--accent);background:var(--accent-soft)}.invite-code[data-v-4bb42ce4]{font-size:26px;font-weight:700;letter-spacing:3px;color:var(--fg);-webkit-user-select:all;user-select:all}.invite-copy-ico[data-v-4bb42ce4]{width:18px;height:18px;color:var(--fg-mute)}.invite-meta[data-v-4bb42ce4]{display:flex;flex-direction:column;gap:8px}.invite-reset-row[data-v-4bb42ce4]{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--fg-sub)}.invite-reset-row b[data-v-4bb42ce4]{color:var(--accent);font-weight:600}.invite-clock[data-v-4bb42ce4]{width:15px;height:15px;color:var(--fg-mute);flex-shrink:0}.invite-note[data-v-4bb42ce4]{font-size:12px;color:var(--fg-mute);line-height:1.55;margin:0}.invite-actions[data-v-4bb42ce4]{display:flex;gap:10px}.invite-actions .action-btn[data-v-4bb42ce4]{flex:1;justify-content:center}.invite-foot[data-v-4bb42ce4]{justify-content:stretch;padding:12px 20px 14px;border-top:1px solid var(--bd)}.invite-foot .action-btn[data-v-4bb42ce4]{width:100%;justify-content:center}.font-mono[data-v-4bb42ce4]{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.profile-dialog[data-v-4bb42ce4]{width:440px;border-radius:18px;background:var(--panel);border:1px solid var(--bd-strong);box-shadow:0 16px 48px #0009;overflow:hidden}.head-setting-icon[data-v-4bb42ce4]{width:22px;height:22px;color:var(--accent)}.avatar-upload-row[data-v-4bb42ce4]{display:flex;align-items:center;gap:16px;padding:6px 0 10px}.avatar-preview-box[data-v-4bb42ce4]{width:58px;height:58px;border-radius:50%;border:2px solid var(--bd-strong);overflow:hidden;display:grid;place-items:center;background:#181d24;flex-shrink:0}.avatar-preview-img[data-v-4bb42ce4]{width:100%;height:100%;background-size:cover;background-position:center}.avatar-preview-placeholder[data-v-4bb42ce4]{font-size:24px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ff5d5d,#b44dff);width:100%;height:100%;display:grid;place-items:center}.avatar-upload-info[data-v-4bb42ce4]{display:flex;flex-direction:column;gap:6px}.custom-file-upload[data-v-4bb42ce4]{display:inline-block;padding:5px 12px;background:#ffffff0d;border:1px solid var(--bd);border-radius:8px;color:var(--fg);font-size:12.5px;cursor:pointer;width:fit-content;transition:all .15s}.custom-file-upload[data-v-4bb42ce4]:hover{background:#ffffff1a;border-color:var(--accent)}.custom-file-upload input[data-v-4bb42ce4]{display:none}.mute-desc[data-v-4bb42ce4]{font-size:11.5px;color:var(--fg-mute)}.section-divider[data-v-4bb42ce4]{height:1px;background:var(--bd);margin:6px 0}.pw-row[data-v-4bb42ce4]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.custom-avatar[data-v-4bb42ce4]{background-size:cover!important;background-position:center!important}.dialog-header[data-v-4bb42ce4]{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--bd)}.brand-group[data-v-4bb42ce4]{display:flex;align-items:center;gap:12px}.dialog-logo[data-v-4bb42ce4]{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#ff5d5d,#3d7bfd);display:grid;place-items:center;font-weight:800;font-size:17px;color:#fff;flex-shrink:0}.brand-group h3[data-v-4bb42ce4]{font-size:15px;font-weight:600;margin:0;color:var(--fg)}.dialog-sub[data-v-4bb42ce4]{font-size:12px;color:var(--fg-mute)}.close-x[data-v-4bb42ce4]{background:none;border:none;font-size:22px;line-height:1;color:var(--fg-mute);cursor:pointer;padding:0}.close-x[data-v-4bb42ce4]:hover{color:var(--fg)}.dialog-body[data-v-4bb42ce4]{padding:20px;display:flex;flex-direction:column;gap:14px}.dialog-err[data-v-4bb42ce4]{font-size:12.5px;color:var(--err);margin:0}.dialog-foot[data-v-4bb42ce4]{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.action-btn[data-v-4bb42ce4]{height:36px;padding:0 16px;font-size:13px;font-weight:500;border-radius:10px}.submit-btn[data-v-4bb42ce4]{box-shadow:0 2px 10px #3d7bfd4d}.invite-input[data-v-4bb42ce4]{letter-spacing:1.5px;text-transform:uppercase}.auth-switch[data-v-4bb42ce4]{margin:4px 0 0;text-align:center;font-size:12.5px;color:var(--fg-sub)}.auth-switch a[data-v-4bb42ce4]{color:var(--accent)}:root{--bg: #0b0d11;--side: #0d0f13;--panel: #161a21;--panel-2: #10141a;--bd: #242b36;--bd-strong: #2e3745;--fg: #e8ecf2;--fg-sub: #8a94a4;--fg-mute: #5c6675;--accent: #3d7bfd;--accent-hover: #4d88ff;--accent-soft: rgba(61, 123, 253, .14);--hot: #ff5d5d;--hot-soft: rgba(255, 93, 93, .1);--ok: #3fb950;--warn: #d29922;--err: #f85149;--radius: 16px;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 3px 10px rgba(0, 0, 0, .2)}html[data-theme=light]{--bg: #f4f6fa;--side: #ffffff;--panel: #ffffff;--panel-2: #f0f3f8;--bd: #e2e7ef;--bd-strong: #d3dae5;--fg: #1b2230;--fg-sub: #5a6678;--fg-mute: #939eae;--accent: #2f6ef2;--accent-hover: #4a82ff;--accent-soft: rgba(47, 110, 242, .1);--hot: #f04b4b;--hot-soft: rgba(240, 75, 75, .08);--ok: #2ea44f;--warn: #bf8700;--err: #e5484d;--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 3px 10px rgba(16, 24, 40, .08)}*{box-sizing:border-box}html,body,#app{height:100%}#app{zoom:var(--ui-zoom, 1)}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}::placeholder{color:var(--fg-mute)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#2a323e;border-radius:6px;border:2px solid var(--bg)}::-webkit-scrollbar-track{background:transparent}.shell{display:flex;flex-direction:column;height:100%;overflow:hidden}.shell-row{display:flex;flex:1;min-height:0}.topbar{flex:none;height:52px;display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--side);-webkit-app-region:drag}.topbar .logo{width:30px;height:30px;border-radius:10px;flex:none;background:linear-gradient(135deg,#ff5d5d,#3d7bfd);display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff}.topbar .brand{font-size:14.5px}.side{width:20%;min-width:176px;flex:none;display:flex;flex-direction:column;background:var(--side)}.side nav{display:flex;flex-direction:column;padding:10px 10px 4px;gap:1px;flex:1;min-height:0;overflow:hidden}.side .ghead{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:8px;color:var(--fg-sub);font-size:12.5px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.side .ghead:hover{color:var(--fg);background:#141920}.side .chev{width:14px;height:14px;transition:transform .15s;color:var(--fg-mute)}.side .chev.fold{transform:rotate(-90deg)}.side nav a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--fg-sub);font-size:13.5px}.side nav a.child{margin-left:14px}.side nav a svg{width:16px;height:16px;flex:none}.side nav a:hover{background:#141920;color:var(--fg)}.side nav a.on{background:var(--hot-soft);color:var(--hot);font-weight:500}.side nav a.hold{color:var(--fg-mute)}.side-foot{margin-top:auto;border-top:1px solid var(--bd)}.side .profile{display:flex;align-items:center;gap:10px;padding:12px 14px 13px;border-top:1px solid var(--bd)}.side .avatar{width:36px;height:36px;border-radius:50%;flex:none;background:linear-gradient(135deg,#ff5d5d,#b44dff);display:grid;place-items:center;color:#fff;font-weight:700;font-size:15px}.side .profile b{display:block;font-size:14px;line-height:1.35}.side .profile .role{display:inline-block;font-size:11.5px;color:var(--fg-mute);line-height:1.6}.side .profile .ico{width:30px;height:30px;flex:none;display:grid;place-items:center;background:none;border:none;border-radius:8px;color:var(--fg-mute);cursor:pointer;padding:0}.side .profile .ico svg{width:16px;height:16px}.side .profile .ico:hover{background:#141920;color:var(--err)}.side .avatar.guest{background:#2a323e;color:var(--fg-mute)}.side .login-btn{height:30px;padding:0 16px;flex:none;background:var(--accent);color:#fff;border:none;border-radius:8px;font-size:13px;cursor:pointer}.side .login-btn:hover{background:var(--accent-hover)}.column{flex:1;display:flex;flex-direction:column;min-width:0}main{flex:1;padding:14px 20px 20px;overflow:auto}button,select,input,textarea{font:inherit;color:var(--fg);background:var(--panel);border:1px solid var(--bd-strong);border-radius:12px;padding:6px 12px}button{cursor:pointer}button:hover{border-color:#3a4452}button:disabled{opacity:.5;cursor:default}button.ghost{border-color:transparent;color:var(--fg-sub);background:transparent}button.ghost:hover{color:var(--fg);background:#141920}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}button.danger{border-color:#f8514973;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);overflow:hidden}.pad{padding:16px}.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 8px;border-radius:20px;background:#1f2630;color:var(--fg-sub);white-space:nowrap}.badge.ok{background:#3fb95024;color:var(--ok)}.badge.warn{background:#d2992224;color:var(--warn)}.badge.err{background:#f8514924;color:var(--err)}.badge.accent{background:var(--accent-soft);color:var(--accent)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3a4452}.dot.on{background:var(--ok)}.sq{display:inline-block;width:10px;height:10px;border-radius:5px;background:#3a4452;flex:none}.sq.on{background:var(--ok)}.sq.pending{background:var(--warn)}.switch{position:relative;width:44px;height:24px;border-radius:999px;flex:none;background:#2a323e;border:none;padding:0;cursor:pointer;transition:background .15s}.switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}.switch.on{background:var(--accent)}.switch.on:after{left:23px}.switch:disabled{opacity:.6;cursor:default}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--bd)}th{color:var(--fg-sub);font-weight:500;background:var(--panel-2)}tbody tr:hover{background:var(--panel-2)}pre.out{background:var(--panel-2);color:#d7dae0;padding:12px;border-radius:12px;border:1px solid var(--bd);overflow:auto;font-size:12px;line-height:1.5;margin:0;white-space:pre-wrap}.seg-tabs{display:flex;gap:2px;padding:3px;background:var(--panel);border:1px solid var(--bd);border-radius:9px}.seg-tabs a{display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:7px;color:var(--fg-sub);font-size:13px;cursor:pointer;white-space:nowrap}.seg-tabs a:hover{color:var(--fg)}.seg-tabs a.on{background:var(--accent-soft);color:var(--accent)}.seg-tabs .n{font-size:11px;color:var(--fg-mute)}.seg-tabs a.on .n{color:var(--accent)}.assist-hero{background:var(--panel);border:1px solid var(--bd);border-radius:14px;padding:26px 30px;max-width:720px}.assist-hero h2{display:flex;align-items:center;gap:12px;font-size:20px;margin:0 0 6px}.assist-id{font-size:30px;font-weight:700;letter-spacing:2px;color:var(--fg);font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.assist-label{color:var(--fg-sub);font-size:12.5px;margin-bottom:4px}.id-copy{border:none;background:transparent;color:var(--fg-mute);cursor:pointer;padding:4px;display:inline-flex}.id-copy:hover{color:var(--accent)}.id-copy svg{width:16px;height:16px}.mode-pick{display:flex;gap:18px}.mode-pick label{display:flex;align-items:center;gap:6px;color:var(--fg-sub);cursor:pointer}.mode-pick input{accent-color:var(--accent)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{background:var(--panel);border:1px solid var(--bd);border-radius:18px;width:min(560px,100%);max-height:88vh;overflow:auto;box-shadow:0 8px 28px #00000073}.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:#222936;color:var(--fg);padding:8px 14px;border-radius:12px;font-size:13px;border:1px solid var(--bd-strong);box-shadow:0 4px 14px #00000059;max-width:340px}.toast.err{background:#f8514929;border-color:#f8514966;color:var(--err)}.toast.ok{background:#3fb95024;border-color:#3fb95066;color: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:var(--panel-2);border:1px solid var(--bd);border-radius:12px;padding:8px;min-height:380px}html[data-theme=light] ::-webkit-scrollbar-thumb{background:#cdd5e0;border-color:var(--bg)}html[data-theme=light] .side .ghead:hover{background:#f0f3f8}html[data-theme=light] .side nav a:hover{background:#f0f3f8}html[data-theme=light] .side .profile .ico:hover{background:#f0f3f8}html[data-theme=light] .side .avatar.guest{background:#dfe5ee;color:var(--fg-mute)}html[data-theme=light] button:hover{border-color:#b9c4d4}html[data-theme=light] button.ghost:hover{background:#f0f3f8}html[data-theme=light] .dot,html[data-theme=light] .switch{background:#cdd5e0}html[data-theme=light] .toast{background:#fff;border-color:var(--bd-strong);box-shadow:0 4px 14px #1018281f}html[data-theme=light] .toast.err{background:#e5484d14}html[data-theme=light] .toast.ok{background:#2ea44f14}/**
 * 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}
