.project-library{max-width:1180px;margin:0 auto;padding:24px;color:#172330}.project-library__header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:24px}.project-library__header h1{margin:0;color:#172330}.project-library__notice,.project-library__new{padding:20px 24px;margin-top:16px;line-height:1.6}.project-library__notice p{margin-bottom:0}.project-library__new summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}.project-library label{display:grid;gap:8px;min-width:0}.project-library input,.project-library select{width:100%;min-width:0;padding:10px 12px;border:1px solid #738291;border-radius:8px;color:#172330;background:#fff;font:inherit;box-sizing:border-box}.project-library input::placeholder{color:#596470;opacity:1}.project-library__new label{margin-top:16px}.project-library__filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;padding:20px 24px;margin-top:16px}.project-library__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}.project-library__card{padding:22px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;overflow-wrap:anywhere}.project-library__card h2{margin-top:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.project-library__card .primary-button{margin-top:auto}.project-library a.primary-button,.project-library a.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #124675;border-radius:10px;color:#fff;background:#124675;text-decoration:none;box-sizing:border-box}.project-library a.secondary-button{background:#fff;color:#172330;border-color:#738291}.project-library a:hover,.project-library a:focus-visible{background:#0e375d;color:#fff;outline:3px solid #124675;outline-offset:2px}.project-library__empty{padding:24px}@media(max-width:600px){.project-library{padding:12px}.project-library__filters{grid-template-columns:1fr}}.account-project-status{max-width:1132px;margin:16px auto;padding:16px 22px}.account-project-status .button-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.project-library__transfer{padding:22px}.project-library__transfer label{display:flex;align-items:center;gap:10px;margin:14px 0}.project-library__transfer input[type=checkbox]{width:22px;height:22px}.project-library__sync{font-weight:600}.project-library__card>.secondary-button{margin-top:10px}.panel.account-project-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:12px auto 0;padding:10px 18px;width:calc(100% - 24px);box-sizing:border-box;background:#fffdf9;color:#172330;border:1px solid #738291;border-radius:12px;line-height:1.5}.panel.account-project-status.account-project-status--sticky{position:sticky;top:0;z-index:60;margin:0 auto 16px;border-radius:0 0 12px 12px;box-shadow:0 4px 16px #1723301f}.account-project-status__message{flex:1 1 320px;min-width:0}.account-project-status p{margin:2px 0;overflow-wrap:anywhere}.account-project-status .button-row{gap:8px 14px}.account-project-status a{color:#124675;text-underline-offset:3px}.account-project-status button,.account-project-status a{min-height:44px;display:inline-flex;align-items:center}.account-project-status a:focus-visible,.account-project-status button:focus-visible{outline:3px solid #124675;outline-offset:2px}.account-project-status__notice{flex-basis:100%}.app-shell.account-session-recovery{max-width:760px;margin:24px auto;padding:16px}.project-route-error{max-width:720px;margin:32px auto;padding:24px;display:grid;gap:14px;line-height:1.6}.project-route-error h1{margin:0;font-size:1.4rem}.project-route-error p{margin:0}.project-route-error .button-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.project-route-error a.primary-button,.project-route-error a.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;text-decoration:none}.account-session-recovery .panel{padding:24px;line-height:1.6}.account-session-recovery a.primary-button{display:inline-flex;align-items:center;min-height:44px;color:#fff;background:#124675;padding:10px 18px;border:1px solid #124675;border-radius:10px}.account-session-recovery details{margin-top:24px}.account-session-recovery summary{cursor:pointer}@media(max-width:600px){.panel.account-project-status{width:calc(100% - 16px);padding:8px 12px;gap:4px;font-size:.9rem}.account-project-status__message{flex-basis:100%}.account-session-recovery .panel{padding:18px}}:root{--selection-yellow: #ffe078;--paper-bg: #f4f1eb;--paper-surface: #fffdf9;--paper-surface-muted: #f7fafc;--paper-border: #d9d2c7;--paper-ink: #172330;--paper-body: #28313b;--paper-muted: #536171;--brand-accent: #124675;--brand-accent-hover: #0e375d;color-scheme:light;color:var(--paper-body);background:var(--paper-bg);font-family:IBM Plex Sans,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;overflow-x:clip;background:var(--paper-bg);color:var(--paper-body)}h1,h2,h3,th{text-wrap:balance}p,figcaption{text-wrap:pretty}canvas{max-width:100%}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--brand-accent);outline-offset:2px}[tabindex="-1"]:focus:not(:focus-visible){outline:none}::placeholder{color:#596470;opacity:1}.skip-link{position:absolute;top:-9999px;left:1rem;z-index:10000;padding:.65rem 1.25rem;background:var(--brand-accent);color:#fff;font-weight:600;font-size:.95rem;text-decoration:none;border-radius:0 0 .5rem .5rem;box-shadow:0 4px 16px #1723303d}.skip-link:focus,.skip-link:focus-visible{top:0;outline:3px solid #ffcc00;outline-offset:2px}.app-shell{min-height:100vh;min-height:100dvh;padding:1rem 1.25rem;color:var(--paper-body);background:var(--paper-bg)}.app-shell--focused{padding:0}.app-shell--focused .masthead{display:none}.site-topnav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1.25rem;width:100%;padding:.7rem clamp(1rem,3vw,2rem);background:#fffdf9;border-bottom:1px solid var(--paper-border);color:var(--paper-ink)}.site-topnav__brand{display:inline-flex;align-items:center;gap:.55rem;font-weight:800;font-size:1.02rem;color:var(--paper-ink);text-decoration:none;white-space:nowrap}.site-topnav__links{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1.1rem}.site-topnav__links a{display:inline-flex;align-items:center;min-height:44px;padding:.2rem .35rem;color:var(--brand-accent);font-weight:600;font-size:.93rem;text-decoration:none;white-space:nowrap}.site-topnav__links a:hover,.site-topnav__links a:focus-visible{text-decoration:underline;text-underline-offset:3px}.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem 1.4rem;margin-top:2rem;padding:1.15rem clamp(1rem,3vw,2rem) 1.5rem;border-top:1px solid var(--paper-border);color:#364958;font-size:.9rem;text-align:center}.site-footer a{color:var(--brand-accent);text-underline-offset:3px}.app-shell--pygame-zero{color:#28313b;background:#f4f1eb}.app-shell--pygame-zero :is(button,input,select,textarea,a,summary,[tabindex]):focus-visible{outline:3px solid #124675;outline-offset:2px}.app-shell--pygame-zero ::placeholder{color:#596470;opacity:1}.app-shell--pygame-zero .panel{border-color:#d9d2c7;background:#fffdf9;box-shadow:0 12px 35px #46372314}.app-shell--pygame-zero .hint,.app-shell--pygame-zero .lede{color:#5b6570}.app-shell--pygame-zero .eyebrow{color:#426d9b}.app-shell--pygame-zero .sidebar{position:sticky;top:1rem;align-self:start;max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto}.app-shell--pygame-zero .pz-tutorial-reader{margin:1.5rem 0}.app-shell--pygame-zero .toolbar-field span,.app-shell--pygame-zero .mode-project-picker span,.app-shell--pygame-zero .stack-header span,.app-shell--pygame-zero .sidebar-course-item span,.app-shell--pygame-zero .sidebar-course-item small,.app-shell--pygame-zero .file-switcher span,.app-shell--pygame-zero .file-list span{color:#536171}.app-shell--pygame-zero .toolbar-field input,.app-shell--pygame-zero .toolbar-field select,.app-shell--pygame-zero .mode-project-picker select,.app-shell--pygame-zero .field input,.app-shell--pygame-zero .field-select,.app-shell--pygame-zero .file-switcher select,.app-shell--pygame-zero .secondary-button{border-color:#738291;background:#fff;color:#172330}.app-shell--pygame-zero .primary-button{border:1px solid #124675;background:#124675;color:#fff}.app-shell--pygame-zero .primary-button:hover,.app-shell--pygame-zero .primary-button:focus-visible{background:#0e375d;border-color:#0e375d;color:#fff}.app-shell--pygame-zero .build-button{border:1px solid #124675;background:#124675;color:#fff}.app-shell--pygame-zero .build-button:hover,.app-shell--pygame-zero .build-button:focus-visible{background:#0e375d;color:#fff}.app-shell--pygame-zero button:disabled{opacity:1;background:#e6eaef;color:#4d5a68;border:1px solid #8e9baa}.app-shell--pygame-zero .secondary-button:hover,.app-shell--pygame-zero .secondary-button:focus-visible{border-color:#1a5c92;background:#e8f3fb;color:#102d47}.app-shell--pygame-zero .sidebar-course-nav,.app-shell--pygame-zero .curriculum-actions{border-color:#c7d1da}.app-shell--pygame-zero .sidebar-course-item button{color:#1e2c38}.app-shell--pygame-zero .sidebar-course-item--school-locked{opacity:1}.app-shell--pygame-zero .sidebar-course-item--school-locked small{color:#7a4100}.app-shell--pygame-zero .sidebar-course-item button:hover,.app-shell--pygame-zero .sidebar-course-item button:focus-visible{border-color:#4c88b5;background:#e8f3fb}.app-shell--pygame-zero .course-lesson-start,.app-shell--pygame-zero .lesson-step,.app-shell--pygame-zero .exit-ticket-step{border-color:#c7d1da;background:#f7fafc}.app-shell--pygame-zero .lesson-step--active{border-color:#4c88b5;background:#e8f3fb}.app-shell--pygame-zero .course-progress-summary,.app-shell--pygame-zero .lesson-step p,.app-shell--pygame-zero .exit-ticket-step strong,.app-shell--pygame-zero .curriculum-exit-ticket{color:#263746}.app-shell--pygame-zero .course-progress-track{background:#d8e1e8}.app-shell--pygame-zero .course-progress-fill{background:#1a6ea8}.app-shell--pygame-zero .feide-panel{background:#f6f2ea;border-color:#cfc6b8}.app-shell--pygame-zero .feide-panel .eyebrow{color:#1b5882}.app-shell--pygame-zero .feide-panel h2{color:#172330}.app-shell--pygame-zero .feide-panel p{color:#28313b}.app-shell--pygame-zero .feide-panel .hint{color:#4a5766}.app-shell--pygame-zero .feide-panel__sync,.app-shell--pygame-zero .teacher-progress-list{border-top-color:#d7cec0}.app-shell--pygame-zero .editor-diagnostic,.app-shell--pygame-zero .preview-guidance,.app-shell--pygame-zero .preview-empty--failed{background:#fff2f0;border-color:#c4493a;color:#5c1610}.app-shell--pygame-zero .editor-diagnostic li,.app-shell--pygame-zero .preview-guidance .hint,.app-shell--pygame-zero .preview-empty--failed .hint,.app-shell--pygame-zero .bad{color:#7a1c14}.app-shell--pygame-zero .preview-fallback-hint,.app-shell--pygame-zero .preview-empty .hint{color:#364554}.app-shell--pygame-zero .preview-guidance pre,.app-shell--pygame-zero .preview-empty details pre{background:#172230;color:#ffd6ce}.app-shell--pygame-zero .image-asset-card{background:#f5f2ec;border-color:#d4cdc2}.app-shell--pygame-zero .image-asset-card code{color:#164972}.app-shell--pygame-zero .image-asset-empty{background:#e8e2d7;color:#3d4b59}.app-shell--pygame-zero .lesson-step-number{color:#fff;background:#1a6ea8}.app-shell--pygame-zero .curriculum-exit-ticket textarea{border-color:#8e9baa;background:#fff;color:#172330}.app-shell--pygame-zero .curriculum-panel--drawer{background:#fffdf9;border-color:#d9d2c7}.app-shell--pygame-zero .curriculum-panel__summary{background:#f7fafc}.app-shell--pygame-zero .curriculum-panel__summary:hover{background:#edf4fa}.app-shell--pygame-zero .curriculum-panel__summary-title{color:#172330}.app-shell--pygame-zero .curriculum-panel__summary-task{color:#536171}.app-shell--pygame-zero .curriculum-panel__toggle-label{color:#1a6ea8;border-color:#c7d1da;background:#fff}.app-shell--pygame-zero .curriculum-panel__summary:hover .curriculum-panel__toggle-label,.app-shell--pygame-zero .curriculum-panel__summary:focus-visible .curriculum-panel__toggle-label{background:#e8f3fb;border-color:#1a6ea8}.app-shell--pygame-zero .curriculum-panel--drawer[open] .curriculum-panel__summary{border-bottom-color:#d9d2c7}.app-shell--pygame-zero .cursor-position{color:#402900;border-color:#d4a742;background:#fff5d9}.app-shell--pygame-zero .preview-inline-hint{color:#536171}.app-shell--pygame-zero .preview-inline-hint kbd{background:#edf2f7;border-color:#cbd5e0;color:#1a202c}.app-shell--pygame-zero .project-folder-empty{color:#536171}.app-shell--pygame-zero .code-editor-shell{border-color:#263241;box-shadow:0 4px 16px #1723301a}.app-shell--pygame-zero .reflection-next-step p.hint{color:#404c57}.app-shell--pygame-zero .preview-guidance{border-color:#e49182;background:#fff2ef;color:#2b1d1a}.app-shell--pygame-zero .preview-guidance .hint{color:#8b2313}.app-shell--pygame-zero .preview-guidance pre{background:#fff;border:1px solid #e8cac4;color:#7a1e0f}.app-shell--pygame-zero .file-list li{background:#f4f7f9}.app-shell--pygame-zero .file-list-button{color:#172330}.app-shell--pygame-zero .file-list-button:hover,.app-shell--pygame-zero .file-list-button--active{color:#14527f}.app-shell--pygame-zero .project-folder{background:#e8f3fb;color:#173b59}.app-shell--pygame-zero .project-folder--nested{background:#f4f7f9}.app-shell--pygame-zero .file-icon{color:#1a6ea8}.app-shell--pygame-zero .preview-actions>span{color:#30475a;font-weight:700}.pz-tutorial-challenges summary{cursor:pointer;font-weight:700}.pz-lesson-list{display:grid;gap:.45rem;margin:.6rem 0 0;padding:0;list-style:none}.pz-lesson-list button{display:grid;gap:.15rem;width:100%;padding:.6rem .7rem;color:#45515c;text-align:left;border:1px solid transparent;border-radius:.55rem;background:transparent;cursor:pointer}.pz-lesson-list button:hover,.pz-lesson-list button:focus-visible{border-color:#9fc2e3;background:#eef6fc}.pz-lesson-list button.is-current{color:#174e80;border-color:#9fc2e3;background:#e3f0fa}.pz-lesson-list span{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.pz-lesson-list strong{line-height:1.25}.pz-tutorial-content{min-width:0;max-width:52rem}.pz-tutorial-content h2{margin:.25rem 0 .5rem;font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.8rem)}.pz-tutorial-lead{max-width:48rem;font-size:1.08rem;line-height:1.7}.pz-tutorial-code{margin:1.5rem 0;overflow:hidden;border:1px solid #263241;border-radius:.75rem;color-scheme:dark;background:#17202b;color:#edf3f8}.pz-tutorial-code__bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .8rem;background:#263544;color:#c7d7e6;font:.8rem IBM Plex Mono,monospace}.pz-tutorial-code pre{margin:0;padding:1rem;overflow-x:auto;font:.88rem/1.6 IBM Plex Mono,monospace}.pz-tutorial-note{margin:1.25rem 0;padding:1rem 1.2rem;border-left:4px solid #e0a83e;background:#fff5d9;line-height:1.6}.pz-tutorial-note p{margin:.35rem 0}.pz-tutorial-challenges{padding-top:1rem;border-top:1px solid #e4ded4;line-height:1.6}.project-folder-empty{margin:.4rem 0 .4rem 1.5rem;color:#8a9299;font-size:.82rem}@media(max-width:760px){.app-shell--pygame-zero .sidebar{position:static;max-height:none}}.panel{padding:1.5rem;border:1px solid var(--paper-border);border-radius:1.5rem;background:var(--paper-surface);color:var(--paper-body);box-shadow:0 12px 35px #46372314}.masthead{width:100%;margin:0 0 1rem}.masthead--compact{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.65rem 1.1rem}.masthead h1{margin:.4rem 0 1rem;max-width:18ch;font-size:clamp(2rem,4vw,3.9rem);line-height:.98}.masthead--compact h1{max-width:24ch;margin-bottom:0;font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.05}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;color:#426d9b}.lede{margin:0;max-width:42rem;color:#536171;line-height:1.6}.masthead--compact .lede{max-width:34rem}.top-editor-menu{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;min-width:0}.toolbar-field{display:grid;gap:.3rem;min-width:8.5rem}.toolbar-field--name{min-width:10.5rem}.toolbar-field span{color:#536171;font-size:.78rem;font-weight:700;text-transform:uppercase}.toolbar-field input,.toolbar-field select{width:100%;min-height:2.5rem;border:1px solid #738291;border-radius:.75rem;padding:.45rem .7rem;background:#fff;color:#172330}.top-editor-menu button{min-height:2.7rem;border-radius:.75rem;padding:.55rem .9rem}.toolbar-upload-button{white-space:nowrap}.mode-dialog::backdrop{background:#0f1722b8}.mode-dialog{margin:auto;width:min(34rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;gap:1rem;padding:1.25rem;border:1px solid #d9d2c7;border-radius:.85rem;background:#fffdf9;color:#172330;box-shadow:0 22px 70px #17233038}.mode-dialog[open]{display:grid}.mode-dialog h2{margin:0}.mode-dialog-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem}.mode-project-picker{display:grid;gap:.35rem}.mode-project-picker span{color:#536171;font-size:.78rem;font-weight:700;text-transform:uppercase}.mode-project-picker select{width:100%;min-height:2.75rem;border:1px solid #738291;border-radius:.75rem;padding:.65rem .8rem;background:#fff;color:#172330}.workspace-grid{display:grid;gap:1rem;width:100%;margin:0;grid-template-columns:minmax(17rem,20rem) minmax(0,1fr)}.workspace-grid--focused{max-width:none;margin:0;grid-template-columns:1fr}.workspace-main{display:grid;gap:1rem;min-width:0}.workspace-top-grid{display:grid;gap:1rem;min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr) minmax(18rem,26rem)}.workspace-top-grid--single{grid-template-columns:1fr}@media(max-width:1400px)and (min-width:1081px){.workspace-grid{grid-template-columns:minmax(15rem,17.5rem) minmax(0,1fr)}.workspace-top-grid{grid-template-columns:minmax(0,1.35fr) minmax(17rem,22rem)}}.workspace-grid--focused .sidebar{display:none}.sidebar,.editor-panel{min-height:calc(100vh - 11rem);min-height:calc(100dvh - 11rem)}.editor-panel,.preview-panel{min-width:0;max-width:100%}.sidebar{display:flex;flex-direction:column;gap:1.25rem}.sidebar-course-nav{display:grid;gap:.7rem;padding-bottom:.25rem;border-bottom:1px solid #c7d1da}.sidebar-course-list{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}.sidebar-course-item button{display:grid;grid-template-columns:2.8rem minmax(0,1fr);gap:.15rem .45rem;align-items:start;width:100%;padding:.55rem .65rem;color:#1e2c38;text-align:left;border:1px solid transparent;border-radius:.6rem;background:transparent;cursor:pointer}.sidebar-course-item button:hover,.sidebar-course-item button:focus-visible{border-color:#4c88b5;background:#e8f3fb}.sidebar-course-item span{grid-column:1;grid-row:1 / span 2}.sidebar-course-item strong{grid-column:2;white-space:normal;overflow-wrap:anywhere;font-size:.92rem;line-height:1.25}.sidebar-course-item small{grid-column:2;text-align:left;line-height:1.2}.sidebar-course-item--school-locked button{opacity:1}.sidebar-course-item--school-locked small{color:#7a4100}.app-shell--pygame-zero .sidebar-course-item--school-locked small{color:#8a4b00}.course-lesson-start{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem;margin:1rem 0;padding:.9rem;border:1px solid #c7d1da;border-radius:.75rem;background:#f7fafc}.course-progress-summary{display:grid;gap:.35rem;min-width:12rem;color:#263746;font-size:.85rem}.course-progress-track{height:.55rem;overflow:hidden;border-radius:999px;background:#d8e1e8}.course-progress-fill{height:100%;border-radius:inherit;background:#1a6ea8;transition:width .35s ease}.lesson-steps{display:grid;gap:.55rem;margin:1rem 0 1.25rem}.lesson-prediction{padding:.75rem .9rem;border-left:3px solid #d4a742;border-radius:0 .5rem .5rem 0;background:#fff5d9;color:#172330}.lesson-step{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.75rem;padding:.75rem .85rem;border:1px solid #c7d1da;border-radius:.7rem;background:#f7fafc}.lesson-step--active{border-color:#4c88b5;background:#e8f3fb}.lesson-step-number{display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:50%;color:#fff;background:#1a6ea8;font-weight:800}.lesson-step p{margin:.2rem 0 0;color:#263746}.workspace-mode-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .85rem;margin-bottom:.45rem}.workspace-mode-bar__buttons{display:inline-flex;flex-wrap:wrap;gap:.4rem}.workspace-mode-bar__buttons button{min-height:44px;padding:.4rem .95rem;border-radius:999px}.workspace-mode-bar__buttons button.secondary-button[aria-pressed=true],.workspace-mode-bar__buttons button[aria-pressed=true]{background:#124675;border-color:#124675;color:#fff}.curriculum-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}.curriculum-panel--drawer{gap:0;padding:0;overflow:hidden;margin-bottom:.5rem}.curriculum-panel__summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.45rem .95rem;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;background:#f7fafc;border-radius:.75rem;transition:background .15s ease}.curriculum-panel__summary::-webkit-details-marker{display:none}.curriculum-panel__summary-content{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;min-width:0}.curriculum-panel__summary-content .eyebrow{margin:0;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase}.curriculum-panel__summary-title{font-size:1.02rem;color:#172330}.curriculum-panel__summary-task{font-size:.88rem;color:#536171}.curriculum-panel__toggle-label{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;color:#124675;white-space:nowrap;padding:.3rem .65rem;border:1px solid #c7d1da;border-radius:.5rem;background:#fff}.curriculum-panel__summary:hover .curriculum-panel__toggle-label,.curriculum-panel__summary:focus-visible .curriculum-panel__toggle-label{background:#e8f3fb;border-color:#124675}.curriculum-panel__summary:focus-visible{outline:3px solid #124675;outline-offset:-2px}.curriculum-panel--drawer[open] .curriculum-panel__summary{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:1px solid #d9d2c7}.curriculum-panel__body{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:1rem;padding:1.15rem}.reflection-next-step{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid #d4a742;border-radius:.75rem;background:#fff8e6;color:#172330}.reflection-next-step p{margin:.25rem 0 0}.reflection-link{flex:0 0 auto;text-decoration:none}.completion-shell{max-width:54rem}.completion-handoff{display:grid;gap:1.25rem;padding:clamp(1.5rem,5vw,3rem)}.completion-handoff h1,.completion-handoff h2,.completion-handoff p{margin:0}.completion-handoff__skills{padding:1rem;border-radius:.75rem;background:#eef6fb;border:1px solid #c7d1da}.completion-handoff__skills ul{display:grid;gap:.45rem;margin:.75rem 0 0;padding-left:1.25rem}.completion-handoff__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.completion-handoff__choices .primary-button{min-height:3.25rem}.curriculum-panel__header{display:flex;align-items:end;justify-content:space-between;gap:1rem}.curriculum-actions{display:grid;gap:1rem;padding-top:1rem;border-top:1px solid #c7d1da}.exit-ticket-step{display:grid;gap:.65rem;padding:.9rem;border:1px solid #c7d1da;border-radius:.75rem;background:#f7fafc}.exit-ticket-step h4,.exit-ticket-step p{margin:0}.exit-ticket-step strong{color:#172330}.exit-ticket-check,.exit-ticket-complete{grid-template-columns:minmax(0,1fr) auto;align-items:center}.curriculum-exit-ticket{display:grid;gap:.75rem;width:100%;margin-block:1.25rem;max-width:48rem;color:#263746;font-weight:700}.curriculum-exit-ticket textarea{box-sizing:border-box;display:block;max-width:100%;width:100%;min-height:7rem;resize:vertical;padding:.8rem;border:1px solid #738291;border-radius:.7rem;background:#fff;color:#172330;font:inherit;line-height:1.45}.curriculum-actions .primary-button,.curriculum-actions .secondary-button{justify-self:start}.sidebar-course-item span,.sidebar-course-item small{color:#536171;font-size:.78rem}.sidebar .stack-header{display:grid;gap:.35rem}.sidebar .stack-header span{justify-self:start}.field{display:grid;gap:.5rem}.field span,.stack-header h2,.editor-panel h2{font-size:.95rem;font-weight:600}.field input,.field-select{width:100%;border:1px solid #738291;border-radius:1rem;background:#fff;color:#172330}.field input{padding:.85rem 1rem}.field-select{padding:.85rem 1rem;color:#172330}.stack{display:grid;gap:.75rem}.share-surface{border-radius:1rem}.stack-header,.editor-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.45rem .75rem}.stack-header h2,.editor-header h2{margin:0}.stack-header span{color:#536171;font-size:.85rem}.file-list,.validation-list{margin:0;padding:0;list-style:none;display:grid;gap:.65rem}.file-list li,.validation-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .95rem;border-radius:1rem;background:#f4f7f9}.file-list strong{font-size:.95rem}.file-list span{color:#536171;font-size:.82rem;text-transform:uppercase}.file-list-button{width:100%;min-height:2.75rem;min-width:0;padding:.55rem .7rem;border-radius:.65rem;background:transparent;color:#172330;text-align:left}.file-list-button:hover,.file-list-button--active{color:#124675}.file-list-button--active strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.18rem}.project-tree{display:grid;gap:.5rem}.project-folder{display:flex;align-items:center;gap:.45rem;min-height:2.35rem;padding:.55rem .65rem;border-radius:.75rem;background:#e8f3fb;color:#173b59}.project-folder--nested{min-height:2rem;margin-left:1rem;background:#f4f7f9}.project-subfolder{display:grid;gap:.45rem}.file-icon{width:1rem;color:#124675;text-align:center}.file-list--tree{padding-left:1rem}.file-list--nested{padding-left:2rem}.file-list--tree li{min-height:2.3rem;padding:.55rem .7rem;border-radius:.65rem}.button-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.75rem}button{border:1px solid #738291;border-radius:999px;padding:.65rem 1rem;background:#fff;color:#172330;font-weight:700;cursor:pointer}button:disabled{opacity:1;background:#e6eaef;color:#4d5a68;border:1px solid #8e9baa;cursor:not-allowed}.primary-button{border:1px solid #124675;background:#124675;color:#fff}.primary-button:hover,.primary-button:focus-visible{background:#0e375d;border-color:#0e375d;color:#fff}.build-button{width:100%;min-height:2.75rem;border:1px solid #124675;background:#124675;color:#fff}.build-button:hover,.build-button:focus-visible{background:#0e375d;border-color:#0e375d;color:#fff}.template-card{display:grid;gap:.85rem;padding:1rem;border-radius:1rem;background:#f7fafc;border:1px solid #c7d1da}.template-summary{margin:0;color:#364554;line-height:1.6}.template-brief{margin:0;color:#172330;line-height:1.6}.template-mission-list{margin:0;padding-left:1.2rem;color:#364554;display:grid;gap:.45rem}.photo-slot-list{display:grid;gap:.85rem}.photo-slot-card{display:grid;gap:.75rem;padding:1rem;border-radius:1rem;background:#f7fafc;border:1px solid #c7d1da}.photo-slot-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.photo-slot-header p{margin:.35rem 0 0;color:#4a5766;line-height:1.5}.photo-slot-header span{flex-shrink:0;max-width:9rem;color:#124675;font-size:.82rem;overflow-wrap:anywhere}.photo-slot-preview,.photo-slot-empty{width:100%;min-height:10rem;border-radius:1rem}.photo-slot-preview{display:block;object-fit:cover;border:1px solid #c7d1da;background:#f4f7f9}.photo-slot-empty{display:flex;align-items:center;justify-content:center;border:1px dashed #8e9baa;background:#f4f7f9;color:#536171}.photo-slot-code{display:block;padding:.8rem .9rem;border-radius:1rem;background:#0a0d14;color:#edf3f8;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.84rem;overflow-wrap:anywhere}.photo-slot-actions{display:grid;gap:.6rem;grid-template-columns:repeat(2,minmax(0,1fr))}.extra-photo-panel{display:grid;gap:.75rem;padding:1rem;border:1px dashed #4c88b5;border-radius:1rem;background:#eef6fb}.extra-photo-panel h3,.extra-photo-panel p{margin:0}.extra-photo-panel h3{font-size:1rem}.extra-photo-list{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}.extra-photo-list li{display:grid;gap:.4rem;padding:.75rem;border-radius:.85rem;background:#fff;border:1px solid #c7d1da}.extra-photo-list strong,.extra-photo-list code{overflow-wrap:anywhere}.extra-photo-list code{color:#124675;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.84rem}.image-asset-list{display:grid;gap:.75rem}.image-asset-card{display:grid;grid-template-columns:4.5rem minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.75rem;border:1px solid #d4cdc2;border-radius:.75rem;background:#f5f2ec}.sidebar .image-asset-card{grid-template-columns:3.5rem minmax(0,1fr)}.sidebar .image-asset-card .image-asset-preview,.sidebar .image-asset-card .image-asset-empty{width:3.5rem;height:3.5rem}.sidebar .image-asset-card button{grid-column:1 / -1;justify-self:start}.image-asset-preview,.image-asset-empty{width:4.5rem;height:4.5rem;border-radius:.6rem}.image-asset-preview{object-fit:cover;border:1px solid #c7d1da}.image-asset-empty{display:grid;place-items:center;background:#e8e2d7;color:#3d4b59}.image-asset-card strong,.image-asset-card code{display:block;overflow-wrap:break-word}.image-asset-card code{margin-top:.25rem;color:#124675;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.84rem}.editor-panel{display:flex;flex-direction:column;gap:.6rem}.editor-header--slim{min-height:2.5rem}.editor-file-title{display:inline-flex;align-items:center;gap:.5rem;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.92rem;font-weight:700;color:#172330;padding:.28rem .65rem;border-radius:.5rem;background:#eef6fb;border:1px solid #c7d1da}.editor-statusbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .75rem;padding:.25rem 0;border-top:1px solid #e4ded4;font-size:.82rem}.editor-statusbar__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .85rem}.editor-statusbar__status{margin:0;color:#536171;font-size:.82rem}.editor-task-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-top:.75rem;border-top:1px solid #8e9baa}.editor-task-actions p{flex:1 1 15rem;margin:0;font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}.editor-panel--focused{background:#fffdf9;color:#172330;position:fixed;top:1rem;right:1rem;bottom:1rem;left:1rem;min-height:auto;z-index:30}.hint{margin:0;color:#536171;line-height:1.55}.editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.file-switcher{display:inline-flex;align-items:center;gap:.4rem;min-width:min(100%,8.5rem)}.file-switcher span{color:#536171;font-size:.72rem;font-weight:700;text-transform:uppercase}.file-switcher select{min-height:2.35rem;border:1px solid #738291;border-radius:.65rem;padding:.35rem .6rem;background:#fff;color:#172330}.cursor-position{display:inline-flex;align-items:center;min-height:1.65rem;margin:0;padding:.15rem .5rem;border:1px solid #d4a742;border-radius:.45rem;background:#fff5d9;color:#402900;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.8rem;font-weight:700}.code-editor-shell{height:calc(100vh - 18rem);height:calc(100dvh - 18rem);min-width:18rem;max-width:100%;min-height:24rem;overflow:hidden;resize:none;border:1px solid #263241;border-radius:.85rem;color-scheme:dark;background:#0a0d14;box-shadow:0 4px 16px #1723301a}.code-editor-shell--loading{display:grid;place-items:center;color:#c7d7e6;font-family:IBM Plex Mono,SFMono-Regular,monospace}.code-editor-shell .cm-editor{height:100%}.code-editor-shell .cm-content{caret-color:#ffd166}.code-editor-shell .cm-focused{outline:none}.code-editor-shell .cm-cursor,.code-editor-shell .cm-dropCursor{width:.7em!important;min-width:.7em!important;border-left:0!important;border-right:0!important;margin-left:0!important;background:#ffd166b8!important;box-shadow:inset 0 0 0 1px #0a0d14,0 0 14px #ffd166!important;mix-blend-mode:normal}.code-editor-shell .cm-activeLine{outline:1px solid rgba(255,209,102,.28)}.code-editor-shell:focus-within{border-color:#124675;box-shadow:0 0 0 3px #1246752e}.editor-load-error{display:grid;gap:.75rem;padding:1rem;border:1px solid #a7452c;border-radius:1rem;background:#fff4ef;color:#742619}.editor-load-error h3,.editor-load-error p{margin:0;color:inherit}.editor-load-error .secondary-button{background:#fff;color:#172330;border-color:#8e9baa}.editor-diagnostic{display:grid;gap:.35rem;padding:.9rem 1rem;border:1px solid #c4493a;border-radius:1rem;background:#fff2f0;color:#5c1610}.editor-diagnostic strong,.editor-diagnostic p{margin:0}.editor-diagnostic ul{display:grid;gap:.3rem;margin:0;padding-left:1.1rem}.editor-diagnostic li{color:#7a1c14;line-height:1.5}.editor-panel--focused .code-editor-shell{height:calc(100vh - 11rem);height:calc(100dvh - 11rem);resize:none}.good{color:#065f46;font-weight:700}.bad{color:#7a1c14;font-weight:700}.stack-header .good{color:#065f46}.stack-header .bad{color:#7a1c14}.secondary-button{background:#fff;color:#172330;border:1px solid #738291}.secondary-button:hover,.secondary-button:focus-visible{border-color:#124675;background:#e8f3fb;color:#0e375d}@keyframes spin{to{transform:rotate(360deg)}}@keyframes editor-caret-pulse{0%,49%{opacity:1}50%,to{opacity:.35}}@media(prefers-reduced-motion:reduce){.code-editor-shell .cm-cursor,.code-editor-shell .cm-dropCursor{animation:none!important}}.hidden-input{display:none}@media(max-width:1200px){.app-shell{padding:1rem}.masthead--compact{display:grid;padding:1.25rem}.top-editor-menu{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}.top-editor-menu>*{width:100%;min-width:0}.toolbar-field--name,.top-editor-menu>*:last-child{grid-column:1 / -1}.workspace-top-grid{grid-template-columns:minmax(0,1fr) minmax(16rem,24rem)}.code-editor-shell{min-width:0}}@media(max-width:640px){.completion-handoff__choices{grid-template-columns:1fr}}@media(max-width:1080px){.workspace-grid{grid-template-columns:1fr}.workspace-main{order:-1}}@media(max-width:900px){.workspace-grid,.workspace-top-grid{grid-template-columns:1fr}.workspace-main{gap:1rem;order:-1}.button-row{grid-template-columns:1fr}.stack-header,.editor-header{flex-direction:column}.editor-actions,.preview-actions{width:100%;flex-direction:column;align-items:stretch}.photo-slot-header{flex-direction:column}.photo-slot-actions,.exit-ticket-check,.exit-ticket-complete{grid-template-columns:1fr}.reflection-next-step{align-items:stretch;flex-direction:column}.reflection-link{text-align:center}.image-asset-card{grid-template-columns:4rem minmax(0,1fr)}.image-asset-card button{grid-column:1 / -1}.code-editor-shell{height:clamp(22rem,58vh,34rem);min-width:0}}@media(max-width:768px){.app-shell{padding:.75rem}.masthead--compact{gap:.75rem;padding:.75rem}.masthead--compact h1{font-size:1.4rem}.top-editor-menu{gap:.5rem}}.lesson-completion-card{display:grid;gap:.85rem;margin-top:1rem;padding:1.1rem 1.25rem;border-radius:.9rem;border:2px solid #047857;background:#ecfdf5;color:#064e3b}.lesson-completion-card strong{font-size:1.05rem;color:#065f46}.lesson-completion-card__actions{display:flex;flex-wrap:wrap;gap:.75rem}.app-shell--pygame-zero .lesson-completion-card{border-color:#047857;background:#ecfdf5;color:#064e3b}.app-shell--pygame-zero .lesson-completion-card strong{color:#065f46}.lesson-check-feedback--passed{color:#065f46;font-weight:700}.app-shell--pygame-zero .lesson-check-feedback--passed{color:#065f46}.shared-pc-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;margin-bottom:1rem;padding:.85rem 1.1rem;border-radius:.85rem;border:1px solid #365e73;background:#eef6fb;color:#172330}.shared-pc-banner__actions{display:flex;flex-wrap:wrap;gap:.6rem}.app-shell--pygame-zero .shared-pc-banner{border-color:#365e73;background:#eef6fb;color:#172330}.status-pill-badge{display:inline-flex;align-items:center;padding:.25rem .65rem;border-radius:999px;font-size:.82rem;font-weight:600;background:#e6eff6;color:#172330;border:1px solid #738291}.app-shell--pygame-zero .status-pill-badge{background:#e6eff6;color:#172330;border-color:#738291}.sidebar-backup-details{border-top:1px solid #cbd5e1;padding-top:.75rem}.sidebar-backup-details summary{cursor:pointer;font-weight:700;min-height:2.5rem;display:flex;align-items:center}.sidebar-backup-details__body{display:grid;gap:.6rem;padding-top:.6rem}.app-shell--pygame-zero .sidebar-backup-details{border-top-color:#cbd5e1}.editor-api-status{margin:.4rem 0 0;padding:.55rem .8rem;border-radius:.65rem;background:#eef6fb;border:1px solid #365e73;color:#172330;font-size:.9rem}.app-shell--pygame-zero .editor-api-status{background:#eef6fb;border-color:#365e73;color:#172330}.python-traceback-details{margin-top:.5rem}.python-traceback-details summary{cursor:pointer;font-weight:600;font-size:.9rem}.python-traceback-details pre{margin:.5rem 0 0;padding:.7rem;border-radius:.6rem;background:#0a0d14;color:#ffd6ce;overflow-x:auto;white-space:pre-wrap;font-size:.84rem}.prompt-dialog-field{display:grid;gap:.45rem}.prompt-dialog-field span{font-weight:700}.prompt-dialog-field input{width:100%;min-height:2.75rem;padding:.6rem .8rem;border-radius:.7rem;border:1px solid #738291;background:#fff;color:#172330}.prompt-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.75rem}.app-shell--pygame-zero .mode-dialog,.app-shell--pygame-zero .prompt-dialog-field input{background:#fff;color:#172330;border-color:#738291}.mobile-workspace-tabs{display:none}@media(min-width:1024px){.app-shell:not(.app-shell--focused){padding-block:.65rem}.masthead--compact{padding:.4rem .9rem;margin-bottom:.45rem}.masthead--compact .eyebrow{display:none}.masthead--compact h1{font-size:1.15rem;white-space:nowrap}.top-editor-menu{gap:.35rem;flex-wrap:nowrap}.top-editor-menu button{min-height:2.2rem;padding:.32rem .6rem;font-size:.82rem;white-space:nowrap}.toolbar-field{display:flex;align-items:center;gap:.3rem;min-width:0}.toolbar-field span{font-size:.7rem}.toolbar-field input,.toolbar-field select{width:auto;max-width:13.5rem;min-height:2.15rem;padding:.25rem .45rem;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toolbar-field--name input{max-width:12.5rem}.curriculum-panel--drawer[open] .curriculum-panel__body{max-height:clamp(18rem,56dvh,36rem);overflow-y:auto;overscroll-behavior:contain}.workspace-grid:not(.workspace-grid--focused){height:calc(100dvh - 11.75rem);min-height:24rem;overflow:hidden}.workspace-grid:not(.workspace-grid--focused)>.sidebar,.workspace-grid:not(.workspace-grid--focused)>.workspace-main,.workspace-grid:not(.workspace-grid--focused) .workspace-top-grid,.workspace-grid:not(.workspace-grid--focused) .editor-panel:not(.editor-panel--focused),.workspace-grid:not(.workspace-grid--focused) .preview-panel{height:100%;min-height:0}.workspace-grid:not(.workspace-grid--focused)>.sidebar,.workspace-grid:not(.workspace-grid--focused) .editor-panel:not(.editor-panel--focused),.workspace-grid:not(.workspace-grid--focused) .preview-panel{padding:.9rem 1.05rem;gap:.45rem}.workspace-grid:not(.workspace-grid--focused)>.sidebar,.workspace-grid:not(.workspace-grid--focused) .preview-panel{overflow-y:auto;overscroll-behavior:contain}.workspace-grid:not(.workspace-grid--focused) .editor-panel:not(.editor-panel--focused){overflow:hidden}.workspace-grid:not(.workspace-grid--focused) .editor-panel:not(.editor-panel--focused) .code-editor-shell{flex:1 1 0;height:auto;min-height:10rem}.workspace-grid:not(.workspace-grid--focused) .editor-api-toolbar{margin-bottom:0;font-size:.8rem}.workspace-grid:not(.workspace-grid--focused) .editor-api-toolbar button{min-height:2rem;padding:.25rem .65rem;font-size:.8rem}.workspace-grid:not(.workspace-grid--focused) .editor-task-actions{padding-top:.45rem;gap:.5rem}}@media(max-width:768px){.mobile-workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;margin-bottom:.65rem}.mobile-workspace-tabs button{min-height:44px;padding:.45rem .5rem;border-radius:.65rem;font-size:.86rem;background:#fff;color:#172330;border:1px solid #738291}.mobile-workspace-tabs button[aria-selected=true]{background:#124675;border-color:#124675;color:#fff}.workspace-grid[data-mobile-tab=code]>.sidebar,.workspace-grid[data-mobile-tab=code] .preview-panel{display:none}.workspace-grid[data-mobile-tab=preview]>.sidebar,.workspace-grid[data-mobile-tab=preview] .editor-panel:not(.editor-panel--focused){display:none}.workspace-grid[data-mobile-tab=sidebar]>.workspace-main{display:none}}.preview-panel{display:grid;align-content:start;gap:1rem;min-width:0;max-width:100%}.preview-panel>*{min-width:0;max-width:100%}.preview-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;gap:.6rem;min-width:0;max-width:100%}.run-profile-field{display:grid;gap:.3rem;flex:1 1 11rem;align-self:flex-start;align-content:start;min-width:0;max-width:100%}.run-profile-field span{color:#536171;font-size:.72rem;font-weight:700;text-transform:uppercase}.run-profile-field select{width:100%;max-width:100%;min-width:0;height:2.75rem;min-height:2.75rem;border:1px solid #738291;border-radius:.75rem;padding:.55rem .75rem;background:#fff;color:#172330;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-import-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;padding:.75rem .9rem;border:1px solid #c27803;border-left:4px solid #c27803;border-radius:.75rem;background:#fff7e6;color:#4a2c00;font-size:.9rem;line-height:1.45}.profile-import-notice strong{display:block;color:#4a2c00}.profile-import-notice p{margin:.2rem 0 0;color:#5c3700;font-size:.85rem}.preview-frame,.preview-empty{width:100%;aspect-ratio:5 / 3;min-height:15rem;border-radius:1rem}.preview-frame{border:1px solid #263241;background:#0a0d14}.preview-stage{position:relative}.preview-stage--stale iframe{opacity:.42;transition:opacity .2s ease}.preview-frame--standby{position:absolute;top:0;right:0;bottom:0;left:0;visibility:hidden;pointer-events:none}.preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;border:1px dashed #738291;background:#f7fafc;color:#172330;text-align:center}.preview-empty--busy{flex-direction:row}.preview-empty--failed{border:1px solid #c4493a;background:#fff2f0;color:#5c1610}.preview-empty .hint{max-width:24rem;color:#364554}.preview-empty--failed .hint{color:#7a1c14;font-weight:500}.preview-empty details{max-width:28rem;width:100%;text-align:left}.preview-empty details summary{color:#124675;cursor:pointer;font-size:.88rem}.preview-empty details pre{margin:.5rem 0 0;padding:.65rem .75rem;color-scheme:dark;background:#172230;border-radius:.5rem;font-size:.84rem;color:#ffd6ce;overflow-x:auto;white-space:pre-wrap}.preview-failure-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:.5rem}.preview-fallback-hint{max-width:26rem;margin:.25rem 0 0;font-size:.88rem;color:#364554;line-height:1.45}.preview-empty--busy:before{width:1rem;height:1rem;margin-right:.75rem;border:2px solid #c7d1da;border-top-color:#124675;border-radius:50%;content:""}@media(prefers-reduced-motion:no-preference){.preview-empty--busy:before{animation:spin .9s linear infinite}}.build-progress{display:grid;gap:.45rem;padding:.8rem .9rem;border:1px solid #c7d1da;border-radius:.75rem;background:#f7fafc}.build-progress-track{height:.7rem;overflow:hidden;border-radius:999px;background:#d8e1e8}.build-progress-fill{height:100%;border-radius:inherit;background:#124675;transition:width .35s ease}.build-progress span{color:#172330;font-size:.88rem;font-weight:700}.python-output{min-width:0;max-width:100%;min-height:12rem;max-height:24rem;margin:0;padding:1rem;overflow:auto;border:1px solid rgba(255,255,255,.12);border-radius:.75rem;color-scheme:dark;background:#0a0d14;color:#d7dde8;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.9rem;line-height:1.55;white-space:pre-wrap}.matplotlib-figures{display:grid;gap:.75rem;min-width:0;width:100%;max-width:100%;overflow:hidden}.matplotlib-figure{display:block;width:100%;max-width:100%;height:auto;box-sizing:border-box;border:1px solid rgba(255,255,255,.14);border-radius:.75rem;background:#fff}.turtle-canvas{width:100%;min-height:18rem;border:1px solid rgba(255,255,255,.12);border-radius:.75rem;background:#f8fafc}.turtle-canvas-background{fill:#f8fafc}.preview-build-button{width:auto;min-width:6.5rem}.preview-inline-hint{max-width:18rem;margin:.35rem 0 0;color:#536171;line-height:1.45}.preview-inline-hint kbd{display:inline-block;padding:.1rem .35rem;font-family:inherit;font-size:.85em;font-weight:600;background:#edf2f7;border:1px solid #cbd5e0;border-radius:.25rem;color:#172330}.preview-guidance{margin:.75rem 0;padding:.85rem 1rem;border:1px solid #c4493a;border-radius:.75rem;background:#fff2ef;color:#2b1d1a}.preview-guidance .hint{color:#8b2313;font-weight:500;margin:0}.preview-guidance pre{margin:.5rem 0 0;padding:.65rem .75rem;background:#fff;border:1px solid #e8cac4;border-radius:.5rem;font-size:.84rem;color:#7a1e0f;overflow-x:auto}.published-card{display:grid;gap:.75rem;padding:1rem;border-radius:1rem;background:#f7fafc;border:1px solid #c7d1da}.published-link{display:block;padding:.85rem 1rem;border-radius:1rem;background:#e8f3fb;border:1px solid #9fc2e3;color:#124675;text-decoration:none;line-height:1.5;overflow-wrap:anywhere}.published-link:hover{border-color:#124675}.publish-receipt{display:grid;gap:1rem}.publish-receipt h3,.publish-receipt p{margin:0}.publish-receipt h3{margin-top:.25rem;font-size:1.2rem;line-height:1.3}.share-surface{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1rem;align-items:center;padding:1rem;border:1px solid #c7d1da;background:#fff}.published-qr{width:8.75rem;height:8.75rem;border-radius:.75rem;background:#fff}.share-copy{display:grid;gap:.75rem;min-width:0}.share-copy strong,.source-receipt strong{display:block;margin-bottom:.25rem}.source-receipt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem;border:1px solid #86c7a7;border-radius:1rem;background:#ecfdf5}.console-empty-cta{display:grid;gap:.75rem;justify-items:start;padding:1.15rem;border:1px dashed #8e9baa;border-radius:.85rem;background:#f7fafc;color:#172330}.console-empty-cta p{margin:0;color:#364554}.matplotlib-figure-card{display:grid;gap:.5rem;justify-items:start}.matplotlib-lightbox::backdrop{background:#0f1722b8}.matplotlib-lightbox{margin:auto;width:min(68rem,calc(100vw - 2rem));max-height:92vh;max-height:92dvh;overflow:auto;gap:.85rem;padding:1.15rem;border-radius:1rem;border:1px solid #d9d2c7;background:#fffdf9;color:#172330}.matplotlib-lightbox[open]{display:grid}.matplotlib-lightbox__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.matplotlib-lightbox img{width:100%;max-height:calc(92dvh - 6.5rem);height:auto;object-fit:contain;border-radius:.5rem;border:1px solid #c7d1da;background:#fff}@media(max-width:900px){.preview-frame,.preview-empty{min-height:22rem}.share-surface,.source-receipt{grid-template-columns:1fr}}.home-shell{min-height:100vh;min-height:100dvh;max-width:1120px;margin:0 auto;color:#172330}a.primary-button,a.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1.15rem;border-radius:999px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}a.primary-button{border:1px solid #124675;background:#124675;color:#fff}a.primary-button:hover,a.primary-button:focus-visible{background:#0e375d;border-color:#0e375d;color:#fff}.home-shell button.secondary-button,a.secondary-button{border:1px solid #738291;background:#fff;color:#172330}.home-shell button.secondary-button:hover,.home-shell button.secondary-button:focus-visible,a.secondary-button:hover,a.secondary-button:focus-visible{border-color:#124675;background:#e8f3fb;color:#0e375d}.home-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem 1.5rem;margin:1.75rem 0 0;padding:1.15rem 0;border-top:1px solid #d9d2c7;color:#364958;text-align:center}.home-footer a{color:#124675}.home-footer a:hover{color:#0e375d}.home-masthead{margin-block:.5rem 2rem;padding:clamp(1.15rem,2.8vw,1.85rem);border:1px solid #d9d2c7;border-radius:1.25rem;background:#fffdf9;box-shadow:0 12px 35px #46372314}.brand-mark{flex:none;margin-inline-end:.65rem;vertical-align:middle;border-radius:.25rem}.home-brand-block{display:grid;gap:.45rem;max-width:58ch}.home-brand{display:flex;align-items:center;margin:0;font-size:clamp(1.75rem,4vw,2.55rem);letter-spacing:-.035em;color:#172330}.home-lede{margin:0;color:#364554;font-size:clamp(1rem,1.5vw,1.12rem);line-height:1.5}.home-intro{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem 1.5rem}.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.home-highlights{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}.home-highlights li{display:inline-flex;align-items:center;padding:.35rem .78rem;border:1px solid #9fc2e3;border-radius:999px;background:#eef6fb;color:#124675;font-size:.85rem;font-weight:600}.home-pilot-note{margin-top:1rem}.home-course-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.15rem;padding-top:1rem;border-top:1px solid #e4ded4}.home-course-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.45rem .95rem;border:1px solid #738291;border-radius:999px;background:#fff;color:#172330;font-size:.92rem;font-weight:600;text-decoration:none;transition:background .15s ease,border-color .15s ease,color .15s ease}.home-course-nav a:hover,.home-course-nav a:focus-visible{border-color:#124675;background:#e8f3fb;color:#0e375d}.home-catalog{display:grid;gap:clamp(2rem,4vw,2.85rem)}.home-catalog-section__head{margin-bottom:.95rem}.home-catalog-section h2{margin:0;scroll-margin-top:1rem;font-size:clamp(1.35rem,2.6vw,1.8rem);color:#172330}.home-catalog-section h2:focus-visible{outline:3px solid #124675;outline-offset:.2rem}.home-catalog-section__subtitle{margin:.3rem 0 0;color:#4a5766;font-size:.96rem;line-height:1.45}.home-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.95rem;align-items:stretch}.home-catalog-grid--three{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.home-catalog-grid>.home-track:only-child,.home-catalog-grid__wide{grid-column:1 / -1}.home-track{min-width:0;padding:1.05rem 1.1rem;border:1px solid #d9d2c7;border-top:4px solid #738291;border-radius:.95rem;background:#fffdf9;box-shadow:0 8px 24px #4637230d}.home-track--pygame-zero{border-top-color:#0f766e}.home-track--pygame{border-top-color:#124675}.home-track--arcade{border-top-color:#b45309}.home-track--microbit{border-top-color:#5b21b6}.home-track h3{margin:0 0 .7rem;padding-inline:.15rem;font-size:1.08rem;color:#0f524c}.home-track--pygame h3{color:#124675}.home-track--arcade h3{color:#92400e}.home-track--microbit h3{color:#4c1d95}.home-track__note{margin:.85rem 0 0;padding-inline:.15rem;color:#4a5766;font-size:.86rem;line-height:1.45}.home-track__courses{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}.course-card{position:relative;display:flex;flex-direction:column;gap:.25rem;width:100%;padding:.9rem 2.4rem .9rem 1rem;border:1px solid #c9d2dc;border-radius:.8rem;background:#fffdf9;color:#172330;text-align:left;text-decoration:none;font-weight:400;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}.course-card:hover,.course-card:focus-visible{border-color:#124675;background:#eef6fb;transform:translateY(-1px)}.course-card strong{font-size:1.06rem;line-height:1.3;color:#172330}.course-card span{color:#364554;font-size:.91rem;line-height:1.4}.course-card .course-card__kicker{color:#8a4b00;font-size:.79rem;font-weight:700;letter-spacing:.01em}.course-card .course-card__detail{color:#4a5766;font-size:.79rem}.course-card .course-card__arrow{position:absolute;top:.9rem;right:.85rem;color:#124675;font-size:1.05rem;transition:transform .15s ease}.course-card:hover .course-card__arrow{transform:translate(2px)}.home-track .course-card{border:1px solid transparent;border-bottom-color:#e4ded4;border-radius:.55rem;background:transparent;padding:.72rem 2.25rem .72rem .65rem}.home-track .course-card:hover,.home-track .course-card:focus-visible{border-color:#4c88b5;background:#eef6fb;transform:none}.home-ideas summary{padding:.25rem;color:#124675;font-weight:650;cursor:pointer}.home-ideas[open] summary{margin-bottom:.65rem}.home-sources{margin-top:1.5rem;color:#364554}.home-sources summary{width:fit-content;padding-block:.5rem;cursor:pointer}.home-ideas summary:focus-visible,.home-sources summary:focus-visible{outline:3px solid #124675;outline-offset:2px}@media(max-width:720px){.home-intro{align-items:flex-start;flex-direction:column}.home-actions{width:100%}.home-course-nav{display:grid;gap:.45rem;grid-template-columns:repeat(2,minmax(0,1fr))}.home-course-nav a{justify-content:center}.home-catalog-grid,.home-catalog-grid--three{grid-template-columns:1fr}}.pz-introduction{padding:1.25rem;margin-bottom:1.5rem;border-left:4px solid #e4a26d;border-radius:.5rem;background:#fff6e8}.pz-introduction h2{margin-top:.2rem}.pz-tutorial-code__actions{display:flex;align-items:center;gap:.75rem}.pz-build-status{max-width:24rem;color:#d8e5ef;font-size:.78rem}.pz-inline-preview{margin:1.25rem 0;padding:1rem;border:1px solid #d8d1c3;border-radius:.75rem;background:#fffdf8}.pz-inline-preview__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.pz-inline-preview__header h3{margin:.15rem 0 .5rem}.pz-inline-preview .preview-frame{min-height:22rem}.pz-inline-preview .build-progress{margin:.75rem 0 0}@media(max-width:720px){.pz-tutorial-code__actions{align-items:flex-end;flex-direction:column;gap:.35rem}.pz-build-status{text-align:right}}.storage-alert-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.25rem;border-radius:.75rem;background:#ef444426;border:1px solid rgba(239,68,68,.45);color:#fee2e2;margin-bottom:1rem}.app-shell--pygame-zero .storage-alert-banner{background:#fef2f2;border-color:#f87171;color:#991b1b}.storage-alert-icon{font-size:1.35rem;line-height:1;flex-shrink:0}.storage-alert-content{flex:1;font-size:.95rem;line-height:1.4}.storage-alert-content strong{font-weight:600;margin-right:.35rem}.storage-alert-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0}.sidebar-course-actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.75rem}.course-action-button{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .5rem;font-size:.78rem;font-weight:600;border-radius:.5rem;border:1px solid rgba(255,255,255,.18);background:#ffffff14;color:inherit;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}.course-action-button:hover,.course-action-button:focus-visible{background:#ffffff2e;border-color:#ffffff59}.app-shell--pygame-zero .course-action-button{background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}.app-shell--pygame-zero .course-action-button:hover,.app-shell--pygame-zero .course-action-button:focus-visible{background:#e2e8f0;border-color:#94a3b8}.home-backup-card{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin-top:1.5rem;padding:1.25rem 1.5rem;border-radius:1rem;border:1px solid #d9d2c7;background:#fffdf9;color:#172330}.home-backup-card__text{display:flex;flex-direction:column;gap:.25rem}.home-backup-card__text strong{font-size:1rem;color:#172330}.home-backup-card__text span{font-size:.9rem;color:#4a5766}.feide-panel{display:grid;gap:1rem;margin:2.25rem 0 1rem;padding:1.25rem 1.5rem;background:#f6f2ea;border-color:#cfc6b8;box-shadow:none}.feide-panel .eyebrow{margin:0 0 .2rem;color:#124675;font-size:.76rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.feide-panel h2{font-size:1.12rem;color:#172330}.feide-panel p{color:#28313b}.feide-panel .hint{margin:0;color:#4a5766;font-size:.9rem}.feide-panel__intro{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.feide-panel__intro h2,.teacher-progress-list h3{margin:.2rem 0 .45rem}.feide-panel__intro p:not(.eyebrow),.feide-panel__sync p{max-width:72ch;margin-bottom:0}.feide-panel__sync{padding-top:.9rem;border-top:1px solid #d7cec0}.feide-consent{display:flex;align-items:flex-start;gap:.75rem;max-width:80ch;cursor:pointer}.feide-consent input{flex:0 0 auto;width:1.15rem;height:1.15rem;margin-top:.2rem;accent-color:#124675}.teacher-progress-list{padding-top:.9rem;border-top:1px solid #d7cec0}.teacher-progress-list section{margin-top:.85rem}.teacher-progress-list h4{margin:.5rem 0}.teacher-progress-list ul{margin-top:.35rem}@media(max-width:720px){.storage-alert-banner{flex-direction:column;align-items:flex-start;gap:.75rem}.home-backup-card{flex-direction:column;align-items:flex-start}.feide-panel__intro,.school-code-bar{align-items:flex-start;flex-direction:column}.school-code-bar__controls,.school-code-form__row{width:100%;flex-wrap:wrap}.school-code-form__row input{min-width:0;flex:1 1 10rem}}.school-code-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.5rem;margin-bottom:1.75rem;padding:1rem 1.25rem;border-color:#9fc2e3;background:#eef6fb;color:#172330;box-shadow:none}.school-code-bar--unlocked{border-color:#86c7a7;background:#ecfdf5}.school-code-bar__intro{display:grid;gap:.25rem;max-width:46ch}.school-code-bar__intro strong{color:#172330;font-size:1.02rem}.school-code-bar__intro p,.school-code-bar__status p{margin:0;color:#364554;font-size:.9rem;line-height:1.45}.school-code-bar__status strong{color:#065f46}.school-code-bar__controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.65rem}.school-code-form{display:grid;gap:.45rem}.school-code-form--compact{gap:.25rem}.school-code-form__label{color:#364554;font-size:.78rem;font-weight:700}.school-code-form--compact .school-code-form__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.school-code-form__row{display:flex;align-items:center;gap:.55rem}.school-code-form__row input{min-height:44px;min-width:12.5rem;padding:.5rem .85rem;border:1px solid #738291;border-radius:.65rem;background:#fff;color:#172330;font-weight:600;letter-spacing:.03em}.school-code-form__row input::placeholder{color:#596470;font-weight:400;letter-spacing:normal}.school-code-form__error{margin:0;color:#7a1c14;font-size:.88rem;font-weight:600}.school-code-modal::backdrop{background:#0f1722b3}.school-code-modal{margin:auto;max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto}.school-code-modal[open],.school-code-gate-card{display:grid}.school-code-modal,.school-code-gate-card{width:min(34rem,calc(100vw - 2rem));gap:.9rem;color:#172330;background:#fffdf9;border-color:#d9d2c7}.school-code-gate-card{margin:2rem auto}.school-code-modal h2,.school-code-gate-card h1{margin:0;color:#172330;font-size:1.35rem}.school-code-modal p,.school-code-gate-card p{margin:0;color:#364554;line-height:1.5}.school-code-modal .school-code-form__error,.school-code-gate-card .school-code-form__error{color:#7a1c14;font-weight:600}.school-code-modal__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.school-code-modal__close{min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.35rem;line-height:1}.school-code-modal__note a{color:#124675}.school-code-modal__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem}.course-card .course-card__badge{align-self:flex-start;margin-top:.25rem;padding:.2rem .55rem;border:1px solid #d4a742;border-radius:999px;background:#fff5d9;color:#402900;font-size:.75rem;font-weight:600}.home-topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;padding:.55rem 0 .85rem;margin-bottom:.5rem;border-bottom:1px solid #e4ded4}.home-topbar__brand{display:inline-flex;align-items:center;gap:.55rem}.home-topbar__name{font-size:1.08rem;font-weight:800;letter-spacing:-.02em;color:#172330}.home-topbar__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}.home-topbar__btn,.home-topbar__code-trigger{min-height:40px;padding:.45rem .85rem;font-size:.88rem}.home-topbar__school-wrap{position:relative}.home-topbar__code-popover{position:fixed;inset:4.5rem 1rem auto auto;margin:0;width:min(23rem,calc(100vw - 2rem));gap:.5rem;padding:.85rem;border:1px solid #9fc2e3;border-radius:.85rem;background:#fffdf9;box-shadow:0 14px 32px #17233029}.home-topbar__code-popover:popover-open{display:grid}@supports (position-area: block-end span-inline-start){.home-topbar__code-popover{inset:auto;position-area:block-end span-inline-start;position-try-fallbacks:flip-block,flip-inline;margin:.45rem 0 0}}.home-topbar__popover-link{font-size:.84rem;font-weight:600;color:#124675}.home-topbar__school-unlocked{display:inline-flex;align-items:center;gap:.45rem;padding:.28rem .7rem;border:1px solid #86c7a7;border-radius:999px;background:#ecfdf5;color:#065f46;font-size:.84rem;font-weight:700}.home-topbar__link-btn{border:none;background:transparent;color:#124675;font-weight:700;text-decoration:underline;cursor:pointer;padding:.15rem .25rem}.home-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:1.25rem 1.75rem;align-items:center;margin-block:.65rem 1.75rem;padding:clamp(1.15rem,2.2vw,1.65rem)}.home-hero__copy{display:grid;gap:.7rem;align-content:center}.home-hero__eyebrow{margin:0;color:#124675;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.home-hero .home-brand{font-size:clamp(1.55rem,2.8vw,2.15rem);line-height:1.14}.home-hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.15rem}.home-hero__primary-btn{min-height:46px;padding:.7rem 1.25rem;font-size:1rem}.home-hero__trust{margin:0;font-size:.86rem;line-height:1.45;color:#4a5766}.home-mini-sandbox{display:grid;gap:.65rem;padding:.95rem 1rem;border:1px solid #2b3c4e;border-radius:.95rem;background:#14202e;color:#f4f7fa;box-shadow:0 10px 26px #111d2b24}.home-mini-sandbox__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem}.home-mini-sandbox__pill{padding:.18rem .6rem;border-radius:999px;background:#38bdf82e;color:#bae6fd;font-size:.75rem;font-weight:700}.home-mini-sandbox__timing{font-size:.78rem;color:#cbd5e1}.home-mini-sandbox__code{margin:0;padding:.68rem .8rem;border-radius:.65rem;background:#0d1620;border:1px solid #26384b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.84rem;line-height:1.45;color:#e2e8f0;overflow-x:auto}.home-mini-sandbox__controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.home-mini-sandbox__name-field{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;color:#cbd5e1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.home-mini-sandbox__name-field input{width:6.2rem;min-height:36px;padding:.25rem .5rem;border:1px solid #475d73;border-radius:.45rem;background:#0d1620;color:#fff;font:inherit}.home-mini-sandbox__stepper{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .45rem;border:1px solid #32465b;border-radius:.5rem;background:#1a293a;font-size:.8rem;color:#e2e8f0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.home-mini-sandbox__step-btns{display:inline-flex;gap:.2rem}.home-mini-sandbox__step-btns button{min-width:30px;min-height:30px;border:1px solid #4c6680;border-radius:.4rem;background:#23384d;color:#fff;font-weight:700;cursor:pointer}.home-mini-sandbox__step-btns button:disabled{opacity:.45;cursor:not-allowed}.home-mini-sandbox__footer{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.home-mini-sandbox__run{min-height:40px;padding:.45rem .95rem;border-radius:999px;background:#22c55e;border-color:#22c55e;color:#062814;font-weight:800}.home-mini-sandbox__run:hover,.home-mini-sandbox__run:focus-visible{background:#4ade80;border-color:#4ade80;color:#062814}.home-mini-sandbox__output{flex:1 1 12rem;display:grid;gap:.15rem;padding:.45rem .7rem;border-radius:.55rem;background:#0d1620;border:1px solid #2b3f54}.home-mini-sandbox__console{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem;color:#86efac}.home-mini-sandbox__stars{font-size:.85rem;color:#ffd166;letter-spacing:.08em}.home-level-switcher{margin-bottom:1.9rem;padding:clamp(1rem,2.2vw,1.35rem);border:1px solid #d9d2c7;border-radius:1rem;background:#fffdf9;box-shadow:0 8px 24px #4637230d}.home-level-switcher__head{margin-bottom:.9rem}.home-level-switcher__head h2{margin:0;font-size:clamp(1.25rem,2.3vw,1.55rem);color:#172330}.home-level-switcher__head p{margin:.25rem 0 0;color:#4a5766;font-size:.95rem}.home-level-switcher__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.home-level-btn{display:flex;flex-direction:column;gap:.38rem;min-height:44px;padding:1rem 1.15rem;border:2px solid #c9d2dc;border-radius:.95rem;background:#fff;color:#172330;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}.home-level-btn:hover,.home-level-btn:focus-visible{border-color:#124675;background:#f5f9fd;transform:translateY(-1px)}.home-level-btn:focus-visible{outline:3px solid #124675;outline-offset:2px}.home-level-btn[aria-pressed=true]{border-color:#124675;background:#eef6fb;box-shadow:0 6px 18px #1246751f}.home-level-btn__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.home-level-btn__tag{font-size:.8rem;font-weight:700;color:#466582}.home-level-btn__status{display:inline-flex;align-items:center;padding:.2rem .65rem;border-radius:999px;font-size:.78rem;font-weight:700;border:1px solid #c7d1da;background:#f4f7f9;color:#364554}.home-level-btn[aria-pressed=true] .home-level-btn__status{border-color:#124675;background:#124675;color:#fff}.home-level-btn strong{font-size:clamp(1.18rem,2vw,1.38rem);color:#172330}.home-level-btn__summary{font-size:.9rem;line-height:1.45;color:#364554}.home-starter-guide{margin-bottom:2.15rem}.home-starter-guide__head{margin-bottom:.85rem}.home-starter-guide__head h2{margin:0;font-size:clamp(1.3rem,2.4vw,1.65rem);color:#172330}.home-starter-guide__head p{margin:.25rem 0 0;color:#4a5766;font-size:.95rem}.home-starter-guide__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.home-starter-card{display:flex;flex-direction:column;gap:.42rem;padding:1rem 1.05rem;border:1px solid #c9d2dc;border-top:4px solid #124675;border-radius:.9rem;background:#fffdf9;color:#172330;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}.home-starter-card:hover,.home-starter-card:focus-visible{background:#eef6fb;border-color:#124675;transform:translateY(-1px)}.home-starter-card__tag{font-size:.78rem;font-weight:700;color:#8a4b00}.home-starter-card strong{font-size:1.04rem;color:#172330}.home-starter-card span:not(.home-starter-card__tag):not(.home-starter-card__cta){font-size:.9rem;line-height:1.45;color:#364554}.home-starter-card__cta{margin-top:auto;padding-top:.35rem;font-size:.9rem;font-weight:700;color:#124675}.home-catalog-grid--align-start{align-items:start}.home-track__subtitle{margin:-.35rem 0 .75rem;padding-inline:.15rem;font-size:.87rem;line-height:1.42;color:#4a5766}.course-card__layout{display:flex;align-items:flex-start;gap:.8rem}.course-card__body,.course-card__text{display:flex;flex-direction:column;gap:.22rem;min-width:0;flex:1 1 auto}.course-card__thumb{flex:0 0 auto;margin-top:.15rem;border-radius:.45rem;overflow:hidden;line-height:0;box-shadow:0 2px 6px #0f172a2e}.course-card .course-card__meta{color:#124675;font-size:.81rem;font-weight:600}.home-microbit-ideas{margin-top:.95rem;padding:.85rem .95rem;border:1px solid #dcd5ea;border-radius:.75rem;background:#f8f6fc}.home-microbit-ideas h4{margin:0 0 .45rem;font-size:.92rem;color:#4c1d95}.home-microbit-ideas ul{margin:0 0 .75rem;padding-left:1.1rem;display:grid;gap:.35rem;font-size:.86rem;line-height:1.42;color:#28313b}.home-microbit-ideas__cta{width:fit-content}.school-code-modal--warm{width:min(44rem,100%);max-height:90dvh;overflow-y:auto;padding:1.25rem 1.35rem;border:1px solid #d9d2c7;border-top:4px solid #124675}.school-code-modal__summary{font-size:.98rem;color:#172330;font-weight:500}.school-code-modal__hint{font-size:.88rem;color:#4a5766}.school-code-modal__split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.school-code-modal__box{display:grid;gap:.55rem;align-content:start;padding:.9rem;border:1px solid #d5dfe6;border-radius:.8rem;background:#f9fbfc}.school-code-modal__box--pilot{border-color:#9fc2e3;background:#eef6fb}.school-code-modal__box h3,.school-code-modal__box h2{margin:0;font-size:.98rem;color:#124675}.school-code-modal__box-copy{font-size:.86rem;line-height:1.45;color:#364554}.school-code-modal__pilot-actions{display:grid;gap:.5rem}.school-code-proposal{display:grid;gap:.35rem}.school-code-proposal__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.school-code-proposal__mailto{font-size:.85rem;font-weight:600;color:#124675}.school-code-proposal__status{margin:0;font-size:.82rem;font-weight:600;color:#065f46}.theory-quickstart-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;margin:.85rem 0;padding:.85rem 1rem;border:1px solid #9fc2e3;border-left:4px solid #124675;border-radius:.75rem;background:#eef6fb}.theory-quickstart-bar p{margin:0;color:#172330;font-size:.94rem}.theory-optional-details{margin:.75rem 0 1rem;padding:.7rem .95rem;border:1px solid #d9d2c7;border-radius:.75rem;background:#fffdf9}.theory-optional-details>summary{font-weight:700;color:#124675;cursor:pointer}@media(max-width:860px){.home-hero,.home-starter-guide__grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.home-topbar{gap:.55rem}.home-topbar__actions{width:100%}.home-topbar__btn,.home-topbar__code-trigger{min-height:44px}@supports not (position-area: block-end span-inline-start){.home-topbar__code-popover{inset:4.5rem 1rem auto 1rem}}.school-code-modal__split,.home-level-switcher__grid{grid-template-columns:minmax(0,1fr)}.course-card__thumb{width:52px}.home-mini-sandbox__code{font-size:.75rem}}@media(prefers-reduced-motion:reduce){a.primary-button,a.secondary-button,.course-card,.course-card .course-card__arrow,.home-level-btn,.home-starter-card{transition-property:background,border-color,color}.course-card:hover,.course-card:focus-visible,.course-card:hover .course-card__arrow,.home-level-btn:hover,.home-level-btn:focus-visible,.home-starter-card:hover,.home-starter-card:focus-visible{transform:none}}.screen-coordinates{max-width:760px;margin:1.5rem 0}.screen-coordinates__heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.65rem}.screen-coordinates__heading span{color:#91ceff}.screen-coordinates__window{position:relative;aspect-ratio:5 / 3;border:2px solid #91ceff;border-radius:12px;background-color:#0a1226;background-image:linear-gradient(#91ceff18 1px,transparent 1px),linear-gradient(90deg,#91ceff18 1px,transparent 1px);background-size:10% 16.6667%;color:#f2f6ff}.screen-coordinates__corner{position:absolute;padding:.35rem .5rem;background:#0a1226;border-radius:8px;font-variant-numeric:tabular-nums}.screen-coordinates__corner--top-left{top:6px;left:6px;color:#ffe078}.screen-coordinates__corner--top-right{top:6px;right:6px}.screen-coordinates__corner--bottom-left{bottom:6px;left:6px}.screen-coordinates__corner--bottom-right{bottom:6px;right:6px}.screen-coordinates__corner small{display:block}.screen-coordinates__y{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#91ceff}.screen-coordinates__actor{position:absolute;left:50%;top:50%;text-align:center}.screen-coordinates__actor>span{position:absolute;transform:translate(-50%,-50%);color:#ffe078;font-size:clamp(2rem,5vw,3.5rem);line-height:1}.screen-coordinates__actor strong{position:absolute;top:2rem;transform:translate(-50%);white-space:nowrap;background:#0a1226;padding:.3rem;border-radius:6px}.screen-coordinates figcaption{margin-top:.65rem;line-height:1.6}.theory-visual{margin:1.5rem 0;padding:1rem;border:1px solid #596b81;border-radius:14px;color-scheme:dark;background:#121d2b}.theory-visual h3{margin:0 0 1rem}.theory-visual figcaption{margin-top:1rem;line-height:1.6;color:#dbe6f4}.theory-visual__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.theory-visual__cards>div{padding:1rem;border:1px solid #586e89;border-radius:10px;min-width:0}.theory-visual__cards p{margin-bottom:0}.theory-visual__flow{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.8rem}.theory-visual__cell{display:inline-flex;flex-direction:column;padding:.6rem;border:2px solid #9bd1ff;border-radius:6px;color:#fff;background:#20344b}.theory-visual__cell small{font-size:.8rem;color:#dbe6f4}.theory-visual__branches{display:grid;gap:.5rem;border-left:3px solid #9bd1ff;margin:.8rem 0 0 1rem;padding-left:.8rem}.theory-visual__cycle{padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.6rem}.theory-visual__cycle li{display:grid;gap:.4rem;padding:.8rem;border:1px solid #9bd1ff;border-radius:8px}.theory-visual__frames{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:1rem}.theory-visual__frames code{display:block;margin-top:.5rem}.theory-visual__mini-screen{position:relative;aspect-ratio:5 / 3;margin-top:.5rem;border:1px solid #9bd1ff;background:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px),#09111b;background-size:10% 10%}.theory-visual__mini-screen span{position:absolute;transform:translate(-50%,-50%);color:#ffe09b;font-size:1.5rem}.theory-visual__object{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;padding:1rem;border:2px dashed #9bd1ff}.theory-visual__overlap{position:relative;height:90px;margin:1rem 0}.theory-visual__overlap span{position:absolute;width:85px;height:65px;border:3px solid #9bd1ff;padding:.4rem}.theory-visual__overlap span+span{left:55px;top:20px;border-style:dashed;border-color:#ffe09b;text-align:right}.theory-visual__world{border:1px dashed #9bd1ff;padding:.6rem;margin-top:.8rem}.theory-visual__world>div{width:75%;margin-left:15%;border:3px solid #ffe09b;padding:.7rem}.theory-visual__world b{display:block;color:#ffe09b;text-align:center}.concept-lab{margin:1.5rem 0;padding:clamp(.8rem,2vw,1.5rem);border:1px solid #6785a6;border-radius:16px;color-scheme:dark;background:linear-gradient(135deg,#172839,#111d2a)}.concept-lab h3{font-size:clamp(1.3rem,3vw,1.8rem);margin:.4rem 0 1rem}.coordinate-plane{max-width:842px;padding:52px 0 0 42px;container-type:inline-size}.coordinate-plane__surface{position:relative}.coordinate-axis{position:absolute;color:#d6e8f8;font-size:.75rem;font-variant-numeric:tabular-nums;pointer-events:none}.coordinate-axis--x{left:2px;right:2px;top:-27px;height:27px;border-bottom:1px solid #91ceff}.coordinate-axis--y{top:2px;bottom:2px;left:-38px;width:38px;border-right:1px solid #91ceff}.coordinate-axis strong{position:absolute;color:#b7e4ff;white-space:nowrap}.coordinate-axis--x strong{left:50%;top:-23px;transform:translate(-50%)}.coordinate-axis--y strong{top:-48px;left:0}.coordinate-axis span{position:absolute;line-height:16px}.coordinate-axis--x span{transform:translate(-50%);bottom:7px}.coordinate-axis--y span{transform:translateY(-50%);right:8px}.coordinate-axis span:after{content:"";position:absolute;background:#91ceff}.coordinate-axis--x span:after{width:1px;height:5px;left:50%;bottom:-7px}.coordinate-axis--y span:after{height:1px;width:5px;right:-8px;top:50%}@container (max-width: 560px){.coordinate-axis__minor{visibility:hidden}}@container (max-width: 300px){.coordinate-axis{font-size:.6875rem}}.coordinate-playfield{position:relative;width:100%;max-width:800px;aspect-ratio:5 / 3;border:2px solid #91ceff;background:linear-gradient(#91ceff25 1px,transparent 1px),linear-gradient(90deg,#91ceff25 1px,transparent 1px),#091522;background-size:5% 8.333333%;border-radius:8px;cursor:crosshair;outline-offset:5px}.coordinate-playfield:focus-visible{outline:3px solid #ffe078}.coordinate-playfield--display{cursor:default}.coordinate-playfield__origin,.coordinate-playfield__end,.coordinate-playfield__x,.coordinate-playfield__y{position:absolute;z-index:3;padding:.2rem .3rem;font-size:.8rem;background:#091522;pointer-events:none}.coordinate-playfield__origin{top:4px;left:4px}.coordinate-playfield__end{bottom:4px;right:4px}.coordinate-playfield__x{top:4px;left:50%}.coordinate-playfield__y{top:50%;left:4px}.coordinate-marker{position:absolute;transform:translate(-50%,-50%);z-index:2;pointer-events:none;display:grid;place-items:center;width:32px;height:32px;line-height:1}.coordinate-marker--start{color:#ffe078;font-size:1.875rem;text-shadow:0 0 16px #ffe07866}.coordinate-marker--guess{color:#b7e4ff;font-size:1.75rem;border:2px solid #b7e4ff;border-radius:50%;background:#0d2137aa}.coordinate-marker--correct{color:#b2f3c9;border-color:#b2f3c9}.coordinate-marker--pending{color:#b7e4ff;border:2px dashed #b7e4ff;border-radius:50%}.coordinate-history{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.coordinate-history__point{position:absolute;color:#b2f3c9}.coordinate-history__dot{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:14px;height:14px;border:1px solid #b2f3c9;border-radius:50%;background:#091522;font-size:.625rem;line-height:1}.coordinate-history__label{position:absolute;bottom:9px;left:9px;padding:2px 4px;border-radius:3px;background:#091522e6;color:#d6e8f8;white-space:nowrap;font-size:.6875rem;line-height:1.2;font-variant-numeric:tabular-nums}.coordinate-history__point--left .coordinate-history__label{left:auto;right:9px}.coordinate-history__point--below .coordinate-history__label{bottom:auto;top:9px}.coordinate-guide{position:absolute;opacity:.7;pointer-events:none}.coordinate-guide--x{top:0;bottom:0;border-left:1px dashed #b7e4ff}.coordinate-guide--y{left:0;right:0;border-top:1px dashed #b7e4ff}.concept-lab__legend,.concept-lab__controls{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.8rem}.concept-lab__legend{font-size:.9rem;color:#d6e8f8}.concept-lab__controls button{width:auto;min-height:44px;flex:0 1 auto;padding:.7rem 1rem}.concept-lab__selection{font-variant-numeric:tabular-nums}.concept-lab__feedback{min-height:3rem;padding:.9rem;border-left:4px solid #91ceff;background:#091522;line-height:1.6}.concept-lab__feedback--correct{border-color:#b2f3c9}.concept-lab__cycle{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0}.concept-lab__cycle li{border:1px solid #91ceff;border-radius:6px;padding:.5rem .7rem}.update-draw-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.6fr);gap:1rem}.update-draw-code{min-width:0}.update-draw-code pre{margin:.8rem 0;padding:.6rem;white-space:pre-wrap;overflow-wrap:anywhere;background:#091522;border-radius:8px;font-size:.85rem}.update-draw-code code>span{display:block;padding:.4rem;border-left:3px solid transparent}.update-draw-code code>.concept-code--active{border-color:#ffe078;background:#ffe07818}.concept-lab__value{display:grid;gap:.4rem;padding:.8rem;border:1px solid #91ceff;border-radius:8px}.concept-lab__value strong{color:#b7e4ff;font-size:1.6rem;font-variant-numeric:tabular-nums}.update-draw-screen{margin:0;min-width:0}.update-draw-screen .coordinate-plane{margin-top:.8rem}.update-draw-screen figcaption{margin-top:.8rem;line-height:1.6}.concept-lab__prediction{border:1px solid #6785a6;padding:1rem;margin:1rem 0;min-width:0}.concept-lab__prediction legend{padding:0 .3rem}.concept-lab__choices{display:grid;gap:.6rem}.concept-lab__choices label{display:flex;align-items:center;gap:.8rem;min-height:48px;padding:.7rem;background:#091522;border:1px solid #6785a6;border-radius:8px;cursor:pointer}.concept-lab__choices input{margin:0;width:20px;height:20px;flex-shrink:0}@media(max-width:720px){.update-draw-layout{grid-template-columns:minmax(0,1fr)}}.window-lesson__settings{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.window-lesson__settings label,.window-lesson__color{display:grid;gap:.4rem}.window-lesson select{min-height:44px;padding:.6rem;border:1px solid #91ceff;border-radius:6px;background:#091522;color:#f1f6fa;max-width:100%}.window-lesson__color{margin-bottom:1rem;max-width:400px}.window-size-preview,.window-draw-preview{margin:0;min-width:0}.window-size-preview__stage{aspect-ratio:5 / 3;display:flex;justify-content:center;align-items:center;background:#07111c;border:1px dashed #6785a6;padding:0}.window-size-preview__window{background:#101e32;border:2px solid #91ceff;display:grid;place-items:center;font-variant-numeric:tabular-nums}.window-lesson svg{display:block;width:100%;height:auto;border:2px solid #91ceff}.window-lesson figcaption{margin-top:.6rem;line-height:1.5}.window-lesson__comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.window-lesson__comparison figure{margin:0}.window-lesson__transfer li{margin-bottom:.6rem}@media(max-width:600px){.window-lesson__comparison{grid-template-columns:minmax(0,1fr)}}.concept-lab,.concept-lab p,.concept-lab h3,.concept-lab label,.concept-lab code,.concept-lab legend,.concept-lab figcaption{color:#edf4fc}.concept-lab .hint,.concept-lab small{color:#d6e8f8}.window-lesson__transfer a.secondary-button{display:inline-flex;align-items:center;min-height:44px;padding:.7rem 1rem;border-radius:8px;background:#edf4fc;color:#122337;text-decoration:none}.app-shell--pygame-zero .concept-lab .eyebrow{color:#9bd1ff}.window-lesson__steps{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}.window-lesson__steps button{min-height:44px;padding:.5rem .8rem;border:1px solid #567b9b;border-radius:8px;background:#1a2838;color:#edf4fc}.window-lesson__steps button[aria-current=step]{background:#124675;color:#fff;font-weight:700}.app-shell--pygame-zero .window-lesson__steps button{background:#fff;color:#172330;border-color:#738291}.app-shell--pygame-zero .window-lesson__steps button[aria-current=step]{background:#124675;color:#fff;border-color:#124675}.window-lesson__navigation{margin:1rem 0}.window-progressive-code{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;overflow-x:auto;padding:1rem;background:#07111c;border-radius:8px;font-size:.95rem;line-height:1.8}.window-progressive-code code>span{display:inline;white-space:pre-wrap;overflow-wrap:anywhere}.name-removal-experiment .concept-code--active{background:#ffe07818;outline:1px solid #ffe078}.laser-removal-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.laser-removal-comparison>div{min-width:0}.laser-removal-comparison h5{font-size:1rem;margin:1rem 0 .5rem}.laser-removal-comparison .concept-code--active{background:#ffe07818;outline:1px solid #ffe078}@media(max-width:720px){.laser-removal-comparison{grid-template-columns:minmax(0,1fr)}}.window-argument-control{display:grid;grid-template-columns:1fr auto;gap:.4rem;margin:.8rem 0}.window-argument-control input{grid-column:1 / -1;width:100%;min-height:44px;accent-color:#91ceff}.window-arguments{min-width:0}.window-arguments>label{display:grid;gap:.5rem;margin:1rem 0}.window-arguments input[type=text]{min-height:44px;max-width:100%;padding:.5rem;background:#091522;color:#fff;border:1px solid #91ceff}.window-colors{max-width:560px}.window-color-map{position:relative;height:190px;border:2px solid white;border-radius:8px;touch-action:none;background:linear-gradient(to bottom,transparent,white),linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.window-color-map:focus-visible{outline:3px solid #ffe078;outline-offset:3px}.app-shell--pygame-zero .window-color-map:focus-visible{outline-color:#124675}.window-color-map__point{position:absolute;width:18px;height:18px;border:3px solid white;outline:2px solid #07111c;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.window-color-readout{display:flex;align-items:center;gap:1rem;margin:1rem 0;font-size:1.3rem}.window-color-readout>span{width:80px;height:64px;border:2px solid white;border-radius:8px}.concept-lab button[aria-pressed=true]{background:#124675;color:#fff;border:2px solid #91ceff}.window-lesson>small{display:block;margin-bottom:1rem}.window-code-argument{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:4px;font-weight:700}.window-background__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:1.5rem;align-items:start}.window-background__preview{max-width:360px;width:100%;margin-top:1rem}.window-background .window-color-readout{font-size:1rem;margin:.5rem 0}.window-background .window-color-readout>span{width:48px;height:36px}.window-background .window-progressive-code{margin-top:0}@media(max-width:720px){.window-background__layout{grid-template-columns:minmax(0,1fr);gap:1rem}.window-background__preview{margin-top:0}}.actor-image-connection{display:grid;grid-template-columns:minmax(140px,.6fr) minmax(0,1.4fr);gap:1.5rem;align-items:center}.actor-asset-preview{margin:0;min-width:0;text-align:center}.actor-asset-preview img{width:128px;height:128px;object-fit:contain;image-rendering:pixelated;background:#07111c;padding:8px;border:1px solid #91ceff}.actor-connection-arrow{font-size:2rem}.actor-game-preview{margin:0;min-width:0}.actor-center-inset{max-width:180px}.actor-draw-toggle{display:flex;gap:.6rem;align-items:center;min-height:48px;padding:.5rem;border:1px solid #91ceff;border-radius:8px}.actor-draw-toggle input{width:20px;height:20px;flex-shrink:0}.actor-lesson ol{line-height:1.6}.actor-lesson a.secondary-button{display:inline-flex;align-items:center;min-height:44px;padding:.7rem 1rem;border-radius:8px;background:#edf4fc;color:#122337;text-decoration:none}@media(max-width:600px){.actor-image-connection{grid-template-columns:minmax(0,1fr)}}.actor-lesson,.actor-lesson .concept-lab,.actor-lesson .update-draw-layout>div{min-width:0}.actor-lesson .window-progressive-code code{white-space:pre-wrap;overflow-wrap:anywhere}.game-lesson,.game-lesson .concept-lab,.game-lesson .update-draw-layout>div{min-width:0}.game-lesson .window-progressive-code code{white-space:pre-wrap;overflow-wrap:anywhere}.game-keyboard{display:flex;flex-wrap:wrap;gap:.6rem}.game-keyboard label{display:flex;gap:.6rem;align-items:center;min-height:48px;padding:.5rem;border:1px solid #91ceff;border-radius:8px}.game-keyboard input{width:20px;height:20px}.game-lesson ol{line-height:1.6}.game-lesson a.secondary-button{display:inline-flex;min-height:44px;align-items:center;padding:.7rem 1rem;border-radius:8px;background:#edf4fc;color:#122337;text-decoration:none}.clamp-edge-diagram{max-width:400px}.clamp-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;max-width:520px}.clamp-candidates>div,.clamp-chain>div{display:grid;gap:.5rem;padding:.8rem;border:1px solid #6785a6;border-radius:8px;background:#07111c}.clamp-candidates strong{font-size:1.8rem}.clamp-candidates .clamp-candidate--selected{border:3px solid #91ceff}.clamp-result{font-size:1.3rem}.clamp-chain{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;margin:1rem 0}.clamp-chain>div{flex:1;min-width:160px}.clamp-chain code{overflow-wrap:anywhere}.clamp-chain__arrow{font-size:1.8rem}@media(max-width:600px){.clamp-chain{flex-direction:column;align-items:stretch}.clamp-chain__arrow{align-self:center;transform:rotate(90deg)}}.clamp-function-values{margin:1rem 0}.clamp-function-values h4,.clamp-lesson h4{font-size:1.1rem;margin:.8rem 0}.clamp-case{padding:.8rem;border-left:3px solid #91ceff;background:#07111c}.seed-edge-view,.seed-sample-view{margin:0;min-width:0;align-self:start}.seed-edge-view svg,.seed-sample-view svg{display:block;width:100%;border-radius:12px}.seed-edge-view figcaption,.seed-sample-view figcaption{margin-top:10px;font-size:.9rem}.seed-result{display:block;padding:12px;border:1px solid #8ad3ff;border-radius:10px}.seed-samples{overflow-wrap:anywhere}.seed-edge-values{display:none}@media(max-width:600px){.seed-edge-values{display:block;margin-top:8px}}.collision-result{display:flex;flex-direction:column;gap:6px;padding:16px 20px;margin-bottom:14px;border:2px solid #ffd080;border-radius:12px;background:#091522;color:#fff;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.2}.collision-result[data-hit=true]{border-color:#8ad3ff}.collision-result small{font-size:1rem}.score-value-box{display:flex;flex-direction:column;gap:8px;padding:16px;border:2px solid #8ad3ff;border-radius:12px;background:#091522;margin:12px 0}.score-value-box strong{font-size:1.6rem;overflow-wrap:anywhere}.score-calculation{align-self:start;display:grid;gap:8px;text-align:center}.score-calculation>span{font-size:2rem}.score-scope-call{padding:12px;border:1px solid #ffd080;border-radius:10px}.pos-pair{display:flex;gap:12px;margin:12px 0;flex-wrap:wrap}.pos-pair button{flex:1;display:flex;flex-direction:column;gap:8px}.pos-pair strong{font-size:1.8rem}.division-visual{margin:0;min-width:0}.division-groups{display:flex;flex-wrap:wrap;gap:10px}.division-group,.division-remainder{display:flex;flex-direction:column;padding:12px;border:2px solid #8ad3ff;border-radius:10px}.division-group strong,.division-remainder strong{font-size:1.3rem}.division-remainder{border-color:#ffd080;margin:12px 0}.entity-list{padding:12px;border:1px solid #8ad3ff;border-radius:12px;margin:12px 0;overflow-wrap:anywhere}.entity-list__items{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.entity-card{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #8ad3ff;border-radius:8px;background:#091522;margin:6px 0}.entity-card--active{outline:2px solid var(--selection-yellow);outline-offset:2px}.chance-grid{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;margin:12px 0}.chance-grid span{display:grid;place-items:center;min-height:18px;background:#22344a;color:#b1c5da;border-radius:3px}.chance-grid .chance-grid__hit{background:#ffd166;color:#101926;font-weight:800}.timer-slots{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.timer-slots span{display:grid;place-items:center;min-width:32px;min-height:32px;padding:4px;border:1px solid #9accff;border-radius:6px}.concept-lab progress{width:100%;height:18px;accent-color:#64dfbe}.concept-lab a{color:#b7e4ff}.concept-lab a.primary-button{display:inline-flex;align-items:center;min-height:44px;padding:.7rem 1rem;border:1px solid #91ceff;border-radius:8px;background:#124675;color:#fff;text-decoration:none}.concept-lab a.primary-button:hover,.concept-lab a.primary-button:focus-visible{background:#1a5c92;color:#fff}.game-compendium,.game-concept-lab,.independent-play-test{min-width:0}.game-compendium__header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center}.game-compendium input[type=search]{width:100%;max-width:38rem}.game-concept-lab .window-progressive-code code{white-space:pre-wrap;overflow-wrap:anywhere}.independent-flow{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.independent-flow span{padding:.6rem .8rem;border:1px solid #91ceff;border-radius:8px}.independent-choice{display:flex;align-items:flex-start;gap:.7rem;padding:.7rem 0;min-height:44px}.independent-choice input{flex:0 0 22px;width:22px;height:22px;margin:0}.independent-play-test{border:1px solid #6785a6;border-radius:10px;padding:1rem}.independent-play-test legend{font-weight:700}.independent-hints{margin-top:1rem}.game-compendium>label{display:grid;gap:.6rem;margin:1rem 0}.game-compendium input[type=search]{min-height:44px;padding:.6rem .8rem;border:1px solid #91ceff;border-radius:8px;background:#091522;color:#edf4fc}.app-shell--pygame-zero .game-compendium input[type=search]{background:#fff;color:#172330;border-color:#8e9baa}.game-compendium a{color:#b7e4ff}.game-compendium .concept-lab__controls a{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .8rem;border:1px solid #91ceff;border-radius:8px}.app-shell--pygame-zero .game-compendium a{color:#174e7d}.game-compendium button[aria-pressed=true],.game-concept-lab button[aria-pressed=true]{background:#124675;color:#fff;border-color:#91ceff}.app-shell--pygame-zero .game-compendium button[aria-pressed=true],.app-shell--pygame-zero .game-concept-lab button[aria-pressed=true]{background:#e8f3fb;color:#102d47;border-color:#1a5c92}.independent-scene{min-width:0}.independent-scene__viewport{max-width:100%;overflow-x:auto}.independent-scene__zoom{display:none;margin:.6rem 0}.independent-scene--expanded svg{width:720px;max-width:none}@media(max-width:720px){.independent-scene__zoom{display:inline-flex}}.independent-scene__viewport:focus-visible{outline:2px solid #92c9ff;outline-offset:2px}#lesson-teaching-title{scroll-margin-top:1rem}.theory-answer-review{margin-top:1.5rem;padding:1rem;border:1px solid #124675;background:#eef6fb;color:#172330;border-radius:.7rem}.editor-api-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.85rem;margin-bottom:.5rem}.editor-api-toolbar span{flex:1 1 18rem}.cm-tooltip:has(.python-api-help){color-scheme:dark;background:#132333;border:1px solid #8ad3ff;color:#fff;overflow:auto;z-index:60}.python-api-help{box-sizing:border-box;padding:.8rem;max-width:min(32rem,90vw);max-height:min(32rem,70vh);overflow:auto;font-family:system-ui,sans-serif;font-size:.9rem;line-height:1.4;white-space:normal}.python-api-help strong{overflow-wrap:anywhere}.python-api-help p{margin:.5rem 0}.python-api-help dl{margin:.5rem 0 0}.python-api-help dt{font-weight:700;margin-top:.4rem}.python-api-help dd{margin:.15rem 0 .4rem}.python-api-help__active{color:#ffd080}.python-api-help__diagram{border:1px solid #8ad3ff;padding:.5rem;border-radius:.4rem}.python-api-help__source{margin:.5rem 0 0;font-size:.82rem;color:#b7d7f0}.drawing-workshop{margin:0}.sidebar-course-item--extra{border-top:1px solid #8e9baa;padding-top:.5rem;margin-top:.5rem}.sidebar-course-item--extra small{grid-column:2 / -1}.sidebar-course-item button[aria-current]{border-color:#8e9baa;background:#92c9ff29}.drawing-workshop select,.drawing-workshop input[type=text]{box-sizing:border-box;width:100%;padding:.5rem}#answer-review-title{scroll-margin-top:1rem}.python-api-help__diagram svg{display:block;width:100%;max-height:7rem}.python-api-help a{color:#8ad3ff}.editor-panel--focused .code-editor-shell{flex:1 1 0;height:auto;min-height:8rem}.editor-panel--focused .editor-api-toolbar span{display:none}.cm-tooltip-hover:has(.python-api-help){overflow:auto}.python-api-help{height:100%}.game-lesson .window-progressive-code code,.game-lesson .window-progressive-code code>span{white-space:pre-wrap;overflow-wrap:anywhere}.hit-line--executed{text-decoration:underline solid #ffd080 3px;text-underline-offset:5px;background:#ffd08018}.hit-line--next{text-decoration:underline dashed #8ad3ff 2px;text-underline-offset:5px}.entity-list__empty{margin:.5rem 0 0}.danger-spawn-block{display:inline;border-left:3px solid #8ad3ff}.hit-action-comparison>section{min-width:0;padding:.8rem;border:1px solid #8ad3ff;border-radius:12px}.hit-action-comparison h4{margin:0 0 .8rem}.timer-slots .life-number--selected{border:3px solid #ffd080;box-shadow:0 0 0 2px #ffd08044}.guard-line--skipped{opacity:.45}.random-enemy-rolls{display:grid;gap:.5rem}.concept-code--active,.window-code-argument,.hit-line--executed,.hit-line--next,.clamp-candidates .clamp-candidate--selected,.timer-slots .life-number--selected,.concept-lab__choices label:has(input:checked),.concept-lab button[aria-pressed=true],.game-compendium button[aria-pressed=true],.window-lesson__steps button[aria-current=step],.sidebar-course-item button[aria-current],.lesson-step--active{outline:2px solid #124675;outline-offset:2px}.app-shell--pygame-zero .sidebar-course-item button[aria-current],.app-shell--pygame-zero .lesson-step--active,.app-shell--pygame-zero .window-lesson__steps button[aria-current=step],.app-shell--pygame-zero .game-compendium button[aria-pressed=true]{outline:2px solid #124675;outline-offset:2px}@media(max-width:600px){.window-color-map{height:140px}}.concept-code--active,.window-code-argument{background:#ffe07818}.window-code-argument,.hit-line--executed,.hit-line--next{text-decoration-color:var(--selection-yellow)}.concept-lab__choices input{accent-color:var(--selection-yellow)}.movement-quiz .concept-lab__choices{grid-template-columns:repeat(2,minmax(0,1fr))}.movement-quiz .concept-lab__prediction{margin:.8rem 0}#movement-question-title,#movement-review-title{scroll-margin-top:1rem}.pygame-window-preview{margin:1.5rem 0 0;max-width:1100px}.window-lesson .pygame-window-preview svg{border:0}.pygame-window-preview figcaption{margin-top:.5rem}.own-game-ideas{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1.5rem 0}.own-game-ideas article{border:1px solid #6785a6;border-radius:12px;padding:1rem}.own-game-ideas h4{margin-top:0}.own-game-ideas code{white-space:normal;overflow-wrap:anywhere}.hit-line--executed{text-decoration:none;outline:2px solid var(--selection-yellow);background:#ffe07818}.hit-line--next{text-decoration:none}.window-progressive-code:has(.hit-line--executed) .hit-line--next{outline:none;background:none}.phase-actions{margin:1rem 0 1.5rem;padding:1rem;border:1px solid #8ad3ff;border-radius:12px;background:#07111c}.phase-actions h4{margin:0 0 .8rem}.phase-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.phase-module{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border:1px solid #8ad3ff;border-radius:10px;text-align:left;background:#102337;color:inherit;min-width:0}.phase-module strong{font-size:1.15rem}.phase-module ol{margin:.25rem 0;padding-left:1.25rem}.phase-module[aria-pressed=true],.phase-module[aria-current=step]{outline:2px solid var(--selection-yellow);outline-offset:2px}.phase-show-button{margin-top:1rem;padding:.9rem 1.3rem;font-size:1.05rem}.phase-scene-message{padding:1rem;margin-bottom:.6rem;border:1px solid #8ad3ff;border-radius:10px;background:#07111c;color:#f3f6ff;font-size:1.35rem;font-weight:700;overflow-wrap:anywhere}@media(max-width:640px){.phase-modules{grid-template-columns:1fr}}.function-step-explanation{margin:1rem 0;padding:1rem;border:1px solid #8ad3ff;border-radius:10px;background:#07111c}.function-step-explanation p{margin:0 0 .8rem}.function-call-path{display:flex;flex-wrap:wrap;list-style:none;gap:.75rem;padding:0}.function-call-path li{padding:.6rem;border:1px solid #8ad3ff;border-radius:8px}.function-call-path small{display:block}.function-line-number{display:inline-block;width:2.5em;color:#b4c8da;-webkit-user-select:none;user-select:none}.function-jump{padding:.65rem;border:2px solid var(--selection-yellow);border-radius:8px}.list-example-button{border:2px solid white}.list-restart-button{margin:.75rem 0}.focused-function .function-line-number{width:1.8em}.function-code--caller{border-left:3px solid white;background:#ffffff0a}.drone-round-controls>.concept-lab__controls{margin-top:0}.drone-round-controls .drone-round-explanation{margin:1.25rem 0 0;padding:1rem 1.1rem;font-size:1.125rem;line-height:1.65;font-weight:500;background:#10243a;border-left:3px solid #8ad3ff;border-radius:6px}.stable-explanation{display:grid;min-width:0}.stable-explanation__current,.stable-explanation__sizes{grid-area:1 / 1;min-width:0;overflow-wrap:anywhere}.stable-explanation__sizes{display:grid;visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}.stable-explanation__sizes>span{grid-area:1 / 1}.stable-explanation__sizes>span:before{content:attr(data-explanation-size)}.loop-lab__workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;scroll-margin-top:1rem}.loop-lab__step,.loop-lab__result{min-width:0}.loop-lab__line-label{margin:0 0 .4rem}.loop-lab__active-code{margin:0 0 .75rem;font-family:IBM Plex Mono,monospace;line-height:1.5}.loop-lab__active-code code{font:inherit}.loop-lab__controls{display:flex;flex-wrap:wrap;gap:.5rem}.loop-lab__controls button{min-height:44px;padding:.6rem .8rem}.loop-lab__explanation{margin:.75rem 0 0;line-height:1.4}.loop-lab__values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:.75rem;border:1px solid #8ad3ff;border-radius:.5rem}.loop-lab__screen{margin:.75rem 0 0}.loop-lab__screen figcaption{margin-bottom:.4rem}.loop-lab__screen svg{display:block;width:100%;height:auto;border:1px solid #8ad3ff}.loop-lab__axis{display:flex;justify-content:space-between;gap:.5rem;font-size:.85rem;line-height:1.4}.loop-lab__details{margin-top:1rem}.loop-lab__details summary{cursor:pointer;min-height:44px;padding:.65rem 0}@media(max-width:720px){.loop-lab__workspace{grid-template-columns:minmax(0,1fr);gap:.75rem}.loop-lab__active-code{padding:.75rem;font-size:.9rem}.loop-lab__explanation,.loop-lab__values{font-size:.9rem}}.concept-code--error{background:#ffe3df;color:#7a1712;outline:2px solid #b42318;outline-offset:-1px}.code-error-caption,.python-variables-lesson .stable-explanation.code-error-caption{margin:8px 0;padding:0;background:transparent;color:#a12118;font-weight:700}.cm-editor .cm-runtime-error-line{background:#541f2a;box-shadow:inset 4px 0 #ff8d92;outline:1px solid #ff8d92;outline-offset:-1px}.student-runtime-error{margin:14px 0;padding:14px;border:1px solid #c4493a;background:#fff2f0;color:#5c1610;border-radius:8px;line-height:1.6}.student-runtime-error p{margin:6px 0}.student-error-console .python-output{min-height:0;max-height:min(24rem,38svh)}.student-error-console .student-runtime-error{margin:8px 0 0}.python-output,.student-runtime-error,.student-error-console{min-width:0;max-width:100%;overflow-wrap:anywhere}.python-live-input,.python-stdin-field,.preview-actions{min-width:0;max-width:100%}.teacher-overview-card{display:block}.teacher-overview-card summary{cursor:pointer}.teacher-overview{display:grid;gap:.75rem;margin-top:.75rem}.teacher-overview__controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.teacher-overview__upload{cursor:pointer;display:inline-flex;align-items:center}.teacher-overview__errors{color:#7a1c14}.teacher-overview__table-wrap{overflow-x:auto;max-width:100%}.teacher-overview__table{width:100%;border-collapse:collapse;font-size:.92rem}.teacher-overview__table th,.teacher-overview__table td{padding:.45rem .6rem;border-bottom:1px solid #d9d2c7;text-align:left}
