@import url('../locale.css');
@font-face{font-family:LessonSans;src:local('Noto Sans SC'),local('PingFang SC');font-display:swap}
:root{font-family:LessonSans,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;color:#1f2430;background:#fff9f2;font-synthesis:none;--orange:#ea580c;--muted:#77766f;--line:#e8dfd2;--paper:#f6f0e4}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,.stage:focus-visible{outline:2px solid #a69d90;outline-offset:4px}button[hidden],[hidden]{display:none!important}
.lesson{max-width:1340px;margin:auto;padding:30px 56px 20px}.header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:24px}.brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:750;color:inherit;text-decoration:none}.brand img{display:block}.lesson-kind{color:#7d7467;font-size:13px;letter-spacing:.12em}
.workspace{min-height:650px;display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:center}.intro{padding:20px 0 24px;position:relative;z-index:2}.eyebrow{font-size:12px;letter-spacing:.16em;color:#948779;margin-bottom:16px}h1{font-size:64px;font-weight:800;letter-spacing:-.06em;margin:0;line-height:1.14}.subtitle{font-size:17px;color:#747167;margin:18px 0 0}.current-step{margin-top:70px;min-height:135px;max-width:285px}.step-count{font-size:12px;font-weight:600;color:#a2917c;letter-spacing:.16em;font-variant-numeric:tabular-nums}.current-step h2{font-size:21px;line-height:1.5;margin:12px 0 9px;font-weight:700;letter-spacing:-.03em}.current-step p{font-size:14px;line-height:1.9;color:#777367;margin:0;min-height:54px}.primary-actions{display:flex;align-items:center;gap:12px;margin-top:12px;min-height:48px}.button{min-height:46px;border:0;border-radius:10px;padding:0 20px;font-size:14px;font-weight:700;transition:background .18s,box-shadow .18s;white-space:nowrap}.primary{background:linear-gradient(115deg,#ea580c,#ff8a2b);color:#fff;box-shadow:0 4px 12px #ea580c1c;min-width:150px}.primary:hover:not(:disabled){box-shadow:inset 0 0 0 2px #ffffff7d,inset 0 0 0 5px #ffb06766}.primary:disabled{background:#f1dfce;color:#a18d79;box-shadow:none}.text{background:transparent;color:#8b8072;padding:0 4px;font-size:12px}.text:hover{color:var(--orange)}
.illustration{position:relative;min-width:0;margin-top:24px}.view-tools{display:flex;justify-content:flex-end;gap:7px;position:absolute;top:10px;right:0;z-index:3}.tool{border:1px solid #e0d6c6;background:#fffaf0bc;color:#756d5f;min-height:38px;border-radius:9px;padding:0 13px;font-size:12px;transition:background .18s,border-color .18s}.tool[aria-pressed=true]{border-color:#e6aa77;background:#ffead5;color:#b64b12}.tool:hover:not(:disabled){border-color:#dca474;color:#b64b12}.view-reset{font-size:24px;width:40px;padding:0}.stage{height:535px;position:relative;outline:none;touch-action:none;isolation:isolate}.stage:before{content:'';position:absolute;inset:60px -10px 20px;border-radius:50%;background:radial-gradient(ellipse,#f0e8d74f,transparent 68%);pointer-events:none}#canvas-host{position:absolute;inset:0}#canvas-host canvas{display:block;width:100%;height:100%;touch-action:none}.annotations{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.annotations text{font-size:12px;font-weight:600;font-family:inherit;fill:#694827}.annotations rect{fill:#fffbef;stroke:#dfad7c;stroke-width:1}.annotations path{fill:none;stroke:#d78541;stroke-width:1.2;stroke-dasharray:3 4}.annotations circle{fill:#d78541;stroke:#fff9f2;stroke-width:1.5}.view-hint{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:.06em;white-space:nowrap;color:#a19687;pointer-events:none}.parts-key{display:flex;justify-content:center;gap:28px;font-size:12px;color:#7b7468;padding:15px 0 0}.parts-key>span{display:flex;align-items:center;gap:7px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot.blue{background:#2b8ff0}.dot.graphite{background:#57544d}.angle-control{margin-top:24px;max-width:255px}.angle-control label{display:flex;justify-content:space-between;font-size:13px;color:#786b59}.angle-control output{font-variant-numeric:tabular-nums;color:#bd5a1c}.angle-control input{width:100%;height:30px;accent-color:#ea580c;cursor:ew-resize;margin:5px 0 0}.loading,.error{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);font-size:14px;color:#8c7c66;white-space:nowrap}.error{color:#b91c1c;white-space:normal;line-height:1.8;max-width:320px;background:#fff9f2;padding:15px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;gap:12px}.step{border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;border-radius:10px;color:#8b8173;font-size:13px;transition:background .2s,color .2s}.step-number{height:25px;width:25px;border:1px solid #d9cdbc;border-radius:50%;display:grid;place-items:center;font-size:11px;font-variant-numeric:tabular-nums}.step.active{background:#ffefdd;color:#b8511b;font-weight:700}.step.active .step-number{background:#ea580c;border-color:#ea580c;color:white}.step:hover:not(:disabled){background:#fff0df;color:#b8511b}footer{display:flex;justify-content:space-between;color:#a39989;font-size:10px;letter-spacing:.04em;padding-top:22px}
@media(min-width:1500px){.workspace{min-height:720px}.stage{height:590px}}
@media(max-width:1000px){.lesson{padding:24px 30px 20px}.workspace{grid-template-columns:245px minmax(0,1fr);gap:10px;min-height:610px}h1{font-size:54px}.stage{height:490px}.current-step{margin-top:52px}.primary-actions{gap:5px}.button{padding:0 16px}.text{padding:0 2px}}
@media(max-width:700px){.lesson{padding:20px 20px 16px}.header{padding-bottom:17px}.brand{font-size:18px}.brand img{width:27px;height:27px}.lesson-kind{font-size:11px}.workspace{display:flex;flex-direction:column;gap:0;min-height:0;align-items:stretch}.intro{display:contents}.eyebrow{margin:27px 0 10px;font-size:10px}h1{font-size:43px}.subtitle{font-size:14px;margin-top:10px}.illustration{order:1;margin-top:15px}.view-tools{top:0;right:0;gap:6px}.tool{min-height:44px;padding:0 11px;font-size:11px}.view-reset{width:40px;font-size:24px}.stage{height:335px}.parts-key{gap:23px;padding:7px 0 0;font-size:11px}.view-hint{bottom:1px;font-size:10px}.current-step{order:2;margin:28px 0 0;min-height:0;max-width:none}.step-count{font-size:10px}.current-step h2{font-size:19px;margin:7px 0 6px}.current-step p{font-size:13px;min-height:0;line-height:1.8}.primary-actions{order:4;margin:18px 0 25px;gap:15px}.button{min-height:46px}.angle-control{order:3;margin-top:17px;max-width:none}.steps{padding:11px 0;gap:3px}.step{flex-direction:column;gap:8px;padding:9px 2px;font-size:11px;min-height:72px}.step-number{width:23px;height:23px;font-size:10px}footer{font-size:9px;padding-top:18px;gap:10px}.annotations text{font-size:11px}.loading,.error{font-size:13px}}
@media(max-width:360px){.lesson{padding-left:16px;padding-right:16px}.stage{height:300px}.tool{padding:0 9px}.parts-key{gap:16px}.step{font-size:10px}h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:5;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23p)'/%3E%3C/svg%3E")}.dot.green{background:#2fcb5a;margin-left:-4px}
