:root{color:#0b2144;font-synthesis:none;text-rendering:optimizelegibility;--paper:#fbf8f1;--paper-strong:#fffdf8;--ink:#0b2144;--ink-muted:#607086;--line:#d8d1c5;--orange:#f04b23;--orange-dark:#d93b18;--orange-soft:#fff0e7;--teal:#159b83;--teal-soft:#e7f6f2;--yellow:#ffc538;--blue-soft:#e4f2f8;--shadow:0 8px 22px #0b21441a;background:#fbf8f1;font-family:Avenir Next,Nunito Sans,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow:hidden}button,textarea,input{font:inherit}button{color:inherit}button:focus-visible,textarea:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #159b836b}button:disabled{cursor:not-allowed;opacity:.48}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:var(--paper);grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);height:100vh;min-height:720px;display:grid}.app-header{z-index:5;border-bottom:1px solid var(--line);background:#fbf8f1f7;grid-template-columns:minmax(280px,1fr) auto minmax(340px,1fr);align-items:center;min-height:108px;padding:18px 28px;display:grid;position:relative}.brand-lockup{align-items:center;gap:13px;min-width:0;display:flex}.brand-robot{object-fit:contain;filter:drop-shadow(0 3px 3px #0b214426);width:62px;height:62px}.brand-lockup h1,.brand-lockup p{margin:0}.brand-lockup h1{letter-spacing:-.035em;font-size:clamp(1.75rem,2.25vw,2.35rem);font-weight:850;line-height:1}.brand-lockup p{letter-spacing:-.01em;margin-top:6px;font-size:.98rem;font-weight:650}.workspace-mode-switch{border:1px solid var(--line);background:var(--paper-strong);border-radius:999px;gap:3px;margin-top:8px;padding:3px;display:inline-flex}.workspace-mode-switch button{min-height:26px;color:var(--ink-muted);letter-spacing:.025em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:2px 10px;font-size:.68rem;font-weight:820}.workspace-mode-switch button.active{color:#fff;background:var(--teal)}.language-switch{border:1.5px solid var(--ink);background:var(--paper-strong);border-radius:11px;grid-template-columns:repeat(2,minmax(120px,1fr));width:334px;padding:4px;display:grid;box-shadow:0 2px #0b21440f}.language-switch button{min-height:50px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:9px;padding:0 20px;font-size:.94rem;font-weight:800;transition:background .18s,color .18s,transform .18s;display:flex}.language-switch button:hover:not(.active){background:#0b21440d}.language-switch button.active{color:#fff;background:var(--orange);box-shadow:0 4px 10px #f04b2333}.execution-controls{justify-content:flex-end;align-items:center;gap:10px;display:flex}.execution-buttons{gap:10px;display:flex}.playback-speed-control{border:1.5px solid var(--ink);background:var(--paper-strong);cursor:pointer;border-radius:8px;flex:0 0 145px;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;gap:1px 8px;width:145px;min-height:52px;padding:6px 10px 5px;display:grid;box-shadow:0 2px #0b21440f}.playback-speed-control>span,.playback-speed-control output{align-self:center;font-size:.66rem;font-weight:820;line-height:1.1}.playback-speed-control>span{color:var(--ink-muted);letter-spacing:.035em;text-transform:uppercase}.playback-speed-control output{min-width:31px;color:var(--ink);text-align:right}.playback-speed-control input{width:100%;height:16px;accent-color:var(--orange);cursor:pointer;grid-column:1/-1;margin:0;padding:0}.playback-speed-control:focus-within{border-color:var(--teal)}.control{border:1.5px solid var(--ink);background:var(--paper-strong);letter-spacing:.005em;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:105px;min-height:52px;padding:0 18px;font-size:.9rem;font-weight:800;transition:transform .16s,box-shadow .16s,background .16s;display:inline-flex;box-shadow:0 2px #0b21440f}.control:hover:not(:disabled){box-shadow:var(--shadow);transform:translateY(-1px)}.control:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.control-primary{color:#fff;border-color:var(--orange-dark);background:var(--orange)}.workspace{grid-template-columns:minmax(238px,22.5%) minmax(390px,35%) minmax(470px,1fr);min-height:0;display:grid;overflow:hidden}.lesson-rail,.code-studio,.world-panel{min-width:0;min-height:0}.lesson-rail{border-right:1px solid var(--line);background:#fffdf875;flex-direction:column;display:flex}.lesson-list-wrap{min-height:0;padding:24px 18px 18px;overflow:auto}.lesson-list-wrap h2,.panel-heading h2,.status-bar h2{letter-spacing:-.025em;margin:0;font-size:1.18rem;font-weight:820}.lesson-list{gap:7px;margin:18px 0 0;padding:0;list-style:none;display:grid}.lesson-row{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;width:100%;min-height:72px;padding:10px 11px;transition:background .16s,transform .16s;display:grid;position:relative}.lesson-row:hover{background:#0b21440b}.lesson-row.selected{background:var(--orange-soft)}.lesson-row.selected:before{background:var(--orange);content:"";border-radius:0 4px 4px 0;width:5px;position:absolute;top:8px;bottom:8px;left:-18px}.lesson-index{width:38px;height:38px;color:var(--ink-muted);background:var(--paper);border:1.5px solid #b8b4ac;border-radius:50%;justify-content:center;align-items:center;font-size:.94rem;font-weight:800;display:inline-flex}.lesson-row.selected .lesson-index{color:#fff;border-color:var(--orange);background:var(--orange)}.lesson-index.completed{color:#fff;border-color:var(--teal);background:var(--teal)}.lesson-row strong,.lesson-row small{display:block}.lesson-row strong{font-size:.97rem;font-weight:800;line-height:1.2}.lesson-row small{color:var(--ink-muted);margin-top:4px;font-size:.72rem;font-weight:650;line-height:1.25}.objective-block{border-top:1px solid var(--line);padding:20px 24px 24px}.objective-block h3{color:var(--orange);letter-spacing:.015em;margin:0;font-size:.9rem;font-weight:850}.objective-block>p{margin:9px 0 15px;font-size:.91rem;font-weight:560;line-height:1.5}.hint-copy{border-left:3px solid var(--yellow);background:#ffc5381c;grid-template-columns:20px 1fr;gap:8px;margin-bottom:10px;padding:10px 12px;font-size:.8rem;font-weight:650;line-height:1.4;display:grid}.hint-button{color:var(--teal);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:7px 0;font-size:.78rem;font-weight:800;display:inline-flex}.stanford-worlds{flex-direction:column;flex:auto;padding-bottom:12px;display:flex}.stanford-worlds>h2{order:-2}.stanford-world-list{order:0;margin-top:13px}.stanford-world-picker{z-index:12;border-bottom:1px solid var(--line);background:var(--paper);order:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:5px 10px;margin-top:4px;padding:9px 0 10px;display:grid;position:sticky;top:0;box-shadow:0 5px 9px #0b21440b}.stanford-world-picker:before{background:var(--paper);content:"";height:24px;position:absolute;bottom:100%;left:0;right:0}.stanford-world-picker label{color:var(--ink-muted);grid-column:1/-1;font-size:.7rem;font-weight:800}.stanford-world-picker select{width:100%;min-width:0;min-height:39px;color:var(--ink);background:var(--paper-strong);font:inherit;border:1px solid #aaa59d;border-radius:8px;padding:7px 30px 7px 9px;font-size:.78rem;font-weight:750}.stanford-world-picker select:focus-visible{outline-offset:2px;border-color:var(--teal);outline:3px solid #159b833d}.stanford-world-picker small{color:var(--ink-muted);white-space:nowrap;padding-bottom:10px;font-size:.65rem;font-weight:750}.stanford-world-row{min-height:82px}.stanford-world-copy{min-width:0}.stanford-world-tag{color:#0b6b5d;background:var(--teal-soft);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;margin-top:6px;padding:2px 7px;font-size:.61rem;font-weight:850;display:inline-flex}.stanford-tools{border-bottom:1px solid var(--line);border-top:1px solid var(--line);order:-1;margin-top:10px;margin-bottom:2px;padding:12px 0}.stanford-tools h3,.stanford-world-summary h4{letter-spacing:.015em;margin:0;font-size:.8rem;font-weight:850}.stanford-import-help{color:var(--ink-muted);margin:6px 0 10px;font-size:.75rem;line-height:1.4}.stanford-import-actions{flex-wrap:wrap;align-items:center;gap:2px 11px;display:flex}.stanford-import-button,.stanford-export-button{padding:5px 0;font-size:.7rem}.stanford-export-button{color:var(--orange-dark)}.stanford-edit-button{color:#fff;background:var(--teal);border:1px solid #0c7f6d;border-radius:8px;flex:1 0 100%;justify-content:center;min-height:36px;margin-top:4px;padding:7px 12px;transition:box-shadow .16s,transform .16s;box-shadow:0 3px 8px #159b8329}.stanford-edit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 16px #159b8338}.stanford-import-message{border-left:3px solid var(--teal);color:var(--ink);background:var(--teal-soft);overflow-wrap:anywhere;margin:8px 0 0;padding:8px 10px;font-size:.7rem;font-weight:650;line-height:1.35}.stanford-world-summary>p{margin-bottom:11px}.stanford-world-stats{gap:5px;margin:0 0 14px;display:grid}.stanford-world-stats>div{justify-content:space-between;gap:10px;font-size:.7rem;display:flex}.stanford-world-stats dt{color:var(--ink-muted);font-weight:700}.stanford-world-stats dd{text-align:right;margin:0;font-weight:800}.stanford-compatibility-heading{border-top:1px solid var(--line);padding-top:12px}.stanford-compatibility-list{gap:6px;margin:9px 0 0;padding:0;list-style:none;display:grid}.stanford-compatibility-list li{color:var(--ink-muted);align-items:center;gap:7px;font-size:.68rem;font-weight:700;display:flex}.stanford-compatibility-list svg{color:var(--teal);flex:none}.code-studio{border-right:1px solid var(--line);background:var(--paper-strong);grid-template-rows:64px minmax(0,1fr) auto;display:grid}.panel-heading{border-bottom:1px solid var(--line);align-items:center;min-height:64px;padding:0 24px;display:flex}.code-heading{gap:10px;font-size:.95rem;font-weight:800}.code-heading>small{color:var(--ink-muted);letter-spacing:.04em;text-transform:uppercase;margin-left:auto;font-size:.69rem;font-weight:750}.command-guide-button{color:#0b6b5d;background:var(--teal-soft);cursor:pointer;white-space:nowrap;border:1px solid #b9d9d1;border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:5px 8px;font-size:.72rem;font-weight:820;transition:border-color .16s,box-shadow .16s,transform .16s;display:inline-flex}.command-guide-button:hover{border-color:var(--teal);transform:translateY(-1px);box-shadow:0 5px 14px #159b8321}.command-guide-button kbd{background:#ffffffb8;border:1px solid #0b6b5d38;border-radius:4px;padding:1px 5px;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.59rem;font-weight:800}.command-cheatsheet-dialog{width:min(920px,100vw - 40px);max-width:none;height:min(88dvh,880px);max-height:none;color:var(--ink);background:var(--paper);border:1px solid #0b214447;border-radius:18px;padding:0;overflow:hidden;box-shadow:0 28px 80px #05142a57}.command-cheatsheet-dialog[open]{grid-template-rows:auto auto auto minmax(0,1fr) auto;display:grid}.command-cheatsheet-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05142aa1}.cheatsheet-header{border-bottom:1px solid var(--line);background:var(--paper-strong);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;padding:22px 24px 18px;display:grid}.cheatsheet-header h2,.cheatsheet-header p{margin:0}.cheatsheet-header h2{letter-spacing:-.035em;margin-top:3px;font-size:clamp(1.42rem,3vw,1.9rem);font-weight:860}.cheatsheet-header p{color:var(--ink-muted);margin-top:7px;font-size:.84rem;font-weight:600;line-height:1.4}.cheatsheet-eyebrow{color:var(--orange-dark);letter-spacing:.085em;text-transform:uppercase;font-size:.66rem;font-weight:850}.cheatsheet-close{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:8px;align-items:center;gap:6px;min-height:38px;padding:7px 10px;font-size:.74rem;font-weight:800;display:inline-flex}.cheatsheet-toolbar{border-bottom:1px solid var(--line);background:#f6f2e9;grid-template-columns:auto minmax(240px,1fr);align-items:center;gap:14px;padding:14px 24px;display:grid}.cheatsheet-language-switch{border:1px solid var(--line);background:var(--paper-strong);border-radius:9px;grid-template-columns:repeat(2,1fr);padding:3px;display:inline-grid}.cheatsheet-language-switch button{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:5px 14px;font-size:.75rem;font-weight:820;display:inline-flex}.cheatsheet-language-switch button.active{color:#fff;background:var(--orange)}.cheatsheet-search{min-height:46px;color:var(--ink-muted);background:var(--paper-strong);border:1px solid #b9b5ac;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:0 13px;display:grid}.cheatsheet-search:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #159b831f}.cheatsheet-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:.82rem;font-weight:620}.cheatsheet-search input:focus-visible{outline:0}.cheatsheet-result-line{border-bottom:1px solid var(--line);color:var(--ink-muted);background:var(--paper);justify-content:space-between;gap:12px;padding:9px 24px;font-size:.7rem;font-weight:700;display:flex}.cheatsheet-result-line strong{color:var(--ink)}.cheatsheet-scroll{overscroll-behavior:contain;min-height:0;padding:22px 24px 32px;overflow:auto}.cheatsheet-section{content-visibility:auto;contain-intrinsic-size:0 320px}.cheatsheet-section+.cheatsheet-section{border-top:1px solid var(--line);margin-top:26px;padding-top:26px}.cheatsheet-section-heading{justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:12px;display:flex}.cheatsheet-section-heading h3,.cheatsheet-section-heading p{margin:0}.cheatsheet-section-heading h3{letter-spacing:-.015em;font-size:1rem;font-weight:850}.cheatsheet-section-heading p{max-width:58%;color:var(--ink-muted);text-align:right;font-size:.7rem;font-weight:600;line-height:1.4}.cheatsheet-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.cheatsheet-entry{background:var(--paper-strong);border:1px solid #ddd7cc;border-radius:10px;min-width:0;padding:12px 13px;box-shadow:0 2px #0b214406}.cheatsheet-entry.wide{grid-column:1/-1}.cheatsheet-entry dt{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.cheatsheet-entry code{color:#76280f;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.74rem;font-weight:680;line-height:1.55}.cheatsheet-entry dt>span{color:#0b6b5d;background:var(--teal-soft);letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;border-radius:999px;flex:none;padding:2px 6px;font-size:.54rem;font-weight:850;line-height:1.5}.cheatsheet-entry dd{margin:8px 0 0}.cheatsheet-entry dd strong,.cheatsheet-entry dd small{display:block}.cheatsheet-entry dd strong{font-size:.75rem;font-weight:760;line-height:1.35}.cheatsheet-entry dd small{color:var(--ink-muted);margin-top:4px;font-size:.66rem;font-weight:600;line-height:1.4}.cheatsheet-empty{text-align:center;place-items:center;min-height:270px;padding:30px;display:grid}.cheatsheet-empty svg{color:var(--teal)}.cheatsheet-empty h3,.cheatsheet-empty p{margin:0}.cheatsheet-empty h3{margin-top:13px;font-size:1.05rem}.cheatsheet-empty p{max-width:420px;color:var(--ink-muted);margin-top:7px;font-size:.78rem;line-height:1.5}.cheatsheet-empty button{border:1px solid var(--teal);color:#0b6b5d;background:var(--teal-soft);cursor:pointer;border-radius:8px;min-height:39px;margin-top:16px;padding:7px 13px;font-size:.75rem;font-weight:800}.cheatsheet-footer{border-top:1px solid var(--line);color:var(--ink-muted);background:#f6f2e9;padding:11px 24px 13px;font-size:.65rem;font-weight:600;line-height:1.4}.cheatsheet-footer strong{color:var(--ink)}.editor-frame{background:#fffefa;grid-template-columns:56px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.line-gutter{color:#9a9b9b;text-align:right;-webkit-user-select:none;user-select:none;background:#fcfaf5;border-right:1px solid #e7e1d7;padding-top:20px;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;line-height:27px;overflow:hidden}.line-gutter span{height:27px;padding-right:14px;display:block}.line-gutter span.active{color:var(--teal);font-weight:800}.editor-input-wrap{min-width:0;min-height:0;position:relative;overflow:hidden}.editor-input-wrap textarea{z-index:1;resize:none;width:100%;height:100%;min-height:270px;color:var(--ink);caret-color:var(--orange);tab-size:4;white-space:pre;background:0 0;border:0;outline:0;padding:20px 22px;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(.78rem,1.05vw,.96rem);font-weight:530;line-height:27px;position:relative;overflow:auto}.active-code-line{z-index:0;background:var(--blue-soft);height:27px;transition:top .12s;position:absolute;left:0;right:0;box-shadow:inset 3px 0 #79b7cf}.diagnostic{color:#812b16;background:#fff2ec;border-top:1px solid #f0c0ae;gap:3px;padding:12px 18px;font-size:.78rem;line-height:1.35;display:grid}.diagnostic strong{letter-spacing:.03em;text-transform:uppercase;font-size:.73rem}.diagnostic small{color:#9e513d}.world-panel{background:var(--paper);grid-template-rows:64px minmax(0,1fr);display:grid}.world-heading{justify-content:space-between;gap:18px}.world-heading>div:first-child{align-items:baseline;gap:12px;display:flex}.world-heading span{color:var(--ink-muted);font-size:.73rem;font-weight:700}.inventory{border:1px solid var(--line);background:var(--paper-strong);border-radius:999px;align-items:center;gap:5px;min-width:52px;padding:4px 9px 4px 4px;font-size:.8rem;font-weight:850;display:inline-flex}.inventory img{object-fit:contain;width:25px;height:25px}.world-stage{place-items:center;min-height:0;padding:clamp(14px,2.2vw,30px);display:grid;overflow:hidden;container-type:size}.world-grid{filter:drop-shadow(0 8px 12px #0b21441c);width:max-content;max-width:100%;height:max-content;max-height:100%;display:grid}.grid-axis{color:var(--ink);filter:none;place-items:center;font-size:clamp(.62rem,.95vw,.82rem);font-weight:820;display:grid}.grid-axis-col{align-items:end;padding-bottom:5px}.grid-axis-row{justify-items:end;padding-right:7px}.world-cell{background-color:#58758c;background-image:url(/assets/world-tile.png);background-size:cover;border:1px solid #183b55;place-items:center;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.corner-paint{z-index:1;opacity:.92;border:2px solid #ffffffb8;border-radius:16%;position:absolute;inset:7%;box-shadow:0 2px 5px #0b21443d}.edge-wall{z-index:9;pointer-events:none;background:#07172e;display:block;position:absolute;box-shadow:0 0 0 1px #ffffff4d,0 2px 4px #07172e59}.wall-north,.wall-south{height:clamp(3px,.42vw,6px);left:-1px;right:-1px}.wall-north{top:0}.wall-south{bottom:0}.wall-east,.wall-west{width:clamp(3px,.42vw,6px);top:-1px;bottom:-1px}.wall-east{right:0}.wall-west{left:0}.world-object,.star-stack{z-index:2;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;display:block;position:absolute}.world-object.robot{z-index:5;filter:drop-shadow(0 3px 2px #0b214447);width:150%;height:150%}.direction-indicator{z-index:7;aspect-ratio:1;border:1.5px solid var(--paper-strong);color:#fff;background:var(--orange);transform-origin:50%;border-radius:50%;place-items:center;width:31%;transition:transform .22s;display:grid;position:absolute;top:4%;right:4%;box-shadow:0 2px 4px #0b21444d}.direction-indicator svg{fill:currentColor;width:67%;height:67%;overflow:visible}.world-object.flag{z-index:1;width:140%;height:140%;bottom:-5%;right:-4%}.star-stack{z-index:3;width:122%;height:122%}.world-object.star{filter:drop-shadow(0 3px 2px #0b21443b);width:100%;height:100%;inset:0}.world-object.obstacle{z-index:4;filter:drop-shadow(0 3px 2px #0b214440);width:94%;height:94%}.object-count{z-index:3;color:#fff;background:var(--ink);white-space:nowrap;border:1.5px solid #fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 2px;font-size:clamp(.5rem,1.4vw,.58rem);font-weight:850;line-height:1;display:grid;position:absolute;bottom:7%;right:8%}.status-bar{border-top:1px solid var(--line);background:#fffdf8d1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 24px;min-height:92px;padding:13px 30px 11px;display:grid}.status-bar h2{border-right:1px solid var(--line);padding-right:22px}.check-list{align-items:center;gap:clamp(16px,3vw,36px);min-width:0;display:flex}.check-item{min-width:0;color:var(--ink-muted);align-items:center;gap:9px;font-size:.82rem;font-weight:720;display:flex}.check-state{color:#fff;border:1.5px solid #b7bbb8;border-radius:50%;flex:none;justify-content:center;align-items:center;width:29px;height:29px;display:inline-flex}.check-item.passed{color:var(--ink)}.check-item.passed .check-state{border-color:var(--teal);background:var(--teal)}.run-status{white-space:nowrap;justify-content:flex-end;align-items:center;gap:9px;min-width:94px;font-size:.84rem;font-weight:820;display:flex}.run-status>span{background:var(--teal);border-radius:50%;width:11px;height:11px}.run-status.running>span{background:var(--yellow);animation:1.1s ease-in-out infinite status-pulse;box-shadow:0 0 0 5px #ffc53829}.run-status.success>span{background:var(--teal);box-shadow:0 0 0 5px var(--teal-soft)}.run-status.error>span{background:var(--orange)}.stanford-attribution{border-top:1px solid var(--line);color:var(--ink-muted);text-align:center;grid-column:1/-1;margin:0;padding-top:9px;font-size:.72rem;font-weight:620;line-height:1.45}.stanford-attribution strong{color:var(--ink);font-weight:820}.stanford-attribution a{color:#0b6b5d;text-underline-offset:2px;font-weight:760;text-decoration-thickness:1px}.stanford-attribution a:hover{color:var(--orange-dark)}.stanford-attribution a:focus-visible{outline-offset:2px;border-radius:2px;outline:3px solid #159b836b}.world-editor-dialog{width:min(1180px,100vw - 24px);max-width:none;height:min(92dvh,820px);max-height:none;color:var(--ink);background:var(--paper);border:1px solid #0b2144b8;border-radius:15px;padding:0;overflow:hidden;box-shadow:0 30px 90px #05142a66}.world-editor-dialog[open]{display:block}.world-editor-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05142aa3}.world-editor{grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;margin:0;display:grid}.world-editor-toolbar{border-bottom:1px solid var(--line);background:var(--paper-strong);grid-template-columns:auto minmax(170px,280px) minmax(0,1fr);align-items:center;gap:18px;min-height:72px;padding:12px 18px 12px 24px;display:grid}.world-editor-toolbar h2{letter-spacing:-.035em;white-space:nowrap;margin:0;font-size:1.38rem;font-weight:860}.world-editor-name,.world-editor-field input[type=number],.world-editor-color-control select{min-width:0;min-height:39px;color:var(--ink);background:var(--paper-strong);border:1px solid #b9b5ac;border-radius:8px;font-size:.76rem;font-weight:720}.world-editor-name{width:100%;padding:7px 10px;font-size:.82rem;font-weight:780}.world-editor-name:focus,.world-editor-field input[type=number]:focus,.world-editor-color-control select:focus{border-color:var(--teal);outline:0;box-shadow:0 0 0 3px #159b8321}.world-editor-actions{justify-content:flex-end;gap:8px;min-width:0;display:flex}.world-editor-toolbar-button{border:1px solid var(--line);min-height:42px;color:var(--ink);background:var(--paper-strong);white-space:nowrap;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;font-size:.73rem;font-weight:820;transition:box-shadow .15s,transform .15s;display:inline-flex;box-shadow:0 2px #0b214409}.world-editor-toolbar-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #0b21441f}.world-editor-toolbar-button.primary{border-color:var(--orange-dark);color:#fff;background:var(--orange);padding-inline:16px;box-shadow:0 4px 10px #f04b232e}.world-editor-body{grid-template-columns:minmax(300px,350px) minmax(0,1fr);min-height:0;display:grid}.world-editor-inspector{border-right:1px solid var(--line);overscroll-behavior:contain;background:#fffdf8c7;min-width:0;padding:17px 20px 24px;overflow:auto}.world-editor-help{color:var(--ink-muted);margin:0 0 14px;font-size:.76rem;font-weight:650;line-height:1.4}.world-editor-section{padding:0 0 15px}.world-editor-section+.world-editor-section{border-top:1px solid var(--line);padding-top:15px}.world-editor-section:last-child{padding-bottom:0}.world-editor-section h3{letter-spacing:-.015em;margin:0 0 10px;font-size:.88rem;font-weight:850}.world-editor-section h3 span{color:var(--ink-muted);letter-spacing:0;font-size:.68rem;font-weight:720}.world-editor-field{grid-template-columns:minmax(112px,1fr) minmax(92px,1fr);align-items:center;gap:10px;margin-top:8px;display:grid}.world-editor-field>label,.world-editor-direction-fieldset legend,.world-editor-walls-fieldset legend{color:var(--ink);font-size:.72rem;font-weight:760;line-height:1.25}.world-editor-field input[type=number]{width:100%;padding:6px 7px 6px 10px}.world-editor-count-field{grid-template-columns:minmax(70px,.55fr) minmax(175px,1.45fr)}.world-editor-count-controls{grid-template-columns:minmax(70px,.78fr) minmax(94px,1fr);gap:7px;min-width:0;display:grid}.world-editor-infinity-toggle{background:var(--paper-strong);cursor:pointer;white-space:nowrap;border:1px solid #b9b5ac;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:39px;padding:5px 8px;font-size:.65rem;font-weight:790;display:inline-flex}.world-editor-infinity-toggle:has(input:checked){border-color:var(--teal);color:#0b6b5d;background:var(--teal-soft)}.world-editor-infinity-toggle input{width:15px;height:15px;accent-color:var(--teal);margin:0}.world-editor-infinity-toggle span{font-size:.9rem;line-height:1}.world-editor-direction-fieldset,.world-editor-walls-fieldset{border:0;margin:12px 0 0;padding:0}.world-editor-direction-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px;display:grid}.world-editor-direction-options button{background:var(--paper-strong);cursor:pointer;border:1px solid #b9b5ac;border-radius:7px;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:37px;padding:5px;font-size:.68rem;font-weight:820;display:inline-flex}.world-editor-direction-options button.active{border-color:var(--teal);color:#fff;background:var(--teal)}.world-editor-direction-arrow{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;transition:transform .16s}.world-editor-obstacle-note{border-left:3px solid var(--orange);color:#812b16;background:var(--orange-soft);margin:9px 0;padding:8px 10px;font-size:.67rem;font-weight:680;line-height:1.4}.world-editor-color-control{grid-template-columns:31px minmax(0,1fr);align-items:center;gap:6px;min-width:0;display:grid}.world-editor-color-control select{width:100%;padding:6px 7px}.world-editor-color-swatch{width:31px;height:31px;box-shadow:inset 0 0 0 3px var(--paper-strong);border:1px solid #8a8b88;border-radius:6px}.world-editor-color-swatch.none{background:linear-gradient(135deg, transparent 45%, var(--orange) 47%, var(--orange) 53%, transparent 55%), var(--paper-strong)}.world-editor-wall-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin-top:8px;display:grid}.world-editor-wall-options label{min-width:0;color:var(--ink-muted);cursor:pointer;align-items:center;gap:6px;font-size:.65rem;font-weight:720;display:inline-flex}.world-editor-wall-options input{width:15px;height:15px;accent-color:var(--teal);margin:0}.world-editor-wall-options label:has(input:disabled){cursor:not-allowed;opacity:.48}.world-editor-place-karel{border:1px solid var(--ink);background:var(--paper-strong);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:43px;margin-top:14px;padding:7px 12px;font-size:.74rem;font-weight:830;display:inline-flex}.world-editor-place-karel img{object-fit:contain;width:26px;height:26px}.world-editor-canvas{background:var(--paper);min-width:0;min-height:0;display:grid}.world-editor-grid-scroll{overscroll-behavior:contain;place-items:center;min-width:0;min-height:0;padding:18px;display:grid;overflow:auto}.world-editor-grid{filter:drop-shadow(0 10px 16px #0b214424);flex:none;display:grid}.world-editor-axis{color:var(--ink);filter:none;place-items:center;font-size:.72rem;font-weight:850;display:grid}.world-editor-axis-column{align-items:end;padding-bottom:5px}.world-editor-axis-row{justify-items:end;padding-right:7px}.world-editor-cell{color:#fff;cursor:pointer;background-color:#58758c;background-image:url(/assets/world-tile.png);background-size:cover;border:1px solid #183b55;border-radius:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative;overflow:hidden}.world-editor-cell:hover{z-index:11;box-shadow:inset 0 0 0 3px #ffffff8c}.world-editor-cell.selected{z-index:12;box-shadow:inset 0 0 0 4px #50d8bf,0 0 0 2px #073a50}.world-editor-cell:focus-visible{z-index:13;outline:3px solid var(--yellow);outline-offset:-4px}.world-editor-cell-color{z-index:1;opacity:.94;border:2px solid #ffffffc2;border-radius:15%;position:absolute;inset:8%;box-shadow:0 2px 5px #0b21443d}.world-editor-beeper-stack,.world-editor-robot-stack{z-index:4;pointer-events:none;place-items:center;width:100%;height:100%;display:grid;position:absolute}.world-editor-beeper{object-fit:contain;filter:drop-shadow(0 2px 2px #0b21443d);width:104%;height:104%}.world-editor-beeper-count{z-index:3;color:#fff;background:var(--ink);white-space:nowrap;border:1.5px solid #fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 4px;font-size:.58rem;font-weight:850;line-height:1;display:grid;position:absolute;bottom:3px;right:3px}.world-editor-robot-stack{z-index:6}.world-editor-robot,.world-editor-obstacle,.world-editor-goal{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute}.world-editor-robot{filter:drop-shadow(0 2px 2px #0b21444d);width:132%;height:132%}.world-editor-robot-stack .world-editor-direction-arrow{z-index:8;color:#fff;background:var(--orange);border:1px solid #fff;border-radius:50%;width:22%;min-width:14px;height:22%;min-height:14px;padding:2px;position:absolute;top:3px;right:3px;box-shadow:0 2px 4px #0b214447}.world-editor-obstacle{z-index:5;width:92%;height:92%}.world-editor-goal{z-index:2;width:136%;height:136%;bottom:-4%;right:-3%}.world-editor-wall{z-index:9;pointer-events:none;background:#07172e;display:block;position:absolute;box-shadow:0 0 0 1px #ffffff47,0 2px 4px #07172e59}.world-editor-wall.north,.world-editor-wall.south{height:5px;left:-1px;right:-1px}.world-editor-wall.north{top:0}.world-editor-wall.south{bottom:0}.world-editor-wall.east,.world-editor-wall.west{width:5px;top:-1px;bottom:-1px}.world-editor-wall.east{right:0}.world-editor-wall.west{left:0}@keyframes status-pulse{50%{transform:scale(.7)}}@media (width<=1180px){body{overflow:auto}.app-shell{height:auto;min-height:100vh}.app-header{grid-template-columns:minmax(240px,1fr) auto;row-gap:14px}.language-switch{grid-area:2/1/auto/-1;justify-self:center}.workspace{grid-template-rows:auto minmax(620px,calc(100vh - 210px));grid-template-columns:minmax(310px,42%) minmax(430px,1fr);overflow:visible}.lesson-rail{border-right:0;border-bottom:1px solid var(--line);grid-column:1/-1;grid-template-columns:minmax(0,1fr) 310px;display:grid}.lesson-list-wrap{padding:16px 20px}.lesson-list{grid-template-columns:repeat(4,minmax(160px,1fr));margin-top:10px;overflow-x:auto}.stanford-world-list{display:flex}.stanford-world-list li{flex:0 0 210px}.lesson-row.selected:before{border-radius:4px 4px 0 0;width:auto;height:4px;bottom:-1px;left:8px;right:8px}.objective-block{border-top:0;border-left:1px solid var(--line)}.code-studio{border-right:1px solid var(--line)}.status-bar{z-index:10;position:sticky;bottom:0}}@media (width>=1181px) and (width<=1399px){.execution-controls{flex-direction:column;align-items:flex-end;gap:6px}.playback-speed-control{flex-basis:auto}}@media (width>=1181px) and (height<=719px){body{overflow:auto}.app-shell{height:720px}}@media (width>=1181px) and (height<=800px){.stanford-world-summary{flex:none;padding:14px 20px 16px}.stanford-world-summary>p,.stanford-compatibility-heading,.stanford-compatibility-list{display:none}.stanford-world-stats{margin:9px 0 0}.stanford-world-row{min-height:70px}.stanford-world-row small{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media (width<=820px){.app-header{grid-template-columns:1fr;padding:14px 18px 18px}.brand-lockup,.language-switch,.execution-controls{grid-column:1;justify-self:center}.brand-lockup{justify-self:start}.language-switch{grid-row:auto;width:min(100%,360px)}.execution-controls{flex-direction:column;align-items:stretch;gap:8px;width:100%}.playback-speed-control{flex-basis:auto;width:100%}.execution-buttons{width:100%}.control{flex:1;min-width:0;padding:0 10px}.workspace,.lesson-rail{display:block}.lesson-list-wrap h2{margin-bottom:8px}.lesson-list{display:flex}.lesson-list li{flex:0 0 190px}.objective-block{border-top:1px solid var(--line);border-left:0}.code-studio{border-right:0;border-bottom:1px solid var(--line);min-height:520px}.world-panel{min-height:610px}.world-stage{padding:14px}.status-bar{grid-template-columns:1fr auto;gap:13px;padding:14px 18px;position:static}.status-bar h2{border:0}.check-list{flex-wrap:wrap;grid-area:2/1/auto/-1;gap:10px 18px}.check-state{width:25px;height:25px}}@media (width<=640px){.command-cheatsheet-dialog{border-radius:13px;width:calc(100vw - 20px);height:92dvh}.cheatsheet-header{gap:12px;padding:17px 17px 14px}.cheatsheet-toolbar{grid-template-columns:1fr;gap:9px;padding:11px 17px}.cheatsheet-language-switch{width:100%}.cheatsheet-result-line{padding:8px 17px}.cheatsheet-scroll{padding:18px 17px 26px}.cheatsheet-section-heading{display:block}.cheatsheet-section-heading p{text-align:left;max-width:none;margin-top:5px}.cheatsheet-entry-grid{grid-template-columns:minmax(0,1fr)}.cheatsheet-entry.wide{grid-column:auto}.cheatsheet-footer{padding:10px 17px 12px}}@media (width<=480px){.brand-robot{width:52px;height:52px}.brand-lockup h1{font-size:1.75rem}.execution-controls,.execution-buttons{gap:6px}.playback-speed-control{min-height:48px}.control{min-height:48px;font-size:.78rem}.command-guide-button kbd,.cheatsheet-close span{display:none}.command-cheatsheet-dialog{width:calc(100vw - 12px);height:95dvh}.cheatsheet-header p{font-size:.74rem}.cheatsheet-entry dt{display:grid}.cheatsheet-entry dt>span{justify-self:start}.code-heading>small{display:none}.world-panel{min-height:520px}.grid-axis{font-size:.58rem}}@media (width<=980px){.world-editor-dialog{width:calc(100vw - 18px);height:95dvh}.world-editor-toolbar{grid-template-columns:auto minmax(150px,1fr);gap:10px 14px;padding:11px 14px}.world-editor-actions{grid-column:1/-1}.world-editor-body{grid-template-columns:minmax(270px,315px) minmax(0,1fr)}.world-editor-inspector{padding:15px 16px 22px}.world-editor-grid-scroll{justify-items:start;padding:14px}}@media (width>=701px) and (height<=760px){.world-editor-inspector{padding-top:10px;padding-bottom:12px}.world-editor-help{margin-bottom:6px}.world-editor-section{padding-bottom:8px}.world-editor-section+.world-editor-section{padding-top:8px}.world-editor-section h3{margin-bottom:5px}.world-editor-field{margin-top:5px}.world-editor-name,.world-editor-field input[type=number],.world-editor-color-control select,.world-editor-infinity-toggle{min-height:35px}.world-editor-direction-fieldset,.world-editor-walls-fieldset{margin-top:8px}.world-editor-direction-options{margin-top:4px}.world-editor-direction-options button{min-height:34px}.world-editor-wall-options{gap:4px 10px;margin-top:5px}.world-editor-place-karel{min-height:39px;margin-top:8px}}@media (width<=700px){.world-editor-dialog{border-radius:11px;width:calc(100vw - 10px);height:97dvh}.world-editor{overflow:auto}.world-editor-toolbar{z-index:30;grid-template-columns:minmax(0,1fr);position:sticky;top:0}.world-editor-toolbar h2{display:none}.world-editor-name{grid-column:1}.world-editor-actions{grid-column:1;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.world-editor-toolbar-button{min-width:0;padding-inline:6px;font-size:.64rem}.world-editor-toolbar-button.primary{padding-inline:6px}.world-editor-body{display:block}.world-editor-inspector{border-right:0;border-bottom:1px solid var(--line);max-height:none;overflow:visible}.world-editor-canvas{min-height:520px}.world-editor-grid-scroll{place-items:start;min-height:520px}}@media (width<=430px){.world-editor-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.world-editor-field,.world-editor-count-field{grid-template-columns:minmax(92px,.75fr) minmax(0,1.25fr)}.world-editor-wall-options{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
