/**
 * 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:#f6f7f9;--card:#fff;--text:#14181f;--muted:#5b6575;--line:#d9dee6;--brand:#0b5fff;--brand-d:#0846c2;--err:#b42318;--ok:#067647}@media (prefers-color-scheme: dark){:root{--bg:#0e1116;--card:#171b22;--text:#e8ebf0;--muted:#9aa4b2;--line:#2a313c;--brand:#5b8def;--brand-d:#7aa2f5;--err:#f97066;--ok:#47cd89}}*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text)}.shell{max-width:960px;margin:0 auto;padding:0 16px 48px}header.bar{display:flex;justify-content:space-between;align-items:center;padding:16px 0}header.bar strong{font-size:1.15rem;letter-spacing:.2px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:16px}.auth{max-width:420px;margin:48px auto}h1{font-size:1.4rem;margin:0 0 8px}p.muted{color:var(--muted);margin:4px 0 16px}label{display:block;font-weight:600;margin:14px 0 6px}input[type=text],input[type=email],input[type=password],input:not([type]){width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font:inherit}input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--brand);outline-offset:2px}button,.btn{margin-top:18px;width:100%;padding:11px 14px;border:0;border-radius:8px;background:var(--brand);color:#fff;font:inherit;font-weight:600;cursor:pointer}button:hover{background:var(--brand-d)}button.link{background:none;color:var(--brand);width:auto;margin:0;padding:0;font-weight:600}.msg{margin:12px 0;padding:10px 12px;border-radius:8px;border:1px solid var(--line)}.msg.error{color:var(--err);border-color:var(--err)}.msg.success{color:var(--ok);border-color:var(--ok)}.row{display:flex;gap:12px;align-items:center}.spinner{width:18px;height:18px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation:none}}img.qr{display:block;margin:12px auto;max-width:200px;background:#fff;padding:8px;border-radius:8px}code.secret{word-break:break-all;display:block;padding:8px;background:var(--bg);border-radius:6px}.pill{display:inline-block;padding:2px 10px;border-radius:999px;border:1px solid var(--line);font-size:.85rem;color:var(--muted)}.page{min-height:100vh;display:flex;flex-direction:column;padding:0 16px}.brandbar{max-width:420px;width:100%;margin:24px auto 0}.brand{font-weight:700;font-size:1.2rem;color:var(--text);text-decoration:none}.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:8px;background:var(--card);padding:8px;z-index:10}.card.auth.wide{max-width:520px}.foot{margin:auto auto 24px;padding-top:24px;color:var(--muted);font-size:.9rem}.field{margin:14px 0}.field label{margin:0 0 4px}.help{color:var(--muted);font-size:.9rem;margin:0 0 6px}.inputrow{display:flex;gap:8px}.inputrow input{flex:1}.toggle{margin:0;width:auto;padding:0 12px;background:transparent;color:var(--brand);border:1px solid var(--line)}.fielderr{color:var(--err);margin:6px 0 0;font-size:.9rem}input[aria-invalid=true]{border-color:var(--err)}.hints{list-style:none;padding:0;margin:0 0 8px;color:var(--muted);font-size:.9rem}.hints .ok{color:var(--ok)}.small{font-size:.88rem}.msg.info{color:var(--text)}button.secondary{background:transparent;color:var(--brand);border:1px solid var(--brand);margin-top:12px;width:auto;padding:9px 12px}.codes{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.codes code{display:block;padding:8px;background:var(--bg);border-radius:6px;text-align:center;letter-spacing:.5px}.check{display:flex;gap:8px;align-items:center;margin:18px 0 0;font-weight:500}.check input{width:20px;height:20px}a.btn{display:block;text-align:center;text-decoration:none;width:auto}nav.row{gap:16px;flex-wrap:wrap}summary{cursor:pointer;color:var(--brand);font-weight:600}h2{font-size:1.1rem;margin:16px 0 8px}@media (max-width:480px){.card.auth{margin:16px 0;padding:20px 16px;border-radius:10px}}.pill.ok{color:var(--ok);border-color:var(--ok)}.pill.warn{color:var(--err);border-color:var(--err)}.vmlist{list-style:none;padding:0;margin:0}.actions{margin-top:8px;flex-wrap:wrap}button.inline,a.btn.inline{width:auto;display:inline-block;padding:10px 16px}button.danger{color:var(--err);border-color:var(--err)}select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font:inherit}.row{flex-wrap:wrap}.term{background:#0e1116;padding:8px;border-radius:8px;min-height:520px}a.btn.secondary{background:transparent;color:var(--brand);border:1px solid var(--brand);margin-top:12px}.inlinelabel{display:inline-flex;gap:6px;align-items:center;margin:12px 0 0;font-weight:500}.inlinelabel select{width:auto}textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font:inherit;font-family:ui-monospace,monospace}pre.logs{background:#0e1116;color:#e8ebf0;padding:12px;border-radius:8px;max-height:360px;overflow:auto;font-size:.85rem;white-space:pre-wrap;word-break:break-all}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--muted);font-weight:600;white-space:nowrap}
