:root{font-family:system-ui,sans-serif;color:#18264c;background:#f4f7ff;font-synthesis:none;--blue:#4359de;--muted:#687491}*{box-sizing:border-box}body{margin:0}button,a,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:18px;padding:14px 20px;background:white;color:inherit;box-shadow:0 3px 0 #dce2f2;min-height:48px}button:hover{transform:translateY(-2px)}button:disabled{opacity:.45;cursor:default;transform:none}button.primary{background:var(--blue);color:white;box-shadow:0 4px 0 #293aab}button.selected{background:#dfe5ff;outline:3px solid var(--blue)}a{color:inherit;text-decoration:none}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;border-bottom:1px solid #e3e8f7;background:#fff}header a{font-weight:850;letter-spacing:-1px;font-size:22px}header small{color:var(--blue)}main{max-width:1050px;margin:auto;padding:32px 24px 70px}h1{font-size:clamp(30px,5vw,52px);letter-spacing:-1.8px;line-height:1.1;margin:15px 0 20px}h2{font-size:24px;letter-spacing:-.5px}p{line-height:1.6}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--blue);font-weight:800}.muted{color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:25px 0}.art{width:100%;max-height:300px}.paths{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.path{padding:26px;text-align:left;border-radius:28px;min-height:210px;background:#fff;border:1px solid #e1e7f7}.path:nth-child(2){background:#e8e9ff}.path:nth-child(3){background:#e1f2ee}.path b{display:block;font-size:23px;margin:18px 0 10px}.symbol{font-size:32px}.topline{display:flex;gap:16px;align-items:center;justify-content:space-between}.progress{height:9px;background:#e2e7f5;border-radius:20px;overflow:hidden;flex:1}.progress i{display:block;height:100%;background:#5e73ed;border-radius:20px}.journey{position:relative;max-width:560px;margin:auto;padding:24px 0}.journey:before{content:'';position:absolute;top:50px;bottom:70px;left:50%;border-left:9px dotted #cdd6f5}.unit{position:relative;background:#4359de;color:white;padding:18px 24px;border-radius:22px;margin:24px 0}.unit small{opacity:.8}.node-row{position:relative;display:flex;align-items:center;gap:20px;margin:24px 0;min-height:90px;padding-left:20%}.node-row:nth-of-type(3n){padding-left:39%}.node-row:nth-of-type(3n + 1){padding-left:6%}.node{width:78px;height:78px;border-radius:50%;font-size:24px;font-weight:800;flex-shrink:0;box-shadow:0 7px 0 #ccd5f1;border:6px solid #e5eaff}.node.done{background:#d6f1e4;border-color:#b4dfc8}.node-label{background:#f4f7ff;padding:8px;max-width:190px;font-weight:700}.planned{opacity:.65;padding:18px;border-bottom:1px solid #d8dff2}.lesson{max-width:730px;margin:auto}.question{text-align:center;margin:32px auto;font-size:clamp(25px,4vw,34px);max-width:650px}.exercise{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.choices{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;width:100%}.route-choice{flex:1;min-width:210px;max-width:320px;padding:12px}.route-choice svg{width:100%;height:180px}.cards{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;align-items:center}.card{min-width:62px;font-size:24px;font-weight:800;border-radius:16px;border:2px solid #d9e1f6;padding:17px}.sequence{padding:18px;border-radius:24px;background:#e9edfa;min-height:85px;width:100%;display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.sequence .card{background:white}.feedback{border-radius:22px;padding:20px;background:#fff0d6;border-left:5px solid #d59939;margin-top:22px}.feedback.ok{background:#def3e9;border-color:#2b9a70}.dock{display:flex;justify-content:space-between;gap:14px;margin:26px 0;align-items:center}.saved{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.saved span{background:#e2e9ff;padding:8px;border-radius:12px}.school-stage{position:relative;background:radial-gradient(ellipse at center,#f3f6d7,#e5efd8 75%);border-radius:32px;overflow:hidden;margin:20px 0;border:1px solid #d8e4ce}#world{height:440px;width:100%}#world canvas{display:block}.scene-label{position:absolute;top:18px;left:18px;background:#fffef3;padding:10px 18px;border-radius:18px;font-weight:750;pointer-events:none;max-width:85%}.metrics{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:16px 0}.metric{padding:12px 22px;border-radius:20px;background:white}.metric b{display:block;font-size:23px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center}.toolbar select,.toolbar input,details input,details select{padding:12px;border:1px solid #cdd7ef;border-radius:12px;background:white;max-width:130px}details{margin-top:20px;padding:18px;background:#e9edfa;border-radius:18px}details label{display:inline-flex;gap:10px;align-items:center;margin:10px}.conclusion{background:#e2f1ec;border-radius:20px;padding:18px;margin:20px 0}.status{color:var(--blue);font-weight:700}.small{font-size:13px}footer{max-width:1050px;margin:auto;padding:20px 24px;color:#687491;font-size:12px}dialog{border:0;border-radius:26px;max-width:600px;padding:28px;width:90%}dialog::backdrop{background:#16264c80}dialog button{margin:5px}.enter{animation:enter .3s ease-out}@keyframes enter{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}[hidden]{display:none!important}@media(max-width:650px){header{height:65px;padding:0 18px}header a{font-size:19px}header button{padding:9px 12px;font-size:12px}main{padding:22px 18px 45px}.hero{grid-template-columns:1fr;gap:0;padding:0}.hero .art{height:160px}.paths{grid-template-columns:1fr;gap:14px}.path{min-height:130px;padding:20px 24px;position:relative;padding-left:80px}.path .symbol{position:absolute;left:24px;top:26px}.path b{font-size:21px;margin:0 0 6px}.path p{margin:0;font-size:14px}.node-label{font-size:14px}.node-row{gap:12px}.question{margin:24px auto}.choices{gap:12px}.route-choice{min-width:130px;padding:8px}.route-choice svg{height:150px}.card{min-width:53px;padding:13px;font-size:21px}.dock button{padding:13px 16px}#world{height:330px}.toolbar button{padding:12px 15px}.school-stage{border-radius:24px}.metric{padding:10px 15px}.metric b{font-size:19px}.topline{gap:10px}.exercise{min-height:240px}}@media(prefers-reduced-motion:reduce){.enter{animation:none}button:hover{transform:none}}
:root .school-stage{width:100%;min-width:0}#world{min-width:0}#world canvas{max-width:100%}.scene-label:empty{display:none}
.exercise>svg{width:100%;max-width:320px;height:220px}#tools .card{font-size:15px;padding:13px;min-height:48px}@media(max-width:650px){.exercise>svg{height:185px}}
.journey:before{display:none}.journey-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#story-controls{position:absolute;right:16px;bottom:16px;z-index:5}#story-controls button{min-width:135px;box-shadow:0 4px 0 #293aab,0 4px 16px #263a4a25}.narration-caption{max-width:760px;margin:10px auto 24px;min-height:48px;text-align:center;font-size:17px;line-height:1.5}.toolbar label{font-size:14px}.toolbar input[type=range]{max-width:120px}
.individuals{display:flex;gap:8px;overflow-x:auto;padding:7px 3px 12px;margin:12px 0}.individuals button{min-width:48px;min-height:48px;padding:10px;border-radius:50%;font-weight:750}.individual-detail{background:#e7edff;padding:14px 20px;border-radius:20px;margin:12px 0}.individual-detail p{margin:6px 0;font-size:14px}#ranking{margin-bottom:18px}#ranking li{padding:5px}
.school-math-art{width:100%;max-width:340px;height:205px}
.journey .planned{position:relative;background:#f4f7ff}
.school-stage:has(#story-controls){padding-bottom:64px}.individuals{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));overflow:visible}.individuals button{min-width:0;padding:10px 4px}@media(max-width:650px){.individuals{grid-template-columns:repeat(5,minmax(0,1fr))}}
.individuals button{border-bottom:3px solid var(--route-color,#dce3f6)}
.school-stage[data-map-view=plane] .scene-label{top:auto;bottom:7px;left:10px;padding:5px 10px;font-size:11px}
.fraction-work{width:100%}.fraction-work>div{flex-wrap:nowrap;gap:5px}.fraction-work button{min-width:44px;padding:12px 10px}.tree-leaf{display:flex;gap:7px;align-items:center}.tree-leaf select{flex:1;min-width:0}
.investigation{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%}.investigation button{border:1px solid #dce3f6}.repair-collection,.item-bank{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.repair-collection{padding:18px;background:#e8edfa;border-radius:22px;width:100%;min-height:90px}.repair-collection button small{display:block;font-size:11px;color:#687491;margin-top:9px}.possibility-tree{width:100%;max-width:530px}.tree-branch{display:flex;align-items:center;gap:20px;margin:18px 0}.tree-root{display:flex;align-items:center;gap:8px;min-width:110px}.tree-root .object-art{width:40px;height:45px}.tree-leaves{border-left:3px solid #c8d5f4;padding-left:18px;display:flex;flex-direction:column;gap:10px;flex:1}.tree-leaf{padding:8px 0}.tree-leaf select,.classification select,.relation-table select{font:inherit;border:1px solid #cbd6ef;background:white;border-radius:12px;padding:12px;max-width:100%}.model-expression{display:flex;align-items:center;gap:25px;font-size:35px;font-weight:750}.model-expression span{background:#e3e9ff;padding:16px 25px;border-radius:20px}.code-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:340px;width:100%}.code-grid .selected{opacity:.55;text-decoration:line-through}.prediction-leaves{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.prediction-leaves button{font-size:13px;padding:13px 6px;line-height:1.5}.design-controls{display:flex;gap:20px;flex-wrap:wrap;justify-content:center}.design-controls label{display:flex;flex-direction:column;gap:12px}.insertion-row{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.insertion-row button{padding:10px;font-size:14px}.classification,.relation-table{width:100%;max-width:590px;display:flex;flex-direction:column;gap:17px}.classification label{display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid #d9e0f2;padding:12px 0}.classification label span{flex:1}.classification select{max-width:48%}.order-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%}.order-grid button{padding:14px 8px}.order-dots{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.order-dots i{font-style:normal;background:#e7ecfa;padding:8px;border-radius:9px;font-weight:750}.fraction-work>div{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.fraction-work hr{border:0;border-top:2px solid #becae9;margin:20px 0}.cancelled{opacity:.45;text-decoration:line-through!important}.growth-current{display:flex;align-items:center;justify-content:center;gap:25px;padding:20px;border-radius:22px;background:#e4eafd;margin-bottom:15px}.growth-current b{font-size:38px}.explore-slider{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.explore-slider input{width:200px}.empty-shelf{width:100%;max-width:320px;background:#e7ecfa;padding:25px;border-radius:20px;text-align:center}.empty-shelf i{display:block;height:50px;border-bottom:6px solid #9aaed7}.symbolic-expression{font-size:26px;font-weight:750}.recurrence-table{width:100%;max-width:420px}.recurrence-table>div{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:12px;border-bottom:1px solid #d8e1f5}.recurrence-table input,.directed-sums input{font:inherit;font-size:22px;width:100px;padding:12px;border:2px solid #d1dbf3;border-radius:12px;text-align:center}.product-comparison{width:100%;text-align:center;padding:15px;background:#eef1fc;border-radius:20px}.product-comparison .cards{margin-top:12px}.investigation-map{width:100%;max-width:280px;max-height:220px}.paired-orders{display:flex;flex-direction:column;gap:10px}.paired-orders span{padding:12px;background:#dcefe5;border-radius:14px}.rotation-ring{max-width:300px;width:100%}.rotation-ring svg{width:100%;height:220px}.model-note{padding:15px;background:#fff2d8;border-radius:18px;font-size:14px}.directed-sums{display:flex;gap:20px;flex-wrap:wrap;justify-content:center}.directed-sums label{display:flex;flex-direction:column;gap:18px;align-items:center;padding:20px;background:#e8edfa;border-radius:20px}.directed-sums i{font-style:normal}.boundary-orders{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.boundary-orders span{padding:10px;background:white;border-radius:12px}.relation-table fieldset{border:1px solid #ced8ef;border-radius:20px;padding:16px}.relation-table legend{font-weight:700;padding:0 8px}.relation-table label{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:12px 0}.proof-expression{display:flex;gap:20px;align-items:center;font-size:30px}.locked{background:#dbe8e1!important}.route-bank button{font-size:14px}.investigation input[data-rvalue]{max-width:180px}@media(max-width:650px){.order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-branch{gap:10px}.tree-root{min-width:86px;max-width:100px;flex-direction:column;font-size:14px}.tree-leaves{padding-left:8px}.tree-leaf select{font-size:13px;padding:12px 5px;width:100%}.classification label{flex-direction:column;align-items:stretch}.classification select{max-width:none;width:100%}.proof-expression{font-size:26px;gap:10px}.investigation .numeric-label{font-size:13px;text-align:center}.prediction-leaves{grid-template-columns:repeat(2,1fr)}}
.content-name{font-weight:750;color:#4359de;margin-bottom:4px}.exercise-number{font-size:13px;color:#687491;margin-top:0}.object-art{width:64px;height:65px}.object-card{display:flex;flex-direction:column;align-items:center;max-width:150px}.object-card span{font-size:15px}.object-sequence{align-items:center}.avatar{height:185px;width:135px;flex-shrink:0}.product-workbench{display:flex;align-items:center;gap:24px;width:100%;justify-content:center}.product-groups fieldset{border:0;padding:10px 0;display:flex;flex-wrap:wrap;gap:9px}.product-groups legend{font-weight:750;margin-bottom:6px}.piece{padding:9px;display:inline-flex;flex-direction:column;align-items:center;min-width:65px;font-size:13px;border:2px solid #e0e6f8}.product-saved .avatar{height:65px;width:45px}.product-saved span{display:flex;align-items:center;font-size:12px;gap:8px}.meal-preview{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:160px}.meal-preview>span{font-size:12px}.numeric-label{display:flex;flex-direction:column;gap:10px;align-items:center;font-size:14px;font-weight:700}.numeric-label input{width:170px;font-size:28px;padding:14px;border:2px solid #cdd7f3;border-radius:18px;text-align:center;background:white;color:#18264c}.matching{display:flex;flex-direction:column;gap:15px;width:100%;max-width:410px}.matching label{display:flex;align-items:center;justify-content:space-between;gap:20px}.matching select{padding:14px;border:2px solid #d8dff4;border-radius:14px;font:inherit;max-width:160px;background:white}.formula{font-size:25px;font-weight:750;letter-spacing:1px}.factor-slots{align-items:center}.factor-slots span{background:white;border-radius:13px;padding:12px;min-width:37px;text-align:center;font-size:24px;font-weight:800}.circuit-pair{display:flex;gap:15px;width:100%}.circuit-pair svg{width:50%;max-height:200px}.circuit-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.circuit-options button{padding:8px;font-size:12px}.mini-route{width:100%;max-height:160px}.context-art .object-art{width:110px;height:110px}#geo-board{width:100%;max-width:360px;touch-action:none;outline-offset:4px}#geo-board svg{width:100%;display:block;background:white;border-radius:22px}.coordinate-readout{font-size:14px;text-align:center;margin:0}.coordinate-controls{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.coordinate-controls label{display:flex;flex-direction:column;font-size:14px;gap:8px}input[type=range]{accent-color:#4359de;min-height:30px}.curriculum-lesson .question{font-size:clamp(23px,3.5vw,31px);line-height:1.22}.illustrated-choices button{width:100%;max-width:450px;text-align:left;line-height:1.4}.curriculum-lesson .exercise{gap:18px}@media(max-width:650px){.product-workbench{gap:10px}.avatar{width:88px;height:150px}.piece{min-width:58px;padding:8px 6px}.piece .object-art{width:45px;height:48px}.product-groups{flex:1}.circuit-options{grid-template-columns:repeat(2,1fr)}.factor-slots{gap:5px;padding:12px}.factor-slots span{padding:8px;min-width:28px;font-size:20px}.object-card{padding:10px}.object-card .object-art{height:52px}.curriculum-lesson .eyebrow{font-size:10px;letter-spacing:1px}}
