#app{width:min(100%,520px);min-height:100vh;margin:auto;background:#fff;box-shadow:0 0 0 1px #dfe1dd}.topbar{width:100%;padding:0 20px;position:sticky}.topbar nav{display:none}.round-menu{display:block;width:52px;height:32px;border:1px solid #dfe4df;border-radius:99px;background:#fff;color:#46534d;font-weight:700}main{max-width:none;padding:0 0 92px}.page:not(#home){padding:28px 20px}#home .hero{min-height:360px;margin:0;padding:34px 24px 24px;display:block;border:0;border-radius:0;background:#f1f2ee}#home .hero-copy{max-width:78%}#home .eyebrow{color:#65706a;font:12px "PingFang SC",sans-serif;letter-spacing:.04em;text-transform:none}#home .hero h1{margin:18px 0 10px;font-size:34px;line-height:1.25}#home .lead{margin:0;color:#65706a;font-size:14px;line-height:1.7}#home .actions{position:absolute;right:24px;bottom:24px;left:24px;margin:0;display:grid;grid-template-columns:1.25fr 1fr;gap:10px}#home .actions .btn{height:48px;padding:14px 10px}#home .home-content{padding:0 0 30px;background:#f1f1ef}#home .companion-card{padding:18px 22px;display:flex;align-items:center;gap:13px;color:#171a18;background:#fff;text-decoration:none}#home .xiaoz-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:15px;color:#fff;background:#242825;font-weight:800}#home .companion-card small{color:#87928c;font-size:11px}#home .companion-card h2{margin:3px 0;font-size:17px}#home .companion-card p{margin:0;color:#7b8680;font-size:11px}#home .companion-card>span{margin-left:auto;color:#87928c;font-size:28px}#home .home-section-title{padding:30px 22px 14px;display:flex;align-items:flex-end;justify-content:space-between}#home .home-section-title small{color:#87928c;font-size:11px}#home .home-section-title h2{margin:4px 0 0;font-size:22px}#home .home-section-title a{color:#69756f;font-size:12px;text-decoration:none}#home .dashboard-preview{margin:0 18px;padding:0;border:0;border-radius:12px;background:#fff}#home .dash-head{padding:16px 20px 0;border:0}#home .wellbeing-card{margin:0;padding:18px 20px 22px;grid-template-columns:104px 1fr;border:0;background:#fff}#home .score-ring{width:98px;height:98px}#home .score-ring b{font-size:30px}#home .score-ring small{font-size:10px}#home .wellbeing-card>div:last-child{gap:6px}#home .wellbeing-card .up{font-size:11px}#home .signal-bars i{width:20px;height:5px}#home .mini-grid{margin:12px 18px 0;gap:1px;overflow:hidden;border-radius:12px;background:#dedfdb}#home .mini-card{padding:17px;border:0;border-radius:0;background:#fff}#home .mini-card svg{display:none}#home .mini-card>span{font-size:11px}#home .mini-card>b{font-size:23px}#home .nutrition-card{margin:0 18px;padding:20px;border:0;border-radius:12px;background:#fff}#home .home-feature-grid{margin:0 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}#home .home-feature-grid a{min-height:110px;padding:17px;display:grid;align-content:start;border-radius:10px;color:#242825;background:#e5e6e3;text-decoration:none;font-size:24px}#home .home-feature-grid strong{margin-top:10px;font-size:14px}#home .home-feature-grid small{margin-top:4px;color:#87918c;font-size:10px}.home-hidden-breath{display:none}.mobile-tabbar{width:min(100%,520px);height:76px;position:fixed;right:0;bottom:0;left:0;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #eeeeeb;background:#fff;z-index:50}.mobile-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#a1a6a2;text-decoration:none;font-size:22px}.mobile-tabbar a b{font-size:10px}.mobile-tabbar a.active{color:#5f5946}.mobile-tabbar .ai-tab{font-size:10px}.mobile-tabbar .tab-butterfly{font-size:28px;line-height:1}

