*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Microsoft YaHei,sans-serif;background:#f4f6f3;color:#24352d;font-size:var(--text-support)}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid #dce3dc;background:#fff}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand b{font-size:23px}.brandmark{background:#176b58;color:#fff;padding:5px 12px;border-radius:10px;font-size:25px;font-weight:800}.edition{border-left:1px solid #ddd;padding-left:15px;color:#738177;font-size:var(--text-small)}.badge{background:#e7f4e7;padding:7px 14px;border-radius:20px;font-size:var(--text-small);color:#176b58}main{max-width:1500px;margin:auto;padding:35px 4%}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{color:#176b58;font-size:var(--text-small);letter-spacing:2px}h1{font-size:36px;letter-spacing:-1px;margin:10px 0}.sub{color:#6b796f;line-height:1.8}.intro-note{text-align:right;line-height:2;color:#59695d}.intro-note small{font-size:var(--text-small);color:#859189}.setup{background:#e9f1e9;border:1px solid #d5e3d6;padding:16px 20px;border-radius:12px;display:flex;justify-content:space-between;gap:15px;align-items:center}.setup p{margin:6px 0 0;font-size:var(--text-small);color:#687a6d}.toolbar{display:flex;gap:7px;flex-wrap:wrap}button{background:#fff;border:1px solid #d5ddd6;border-radius:8px;color:#345240;padding:9px 12px;cursor:pointer;font:inherit;font-size:var(--text-small);transition:background .15s}button:hover{background:#e7f1e7}button:disabled{opacity:.45;cursor:default}button.primary{background:#176b58;color:#fff;border-color:#176b58}button.primary:hover{background:#125342}.projectbar{display:flex;align-items:end;gap:15px;margin:25px 0 18px}.projectbar .toolbar{margin-left:auto}.projectbar #save-state{font-size:var(--text-small);color:#7b897e;margin-bottom:10px}label{font-size:var(--text-small);display:block;color:#617368}input{display:block;width:100%;border:1px solid #d5ddd6;border-radius:7px;background:#fff;padding:10px;margin-top:6px;font:inherit;color:#273c2e}.workflow{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:18px;align-items:start}.card{background:#fff;border:1px solid #dde4de;border-radius:14px;padding:22px;box-shadow:0 5px 18px #244a2a04}.section-head{display:flex;align-items:start;gap:12px;margin-bottom:20px}.section-head button{margin-left:auto}.step{width:27px;height:27px;border-radius:50%;background:#edf2ec;color:#176b58;display:grid;place-items:center;font-weight:700;flex-shrink:0}h2{font-size:18px;margin:2px 0 5px}.section-head p{font-size:var(--text-small);line-height:1.7;color:#8b978d;margin:0}.class-row{border:1px solid #e3e8e2;border-radius:8px;display:flex;align-items:center;margin:9px 0;overflow:hidden}.class-row.selected{border-color:#176b58;background:#f4faf3}.class-row button{border:none;background:transparent;padding:10px 7px}.class-select{flex:1;display:flex;align-items:center;gap:9px;text-align:left}.class-select small{margin-left:auto;color:#7e8d80}.dot{width:9px;height:9px;border-radius:3px}.sample-actions{display:flex;gap:6px;margin:16px 0;flex-wrap:wrap}#gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:290px;overflow:auto;min-height:130px}.thumb{position:relative;aspect-ratio:1}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.thumb button{position:absolute;right:2px;top:2px;padding:0 5px;background:#fff9}.empty{grid-column:1/-1;align-self:center;text-align:center;color:#a0aaa1;line-height:2;border:1px dashed #dce4da;border-radius:8px;padding:30px 5px}.empty small{font-size:var(--text-small)}.hint{font-size:var(--text-small);color:#879389;line-height:1.8}.metric{background:#f4f7f2;border-radius:10px;padding:22px;margin-bottom:20px;display:flex;align-items:baseline;gap:12px}.metric span{font-size:38px;font-weight:600}.metric small{color:#82907f}.wide{width:100%;margin:7px 0}#progress{background:#f6f7f4;min-height:74px;padding:14px;border-radius:8px;color:#627664;font-size:var(--text-small);line-height:1.9;margin:16px 0;overflow-wrap:anywhere}#history{font-size:var(--text-small);color:#49654c}#preview{height:210px;border:1px dashed #dce4da;background:#f8faf6;border-radius:10px;display:grid;place-items:center;color:#99a595;text-align:center;line-height:2;margin-bottom:16px}#preview img{height:100%;max-width:100%;object-fit:contain;border-radius:8px}.result{margin-top:17px;font-size:var(--text-small)}.result b{float:right}.bar{height:7px;background:#edf1e9;border-radius:8px;margin-top:8px;overflow:hidden}.bar span{display:block;height:100%;background:#83a977}video{width:100%;max-height:240px;object-fit:cover;border-radius:8px}footer{font-size:var(--text-small);color:#8a968d;line-height:2;margin:30px 0}#notice{position:fixed;bottom:22px;left:50%;transform:translate(-50%);max-width:90vw;padding:14px 24px;border-radius:10px;box-shadow:0 6px 30px #0002;background:#e0efdc;color:#31582d;z-index:5}#notice.error{background:#fff0eb;color:#984833}#notice[hidden]{display:none}@media(max-width:1000px){.workflow{grid-template-columns:1fr 1fr}.samples{grid-column:1/-1}.setup,.projectbar{flex-wrap:wrap}#gallery{grid-template-columns:repeat(8,1fr)}.intro-note{display:none}}@media(max-width:620px){.workflow{display:block}.card{margin-bottom:16px}.edition{display:none}h1{font-size:27px}.setup{display:block}.setup .toolbar{margin-top:14px}.projectbar{align-items:start}.projectbar .toolbar{margin-left:0}#gallery{grid-template-columns:repeat(4,1fr)}}[hidden]{display:none!important}.workspace-nav{display:flex;gap:10px;align-items:center;background:#fff;padding:12px 4%;border-bottom:1px solid #dce3dc}.workspace-nav span{margin-left:auto;font-size:var(--text-small);color:#7b897e}select{display:block;width:100%;padding:9px;border:1px solid #d5ddd6;border-radius:7px;margin:7px 0 12px;background:#fff;color:#24352d}details{margin:16px 0;padding:12px;background:#f6f8f4;border-radius:9px}summary{cursor:pointer;margin-bottom:10px;color:#176b58}.status-box{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f3;padding:12px;border-radius:8px;max-height:220px;overflow:auto}.mini-gallery{display:flex;gap:6px;overflow:auto;max-height:110px;margin:12px 0}.mini-gallery button{padding:3px;flex:0 0 65px}.mini-gallery img{width:60px;height:60px;object-fit:cover}.mini-gallery small{display:block}.mini-gallery .selected{border:2px solid #176b58}canvas{max-width:100%;height:auto}.chart{width:100%;margin:12px 0}#d-annotation,#d-result{width:100%;background:#f4f6f3;border-radius:10px;touch-action:none}#d-annotation{cursor:crosshair}#d-set-labels{margin-bottom:10px}@media(max-width:620px){.workspace-nav span{display:none}}.code-dialog{max-width:850px;width:90%;border:1px solid #d5ddd6;border-radius:12px;padding:25px}.code-dialog::backdrop{background:#18302566}.code-dialog textarea{width:100%;padding:15px;font:13px/1.6 Consolas,monospace;background:#f5f7f4;border:1px solid #d5ddd6;border-radius:8px;margin-bottom:15px}.code-dialog p{font-size:var(--text-small);line-height:1.8;color:#6c7b70}main{max-width:1080px;padding:30px 32px 48px}.workflow{display:flex;flex-direction:column;gap:20px}.workflow>.card{width:100%;min-width:0;margin:0}.intro{margin-bottom:22px}.intro-note{display:none}.offline-resources{margin-top:32px}.offline-resources h2{font-size:26px;margin:0 0 8px}.offline-resources .sub{margin:0 0 16px}.offline-resources .setup{background:#fff;border-color:#dde4de}.workspace-nav{max-width:1080px;margin:auto;background:transparent;border:0;padding:22px 32px 10px;flex-wrap:wrap}.home-link{margin-right:auto;color:#176b58;text-decoration:none;font-size:var(--text-support)}.page-navigation{display:flex;flex-wrap:wrap;gap:6px;max-width:1016px;margin:0 auto;padding-bottom:18px;border-bottom:1px solid #dce3dc}.page-navigation a{display:block;padding:9px 14px;border-radius:7px;text-decoration:none;color:#63766a;font-size:var(--text-support)}.page-navigation a:hover{background:#e7f1e7}.page-navigation a[aria-current=page]{background:#176b58;color:#fff}.navigation-message{max-width:1016px;margin:12px auto;padding:12px 18px;color:#984833;background:#fff0eb;border-radius:8px}.home-intro{margin:12px 0 30px}.home-intro h1{font-size:34px}.home-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.module-entry{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fff;border:1px solid #dde4de;border-radius:12px;padding:25px 28px;text-decoration:none;color:inherit}.module-entry:hover,.module-entry:focus-visible{border-color:#176b58;background:#f8fbf8}.module-entry h2{font-size:22px;margin:0}.module-entry p{margin:0;color:#63766a;line-height:1.8}.module-cta{margin-top:auto;padding-top:8px;color:#176b58;font-weight:600}.card>h2{margin-bottom:20px}.data-tools{margin:0}.media-preview:not(:has(video:not([hidden]))){display:none}.media-preview video{max-height:360px;object-fit:contain;background:#17231c}.media-preview button{margin-top:12px}#gallery{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));max-height:420px}.mini-gallery{max-height:110px}#d-annotation,#d-result{display:block;width:min(100%,560px);margin:18px auto}.chart{max-width:640px;display:block}#preview{height:300px}.projectbar{flex-wrap:wrap}.projectbar>label{flex:1;min-width:160px}.projectbar .toolbar{margin-left:0}.card{padding:26px}.brand .edition{font-size:var(--text-small)}@media(max-width:1100px){.page-navigation,.navigation-message{margin-left:32px;margin-right:32px}}@media(max-width:620px){main{padding:24px 18px 36px}.card{padding:20px}.page-navigation,.navigation-message{margin-left:18px;margin-right:18px}.workspace-nav{padding:18px 18px 12px}.page-navigation{gap:4px}.page-navigation a{padding:8px 10px;font-size:var(--text-small)}.home-intro h1{font-size:28px}.home-modules{grid-template-columns:1fr}.module-entry{padding:22px 18px}.module-entry h2{font-size:20px}.offline-resources .toolbar{display:flex}.workflow{display:flex;flex-direction:column}#preview{height:240px}.brand{gap:8px}.badge{padding:7px 9px}.projectbar .toolbar{width:100%}}.site-page #home-page{padding:35px 0 48px;font-size:16px;line-height:1.6}.site-page #home-page .home-intro{margin:0 0 22px}.site-page #home-page .eyebrow{color:var(--site-accent);font-size:14px;font-weight:700;letter-spacing:.08em}.site-page #home-page .sub,.site-page #home-page .module-entry p{color:var(--site-muted)}.site-page #home-page .module-cta{color:var(--site-accent)}.site-page #home-page .offline-resources .setup{border-color:var(--site-line);border-radius:10px}.home-task{display:flex;flex-direction:column;min-width:0}.home-task .module-entry{flex:1}.practice-home{display:flex;align-items:flex-start;gap:16px;border:1px solid #b9d5c9;border-radius:14px;background:#eaf5ef;color:#234437}.practice-home{justify-content:space-between;margin-top:24px;padding:20px 24px}.practice-home h2,.practice-coach h2{margin:4px 0 6px;font-size:21px}.practice-home p,.practice-coach p{margin:0;line-height:1.65}.practice-home .practice-source{margin-top:8px;color:#426657;font-size:var(--text-small)}.practice-source a{color:#176b58;text-underline-offset:3px}.practice-switch{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-height:36px}.switch-track{display:block;width:30px;height:17px;padding:2px;border-radius:20px;background:#65756d}.switch-track:before{display:block;width:13px;height:13px;border-radius:50%;background:#fff;content:"";transition:transform .15s}.practice-switch[aria-checked=true] .switch-track{background:#176b58}.practice-switch[aria-checked=true] .switch-track:before{transform:translate(13px)}.practice-dock{position:fixed;z-index:12;right:max(20px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:12px;width:min(350px,calc(100vw - 40px));pointer-events:none}.practice-coach{position:relative;width:100%;border:0;border-radius:18px;background:#fff;color:#183f34;box-shadow:0 12px 38px #153d3729;pointer-events:auto}.practice-coach:after{position:absolute;right:30px;bottom:-7px;width:12px;height:12px;content:"";transform:rotate(45deg);background:#fff}.practice-coach-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 8px 16px;background:#e7f5ef;color:#155b4a;font-size:var(--text-small);font-weight:700;border-radius:17px 17px 0 0}.practice-coach-actions{display:flex;align-items:center;gap:3px}.practice-change-case{background:transparent;color:#155b4a;border:0;white-space:nowrap;padding:6px}.practice-minimize{flex:none;display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:21px;line-height:1;background:transparent;border-color:transparent;color:#155b4a}.practice-copy{padding:12px 16px 16px;max-height:min(50vh,350px);overflow:auto}.practice-coach h2{font-size:19px;line-height:1.35;margin:4px 0 8px}.practice-coach .practice-progress{color:#32715e;font-size:var(--text-small)}.practice-coach .practice-instruction{font-size:var(--text-support)}.practice-coach .toolbar:not(:empty){margin-top:12px}.practice-photo{display:block;width:92px;aspect-ratio:1;object-fit:contain;margin-top:10px;border-radius:8px}.practice-coach .practice-error{margin-top:8px;color:#984833}button.practice-pet{position:relative;display:grid;place-items:center;width:92px;height:95px;padding:0 0 12px;border:0;background:transparent;color:#174b3b;box-shadow:none;pointer-events:auto}button.practice-pet:hover{background:transparent}.practice-pet svg{display:block;width:86px;height:86px;overflow:visible}.practice-pet:hover .practice-bird{filter:brightness(1.05)}.practice-pet-status{position:absolute;right:0;bottom:-1px;left:0;color:#17614f;text-align:center;white-space:nowrap;font-size:var(--text-small);font-weight:700;line-height:1.45;text-shadow:0 1px 3px #fff,0 -1px 3px #fff}.practice-coach .toolbar button{white-space:normal}.practice-coach .toolbar button[aria-current=true]{border-color:#4e9c87;background:#e7f5ef}.practice-bird{animation:practice-bird-hover 3s ease-in-out infinite}.practice-bird-eye{transform-box:fill-box;transform-origin:center;animation:practice-bird-blink 5s infinite}@keyframes practice-bird-hover{50%{transform:translateY(-4px)}}@keyframes practice-bird-blink{0%,90%,to{transform:scaleY(1)}94%{transform:scaleY(.13)}}.practice-idle .practice-bird,.practice-idle .practice-bird-eye{animation:none}@media(prefers-reduced-motion:reduce){.practice-bird,.practice-bird-eye{animation:none}}.practice-target{outline:3px solid #28896e;outline-offset:4px}@media(max-width:620px){.practice-home{flex-direction:column;padding:16px}.practice-dock{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(330px,calc(100vw - 24px))}button.practice-pet{width:74px;height:76px}.practice-pet svg{width:70px;height:70px}.practice-coach:after{right:25px}}.workspace-nav .practice-switch{gap:5px;padding:7px 8px}.workspace-nav .practice-switch span{display:block;margin-left:0;font-size:inherit;color:inherit}:root{--text-small: .875rem;--text-support: .9375rem;--text-body: 1rem;--text-lead: 1.0625rem;--text-heading: 1.375rem;--text-muted: #4e6359}body{font-size:var(--text-body);line-height:1.6}h1,.home-intro h1,.site-page #home-page .site-page-title{font-size:clamp(1.875rem,1.4rem + 2vw,2.75rem);line-height:1.25;letter-spacing:normal}h2,.module-entry h2,.offline-resources h2,.practice-home h2{font-size:var(--text-heading);line-height:1.35}.practice-coach h2{font-size:1.25rem}.sub,.module-entry p{font-size:var(--text-lead);line-height:1.65}.eyebrow{letter-spacing:.08em}button,label,input,select,summary,.result,.practice-coach .practice-instruction{font-size:var(--text-body);line-height:1.5}select{font-family:inherit}input,select,.class-select{min-width:0}.class-select{overflow-wrap:anywhere}.class-select small{flex-shrink:0}.home-link,.page-navigation a,.section-head p,.hint,#progress,#history,.status-box,.setup p,.code-dialog p,.practice-home .practice-source,.practice-coach-top,.practice-coach .practice-progress{font-size:var(--text-support);line-height:1.6}.status-box{font-family:inherit}.code-dialog textarea{font-size:var(--text-support)}.section-head p,.hint,.setup p,#progress,#preview,.empty,.projectbar #save-state,.class-select small,.metric small,.page-navigation a{color:var(--text-muted)}small{font-size:var(--text-small)}.page-navigation a[aria-current=page]{color:#fff}.practice-pet-status{bottom:-8px}.mini-gallery button{flex-basis:72px}.thumb button{min-width:28px;min-height:28px}.site-page .site-masthead nav{font-size:var(--text-body)}.site-page .site-admin,.site-page .site-footer{font-size:var(--text-support)}.phone-transfer{width:min(430px,calc(100% - 32px));max-height:calc(100% - 32px);border:1px solid #d5ddd6;border-radius:14px;padding:24px;color:inherit}.phone-transfer::backdrop{background:#18302577}.phone-transfer canvas{display:block;width:min(232px,100%);margin:12px auto}.phone-transfer-status{font-weight:600}.phone-sender{max-width:540px}.phone-sender .toolbar{margin:20px 0}.phone-sender button{min-height:44px}@media(max-width:620px){.practice-pet-status{white-space:normal}.practice-coach .practice-change-case{font-size:var(--text-support)}}
