/**
 * 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{--bg: #0b0f0e;--bg-side: #0d1211;--bg-card: #0f1514;--bg-input: #0e1412;--bg-hover: #16201d;--bg-term: #080b0a;--bg-active: #12201b;--border: #1f2a27;--border-soft: #1a2320;--border-input: #243330;--border-dash: #2d3d39;--text: #e6ebe9;--text-2: #b8c4c0;--muted: #7f8f8a;--dim: #4d5c58;--accent: #6ee7b7;--accent-2: #a7f3d0;--accent-bg: rgba(110, 231, 183, .1);--accent-border: #2d5a49;--blue: #7dd3fc;--yellow: #fbbf24;--red: #f87171;--red-border: #3d2222;--purple: #c4b5fd;--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Helvetica, sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-2)}button,input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent)!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--border-input);border-radius:4px}h1,h2,h3{margin:0;letter-spacing:-.02em;font-weight:600}h1{font-size:22px}p{margin:0}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.mono{font-family:var(--mono)}.muted{color:var(--muted)}.dim{color:var(--dim)}.text2{color:var(--text-2)}.accent{color:var(--accent)}.red{color:var(--red)}.yellow{color:var(--yellow)}.small{font-size:12px}.xs{font-size:11px}.upper{text-transform:uppercase;letter-spacing:.06em}.bold{font-weight:600}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.ml-auto{margin-left:auto}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.pre{white-space:pre-wrap;word-break:break-word}.pointer{cursor:pointer}.stack{display:flex;flex-direction:column;gap:12px}.stack-lg{display:flex;flex-direction:column;gap:20px}.stack-sm{display:flex;flex-direction:column;gap:6px}.row{display:flex;align-items:center;gap:10px}.row-end{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.grid{display:grid;gap:12px}.grid-cards{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.grid-stats,.grid-2{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.app{display:flex;min-height:100vh}.sidebar{width:232px;flex-shrink:0;border-right:1px solid var(--border-soft);background:var(--bg-side);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar-head{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid var(--border-soft)}.sidebar nav{display:flex;flex-direction:column;gap:2px;padding:12px}.nav-item{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:6px;border:none;background:transparent;color:var(--muted);font-size:13.5px;font-weight:500;cursor:pointer;text-align:left;width:100%}.nav-item:hover{background:var(--bg-hover)}.nav-item.active{background:var(--bg-hover);color:var(--text)}.nav-item .navdot{width:6px;height:6px;border-radius:50%;background:var(--border-dash)}.nav-item.active .navdot{background:var(--accent)}.nav-item .count{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--dim)}.sidebar-project{margin:0 12px 12px;padding-top:10px;border-top:1px solid var(--border-soft);display:flex;flex-direction:column;gap:2px;min-height:0}.sidebar-services{display:flex;flex-direction:column;gap:1px;overflow-y:auto;max-height:40vh}.nav-item.svc{height:30px;padding-left:18px;font-size:13px}.nav-item.svc .dot.sm{box-shadow:none}.nav-item.svc.active{color:var(--text)}.nav-item.svc.add{color:var(--accent);font-size:12.5px}.sidebar-foot{margin-top:auto;padding:14px 20px;border-top:1px solid var(--border-soft);display:flex;align-items:center;gap:10px}.avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#6ee7b7,#2dd4bf);flex-shrink:0}.main{flex:1;min-width:0;display:flex;flex-direction:column}.content{flex:1;padding:24px 24px 88px;width:100%;display:flex;flex-direction:column;gap:20px;animation:rise .25s ease both}.topbar{display:none;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border-soft);background:var(--bg-side);position:sticky;top:0;z-index:5}.bottomnav{display:none;position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--border-soft);background:var(--bg-side);z-index:5}.bottomnav button{flex:1;height:56px;border:none;background:transparent;color:var(--muted);font-size:11px;font-weight:500;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.bottomnav button.active{color:var(--text)}.svc-chips{display:none;gap:6px;overflow-x:auto;padding-bottom:2px}.svc-chips .chip{background:transparent;cursor:pointer;flex-shrink:0}@media(max-width:860px){.svc-chips{display:flex}.sidebar{display:none}.topbar,.bottomnav{display:flex}.content{padding:16px 16px 88px}}.logo{width:26px;height:26px;background:var(--accent);border-radius:7px;display:grid;place-items:center;position:relative;overflow:hidden;flex-shrink:0}.logo:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,transparent 50%,rgba(11,15,14,.18) 50%)}.logo span{font-family:var(--mono);font-weight:600;font-size:14px;color:var(--bg);letter-spacing:-.08em;position:relative}.logo.lg{width:30px;height:30px;border-radius:8px}.logo.lg span{font-size:17px}.wordmark{font-family:var(--mono);font-weight:600;font-size:15px;letter-spacing:-.03em;color:var(--text)}.wordmark b{color:var(--accent);font-weight:600}.card{border:1px solid var(--border);background:var(--bg-card);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px}.card.pad-lg{padding:20px;gap:14px}.card.flush{padding:0;gap:0;overflow:hidden}.card.clickable{cursor:pointer;transition:border-color .12s}.card.clickable:hover{border-color:#2f4440}.card.success{border-color:var(--accent-border);background:#0f1a16}.card.danger{border-color:var(--red-border)}.card-head{padding:12px 16px;border-bottom:1px solid var(--border-soft);font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}.card-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border-soft)}.card-row:last-child{border-bottom:none}.card-row.clickable{cursor:pointer}.card-row.clickable:hover{background:#111917}.dashed{border:1px dashed var(--border-dash);background:transparent;border-radius:10px;display:grid;place-items:center;color:var(--muted);font-size:13px;cursor:pointer;min-height:160px}.dashed:hover{border-color:var(--accent);color:var(--accent)}.empty{border:1px dashed var(--border-dash);border-radius:10px;padding:28px;text-align:center;color:var(--muted);font-size:13px}.btn{height:36px;padding:0 14px;border-radius:6px;border:1px solid var(--border-input);background:#111716;color:var(--text);font-size:13px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{background:var(--bg-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:600}.btn-primary:hover{background:var(--accent-2);border-color:var(--accent-2)}.btn-ghost{background:transparent}.btn-ghost:hover{background:var(--bg-hover)}.btn-text{background:transparent;border-color:transparent;color:var(--muted)}.btn-text:hover{color:var(--text);background:var(--bg-hover)}.btn-danger{background:transparent;border-color:var(--red-border);color:var(--red)}.btn-danger:hover{background:#1f1212}.btn-dashed{border:1px dashed var(--border-dash);background:transparent;color:var(--accent)}.btn-dashed:hover{background:var(--bg-active);border-style:solid}.btn-sm{height:30px;padding:0 10px;font-size:12px}.btn-lg{height:42px;padding:0 18px;font-size:14px;border-radius:8px}.btn-block{width:100%}.label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.input{height:38px;padding:0 12px;border-radius:8px;border:1px solid var(--border-input);background:var(--bg-input);color:var(--text);font-size:13px;width:100%}.input.mono{font-family:var(--mono)}.input.lg{height:40px;font-size:14px}.envedit{display:flex;background:var(--bg-term);font-family:var(--mono);font-size:12.5px;line-height:1.6}.envedit .gutter{flex:none;contain:size;overflow:hidden;border-right:1px solid var(--border-soft);color:var(--muted);opacity:.55;-webkit-user-select:none;user-select:none}.envedit .gutter>div{display:flex;flex-direction:column;padding:12px 10px 12px 14px;text-align:right}.envedit .scroller{flex:1;min-width:0;min-height:320px;max-height:70vh;overflow:auto}.envedit .edit{position:relative;display:inline-block;vertical-align:top;min-width:100%}.envedit .hl{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:12px 14px;font:inherit;line-height:inherit;white-space:pre;-moz-tab-size:4;tab-size:4;pointer-events:none;color:#c9d4d0;overflow:hidden}.envedit .hl .k{color:#7cc4ff}.envedit .hl .eq{color:#6b7d78}.envedit .hl .v{color:#dccbff}.envedit .hl .q{color:#b79cf5}.envedit .hl .c{color:#5c6f69;font-style:italic}.envedit .hl .kw{color:#c792ea}.envedit .hl .ph{color:#4a5a55}.envedit textarea{position:relative;display:block;border:0;outline:0;resize:none;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:#e6f0ec;padding:12px 14px;font:inherit;line-height:inherit;white-space:pre;overflow:hidden;-moz-tab-size:4;tab-size:4}.envedit textarea::selection{background:#6ee7b740}.envedit textarea::placeholder{color:transparent}.envedit textarea:focus{border:0!important}textarea.input{height:auto;padding:12px 14px;line-height:1.6;resize:vertical;font-family:var(--mono);font-size:12.5px;background:var(--bg-term);color:#c9d4d0}select.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}select.input option{background:var(--bg-input)}.check{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text-2);cursor:pointer}.check input{accent-color:var(--accent);width:16px;height:16px;margin:0}.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:var(--dim)}.dot.running,.dot.online,.dot.success{background:var(--accent);box-shadow:0 0 0 3px #6ee7b72e}.dot.stopped,.dot.offline,.dot.failed{background:var(--red);box-shadow:0 0 0 3px #f871712e}.dot.building,.dot.deploying,.dot.pending,.dot.restarting,.dot.starting,.dot.stopping{background:var(--yellow);box-shadow:0 0 0 3px #fbbf242e;animation:pulse 1.2s infinite}.dot.created{background:var(--dim)}.dot.lg{width:10px;height:10px}.dot.sm{width:6px;height:6px;box-shadow:none}.status{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-family:var(--mono)}.status.running,.status.online,.status.success{color:var(--accent)}.status.stopped,.status.offline,.status.failed{color:var(--red)}.dot.cancelled{background:var(--muted);box-shadow:0 0 0 3px #94a3b826}.status.cancelled{color:var(--muted)}.status.building,.status.deploying,.status.pending,.status.restarting,.status.starting,.status.stopping,.status.queued{color:var(--yellow)}.status.created{color:var(--muted)}.pill{font-size:11px;padding:3px 8px;border-radius:99px;border:1px solid var(--border-input);font-family:var(--mono);color:var(--muted);white-space:nowrap}.pill.on{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}.pill.done{color:var(--text)}.tag{font-size:11px;padding:2px 7px;border-radius:4px;border:1px solid var(--border-input);color:var(--muted);font-family:var(--mono);white-space:nowrap}.chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-family:var(--mono);padding:3px 8px;border-radius:99px;border:1px solid var(--border);color:var(--text-2)}.bar{height:4px;background:var(--border-soft);border-radius:2px;overflow:hidden}.bar>div{height:100%;background:var(--accent);transition:width .4s}.bar.blue>div{background:var(--blue)}.bar.yellow>div{background:var(--yellow)}.bar.purple>div{background:var(--purple)}.bar.thick{height:5px;border-radius:3px}.spinner{width:12px;height:12px;border-radius:50%;border:2px solid var(--border-input);border-top-color:var(--accent);animation:spin .8s linear infinite;display:inline-block;flex-shrink:0}.spinner.lg{width:20px;height:20px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border-soft);overflow-x:auto;overflow-y:hidden}.tabs button{height:38px;padding:0 14px;border:none;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;margin-bottom:-1px}.tabs button:hover{color:var(--text)}.tabs button.active{color:var(--text);border-bottom-color:var(--accent)}.seg{display:flex;gap:2px;padding:3px;border-radius:8px;background:var(--bg-input);border:1px solid var(--border);align-self:flex-start;flex-wrap:wrap}.seg button{height:32px;padding:0 14px;border-radius:6px;border:none;background:transparent;color:var(--muted);font-size:13px;font-weight:500;cursor:pointer}.seg button.active{background:#1c2926;color:var(--text)}.choice{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:10px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);text-align:left;cursor:pointer}.choice:hover{border-color:#2f4440}.choice.active{border-color:var(--accent);background:var(--bg-active)}.choice .t{font-weight:600;font-size:14px}.choice .d{font-size:12.5px;color:var(--muted);line-height:1.45}.term{background:var(--bg-term);padding:14px 16px;font-family:var(--mono);font-size:12px;line-height:1.7;color:#c9d4d0;overflow:auto}.term .l-dim{color:var(--muted)}.term .l-ok{color:var(--accent)}.term .l-warn{color:var(--yellow)}.term .l-error{color:var(--red)}.term .l-info{color:#c9d4d0}.cmd{background:var(--bg-term);border:1px solid var(--border);border-radius:8px;padding:14px 16px;font-family:var(--mono);font-size:12.5px;line-height:1.6;color:#c9d4d0;overflow:auto;white-space:nowrap}.note{padding:12px 14px;border-radius:8px;background:var(--bg-input);border:1px solid var(--border-input);font-size:12.5px;color:var(--text-2);line-height:1.6}.note.ok{border-color:var(--accent-border)}.note.err{border-color:var(--red-border);color:var(--red)}.rdrow{display:grid;grid-template-columns:minmax(180px,3fr) 16px minmax(180px,3fr) auto auto 32px;gap:8px;padding:8px 14px;border-bottom:1px solid var(--border-soft);align-items:center}.rdrow input[type=text],.rdrow input:not([type]){height:32px;padding:0 10px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--text);font-size:12.5px;font-family:var(--mono);min-width:0;width:100%}.rdrow input:not([type]):hover{border-color:var(--border-input)}.rdrow input.k{color:var(--accent)}.rdrow>button{height:28px;width:28px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--muted);cursor:pointer}.rdrow>button:hover{color:var(--red);border-color:var(--border-input)}.check.xs{font-size:11px;gap:4px;white-space:nowrap}.envrow{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,2fr) 32px;gap:8px;padding:8px 14px;border-bottom:1px solid var(--border-soft);align-items:center}.envrow input{height:32px;padding:0 10px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--text);font-size:12.5px;font-family:var(--mono);min-width:0;width:100%}.envrow input:hover{border-color:var(--border-input)}.envrow input.k{color:var(--accent)}.envrow input.new{border:1px dashed var(--border-input)}.envrow button{height:32px;border-radius:6px;border:none;background:transparent;color:var(--dim);cursor:pointer;font-size:16px}.envrow button:hover{color:var(--red)}.envrow button.add{color:var(--accent);font-size:18px}.bars{display:flex;align-items:flex-end;gap:3px;height:160px;border-bottom:1px solid var(--border-soft);padding-bottom:1px}.bars>div{flex:1;background:#2f7a60;border-radius:2px 2px 0 0;min-height:2px}.bars>div:hover{background:var(--accent-2)}.bars>div.last{background:var(--accent-2)}.bars>div.err{background:#7a2f2f}.toast{position:fixed;bottom:24px;right:24px;z-index:50;display:flex;flex-direction:column;gap:8px}.toast>div{padding:10px 14px;border-radius:8px;background:#111716;border:1px solid var(--border-input);font-size:13px;box-shadow:0 10px 30px #0006;animation:rise .2s ease both;max-width:380px}.toast>div.err{border-color:var(--red-border);color:var(--red)}.toast>div.ok{border-color:var(--accent-border)}@media(max-width:860px){.toast{left:16px;right:16px;bottom:72px}}.repos{display:flex;flex-direction:column;border:1px solid var(--border-input);border-radius:8px;overflow:hidden;max-height:280px;overflow-y:auto}.repo{display:flex;align-items:center;gap:10px;height:42px;padding:0 14px;border:none;border-bottom:1px solid var(--border-soft);background:transparent;color:var(--text);font-size:13px;cursor:pointer;text-align:left;flex-shrink:0}.repo:hover{background:var(--bg-hover)}.repo.active{background:var(--bg-active)}.repo .radio{width:14px;height:14px;border-radius:50%;border:1.5px solid #3a4a46;flex-shrink:0}.repo.active .radio{border-color:var(--accent);background:var(--accent)}.folder{width:18px;height:14px;border:1.5px solid var(--accent);border-radius:3px;border-top-width:4px;flex-shrink:0}.folder.lg{width:22px;height:17px;border-top-width:5px}.folder.sm{width:16px;height:12px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#12201b,#0b0f0e 60%)}.login{width:100%;max-width:380px;display:flex;flex-direction:column;gap:28px}.xterm-wrap{background:var(--bg-term);padding:10px;height:460px}.xterm-wrap .xterm{height:100%}.kv{display:flex;gap:8px;font-family:var(--mono);font-size:12px;color:var(--text-2)}.kv span:first-child{color:var(--muted);width:80px;flex-shrink:0}.tpl{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:8px;border:1px solid var(--border);background:var(--bg-input);color:var(--text);text-align:left;cursor:pointer}.tpl:hover{border-color:#2f4440}.tpl.active{border-color:var(--accent);background:var(--bg-active)}.tpl .abbr{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;font-family:var(--mono);font-size:12px;font-weight:600;color:var(--bg)}.hr{border-top:1px solid var(--border-soft)}.lbdiagram{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-family:var(--mono);font-size:12px;color:var(--text-2)}.lbdiagram .node{padding:6px 10px;border:1px solid var(--border-input);border-radius:6px;background:var(--bg-input)}.lbdiagram .node.lb{border-color:var(--accent);color:var(--accent)}.lbdiagram .arrow{color:var(--dim)}.proj{display:flex;flex-direction:column;gap:12px}.proj-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid var(--border-soft)}.proj-name{display:flex;align-items:center;gap:10px;border:none;background:transparent;color:var(--text);cursor:pointer;padding:0}.proj-name:hover span{color:var(--accent)}.proj-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.svc-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-radius:10px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);text-align:left;cursor:pointer;min-height:62px}.svc-card:hover{border-color:#2f4440}.svc-card.add{border-style:dashed;border-color:var(--border-dash);background:transparent;color:var(--muted);justify-content:center;font-size:13px}.svc-card.add:hover{border-color:var(--accent);color:var(--accent)}
