@charset "UTF-8";
:root{--ink:#203c35;--muted:#697870;--green:#146b57;--pale:#e9f0e9;--line:#dce3d9;--paper:#fbfcf7;--orange:#c77a45;--shadow:0 14px 40px #233c3310;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{border:0;border-radius:12px;background:var(--green);color:#fff;min-height:48px;padding:12px 20px;cursor:pointer;font-weight:650}button:hover{filter:brightness(.96)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #cc934a;outline-offset:4px}button.secondary{background:#edf1e9;color:var(--ink);border:1px solid var(--line)}button.small{min-height:40px;padding:8px 14px;font-size:13px}button.danger{background:#fff1ec;color:#9d4327}a{color:inherit;text-decoration:none}input,textarea,select{display:block;width:100%;border:1px solid #ccd7cc;border-radius:12px;padding:14px;background:#fff;color:var(--ink);font-size:16px}input:focus,textarea:focus,select:focus{outline:2px solid #96bdaa;outline-offset:2px}textarea{resize:vertical;min-height:112px;line-height:1.8}label{display:block;font-size:14px;font-weight:600;margin:20px 0 9px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,50px);line-height:1.35;letter-spacing:-1.5px}h2{font-size:25px;line-height:1.5}h3{font-size:18px;line-height:1.6}p{line-height:1.9}small,.muted{font-size:13px;color:var(--muted);line-height:1.8}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--green);font-weight:700;margin-bottom:12px}.topbar{max-width:1240px;margin:auto;padding:23px 32px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;font-size:16px;font-weight:750}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--green);color:#fff;font-size:23px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:400;margin-top:4px}.top-actions{display:flex;align-items:center;gap:14px}.status{font-size:12px;color:var(--muted)}.status:before{content:"";display:inline-block;width:6px;height:6px;background:#579c70;border-radius:50%;margin-right:7px}main{max-width:1176px;margin:auto;padding:38px 0 60px;min-height:calc(100vh - 180px)}footer{max-width:1176px;margin:auto;border-top:1px solid var(--line);padding:22px 0;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.login-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:74px;align-items:center;min-height:620px}.intro h1{max-width:580px;margin-bottom:20px}.intro .lead{max-width:460px;color:var(--muted);font-size:15px}.pill{display:inline-flex;align-items:center;border:1px solid #d5dfd1;border-radius:30px;padding:6px 12px;font-size:12px;color:var(--green);background:#f3f6ed}.scene{position:relative;background:#e8eee3;border-radius:22px;overflow:hidden;height:250px;margin-top:32px}.scene svg{width:100%;height:100%}.scene-caption{position:absolute;bottom:16px;left:20px;font-size:11px;letter-spacing:2px;color:#456c5a}.login-card{background:white;border:1px solid var(--line);padding:38px;border-radius:24px;box-shadow:var(--shadow)}.login-card h2{margin:18px 0 12px;font-size:28px}.login-card .welcome{font-size:14px;color:var(--muted)}.login-card .submit{width:100%;margin-top:18px}.error{color:#b1432c;font-size:14px;min-height:24px;margin:10px 0 0}.login-note{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.login-note p{margin:0;font-size:12px;color:var(--muted)}.login-icon{font-size:30px}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.welcome-row h1{font-size:32px;margin:7px 0}.meta{font-size:13px;color:var(--muted)}.avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:18px;font-size:29px;background:#e6eddf}.profile{display:flex;gap:15px;align-items:center}.nav{display:flex;gap:10px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:26px;overflow-x:auto}.nav button{white-space:nowrap;background:transparent;color:var(--muted);font-size:14px}.nav button.active{background:var(--green);color:white}.hero{background:#e7eee2;border:1px solid #d7e1d0;border-radius:22px;padding:30px;display:flex;gap:24px;align-items:center;margin-bottom:30px}.hero h2{margin:8px 0;font-size:27px}.hero p{color:#5e7164;font-size:14px;margin:0}.hero .badge{width:72px;height:72px;border:1px solid #cad9c5;border-radius:50%;display:grid;place-items:center;font-size:35px;flex-shrink:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 17px}.section-head h2{font-size:20px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.topic{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.topic-art{height:146px;background:#e5ece1;position:relative;display:grid;place-items:center;overflow:hidden}.topic:nth-child(3n+2) .topic-art{background:#f0e8d9}.topic:nth-child(3n+3) .topic-art{background:#e2e9ed}.topic-art .glyph{font-size:65px;filter:saturate(.7);transform:rotate(-6deg)}.topic-art:before,.topic-art:after{content:"";width:150px;height:150px;border:1px solid #ffffff90;border-radius:50%;position:absolute;left:15%;top:14%}.topic-art:after{left:45%;top:-50%}.topic-body{padding:22px;display:flex;flex:1;flex-direction:column}.topic h3{margin:12px 0 10px;min-height:58px}.topic p{font-size:13px;color:var(--muted);margin-bottom:22px;flex:1}.topic button{width:100%;display:flex;justify-content:space-between}.tag{font-size:11px;letter-spacing:1px;color:var(--muted)}.tag.done{color:var(--green)}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:22px}.back{margin-bottom:20px}.question{background:#f4f6ef;border-radius:14px;padding:17px 18px;margin:12px 0;line-height:1.8;font-size:15px}.question b{display:inline-flex;background:#dde9d9;color:var(--green);width:26px;height:26px;align-items:center;justify-content:center;border-radius:8px;font-size:12px;margin-right:9px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.record{padding:20px 0;border-bottom:1px solid var(--line)}.record:last-child{border:0}.record p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.record h3{margin:8px 0}.review{border-left:3px solid #77a48b;background:#f2f6ee;padding:13px;margin-top:14px;white-space:pre-wrap}.empty{text-align:center;padding:50px 15px;color:var(--muted)}.chat-log{height:330px;overflow-y:auto;background:#f5f7f1;border-radius:14px;padding:16px;margin:16px 0}.bubble{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;margin:12px 0;max-width:94%;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{background:#e4eee0;margin-left:auto}.bubble b{display:block;font-size:12px;color:var(--green);margin-bottom:5px}.chat-form{display:flex;gap:9px}.chat-form input{min-width:0}.chat-form button{flex-shrink:0}.avatar-line{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;margin:24px 0}.person{text-align:center;padding:15px;border:1px solid var(--line);border-radius:16px;flex:1;min-width:85px;background:#fff}.person .avatar{margin:0 auto 10px}.person span{font-size:12px;color:var(--muted);display:block;margin-top:6px}.ar-stage{height:300px;background:#e6ede2;position:relative;overflow:hidden;border-radius:16px;margin:15px 0}.ar-stage video,.ar-stage .model-wrap{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.ar-stage svg{width:100%;height:100%;filter:drop-shadow(0 6px 6px #263c3340)}.ar-label{position:absolute;top:12px;left:12px;background:#ffffffdf;border-radius:7px;padding:6px 9px;font-size:11px}.ar-stage .ground{position:absolute;left:15%;right:15%;bottom:24px;height:1px;background:#ffffff;box-shadow:0 0 0 13px #ffffff10}.controls label{margin:12px 0 4px}.controls input[type=range]{padding:4px;accent-color:var(--green)}.note{font-size:12px;line-height:1.8;color:var(--muted);padding:12px 15px;border-radius:10px;background:#f5f4ed;margin:16px 0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff}.stat strong{display:block;font-size:32px;color:var(--green);margin-bottom:8px}.student-bar{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}.student-bar button{background:#edf1e9;color:var(--ink)}.student-bar button.active{background:var(--green);color:white}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.stack>*+*{margin-top:12px}.check{display:flex;gap:12px;align-items:center;line-height:1.7}.check input{width:22px;height:22px;accent-color:var(--green)}dialog{border:1px solid var(--line);border-radius:22px;padding:32px;max-width:490px;width:calc(100% - 32px);color:var(--ink);box-shadow:var(--shadow)}dialog::backdrop{background:#17362b80}.close{float:right;font-size:24px;padding:2px 14px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);border-radius:14px;background:#203c35;color:#fff;padding:14px 22px;max-width:90%;font-size:14px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.divider{height:1px;background:var(--line);margin:24px 0}.progress-track{height:7px;background:#d5dfd0;border-radius:10px;margin-top:12px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--green)}
@media(min-width:1300px){main{padding-top:48px}.login-layout{gap:94px}}
@media(max-width:1240px){main,footer{margin-left:32px;margin-right:32px}}
@media(max-width:800px){.login-layout{gap:28px;grid-template-columns:1fr 1fr}.login-card{padding:26px}.two-col{grid-template-columns:1fr}.cards{gap:14px}.topic-body{padding:18px}.settings-grid{grid-template-columns:1fr}.hero{padding:24px}.intro h1{font-size:35px}.topbar{padding:18px 24px}}
@media(max-width:600px){.topbar{padding:16px}.brand{font-size:13px}.brand-icon{width:37px;height:37px;font-size:20px}.top-actions{gap:6px}.status{display:none}.top-actions button{font-size:11px;padding:8px 10px}main{margin:0;padding:25px 18px 35px}footer{margin:0 18px;display:block;padding-bottom:calc(20px + env(safe-area-inset-bottom))}footer span{display:block;margin-top:8px}.login-layout{display:flex;flex-direction:column;gap:26px;min-height:0;align-items:stretch}.intro h1{font-size:33px;margin-bottom:14px;letter-spacing:-1px}.intro .lead{font-size:14px}.scene{height:160px;margin-top:18px}.login-card{padding:26px}.login-card h2{font-size:25px}.login-layout .eyebrow{margin-top:2px}.cards{grid-template-columns:1fr}.topic{display:grid;grid-template-columns:100px 1fr}.topic-art{height:100%;min-height:215px;border-radius:0}.topic-art .glyph{font-size:48px}.topic-body{padding:18px}.topic h3{min-height:0;font-size:17px;margin:8px 0}.topic p{margin-bottom:14px}.topic button{min-height:44px;padding:10px 14px;font-size:13px}.hero{padding:20px;gap:14px}.hero h2{font-size:22px}.hero .badge{width:49px;height:49px;font-size:25px}.hero p{font-size:13px}.hero .eyebrow{font-size:10px;letter-spacing:2px}.welcome-row{align-items:flex-start}.welcome-row h1{font-size:26px}.welcome-row .avatar{width:43px;height:43px;font-size:25px}.profile{gap:10px}.meta{font-size:11px}.nav{gap:3px}.nav button{padding:10px 14px;font-size:13px}.panel{padding:20px}.stat{padding:15px}.stat strong{font-size:26px}.stat small{font-size:11px}.person{padding:10px}.avatar-line{gap:8px}.ar-stage{height:260px}.chat-form button{padding:10px 15px}.section-head .muted{font-size:11px}.question{font-size:14px}.hero h2{line-height:1.5}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* 顶部操作保持完整，折扇使用跨平台矢量图标。 */
.welcome-row>button{flex-shrink:0;white-space:nowrap}.topic-art .glyph svg{width:80px;height:80px;display:block}
@media(max-width:600px){.welcome-row h1{font-size:24px}.topic-art .glyph svg{width:70px;height:70px}}

/* 一体版：儿童探索与教师教研共享结构，按登录角色切换视觉语气。 */
body[data-role="teacher"]{--green:#2b5064;--ink:#263d4c;--muted:#637482;--line:#dce3e7;background:#f6f8fa}
body[data-role="teacher"] .hero{background:#e8eef2;border-color:#d5e0e7}
body[data-role="teacher"] .avatar{background:#e1e9ef}
.daily-panel{display:grid;grid-template-columns:1fr 210px;gap:30px;padding:32px;background:#1c594b;color:#fff;border-radius:22px;margin-bottom:22px;position:relative;overflow:hidden}
.daily-panel .eyebrow{color:#d8c88c}.daily-panel h2{font-size:30px;margin-bottom:18px}.daily-panel h3{font-size:18px;margin-bottom:10px}.daily-panel p{max-width:720px;font-size:16px;color:#e1eae4}.daily-panel .pill{background:#ffffff10;border-color:#ffffff35;color:#e5eee6;font-size:11px}.daily-actions{display:flex;flex-direction:column;justify-content:center;gap:16px}.daily-actions button{background:#e8d8a3;color:#284e41}.daily-actions small{color:#ccdcd2}.review-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f4eedc;border:1px solid #e3d9b8;padding:16px 20px;margin:20px 0;border-radius:15px;font-size:14px;line-height:1.8}
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-grid>.panel{margin:0 0 2px}.course-card{display:flex;flex-direction:column;min-width:0}.course-card h3{margin:15px 0 4px}.course-card .course-focus{font-size:14px;color:var(--green);font-weight:600;margin-bottom:10px}.course-card>.muted{flex:1}.course-card>button{margin-top:18px;width:100%;font-size:13px}.subject-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #d0ddd3;border-radius:12px;color:var(--green);background:#edf2e9;font-size:20px;font-weight:700}.course-card details{font-size:13px;line-height:1.9}.course-card ul,.method-card ol{padding-left:21px}.course-card li,.method-card li,.learning-steps li{margin:9px 0;line-height:1.9}.method-card p{font-size:14px}.method-card .eyebrow{font-size:10px}.method-card ol{font-size:14px}.source-link{text-decoration:underline;text-underline-offset:4px;color:var(--green);font-size:13px}details{line-height:1.9}summary{cursor:pointer;font-size:14px;color:var(--green);padding:10px 0;min-height:44px}summary:focus-visible{outline:2px solid #b38d52;outline-offset:3px}.research-hero{padding:30px 34px;background:#263f50;border-radius:20px;color:#fff;margin-bottom:24px;border-top:4px solid #c5ac77}.research-hero .eyebrow{color:#ddc998}.research-hero h2{font-size:28px;margin-bottom:13px}.research-hero p:last-child{font-size:14px;color:#d5e0e6;margin:0;max-width:950px}.research-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:24px;align-items:start}.research-list{padding:20px;position:sticky;top:18px}.research-topic{display:block;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:var(--ink);margin:7px 0;font-weight:400;padding:14px;min-height:80px;line-height:1.7}.research-topic small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:6px}.research-topic span{font-size:13px;display:block}.research-topic.active{background:#e9eff3;border-color:#cedae2;color:#254e66}.research-layout textarea{font-size:15px}.research-layout h2{font-size:22px}.research-layout .record p{font-size:14px}.method-card{margin-bottom:18px!important}#recall-text{min-height:170px}#original-recall p{white-space:pre-wrap;overflow-wrap:anywhere}.research-layout .record p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1000px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-layout{grid-template-columns:250px minmax(0,1fr)}.daily-panel{grid-template-columns:1fr 180px;gap:20px}}
@media(max-width:700px){.research-layout{grid-template-columns:1fr}.research-list{position:static;display:grid;grid-template-columns:1fr 1fr;gap:5px}.research-list>.eyebrow{grid-column:1/-1}.research-topic{padding:10px;margin:0;min-height:110px}.research-topic span{font-size:12px}.research-hero{padding:23px}.research-hero h2{font-size:23px}.daily-panel{padding:24px;grid-template-columns:1fr}.daily-panel h2{font-size:25px}.daily-actions{gap:10px}.daily-actions small br{display:none}.review-banner{flex-direction:column;align-items:stretch}.review-banner button{width:100%}}
@media(max-width:600px){.course-grid{grid-template-columns:1fr}.course-card>.muted,.course-card p,.method-card p,.method-card ol,.course-card details{font-size:16px}.course-card>button{font-size:15px}.daily-panel p{font-size:16px}.daily-panel h3{font-size:18px}.nav button{min-height:46px}.learning-steps{padding-left:22px}.learning-steps li{font-size:16px}body[data-role="student"] .question{font-size:16px}body[data-role="student"] .topic p{font-size:14px}}
@media(max-width:600px){.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:7px}.nav button{padding:10px 5px;min-width:0;font-size:13px}.daily-panel .eyebrow{font-size:11px;letter-spacing:1.5px}}
/* 联网状态不遮挡学习内容；二维码完全在本机生成，不向第三方发送地址。 */
.sync-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#edf4ed;border:1px solid #d5e2d4;border-radius:14px;padding:14px 18px;margin:0 0 24px;font-size:15px}
.sync-bar>div{flex:1;min-width:150px}.sync-bar small{display:block;color:#59675b;margin-top:5px}.sync-bar details{flex-basis:100%}.sync-bar summary{cursor:pointer;padding:8px 0}.sync-bar details p{overflow-wrap:anywhere}.sync-conflict{border-top:1px solid #cdd9cb;margin-top:14px;padding-top:14px}.sync-conflict button{margin:4px}.share-qr{width:min(280px,100%);background:#fff;padding:12px;margin:22px auto}.share-qr svg{display:block;width:100%;height:auto}#share-address{overflow-wrap:anywhere;text-align:center}
