:root{font-family:Arial,Helvetica,sans-serif;color:#263c32;background:#f5f4ef;font-synthesis:none;--green:#244f3d;--ink:#263c32;--muted:#7d847b;--line:#e7e8e1;--cream:#f5f4ef;--selected:#e9efe7;--rail:180px;--tree:222px;--inspector:288px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.38}button,input,select,textarea{outline-offset:3px}button:focus-visible{outline:2px solid #63886b}button{border:0;background:none}button svg{pointer-events:none}svg.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}input[type=range]{accent-color:var(--green)}.app-shell{display:grid;grid-template-columns:var(--rail) 1fr;height:100dvh;min-height:560px;overflow:hidden}.global-nav{background:linear-gradient(160deg,#244b3a,#163a2d 78%);color:#d5dfd4;display:flex;flex-direction:column;padding:27px 14px 16px;z-index:20}.brand{display:flex;align-items:center;gap:9px;margin:0 7px 35px;text-decoration:none;color:#fcfcf3}.brand img{width:27px;height:31px}.brand span{font-size:22px;letter-spacing:4px;font-weight:400}.workspace-label{font-size:9px;letter-spacing:1.6px;color:#a9beae;margin:0 13px 13px}.global-links{display:grid;gap:6px}.global-link{display:flex;align-items:center;gap:12px;font-size:12px;text-align:left;padding:13px 12px;border-radius:7px;transition:background .18s}.global-link:hover{background:#ffffff0d}.global-link.active{background:#ffffff17;color:#fff}.global-link .icon{width:18px}.nav-bottom{margin-top:auto}.prototype-tag{padding:12px;margin-bottom:20px;border:1px solid #ffffff1b;border-radius:8px;font-size:10px;line-height:1.7;color:#bbcdbd}.prototype-tag strong{display:block;color:#edf1e8;font-size:11px;font-weight:500}.prototype-tag .dot{width:5px;height:5px;display:inline-block;background:#a6bf86;border-radius:50%;margin-right:5px}.account{border-top:1px solid #ffffff18;padding:19px 7px 0;display:flex;gap:9px;align-items:center}.avatar{border-radius:50%;background:#f1eddf;color:#365040;width:32px;height:32px;display:grid;place-items:center;font-family:Georgia,serif;font-size:17px}.account-name{font-size:11px;color:#fff;margin-bottom:4px}.account-role{font-size:9px;color:#adc5ae}.account .icon{margin-left:auto;width:14px}.main{display:flex;flex-direction:column;min-width:0;overflow:hidden}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;background:#fdfdf9;border-bottom:1px solid var(--line);gap:16px}.top-title{font-family:Georgia,serif;font-size:20px;letter-spacing:-.5px;white-space:nowrap}.top-title small{display:block;font:10px Arial,sans-serif;letter-spacing:.2px;color:var(--muted);margin-bottom:5px}.top-actions{display:flex;align-items:center;gap:8px}.icon-button{width:31px;height:32px;display:inline-grid;place-items:center;border-radius:6px;border:1px solid transparent;color:#657263}.icon-button:hover{background:#ecefe7;color:var(--ink)}.icon-button.active{background:#e5ede1;color:#244f3d}.icon-button .icon{width:16px;height:16px}.divider{width:1px;height:20px;background:var(--line);margin:0 3px}.save-label{font-size:10px;color:#74836f;display:flex;gap:6px;align-items:center;margin:0 10px}.save-label .icon{width:13px}.btn{padding:10px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:11px;display:inline-flex;gap:7px;align-items:center;justify-content:center;line-height:1.3;min-height:35px}.btn:hover{background:#f4f6f0}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#183c2c}.btn.soft{background:#edf2e8;border-color:#e2e9dc}.btn .icon{width:14px;height:14px}.modes{display:flex;background:#f2f3ec;border:1px solid #e9ebe2;padding:3px;border-radius:7px;gap:2px}.mode{padding:7px 16px;border-radius:4px;font-size:11px;color:#7d857b;display:flex;align-items:center;gap:6px}.mode.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #20351e10}.mode .icon{width:13px;height:13px}.editor-body{display:grid;grid-template-columns:var(--tree) minmax(0,1fr) var(--inspector);flex:1;min-height:0;overflow:hidden}.course-panel{background:#fafaf6;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto}.panel-head{padding:23px 19px 17px;display:flex;justify-content:space-between;align-items:center}.panel-eyebrow{font-size:9px;color:#8a9186;letter-spacing:1.3px;text-transform:uppercase;margin:0 0 7px}.panel-title{font-size:13px;font-weight:600}.course-note{font-size:10px;color:#838d7d;line-height:1.6;padding:0 19px 18px;margin:0}.unit{font-size:10px;color:#76836e;padding:14px 19px;display:flex;gap:7px;align-items:center;border-top:1px solid var(--line)}.unit .icon{width:12px}.lesson-item{margin:0 10px 7px;padding:12px 10px;display:flex;align-items:center;gap:9px;font-size:11px;text-align:left;border-radius:6px;width:calc(100% - 20px)}.lesson-item:hover{background:#eef1e8}.lesson-item.active{background:#e7eee2;color:#2f553a}.lesson-num{font-size:9px;opacity:.6;width:17px}.lesson-item .icon{width:14px;height:14px}.course-tabs{display:flex;padding:20px 18px 0;gap:22px;border-bottom:1px solid var(--line)}.course-tabs button{padding:0 0 12px;font-size:10px;color:#899080;border-bottom:2px solid transparent}.course-tabs button.active{color:#355337;border-color:#355337}.layers{padding:11px 9px}.layer{display:flex;align-items:center;gap:8px;min-height:37px;border-radius:5px;padding:0 8px;color:#74816c}.layer.selected{background:#edf0e5;color:#324e33}.layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;flex:1;cursor:pointer}.layer-type{display:flex;align-items:center}.layer-type .icon{width:12px;height:12px}.layer .icon-button{width:19px;height:24px;opacity:0}.layer:hover .icon-button,.layer.selected .icon-button,.layer.hidden .icon-button,.layer.locked .icon-button{opacity:.7}.layer .icon-button .icon{width:11px;height:11px}.layer.hidden .layer-name{text-decoration:line-through;opacity:.6}.panel-foot{margin-top:auto;padding:15px 17px;border-top:1px solid var(--line);font-size:9px;color:#91988a;line-height:1.7}.panel-foot strong{color:#667a61;font-weight:500}.workspace{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#f1f1eb}.workspace-toolbar{height:47px;min-height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;border-bottom:1px solid #e5e7df;background:#f8f8f2;gap:10px}.crumbs{display:flex;gap:7px;align-items:center;font-size:10px;color:#88917e;overflow:hidden;white-space:nowrap}.crumbs .icon{width:11px;height:11px}.crumbs span:last-child{color:#4a5b41}.device-controls{display:flex;align-items:center;gap:3px}.device-controls .icon-button{width:28px;height:27px}.zoom-label{font-size:10px;margin-left:8px;color:#7b8772}.stage{flex:1;overflow:auto;padding:27px 27px 55px;scrollbar-width:thin;scrollbar-color:#d0d7c7 transparent}.stage-head{display:flex;align-items:center;justify-content:space-between;margin:0 auto 17px;max-width:100%;width:860px;gap:12px}.stage-title{font-size:11px;color:#52684d;font-weight:500;display:flex;align-items:center;gap:7px}.stage-title .icon{width:13px;height:13px}.stage-meta{font-size:9px;color:#909985}.stage-meta span{width:5px;height:5px;display:inline-block;border-radius:50%;background:#7f9b69;margin-right:4px}.lesson-frame{margin:0 auto;width:100%;max-width:860px;border-radius:9px;box-shadow:0 3px 24px #28382206,0 0 0 1px #e3e5da;background:#fff;overflow:hidden;transition:max-width .3s ease}.lesson-frame.tablet{max-width:620px}.lesson-frame.phone{max-width:375px}.lesson-hero{height:126px;position:relative;overflow:hidden;background:#dfe4d3;display:flex;align-items:center;justify-content:space-between;padding:24px 30px}.lesson-hero:before{content:'';position:absolute;width:220px;height:220px;border-radius:50%;background:#f1eee0;left:-100px;top:-110px;opacity:.6}.hero-copy{z-index:1}.hero-copy p{font-size:9px;letter-spacing:2px;margin:0 0 10px;color:#667952}.hero-copy h2{font:30px Georgia,serif;margin:0;color:#314b34;letter-spacing:-.7px}.hero-art{width:210px;height:210px;position:absolute;right:-10px;top:-46px;object-fit:cover;transform:rotate(-10deg);mix-blend-mode:multiply;opacity:.85;border-radius:50%}.lesson-nav{padding:13px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eff0e9;font-size:9px;color:#7f8c75}.lesson-progress{display:flex;align-items:center;gap:8px}.progress-track{width:62px;height:3px;border-radius:4px;background:#e4e9da}.progress-track i{display:block;width:33%;height:100%;background:#6b8d5d}.lesson-content{padding:26px 29px 23px}.lesson-intro{margin-bottom:25px}.lesson-intro h1{font:29px/1.18 Georgia,serif;letter-spacing:-.75px;margin:0 0 11px;color:#293f2e}.lesson-intro p{font-size:11px;line-height:1.7;color:#818a78;margin:0}.section-label{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:1.4px;font-size:8px;color:#7b876c;margin-bottom:12px}.section-label .icon{width:13px;height:13px}.activity-host{width:100%;position:relative;overflow:visible}.artboard{position:relative;transform-origin:top left;touch-action:none;isolation:isolate;overflow:hidden}.artboard.editable{overflow:visible}.artboard:before{content:'';position:absolute;inset:0;background:var(--board-bg);border-radius:inherit;pointer-events:none}.artboard.show-grid:after{content:'';position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#64845a45 .8px,transparent .8px);background-size:16px 16px;border-radius:inherit;z-index:210;opacity:.6}.canvas-element{position:absolute;box-sizing:border-box;transform-origin:center;user-select:none;touch-action:none;display:flex;align-items:center;justify-content:center}.editable .canvas-element{cursor:move}.canvas-element.locked{cursor:default}.element-content{width:100%;height:100%;overflow:hidden;border-radius:inherit;display:flex;align-items:center}.text-content{white-space:pre-wrap;display:block;width:100%;overflow-wrap:anywhere}.button-content{justify-content:center;gap:10px;white-space:nowrap}.button-content .icon{width:16px;height:16px}.image-content{object-fit:cover;width:100%;height:100%;pointer-events:none}.canvas-element iframe{width:100%;height:100%;border:none;border-radius:inherit}.editable .canvas-element iframe{pointer-events:none}.canvas-element.selected{outline:1.5px solid #66876c;outline-offset:3px}.selection-label{position:absolute;left:-4px;top:-23px;font:10px Arial,sans-serif;background:#66876c;color:#fff;padding:3px 7px;border-radius:3px 3px 0 0;white-space:nowrap;z-index:999}.resize-handle{position:absolute;width:9px;height:9px;background:#fff;border:1.5px solid #66876c;border-radius:1px;z-index:1000}.resize-handle[data-handle=nw]{left:-8px;top:-8px;cursor:nwse-resize}.resize-handle[data-handle=ne]{right:-8px;top:-8px;cursor:nesw-resize}.resize-handle[data-handle=sw]{left:-8px;bottom:-8px;cursor:nesw-resize}.resize-handle[data-handle=se]{right:-8px;bottom:-8px;cursor:nwse-resize}.canvas-element.editing{cursor:text;user-select:text;touch-action:auto}.canvas-element.editing .text-content{outline:none;user-select:text}.activity-caption{display:flex;justify-content:space-between;gap:8px;margin:12px 1px 24px;font-size:8px;color:#97a08b}.activity-caption span{display:flex;align-items:center;gap:5px}.activity-caption .icon{width:10px;height:10px}.reflection-card{padding:18px 18px 16px;background:#fafbf6;border:1px solid #eceee4;border-radius:8px}.reflection-card h3{font:17px Georgia,serif;color:#40543a;margin:0 0 7px}.reflection-card p{font-size:10px;color:#838e79;margin:0 0 12px;line-height:1.6}.reflection-card textarea{width:100%;resize:vertical;min-height:60px;border:1px solid #e4e8dc;border-radius:5px;background:#fff;padding:10px;font-size:11px;color:#40543a}.reflection-footer{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:8px;color:#97a08b}.reflection-footer button{font-size:9px;color:var(--green);padding:0;display:flex;gap:5px;align-items:center}.reflection-footer button .icon{width:11px;height:11px}.lesson-bottom{border-top:1px solid #eff0e9;padding:16px 29px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#7b896e}.lesson-bottom button{display:flex;align-items:center;gap:7px}.lesson-bottom .icon{width:12px;height:12px}.stage-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:#96a089;font-size:9px;margin:21px auto 0}.stage-hint .icon{width:12px;height:12px}.workspace-bottom{height:29px;min-height:29px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-top:1px solid #e2e5da;background:#f8f8f1;color:#929a86;font-size:9px}.workspace-bottom button{font-size:9px;color:#718464;display:flex;gap:5px;align-items:center}.workspace-bottom .icon{width:12px;height:12px}.inspector{background:#fdfdf9;border-left:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;min-width:0}.inspector-top{padding:21px 19px 16px;display:flex;justify-content:space-between;align-items:center}.inspector-name{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600}.inspector-name .icon{width:16px}.inspector-tabs{display:flex;margin:0 18px 3px;border-bottom:1px solid var(--line);gap:23px}.inspector-tabs button{font-size:10px;padding:0 0 11px;color:#8b9383;border-bottom:2px solid transparent}.inspector-tabs button.active{border-color:#3e6345;color:#3e6345}.property-section{padding:18px;border-bottom:1px solid var(--line)}.property-section h3{font-size:10px;font-weight:600;margin:0 0 14px;display:flex;align-items:center;justify-content:space-between}.property-section h3 .icon{width:11px;height:11px;color:#9aa18f}.field{display:block;margin-bottom:12px}.field:last-child{margin-bottom:0}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8b9380;margin:0 0 7px;line-height:1.5}.field-label .inherit{font-size:8px;color:#93a486}.field input:not([type=range]):not([type=color]):not([type=checkbox]),.field select,.field textarea,.modal-field{width:100%;background:#fff;border:1px solid #e3e7db;border-radius:5px;padding:9px 10px;font-size:10px;color:#4a5e40;min-width:0;line-height:1.4}.field input:focus,.field select:focus,.field textarea:focus{outline:1px solid #7b9671;outline-offset:0}.field textarea{resize:vertical;min-height:76px}.field select{appearance:auto}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.input-unit{position:relative}.input-unit input{padding-right:29px!important}.input-unit span{position:absolute;right:10px;top:10px;font-size:9px;color:#a6ae9b;pointer-events:none}.range-row{display:flex;gap:12px;align-items:center}.range-row input[type=range]{flex:1;min-width:0;height:3px}.range-row output{font-size:10px;min-width:35px;text-align:right;color:#617653}.range-row input[type=number]{width:58px!important}.colour-row{display:flex;align-items:center;border:1px solid #e3e7db;border-radius:5px;background:#fff;height:34px;overflow:hidden;padding:0 8px;gap:8px}.colour-row input[type=color]{width:19px;height:19px;border:0;padding:0;border-radius:4px;overflow:hidden;background:none;cursor:pointer}.colour-row input[type=color]::-webkit-color-swatch-wrapper{padding:0}.colour-row input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}.colour-row input[type=text]{border:0!important;padding:0!important;flex:1;height:auto;background:none!important}.align-buttons{display:flex;gap:5px}.align-buttons button{flex:1;border:1px solid #e3e7db;height:29px;border-radius:4px;display:grid;place-items:center;color:#819176}.align-buttons button:hover,.align-buttons button.active{background:#edf2e7;color:#2f5539;border-color:#c7d6bd}.align-buttons .icon{width:13px;height:13px}.check-row{display:flex;align-items:center;gap:8px;font-size:10px;color:#78896c;line-height:1.5;margin:10px 0}.check-row input{accent-color:var(--green);width:13px;height:13px}.tiny-note{font-size:9px;color:#9aa28f;line-height:1.7;margin:10px 0 0}.origin-card{padding:11px;border:1px solid #e6ebdf;border-radius:6px;background:#f8faf3;font-size:9px;color:#7e9070;line-height:1.8}.origin-card strong{display:block;color:#4c6b3c;font-size:10px;font-weight:500}.text-link{font-size:10px;color:#557848;display:flex;gap:5px;align-items:center;padding:0}.text-link .icon{width:13px}.inspector-actions{display:flex;gap:7px;padding:15px 18px}.inspector-actions .btn{flex:1;padding:8px;font-size:9px}.add-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.add-tool{padding:12px 4px;border:1px solid #e4e8db;border-radius:6px;background:#fff;display:grid;justify-items:center;gap:7px;font-size:9px;color:#6c805d}.add-tool:hover{background:#eef3e5;border-color:#b8cba7}.add-tool .icon{width:20px;height:20px}.code-mode{padding:20px;background:#f8faf3}.code-mode .code-label{font-size:9px;letter-spacing:1px;color:#7c8f6f;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.code-mode textarea{width:100%;height:330px;resize:vertical;border:1px solid #dfe6d4;background:#fdfef9;border-radius:7px;padding:14px;font:11px/1.7 monospace;color:#355435;tab-size:2}.code-error{color:#a64635;font-size:10px;line-height:1.6;min-height:15px;margin:8px 0}.code-mode .btn{width:100%;margin-top:9px}.code-description{font-size:10px;line-height:1.7;color:#859578;margin-top:14px}.preview-banner{padding:11px 20px;background:#e5eddc;color:#426036;display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:15px}.preview-banner button{font-size:10px;text-decoration:underline}.previewing .editor-body{grid-template-columns:1fr}.previewing .course-panel,.previewing .inspector{display:none}.previewing .stage{padding-top:30px}.previewing .lesson-frame{max-width:860px}.previewing .lesson-frame.tablet{max-width:620px}.previewing .lesson-frame.phone{max-width:375px}.previewing .artboard{overflow:hidden}.previewing .canvas-element{cursor:default}.previewing .canvas-element[data-type=button]{cursor:pointer}.previewing .canvas-element iframe{pointer-events:auto}.empty-inspector{text-align:center;padding:28px 20px;color:#8f9a82;font-size:11px;line-height:1.8}.empty-inspector .icon{width:30px;height:30px;color:#a8b79d;margin-bottom:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:12px 20px;background:#254b36;color:#f4f6eb;border-radius:8px;box-shadow:0 6px 30px #1b3d2c30;font-size:12px;z-index:500;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{padding:0;border:1px solid #e1e7d8;border-radius:15px;box-shadow:0 30px 100px #17311b35;max-width:calc(100vw - 36px);width:650px;color:var(--ink);background:#fafbf6}dialog::backdrop{background:#1b2d2260;backdrop-filter:blur(4px)}.modal-header{padding:25px 27px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.modal-header h2{font:26px Georgia,serif;letter-spacing:-.4px;margin:5px 0 0}.modal-header .eyebrow{font-size:9px;letter-spacing:1.6px;color:#8a9b7c;text-transform:uppercase}.modal-body{padding:23px 27px;max-height:65vh;overflow:auto}.modal-body p{font-size:12px;line-height:1.8;color:#7d8d70}.modal-footer{padding:16px 27px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.modal-footer .tiny-note{margin:0}.modal-body .field-label{font-size:11px}.modal-body .field input,.modal-body .field select,.modal-body .field textarea{font-size:12px!important}.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.preset-card{border:1px solid #e2e7d8;border-radius:8px;overflow:hidden;background:#fff;text-align:left;transition:transform .15s}.preset-card:hover{transform:translateY(-2px);border-color:#a8be98}.preset-preview{height:100px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px}.preset-preview strong{font:21px Georgia,serif}.preset-preview span{display:block;width:65px;height:15px;border-radius:20px;background:currentColor;opacity:.7}.preset-caption{display:flex;justify-content:space-between;align-items:center;padding:13px;font-size:11px}.asset-card{position:relative;border:1px solid #e3e7db;border-radius:7px;overflow:hidden;padding:0;text-align:left;background:#fff}.asset-card img{width:100%;height:120px;object-fit:cover;display:block}.asset-card span{display:block;padding:10px;font-size:11px}.asset-upload{padding:28px;border:1px dashed #b6c5a6;background:#f2f6e9;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;border-radius:8px;min-height:160px;font-size:11px;text-align:center;margin-bottom:17px}.asset-upload .icon{width:24px;height:24px;color:#72975c}.revision{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);gap:20px}.revision strong{font-size:11px;font-weight:500;display:block;margin-bottom:6px}.revision small{font-size:9px;color:#929d86}.revision .btn{font-size:9px}.badge{font-size:9px;padding:4px 8px;border-radius:20px;background:#eaf0e2;color:#668751}.review-summary{display:flex;gap:11px;padding:16px;background:#edf3e3;border-radius:8px;margin:15px 0 20px;align-items:flex-start}.review-summary .icon{color:#668a50}.review-summary p{margin:0;font-size:11px}.review-list{display:grid;gap:11px;font-size:11px;color:#788c68}.review-list span{display:flex;gap:8px;align-items:center}.review-list .icon{width:14px;height:14px}.canvas-demo{border:1px solid #dfe5d6;border-radius:9px;overflow:hidden;background:#fff}.drawing-toolbar{padding:10px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #edf0e7;flex-wrap:wrap}.swatch{width:23px;height:23px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dae2d0}.swatch.active{box-shadow:0 0 0 2px #738f60}.drawing-toolbar input[type=range]{width:70px}.draw-canvas{width:100%;height:300px;display:block;touch-action:none;cursor:crosshair;background:#fff}.drawing-toolbar select{font-size:10px;border:1px solid #dde6d1;padding:5px;border-radius:4px}.game-screen{text-align:center;padding:8px 0}.game-screen .game-word{font:39px Georgia,serif;color:#385333;margin:20px 0 12px}.game-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-answers button{border:1px solid #dbe5d1;border-radius:8px;background:#fff;padding:18px;font-size:13px}.game-answers button:hover{background:#eaf1df}.game-progress{font-size:10px;color:#91a17f}.game-feedback{min-height:30px;margin-top:13px;font-size:12px;color:#62804e}.mobile-panels{display:none}.context-help{font-size:10px;color:#97a489;line-height:1.7;margin:0}.content-fields{padding:18px}.activity-settings{margin-top:16px}.empty-layer{font-size:10px;color:#8c9a7e;padding:12px;line-height:1.7}.asset-mini{border-radius:6px;overflow:hidden;margin-bottom:11px;height:95px;width:100%;object-fit:cover}.preview-activity-title{font:20px Georgia,serif;margin-top:0}.keyboard-list{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px;color:#718464}.keyboard-list kbd{font:10px monospace;background:#edf2e5;border:1px solid #dce6cf;padding:4px 7px;border-radius:4px}.code-modal{width:900px}.modal-error{color:#ae4c3b!important}.confirm-note{border-left:2px solid #b6cba1;padding-left:12px}.saved-state{color:#89a475}.full{width:100%}.margin-top{margin-top:12px}.transparent-pattern{background:repeating-conic-gradient(#e7ebdf 0% 25%,#fff 0% 50%) 50%/12px 12px}.custom-box{padding:12px;border:1px dashed #a5bd8e;color:#6c8756;font-size:12px;text-align:center;background:#f3f7eb}.image-toolbar{display:flex;gap:8px}.phone .lesson-hero{height:112px;padding:22px}.phone .hero-copy h2{font-size:25px}.phone .hero-art{width:160px;height:160px;right:-35px;top:-15px;opacity:.55}.phone .lesson-content{padding:23px 18px}.phone .lesson-intro h1{font-size:26px}.phone .lesson-intro p{font-size:12px}.phone .lesson-nav{padding:13px 18px}.phone .lesson-bottom{padding:15px 18px}.phone .activity-caption{font-size:7px}.phone .reflection-card p{font-size:11px}.phone .reflection-card textarea{font-size:12px}.loading{display:flex;align-items:center;justify-content:center;height:100vh;color:#69805b;font:20px Georgia,serif}
@media(min-width:1650px){:root{--rail:194px;--tree:245px;--inspector:310px}.stage{padding:33px 39px 60px}.global-link{font-size:13px}.lesson-hero{height:145px}.lesson-intro h1{font-size:34px}.lesson-intro p{font-size:12px}.lesson-content{padding:30px 34px}.topbar{padding:0 30px}}
@media(max-width:1250px){:root{--rail:74px;--tree:190px;--inspector:264px}.brand{margin:0 auto 32px}.brand span,.workspace-label,.global-link span,.account-details,.account>.icon,.prototype-tag{display:none}.global-nav{padding:25px 11px 18px}.global-link{padding:13px;justify-content:center}.account{justify-content:center;padding:18px 0 0}.topbar{padding:0 18px;gap:10px}.top-title{font-size:18px}.mode{padding:7px 12px}.save-label{margin:0 4px}.stage{padding:22px 19px 40px}.lesson-content{padding:23px}.lesson-hero{padding:24px}.lesson-intro h1{font-size:27px}.lesson-intro p{font-size:11px}.panel-head{padding:20px 14px 16px}.course-note{padding:0 14px 16px}.unit{padding:13px 14px}.inspector-top{padding:20px 16px 16px}.property-section{padding:16px}.inspector-tabs{margin:0 16px 3px}.top-actions{gap:5px}.btn{padding:10px 11px}}
@media(max-width:1050px){:root{--tree:0px;--inspector:266px}.course-panel{display:none}.topbar .save-label{display:none}.mobile-panels{display:flex;gap:4px}.course-panel.drawer-open{display:flex;position:fixed;left:74px;top:73px;bottom:0;width:230px;z-index:30;box-shadow:15px 0 30px #30452b17}.stage{padding:22px}.workspace-toolbar{padding:0 13px}.stage-title{font-size:10px}.stage-meta{display:none}}
@media(max-width:750px){:root{--rail:0px;--inspector:0px}.global-nav{display:none}.topbar{height:64px;padding:0 13px}.top-title{font-size:17px}.top-title small{font-size:9px}.top-actions .undo-actions,.top-actions .divider,.topbar>.modes{display:none}.top-actions .btn{font-size:10px;min-height:32px;padding:8px 10px}.top-actions .btn.primary{max-width:115px}.editor-body{grid-template-columns:minmax(0,1fr)}.inspector{display:none}.inspector.drawer-open{display:block;position:fixed;right:0;top:64px;bottom:0;width:285px;z-index:30;box-shadow:-15px 0 30px #30452b17}.course-panel.drawer-open{left:0;top:64px}.workspace-toolbar{height:45px;min-height:45px}.crumbs{font-size:9px}.crumbs span:first-child{display:none}.stage{padding:18px 13px 35px}.stage-head{margin-bottom:13px}.lesson-content{padding:22px 18px}.lesson-hero{padding:22px;height:115px}.lesson-intro h1{font-size:27px}.lesson-intro p{font-size:11px}.lesson-hero .hero-copy h2{font-size:27px}.hero-art{opacity:.6;width:185px;height:185px;right:-25px;top:-28px}.lesson-nav{padding:13px 18px}.workspace-bottom{font-size:8px;padding:0 11px}.stage-hint{font-size:8px;line-height:1.7;text-align:center}.zoom-label{display:none}.modal-header{padding:21px}.modal-body{padding:20px}.modal-footer{padding:15px 20px;flex-wrap:wrap}.modal-footer .tiny-note{font-size:9px}.modal-header h2{font-size:24px}.cards-grid{gap:9px}.preset-preview{padding:12px}.preset-preview strong{font-size:17px}.preview-banner{font-size:10px;padding:10px 13px}.top-actions{gap:6px}.workspace-toolbar .mobile-panels .icon-button{display:grid}.device-controls{gap:1px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Keep the property controls comfortably readable at everyday laptop widths. */
.field-label{font-size:11px}.field input:not([type=range]):not([type=color]):not([type=checkbox]),.field select,.field textarea{font-size:12px}.property-section h3{font-size:12px}.inspector-tabs button{font-size:11px}.layer-name{font-size:11px}.lesson-intro p{font-size:13px}.lesson-nav{font-size:10px}.reflection-card p{font-size:12px}.reflection-card textarea{font-size:12px}.lesson-item{font-size:12px}.check-row{font-size:11px}.range-row output{font-size:11px}.tiny-note{font-size:10px}.stage-hint{font-size:10px}.workspace-bottom{font-size:10px}.workspace-bottom button{font-size:10px}.btn{font-size:12px}.topbar .btn{font-size:11px}.mode{font-size:12px}.panel-title{font-size:14px}.inspector-name{font-size:14px}.lesson-content .reflection-footer{font-size:9px}.lesson-content .reflection-footer button{font-size:10px}
.modal-feedback{margin-top:14px;padding:10px 12px;border-radius:6px;background:#eaf1e1;color:#557543;font-size:11px;line-height:1.6}
.global-nav{background:var(--studio-sidebar,#193c30)}.workspace{background:var(--studio-workspace,#f5f4ef)}.actual-studio-brand{flex-direction:column;align-items:center;justify-content:center;margin:0 0 27px;padding:10px 8px;background:#f8f6ed;border-radius:9px;color:#193354;gap:0;min-height:91px}.brand-wordmark{display:block;width:100%;height:auto;max-height:155px;object-fit:contain}.actual-studio-brand .brand-wordmark{width:136px;max-width:100%;height:auto}.actual-studio-brand .brand-mark{display:none}.actual-studio-brand .brand-studio-label{font:9px Arial,sans-serif;letter-spacing:1.6px;margin-top:6px;color:#647458}.branding-modal{width:760px}.branding-preview{display:grid;grid-template-columns:180px 1fr;gap:25px;align-items:center;padding:20px;background:#f0f2e8;border:1px solid #e0e7d5;border-radius:9px;margin:20px 0}.branding-logo-sample{padding:12px;background:#fdfcf6;border-radius:7px}.branding-preview>div>span{font-size:10px;color:#819171}.branding-preview h3{font:28px Georgia,serif;color:#355132;margin:9px 0}.branding-preview p{font-size:11px;margin:0 0 12px}.branding-preview button{padding:10px 13px;border-radius:5px;color:white;font-size:10px;opacity:1;cursor:default}.branding-group{border:1px solid #e1e7d7;border-radius:7px;padding:0 15px;margin:12px 0;background:#fdfef8}.branding-group summary{padding:15px 0;font-size:12px;font-weight:600;cursor:pointer;list-style-position:inside}.branding-group .field{margin-bottom:15px}.branding-group input[type=color]{width:100%;height:37px;padding:4px;border:1px solid #e2e8d6;border-radius:5px;background:white}.branding-group .image-toolbar{margin:4px 0 10px}.branding-modal .modal-footer .btn{font-size:11px;min-height:36px}
@media(max-width:1250px){.actual-studio-brand{padding:7px;min-height:49px;margin:0 0 28px}.actual-studio-brand .brand-wordmark,.actual-studio-brand .brand-studio-label{display:none}.actual-studio-brand .brand-mark{display:block;width:28px;height:33px;object-fit:contain}}
@media(max-width:700px){.branding-preview{grid-template-columns:1fr;gap:16px}.branding-logo-sample{max-width:180px}.branding-modal .modal-footer{display:flex;flex-wrap:wrap;gap:12px}.branding-group .image-toolbar{flex-wrap:wrap}}
.stacked-logo{display:flex;align-items:center;gap:14px;color:var(--logo-ink,#152749)}.stacked-logo>.brand-mark{display:block;width:60px;height:70px;flex:0 0 auto;object-fit:contain}.stacked-logo-words{display:flex;flex-direction:column;gap:3px}.stacked-logo-words>span{display:block;font:800 25px/1.05 Arial,Helvetica,sans-serif;letter-spacing:1px;color:var(--logo-ink,#152749);white-space:nowrap}.actual-studio-brand>.brand-mark{display:none}.actual-studio-brand .stacked-logo{gap:8px;max-width:100%}.actual-studio-brand .stacked-logo>.brand-mark{display:block;width:34px;height:40px}.actual-studio-brand .stacked-logo-words>span{font-size:14px;letter-spacing:.7px}.branding-logo-sample .stacked-logo{gap:9px}.branding-logo-sample .stacked-logo>.brand-mark{width:39px;height:46px}.branding-logo-sample .stacked-logo-words>span{font-size:16px;letter-spacing:.6px}
@media(max-width:1250px){.actual-studio-brand>.brand-wordmark,.actual-studio-brand>.brand-studio-label{display:none}.actual-studio-brand>.brand-mark{display:block;width:28px;height:33px}}
.admin-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.admin-option{border:1px solid #dce4d8;background:#fff;border-radius:12px;display:flex;flex-direction:column;text-align:left;gap:12px;padding:24px}.admin-option:hover{border-color:#63886b;background:#f2f6ed}.admin-option>.icon{width:26px;height:26px;color:#42624a}.admin-option strong{font:23px Georgia,serif}.admin-option span{font-size:12px;line-height:1.8;color:#6e7c6a}.admin-option b{font-size:11px;color:#31593c;margin-top:auto}
.portal-designer-modal{width:calc(100vw - 48px);max-width:1600px;height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);overflow:hidden}.portal-designer-modal[open]{display:flex;flex-direction:column}.portal-designer-modal .modal-header{padding:20px 25px 16px;flex-shrink:0}.portal-designer-modal .modal-header h2{font-size:27px}.portal-designer-modal .modal-body{padding:0;flex:1;min-height:0;max-height:none;overflow:hidden}.portal-designer-modal .modal-footer{padding:13px 22px;flex-shrink:0}.portal-designer{height:100%;display:grid;grid-template-columns:320px minmax(0,1fr)}.portal-controls{overflow:auto;padding:0 16px 20px;background:#fbfcf8;border-right:1px solid #dfe6db}.portal-draft-note{position:sticky;top:0;margin:0;padding:15px 0;background:#fbfcf8;z-index:2;font-size:11px!important}.portal-controls .branding-group{margin:0 0 10px;padding:0 13px}.portal-controls .check-row{margin:10px 0 17px}.portal-controls .field textarea{width:100%;resize:vertical;min-height:52px;border:1px solid #dce4d5;border-radius:6px;background:#fff;padding:10px;line-height:1.6}.portal-controls input[type=number]{width:100%}.portal-controls .image-toolbar{display:flex;flex-wrap:wrap;gap:6px}.portal-controls .image-toolbar .btn{font-size:10px}.portal-backup-actions{display:grid;gap:8px;margin-top:20px}.portal-preview-area{min-width:0;display:flex;flex-direction:column;background:#e9ede5}.portal-preview-toolbar{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f4f6f0;border-bottom:1px solid #dce3d7}.portal-preview-toolbar>span{font-size:9px;letter-spacing:1px;color:#657660}.portal-preview-toolbar>div{display:flex;gap:4px}.portal-preview-toolbar .btn{font-size:10px;padding:7px 10px;min-height:30px}.portal-preview-toolbar label{font-size:10px;color:#657660;display:flex;align-items:center;gap:7px}.portal-preview-toolbar select{font-size:11px;background:white;border:1px solid #dce3d7;border-radius:5px;padding:6px}.portal-preview-scroll{padding:20px;overflow:auto;flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center}.portal-preview-scroll iframe{width:100%;height:850px;border:0;background:white;box-shadow:0 10px 35px #253f2420;flex-shrink:0;pointer-events:none}.portal-preview-scroll iframe.tablet{width:min(760px,100%)}.portal-preview-scroll iframe.phone{width:min(390px,100%)}.portal-preview-area>.tiny-note{margin:0;padding:10px 18px;font-size:10px!important;background:#f4f6f0}.portal-footer-actions{display:flex;gap:8px}.admin-top-button{white-space:nowrap}
@media(max-width:1050px){.portal-designer{grid-template-columns:280px minmax(0,1fr)}.portal-preview-scroll{padding:12px}.topbar .admin-top-button{font-size:0;padding:8px}.topbar .admin-top-button .icon{width:17px;height:17px}.admin-top-button::after{content:'Admin';font-size:10px}}
@media(max-width:700px){.portal-designer-modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.portal-designer-modal .modal-body{overflow:auto}.portal-designer{display:flex;flex-direction:column;height:auto}.portal-controls{overflow:visible;border-right:0;order:2}.portal-preview-area{height:570px;flex-shrink:0}.portal-preview-scroll iframe{height:850px}.portal-designer-modal .modal-header{padding:16px}.portal-designer-modal .modal-footer{padding:12px}.portal-designer-modal .modal-footer>.tiny-note{display:none}.portal-footer-actions{width:100%;justify-content:space-between}.admin-options{grid-template-columns:1fr}.portal-preview-toolbar>span{width:100%}}
.portal-selected-inspector{background:#fff;border:1px solid #c5d9cb;border-radius:10px;padding:15px;margin:0 0 16px;box-shadow:0 3px 12px #244f3d08}.selected-portal-heading{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.selected-portal-heading>span{font-size:9px;letter-spacing:1.3px;color:#78907b}.selected-portal-heading strong{font:23px Georgia,serif;color:#284d38}.selected-portal-heading small{font-size:10px;color:#8a9988;text-transform:capitalize}.portal-selected-inspector .field{margin-bottom:14px}.portal-selected-inspector .field textarea{width:100%;resize:vertical;min-height:55px;border:1px solid #dce4d5;border-radius:6px;padding:10px;line-height:1.6}.portal-selected-inspector input[type=color]{height:36px;width:100%;border:1px solid #dce4d5;border-radius:6px;padding:4px}.portal-selected-inspector .field-grid{gap:9px}.portal-selection-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.portal-selection-actions .btn{font-size:10px}.portal-selected-inspector .check-row{margin:12px 0}.portal-history-buttons{display:flex;gap:4px}.portal-canvas-stage{position:relative;flex-shrink:0}.portal-preview-scroll .portal-canvas-stage iframe{position:absolute;left:0;top:0;transform-origin:top left;pointer-events:auto;max-width:none}.portal-designer-modal .portal-preview-scroll{align-items:flex-start}.portal-controls{padding-top:0}.portal-preview-toolbar{row-gap:8px}
.portal-designer,.portal-preview-area{min-height:0}.portal-preview-area{overflow:hidden}
.portal-canvas-stage{overflow:hidden}
