
:root{--bg:#f6f5ef;--ink:#233e35;--muted:#78817a;--line:#e4e8dd;--green:#204f3f;--lime:#daedaa;--white:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,label.photozone{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}.shell{max-width:1160px;margin:auto;padding:0 32px}header{display:flex;align-items:center;justify-content:space-between;padding:26px 0;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-1px}.mark{display:grid;place-items:center;background:var(--green);color:var(--lime);width:45px;height:45px;border-radius:14px;font-family:Georgia;font-size:37px;font-style:italic}.brand small{display:block;font-size:8px;letter-spacing:1.65px;font-weight:500;margin-top:3px}.quiet{border:1px solid #d5ddce;background:transparent;border-radius:30px;padding:10px 17px;color:var(--ink)}.heading{display:flex;justify-content:space-between;align-items:end;margin:44px 0 30px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;margin:0 0 16px}.heading h1{font-family:Georgia,serif;font-weight:400;font-size:52px;line-height:1.08;letter-spacing:-2px;margin:0 0 16px}.muted{color:var(--muted);line-height:1.7}.datebox{width:190px;margin-bottom:8px}.datebox label span{font-size:10px;color:var(--muted);display:block;margin-top:4px}input,textarea,select{width:100%;padding:12px;border:1px solid #dce1d5;border-radius:10px;background:var(--white);color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#70965d;box-shadow:0 0 0 3px #deebd2}label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}label input,label select,label textarea{margin-top:7px}textarea{resize:vertical}.overview{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:28px}.balance{background:var(--green);border-radius:24px;padding:29px 33px;color:#f2f6e6;position:relative;overflow:hidden}.balance>div:first-child{position:relative;z-index:1;width:90%}.balance .eyebrow{color:#c2d4ad}.big{display:flex;align-items:baseline;gap:9px;margin-top:18px}.big>span:first-child{font-size:58px;font-weight:500;letter-spacing:-3px}.unit{font-size:17px;color:#b9cbb7}.balance p:not(.eyebrow){color:#d1dfc8;margin:2px 0 23px}.progress{height:6px;background:#ffffff26;border-radius:12px;overflow:hidden}.progress div{height:100%;background:var(--lime);width:0;transition:width .4s}.numbers{display:flex;justify-content:space-between;margin-top:13px;font-size:11px;color:#bbceb3}.numbers strong{color:#fff;font-weight:500}.leaf{position:absolute;right:-25px;top:10px;font-family:Georgia;font-size:210px;color:#ffffff09;transform:rotate(-25deg)}.metabolism{padding:27px 30px;border:1px solid var(--line);border-radius:24px;background:#eef0e4}.metabolism .eyebrow{color:#818c6b;margin-bottom:9px}h3{font-size:19px;font-weight:600;margin:0 0 20px;letter-spacing:-.5px}.metric{display:flex;justify-content:space-between;gap:12px;margin:14px 0;font-size:12px}.metric strong{white-space:nowrap}.metabolism p:not(.eyebrow){font-size:11px;line-height:1.6;color:var(--muted)}.textbutton{background:none;border:0;color:var(--green);font-size:12px;padding:10px 0;text-align:left}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:28px}.sectiontop{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.sectiontop .eyebrow{color:var(--muted);font-size:9px;margin:0 0 9px}h2{font-family:Georgia,serif;font-size:27px;letter-spacing:-.6px;font-weight:400;margin:0}.pill{padding:7px 10px;border-radius:20px;background:#f0f2e7;color:#68805d;font-size:10px;white-space:nowrap}.photozone{background:#f5f6ee;border:1px dashed #bccdb0;border-radius:15px;min-height:156px;display:flex;justify-content:center;align-items:center;text-align:center;overflow:hidden;cursor:pointer;margin-bottom:22px}.photozone strong,.photozone small{display:block}.photozone strong{font-size:14px;margin:6px}.photozone small{font-size:11px;color:var(--muted);font-weight:400}.camera{font-size:37px;font-weight:300;color:#759063}.photozone img{width:100%;max-height:280px;object-fit:cover}.primary{background:var(--green);color:#fff;border:0;width:100%;padding:15px;border-radius:11px;margin-top:16px;font-weight:500}.hint{font-size:10px;color:var(--muted);line-height:1.65;margin:12px 0 4px}.empty{padding:55px 18px;text-align:center;color:var(--muted)}.empty .emptyIcon{font-size:47px;color:#a8b695}.empty h3{color:var(--ink);font-family:Georgia;font-weight:400;font-size:23px;margin:17px 0 10px}.empty p{font-size:12px;line-height:1.8}.meal{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.meal img,.meal .mealIcon{height:66px;width:66px;object-fit:cover;border-radius:12px;background:#f0f2e6;flex-shrink:0}.mealIcon{display:grid;place-items:center;font-size:24px}.mealBody{flex:1;min-width:0}.mealBody h3{font-size:14px;margin:4px 0 6px;letter-spacing:0;overflow-wrap:anywhere}.mealBody p{font-size:10px;color:var(--muted);line-height:1.5;margin:4px 0}.mealCalories{white-space:nowrap;font-weight:600;padding-top:5px}.mealCalories small{display:block;text-align:right;font-size:10px;font-weight:400;color:var(--muted)}.meal .textbutton{font-size:10px;padding:4px 13px 0 0}.totals{display:flex;justify-content:space-between;font-size:11px;padding-top:18px;color:var(--muted)}.totals strong{display:block;color:var(--ink);font-size:16px;margin-bottom:5px}.syncbar{display:flex;align-items:center;justify-content:space-between;margin:28px 0;padding:18px 23px;background:#eef0e6;border-radius:15px;font-size:11px}.syncbar p{margin:7px 0 0;color:var(--muted);font-size:10px}#syncDot{color:#7c9d51;margin-right:7px}.notice{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#faf0d9;border:1px solid #e8daba;border-radius:12px;padding:15px 20px;margin-bottom:20px;font-size:12px}.notice button{background:none;border:0;color:var(--green);white-space:nowrap;font-weight:600}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.macros{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.macros input{padding:10px 6px}.divider{border-top:1px solid var(--line);margin:20px 0}footer{padding:16px 0 35px;text-align:center;font-size:11px;line-height:2;color:#8b9388}footer a{color:#6a7e63;font-size:10px}footer p{font-size:10px}dialog{max-width:530px;width:calc(100% - 30px);border:1px solid var(--line);border-radius:22px;padding:30px;color:var(--ink);background:var(--white);max-height:90dvh}dialog::backdrop{background:#16332777;backdrop-filter:blur(4px)}dialog .sectiontop{margin-bottom:10px}dialog .muted{font-size:12px}.hidden{display:none!important}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#233e35;color:white;padding:16px 22px;border-radius:12px;box-shadow:0 5px 30px #0002;z-index:10;max-width:90%;font-size:13px}.historyrow{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}:focus-visible{outline:3px solid #a9c581;outline-offset:3px}@media(max-width:720px){.shell{padding:0 18px}header{padding:20px 0}.brand small{font-size:6px}.brand{font-size:22px}.quiet{font-size:11px;padding:9px 13px}.heading{margin:30px 0 24px;align-items:start;gap:10px}.heading h1{font-size:37px;letter-spacing:-1.5px}.heading .eyebrow{font-size:8px;letter-spacing:1px}.heading .muted{font-size:11px;max-width:200px}.datebox{width:139px;margin-top:5px}.datebox input{font-size:11px;padding:9px}.overview{grid-template-columns:1fr;gap:14px}.balance{padding:26px}.metabolism{padding:22px}.workspace{grid-template-columns:1fr;gap:18px}.card{padding:23px}.big>span:first-child{font-size:58px}h2{font-size:26px}.notice{font-size:11px}.syncbar{padding:16px}.two{gap:10px}dialog{padding:23px}.macros{grid-template-columns:repeat(2,1fr)}.entry{order:0}.diary{order:1}}

.syncActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.syncActions a{text-decoration:none}.syncActions .quiet{font-size:11px}
.photozone{width:100%;padding:0;color:var(--ink);font:inherit;margin-bottom:12px}.photozone #photoPrompt{padding:18px}.photozone small{line-height:1.6}.photoActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.photoActions .quiet{font-size:12px;min-height:42px}.photoActions .textbutton{margin-left:auto}.entryStatus{font-size:12px;line-height:1.65;color:#637454;padding:11px 13px;background:#eff3e8;border:1px solid #dce6cc;border-radius:10px;margin:12px 0 18px;overflow-wrap:anywhere}.entryStatus.entryError{color:#7d5829;background:#faf0d9;border-color:#e8daba}.photozone:disabled{cursor:wait;opacity:.7}@media(max-width:380px){.photoActions{gap:8px}.photoActions .quiet{padding:9px 12px}.photoActions .textbutton{margin-left:0}.photozone small{font-size:10px}}
.accountTools{display:flex;align-items:center;gap:20px;max-width:62%}.accountTools>div{display:flex;align-items:center;gap:14px}.accountEmail{font-size:11px;color:var(--muted);overflow-wrap:anywhere;max-width:260px}.accountTools .textbutton{white-space:nowrap}.loginPanel{display:grid;grid-template-columns:.8fr 1fr;min-height:580px;max-width:990px;margin:55px auto 70px;border:1px solid var(--line);background:var(--white);border-radius:28px;overflow:hidden}.loginArt{display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--green);color:var(--lime);text-align:center;padding:35px}.loginArt>span{font-family:Georgia,serif;font-size:210px;line-height:1.1;transform:rotate(-25deg)}.loginArt>p{font-size:10px;letter-spacing:1.8px;line-height:2.1;margin-top:35px;color:#d1dfc8}.loginContent{padding:60px 48px}.loginContent>.eyebrow{color:#7a8c6a;line-height:1.7}.loginContent h1{font-family:Georgia,serif;font-weight:400;font-size:53px;line-height:1.06;letter-spacing:-2px;margin:18px 0}.loginContent>.muted{max-width:320px;font-size:14px}.loginAction{margin:27px 0 30px;min-height:91px}.loginAction #loginStatus{font-size:12px;line-height:1.7;color:#627b58;margin-bottom:15px;overflow-wrap:anywhere}.loginAction #googleButton{min-height:0}.loginAction #loginRetry{margin-top:12px}.loginNote{border-top:1px solid var(--line);padding-top:23px;font-size:11px;line-height:1.8;max-width:340px}.loginNote strong{font-size:12px}.loginNote p{color:var(--muted);margin:6px 0 12px}@media(max-width:720px){.accountTools{flex-direction:column;align-items:flex-end;gap:5px;max-width:52%}.accountEmail{font-size:9px;text-align:right;max-width:100%}.accountTools>div{gap:9px}.accountTools .textbutton{font-size:10px}.accountTools .quiet{padding:8px 10px;font-size:10px}.loginPanel{display:block;margin:28px auto 40px;min-height:0;border-radius:23px}.loginArt{display:none}.loginContent{padding:37px 28px}.loginContent h1{font-size:48px}.loginContent>.eyebrow{font-size:8px;letter-spacing:1.5px}.loginContent>.muted{font-size:13px}.loginAction{margin:27px 0}.loginNote{max-width:none}.loginContent #googleButton{max-width:100%;overflow:hidden}}

.goalSummary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 24px;background:#eef0e4;border:1px solid #dce4ce;border-radius:20px;padding:23px 28px;margin:0 0 28px}.goalSummary .eyebrow{font-size:9px;color:#6e805d;margin-bottom:9px}.goalSummary h2{font-size:25px}.goalSummary .muted{font-size:12px;margin:8px 0 0}.goalSummaryBudget{text-align:right}.goalSummaryBudget strong{display:block;font-size:27px;font-weight:500;letter-spacing:-1px}.goalSummaryBudget span{font-size:11px;color:#64785a}.goalSummaryNote{grid-column:1/-1;font-size:11px;line-height:1.7;color:#64785a;margin:7px 0 0}.goalSummary>.textbutton{grid-column:1/-1;justify-self:start;padding-bottom:0}.goalFields{border-top:1px solid var(--line);margin-top:23px;padding-top:23px}.goalFields h3{margin-bottom:8px}.goalFields>.muted{margin:0 0 17px}.goalFields>.textbutton{padding-top:0}.goalFields>.hint{margin:0 0 15px}.profilePreview{margin-top:20px;padding:20px;background:#eff3e8;border:1px solid #dce6cc;border-radius:15px}.profilePreview h3{font-size:16px;margin-bottom:9px}.profilePreviewStatus,#profilePreviewStatus{font-size:12px;line-height:1.65;margin:0;color:#637454}.planCalories{display:flex;align-items:baseline;gap:8px;margin:17px 0 0}.planCalories strong{font-size:36px;font-weight:500;letter-spacing:-1.5px}.planCalories span{font-size:12px;color:#627254}#planEnergy{font-size:11px;color:#637454;line-height:1.7;margin:6px 0 17px}.planFacts{margin:0;border-top:1px solid #dce6cc}.planFacts>div{display:flex;justify-content:space-between;gap:16px;font-size:11px;line-height:1.65;margin-top:13px}.planFacts dt{color:#637454;flex-shrink:0}.planFacts dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}#planMessages{padding-left:18px;font-size:11px;line-height:1.7;color:#526a44;margin:15px 0 0}#planMessages:empty{display:none}.profilePreview .hint{color:#65705d}.profilePreview.previewError{background:#faf0d9;border-color:#e8daba}.profilePreview.previewError #profilePreviewStatus{color:#7d5829}.planHelp{margin-top:18px;font-size:11px;line-height:1.8;color:#737f69}.planHelp summary{color:var(--green);cursor:pointer;font-weight:600}.planHelp a{display:block;color:var(--green);margin:6px 0}.historyMeasurements{display:flex;flex-direction:column;gap:5px}.historyMeasurements small{font-size:10px;font-weight:400;color:var(--muted);line-height:1.6}.historyrow>span:first-child{white-space:nowrap}.historyrow>span:last-child{text-align:right}.goalFields input:disabled{background:#f2f3ed;color:#8a9383}input:disabled{cursor:not-allowed}
@media(max-width:720px){.goalSummary{padding:21px 23px;gap:12px;margin-bottom:20px}.goalSummary h2{font-size:23px}.goalSummaryBudget strong{font-size:23px}.goalSummaryBudget span{font-size:9px}.goalSummary .muted{font-size:10px}.goalSummaryNote{font-size:10px}.profilePreview{padding:17px}.planFacts>div{gap:10px}.planFacts dd{max-width:64%}.historyrow{font-size:11px;gap:9px}.historyMeasurements small{font-size:9px}}
@media(max-width:400px){.goalSummary{grid-template-columns:1fr}.goalSummaryBudget{text-align:left;display:flex;align-items:baseline;gap:9px}.goalSummaryBudget span{font-size:10px}.historyrow{flex-wrap:wrap}.historyrow>span:first-child{width:100%;font-size:10px;color:var(--muted)}.historyMeasurements{flex:1}.planFacts>div{display:block}.planFacts dd{text-align:left;max-width:none;margin-top:3px}.goalFields .two{grid-template-columns:1fr}.goalFields .two label{margin-bottom:0}.goalFields>.textbutton{padding-top:12px}}

.medicationSection{margin-top:24px}.medicationSection>.sectiontop{margin-bottom:12px}.medicationIntro{max-width:720px;font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 15px}.medicationToolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);font-size:11px;color:#73816a;padding:4px 0 9px}.medicationToolbar .textbutton{white-space:nowrap}.medicationEmpty{padding:28px 0 10px;font-size:12px;color:#73816a;line-height:1.7}.medicationEmpty strong{font-weight:500;color:var(--ink)}.medicationEmpty p{margin:7px 0 0;font-size:11px}.medicationRow{display:flex;align-items:flex-start;gap:22px;justify-content:space-between;padding:21px 0;border-bottom:1px solid var(--line)}.medicationRow:last-child{border-bottom:0;padding-bottom:0}.medicationBody{min-width:0;flex:1}.medicationBody h3{font-size:16px;margin:0 0 7px;overflow-wrap:anywhere}.medicationDate,.medicationRoute{font-size:11px;color:#73816a;line-height:1.7;margin:3px 0}.medicationNotes{font-size:12px;line-height:1.7;color:#63735a;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0}.medicationDose{text-align:right;max-width:42%;overflow-wrap:anywhere;flex-shrink:0}.medicationDose strong{font-size:22px;font-weight:500;letter-spacing:-.6px;display:block}.medicationDose span{font-size:12px;color:#73816a;display:block;margin-top:3px}.medicationActions{display:flex;gap:20px}.medicationActions .textbutton{font-size:11px;padding-bottom:0}.medicationReview{background:#eff3e8;border:1px solid #dce6cc;padding:18px;border-radius:14px;margin-top:18px}.medicationReview h3{font-size:15px;margin:0 0 10px}.medicationReview>p:not(.hint){font-size:13px;line-height:1.8;overflow-wrap:anywhere;color:var(--ink);margin:0}.medicationReview .hint{color:#637454}.medicationError{padding:12px 14px;background:#faf0d9;border:1px solid #e8daba;color:#7d5829;border-radius:10px;font-size:12px;line-height:1.7}#medicationFields{border:0;padding:0;margin:18px 0 0;min-width:0}#medicationFields:disabled{opacity:.65}#medicationDialog .muted{font-size:12px;line-height:1.8}#medicationOpen{white-space:nowrap}
@media(max-width:720px){.medicationSection{margin-top:20px}.medicationSection>.sectiontop{gap:10px}.medicationIntro{font-size:11px}.medicationRow{gap:13px;padding-top:18px}.medicationBody h3{font-size:15px}.medicationDose strong{font-size:20px}.medicationDose span{font-size:11px}.medicationNotes{font-size:11px}.medicationReview{padding:16px}.medicationReview>p:not(.hint){font-size:12px}}
@media(max-width:380px){.medicationSection>.sectiontop{align-items:flex-start;flex-direction:column;gap:15px}.medicationToolbar{font-size:10px;gap:10px}.medicationToolbar .textbutton{font-size:10px}.medicationDose{max-width:40%}}

