[hidden]{display:none!important}nav [aria-current=page]{color:var(--purple);text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:8px}.learning-shell{padding:32px 5% 60px;max-width:1500px;margin:auto}.learning-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.learning-heading h1{font-size:clamp(2rem,3vw,3rem);margin:0}.learning-heading .label{margin:0 0 10px;font-size:.875rem}.learning-heading p:not(.label){margin:12px 0 0}.level-track,.lab-tabs{display:flex;gap:10px;margin-bottom:24px;flex-wrap:wrap}.level-chip,.lab-tab{flex:1;padding:12px 16px;font-size:.95rem;font-weight:800;color:var(--ink);border:2px solid var(--line);background:#fff;border-radius:14px;min-width:150px;text-align:left}.level-chip.active,.lab-tab.active{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 4px 0 #30224b20}.level-chip.completed:not(.active),.lab-tab.completed:not(.active){background:#fff2be;border-color:var(--yellow)}.quest-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);gap:28px;align-items:start}.quest-scene{border-radius:25px;background:#eafbfd;padding:24px}.mission{display:flex;gap:18px;align-items:center;margin-bottom:22px}.mission .label{font-size:.875rem;letter-spacing:.05em;margin-bottom:7px}.mission h2{font-size:1.65rem;margin:0 0 8px}.mission p:last-child{margin:0;font-size:1rem;line-height:1.5}.avatar{display:inline-block;flex-shrink:0;width:66px;height:66px;border-radius:50%;background-image:url('/assets/home-07.png');background-repeat:no-repeat;background-color:#eafbfd;border:3px solid white;box-shadow:0 2px 5px #30224b25;background-size:550% auto}.avatar.cornell{background-position:65% 63%}.avatar.cori{background-position:44% 82%}.board-wrap{max-width:540px;margin:auto}.game-board{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:5px;background:#acdcdd;border:7px solid white;box-shadow:0 5px 0 #30224b15;border-radius:18px;padding:7px;overflow:hidden}.board-cell{aspect-ratio:1;display:flex;justify-content:center;align-items:center;border-radius:9px;background:#fffef5;font-size:clamp(1.5rem,3vw,2.3rem);line-height:1}.board-cell.tree{background:#d5ebbd;font-size:clamp(1.2rem,3vw,2rem)}.board-cell.puddle{background:#9cdbfa}.board-cell.star{color:#aa5800;background:#fff2be}.board-cell.finish{background:#482777;color:white}.board-cell.visited:not(.finish){background:#efdefe}.board-cell.current{box-shadow:inset 0 0 0 3px var(--purple)}.token.avatar{width:85%;height:85%;border-width:2px;box-shadow:none;aspect-ratio:1}.board-caption{display:flex;justify-content:space-between;gap:15px;margin-top:13px;font-size:.95rem;font-weight:bold}.quest-feedback{padding:14px 17px;margin:20px 0 14px;border-radius:12px;background:white;font-size:1rem;line-height:1.5;min-height:76px;border-left:5px solid #0479a2}.quest-feedback.win{border-color:#4f7b29;background:#edf8e2}.quest-feedback.try{border-color:#b06c11;background:#fff7df}.quest-actions{display:flex;gap:10px;flex-wrap:wrap}.quest-actions .button{font-size:.9rem;padding:10px 14px}.hint-text{padding:16px;background:#fff2be;border-radius:12px;margin:14px 0 0;font-size:.95rem}.program-panel{border:2px solid var(--line);border-radius:25px;padding:24px;background:#fff}.program-panel>h2{font-size:1.6rem;margin-bottom:9px}.builder-instruction{font-size:1rem;margin-bottom:15px}.player-select{display:flex;gap:8px;align-items:center;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line);flex-wrap:wrap;font-size:.9rem;font-weight:800}.player-button{display:flex;align-items:center;gap:6px;background:#f6f3fc;border:2px solid transparent;border-radius:10px;padding:6px 10px;font-size:.9rem;color:var(--ink);font-weight:800}.player-button .avatar{width:33px;height:33px;border-width:1px}.player-button.active{border-color:var(--purple);background:#efe6ff}.command-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.step-tool,.special-tool button,.bag-tools button{padding:10px 14px;background:#edf8fc;border:2px solid #b4dfe9;border-radius:10px;color:var(--ink);font-weight:800;font-size:1rem;min-height:44px}.step-tool:hover,.bag-tools button:hover{border-color:var(--purple);background:#efe6ff}.special-tool{margin-top:12px;background:#fff2be;padding:14px;border-radius:12px}.special-tool label{font-size:.9rem;font-weight:800;display:block;line-height:1.5;margin-bottom:8px}.tool-row{display:flex;gap:7px;flex-wrap:wrap}.special-tool select{background:white;border:1px solid #ad92c6;border-radius:7px;padding:7px;font:inherit;font-size:.9rem;max-width:100%}.special-tool button{background:white;font-size:.9rem;padding:6px 9px;border-color:#d9bb62}.program-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:23px 0 10px}.program-title h3{font-size:1.05rem;margin:0}.program-title>span{font-size:.9rem;color:#685979}.program-list{list-style:decimal inside;margin:0;padding:0;max-height:350px;overflow:auto}.program-block{border:2px solid #d7d1e4;padding:9px 10px;background:#f6f3fc;border-radius:10px;margin:7px 0;font-size:.95rem;font-weight:bold;line-height:1.45;display:flex;align-items:center;gap:8px;counter-increment:steps}.program-list{counter-reset:steps}.program-block:before{content:counter(steps);font-size:.85rem;color:#685979}.program-block.repeat{background:#fff2be}.program-block.if{background:#dff2fb}.program-block.executing{border-color:var(--purple);box-shadow:0 0 0 2px #b89cdf}.command-label{flex:1}.block-controls{display:flex;gap:4px}.block-controls button{width:30px;min-height:35px;background:white;border:1px solid #b6aacb;border-radius:6px;color:var(--ink);font-size:1rem;padding:0}.empty-program{border:2px dashed #d1c6e2;padding:22px;border-radius:12px;font-size:1rem;color:#685979}.run-row{display:flex;align-items:center;gap:12px;margin-top:18px;flex-wrap:wrap}.run-row .button{font-size:1rem;padding:11px 17px}.clear-code{font:inherit;border:0;border-bottom:1px solid var(--purple);color:var(--purple);background:transparent;padding:5px 2px;font-weight:700;min-height:44px}.builder-note{font-size:.9rem;margin:16px 0 0;color:#685979}button:disabled{opacity:.5;cursor:default}button:disabled:hover{transform:none;box-shadow:none}.quest-finished{border:3px solid var(--purple);border-radius:25px;padding:32px;margin:28px 0;background:#fff2be}.quest-finished h2{font-size:2rem}.lab-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.3fr);gap:30px}.lesson-guide{padding:28px;background:#efe6ff;border-radius:25px}.lesson-guide>.avatar{width:85px;height:85px;margin-bottom:20px}.lesson-guide .label{font-size:.875rem;margin-bottom:12px}.lesson-guide h2{font-size:1.8rem}.lab-steps{padding-left:22px;font-weight:700;font-size:1rem}.lab-steps li{margin:12px 0;padding-left:7px}.lab-task{padding:18px;background:white;border-radius:15px;margin:23px 0}.lab-task .label{font-size:.875rem}.lab-task p{margin:8px 0 0;font-weight:700}.lab-hint{background:#fff2be;padding:17px;border-radius:12px;font-size:1rem}.lab-workspace{border:2px solid var(--line);border-radius:25px;padding:28px;min-width:0}.lab-controls label,.control-label{display:block;font-size:1rem;font-weight:800;margin:0 0 10px}.lab-controls input:not([type=range]),.lab-controls select{font:inherit;width:100%;padding:11px;border:2px solid #c4b5d8;border-radius:10px;background:white;color:var(--ink);margin-bottom:20px}.lab-controls input:focus-visible,.lab-controls select:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.code-window{background:#30224b;border-radius:15px;overflow:hidden;margin-top:22px;color:white}.code-window-heading{background:#482777;display:flex;justify-content:space-between;gap:10px;padding:12px 18px;font-size:.875rem;font-weight:bold}.code-window-heading span:last-child{color:#eddefe;font-weight:normal}#lab-code{padding:20px;margin:0;font:1rem/1.7 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;min-height:115px}.lab-run{display:flex;gap:20px;align-items:center;margin:20px 0}.lab-output{border-radius:18px;padding:23px;background:#eafbfd;min-height:190px}.lab-output>.label{font-size:.875rem;margin-bottom:12px}.lab-output p:last-child{margin:15px 0 0}.lab-output .success{font-weight:800;color:#335a1c}.lab-output .try{font-weight:700;color:#714900}.bag-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.bag-list{padding-left:25px;font-size:1rem;margin-bottom:0}.bag-list li{margin:8px 0}.bag-list button{margin-left:15px;border:1px solid #c4b5d8;background:#f6f3fc;border-radius:6px;width:34px;height:34px;color:var(--ink);font-size:1rem}.range-row{display:flex;align-items:center;gap:20px;margin-bottom:15px}.range-row input{flex:1;min-width:100px;accent-color:var(--purple);height:40px}.range-row output{font-weight:800;white-space:nowrap}.weather-test{display:flex;gap:10px;margin-bottom:23px}.weather-test button{padding:11px 18px;background:white;border:2px solid #c4b5d8;border-radius:12px;color:var(--ink);font-weight:800}.weather-test button.active{border-color:var(--purple);background:#fff2be}.weather-progress{font-size:.95rem;font-weight:700;color:#685979}.name-badge{background:white;border:4px solid var(--purple);border-radius:18px;max-width:340px;margin:12px auto 20px;padding:20px;text-align:center}.name-badge .avatar{display:block;margin:0 auto 13px;width:75px;height:75px}.badge-greeting{font-size:.875rem;letter-spacing:.07em;font-weight:800;display:block;color:var(--purple)}.name-badge strong{display:block;font-size:2rem;margin-top:8px;overflow-wrap:anywhere}.packed-bag{padding:20px;background:#fff2be;border-radius:12px;font-size:1.25rem;font-weight:bold;line-height:1.8}.dance-stage{display:flex;align-items:center;gap:25px;padding:15px 0 25px}.dancer.avatar{width:110px;height:110px}.dance-count{font-size:1.35rem;font-weight:800}.dancer.clap{animation:clap .5s}.dancer.jump{animation:jump .5s}.dancer.spin{animation:spin .5s}.weather-result{display:flex;align-items:center;gap:20px;font-size:1.25rem;margin:15px 0}.no-js a{text-decoration:underline}.no-js{padding:20px;background:#fff2be;border-radius:15px}.play-pathways{padding-top:10px}.play-pathways .pathway h3{font-size:1.7rem}.quest-actions [hidden],.lab-output [hidden]{display:none!important}@keyframes clap{50%{transform:scale(1.12)}}@keyframes jump{50%{transform:translateY(-20px)}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1051px){.header nav{gap:18px;font-size:.9rem}.header{gap:22px;padding-left:5%;padding-right:5%}.header .logo{width:145px}.header .logo img{height:98px}}@media(max-width:1050px){.header{flex-wrap:wrap;gap:10px;padding:5px 6%}.header .logo{width:145px}.header .logo img{height:90px}.header .menu{display:block}.header nav{width:100%;justify-content:center;flex-wrap:wrap;padding-bottom:16px;font-size:1rem}.js .header nav{display:none}.js .header nav.open{display:flex}.quest-layout{gap:20px;grid-template-columns:minmax(0,1fr) minmax(290px,.8fr)}.quest-scene,.program-panel{padding:18px}.lab-layout{gap:20px}.lesson-guide,.lab-workspace{padding:22px}}@media(max-width:760px){.learning-shell{padding:25px 5% 45px}.quest-layout,.lab-layout{grid-template-columns:1fr}.quest-scene{padding:20px}.board-wrap{max-width:420px}.program-panel{padding:23px}.program-list{max-height:none}.level-chip,.lab-tab{min-width:125px;font-size:.9rem;padding:11px}.learning-heading{align-items:flex-start}.learning-heading>a{max-width:120px;font-size:.875rem;text-align:right}.mission .avatar{width:55px;height:55px}.board-cell{font-size:2rem}.board-cell.tree{font-size:1.6rem}.lesson-guide .avatar{float:right;width:65px;height:65px;margin-left:15px}.lesson-guide h2{font-size:1.6rem}.lab-steps li{margin:9px 0}.lab-task{margin:17px 0}.mission h2{font-size:1.5rem}.block-controls button{width:38px;min-height:40px}}@media(max-width:420px){.board-caption{font-size:.85rem}.quest-scene{padding:15px}.board-cell{font-size:1.6rem}.board-cell.tree{font-size:1.2rem}.game-board{gap:4px;padding:5px;border-width:5px}.mission{gap:12px}.mission .avatar{width:45px;height:45px}.program-panel,.lab-workspace{padding:18px}.program-block{font-size:.9rem}.block-controls button{width:30px}.weather-test button{padding:10px 15px}.code-window-heading span:last-child{display:none}}@media(prefers-reduced-motion:reduce){.dancer{animation:none!important}}
.world-select{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px;font-size:.95rem;font-weight:700}.world-select select{font:inherit;background:white;border:2px solid #c4b5d8;border-radius:10px;padding:9px;color:var(--ink)}.world-select>span{margin-left:auto;font-size:.9rem;color:#685979}.quest-layout{grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr) minmax(275px,.85fr);gap:20px}.quest-scene{position:sticky;top:20px}.game-code-panel{min-width:0;position:sticky;top:20px}.game-code-panel .code-window{margin-top:0}#game-code{margin:0;padding:15px 0;font: .9rem/1.65 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:650px;overflow:auto}.game-code-line{display:block;padding:0 16px;min-height:1.65em}.game-code-line.executing{background:#76559c;color:#fff2be}.code-explainer{font-size:.9rem;color:#685979;line-height:1.6;margin-top:15px}.special-tool label.inline-check{display:flex;gap:8px;align-items:flex-start;font-weight:700;margin:12px 0 0}.inline-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--purple);margin-top:3px}.special-tool .tool-row+.tool-row{margin-top:10px}.special-tool .tool-row>label{margin:5px 0}.project-layout{display:grid;grid-template-columns:minmax(290px,.8fr) minmax(0,1.3fr);gap:28px;align-items:start}.project-builder{background:#efe6ff;padding:26px;border-radius:25px}.project-builder>.label{font-size:.875rem;letter-spacing:.04em;margin-bottom:12px}.project-builder h2{font-size:1.7rem}.project-builder h3{font-size:1.35rem;margin-bottom:12px}.project-builder>p{font-size:1rem}.project-steps{display:flex;gap:12px;margin:25px 0}.project-steps button{width:44px;height:44px;background:white;color:var(--purple);border:2px solid #c4b5d8;border-radius:50%;font-size:1rem;font-weight:bold}.project-steps button.active{background:var(--purple);color:white;border-color:var(--purple)}.project-fields label{display:block;font-weight:800;font-size:1rem;margin:18px 0 8px}.project-fields input,.project-fields select,.project-fields textarea{font:inherit;width:100%;border:2px solid #c4b5d8;border-radius:10px;background:white;color:var(--ink);padding:11px}.project-fields textarea{resize:vertical;min-height:110px;line-height:1.5}.project-fields input:focus-visible,.project-fields select:focus-visible,.project-fields textarea:focus-visible,#project-code:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.step-navigation{display:flex;justify-content:space-between;gap:15px;margin-top:24px}#project-feedback{margin:18px 0 0;min-height:48px;font-size:1rem}#project-feedback.success{color:#335a1c;font-weight:800}#project-feedback.try{color:#714900;font-weight:700}.project-workbench{min-width:0}.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px;font-size:1.125rem}#project-preview{display:block;width:100%;height:540px;background:#eef8fc;border:3px solid #c4b5d8;border-radius:18px}.preview-note{font-size:.95rem;color:#685979;margin:12px 0 20px}.project-source{background:#30224b;color:white;border-radius:18px;padding:16px;overflow:hidden}.source-toolbar{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.source-tabs{display:flex;gap:8px}.source-tabs button{background:#4f3b6d;color:white;border:2px solid transparent;border-radius:8px;font-size:.9rem;font-weight:800;padding:9px 12px}.source-tabs button.active{background:#ffcf4d;color:#30224b}.source-toolbar .clear-code{color:#fff2be;border-color:#fff2be;font-size:.875rem}.project-source label{font-size:.95rem;font-weight:700;display:block;margin-bottom:10px}#project-code{display:block;width:100%;height:310px;resize:vertical;background:#231836;color:#fff2be;border:1px solid #76559c;border-radius:10px;padding:15px;font: .95rem/1.7 ui-monospace,Consolas,monospace;white-space:pre;overflow:auto}#code-help{font-size:.875rem;line-height:1.6;color:#eddefe;margin:12px 0 0}.project-finish{border:3px solid var(--purple);background:#fff2be;padding:26px;border-radius:20px;margin-top:25px}.project-finish h3{font-size:1.6rem}.project-finish p{font-size:1rem}.project-finish .text-link{display:block;border:0;background:transparent;margin-top:18px;padding:5px 0}.test-checklist{padding-left:23px}.test-checklist li{margin:12px 0}.move-list{padding-left:24px}.move-list li{margin:10px 0;display:flex;align-items:center;gap:7px}.move-list li span{font-size:1rem;font-weight:bold;flex:1;text-transform:capitalize}.move-list button{border:1px solid #ad92c6;background:white;color:var(--ink);width:37px;height:40px;font-size:1rem;border-radius:7px}.program-block.pattern{background:#efe6ff;border-color:#b5a0d0}.program-block.repeat-if{background:#dff2fb;border-color:#a7cedc}@media(max-width:1250px){.quest-layout{grid-template-columns:minmax(0,1.2fr) minmax(315px,.9fr)}.game-code-panel{position:static;grid-column:1/-1}.quest-scene{position:static}#game-code{max-height:450px}}@media(max-width:760px){.quest-layout,.project-layout{grid-template-columns:1fr}.game-code-panel{grid-column:auto}.world-select>span{margin-left:0;width:100%}.world-select label{width:100%}.project-builder{padding:22px}#project-preview{height:520px}.source-tabs button{padding:8px 10px}.project-source{padding:13px}.project-toolbar{font-size:1rem}#project-code{font-size:.9rem}#game-code{font-size:.9rem}.level-chip{min-width:130px}}

.special-tool{min-width:0;margin:14px 0;padding:16px;border:2px solid #ddd1ed;border-radius:16px}.special-tool legend{font-weight:800;padding:0 6px}.tool-fields{display:grid;gap:10px}.tool-fields label{display:grid;gap:5px;font-weight:700}.tool-summary{background:#fff2be;padding:12px;border-radius:10px;line-height:1.5}.code-term{font:inherit;color:inherit;padding:0;background:transparent;border:0;border-bottom:1px dotted currentColor;cursor:help}.code-term:focus-visible{outline:2px solid #ffcf4d}.code-word-help{min-height:3em;padding:12px;background:#f0e8ff;border-radius:10px;line-height:1.5}.python-toolbox{margin:18px 0;padding:14px;border:2px solid #ddd1ed;border-radius:12px}.python-toolbox summary{cursor:pointer;font-weight:800}.python-toolbox li{margin:8px 0}#download-python{margin:10px}

/* Guided Python lessons */
.guided-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 24px}.guided-tab{border:2px solid #c4b5d8;background:white;border-radius:16px;padding:16px;text-align:left;cursor:pointer;color:var(--ink);font:inherit}.guided-tab strong{display:block;font-size:1.05rem}.guided-tab span{display:block;font-size:.875rem;margin-top:5px;color:#685979}.guided-tab.active{background:#fff2be;border-color:var(--purple);box-shadow:0 3px 0 var(--purple)}.guided-lesson-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:22px}.guided-lesson-heading h2{font-size:1.7rem;margin:0 0 6px}.guided-lesson-heading p{font-size:1rem;margin:0}.guided-progress{width:190px;flex-shrink:0;font-weight:800;font-size:.95rem}.guided-progress progress{display:block;width:100%;height:15px;margin-top:10px;accent-color:var(--purple)}.guided-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;align-items:start}.guided-builder{border:2px solid #c4b5d8;border-radius:22px;padding:25px;background:white;min-width:0}.coach-intro{display:flex;gap:14px;align-items:center;border-bottom:1px solid #e4dced;padding-bottom:16px;margin-bottom:19px}.coach-intro .avatar{width:58px;height:58px;flex-shrink:0}.coach-intro p{font-size:.95rem;margin:0}.guided-builder h2{font-size:1.5rem;margin:12px 0}.step-explanation{font-size:1rem;line-height:1.65}.your-turn{background:#fff2be;padding:15px;border-radius:13px;margin:18px 0}.your-turn p{margin:5px 0 0;font-size:1rem;line-height:1.5}.block-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:24px}.block-heading h3{font-size:1.125rem;margin:0}.block-heading button{font-size:.875rem;background:transparent;border:0;padding:6px}.block-instruction{font-size:.95rem;line-height:1.5;margin:10px 0 15px}.step-code{background:#482777;border-left:8px solid #ffcf4d;border-radius:14px;padding:18px 12px;color:white;overflow-x:auto}.python-block-line{display:flex;align-items:flex-end;gap:3px;flex-wrap:wrap;min-height:34px;margin-bottom:8px;position:relative}.python-block-line code{font:1rem/2 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;flex-shrink:1}.python-slot{display:inline-flex;flex-direction:column;gap:4px;max-width:100%;min-width:0}.python-slot label{font:.875rem/1.3 'Trebuchet MS',Arial,sans-serif;color:#f6eaff;padding-top:6px;max-width:270px}.python-slot input,.python-slot select{width:230px;max-width:100%;font:1rem/1.5 ui-monospace,Consolas,monospace;background:#fff8dd;color:#30224b;border:2px solid #ffcf4d;border-radius:8px;padding:8px;min-height:44px}.python-slot input[type=number]{width:90px}.python-slot input:focus-visible,.python-slot select:focus-visible{outline:3px solid #8bdbf1;outline-offset:3px}.slot-help{min-height:3em;background:#eafbfd;padding:12px;border-radius:10px;font-size:.95rem;line-height:1.5;margin:12px 0 18px}.lesson-hint{background:#fff2be;border:2px dashed #9b7400;border-radius:12px;padding:15px;margin:15px 0}.lesson-hint p{font-size:.95rem;margin:0 0 10px}.lesson-hint pre{font:1rem/1.6 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.lesson-feedback{font-size:1rem;min-height:2em;line-height:1.5}.lesson-feedback.success{color:#335a1c;font-weight:800}.lesson-feedback.try{color:#714900;font-weight:800}.step-result{background:#eff9e7;border-left:5px solid #447826;padding:14px;border-radius:10px;font-size:1rem;line-height:1.6}.review-note{font-size:.875rem;color:#685979;margin:15px 0 0}.guided-preview{min-width:0;position:sticky;top:20px}.guided-preview #project-preview{height:400px}.python-label{font-size:.875rem;color:#482777;background:#fff2be;padding:4px 10px;border-radius:8px}.built-source,.lesson-map{border:2px solid #ddd1ed;border-radius:12px;padding:14px;margin:16px 0;background:white}.built-source summary,.lesson-map summary{font-size:1rem;font-weight:800;cursor:pointer}.built-source summary span{display:block;font-size:.875rem;font-weight:400;color:#685979;margin-top:5px}.built-source pre{background:#30224b;color:#fff2be;border-radius:10px;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere;font: .95rem/1.7 ui-monospace,Consolas,monospace;max-height:450px;overflow:auto}.built-source p{font-size:.95rem;line-height:1.5}.guided-step-map{display:grid;gap:7px;margin-top:12px}.guided-step-map button{font:inherit;font-size:.95rem;text-align:left;border:1px solid #c4b5d8;border-radius:8px;padding:10px;background:white;color:#30224b;cursor:pointer}.guided-step-map button[aria-current=step]{background:#fff2be;border-color:#482777;font-weight:800}.guided-step-map button:disabled{color:#7d708d;background:#f4f1f7;cursor:default}.guided-finish{max-width:950px;margin:30px auto 0}.guided-finish h2{font-size:1.65rem}.guided-finish #download-buttons{margin-top:22px;border-top:2px solid #dfc25a;padding-top:12px}.typing-challenge{margin:20px 0;padding:15px;background:white;border-radius:12px}.typing-challenge summary{font-size:1rem;font-weight:800;cursor:pointer}.typing-challenge label{font-size:1rem;display:block;margin:14px 0 10px}#full-python{display:block;width:100%;height:330px;padding:16px;margin-bottom:14px;font:1rem/1.7 ui-monospace,Consolas,monospace;resize:vertical;color:#fff2be;background:#30224b;border:2px solid #76559c;border-radius:10px}.guided-topics{padding-top:12px}.guided-topics h2{font-size:1.5rem}.guided-topics li{margin:12px 0;font-size:1rem}.guided-learning [hidden]{display:none!important}@media(max-width:1050px){.guided-layout{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:18px}.guided-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-builder{padding:20px}}@media(max-width:760px){.guided-layout{grid-template-columns:1fr}.guided-preview{position:static}.guided-lesson-heading{align-items:flex-start;flex-direction:column;gap:13px}.guided-progress{width:100%}.guided-tabs{gap:8px}.guided-tab{padding:12px}.guided-tab strong{font-size:1rem}.guided-preview #project-preview{height:400px}.guided-builder{padding:18px}.block-heading{align-items:flex-start}.python-block-line code{font-size:.95rem}.python-slot input,.python-slot select{width:220px}.python-slot label{max-width:220px}}@media(prefers-reduced-motion:reduce){.guided-learning *{scroll-behavior:auto!important}}

.visual-code{background:#f3edff;color:#30224b;border-left:0;padding:20px}.action-stack{display:grid;gap:5px;margin-bottom:20px}.action-block{background:#482777;color:white;border-radius:12px 12px 12px 4px;padding:13px 16px;font-size:1rem;font-weight:800;border-bottom:4px solid #321d55;letter-spacing:.015em}.inside-action{margin-left:20px;background:#087d96;border-color:#055d70}.visual-slot{margin:20px 0}.visual-slot>label{display:block;font-weight:800;font-size:1.05rem;margin-bottom:10px}.visual-slot>input:not([type=hidden]){width:100%;font:1.05rem/1.5 'Trebuchet MS',Arial,sans-serif;padding:12px;border:2px solid #9475ba;background:white;border-radius:10px;min-height:48px;color:#30224b}.visual-slot>input[type=number]{max-width:120px}.choice-tiles{display:flex;flex-wrap:wrap;gap:10px}.choice-tile{display:flex;justify-content:center;align-items:center;gap:8px;min-height:56px;padding:12px 16px;border:3px solid #bba6d3;background:white;color:#30224b;border-radius:13px;font:1.05rem/1.4 'Trebuchet MS',Arial,sans-serif;font-weight:800;cursor:pointer}.choice-tile[aria-pressed=true]{background:#ffcf4d;border-color:#482777;box-shadow:0 3px 0 #482777}.character-choice{flex-direction:column;min-width:90px}.character-choice .avatar{width:52px;height:52px}.character-choice:last-child{flex-direction:row;flex-wrap:wrap;max-width:160px}.character-choice:last-child>span:last-child{width:100%;text-align:center}.choice-tile:focus-visible{outline:3px solid #0479a2;outline-offset:3px}.small-python{font-size:.9rem;margin:14px 0;color:#685979}.small-python summary{cursor:pointer}.small-python pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#30224b;color:#fff2be;font:1rem/1.6 ui-monospace,Consolas,monospace;padding:15px;border-radius:10px}.listen-heading{display:flex;gap:15px;align-items:center;justify-content:space-between}.guided-builder .step-explanation{font-size:1.1rem;line-height:1.55}.guided-builder .your-turn p{font-size:1.1rem}.slot-help:empty,.block-instruction:empty{display:none}.visual-slot input:focus-visible{outline:3px solid #0479a2;outline-offset:3px}@media(max-width:760px){.visual-code{padding:16px}.choice-tile{flex-grow:1;font-size:1rem}.action-block{font-size:.95rem}.guided-builder .step-explanation{font-size:1.05rem}.listen-heading{align-items:flex-start}}

.guided-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.view-switch{display:flex;gap:8px;flex-wrap:wrap}.view-switch button{flex:1;padding:11px;border:2px solid #bba6d3;border-radius:10px;font:inherit;font-size:.95rem;color:#30224b;background:white;cursor:pointer;font-weight:800}.view-switch button[aria-pressed=true]{border-color:#482777;background:#ffcf4d}.same-code-note{font-size:.9rem;color:#685979;margin:10px 0 14px}.python-slot input{width:160px}.python-slot input[placeholder="Write here"]{width:240px}.guided-preview #project-preview{height:460px}.view-switch button:focus-visible{outline:3px solid #0479a2;outline-offset:3px}@media(max-width:760px){.guided-tabs{grid-template-columns:1fr}.guided-tab{display:flex;align-items:center;justify-content:space-between;gap:10px}.guided-tab span{margin:0}.view-switch{flex-direction:column}.python-slot input[placeholder="Write here"]{width:215px}}


/* Prompts live inside empty blanks; labels remain available to screen readers. */
.python-slot label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0}
.python-slot input{width:230px}.python-slot input::placeholder{font: .75rem/1.5 'Trebuchet MS',Arial,sans-serif;color:#796651;opacity:1}
.guided-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.python-block-line{flex-wrap:nowrap;min-width:max-content}.step-code{overflow:auto}.lesson-hint pre{overflow:auto;white-space:pre}
@media(max-width:1050px){.guided-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.guided-tabs{grid-template-columns:1fr}.python-slot input{width:190px}}

.guided-preview #project-preview.terminal-preview{border:1px solid #444;border-radius:0;background:#0c0c0c}.python-slot input::placeholder{font-size:.8rem}

.earlier-python code{color:#e8dbff}.earlier-python{border-left:2px solid #9477b9;padding-left:8px}.saved-code-note{font-size:.875rem;color:#685979;line-height:1.5}#new-answers{margin-left:8px}
