:root{--ink:#253e3b;--muted:#7d918b;--green:#447c68;--deep:#2a604f;--pale:#e9f2e9;--paper:#fffefa;--bg:#f7f8f3;--line:#e3eae2;--soft:#f0f5ed;--pink:#f7e7e1;--rose:#af655c;--amber:#e3a45c;--dark:#203f39;--shadow:0 8px 30px #224d3921}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:ui-sans-serif,-apple-system,"PingFang SC","Microsoft Yahei","Noto Sans CJK SC",Arial,sans-serif;color:var(--ink);font-size:14px}body{background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #96ceb2;outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}h1{font-size:27px;letter-spacing:-.5px;line-height:1.3}h2{font-size:19px}h3{font-size:15px}.hidden{display:none!important}.boot{min-height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--green)}.spinning{font-size:55px;animation:bob 2s infinite}@keyframes bob{50%{transform:translateY(-6px)}}#toast{position:fixed;top:22px;right:25px;z-index:50;pointer-events:none}.toast{background:var(--dark);color:white;padding:13px 19px;border-radius:13px;box-shadow:var(--shadow);max-width:360px;animation:fade .28s ease}@keyframes fade{from{opacity:0;transform:translateY(-7px)}to{opacity:1}}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.side{background:#f0f4eb;min-height:100vh;position:sticky;top:0;height:100vh;padding:27px 17px;border-right:1px solid #e0e8dd;display:flex;flex-direction:column}.logo{padding:4px 9px 25px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #dfe7dc}.logo-mark{width:43px;height:43px;border-radius:14px;background:#d9e9d8;display:flex;align-items:center;justify-content:center}.logo strong{font-size:17px;letter-spacing:.5px}.logo small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.nav{padding-top:18px;display:grid;gap:5px}.nav-title{font-size:10px;color:#91a39b;letter-spacing:1.8px;padding:14px 13px 6px}.nav button{border:0;width:100%;border-radius:12px;background:transparent;color:#577068;text-align:left;padding:11px 13px;display:flex;gap:12px;align-items:center;font-weight:600}.nav button:hover{background:#e0ecdc}.nav button.active{color:#285e4d;background:#dcebdd}.nav .sym{width:22px;text-align:center;font-size:16px}.side-bottom{margin-top:auto;padding:16px;border:1px solid #d8e5d8;border-radius:15px;background:#f8fbf5}.side-bottom p{font-size:12px;color:#68847b;line-height:1.7;margin:5px 0 0}.topbar{height:75px;border-bottom:1px solid #e7eae3;background:#ffffffb3;display:flex;align-items:center;justify-content:space-between;padding:0 39px;position:sticky;top:0;z-index:9;backdrop-filter:blur(12px)}.crumb{font-weight:700;color:#557266}.top-right{display:flex;align-items:center;gap:14px}.status{font-size:11px;color:#47745d;border:1px solid #c8e2d0;border-radius:30px;background:#eef6ed;padding:7px 10px}.avatar{width:34px;height:34px;background:#fae8db;color:#986e59;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px}.workspace{max-width:1180px;margin:0 auto;padding:30px 39px 70px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2.5px;color:#8ba496;font-weight:800;margin-bottom:10px}.text-muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.lead{font-size:14px;line-height:1.75;color:#698278}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.section-head h2{margin:0}.chip{font-size:11px;border-radius:30px;background:#eff4ed;color:#608371;padding:5px 10px}.btn{border:1px solid #cbdccf;background:#fffefa;color:#35634e;padding:10px 17px;border-radius:11px;font-weight:700;transition:transform .16s,background .16s,box-shadow .16s}.btn:hover{background:#edf5ed;transform:translateY(-1px)}.btn.primary{color:#fff;background:#4e8870;border-color:#4e8870}.btn.primary:hover{background:#38725c;box-shadow:0 5px 12px #4e887027}.btn.plain{background:transparent;border-color:transparent}.btn.soft{background:#eaf3e9;border-color:#eaf3e9}.btn.pink{background:#fff0ed;border-color:#f8dbd6;color:#a05f56}.btn.sm{padding:7px 11px;font-size:12px}.btn.block{width:100%}.btn.selected{background:#dff0e4;border-color:#4f956e}.btn-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.card{background:var(--paper);border:1px solid #e7ede4;border-radius:19px;box-shadow:0 2px 11px #476c4a08}.pad{padding:22px}.hero{background:linear-gradient(112deg,#e6f1e2 0%,#f9f7ef 78%);border:1px solid #dce9d8;min-height:200px;border-radius:23px;padding:34px 37px;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:24px}.hero .copy{max-width:570px;z-index:1}.hero h1{font-size:29px;margin-bottom:8px}.hero .lead{max-width:510px}.cat-hero{width:220px;min-width:180px;align-self:center}.cat-art{display:block;max-width:100%}.cat-sm{width:88px}.hero .cloud{position:absolute;width:140px;height:140px;background:#fff9f1ad;border-radius:50%;right:8%;top:-60px}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 27px}.metric{padding:20px 21px;min-height:114px}.metric .label{color:#81978c;font-size:12px;display:flex;align-items:center;justify-content:space-between}.metric .number{font-size:30px;letter-spacing:-1px;font-weight:800;margin:13px 0 4px}.metric .sub{font-size:11px;color:#8b9b92}.metric .emoji{font-size:19px}.two-col{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.85fr);gap:19px}.stack{display:grid;gap:18px}.panel{padding:21px 23px}.progress{background:#e7eee5;border-radius:20px;height:9px;overflow:hidden}.progress i{display:block;height:100%;background:#8bb99d;border-radius:20px;max-width:100%}.module{display:grid;grid-template-columns:95px 1fr 48px;gap:13px;align-items:center;margin:16px 0}.module span{font-size:12px;color:#586f63}.module b{text-align:right;font-size:12px;color:#627e6a}.activity{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--line)}.activity:last-child{border:0}.activity .dot{width:9px;height:9px;border-radius:50%;background:#86baa3}.activity .dot.wrong{background:#dfa398}.activity .item{flex:1}.activity .item strong{font-weight:650}.activity .when{color:#9baba1;font-size:10px}.empty{text-align:center;padding:28px 15px;color:#8ca095}.empty .cat-art{width:85px;margin:0 auto 12px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.mode-card{padding:20px;text-align:left;border:1px solid #e4eae1;background:#fffefa;border-radius:17px;min-height:122px;color:#355b4c}.mode-card:hover{background:#edf5eb;transform:translateY(-1px)}.mode-card .em{font-size:25px;margin-bottom:9px}.mode-card strong{display:block;margin-bottom:5px}.mode-card span{font-size:11px;color:#829589}.fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.field{display:grid;gap:6px}.field label{font-size:12px;font-weight:700;color:#627b6e}.input,.select,.textarea{width:100%;border-radius:11px;border:1px solid #d9e5da;padding:10px 13px;background:#fff;color:#27483e;min-height:43px;outline:0}.textarea{resize:vertical;min-height:92px}.input:focus,.select:focus,.textarea:focus{border-color:#79b49a;box-shadow:0 0 0 3px #c3e5d180}.rows{display:flex;align-items:center;justify-content:space-between;gap:12px}.separator{height:1px;background:var(--line);margin:18px 0}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 20px}.filter-bar .select,.filter-bar .input{max-width:220px}.question-stage{max-width:860px;margin:0 auto}.question-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.question-title{font-size:21px;font-weight:700;line-height:1.9;white-space:pre-wrap;margin:26px 0 20px}.question-opt{display:flex;gap:14px;align-items:flex-start;border-radius:13px;border:1px solid #dfe9e0;background:white;padding:15px 17px;margin:9px 0;cursor:pointer;text-align:left;width:100%;color:var(--ink)}.question-opt:hover{background:#f3faf2}.question-opt.chosen{background:#e9f5ec;border-color:#88bca1}.question-opt .letter{background:#edf3e9;border-radius:8px;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;font-weight:800;color:#51816c}.question-opt.chosen .letter{background:#8abc9f;color:#fff}.answer-box{padding:17px;background:#f5f8f0;border:1px solid #dfe9de;border-radius:13px;margin:16px 0}.question-nav{display:flex;align-items:center;justify-content:space-between;gap:14px}.q-list{display:grid;gap:12px}.q-item{display:flex;gap:12px;align-items:start;padding:17px 18px;border-radius:13px;background:#fffefa;border:1px solid var(--line)}.q-content{flex:1;min-width:0}.q-title{font-size:13px;line-height:1.7;margin:6px 0 9px}.pill{display:inline-flex;align-items:center;gap:3px;font-size:10px;padding:3px 8px;border-radius:20px;background:#eff4ed;color:#587362;margin-right:5px}.pill.wrong{background:#fae9e5;color:#aa615c}.pill.unsure{background:#fff2dc;color:#a57431}.pill.done{background:#e1f2e8;color:#3b8762}.chart-row{display:grid;grid-template-columns:65px 1fr 45px;gap:10px;align-items:center;margin:10px 0}.bar{height:11px;background:#eff3ec;border-radius:14px;overflow:hidden}.bar i{display:block;height:100%;background:#90bba0;border-radius:14px}.bar.rose i{background:#e0a49c}.bars{display:flex;align-items:end;gap:8px;height:150px;border-bottom:1px solid var(--line);padding-bottom:6px}.bars .bar-group{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px}.bars .v{width:min(100%,34px);min-height:2px;background:#90bba0;border-radius:7px 7px 3px 3px}.bars .lbl{font-size:9px;color:#90a197}.heatmap{display:grid;grid-template-columns:repeat(13,1fr);gap:5px}.heat{aspect-ratio:1;border-radius:4px;background:#ebefe7}.heat.a1{background:#dceede}.heat.a2{background:#afd2b7}.heat.a3{background:#7cb38e}.heat.a4{background:#3e835e}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f7f8f2}.auth-left{padding:65px clamp(40px,8vw,115px);background:linear-gradient(150deg,#e5f1e2,#f9f1e6);display:flex;flex-direction:column;justify-content:space-between}.auth-left h1{font-size:38px;max-width:500px;line-height:1.4}.auth-left .cat-art{width:280px;max-width:100%;margin:0 auto}.auth-right{display:flex;justify-content:center;align-items:center;padding:45px 28px}.auth-box{width:100%;max-width:420px}.auth-box h2{font-size:27px;margin-bottom:7px}.auth-box .field{margin:15px 0}.auth-info{border-radius:13px;padding:13px 15px;background:#eef7ed;color:#547664;font-size:12px;line-height:1.7}.tabbar{display:flex;gap:4px;padding:4px;background:#edf4ea;border-radius:13px;margin:19px 0}.tabbar button{flex:1;padding:10px;border:none;border-radius:10px;color:#617b6a;background:transparent;font-weight:700}.tabbar button.active{background:#fffefa;color:#396e56;box-shadow:0 2px 9px #1c47300b}.modal-overlay{position:fixed;inset:0;z-index:20;background:#112d245c;display:flex;align-items:center;justify-content:center;padding:15px}.modal{width:100%;max-width:560px;border-radius:18px;background:#fffefa;box-shadow:var(--shadow);padding:25px;max-height:90vh;overflow:auto}.footer-tip{color:#8ca297;font-size:11px;text-align:center;margin-top:25px}.mobile-header{display:none}
@media(max-width:1040px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.workspace{padding:24px}.topbar{padding:0 25px}.cat-hero{width:165px}.hero{padding:28px}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:730px){.shell{display:block}.side{display:none}.topbar{height:63px;padding:0 16px}.workspace{padding:20px 15px 90px}.mobile-header{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:15;justify-content:space-around;background:#fffefa;border-top:1px solid #e5ece2;padding:9px 5px env(safe-area-inset-bottom)}.mobile-header button{border:0;background:none;color:#80998b;font-size:10px;display:grid;gap:3px;justify-items:center}.mobile-header button.active{color:#337759}.mobile-header .sym{font-size:20px}.hero{padding:23px;min-height:182px}.hero h1{font-size:24px}.cat-hero{width:107px;min-width:85px}.hero .lead{font-size:12px}.hero .btn{padding:8px 11px}.tiles{gap:9px;margin:13px 0 21px}.metric{min-height:90px;padding:14px}.metric .number{font-size:23px;margin:7px 0}.metric .label{font-size:11px}.panel,.pad{padding:16px}.grid3{gap:10px}.mode-card{padding:13px;min-height:108px}.fieldset{grid-template-columns:1fr 1fr}.filter-bar .select{max-width:calc(50% - 5px)}.question-title{font-size:17px}.auth-wrap{grid-template-columns:1fr}.auth-left{padding:25px 25px 10px;min-height:220px}.auth-left .cat-art{display:none}.auth-left h1{font-size:26px}.auth-right{padding:20px 25px 55px}.auth-left .lead{font-size:12px}.heatmap{gap:3px}}
@media(max-width:400px){.cat-hero{display:none}.grid3{grid-template-columns:1fr 1fr}.fieldset{grid-template-columns:1fr}.status{font-size:9px}}
/* V2 小屏兼容：14/30天图表不再把两栏布局撑出屏幕 */
.stack,.panel,.two-col>*{min-width:0}
.bars{min-width:0;max-width:100%;overflow:hidden}
.bars .bar-group{min-width:0;overflow:hidden}
.bars .lbl{white-space:nowrap;font-size:8px}
@media(max-width:1040px){.two-col{grid-template-columns:minmax(0,1fr)}}
@media(max-width:730px){.bars .bar-group:nth-child(even) .lbl{visibility:hidden}.section-head{flex-wrap:wrap}}
