/**
 * 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}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f8f9fc;color:#333;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%) translateY(-8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes stepFlash{0%,to{opacity:1}50%{opacity:.55}}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes pulseRing{0%{box-shadow:0 0 #1677ff1a}70%{box-shadow:0 0 0 4px #1677ff00}to{box-shadow:0 0 #1677ff00}}.page-center{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px}.auth-form{background:#fff;border-radius:12px;padding:36px 32px;width:100%;max-width:380px;box-shadow:0 4px 24px #0000000f,0 1px 2px #0000000a;border:1px solid rgba(0,0,0,.04)}.auth-form h2{margin-bottom:24px;text-align:center;font-size:21px;font-weight:700;letter-spacing:.2px;color:#1f2937}.auth-form input{width:100%;padding:11px 14px;margin-bottom:14px;border:1.5px solid rgba(0,0,0,.1);border-radius:10px;font-size:14px;background:#f9fafb;transition:border-color .2s,box-shadow .2s}.auth-form input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background:#fff}.auth-form button{width:100%;padding:11px;background:#3b82f6;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s,box-shadow .2s}.auth-form button:hover:not(:disabled){background:#2563eb;box-shadow:0 4px 12px #3b82f640}.auth-form button:disabled{opacity:.55;cursor:not-allowed}.auth-link{margin-top:18px;text-align:center;font-size:13px;color:#888}.auth-link a{color:#3b82f6;text-decoration:none;font-weight:500}.error-msg{background:#fef2f2;color:#dc2626;padding:10px 14px;border-radius:8px;margin-bottom:14px;font-size:13px;border:1px solid rgba(220,38,38,.1)}.success-msg{background:#f0fdf4;color:#16a34a;padding:10px 14px;border-radius:8px;margin-bottom:14px;font-size:13px;border:1px solid rgba(22,163,74,.1)}.console-card{background:#fff;border-radius:14px;padding:36px 32px;width:100%;max-width:480px;box-shadow:0 4px 24px #0000000f,0 1px 2px #0000000a;border:1px solid rgba(0,0,0,.04)}.console-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.console-header h2{font-size:21px;font-weight:700;letter-spacing:.2px}.console-status{background:#f9fafb;border-radius:10px;padding:18px;margin-bottom:24px;border:1px solid rgba(0,0,0,.04)}.status-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px}.status-row:last-child{margin-bottom:0}.status-row code{background:#f0f2f5;padding:3px 8px;border-radius:6px;font-size:13px;font-family:SF Mono,Consolas,monospace}.console-actions{display:flex;flex-wrap:wrap;gap:10px}.btn{padding:9px 18px;border:1px solid rgba(0,0,0,.1);border-radius:8px;font-size:13px;cursor:pointer;background:#fff;transition:background .2s,box-shadow .2s,border-color .2s}.btn:hover:not(:disabled){box-shadow:0 2px 8px #0000000f}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-start{background:#22c55e;color:#fff;border-color:#22c55e}.btn-start:hover:not(:disabled){background:#16a34a;box-shadow:0 4px 12px #22c55e40}.btn-stop{background:#ef4444;color:#fff;border-color:#ef4444}.btn-stop:hover:not(:disabled){background:#dc2626;box-shadow:0 4px 12px #ef444440}.btn-refresh{background:#f5f5f5}.btn-enter{background:#3b82f6;color:#fff;border-color:#3b82f6}.btn-enter:hover:not(:disabled){background:#2563eb;box-shadow:0 4px 12px #3b82f640}.btn-logout{background:#f5f5f5}
