.connection-status{position:absolute;top:10px;right:10px;z-index:100;display:flex;align-items:center;gap:10px;background:#2a2a2ae6;border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:8px 12px;font-family:Consolas,Courier New,monospace;font-size:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 8px #0000004d}.status-indicator{display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;transition:background-color .3s ease}.status-text{color:#fff;font-size:11px;white-space:nowrap}.status-idle .status-dot{background-color:#6b7280}.status-connecting .status-dot{background-color:#f59e0b;animation:pulse 2s infinite}.status-connected .status-dot{background-color:#10b981}.status-disconnected .status-dot{background-color:#6b7280}.status-error .status-dot{background-color:#ef4444}.loading-spinner{display:flex;align-items:center;margin-left:4px}.spinner{width:12px;height:12px;border:1.5px solid rgba(255,255,255,.2);border-left-color:#f59e0b;border-radius:50%;animation:spin 1s linear infinite}.status-actions{display:flex;gap:4px}.action-button{padding:4px 8px;border:none;border-radius:4px;font-size:10px;font-family:inherit;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.disconnect-button{background-color:#ef4444cc;color:#fff}.disconnect-button:hover{background-color:#ef4444;transform:translateY(-1px)}.reset-button{background-color:#3b82f6cc;color:#fff}.reset-button:hover{background-color:#3b82f6;transform:translateY(-1px)}.action-button:active{transform:translateY(0)}.error-message{position:absolute;top:100%;right:0;margin-top:4px;background:#ef4444e6;border:1px solid rgba(239,68,68,.3);border-radius:4px;padding:6px 8px;max-width:200px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.error-text{color:#fff;font-size:10px;line-height:1.3}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}@media (max-width: 768px){.connection-status{position:fixed;top:5px;right:5px;padding:6px 8px;font-size:10px}.status-text{font-size:9px}.action-button{padding:3px 6px;font-size:8px}.error-message{max-width:150px;right:-50px}}@media (prefers-contrast: high){.connection-status{background:#000000e6;border:2px solid white}.status-text{color:#fff}}@media (prefers-reduced-motion: reduce){.status-dot{animation:none}.spinner{animation:none;border-left-color:transparent}.action-button:hover{transform:none}}.login-form-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px;background:transparent}.login-form{width:100%;max-width:400px;background:#2a2a2af2;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:32px;box-shadow:0 24px 48px #00000080;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);animation:fadeInUp .4s ease-out}.login-header{text-align:center;margin-bottom:32px}.login-title{font-size:24px;font-weight:600;color:#fff;margin:0 0 8px;font-family:Consolas,Courier New,monospace}.login-subtitle{font-size:14px;color:#a1a1aa;margin:0;line-height:1.5}.credentials-form{display:flex;flex-direction:column;gap:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{font-size:14px;font-weight:500;color:#e4e4e7;font-family:Consolas,Courier New,monospace}.form-input{padding:12px 16px;border:1.5px solid rgba(255,255,255,.15);border-radius:8px;background:#ffffff0d;color:#fff;font-size:14px;font-family:Consolas,Courier New,monospace;transition:all .2s ease;outline:none;width:100%;box-sizing:border-box}.password-input-wrapper{position:relative;width:100%}.password-input{padding-right:42px}.toggle-password-btn{position:absolute;top:50%;right:10px;transform:translateY(-50%);background:transparent;border:none;color:#cbd5e1;cursor:pointer;font-size:16px;line-height:1;padding:4px;border-radius:6px}.toggle-password-btn:hover{color:#fff;background:#ffffff14}.toggle-password-btn:disabled{opacity:.5;cursor:not-allowed}.form-input::placeholder{color:#71717a}.form-input:focus{border-color:#3b82f6;background:#ffffff14;box-shadow:0 0 0 3px #3b82f61a}.form-input:disabled{opacity:.6;cursor:not-allowed}.error-message{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;color:#fca5a5;font-size:14px;animation:shakeIn .4s ease-out}.error-icon{font-size:16px;flex-shrink:0}.error-text{line-height:1.4}.form-actions{margin-top:8px}.submit-button{width:100%;padding:14px 24px;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:600;font-family:Consolas,Courier New,monospace;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;text-transform:uppercase;letter-spacing:.5px}.submit-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 16px #3b82f64d}.submit-button:active{transform:translateY(0)}.submit-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.submit-button.loading{background:linear-gradient(135deg,#6b7280,#4b5563)}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-left-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.button-arrow{font-size:18px;transition:transform .2s ease}.submit-button:hover:not(:disabled) .button-arrow{transform:translate(2px)}.login-footer{margin-top:24px;text-align:center;display:flex;flex-direction:column;gap:12px}.help-text{font-size:12px;color:#71717a;margin:0;line-height:1.4}.help-text kbd{background:#ffffff1a;padding:2px 6px;border-radius:4px;font-size:11px;font-family:inherit;border:1px solid rgba(255,255,255,.2)}.security-note{font-size:11px;color:#10b981;margin:0;display:flex;align-items:center;justify-content:center;gap:4px}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes shakeIn{0%{transform:translate(0)}25%{transform:translate(-4px)}50%{transform:translate(4px)}75%{transform:translate(-2px)}to{transform:translate(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 480px){.login-form-container{padding:16px}.login-form{padding:24px}.login-title{font-size:20px}.form-input{padding:10px 12px}.submit-button{padding:12px 20px;font-size:14px}}@media (prefers-contrast: high){.login-form{background:#000000f2;border:2px solid white}.form-input{border-color:#fff;background:#000}.form-input:focus{border-color:#fff;box-shadow:0 0 0 2px #fff}}@media (prefers-reduced-motion: reduce){.login-form,.error-message,.button-spinner{animation:none}.submit-button:hover:not(:disabled){transform:none}.submit-button:hover:not(:disabled) .button-arrow{transform:none}}.metrics-widget{position:absolute;top:52px;right:10px;left:auto;z-index:99;background:#2a2a2ae6;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px 10px;color:#e5e7eb;font-family:Consolas,Courier New,monospace;min-width:220px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.metrics-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:6px}.metrics-error{color:#fca5a5;margin-left:8px}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}@media (max-width: 1024px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}.metric-card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:6px 8px}.metric-label{font-size:10px;color:#a1a1aa}.metric-value{font-size:14px;color:#fff}.metrics-footer{margin-top:6px;text-align:right}.metrics-timestamp{font-size:10px;color:#9ca3af}@media (max-width: 768px){.metrics-widget{inset:52px 10px auto auto;min-width:180px}.metrics-grid{grid-template-columns:repeat(2,1fr)}}/**
 * 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;inset: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;inset: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}.terminal-container{position:relative;width:100vw;height:100vh;background:#1a1a1a;overflow:hidden;font-family:Consolas,Courier New,monospace}.terminal-display{position:absolute;inset:0;padding:10px;background:#1a1a1a;transition:filter .3s ease}.terminal-blurred{filter:blur(2px);opacity:.7}.terminal-overlay{position:absolute;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.terminal-display .xterm{height:100%!important;width:100%!important}.terminal-display .xterm-screen{height:100%!important}.terminal-display .xterm-viewport{overflow-y:hidden!important}.terminal-display .xterm-viewport::-webkit-scrollbar{width:8px}.terminal-display .xterm-viewport::-webkit-scrollbar-track{background:#2a2a2a}.terminal-display .xterm-viewport::-webkit-scrollbar-thumb{background:#555;border-radius:4px}.terminal-display .xterm-viewport::-webkit-scrollbar-thumb:hover{background:#777}.terminal-container:focus{outline:none}.terminal-display .xterm-helper-textarea{position:absolute;left:-9999px;top:-9999px}@keyframes terminal-cursor{0%,50%{opacity:1}51%,to{opacity:0}}.terminal-loading-cursor{animation:terminal-cursor 1s infinite}@media (max-width: 768px){.terminal-display{padding:5px}.terminal-display .xterm{font-size:12px}}@media (prefers-contrast: high){.terminal-display{background:#000}}@media (prefers-reduced-motion: reduce){.terminal-display{transition:none}.terminal-loading-cursor{animation:none;opacity:1}}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden;background:#1a1a1a;font-family:Consolas,Courier New,Monaco,Lucida Console,monospace;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{height:100vh;width:100vw;overflow:hidden}.app{height:100vh;width:100vw;overflow:hidden;background:#1a1a1a}*{scrollbar-width:thin;scrollbar-color:#555 #2a2a2a}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#2a2a2a}*::-webkit-scrollbar-thumb{background-color:#555;border-radius:4px;border:1px solid #2a2a2a}*::-webkit-scrollbar-thumb:hover{background-color:#777}:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}::selection{background:#3b82f64d;color:inherit}::-moz-selection{background:#3b82f64d;color:inherit}button,.status-indicator,.login-header{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.loading{opacity:.7;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media print{body{background:#fff!important;color:#000!important}.connection-status,.login-form-container{display:none!important}}@media (prefers-contrast: high){body,.app{background:#000}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (max-width: 768px){body{font-size:14px}}@media (prefers-color-scheme: dark){body{background:#1a1a1a;color:#fff}}
