:root{--green:#146b57;--ink:#213d34;--muted:#7d8982;--line:#e6eae3;--bg:#f6f7f2}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #acd2ba;outline-offset:3px}h1,h2,h3,p{margin:0}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.9}small{font-size:12px}button:hover{filter:brightness(.96)}.app{display:flex;min-height:100vh}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:#fcfdf9;border-right:1px solid var(--line);padding:38px 25px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:26px;font-weight:700;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;color:var(--muted);margin-top:2px;font-weight:500}.brand-icon{background:var(--green);border-radius:14px;color:#e3efca;width:44px;height:44px;display:grid;place-items:center}.side-label{font-size:11px;color:#929c93;margin:55px 15px 17px}.sidebar nav{display:grid;gap:10px}.sidebar nav button{justify-content:flex-start;padding:13px 16px;color:#718177;border-radius:9px;gap:14px}.sidebar nav button.selected{background:#e8efe5;color:var(--green);font-weight:600}.sidebar nav i{width:6px;height:6px;background:var(--green);border-radius:50%;margin-left:auto}.side-note{margin-top:auto;background:#f0f3e7;padding:23px 18px;border-radius:12px}.side-note svg{color:#7b9768;margin-bottom:15px}.side-note h3{font-size:14px}.side-note p{color:#839078;font-size:12px;margin:10px 0 23px}.side-note span{font-size:11px;color:#6b8061}.private{display:flex;gap:8px;align-items:center;font-size:11px;color:#8c978b;margin:25px auto 0}main{margin-left:232px;width:calc(100% - 232px)}header{height:85px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fafbf7;font-size:12px;color:#8c978e}.header-right{display:flex;align-items:center;gap:9px}.green-dot{background:#7da786;width:6px;height:6px;border-radius:50%}.avatar{border-radius:50%;background:#e8edde;width:33px;height:33px;display:grid;place-items:center;color:#607854;margin-left:18px}.content{padding:38px 44px 20px;max-width:1510px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:20px}.eyebrow{font-size:9px;color:#829479;letter-spacing:2px;font-weight:600;margin-bottom:10px}h1{font-size:32px;letter-spacing:-1.3px;font-weight:600}.heading p{color:var(--muted);font-size:13px;margin-top:10px}.primary{background:var(--green);color:#fff;border-radius:8px;padding:12px 20px;font-size:13px;box-shadow:0 4px 8px #1a604915;min-height:46px;white-space:nowrap}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.segments{display:flex;background:#eaece5;padding:4px;border-radius:9px;gap:3px}.segments button{min-height:32px;padding:7px 24px;font-size:12px;color:#7c887b;border-radius:6px}.segments button.active{background:#fff;color:#28634e;box-shadow:0 2px 5px #102b1510}.date-nav{display:flex;gap:8px;align-items:center;color:#6d7d70;font-size:12px}.date-nav input{width:127px;background:transparent;border:0;color:inherit;padding:4px}.stats{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:20px;margin-bottom:24px}.stat{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);padding:23px 25px;border-radius:12px;min-height:155px}.stat>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#738376}.stat svg{opacity:.55}.stat strong{font-size:36px;font-weight:500;display:block;letter-spacing:-1px;margin:12px 0 7px;position:relative;z-index:1}.stat strong small{font-size:12px;letter-spacing:0;font-weight:400;color:#86978b;margin-left:10px}.stat p{font-size:10px;color:#8d998f}.featured{background:#1b624f;color:#fff;border-color:#1b624f}.featured>div:first-child,.featured p,.featured strong small{color:#b4ccbc}.stat-art{position:absolute;right:8px;bottom:-55px;font-size:160px;line-height:1;color:#5d9b78;opacity:.3;transform:rotate(-15deg)}.range em{font-size:22px;font-style:normal;color:#bdc8bc;margin:0 14px}.body-grid{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:23px}.card{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:22px;overflow:hidden}.card-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.card-head p{font-size:11px;color:var(--muted);margin-top:7px}.chart{padding:24px 25px 0}.chart svg{display:block;width:100%;margin:22px 0 4px}.legend{font-size:10px;color:#8a978b;display:flex;gap:6px;align-items:center;white-space:nowrap}.legend i{background:#278169;width:6px;height:6px;border-radius:50%}.chart-foot{font-size:10px;color:#a0aaa0;border-top:1px solid #f0f2ed;padding:12px 0}.empty{min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#84978a}.empty svg{width:38px;margin:0 0 15px;stroke:#a4bba4}.empty h3{font-size:15px;font-weight:500}.empty p{font-size:12px;margin:8px 0}.empty button{font-size:12px;color:var(--green)}.voice-card{background:#eaf0dd;border:1px solid #e2e9d4;padding:25px 22px;border-radius:12px;text-align:center;margin-bottom:22px}.icon-circle{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#dce6c7;color:#5c7b49;margin-bottom:17px}.voice-card h2{font-size:19px}.voice-card p{color:#8b977a;margin:15px 0 18px;font-size:13px}.voice-card button{background:#fff;border:1px solid #d6dfc8;border-radius:7px;width:100%;font-size:12px;min-height:42px}.voice-card small{display:block;font-size:10px;color:#9ba68c;margin-top:12px}.report-card{padding:22px}.icon-square{width:39px;height:39px;background:#f4f2e7;display:inline-grid;place-items:center;border-radius:9px;color:#9c9362}.pill{background:#f0f4ed;color:#6d8468;font-size:10px;padding:4px 8px;border-radius:5px;white-space:nowrap}.report-card h2{font-size:16px;margin:18px 0 12px;line-height:1.8}.report-card p{color:var(--muted);font-size:12px}.text-button{font-size:12px;color:var(--green);padding:0;justify-content:flex-start}.report-card .text-button{margin:15px 0}.mail-status{border-top:1px solid var(--line);padding-top:10px;display:flex;align-items:center;gap:6px;font-size:10px;color:#9b9b83}.mail-status button{margin-left:auto;font-size:10px}.records .card-head{padding:23px 25px}.count{background:#eef2e9;color:#819576;font-size:10px;border-radius:20px;padding:2px 7px;vertical-align:middle;margin-left:6px}.muted{font-size:11px;color:var(--muted)}.record-empty{padding:20px 25px 36px;color:#9aa59b;font-size:12px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-weight:400;font-size:10px;color:#98a296;background:#fafbf7;padding:11px 17px}td{padding:14px 17px;border-top:1px solid #eff2ea;white-space:nowrap}td small{font-size:9px;color:#93a08e}td b{font-size:16px;font-weight:500}td button{min-height:30px;padding:5px}td .record-note{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis}.summary{padding:25px}.meal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:25px 0}.meal-grid>div{background:#f8faf5;padding:18px;border-radius:8px}.meal-grid strong{display:block;font-size:23px;margin:8px 0}.meal-grid small{font-size:10px;color:#8c9989}.meal-grid span{font-size:12px}footer{font-size:10px;color:#a7afa4;display:flex;justify-content:space-between;gap:15px;margin:18px 0 8px}.footer-heart{padding:0 8px}.notice{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0efe0;border:1px solid #e2dfc6;padding:13px 16px;margin:0 0 20px;border-radius:8px;font-size:12px;line-height:1.7}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.settings-card{padding:28px}.settings-card h2{margin:16px 0}.settings-card h3{margin:22px 0 8px}.settings-card p{font-size:13px;color:var(--muted)}label{display:block;font-size:12px;margin:18px 0 12px;color:#4e6859}input,textarea,select{display:block;width:100%;border:1px solid #dce4d9;border-radius:7px;background:#fff;padding:12px;margin-top:8px;color:var(--ink);outline-color:#7dad8b;font-size:16px;min-width:0}textarea{resize:vertical}.check{display:flex;gap:10px;align-items:center}.check input{width:18px;height:18px;margin:0;accent-color:var(--green)}.setup-note{background:#f6f4e8;padding:15px;font-size:12px;line-height:1.8;color:#948764;border-radius:8px;margin:20px 0}.overlay{position:fixed;inset:0;background:#18382c60;backdrop-filter:blur(5px);z-index:50;display:flex;justify-content:center;align-items:center;padding:24px}.modal{background:#fcfdf9;border-radius:19px;padding:28px;width:510px;max-height:94vh;overflow:auto;box-shadow:0 25px 80px #15372522}.modal h2{font-size:23px}.voice-input{background:#edf2e6;padding:14px;border-radius:12px;margin-top:20px}.voice-input>button:first-child{width:100%;color:var(--green)}.voice-input textarea{font-size:13px;min-height:65px;border:0;background:#ffffffb0}.voice-input .text-button{min-height:30px;margin-top:5px}.form-row{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.full{width:100%;margin-top:15px}.listening{background:#e1ccb9;border-radius:8px}.report-modal{width:760px}.report-modal pre{white-space:pre-wrap;font:13px/1.9 inherit;overflow-wrap:anywhere;margin:25px 0}@media(min-width:1500px){.body-grid{grid-template-columns:minmax(0,1fr) 310px}.chart svg{max-height:270px}.stat{min-height:170px}}@media(max-width:1150px){.sidebar{width:195px;padding:30px 17px}main{margin-left:195px;width:calc(100% - 195px)}.content{padding:30px 25px}header{padding:0 25px}.body-grid{grid-template-columns:minmax(0,1fr) 230px}.stat{padding:20px}.stat strong{font-size:30px}.heading h1{font-size:27px}}@media(max-width:850px){.sidebar{width:80px;padding:25px 12px;align-items:center}.brand>span:last-child,.side-label,.sidebar nav span,.sidebar nav i,.side-note,.private{display:none}.sidebar nav{margin-top:45px}.sidebar nav button{padding:14px}.brand-icon{width:43px}.content{padding:28px 22px}main{margin-left:80px;width:calc(100% - 80px)}.body-grid{grid-template-columns:1fr}.right{display:grid;grid-template-columns:1fr 1fr;gap:20px}.voice-card,.report-card{margin-bottom:0}.meal-grid{grid-template-columns:repeat(3,1fr)}.settings-grid{grid-template-columns:1fr}footer{margin-top:30px}.stats{gap:12px}.stat{padding:17px}.stat strong{font-size:28px}}@media(max-width:560px){.sidebar{inset:auto 0 0;width:100%;height:72px;padding:0 0 env(safe-area-inset-bottom);z-index:30;border-right:0;border-top:1px solid #e1e6dc;background:#fffffff5;display:block}.brand{display:none}.sidebar nav{margin:0;display:flex;justify-content:space-around;gap:0}.sidebar nav button{display:flex;flex-direction:column;gap:3px;padding:9px 13px;min-width:70px;border-radius:0;background:transparent!important}.sidebar nav span{display:block;font-size:10px}.sidebar nav button.selected{color:#146b57}main{margin:0;width:100%;padding-bottom:85px}header{height:60px;padding:0 20px}.header-right{font-size:10px}.avatar{margin-left:6px}.content{padding:26px 18px 12px}.heading{align-items:flex-start;margin-bottom:25px;flex-wrap:wrap;gap:16px}.heading h1{font-size:28px}.heading p{font-size:12px}.heading .primary{width:100%}.eyebrow{font-size:8px}.toolbar{gap:8px;flex-wrap:wrap}.segments button{padding:6px 17px}.date-nav{gap:2px}.date-nav input{width:120px;font-size:12px}.date-nav>svg{display:none}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.featured{grid-column:1/-1;min-height:145px}.stat{min-height:130px}.featured strong{font-size:42px;margin:8px 0}.stat strong{font-size:30px}.stat strong small{font-size:10px}.stat-art{right:30px}.range em{margin:0 9px}.body-grid{gap:0}.chart{padding:21px 15px 0}.chart h2{font-size:16px}.card-head p{font-size:10px}.empty{min-height:225px}.right{grid-template-columns:1fr;gap:18px}.voice-card{padding:22px}.voice-card p{margin:8px 0 16px}.voice-card p br{display:none}.icon-circle{margin-bottom:10px}.report-card{padding:22px}.mail-status{font-size:12px}.records .card-head{padding:20px}.summary{margin-top:20px;padding:20px}.summary .card-head{align-items:flex-start;flex-direction:column}.meal-grid{grid-template-columns:1fr 1fr;gap:10px}.meal-grid>div{padding:15px}.settings-card{padding:22px}footer{flex-direction:column;align-items:center;text-align:center;gap:6px}.overlay{padding:10px}.modal{padding:22px;max-height:96dvh;border-radius:15px}.modal .eyebrow{font-size:7px}.modal label,.notice,.report-modal pre{font-size:12px}}.login{margin:0;width:100%;padding:35px 20px;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 20%,#e6eedc,transparent 50%),#f7f8f3}.login-card{width:100%;max-width:440px;padding:38px;background:#fffffff2;border:1px solid #e2e9dd;border-radius:22px;box-shadow:0 15px 60px #285a3010}.login-card .brand-icon{margin-bottom:28px;font-size:25px}.login-card h1{font-size:28px}.login-card p{color:#7d8b7b;font-size:13px;margin:14px 0}.login-card small{font-size:11px;color:#8a9483;display:block;margin-top:8px;line-height:1.7}.header-right button{font-size:11px}@media(max-width:560px){.login{padding:18px}.login-card{padding:27px}.login-card h1{font-size:25px}}.family-app{width:100%;box-sizing:border-box}.family-app header{padding:0;gap:12px}.family-app header h1{font-size:26px}.family-app button{min-height:44px;padding:10px 16px;border:1px solid #cddfd5;border-radius:10px;margin:5px;background:#edf6ef;color:#17583d}.family-app input,.family-app select{font-size:18px;min-height:48px}.family-app input[type=checkbox]{min-height:20px;width:20px}.family-app p{line-height:1.7;margin:12px 0}.family-app small{display:block}.family-app .primary{background:#197354;color:#fff}.family-app button:disabled{opacity:.5}.family-app .segments{margin-bottom:18px}.family-app .card{margin-top:18px}.family-app td{padding:12px;white-space:nowrap}.family-app textarea{width:100%}
