:root{color:#26334b;--blue:#246ee9;--ink:#26334b;--yellow:#ffcf45;--line:#e3e8ef;background:#f4f6f9;font-family:ui-rounded,Avenir Next,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,a{font:inherit}button{cursor:pointer;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:12px;padding:11px 15px;font-size:12px;font-weight:700;transition:background .15s,transform .15s}button:hover{background:#edf3fc}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #f4af1a}button:disabled{opacity:.4;cursor:default}small{color:#6b7a91;font-size:10px}#app{min-height:100vh;display:flex}.rail{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex-shrink:0;gap:8px;width:110px;padding:19px 8px;display:flex}.bird{background:var(--yellow);color:#26334b;border-radius:17px;place-items:center;width:52px;height:52px;margin:0 auto 3px;font-size:37px;display:grid}.rail>small{text-align:center;letter-spacing:2px;margin-bottom:23px;font-size:9px;font-weight:800}.rail button{text-align:left;color:#617089;background:0 0;border:0;border-radius:12px;padding:16px 8px;font-size:11px}.rail button:hover{background:#f0f4fa}.rail>span{text-align:center;color:#8894a7;margin-top:auto;padding-top:24px;font-size:10px;line-height:1.7}main{flex:1;min-width:0}header{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:10px;min-height:82px;padding:12px 22px;display:flex}.brand{align-items:center;gap:8px;min-width:218px;display:flex}.brand img{object-fit:contain;width:56px;height:54px}.brand b{letter-spacing:-.4px;font-size:17px}.brand small{letter-spacing:1.5px;margin-top:4px;font-size:8px;font-weight:700;display:block}.title{border-left:1px solid var(--line);margin-right:auto;padding-left:19px}.title small{letter-spacing:1px;margin-bottom:5px;font-size:9px;display:block}.connection{text-align:left;color:#28804f;background:#edf8f1;border-color:#d8eddf;padding:9px 12px;font-size:11px}.connection small{color:#527761;margin-top:4px;font-size:8px;display:block}#help,#settings{border-radius:50%;width:38px;height:38px;padding:0;font-size:17px}.primary{background:var(--yellow);border-color:var(--yellow);color:#273044;white-space:nowrap;padding:12px 21px;font-size:13px;box-shadow:0 3px #dda625}.primary:hover{background:#ffd965}.primary:disabled{box-shadow:none}#stop{color:#d44958;background:#fff3f4;border-color:#f7d7dc;padding:12px 14px}.journey{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:20px;padding:14px 22px;display:flex}.journey>div:first-child{min-width:166px}.journey small{letter-spacing:1.2px;margin-bottom:5px;font-size:8px;display:block}.journey b{font-size:11px}.steps{flex:1;justify-content:center;align-items:center;gap:10px;display:flex}.steps button{color:#6f7e95;background:0 0;border:0;border-radius:20px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;display:flex}.steps span{color:#7e8ba0;background:#eff2f7;border-radius:50%;place-items:center;width:24px;height:24px;font-size:10px;display:grid}.steps .current{color:#215fcb;background:#e9f0ff}.steps .current span{background:var(--blue);color:#fff}.steps .done span{color:#23835c;background:#daf3e6}.journey>small{white-space:nowrap}.layout{grid-template-columns:minmax(400px,1fr) 282px;align-items:start;gap:16px;padding:18px;display:grid}.workspace{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px #223a5b08}.panel-head{background:#fff;justify-content:space-between;align-items:center;gap:10px;padding:17px 20px;display:flex}.panel-head small{letter-spacing:1.5px;color:#5382c9;font-size:8px;font-weight:800}h1{letter-spacing:-.7px;margin:7px 0 5px;font-size:20px}p{color:#758399;margin:0;font-size:11px;line-height:1.65}h2{margin:0;font-size:13px;font-weight:800}.panel-head>div:last-child{gap:6px;display:flex}.panel-head button{background:#f7f9fc;padding:9px 11px;font-size:10px}#blockly{border-top:1px solid var(--line);width:100%;height:clamp(340px,100vh - 360px,640px)}.blocklyToolboxDiv{border-right:1px solid #e6e9ef;padding:16px 6px;background:#fff!important}.blocklyTreeRow{border-radius:10px;min-width:115px;margin:5px 4px;height:42px!important;padding:10px 12px!important}.blocklyTreeLabel{font:700 12px system-ui,sans-serif!important}.blocklyTreeIcon{margin-right:5px}.blocklyTreeSelected .blocklyTreeLabel{color:#fff!important}.blocklyFlyoutBackground{fill:#f1f4f9!important;fill-opacity:1!important}.blocklyText{font-weight:650!important}.blocklyScrollbarHandle{fill:#cbd3df}.workspace-foot{border-top:1px solid var(--line);color:#66778f;align-items:center;gap:7px;min-height:44px;padding:6px 17px;font-size:10px;display:flex}.workspace-foot>span{margin-right:auto}.workspace-foot button{border:0;padding:6px 9px;font-size:10px}.lesson{background:#fff9e8;border-top:1px solid #f3e7c4;align-items:center;gap:13px;padding:17px 20px;display:flex}.spark{background:var(--yellow);color:#57420e;border-radius:14px;flex-shrink:0;place-items:center;width:43px;height:43px;font-size:29px;display:grid}.lesson>div:nth-child(2){flex:1}.lesson small{letter-spacing:1.2px;color:#a07d25;font-size:8px;font-weight:800}.lesson h2{margin:6px 0;font-size:15px}.lesson p{color:#827759;font-size:11px}.lesson button{color:#72581b;white-space:nowrap;background:#fff;border-color:#eadcae;font-size:10px}#objectives{flex-wrap:wrap;gap:10px;margin-top:9px;display:flex}#objectives span{color:#8c805d;font-size:9px}.support{flex-direction:column;gap:11px;display:flex}.card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:16px;box-shadow:0 3px 12px #223a5b04}.heading{justify-content:space-between;align-items:center;gap:7px;display:flex}.heading>small:not(.pill){letter-spacing:.6px;font-size:7px}.pill{color:#4475b2;background:#eaf1fc;border-radius:10px;padding:4px 8px;font-size:9px;font-weight:700}.card>svg{width:100%;height:83px;margin:7px 0}.device-summary{justify-content:space-between;padding-bottom:11px;font-size:10px;display:flex}.device-summary>span:first-child{color:#278357}details{border-top:1px solid var(--line);padding-top:11px}summary{cursor:pointer;justify-content:space-between;font-size:11px;font-weight:700;display:flex}summary small{font-size:9px}.port{align-items:center;gap:7px;margin-top:10px;font-size:10px;display:flex}.port>span{white-space:nowrap;width:43px}.port select{border:1px solid var(--line);color:#4c6280;background:#f8faff;border-radius:7px;flex:1;min-width:0;padding:6px;font-size:10px}.hint{margin-top:12px;font-size:9px}.sensor{justify-content:space-between;align-items:center;margin-top:15px;font-size:11px;display:flex}.sensor>b{color:#314b70;font-size:25px}input[type=range]{width:100%;height:20px;accent-color:var(--blue);margin-top:6px}#line{background:#edf2fa;padding:7px 11px;font-size:10px}.outputs{border-top:1px solid var(--line);color:#7c8aa0;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px;padding-top:13px;font-size:10px;display:grid}.outputs b{color:#446180}.outputs i{background:#a5b2c6;border-radius:50%;width:9px;height:9px;margin-left:6px;display:inline-block}#rover{background:#f2f6fc;border-radius:12px;margin:12px 0 9px}#rover svg{width:100%;height:108px}.caption{text-align:center;flex-direction:column;gap:5px;font-size:12px;display:flex}.wide{background:#f7f9fc;width:100%;margin-top:12px;padding:9px;font-size:10px}.trial{color:#355f9e;background:#e9f0ff;border:1px solid #dbe5fa;border-radius:13px;flex-direction:column;gap:6px;padding:13px;text-decoration:none;display:flex}.trial small{font-size:9px}.trial b{font-size:10px}dialog{border:1px solid var(--line);width:calc(100% - 40px);max-width:580px;color:var(--ink);border-radius:20px;padding:32px;box-shadow:0 25px 80px #142e5433}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#16294466}dialog h2{margin:12px 0 18px;font-size:25px}dialog p,dialog li{color:#6d819d;font-size:13px;line-height:1.8}dialog p{margin:15px 0}dialog li{margin:10px 0}dialog svg{width:100%;height:220px}#close{border:0;font-size:25px;position:absolute;top:10px;right:12px}#toast{color:#fff;opacity:0;pointer-events:none;z-index:100;background:#283952;border-radius:12px;padding:13px 22px;font-size:12px;transition:all .2s;position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px)}#toast.show{opacity:1;transform:translate(-50%)}.moving svg{animation:1.2s ease-in-out infinite drive}.beep{filter:drop-shadow(0 0 10px #f5bd55)}@keyframes drive{50%{transform:translate(6px)rotate(1deg)}}@media (width>=901px) and (height<=850px){header{min-height:70px;padding:8px 18px}.brand img{height:47px}.journey{padding:9px 18px}.layout{gap:12px;padding:12px}.panel-head{padding:13px 17px}#blockly{height:clamp(260px,100vh - 400px,430px)}.lesson{padding:12px 16px}.lesson h2{font-size:13px}.lesson p{font-size:10px}.card{padding:12px}.card>svg{height:62px;margin:4px 0}.support{gap:8px}.sensor{margin-top:10px}.outputs{gap:7px;margin-top:9px;padding-top:9px}#rover svg{height:73px}#rover{margin:8px 0}.wide{margin-top:8px;padding:7px}.trial{padding:10px}}@media (width<=1250px){.title{display:none}.connection{margin-left:auto}.journey>div:first-child{display:none}.steps{gap:5px}.steps button{padding:7px 8px}.brand{min-width:195px}.layout{grid-template-columns:minmax(370px,1fr) 260px}.panel-head{flex-wrap:wrap}h1{font-size:18px}.lesson{flex-wrap:wrap}.panel-head>div:last-child{gap:5px}}@media (width<=900px){.rail{width:82px;padding:16px 5px}.rail button{padding:15px 5px;font-size:9px}.brand{min-width:0}.brand b{font-size:14px}.brand small{display:none}header{gap:6px;padding:10px}.connection{font-size:10px}.connection small{display:none}.layout{grid-template-columns:1fr}.support{grid-template-columns:1fr 1fr;display:grid}.steps{justify-content:space-between}.steps button{gap:4px;padding:6px;font-size:10px}.journey{padding:12px 10px}.journey>small{display:none}.primary{padding:11px 16px}.lesson{flex-wrap:nowrap}#blockly{height:460px}.card>svg{height:95px}}@media (width<=600px){.rail{width:57px;padding:15px 3px}.bird{border-radius:12px;width:37px;height:37px;font-size:27px}.rail button{padding:14px 3px;font-size:8px}.rail>small,.rail>span{display:none}.brand img{width:36px;height:40px}.brand b{font-size:10px}.connection,#help,#settings{display:none}header{gap:5px;min-height:64px;padding:8px}.primary,#stop{padding:9px;font-size:9px}.steps button{flex-direction:column;padding:5px 2px;font-size:8px}.steps span{width:23px;height:23px}.layout{gap:8px;padding:8px}.panel-head{padding:14px}.panel-head button{padding:8px;font-size:9px}h1{font-size:17px}#blockly{height:420px}.blocklyTreeRow{min-width:80px;padding:10px 5px!important}.blocklyTreeLabel{font-size:10px!important}.support{grid-template-columns:1fr}.lesson{flex-wrap:wrap;padding:14px}.spark{display:none}#objectives{display:block}#objectives span{margin-top:6px;display:block}.workspace-foot{padding:7px 10px;font-size:8px}.workspace-foot button{font-size:9px}}@media (prefers-reduced-motion:reduce){.moving svg{animation:none}button,#toast{transition:none}}.coding-stage{border-top:1px solid var(--line);min-width:0;display:flex}#blockly{border-top:0;flex:1;min-width:0}#library{border-right:1px solid var(--line);background:#fff;flex-shrink:0;width:142px;max-height:640px;padding:14px 10px;overflow:auto}.library-title{letter-spacing:1px;color:#8794a8;margin:0 3px 12px;font-size:8px;font-weight:800}.block-search{background:#f3f6fb;border:1px solid #e7ebf2;border-radius:9px;align-items:center;gap:4px;padding:7px;display:flex}.block-search span{color:#7d8faa;font-size:18px}.block-search input{color:#3c5274;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:9px}.block-search:focus-within{outline:2px solid #76a9f3}.category-grid{grid-template-columns:1fr 1fr;gap:6px;margin-top:12px;display:grid}.category-grid button{background:#f7f9fc;border:1px solid #0000;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;display:flex}.category-grid button>span{background:var(--category);border-radius:10px;place-items:center;width:30px;height:30px;display:grid}.category-grid small{color:#97a4b7;font-size:7px}.category-grid button.selected-category{background:color-mix(in srgb,var(--category) 10%,white);border-color:var(--category)}.category-grid button:hover{border-color:var(--category);transform:translateY(-1px)}.library-tip{background:#fff9e9;border-radius:9px;margin-top:17px;padding:10px 7px}.library-tip b{color:#91742a;font-size:9px}.library-tip p{color:#9a8b68;margin-top:5px;font-size:8px;line-height:1.65}#block-help{width:100%;margin-top:10px;padding:7px;font-size:8px}.blocklyFlyoutLabelText{fill:#5c6e8b!important;font-size:11px!important;font-weight:700!important}.zoom-tools{background:#f7f9fc;border:1px solid #e6ebf2;border-radius:10px;align-items:center;gap:2px;margin-left:6px;padding:2px;display:flex}.zoom-tools button{min-width:27px;padding:4px 8px;font-size:16px}.zoom-tools output{text-align:center;font-variant-numeric:tabular-nums;color:#71819a;width:37px;font-size:9px}.zoom-tools #zoom-fit{min-width:0;font-size:9px}.icon-guide{grid-template-columns:1fr 1fr;gap:13px;display:grid}.icon-guide>div{align-items:start;gap:10px;display:flex}.icon-guide img{background:#3978d9;border-radius:9px;width:31px;height:31px;padding:5px}.icon-guide p{margin:5px 0 0;font-size:10px;line-height:1.6}@media (width>=901px) and (height<=850px){#library{max-height:430px;padding-top:10px}.library-tip{margin-top:10px}.category-grid{gap:4px}.category-grid button{padding:6px 2px}.category-grid button>span{width:26px;height:26px}.category-grid small{display:none}}@media (width<=1200px){.layout{grid-template-columns:minmax(400px,1fr) 238px}#library{width:125px;padding:12px 7px}.workspace-foot{flex-wrap:wrap}.workspace-foot>span{flex:1;min-width:110px}.library-tip{padding:8px 5px}}@media (width<=900px){.layout{grid-template-columns:1fr}#library{width:135px;max-height:460px}}@media (width<=600px){.coding-stage{flex-direction:column}#library{flex-wrap:wrap;align-items:center;gap:8px;width:100%;max-height:none;padding:8px;display:flex}.library-title,.library-tip,#block-help{display:none}.block-search{width:100%}.category-grid{grid-template-columns:repeat(6,1fr);gap:3px;width:100%;margin:0}.category-grid button{padding:6px 1px}.category-grid small{display:none}.category-grid button>span{border-radius:8px;width:25px;height:25px}.category-grid img{width:18px;height:18px}.category-grid b{font-size:7px}#blockly{flex:none;width:100%;height:420px}.workspace-foot .zoom-tools{margin-left:auto}.icon-guide{grid-template-columns:1fr}}.rail button[data-nav]{text-align:center;flex-direction:column;align-items:center;gap:7px;padding:12px 4px;display:flex}.rail button[data-nav] img{filter:brightness(0)saturate();opacity:.48;width:23px;height:23px}.rail button[data-nav=Code]{color:#617089;box-shadow:none;background:0 0}.rail button[data-nav].nav-active{color:#205cca;background:#e9f0ff;box-shadow:inset 4px 0 #246ee9}.rail button.nav-active img{opacity:.8}.rail #mission-shortcut{background:#fff9e8;border:1px solid #f0e5c5;border-radius:12px;flex-direction:column;align-items:center;gap:6px;margin-top:14px;padding:10px 6px;display:flex}.rail #mission-shortcut>span{letter-spacing:.7px;color:#9b812f;font-size:6px;font-weight:800}.rail #mission-shortcut b{color:#8e7330;font-size:9px}.rail #mission-shortcut small{color:#a38b44;font-size:8px}#mission-progress{accent-color:#eeb72c;width:100%;height:5px}#mission-progress::-webkit-progress-bar{background:#ede4cc;border-radius:5px}#mission-progress::-webkit-progress-value{background:#eeb72c;border-radius:5px}@media (width<=600px){.rail #mission-shortcut{display:none}.rail button[data-nav]{padding:12px 2px;font-size:7px}.rail button[data-nav] img{width:20px;height:20px}}body{font-size:16px}button{min-height:44px;padding:11px 15px;font-size:16px}small{font-size:12px}p{font-size:16px;line-height:1.55}h2,.brand b{font-size:20px}.brand small{font-size:11px}.title b{font-size:16px}.title small{font-size:11px}.connection{font-size:14px}.connection small{font-size:10px}.primary,#stop{min-height:52px;padding:12px 24px;font-size:20px}#help{border-radius:12px;width:auto;min-height:44px;padding:8px 14px;font-size:16px}.rail{gap:10px;width:116px}.rail button[data-nav]{gap:9px;min-height:72px;font-size:16px}.rail button[data-nav] img{width:30px;height:30px}.rail>small,.rail>span{display:none}.rail #mission-shortcut{padding:14px 8px}.rail #mission-shortcut b{font-size:13px}.rail #mission-shortcut small{font-size:12px}.rail #mission-shortcut>span{font-size:9px}.journey>div:first-child,.journey>small{display:none}.steps{justify-content:flex-start;gap:10px}.steps button{min-height:46px;padding:8px 12px;font-size:16px}.steps span{width:30px;height:30px;font-size:14px}.layout{grid-template-columns:minmax(500px,1fr) 300px}.panel-head{padding:18px 20px}.panel-head small{display:none}h1{margin:0 0 8px;font-size:26px}.panel-head p{font-size:16px}.panel-head button{min-height:44px;font-size:15px}.coding-stage #blockly{height:clamp(400px,100vh - 330px,720px)}#library{width:162px;max-height:720px;padding:14px 10px}.library-title{font-size:12px}.category-grid{gap:8px}.category-grid button{min-height:80px;padding:10px 3px}.category-grid button>span{width:36px;height:36px}.category-grid img{width:27px;height:27px}.category-grid b{font-size:14px}.category-grid small{display:none}.block-search{padding:10px}.block-search input{font-size:13px}.library-tip b{font-size:14px}.library-tip p{font-size:12px}#block-help{min-height:44px;font-size:12px}.blocklyFlyoutLabelText{font-size:15px!important}.workspace-foot{min-height:58px;font-size:14px}.workspace-foot button{min-height:40px;font-size:14px}#redo{display:none}.zoom-tools button{min-width:42px;font-size:22px}.zoom-tools output{width:45px;font-size:12px}.zoom-tools #zoom-fit{font-size:14px}.lesson{gap:15px;padding:20px}.lesson h2{font-size:22px}.lesson p{font-size:16px}.lesson small{font-size:12px}.lesson button{background:#ffcf45;border-color:#ffcf45;min-height:48px;font-size:17px}#objectives span{font-size:14px}#objectives{gap:10px}.card{padding:18px}.heading h2{font-size:21px}.heading>small:not(.pill){font-size:10px}.sensor{margin-top:18px;font-size:17px}.sensor>b{font-size:30px}.sensor b small{font-size:14px}#line{padding:12px 16px;font-size:18px}.outputs{gap:12px;font-size:14px}.caption{font-size:18px}.caption small{font-size:13px}#rover svg{height:140px}.wide{min-height:46px;font-size:16px}.pill{font-size:12px}.trial,.device-extra{display:none}.device-extra.show-device{display:block}.device-summary,summary{font-size:15px}.port{font-size:14px}.port select{min-height:40px;font-size:14px}.hint{font-size:13px}#device-details{background:#f5f7fb;min-height:44px;font-size:14px}#more-nav{border:0;padding:0}#more-nav summary{color:#63728a;background:#f4f6fa;border-radius:10px;justify-content:center;align-items:center;min-height:44px;font-size:14px;list-style:none}#more-nav button[data-nav]{width:100%;font-size:12px}.project-tools{border:0;padding:0;position:relative}.project-tools summary{border:1px solid var(--line);white-space:nowrap;background:#f7f9fc;border-radius:12px;align-items:center;min-height:44px;padding:10px 14px;font-size:14px}.project-tools[open]{flex-wrap:wrap;gap:6px;display:flex}.project-tools[open] summary{width:100%}dialog p,dialog li{font-size:17px}dialog button{font-size:16px}.icon-guide b{font-size:17px}.icon-guide p{font-size:14px}.icon-guide img{flex-shrink:0;width:40px;height:40px}@media (width<=1250px){.layout{grid-template-columns:1fr}.support{grid-template-columns:1fr 1fr;display:grid}.device-extra.show-device{grid-column:1/-1}.brand{min-width:0}.connection{margin-left:auto}.panel-head{flex-wrap:wrap}.steps{justify-content:space-between}.lesson{flex-wrap:wrap}#library{max-height:720px}}@media (width<=800px){.connection{display:none}.steps button{gap:5px;padding:7px 5px;font-size:13px}.steps span{width:25px;height:25px;font-size:12px}.brand b{font-size:16px}.primary,#stop{padding:12px;font-size:16px}.rail{width:88px}.rail button[data-nav]{font-size:14px}.layout{padding:10px}h1{font-size:22px}.support{grid-template-columns:1fr}.lesson h2{font-size:21px}.workspace-foot{flex-wrap:wrap}.workspace-foot>span{width:100%}}@media (width<=600px){.rail{width:68px;padding:10px 4px}.rail button[data-nav]{padding:10px 2px;font-size:12px}.rail button[data-nav] img{width:26px;height:26px}#more-nav summary{font-size:12px}.rail #mission-shortcut{display:none}.brand b{font-size:13px}.brand img{width:32px}.primary,#stop{padding:10px;font-size:14px}#help{display:none}.steps{gap:2px}.steps button{flex-direction:column;min-width:0;padding:6px 1px;font-size:11px}.steps span{width:25px;height:25px}.journey{padding:9px 6px}.coding-stage #library{width:100%;max-height:none}.category-grid button{min-height:68px;padding:8px 2px}.category-grid b{font-size:11px}.category-grid button>span{width:30px;height:30px}.category-grid img{width:23px;height:23px}.block-search input{font-size:14px}.coding-stage #blockly{height:480px}.panel-head p{font-size:15px}.panel-head button,.project-tools summary{font-size:13px}.lesson p{font-size:16px}#objectives span{font-size:14px}.zoom-tools button{min-width:40px}.heading h2{font-size:21px}}
