:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#243d3b;background:#f3f5f2;font-synthesis:none;--green:#165d50;--muted:#6d7f79;--line:#dfe6e1}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #d7a94b;outline-offset:4px}button{border:0}a{color:var(--green)}.shell{max-width:1480px;margin:auto;min-height:100vh;display:grid;grid-template-columns:220px 1fr}.sidebar{padding:35px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:38px;background:#fbfcf9}.brand{display:flex;gap:11px;align-items:center}.brand-icon{width:38px;height:38px;background:var(--green);border-radius:12px;display:grid;place-items:center;color:white;font-size:25px}.brand b{font-size:17px;display:block;letter-spacing:1px}.brand small{font-size:10px;letter-spacing:2px;color:var(--muted)}.nav{display:grid;gap:8px}.nav button{text-align:left;background:none;color:var(--muted);padding:13px 16px;border-radius:8px;font-size:14px}.nav button.active{background:#e5eee7;color:var(--green);font-weight:600}.nav span{margin-right:12px;font-size:18px}.side-bottom{margin-top:auto;font-size:11px;color:var(--muted);line-height:1.9}.side-bottom strong{display:block;color:#476459;font-weight:500;font-size:12px}.main{padding:0 42px 36px;min-width:0}.topbar{height:93px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px;font-size:13px;color:var(--muted)}.mode{border:1px solid #d5dfd7;background:#f9fbf7;border-radius:30px;padding:7px 12px;white-space:nowrap;font-size:11px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#6f9670;margin-right:6px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;font-weight:600;color:#65857b}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:28px;padding:45px 0 33px;align-items:center}.hero h1{font-size:clamp(30px,3.1vw,46px);line-height:1.4;letter-spacing:-1px;margin:17px 0;color:#183f36;font-weight:650}.hero p{font-size:14px;color:var(--muted);line-height:1.9;max-width:490px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:var(--green);color:white;padding:13px 22px;border-radius:7px;font-size:13px;min-height:44px}.button.secondary{background:transparent;color:var(--green);border:1px solid #cbd8d0}.button.danger{background:#965444}.hero-actions{display:flex;gap:10px;margin:24px 0 17px;flex-wrap:wrap}.micro{font-size:11px;color:#7c8a83;line-height:1.8}.scene{position:relative;height:292px;border-radius:120px 120px 12px 12px;background:#e2eade;overflow:hidden;display:flex;justify-content:center;align-items:center}.scene svg{width:100%;height:100%}.scene-caption{position:absolute;bottom:20px;left:20px;background:#fbfcf5e8;border:1px solid white;padding:11px 17px;border-radius:7px;font-size:11px;color:#486453;line-height:1.8}.scene-caption strong{font-size:13px;display:block}.section-head{display:flex;justify-content:space-between;align-items:end;margin:15px 0 18px;gap:15px}.section-head h2{font-size:19px;margin:0 0 6px}.section-head p{font-size:12px;color:var(--muted);margin:0}.section-head>span{font-size:11px;color:var(--muted)}.cards{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px}.case-card{border:1px solid var(--line);border-radius:12px;background:#fbfcf9;overflow:hidden;display:flex;flex-direction:column}.case-card.primary{border-color:#aac4b6}.case-art{height:115px;background:#e4ecdf;position:relative;display:grid;place-items:center;overflow:hidden}.case-art svg{width:100%;height:100%;opacity:.8}.case-art.blue{background:#e6ecee}.case-art.sand{background:#ece9e0}.case-num{position:absolute;left:17px;top:14px;font-size:10px;letter-spacing:1px;color:#426b59}.tag{position:absolute;right:14px;top:12px;background:#ffffffb0;padding:4px 8px;border-radius:20px;font-size:10px}.card-body{padding:19px;flex:1;display:flex;flex-direction:column}.card-body h3{font-size:16px;margin:0 0 9px}.card-body p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 16px}.card-meta{font-size:10px;color:#7d8b80;display:flex;gap:14px;margin-top:auto}.card-foot{border-top:1px solid var(--line);margin-top:17px;padding-top:13px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.link-button{background:none;color:var(--green);font-size:12px;padding:5px 0}.flow{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:33px;padding-top:21px;gap:16px}.flow-item{display:flex;gap:12px}.flow-item b{font-size:11px;color:#8ba18b;line-height:2}.flow-item strong{font-size:12px;display:block}.flow-item p{font-size:10px;color:var(--muted);margin:6px 0}.notice{font-size:11px;color:var(--muted);line-height:1.8;margin-top:25px}.page-heading{padding:30px 0 22px;display:flex;justify-content:space-between;gap:16px;align-items:center}.page-heading h1{font-size:26px;margin:8px 0}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}.steps{display:flex;gap:15px;font-size:11px;color:#8b9690}.steps .current{color:var(--green);font-weight:600}.training{display:grid;grid-template-columns:210px minmax(280px,1fr) 220px;gap:16px;align-items:start}.panel{background:#fcfdfb;border:1px solid var(--line);border-radius:11px;padding:20px}.patient-avatar{margin:3px auto 15px;border-radius:50%;background:#e3ebdf;width:100px;height:100px;overflow:hidden}.patient-avatar svg{width:100%;height:100%}.patient-title{text-align:center;font-size:18px}.patient-sub{text-align:center;font-size:11px;color:var(--muted);margin:7px 0 20px}.small-label{font-size:10px;letter-spacing:1px;color:#819086;margin-bottom:8px}.quote{font-size:13px;line-height:1.9;margin:0 0 20px}.patient-details{border-top:1px solid var(--line);padding-top:15px;font-size:11px;line-height:2;color:var(--muted)}.chat-panel{padding:0;overflow:hidden}.chat-head{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.chat-head span{font-size:10px;color:var(--muted)}.messages{height:380px;overflow:auto;padding:20px;scroll-behavior:smooth}.msg{margin-bottom:18px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.msg small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.msg .bubble{background:#edf2e9;border-radius:0 10px 10px 10px;padding:12px 14px;display:inline-block}.msg.user{text-align:right}.msg.user .bubble{background:#1b5d51;color:#fff;border-radius:10px 0 10px 10px;text-align:left}.composer{padding:15px;border-top:1px solid var(--line)}.composer textarea{display:block;resize:vertical;width:100%;height:70px;min-height:50px;border:0;background:transparent;color:#243d3b;outline-offset:0;font-size:13px;padding:5px}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-foot span{font-size:10px;color:var(--muted)}.composer .button{padding:8px 18px;min-height:36px}.panel h3{font-size:13px;margin:0 0 15px}.clue{font-size:11px;line-height:1.6;border-left:2px solid #a6bfad;padding:0 0 0 10px;margin:12px 0;color:#587362}.empty{font-size:12px;line-height:1.9;color:#8b9790}.progress-track{height:4px;background:#e4eae1;border-radius:4px;margin:14px 0}.progress-track i{display:block;height:100%;background:#6f9680}.question-list{display:grid;gap:7px}.question-list button{background:#f1f4ee;color:#4c665c;border:1px solid #e4eae0;border-radius:6px;padding:9px;font-size:11px;text-align:left}.question-list button.done{opacity:.65}.training-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:15px}.training-bottom p{font-size:11px;color:var(--muted)}.decision-layout{max-width:830px;margin:0 auto}.decision-group{margin-bottom:20px}.choice{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:8px;padding:16px;margin:10px 0;cursor:pointer;font-size:13px;line-height:1.7;background:#fcfdfb}.choice:has(input:checked){border-color:#55967c;background:#edf5eb}.choice input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.choice strong{display:block}.choice small{display:block;color:var(--muted);font-size:11px}.outcome{background:#e5eee2;border-radius:12px;padding:28px;margin-bottom:20px}.outcome.warn{background:#f4e9df}.outcome h2{font-size:21px;margin:6px 0 13px}.outcome p{font-size:13px;line-height:1.9;margin:7px 0}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.timeline>div{border-top:2px solid #9cb9a7;padding-top:14px}.timeline b{font-size:11px;color:#557969}.timeline p{font-size:12px;color:#62766d;line-height:1.8}.report-grid{display:grid;grid-template-columns:1fr 2fr;gap:20px}.score{font-size:76px;letter-spacing:-4px;font-weight:500;color:var(--green);margin:20px 0 5px}.score span{font-size:18px;letter-spacing:0;color:var(--muted)}.dimension{margin:18px 0;font-size:12px}.dimension-head{display:flex;justify-content:space-between}.dimension small{display:block;color:var(--muted);font-size:10px;line-height:1.8}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.review-item{font-size:12px;line-height:1.8;padding:15px;background:#fbfcf8;border:1px solid var(--line);border-radius:8px}.review-item strong{display:block;margin-bottom:6px}.review-item p{margin:0;color:var(--muted)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:18px 0;font-size:13px}.history-row small{display:block;color:var(--muted);font-size:11px;margin-top:6px}details{font-size:12px;line-height:1.9;margin:16px 0}summary{cursor:pointer;font-weight:600}details p{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203e35;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 5px 30px #203e3522;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px;z-index:10}#toast.show{opacity:1}.history-actions{display:flex;gap:15px}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;max-width:430px;width:calc(100% - 40px);color:#243d3b;background:#fbfcf8}dialog::backdrop{background:#102b2860}dialog p{font-size:13px;line-height:1.8;color:var(--muted)}dialog .hero-actions{margin-bottom:0}.help-copy{max-width:820px;font-size:13px;line-height:1.9}.help-copy h2{font-size:17px;margin-top:25px}.help-copy p{color:#5b7167}.mobile-label{display:none}@media(min-width:1450px){.messages{height:450px}}@media(max-width:1150px){.shell{grid-template-columns:180px 1fr}.sidebar{padding:30px 16px}.main{padding:0 25px 30px}.training{grid-template-columns:170px 1fr}.training>.clues-panel{grid-column:1/-1}.clues-panel .question-list{grid-template-columns:repeat(5,1fr)}.clues-panel .clue-list{display:flex;flex-wrap:wrap;gap:10px}.hero h1{font-size:35px}}@media(max-width:780px){.shell{display:block}.sidebar{padding:15px 20px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:10px}.brand b{font-size:14px}.brand small,.side-bottom{display:none}.brand-icon{width:30px;height:30px}.nav{display:flex;gap:2px}.nav button{padding:8px;font-size:11px}.nav span{display:none}.main{padding:0 20px 30px}.topbar{height:60px;font-size:11px}.hero{grid-template-columns:1fr;padding-top:28px;gap:20px}.hero h1{font-size:35px}.hero p{font-size:13px}.scene{height:200px;border-radius:80px 80px 12px 12px}.cards{grid-template-columns:1fr}.case-card:not(.primary){display:grid;grid-template-columns:100px 1fr}.case-card:not(.primary) .case-art{height:100%}.case-card:not(.primary) .tag{display:none}.case-card:not(.primary) .card-body{padding:15px}.flow{grid-template-columns:1fr 1fr}.training{grid-template-columns:1fr}.patient-panel{display:flex;gap:15px;align-items:center;padding:16px}.patient-avatar{width:60px;height:60px;margin:0;flex-shrink:0}.patient-title{text-align:left;font-size:15px}.patient-sub{text-align:left;margin:5px 0}.patient-panel .patient-details,.patient-panel .small-label,.patient-panel .quote{display:none}.clues-panel .question-list{grid-template-columns:1fr 1fr}.messages{height:340px}.steps{display:none}.page-heading h1{font-size:22px}.page-heading{padding-top:23px}.training-bottom{align-items:flex-start}.training-bottom .button{white-space:nowrap}.report-grid{grid-template-columns:1fr}.review-list{grid-template-columns:1fr}.timeline{gap:12px}.timeline p{font-size:11px}.history-row{align-items:flex-start}.score{font-size:65px}.mode{font-size:10px;padding:6px 8px}}@media print{.sidebar,.topbar,.button,.link-button,.history-actions,#toast{display:none!important}.shell{display:block}.main{padding:0}.panel,.review-item{break-inside:avoid}.report-grid{grid-template-columns:1fr 2fr}.notice{font-size:10px}body{background:white}}

body{padding-bottom:60px}.install-bar{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:center;gap:24px;background:#f9fbf7;border-top:1px solid #dfe6e1;padding:12px 18px calc(12px + env(safe-area-inset-bottom));font-size:11px;color:#587362}.install-bar button{color:#165d50;background:#e5eee7;padding:8px 12px;border-radius:6px;min-height:36px}.install-bar span{max-width:55%}@media(max-width:780px){.install-bar{gap:12px;font-size:10px}.install-bar button{font-size:11px}.composer textarea{font-size:16px}}@media print{.install-bar{display:none!important}}
