.lab-selector{padding:2rem;max-width:1200px;margin:0 auto}.header{text-align:center;margin-bottom:3rem}.header h1{font-size:2.5rem;margin-bottom:.5rem;color:#fff}.header p{font-size:1.1rem;color:#ccc}.labs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.lab-card{background-color:#2d2d2d;border:2px solid #3d3d3d;border-radius:8px;padding:2rem;cursor:pointer;transition:all .2s ease}.lab-card:hover{border-color:#4a9eff;transform:translateY(-4px);box-shadow:0 4px 12px #4a9eff33}.lab-icon{font-size:3rem;margin-bottom:1rem}.lab-card h3{font-size:1.5rem;margin-bottom:.5rem;color:#fff}.lab-description{color:#ccc;margin-bottom:1rem;line-height:1.5}.lab-image{margin-top:1rem;padding:.5rem;background-color:#1e1e1e;border-radius:4px}.lab-image code{color:#4a9eff;font-size:.9rem;font-family:Courier New,monospace}/**
 * 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}.report-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.report-container{background:#1e1e1e;border:1px solid #3d3d3d;border-radius:8px;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.report-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #3d3d3d;flex-shrink:0}.report-title{margin:0;font-size:16px;font-weight:600;color:#e0e0e0}.report-close{background:#3d3d3d;border:1px solid #555;color:#e0e0e0;padding:6px 16px;border-radius:4px;cursor:pointer;font-size:13px}.report-close:hover{background:#4d4d4d}.report-body{overflow-y:auto;padding:16px 20px}.report-section{margin-bottom:20px}.report-section:last-child{margin-bottom:0}.report-section-title{margin:0 0 10px;font-size:13px;font-weight:600;color:#8ab4f8;text-transform:uppercase;letter-spacing:.5px}.report-section-content{background:#2d2d2d;border:1px solid #3d3d3d;border-radius:6px;padding:12px}.metric-row{display:flex;justify-content:space-between;align-items:baseline;padding:4px 0;gap:12px}.metric-label{color:#999;font-size:13px;flex-shrink:0}.metric-value{color:#e0e0e0;font-size:13px;font-family:Menlo,Monaco,Courier New,monospace;text-align:right;word-break:break-all}.metric-divider{border-top:1px solid #3d3d3d;margin:8px 0}.metric-empty{color:#666;font-size:13px;font-style:italic;padding:4px 0}.badge-websocket{color:#4ec9b0}.badge-webtransport{color:#ce9178}.badge-guacamole{color:#dcdcaa}.badge-selkies{color:#c586c0}.metric-warning{color:#ffd43b;font-style:italic}.waterfall{display:flex;flex-direction:column;gap:4px}.waterfall-row{display:flex;align-items:center;gap:8px}.waterfall-label{color:#999;font-size:12px;width:120px;flex-shrink:0;text-align:right}.waterfall-bar-container{flex:1;height:16px;background:#1e1e1e;border-radius:3px;overflow:hidden}.waterfall-bar{height:100%;background:linear-gradient(90deg,#264f78,#3794ff);border-radius:3px;min-width:4px}.waterfall-value{color:#e0e0e0;font-size:12px;font-family:Menlo,Monaco,Courier New,monospace;width:80px;flex-shrink:0;text-align:right}.network-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.network-half h4{margin:0 0 8px}.network-direction{font-size:12px;font-weight:500;color:#8ab4f8;margin:0 0 8px}.sparkline-container{padding:4px 0}.sparkline-label{display:block;color:#999;font-size:12px;margin-bottom:6px}.sparkline{display:flex;align-items:flex-end;gap:1px;background:#1e1e1e;border-radius:4px;padding:4px;overflow:hidden}.sparkline-bar{flex:1;min-width:2px;border-radius:1px 1px 0 0;transition:opacity .15s;cursor:default}.sparkline-bar:hover{opacity:.8}.sparkline-range{display:flex;justify-content:space-between;margin-top:4px;font-size:11px;font-family:Menlo,Monaco,Courier New,monospace;color:#666}.latency-stats{display:flex;justify-content:space-between;gap:8px}.latency-stat{display:flex;flex-direction:column;align-items:center;flex:1;padding:8px 4px;background:#1e1e1e;border-radius:4px}.latency-stat-value{font-size:14px;font-weight:600;font-family:Menlo,Monaco,Courier New,monospace;color:#4ec9b0}.latency-stat-label{font-size:11px;color:#666;margin-top:2px;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 600px){.network-grid{grid-template-columns:1fr}.waterfall-label{width:80px;font-size:11px}.waterfall-value{width:60px;font-size:11px}.latency-stats{flex-wrap:wrap}.latency-stat{min-width:calc(33% - 8px)}}.terminal-container{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#1e1e1e}.terminal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:#2d2d2d;border-bottom:1px solid #3d3d3d}.back-button{padding:.5rem 1rem;background-color:#3d3d3d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.back-button:hover{background-color:#4d4d4d}.terminal-title{display:flex;align-items:center;gap:1rem;flex:1;justify-content:center}.lab-name{font-size:1.1rem;font-weight:500;color:#fff}.status-indicator{font-size:.85rem;padding:.25rem .75rem;border-radius:12px;font-weight:500}.status-indicator.connected{color:#51cf66;background-color:#51cf661a}.status-indicator.connecting{color:#ffd43b;background-color:#ffd43b1a}.status-indicator.disconnected{color:#ff6b6b;background-color:#ff6b6b1a}.terminal-actions{display:flex;align-items:center;gap:.75rem}.stop-button{padding:.4rem .8rem;background-color:#c53030;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.8rem;font-weight:500;transition:background-color .2s}.stop-button:hover{background-color:#e53e3e}.lab-image{font-size:.85rem;color:#888;font-family:Courier New,monospace}.terminal-wrapper{flex:1;overflow:hidden;padding:1rem;background-color:#1e1e1e}.terminal{height:100%;width:100%}.stopping-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;background-color:#000000a6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.stopping-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:2rem 2.5rem;background-color:#2d2d2d;border:1px solid #3d3d3d;border-radius:12px;box-shadow:0 8px 32px #0006}.stopping-spinner{width:28px;height:28px;border:3px solid #3d3d3d;border-top-color:#51cf66;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stopping-title{margin:0;font-size:1rem;font-weight:500;color:#fff}.stopping-detail{margin:0;font-size:.85rem;color:#888}.status-indicator.stopping{color:#ffd43b;background-color:#ffd43b1a}.stop-button-disabled{opacity:.6;cursor:not-allowed}.stop-button-disabled:hover{background-color:#c53030}.connection-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#ff6b6be6;color:#fff;padding:1.5rem 2rem;border-radius:8px;text-align:center;box-shadow:0 4px 12px #0000004d}.connection-error p{margin:0;font-size:1rem}.chooser-card.disabled{opacity:.5;cursor:not-allowed}.chooser-card.disabled:hover{border-color:#3d3d3d;transform:none;box-shadow:none}.chooser-badge{margin-top:.75rem;padding:.35rem .75rem;background-color:#ff6b6b26;color:#ff6b6b;border-radius:12px;font-size:.8rem;font-weight:500;display:inline-block}.desktop-container{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#1e1e1e}.desktop-viewport{flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#000;position:relative}.desktop-viewport>div{cursor:none}.selkies-container{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#1e1e1e}.selkies-viewport{flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#000;position:relative}.selkies-iframe{width:100%;height:100%;border:none}.selkies-loading{color:#888;font-size:1.1em;text-align:center}.chooser-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#1e1e1e}.chooser-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.chooser-content h2{font-size:1.8rem;color:#fff;margin-bottom:.5rem}.chooser-subtitle{color:#999;margin-bottom:2rem}.chooser-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:1.5rem;max-width:700px;width:100%}.chooser-card{background-color:#2d2d2d;border:2px solid #3d3d3d;border-radius:8px;padding:2rem;cursor:pointer;transition:all .2s ease;text-align:center}.chooser-card:hover{border-color:#4a9eff;transform:translateY(-4px);box-shadow:0 4px 12px #4a9eff33}.chooser-icon{font-size:3rem;margin-bottom:1rem}.chooser-card h3{font-size:1.3rem;color:#fff;margin-bottom:.5rem}.chooser-description{color:#ccc;margin-bottom:1rem;line-height:1.5;font-size:.95rem}.chooser-image{margin-top:.5rem;padding:.5rem;background-color:#1e1e1e;border-radius:4px}.chooser-image code{color:#4a9eff;font-size:.85rem;font-family:Courier New,monospace}.user-menu{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;position:absolute;top:1rem;right:1.5rem}.user-menu .username{color:#ccc;font-size:.9rem}.user-menu .logout-btn{background:none;border:1px solid #555;color:#ccc;padding:.3rem .8rem;border-radius:4px;cursor:pointer;font-size:.85rem;transition:all .2s ease}.user-menu .logout-btn:hover{border-color:#e74c3c;color:#e74c3c}.app-container{height:100%;display:flex;flex-direction:column}.loading,.error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:1rem}.error h2{color:#ff6b6b;margin-bottom:.5rem}.error p{color:#ccc;margin-bottom:1rem}.error button{padding:.5rem 1.5rem;background-color:#4a9eff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.error button:hover{background-color:#3a8eef}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#1e1e1e;color:#fff;min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}
