:root{--ink:#21352e;--muted:#7e8c87;--blue:#4763e7;--line:#dde5e0;--shell:#f3f5f1;--editor:#202936;--deep:#19222e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--shell)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer;border:0;transition:background .15s}button:hover{filter:brightness(1.07)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #94acf6}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #7892e8}[hidden]{display:none!important}a{color:inherit}input,textarea,select{min-width:0}button small{pointer-events:none}
.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:23px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:760;font-size:19px;letter-spacing:-.65px;flex-shrink:0}.brand-mark{background:#283b34;color:#ddedab;border-radius:11px;width:42px;height:42px;display:grid;place-items:center;font:700 19px ui-monospace,monospace;letter-spacing:-2px}.brand-light{font-weight:460}.brand small{display:block;font-size:7px;letter-spacing:1.65px;color:#8f9a94;margin-top:5px;font-weight:650}.project-title-label{border-left:1px solid #e1e7e3;padding-left:22px;display:flex;flex-direction:column;gap:4px;min-width:140px;max-width:250px;flex:1}.project-title-label>span{font-size:8px;letter-spacing:1.3px;color:#9aa59d}.project-title-label input{border:0;padding:0;background:none;width:100%;font-size:13px;color:#53685e;font-weight:600}.global-save{font-size:10px;color:#83988a;white-space:nowrap}.header-actions{display:flex;gap:7px;margin-left:auto;align-items:center}.button{border-radius:8px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:650;white-space:nowrap;text-decoration:none;line-height:1.4}.button.primary{background:#44614b;color:white}.button.secondary{background:white;border:1px solid #dce4de;color:#5d7164}.button.quiet{background:transparent;color:#89968d;padding:8px}.button.dark{background:#243b31;color:#e5f4df}.lesson-bar{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 24px 20px}.eyebrow-label{font-size:9px;font-weight:720;letter-spacing:1.55px;color:#92a092}.lesson-heading h1{font-size:25px;letter-spacing:-.8px;margin:6px 0;font-weight:740}.lesson-heading p{font-size:12px;color:#889487;margin:0}.mission-side{width:480px;max-width:46%}.mission-caption{display:flex;justify-content:space-between;font-size:10px;color:#91a092;margin-bottom:9px}.mission-caption span:last-child{font-weight:700;color:#627b65}.mission-nav{display:flex;gap:6px}.mission-nav button{border:1px solid #dde5df;border-radius:8px;background:#fff;display:flex;align-items:center;gap:6px;padding:9px 10px;color:#929e94;flex:1;font-size:11px;font-weight:600;white-space:nowrap}.mission-nav button>span{width:19px;height:19px;display:grid;place-items:center;background:#f0f3ef;color:#97a396;border-radius:50%;font-size:9px;flex-shrink:0}.mission-nav button.active{border-color:#bccda5;background:#edf3df;color:#557145}.mission-nav button.active>span{background:#638449;color:#fff}.mission-nav button.done{color:#4c8666;border-color:#cce4d5;background:#f2faf4}.mission-nav button.done>span{background:#d9efdf;color:#4c8666}
.workspace{margin:0 24px;display:grid;grid-template-columns:minmax(405px,1fr) minmax(340px,1.03fr) 272px;gap:14px;height:calc(100vh - 305px);min-height:560px;max-height:950px}.studio{display:flex;min-width:0;overflow:hidden;border:1px solid #253242;border-radius:12px;background:var(--editor);box-shadow:0 3px 10px #18232f08}.explorer{width:117px;flex-shrink:0;background:var(--deep);color:#a7b4c6;border-right:1px solid #35404e;display:flex;flex-direction:column;padding-top:17px}.explorer-title{font-size:9px;letter-spacing:1.2px;font-weight:650;padding:0 13px;display:flex;align-items:center;justify-content:space-between;color:#7d90a6}.icon-button{background:transparent;color:#a1b5ca;font-size:23px;line-height:21px;padding:0 3px}.project-name{display:flex;gap:7px;padding:22px 12px 12px;font:11px ui-monospace,monospace;color:#c5d1e1}.file-list{display:flex;flex-direction:column;gap:3px}.file-button{display:flex;align-items:center;gap:8px;border-left:2px solid transparent;padding:11px 9px;background:transparent;text-align:left;font:11px ui-monospace,monospace;color:#93a7c0;white-space:nowrap}.file-button.active{background:#2a3748;color:#edf3fc;border-left-color:#a8c68f}.file-icon{font:700 10px ui-monospace,monospace;min-width:13px;text-align:center}.html-color,.file-icon.html{color:#e1a984}.css-color,.file-icon.css{color:#96b9ea}.js-color,.file-icon.js{color:#e7d18d}.explorer-bottom{margin-top:auto;padding:18px 12px 14px;border-top:1px solid #344152}.tiny-label{font-size:7px;letter-spacing:.8px;color:#778b9c}.explorer-bottom p{font-size:10px;line-height:1.4;color:#8296ae;margin:13px 0;display:flex;flex-direction:column;gap:4px}.explorer-bottom b{font:600 11px ui-monospace,monospace}.reset-button{font-size:9px;border:1px solid #3f5066;background:transparent;color:#94a9c0;border-radius:6px;padding:8px;margin-top:4px;width:100%}.editor-shell{display:flex;flex:1;flex-direction:column;min-width:0;overflow:hidden}.file-tabs{display:flex;height:43px;min-height:43px;background:#19222e;border-bottom:1px solid #354154;overflow-x:auto;scrollbar-width:thin}.file-tabs button{display:flex;align-items:center;gap:8px;padding:0 13px;background:transparent;color:#8197b0;font:11px ui-monospace,monospace;border-right:1px solid #354154;border-top:2px solid transparent;white-space:nowrap}.file-tabs button.active{background:var(--editor);color:#f0f5fb;border-top-color:#accb8f}.editor-toolbar{padding:10px 12px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #354254;min-height:50px}.segmented{display:flex;gap:2px;border:1px solid #435368;border-radius:7px;padding:3px}.segmented button{background:transparent;color:#93abc6;font-size:11px;padding:5px 12px;border-radius:4px}.segmented button.active{color:#e9f5e0;background:#3c4e43}#file-description{font-size:9px;color:#778ea7;margin-left:auto;white-space:nowrap}.toolbar-button{font-size:21px;color:#a4b5cd;background:transparent;padding:0}.editor-body{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.builder-panel{overflow:auto;flex:1;padding:17px 12px 12px;scrollbar-width:thin;scrollbar-color:#4d6380 transparent}.canvas-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:6px;color:#8da4bb;font-size:8px;letter-spacing:1px}.canvas-caption>span:last-child{font-size:9px;letter-spacing:0;color:#6c839f}.block-row{display:flex;align-items:center;gap:7px;min-height:39px;border:1px solid #3a4c62;border-radius:7px;background:#2a3749;color:#c0d0e5;padding:9px 8px;font-size:11px;cursor:pointer;transition:border-color .1s,background .1s;touch-action:none}.block-row:hover{background:#354761;border-color:#627d9e}.block-row.selected{background:#354f49;border-color:#9ebb92;box-shadow:0 0 0 1px #9ebb9222}.block-row.dragging{opacity:.4}.block-row.drop-inside{background:#3b5745;border:1px dashed #bddd9a}.drag-handle{color:#788ea7;font-size:14px;cursor:grab;line-height:1}.tag-name{font:600 10px ui-monospace,monospace;color:#e5ad89;min-width:48px}.tag-name.container{color:#a2c3ee}.node-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#b1c1d8}.node-class{font:9px ui-monospace,monospace;color:#b3cc9c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:64px}.node-root{background:transparent;border-color:#3b4b62}.drop-line{height:7px;border-radius:3px;margin:0 0 0 calc(var(--depth,0)*11px);transition:background .1s}.drop-line.drop-active{background:#b3d59b;height:9px}.tree-node{margin-left:calc(var(--depth,0)*11px)}.empty-container{padding:12px;border:1px dashed #567049;color:#b5c7a4;border-radius:6px;margin:6px 0 6px 11px;font-size:11px}.append-zone{font-size:11px;border:1px dashed #586e88;color:#a1b9d5;border-radius:7px;text-align:center;padding:15px;margin-top:12px}.append-zone.drop-active{color:#e9f7df;background:#3e5746;border-color:#bfdca5}.block-library{padding:12px;background:#263345;border-top:1px solid #3e4e64;flex-shrink:0}.library-heading{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;color:#a7bad4;margin-bottom:11px}.library-heading button{background:transparent;color:#b1cb95;font-size:10px;padding:0;letter-spacing:0}.library-items{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.library-item{display:flex;align-items:center;gap:6px;background:#324359;border:1px solid #495f7d;color:#c9d8ec;border-radius:6px;padding:9px 7px;font-size:10px;text-align:left;cursor:grab;white-space:nowrap;touch-action:none}.library-item b{font:600 8px ui-monospace,monospace;color:#e3b493;min-width:15px}.library-item:hover{background:#405775}.editor-status{display:flex;align-items:center;justify-content:space-between;color:#829cb9;background:#1b2738;padding:9px 11px;font-size:8px;min-height:29px}.editor-status>span:first-child{display:flex;align-items:center;gap:5px}.save-dot{width:5px;height:5px;border-radius:50%;background:#b6ce99}.code-panel{display:flex;flex-direction:column;flex:1;min-height:0}.code-file-header{display:flex;align-items:center;justify-content:space-between;padding:13px 12px;font-size:10px;color:#91accb;border-bottom:1px solid #35445a;min-height:43px}.small-button{font-size:10px;padding:6px 9px;border-radius:5px;background:#405e42;color:#d8edc6}.code-content{display:flex;min-height:0;flex:1;overflow:hidden;padding:15px 0 0}.line-numbers{padding:0 10px 0 12px;text-align:right;white-space:pre;color:#617d9f;font:11px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;user-select:none;min-width:37px}.code-content textarea{width:100%;flex:1;min-width:0;border:0;outline:none;background:transparent;color:#d5e0f3;resize:none;padding:0 15px 20px 3px;white-space:pre;overflow:auto;tab-size:2;font:11px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;scrollbar-color:#4d6280 transparent;scrollbar-width:thin}.code-hint{padding:13px 12px;color:#a8bfdc;border-top:1px solid #3b4e68;font-size:10px;line-height:1.65;background:#2a3c54}
.preview-shell{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.preview-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 17px 16px;gap:8px;min-height:78px}.preview-heading h2{font-size:14px;font-weight:660;margin:6px 0 0;letter-spacing:-.2px}.preview-heading .eyebrow-label{font-size:8px}.device-tabs{display:flex;gap:2px;border:1px solid #e1e7df;border-radius:6px;padding:3px}.device-tabs button{font-size:9px;background:transparent;color:#8e9d91;border-radius:4px;padding:6px 7px;white-space:nowrap}.device-tabs button.active{background:#ebf1e3;color:#637b53}.theme-strip{display:flex;gap:6px;align-items:center;padding:11px 15px;background:#f9faf6;border-top:1px solid #edf0e9;border-bottom:1px solid #e8ece4;min-height:46px}.theme-strip>span{font-size:10px;color:#94a18f;margin-right:2px}.theme-button{display:flex;align-items:center;gap:5px;font-size:9px;border-radius:5px;background:transparent;color:#8e9985;border:1px solid transparent;padding:5px 6px}.theme-button.active{background:#fff;border-color:#dce5d4;color:#66785a}.theme-button i{width:10px;height:10px;border:1px solid #0000000b;border-radius:50%}.expand-button{background:transparent;color:#92a087;font-size:19px;margin-left:auto;padding:0 2px}.preview-options{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:11px 15px;border-bottom:1px solid #e9eee5;min-height:38px}.toggle-label{display:flex;align-items:center;gap:5px;font-size:9px;color:#94a090;white-space:nowrap;cursor:pointer}.toggle-label input{width:12px;height:12px;accent-color:#74965d;margin:0}.site-panel{flex:1;min-height:0;position:relative;display:flex;background:#f0f3ed;overflow:hidden;padding:12px}.preview-stage{width:100%;height:100%;position:relative;overflow:hidden;flex:1;border-radius:6px;background:#fafbf6;box-shadow:0 3px 15px #35493212}#preview-frame{position:absolute;left:0;top:0;border:0;background:#fafbf6;transform-origin:top left}.script-error{position:absolute;bottom:0;left:0;right:0;background:#fff2ec;border-top:1px solid #f0c9b5;padding:10px 14px;font-size:11px;line-height:1.5;color:#a75539}.preview-footer{display:flex;align-items:center;gap:9px;min-height:34px;padding:9px 14px;background:#fff;border-top:1px solid #e5eae1;color:#a0ad97;font-size:9px}.preview-footer>span:first-child{display:flex;align-items:center;gap:5px;margin-right:auto;color:#8aa17c}.preview-footer button{background:transparent;font-size:17px;color:#95a88a;line-height:1;padding:0}.live-dot{display:inline-block;width:6px;height:6px;background:#9aba84;border-radius:50%;flex-shrink:0}
.inspector-shell{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.inspector-heading{padding:19px 17px 16px;border-bottom:1px solid #e7ece4;min-height:78px}.inspector-heading h2{font-size:14px;font-weight:660;margin:6px 0 0}.element-properties{padding:16px 15px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#c8d5bd transparent}.property-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:10px;color:#8c9b86}.property-heading>b{font:600 11px ui-monospace,monospace;color:#6f855f}.node-actions{display:flex;gap:4px}.node-actions button{font-size:13px;width:24px;height:24px;background:#f1f5ed;border:1px solid #e0e8d8;border-radius:5px;color:#8b9d7c}.property-fields{display:flex;flex-direction:column;gap:12px}.property-fields label,.style-fields label,.flex-fields label{display:flex;flex-direction:column;gap:7px;color:#7d9073;font-size:10px;font-weight:550}.property-fields input,.property-fields textarea,.property-fields select,.style-fields input:not([type=range]):not([type=color]),.style-fields select,.flex-fields select,.flex-fields input[type=number]{width:100%;border:1px solid #d9e3d0;background:#fbfcf8;color:#42543b;border-radius:6px;padding:9px 10px;font-size:11px;resize:vertical}.property-fields input::placeholder{color:#aab59f}.class-field-row{display:flex;gap:6px;min-width:0}.class-field-row input{flex:1}.class-field-row button{font-size:16px;color:#779461;background:#eaf2dd;border:1px solid #d5e4c2;border-radius:6px;padding:0 10px}.property-help{font-size:10px;line-height:1.65;color:#93a184;margin:12px 0 0}.inspector-section{margin-top:17px;border-top:1px solid #e7ede0;padding-top:16px}.inspector-section>summary{font-size:11px;color:#647a53;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.inspector-section>summary::after{content:'⌄';color:#a5b895}.inspector-section[open]>summary{margin-bottom:14px}.style-fields,.flex-fields{display:flex;flex-direction:column;gap:13px}.style-target-note{font-size:9px;line-height:1.65;background:#f1f6e8;border-radius:6px;padding:9px;color:#93a47e}.style-fields .field-pair,.flex-fields .field-pair{gap:8px}.color-control{display:flex;align-items:center;gap:7px;border:1px solid #dce6d1;border-radius:6px;padding:5px 7px;background:#fbfcf8}.color-control input{width:26px;height:26px;border:0;background:transparent;padding:0}.color-control span{font:9px ui-monospace,monospace;color:#9baa8c}.slider-label-row{display:flex;justify-content:space-between;align-items:center}.slider-label-row output{font:10px ui-monospace,monospace;color:#879a75;font-weight:400}.style-fields input[type=range],.flex-fields input[type=range]{accent-color:#839f64;width:100%;margin:0;cursor:pointer}.checkbox-field{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;font-size:11px;color:#7c906d}.checkbox-field input{accent-color:#7f9b65;width:13px;height:13px}.direction-buttons{display:flex;gap:5px}.direction-buttons button{background:#f5f8ee;color:#93a77c;border:1px solid #dce7ce;border-radius:6px;padding:8px 9px;flex:1;font-size:10px}.direction-buttons button.active{background:#e4efd2;color:#718c50;border-color:#b4ca94}.flex-demo{display:flex;gap:7px;min-height:70px;border:1px dashed #ccd9bb;border-radius:7px;background:#f9fbf4;padding:10px;overflow:hidden}.flex-demo span{background:#deebc9;color:#8aab62;border:1px solid #cadbb1;border-radius:5px;display:grid;place-items:center;font:12px ui-monospace,monospace;min-width:32px;min-height:29px;padding:6px 10px}.flex-empty{font-size:11px;line-height:1.8;color:#93a780;background:#f4f8ed;border-radius:7px;padding:13px}.flex-empty button{margin-top:10px;background:#e6eedb;border:1px solid #d4e2c0;border-radius:6px;color:#7a9460;padding:8px;width:100%;font-size:10px}.inspector-footnote{padding:13px 15px;border-top:1px solid #e5ecd9;font-size:9px;line-height:1.8;color:#9aa889;background:#fafcf6}.inspector-footnote button{font:9px ui-monospace,monospace;color:#829e5f;background:none;padding:0;text-decoration:underline}.image-property-thumb{width:100%;height:110px;object-fit:cover;border-radius:7px;border:1px solid #dae5d0}.image-choose-button{padding:9px;border-radius:6px;background:#eaf2dd;color:#7f9c5c;font-size:11px;width:100%;border:1px solid #d8e5c6}.image-credit{font-size:8px;color:#a6b39a}
.mission-card{margin:14px 24px 15px;display:flex;align-items:center;gap:14px;min-height:83px;background:#edf2e1;border:1px solid #dce5cb;border-radius:11px;padding:14px 18px}.mission-number{width:39px;height:39px;display:grid;place-items:center;border-radius:9px;background:#dee8c7;color:#7b9460;font:500 16px ui-monospace,monospace;flex-shrink:0}.mission-text{flex:1}.mission-text>div{display:flex;align-items:center;gap:12px;font-size:8px;letter-spacing:.9px;color:#98aa7d}.mission-text>div>span:last-child{letter-spacing:0;color:#a9b892}.mission-text h2{font-size:13px;margin:6px 0 5px;color:#68804f;font-weight:720}.mission-text p{font-size:11px;margin:0;color:#97a985;line-height:1.6}.mission-actions{display:flex;gap:6px;align-items:center}.mission-actions .button{font-size:10px;padding:9px 11px}.mission-actions .secondary{background:#f8fbf1;border-color:#d6e2c1;color:#8aa26c}.hint-box{margin:-3px 24px 17px;padding:13px 18px;border:1px solid #dfe7d0;border-radius:8px;background:#fafcf4;color:#93a579;font-size:12px;line-height:1.8}.hint-box code,.help-tip code{background:#e9f0dd;border-radius:3px;padding:2px 4px;font:11px ui-monospace,monospace;color:#859d65}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);background:#304734;color:#eef5e4;padding:13px 19px;border:1px solid #5a714e;border-radius:9px;box-shadow:0 8px 30px #15223930;z-index:50;font-size:12px;max-width:85vw;line-height:1.6}.drag-ghost{position:fixed;z-index:60;pointer-events:none;background:#5f814b;color:#fff;padding:10px 14px;border-radius:7px;box-shadow:0 8px 25px #16213c44;font-size:11px;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.modal{border:1px solid #dce5d6;border-radius:16px;background:#fff;color:var(--ink);padding:25px;box-shadow:0 25px 100px #14203855;max-width:calc(100vw - 36px);width:580px;max-height:90vh;overflow:auto}.modal::backdrop{background:#182a2380;backdrop-filter:blur(4px)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal-heading h2{font-size:22px;letter-spacing:-.6px;margin:7px 0 0}.modal-close{background:#f1f5ec;border-radius:7px;color:#9eb089;font-size:24px;width:32px;height:32px;flex-shrink:0}.modal-intro{font-size:12px;line-height:1.85;color:#94a186;margin:16px 0 20px}.class-fields{display:flex;flex-direction:column;gap:14px}.class-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#80976d}.class-fields small{color:#a3b191;font-size:9px}.class-fields input:not([type=checkbox]),.class-fields select{width:100%;padding:10px 11px;border:1px solid #dbe6d1;border-radius:7px;background:#fbfcf8;color:#567141;font-size:12px}.class-fields input[type=color]{height:39px;padding:5px;width:100%}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-triple{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.class-output{display:grid;grid-template-columns:1fr 1fr;gap:15px;border:1px solid #dee8d4;border-radius:8px;padding:15px;margin-top:18px;align-items:center}.class-output pre{font:10px/1.8 ui-monospace,monospace;color:#7e9862;margin:0;white-space:pre-wrap}#class-sample{line-height:1.5;overflow:hidden}.modal-footer{border-top:1px solid #e4ecd9;margin-top:21px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-footer>span{font-size:10px;color:#a2b190;line-height:1.8}.gallery-modal{width:740px}.gallery-filters{display:flex;gap:7px;margin:15px 0}.gallery-filters button{font-size:11px;border:1px solid #dce7ce;border-radius:20px;padding:7px 12px;background:#fafcf6;color:#9bb183}.gallery-filters button.active{background:#e5efd5;color:#7b9957;border-color:#c5d9ac}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery-item{background:transparent;text-align:left;padding:0;border:1px solid #dce6d0;border-radius:9px;overflow:hidden}.gallery-item img{width:100%;height:125px;object-fit:cover;display:block}.gallery-item>span{display:flex;justify-content:space-between;align-items:center;padding:10px 11px;font-size:12px;color:#8b9f74}.gallery-item small{font-size:9px;color:#a8b597}.gallery-note{font-size:10px;color:#a6b994;margin-top:18px}.gallery-note a{text-decoration:underline}.projects-modal{width:650px}.project-list{display:flex;flex-direction:column;gap:9px}.project-item{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dfe9d0;border-radius:9px;background:#fbfdf7}.project-item.active{background:#edf4e0;border-color:#cdddaf}.project-item-mark{font:17px ui-monospace,monospace;width:40px;height:40px;background:#e2edcf;color:#91af6c;border-radius:8px;display:grid;place-items:center}.project-item-text{flex:1;min-width:0}.project-item-text b{display:block;font-size:13px;color:#7f985e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-item-text small{display:block;font-size:10px;line-height:1.7;color:#a5b78c;margin-top:4px}.project-item>button{border-radius:6px;border:1px solid #d4e3bf;background:#fff;padding:8px 11px;font-size:11px;color:#91ab6b}.project-versions{margin:6px 5px 10px;padding:12px 15px;border-left:2px solid #dfebcd}.project-versions>span{font-size:10px;color:#a3b18e;display:block;margin-bottom:7px}.project-versions button{display:flex;justify-content:space-between;gap:12px;width:100%;background:transparent;padding:7px 0;font-size:10px;color:#93a97a;text-align:left}.storage-note{font-size:10px;line-height:1.85;color:#a5b490;background:#f5f9ee;border-radius:7px;padding:12px;margin:16px 0 0}.result-options{display:flex;flex-direction:column;gap:8px}.result-options button{display:flex;align-items:center;gap:14px;padding:16px 14px;border:1px solid #dfe9d2;border-radius:9px;background:#fbfdf6;text-align:left;color:#8ea873}.result-options button>span{font:12px ui-monospace,monospace;color:#adbe9d}.result-options button div{flex:1}.result-options b{font-size:12px;display:block;color:#859e68}.result-options small{font-size:10px;display:block;margin-top:5px;color:#a4b692;line-height:1.65}.result-options em{font-style:normal;font-size:17px}.code-modal{width:650px}#project-code-text{width:100%;height:170px;border:1px solid #dce8cc;background:#f8fbf1;color:#879f6b;font:11px/1.8 ui-monospace,monospace;border-radius:8px;padding:13px;resize:vertical;overflow-wrap:anywhere}.transfer-status{font-size:11px;color:#96ac7b;line-height:1.7;min-height:18px}.fullscreen-modal{width:1030px;height:90vh;padding:20px;overflow:hidden}.fullscreen-modal .modal-heading{align-items:center;margin-bottom:14px;height:40px}.fullscreen-modal h2{font-size:16px;margin:0}.fullscreen-modal iframe{border:1px solid #e0e9d4;border-radius:8px;width:100%;height:calc(100% - 55px);background:#fafbf6}.help-modal{width:720px}.help-files{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0}.help-files article{border-top:2px solid #e2ecd5;padding-top:17px}.file-type{font:700 12px ui-monospace,monospace;border-radius:5px;padding:5px 8px;display:inline-block}.file-type.html{background:#fff2e8;color:#bf9567}.file-type.css{background:#edf3ff;color:#839cd5}.file-type.flex{background:#edf4de;color:#9cb774}.help-files h3{font-size:12px;margin:12px 0 9px;color:#8ba16e}.help-files p{font-size:11px;color:#a3b391;line-height:1.85;margin:0}.help-tip{padding:15px 17px;background:#f5f9ee;border-radius:8px;margin-top:10px}.help-tip b{font-size:12px;color:#8fa86d}.help-tip p{font-size:11px;line-height:1.9;color:#a2b48a;margin:8px 0 0}.help-tip a{font-size:10px;color:#8faa65;display:inline-block;margin-top:8px}
@media(min-width:1550px){.workspace{grid-template-columns:minmax(500px,1fr) minmax(460px,1.15fr) 310px}.explorer{width:134px}.file-button{font-size:12px;padding-left:13px}.library-item{font-size:11px;padding:11px 8px}.block-row{min-height:42px}.tag-name{font-size:11px}.node-summary{font-size:12px}.node-class{max-width:85px}.code-content textarea,.line-numbers{font-size:12px}.preview-heading h2,.inspector-heading h2{font-size:16px}.toggle-label{font-size:10px}.device-tabs button{font-size:10px}.theme-button{font-size:10px}.inspector-shell{font-size:12px}}
@media(max-width:1240px){.global-save{display:none}.topbar{gap:16px}.project-title-label{padding-left:16px}.workspace{grid-template-columns:minmax(430px,1fr) minmax(360px,1.05fr);height:650px;min-height:0;max-height:none}.inspector-shell{grid-column:1/-1;max-height:none}.element-properties{overflow:visible;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.property-heading{grid-column:1/-1;margin-bottom:0}.property-fields{grid-column:1}.inspector-section{margin-top:0;border-left:1px solid #e1e9d6;padding:0 0 0 20px;border-top:0}.property-help{grid-column:1;font-size:10px;margin-top:0}.mission-card{margin-top:370px;align-items:flex-start}.mission-actions{flex-wrap:wrap;justify-content:flex-end}.mission-side{width:430px}.mission-nav button{padding:8px;font-size:10px}.canvas-caption>span:last-child{display:none}.inspector-footnote{padding:9px 17px}.library-items{grid-template-columns:repeat(3,1fr)}}
@media(max-width:940px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding:15px 18px;gap:14px}.project-title-label{flex:1;max-width:none}.header-actions{width:100%;justify-content:flex-end}.global-save{display:inline;margin-right:auto}.lesson-bar{padding:20px 18px;align-items:flex-start;flex-direction:column;gap:18px}.mission-side{width:100%;max-width:none}.workspace{margin:0 18px;grid-template-columns:1fr 1fr;gap:12px;height:620px}.studio{grid-column:1/-1;height:600px}.preview-shell{grid-column:1;height:590px}.inspector-shell{grid-column:2;height:590px;min-height:0;max-height:none}.element-properties{display:block;overflow:auto;padding:16px}.inspector-section{padding:16px 0 0;margin-top:17px;border-left:0;border-top:1px solid #e2ebd7}.mission-card{margin:615px 18px 15px;flex-wrap:wrap;gap:12px}.mission-text{min-width:230px}.mission-actions{margin-left:53px;justify-content:flex-start}.hint-box{margin-left:18px;margin-right:18px}.lesson-heading h1{font-size:24px}.explorer{width:135px}.library-items{grid-template-columns:repeat(4,1fr)}.preview-heading{flex-wrap:wrap;gap:12px}.device-tabs{margin-top:3px}.theme-strip{flex-wrap:wrap}.toggle-label{font-size:9px}.inspector-heading{padding:17px}.brand{font-size:18px}}
@media(max-width:600px){body{display:flex;flex-direction:column}.topbar{order:0;padding:13px;gap:12px}.brand{font-size:16px}.brand-mark{width:35px;height:35px;font-size:16px}.brand small{font-size:6px;letter-spacing:1px}.project-title-label{padding-left:12px;min-width:100px}.project-title-label input{font-size:11px}.header-actions{justify-content:space-between;gap:5px}.header-actions .button{font-size:10px;padding:9px 11px}.global-save{display:none}.lesson-bar{order:1;padding:20px 13px}.lesson-heading h1{font-size:22px}.lesson-heading p{font-size:11px;line-height:1.7}.mission-nav{gap:4px}.mission-nav button{font-size:9px;padding:7px 5px;gap:4px}.mission-nav button>span{width:17px;height:17px;font-size:8px}.mission-card{order:2;margin:0 13px 13px;padding:14px;gap:10px;align-items:flex-start}.mission-text{min-width:0}.mission-text h2{font-size:12px}.mission-text p{font-size:10px}.mission-number{width:32px;height:32px;font-size:14px}.mission-actions{margin-left:42px;gap:5px}.mission-actions .button{font-size:9px;padding:8px}.hint-box{order:3;margin:0 13px 15px;padding:12px 14px;font-size:11px}.workspace{order:4;display:flex;flex-direction:column;height:auto;margin:0 13px 20px}.studio{height:580px;flex-shrink:0}.preview-shell{height:570px;flex-shrink:0}.inspector-shell{height:auto;max-height:none;flex-shrink:0}.element-properties{overflow:visible}.explorer{width:102px}.file-button{font-size:10px;padding:10px 7px;gap:5px}.project-name{font-size:9px;padding-left:9px}.explorer-title{font-size:8px;padding-left:10px;padding-right:8px}.explorer-bottom{padding:14px 9px}.tiny-label{font-size:6px}.explorer-bottom p{font-size:9px}.file-tabs button{font-size:10px;padding:0 10px}.library-items{grid-template-columns:repeat(3,1fr)}.library-item{font-size:9px;padding:8px 5px}.library-item b{font-size:7px}.block-row{padding:8px 6px;gap:5px;min-height:38px}.tag-name{font-size:9px;min-width:43px}.node-summary{font-size:10px}.node-class{max-width:48px;font-size:8px}.canvas-caption{font-size:7px;letter-spacing:.7px}.editor-toolbar{padding:10px}#file-description{display:none}.editor-status{font-size:7px;padding:9px}.preview-heading{flex-wrap:nowrap}.toggle-label{font-size:10px}.preview-heading h2{font-size:14px}.device-tabs button{font-size:10px}.modal{padding:20px}.modal-heading h2{font-size:20px}.class-output{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}.gallery-item img{height:110px}.gallery-filters{gap:5px;flex-wrap:wrap}.gallery-filters button{font-size:10px;padding:6px 9px}.modal-footer{flex-wrap:wrap}.modal-footer .button{margin-left:auto}.help-files{grid-template-columns:1fr;gap:16px}.help-files article h3{display:inline;margin-left:8px}.help-files p{margin-top:10px}.project-item{padding:12px;gap:10px}.project-item-text b{font-size:12px}.result-options button{padding:14px 12px}.fullscreen-modal{height:88vh;padding:14px}.inspector-section{margin-top:20px}.inspector-heading h2{font-size:16px}.property-fields label,.style-fields label,.flex-fields label{font-size:11px}.property-fields input,.property-fields textarea,.property-fields select{font-size:12px}.flex-fields select,.style-fields select{font-size:12px}.property-help{font-size:11px}.style-target-note{font-size:10px}}
/* Keep the inspector in the page flow on smaller school screens. */
@media(min-width:941px) and (max-width:1240px){.workspace{height:auto;grid-template-rows:620px auto}.studio,.preview-shell{height:620px}.mission-card{margin-top:14px}.inspector-shell{min-height:0}.element-properties{align-items:start}}
@media(min-width:601px) and (max-width:940px){.workspace{height:auto;grid-template-rows:600px 590px}.mission-card{margin-top:14px}}
.property-fields label,.style-fields label,.flex-fields label{color:#667957;font-size:11px}.property-help{color:#82906f}.style-target-note{color:#748858}.inspector-section>summary{color:#5b714a}.color-control span,.slider-label-row output{color:#819469}.flex-empty{color:#7c8e65}.help-tip p,.help-files p,.modal-intro{color:#7e8d70}.project-item-text b,.result-options b{color:#607c49}.project-item-text small,.result-options small{color:#8b9d77}.transfer-status{color:#6d8850}.gallery-item>span{color:#647e4e}.mission-text h2{color:#5b733f}.mission-text p{color:#80945f}.lesson-heading p{color:#7c8a75}.global-save{color:#7d947a}
