/**
 * 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;inset: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;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{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{color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#090a0d;color:#e8e9ed;font-synthesis:none;--bg: #090a0d;--surface-0: #0d0f13;--surface-1: #111319;--surface-2: #16191f;--surface-3: #1d2028;--line: #252932;--line-soft: #1c1f26;--muted: #777d8a;--muted-2: #969ca8;--text: #e8e9ed;--bright: #fff;--coral: #ff6748;--coral-soft: rgba(255, 103, 72, .13);--violet: #a77bff;--blue: #74a2ff;--mint: #82e4ae;--gold: #e8bd75;--radius: 10px}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--coral);outline-offset:1px}svg{width:18px;height:18px}.studio-app{width:100%;height:100%;display:grid;grid-template-rows:54px minmax(0,1fr) 24px;background:var(--bg)}.topbar{display:grid;grid-template-columns:minmax(225px,1fr) minmax(210px,auto) minmax(240px,1fr) auto;align-items:center;gap:14px;padding:0 10px 0 12px;border-bottom:1px solid var(--line);background:#0f1116f0;backdrop-filter:blur(18px);z-index:10}.wordmark{display:flex;align-items:center;gap:10px;min-width:0}.wordmark>div{min-width:0;display:flex;align-items:baseline;gap:10px}.wordmark strong{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:-.02em;white-space:nowrap}.wordmark small{color:#777c87;font-size:10px;letter-spacing:.05em;white-space:nowrap}.logo-mark{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:8px;background:linear-gradient(145deg,#ff7c55,#e6492f);box-shadow:0 0 0 1px #ffffff21 inset,0 5px 20px #ff503029}.logo-mark b,.logo-mark>span{font:800 15px Manrope,sans-serif;color:#fff}.workspace-chip{justify-self:center;height:31px;display:flex;align-items:center;gap:7px;max-width:310px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#12141a;color:#aeb2bd;font-size:11px}.workspace-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-chip svg{width:14px;color:var(--gold)}.workspace-chip svg:last-child{width:12px;transform:rotate(90deg);color:var(--muted)}.environment-switch{justify-self:end;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);background:#0b0d11;border-radius:8px}.environment-switch button{position:relative;display:flex;align-items:center;gap:6px;height:27px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:#777d88;cursor:pointer;font-size:11px;font-weight:600}.environment-switch button:hover{color:#d7d9df;background:#171920}.environment-switch button.active{color:#fff;background:#252832;box-shadow:0 1px 2px #050506}.environment-switch svg{width:14px}.environment-switch i,.environment-card i.online{width:6px;height:6px;border-radius:50%}.environment-switch i.online,.environment-card i.online{background:#6dde9a;box-shadow:0 0 0 3px #6dde9a17}.environment-switch i.offline,.environment-card i.offline{background:#777}.top-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}.top-actions>button{height:31px;display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--muted-2);border-radius:7px;cursor:pointer}.top-actions>button:hover{background:#1c1f25;color:#fff}.top-actions .capability-trigger{padding:0 9px;border:1px solid var(--line);background:#14161b;font-size:11px}.capability-trigger svg{width:14px;color:var(--coral)}.capability-trigger b{background:#272a31;padding:1px 5px;border-radius:5px;font-size:9px;color:#b8bdc7}.profile{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;margin-left:3px;background:linear-gradient(145deg,#353946,#22252d);border:1px solid #434753;color:#e6e7e9;font-size:9px;font-weight:700}.top-actions>.profile{display:grid;padding:0;border:1px solid #434753}.workbench{min-height:0;display:grid;grid-template-columns:48px 235px minmax(340px,1fr) minmax(335px,390px)}.activity-rail{display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:7px 0;border-right:1px solid var(--line);background:#0c0e12}.activity-rail>div{display:flex;flex-direction:column;gap:3px}.activity-rail button{position:relative;width:39px;height:39px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#686e7a;cursor:pointer}.activity-rail button:hover{color:#d7dae0;background:#15171c}.activity-rail button.active{color:#fff}.activity-rail button.active:before{content:"";position:absolute;left:-5px;top:9px;bottom:9px;width:2px;border-radius:2px;background:var(--coral)}.activity-rail button:nth-child(4).active{color:var(--coral)}.rail-badge{position:absolute;right:2px;top:2px;min-width:14px;height:14px;display:grid;place-items:center;border-radius:7px;font-size:8px;color:#fff;background:#e3553c}.explorer-pane{min-width:0;min-height:0;display:grid;grid-template-rows:36px auto auto 30px minmax(0,1fr) auto;border-right:1px solid var(--line);background:var(--surface-0)}.pane-title{display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 13px;color:#a3a8b2;font-size:10px;letter-spacing:.08em;font-weight:600}.pane-title button,.editor-actions button,.dock-tabs>button,.chat-header>button{border:0;background:transparent;color:var(--muted);border-radius:4px;cursor:pointer}.pane-title button:hover,.editor-actions button:hover,.dock-tabs>button:hover,.chat-header>button:hover{color:#fff;background:#20232a}.pane-title svg{width:15px}.file-search{height:29px;margin:0 9px 9px;display:flex;align-items:center;gap:6px;padding:0 7px;border:1px solid #282c35;border-radius:5px;background:#12141a;color:#666c78}.file-search:focus-within{border-color:#626975}.file-search svg{width:13px;flex:0 0 auto}.file-search input{min-width:0;flex:1;border:0;outline:0;color:#d4d7de;background:transparent;font-size:10px}.file-search button{display:grid;place-items:center;padding:0;border:0;background:transparent;color:#6c727e}.file-search button svg{width:12px}.environment-card{margin:0 8px 8px;padding:10px;border:1px solid #262a32;border-radius:8px;background:linear-gradient(145deg,#15181e,#101217)}.environment-card>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px}.env-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#22262e;color:#b7bdc8}.env-icon svg{width:15px}.environment-card b{display:block;font-size:11px;color:#f1f2f4}.environment-card small{display:block;margin-top:1px;color:#717783;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.environment-card p{display:flex;align-items:center;gap:5px;margin:8px 0 5px;color:#838995;font-size:9px}.environment-card p svg{width:11px;color:var(--mint)}.environment-card code{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9197a2;font-size:8px}.revoke-button,.grant-button{width:100%;height:25px;margin-top:8px;border:1px solid #3d3232;border-radius:5px;background:#201718;color:#dd8580;cursor:pointer;font-size:9px}.grant-button{display:flex;align-items:center;justify-content:center;gap:5px;border-color:#2b4237;background:#142019;color:#8ae3af}.grant-button svg{width:12px}.tree-heading{display:flex;align-items:center;gap:5px;padding:0 7px;background:#13151a;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);font-size:9px;color:#a7abb4}.tree-heading svg{width:11px;transform:rotate(90deg)}.tree-heading span{margin-left:auto;padding:1px 5px;border-radius:5px;background:#20232a;color:#777d88;font-size:8px}.file-tree{min-height:0;overflow:auto;padding:4px 0}.file-tree>.folder-row{width:100%;height:25px;display:flex;align-items:center;gap:6px;padding-right:8px;color:#777d88;font-size:10px}.file-tree>.folder-row svg{width:13px;color:#858b96;flex:0 0 auto}.file-tree>.folder-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tree>button{width:100%;height:25px;display:flex;align-items:center;gap:6px;padding-right:8px;border:0;background:transparent;color:#9b9faa;cursor:pointer;text-align:left;font-size:10px}.file-tree>button:hover{background:#171a20;color:#d6d8de}.file-tree>button.selected{background:#21242c;color:#fff}.file-tree>button svg{width:13px;color:#a2a8b2;flex:0 0 auto}.file-tree>button span:not(.lang){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lang{width:17px;flex:0 0 17px;font:700 7px/1 monospace;text-align:center}.lang.ts{color:#6ca8ff}.lang.json{color:#e4bc6c}.lang.md{color:#a4bfff}.lang.log{color:#88dab0;font-size:6px}.file-status{width:5px;height:5px;margin-left:auto;flex:0 0 auto;border-radius:50%}.file-status.modified{background:#e5b76e}.file-status.added{background:#7be09f}.empty-tree{height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#565c68;text-align:center}.empty-tree svg{width:20px;margin-bottom:7px}.empty-tree span{font-size:10px}.empty-tree small{margin-top:3px;font-size:8px}.explorer-sections{border-top:1px solid var(--line)}.explorer-sections button{width:100%;height:26px;display:flex;align-items:center;gap:4px;border:0;border-bottom:1px solid var(--line-soft);background:#101217;color:#858b96;font-size:9px;font-weight:600}.explorer-sections svg{width:10px}.center-workspace{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(250px,1fr) 205px;background:#0a0b0e}.center-workspace.git-view{display:block;overflow:hidden}.git-panel{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:60px minmax(0,1fr);background:#0b0d11}.git-panel>header{display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:linear-gradient(100deg,rgba(116,162,255,.06),transparent 38%)}.git-panel h2{display:flex;align-items:center;gap:8px;margin:3px 0 0;font:600 17px Manrope,sans-serif}.git-panel h2 svg{width:16px;color:var(--blue)}.git-panel>header button{width:31px;height:31px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:#15181e;color:#8d939e;cursor:pointer}.git-panel>header button:hover{color:#fff;background:#1d2027}.git-panel>header button:disabled{opacity:.45;cursor:default}.git-panel>header button svg{width:14px}.git-layout{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(205px,31%) minmax(0,1fr)}.git-layout>aside{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;border-right:1px solid var(--line);background:#0e1014}.git-branch{display:flex;align-items:center;gap:10px;padding:15px 14px 11px}.git-branch>svg{width:18px;color:var(--violet)}.git-branch small{display:block;color:#626874;font-size:7px;letter-spacing:.12em}.git-branch b{display:block;max-width:210px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7dae0;font:600 11px monospace}.git-summary{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);color:#989ea8;font-size:9px}.git-summary em{padding:2px 5px;border-radius:4px;background:#74a2ff17;color:#83a7ed;font-style:normal;font-size:7px;text-transform:uppercase}.git-files{min-height:0;overflow:auto;padding:4px 0}.git-files>button{width:100%;min-height:35px;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:5px;padding:5px 9px;border:0;border-left:2px solid transparent;background:transparent;color:#a2a7b0;text-align:left;cursor:pointer}.git-files>button:hover{background:#15181e;color:#e2e4e8}.git-files>button.selected{border-left-color:var(--blue);background:#1a1d23;color:#f2f3f5}.git-files code{grid-row:1 / 3;width:22px;color:var(--gold);font-size:8px;white-space:pre}.git-files span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:9px monospace}.git-files small{color:#5e6570;font-size:7px}.git-clean{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;color:#747b86;font-size:10px}.git-clean svg{width:22px;color:var(--mint)}.git-diff{min-width:0;min-height:0;display:grid;grid-template-rows:35px minmax(0,1fr) auto;background:#090b0e}.git-diff>header{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:0 11px;border-bottom:1px solid var(--line-soft);background:#111319}.git-diff>header div{min-width:0;display:flex;align-items:center;gap:6px}.git-diff>header svg{width:13px;color:var(--blue)}.git-diff>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b4b8c0;font:9px monospace}.git-diff>header small{flex:0 0 auto;margin-left:8px;color:#5c626d;font-size:6px;letter-spacing:.08em}.git-diff pre{min-width:0;min-height:0;margin:0;overflow:auto;padding:14px 16px;color:#b9bec8;background:#090b0e;font:9px/1.55 SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre}.git-state{min-height:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:25px;color:#747b86;font-size:10px}.git-state>svg{width:20px}.git-state.error{align-self:center;justify-self:center;max-width:430px;border:1px solid #4a3030;border-radius:8px;background:#1d1415;color:#d8958d}.git-state.error div{display:grid;gap:4px}.git-state.error span{color:#986f6a;font:8px monospace}.git-truncated{margin:0;padding:7px 10px;border-top:1px solid #332d22;background:#17140f;color:#ae9161;font-size:7px;line-height:1.4}.editor-shell{min-width:0;min-height:0;display:grid;grid-template-rows:35px minmax(0,1fr) 22px}.editor-tabs{min-width:0;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#101217}.file-tab{align-self:stretch;min-width:135px;max-width:220px;display:flex;align-items:center;gap:6px;padding:0 9px;border:0;border-right:1px solid var(--line);background:#0c0e12;color:#c5c8cf;font-size:10px}.file-tab.active{border-top:1px solid var(--coral);background:#0a0b0e}.file-tab svg{width:12px;color:#77a6ff}.file-tab svg:last-child{margin-left:auto;color:#626873}.file-tab>span{overflow:hidden;text-overflow:ellipsis}.file-tab>i{width:6px;height:6px;margin-left:auto;border-radius:50%;background:var(--gold)}.file-tab>i+svg{margin-left:0}.editor-breadcrumb{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;color:#6e7480;font-size:9px}.editor-breadcrumb b{padding:0 3px;color:#4d525d}.editor-actions{display:flex;align-items:center;gap:2px;padding-right:5px}.editor-actions button{width:27px;height:26px;display:grid;place-items:center}.editor-actions svg{width:14px}.editor-actions button.selected{color:var(--coral);background:var(--coral-soft)}.editor-actions button:disabled{opacity:.25;cursor:default}.editor-canvas{min-width:0;min-height:0;overflow:hidden}.editor-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:0 8px;background:#0d0f13;border-top:1px solid #181b21;color:#686e79;font-size:8px}.editor-footer span:first-child{margin-right:auto;display:flex;align-items:center;gap:5px}.dot{width:5px;height:5px;border-radius:50%}.dot.good{background:var(--mint)}.dot.warn{background:var(--gold)}.editor-empty{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;text-align:center;background:radial-gradient(circle at 50% 42%,rgba(255,103,72,.055),transparent 34%),#0a0b0e}.brand-orbit{position:relative;width:66px;height:66px;display:grid;place-items:center;margin-bottom:25px;border:1px solid #343740;border-radius:18px;color:#fff;background:linear-gradient(145deg,#20232a,#101216);box-shadow:0 18px 40px #050506}.brand-orbit span{font:800 28px Manrope}.brand-orbit i{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--coral)}.brand-orbit i:nth-child(2){top:-4px;left:30px}.brand-orbit i:nth-child(3){bottom:7px;left:-2px;background:var(--violet)}.brand-orbit i:nth-child(4){right:-3px;bottom:13px;background:var(--mint)}.editor-empty h2{margin:0;font:600 22px Manrope;letter-spacing:-.04em}.editor-empty p{max-width:440px;margin:9px 0 28px;color:#737985;font-size:12px;line-height:1.7}.shortcut-grid{width:310px;display:grid;gap:8px}.shortcut-grid span{display:flex;justify-content:space-between;align-items:center;color:#858b96;font-size:10px}.shortcut-grid kbd{min-width:38px;padding:3px 7px;border:1px solid #31353e;border-bottom-color:#494e59;border-radius:5px;background:#17191f;color:#a8adb7;font:9px monospace}.terminal-dock{min-width:0;min-height:0;display:grid;grid-template-rows:29px minmax(0,1fr);border-top:1px solid var(--line);background:#090a0d}.terminal-dock.collapsed{grid-template-rows:29px}.dock-tabs{display:flex;align-items:center;padding:0 5px;border-bottom:1px solid #17191f;background:#0d0f13}.dock-tabs>button{position:relative;height:100%;padding:0 8px;font-size:8px;font-weight:600;letter-spacing:.04em}.dock-tabs>button.active{color:#dce0e6}.dock-tabs>button.active:after{content:"";position:absolute;bottom:-1px;left:8px;right:8px;height:1px;background:var(--coral)}.dock-tabs>button span{padding:1px 4px;border-radius:5px;background:#23262e;color:#8f95a0;font-size:7px}.dock-spacer{flex:1}.dock-tabs>button svg{width:12px}.chevron-down{transform:rotate(90deg)}.chevron-up{transform:rotate(-90deg)}.terminal-state{display:flex;align-items:center;gap:5px;margin-right:6px;color:#626874;text-transform:uppercase;font:7px monospace}.terminal-state i{width:5px;height:5px;border-radius:50%;background:#606570}.terminal-state.open i{background:var(--mint);box-shadow:0 0 7px #82e4ae73}.terminal-host{min-width:0;min-height:0;overflow:hidden;padding:8px 9px 0}.terminal-host .xterm{height:100%}.terminal-host .xterm-viewport{background:transparent!important}.terminal-gate{min-height:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;color:#a98b67;font-size:9px;text-align:center}.terminal-gate svg{width:15px;color:var(--gold)}.native-gate-panel{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;background:radial-gradient(circle at 50% 42%,rgba(232,190,120,.06),transparent 32%),#0a0b0e;text-align:center}.native-gate-panel>svg{width:28px;color:var(--gold)}.native-gate-panel h2{margin:14px 0 4px;font:600 18px Manrope,sans-serif}.native-gate-panel p{max-width:430px;margin:0;color:#777d88;font-size:10px;line-height:1.65}.chat-pane{min-width:0;min-height:0;display:grid;grid-template-rows:51px 30px minmax(0,1fr) auto;border-left:1px solid var(--line);background:#0e1014}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 12px;border-bottom:1px solid var(--line-soft)}.chat-header>div{display:flex;align-items:center;gap:9px}.team-orb{width:30px;height:30px;display:grid;place-items:center;border:1px solid #3e3432;border-radius:9px;background:linear-gradient(145deg,#271a17,#171419);color:var(--coral)}.team-orb svg{width:15px}.chat-header b{display:block;font:600 12px Manrope}.chat-header small{display:flex;align-items:center;gap:4px;margin-top:2px;color:#737985;font-size:8px}.chat-header small i{width:5px;height:5px;border-radius:50%;background:var(--mint)}.chat-header>button{width:28px;height:28px;display:grid;place-items:center}.chat-header>button svg{width:14px}.chat-context{min-width:0;display:flex;gap:6px;align-items:center;padding:0 9px;border-bottom:1px solid #1b1e24;overflow:hidden}.chat-context span{min-width:0;display:flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #252931;border-radius:5px;color:#818792;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-context span:first-child{flex:0 0 auto;color:#b3b8c1}.chat-context svg{width:10px;flex:0 0 auto}.messages{min-height:0;overflow-y:auto;padding:8px 11px 16px;scrollbar-width:thin;scrollbar-color:#333842 transparent}.day-divider{position:relative;height:21px;display:grid;place-items:center}.day-divider:before{content:"";position:absolute;left:0;right:0;height:1px;background:#1d2026}.day-divider span{z-index:1;padding:0 7px;background:#0e1014;color:#4e545f;font-size:7px;letter-spacing:.1em}.message{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;padding:9px 0}.message-avatar{width:23px;height:23px;display:grid;place-items:center;border:1px solid #333740;border-radius:7px;background:#20232a;color:#b7bbc4;font-size:8px;font-weight:700}.message.assistant .message-avatar{border-color:#49332e;background:#251713;color:var(--coral)}.message-avatar svg{width:12px}.message-body{min-width:0}.message-body header{display:flex;align-items:center;gap:7px;height:20px}.message-body header b{font-size:10px}.message-body time{color:#545a65;font-size:7px}.message-body p{margin:3px 0 0;color:#b5bac3;font-size:10px;line-height:1.58;white-space:pre-wrap}.message.user .message-body p{color:#d7dae0}.citations{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.citations span{display:flex;align-items:center;gap:3px;padding:3px 5px;border:1px solid #29302d;border-radius:5px;background:#111814;color:#87b69a;font-size:7px}.citations svg{width:9px}.message-actions{display:flex;gap:3px;margin-top:5px;opacity:0;transition:opacity .15s}.message:hover .message-actions{opacity:1}.message-actions button{display:flex;align-items:center;gap:3px;padding:2px 5px;border:0;border-radius:4px;background:transparent;color:#666c77;font-size:7px}.message-actions button:hover{color:#aeb3bc;background:#1b1e24}.message-actions svg{width:9px}.orchestration{margin:9px 0 3px 30px;border:1px solid #292d35;border-radius:9px;overflow:hidden;background:#111319;box-shadow:0 8px 24px #0000001f}.orchestration-heading{height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-bottom:1px solid #262a31;background:#15171c}.orchestration-heading>span{display:flex;align-items:center;gap:5px;color:#bec2ca;font-size:8px;font-weight:600}.orchestration-heading svg{width:11px;color:var(--coral)}.orchestration-heading small{color:#656b76;font-size:7px}.wave-flow{padding:7px}.wave{position:relative}.wave-label{height:18px;display:flex;align-items:center;gap:5px;color:#555b66;font-size:6px;text-transform:uppercase;letter-spacing:.1em}.wave-label span{color:#7b818c;font:7px monospace}.wave-label i{flex:1;height:1px;background:#252830}.wave-nodes{display:grid;gap:4px}.wave:has(.run-node+.run-node) .wave-nodes{grid-template-columns:repeat(3,minmax(0,1fr))}.run-node{min-width:0;padding:7px;border:1px solid #262a31;border-radius:6px;background:#15171d}.run-node.running{border-color:#ff674880;box-shadow:0 0 14px #ff674814}.run-node.failed{border-color:#ff555580}.run-node.waiting{opacity:.54}.node-top{display:flex;align-items:center;gap:5px}.node-avatar{width:18px;height:18px;display:grid;place-items:center;flex:0 0 auto;border-radius:5px;background:#272a32;color:#a5abb5;font-size:7px}.node-avatar svg{width:10px}.tone-coral .node-avatar{color:#ff8d74;background:#2c1b18}.tone-violet .node-avatar{color:#be9cff;background:#211a2f}.tone-blue .node-avatar{color:#88b1ff;background:#182238}.tone-gold .node-avatar{color:#e7bc73;background:#2c2417}.tone-mint .node-avatar{color:#86e3ad;background:#17291f}.node-top>div{min-width:0}.node-top b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#cdd0d6;font-size:7px}.node-top small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px;color:#666c76;font-size:5.8px}.node-state{margin-left:auto;color:#5f6570;font:5.8px monospace}.run-node p{margin:6px 0;color:#9096a0;font-size:7px;line-height:1.45}.node-evidence{display:flex;flex-wrap:wrap;gap:3px}.node-evidence span{display:flex;align-items:center;gap:2px;padding:2px 3px;border-radius:3px;background:#101711;color:#759783;font-size:5.5px}.node-evidence svg{width:7px}.wave-connector{height:7px;display:flex;justify-content:center}.wave-connector i{width:1px;height:100%;background:#30343c}.evidence-stack{border-top:1px solid #252931}.evidence-stack summary{height:29px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;cursor:pointer;list-style:none}.evidence-stack summary::-webkit-details-marker{display:none}.evidence-stack summary span{display:flex;align-items:center;gap:5px;color:#8d939d;font-size:7px}.evidence-stack summary svg{width:10px}.evidence-stack summary small{color:#555b66;font-size:6px}.evidence-stack>div{padding:0 7px 7px;display:grid;gap:3px}.evidence-stack article{display:grid;grid-template-columns:6px 1fr auto;align-items:center;gap:6px;padding:5px;border-radius:4px;background:#0e1014}.source-dot{width:5px;height:5px;border-radius:50%;background:var(--blue)}.source-dot.mac{background:var(--violet)}.source-dot.web{background:var(--gold)}.source-dot.model{background:var(--coral)}.evidence-stack b{display:block;color:#aeb3bc;font-size:6px}.evidence-stack p{margin:1px 0 0;color:#5f6570;font-size:5.5px}.evidence-stack code{color:#4e545f;font-size:5px}.orchestration.compact .wave-flow{max-height:182px;overflow:hidden}.orchestration.compact .run-node{padding:5px}.orchestration.compact .wave-label{height:14px}.composer-wrap{padding:8px 9px 7px;border-top:1px solid var(--line);background:#0c0e12;box-shadow:0 -12px 25px #05050633}.composer-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:5px}.composer-controls label{position:relative;min-width:0;display:block;height:31px;padding:3px 5px;border:1px solid #282c34;border-radius:6px;background:#13151a}.composer-controls span{display:block;color:#595f6a;font-size:5.5px;text-transform:uppercase;letter-spacing:.08em}.composer-controls select{width:100%;border:0;outline:0;appearance:none;color:#adb2bc;background:transparent;font-size:7.5px;white-space:nowrap;text-overflow:ellipsis}.composer-controls select:disabled{color:#595f6a;cursor:not-allowed}.roster-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 6px;margin:0 0 5px;padding:5px 7px;border:1px solid #272b33;border-radius:6px;background:#101217}.roster-summary b{color:var(--coral);font-size:6px;letter-spacing:.08em;text-transform:uppercase}.roster-summary span{min-width:0;overflow:hidden;color:#aeb3bd;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.roster-summary small{grid-column:1 / -1;color:#646b77;font-size:6px;line-height:1.25}.run-gate{display:flex;align-items:center;gap:5px;margin:0 0 5px;padding:6px 7px;border:1px solid #5b4127;border-radius:6px;background:#1d1711;color:#d8b27b;font-size:7px;line-height:1.35}.run-gate svg{width:10px;flex:0 0 auto}.composer{overflow:hidden;border:1px solid #353942;border-radius:9px;background:#16181e;box-shadow:0 7px 20px #00000029}.composer:focus-within{border-color:#5a5150}.composer textarea{width:100%;min-height:48px;max-height:130px;resize:none;padding:9px 9px 2px;border:0;outline:0;background:transparent;color:#e1e3e7;font-size:10px;line-height:1.45}.composer textarea::placeholder{color:#5c626d}.composer footer{height:28px;display:flex;align-items:center;padding:0 5px}.scope-button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#6e747f;font-size:7px}.scope-button svg{width:10px;color:var(--mint)}.send-button{width:23px;height:23px;display:grid;place-items:center;margin-left:auto;border:0;border-radius:6px;background:var(--coral);color:#fff;cursor:pointer;box-shadow:0 4px 10px #ff67482e}.send-button:disabled{background:#30333b;color:#676d78;box-shadow:none;cursor:default}.send-button svg{width:12px}.composer-note{display:flex;align-items:center;justify-content:center;gap:4px;margin:5px 0 0;color:#4e545f;font-size:6px}.composer-note svg{width:8px}.spinner{width:10px;height:10px;display:inline-block;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.statusbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:0 7px;background:#14161a;border-top:1px solid #292c33;color:#757b86;font-size:7px}.statusbar>div{display:flex;align-items:center;gap:10px}.statusbar>div:last-child{justify-content:flex-end}.statusbar span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.statusbar svg{width:9px}.statusbar .good b{color:#83dca8}.statusbar .warn b{color:var(--gold)}.subscription-badges{gap:4px!important}.subscription-badges span{height:16px;padding:0 6px;border-radius:5px;background:#1d2026;color:#a8adb7}.subscription-badges i{width:5px;height:5px;border-radius:50%}.subscription-badges b{color:#6f7580;font-size:6px}.subscription-badges .claude i{background:#dd775d}.subscription-badges .codex i{background:var(--violet)}.mode{padding:1px 5px;border-radius:4px;text-transform:uppercase}.mode.demo{color:var(--gold);background:#e8bd751a}.mode.live{color:var(--mint);background:#82e4ae1a}.subscription-badges .offline{color:#686e79}.subscription-badges .offline i{background:#555b66}.drawer-backdrop{position:fixed;inset:0;z-index:50;display:flex;justify-content:flex-end;background:#0304069e;backdrop-filter:blur(3px);animation:fade-in .17s ease-out}.capability-drawer{width:min(470px,94vw);height:100%;display:grid;grid-template-rows:auto 40px auto minmax(0,1fr) auto;border-left:1px solid #343841;background:#0f1115;box-shadow:-24px 0 60px #00000059;animation:slide-in .23s ease-out}.capability-drawer>header{display:flex;justify-content:space-between;padding:25px 22px 18px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 100% 0,rgba(255,103,72,.09),transparent 43%)}.capability-drawer h2{margin:4px 0 2px;font:600 24px Manrope;letter-spacing:-.04em}.capability-drawer header p{margin:0;color:#6e7480;font-size:10px}.eyebrow{color:var(--coral);font-size:7px;letter-spacing:.16em;font-weight:700}.capability-drawer header button{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:#16191e;color:#858b96;cursor:pointer}.capability-drawer header button:hover{color:#fff}.drawer-search{display:flex;align-items:center;gap:8px;margin:9px 14px 0;padding:0 10px;border:1px solid #2a2e36;border-radius:7px;background:#14161b;color:#6e7480}.drawer-search svg{width:14px}.drawer-search input{flex:1;border:0;outline:0;background:transparent;color:#d8dbe0;font-size:10px}.group-filters{display:flex;gap:4px;overflow-x:auto;padding:9px 14px}.group-filters button{height:25px;padding:0 9px;border:1px solid #272b33;border-radius:6px;background:transparent;color:#777d88;cursor:pointer;font-size:8px;white-space:nowrap}.group-filters button.active{border-color:#5a3731;background:var(--coral-soft);color:#ff8d74}.capability-list{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:0 14px 14px}.capability-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:9px;padding:10px;border:1px solid #252931;border-radius:8px;background:#14161b}.capability-card:hover{border-color:#343942;background:#17191f}.capability-card.blocked{opacity:.55}.cap-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#20232a;color:#9ca2ac}.cap-icon svg{width:15px}.capability-card>div{min-width:0}.capability-card>div>div{display:flex;align-items:baseline;gap:7px}.capability-card b{color:#d5d8de;font-size:10px}.capability-card code{color:#555b66;font-size:7px}.capability-card p{margin:4px 0 0;color:#858b96;font-size:9px;line-height:1.4}.capability-card small{display:block;margin-top:4px;color:#c69176;font-size:7px}.effect{padding:3px 5px;border-radius:4px;background:#20232a;color:#767c87;font-size:6px;text-transform:uppercase}.effect.read{background:#74a2ff1a;color:#82aafa}.effect.write{background:#e8bd751a;color:var(--gold)}.effect.send,.effect.delete{background:#ff67481a;color:#ed816b}.no-results{display:grid;place-items:center;min-height:160px;color:#686e79;font-size:10px}.capability-drawer>footer{display:flex;align-items:center;gap:7px;padding:12px 15px;border-top:1px solid var(--line);background:#0c0e12;color:#6b717c;font-size:8px}.capability-drawer>footer svg{width:13px;color:var(--mint)}.error-toast{position:fixed;z-index:100;left:50%;bottom:38px;transform:translate(-50%);display:flex;align-items:center;gap:7px;max-width:80vw;padding:9px 13px;border:1px solid #5a3734;border-radius:8px;background:#261817;color:#ef9a8e;box-shadow:0 9px 30px #000;font-size:10px}.error-toast svg{width:12px}.loading-screen{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,rgba(255,103,72,.07),transparent 25%),#090a0d}.loading-screen h1{margin:17px 0 3px;font:600 20px Manrope}.loading-screen p{color:#737985;font-size:11px}.loading-screen>i{width:80px;height:1px;margin-top:12px;overflow:hidden;background:#252931}.loading-screen>i:after{content:"";display:block;width:30px;height:100%;background:var(--coral);animation:load 1s ease-in-out infinite}.loading-screen>svg{width:34px;height:34px;color:var(--coral)}.loading-screen>button{margin-top:10px;padding:7px 12px;border:1px solid #3b3f48;border-radius:6px;background:#1a1d23;color:#ddd}.mobile-nav{display:none}@keyframes load{0%{transform:translate(-30px)}to{transform:translate(80px)}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-in{0%{transform:translate(30px);opacity:.5}}@media(max-width:1180px){.workbench{grid-template-columns:46px 205px minmax(330px,1fr) 340px}.wordmark small{display:none}.workspace-chip{max-width:230px}.topbar{grid-template-columns:minmax(150px,1fr) auto auto auto}.composer-controls{grid-template-columns:1fr 1fr}}@media(max-width:900px){html,body,#root{overflow:hidden}.studio-app{grid-template-rows:52px minmax(0,1fr) 52px}.topbar{grid-template-columns:1fr auto auto;padding:0 8px;gap:8px}.workspace-chip,.top-actions .capability-trigger,.top-actions>button{display:none}.top-actions .capability-trigger{width:29px;display:grid;place-items:center;padding:0}.top-actions .capability-trigger span,.top-actions .capability-trigger b{display:none}.top-actions .capability-trigger svg{width:15px}.wordmark>div small{display:none}.environment-switch{justify-self:center}.environment-switch button{height:30px;padding:0 9px}.environment-switch button span{font-size:10px}.profile{width:28px;height:28px}.top-actions>.profile{display:grid}.workbench{display:block;position:relative;min-height:0}.activity-rail,.statusbar{display:none}.explorer-pane,.center-workspace,.chat-pane{display:none;position:absolute;inset:0;border:0}.explorer-pane.mobile-files{display:grid;grid-template-rows:42px auto auto 34px minmax(0,1fr) auto}.center-workspace.mobile-editor,.center-workspace.mobile-terminal{display:grid}.center-workspace.mobile-git{display:block}.center-workspace.mobile-editor{grid-template-rows:minmax(0,1fr) 31px}.center-workspace.mobile-editor .terminal-dock{height:31px}.center-workspace.mobile-terminal{grid-template-rows:0 minmax(0,1fr)}.center-workspace.mobile-terminal .editor-shell,.center-workspace.mobile-terminal .editor-empty{visibility:hidden}.chat-pane.mobile-chat{display:grid;grid-template-rows:54px 33px minmax(0,1fr) auto}.file-search{height:34px}.environment-card{padding:12px}.file-tree>button,.file-tree>.folder-row{height:31px;font-size:12px}.messages{padding:10px 14px 18px}.message-body p{font-size:12px}.message{grid-template-columns:30px minmax(0,1fr);gap:9px}.message-avatar{width:29px;height:29px}.orchestration{margin-left:39px}.composer-wrap{padding:9px 10px 8px}.composer textarea{font-size:13px;min-height:59px}.composer-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-controls label{height:34px}.composer-controls select{font-size:9px}.roster-summary span{font-size:8px}.roster-summary small,.composer-note{font-size:7px}.mobile-nav{z-index:20;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #292d34;background:#0f1115fa;padding:2px 6px 4px}.mobile-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:#666d79;font-size:8px}.mobile-nav button svg{width:18px}.mobile-nav button.active{color:#fff}.mobile-nav button.active:before{content:"";position:absolute;top:-3px;width:24px;height:2px;border-radius:2px;background:var(--coral)}.mobile-nav button:nth-child(4).active{color:var(--coral)}.git-panel{grid-template-rows:52px minmax(0,1fr)}.git-panel>header{padding:0 13px}.git-layout{grid-template-columns:minmax(140px,40%) minmax(0,1fr)}.git-branch{padding:11px 9px 8px}.git-branch b{max-width:125px;font-size:9px}.git-files>button{min-height:42px;padding:5px 6px}.git-files span{font-size:8px}.git-diff pre{padding:10px;font-size:8px}.git-diff>header small{display:none}.drawer-backdrop{bottom:0}.capability-drawer{width:100%;max-width:none}}@media(max-width:520px){.topbar{grid-template-columns:1fr auto auto}.wordmark strong{font-size:13px}.wordmark .logo-mark{width:27px;height:27px}.environment-switch button{padding:0 7px}.environment-switch button span{display:none}.environment-switch svg{width:16px}.wave:has(.run-node+.run-node) .wave-nodes{grid-template-columns:1fr}.orchestration.compact .wave-flow{max-height:240px}.composer-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