.weightChartSection{margin:0 0 24px}.weightHistory{margin-top:24px;scroll-margin-top:20px}.weightChartSection .muted,.weightHistory>.muted{font-size:12px;line-height:1.7}.weightChartSection .sectiontop{flex-wrap:wrap;gap:12px}.bodyCharts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:18px}.bodyChartPanel{min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fafbf7;cursor:zoom-in;transition:border-color .18s ease,box-shadow .18s ease}.bodyChartPanel:hover,.bodyChartPanel.expanded{border-color:#aac3b3;box-shadow:0 12px 28px rgba(24,63,53,.09)}.bodyChartPanel.expanded{grid-column:1/-1;cursor:zoom-out}.bodyCharts.hasExpanded{grid-template-columns:1fr}.bodyCharts.hasExpanded .bodyChartPanel:not(.expanded){display:none}.bodyCharts h3{font-size:16px;margin-bottom:5px}.measurementChart{touch-action:manipulation}.measurementChart svg{display:block;width:100%;height:auto;max-height:360px}.weightGrid{stroke:var(--line);stroke-width:1}.weightAxis{fill:#63735a;font-size:12px}.weightLine{stroke:#36715b;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.weightPoint{fill:#183f35;stroke:#fff;stroke-width:2;transition:r .12s ease,fill .12s ease}.weightPoint.selected{fill:#d87845;stroke:#fff;stroke-width:3}.chartPointHit{fill:transparent;cursor:pointer}.chartPointHit:focus{outline:none;stroke:#d87845;stroke-width:2;stroke-dasharray:3 2}.chartSelection{min-height:20px;margin:4px 0 0;padding:8px 10px;border-radius:10px;background:#eef3eb;color:#496353;font-size:11px;line-height:1.5}.weightChartEmpty{padding:24px 0;color:var(--muted);font-size:13px}@media(max-width:720px){.bodyCharts,.bodyCharts.hasExpanded{grid-template-columns:1fr}.bodyChartPanel,.bodyChartPanel.expanded{grid-column:auto;padding:14px;cursor:default}.bodyCharts.hasExpanded .bodyChartPanel:not(.expanded){display:block}.measurementChart svg{max-height:300px}}@media(max-width:480px){.weightHistory .sectiontop{flex-wrap:wrap;gap:12px}.weightHistory .historyrow{gap:8px}.weightAxis{font-size:14px}.chartSelection{font-size:10px}}
