:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{margin:0}:root{--color-app-background:#0f1115;--color-surface:#1a1d24;--color-surface-alt:#1f2430;--color-border:#ffffff14;--color-border-strong:#ffffff26;--color-text-primary:#e6e6e6;--color-text-secondary:#9aa0a6;--color-error:#ff6b6b;--color-warning:#f0c674;--color-accent-run:#22c55e;--color-accent-run-hover:#16a34a;--color-accent-stop:#f87171;--color-accent-stop-hover:#ef4444;--color-accent-primary:#2563eb;--color-exception-bg:#3a1414;--color-exception-border:#7a2a2a;--color-exception-text:#ff9a9a}:root[data-theme=vs-light]{--color-app-background:#fff;--color-surface:#fafafa;--color-surface-alt:#f1f1f1;--color-border:#0000001a;--color-border-strong:#0000002e;--color-text-primary:#1e1e1e;--color-text-secondary:#5f6368;--color-error:#c0392b;--color-warning:#b8860b;--color-accent-run:#22c55e;--color-accent-run-hover:#16a34a;--color-accent-stop:#f87171;--color-accent-stop-hover:#ef4444;--color-accent-primary:#2563eb;--color-exception-bg:#fdecea;--color-exception-border:#f5c2c0;--color-exception-text:#c0392b}*,:before,:after{box-sizing:border-box}.app-shell{background-color:var(--color-app-background);height:100dvh;color:var(--color-text-primary);flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;display:flex}.app-shell--loading,.app-shell--error{justify-content:center;align-items:center;gap:12px}.app-shell__toolbar{border-bottom:1px solid var(--color-border);background-color:var(--color-app-background);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 16px;display:flex}.app-shell__logo{letter-spacing:-.01em;height:32px;color:var(--color-text-primary);-webkit-user-select:none;user-select:none;white-space:nowrap;flex-shrink:0;align-items:center;gap:6px;font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:1.05rem;font-weight:700;line-height:1;display:inline-flex}.app-shell__logo-icon{width:20px;height:20px;color:var(--color-accent-primary);flex-shrink:0}.app-shell__actions{flex-wrap:wrap;flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.app-shell__view-tabs{gap:6px;margin-left:12px;display:flex}.toolbar-button--active{background:var(--color-accent-primary);color:#fff;border-color:var(--color-accent-primary)}.toolbar-button{background:var(--color-surface);height:32px;color:var(--color-text-primary);border:1px solid var(--color-border-strong);white-space:nowrap;cursor:pointer;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.8125rem;font-weight:500;line-height:1;transition:background-color .15s,border-color .15s,transform 50ms;display:inline-flex}.toolbar-button svg{flex-shrink:0}.toolbar-button:hover:not(:disabled){background:var(--color-surface-alt)}.toolbar-button:active:not(:disabled){transform:translateY(1px)}.toolbar-button:disabled{opacity:.5;cursor:not-allowed}.toolbar-button--icon-only{justify-content:center;width:32px;padding:0}.toolbar-button--run{background:var(--color-accent-run);color:#fff;border-color:#0000;border-radius:999px;padding-inline:18px;font-weight:600}.toolbar-button--run:hover:not(:disabled){background:var(--color-accent-run-hover)}.toolbar-button--stop{background:var(--color-accent-stop);color:#fff;border-color:#0000;border-radius:999px;padding-inline:18px;font-weight:600}.toolbar-button--stop:hover:not(:disabled){background:var(--color-accent-stop-hover)}.toolbar-button__spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite toolbar-spin}@keyframes toolbar-spin{to{transform:rotate(360deg)}}.app-shell__workspace{flex:1;width:100%;min-width:0;min-height:0;display:flex}.app-shell--fullscreen{z-index:1000;position:fixed;inset:0}.pane-wrapper{min-width:0;min-height:0;display:flex;overflow:hidden}.pane-divider{cursor:col-resize;background:var(--color-border);touch-action:none;flex-shrink:0;width:6px}.pane-divider:hover{background:var(--color-border-strong)}.pane{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.pane--editor,.pane-wrapper:first-child .pane--io{border-right:1px solid var(--color-border)}.monaco-editor-container{flex:1;min-height:0}.pane--io{overscroll-behavior:contain;flex-direction:column;gap:14px;min-height:0;padding:12px;display:flex;overflow-y:auto}.io-pane__output{flex-direction:column;flex:none;gap:8px;display:flex}.io-pane__output-header{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-secondary);flex-shrink:0;justify-content:space-between;font-size:.72rem;display:flex}.io-pane__output-content{background:var(--color-surface);border:1px solid var(--color-border);white-space:pre-wrap;word-break:break-word;overscroll-behavior:contain;border-radius:8px;min-height:120px;max-height:320px;padding:12px;overflow-y:auto}.io-pane__truncation-notice{color:var(--color-warning);font-size:.85rem}.io-pane__exception{background:var(--color-exception-bg);border:1px solid var(--color-exception-border);color:var(--color-exception-text);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin-top:8px;padding:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem}.io-pane__problems-header{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-secondary);margin-bottom:4px;font-size:.72rem}.io-pane__problems ul{margin:0;padding:0;font-size:.85rem;list-style:none}.problem{cursor:pointer;border-radius:3px;align-items:baseline;gap:6px;padding:4px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;display:flex}.problem:hover{background:#ffffff0f}.problem:before{content:"";border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:3px}.problem--error{color:var(--color-error)}.problem--error:before{background:var(--color-error)}.problem--warning{color:var(--color-warning)}.problem--warning:before{background:var(--color-warning)}.io-pane__complexity{border-top:1px solid var(--color-border);padding-top:12px}.io-pane__complexity-header{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-secondary);margin-bottom:8px;font-size:.72rem}.io-pane__complexity-body{flex-direction:column;gap:6px;display:flex}.io-pane__complexity-metric{align-items:center;gap:8px;font-size:.85rem;display:flex}.io-pane__complexity-label{min-width:48px;color:var(--color-text-secondary);font-weight:600}.io-pane__complexity-value{color:var(--color-accent-primary);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:999px;padding:2px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700}.io-pane__complexity-rationale{color:var(--color-text-secondary);margin:4px 0 0;font-size:.78rem}.io-pane__complexity-empty{color:var(--color-text-secondary);margin:0;font-size:.85rem}.app-shell__status-bar{border-top:1px solid var(--color-border);color:var(--color-text-secondary);justify-content:space-between;align-items:center;gap:12px;padding:4px 16px;font-size:.8rem;display:flex}.app-shell__status-bar span{border:1px solid var(--color-border);border-radius:999px;padding:2px 8px}.save-state--unavailable{color:var(--color-error);border-color:var(--color-error)}.clear-data-button{border:1px solid var(--color-border-strong);color:inherit;cursor:pointer;background:0 0;border-radius:4px;margin-left:auto;padding:2px 8px;font-size:.75rem}.settings-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.settings-panel{background:var(--color-surface);width:420px;max-height:80vh;color:var(--color-text-primary);border-radius:8px;padding:20px 24px;overflow-y:auto;box-shadow:0 8px 32px #00000059}.settings-panel__header{justify-content:space-between;align-items:center;display:flex}.settings-panel__header h2{margin:0;font-size:1.75rem;font-weight:700}.settings-panel__header button{color:var(--color-text-secondary);cursor:pointer;background:0 0;border:none;padding:4px;font-size:1.4rem;line-height:1}.settings-panel__header button:hover{color:var(--color-text-primary)}.settings-panel__body{flex-direction:column;gap:4px;margin-top:12px;display:flex}.settings-panel__row{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:16px;padding:8px 0;font-size:.9rem;display:flex}.settings-panel__row:last-child{border-bottom:none}.settings-panel__row label{color:var(--color-text-primary)}.settings-panel__row select,.settings-panel__row input[type=number]{background:var(--color-surface-alt);color:var(--color-text-primary);border:1px solid var(--color-border-strong);border-radius:6px;min-width:96px;padding:6px 10px;font-family:inherit;font-size:.85rem}.settings-panel__row--checkbox input[type=checkbox]{width:18px;height:18px;accent-color:var(--color-accent-primary);cursor:pointer}.about-dialog__body dl{grid-template-columns:auto 1fr;gap:4px 12px;margin:0;font-size:.85rem;display:grid}.about-dialog__body dt{color:var(--color-text-secondary)}.about-dialog__body dd{word-break:break-word;margin:0}.error-boundary{color:var(--color-error);flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex}@media (width<=1100px){.toolbar-button--extra span{display:none}.toolbar-button--extra{width:32px;padding:0}}@media (width<=720px){.app-shell__toolbar{padding:8px 10px}.app-shell__logo{font-size:.95rem}.toolbar-button--extra{display:none}.toolbar-button--run,.toolbar-button--stop{padding-inline:14px}.app-shell__workspace{flex-direction:column}.pane-wrapper{flex:1 1 0;flex-basis:auto!important}.pane-divider{cursor:row-resize;width:auto;height:6px}.pane--editor,.pane-wrapper:first-child .pane--io{border-right:none;border-bottom:1px solid var(--color-border)}}@media (width>=1600px){.app-shell{font-size:15px}.app-shell__logo{font-size:1.15rem}}.mcp-playground{width:100%;min-width:0;min-height:0;color:var(--color-text-primary);flex-direction:column;flex:1;gap:1rem;padding:1rem 1.25rem 1.5rem;display:flex;overflow-y:auto}.mcp-playground__connection{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:.75rem;display:flex}.mcp-playground__url-label{color:var(--color-text-secondary);flex-shrink:0;font-size:.85rem}.mcp-playground__url-input{background:var(--color-surface-alt);border:1px solid var(--color-border);min-width:220px;color:var(--color-text-primary);border-radius:6px;flex:260px;padding:.4rem .6rem;font-family:SFMono-Regular,Consolas,monospace;font-size:.85rem}.mcp-playground__status{border:1px solid var(--color-border-strong);color:var(--color-text-secondary);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:.2rem .6rem;font-size:.8rem}.mcp-playground__status--connected{color:var(--color-accent-run);border-color:var(--color-accent-run)}.mcp-playground__status--error{color:var(--color-error);border-color:var(--color-error)}.mcp-playground__error{color:var(--color-error);flex-shrink:0;margin:0;font-size:.85rem}.mcp-playground__tools{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;flex-shrink:0;width:100%;padding:.75rem 1rem}.mcp-playground__tools h2{color:var(--color-text-secondary);margin:0 0 .5rem;font-size:.9rem}.mcp-playground__tools ul{margin:0;padding-left:1.1rem;font-size:.85rem}.mcp-playground__workspace{flex-direction:column;flex:auto;width:100%;min-width:0;min-height:420px;display:flex}.mcp-playground__editor{border:1px solid var(--color-border);border-radius:8px;flex-direction:column;flex:auto;width:100%;min-height:280px;display:flex;overflow:hidden}.mcp-playground__actions{flex-shrink:0;justify-content:flex-start;display:flex}.mcp-playground__result{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;flex-direction:column;flex-shrink:0;gap:.5rem;width:100%;min-width:0;padding:.75rem 1rem;display:flex}.mcp-playground__result-status{color:var(--color-accent-run);font-weight:600}.mcp-playground__result-status--error{color:var(--color-error)}.mcp-playground__output{background:var(--color-surface-alt);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;box-sizing:border-box;border-radius:6px;width:100%;max-height:50vh;margin:0;padding:.6rem .75rem;font-family:SFMono-Regular,Consolas,monospace;font-size:.85rem;overflow-y:auto}.mcp-playground__diagnostics{color:var(--color-warning);width:100%;margin:0;padding-left:1.1rem;font-size:.8rem}.mcp-playground__exception{color:var(--color-exception-text);background:var(--color-exception-bg);border:1px solid var(--color-exception-border);box-sizing:border-box;word-break:break-word;border-radius:6px;width:100%;margin:0;padding:.5rem .75rem;font-size:.85rem}.mcp-playground__timings{color:var(--color-text-secondary);margin:0;font-size:.8rem}.mcp-playground__raw{color:var(--color-text-secondary);width:100%;font-size:.8rem}.mcp-playground__raw pre{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;background:var(--color-surface-alt);box-sizing:border-box;border-radius:6px;width:100%;max-height:50vh;margin:.4rem 0 0;padding:.5rem .75rem;overflow-y:auto}@media (width<=720px){.mcp-playground{padding:.75rem .85rem 1.25rem}.mcp-playground__connection{flex-direction:column;align-items:stretch}.mcp-playground__url-input{flex-basis:auto}}.ai-host{flex:1;width:100%;min-width:0;min-height:0;display:flex}.ai-host[hidden]{display:none}.ai-panel{width:100%;min-width:0;min-height:0;color:var(--color-text-primary);flex-direction:column;flex:1;gap:.75rem;padding:.75rem 1.25rem 1rem;display:flex;overflow-y:auto}.ai-panel__code-input{flex:0 160px;min-width:120px}.ai-panel__health{padding:.4rem .75rem}.ai-panel__health summary{cursor:pointer;color:var(--color-text-secondary);font-size:.85rem}.ai-panel__context{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.5rem .75rem;display:flex}.ai-panel__context-info,.ai-panel__context-actions{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;font-size:.85rem;display:flex}.ai-panel__grid{flex:auto;grid-template-columns:minmax(280px,2fr) minmax(0,3fr);gap:.75rem;min-height:0;display:grid}.ai-panel__composer,.ai-panel__result{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;flex-direction:column;gap:.5rem;min-width:0;min-height:0;padding:.75rem;display:flex}.ai-panel__question{resize:vertical;box-sizing:border-box;flex:none;width:100%;height:9rem;min-height:5rem;max-height:40vh;font-family:inherit}.ai-panel__option{font-size:.85rem}.ai-panel__result{overflow-y:auto}.ai-panel__result-heading{color:var(--color-accent-run);font-weight:600}.ai-panel__answer{flex:auto;min-height:6rem;max-height:none}@media (width<=900px){.ai-panel__grid{grid-template-columns:minmax(0,1fr)}.ai-panel__result{order:-1}}@media (width<=720px){.ai-panel{padding:.6rem .75rem 1rem}.ai-panel .mcp-playground__connection{flex-direction:column;align-items:stretch}.ai-panel .toolbar-button{justify-content:center}}
