:root{color:#dcecff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#07111d;max-width:100%;font-family:Inter,ui-sans-serif,system-ui,sans-serif;overflow-x:hidden}*,:before,:after,*{box-sizing:border-box}body{background:radial-gradient(circle at 80% 0,#17314a 0,#0000 35%),#07111d;min-width:0;max-width:100%;min-height:100vh;margin:0;overflow-x:hidden}button,input,select{font:inherit}main{width:min(1440px,100%);margin:auto;padding:24px}header{align-items:center;gap:14px;display:flex}header h1{margin:0;font-size:1.35rem}header p{color:#86a3bd;margin:2px 0 0}.mark{color:#06202a;background:#57e6c1;border-radius:13px;place-items:center;width:46px;height:46px;font-weight:800;display:grid}nav{gap:8px;margin:28px 0 14px;display:flex}button{color:#dcecff;cursor:pointer;background:#122337;border:1px solid #29445f;border-radius:8px;padding:8px 14px}button[aria-current=page],button.run{color:#06202a;background:#57e6c1;border-color:#57e6c1;font-weight:700}button:disabled{opacity:.45;cursor:not-allowed}.save-state{color:#86a3bd;text-transform:uppercase;letter-spacing:.08em;background:#102337;border-radius:99px;margin-left:auto;padding:5px 9px;font-size:.72rem}.save-state.saving{color:#f5d889}.save-state.error{color:#ff9b9b}.project-bar{flex-direction:column;gap:8px;min-width:0;padding:0 10px 12px;display:flex}.project-bar label{color:#86a3bd;gap:4px;font-size:.72rem;display:grid}.project-bar input,.project-bar select{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:7px;width:100%;min-width:0;padding:8px 10px}.explorer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.explorer-actions button{padding-inline:6px}.project-bar h3{margin:8px 0 0;font-size:.82rem}.explorer-files{gap:4px;margin:0;padding:0;list-style:none;display:grid}.explorer-files button{text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.explorer-files button[aria-current=page]{color:#06202a;border-color:#57e6c1}.guidance,.warning{color:#cde7fb;background:#183247;border-radius:10px;margin:0 0 14px;padding:12px 16px}.learning>p{color:#a9c6dc;margin:5px 0 12px}.learning>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.learning article{background:#0b2133;border:1px solid #315875;border-radius:8px;gap:6px;padding:12px;display:grid}.learning article h2,.learning article p{margin:0}.learning article h2{font-size:.95rem}.learning article span,.learning article small{color:#8eb4d5;font-size:.7rem}.learning article span{text-transform:uppercase;letter-spacing:.06em}.learning article button{margin-top:5px}.warning{color:#ffe3a3;background:#332712;border:1px solid #805e21}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#02070dbb;place-items:start center;padding-top:12vh;display:grid;position:fixed;inset:0}.command-palette{background:#0b1827;border:1px solid #45647e;border-radius:14px;width:min(560px,100vw - 28px);max-height:72vh;padding:16px;display:grid;overflow:auto;box-shadow:0 28px 100px #000b}.command-palette h2{margin:0}.command-palette p{color:#86a3bd;margin:3px 0 12px}.command-palette button{text-align:left;justify-content:space-between;margin:3px 0;display:flex}.command-palette kbd{color:#86a3bd}.workspace-controls{flex-wrap:wrap;gap:5px;margin-left:auto;display:flex}.workspace-controls button{padding:6px 9px;font-size:.76rem}.workspace-controls button[aria-pressed=true]{color:#75e6c1;border-color:#57e6c1}.settings-panel{background:#0a1725;border:1px solid #29445f;border-radius:10px;margin:0 clamp(12px,3vw,36px) 14px}.settings-panel>summary{cursor:pointer;color:#a9c6dc;padding:10px 14px;font-size:.82rem;font-weight:700}.settings-panel>div{flex-wrap:wrap;align-items:center;gap:10px 16px;padding:0 14px 14px;display:flex}.settings-panel label{color:#9cb4ca;align-items:center;gap:6px;font-size:.76rem;display:flex}.settings-panel input[type=number],.settings-panel select{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:6px;max-width:110px;padding:5px 7px}.settings-panel small{color:#86a3bd;flex:100%}.workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;min-height:65vh;display:grid}.workspace.mathematics-visible{grid-template-columns:minmax(0, calc(var(--editor-percent,45%) + 15%)) minmax(280px, 1fr)}.workspace.explorer-visible{grid-template-columns:minmax(180px,15%) minmax(0,1fr)}.workspace.explorer-visible.mathematics-visible{grid-template-columns:minmax(180px, 15%) minmax(0, var(--editor-percent,45%)) minmax(280px, 1fr)}.workspace.results-visible .results-panel,.workspace.mode-explore .history{grid-column:1/-1}.workspace.console-right.results-visible{grid-template-columns:minmax(0,1fr) minmax(280px,35%)}.workspace.console-right.explorer-visible.results-visible{grid-template-columns:minmax(180px,15%) minmax(0,1fr) minmax(280px,32%)}.workspace.console-right.results-visible .results-panel{grid-column:auto}.units-hidden .ss-unit-value{display:none}.mathematics-panel{min-width:0}.panel{background:#0b1827cc;border:1px solid #243c55;border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 16px 50px #0005}.document-tabs{background:#081522;border-bottom:1px solid #243c55;gap:2px;padding:6px 8px 0;display:flex;overflow-x:auto}.document-tabs button{border-bottom:0;border-radius:7px 7px 0 0;flex:none;padding:6px 10px;font-size:.75rem}.document-tabs button[aria-selected=true]{color:#75e6c1;background:#19324a}.panel-title{border-bottom:1px solid #243c55;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-height:58px;padding:12px 16px;display:flex}.panel-title h2{margin:0;font-size:.95rem;font-weight:650}.actions{flex-wrap:wrap;flex:20rem;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.badge{color:#8eb4d5;font-size:.76rem}.split-control,.font-control{color:#86a3bd;align-items:center;gap:5px;font-size:.68rem;display:flex}.split-control input{width:90px}.font-control input{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:5px;width:48px;padding:4px}.code-editor,.code-editor .cm-editor{min-height:calc(65vh - 58px)}.code-editor .cm-editor{color:#dcecff;font:var(--editor-font-size,14px)/1.65 "Cascadia Code", Consolas, monospace;background:0 0}.editor-loading{color:#86a3bd;place-items:center;min-height:calc(65vh - 58px);display:grid}.code-editor .cm-scroller{min-height:calc(65vh - 58px);overflow:auto}.code-editor .cm-content{caret-color:#57e6c1;padding:14px 0}.code-editor .cm-line{padding:0 14px}.code-editor .cm-gutters{color:#56738d;background:#091522;border:0;border-right:1px solid #172a3e}.code-editor .cm-activeLine,.code-editor .cm-activeLineGutter{background:#152a3d99}.code-editor .cm-selectionBackground,.code-editor .cm-focused .cm-selectionBackground{background:#245f78!important}.code-editor .cm-cursor{border-left-color:#57e6c1}.code-editor .cm-diagnostic-range{text-underline-offset:3px;background:#9d273633;-webkit-text-decoration:underline wavy #ff6978;text-decoration:underline wavy #ff6978;text-decoration-thickness:1.5px}.code-editor .cm-ss-keyword{color:#d8a8ff;font-weight:600}.code-editor .cm-ss-type,.code-editor .cm-ss-unit{color:#75d8ee}.code-editor .cm-ss-number,.code-editor .cm-ss-constant{color:#f5d889}.code-editor .cm-ss-string{color:#a6df91}.code-editor .cm-ss-function{color:#73b7ff}.code-editor .cm-ss-parameter,.code-editor .cm-ss-variable{color:#e8edf3}.code-editor .cm-ss-breakpoint{background:linear-gradient(90deg,#d6405166,#0000 32px);box-shadow:inset 3px 0 #ff6475}.code-editor .cm-tooltip{color:#dcecff;background:#102337;border:1px solid #29445f}.code-editor .cm-tooltip-autocomplete ul li[aria-selected]{background:#245f78}.code-editor .cm-panels{color:#dcecff;background:#102337;border-color:#29445f}.code-editor .cm-search{flex-wrap:wrap;align-items:center;gap:5px;padding:8px;display:flex}.code-editor .cm-search input{color:#dcecff;background:#07111d;border:1px solid #45647e;border-radius:5px;padding:5px 7px}.code-editor .cm-search button{padding:4px 7px}.language-notice{color:#86d9c3;border-top:1px solid #243c55;margin:0;padding:8px 14px;font-size:.78rem}.reference-list{background:#081522;border-top:1px solid #243c55;margin:0;padding:10px 14px 14px}.reference-list h3{margin:0 0 6px;font-size:.84rem}.reference-list ol{flex-wrap:wrap;gap:5px;margin:0 0 8px;padding:0;list-style:none;display:flex}.reference-list button{padding:5px 8px;font-family:Cascadia Code,Consolas,monospace;font-size:.72rem}.debug-panel{background:#07111d;border-top:1px solid #243c55;padding:12px 14px}.debug-panel>div:first-child{justify-content:space-between;align-items:center;display:flex}.debug-panel h3{margin:0;font-size:.9rem}.debug-actions{flex-wrap:wrap;gap:5px;margin:8px 0;display:flex}.debug-panel p{color:#86a3bd;font:.75rem Cascadia Code,Consolas,monospace}.debug-panel table{border-collapse:collapse;width:100%;font-size:.78rem}.debug-panel caption{text-align:left;color:#86a3bd}.debug-panel th,.debug-panel td{text-align:left;border-bottom:1px solid #243c55;padding:5px 7px}.empty{text-align:center;color:#86a3bd;place-content:center;min-height:50vh;display:grid}.empty span{color:#57e6c1;font:4rem Georgia,serif}.empty p{max-width:30ch}.results{padding:20px}.results pre{white-space:pre-wrap;background:#050c14;border-radius:9px;min-height:180px;padding:16px}.status{text-transform:uppercase;letter-spacing:.08em;color:#57e6c1;font-size:.75rem}.status.compile-error,.status.runtime-error,.error{color:#ff9b9b}.meta{color:#86a3bd;font-size:.8rem}.diagnostic,.error{background:#321820;border:1px solid #7b3b46;border-radius:8px;margin:12px;padding:12px}.diagnostic{text-align:left;width:calc(100% - 24px);display:block}.diagnostic span{color:#d5aab0;margin-top:5px;font-size:.72rem;display:block}.assistant-link{color:#75e6bd;border:1px solid #57e6c1;border-radius:7px;margin:4px 0 12px;padding:7px 10px;text-decoration:none;display:inline-flex}.assistant-link:hover{background:#12314a}.assistant-link:focus-visible{outline-offset:2px;outline:3px solid #f5d889}.workspace-link{color:#75e6bd;border:1px solid #2c536c;border-radius:7px;padding:7px 10px;text-decoration:none}.workspace-link:hover{background:#12314a}.workspace-link:focus-visible{outline-offset:2px;outline:3px solid #f5d889}.diagnostic em{color:#f4d9ae;margin-top:9px;font-style:normal;line-height:1.45;display:block}.variables{border-top:1px solid #243c55;margin-top:18px;padding-top:12px}.variables h3{margin:0;font-size:.9rem}.variables>p{color:#86a3bd;font-size:.72rem}.variables ul{margin:6px 0;padding-left:14px;list-style:none}.variables>ul{padding-left:0}.variables li{border-bottom:1px solid #172a3e;grid-template-columns:minmax(70px,auto) 1fr auto;gap:10px;padding:5px 0;display:grid}.variables li ul{grid-column:1/-1}.variables li span{overflow-wrap:anywhere}.variables li small{color:#86a3bd}.math-view{border-top:1px solid #243c55;margin-top:18px;padding-top:12px}.math-view h3{margin:0;font-size:.9rem}.math-view>p{color:#86a3bd;font-size:.72rem}.math-view ol{margin:0;padding:0;list-style:none}.math-view button{text-align:left;justify-content:space-between;align-items:baseline;width:100%;margin:6px 0;display:flex}.math-view button[aria-current=true]{border-color:#57e6c1;box-shadow:0 0 0 1px #57e6c155}.math-view button.has-diagnostic{border-color:#9d3d49}.math-diagnostic-range{color:#ffb3ba;background:#9d273644;outline:1px solid #ff6978}.math-view button math{font:1.05rem Georgia,Times New Roman,serif}.math-view button small{color:#86a3bd}.plot-view{border-top:1px solid #243c55;margin-top:18px;padding-top:12px}.plot-view h3{margin:0 0 10px;font-size:.9rem}.plot-view label{color:#86a3bd;font-size:.78rem}.plot-view select{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:6px;margin-left:8px;padding:5px 8px}.plot{margin-top:10px}.plot svg{background:#050c14;border-radius:8px;width:100%;height:auto;display:block}.plot line{stroke:#6f8ca6;stroke-width:1px}.plot polyline{fill:none;stroke:#57e6c1;stroke-width:3px;stroke-linejoin:round}.plot circle{fill:#f5d889;stroke:#07111d;stroke-width:2px}.plot .axis-label{fill:#a9bfd3;font:11px system-ui,sans-serif}.plot table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin-top:10px}.plot caption{text-align:left;color:#86a3bd}.plot th,.plot td{text-align:right;border-bottom:1px solid #172a3e;padding:5px 8px}.plot th:first-child,.plot td:first-child{text-align:left}.scientific-inspectors{border-top:1px solid #243c55;gap:12px;margin-top:18px;padding-top:12px;display:grid}.matrix-inspector{background:#0b2133;border:1px solid #315875;border-radius:10px;min-width:0;padding:12px}.matrix-inspector h3,.matrix-inspector p{margin:0 0 8px}.surface-actions,.matrix-actions{flex-wrap:wrap;gap:6px;display:flex}.surface-view svg{background:#07111d;border:1px solid #243c55;width:100%;min-height:220px;margin:8px 0;display:block}.surface-view polyline{fill:none;stroke:#57e6c1;stroke-width:1.3px;vector-effect:non-scaling-stroke}.matrix-scroll{max-width:100%;max-height:430px;overflow:auto}.matrix-scroll table{border-collapse:collapse;min-width:max-content}.matrix-scroll th,.matrix-scroll td{text-align:right;border:1px solid #243c55;min-width:5.5rem;padding:5px 8px}.matrix-scroll thead th{background:#102337;position:sticky;top:0}.matrix-scroll tbody th{background:#102337;position:sticky;left:0}.experiment-controls{border-top:1px solid #243c55;margin-top:18px;padding-top:12px}.experiment-controls h3{margin:0;font-size:.9rem}.experiment-controls>p{color:#86a3bd;font-size:.72rem}.experiment-controls>div{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.experiment-controls label{color:#86a3bd;gap:3px;font-size:.72rem;display:grid}.experiment-controls input{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:6px;width:110px;padding:6px 8px}.pdf-export{border-top:1px solid #243c55;margin-top:18px;padding-top:12px}.pdf-export h3{margin:0 0 10px;font-size:.9rem}.pdf-export button{margin-right:8px}.history ol{margin:0;padding:12px;list-style:none}.history li{background:#07111d;border-radius:8px;gap:7px;margin-bottom:10px;padding:10px;display:grid}.history li span{color:#57e6c1;text-transform:uppercase;font-size:.72rem}.history code{white-space:pre-wrap}.history small,.history-empty{color:#86a3bd}.history-empty{padding:20px}.worksheet{border-top:1px solid #243c55;margin:12px;padding-top:14px}.worksheet h2{margin:0 0 10px;font-size:.95rem}.worksheet-actions{flex-wrap:wrap;gap:6px;display:flex}.worksheet>ol{margin:12px 0;padding:0;list-style:none}.worksheet>ol>li{background:#07111d;display:block}.region-tools{align-items:center;gap:4px;margin-bottom:8px;display:flex}.region-tools span{margin-right:auto}.region-tools button{padding:3px 8px}.worksheet textarea{resize:vertical;color:#dcecff;background:#0b1827;border:1px solid #29445f;border-radius:6px;width:100%;min-height:90px;padding:8px}.worksheet pre{white-space:pre-wrap;max-height:180px;font-size:.72rem;overflow:auto}.worksheet math{font:1rem Georgia,serif}.worksheet .plot table{font-size:.72rem}.school-portal{background:#0a1725;border:1px solid #29445f;border-radius:10px;margin:18px clamp(12px,3vw,36px)}.school-portal>summary{cursor:pointer;color:#dcecff;padding:14px 18px;font-weight:700}.school-content{padding:0 18px 18px}.school-content h2,.school-content h3,.school-content h4{color:#dcecff}.school-content section{border-top:1px solid #243c55;margin-top:16px;padding-top:12px}.school-content form{flex-wrap:wrap;align-items:end;gap:10px;margin:10px 0;display:flex}.school-content label{color:#9cb4ca;gap:4px;font-size:.8rem;display:grid}.school-content input,.school-content select,.school-content textarea{color:#dcecff;background:#07111d;border:1px solid #29445f;border-radius:6px;min-width:180px;padding:7px 9px}.school-content textarea{min-width:min(460px,75vw);min-height:80px}.school-content ul{padding-left:20px}.school-content li{margin:8px 0}.school-content li button{margin-left:8px}.school-identity{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.school-identity button{margin-left:auto}.school-notice{color:#75e6bd}.school-content pre{white-space:pre-wrap;max-width:100%;overflow:auto}footer{color:#6f8ca6;text-align:center;margin-top:14px;font-size:.8rem}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;margin:-1px;position:absolute;overflow:hidden;width:1px!important;height:1px!important;padding:0!important}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.cm-editor.cm-focused{outline-offset:2px;outline:3px solid #f5d889}:root[data-theme=light]{color:#14263a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef4f8}:root[data-theme=light] body{background:radial-gradient(circle at 80% 0,#d5e8f2 0,#0000 38%),#eef4f8}:root[data-theme=light] header p,:root[data-theme=light] .meta,:root[data-theme=light] .badge,:root[data-theme=light] .split-control,:root[data-theme=light] .font-control{color:#4b667b}:root[data-theme=light] .panel,:root[data-theme=light] .project-bar{background:#ffffffeb;border-color:#b8cad7;box-shadow:0 14px 40px #4964771c}:root[data-theme=light] .settings-panel{background:#ffffffeb;border-color:#b8cad7}:root[data-theme=light] .settings-panel>summary,:root[data-theme=light] .settings-panel label{color:#3f5a70}:root[data-theme=light] .settings-panel input[type=number],:root[data-theme=light] .settings-panel select{color:#14263a;background:#fff;border-color:#9eb5c5}:root[data-theme=light] .command-palette{background:#fff;border-color:#9eb5c5;box-shadow:0 28px 100px #23384955}:root[data-theme=light] .panel-title{border-color:#c8d7e1}:root[data-theme=light] .document-tabs{background:#e7f0f5;border-color:#c8d7e1}:root[data-theme=light] .document-tabs button[aria-selected=true]{color:#075e52;background:#fff}:root[data-theme=light] button{color:#173247;background:#f4f8fa;border-color:#9eb5c5}:root[data-theme=light] .workspace-controls button[aria-pressed=true]{color:#075e52;border-color:#087a68}:root[data-theme=light] button[aria-current=page],:root[data-theme=light] button.run{color:#fff;background:#087a68;border-color:#087a68}:root[data-theme=light] .project-bar input,:root[data-theme=light] .project-bar select,:root[data-theme=light] .font-control input,:root[data-theme=light] .plot-view select,:root[data-theme=light] .experiment-controls input{color:#14263a;background:#fff;border-color:#9eb5c5}:root[data-theme=light] .code-editor .cm-editor{color:#14263a}:root[data-theme=light] .code-editor .cm-gutters{color:#4e687c;background:#edf3f7;border-color:#c8d7e1}:root[data-theme=light] .code-editor .cm-panels{color:#14263a;background:#edf3f7;border-color:#b8cad7}:root[data-theme=light] .code-editor .cm-search input{color:#14263a;background:#fff;border-color:#9eb5c5}:root[data-theme=light] .code-editor .cm-activeLine,:root[data-theme=light] .code-editor .cm-activeLineGutter{background:#dceaf2aa}:root[data-theme=light] .code-editor .cm-ss-keyword{color:#6f2a8f}:root[data-theme=light] .code-editor .cm-ss-type,:root[data-theme=light] .code-editor .cm-ss-unit{color:#006779}:root[data-theme=light] .code-editor .cm-ss-number,:root[data-theme=light] .code-editor .cm-ss-constant{color:#805600}:root[data-theme=light] .code-editor .cm-ss-string{color:#2d6b18}:root[data-theme=light] .code-editor .cm-ss-function{color:#075fa8}:root[data-theme=light] .code-editor .cm-ss-parameter,:root[data-theme=light] .code-editor .cm-ss-variable{color:#14263a}:root[data-theme=light] .language-notice{color:#075e52;border-color:#c8d7e1}:root[data-theme=light] .reference-list,:root[data-theme=light] .debug-panel{background:#edf3f7;border-color:#c8d7e1}:root[data-theme=light] .debug-panel th,:root[data-theme=light] .debug-panel td{border-color:#c8d7e1}:root[data-theme=light] .results pre,:root[data-theme=light] .plot svg,:root[data-theme=light] .history li,:root[data-theme=light] .worksheet>ol>li{background:#edf3f7}:root[data-theme=light] .matrix-inspector,:root[data-theme=light] .surface-view svg{background:#edf3f7;border-color:#b8cad7}:root[data-theme=light] .matrix-scroll th,:root[data-theme=light] .matrix-scroll td{border-color:#b8cad7}:root[data-theme=light] .matrix-scroll thead th,:root[data-theme=light] .matrix-scroll tbody th{background:#dce8ef}:root[data-theme=light] .plot polyline{stroke:#087a68}:root[data-theme=light] .plot circle{fill:#996a00;stroke:#fff}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:1100px){.workspace.mathematics-visible,.workspace.explorer-visible.mathematics-visible{grid-template-columns:minmax(180px,24%) minmax(0,1fr)}.workspace.mathematics-visible .mathematics-panel,.workspace:not(.explorer-visible).mathematics-visible .editor,.history{grid-column:1/-1}.split-control{display:none}}@media (max-width:800px){main{min-width:0;padding:14px}header,nav{flex-wrap:wrap;min-width:0}header>div:not(.mark){min-width:0}.workspace-controls{flex:100%;margin-left:0}.settings-panel{margin-inline:14px}.workspace,.workspace.mathematics-visible,.workspace.explorer-visible,.workspace.explorer-visible.mathematics-visible,.workspace.mode-explore,.workspace.console-right.results-visible,.workspace.console-right.explorer-visible.results-visible{grid-template-columns:minmax(0,1fr)}.workspace .editor,.workspace .mathematics-panel,.workspace .results-panel,.history{grid-column:auto}.panel{min-height:400px}.project-bar{min-height:0}.learning>div{grid-template-columns:1fr}.region-tools{flex-wrap:wrap;min-width:0}.region-tools span{flex:100%;min-width:0}}
