:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--run-bg:#236b45;--run-hover:#1b5838;--run-ink:#fff;--stop-bg:#a63643;--stop-hover:#8d2b37;--stop-ink:#fff;--bg:#f6f7f9;--panel:#fff;--ink:#202b3d;--muted:#6b7484;--line:#dfe4ec;--accent:#315ac6;--accent-hover:#2448a7;--soft:#edf2ff;--gutter:#f9fafc;--error:#a32936;--error-bg:#fff0f1;--focus:#315ac6;--selection:#d5e2ff;--syntax-keyword:#7048a1;--syntax-number:#73501c;--syntax-name:#235ca5;--syntax-string:#28724e;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--run-bg:#8fcaa5;--run-hover:#a5dbba;--run-ink:#14271d;--stop-bg:#e9a0a9;--stop-hover:#f2b4bb;--stop-ink:#341b22;--bg:#141a24;--panel:#1c2431;--ink:#e5eaf4;--muted:#a0adc2;--line:#344052;--accent:#acc1ff;--accent-hover:#c4d2ff;--soft:#293851;--gutter:#19212d;--error:#ffacb6;--error-bg:#37242c;--focus:#acc1ff;--selection:#344e78;--syntax-keyword:#ccb2ef;--syntax-number:#edc78c;--syntax-name:#9fc6ff;--syntax-string:#99d9b1}*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:.55rem .8rem;font-weight:600}button:hover:enabled{background:var(--soft)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-header,main,.app-footer{max-width:1440px;margin:auto;padding-left:32px;padding-right:32px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding-top:22px;padding-bottom:22px;display:flex}.brand{align-items:center;gap:13px;display:flex}.brand-mark{background:var(--ink);color:var(--panel);letter-spacing:-2px;border-radius:12px;place-items:center;width:46px;height:46px;padding-right:3px;font-size:31px;font-weight:750;display:grid}.brand h1{letter-spacing:-.7px;margin:0;font-size:23px}.brand p{color:var(--muted);margin:3px 0 0;font-size:12px}.theme-control{place-items:center;padding:8px;display:grid}.theme-control svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}main{padding-top:22px;padding-bottom:24px}.workspace-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.eyebrow{letter-spacing:1.7px;color:var(--muted);margin:0;font-size:10px;font-weight:750}.workspace-motto{color:var(--muted);text-align:left;margin:14px 0 0;font-size:12px}.workspace{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;height:clamp(320px,100dvh - 265px,760px);display:grid}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;min-width:0;min-height:0;display:flex}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:62px;padding:12px 16px;display:flex}.panel-header h2{align-items:center;gap:9px;margin:0;font-size:13px;font-weight:600;display:flex}.file-dot{background:#6991dd;border-radius:50%;width:7px;height:7px}.run-actions{gap:7px;display:flex}.run-actions button{white-space:nowrap;width:110px;font-size:12px}.primary{background:var(--accent);border-color:var(--accent);color:var(--panel)}.primary:hover:enabled{background:var(--accent-hover)}:root[data-theme=dark] .primary{color:#18243f}.primary span{margin-right:4px;font-size:10px}#status{color:var(--muted);text-align:right;align-items:center;gap:6px;font-size:11px;display:flex}#status:before{content:"";background:#9ba8bc;border-radius:50%;flex-shrink:0;width:6px;height:6px}#status[data-state=ready]:before{background:#4f9d79}#status[data-state=running]:before,#status[data-state=waiting-for-input]:before{background:#d39e35}#status[data-state=failed]:before{background:var(--error)}#editor{border:2px solid #0000;border-radius:8px;flex:1;min-height:0;margin:10px;overflow:hidden}#editor:focus-within{border-color:var(--focus)}.cm-editor{background:var(--panel);height:100%;color:var(--ink);font-size:14px}.cm-scroller{line-height:1.8;overflow:auto;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace!important}.cm-content{caret-color:var(--ink);padding:12px 0}.cm-line{padding:0 12px}.cm-gutters{min-width:36px;padding-left:6px;background:var(--gutter)!important;color:var(--muted)!important;border-right:1px solid var(--line)!important}.cm-activeLine,.cm-activeLineGutter{background:var(--soft)!important}.cm-cursor{border-left-color:var(--ink)!important}.cm-selectionBackground{background:var(--selection)!important}.cm-editor.cm-focused{outline:none}.console-body{scrollbar-gutter:stable;border:2px solid #0000;border-radius:8px;flex:1;min-width:0;min-height:0;margin:10px;padding:10px;overflow:auto}.console-body:focus-within{border-color:var(--focus)}#transcript,pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8}#output{outline:none}#output:empty{display:none}#input-form{white-space:normal;margin:0;padding:0;display:inline}#answer{font:inherit;line-height:inherit;min-width:4ch;max-width:100%;caret-color:var(--ink);vertical-align:baseline;appearance:none;background:0 0;border:0;border-radius:0;padding:0}#answer:focus-visible{outline:none}#error{color:var(--error);background:var(--error-bg);border-radius:6px;margin-top:12px;padding:12px}.app-footer{color:var(--muted);border-top:1px solid var(--line);justify-content:space-between;gap:14px;padding-top:16px;padding-bottom:20px;font-size:10px;display:flex}.app-footer a{color:inherit;text-underline-offset:3px;border-radius:3px}.app-footer a:hover{color:var(--ink)}@media (width<=740px){.app-header,main,.app-footer{padding-left:16px;padding-right:16px}.app-header{padding-top:14px;padding-bottom:14px}.brand p{display:none}.brand-mark{border-radius:9px;width:36px;height:36px;font-size:26px}.brand h1{font-size:21px}main{padding-top:16px;padding-bottom:16px}.workspace-heading{flex-direction:column;align-items:flex-start;gap:5px;margin-bottom:12px}.workspace-motto{font-size:11px}.workspace{grid-template-rows:minmax(220px,1fr) minmax(180px,.85fr);grid-template-columns:minmax(0,1fr);gap:12px;height:calc(100dvh - 235px);min-height:416px}.panel-header{min-height:50px;padding:10px 12px}.run-actions button{padding:.45rem .6rem}#editor,.console-body{margin:7px}.console-body{padding:7px}.cm-editor{font-size:13px}.app-footer{flex-wrap:wrap;gap:8px;padding-top:12px;padding-bottom:14px}}#run[data-action=run]{background:var(--run-bg);border-color:var(--run-bg);color:var(--run-ink)}#run[data-action=run]:hover:enabled{background:var(--run-hover);border-color:var(--run-hover)}#run[data-action=stop]{background:var(--stop-bg);border-color:var(--stop-bg);color:var(--stop-ink)}#run[data-action=stop]:hover:enabled{background:var(--stop-hover);border-color:var(--stop-hover)}#run:disabled{background:var(--soft);border-color:var(--line);color:var(--muted);opacity:1}.cm-editor .cm-matchingBracket{background:var(--selection);outline:1px solid var(--accent);outline-offset:-1px;border-radius:2px}.cm-editor .cm-nonmatchingBracket{background:var(--error-bg);outline:1px solid var(--error);outline-offset:-1px;-webkit-text-decoration:underline wavy var(--error);text-decoration:underline wavy var(--error);border-radius:2px}
