/**
 * 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}:root{--bg: #0c0e11;--panel: #12151a;--panel2: #171b21;--line: #21262e;--line2: #2d343e;--text: #dce3ec;--faint: #8b95a3;--dim: #5b6573;--green: #46c98c;--amber: #dfa83f;--red: #e0604f;--blue: #5b9cf8;--purple: #a78bfa;--orange: #f0883e;--acc: #46c98c;--think: #79a08f;--termfs: 12px;--mono: "JetBrains Mono", "Courier New", monospace;--sans: "Noto Sans SC", system-ui, sans-serif;color-scheme:dark}html,body,#root{margin:0;padding:0;height:100%;background:var(--bg)}body{font-family:var(--sans);color:var(--text)}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.xterm,.xterm *{-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:var(--line2);border-radius:4px}::-webkit-scrollbar-track{background:transparent}.pulse{animation:pulse 1.6s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes notifyIn{0%{opacity:0;transform:translate(24px) scale(.98)}to{opacity:1;transform:none}}@keyframes notifyOut{0%{opacity:1;transform:none}to{opacity:0;transform:translate(24px) scale(.98)}}@keyframes notifyBar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.spin{animation:spin .8s linear infinite;transform-origin:center}@keyframes spin{to{transform:rotate(360deg)}}.bt{transition:filter .12s,background .12s,border-color .12s}.bt:hover:not(:disabled){filter:brightness(1.18)}.navitem{cursor:pointer;transition:background .12s}.navitem:hover{background:color-mix(in oklab,var(--text) 7%,transparent)}.card-hover{transition:border-color .12s,transform .12s}.card-hover:hover{border-color:var(--line2)}.proj-add{opacity:.5;transition:opacity .12s,background .12s}.proj-row:hover .proj-add{opacity:.85}.proj-add:hover{opacity:1;background:color-mix(in oklab,var(--acc) 16%,transparent)}.filetree-row:hover{background:color-mix(in oklab,var(--text) 6%,transparent)!important}.ctx-item:hover{background:color-mix(in oklab,var(--text) 9%,transparent)}.tblock-copy{position:absolute;top:2px;right:2px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid var(--line);border-radius:6px;background:color-mix(in oklab,var(--panel) 82%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer;opacity:0;transition:opacity .12s,border-color .12s}.tblock:hover>.tblock-copy{opacity:.75}.tblock-copy:hover{opacity:1;border-color:var(--line2)}@media (hover: none){.tblock-copy{opacity:.5}}.cblock{position:relative}.cblock:hover>.tblock-copy{opacity:.75}.xterm{height:100%}.xterm .xterm-viewport{background:transparent!important}.xterm .xterm-viewport{scrollbar-width:thin;scrollbar-color:var(--dim) transparent}.xterm .xterm-viewport::-webkit-scrollbar{width:12px}.xterm .xterm-viewport::-webkit-scrollbar-track{background:transparent}.xterm .xterm-viewport::-webkit-scrollbar-thumb{background:var(--dim);border-radius:6px;border:3px solid transparent;background-clip:padding-box}.xterm .xterm-viewport::-webkit-scrollbar-thumb:hover{background:var(--faint)}.term-scroll{overflow:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.term-scroll>.xterm{width:max-content!important;height:max-content!important}.term-scroll{scrollbar-width:thin;scrollbar-color:var(--dim) transparent}.term-scroll::-webkit-scrollbar{width:12px;height:12px}.term-scroll::-webkit-scrollbar-thumb{background:var(--dim);border-radius:6px;border:3px solid transparent;background-clip:padding-box}.term-scroll::-webkit-scrollbar-thumb:hover{background:var(--faint)}.chat-scroll{scrollbar-width:thin;scrollbar-color:var(--dim) transparent}.chat-scroll::-webkit-scrollbar{width:12px;height:12px}.chat-scroll::-webkit-scrollbar-track{background:transparent}.chat-scroll::-webkit-scrollbar-thumb{background:var(--dim);border-radius:6px;border:3px solid transparent;background-clip:padding-box}.chat-scroll::-webkit-scrollbar-thumb:hover{background:var(--faint)}.sk-in{transition:border-color .12s,box-shadow .12s}.sk-in:focus{border-color:var(--acc);box-shadow:0 0 0 2px color-mix(in oklab,var(--acc) 16%,transparent)}.sk-in::placeholder{color:var(--dim);opacity:1}.sk-act{opacity:.62;transition:opacity .12s;cursor:pointer}.sk-act:hover{opacity:1}
