/**
 * 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;-moz-user-select:none;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) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-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{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;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}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0;border:none;outline:none;background:#101014;overflow:hidden}.xterm{font-variant-ligatures:none}.xterm .xterm-rows{padding:0}.xterm .xterm-viewport::-webkit-scrollbar{width:10px;height:10px}.xterm .xterm-viewport::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:6px}.xterm .xterm-viewport::-webkit-scrollbar-track{background:transparent}@keyframes voice-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.78)}}@keyframes voice-bounce{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}@keyframes voice-wave{0%{height:3px}to{height:13px}}.xterm{font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace!important;background:transparent!important;padding:0!important;width:100%!important;height:100%!important;overflow-x:hidden!important;overflow-y:hidden!important}.terminal-outer-container{overflow-y:hidden;overflow-x:hidden;padding:18px 12px;box-sizing:border-box;height:100%;min-height:0;position:relative}.terminal-toolbar{display:flex;align-items:center;gap:12px;width:100%;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid transparent;flex-shrink:0}.terminal-toolbar-dark{border-bottom-color:#ffffff12;color:#94a3b8}.terminal-toolbar-light{border-bottom-color:#0f172a1a;color:#52666d}.terminal-toolbar-label{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:14px;font-weight:700;white-space:nowrap}.terminal-toolbar-dark .terminal-toolbar-label{color:#c5d2e5}.terminal-toolbar-light .terminal-toolbar-label{color:#294a52}.starter-prompts{display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}.starter-prompts::-webkit-scrollbar{display:none}.starter-prompt-select{display:none}.terminal-retry-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:6px 12px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700;cursor:pointer}.terminal-retry-button:hover,.terminal-retry-button:focus-visible{opacity:1}.terminal-toolbar-dark .terminal-retry-button:hover,.terminal-toolbar-dark .terminal-retry-button:focus-visible{color:#fecaca;border-color:#f8717173;background:#f8717114}.terminal-toolbar-light .terminal-retry-button:hover,.terminal-toolbar-light .terminal-retry-button:focus-visible{color:#991b1b;border-color:#b91c1c59;background:#b91c1c0f}.terminal-retry-button:disabled{cursor:not-allowed;opacity:.4}.starter-prompt{min-height:32px;padding:6px 10px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.2;white-space:nowrap;cursor:pointer;opacity:.78;transition:opacity .15s ease,background .15s ease,border-color .15s ease}.terminal-toolbar-dark .starter-prompt:hover,.terminal-toolbar-dark .starter-prompt:focus-visible{color:#bfdbfe;border-color:#93c5fd73;background:#93c5fd14;opacity:1}.terminal-toolbar-light .starter-prompt:hover,.terminal-toolbar-light .starter-prompt:focus-visible{color:#155e75;border-color:#0891b266;background:#0891b212;opacity:1}.starter-prompt:disabled{cursor:not-allowed;opacity:.38}.header-brand:focus-visible,.header-action:focus-visible,.starter-prompt:focus-visible,.about-dialog-body a:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.app-header-light .header-brand:focus-visible,.app-header-light .header-action:focus-visible,.terminal-toolbar-light .starter-prompt:focus-visible{outline-color:#0f766e}.terminal-content{display:flex;flex:1;min-height:0;width:100%}.terminal-latest-button{position:absolute;right:18px;bottom:18px;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:999px;font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700;cursor:pointer;box-shadow:0 8px 24px #0000003d}.terminal-latest-button-dark{color:#dbeafe;border-color:#93c5fd47;background:#1a1a21}.terminal-latest-button-light{color:#164e63;border-color:#0f766e3d;background:#fffaf0}.terminal-latest-button:hover{transform:translateY(-1px)}.terminal-latest-button:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.app-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1120px,100%);height:100%;margin:0 auto}.header-brand,.header-action{font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.header-brand{display:inline-flex;align-items:center;gap:8px;min-width:0;border:0;background:transparent;color:inherit;cursor:pointer}.header-brand-mark{color:#38bdf8;font-size:15px;font-weight:800}.app-header-light .header-brand-mark{color:#0f766e}.header-brand-name{font-size:17px;font-weight:800;letter-spacing:-.2px}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.header-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;font-size:11px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.header-icon-action{width:36px;padding:0}.app-header-dark{color:#a8b0bd;border-bottom:1px solid rgba(255,255,255,.055)}.app-header-dark .header-brand{color:#d3dbea}.app-header-light{color:#52666d;border-bottom:1px solid rgba(15,23,42,.08)}.app-header-light .header-brand{color:#294a52}.app-header-dark .header-action{border-color:#ffffff14}.app-header-light .header-action{border-color:#0f172a1a}.app-header-dark .header-action:hover,.app-header-dark .header-action:focus-visible,.app-header-dark .header-brand:focus-visible{color:#dbeafe;background:#93c5fd14;border-color:#93c5fd3d}.app-header-light .header-action:hover,.app-header-light .header-action:focus-visible,.app-header-light .header-brand:focus-visible{color:#0f5f63;background:#0f766e12;border-color:#0f766e33}.header-action-active{color:#93c5fd;background:#93c5fd14}.app-header-light .header-action-active{color:#0f766e}.about-dialog-body{overscroll-behavior:contain;scrollbar-width:thin}.terminal-bottom-spacer{height:20px;flex-shrink:0}@media (max-width: 640px){.terminal-outer-container{padding:10px 8px 8px}.terminal-bottom-spacer{height:max(8px,env(safe-area-inset-bottom))}.terminal-toolbar{align-items:flex-start;flex-direction:column;gap:8px;padding-bottom:10px;margin-bottom:10px}.starter-prompts{display:none}.starter-prompt-select{display:block;width:100%;min-height:44px;padding:0 36px 0 12px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#ffffff09;color:inherit;font-family:JetBrains Mono,Fira Mono,Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11px}.terminal-toolbar-light .starter-prompt-select{border-color:#0f172a24;background:#0f172a09}.starter-prompt-select:disabled{opacity:.45}.about-dialog-body{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}.header-action-label{display:none}.header-actions{gap:4px}.header-brand-name{font-size:15px}.terminal-toolbar-label{font-size:13px}.terminal-retry-button{width:100%;min-height:44px}.terminal-latest-button{right:12px;bottom:12px;min-height:44px;padding:0 14px}.header-action,.header-icon-action{width:42px;min-height:42px;padding:0;border-radius:10px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.xterm .xterm-viewport::-webkit-scrollbar{width:0!important}.xterm .xterm-viewport{scrollbar-width:none!important}
