:root{--ink:#17324d;--muted:#62758a;--blue:#196ad7;--teal:#137d75;--yellow:#ffd55b;--paper:#f3f7fc;--line:#dce5ef;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 "Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #58a1f3;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,3.5vw,48px);line-height:1.3;letter-spacing:-1.5px;font-weight:750}h2{font-size:21px;line-height:1.5}p{color:var(--muted)}.site-header{max-width:1200px;margin:auto;height:104px;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.brand{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:750;line-height:1.2}.brand small{font-size:11px;display:block;font-weight:500;color:var(--muted);letter-spacing:1px;margin-top:5px}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px}.site-header nav form{margin:0}.text-button{background:none;border:0;color:var(--muted);padding:10px 4px}.text-button:hover{color:var(--blue)}.family-label{font-size:13px;color:var(--muted)}main{max-width:1120px;padding:20px 0 30px;margin:0 auto}footer{text-align:center;padding:32px 20px;color:#8795a5;font-size:12px}.home-intro{display:flex;align-items:center;justify-content:space-between;padding:22px 8px 20px}.home-intro h1{margin-bottom:16px}.home-intro p{font-size:17px}.intro-doodle{position:relative;width:270px;height:150px;color:var(--teal);margin-right:65px}.intro-doodle>span{font-size:80px;background:#dfebff;color:var(--blue);display:block;width:105px;height:105px;border-radius:25px;text-align:center;transform:rotate(-12deg);font-weight:700;line-height:105px}.intro-doodle svg{width:130px;position:absolute;left:90px;top:25px}.intro-doodle i{position:absolute;right:0;bottom:0;font-size:62px;font-style:normal;background:var(--yellow);border-radius:50%;width:80px;height:80px;text-align:center;line-height:80px;transform:rotate(10deg)}.submit-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:40px;align-items:start}.question-sheet{background:white;border-radius:22px;padding:30px;border:1px solid #dae6f4;box-shadow:0 7px 0 #e6eef9}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.sheet-heading h2{margin-bottom:18px}.sheet-heading>span{font-size:12px;color:var(--muted)}textarea,input{border:1px solid var(--line);border-radius:10px;padding:13px 15px;color:var(--ink);background:white;max-width:100%}textarea{display:block;resize:vertical;width:100%;line-height:1.8;min-height:130px}textarea::placeholder{color:#8b99a9}.question-sheet textarea{background:#f9fbfe;border-color:#e3ebf5}.upload-zone{position:relative;display:flex;align-items:center;gap:10px;border:1px dashed #bfd0e4;border-radius:11px;margin-top:16px;padding:16px;cursor:pointer}.upload-zone strong{font-size:14px;font-weight:600}.upload-zone>span:last-of-type{margin-left:auto;font-size:11px;color:var(--muted)}.upload-zone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.upload-icon{color:var(--blue);font-size:24px}.upload-previews{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.upload-previews img{height:70px;width:90px;object-fit:contain;border:1px solid var(--line);border-radius:7px}.submit-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:10px}.submit-bottom p{font-size:12px;margin:0}.button{border:0;border-radius:10px;font-weight:650;padding:13px 23px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:20px;transition:background .15s}.primary{background:var(--blue);color:white}.primary:hover{background:#145bbb}.primary span{color:var(--yellow)}.secondary{background:#e5eefb;color:var(--blue)}.secondary:hover{background:#d5e5fc}.how-it-works{padding:25px 0 0}.how-it-works h2{font-size:18px;margin-bottom:24px}.how-it-works ol{list-style:none;margin:0;padding:0;counter-reset:steps}.how-it-works li{position:relative;counter-increment:steps;padding:0 0 24px 42px}.how-it-works li::before{content:counter(steps);position:absolute;left:0;top:0;width:28px;height:28px;background:#e0eeeb;color:var(--teal);border-radius:50%;text-align:center;font-size:14px;line-height:28px;font-weight:700}.how-it-works b{display:block;font-size:15px}.how-it-works li span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.how-it-works>p{font-size:12px;padding-left:42px;line-height:1.8}.history-section{margin-top:62px}.section-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.section-heading h2{margin:0}.section-heading span{font-size:12px;color:var(--muted)}.history-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:22px 8px}.history-row:hover{background:#eaf1fc}.history-icon{display:grid;place-items:center;width:46px;height:46px;background:#e3ecfc;border-radius:13px;color:var(--blue);font-size:25px;flex-shrink:0}.history-copy{min-width:0;flex:1}.history-copy strong{display:block;font-size:16px}.history-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:12px;margin-top:5px}.badge{font-size:12px;padding:4px 10px;border-radius:20px;background:#e5edf9;color:var(--blue);flex-shrink:0}.badge.status-ready{background:#deeee7;color:var(--teal)}.badge.status-failed{background:#ffe9e7;color:#ac4949}.badge.status-needs_input{background:#fff0bf;color:#805d06}.row-open{font-size:26px;color:#789}.empty-state{display:flex;align-items:center;gap:24px;padding:36px 16px}.empty-state>span{font-size:58px;color:#9aafc7}.empty-state h3{font-size:17px;font-weight:550;margin-bottom:6px}.empty-state p{font-size:13px;margin:0}.quiet{font-size:12px;color:#8290a0}.form-error{color:#a23f36!important;background:#fff0ed;border-radius:8px;padding:12px 15px;font-size:14px;margin:16px 0 0}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:95px;align-items:center;min-height:650px;padding:15px 35px}.login-story h1{font-size:44px;margin-top:24px}.login-story p{max-width:380px;font-size:17px;line-height:1.9}.shape-scene{height:150px;position:relative;width:330px}.shape-square{position:absolute;left:5px;bottom:4px;width:102px;height:102px;border-radius:16px;background:#196ad7;transform:rotate(-9deg)}.shape-circle{position:absolute;left:130px;top:0;width:87px;height:87px;border-radius:50%;background:#ffd55b}.shape-triangle{position:absolute;left:133px;bottom:2px;width:0;height:0;border-left:42px solid transparent;border-right:42px solid transparent;border-bottom:75px solid #6bc8b2;transform:rotate(12deg)}.shape-note{position:absolute;right:0;top:35px;color:var(--teal);font-size:16px;line-height:1.6;transform:rotate(8deg)}.login-form{background:white;padding:38px 40px 28px;border-radius:22px;border:1px solid var(--line);box-shadow:0 7px 0 #e6eef9}.login-form h2{font-size:28px;margin:5px 0 6px}.login-form>p{font-size:14px}.login-form label{display:block;font-size:13px;font-weight:600;margin-top:22px;margin-bottom:8px}.login-form input{width:100%;height:48px}.login-form .button{width:100%;margin-top:26px}.login-form p.quiet{font-size:11px;text-align:center;margin:18px 0 0}.little-sun{font-size:39px;color:var(--teal)}.back-link{display:inline-block;margin:12px 0 25px;font-size:14px;color:var(--muted)}.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.lesson-heading h1{font-size:30px;margin-bottom:9px;letter-spacing:-.5px}.lesson-heading p{margin-bottom:0;font-size:14px}.lesson-actions{display:flex;align-items:center;gap:17px;flex-shrink:0}.danger{color:#ad5750}.progress-panel{background:#fff;border:1px solid var(--line);border-radius:18px;text-align:center;padding:48px 25px}.progress-illustration{margin:0 auto 22px;background:#e7f1ff;width:80px;height:80px;border-radius:25px;display:grid;place-items:center;font-size:44px;color:var(--blue)}.progress-panel h2{font-size:24px;margin-bottom:10px}.progress-panel>p{font-size:14px}.stage-list{display:flex;justify-content:center;list-style:none;margin:30px auto;padding:0;gap:30px;counter-reset:progress}.stage-list li{counter-increment:progress;font-size:13px;color:var(--muted)}.stage-list li::before{content:counter(progress);display:block;background:#edf1f6;color:#8a9bae;width:30px;line-height:30px;border-radius:50%;margin:0 auto 8px;font-weight:700}.stage-list li.current{color:var(--blue);font-weight:600}.stage-list li.current::before{background:var(--blue);color:#fff}.stage-list li.done::before{background:#dcefe8;color:var(--teal)}.clarification{margin-top:24px;background:#fffbeb;border:1px solid #f2dfa7;border-radius:14px;padding:28px}.clarification label{display:block;margin-bottom:8px}.clarification .button{margin-top:16px}.player-caption{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 4px;color:var(--muted);font-size:12px}.ready-dot{color:var(--teal)}.ready-dot::before{content:'●';font-size:9px;margin-right:6px}#lesson-frame{width:100%;height:80vh;min-height:620px;background:#fff;border:1px solid var(--line);border-radius:14px;display:block}.original-problem{margin-top:28px;border-bottom:1px solid var(--line);padding:18px 0}.original-problem summary{cursor:pointer;font-size:14px;font-weight:600}.original-problem>p{white-space:pre-wrap;margin-top:16px}.source-images{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.source-images img{max-height:250px;max-width:100%;border-radius:8px;border:1px solid var(--line)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1180px){main{margin:0 36px}}@media(max-width:760px){.site-header{height:85px;padding:0 22px}.brand{font-size:21px}.site-header nav{gap:18px;font-size:12px}.brand small{font-size:10px}.family-label{display:none}main{margin:0 20px;padding-top:8px}.home-intro{padding:14px 0 20px}.home-intro h1{font-size:34px}.home-intro p{font-size:14px;max-width:240px}.intro-doodle{width:90px;height:110px;margin-right:0}.intro-doodle>span{width:62px;height:62px;font-size:44px;line-height:62px;border-radius:17px}.intro-doodle svg{display:none}.intro-doodle i{width:50px;height:50px;font-size:38px;line-height:50px}.submit-layout{grid-template-columns:1fr;gap:12px}.question-sheet{padding:21px 18px;border-radius:15px}.sheet-heading{align-items:flex-start}.sheet-heading h2{font-size:18px}.sheet-heading>span{display:none}.question-sheet textarea{font-size:16px}.upload-zone{flex-wrap:wrap;padding:13px;gap:6px}.upload-zone>span:last-of-type{width:100%;font-size:10px;margin-left:30px}.submit-bottom p{max-width:105px;font-size:11px}.button{padding:12px 17px;font-size:15px}.how-it-works{padding:22px 5px 0}.how-it-works h2{font-size:16px}.how-it-works ol{display:grid;grid-template-columns:1fr 1fr;column-gap:15px}.how-it-works li{padding-left:37px;padding-bottom:19px}.how-it-works li span{font-size:11px}.how-it-works>p{display:none}.history-section{margin-top:25px}.history-row{gap:10px;padding:18px 0}.history-copy strong{font-size:14px}.badge{font-size:10px;padding:3px 7px}.row-open{display:none}.history-icon{width:37px;height:37px}.empty-state{padding:22px 0;gap:14px}.empty-state h3{font-size:15px}.empty-state p{font-size:12px}.login-layout{display:flex;flex-direction:column;min-height:0;gap:20px;padding:20px 0}.login-story{width:100%}.login-story h1{font-size:32px;margin:20px 0 12px}.login-story h1 br{display:none}.login-story p{font-size:14px;margin-bottom:6px}.shape-scene{height:100px;width:250px}.shape-square{width:70px;height:70px}.shape-circle{width:54px;height:54px;left:100px}.shape-triangle{left:90px;border-left-width:32px;border-right-width:32px;border-bottom-width:54px}.shape-note{font-size:13px;top:19px;right:5px}.login-form{width:100%;padding:23px}.little-sun{display:none}.login-form h2{font-size:24px}.lesson-heading{display:block}.lesson-heading h1{font-size:25px}.lesson-actions{margin-top:18px}.stage-list{gap:17px}.stage-list li{font-size:11px}.progress-panel{padding:32px 16px}.player-caption{font-size:11px}.ready-dot{white-space:nowrap}#lesson-frame{border-radius:8px;min-height:620px;height:83vh}.clarification{padding:20px}.section-heading h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
