/**
 * 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-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{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.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}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}:root{color-scheme:dark;font-family:Segoe UI Variable,Bahnschrift,Trebuchet MS,sans-serif;background:radial-gradient(circle at top left,rgba(255,174,82,.18),transparent 32%),radial-gradient(circle at bottom right,rgba(70,180,210,.16),transparent 34%),#091018;color:#eef2f7;--surface: rgba(9, 18, 29, .84);--surface-strong: rgba(13, 25, 39, .96);--surface-soft: rgba(18, 33, 51, .78);--border: rgba(255, 255, 255, .08);--text-muted: #9fb0c3;--accent: #ffb24d;--accent-soft: #48b0d9;--danger: #ff7a7a;--success: #76d19c;--warning: #ffd166;--shadow: 0 24px 60px rgba(0, 0, 0, .35);--select-menu-surface: #f6f8fb;--select-menu-text: #101418}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:inherit;color:inherit}a{color:inherit;text-decoration:none}button,input,select{font:inherit}select option,select optgroup{color:var(--select-menu-text);background:var(--select-menu-surface)}#root{min-height:100vh}.loading-screen,.login-screen{min-height:100vh;display:grid;place-items:center;padding:2rem}.login-screen{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;max-width:1200px;margin:0 auto}.login-hero__logo{display:block;width:280px;max-width:100%;margin-bottom:1.5rem}.login-hero h1,.page-header h1,.loading-card h1{margin:0;font-size:clamp(2.2rem,4vw,3.5rem);line-height:.95}.login-hero p,.page-header p,.loading-card p,.shell__subtitle{color:var(--text-muted);max-width:58ch}.eyebrow{margin:0 0 .65rem;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;color:var(--accent-soft)}.panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-radius:24px}.panel--muted{background:var(--surface-soft)}.login-form,.form-panel,.loading-card{padding:1.5rem}.shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.shell__sidebar{padding:1.5rem;margin:1rem;display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:1rem;height:calc(100vh - 2rem)}.shell__logo{display:block;width:100%;max-width:200px;height:auto}.nav{display:grid;gap:.45rem}.nav__link{border-radius:14px;padding:.85rem 1rem;color:var(--text-muted);transition:background .16s ease,color .16s ease,transform .16s ease}.nav__link:hover,.nav__link--active{background:#ffffff0f;color:#f8fbff;transform:translate(2px)}.shell__account{margin-top:auto;padding:1rem;display:grid;gap:1rem}.shell__account-name{margin:0;font-weight:700}.shell__account-meta{margin:.3rem 0 0;color:var(--text-muted);font-size:.9rem}.shell__main{padding:1rem 1rem 2rem 0}.page-grid{display:grid;gap:1rem}.page-header{padding:1rem 0}.metric-grid,.two-column-grid{display:grid;gap:1rem}.metric-grid,.metric-grid--statuses{grid-template-columns:repeat(4,minmax(0,1fr))}.two-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column-grid--wide{grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr)}.two-column-grid--single{grid-template-columns:1fr}.metric-card,.status-card{padding:1.3rem}.metric-card strong,.status-card strong{display:block;margin-top:.6rem;font-size:2rem}.metric-card__label{color:var(--text-muted)}.panel__header{padding:1.25rem 1.25rem 0}.panel__header h2,.form-panel h2,.highlight-panel h2{margin:0;font-size:1.1rem}.field{display:grid;gap:.45rem;margin-top:1rem}.field span,.checkbox-field span{color:var(--text-muted)}.field input,.field select{border-radius:14px;border:1px solid var(--border);background:#ffffff08;color:#f8fbff;padding:.9rem 1rem}.checkbox-field{display:flex;gap:.8rem;align-items:start;margin-top:1rem}.button{border:0;border-radius:14px;padding:.95rem 1.2rem;background:linear-gradient(135deg,var(--accent),#ff8b5d);color:#101418;font-weight:700;cursor:pointer;margin-top:1.2rem}.button--ghost{background:#ffffff0d;color:#f8fbff}.button:disabled{cursor:wait;opacity:.75}.form-error{margin-top:.9rem;color:var(--danger)}.table-wrap{overflow:auto;padding:0 1.25rem 1.25rem}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{text-align:left;padding:.95rem .35rem;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:top}.data-table th{color:var(--text-muted);font-size:.83rem;text-transform:uppercase;letter-spacing:.08em}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .75rem;font-size:.8rem;text-transform:capitalize;background:#ffffff14}.status-pill--online,.status-pill--active,.status-pill--commissioned,.status-pill--healthy,.status-pill--complete,.status-pill--completed{background:#76d19c29;color:var(--success)}.status-pill--pending,.status-pill--provisioned,.status-pill--restricted_outbound,.status-pill--degraded{background:#ffd16629;color:var(--warning)}.status-pill--offline,.status-pill--unknown,.status-pill--inactive,.status-pill--failed,.status-pill--error{background:#ff7a7a1f;color:#ff9e9e}.empty-state{padding:2rem 1.25rem 2.25rem;text-align:center;color:var(--text-muted)}.empty-state h3{margin:0 0 .5rem;color:#f8fbff}.empty-state p{margin:0 auto;max-width:54ch}.empty-state__action{margin-top:1rem}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;justify-content:flex-end;background:#00000075}.detail-drawer{width:min(720px,100vw);height:100vh;overflow:auto;background:var(--surface-strong);border-left:1px solid var(--border);box-shadow:var(--shadow)}.detail-drawer__header,.detail-drawer__body,.detail-drawer__footer{padding:1.25rem}.detail-drawer__header{display:flex;gap:1rem;justify-content:space-between;border-bottom:1px solid var(--border)}.detail-drawer__header h2{margin:0}.detail-drawer__header p{margin:.45rem 0 0;color:var(--text-muted)}.detail-drawer__close{align-self:start;margin-top:0}.detail-drawer__body{display:grid;gap:1rem}.detail-section{border-bottom:1px solid var(--border);padding-bottom:1rem}.detail-section h3{margin:0 0 .8rem}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem}.detail-field span{display:block;color:var(--text-muted);font-size:.82rem;margin-bottom:.25rem}.detail-field strong,.detail-field code{word-break:break-word}.button-row{display:flex;flex-wrap:wrap;gap:.5rem}.button-row .button{margin-top:0}.activity-list{list-style:none;margin:0;padding:0 1.25rem 1.25rem;display:grid;gap:.9rem}.activity-list__item{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,.06)}.activity-list__title{margin:0;font-weight:700}.activity-list__meta,.activity-list__time{margin:.25rem 0 0;color:var(--text-muted);font-size:.92rem}.highlight-panel{padding:1.25rem;background:linear-gradient(135deg,#ffb24d2e,#48b0d91f)}.token-box,.code-block{font-family:Consolas,Cascadia Code,monospace;font-size:.92rem;white-space:pre-wrap;word-break:break-word;background:#00000047;border-radius:16px;padding:.9rem 1rem;margin:1rem 0 0}.code-block{margin:0}@media (max-width: 1080px){.shell{grid-template-columns:1fr}.shell__sidebar{position:static;height:auto;margin-bottom:0}.shell__main{padding:1rem}.metric-grid,.metric-grid--statuses,.two-column-grid,.two-column-grid--wide,.login-screen,.detail-grid{grid-template-columns:1fr}}.mini-note{color:var(--text-muted);font-size:.83rem}.button--small{padding:.5rem .8rem;font-size:.85rem;margin-top:0}.button--danger{background:#ff7a7a21;color:var(--danger)}.button--active{background:#ffb24d24;color:var(--accent)}.tab-strip{display:flex;border-bottom:1px solid var(--border);padding:0 1.25rem;margin:-1.25rem -1.25rem 1.25rem;flex-shrink:0}.tab-strip__tab{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--text-muted);cursor:pointer;font-size:.9rem;margin-bottom:-1px;margin-top:0;padding:.65rem .85rem;transition:color .16s ease,border-color .16s ease}.tab-strip__tab:hover{color:#f8fbff}.tab-strip__tab--active{color:var(--accent);border-bottom-color:var(--accent)}.copy-button{display:inline-flex;align-items:center;background:#ffffff12;border:0;border-radius:8px;color:var(--text-muted);cursor:pointer;font-size:.78rem;margin-top:0;padding:.2rem .5rem;transition:background .16s ease,color .16s ease;vertical-align:middle}.copy-button:hover{background:#ffffff24;color:#f8fbff}.panel-dismiss{background:transparent;border:0;color:var(--text-muted);cursor:pointer;font-size:1.3rem;line-height:1;margin-top:0;padding:0}.panel-dismiss:hover{color:#f8fbff}.inline-notice{align-items:center;border-radius:12px;display:flex;font-size:.9rem;gap:.75rem;justify-content:space-between;padding:.65rem .85rem}.inline-notice--success{background:#76d19c1f;border:1px solid rgba(118,209,156,.22);color:var(--success)}.inline-notice__dismiss{background:transparent;border:0;color:inherit;cursor:pointer;font-size:1.1rem;margin-top:0;opacity:.65;padding:0}.inline-notice__dismiss:hover{opacity:1}.table-row--selected td{background:#ffb24d0d}.field-hint{color:var(--text-muted);font-size:.82rem;margin-top:.2rem}.ssh-terminal{margin-top:.75rem;min-height:20rem;border:1px solid var(--border);border-radius:.5rem;overflow:hidden;background:#0f172a}
