:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:#27332b;background:#e7e9e1;font-synthesis:none;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{outline:none}a{color:inherit}.app-shell{width:min(100%,480px);min-height:100dvh;margin:auto;background:#f8f7f2;box-shadow:0 24px 80px #27332b12;position:relative}#app{padding:0 24px calc(106px + env(safe-area-inset-bottom));min-height:100dvh}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:750;letter-spacing:.08em}.brand-mark{width:30px;height:30px;display:grid;place-items:center;background:#e3ebe0;border-radius:11px;color:#55735e}.top-action,.icon-button{border:0;background:#eef0e9;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#566b59}.page-heading{padding:11px 0 22px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.18em;color:#829187;text-transform:uppercase}.page-title{font-size:31px;line-height:1.18;letter-spacing:-.055em;margin:8px 0 7px;font-weight:750}.page-subtitle{margin:0;color:#859087;font-size:13px;line-height:1.7}.hero{height:350px;position:relative;overflow:hidden;border-radius:27px;background:#d9ded4}.hero img{width:100%;height:100%;object-fit:cover;object-position:center 57%;display:block}.hero:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,#1c241c88)}.hero-content{position:absolute;z-index:1;left:24px;right:24px;bottom:24px;color:white;display:flex;align-items:end;justify-content:space-between}.hero-kicker{font-size:11px;letter-spacing:.17em;font-weight:700;opacity:.85}.hero-name{font-size:34px;line-height:1.15;font-weight:750;margin:7px 0 5px;letter-spacing:-.05em}.hero-meta{font-size:12px;opacity:.9}.hero-pill{background:#ffffff30;backdrop-filter:blur(14px);border:1px solid #ffffff66;padding:9px 12px;border-radius:999px;font-size:12px;white-space:nowrap}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 0;padding:10px 13px;border-radius:13px;background:#edf0e8;font-size:11px;color:#657666}.demo-strip button{background:none;border:0;font-weight:700;color:#597760;padding:3px}.today-row{display:flex;align-items:center;justify-content:space-between;padding:28px 1px 24px;border-bottom:1px solid #e4e8e0}.today-row h2{margin:6px 0 4px;font-size:21px;letter-spacing:-.035em}.today-row p{margin:0;font-size:12px;color:#849087}.status-orb{height:47px;width:47px;border-radius:50%;display:grid;place-items:center;background:#e8efe4;color:#67866e}.status-orb.attention{background:#f7ebd8;color:#b18750}.section-head{display:flex;align-items:end;justify-content:space-between;margin:29px 0 15px}.section-head h2{font-size:19px;margin:0;letter-spacing:-.04em}.section-head button,.text-link{border:0;background:none;padding:4px 0;color:#6e8b74;font-size:12px;font-weight:700}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.action-primary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:105px;background:#78957f;color:#fff;border:0;border-radius:21px;padding:19px 20px;text-align:left;box-shadow:0 10px 24px #698c7226}.action-primary .title{font-size:21px;font-weight:700;letter-spacing:-.03em}.action-primary .description{font-size:11px;opacity:.82;margin-top:6px}.action-primary .arrow{display:grid;place-items:center;height:35px;width:35px;border:1px solid #ffffff75;border-radius:50%}.action-card{height:116px;border:1px solid #e8ebe4;background:#fff;border-radius:21px;text-align:left;padding:16px;display:flex;flex-direction:column;justify-content:space-between;color:#2d3930}.action-card .card-icon{height:28px;width:28px;color:#75987c}.action-card strong{display:block;font-size:14px}.action-card small{display:block;color:#8a968c;font-size:10px;margin-top:4px}.trend-panel{padding:20px;border-radius:22px;background:#fff;border:1px solid #e8ebe4}.trend-top{display:flex;justify-content:space-between;align-items:baseline}.trend-top strong{font-size:15px}.trend-top span{color:#8d988f;font-size:11px}.week-chart{height:100px;display:grid;grid-template-columns:repeat(7,1fr);gap:10px;align-items:end;margin-top:16px}.bar-col{height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:8px}.bar-wrap{height:73px;width:100%;display:flex;align-items:end;justify-content:center}.bar{display:block;width:17px;min-height:8px;border-radius:9px;background:#dfe7dd}.bar.normal{background:#87a48a}.bar.attention{background:#d9b183}.bar-col small{font-size:10px;color:#9ba59c}.trend-note{font-size:11px;color:#8b968e;margin:17px 0 0;line-height:1.6}.insight{display:flex;gap:15px;align-items:start;background:#edf1e9;border-radius:21px;padding:19px 20px}.insight-symbol{height:29px;width:29px;flex:none;background:#dce8da;border-radius:10px;color:#618467;display:grid;place-items:center}.insight h3{font-size:13px;margin:0 0 6px}.insight p{font-size:12px;line-height:1.75;color:#607466;margin:0}.insight-foot{font-size:10px;color:#9ba89d;margin:7px 0 0}.bottom-nav{position:fixed;z-index:20;bottom:0;width:min(100%,480px);height:calc(74px + env(safe-area-inset-bottom));padding:8px 14px calc(7px + env(safe-area-inset-bottom));display:flex;background:#fbfbf8ed;backdrop-filter:blur(18px);border-top:1px solid #e9ece6;box-shadow:0 -8px 25px #2d413108}.bottom-nav button{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#a3aea5;font-size:10px;min-width:0}.bottom-nav button.active{color:#66896f;font-weight:700}.bottom-nav svg{width:22px;height:22px;stroke-width:1.8}.view-header{display:flex;align-items:center;justify-content:space-between;padding:19px 0 9px}.view-header h1{font-size:29px;letter-spacing:-.05em;margin:0}.view-header p{font-size:12px;color:#8d988f;margin:5px 0 0}.panel{background:#fff;border:1px solid #e8ece5;border-radius:22px;padding:20px;margin:16px 0}.panel h2{font-size:17px;letter-spacing:-.035em;margin:0 0 16px}.field{display:block;margin:15px 0}.field-label{display:block;font-size:12px;font-weight:650;margin-bottom:8px;color:#596b5e}.input,.select,.textarea{width:100%;background:#f7f8f4;border:1px solid #e4e9e1;border-radius:13px;color:#2d3930;padding:12px 13px;font-size:14px;min-height:45px}.input:focus,.select:focus,.textarea:focus{border-color:#8ba890;box-shadow:0 0 0 3px #8ba89022}.textarea{resize:vertical;min-height:87px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid .field{min-width:0}.field-hint{color:#9ba69d;font-size:10px;margin-top:6px;line-height:1.5}.button-primary,.button-secondary,.button-danger{border:0;border-radius:14px;padding:13px 17px;font-size:13px;font-weight:700}.button-primary{background:#78957f;color:white}.button-secondary{background:#e9eee8;color:#58715d}.button-danger{background:#faece7;color:#ae685b}.button-wide{width:100%}.button-row{display:flex;gap:9px;flex-wrap:wrap}.button-row>*{flex:1}.parse-result{padding:13px 15px;background:#edf4eb;color:#55755b;border-radius:13px;font-size:12px;line-height:1.7;margin-top:11px}.divider{height:1px;background:#edf0eb;margin:20px 0}.history-filter,.segmented{display:flex;gap:5px;padding:4px;background:#edf0e9;border-radius:12px}.history-filter button,.segmented button{border:0;background:transparent;border-radius:9px;padding:8px 12px;font-size:11px;color:#829084;flex:1}.history-filter button.active,.segmented button.active{background:#fff;color:#57775f;box-shadow:0 1px 5px #22332312;font-weight:700}.record-item{padding:16px 0;border-bottom:1px solid #edf0eb}.record-item:last-child{border-bottom:0}.record-top{display:flex;align-items:center;justify-content:space-between}.record-date{font-size:13px;font-weight:700}.record-actions{display:flex;gap:10px}.record-actions button{border:0;background:none;color:#75947b;font-size:11px;padding:4px}.record-actions button.delete{color:#b88a7c}.record-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.tag{font-size:10px;color:#667e69;padding:5px 8px;background:#eff3ee;border-radius:7px}.tag.warn{color:#9a7952;background:#f7efe4}.record-note{color:#87938a;font-size:11px;line-height:1.65;margin:9px 0 0}.empty{padding:27px 12px;text-align:center;color:#9ba69d;font-size:12px;line-height:1.7}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.metric{padding:17px;border-radius:17px;background:#fff;border:1px solid #e8ece5}.metric span{display:block;color:#8c998f;font-size:11px}.metric strong{font-size:28px;display:block;margin-top:10px;letter-spacing:-.05em}.metric small{font-size:10px;color:#9aa69c}.summary-list{margin:0;padding:0;list-style:none}.summary-list li{padding:10px 0;border-bottom:1px solid #edf0eb;font-size:12px;color:#6b7a6d;line-height:1.6}.summary-list li:last-child{border:0}.report-hero{background:#eaf0e8;border-radius:23px;padding:25px;margin:16px 0}.report-hero h2{font-size:24px;letter-spacing:-.05em;margin:8px 0}.report-hero p{font-size:12px;line-height:1.7;color:#6e816f;margin:0}.report-stat{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0eb;font-size:12px}.report-stat:last-child{border:0}.report-stat span{color:#8c998e}.report-stat strong{font-size:13px}.analysis-intro{background:#e9f0e7;border-radius:22px;padding:21px;margin:18px 0}.analysis-intro h2{font-size:20px;margin:9px 0 7px}.analysis-intro p{font-size:12px;color:#718573;line-height:1.7;margin:0}.analysis-result{padding:15px 17px;background:#f7f8f3;border:1px solid #e8ece5;border-radius:14px;margin-top:15px}.analysis-result strong{font-size:13px}.analysis-result p,.analysis-result li{font-size:12px;line-height:1.7;color:#6d7c6e}.analysis-result ul{padding-left:17px;margin-bottom:0}.prompt-preview{white-space:pre-wrap;max-height:250px;overflow:auto;font-size:11px;line-height:1.6;color:#637467;padding:16px;background:#f7f8f4;border-radius:12px}.profile-photo{display:flex;align-items:center;gap:14px}.profile-photo img{height:70px;width:70px;object-fit:cover;border-radius:20px}.profile-photo input{max-width:210px;font-size:11px;color:#738375}.muted{color:#9aa69c;font-size:11px;line-height:1.6}.toast{position:fixed;z-index:50;bottom:calc(92px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);background:#2b3b2f;color:#fff;border-radius:999px;padding:11px 17px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap;max-width:90vw;overflow:hidden;text-overflow:ellipsis}.toast.visible{opacity:1;transform:translate(-50%,0)}.danger-zone{border-color:#f2e6e1}.danger-zone h2{color:#946c61}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:360px){#app{padding-left:18px;padding-right:18px}.hero{height:320px}.page-title{font-size:28px}.action-card{padding:13px}.form-grid{gap:0 8px}}
@media(min-width:800px){.app-shell{margin:28px auto;min-height:calc(100dvh - 56px);border-radius:30px;overflow:hidden}.bottom-nav{bottom:0}}

