:root{--paper:#fbf8f0;--white:#fffdf8;--green:#20563c;--deep:#123d2c;--green-soft:#e7eddf;--ink:#222a24;--muted:#847f73;--line:#e8e3d8;--orange:#eb6a30;--peach:#f6dfca;--red:#d94c43;--font:18px;--tabheight:76px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f1eee5;font:var(--font)/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{border:0;background:none;cursor:pointer}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e9a46e;outline-offset:3px}button:disabled{opacity:.48;cursor:not-allowed}button svg{pointer-events:none}img{display:block;max-width:100%;object-fit:cover}p{margin:8px 0}h1,h2,h3{line-height:1.4;margin:0}h1{font-size:1.55rem}h2{font-size:1.18rem}h3{font-size:1.05rem}small,.small{font-size:.79em;line-height:1.6}.muted{color:var(--muted)}.serif,.wordmark{font-family:"Songti SC","STSong","Noto Serif CJK SC",serif}.app-shell{position:relative;margin:24px auto 0;width:100%;max-width:440px;background:var(--paper);box-shadow:0 12px 70px #3f442317;border-radius:25px 25px 0 0;min-height:calc(100dvh - 24px);overflow-x:clip;overflow-y:visible}#app{padding:24px 20px 30px;min-height:calc(100dvh - 24px);position:relative;outline:none}.app-shell.has-tabs #app{padding-bottom:calc(var(--tabheight) + 30px + env(safe-area-inset-bottom))}.page-head{height:48px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;text-align:center;margin:-4px 0 22px}.page-head h1{font-size:1.15em;font-weight:650}.back,.head-action{width:42px;min-height:44px;display:grid;place-items:center;color:#1d2c24}.back svg{width:23px;height:23px}.icon{width:24px;height:24px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-lg{width:34px;height:34px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:23px 0 10px;gap:10px}.section-title button{font-size:.78em;color:var(--muted);padding:6px 0}.primary,.secondary,.orange,.danger-button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;min-height:52px;padding:12px 16px;font-size:1em;font-weight:600}.primary{background:linear-gradient(105deg,#2a6247,#194f38);color:#fff}.orange{background:#ec6b31;color:white}.secondary{border:1px solid var(--line);background:#f1eee6;color:#303a32}.outline{background:transparent;border:1px solid var(--green);color:var(--green)}.danger-button{border:1px solid #e66b5c;color:#d94436;background:#fff9f4}.actions{display:flex;gap:11px;margin-top:18px}.actions>*{flex:1}.stack>*+*{margin-top:13px}.push-bottom{margin-top:28px}.card{border:1px solid var(--line);border-radius:15px;background:#fffdf8;padding:17px;margin:14px 0}.card h2{margin-bottom:10px}.hint{font-size:.78em;color:var(--muted);line-height:1.6;margin:13px 0}.hint .icon{width:16px;height:16px;margin-right:4px}.notice{padding:14px;border-radius:12px;background:#f9ebd7;font-size:.84em;color:#825235;margin:15px 0}.privacy{font-size:.75em;color:#7c7e70;display:flex;align-items:center;gap:5px}.privacy .icon{width:15px;height:15px;flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:15px;background:#e8efdf;color:#47754b;font-size:.72em;line-height:1.6}.badge.peach{background:#f9dfca;color:#b25d36}.badge.gray{background:#eeeae2;color:#777268}.field{display:block;margin:16px 0}.field>span:first-child{display:block;font-size:.9em;font-weight:600;margin-bottom:7px}.field small{font-weight:400;color:var(--muted)}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),textarea,select{width:100%;border:1px solid #dfded4;border-radius:9px;background:#fffefa;padding:11px 12px;min-height:48px;line-height:1.55;font-size:.94em}textarea{resize:vertical;min-height:150px}input::placeholder,textarea::placeholder{color:#aaa99f}.field-error{color:#c44b36;font-size:.82em}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:22px;height:22px;flex-shrink:0;vertical-align:middle}.choice-row{display:flex;align-items:center;gap:11px;padding:15px 0;border-bottom:1px solid var(--line)}.choice-row b{font-weight:550}.choice-row small{display:block;color:var(--muted)}.row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;min-height:56px;padding:13px 12px;border-bottom:1px solid #ece7dc}.row:last-child{border:0}.row .row-main{flex:1;min-width:0}.row small{display:block;color:var(--muted)}.row .chevron{font-size:24px;color:#8d8b7e}.row-icon{width:27px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.row-icon.orange-icon{color:#df7c30}.row-icon.blue{color:#3c8bae}.row-list{border-radius:14px;overflow:hidden;background:#fffdf7;border:1px solid #f0eadc;margin:15px 0}.row-list .row{padding:11px 14px}.avatar{width:65px;height:65px;border-radius:50%;border:3px solid #fffaf0;background:#ede3d1;object-fit:cover;flex-shrink:0}.empty-avatar{display:grid;place-items:center;background:#e5e8d9;color:#547052}.empty-avatar .icon{width:28px;height:28px}.wordmark{font-size:1.55em;color:#1c3628;line-height:1.2;font-weight:bold}.brand-block{position:relative;padding:5px 0 26px;margin-top:13px}.brand-block>small{display:block;color:#777b70;margin-top:4px;font-size:.75em}.brand-leaf{position:absolute;right:-16px;top:-20px;width:112px;opacity:.9;pointer-events:none;z-index:0}.brand-block>div,.brand-block>small{position:relative;z-index:1}.home-greeting{display:flex;align-items:flex-start;justify-content:space-between;margin:6px 0 18px;position:relative}.home-greeting:before{content:'';position:absolute;right:30px;top:-38px;width:80px;height:160px;background:url('leaf-sprig.svg') center/contain no-repeat;opacity:.5;pointer-events:none}.home-greeting h1{font-size:1.8em;color:var(--green);line-height:1.24;margin-bottom:7px}.home-greeting h2{font-size:1.13em;color:#153d2b}.profile-entry{position:relative;font-size:.68em;color:#77796b;display:grid;justify-items:center;padding:0 0 0 12px;min-width:58px}.profile-entry .avatar{width:47px;height:47px}.task-card{border-radius:18px;background:#e6ead7;padding:15px;margin:15px 0 12px}.task-main{display:grid;grid-template-columns:100px 1fr;gap:14px;margin-bottom:13px;align-items:center}.task-main img{height:108px;width:100px;border-radius:12px}.task-main h2{font-size:1.3em;color:#173f2c;margin-top:5px}.task-main .badge{background:#b47b53;color:#fff}.task-card .primary{border-radius:28px;min-height:47px}.record-entry{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;min-height:66px;border-radius:16px;background:linear-gradient(100deg,#f5d7c0,#f4ccb8);color:#7d452b;font-size:1.06em;margin:11px 0}.round-icon{display:grid;place-items:center;border-radius:50%;width:37px;height:37px;background:#b56f4d;color:#fff}.home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-shortcuts button{display:flex;align-items:center;gap:9px;text-align:left;border-radius:14px;padding:17px 11px;background:#faead4;min-height:96px}.home-shortcuts button:nth-child(2){background:#f5e3cf}.home-shortcuts .icon{width:29px;height:29px;color:#bc8053;flex-shrink:0}.home-shortcuts b{display:block;font-size:.94em}.home-shortcuts small{font-size:.7em;color:#8a795e;display:block}.memory-row{display:flex;width:100%;text-align:left;gap:12px;align-items:center;padding:10px;border-radius:12px;background:#f6efdf;margin:10px 0}.memory-row img{width:72px;height:65px;border-radius:8px;filter:sepia(.3)}.memory-row span:nth-child(2){flex:1}.memory-row b{display:block;font-size:.9em}.memory-row small{color:#8e8575;font-size:.7em}.memory-row .icon{color:#a6694b}.task-cover{width:100%;height:210px;border-radius:15px;margin-bottom:16px}.task-question{font-size:1.55em;line-height:1.4;margin:12px 0 18px}.teacher-tip{display:flex;gap:12px;background:#f7e9d6;padding:17px;border-radius:15px;margin:20px 0}.teacher-tip .icon{color:#b66b45;flex-shrink:0}.teacher-tip b{color:#b16c42}.teacher-tip p{font-size:.88em;color:#796953}.filters{display:flex;gap:7px;overflow:auto;margin:18px 0}.filters button{white-space:nowrap;padding:8px 13px;border-radius:21px;font-size:.83em;color:#777769;background:#f0ece1}.filters .selected{background:#dfebd9;color:var(--green);font-weight:650}.record-list-item{display:block;text-align:left;padding:15px;border:1px solid #ebe6dc;border-radius:12px;background:#fffefa;width:100%;margin:12px 0}.record-list-item strong{font-size:1em;font-weight:600}.record-list-item p{font-size:.84em;color:#75796e;line-height:1.5;margin:5px 0}.record-list-item .metadata{font-size:.72em;color:#99968b;display:flex;gap:5px;align-items:center}.record-list-item .metadata .icon{width:14px;height:14px}.record-list-item:after{content:'›';float:right;color:#94968b;position:relative;top:-34px;font-size:25px}.empty{text-align:center;padding:36px 15px;color:#8c8b7d}.empty .icon{width:49px;height:49px;color:#9fae8e;margin:10px}.empty h2{color:#3d4e40;margin-bottom:8px}.empty p{font-size:.86em}.empty .primary{margin-top:21px}.topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.topic-card{min-height:151px;padding:17px 10px 13px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:15px;background:#f5e3be;color:#815825;border:1.5px solid transparent}.topic-card .icon{width:36px;height:36px;margin-bottom:4px}.topic-card b{font-size:1.06em;line-height:1.5}.topic-card small{font-size:.72em;line-height:1.55;margin-top:3px}.topic-card.topic-family{background:linear-gradient(120deg,#34653d,#255d3c);color:#fff}.topic-card.topic-philosophy{background:linear-gradient(130deg,#dc8e61,#ed9a63);color:#fff}.topic-card.topic-principles{background:#f4e4be;color:#302d24}.topic-card.topic-principles .icon{color:#a87129}.topic-card.topic-descendants{background:#dce5cc;color:#173c26}.topic-card.selected{border-color:#ee7f3a;background:#fff0df;color:#b96c3a}.custom-topic{min-height:62px;border:1px dashed #b0b7a0;background:#eeefe5;border-radius:12px;margin-top:12px;padding:12px;width:100%;text-align:left;font-size:.92em}.saved-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:11px;background:#fffefa;border:1px solid #e8e4d8;border-radius:12px;margin:9px 0}.saved-row .square-icon{display:grid;place-items:center;flex-shrink:0;background:#e1efdf;color:#35705d;width:44px;height:44px;border-radius:9px}.saved-row:nth-of-type(2) .square-icon{background:#ffdcc5;color:#d86f37}.saved-row span:nth-child(2){flex:1}.saved-row b{font-size:.91em;display:block}.saved-row small{display:block;font-size:.7em;color:#8c8b7f}.saved-row>.icon{width:18px;color:#8c8c80}.values-add{margin-top:22px}.category-banner{background:linear-gradient(90deg,#f1f2e4b3,#ffffff1a),url('mountains.svg') center/cover;min-height:167px;border-radius:13px;padding:25px 18px;display:flex;flex-direction:column;justify-content:center;margin:8px 0 16px;color:#173e32}.category-banner h2{font-family:"Songti SC",serif;font-size:1.4em}.category-banner p{font-size:.85em;max-width:250px;margin:4px 0}.category-about{line-height:1.9;color:#616d5d;padding:15px 8px}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:12px 0 20px}.method{position:relative;padding:19px 7px;border:1px solid #e7e5dd;border-radius:13px;display:flex;flex-direction:column;align-items:center;background:#f6f4ef;gap:6px;min-height:116px}.method .icon{width:30px;height:30px}.method small{font-size:.72em;color:#8d8a7e}.method.selected{border-color:#ec8c44;color:#d4712d;background:#fff3e3}.method.selected:after{content:'✓';position:absolute;right:7px;top:5px;background:#ec7c37;color:#fff;border-radius:50%;width:22px;height:22px;line-height:22px;font-size:14px}.prompt-card{padding:16px;border:1px solid #eadcc1;border-radius:12px;background:#fff4de;font-size:.9em;margin:15px 0 24px;line-height:1.8}.record-center{text-align:center;padding:24px 0 10px}.record-center .mic-button{margin:35px auto 30px}.mic-button{width:130px;height:130px;background:var(--green);color:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 14px #e7ecdc,0 0 0 27px #f2f3e9}.mic-button .icon{width:52px;height:52px}.record-center.active .mic-button{background:#eb7134;box-shadow:0 0 0 14px #f9dfc5,0 0 0 27px #fcf0de}.timer{font-variant-numeric:tabular-nums;font-size:2.15em;font-weight:500;line-height:1.4;margin:16px 0 0}.wave{display:flex;align-items:center;justify-content:center;gap:4px;height:72px;margin:20px 0 35px}.wave i{width:3px;background:#497e62;border-radius:4px;display:block;height:var(--h)}.active .wave i{background:#ee7b3b;animation:pulse 1s ease-in-out infinite alternate;animation-delay:var(--d)}@keyframes pulse{from{transform:scaleY(.5)}to{transform:scaleY(1)}}.review-note{background:#fff0d2;border-radius:10px;padding:13px;color:#9a622a;font-size:.8em;display:flex;gap:8px;margin-bottom:17px}.review-note .icon{width:20px;flex-shrink:0}.audio-player{display:flex;align-items:center;gap:10px;background:#fffdf7;border:1px solid #ece6d9;border-radius:12px;padding:11px;margin:15px 0}.audio-play{width:38px;height:38px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex-shrink:0}.audio-play .icon{width:21px}.audio-copy{flex:1;min-width:0;font-size:.78em}.audio-line{height:4px;background:#cbd4c4;border-radius:8px;margin-top:7px;overflow:hidden}.audio-line span{display:block;width:72%;height:100%;background:#2d8560}.audio-player time{font-size:.72em;color:#898b7d}.record-body{font-size:1em;line-height:1.9;white-space:pre-wrap;margin:13px 0 24px}.record-detail-title{font-size:1.45em;margin:20px 0 10px}.success-strip{padding:9px 12px;border-radius:9px;background:#e7f0de;color:#2b6542;font-size:.81em;margin:10px 0 17px}.detail-meta{font-size:.79em;color:#959486;line-height:1.9;margin-top:22px}.detail-toolbar{display:flex;gap:12px}.detail-toolbar button{min-height:48px;flex:1;font-size:.88em}.tree-page{position:relative;min-height:500px;background:url('leaf-sprig.svg') -90px 15px/240px auto no-repeat}.tree-top{display:flex;align-items:center;justify-content:center;position:relative;gap:12px;margin-bottom:22px}.tree-top .primary{width:auto;padding:7px 12px;min-height:38px;font-size:.78em}.tree{padding:18px 0 26px;position:relative}.tree-level{display:flex;justify-content:center;gap:43px;position:relative;z-index:1}.tree-level.siblings{gap:23px}.tree-node{padding:0;width:82px;text-align:center}.tree-node .avatar{width:69px;height:69px;margin:auto;border:3px solid #fff8e6;box-shadow:0 0 0 1px #e1dbbf}.tree-node.current .avatar{box-shadow:0 0 0 2px #5e7d4c}.tree-node b,.tree-node small{display:block;line-height:1.4}.tree-node b{font-size:.87em;margin-top:6px}.tree-node small{font-size:.7em;color:#766e5d}.tree-connector{height:54px;width:164px;margin:auto;position:relative;border-top:1px solid #c9be98;top:10px}.tree-connector:before{content:'';position:absolute;top:0;left:50%;height:43px;border-left:1px solid #c9be98}.tree-connector:after{content:'';position:absolute;left:0;right:0;top:43px;border-top:1px solid #c9be98}.tree-additional{margin-top:22px}.member-form-top{display:flex;gap:14px;align-items:center;margin:12px 0 24px}.upload-photo{width:118px;height:122px;border:1px dashed #d7d5ca;display:grid;align-content:center;justify-items:center;gap:7px;background:#f4f1ea;border-radius:8px;font-size:.82em;flex-shrink:0;overflow:hidden}.upload-photo .icon{width:29px;height:29px}.upload-photo.has-photo{border:0;background:transparent}.upload-photo img{width:100%;height:122px;border-radius:10px}.form-inline label{display:grid;grid-template-columns:116px 1fr;align-items:center;gap:8px;margin:13px 0;font-size:.9em}.form-inline label span{font-size:.9em;white-space:nowrap}.form-inline label i{font-style:normal;color:#e56a37}.photo-choice{display:flex;gap:7px;align-items:center;color:#af7048;font-size:.78em}.crop-stage{position:relative;width:100%;aspect-ratio:1;background:#30382e;overflow:hidden;border-radius:13px;touch-action:none;cursor:grab}.crop-stage canvas{width:100%;height:100%;display:block}.crop-overlay{position:absolute;inset:9%;border:2px solid #fff;outline:70px solid #0004;pointer-events:none}.crop-overlay:after{content:'';position:absolute;inset:0;border:1px solid #fff;border-radius:50%}.crop-controls{display:flex;align-items:center;gap:12px;padding:20px 5px}.crop-controls input{width:100%;accent-color:var(--green)}.crop-caption{text-align:center;color:#6d7567;margin:15px 0}.person-identity{display:flex;gap:18px;align-items:center;margin:18px 0 20px}.person-identity .avatar{width:104px;height:104px}.person-identity h2{font-size:1.25em}.person-identity p{font-size:.85em;margin:3px 0}.person-identity .icon{width:17px;height:17px;margin-right:5px}.info-grid{display:grid;grid-template-columns:90px 1fr;gap:8px;font-size:.9em}.info-grid span:nth-child(odd){color:#787f6e}.photo-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.photo-gallery button{padding:0}.photo-gallery img{height:90px;width:100%;border-radius:9px}.device-visual{width:92px;height:92px;background:linear-gradient(135deg,#fff,#d5d8d4);border-radius:28px;box-shadow:inset 0 0 13px #8c938333,0 5px 10px #4442;margin:12px auto 18px;position:relative;border:2px solid #ddd}.device-visual:before{content:'';position:absolute;width:8px;height:8px;background:#8cbb7e;box-shadow:0 0 7px #90a768;left:calc(50% - 4px);top:19px;border-radius:50%}.device-row{display:flex;align-items:center;gap:18px}.device-row .device-visual{width:65px;height:65px;border-radius:20px;margin:0;flex-shrink:0}.device-row .device-visual:before{top:12px;width:5px;height:5px}.profile-block{display:flex;align-items:center;gap:15px;margin:12px 0 24px}.profile-block h2{font-size:1.15em}.profile-block p{font-size:.82em;color:#9a8971}.profile-photo-edit{display:grid;justify-items:center;margin:22px 0 30px}.profile-photo-edit button{position:relative;padding:0}.profile-photo-edit .avatar{width:129px;height:129px}.camera-badge{position:absolute;right:0;bottom:3px;width:39px;height:39px;border-radius:50%;color:white;background:#2d7757;display:grid;place-items:center}.camera-badge .icon{width:22px}.profile-photo-edit p{font-size:.85em;color:#85877b}.font-preview{padding:25px 16px;min-height:150px;border-radius:12px;background:linear-gradient(#fff5df88,#f3efdf77),url('mountains.svg') center/cover;margin:14px 0}.font-preview strong{font-size:1.3em}.font-choice{display:flex;align-items:center;gap:11px;padding:20px 4px;border-bottom:1px solid #e7e3d8}.font-choice small{margin-left:auto;color:#7e8376}.permission-card{display:flex;gap:13px;text-align:left;align-items:center;width:100%;background:#fffdf7;border:1px solid var(--line);border-radius:13px;padding:18px 14px;margin:12px 0}.permission-card .permission-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#eaf1e1;color:#38734e;flex-shrink:0}.permission-card b{display:block;font-size:.96em}.permission-card p{font-size:.78em;color:#8b8e80;margin:4px 0 0}.grant-item{padding:13px 0;border-top:1px solid var(--line);font-size:.82em}.grant-item button{float:right;color:#cf6b4b}.text-links{display:flex;gap:20px;justify-content:center;font-size:.8em;margin-top:24px;color:#8b8c7e}.faq details{background:#fffdf7;border:1px solid var(--line);border-radius:11px;padding:14px;margin:12px 0;font-size:.9em}.faq summary{cursor:pointer;font-weight:600}.faq p{color:#7d8376;margin-top:10px;font-size:.9em}.legal{font-size:.86em;line-height:1.95;color:#65705f}.legal h2{margin:22px 0 7px;color:var(--ink)}.empty-illustration{text-align:center;padding:40px 15px}.empty-illustration>.icon{width:68px;height:68px;color:#879b77}.empty-illustration h2{margin:16px 0 7px}.empty-illustration p{color:#8b8f81;font-size:.84em}.login-logo{text-align:center;margin:65px 0 35px;color:var(--green)}.login-logo h1{font-size:2.5em;font-family:serif}.login-logo p{font-size:.9em;color:#7b8472}.gallery-image{max-height:550px;width:100%;border-radius:12px}.prototype-tools{position:fixed;left:max(28px,calc(50vw - 530px));top:60px;width:240px;color:#78806b}.prototype-tools>b{font-family:serif;font-size:36px;color:#1d5136}.prototype-tools em{font:normal 15px sans-serif}.prototype-tools p{margin:18px 0;line-height:1.8}.prototype-tools>span{border:1px solid #d9decd;border-radius:20px;padding:4px 12px;font-size:13px}.prototype-tools .small{font-size:13px;color:#8e9585;line-height:1.9}.prototype-tools a{display:flex;width:160px;justify-content:space-between;margin-top:28px;font-size:15px;border-top:1px solid #d9ddcf;padding-top:17px}#tabs{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:440px;z-index:20;background:#fbf9f1f5;backdrop-filter:blur(16px);border-top:1px solid #e5e2d7;display:flex;padding:6px 8px calc(7px + env(safe-area-inset-bottom));min-height:var(--tabheight)}#tabs:empty{display:none}#tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;color:#8c8c7f;font-size:.68em;min-height:57px;padding:0}#tabs .icon{width:25px;height:25px}#tabs button.selected{color:var(--green);font-weight:650}#overlay:empty{display:none}.modal{position:fixed;inset:0;background:#263a2d70;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(3px)}.dialog{background:var(--paper);border:1px solid #f3eee2;max-width:395px;width:100%;padding:28px 23px;border-radius:21px;box-shadow:0 15px 70px #2224}.dialog h2{font-size:1.13em;text-align:center;margin-bottom:12px}.dialog p{font-size:.9em;color:#7b8070;text-align:center;line-height:1.8}.dialog .actions{margin-top:24px}.dialog .danger-button{background:#df4e3e;color:white;border:0}.dialog input{margin-top:12px}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:110px;z-index:150;color:#fff;background:#263e2eea;padding:12px 19px;border-radius:12px;font-size:15px;width:max-content;max-width:88vw;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.teacher-layout{max-width:1320px;margin:35px auto;min-height:calc(100dvh - 70px);display:flex;background:var(--paper);border:1px solid #dedfd3;border-radius:20px;box-shadow:0 16px 60px #353d1b15;overflow:hidden}.teacher-sidebar{width:240px;flex-shrink:0;padding:33px 22px;background:linear-gradient(155deg,#f2f3e8,#f8f7ee);border-right:1px solid #e5e6da}.teacher-sidebar h1{color:var(--green);font-size:25px}.teacher-sidebar p{color:#8a907f;font-size:13px}.teacher-sidebar nav{margin-top:35px;display:grid;gap:12px}.teacher-sidebar nav button{display:flex;align-items:center;gap:13px;padding:13px 15px;text-align:left;border-radius:12px;font-size:17px}.teacher-sidebar nav .selected{color:white;background:var(--green)}.teacher-main{padding:36px;flex:1;min-width:0}.teacher-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:27px}.teacher-top h1{font-size:29px}.teacher-top p{font-size:16px;color:#818875}.teacher-person{font-size:15px}.teacher-course{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px;background:#fffdf7;border:1px solid var(--line);border-radius:15px}.teacher-course h2{font-size:23px}.teacher-course p{font-size:14px;color:#8a907d}.teacher-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0}.stat{padding:18px;border:1px solid var(--line);border-radius:13px;background:#fffdf7;font-size:15px}.stat strong{display:block;font-size:28px;color:var(--green);line-height:1.4}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px;background:#fffdf8}.teacher-table{width:100%;border-collapse:collapse;font-size:15px;white-space:nowrap}.teacher-table th{background:#f0f0e6;color:#3e493b;text-align:left;font-size:14px;padding:15px}.teacher-table td{padding:15px;border-bottom:1px solid var(--line)}.teacher-table tr:last-child td{border-bottom:0}.teacher-table button{color:var(--green);background:#edf2e6;border-radius:8px;padding:5px 11px;font-size:13px}.teacher-privacy{margin:18px 0;background:#faeadb;color:#79573f;padding:13px 17px;border-radius:12px;font-size:14px}.teacher-privacy .icon{width:19px;height:19px;margin-right:7px}.teacher-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0}.teacher-toolbar .primary{width:auto;font-size:15px;min-height:43px}.teacher-form{max-width:680px}.teacher-shell .dialog{max-width:460px}.teacher-sidebar .mobile-link{display:block;font-size:14px;margin-top:42px;color:#75846b}.teacher-status{display:inline-block;padding:3px 10px;border-radius:15px;font-size:13px;background:#e5eedb;color:#3b7146}.teacher-status.pending{background:#fbecd5;color:#b47c30}.teacher-status.empty{padding:3px 10px;background:#f6dfd5;color:#b76142}.step-list{display:grid;gap:14px;margin:20px 0}.step{display:flex;gap:13px;align-items:flex-start}.step>b{background:#e5ecdc;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.step p{font-size:.86em;color:#7a8270}.step strong{font-size:.94em}.saved-photo{width:100%;max-height:240px;border-radius:13px;margin:14px 0}
@media(max-width:1050px){.prototype-tools{display:none}.teacher-layout{margin:15px;min-height:calc(100dvh - 30px)}.teacher-sidebar{width:196px;padding:28px 15px}.teacher-main{padding:25px}.teacher-stats{gap:8px}.stat{padding:12px}}
@media(max-width:700px){.app-shell{margin:0;max-width:none;min-height:100dvh;box-shadow:none;border-radius:0}#app{padding:22px 20px 30px;min-height:100dvh}#tabs{max-width:none}body{background:var(--paper)}.home-greeting h1{font-size:1.75em}.teacher-layout{display:block;margin:0;border:0;border-radius:0}.teacher-sidebar{width:100%;border-right:0;border-bottom:1px solid var(--line);padding:18px}.teacher-sidebar nav{display:flex;overflow:auto;margin-top:15px;gap:6px}.teacher-sidebar nav button{font-size:14px;white-space:nowrap;padding:9px}.teacher-sidebar nav .icon{display:none}.teacher-sidebar .mobile-link{margin-top:10px}.teacher-main{padding:20px 15px}.teacher-top h1{font-size:24px}.teacher-top p{font-size:13px}.teacher-stats{grid-template-columns:repeat(2,1fr)}.teacher-course{display:block}.teacher-course .primary{margin-top:14px}.teacher-table{font-size:14px}.teacher-table th,.teacher-table td{padding:12px}.teacher-toolbar h2{font-size:19px}.form-inline label{grid-template-columns:104px 1fr}.topic-card{min-height:145px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.original-banner{width:100%;padding:0;height:auto;min-height:0;object-fit:cover;display:block;aspect-ratio:2.28;border-radius:12px}.brand-leaf{width:100px;right:-5px;top:-17px;mix-blend-mode:multiply}.font-preview{background:linear-gradient(#fff9ed,#f7f0df);position:relative;overflow:hidden}.font-preview:after{content:'';position:absolute;left:0;right:0;bottom:0;height:50px;background:url('font-landscape.jpg') center/100% 100% no-repeat;pointer-events:none}.font-preview>span,.font-preview>p{position:relative;z-index:1}
.teacher-sidebar{background:#f6f6ed url('teacher-leaves.jpg') bottom left/100% auto no-repeat}.teacher-sidebar h1{position:relative;padding-left:43px;line-height:1.4}.teacher-sidebar h1:before{content:'';position:absolute;left:0;top:-7px;background:url('teacher-logo.jpg') center/contain no-repeat;width:37px;height:63px;mix-blend-mode:multiply}.teacher-sidebar>p{margin-left:43px}.teacher-sidebar nav,.teacher-sidebar .mobile-link{position:relative;z-index:1}
@media(max-width:700px){.teacher-sidebar{background-image:none}.teacher-sidebar h1:before{height:48px}.teacher-sidebar>p{margin-bottom:0}}
.tree-page{background:url('tree-decoration.svg') center 10px/100% 480px no-repeat}

/* Approved voice-and-tree-rings logo; crop presentation margins with CSS, preserving original artwork. */
.home-brand{margin:0 0 20px;position:relative;z-index:1}.brand-lockup{position:relative;display:block;width:154px;aspect-ratio:1050/440;overflow:hidden;mix-blend-mode:multiply}.brand-lockup img{position:absolute;max-width:none;width:146.286%;height:auto;left:-23.81%;top:-40.91%}

.home-brand{display:flex;justify-content:center}

.cloud-saving:after{content:"正在保存到账号，请稍候…";position:fixed;top:0;left:0;right:0;z-index:9999;text-align:center;background:#20563c;color:white;padding:8px;font-size:16px}.cloud-saving button{opacity:.65}.tree-level{justify-content:center}

.login-brand{margin:0 auto 14px;width:170px;max-width:70%}.welcome-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#747d70;font-size:.82em;margin:2px 0 20px}.welcome-top button{min-height:44px;color:var(--green);font-size:1em;padding:6px 0 6px 10px}.welcome-image{position:relative;margin-bottom:28px}.welcome-image>img{width:100%;height:220px;object-fit:cover;border-radius:20px}.welcome-step-icon{position:absolute;bottom:-21px;left:18px;width:52px;height:52px;display:grid;place-items:center;background:#e7eddf;color:var(--green);border:5px solid var(--paper);border-radius:50%}.welcome-step-icon .icon{width:26px;height:26px}.welcome-caption{color:#a66f48;font-size:.85em;margin:25px 0 9px}.welcome h1{font-size:1.65em;color:var(--green);line-height:1.4}.welcome-description{margin:16px 0 24px;line-height:1.9;min-height:108px}.welcome-dots{display:flex;justify-content:center;gap:8px;margin:24px 0}.welcome-dots span{width:7px;height:7px;border-radius:8px;background:#d8dfd1}.welcome-dots .active{width:24px;background:var(--green)}.welcome>.secondary{margin-top:12px}@media(max-width:360px){.welcome-image>img{height:180px}.welcome h1{font-size:1.4em}}
/* Guided lessons and personal setup: one question at a time. */
.welcome .welcome-image>img{height:170px}.welcome .welcome-description{min-height:0;line-height:1.85;margin:14px 0 18px}.tutorial-demo{padding:18px;background:#edf0e4;border:1px solid #dce3d3;border-radius:18px;font-size:.9em}.tutorial-demo>span{display:flex;align-items:center;gap:8px;color:#4d624f}.tutorial-demo p{font-size:.88em;color:#556450;margin:12px 0 0}.tutorial-record,.tutorial-confirm{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border-radius:14px;background:var(--green);color:white;font-weight:650;margin-top:14px}.tutorial-confirm{background:#fffdf8;color:var(--green);border:1px solid #cdd9c9}.tutorial-tabs{display:flex;justify-content:space-around;gap:12px;margin-top:18px;color:var(--green)}.tutorial-tabs>span{display:grid;justify-items:center;gap:6px;font-weight:600}.welcome>.primary{min-height:60px}
.setup-page{display:flex;flex-direction:column;min-height:calc(100dvh - 90px);padding:0 2px 10px}.setup-top{display:flex;align-items:center;justify-content:space-between;color:#59664f;font-size:.88em;gap:12px;margin-bottom:18px}.setup-top>button{display:grid;place-items:center;min-width:48px;min-height:48px;color:var(--green);border:1px solid #e2e4d7;border-radius:50%}.setup-progress{display:flex;gap:8px;margin:0 0 30px}.setup-progress>span{height:5px;flex:1;border-radius:8px;background:#e0e4d7}.setup-progress>.active{background:var(--green)}.setup-page>h1{font-size:1.65em;color:var(--deep);line-height:1.45}.setup-description{color:#596354;line-height:1.8;margin:16px 0 22px}.setup-illustration{padding:26px 15px;margin:4px 0 10px;display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--green);background:#e9edde;border-radius:24px}.setup-illustration>.icon{width:48px;height:48px}.setup-name input{min-height:64px;font-size:1.12em!important;border-radius:14px!important}.setup-help{font-size:.9em;line-height:1.85;color:#646d5e;margin:12px 0 20px}.setup-actions{margin-top:auto;padding-top:24px;display:grid;gap:12px}.setup-actions>.primary,.setup-actions>.secondary,.setup-complete>.primary{min-height:60px}.setup-choices{display:grid;gap:14px;margin:4px 0 10px}.setup-choice{display:grid;grid-template-columns:32px 1fr 28px;align-items:center;gap:16px;text-align:left;min-height:80px;padding:18px;background:#fffdf7;border:2px solid #e4e4d6;border-radius:18px}.setup-choice>b{font-size:1.1em}.setup-choice.selected{border-color:var(--green);color:var(--green);background:#edf0e3}.setup-photo{display:flex;align-items:center;flex-direction:column;gap:25px;cursor:pointer;margin:10px 0 24px}.setup-photo-face .avatar{width:152px;height:152px;border:6px solid #fffdf7;box-shadow:0 0 0 2px #dce2cf}.setup-photo-face .icon{width:64px;height:64px}.setup-photo>.secondary{min-height:64px}.setup-tip{display:flex;align-items:flex-start;gap:10px;line-height:1.8;padding:18px;border-radius:16px;background:#f2e7d7;color:#735b43;font-size:.9em}.setup-tip>.icon{flex-shrink:0;margin-top:4px}.setup-person{display:flex;align-items:center;flex-direction:column;gap:10px;margin:12px 0 22px}.setup-person>.avatar{width:116px;height:116px}.setup-person>strong{font-size:1.35em;overflow-wrap:anywhere}.setup-person>span{font-size:.85em;color:#64715e}.setup-review{border:1px solid #e0e4d5;border-radius:18px;background:#fffdf8;overflow:hidden}.setup-review>button{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:10px;width:100%;text-align:left;min-height:72px;padding:15px;border-bottom:1px solid #ebeade}.setup-review>button:last-child{border:0}.setup-review b{font-weight:550;overflow-wrap:anywhere}.setup-review span:last-child{font-size:.8em;color:var(--green)}.setup-complete{text-align:center;justify-content:center;gap:8px}.setup-complete>.primary{margin-top:22px}.setup-complete>.setup-tip{text-align:left}.setup-success{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;margin:16px auto 10px;background:#e5edde;color:var(--green)}.setup-success>.icon{width:44px;height:44px}@media(max-width:360px){.setup-page>h1{font-size:1.4em}.setup-review>button{grid-template-columns:40px 1fr auto;padding:12px}.welcome .welcome-image>img{height:145px}}
