.mpl-keyword{color:#7c3aed;font-weight:500}.mpl-variable{color:#0550ae}.mpl-string{color:#0a3069}.mpl-number{color:#0550ae}.mpl-bool{color:#cf222e}.mpl-regexp{color:#116329}.mpl-operator,.mpl-punctuation{color:#cf222e}.mpl-type{color:#0550ae;font-style:italic}.mpl-comment{color:#6e7781;font-style:italic}.dark-theme .mpl-keyword{color:#c678dd}.dark-theme .mpl-variable{color:#e06c75}.dark-theme .mpl-string{color:#98c379}.dark-theme .mpl-number,.dark-theme .mpl-bool{color:#d19a66}.dark-theme .mpl-regexp,.dark-theme .mpl-operator{color:#56b6c2}.dark-theme .mpl-punctuation{color:#abb2bf}.dark-theme .mpl-type{color:#56b6c2;font-style:italic}.dark-theme .mpl-comment{color:#5c6370;font-style:italic}.mpl-signature-help{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace;font-size:13px;padding:6px 10px;max-width:500px}.mpl-signature-sig{white-space:nowrap}.mpl-signature-fn{color:#7c3aed;font-weight:600}.mpl-signature-param{color:var(--text-color)}.mpl-signature-param.active{font-weight:700;text-decoration:underline;color:#0550ae}.mpl-signature-doc{margin-top:4px;font-size:12px;color:var(--label-text);white-space:pre-wrap}.dark-theme .mpl-signature-fn{color:#c678dd}.dark-theme .mpl-signature-param.active{color:#61afef}.mpl-hover-tooltip{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace;font-size:13px;padding:6px 10px;max-width:500px}.mpl-hover-sig{white-space:nowrap}.mpl-hover-fn{color:#7c3aed;font-weight:600}.mpl-hover-param{color:var(--text-color)}.mpl-hover-keyword{color:#7c3aed;font-weight:600}.mpl-hover-doc{margin-top:4px;font-size:12px;color:var(--label-text);white-space:pre-wrap}.mpl-hover-syntax{margin-top:4px;font-size:12px;color:var(--text-color);background:var(--toggle-bg);padding:2px 6px;border-radius:3px}.dark-theme .mpl-hover-fn,.dark-theme .mpl-hover-keyword{color:#c678dd}:root{--bg-color: #ffffff;--text-color: #333;--border-color: #ddd;--header-bg: #ffffff;--toggle-bg: #f0f0f0;--toggle-active-bg: #ffffff;--toggle-text: #666;--toggle-active-text: #333;--editor-border: #ddd;--editor-border-focus: #4a90e2;--label-bg: rgba(255, 255, 255, .9);--label-text: #666;--scrollbar-track: #f0f0f0;--scrollbar-thumb: #c0c0c0;--scrollbar-thumb-hover: #a0a0a0}.dark-theme{--bg-color: #1e1e1e;--text-color: #e0e0e0;--border-color: #404040;--header-bg: #1e1e1e;--toggle-bg: #2d2d2d;--toggle-active-bg: #404040;--toggle-text: #a0a0a0;--toggle-active-text: #e0e0e0;--editor-border: #404040;--editor-border-focus: #4a90e2;--label-bg: rgba(30, 30, 30, .9);--label-text: #a0a0a0;--scrollbar-track: #2d2d2d;--scrollbar-thumb: #505050;--scrollbar-thumb-hover: #606060}html,body{height:100%;margin:0;overflow:hidden}body{font-family:system-ui,-apple-system,sans-serif;background:var(--bg-color);color:var(--text-color);transition:background-color .2s ease,color .2s ease;display:flex;flex-direction:column}body>div{display:flex;flex-direction:column;flex:1;min-height:0}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}*::-webkit-scrollbar{width:12px;height:12px}*::-webkit-scrollbar-track{background:var(--scrollbar-track)}*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:6px;border:2px solid var(--scrollbar-track)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}#header{display:flex;flex-direction:column;gap:12px;padding:20px 20px 10px;flex-shrink:0}#header-bottom{display:flex;justify-content:space-between;align-items:center;width:100%}h1{margin:0}.example-picker{display:flex;align-items:center}.example-picker select{padding:6px 12px;font-size:14px;background:var(--toggle-bg);color:var(--text-color);border:1px solid var(--border-color);border-radius:4px;cursor:pointer;transition:all .2s ease;min-width:200px}.example-picker select:hover{background:var(--toggle-active-bg)}.example-picker select:focus{outline:none;border-color:var(--editor-border-focus);box-shadow:0 0 0 1px var(--editor-border-focus)}#controls{display:flex;gap:12px;align-items:center}.toggle-container{display:inline-flex;align-items:center;background:var(--toggle-bg);border-radius:4px;padding:2px;cursor:pointer;user-select:none;transition:background-color .2s ease,opacity .2s ease}.toggle-container.disabled{opacity:.5;cursor:not-allowed}.toggle-container.disabled .toggle-option{cursor:not-allowed}.toggle-option{padding:6px 12px;font-size:14px;border-radius:3px;transition:all .2s ease;color:var(--toggle-text);font-weight:500}.toggle-option.active{background:var(--toggle-active-bg);color:var(--toggle-active-text);box-shadow:0 1px 3px #0003}#container{display:flex;gap:20px;flex:1;min-height:0;padding:10px 20px 20px}.editor-wrapper{flex:1;border:2px solid var(--editor-border);border-radius:4px;overflow:hidden;transition:border-color .2s ease;position:relative}.editor-wrapper:has(.cm-editor.cm-focused){border-color:var(--editor-border-focus);box-shadow:0 0 0 1px var(--editor-border-focus)}.editor-container,.cm-editor{height:100%}.editor-label{position:absolute;top:8px;right:8px;background:var(--label-bg);padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;color:var(--label-text);pointer-events:none;z-index:10;transition:background-color .2s ease,color .2s ease}#terminal-container{border:2px solid var(--editor-border);border-radius:4px;margin:0 20px 20px;overflow:hidden;position:relative;height:200px;flex-shrink:0}.terminal-label{position:absolute;top:8px;right:8px;background:var(--label-bg);padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;color:var(--label-text);pointer-events:none;z-index:10;transition:background-color .2s ease,color .2s ease}#terminal{height:100%;padding:8px}/**
 * 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}
