/**
 * 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}/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.hidden{display:none}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}}:root{color-scheme:dark;--bg:#101113;--panel:#16171a;--raised:#1c1d21;--border:#292b30;--text:#eceef2;--muted:#8b8e98;--accent:#a6a5ff;--accent-bg:#25243a;--hover:#222328;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.5}:root[data-theme=light]{color-scheme:light;--bg:#f8f9fb;--panel:#fff;--raised:#f4f5f7;--border:#e1e3e8;--text:#202127;--muted:#737680;--accent:#6259cf;--accent-bg:#edebfb;--hover:#eff0f4}*{box-sizing:border-box}body{min-width:340px;margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid var(--border);background:var(--panel);min-height:32px;color:var(--text);cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:6px 12px;text-decoration:none;transition:background .12s,border-color .12s;display:inline-flex}button:hover,.button:hover{background:var(--hover);border-color:var(--muted)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select,textarea{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;min-width:0;padding:8px 12px}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{resize:vertical;width:100%;line-height:1.6}input[type=range]{accent-color:var(--accent);cursor:pointer;height:4px;padding:0}input[type=checkbox]{accent-color:var(--accent)}label{flex-direction:column;gap:8px;font-size:12px;font-weight:500;display:flex}svg{flex-shrink:0}h1,h2,p{margin:0}h1{letter-spacing:-1px;font-size:28px;font-weight:600;line-height:1.3}h2{letter-spacing:-.4px;font-size:18px;font-weight:550}strong{font-weight:550}p{color:var(--muted)}kbd{text-align:center;border:1px solid var(--border);min-width:17px;color:var(--muted);border-radius:3px;padding:0 3px;font-family:inherit;font-size:10px;line-height:16px}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}th{color:var(--muted);background:var(--panel);z-index:1;height:40px;font-size:11px;font-weight:500;position:sticky;top:0}td{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;height:44px;font-size:12px}th,td{padding:8px 16px}th button{color:var(--muted);background:0 0;border:0;min-height:20px;padding:0}td:first-child{font-weight:500}tbody tr:hover{background:var(--raised)}.muted{color:var(--muted)}.accent{color:var(--accent)}.danger-text{color:#e89898}.hidden{display:none!important}.primary{background:var(--accent);border-color:var(--accent);color:#141322;font-weight:550}.primary:hover{background:var(--accent);filter:brightness(1.08);border-color:var(--accent)}[data-theme=light] .primary{color:#fff}.icon-button{background:0 0;border-color:#0000;width:32px;height:32px;padding:6px}.selected{background:var(--accent-bg);color:var(--accent);border-color:var(--accent)}.badge{letter-spacing:.6px;color:var(--muted);border:1px solid var(--border);white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:9px}.dot{background:var(--muted);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.dot.online{background:#78bc93}.eyebrow{letter-spacing:1.5px;color:var(--muted);margin-bottom:12px;font-size:10px;font-weight:600}.panel{border:1px solid var(--border);background:var(--panel);border-radius:8px;min-width:0;overflow:hidden}.panel-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:12px 16px;display:flex}.toolbar-title,.toolbar-actions{align-items:center;gap:8px;min-width:0;display:flex}.toolbar-title>svg{color:var(--muted);margin-right:4px}.panel-toolbar select{background:0 0;border:0;max-width:220px;padding-left:0}.panel-toolbar input{max-width:200px;height:30px}.hint{color:var(--muted);border-top:1px solid var(--border);padding:12px 16px;font-size:11px}.panel-content{padding:20px}.panel-content p{margin-bottom:16px;font-size:12px}.panel-content .toolbar-actions{flex-wrap:wrap;margin-top:16px}.skeleton{background:var(--raised);border-radius:4px;height:20px;animation:1.5s ease-in-out infinite pulse}.skeleton-list{flex-direction:column;gap:20px;padding:16px;display:flex}.empty-small{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:48px 20px;display:flex}.empty-small>span{font-size:11px}.empty-small p{font-size:13px}.app-shell{min-height:100vh}.rail{z-index:10;background:var(--panel);border-right:1px solid var(--border);flex-direction:column;align-items:center;width:72px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{letter-spacing:-2px;color:var(--text);font-size:30px;font-weight:750;line-height:1;text-decoration:none;display:block}.brand span{color:var(--accent)}.rail>.brand{margin:24px 0 44px}.rail nav{flex-direction:column;gap:12px;display:flex}.nav-item{width:40px;height:40px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;padding:0}.nav-item span{display:none}.nav-item:hover{color:var(--text);border-color:#0000}.nav-item.active{color:var(--accent);background:var(--accent-bg);border-color:#0000}.theme-button{color:var(--muted);margin-top:auto;margin-bottom:24px}.main{margin-left:72px}.topbar{border-bottom:1px solid var(--border);background:var(--bg);z-index:8;justify-content:space-between;align-items:center;gap:16px;height:64px;padding:0 40px;display:flex;position:sticky;top:0}.crumb{color:var(--muted);align-items:center;gap:12px;font-size:12px;display:flex}.crumb span{color:var(--border)}.crumb strong{color:var(--text);font-weight:450}.top-right{align-items:center;gap:24px;display:flex}.connection{align-items:center;gap:8px;font-size:11px;display:flex}.palette-trigger{min-height:28px;color:var(--muted);background:0 0;gap:6px;padding:4px 6px}.workspace{max-width:1600px;margin:0 auto;padding:40px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px;display:flex}.page-heading p{margin-top:8px;font-size:13px}.private-label{color:var(--muted);align-items:center;gap:6px;margin-top:32px;font-size:10px;display:flex}.desktop-stage{aspect-ratio:16/9;background:#0b0c0e;justify-content:center;align-items:center;min-height:280px;display:flex;position:relative;overflow:hidden}.desktop-stage:fullscreen{aspect-ratio:auto;background:#070809;width:100%;height:100%}.desktop-stage canvas{object-fit:contain;touch-action:none;-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.stage-empty{text-align:center;color:#d5d7de;background:#0d0e10ee;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.empty-icon{color:#747781;background:#141518;border:1px solid #282a2f;border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:24px;display:flex}.stage-empty h2{font-size:18px}.stage-empty p{color:#848792;max-width:320px;margin-top:8px;font-size:12px}.stage-empty button{margin-top:24px}.stream-controls{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:24px;padding:16px;font-size:11px;display:flex}.stream-controls>span{color:var(--muted);align-items:center;gap:8px;margin-right:auto;display:flex}.stream-controls label{color:var(--muted);flex-direction:row;align-items:center;gap:12px;font-size:11px;font-weight:400}.stream-controls input{width:88px}.stream-controls b{text-align:right;width:40px;color:var(--text);font-variant-numeric:tabular-nums;font-weight:450}footer{color:var(--muted);justify-content:space-between;gap:16px;padding-top:24px;font-size:10px;display:flex}footer .accent{margin:0 8px}.auth-screen{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{border:1px solid var(--border);background:var(--panel);border-radius:12px;width:100%;max-width:400px;padding:40px}.login-card>.brand{margin-bottom:40px}.login-card h1{font-size:28px}.login-card p{margin:12px 0 32px;font-size:12px}.login-card label{margin:20px 0}.login-card label .muted{font-size:10px}.login-card input{height:40px}.login-card .primary{justify-content:space-between;width:100%;height:40px;margin-top:8px}.login-foot{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:24px;font-size:10px;display:flex}.modal-backdrop,.drawer-backdrop{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0008;position:fixed;top:0;right:0;bottom:0;left:0}.modal-backdrop{justify-content:center;align-items:flex-start;padding:16vh 16px;display:flex}.command-menu{background:var(--panel);border:1px solid var(--border);border-radius:10px;width:100%;max-width:480px;padding:8px;overflow:hidden;box-shadow:0 24px 80px #0005}.command-search{border-bottom:1px solid var(--border);color:var(--muted);align-items:center;gap:12px;margin-bottom:8px;padding:8px 8px 16px;display:flex}.command-search input{outline-offset:6px;background:0 0;border:0;width:100%;padding:0}.command-menu>button{border-color:#0000;justify-content:flex-start;width:100%;min-height:40px}.command-menu>button>svg:last-child:not(:first-child){margin-left:auto}.toasts{z-index:60;flex-direction:column;gap:8px;max-width:min(420px,100vw - 32px);display:flex;position:fixed;bottom:24px;right:24px}.toast{border:1px solid var(--border);background:var(--raised);border-radius:8px;align-items:center;gap:16px;padding:12px 12px 12px 16px;font-size:12px;display:flex;box-shadow:0 8px 30px #0003}.toast>span{overflow-wrap:anywhere}.terminal-host{background:#101113;height:500px;padding:16px}.terminal-panel .reconnect-banner{background:var(--accent-bg);color:var(--accent);justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;display:flex}.reconnect-banner button{border-color:var(--accent);background:0 0;min-height:24px;padding:2px 8px;font-size:11px}.files-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.file-pane{position:relative}.file-pane.pane-active{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.file-pane.pane-active{border-color:color-mix(in srgb,var(--accent) 40%,var(--border))}}.file-path{align-items:center;gap:4px;padding:12px 12px 0;display:flex}.file-path form{flex:1;min-width:0}.file-path input{width:100%;height:32px;font-size:12px}.breadcrumbs{white-space:nowrap;min-height:32px;color:var(--muted);padding:4px 16px;font-size:10px;overflow:auto}.breadcrumbs button{min-height:20px;color:var(--muted);background:0 0;border:0;padding:0 2px;font-size:10px}.file-actions{gap:6px;padding:8px 12px;display:flex}.file-actions button{min-height:28px;padding:4px 8px;font-size:11px}.file-search{border:1px solid var(--border);color:var(--muted);border-radius:5px;flex-direction:row;align-items:center;gap:8px;margin:8px 12px 12px;padding:0 8px;display:flex}.file-search input{background:0 0;border:0;width:100%;height:30px;padding:4px 0;font-size:11px}.file-columns,.file-row{grid-template-columns:minmax(0,1fr) 72px 80px;align-items:center;gap:8px;padding:0 12px;display:grid}.file-columns{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--raised);height:36px}.file-columns button{text-transform:capitalize;min-height:24px;color:var(--muted);background:0 0;border:0;justify-content:flex-start;gap:4px;padding:0;font-size:10px}.file-list{height:400px;position:relative;overflow:auto}.file-row{border-bottom:1px solid var(--border)}@supports (color:color-mix(in lab,red,red)){.file-row{border-bottom:1px solid color-mix(in srgb,var(--border) 45%,transparent)}}.file-row{cursor:default;-webkit-user-select:none;user-select:none;font-variant-numeric:tabular-nums;font-size:11px}.file-row>span:first-child{align-items:center;gap:10px;display:flex;overflow:hidden}.file-row>span:first-child>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-row>span:not(:first-child){color:var(--muted);font-size:10px}.file-row svg{color:var(--muted)}.file-row .folder-icon{color:var(--accent)}.file-row:hover{background:var(--hover)}.file-row.is-selected{background:var(--accent-bg)}.file-status{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;padding:10px 12px;font-size:10px;display:flex}.selection-actions{border-top:1px solid var(--border);gap:8px;padding:8px 12px;display:flex}.selection-actions>*{min-height:28px;font-size:11px}.drop-label{z-index:4;background:var(--accent-bg);border:2px dashed var(--accent);color:var(--accent);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.upload-progress{background:var(--bg);height:24px;font-size:10px;position:relative}.upload-progress>div{background:var(--accent-bg);position:absolute;inset:0 auto 0 0}.upload-progress>span{text-align:center;line-height:24px;display:block;position:relative}.preview-drawer{background:var(--panel);border-left:1px solid var(--border);width:min(560px,100%);position:absolute;top:0;bottom:0;right:0;overflow:auto}.preview-drawer .panel-toolbar{background:var(--panel);z-index:1;justify-content:flex-start;position:sticky;top:0}.preview-drawer .panel-toolbar strong{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.preview-body{padding:32px}.preview-body h2{overflow-wrap:anywhere;margin-bottom:8px}.preview-body img{border-radius:4px;max-width:100%;margin:24px 0}.preview-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);border:1px solid var(--border);border-radius:6px;max-height:60vh;margin:24px 0;padding:16px;font-size:11px;overflow:auto}.preview-body>.button{margin-top:24px}.system-title{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;font-size:12px;display:flex}.system-title>span>.dot{margin-right:8px}.power-wrapper{position:relative}.power-menu{z-index:5;border:1px solid var(--border);background:var(--panel);border-radius:6px;min-width:160px;padding:4px;position:absolute;top:40px;right:0;box-shadow:0 8px 24px #0003}.power-menu button{text-transform:capitalize;border-color:#0000;justify-content:flex-start;width:100%}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.stat-card{padding:20px}.stat-card>div:first-child{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px;font-size:11px;display:flex}.stat-card>strong{letter-spacing:-.7px;font-variant-numeric:tabular-nums;margin-bottom:8px;font-size:26px;font-weight:500;display:block}.stat-card small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;display:block;overflow:hidden}.stat-card .skeleton{margin:24px 0 14px}.system-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:start;gap:24px;display:grid}.process-scroll{height:430px;overflow:auto}.process-scroll td:first-child{text-overflow:ellipsis;max-width:220px;overflow:hidden}.settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.details{margin:0;padding:20px}.details>div{justify-content:space-between;gap:24px;padding:10px 0;font-size:12px;display:flex}.details dt{color:var(--muted)}.details dd{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;margin:0}.settings-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:20px;font-size:12px;display:flex}.settings-row p{margin-top:4px;font-size:11px}.password-form{flex-direction:column;gap:20px;padding:24px;display:flex}.password-form .primary{align-self:flex-start}.audit-panel{grid-column:1/-1}.audit-panel .panel-toolbar strong .muted{margin-left:8px;font-size:11px;font-weight:400}.audit-scroll{max-height:340px;overflow:auto}.spin{color:var(--muted);animation:1s linear infinite spin}@keyframes pulse{50%{opacity:.5}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.workspace{padding:48px 64px}.page-heading{margin-bottom:40px}}@media(max-width:1100px){.workspace{padding:32px 24px}.topbar{padding:0 24px}.files-grid{gap:12px}.file-columns,.file-row{grid-template-columns:minmax(0,1fr) 56px}.file-columns>:last-child,.file-row>:last-child{display:none}.file-actions{gap:4px}.file-actions button{padding:4px 6px}.system-grid{grid-template-columns:1fr}.stat-card{padding:16px}.stat-card>strong{font-size:22px}.settings-grid{gap:16px}}@media(max-width:760px){.rail{border-right:0;border-top:1px solid var(--border);background:var(--panel);width:100%;height:64px;padding-bottom:env(safe-area-inset-bottom);flex-direction:row;justify-content:center;top:auto;bottom:0}.rail>.brand,.theme-button{display:none}.rail nav{flex-direction:row;justify-content:space-around;gap:0;width:100%;padding:4px}.nav-item{flex-direction:column;gap:3px;width:48px;height:48px}.nav-item span{font-size:8px;display:block}.nav-item svg{width:17px;height:17px}.main{margin-left:0;padding-bottom:64px}.topbar{height:56px;padding:0 20px}.top-right{gap:12px}.crumb{gap:8px;font-size:11px}.crumb>span,.crumb>strong{display:none}.workspace{padding:24px 16px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.eyebrow{margin-bottom:8px;font-size:9px}.private-label{display:none}.panel-toolbar{gap:8px;padding:12px}.panel-toolbar .toolbar-actions{gap:4px}.panel-toolbar button{padding:6px 8px;font-size:11px}.panel-toolbar .toolbar-actions button span,.panel-toolbar kbd{display:none}.toolbar-title{gap:6px;font-size:12px}.toolbar-title .badge{font-size:8px}.toolbar-title select{max-width:130px;font-size:11px}.desktop-stage{min-height:260px}.stage-empty h2{font-size:16px}.empty-icon{width:56px;height:56px;margin-bottom:16px}.stage-empty p{font-size:11px}.stage-empty button{margin-top:16px}.stream-controls{gap:16px;padding:12px}.stream-controls>span{width:100%;margin:0}.stream-controls label{gap:8px;font-size:10px}.stream-controls input{width:64px}.stream-controls b{width:34px}.hint{padding:12px;font-size:10px}.files-grid{grid-template-columns:1fr;gap:20px}.file-columns,.file-row{grid-template-columns:minmax(0,1fr) 64px 80px}.file-columns>:last-child,.file-row>:last-child{display:flex}.file-list{height:320px}.file-actions{gap:8px}.file-actions button{padding:4px 8px}.file-pane .panel-toolbar{height:48px;min-height:48px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat-card>strong{font-size:24px}.system-title{align-items:flex-start;gap:8px;font-size:11px}.system-title>span>.muted{margin:4px 0 0 14px;display:block}.system-title button{padding:6px 8px;font-size:11px}.settings-grid{grid-template-columns:1fr}.audit-panel{grid-column:auto}.system-grid{gap:16px}th,td{padding:8px 12px}footer{padding-top:20px;font-size:9px}.terminal-host{height:55vh;padding:8px}.toasts{bottom:80px;right:16px}.login-card{padding:32px 24px}.preview-body{padding:24px}.panel-toolbar input{max-width:150px}.details>div{font-size:11px}}.mobile-theme{display:none}@media(max-width:760px){.mobile-theme{width:24px;height:28px;padding:4px;display:inline-flex}.top-right{gap:8px}.connection{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.machines-panel{grid-column:1/-1}.machines-panel .audit-scroll{max-height:260px}.machines-panel .toolbar-actions{gap:6px}.add-machine{border-top:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px 16px;display:flex}.add-machine label{min-width:180px;color:var(--muted);flex-direction:column;flex:1;gap:6px;font-size:10px;display:flex}.install-command{background:var(--bg);border:1px solid var(--border);white-space:pre-wrap;word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:6px;margin:12px 0;padding:10px}.command-menu .panel-toolbar{border-bottom:1px solid var(--border);padding-bottom:8px}.machine-menu button{text-transform:none;gap:8px}.machine-menu button[aria-current=true]{background:var(--accent-bg);color:var(--accent)}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
