.worked-example.svelte-vfpwbs{border:2px solid var(--line);background:var(--paper);color:var(--ink);border-radius:16px;margin:20px 0;padding:20px;font-size:1rem}.example-heading.svelte-vfpwbs{flex-wrap:wrap;align-items:baseline;gap:8px 16px;display:flex}h2.svelte-vfpwbs{margin:0;font-size:1.35rem}h3.svelte-vfpwbs{margin:4px 0 10px;font-size:1.05rem}.example-heading.svelte-vfpwbs span:where(.svelte-vfpwbs){color:var(--muted);font-size:.875rem}.example-columns.svelte-vfpwbs{grid-template-columns:1fr 1fr;gap:24px;display:grid}.example-guide.svelte-vfpwbs{padding-left:24px}.example-guide.svelte-vfpwbs li:where(.svelte-vfpwbs){margin:8px 0}pre.svelte-vfpwbs{border:1px solid var(--line);background:var(--blue-soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;padding:12px;font-size:1rem}.example-state.svelte-vfpwbs{border-left:4px solid var(--ink);padding-left:12px}button.svelte-vfpwbs{border:1px solid var(--ink);background:var(--paper);min-height:44px;color:var(--ink);border-radius:8px;margin:4px 8px 4px 0;padding:9px 12px;font-size:1rem;font-weight:650}button[aria-pressed=true].svelte-vfpwbs{border:3px solid var(--ink);background:var(--blue-soft)}button.svelte-vfpwbs:disabled{opacity:.55}.example-actions.svelte-vfpwbs{border-top:1px solid var(--line);padding-top:10px}@media (width<=650px){.example-columns.svelte-vfpwbs{grid-template-columns:1fr;gap:8px}.worked-example.svelte-vfpwbs{padding:14px}}.loop-lab.svelte-3ak0nx{--lab-paper:var(--paper,#fffefa);--lab-ink:var(--ink,#203046);--lab-muted:var(--muted,#52647a);--lab-line:var(--line,#cbd5d9);--lab-blue:var(--blue-soft,#eaf1f8);color:var(--lab-ink);border:2px solid var(--lab-line);background:var(--lab-paper);border-radius:16px;gap:16px;padding:18px;font-size:1rem;display:grid}h2.svelte-3ak0nx,h3.svelte-3ak0nx,h4.svelte-3ak0nx,p.svelte-3ak0nx{margin-top:0}h2.svelte-3ak0nx{margin-bottom:0;font-size:1.45rem}h3.svelte-3ak0nx{margin-bottom:7px;font-size:1.2rem}h4.svelte-3ak0nx{margin-bottom:7px;font-size:1rem}.heading.svelte-3ak0nx{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:8px 16px;display:flex}.eyebrow.svelte-3ak0nx{color:var(--lab-muted);letter-spacing:.07em;margin-bottom:4px;font-size:.875rem;font-weight:800}.badge.svelte-3ak0nx,.challenge-note.svelte-3ak0nx{border:1px solid var(--lab-line);color:var(--lab-muted);border-radius:999px;padding:6px 10px;font-size:.9rem}.intro.svelte-3ak0nx{max-width:74ch;margin-bottom:0;line-height:1.5}.example-tabs.svelte-3ak0nx{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}button.svelte-3ak0nx{border:2px solid var(--lab-ink);background:var(--lab-paper);min-height:46px;color:var(--lab-ink);font:inherit;cursor:pointer;border-radius:9px;padding:9px 12px;font-weight:700}button.svelte-3ak0nx:hover{filter:brightness(.92)}button.svelte-3ak0nx:focus-visible,input.svelte-3ak0nx:focus-visible{outline-offset:2px;outline:3px solid #3976a8}button.svelte-3ak0nx:disabled{cursor:default;opacity:.58}.tab.svelte-3ak0nx{border-color:var(--lab-line);background:var(--lab-paper);color:var(--lab-ink);text-align:left;justify-content:center;align-items:center;gap:8px;display:flex}.tab.selected.svelte-3ak0nx{border-width:3px;border-color:var(--lab-ink);background:var(--lab-blue)}.tab-number.svelte-3ak0nx{border:1px solid;border-radius:50%;flex:0 0 27px;place-items:center;width:27px;height:27px;display:grid}.story-card.svelte-3ak0nx,.panel.svelte-3ak0nx{border:1px solid var(--lab-line);background:var(--lab-paper);border-radius:12px;min-width:0;padding:15px}.story-card.svelte-3ak0nx{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:16px;display:grid}.story-card.svelte-3ak0nx p:where(.svelte-3ak0nx){margin-bottom:0}.challenge-note.svelte-3ak0nx{border-radius:8px;display:inline-block;margin-top:10px!important}.predict-card.svelte-3ak0nx{border:1px solid var(--lab-line);background:var(--lab-blue);border-radius:10px;padding:12px}label.svelte-3ak0nx{margin-bottom:8px;font-weight:750;display:block}.prediction-row.svelte-3ak0nx{flex-wrap:wrap;gap:8px;display:flex}input.svelte-3ak0nx{border:1px solid var(--lab-ink);background:var(--lab-paper);width:92px;min-height:46px;color:var(--lab-ink);font:inherit;border-radius:8px;padding:8px}.secondary.svelte-3ak0nx{background:var(--lab-paper);color:var(--lab-ink)}small.svelte-3ak0nx{color:var(--lab-muted);margin-top:6px;font-size:.875rem;display:block}.revealed.svelte-3ak0nx{border-top:1px solid var(--lab-line);padding-top:9px;line-height:1.45;margin:10px 0 0!important}.lesson-columns.svelte-3ak0nx{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px;display:grid}.world-caption.svelte-3ak0nx{color:var(--lab-muted)}.grid.svelte-3ak0nx{border:1px solid var(--lab-line);background:var(--lab-blue);border-radius:9px;gap:3px;width:min(100%,330px);padding:5px;display:grid}.cell.svelte-3ak0nx{aspect-ratio:1;border:1px solid var(--lab-line);background:var(--lab-paper);border-radius:4px;place-items:center;min-width:0;display:grid}.robot-cell.svelte-3ak0nx{outline:3px solid var(--lab-ink);outline-offset:-3px}.goal-cell.svelte-3ak0nx{background:var(--lab-blue)}.robot-icon.svelte-3ak0nx,.goal-icon.svelte-3ak0nx{font-size:clamp(1rem,5vw,1.55rem);font-weight:900;line-height:1}.goal-icon.svelte-3ak0nx{color:var(--lab-ink)}.map-key.svelte-3ak0nx{flex-wrap:wrap;gap:8px 18px;margin:8px 0;font-size:.9rem;display:flex}.robot-key.svelte-3ak0nx:before{content:"↑";border:2px solid var(--lab-ink);border-radius:5px;place-items:center;width:24px;height:24px;margin-right:5px;display:inline-grid}.goal-key.svelte-3ak0nx{font-weight:750}.map-description.svelte-3ak0nx{margin:7px 0}.step-controls.svelte-3ak0nx{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.step-controls.svelte-3ak0nx span:where(.svelte-3ak0nx){color:var(--lab-muted);font-size:.9rem}.event-card.svelte-3ak0nx,.finished.svelte-3ak0nx,.zero-note.svelte-3ak0nx{border:1px solid var(--lab-line);background:var(--lab-blue);border-radius:8px;margin:10px 0 0;padding:10px;line-height:1.45}.event-card.svelte-3ak0nx p:where(.svelte-3ak0nx){margin:4px 0}.finished.svelte-3ak0nx{font-weight:750}.counts.svelte-3ak0nx{border-top:1px solid var(--lab-line);margin:10px 0 14px}.counts.svelte-3ak0nx div:where(.svelte-3ak0nx){border-bottom:1px solid var(--lab-line);justify-content:space-between;gap:12px;padding:8px 2px;display:flex}.counts.svelte-3ak0nx dt:where(.svelte-3ak0nx){font-weight:650}.counts.svelte-3ak0nx dd:where(.svelte-3ak0nx){border:1px solid var(--lab-ink);text-align:center;border-radius:999px;min-width:36px;margin:0;padding:1px 8px;font-weight:800}pre.svelte-3ak0nx{overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid var(--lab-line);background:var(--lab-blue);max-width:100%;color:var(--lab-ink);border-radius:8px;margin:0;padding:12px;font:1rem/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.runtime-note.svelte-3ak0nx{color:var(--lab-muted);margin:7px 0 0;font-size:.9rem}.lesson-footer.svelte-3ak0nx{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.lesson-footer.svelte-3ak0nx p:where(.svelte-3ak0nx){margin:0}@media (width<=720px){.story-card.svelte-3ak0nx,.lesson-columns.svelte-3ak0nx{grid-template-columns:minmax(0,1fr)}}@media (width<=560px){.example-tabs.svelte-3ak0nx{grid-template-columns:repeat(2,minmax(0,1fr))}.loop-lab.svelte-3ak0nx{padding:13px}.tab.svelte-3ak0nx{justify-content:flex-start;padding:8px;font-size:.95rem}}@media (width<=340px){.example-tabs.svelte-3ak0nx{grid-template-columns:minmax(0,1fr)}.step-controls.svelte-3ak0nx{align-items:stretch}}:root{--navy:#172941;--navy-2:#203853;--ink:#203046;--muted:#52647a;--line:#e6e8e9;--paper:#fffefa;--canvas:#f8f7f3;--amber:#f2b840;--amber-soft:#fff4d9;--coral:#eb806f;--coral-soft:#fff0ec;--mint:#8bd5b9;--mint-soft:#e8f7f0;--blue-soft:#eaf1f8;--shadow:0 14px 42px #20304614}*{box-sizing:border-box}body{background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--type-body,18px);margin:0;line-height:1.5}button,select{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #2879bd}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--navy);color:#fff;z-index:5;flex-direction:column;width:250px;padding:25px 17px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:#fff;align-items:center;gap:11px;padding:0 7px 34px;text-decoration:none;display:flex}.brand-mark{background:#2d4561;border-radius:13px;flex:none;place-items:center;width:40px;height:40px;display:grid}.brand-mark svg{fill:none;stroke:#f4c358;stroke-width:2.4px;stroke-linecap:round;width:31px}.brand strong{letter-spacing:-.2px;font-size:1rem;display:block}.brand small{color:#a9b6c6;margin-top:3px;font-size:.875rem;display:block}.side-label{letter-spacing:1.4px;color:#9bacc0;padding:0 10px 10px;font-size:.875rem;font-weight:800}.nav-item{appearance:none;color:#dbe3ed;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;margin-bottom:5px;padding:10px 9px;display:flex}.nav-item.active{color:#fff;box-shadow:inset 3px 0 var(--amber);background:#2c425d}.nav-icon{color:#f5ca67;background:#3e5875;border-radius:9px;flex:none;place-items:center;width:29px;height:29px;font-size:.875rem;font-weight:800;display:grid}.nav-icon.coral{color:#f6a897;background:#604b53}.nav-item b{font-size:.875rem;font-weight:650;display:block}.nav-item small{color:#a8b6c7;margin-top:2px;font-size:.875rem;display:block}.nav-state{color:#f2c45c;margin-left:auto;font-size:19px}.roadmap-heading{justify-content:space-between;align-items:center;margin:22px 0 5px;display:flex}.roadmap-heading .side-label{padding-bottom:6px}.soon{color:#94a8bf;letter-spacing:.7px;font-size:.875rem;font-weight:700}.nav-item.future{cursor:default;opacity:.71;padding-top:8px;padding-bottom:8px}.nav-icon.muted{color:#8397af;background:#293d56}.lock{color:#92a3b7;margin-left:auto;font-size:1.0625rem}.side-bottom{margin-top:auto}.local-card{background:#203650;border:1px solid #344a63;border-radius:10px;align-items:center;gap:9px;margin:0 1px 12px;padding:11px 10px;display:flex}.local-dot,.local-pill i{background:#7fd4ae;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #7fd4ae1f}.local-card b{font-size:.875rem;display:block}.local-card small{color:#aab9ca;margin-top:3px;font-size:.875rem;display:block}.settings-trigger{color:#bdc9d7;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;width:100%;padding:10px;font-size:.875rem;display:flex}.settings-trigger .chevron{margin-left:auto}.main-area{width:calc(100% - 250px);min-height:100vh;margin-left:250px}.topbar{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffefae6;border-bottom:1px solid #e9e7e1;justify-content:space-between;align-items:center;min-height:62px;padding:10px clamp(22px,4vw,62px);display:flex;position:sticky;top:0}.crumb{color:#8590a0;align-items:center;gap:10px;font-size:.875rem;display:flex}.crumb b{color:#293b52;font-weight:650}.crumb-sep{color:#c2c8ce}.top-actions{align-items:center;gap:15px;display:flex}.local-pill{color:#758399;align-items:center;gap:7px;font-size:.875rem;display:flex}.local-pill i{width:6px;height:6px}.local-pill b{color:#31445d;font-weight:650}.avatar{color:#b88015;cursor:pointer;background:#fff7df;border:1px solid #ebdcae;border-radius:50%;width:29px;height:29px}.content-wrap{max-width:1180px;margin:0 auto;padding:32px clamp(22px,4vw,62px) 24px}.mission-kicker{letter-spacing:1.25px;color:#9b7b3a;align-items:center;gap:9px;font-size:.875rem;font-weight:800;display:flex}.kicker-dot{background:#edb844;border-radius:50%;width:7px;height:7px}.kicker-line{background:#ddcfb1;width:20px;height:1px}.kicker-spacer{flex:1}.progress-chip{letter-spacing:0;color:#688573;background:#edf5ee;border:1px solid #deebdf;border-radius:999px;padding:5px 9px;font-size:.875rem;font-weight:650}.hero-row{justify-content:space-between;align-items:center;min-height:110px;margin:9px 0 14px;display:flex}.hero-row h1{letter-spacing:-1.1px;color:#1b2d43;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(29px,3vw,38px);font-weight:600;line-height:1.12}.hero-story{color:#788597;max-width:580px;margin:8px 0 0;font-size:.9375rem}.hero-robot{flex:none;place-items:center;width:145px;height:110px;margin-right:13px;display:grid;position:relative}.robot-art{z-index:1;background:#fce9b5;border-radius:50%;place-items:center;width:95px;height:95px;display:grid;position:relative}.robot-art svg{width:105px;height:105px;overflow:visible}.robot-art .antenna,.robot-art .limb{stroke:#4b6071;stroke-width:4px;stroke-linecap:round;fill:none}.robot-art .antenna-tip{fill:var(--coral)}.robot-art .robot-head{fill:#f4c256;stroke:#273d51;stroke-width:3px}.robot-art .screen{fill:#eff9f3;stroke:#273d51;stroke-width:2px}.robot-art .eye{fill:#34495c}.robot-art .smile{stroke:#34495c;stroke-width:2.5px;fill:none;stroke-linecap:round}.robot-art .ear{stroke:#273d51;stroke-width:3px;fill:none;stroke-linecap:round}.robot-art .robot-body{fill:#83ceb1;stroke:#273d51;stroke-width:3px}.robot-art .bolt{fill:#eff9f3}.orbit{border:1px dashed #e2c780;border-radius:50%;width:126px;height:74px;position:absolute;transform:rotate(-24deg)}.orbit-two{border-color:#efc9a4;width:116px;height:92px;transform:rotate(44deg)}.spark{color:#e5a938;font-size:18px;position:absolute}.spark-a{top:16px;right:4px}.spark-b{color:#ee9381;top:42px;left:0}.spark-c{bottom:7px;right:20px}.mission-meta{color:#627184;background:#fff9e9;border:1px solid #f1e5c9;border-radius:9px;align-items:center;gap:9px;margin:0 0 22px;padding:11px 14px;font-size:.875rem;display:flex}.progress-guidance{color:#5e7164;background:#f2f7f1;border-left:3px solid #94c4a5;border-radius:0 8px 8px 0;flex-wrap:wrap;justify-content:space-between;gap:6px 18px;margin:-12px 0 18px;padding:8px 12px;font-size:.875rem;display:flex}.progress-guidance p{margin:0}.progress-guidance b{color:#3b5444}.mission-meta b{color:#31445a;margin-right:4px}.meta-icon{color:#ba8d30;font-size:1.125rem}.meta-icon.book{color:#77927d}.meta-divider{background:#e4d8bd;width:1px;height:18px;margin:0 6px}.concept{color:#6d7c8c}.workbench{background:var(--paper);box-shadow:var(--shadow);border:1px solid #e8e6df;border-radius:14px;overflow:hidden}.workbench-head{border-bottom:1px solid #eeece6;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px 15px;display:flex}.step-title{align-items:center;gap:11px;display:flex}.step-count{color:#ae7915;background:#fff2cf;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;font-size:.875rem;font-weight:800;display:grid}.step-count.small{border-radius:7px;width:23px;height:23px;font-size:.875rem}.step-title h2{color:#293b51;margin:0;font-size:1rem;font-weight:700}.step-title p{color:#8792a0;margin:3px 0 0;font-size:.875rem}.case-tabs{background:#f3f3ef;border-radius:9px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.case-tabs button{color:#778496;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:7px 9px;font-size:.875rem}.case-tabs button span{color:#b48a3a;margin-right:4px}.case-tabs button.chosen{color:#344960;background:#fff;font-weight:700;box-shadow:0 1px 4px #22334412}.case-context{background:#fdfcf8;border-bottom:1px solid #f0eee8;justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;display:flex}.case-tag{text-transform:uppercase;letter-spacing:.9px;color:#ab8036;font-size:.875rem;font-weight:800}.case-context p{color:#40536a;margin:3px 0 0;font-size:.875rem;font-weight:650}.case-tip{color:#8791a0;align-items:flex-start;gap:7px;max-width:390px;font-size:.875rem;display:flex}.case-tip>span:first-child{color:#dc947f;font-size:.9375rem}.workspace-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);min-height:420px;display:grid}.plan-panel,.world-panel{padding:18px 20px 15px}.plan-panel{border-right:1px solid #efeee9}.panel-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.panel-title>div{align-items:center;gap:8px;display:flex}.panel-title h3{color:#36495f;margin:0;font-size:.875rem}.clear-button{color:#a1a9b1;cursor:pointer;background:0 0;border:0;padding:4px 7px;font-size:.875rem}.clear-button:hover,.solution-link:hover{color:#bd7c2d}.program-list{min-height:176px;max-height:286px;padding:1px 2px 5px;overflow:auto}.empty-plan{color:#8c98a5;background:#fbfcf9;border:1px dashed #dce0dc;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;height:166px;display:flex}.empty-plan .empty-glyph{color:#8b9c92;background:#f3f2ed;border-radius:50%;place-items:center;width:28px;height:28px;margin-bottom:3px;font-size:18px;display:grid}.empty-plan b{color:#637285;font-size:.875rem}.empty-plan span:last-child{font-size:.875rem}.program-card{background:#fff;border:1px solid #e5e8e4;border-radius:9px;align-items:center;gap:10px;min-height:48px;margin-bottom:7px;padding:7px 8px;display:flex;box-shadow:0 2px 5px #24364b08}.action-icon{color:#5a9c7b;background:#eef6f1;border-radius:8px;place-items:center;width:28px;height:28px;font-size:17px;font-weight:700;display:grid}.action-label{flex:1}.action-label b{color:#394d62;font-size:.875rem;display:block}.action-label small{color:#a0a8b1;margin-top:1px;font-size:.875rem;display:block}.card-tools{gap:2px;display:flex}.card-tools button,.branch-action button,.heading-pick button{color:#8995a1;cursor:pointer;background:0 0;border:0;border-radius:5px;width:23px;height:24px}.card-tools button:hover:not(:disabled),.branch-action button:hover:not(:disabled){color:#475e70;background:#f1f4f1}.card-tools button:disabled,.branch-action button:disabled{opacity:.28;cursor:default}.card-tools .remove,.branch-action .remove{color:#c0877b;font-size:1.0625rem}.branch-card{background:#fffaf0;border:1px solid #f0d3a2;border-radius:10px;margin:8px 0;padding:9px}.repeat-card{background:#f5fbf7;border:1px solid #c9dfd2;border-radius:10px;margin:8px 0;padding:10px}.repeat-top{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.repeat-icon{color:#4d8a6c;background:#e3f3e9;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:1.25rem;display:grid}.repeat-heading{flex:150px}.repeat-heading b,.repeat-body>b{color:#365b49;display:block}.repeat-heading small{color:#71877a;font-size:.875rem;display:block}.repeat-count-label{color:#526b5c;align-items:center;gap:7px;font-size:.875rem;font-weight:700;display:flex}.repeat-count-label select{color:#304a3c;background:#fff;border:1px solid #c8d9ce;border-radius:7px;min-width:64px;min-height:40px;padding:4px 8px}.repeat-body{border-top:1px solid #dcebe1;margin-top:9px;padding:9px 0 0 14px}.repeat-body>b{margin-bottom:6px;font-size:.875rem}.repeat-empty{color:#748579;margin:3px 0 8px;font-size:.875rem}.repeat-action{background:#fff;border:1px solid #e0ebe3;border-radius:8px;align-items:center;gap:9px;margin:5px 0;padding:5px 7px;display:flex}.repeat-action>span{color:#5b9b79;font-size:1.0625rem}.repeat-action>b{color:#394d62;flex:1;font-size:.875rem}.repeat-add{flex-wrap:wrap;gap:6px;padding-top:5px;display:flex}.repeat-add-control span{color:#4d8a6c}.repeat-requirement{align-items:flex-start}.repeat-requirement span:last-child{flex:1}.repeat-requirement b{color:#546c5d}.branch-top{border-bottom:1px solid #f1e4cc;align-items:center;gap:8px;padding-bottom:8px;display:flex}.branch-icon{color:#bd8b28;background:#fff0cf;border-radius:8px;place-items:center;width:26px;height:26px;font-size:17px;display:grid}.branch-top>div{flex:1}.branch-top b{color:#5a4e35;font-size:.875rem;display:block}.branch-top small{color:#9d927e;font-size:.875rem;display:block}.remove-branch{color:#b3976e;cursor:pointer;background:0 0;border:0;font-size:1.0625rem}.branch-columns{grid-template-columns:1fr 1fr;gap:8px;padding-top:8px;display:grid}.branch-column{background:#fff;border:1px solid #eee8db;border-radius:7px;min-width:0;padding:7px 6px}.branch-label{color:#788477;align-items:center;gap:5px;margin-bottom:5px;font-size:.875rem;font-weight:800;display:flex}.yes-dot,.no-dot{background:#65bb8a;border-radius:50%;width:6px;height:6px}.no-dot{background:#e28d7c}.branch-action{background:#f6f8f5;border-radius:5px;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:4px;padding:3px 4px;display:flex}.branch-action>span{color:#5f9b7a;font-size:.875rem}.branch-action>b{white-space:nowrap;flex:1;font-size:.875rem}.branch-action div{flex-wrap:wrap;display:flex}.branch-action button{width:16px;height:18px;font-size:.875rem}.branch-add{gap:3px;padding-top:4px;display:flex}.branch-add button{color:#7c9682;cursor:pointer;background:#fff;border:1px dashed #d8ded6;border-radius:4px;padding:3px 5px;font-size:.875rem}.add-controls{border-top:1px solid #f0eee9;padding-top:11px}.add-label{letter-spacing:.9px;color:#a0a7a9;margin-bottom:7px;font-size:.875rem;font-weight:800;display:block}.action-buttons{flex-wrap:wrap;gap:6px;display:flex}.add-action{color:#526478;cursor:pointer;background:#fff;border:1px solid #e4e9e3;border-radius:7px;align-items:center;gap:5px;padding:7px 8px;font-size:.875rem;display:flex}.add-action span{color:#67a585;font-size:1.0625rem}.add-action:hover:not(:disabled){background:#f6fbf7;border-color:#a3cdb2}.add-action:disabled{opacity:.45;cursor:default}.condition-add span{color:#bc922e}.limit-note{color:#a2aab1;margin:7px 0 0;font-size:.875rem}.world-size{letter-spacing:.8px;color:#99a2a9;font-size:.875rem;font-weight:700}.world-stage{background:#f5f8f5;border:1px solid #e6eee7;border-radius:10px;padding:10px 12px 9px}.world-caption{color:#94a296;letter-spacing:1px;justify-content:space-between;margin-bottom:7px;font-size:.875rem;font-weight:800;display:flex}.compass{color:#6c9b7f}.grid{width:min(100%,228px);aspect-ratio:var(--grid-columns,4) / var(--grid-rows,4);grid-template-columns:repeat(var(--grid-columns,4), minmax(0, 1fr));grid-template-rows:repeat(var(--grid-rows,4), minmax(0, 1fr));gap:4px;margin:0 auto;display:grid}.grid-cell{background:#e9f3eb;border:1px solid #d9e8dc;border-radius:6px;place-items:center;display:grid;position:relative}.grid-cell.inspected-path{outline-offset:-3px;outline:1px dotted #007d83}.inspected-dot{color:#006b72;font-size:1.25rem;font-weight:900;line-height:.8;position:absolute;bottom:0;right:3px}.grid-cell:nth-child(2n){background:#edf5ef}.grid-cell.start{background:#e1f4e9;border-color:#cce8d7}.grid-cell.goal{background:#fff2ce;border-color:#f2dfab}.grid-cell.wall{background:#50647a;border-color:#45596f;box-shadow:inset 0 2px 3px #17294133}.robot-token{color:#224c3c;background:#80cda9;border:2px solid #fff;border-radius:10px;place-items:center;width:30px;height:30px;font-size:.9375rem;display:grid;box-shadow:0 2px 5px #41594a33}.facing-n{transform:rotate(0)}.facing-e{transform:rotate(90deg)}.facing-s{transform:rotate(180deg)}.facing-w{transform:rotate(270deg)}.goal-token{color:#d99822;text-shadow:0 1px #fff;font-size:18px}.wall-token{color:#d2dce5;font-size:17px}.legend{color:#7f8e87;justify-content:center;gap:13px;margin-top:8px;font-size:.875rem;display:flex}.legend i{margin-right:3px;font-style:normal}.legend-robot{color:#60a982}.legend-goal{color:#d99d2d}.legend-wall{color:#50647a}.legend-path{color:#007d83;font-size:1.2rem;font-weight:900}.prediction-box{border:1px solid #ebe9e2;border-radius:9px;margin-top:12px;padding:10px 11px}.prediction-title{align-items:center;gap:7px;display:flex}.prediction-title>span{color:#c09035;font-size:1.0625rem}.prediction-title b,.prediction-title small{display:block}.prediction-title b{color:#45566a;font-size:.875rem}.prediction-title small{color:#9aa3aa;margin-top:2px;font-size:.875rem}.prediction-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;display:flex}.prediction-controls label{color:#8f9aa4;align-items:center;gap:5px;font-size:.875rem;display:flex}.prediction-controls select{color:#4e6275;background:#fff;border:1px solid #e3e6e2;border-radius:5px;padding:4px 13px 4px 6px;font-size:.875rem}.heading-pick{color:#8c98a1;align-items:center;gap:2px;margin-left:auto;font-size:.875rem;display:flex}.heading-pick b{text-align:center;color:#425b68;min-width:18px;font-size:.875rem}.heading-pick button{color:#688d79;width:22px;height:22px;font-size:1rem}.workspace-footer{background:#fffefa;border-top:1px solid #eeece6;justify-content:space-between;align-items:center;gap:15px;padding:12px 20px;display:flex}.help-row{align-items:center;gap:14px;display:flex}.help-main{color:#936f27;cursor:pointer;background:#fff8e8;border:1px solid #f0dfbb;border-radius:7px;align-items:center;gap:6px;padding:7px 9px;font-size:.875rem;font-weight:700;display:flex}.help-main>span{font-size:.9375rem}.help-main small{color:#ae9a72;margin-left:2px;font-size:.875rem;font-weight:500}.solution-link{color:#89939c;cursor:pointer;background:0 0;border:0;font-size:.875rem}.solution-link span{color:#ca9b48;margin-left:3px}.run-button{background:var(--navy);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:9px 14px;font-size:.875rem;font-weight:700;box-shadow:0 3px 8px #15284022}.run-button:hover:not(:disabled){background:#294867;transform:translateY(-1px)}.run-button:disabled{opacity:.4;cursor:default}.run-button>span{color:#f3c453;margin-right:6px}.run-button kbd{color:#bdc9d6;border:1px solid #64768a;border-radius:4px;margin-left:9px;padding:1px 4px;font-size:.875rem}.hint-card{background:#fff9e9;border:1px solid #f0e1be;border-radius:9px;align-items:flex-start;gap:10px;margin:12px 20px 16px;padding:12px;display:flex}.hint-star{color:#d49d31;font-size:1.0625rem}.hint-card>div{flex:1}.hint-label{letter-spacing:.9px;color:#ab8133;font-size:.875rem;font-weight:800}.hint-card p{color:#59677a;margin:4px 0;font-size:.875rem}.hint-card small{color:#8b927f;font-size:.875rem}.hint-card>button,.settings-head>button{color:#999;cursor:pointer;background:0 0;border:0}.result-card{border:1px solid #e6e9e4;border-radius:10px;margin:0 20px 18px;overflow:hidden}.result-head{background:#f8faf7;align-items:center;gap:9px;padding:11px 12px;display:flex}.result-symbol{border-radius:50%;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.result-symbol.success{color:#438a67;background:#e4f4ea}.result-symbol.failure{color:#c77a66;background:#fff0eb}.result-head>div{flex:1}.result-head b{font-size:.875rem;display:block}.result-head small{color:#89949c;margin-top:2px;font-size:.875rem;display:block}.reset-run{color:#7d8992;cursor:pointer;background:#fff;border:1px solid #e4e6e1;border-radius:5px;padding:5px 7px;font-size:.875rem}.trace-details{border-top:1px solid #eceee9;padding:8px 12px}.trace-details summary{color:#647583;cursor:pointer;font-size:.875rem}.trace-details ol{gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}.trace-details li{background:#fafbf9;border-radius:5px;align-items:center;gap:10px;padding:5px 7px;font-size:.875rem;display:flex}.trace-details li.current-step,.trace-details li.current-iteration{background:#eff8f1;border-color:#8bc7a5;box-shadow:inset 3px 0 #55a477}.trace-details li.current-iteration b{color:#315e45}.trace-details li span{color:#a1a9ae;min-width:40px}.trace-details li b{color:#52667a}.trace-details li small{color:#86948d;margin-left:auto}.rationale-check{border-top:1px solid #eceee9;padding:11px 12px}.rationale-check>b{color:#384c61;font-size:.875rem}.rationale-check>p{color:#89939c;margin:3px 0 8px;font-size:.875rem}.rationale-options{gap:5px;display:grid}.rationale-options label{color:#657385;cursor:pointer;border:1px solid #e9ebe6;border-radius:6px;align-items:flex-start;gap:7px;padding:7px 8px;font-size:.875rem;display:flex}.rationale-options label.selected{background:#f5faf6;border-color:#aacbb5}.rationale-options input{accent-color:#4e9a72;margin:1px 0 0}.check-button{color:#447a5b;cursor:pointer;background:#eaf4ed;border:0;border-radius:6px;margin-top:9px;padding:7px 10px;font-size:.875rem;font-weight:700}.check-button:disabled{opacity:.45;cursor:default}.check-button span{margin-left:10px}.stale-note{color:#b47753;margin-left:8px;font-size:.875rem}.feedback-box{background:#f5faf6;border-top:1px solid #eceee9;padding:10px 12px}.feedback-box b{color:#477a5d;font-size:.875rem}.feedback-box p{color:#667783;margin:4px 0 0;font-size:.875rem}.feedback-box.needs-work{background:#fff9ed}.feedback-box.needs-work b{color:#a98035}.future-strip{background:#f1f4ef;border:1px solid #e6e8e4;border-radius:10px;align-items:center;gap:12px;margin:17px 0;padding:13px 15px;display:flex}.future-icon{color:#6e9d7d;background:#e0ebe3;border-radius:9px;place-items:center;width:31px;height:31px;font-size:17px;display:grid}.future-strip div{flex:1}.future-strip b{color:#4e6556;font-size:.875rem}.future-strip p{color:#7f8b85;margin:2px 0 0;font-size:.875rem}.planned-label{letter-spacing:.8px;color:#8c9b8d;border:1px solid #d5ded6;border-radius:99px;padding:4px 7px;font-size:.875rem;font-weight:800}.page-foot{color:#a1a6a6;justify-content:space-between;padding:10px 1px;font-size:.875rem;display:flex}.page-foot i{color:#d8b771;margin:0 5px;font-style:normal}.notice{z-index:10;color:#796435;max-width:420px;box-shadow:var(--shadow);background:#fff9e9;border:1px solid #ead9ad;border-radius:8px;padding:9px 12px;font-size:.875rem;position:fixed;top:70px;right:20px}.notice button{color:#9b865b;cursor:pointer;background:0 0;border:0;margin-left:10px}.settings-panel{z-index:9;width:min(340px,100vw - 30px);box-shadow:var(--shadow);background:#fffefa;border:1px solid #e4e6e0;border-radius:12px;padding:15px;position:fixed;top:70px;right:18px}.settings-head{justify-content:space-between;align-items:start;margin-bottom:13px;display:flex}.settings-head b,.settings-head small{display:block}.settings-head b{font-size:.875rem}.settings-head small{color:#89949d;margin-top:3px;font-size:.875rem}.field-label{color:#75828e;gap:5px;font-size:.875rem;display:grid}.field-label select{color:#415469;background:#fff;border:1px solid #e2e6e0;border-radius:6px;padding:7px;font-size:.875rem}.quiet-toggle{text-align:left;color:#506477;cursor:pointer;background:#fafbf8;border:1px solid #e9ebe5;border-radius:7px;width:100%;margin:9px 0;padding:8px;font-size:.875rem;display:block}.quiet-toggle small{float:right;color:#9ba3a4}.save-option{color:#52677b;align-items:center;gap:7px;font-size:.875rem;display:flex}.save-option input{accent-color:#458d66}.settings-panel>p{color:#90999d;font-size:.875rem;line-height:1.5}.text-danger{color:#bd776b;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:.875rem}.modal-backdrop{z-index:20;background:#17294177;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirm-modal{text-align:center;background:#fffefa;border-radius:15px;width:min(390px,100%);padding:23px;box-shadow:0 25px 80px #17294155}.modal-mark{color:#bf7760;background:#fff1e6;border-radius:12px;place-items:center;width:38px;height:38px;margin:0 auto 12px;font-size:19px;display:grid}.confirm-modal h2{color:#283b52;margin:0;font-size:17px}.confirm-modal p{color:#778594;margin:9px 0 18px;font-size:.875rem;line-height:1.6}.confirm-modal>div{justify-content:center;gap:8px;display:flex}.cancel-button,.confirm-button{cursor:pointer;border-radius:7px;padding:8px 11px;font-size:.875rem}.cancel-button{color:#647486;background:#fff;border:1px solid #e3e6e1}.confirm-button{color:#fff;background:#a9574c;border:1px solid #a9574c}@media (width<=1000px){.sidebar{width:218px;padding-left:13px;padding-right:13px}.main-area{width:calc(100% - 218px);margin-left:218px}.content-wrap{padding-left:24px;padding-right:24px}.workspace-grid{grid-template-columns:1fr}.plan-panel{border-bottom:1px solid #efeee9;border-right:0}.program-list{max-height:250px}.world-panel{grid-template-columns:1fr 1fr;gap:0 15px;display:grid}.world-panel>.panel-title{grid-column:1/-1}.world-stage{grid-row:2/4}.prediction-box{align-self:start;margin-top:0}}@media (width<=680px){.sidebar{width:100%;height:auto;padding:10px 13px;display:block;position:relative;inset:auto}.app-shell{display:block}.brand{padding:0 2px 10px}.brand-mark{width:34px;height:34px}.brand strong{font-size:.875rem}.sidebar>.side-label,.roadmap-heading,.nav-item.future,.side-bottom{display:none}.sidebar .nav-item{vertical-align:top;background:#203650;width:auto;margin:0 4px 0 0;padding:7px 9px;display:inline-flex}.sidebar .nav-item.active{background:#2c425d}.sidebar .nav-item small,.sidebar .nav-item .nav-state{display:none}.sidebar .nav-item b{font-size:.875rem}.sidebar .nav-icon{width:23px;height:23px}.main-area{width:100%;margin-left:0}.topbar{min-height:56px;padding:10px 15px}.crumb{gap:6px;font-size:.875rem}.top-actions{gap:8px}.local-pill{font-size:.875rem}.avatar{width:25px;height:25px}.content-wrap{padding:21px 13px 18px}.mission-kicker{gap:6px;font-size:.875rem}.progress-chip{padding:4px 6px;font-size:.875rem}.hero-row{min-height:87px;margin-top:12px}.hero-row h1{font-size:29px}.hero-story{max-width:330px;font-size:.875rem}.hero-robot{width:90px;height:81px;margin:0 -2px 0 0}.robot-art{width:70px;height:70px}.robot-art svg{width:82px;height:82px}.orbit{width:82px;height:54px}.orbit-two{width:78px;height:61px}.spark{font-size:.9375rem}.mission-meta{flex-wrap:wrap;gap:6px;margin-bottom:14px;padding:9px 10px;font-size:.875rem}.meta-divider{display:none}.concept{flex-basis:100%;padding-left:25px}.workbench{border-radius:11px}.workbench-head{padding:13px 12px 10px;display:block}.step-title{margin-bottom:11px}.step-title p{font-size:.875rem}.case-tabs{flex-wrap:nowrap;width:100%;overflow:auto}.case-tabs button{padding:6px 7px;font-size:.875rem}.case-context{padding:10px 12px;display:block}.case-tip{margin-top:7px;font-size:.875rem}.plan-panel,.world-panel{padding:13px 12px}.panel-title{margin-bottom:9px}.program-list{min-height:140px;max-height:250px}.empty-plan{height:132px}.workspace-grid{min-height:0}.world-panel{display:block}.world-panel>.panel-title{display:flex}.world-stage{max-width:360px;margin:auto}.grid{width:min(100%,220px)}.prediction-box{margin-top:10px}.workspace-footer{align-items:stretch;padding:10px 12px}.help-row{flex-direction:column;align-items:flex-start;gap:7px}.help-main{padding:6px 7px;font-size:.875rem}.solution-link{padding:0 2px;font-size:.875rem}.run-button{white-space:nowrap;align-self:center;padding:8px 10px}.run-button kbd{display:none}.branch-columns{gap:5px}.branch-column{padding:6px 4px}.branch-action{gap:2px;padding:2px}.branch-action>b{font-size:.875rem}.branch-add{flex-wrap:wrap}.branch-add button{padding:3px;font-size:.875rem}.hint-card,.result-card{margin-left:12px;margin-right:12px}.trace-details li{flex-wrap:wrap;gap:5px}.trace-details li small{width:100%;margin-left:0;padding-left:45px}.future-strip{gap:8px;padding:10px}.future-strip p{font-size:.875rem}.page-foot{gap:8px;font-size:.875rem}.notice{max-width:none;top:52px;left:10px;right:10px}.world-size{font-size:.875rem}}html .app-shell .sidebar .nav-icon{color:#ffe2a1;background:#334b66}html:not([data-theme=dark]) .app-shell .main-area :is(.crumb-sep,.clear-button,.planned-label,.page-foot i){color:#44566d}html:not([data-theme=dark]) .app-shell .tutor-nudge em{color:#70501b}html:not([data-theme=dark]) .app-shell .main-area .assessment-note,html:not([data-theme=dark]) .app-shell .main-area .assessment-note *{color:#44566d}html[data-theme=dark] .app-shell .legend .legend-robot{color:#e5f5ec;background-color:#214034}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.run-button:hover:not(:disabled){transform:none}}.tutor-nudge{color:#748290;align-items:center;gap:8px;margin:-8px 0 18px;padding:0 2px;font-size:.875rem;display:flex}.tutor-nudge b{color:#506b7b}.tutor-nudge em{color:#b28c47;font-style:normal}.tutor-avatar{color:#69a480;background:#eaf4ec;border-radius:7px;flex:none;place-items:center;width:21px;height:21px;font-size:.875rem;display:grid}.assessment-note{color:#6e8073;background:#f3f8f3;border:1px solid #e1ebe1;border-radius:8px;align-items:flex-start;gap:7px;margin:-10px 0 12px;padding:9px 12px;font-size:.875rem;display:flex}.assessment-note span{color:#6fa17e;font-size:.9375rem;line-height:1}@media (width<=680px){.tutor-nudge{margin-top:-5px;margin-bottom:12px;font-size:.875rem}.assessment-note{margin-top:-5px;padding:8px;font-size:.875rem}}.branch-add button:disabled{opacity:.4;cursor:default}.case-tip{flex-wrap:wrap}.copy-pair{color:#59816a;cursor:pointer;white-space:nowrap;background:#eaf4ed;border:0;border-radius:5px;padding:4px 7px;font-size:.875rem}.copy-pair:disabled{opacity:.4;cursor:default}.run-controls{align-items:center;gap:5px;display:flex}.transport-button{color:#617365;cursor:pointer;background:#fff;border:1px solid #e1e6e1;border-radius:7px;padding:8px 9px;font-size:.875rem}.transport-button:disabled{opacity:.4;cursor:default}.transport-button.stop-button{color:#ad695e;border-color:#f0ddd8}@media (width<=680px){.run-controls{gap:3px}.transport-button{padding:7px 6px;font-size:.875rem}}.help-more{align-items:center;gap:10px;display:flex}.help-main:disabled{opacity:.5;cursor:default}@media (width<=680px){.help-more{flex-wrap:wrap;gap:7px}}.app-shell button,.app-shell select{font-size:var(--type-control,16px)}.app-shell small{font-size:var(--type-secondary,14px)}.app-shell :is(input,textarea,select,button){font-size:var(--type-control,16px)}.app-shell :is(small,.crumb,.local-pill,.page-foot,.mission-kicker,.case-tag,.world-caption,.world-size,.add-label,.limit-note,.progress-chip){font-size:var(--type-secondary,14px)}.app-shell :is(.case-tabs button,.add-action,.branch-add button,.repeat-count-label select,.prediction-controls select,.heading-pick button,.copy-pair,.transport-button,.help-main,.solution-link,.run-button){font-size:var(--type-control,16px)}html[data-theme=dark] .app-shell{color:var(--night-text,#edf2f7);background:var(--night-page,#111b28)}html[data-theme=dark] body{background:var(--night-page,#111b28);color:var(--night-text,#edf2f7)}html[data-theme=dark] .app-shell :is(.sidebar,.main-area,.content-wrap){color:var(--night-text,#edf2f7)}html[data-theme=dark] .app-shell :is(.sidebar,.local-card,.nav-item.active){background-color:#101a27}html[data-theme=dark] .app-shell .topbar{border-color:var(--night-line,#405164);background:#1b2938f0}html[data-theme=dark] .app-shell :is(.workbench,.settings-panel,.confirm-modal,.notice,.program-card,.branch-card,.repeat-card,.battery-panel,.guard-then,.guard-else,.battery-values>div,.branch-column,.repeat-action,.prediction-box,.result-card,.hint-card,.feedback-box,.rationale-check,.rationale-options,.trace-details,.help-card,.assessment-note,.future-strip,.mission-meta,.progress-guidance){background-color:var(--night-surface,#1b2938);border-color:var(--night-line,#405164)}html[data-theme=dark] .app-shell :is(.workbench-head,.case-context,.plan-panel,.world-panel,.workspace-footer,.program-list,.empty-plan,.case-tabs,.repeat-guard,.branch-action,.prediction-controls,.case-result,.settings-head,.settings-panel .field-label select,.quiet-toggle,.guard-branches){background-color:var(--night-inset,#152332);border-color:var(--night-line,#405164)}html[data-theme=dark] .app-shell :is(.program-card,.branch-column,.repeat-action,.guard-then,.guard-else,.battery-values>div,.prediction-box,.settings-panel,.confirm-modal,.notice,.help-card,.result-card,.hint-card,.feedback-box,.rationale-check,.rationale-options,.trace-details,.empty-plan,.case-tabs,.assessment-note,.future-strip,.mission-meta,.progress-guidance,.battery-panel,.repeat-guard,.workspace-footer,.case-context,.workbench-head){border-color:var(--night-line,#405164)}html[data-theme=dark] .app-shell :is(h1,h2,h3,h4,p,small,label,b,strong,li,summary,.crumb,.local-pill,.hero-story,.mission-kicker,.progress-chip,.mission-meta,.progress-guidance,.concept,.case-tag,.case-context p,.case-tip,.panel-title,.empty-plan,.action-label,.branch-top,.branch-label,.repeat-heading,.repeat-count-label,.repeat-empty,.future-strip,.page-foot,.tutor-nudge,.assessment-note,.battery-panel,.battery-rule,.battery-values span,.guard-condition-label,.guard-heading,.prediction-required,.settings-panel,.field-label,.save-option,.confirm-modal,.notice,.help-main,.solution-link,.workspace-footer,.trace-details,.rationale-check,.rationale-options,.hint-card,.result-card,.feedback-box),html[data-theme=dark] .app-shell :is(button,input,select,textarea){color:var(--night-text,#edf2f7)}html[data-theme=dark] .app-shell :is(input,select,textarea,.repeat-count-label select,.prediction-controls select,.field-label select){background-color:#101a27;border-color:#53677a}html[data-theme=dark] .app-shell :is(.crumb,.crumb b,.hero-story,.mission-kicker,.progress-chip,.mission-meta,.mission-meta b,.progress-guidance,.progress-guidance b,.concept,.case-tag,.case-context p,.case-tip,.panel-title h3,.step-title h2,.step-title p,.empty-plan,.empty-plan b,.action-label b,.action-label small,.branch-top b,.branch-top small,.branch-label,.repeat-heading b,.repeat-heading small,.repeat-body>b,.repeat-count-label,.repeat-empty,.future-strip b,.future-strip p,.tutor-nudge,.tutor-nudge b,.assessment-note,.battery-panel-title b,.battery-panel-title small,.battery-panel p,.battery-values span,.battery-rule,.guard-heading small,.guard-condition-label,.guard-then>b,.guard-else>b,.guard-else p,.prediction-required,.legend,.legend-wall,.page-foot,.notice,.settings-panel,.confirm-modal,.help-row,.help-card,.trace-details,.rationale-check,.rationale-options,.hint-card,.result-card,.feedback-box,.workspace-footer){color:var(--night-secondary,#c4cfda)}html[data-theme=dark] .app-shell :is(.step-title h2,.case-context p,.action-label b,.branch-top b,.repeat-heading b,.repeat-body>b,.future-strip b,.battery-rule,.guard-then>b,.guard-else>b,.confirm-modal h2,.settings-head b){color:var(--night-text,#edf2f7)}html[data-theme=dark] .app-shell :is(.avatar,.step-count,.case-tabs button,.case-tabs button.chosen,.add-action,.branch-add button,.heading-pick button,.card-tools button,.branch-action button,.clear-button,.copy-pair,.transport-button,.help-main,.solution-link,.run-button,.cancel-button,.confirm-button,.quiet-toggle){border-color:var(--night-line,#405164)}html[data-theme=dark] .app-shell :is(.case-tabs button,.add-action,.branch-add button,.heading-pick button,.card-tools button,.branch-action button,.transport-button,.copy-pair,.cancel-button,.quiet-toggle,.repeat-count-label select,.prediction-controls select){background-color:var(--night-raised,#243548);color:var(--night-text,#edf2f7)}html[data-theme=dark] .app-shell :is(.case-tabs button.chosen,.nav-item.active,.branch-card,.repeat-card,.assessment-note,.battery-panel,.repeat-guard,.guard-then,.guard-else){border-width:2px}html[data-theme=dark] .app-shell :is(.case-tabs button.chosen,.nav-item.active,.choice-selected,.selected,.current){outline:2px solid var(--night-active,#f1c461);outline-offset:1px}html[data-theme=dark] .app-shell :is(.case-tabs button.chosen,.selected,.choice-selected,.current){border:2px solid var(--night-active,#f1c461);color:var(--night-text,#edf2f7);background-color:#344253}html[data-theme=dark] .app-shell :is(.grid-cell,.grid-cell:nth-child(2n)){background-color:#1c3040;border-color:#405769}html[data-theme=dark] .app-shell .grid-cell.start{background-color:#24433b;border:2px solid #72ad8a}html[data-theme=dark] .app-shell .grid-cell.goal{background-color:#4b4129;border:2px solid #a48a4b}html[data-theme=dark] .app-shell .grid-cell.wall{background-color:#354253;background-image:repeating-linear-gradient(135deg,#0000 0 7px,#ebf2f724 7px 9px);border-color:#687b8e}html[data-theme=dark] .app-shell .grid-cell.inspected-path{outline-color:#4ce2d3}html[data-theme=dark] .app-shell .inspected-dot,html[data-theme=dark] .app-shell .legend-path{color:#4ce2d3}html[data-theme=dark] .app-shell .robot-token{color:#f0fbf3;background-color:#2e5a4b;border-color:#b9dec8}html[data-theme=dark] .app-shell .goal-token,html[data-theme=dark] .app-shell .wall-token,html[data-theme=dark] .app-shell .nav-state,html[data-theme=dark] .app-shell .meta-icon,html[data-theme=dark] .app-shell .battery-symbol,html[data-theme=dark] .app-shell .repeat-icon,html[data-theme=dark] .app-shell .tutor-avatar,html[data-theme=dark] .app-shell .branch-icon,html[data-theme=dark] .app-shell .action-icon{color:#f2d28a}html[data-theme=dark] .app-shell :is(.local-dot,.local-pill i,.yes-dot,.legend-robot){color:#bce8cd;background-color:#80cda9}html[data-theme=dark] .app-shell :is(.progress-chip,.assessment-note,.battery-panel,.repeat-card,.repeat-guard,.guard-then,.guard-else,.copy-pair){background-color:#233c37;border-color:#46695d}html[data-theme=dark] .app-shell :is(.progress-chip,.assessment-note,.copy-pair,.battery-panel,.repeat-card,.repeat-guard,.guard-then,.guard-else){color:#d5eadc}html[data-theme=dark] .app-shell :is(.help-main,.help-card,.hint-card,.notice){color:#f3dfae;background-color:#3d3525;border-color:#74613a}html[data-theme=dark] .app-shell :is(.text-danger,.stop-button,.confirm-button,.no-dot){color:#ffd0c8}html[data-theme=dark] .app-shell .modal-backdrop{background:#050b12c7}html[data-theme=dark] .app-shell :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--night-focus,#f2c45c)}html:not([data-theme=dark]) .app-shell .main-area :is(h1,h2,h3,h4,p,small,label,legend,b,strong,li,summary,.crumb,.local-pill,.hero-story,.mission-kicker,.progress-chip,.mission-meta,.concept,.case-tag,.case-context p,.case-tip,.panel-title,.empty-plan,.add-label,.limit-note,.world-size,.world-caption,.compass,.legend,.prediction-title,.prediction-controls,.heading-pick,.help-row,.help-main,.solution-link,.future-strip,.page-foot,.tutor-nudge,.assessment-note,.battery-panel,.battery-rule,.battery-values,.guard-condition-label,.guard-heading,.prediction-required,.settings-panel,.field-label,.save-option,.confirm-modal,.notice,.trace-details,.rationale-check,.rationale-options,.hint-card,.result-card,.feedback-box,.workspace-footer),html:not([data-theme=dark]) .app-shell .main-area :is(.case-tabs button,.add-action,.branch-add button,.heading-pick button,.card-tools button,.branch-action button,.copy-pair,.transport-button,.help-main,.solution-link,.cancel-button,.quiet-toggle,.repeat-count-label select,.prediction-controls select),html:not([data-theme=dark]) .app-shell .main-area :is(.case-tabs button span,.help-main small,.solution-link span,.add-action span,.condition-add span,.legend-robot,.legend-goal,.legend-wall,.compass,.empty-plan .empty-glyph){color:#44566d}html:not([data-theme=dark]) .app-shell .main-area .run-button{color:#fff}html:not([data-theme=dark]) .app-shell .main-area .check-button{color:#205a3d}html:not([data-theme=dark]) .app-shell .main-area .confirm-button{color:#fff}html:not([data-theme=dark]) .app-shell .main-area :is(.text-danger,.transport-button.stop-button,.feedback-box.needs-work b,.result-symbol.failure,.trace-error){color:#8d352d}html:not([data-theme=dark]) .app-shell .main-area :is(.notice,.help-main,.assessment-note,.battery-panel,.battery-requirement,.prediction-required){color:#674a16}html:not([data-theme=dark]) .app-shell .main-area :is(.result-symbol.success,.feedback-box.success,.progress-chip){color:#205a3d}html:not([data-theme=dark]) .app-shell .main-area :is(.nav-icon,.nav-icon.coral,.nav-icon.muted){color:#44566d}html:not([data-theme=dark]) .app-shell .main-area .avatar{color:#704b0c}html:not([data-theme=dark]) .app-shell .main-area .trace-details li:is(.current-step,.current-iteration){border:2px solid #397150}html:not([data-theme=dark]) .app-shell .main-area :is(.step-count,.meta-icon,.branch-icon,.battery-symbol,.prediction-title>span,.goal-token){color:#704b0c}html:not([data-theme=dark]) .app-shell .main-area :is(.action-icon,.repeat-icon,.tutor-avatar,.future-icon,.result-symbol.success){color:#205a3d}html:not([data-theme=dark]) .app-shell .main-area :is(.result-symbol.failure,.case-tip>span:first-child,.text-danger,.stop-button){color:#8d352d}html[data-theme=dark] .app-shell .world-stage{background-color:var(--night-inset,#152332);border-color:var(--night-line,#405164)}html[data-theme=dark] .app-shell :is(.avatar,.nav-icon,.nav-icon.coral,.nav-icon.muted,.empty-plan .empty-glyph,.step-count,.future-icon,.tutor-avatar,.battery-symbol,.repeat-icon,.action-icon,.branch-icon,.result-symbol){color:#f2d28a;background-color:#34465a}html[data-theme=dark] .app-shell :is(.case-tabs button span,.add-action span,.condition-add span,.compass,.legend-robot,.legend-goal,.legend-wall,.help-main small,.solution-link span){color:var(--night-secondary,#c4cfda)}html[data-theme=dark] .app-shell :is(.result-symbol.success,.progress-chip){color:#d1eadc;background-color:#24453a}html[data-theme=dark] .app-shell .result-symbol.failure{color:#ffd0c8;background-color:#50363a}html[data-theme=dark] .app-shell .legend-robot{color:#bce8cd;background:0 0}html[data-theme=dark] .app-shell .legend-goal{color:#f2d28a}html[data-theme=dark] .app-shell .legend-wall{color:#d5e0e9}html[data-theme=dark] .app-shell .battery-values b{color:#f5dda0;background-color:#403821}.nav-item b,.brand strong,.panel-title h3,.step-title h2,.local-card b,.case-context p,.prediction-title b,.action-label b,.branch-top b,.future-strip b{font-size:.9375rem}.nav-item small,.brand small,.local-card small,.step-title p,.action-label small,.branch-top small,.prediction-title small,.hero-story,.case-tip,.case-context p,.rationale-check>p,.rationale-options label,.hint-card p,.feedback-box p,.future-strip p,.settings-panel>p,.field-label,.save-option,.confirm-modal p{font-size:.875rem}.mission-kicker,.case-tag,.world-caption,.world-size,.add-label,.limit-note,.meta-icon,.planned-label,.local-pill,.crumb,.page-foot,.progress-chip{font-size:.8125rem}.case-tabs button,.add-action,.repeat-count-label select,.help-main,.solution-link,.run-button,.transport-button,.clear-button,.reset-run,.check-button,.copy-pair,.confirm-modal button,.card-tools button,.branch-action button,.branch-add button,.remove-branch,.heading-pick button{min-height:44px}.card-tools button,.branch-action button,.heading-pick button,.remove-branch,.repeat-count-label select{min-width:44px}.branch-add button{min-width:44px;padding:6px}.case-tabs{align-items:center;min-height:48px}.prediction-controls select{min-height:44px;font-size:.875rem}.prediction-controls label,.heading-pick{font-size:.8125rem}.run-controls{flex-wrap:wrap}@media (width<=680px){body{font-size:1.125rem}.sidebar .nav-item b{font-size:.875rem}.sidebar .nav-item,.sidebar .brand{min-height:44px}.mission-kicker{font-size:.8125rem}.hero-story{font-size:.875rem}.case-tabs{overscroll-behavior-x:contain;overflow-x:auto}.case-tabs button{flex:none;padding-inline:10px}.branch-action{flex-wrap:wrap}.branch-action>div{flex:1 0 100%;justify-content:flex-end}.branch-action button{width:44px;height:44px}.repeat-count-label select{min-height:44px}.branch-add{flex-wrap:wrap}.branch-add button{min-width:44px;min-height:44px}.card-tools{gap:3px}.card-tools button{width:44px;height:44px}.prediction-controls{flex-wrap:wrap}.prediction-controls label{font-size:.875rem}.heading-pick{min-height:44px}.action-buttons{gap:7px}.add-action{min-height:44px;padding:7px 9px}.workspace-footer{align-items:center}.help-main,.solution-link,.run-button,.transport-button{min-height:44px}.run-controls{justify-content:flex-end}.future-strip p,.case-tip,.settings-panel>p{font-size:.875rem}.page-foot{flex-wrap:wrap;font-size:.8125rem}}.topbar,.workbench-head,.workspace-footer,.help-row,.mission-kicker{flex-wrap:wrap}.topbar{gap:8px 16px}.crumb,.top-actions,.plan-panel,.world-panel{min-width:0}.crumb{flex-wrap:wrap}.branch-action>b{white-space:normal}.battery-panel{background:#fff9e9;border:1px solid #ead79f;border-radius:15px;margin:14px 0;padding:16px}.battery-panel-title{align-items:center;gap:10px;display:flex}.battery-symbol{color:#8c6010;background:#f8e5ae;border-radius:11px;place-items:center;width:38px;height:38px;font-size:1.25rem;display:grid}.battery-panel-title b,.battery-panel-title small{display:block}.battery-panel-title small{color:var(--muted);font-size:.875rem}.battery-panel p{margin:10px 0;font-size:.9375rem}.battery-values{flex-wrap:wrap;gap:9px;display:flex}.battery-values>div{background:#fffefa;border:1px solid #efe8d5;border-radius:10px;flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:min(220px,100%);padding:8px 11px;display:flex}.battery-values span{color:#667286;font-size:.875rem}.battery-values b{background:var(--amber-soft);color:#694709;border-radius:9px;place-items:center;min-width:34px;height:34px;font-size:1.125rem;display:grid}.battery-rule{color:#495872}.battery-rule code,.battery-panel code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95em}.battery-requirement{background:#fff9e9;border-color:#ead79f}.repeat-guard{background:#f6f9fc;border:1px solid #d8e3ed;border-radius:12px;padding:11px}.guard-heading{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.guard-condition-label{align-items:center;gap:7px;font-weight:700;display:flex}.guard-condition-label select,.prediction-controls select{min-height:44px}.guard-heading small{color:var(--muted);flex:180px;font-size:.875rem}.guard-branches{grid-template-columns:1fr 1fr;gap:9px;margin-top:10px;display:grid}.guard-then,.guard-else{background:#fff;border:1px solid #e4e8eb;border-radius:10px;min-width:0;padding:11px}.guard-then>b,.guard-else>b{color:#52647a;letter-spacing:.035em;margin-bottom:7px;font-size:.8125rem;display:block}.guard-else p{color:#667286;margin:0;font-size:.875rem}.guard-then .repeat-add{flex-wrap:wrap}.guard-then .add-action{min-height:44px}.prediction-required{color:#8b5d0b;margin:8px 2px 0;font-size:.875rem;display:block}@media (width<=680px){.guard-branches{grid-template-columns:1fr}.battery-values>div{min-width:100%}}.live-flowchart{min-width:0;margin:16px 0 0}.live-flowchart>summary{cursor:pointer;min-height:48px;padding:12px;font-size:1rem;font-weight:700}.app-shell{display:block}.main-area{width:100%;margin-left:0}.workspace-toolbar{background:#fbfcf9;border-top:1px solid #efeee9;border-bottom:1px solid #efeee9;justify-content:flex-end;align-items:center;min-height:58px;padding:5px 18px;display:flex}.workspace-toolbar .run-controls{margin:0}.workspace-grid{grid-template-columns:minmax(250px,.9fr) minmax(240px,.85fr) minmax(290px,1fr);align-items:stretch;min-height:420px}.plan-panel,.flowchart-column,.world-panel{min-width:0;padding:14px}.plan-panel{border-bottom:0;border-right:1px solid #efeee9}.flowchart-column{border-right:1px solid #efeee9;overflow:hidden}.flowchart-column>.flowchart-panel{background:0 0;border:0;border-radius:0;padding:0}.flowchart-column .flowchart-heading,.flowchart-column .chart-legend{display:none}.flowchart-column .flow-sequence{padding-left:0}.flowchart-column .world-size{white-space:nowrap}.workspace-footer{display:block}@media (width<=1099px){.workspace-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.plan-panel{border-bottom:1px solid #efeee9}.flowchart-column{border-bottom:1px solid #efeee9;border-right:0}.world-panel{grid-column:1/-1;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);gap:0 15px;display:grid}.world-panel>.panel-title{grid-column:1/-1}.world-stage{grid-row:2/span 2}.prediction-box{align-self:start;margin-top:0}}@media (width<=760px){.workspace-toolbar{min-height:54px;padding:5px 10px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.plan-panel,.flowchart-column{border-bottom:1px solid #efeee9;border-right:0}.world-panel{grid-column:auto;display:block}.world-panel>.panel-title{display:flex}.world-stage{grid-row:auto}}html[data-theme=dark] .app-shell .workspace-toolbar,html[data-theme=dark] .app-shell .flowchart-column{background:var(--night-inset,#152332);border-color:var(--night-line,#405164)}html:not([data-theme=dark]) .app-shell .main-area .course-nav .course-brand strong{color:#007d83}html[data-theme=dark] .app-shell .main-area .course-nav .course-brand strong{color:#4ce2d3}.workspace-toolbar{z-index:5;position:sticky;top:0}
