:root{--ink:#191431;--muted:#82739f;--purple:#5d43f7;--pale:#ebe5ff;--border:#e0d8f6;--white:rgba(255,255,255,.94);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f1eff8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;justify-content:center;align-items:center}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #9c86ff;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #9c86ff;outline-offset:1px}button,input,a{touch-action:manipulation}[hidden]{display:none!important}.phone{width:100%;max-width:460px;height:100dvh;max-height:960px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 94% 0%,#cbb1fc 0%,transparent 42%),radial-gradient(ellipse at 0% 0%,#ddd4ff 0%,transparent 58%),linear-gradient(165deg,#e2d8fd,#eae9fd 78%,#e4ecfc);isolation:isolate}.home{height:100%;display:flex;flex-direction:column}.topbar{padding:15px 17px 7px;display:flex;align-items:center;gap:10px;flex-shrink:0}.topbar strong{font-size:20px;letter-spacing:-.5px}.icon-button{height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu{border-radius:10px;background:#ffffff30}.top-badge{font-size:10px;color:#7d64ab;margin-left:auto;border:1px solid #a692d852;border-radius:12px;padding:3px 7px}.intro{padding:27px 21px 14px;flex-shrink:0}.intro h1{font-size:22px;line-height:1.2;margin:0 0 8px;font-weight:750}.intro h1 span{font-size:20px;color:var(--purple);margin-left:5px}.intro p{font-size:14px;margin:0;font-weight:600;color:#45355e}.conversation{flex:1;overflow-y:auto;padding:0 17px 18px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#c7b4ee transparent}.my-health{background:#ffffffdf;border:1px solid #fff8;border-radius:19px;padding:13px 13px 14px;box-shadow:0 7px 20px #9071d60a}.health-title{display:flex;justify-content:space-between;align-items:center;padding:0 0 11px;width:100%;font-size:15px}.health-title strong{padding-left:9px;border-left:4px solid #8d71fb}.health-title span{color:#a797c6}.health-link{width:100%;background:#f1edfc;border-radius:11px;padding:14px 12px;display:flex;align-items:center;gap:9px;text-align:left;font-size:13px}.health-link span:first-child{font-size:19px}.health-link b{margin-left:auto;font-size:18px;color:#9f90b9}.suggestions{padding-top:5px}.suggestions>p{font-size:12px;color:var(--muted);margin:12px 0 4px}.suggestions>button{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:12px 0;font-size:14px;line-height:1.4;font-weight:600}.suggestions>button>span{color:#a290c5;font-size:18px}.suggestions .tcm-topic{color:#68509a;border-top:1px solid #ffffff50;margin-top:6px;font-weight:500}.composer{background:#fffffff0;border-top:1px solid #fff;flex-shrink:0;padding:10px 13px max(10px,env(safe-area-inset-bottom));box-shadow:0 -6px 20px #9270d309}.bottom-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:10px}.tab{font-size:12px;white-space:nowrap;border:1.5px solid #ddd4f4;border-radius:22px;background:#fff;padding:7px 10px;flex:1;font-weight:650}.tab.active{color:var(--purple);background:#e7e0ff;border-color:#aa96fb}.input-row{display:flex;gap:7px;align-items:center}.input-row>input{min-width:0;flex:1;border-radius:25px;border:1.5px solid #e2d9f7;background:#fff;padding:11px 13px;font-size:15px;height:43px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#9a8aaf}.voice-button{background:linear-gradient(140deg,#5d42f2,#8262ff);border-radius:50%;color:white;width:43px;height:43px;flex-shrink:0;box-shadow:0 3px 12px #7862e333;display:grid;place-items:center}.voice-button span{border:1.5px solid #fff9;border-radius:50%;height:26px;width:26px;display:grid;place-items:center;font-size:24px;line-height:1}.circle{border:1.5px solid var(--border);width:38px;min-width:38px;height:38px;border-radius:50%;font-size:28px;color:#63517e;background:#fff}.send-button{width:39px;height:39px;flex-shrink:0;border-radius:50%;color:white;background:var(--purple);font-size:25px}.welcome{height:100%;display:flex;flex-direction:column;justify-content:center;padding:0 30px 20px;text-align:center}.hero{margin:0 -15px 12px}.hero img{width:100%;max-height:310px;object-fit:contain;mix-blend-mode:multiply;mask-image:linear-gradient(transparent,#000 9%,#000 91%,transparent)}.welcome-copy h1{font-size:29px;margin:8px 0 12px;display:flex;align-items:center;justify-content:center;gap:9px;letter-spacing:-.8px}.brand-dot{width:13px;height:13px;border-radius:50%;background:#6347ff;box-shadow:0 0 0 5px #8869ff30}.welcome-copy h2{font-size:20px;margin:0 0 10px}.welcome-copy p{font-size:15px;color:#8573a6;margin:0;line-height:1.7}.welcome-actions{margin-top:30px}.primary,.secondary,.green{display:block;width:100%;padding:14px 20px;border-radius:30px;line-height:1.4;font-weight:700;font-size:17px;text-align:center}.primary{background:linear-gradient(110deg,#593df7,#8067ff);color:white;box-shadow:0 6px 16px #6e48eb28}.secondary{border:1.5px solid var(--border);background:#ffffffb3;color:#6b50d0}.welcome-actions .secondary{margin-top:12px}.green{background:linear-gradient(110deg,#16c889,#0ba268);color:white;box-shadow:0 5px 15px #11ac7a20}.agreement{font-size:11px;color:#9482ae;margin:18px -15px 15px;line-height:1.9}.agreement button{color:#6748c8;padding:0;font-size:inherit}.demo-label{font-size:10px;letter-spacing:1px;color:#9784b4}.overlay{position:absolute;inset:0;background:#251a468a;backdrop-filter:blur(5px);z-index:10;display:flex;align-items:flex-end}.sheet{background:#ede7fd;width:100%;max-height:88%;border-radius:25px 25px 0 0;display:flex;flex-direction:column;animation:slide-up .25s ease-out;box-shadow:0 -15px 55px #34236d20}.handle{width:40px;height:4px;border-radius:5px;background:#cfc1f8;margin:12px auto 0;flex-shrink:0}.sheet-header{padding:16px 17px 14px;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-shrink:0}.sheet-header h2{font-size:18px;margin:0;line-height:1.4}.close-button{height:32px;width:32px;border-radius:50%;background:#ded5f7;color:#4e3d71;font-size:28px;display:grid;place-items:center;line-height:1;flex-shrink:0}.sheet-body{overflow:auto;padding:0 15px max(24px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#c7b4ee transparent}.banner{margin:0 -15px 15px;background:linear-gradient(110deg,#6544f6,#7f68ff);padding:14px 20px;color:white;font-size:14px;line-height:1.65}.banner.green-banner{background:linear-gradient(110deg,#17c88a,#10a471)}.banner strong{font-size:18px;display:block}.card{background:var(--white);border-radius:16px;padding:17px;margin-bottom:12px;box-shadow:0 5px 17px #b19ce80b}.card h3{font-size:16px;margin:0 0 12px}.card h4{font-size:15px;margin:0 0 9px}.muted,.hint{color:var(--muted);font-size:12px;line-height:1.7}.hint{margin:8px 0}.card .hint{margin-top:-5px}.small{font-size:12px}.form-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 0;border-bottom:1px solid #eeebf7;min-height:56px}.form-row:last-child{border-bottom:0}.form-row label{font-size:15px;line-height:1.4}.form-row label small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.form-row input{border:1.5px solid #e0d5f5;border-radius:9px;background:#f8f5fe;padding:9px 8px;width:80px;text-align:center;font-size:15px;min-width:0;color:#625675}.form-row input.name{width:128px}.value-group{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:12px}.value-group input.bp{width:55px}.value-group input{width:72px}.segmented{display:flex;gap:7px}.segmented button{background:#faf8ff;border:1.5px solid #ddd2f5;border-radius:22px;color:#776390;padding:7px 12px;font-size:13px}.segmented button.selected{border-color:#6950e9;color:var(--purple);background:#eee8fd;font-weight:600}.segmented.wide button{flex:1;padding:11px}.segmented.wide{margin-top:10px}.date-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;gap:8px}.date-header h3{margin:0}.date-header small{font-size:11px;color:var(--muted)}.card .green{margin-top:15px;font-size:15px;padding:12px}.record{display:flex;gap:5px;align-items:center;padding:12px 0;border-bottom:1px solid #f0ebf9;flex-wrap:wrap}.record:last-child{border:0}.record time{font-size:11px;color:#9584ad;width:42px}.pill{display:inline-block;border-radius:12px;background:#e6f8f1;color:#2d9d7d;padding:3px 6px;font-size:10px;white-space:nowrap}.pill.rose{background:#ffeaf0;color:#c86a87}.pill.purple{background:#eee6ff;color:#7c61bf}.record .pill{font-size:10px}.med-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f0ebf9;gap:8px}.med-row:last-child{border:0}.med-row p{margin:3px 0;font-size:14px}.med-row small{font-size:12px;color:var(--muted)}.med-status{white-space:nowrap;font-size:12px;color:var(--purple);background:#eee7fc;border-radius:15px;padding:6px 9px}.med-status.done{background:#e5f5ec;color:#29966f}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-grid button{padding:18px 7px;border-radius:13px;background:#f6f0fe;font-size:14px;color:#5b4877}.quick-grid button span{display:block;font-size:24px;margin-bottom:8px}.actions{display:flex;gap:10px;margin:15px 0}.actions .primary{flex:2}.actions .secondary{flex:1}.actions button{padding:12px 10px;font-size:15px}.notice{background:#ffffff55;border-radius:9px;color:#7d699c;padding:10px 12px;font-size:11px;line-height:1.8;margin:10px 0}.notice.warning{background:#fff3cd;color:#8c671f}.notice a{color:inherit}.chips{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:0 0 12px;position:sticky;top:0;z-index:1;background:#ede7fd}.chip{padding:8px 13px;background:#ffffffcf;border-radius:20px;font-size:12px;white-space:nowrap}.chip.active{background:var(--purple);color:white}.article-meta{display:flex;justify-content:space-between;gap:8px;color:#9584aa;font-size:10px;margin-bottom:9px}.article-card{padding:15px}.article-card h3{font-size:15px;margin:0 0 9px;line-height:1.6}.article-card p{font-size:13px;line-height:1.8;margin:0;color:#5e5074}.read-more{display:block;margin:12px 0 0 auto;padding:0;color:#7962ba;font-size:12px}.article-full{font-size:14px;line-height:1.9;color:#544769}.article-full p{margin-bottom:16px}.doctor-top{display:flex;align-items:center;gap:12px}.avatar{font-size:30px;border-radius:50%;background:#eee7fc;width:54px;height:54px;display:grid;place-items:center;flex-shrink:0}.doctor-top h3{font-size:18px;margin:0 0 6px}.doctor-top h3 small{font-size:11px;font-weight:400;color:#6c51c3;background:#eee7fc;padding:4px 6px;border-radius:9px;margin-left:6px}.doctor-top p{margin:5px 0;color:#87749e;font-size:12px}.doctor-desc{font-size:14px;line-height:1.9;border-block:1px solid #eee9f7;padding:14px 0;margin:13px 0}.doctor-stats{display:flex;justify-content:space-around;margin:14px 0 17px;text-align:center}.doctor-stats b{display:block;font-size:15px}.doctor-stats small{display:block;color:#9584af;font-size:11px;margin-top:7px}.doctor-card .primary,.doctor-card .secondary{padding:12px;font-size:15px}.message{display:flex;gap:9px;margin:20px 0;align-items:flex-start}.message.user{justify-content:flex-end}.message-avatar{height:30px;width:30px;border-radius:50%;background:#d6c8ff;display:grid;place-items:center;font-size:14px;flex-shrink:0;color:#7258d1}.bubble-wrap{max-width:calc(100% - 42px);min-width:0}.bubble{background:#fffffff0;border-radius:0 16px 16px 16px;padding:14px 15px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.message.user .bubble{background:linear-gradient(110deg,#6244f5,#8267ff);color:white;border-radius:16px 0 16px 16px;padding:10px 14px}.bubble p{margin:0 0 14px}.bubble p:last-child{margin:0}.message time{display:block;color:#9583af;font-size:10px;margin-top:5px}.user time{text-align:right}.answer-warning{margin-top:6px;border-radius:6px;background:#f9eac3a8;font-size:10px;padding:5px 8px;color:#98772b}.source-link{font-size:10px;color:#947eb2;display:block;text-decoration:underline;margin-top:10px}.bubble button.inline{font-size:13px;color:#7655db;background:#eee7ff;border-radius:8px;padding:7px 10px;margin-top:8px}.toast{position:absolute;z-index:40;bottom:120px;left:50%;transform:translateX(-50%);border-radius:22px;background:#352449e8;color:white;padding:10px 20px;font-size:13px;max-width:88%;width:max-content;box-shadow:0 5px 20px #261e3020;text-align:center;line-height:1.6}.menu-list{display:grid;gap:7px}.menu-list button{background:#fff;border-radius:12px;padding:15px;display:flex;justify-content:space-between;text-align:left;font-size:15px}.input-block{display:block;width:100%;border:1.5px solid var(--border);border-radius:12px;padding:12px;background:white;color:var(--ink);font-size:14px;margin:10px 0;resize:vertical}.full-title{font-size:20px;line-height:1.55}.empty{text-align:center;padding:40px 15px;color:var(--muted);font-size:14px;line-height:1.8}.search{margin:0 0 14px;position:sticky;top:0;z-index:1}.source-item{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%;padding:13px;border-radius:12px;background:white;margin-bottom:8px}.source-item b{font-size:13px;display:block}.source-item small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.source-text{white-space:pre-wrap;font-size:12px;line-height:1.95;overflow-wrap:anywhere;color:#5c4a75}.assessment-hero{text-align:center;padding:15px 0 8px}.assessment-hero span{font-size:45px}.assessment-hero h3{margin:13px 0 7px;font-size:22px}.progress{height:5px;background:#ddd3f7;border-radius:5px;margin:12px 0 18px}.progress i{height:100%;display:block;border-radius:5px;background:var(--purple);transition:width .2s}.question h3{font-size:19px;line-height:1.7;margin:8px 0 20px}.question-options{display:grid;gap:9px}.question-options button{background:white;border:1.5px solid #e4dcf7;border-radius:12px;padding:13px 15px;text-align:left;display:flex;justify-content:space-between;font-size:15px}.question-options button.selected{background:#eee6ff;border-color:#8a6ded;color:#6245cb}.question-options small{font-size:11px;color:#a08eb7}.question-nav{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.question-nav button{font-size:13px;color:#8167b2;padding:9px 0}.result-title{text-align:center;font-size:23px;margin:8px 0 12px;color:#6549ba}.score-row{display:flex;gap:10px;align-items:center;font-size:12px;margin:13px 0}.score-row>span:first-child{width:40px;white-space:nowrap}.score-track{height:7px;flex:1;background:#eee8fb;border-radius:9px;overflow:hidden}.score-track i{display:block;height:100%;background:linear-gradient(90deg,#a087eb,#6d4bd4);border-radius:9px}.score-row em{font-style:normal;color:var(--muted);width:76px;font-size:11px}.knowledge-summary{display:flex;justify-content:space-around;text-align:center;margin:14px 0}.knowledge-summary b{font-size:21px;color:#7354c5;display:block}.knowledge-summary small{font-size:10px;color:var(--muted)}.record-table{width:100%;border-collapse:collapse;font-size:12px}.record-table td{padding:11px 4px;border-bottom:1px solid #eee9f8}.record-table td:last-child{text-align:right;color:#7d649c}.file-preview{width:100%;max-height:240px;object-fit:contain;border-radius:12px;margin:10px 0}.bookmarks{color:#8f6ec6;font-size:12px}.top-back{font-size:12px;color:#8265b4;margin-bottom:10px;padding:8px 0}.checkline{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.7;color:#88709d;margin:14px 0}.more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.more-grid button{background:#fff;border-radius:12px;padding:18px 5px;text-align:center;font-size:12px}.more-grid span{display:block;font-size:24px;margin-bottom:9px}@keyframes slide-up{from{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}@media(min-width:600px){body{padding:20px;background:radial-gradient(ellipse at 50% 40%,#e0d6ef,#f4f2f8 70%)}.phone{height:calc(100dvh - 40px);border-radius:28px;box-shadow:0 20px 80px #77658b27,0 0 0 1px #fff9;min-height:600px}}@media(max-height:750px){.hero img{max-height:255px}.welcome-actions{margin-top:22px}.welcome-copy h1{font-size:26px}.welcome-copy h2{font-size:18px}.welcome-copy p{font-size:13px}.intro{padding-top:22px}.welcome{padding-inline:25px}.welcome-copy h1{margin-top:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep the reference illustration blended into the opening gradient. */
.welcome{background:linear-gradient(155deg,#c4a5f8 0%,#ded2fc 46%,#e7edfd 100%)}.hero img{mix-blend-mode:normal;mask-image:radial-gradient(ellipse 74% 74% at 50% 50%,#000 52%,transparent 100%)}#report-form .form-row input{width:108px;background:#fff}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