/* Formal pages — shared design-preview language */
.page:not(#home){min-height:calc(100vh - 166px);background:#f1f1ef}.page:not(#home) .section-head{margin:-28px -20px 18px;padding:28px 22px 20px;align-items:center;background:#fff;border-bottom:1px solid #e8e9e6}.page:not(#home) .section-head h2{margin:5px 0 0;font-size:29px;line-height:1.2}.page:not(#home) .eyebrow{color:#858e88;font:10px "PingFang SC",sans-serif;letter-spacing:.06em;text-transform:none}.page:not(#home) .btn{min-height:40px;padding:10px 16px;font-size:13px}.page:not(#home) .primary{color:#171a18;background:#e3c64a}.page:not(#home) .ghost{color:#242825;background:#fff;border-color:#dfe2dd}.page:not(#home) .notice,.knowledge-disclaimer{margin:0 0 16px;padding:13px 15px;border:0;border-left:3px solid #e0b93f;border-radius:0;color:#6e6851;background:#fff9df;line-height:1.65}.page:not(#home) .panel,.breath-card,.scanner-card,.setting-card,.knowledge-card,.admin-doc,.post-card{padding:19px;border:0;border-radius:12px;color:#202522;background:#fff;box-shadow:none}.page:not(#home) .tabs{margin:12px 0;gap:7px;flex-wrap:nowrap;overflow-x:auto}.page:not(#home) .tabs button{flex:0 0 auto;padding:8px 13px;border:0;color:#737b76;background:#fff}.page:not(#home) .tabs button.active{color:#171a18;background:#f4e9aa}.page:not(#home) input,.page:not(#home) textarea,.page:not(#home) select{color:#242825;background:#fff;border-color:#dfe2dd}.chart-panel{margin:14px 0!important}.metric small{color:#24765f}.history-item{border-color:#eceeeb}.history-values{color:#707873}.medication-layout{gap:14px!important}.medication-layout>section{padding:18px!important;border:0!important;border-radius:12px!important;background:#fff!important}.medication-item{border-color:#eceeeb!important}.meal-grid,.flow-grid,.post-list,.knowledge-list{margin-top:14px;gap:10px;grid-template-columns:1fr}.meal-card,.flow-card,.food-result,.report-card,.plan-card{padding:19px;border:0;border-radius:12px;color:#202522;background:#fff;box-shadow:none}.meal-card{border-top:3px solid #e3c64a}.meal-card:nth-child(3n+2),.meal-card:nth-child(3n){border-top-color:#d9ddd8}.meal-card p,.flow-card p,.flow-card li,.post-card p,.knowledge-card p{color:#707873}.bar,.flow-progress-track{background:#e7e9e5!important}.bar i,.flow-progress-track i{background:#2b9d82!important}.swap{border:0;color:#4e5a54;background:#eef0ec}.flow-type,.flare-badge{color:#236c58;background:#e2f0e9}.upload-zone{border-color:#cfd4cf;background:#f7f8f5}.food-result p{color:#707873}.food-flag{border:0;color:#705d23;background:#fff4cf}.safe-badge{border:0;color:#606963;background:#eef0ec}.assistant-shell{min-height:620px;padding:18px;border:0;border-radius:12px;color:#202522;background:#fff;box-shadow:none}.assistant-message p{border:0;color:#202522;background:#f0f1ee}.assistant-message small{color:#788079}.avatar{color:#fff;background:#242825}.user-message p{color:#171a18;background:#f4e9aa}.suggestions button{border:0;color:#4f5853;background:#f1f2ef}.voice-btn{border:0;color:#24765f;background:#e6f2ec}.report-card{color:#202522}.report-title,.report-section{border-color:#eceeeb}.report-title p{color:#7b837e}.report-icon{color:#6c5d20;background:#f4e9aa}.report-row{color:#6d756f}.report-row b{color:#202522}.question-line{color:#66706a}.report-note{border:0;color:#6e6851;background:#fff6d8}.settings-grid{gap:10px;grid-template-columns:1fr}.setting-card p,.legal-page p{color:#707873}.danger-card{border-left:3px solid #b6575f}.danger{background:#a94d55}.text-link{color:#24765f}dialog{border:0;color:#202522;background:#fff;box-shadow:0 24px 70px rgba(31,38,33,.22)}dialog form{background:#fff}.dialog-head{background:#fff!important}.icon-btn{color:#303632}.score-fields output{color:#24765f}.symptom-options label{border-color:#dfe2dd;background:#f7f8f5}fieldset{border-color:#dfe2dd}legend,label{color:#6e7771}

@media(min-width:650px){body{padding:28px 0}.topbar{position:relative;border-radius:30px 30px 0 0}#app{min-height:900px;border-radius:30px;overflow:hidden}.mobile-tabbar{bottom:28px;border-radius:0 0 30px 30px}}@media(max-width:760px){body{padding-bottom:0}.topbar{height:72px}.brand small{max-width:none}main{padding-bottom:92px}#home .hero{padding:34px 24px 24px}#home .actions{flex-direction:initial}.page:not(#home){padding:22px 14px}.page:not(#home) .section-head{margin:-22px -14px 16px;padding:23px 18px 18px}.page:not(#home) .section-head h2{font-size:28px}.medication-layout{grid-template-columns:1fr!important}}

.mobile-tabbar .tab-butterfly{width:38px;height:38px;display:grid;place-items:center;font-size:0;line-height:1}.mobile-tabbar .tab-butterfly svg{width:36px;height:36px;display:block}
