:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#202e2b;background:#f6f7f3;font-synthesis:none;--green:#244e43;--muted:#728079;--line:#dfe5dd;--cream:#f0eee4}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button,a{transition:background .15s,border-color .15s}button{cursor:pointer;border:1px solid #d7dfd6;border-radius:9px;padding:10px 15px;background:white;color:inherit;font-size:14px;font-weight:550}button:hover:not(:disabled){background:#eef3eb;border-color:#9fb6a6}button:disabled{opacity:.5;cursor:wait}button.primary,a.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#163e33}button.ghost{background:transparent;border-color:transparent}a{color:var(--green);text-decoration:none}input,select,textarea{background:white;border:1px solid #d5ded3;border-radius:8px;padding:11px 12px;color:#202e2b;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #88ae92;outline-offset:1px}textarea{resize:vertical;line-height:1.7;min-height:100px}input[type=checkbox]{width:auto}label{display:block;font-size:13px;font-weight:600;color:#53645a;margin:16px 0 7px}label.check{display:flex;align-items:center;gap:8px;line-height:1.6}h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;line-height:1.35;letter-spacing:-.025em}h2{font-size:22px;line-height:1.45}h3{font-size:17px}p{line-height:1.8}.muted{color:var(--muted);font-size:13px}.small{font-size:12px}.shell{display:grid;grid-template-columns:222px 1fr;min-height:100dvh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.logo{display:flex;gap:11px;align-items:center;margin:0 10px 45px}.logo-mark{width:37px;height:40px;display:grid;place-items:center;background:var(--green);color:#f6f4e9;font-size:24px;border-radius:9px;font-family:serif;font-weight:700}.logo strong{font-size:21px;letter-spacing:2px}.logo small{display:block;font-size:9px;letter-spacing:.12em;color:#7f8b81;margin-top:5px}.nav{display:grid;gap:8px}.nav button{text-align:left;padding:13px 16px;border:none;background:transparent;color:#63726a}.nav button.active{color:var(--green);background:#edf3e9;font-weight:700}.nav b{margin-right:11px;font-size:17px}.side-note{margin-top:auto;padding:22px 12px 0;color:#7b897f;font-size:12px;line-height:1.8}.online-dot{display:inline-block;width:7px;height:7px;border-radius:99px;background:#66977b;margin-right:6px}.main{min-width:0;padding:0 42px 50px;max-width:1600px;width:100%;margin:auto}.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:32px;gap:12px}.topbar .breadcrumb{font-size:13px;color:#6e7c73}.top-actions{display:flex;align-items:center;gap:12px}.model-pill{font-size:11px;color:#66796b;display:flex;align-items:center;gap:6px}.model-pill.off{color:#916f37}.avatar{background:#e5eadd;border-radius:99px;width:33px;height:33px;display:grid;place-items:center;color:#5d715d;font-size:12px}.hero{display:grid;grid-template-columns:1.5fr 1fr;background:#e9eee2;border:1px solid #dce3d2;border-radius:17px;padding:38px 40px;margin-bottom:27px;overflow:hidden;position:relative}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#718364;margin-bottom:15px}.hero h1{font-size:36px;font-family:"Songti SC","Noto Serif SC",serif;font-weight:700;color:#2b4939;margin-bottom:14px}.hero p{font-size:14px;color:#687861;max-width:470px;margin-bottom:24px}.hero-actions{display:flex;gap:9px;flex-wrap:wrap}.hero-art{position:relative;min-height:210px;display:flex;align-items:center;justify-content:center}.paper{background:#fffef6;border:1px solid #d3d9c8;border-radius:6px;box-shadow:0 14px 26px #53684712;width:215px;padding:24px;transform:rotate(-8deg)}.paper span{font-size:9px;color:#96a083}.paper h4{font:600 17px Georgia,serif;color:#425840;margin:14px 0}.paper-line{height:6px;border-radius:3px;background:#e4e8db;margin:11px 0}.paper-line.short{width:65%}.paper-answer{background:#e6efda;padding:9px;font-size:10px;border-radius:4px;color:#5a7150;margin-top:17px}.mini-badge{position:absolute;background:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 5px 20px #52623a14;bottom:14px;right:0;font-size:12px;color:#4b6845}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0 32px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:21px 24px;display:flex;align-items:center;justify-content:space-between}.stat small{color:#7c897e;font-size:12px}.stat strong{display:block;font-size:29px;margin:7px 0 0;letter-spacing:-1px}.stat-icon{width:41px;height:41px;border-radius:10px;background:#f0f3eb;color:#7c9178;display:grid;place-items:center;font-size:20px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.section-title h2{margin:0;font-size:20px}.toolbar{display:flex;gap:9px;margin-bottom:21px;flex-wrap:wrap}.search{flex:1;min-width:180px}.toolbar select{font-size:13px;max-width:210px}.tabs{display:flex;gap:6px;padding-bottom:18px;flex-wrap:wrap}.tabs button{border-color:transparent;background:transparent;color:#7d897e;padding:7px 13px;font-size:12px}.tabs button.selected{background:#e7eedf;color:#31533a}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lesson-card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px 23px 17px;display:flex;flex-direction:column;min-height:215px}.card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:19px}.topic-label{font-size:10px;color:#87917f;letter-spacing:.05em}.tag{font-size:10px;padding:4px 8px;border-radius:5px;white-space:nowrap;background:#edf3e7;color:#658258}.tag.draft,.tag.uploaded{background:#f6efdf;color:#9b7e42}.tag.error{background:#f9e9e3;color:#a46651}.tag.archived{background:#eee;color:#777}.lesson-card h3{line-height:1.6;font-size:17px;flex:1;margin-bottom:9px;overflow-wrap:anywhere}.card-meta{color:#8b9488;font-size:11px;display:flex;gap:12px;margin-bottom:19px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e8;padding-top:13px;gap:6px}.card-bottom button{font-size:12px;padding:7px 10px}.card-bottom .count{font-size:11px;color:#8b9488}.notice{border:1px solid #e8d8b9;background:#fbf6e9;padding:13px 17px;border-radius:9px;color:#8b733d;font-size:13px;line-height:1.8;margin-bottom:22px}.empty{padding:65px 20px;text-align:center;color:#899284;background:#fff;border:1px dashed #d7dfcf;border-radius:12px}.split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:26px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:27px}.panel input:not([type=checkbox]),.panel textarea,.panel select{width:100%}.upload-zone{border:1.5px dashed #b7c7ac;border-radius:12px;background:#f7f9f3;padding:35px 20px;text-align:center;margin:20px 0}.upload-icon{font-size:34px;color:#7d9771;margin-bottom:12px}.upload-zone p{color:#839078;font-size:12px;margin:12px 0 0}.upload-zone .primary{margin:5px}.file-input{display:none}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:18px 0}.photo{border:1px solid var(--line);border-radius:9px;padding:7px;background:white}.photo img{width:100%;height:130px;object-fit:cover;border-radius:5px}.photo small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#77816e;padding:5px 0}.photo button{padding:4px 8px;font-size:11px}.step{display:flex;gap:15px;padding:20px 0;border-bottom:1px solid #edf0e8}.step:last-child{border:0}.step-num{width:25px;height:25px;border:1px solid #ccd7c3;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px;color:#839379}.step h3{font-size:14px;margin-bottom:5px}.step p{color:#889280;font-size:12px;margin:0}.progress-box{background:#edf3e8;padding:18px;border-radius:9px;margin-top:20px;color:#52704e}.busybar{height:3px;background:linear-gradient(90deg,#d2dec9,#618b64,#d2dec9);background-size:200% 100%;animation:pulse 1.5s linear infinite;margin:12px 0}@keyframes pulse{to{background-position:200% 0}}.editor-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.editor-top h1{font-size:25px;margin:0 0 8px}.editor-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.editor-grid{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.4fr);gap:22px;align-items:start}.source-panel{position:sticky;top:20px;max-height:83dvh;overflow:auto}.source-panel img{width:100%;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;cursor:zoom-in}.source-panel summary{cursor:pointer;font-weight:600;font-size:14px;color:#5e705a;margin-bottom:15px}.source-panel textarea{font-size:12px;min-height:200px}.question-strip{display:flex;gap:7px;overflow:auto;padding:4px 4px 12px;margin-bottom:13px}.question-strip button{padding:7px 11px;font-size:12px;white-space:nowrap}.question-strip button.active{background:var(--green);color:white;border-color:var(--green)}.question-strip .needs{border-color:#c5a76c}.row{display:flex;gap:12px;align-items:center}.row>*{flex:1;min-width:0}.row .narrow{max-width:105px}.option-edit{display:flex;gap:9px;margin-bottom:9px;align-items:center}.option-edit strong{font-size:12px;width:20px;color:#819173}.option-edit textarea{min-height:45px;font-size:14px}.option-edit button{padding:5px 8px}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.question-header h3{margin:0}.rule-edit{border:1px solid #e4e9de;border-radius:9px;padding:15px;margin:12px 0;background:#fbfcf8}.rule-edit label{font-size:11px;margin-top:10px}.rule-edit textarea{min-height:65px;font-size:13px}.rule-edit input{font-size:13px}.settings-grid{max-width:760px}.inline-note{font-size:12px;color:#86907e;line-height:1.8;margin:8px 0 0}.more-wrap{text-align:center;padding:23px}.login{min-height:100dvh;display:grid;place-items:center;padding:25px;background:#e9eee2}.login .panel{width:min(420px,100%);padding:40px}.login h1{font-family:serif;color:#35513d}.login button{width:100%;margin-top:18px}dialog{border:1px solid #d8e1cf;border-radius:15px;padding:30px;max-width:min(520px,92vw);box-shadow:0 25px 90px #20332430;color:#28402e}dialog::backdrop{background:#182c2460;backdrop-filter:blur(3px)}#phone-content{overflow-wrap:anywhere;line-height:1.9}#phone-content code{display:block;padding:12px;background:#eef3e8;border-radius:7px;margin:10px 0}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 24px;border-radius:10px;background:#244e43;color:white;font-size:14px;box-shadow:0 6px 28px #243b3326;z-index:100;max-width:90vw;line-height:1.7}#toast.error{background:#914f3a}.loading{padding:80px;text-align:center;color:#6a7e61}.footer-note{margin-top:30px;font-size:11px;color:#9aa18f}.mobile-only{display:none}[hidden]{display:none!important}
@media(min-width:1550px){.main{padding:0 65px 60px}.hero{padding:45px 50px}.cards{gap:22px}}
@media(max-width:1100px){.shell{grid-template-columns:185px 1fr}.sidebar{padding:27px 12px}.main{padding:0 25px 35px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:30px}.hero h1{font-size:30px}.paper{width:175px}.split{grid-template-columns:1fr}.editor-grid{grid-template-columns:minmax(200px,.8fr) minmax(0,1.4fr)}.panel{padding:22px}.stats{gap:12px}.stat{padding:17px}}
@media(max-width:720px){.shell{display:block}.sidebar{height:auto;position:static;padding:16px 18px;border-right:0;border-bottom:1px solid var(--line)}.logo{margin:0 0 17px}.logo-mark{height:32px;width:30px;font-size:19px}.logo strong{font-size:18px}.logo small{font-size:8px}.nav{display:flex;gap:5px}.nav button{flex:1;text-align:center;padding:10px 5px;font-size:12px}.nav b{font-size:14px;margin-right:4px}.side-note{display:none}.main{padding:0 18px 35px}.topbar{height:65px;margin-bottom:22px}.top-actions{gap:5px}.top-actions button{padding:7px 10px;font-size:11px}.model-pill{display:none}.avatar{display:none}.hero{padding:28px 24px;display:block}.hero h1{font-size:29px}.hero-art{display:none}.hero p{font-size:13px}.stats{gap:8px;margin:18px 0 26px}.stat{display:block;padding:15px 13px}.stat strong{font-size:25px}.stat small{font-size:10px}.stat-icon{display:none}.cards{grid-template-columns:1fr}.lesson-card{min-height:190px}.toolbar select{max-width:48%;flex:1}.toolbar .search{flex-basis:100%}.section-title h2{font-size:19px}.section-title .muted{font-size:11px}.hero-actions button{font-size:12px}.split{gap:16px}.panel{padding:20px}.photos{gap:7px}.photo img{height:100px}.editor-grid{display:flex;flex-direction:column}.source-panel{position:static;max-height:450px;width:100%}.editor-grid>.panel{width:100%}.editor-top{display:block}.editor-actions{justify-content:flex-start;margin-top:15px}.editor-actions button{font-size:12px}.editor-top h1{font-size:23px}.row{flex-wrap:wrap}.row>*{min-width:110px}.row .narrow{max-width:none}.question-strip{max-width:calc(100vw - 75px)}.upload-zone{padding:26px 14px}.footer-note{line-height:1.8}.mobile-only{display:block}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.phone-capture{max-width:520px;min-height:100dvh;margin:auto;padding:24px 23px 35px;background:#f6f7f3}.phone-capture header{display:flex;align-items:center;justify-content:space-between;color:#929d91;font-size:11px;margin-bottom:42px}.phone-brand{font-size:23px;color:#244e43;font-weight:700;letter-spacing:1px}.phone-brand small{font-size:11px;color:#8c998a;font-weight:400;letter-spacing:0;margin-left:9px}.phone-heading h1{font:700 31px "Songti SC",serif;line-height:1.4;color:#2e4a37;margin-bottom:10px}.phone-heading p{font-size:12px;color:#8a9585;margin-bottom:29px}.capture-main{width:100%;height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#244e43;color:white;border:0;border-radius:18px;box-shadow:0 12px 24px #244e4313}.capture-main:hover:not(:disabled){background:#1c4338}.capture-main svg{width:58px;height:58px;margin-bottom:20px;color:#f3f5e9}.capture-main strong{font-size:23px;letter-spacing:1px}.capture-main span{font-size:11px;font-weight:400;color:#c3d2bf;margin-top:12px}.capture-gallery{display:flex;align-items:center;width:100%;gap:16px;padding:24px;margin-top:17px;border-radius:14px;text-align:left;background:#fff;border:1px solid #dfe5d8}.capture-gallery>span{font-size:29px;color:#73886b}.capture-gallery>div{flex:1}.capture-gallery strong{font-size:16px;display:block}.capture-gallery small{display:block;font-size:11px;color:#929d8c;font-weight:400;margin-top:7px}.capture-gallery b{font-weight:400;color:#96a18d;font-size:22px}.phone-foot{font-size:11px;color:#9aa290;text-align:center;line-height:2;margin:28px 0 0}.phone-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phone-photos:empty{display:none}.phone-photos .photo img{height:140px}.phone-sequence{font-size:11px;color:#7d8a73;margin:10px 0 12px}.phone-send{width:100%;border:0;background:#244e43;color:white;padding:17px 15px;font-size:15px;border-radius:11px}.phone-send:hover:not(:disabled){background:#193c32}.phone-receipt{text-align:center;padding:30px 5px}.receipt-icon{font-size:42px;line-height:85px;background:#e5eddd;color:#5e835b;width:85px;height:85px;border-radius:50%;margin:0 auto 30px}.phone-receipt h1{font-size:25px;margin-bottom:17px}.phone-receipt p{font-size:13px;color:#86937d;line-height:1.9}.phone-receipt>strong{display:block;margin:27px 0 9px;font-size:16px;overflow-wrap:anywhere}.phone-receipt>span{font-size:12px;color:#96a08e}.phone-receipt .phone-send{margin-top:30px}.phone-order{padding:13px;background:#edf2e6;border-radius:8px;text-align:left}