/* Keep the three main actions close to the opening view on typical phones. */
.topbar{height:62px}.page-heading{padding:7px 0 17px}.page-title{font-size:29px;margin:7px 0 5px}.page-subtitle{font-size:12px}.hero{height:292px}.hero-pill{color:#fff}.today-row{padding:18px 1px 16px}.today-row h2{font-size:19px}.section-head{margin:21px 0 12px}.action-primary{min-height:89px}.action-card{height:96px}.demo-strip{margin-top:10px;padding:8px 12px}
@media(max-width:360px){.hero{height:270px}.page-title{font-size:27px}}
.form-grid > .field, .form-grid .input { min-width: 0; }
@media (max-width: 520px) { .profile-measure-grid { grid-template-columns: minmax(0, 1fr); } }
.example-chips { display:flex; flex-wrap:wrap; gap:7px; margin:-2px 0 15px; }
.example-chips button { border:1px solid #dbe6d9; background:#f4f7f2; color:#5c775f; border-radius:999px; padding:7px 10px; font-size:11px; }
.knowledge-card { margin-top:15px; padding:17px; border:1px solid #e2eae0; background:#fbfcf8; border-radius:16px; }
.knowledge-card h3 { margin:0 0 5px; font-size:15px; color:#314537; }
.knowledge-card .knowledge-label { margin:0 0 9px; color:#809484; font-size:11px; }
.knowledge-card ul { margin:0 0 10px; padding-left:18px; }
.knowledge-card li,.knowledge-card p { color:#66786a; font-size:12px; line-height:1.65; }
.knowledge-card li { margin:5px 0; }
.knowledge-card p { margin:9px 0; }
.knowledge-card .knowledge-care { color:#8b654e; }
.knowledge-card a { display:inline-block; margin-top:5px; color:#54765a; font-size:11px; overflow-wrap:anywhere; }
.urgent-note { margin-top:14px; padding:15px; border-radius:14px; background:#fff0e8; color:#99543d; }
.urgent-note p { margin:5px 0 0; font-size:12px; line-height:1.6; }
