:root{--ink:#1b3028;--muted:#7b837d;--line:#e4e8e1;--paper:#f6f7f3;--green:#356b4e;--lime:#c8eea4;--white:#fff;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #70a588;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #79a189;outline-offset:2px}.skip-link{position:fixed;top:-70px;left:20px;z-index:100;background:var(--ink);color:white;padding:12px}.skip-link:focus{top:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 23px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-.7px;line-height:1.2}.brand small{display:block;font-size:10px;letter-spacing:1.3px;font-weight:400;color:var(--muted);margin-top:7px}.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-content:center;background:var(--ink);color:var(--lime);font-size:30px;font-weight:500;position:relative}.brand-mark span{position:absolute;right:7px;bottom:3px;font-size:28px}.sidebar-label{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#969d96;margin:52px 12px 16px}nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:9px;color:#7b847d;font-size:13px}.nav-item svg{width:18px;height:18px}.nav-item.active{color:var(--green);background:#edf4e9;font-weight:600}.nav-item:hover{background:#f3f6f0}.nav-item .nav-count{margin-left:auto;font-size:10px;background:#dce9d5;border-radius:5px;padding:0 6px}.sidebar-course{background:#f7f8f4;border:1px solid #edf0e8;border-radius:13px;margin-top:auto;padding:17px 14px}.tiny-tag{font-size:10px;color:var(--muted)}.sidebar-course strong{display:block;font-size:12px;margin:6px 0}.sidebar-course p{font-size:10px;color:var(--muted);margin:0 0 15px}.side-track,.progress-track{height:5px;background:#e2e9dc;border-radius:10px;overflow:hidden}.side-track i,.progress-track i{height:100%;display:block;background:var(--green);border-radius:10px;transition:width .3s}.sidebar-course #side-count{display:block;font-size:10px;color:var(--muted);margin-top:8px}.sidebar-bottom{display:flex;gap:10px;align-items:center;padding-top:23px;margin-top:21px;border-top:1px solid var(--line)}.avatar{width:32px;height:32px;background:#eee9df;display:grid;place-content:center;border-radius:50%;font-family:Georgia,serif;font-size:18px}.sidebar-bottom strong{font-size:10px;font-weight:500}.sidebar-bottom small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.workspace{margin-left:236px;width:calc(100% - 236px)}.topbar{height:78px;background:#ffffffb5;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:14px}.breadcrumb{font-size:12px;color:#8b928c}.breadcrumb span{margin:0 13px;color:#bec5be}.breadcrumb strong{color:#435147;font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.save-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#8b948d}.save-label i{width:6px;height:6px;border-radius:50%;background:#80a783}.save-label.warning{color:#a34a38}.save-label.warning i{background:#c35b42}.icon-button{display:grid;place-items:center;background:transparent;color:#6c796e;width:32px;height:32px;border-radius:8px}.icon-button:hover{background:#eaf0e5}.mobile-menu{display:none}main{max-width:1370px;padding:35px 44px 20px;margin:0 auto;min-height:calc(100vh - 137px)}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:#7f8e80;text-transform:uppercase}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.page-heading h1{font-size:26px;font-weight:600;letter-spacing:-.8px;margin:2px 0 6px}.page-heading p{margin:0;color:var(--muted);font-size:12px}.date-chip{font-size:11px;color:#8b958b;display:flex;gap:8px;align-items:center;white-space:nowrap}.date-chip svg{width:15px}.hero{background:#172b24;border-radius:20px;color:#fff;min-height:282px;position:relative;overflow:hidden;padding:34px 37px;display:grid;grid-template-columns:1.2fr 1fr;gap:15px}.hero:before{content:'';position:absolute;width:430px;height:430px;border:1px solid #355044;border-radius:50%;right:-60px;top:-170px;pointer-events:none}.hero:after{content:'';position:absolute;width:350px;height:350px;border:1px solid #2e463b;border-radius:50%;right:-20px;top:-130px;pointer-events:none}.hero-copy{z-index:1}.hero .eyebrow{color:#adcaaf;font-size:9px;letter-spacing:2px}.hero .eyebrow span{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--lime);margin-right:8px;vertical-align:2px}.hero h2{font-size:32px;line-height:1.6;font-weight:500;letter-spacing:-.9px;margin:13px 0 9px}.hero h2 em{font-style:normal;color:var(--lime)}.hero p{font-size:11px;color:#b4c5ba;max-width:365px;line-height:1.9;margin:0 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;padding:10px 16px;font-size:12px;font-weight:500;background:#fff;color:var(--ink);line-height:1.5;min-height:39px}.button svg{width:15px;height:15px}.button.primary{background:var(--lime);color:#203526}.button.green{background:var(--green);color:white}.button.outline{border:1px solid var(--line);background:transparent}.button.quiet{background:transparent;color:var(--muted)}.button:hover{filter:brightness(.96)}.hero .button.outline{border-color:#486153;color:#d0ddd3;margin-left:8px}.hero-visual{align-self:center;justify-self:end;transform:rotate(-3deg);width:min(100%,305px);position:relative;z-index:1;margin:12px 0}.code-window{background:#22382f;border:1px solid #50684e80;border-radius:12px;box-shadow:0 20px 45px #0003;overflow:hidden}.window-bar{height:34px;background:#2c4137;display:flex;align-items:center;gap:5px;padding:0 14px;color:#a8b8ab;font-size:8px}.window-bar i{height:5px;width:5px;background:#839281;border-radius:50%}.window-bar i:first-child{background:#c1a38a}.window-bar i:nth-child(2){background:#c0bb7f}.window-bar i:nth-child(3){background:#a9c78c}.window-bar span{margin-left:auto}.code-window pre{font-size:10px;line-height:2.1;padding:13px 18px 26px;margin:0;font-family:Consolas,monospace;color:#c6d7c9;white-space:pre-wrap}.code-window pre b{font-weight:400;color:#d7efac}.code-window pre .comment{color:#8ba08d}.floating-label{position:absolute;right:-7px;bottom:-9px;background:#eff8e9;color:#46634b;border-radius:7px;font-size:9px;padding:8px 12px;transform:rotate(3deg);box-shadow:0 4px 12px #12271e20}.floating-label span{color:#659959;margin-right:5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 29px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 20px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:27px;font-weight:500;line-height:1.4;letter-spacing:-1px;margin-top:6px}.stat-value span{font-size:12px;color:#9ba398;letter-spacing:0;margin-left:5px}.stat small{display:block;color:#929b91;font-size:10px;margin-top:3px}.stat-icon{background:#f0f5e9;color:#6c8454;border-radius:9px;width:35px;height:35px;display:grid;place-items:center}.stat:nth-child(2) .stat-icon{background:#eef1f8;color:#7b8ca4}.stat:nth-child(3) .stat-icon{background:#faf3e9;color:#b49a6f}.stat-icon svg{width:17px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:23px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-head h2{font-size:15px;font-weight:600;margin:0}.section-head h2 span{font-size:10px;font-weight:400;color:var(--muted);margin-left:9px}.text-link{color:#7c897d;font-size:10px;display:inline-flex;align-items:center;gap:6px}.text-link svg{width:12px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.current-lesson{position:relative;background:linear-gradient(110deg,#fff,#f8faf2);min-height:222px}.lesson-kicker{display:flex;align-items:center;gap:8px;font-size:10px;color:#81907e}.badge{display:inline-flex;padding:3px 8px;background:#eef4e8;color:#537449;border-radius:5px;font-size:9px;font-weight:500}.current-lesson h3{font-size:19px;font-weight:500;margin:16px 0 8px;letter-spacing:-.4px}.current-lesson p{color:#8a9388;font-size:11px;max-width:80%;margin:0 0 20px}.lesson-meta{display:flex;gap:16px;color:#9aa193;font-size:10px;align-items:center;margin-bottom:19px}.lesson-meta span{display:flex;align-items:center;gap:5px}.lesson-meta svg{width:12px;height:12px}.current-lesson .button{padding:9px 14px;min-height:34px;font-size:11px}.lesson-number{position:absolute;right:22px;top:49px;font-size:77px;font-weight:400;letter-spacing:-6px;color:#e7eddf;line-height:1}.goal-panel{padding:17px 21px;margin-top:17px}.goal-panel .section-head{margin:0 0 11px}.goal-panel h2{font-size:12px}.goal-item{display:flex;gap:9px;align-items:center;font-size:11px;color:#7b877b;cursor:pointer;margin:11px 0}.goal-item input{accent-color:var(--green);width:13px;height:13px}.goal-item input:checked+span{text-decoration:line-through;color:#a0aa9c}.road-preview{padding:9px 19px}.road-preview a{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2ed;font-size:11px}.road-preview a:last-child{border-bottom:0}.stage-dot{height:27px;width:27px;border:1px solid #e5eadf;display:grid;place-items:center;border-radius:8px;font-size:10px;color:#98a48f;flex-shrink:0}.stage-dot.current{background:#eaf3e2;border-color:#dbe8cf;color:#4d7845}.road-preview a strong{font-size:11px;font-weight:500;display:block}.road-preview a small{font-size:9px;color:#a1a899}.road-preview a .right{margin-left:auto;font-size:9px;color:#a0ab98}.callout{display:flex;gap:12px;align-items:flex-start;padding:18px 20px;background:#ebf1e4;border-radius:12px;margin-top:17px;color:#6b7f5f}.callout svg{width:17px;margin-top:2px}.callout strong{font-size:11px;font-weight:500}.callout p{font-size:10px;color:#87977b;margin:4px 0 0}.footer{max-width:1370px;margin:0 auto;padding:26px 44px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.3px;color:#a0a99b}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:23px}.search{position:relative;flex:1}.search svg{position:absolute;left:13px;top:13px;width:16px;color:#8e9c8d}.search input,select{width:100%;border:1px solid var(--line);border-radius:9px;background:white;padding:11px 13px 11px 39px;color:var(--ink);font-size:12px}.toolbar select{width:180px;padding-left:12px}.stage-section{margin-bottom:29px}.stage-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}.stage-title h2{margin:0;font-size:16px;font-weight:500}.stage-title p{margin:2px 0 0;font-size:10px;color:var(--muted)}.stage-title .right{margin-left:auto;font-size:11px;color:#87917f}.color-icon{background:#edf4e6;color:#60824c;padding:10px;border-radius:10px;display:grid;place-items:center}.color-icon.blue{background:#eef1f8;color:#7288a0}.color-icon.purple{background:#f2eef8;color:#9180a5}.color-icon.amber{background:#faf3e7;color:#af9461}.color-icon svg{width:19px;height:19px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.lesson-card{display:block;width:100%;text-align:left;border:1px solid var(--line);background:white;border-radius:13px;padding:18px 19px;transition:border-color .2s,transform .2s;color:inherit}.lesson-card:hover{border-color:#a8c298;transform:translateY(-2px)}.card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a2ab9c;letter-spacing:.6px}.lesson-card h3{font-size:14px;font-weight:500;margin:11px 0 6px}.lesson-card p{font-size:11px;color:var(--muted);margin:0 0 15px}.card-bottom{font-size:10px;color:#809575;display:flex;align-items:center;gap:6px}.card-bottom svg{width:12px;height:12px;margin-left:auto}.complete-tag{font-size:9px;background:#edf4e8;color:#5a7b4c;padding:2px 6px;border-radius:4px;letter-spacing:0}.roadmap-intro{background:#edf2e5;padding:19px 23px;margin-bottom:26px;border-radius:13px;display:flex;align-items:center;gap:18px}.roadmap-intro strong{font-weight:500;font-size:14px}.roadmap-intro p{font-size:11px;margin:4px 0 0;color:#7b8d70}.timeline{position:relative}.timeline:before{content:'';position:absolute;left:19px;top:12px;bottom:20px;width:1px;background:#dce5d5}.timeline-row{display:grid;grid-template-columns:40px 1fr;gap:21px;margin-bottom:19px;position:relative}.timeline-number{border-radius:50%;width:39px;height:39px;background:var(--paper);border:1px solid #dce5d5;display:grid;place-items:center;color:#91a484;font-size:12px;z-index:1}.timeline-body{border:1px solid var(--line);border-radius:13px;background:#fff;padding:21px}.timeline-body h2{font-size:16px;font-weight:500;margin:0}.timeline-body p{font-size:12px;color:var(--muted);margin:6px 0 15px}.timeline-body .week-label{font-size:10px;color:#8d9e80;float:right}.lesson-chips{display:flex;gap:7px;flex-wrap:wrap}.lesson-chips button{padding:6px 9px;border-radius:6px;background:#f4f6f0;color:#718268;font-size:10px}.practice-intro{display:flex;gap:20px;align-items:center;margin-bottom:25px}.practice-intro .panel{flex:1}.practice-intro h2{font-size:17px;font-weight:500;margin:0 0 8px}.practice-intro p{font-size:12px;color:var(--muted);margin:0 0 15px}.note-card{padding:20px;border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:13px}.note-card h2{font-size:14px;font-weight:500;margin:0}.note-card p{font-size:12px;color:#7b8975;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.note-card .note-actions{display:flex;gap:15px;align-items:center}.empty{padding:45px 25px;border:1px dashed #d9e1d0;border-radius:15px;text-align:center;color:#8a9880}.empty svg{width:35px;height:35px;color:#a4b395}.empty h2{font-size:17px;font-weight:500;color:#67795d}.empty p{font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.resource{padding:23px;background:white;border:1px solid var(--line);border-radius:13px}.resource .eyebrow{font-size:9px}.resource h2{font-size:15px;font-weight:500;margin:10px 0}.resource p{font-size:12px;color:var(--muted);min-height:42px}.resource a{color:#608155;display:inline-flex;gap:7px;align-items:center;font-size:11px}.resource a svg{width:13px}dialog{padding:0;border:1px solid #e4e8de;border-radius:19px;color:var(--ink);background:#fff;box-shadow:0 30px 100px #14241f33;max-height:90dvh}dialog::backdrop{background:#14241f70;backdrop-filter:blur(4px)}.lesson-dialog{width:min(890px,94vw)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:26px 29px 20px;gap:15px}.dialog-header h2{font-size:22px;line-height:1.5;font-weight:500;margin:8px 0 0}.dialog-tabs{display:flex;gap:24px;padding:0 29px;border-bottom:1px solid var(--line)}.dialog-tabs button{background:none;color:#8a9683;font-size:12px;padding:11px 0;border-bottom:2px solid transparent}.dialog-tabs button.active{border-color:var(--green);color:var(--green)}.dialog-content{padding:24px 29px;overflow:auto;max-height:59dvh;scrollbar-width:thin}.dialog-content h3{font-size:14px;font-weight:600;margin:23px 0 12px}.dialog-content h3:first-child{margin-top:0}.dialog-content p,.dialog-content li{font-size:12px;color:#718069;line-height:1.9}.knowledge-point{display:flex;gap:12px;padding:10px 0}.knowledge-point span{height:23px;width:23px;flex-shrink:0;display:grid;place-items:center;background:#eff4e9;color:#7e9670;border-radius:6px;font-size:10px}.knowledge-point p{margin:0}.code-block{background:#1e3229;color:#c6ddbe;padding:17px 20px;border-radius:10px;font-family:Consolas,monospace;font-size:12px;line-height:1.9;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.lesson-callout{padding:14px 17px;background:#f1f5eb;border-left:3px solid #bfd5a7;border-radius:0 8px 8px 0;font-size:12px;color:#708563;line-height:1.9;margin:18px 0}.dialog-footer{padding:16px 29px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center;background:#fafbf7}.dialog-footer .foot-note{font-size:10px;color:#99a18f}.dialog-footer .button{font-size:11px;padding:9px 13px}.button-row{display:flex;gap:8px;flex-wrap:wrap}.quiz-box{background:#f7f9f3;border:1px solid #e5ecd9;padding:20px;border-radius:12px;margin:20px 0 5px}.quiz-box h3{margin:0 0 13px;font-size:13px}.quiz-options{display:grid;gap:8px;margin-bottom:15px}.quiz-option{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid #e0e7d8;border-radius:8px;font-size:12px;cursor:pointer;background:#fff;color:#6a7a60}.quiz-option input{accent-color:var(--green);margin:4px 0 0}.quiz-result{font-size:12px;line-height:1.8;padding:12px 15px;background:#e7f0de;border-radius:8px;margin-top:13px;color:#526e42}.quiz-result.wrong{background:#fbefe2;color:#9b7348}textarea{width:100%;padding:15px;border:1px solid #dfe6d6;border-radius:9px;resize:vertical;background:#fcfdf9;color:#364a2f;font-size:12px;line-height:1.9;min-height:180px}.code-editor{font-family:Consolas,monospace;min-height:230px;tab-size:4}.hint{font-size:12px;color:#8b7953;background:#faf4e5;border-radius:7px;padding:12px 15px;margin:10px 0}.hint-list{margin-top:10px}.rubric{padding-left:21px}.field-label{font-size:12px;display:block;margin-bottom:8px;color:#6b7c61}.note-status{font-size:10px;color:#91a182;margin-top:5px}.settings-dialog,.diagnostic-dialog{width:min(570px,93vw)}.settings-body{padding:0 27px 27px}.settings-body h3{font-size:13px;font-weight:500;margin-top:23px}.settings-body p{font-size:12px;color:var(--muted);line-height:1.9}.data-actions{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.file-input{display:none}.diagnostic-body{padding:0 28px 28px}.diagnostic-progress{font-size:11px;color:#9aa890;margin-bottom:15px}.diagnostic-body h3{font-size:16px;font-weight:500;margin:10px 0 20px}.diagnostic-explanation{font-size:12px;line-height:1.9;color:#7e8b76;margin:15px 0}.score{font-size:54px;color:var(--green);letter-spacing:-2px}.score span{font-size:19px;color:#a0ad98}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:11px 20px;border-radius:10px;background:#1d3429;color:#e4f0dc;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.filter-empty{padding:40px;font-size:13px;color:var(--muted);text-align:center}.prompt-box{font-size:12px;line-height:1.9;white-space:pre-wrap;background:#f7f9f2;padding:17px;border-radius:9px;color:#6d7e63}.review-list{display:grid;gap:12px}.review-row{border:1px solid var(--line);background:white;padding:16px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.review-row h3{font-size:13px;font-weight:500;margin:0}.review-row p{font-size:10px;color:var(--muted);margin:3px 0 0}.small-muted{font-size:11px;color:var(--muted)}.desktop-only{display:inline}.warning-box{background:#fff5e9;border:1px solid #efdfc4;padding:12px;border-radius:9px;font-size:12px;color:#9c7544}.status-banner{padding:13px 17px;border-radius:10px;border:1px solid #e1e8d9;background:#f4f7ee;color:#859276;font-size:11px;margin-bottom:22px}.lesson-card .week{font-family:Consolas,monospace}.hero .button-row{display:block}
@media(min-width:1500px){main{padding-top:40px}.hero{min-height:305px}.hero h2{font-size:36px}.hero-visual{width:330px}.code-window pre{font-size:11px}.dashboard-grid{gap:26px}.current-lesson{min-height:240px}}
@media(max-width:1160px){.sidebar{width:205px;padding:28px 17px 20px}.workspace{margin-left:205px;width:calc(100% - 205px)}main{padding:28px}.topbar{padding:0 28px}.footer{padding:22px 28px}.hero{padding:28px}.hero h2{font-size:27px}.hero-visual{width:250px}.code-window pre{font-size:9px}.dashboard-grid{grid-template-columns:1.2fr 1fr;gap:16px}.stat{padding:16px}.hero p{max-width:300px}.hero{grid-template-columns:1.1fr 1fr}}
@media(max-width:940px){.hero{grid-template-columns:1fr}.hero-visual{display:none}.hero h2{font-size:30px}.hero p{max-width:100%}.dashboard-grid{grid-template-columns:1fr}.road-preview{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.stats{gap:10px}.stat{padding:15px 13px}.stat-icon{display:none}.stat-value{font-size:25px}.resource-grid{grid-template-columns:1fr}.date-chip{display:none}.lesson-grid{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{display:none;width:235px;box-shadow:15px 0 50px #18291a20;padding:28px 20px}.sidebar.open{display:flex}.workspace{width:100%;margin:0}.topbar{height:63px;padding:0 18px;justify-content:flex-start}.mobile-menu{display:grid}.top-actions{margin-left:auto;gap:9px}.save-label{font-size:10px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 8px}main{padding:25px 18px 10px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.hero{padding:25px 23px;min-height:270px;border-radius:16px}.hero h2{font-size:28px;margin:17px 0 11px}.hero p{font-size:11px}.hero:before{right:-220px}.hero:after{right:-180px}.hero .button.outline{margin-left:6px}.button{font-size:11px;padding:10px 13px}.stats{margin:17px 0 26px;gap:8px}.stat{padding:14px 11px;border-radius:10px}.stat-label{font-size:10px}.stat-value{font-size:24px}.stat-value span{font-size:10px;margin-left:2px}.stat small{font-size:9px}.section-head h2{font-size:14px}.section-head h2 span{font-size:9px}.panel{padding:20px}.road-preview{padding:8px 15px;gap:0 12px}.road-preview a{gap:8px}.road-preview a strong{font-size:10px}.road-preview a .right{display:none}.road-preview a small{font-size:8px}.footer{padding:23px 18px;font-size:8px}.current-lesson h3{font-size:18px}.current-lesson p{max-width:85%;font-size:11px}.lesson-number{font-size:65px;right:20px}.toolbar{gap:8px;flex-wrap:wrap}.toolbar select{width:130px;font-size:11px}.toolbar .search{min-width:180px}.timeline-row{gap:12px;grid-template-columns:35px 1fr}.timeline-number{width:35px;height:35px}.timeline:before{left:17px}.timeline-body{padding:16px}.timeline-body h2{font-size:14px}.timeline-body .week-label{float:none;display:block;font-size:9px;margin-bottom:5px}.timeline-body p{font-size:11px}.dialog-header{padding:21px 20px 16px}.dialog-header h2{font-size:19px}.dialog-tabs{padding:0 20px}.dialog-content{padding:21px 20px;max-height:58dvh}.dialog-footer{padding:13px 17px;flex-wrap:wrap}.dialog-footer .foot-note{width:100%;font-size:9px}.lesson-dialog{max-height:94dvh}.quiz-box{padding:16px}.practice-intro{display:block}.practice-intro .panel{margin-bottom:15px}.page-heading .button{padding:8px 11px;min-height:33px}.review-row{flex-wrap:wrap}.desktop-only{display:none}.brand{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;transform:none!important}}
/* Browser-local Python practice */
.python-input{margin:16px 0 18px;border:1px solid var(--line);border-radius:10px;padding:12px 15px;background:#fafbf7}
.python-input summary{font-size:12px;color:var(--green);cursor:pointer;font-weight:500}
.python-input .field-label{margin-top:16px}.python-input textarea{min-height:78px;font-family:Consolas,monospace}.python-input p{margin:8px 0 0;font-size:11px}
.python-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 12px}.python-toolbar .button-row{gap:8px;flex-wrap:wrap}.python-toolbar .button{min-height:39px}
.button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.python-result{border:1px solid #d9e3d4;border-radius:12px;overflow:hidden;background:#172820}
.python-result-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #ffffff18;color:#e4efdc;font-size:12px}.python-result-head span{font-size:10px;color:#a7b49f}
.python-status{padding:11px 16px;color:#b7c8ad;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.python-status[data-state=error]{color:#ffb8a6}.python-status[data-state=stopped]{color:#f3d091}.python-status[data-state=success]{color:#c3ef9f}.python-status[data-state=loading],.python-status[data-state=running]{color:#e2eab2}
.python-output{margin:0;padding:8px 16px 18px;min-height:105px;max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Consolas,"Microsoft YaHei",monospace;color:#e6efdf;tab-size:4}
.dialog-content .python-help{font-size:11px;color:#7c896f;margin:12px 0 24px}
@media(max-width:700px){.python-toolbar .small-muted{font-size:9px}.python-output{font-size:11px;padding:8px 12px 15px}.python-result-head,.python-status{padding-left:12px;padding-right:12px}.python-result-head span{font-size:9px}}
/* A small, explicit action before each independent exercise. */
.practice-choice{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.practice-choice .button{font-size:11px}
.guide-intro{background:#f1f6eb;border:1px solid #dde7d4;padding:14px 16px;border-radius:10px;margin-bottom:16px}.guide-intro strong{font-size:13px}.dialog-content .guide-intro p{margin:7px 0 0;font-size:12px}
.guide-progress{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:11px;color:#718665;margin:12px 0 9px}.guide-outline{font-size:11px;color:#6c7b62;margin:0 0 20px}.guide-outline summary,.guide-explanation summary{cursor:pointer}.guide-step-list{display:grid;gap:6px;margin-top:10px}.guide-step-list button{text-align:left;background:#f8faf5;border:1px solid #e3e9db;padding:9px 12px;border-radius:7px;color:#65785a;font-size:12px}.guide-step-list [aria-current=step]{border-color:#608b61;color:#264d38;background:#eff6e9}
.dialog-content h3.guide-title{font-size:20px;line-height:1.5;margin:16px 0 10px}.dialog-content .guide-idea{font-size:13px;color:#4c654b;margin:0 0 15px}
.guide-action{border-left:3px solid #77a96b;background:#f3f7ef;padding:12px 15px;margin:14px 0}.guide-action strong{font-size:12px;color:#315b3e}.dialog-content .guide-action p{font-size:13px;color:#365735;margin:7px 0 0}
.guide-explanation{border:1px solid var(--line);border-radius:9px;padding:11px 14px;margin:12px 0;font-size:12px;color:#536e4d}.guide-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;border-top:1px solid #e4eadc;padding-top:11px;margin-top:11px}.guide-line code{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Consolas,monospace;color:#315b3e}.dialog-content .guide-line p{margin:0;font-size:12px}
.guide-expected{padding:10px 13px;border-radius:8px;background:#fafbf7;border:1px dashed #d8e3cd;margin:12px 0 18px}.guide-expected span{font-size:11px;color:#798b6b}.guide-expected pre{margin:6px 0 0;font:13px/1.7 Consolas,"Microsoft YaHei",monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#34553b}
.guided-practice .code-editor{min-height:96px;font-size:13px;line-height:1.8}.guided-practice .python-toolbar{margin-top:13px}.guided-practice .python-output{min-height:72px;max-height:220px}
.guide-feedback{border:1px solid #e0e7d8;background:#f7faf2;color:#738263;padding:12px 14px;font-size:12px;line-height:1.9;border-radius:9px;margin:13px 0}.guide-feedback[data-kind=match]{background:#edf6e6;color:#3b6538;border-color:#cde0be}.guide-feedback[data-kind=retry]{background:#fff7ec;color:#8e6d3c;border-color:#ead9be}
.guide-reflect{border-left:3px solid #b4cba0;padding:8px 13px;margin:16px 0;color:#55704d}.guide-reflect strong{font-size:12px}.dialog-content .guide-reflect p{font-size:13px;margin:6px 0}.guide-reflect span{font-size:11px;color:#849078}.guide-hint-button{margin:10px 0}.guide-navigation{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:22px 0 10px}.dialog-content .guide-boundary{font-size:10px;color:#859477}
@media(max-width:700px){.practice-choice .button{font-size:10px;padding:9px 11px}.dialog-content h3.guide-title{font-size:18px}.guide-line{grid-template-columns:1fr;gap:5px}.guide-progress{font-size:10px}.guided-practice .python-toolbar .button{padding:9px 11px}.guide-navigation .button{font-size:10px}}
