:root,[data-theme=dark]{color-scheme:dark}[data-theme=light]{color-scheme:light;--bg-deep: #f7faf9;--bg-primary: #eef5f3;--bg-card: #ffffff;--bg-elevated: #f3f8f6;--bg-input: #ffffff;--primary: #0f766e;--primary-hover: #0d9488;--primary-glow: rgba(15, 118, 110, .18);--primary-dim: rgba(15, 118, 110, .08);--accent-strong: #0f766e;--accent: #c2410c;--accent-dim: rgba(194, 65, 12, .08);--gold: #b45309;--text-primary: #0f172a;--text-secondary: #334155;--text-muted: #64748b;--border-color: rgba(15, 23, 42, .1);--border-focus: rgba(15, 118, 110, .4);--success: #047857;--success-dim: rgba(4, 120, 87, .1);--error: #b91c1c;--error-dim: rgba(185, 28, 28, .08);--warning: #b45309;--warning-dim: rgba(180, 83, 9, .1);--info: #0369a1;--info-dim: rgba(3, 105, 161, .1);--card-bg: var(--bg-card);--content-bg-secondary: var(--bg-elevated);--shadow-lg: 0 14px 36px -16px rgba(15, 23, 42, .18);--shadow-card: 0 8px 24px -12px rgba(15, 23, 42, .14);--surface-glass: rgba(255, 255, 255, .9);--on-primary: #ffffff;--bg: #f8fafc;--text: #0f172a;--muted: #64748b;--border: rgba(15, 23, 42, .12);--ui-color-bg: #ffffff;--ui-color-surface: #ffffff;--ui-color-surface-subtle: #f8fafc;--ui-color-text: #0f172a;--ui-color-text-muted: #475569;--ui-color-text-subtle: #64748b;--ui-color-border: rgba(15, 23, 42, .12);--ui-color-border-strong: rgba(15, 23, 42, .18);--ui-color-brand: #2563eb;--ui-color-brand-strong: #1d4ed8;--ui-color-brand-soft: rgba(37, 99, 235, .12);--surface: var(--ui-color-surface);--surface-2: var(--ui-color-surface-subtle);--muted-2: var(--ui-color-text-subtle);--border-strong: var(--ui-color-border-strong);--brand: var(--ui-color-brand);--brand-2: var(--ui-color-brand-strong);--brand-soft: var(--ui-color-brand-soft);--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 10px 30px rgba(15, 23, 42, .1);--eda-bg: #f8fafc;--eda-surface: #ffffff;--eda-text: #0f172a;--eda-muted: #64748b;--eda-border: rgba(15, 23, 42, .12)}[data-theme=light] body,[data-theme=light] #root{background-color:var(--bg-deep, var(--bg, #f7faf9));color:var(--text-primary, var(--text, #0f172a))}[data-theme=dark]{color-scheme:dark;--ui-color-bg: #070609;--ui-color-surface: #141219;--ui-color-surface-subtle: #0e0c10;--ui-color-text: #f1f5f9;--ui-color-text-muted: #94a3b8;--ui-color-text-subtle: #64748b;--ui-color-border: rgba(148, 163, 184, .12);--ui-color-border-strong: rgba(148, 163, 184, .22);--ui-color-brand: #0d9488;--ui-color-brand-strong: #0f766e;--ui-color-brand-soft: rgba(13, 148, 136, .12);--ui-color-success: #10b981;--ui-shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);--ui-shadow-md: 0 25px 50px -12px rgba(0, 0, 0, .5);--bg: var(--ui-color-bg);--surface: var(--ui-color-surface);--surface-2: var(--ui-color-surface-subtle);--text: var(--ui-color-text);--muted: var(--ui-color-text-muted);--muted-2: var(--ui-color-text-subtle);--border: var(--ui-color-border);--border-strong: var(--ui-color-border-strong);--brand: var(--ui-color-brand);--brand-2: var(--ui-color-brand-strong);--brand-soft: var(--ui-color-brand-soft);--eda-bg: #070609;--eda-surface: #141219;--eda-text: #f1f5f9;--eda-muted: #94a3b8;--eda-border: rgba(148, 163, 184, .12)}[data-theme=dark] body,[data-theme=dark] #root{background-color:var(--bg-deep, var(--bg, #070609));color:var(--text-primary, var(--text, #f1f5f9))}/**
 * 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}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;min-height:100vh}#root{display:flex;flex-direction:column}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#0d1117;color:#e0e0e0}.shell{min-height:100%;flex:1;display:flex;align-items:center;justify-content:center;padding:1.5rem}.shell--terminal{flex:1;min-height:0;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:.75rem;gap:.75rem}.card{width:100%;max-width:420px;background:#161b22;border:1px solid #30363d;border-radius:10px;padding:1.75rem;box-shadow:0 12px 40px #00000059}.connect-card{max-width:560px;max-height:calc(100vh - 3rem);overflow:auto}.connect-overlay{flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center;padding:1rem;overflow:auto}.card h1{margin:0 0 .5rem;font-size:1.35rem;font-weight:600}.muted{margin:0 0 1.25rem;color:#8b949e;font-size:.92rem;line-height:1.45}.form label{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;font-size:.88rem;color:#c9d1d9}.form-row{display:grid;grid-template-columns:1fr 120px;gap:.75rem}.form input,.form select,.form textarea{padding:.55rem .65rem;border-radius:6px;border:1px solid #30363d;background:#0d1117;color:#e0e0e0;font-size:1rem;font-family:inherit}.form textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem}.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 2px #388bfd40}.connect-fieldset{border:1px solid #30363d;border-radius:8px;padding:.75rem 1rem .35rem;margin:0 0 1rem}.connect-fieldset legend{padding:0 .35rem;color:#8b949e;font-size:.8rem}.radio-row,.check-row{flex-direction:row!important;align-items:center;gap:.55rem!important;margin-bottom:.55rem!important}.radio-row input,.check-row input{width:auto;margin:0}.actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.5rem}.button{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1rem;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;border:1px solid transparent;text-decoration:none;background:transparent;color:#e0e0e0}.button:disabled{opacity:.6;cursor:not-allowed}.button.primary{background:#238636;border-color:#2ea043;color:#fff}.button.primary:hover:not(:disabled){background:#2ea043}.button.ghost{border-color:#30363d;background:#21262d}.button.ghost:hover:not(:disabled){background:#30363d}.field-error{color:#f85149;font-size:.88rem;margin-bottom:.5rem}.topbar{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;background:#161b22;border:1px solid #30363d;border-radius:10px}.topbar .title{flex:1;font-weight:600;font-size:.95rem}.session-workspace{flex:1;min-height:0;display:flex;flex-direction:column;gap:.5rem}.session-tabbar{display:flex;align-items:center;gap:.5rem;padding:.35rem;background:#161b22;border:1px solid #30363d;border-radius:10px}.session-tabs{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:.35rem}.session-tab{display:inline-flex;align-items:center;gap:.35rem;max-width:240px;padding:.35rem .45rem .35rem .65rem;border-radius:6px;border:1px solid #30363d;background:#0d1117;color:#c9d1d9;cursor:pointer;font-size:.82rem}.session-tab--active{border-color:#58a6ff;background:#21262d;color:#e6edf3}.session-tab__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-tab__close{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;height:1.1rem;border-radius:4px;color:#8b949e;font-size:1rem;line-height:1}.session-tab__close:hover{background:#30363d;color:#f0f6fc}.session-new{white-space:nowrap}.session-pane{flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid #30363d;border-radius:8px;background:#11161d;overflow:hidden}.session-pane--hidden{display:none}.session-pane-header{flex:0 0 auto;padding:.4rem .75rem;border-bottom:1px solid #30363d;color:#9fb3c8;font-size:.82rem}.session-pane-body{flex:1;min-height:0;display:flex;flex-direction:column}.banner.error{padding:.4rem .6rem;background:#f8514926;color:#f85149;font-size:.8rem;border-bottom:1px solid #30363d}.terminal-mount{flex:1;min-height:0;position:relative;padding:.5rem 0 0;outline:none}.terminal-mount:focus-visible{outline:1px solid rgba(88,166,255,.45);outline-offset:-1px}.terminal-mount .xterm{position:absolute;left:.5rem;right:.5rem;top:.5rem;bottom:.5rem;width:auto!important;height:auto!important;padding:0}.terminal-mount .xterm-viewport{overflow-y:auto!important}.window-pane-error{flex:0 0 auto;border-top:1px solid #30363d;background:#f8514926;color:#f85149;font-size:.78rem;padding:.25rem .5rem}.terminal-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#9fb3c8;font-size:.95rem}@media (max-width: 640px){.form-row{grid-template-columns:1fr}.session-tabbar{flex-wrap:wrap}}.mitverse-theme-switcher{display:inline-flex;align-items:center}.mitverse-theme-switcher-options{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem;border:1px solid var(--border-color, var(--border, rgba(148, 163, 184, .18)));border-radius:999px;background:color-mix(in srgb,var(--bg-elevated, var(--bg-card, var(--surface, #141219))) 92%,transparent)}.mitverse-theme-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:var(--text-muted, var(--muted, #94a3b8));border-radius:999px;padding:.35rem .65rem;font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.01em;text-transform:capitalize;cursor:pointer;line-height:1.1}.mitverse-theme-option:hover{color:var(--text-primary, var(--text, #f1f5f9))}.mitverse-theme-option.is-active{background:var(--primary, var(--brand, #0d9488));color:#fff}.mitverse-theme-switcher--compact .mitverse-theme-option{padding:.3rem .5rem;font-size:.68rem}.sidebar-theme,.shield-theme,.eda-theme,.site-header-theme{display:flex;justify-content:center;padding:.55rem .75rem}[data-theme=light] .mitverse-theme-option.is-active{color:#fff}
