:root{color-scheme:dark;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#d8dee9;background:#11151b;font-synthesis:none;--bg: #11151b;--surface-1: #171c24;--surface-2: #1c222c;--surface-3: #242b36;--border: #313946;--border-subtle: #262d38;--text: #d8dee9;--muted: #8f9aaa;--faint: #697586;--accent: #69a7ff;--green: #4ac99b;--yellow: #e5bd6b;--mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace}*{box-sizing:border-box}html,body{min-width:320px;min-height:100%}body{margin:0;overflow-x:hidden;background:var(--bg);line-height:1.5}button,select,textarea{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button{color:inherit}svg{display:block;width:1em;height:1em;fill:currentColor}.ide-shell{min-height:100vh;display:grid;grid-template-rows:42px minmax(0,1fr)}.titlebar{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;border-bottom:1px solid var(--border);background:#151a21;box-shadow:0 1px 10px #0000002e}.product-title{display:flex;align-items:center;gap:9px;min-width:0;padding-inline:14px;color:#f0f4fa;font-size:14px;font-weight:650;letter-spacing:.01em;white-space:nowrap}.titlebar-nav{display:flex;justify-content:flex-end;gap:2px;min-width:0;padding-right:8px}.titlebar-nav details{position:relative}.titlebar-nav summary{list-style:none;padding:6px 10px;border-radius:5px;color:var(--muted);font-size:13px;cursor:pointer}.titlebar-nav summary::-webkit-details-marker{display:none}.titlebar-nav summary:hover,.titlebar-nav details[open] summary{color:var(--text);background:var(--surface-3)}.docs-popover{position:absolute;top:35px;right:0;left:auto;width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 82px);padding:22px 24px;overflow:auto;border:1px solid #3b4655;border-radius:8px;color:#cfd7e3;background:#1b212a;box-shadow:0 16px 48px #00000073;font-size:14px}.docs-popover-right{right:0;left:auto}.docs-popover h2{margin:0 0 16px;color:#f1f5fa;font-size:18px}.docs-popover h3{margin:20px 0 8px;font-size:14px}.docs-popover p,.docs-popover ul,.docs-popover ol,.docs-popover dl{margin-block:10px}.docs-popover dd{margin:4px 0 12px 18px;color:var(--muted)}.docs-popover table{width:100%;border-collapse:collapse}.docs-popover th,.docs-popover td{padding:7px 9px;border:1px solid var(--border);text-align:left}.docs-popover th{color:#e6ebf2;background:var(--surface-3)}.workbench{display:grid;grid-template-columns:minmax(190px,15vw) minmax(420px,1fr) minmax(250px,21vw);grid-template-rows:minmax(390px,calc(100vh - 306px)) minmax(220px,1fr);min-height:0;background:var(--bg)}.explorer-pane,.inspector-pane,.editor-pane,.bottom-panel{min-width:0;min-height:0;border-right:1px solid var(--border);background:var(--surface-1)}.explorer-pane{position:relative;grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column}.pane-heading{display:flex;align-items:center;min-height:38px;padding-inline:15px;border-bottom:1px solid var(--border-subtle);color:#aeb8c5;font-size:12px;font-weight:700;letter-spacing:.09em}.explorer-section,.example-summary{padding:12px 12px 14px;border-bottom:1px solid var(--border-subtle)}.explorer-section h2,.example-summary h2,.inspector-section h2{margin:0 0 11px;color:#c7cfda;font-size:12px;font-weight:750;letter-spacing:.07em}.explorer-section label{display:block;margin-bottom:6px;color:var(--muted);font-size:13px}select{width:100%;min-height:36px;padding:5px 28px 5px 9px;border:1px solid var(--border);border-radius:4px;color:#e0e6ee;background:var(--surface-2);font-size:13px}.example-summary{flex:1;overflow:auto}.example-summary p{margin:0;color:#9ca8b8;font-size:13px;line-height:1.7}.editor-pane{grid-column:2;grid-row:1;display:grid;grid-template-rows:38px minmax(0,1fr) 48px;background:#151a21}.editor-tabbar{display:flex;align-items:stretch;min-width:0;overflow:hidden;border-bottom:1px solid var(--border);background:#13171d}.editor-tabs{display:flex;min-width:0;overflow:hidden}.editor-tab{position:relative;display:flex;align-items:center;gap:8px;flex:0 0 auto;padding-inline:13px;border:0;border-right:1px solid var(--border);border-radius:0;color:#aeb8c5;background:#171c23;font-size:13px}.editor-file-tab{min-width:88px;color:#aeb8c5}.editor-file-tab:hover{color:#e2e8f0;background:#1d242d}.editor-file-tab[aria-selected=true]{color:#e8edf4;background:#1b222b}.editor-file-tab[aria-selected=true]:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:var(--accent)}.js-badge{color:var(--yellow);font-family:var(--mono);font-size:11px;font-weight:800}.stage-tabs{display:flex;min-width:0;overflow-x:auto;scrollbar-width:thin}.stage-tabs button{position:relative;flex:0 0 54px;min-width:54px;padding:0 13px;border:0;border-right:1px solid var(--border);border-radius:0;color:#8995a5;background:#141920;font-family:var(--mono);font-size:13px}.stage-tabs button:hover{color:#d8e0ea;background:#1d242d}.stage-tabs button[aria-selected=true]{color:#e8edf4;background:#1b222b}.stage-tabs button[aria-selected=true]:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:var(--accent)}.editor-actions{display:flex;align-items:center;gap:8px;min-width:0;margin-left:auto;padding-inline:12px;color:var(--faint);font-size:12px;white-space:nowrap}#current-level{display:inline-grid;place-items:center;min-width:32px;height:24px;padding-inline:7px;border:1px solid #346aa8;border-radius:4px;color:#bad7ff;background:#172b44;font-family:var(--mono);font-size:12px}#level-description{color:var(--muted)}code,pre,textarea{font-family:var(--mono)}code,kbd{padding:.1em .35em;border:1px solid #39424f;border-radius:3px;color:#c8d1dc;background:#232a34}.source-editor{display:grid;min-height:0;overflow:auto;border:0;background:#151a21;font-size:14px;line-height:1.65}.source-editor:focus-within{box-shadow:inset 2px 0 var(--accent)}.source-editor textarea{caret-color:#f1f5f9}.source-editor.is-readonly textarea{cursor:default;caret-color:transparent}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:7px 10px 7px 14px;border-top:1px solid var(--border);background:#181e26}.shortcut{color:var(--muted);font-size:12px;white-space:nowrap}.shortcut kbd{display:inline-grid;place-items:center;min-width:21px;margin-right:3px;padding:1px 4px;font-size:11px}.toolbar-actions{display:flex;gap:7px}button{border:1px solid transparent;border-radius:4px;cursor:pointer}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:4px 12px;font-size:12px;font-weight:650}.primary-button{border-color:#397fcb;color:#f4f8fd;background:#286dbb}.primary-button:hover:not(:disabled){background:#3180d5}.run-button{border-color:#328b6e;background:#20775e}.run-button:hover:not(:disabled){background:#258c6e}.primary-button svg{width:13px;height:13px}.secondary-button{border-color:var(--border);color:#bdc6d2;background:#222934}.secondary-button:hover{color:#e5ebf2;background:#2a323e}button:disabled{cursor:not-allowed;filter:saturate(.5);opacity:.42}.inspector-pane{grid-column:3;grid-row:1;overflow:auto;border-right:0}.inspector-section{padding:13px 14px 15px;border-bottom:1px solid var(--border-subtle)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.section-heading label{color:#cbd4df;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.section-heading span{color:var(--faint);font-size:11px}textarea{width:100%;min-height:128px;padding:10px 11px;resize:vertical;border:1px solid var(--border);border-radius:4px;color:#cdd6e1;background:#12171d;font-size:13px;line-height:1.65}textarea:focus{border-color:#497aad;outline:2px solid rgb(105 167 255 / 15%)}.contract-section dl{display:grid;gap:0;margin:0;border:1px solid var(--border-subtle);border-radius:5px;overflow:hidden}.contract-section dl>div{display:grid;grid-template-columns:45% 55%;min-width:0;border-bottom:1px solid var(--border-subtle)}.contract-section dl>div:last-child{border-bottom:0}.contract-section dt,.contract-section dd{min-width:0;margin:0;padding:9px;font-size:12px;overflow-wrap:anywhere}.contract-section dt{color:var(--muted);background:#1a2028}.contract-section dd{border-left:1px solid var(--border-subtle);color:#cbd4de;background:#161b22;font-family:var(--mono)}.contract-ok{color:var(--green)}.contract-ok:before{content:"✓";margin-right:5px}.runtime-note{display:flex;gap:9px;margin:13px;padding:10px;border:1px solid #2b4058;border-radius:5px;color:#92a0b1;background:#172331;font-size:12px}.runtime-note p{margin:0}.info-icon{display:inline-grid;flex:0 0 18px;place-items:center;width:18px;height:18px;border:1px solid #4e79a8;border-radius:50%;color:#91bdf0;font-family:serif;font-size:12px;font-weight:700}.bottom-panel{grid-row:2;display:grid;grid-template-rows:34px minmax(0,1fr);border-top:1px solid var(--border)}.console-panel{grid-column:2 / 4;border-right:0;background:#11161c}.panel-tabbar{display:flex;align-items:center;justify-content:space-between;min-width:0;padding-inline:12px 8px;border-bottom:1px solid var(--border-subtle);background:#171c23}.panel-tab{align-self:stretch;display:flex;align-items:center;margin:0;color:#aeb7c3;font-size:12px;font-weight:750;letter-spacing:.07em}.panel-tab.active{border-bottom:1px solid var(--accent);color:#e0e6ee}.icon-text-button{display:inline-flex;align-items:center;gap:5px;padding:4px 6px;color:var(--muted);background:transparent;font-size:12px}.icon-text-button:hover{color:var(--text);background:var(--surface-3)}.icon-text-button svg{width:13px;height:13px}#console-output{min-height:0;margin:0;padding:12px 14px;overflow:auto;color:#b9c5d2;background:#11161c;font-size:13px;line-height:1.65;white-space:pre-wrap}#console-output:before{content:"> ";color:var(--green)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}:focus-visible{outline:2px solid #7bb5ff;outline-offset:2px}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#6f7d8f;font-style:italic}.token.punctuation{color:#aeb8c6}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#80b7ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a7d38f}.token.operator,.token.entity,.token.url,.token.variable{color:#d9b779}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#d2a8ff}.token.keyword{color:#ff8b9a}.token.regex,.token.important{color:#6ed5ba}@media(max-width:900px){.workbench{grid-template-columns:minmax(0,1fr) minmax(230px,36vw);grid-template-rows:minmax(430px,58vh) minmax(210px,30vh)}.explorer-pane{display:none}.editor-pane{grid-column:1}.inspector-pane{grid-column:2}.console-panel{grid-column:1 / 3}}@media(max-width:680px){.ide-shell{display:block}.titlebar{position:sticky;top:0;grid-template-columns:1fr auto;height:42px}.titlebar-nav{justify-content:flex-end}.docs-popover,.docs-popover-right{position:fixed;top:44px;right:8px;left:8px;width:auto}.workbench{display:flex;flex-direction:column}.explorer-pane{display:flex;min-height:210px;border-right:0}.example-summary{max-height:130px}.editor-pane{min-height:520px;border-right:0}.inspector-pane{min-height:390px;border-top:1px solid var(--border)}.bottom-panel{min-height:240px;border-right:0}.editor-actions #level-description,.shortcut{display:none}.editor-toolbar{justify-content:flex-end}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}
