:root{color:#19382d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--green:#125744;--muted:#586962;--line:#e4e5dd;--track:#dcece3;--accent:#dbedb8;--coral:#b64b35;--mint:#e2f2e9;--peach:#fce8da;--lavender:#eee7f8;--shadow:0 8px 28px -16px #3c514d35;background:#faf7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 100% 0,#fce8da70,#0000 55%),radial-gradient(at 0 40%,#e2f2e960,#0000 50%);margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{letter-spacing:-.045em;font-size:clamp(1.8rem,4vw,2.4rem);font-weight:600;line-height:1.12}h2{letter-spacing:-.025em;font-size:1.12rem;font-weight:600}h3{font-size:1.05rem;font-weight:600}p{line-height:1.55}small{font-weight:400}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #7659ad}svg{flex-shrink:0}.muted{color:var(--muted);font-size:.875rem}.fine-print{color:var(--muted);margin-top:16px;font-size:.78rem;line-height:1.6}.centred{text-align:center}.eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;font-size:.7rem;font-weight:650}.brand{letter-spacing:-.04em;align-items:center;gap:10px;font-size:1.15rem;font-weight:650;display:flex}.brand-icon{background:var(--green);color:#e3edc6;border-radius:12px;padding:9px;display:flex;box-shadow:0 4px 12px #12574424}.button{border:1px solid #0000;border-radius:15px;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:12px 19px;font-size:.875rem;font-weight:600;transition:background .15s;display:inline-flex}.button.primary{background:var(--green);color:#fff;box-shadow:0 4px 12px #1257441c}.button.primary:hover{background:#285448}.button.secondary{border-color:var(--line);background:#fff}.button.secondary:hover{background:#edf0e7}.button.danger{color:#fff;background:#8b302d}.wide{width:100%}.icon-button{background:0 0;border:1px solid #0000;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-button:hover{background:#edf0e7}.text-link{color:var(--green);align-items:center;gap:7px;min-height:36px;font-size:.8rem;font-weight:550;display:inline-flex}.text-link:hover{text-decoration:underline}.card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:24px;padding:26px}.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.section-heading p{margin-top:5px}.error{color:#8b302d;background:#fcf0ed;border-radius:10px;margin:16px 0;padding:12px;font-size:.86rem}.success{align-items:center;gap:7px;margin:16px 0;font-size:.85rem;display:flex}.loading{min-height:70vh;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{max-width:1100px;margin:auto;padding:0 38px}.app-header{border-bottom:1px solid var(--line);align-items:center;gap:20px;height:98px;display:flex}.account-badge{color:var(--muted);align-items:center;gap:6px;margin-left:auto;font-size:.72rem;display:flex}.account-badge.preview{max-width:220px}.main-content{min-height:74vh;padding-top:26px;padding-bottom:22px}.page-heading{box-shadow:var(--shadow);background:linear-gradient(115deg,#fff6ec,#f8e8d8);border:1px solid #eddcce;border-radius:28px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:26px;display:flex}.page-heading-content{flex:1;min-width:0}.page-heading-content>div>p:not(.eyebrow){color:var(--muted);margin-top:12px;font-size:.9rem}.page-heading-content>.date-control,.page-heading-content>.button,.page-heading-content>.text-link{margin-top:18px}.page-heading-content>.date-control{width:fit-content;max-width:100%}.screen-artwork{aspect-ratio:3/2;object-fit:cover;border-radius:20px;flex-shrink:0;width:28%;max-width:280px;height:auto;display:block}.page-heading-diary,.page-heading-profile{background:linear-gradient(115deg,#f7f3ff,#eee7f8);border-color:#e3dbee}.page-heading-progress,.page-heading-scan{background:linear-gradient(115deg,#f0fbf5,#e2f2e9);border-color:#d1e8da}.page-heading-photos{background:linear-gradient(115deg,#fff2ed,#fae2d8);border-color:#efd5ca}.date-control{border:1px solid var(--line);background:#fff;border-radius:50px;flex-shrink:0;align-items:center;padding:3px;display:flex}.date-label{cursor:pointer;text-align:center;min-width:62px;padding:0 8px;font-size:.8rem;position:relative}.date-label input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.date-label:focus-within{border-radius:10px;outline:3px solid #688529}.dashboard-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.energy-card{background:linear-gradient(145deg,#fff,#f0faf4);padding:26px 32px}.energy-card .section-heading{color:var(--green)}.energy-ring{border-radius:50%;place-items:center;width:202px;height:202px;margin:24px auto 20px;display:grid;transform:rotate(-90deg)}.ring-centre{background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:178px;height:178px;display:flex;transform:rotate(90deg)}.ring-centre strong{letter-spacing:-.055em;font-size:2.8rem;font-weight:550}.ring-centre span{color:var(--muted);margin-top:4px;font-size:.8rem}.balance{color:var(--muted);text-align:center;margin-bottom:24px;font-size:.85rem}.balance strong{color:var(--green);font-weight:600}.target-line{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding-top:18px;font-size:.82rem;display:flex}.target-line strong{color:var(--green)}.macros-card{background:linear-gradient(145deg,#f7f3ff,#eee7f8);border-color:#e3dbee;flex-direction:column;padding:30px 32px;display:flex}.macros-card .eyebrow{margin-bottom:8px}.macros-card h2{margin-bottom:35px;font-size:1.35rem}.macros{flex-direction:column;gap:29px;display:flex}.macro-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:.83rem;display:flex}.macro-heading span{align-items:center;gap:9px;display:flex}.macro-heading i{background:var(--macro);border-radius:50%;width:8px;height:8px}.macro-heading small{color:var(--muted);white-space:nowrap;font-size:.76rem}.protein{--macro:#7659ad}.carbohydrate{--macro:#b8562d}.fat{--macro:#986414}progress{appearance:none;background:#dde3d4;border:0;border-radius:10px;width:100%;height:8px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#dde3d4;border-radius:10px}progress::-webkit-progress-value{background:var(--macro);border-radius:10px}progress::-moz-progress-bar{background:var(--macro);border-radius:10px}.macros-card .text-link{margin-top:auto;padding-top:28px}.meal-section{margin-top:34px}.meal-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px;display:grid}.meal-card{border-radius:18px;min-width:0;padding:19px}.meal-card:first-child{background:#fff5e6;border-color:#efe0c7}.meal-card:nth-child(2){background:#edf8f1;border-color:#d5e8dc}.meal-card:nth-child(3){background:#f4effb;border-color:#e2d9ef}.meal-card:nth-child(4){background:#fff0e9;border-color:#f0dace}.meal-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.meal-icon{color:#806641;background:#f3f0e6;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.meal-icon.lunch{color:#637037;background:#edf0df}.meal-icon.dinner{color:#72667e;background:#efeaf1}.meal-icon.snack{color:#94634e;background:#f6ece5}.meal-energy{letter-spacing:-.035em;margin-top:10px;font-size:1.4rem;font-weight:550}.meal-energy small{color:var(--muted);letter-spacing:0;font-size:.7rem}.meal-preview{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-top:9px;font-size:.75rem;display:-webkit-box;overflow:hidden}.gentle-note{background:#f0f3e8;border:1px dashed #cbd4bf;border-radius:18px;align-items:center;gap:16px;margin-top:24px;padding:22px;display:flex}.note-icon{flex-shrink:0;place-items:center;display:grid}.gentle-note strong{font-size:.875rem;font-weight:550}.gentle-note p{color:var(--muted);margin-top:5px;font-size:.78rem}.gentle-note .button{flex-shrink:0;margin-left:auto}.bottom-nav{border:1px solid var(--line);background:#fff;border-radius:25px;justify-content:center;align-items:center;gap:32px;max-width:480px;margin:32px auto 0;padding:12px 20px;display:flex;box-shadow:0 8px 30px #19382d0c}.bottom-nav a{min-width:54px;min-height:50px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:.68rem;display:flex}.bottom-nav a.active{color:var(--green);background:var(--mint);border-radius:16px;font-weight:650}.bottom-nav .add-nav-icon{background:var(--coral);color:#fff;border-radius:12px;place-items:center;width:42px;height:36px;display:grid}.app-footer{text-align:center;color:var(--muted);padding:24px 0;font-size:.72rem}.offline-banner{background:#f4ebd8;border-radius:12px;align-items:center;gap:10px;margin-top:18px;padding:14px;font-size:.8rem;display:flex}.field{flex-direction:column;gap:8px;min-width:0;margin-bottom:20px;display:flex}.field label{font-size:.8rem;font-weight:550}.field input,.field select{width:100%;min-height:48px;color:var(--green);background:#fbfcf8;border:1px solid #ccd4c6;border-radius:10px;padding:11px 12px}.field small{color:var(--muted);font-size:.74rem}.form-grid{grid-template-columns:1fr 1fr;gap:0 20px;margin-top:22px;display:grid}.form-actions{justify-content:space-between;gap:12px;margin-top:22px;display:flex}.form-divider{border-top:1px solid var(--line);margin:12px 0 24px}.food-form{max-width:760px;margin:0 auto}.back-link{margin-bottom:18px}.portion-preview{background:var(--mint);border-radius:16px;padding:20px}.portion-preview>span{color:var(--muted);font-size:.75rem}.portion-preview>strong{margin-top:8px;font-size:1.6rem;font-weight:550;display:block}.portion-preview small{font-size:.8rem}.portion-preview p{color:var(--muted);margin-top:8px;font-size:.76rem}.diary-summary{align-items:center;gap:28px;margin-bottom:22px;padding:22px 26px;display:flex}.diary-summary>strong{margin-right:auto;font-size:1.8rem;font-weight:550}.diary-summary small{font-size:.8rem}.diary-summary>span{color:var(--muted);flex-direction:column;gap:5px;font-size:.72rem;display:flex}.diary-summary b{color:var(--green);font-size:.875rem;font-weight:550}.diary-meals{flex-direction:column;gap:18px;max-width:800px;margin:auto;display:flex}.diary-meal h2{font-size:1rem}.empty-meal{color:var(--muted);padding:20px 0;font-size:.85rem}.entry-list{margin:16px 0 8px;padding:0;list-style:none}.diary-entry{border-top:1px solid var(--line);align-items:center;gap:14px;padding:18px 0;display:flex}.entry-main{flex:1;min-width:0}.entry-main strong{overflow-wrap:anywhere;font-size:.9rem}.entry-main small{color:var(--muted);margin-top:6px;font-size:.77rem;display:block}.entry-main p{color:var(--muted);margin-top:8px;font-size:.7rem}.entry-end{flex-direction:column;align-items:flex-end;display:flex}.entry-end>strong{font-size:.9rem}.entry-end small{color:var(--muted);font-size:.7rem}.entry-actions{margin-top:8px;display:flex}.entry-actions .icon-button{width:42px;height:42px}.danger-text{color:#8b302d}.profile-grid{grid-template-columns:1.2fr 1fr;align-items:start;gap:20px;display:grid}.profile-grid .card>p{margin-top:14px}.profile-side{flex-direction:column;gap:20px;display:flex}.profile-side .button{margin-top:20px}.privacy-icon{color:var(--green);margin-bottom:16px}.profile-grid .form-actions{flex-wrap:wrap}.profile-grid .form-actions .button{margin-top:0}.install-page{width:min(100%,1040px);min-height:100svh;padding:max(24px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));flex-direction:column;justify-content:center;gap:24px;margin:auto;display:flex}.install-card{background:#fffdfa;border:1px solid #fff;border-radius:32px;grid-template-columns:.95fr 1.05fr;display:grid;overflow:hidden;box-shadow:0 22px 70px -30px #27584650}.install-art{background:var(--peach);align-items:center;display:flex;position:relative;overflow:hidden}.install-art .welcome-image{object-fit:cover;height:100%}.install-art-badge{white-space:nowrap;color:var(--green);box-shadow:var(--shadow);background:#fffffff2;border-radius:30px;align-items:center;gap:8px;padding:12px 18px;font-size:.85rem;display:flex;position:absolute;bottom:28px;left:50%;transform:translate(-50%)}.install-content{min-width:0;padding:42px 36px}.install-content .eyebrow,.install-instructions h2{align-items:center;gap:8px;display:flex}.install-content h1{outline:none;margin:14px 0 16px;font-size:clamp(2rem,4vw,3rem)}.install-body{color:var(--muted);font-size:.95rem}.install-benefits{flex-wrap:wrap;gap:8px;margin:22px 0;display:flex}.install-benefits span{background:var(--mint);border-radius:10px;padding:8px 11px;font-size:.75rem}.install-benefits span+span{background:var(--lavender)}.install-actions{gap:10px;display:grid}.install-actions .button{min-height:50px}.install-skip{min-height:44px;color:var(--muted);text-underline-offset:4px;background:0 0;border:0;border-radius:10px;justify-self:center;padding:10px 20px;font-size:.85rem;text-decoration:underline}.install-skip:hover{color:var(--green);background:var(--mint)}.install-note,.install-content .fine-print,.install-instructions p,.install-error{color:var(--muted);margin-top:14px;font-size:.75rem}.install-instructions{background:var(--mint);border-radius:16px;margin-bottom:20px;padding:18px;scroll-margin:20px}.install-instructions ol{margin:14px 0 0;padding-left:22px;font-size:.85rem;line-height:1.5}.install-instructions li+li{margin-top:10px}.install-error{color:#9c3423;margin-bottom:14px}@media (width<=760px){.install-page{padding:max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));gap:16px}.install-card{border-radius:24px;grid-template-columns:1fr}.install-art{height:clamp(130px,24svh,210px)}.install-art .welcome-image{object-position:center 54%}.install-art-badge{padding:9px 13px;font-size:.75rem;bottom:14px}.install-content{padding:22px}.install-content h1{margin:10px 0 12px;font-size:clamp(1.8rem,8vw,2.25rem)}.install-body{font-size:.85rem}.install-benefits{margin:16px 0}}@media (width<=360px){.install-art{height:105px}.install-content{padding:18px}.install-content h1{font-size:1.65rem}.install-benefits{display:none}.install-actions{margin-top:18px}}.welcome{grid-template-columns:1fr 1fr;align-items:center;gap:55px;max-width:980px;min-height:100vh;margin:auto;padding:40px;display:grid;position:relative}.welcome>.brand{position:absolute;top:36px;left:40px}.welcome-art{background:var(--peach);border-radius:44px;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 60px -24px #b67a4a50}.welcome-image{aspect-ratio:1/1.1;border-radius:0;width:100%;max-width:none}.art-label{color:var(--green);box-shadow:var(--shadow);background:#ffffffed;border-radius:30px;padding:10px 18px;font-size:.8rem;position:absolute;bottom:40px}.welcome-copy h1{font-size:2.8rem;line-height:1.06}.welcome-copy>p:not(.eyebrow){color:var(--muted);margin-top:22px;font-size:.9rem}.welcome-copy>.button{margin-top:24px}.preview-info{background:var(--mint);border:1px solid #cfe4d7;border-radius:14px;margin-top:24px;padding:16px;font-size:.8rem}.preview-info strong{font-weight:600}.preview-info p{color:var(--muted);margin-top:7px;font-size:.78rem}.captcha{margin-top:20px}.native-existing-progress{color:var(--muted);margin:18px 0;font-size:.85rem}.native-existing-progress summary{cursor:pointer;color:var(--green)}.native-existing-progress p{margin-top:10px}.onboarding{max-width:620px;margin:0 auto;padding:34px 28px}.onboarding>.brand{margin-bottom:46px}.onboarding-heading p:not(.eyebrow){color:var(--muted);margin-top:14px;font-size:.9rem}.step-track{gap:8px;margin:28px 0;display:flex}.step-track span{background:var(--track);border-radius:5px;flex:1;height:4px}.step-track .active{background:var(--green)}.onboarding-card{padding:28px}.onboarding-card .muted{margin-top:16px}.goal-options{flex-direction:column;gap:12px;margin:24px 0;display:flex}.goal-option{border:1px solid var(--line);text-align:left;background:#fff;border-radius:13px;align-items:center;gap:14px;padding:18px;display:flex}.goal-option.selected{border-color:var(--green);background:var(--mint);box-shadow:inset 0 0 0 1px var(--green)}.goal-option>span:nth-child(2){flex:1}.goal-option strong{font-size:.86rem;font-weight:550;display:block}.goal-option small{color:var(--muted);margin-top:7px;font-size:.74rem;display:block}.goal-icon{color:var(--green);place-items:center;display:grid}.segmented{border:1px solid var(--line);border-radius:12px;gap:4px;margin-top:22px;padding:4px;display:flex}.segmented button{background:0 0;border:0;border-radius:8px;flex:1;min-height:48px;padding:12px 8px;font-size:.79rem}.segmented button[aria-pressed=true]{background:var(--green);color:#fff}.estimate-box{background:#eff3e7;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;padding:18px;display:flex}.estimate-box span{color:var(--muted);font-size:.8rem}.estimate-box strong{font-size:1.25rem}.estimate-box small{font-size:.75rem}@media (width<=760px){.app-shell{padding:0 20px}.app-header{gap:12px;height:82px}.brand{font-size:1rem}.brand-icon{padding:7px}.desktop-add{display:none}.account-badge{max-width:175px;font-size:.65rem}.main-content{padding-top:18px;padding-bottom:110px}.page-heading{border-radius:24px;align-items:center;gap:14px;margin-bottom:20px;padding:22px 18px}.page-heading h1{font-size:1.65rem}.page-heading-content>div>p:not(.eyebrow){max-width:340px;margin-top:10px;font-size:.83rem}.page-heading .screen-artwork{border-radius:16px;width:31%;max-width:120px}.page-heading-content>.date-control{margin-top:16px}.date-control{align-self:flex-start}.dashboard-grid{grid-template-columns:1fr;gap:16px}.energy-card{padding:22px}.energy-ring{margin:20px auto 18px}.macros-card{padding:24px}.macros-card h2{margin-bottom:25px;font-size:1.1rem}.macros{gap:22px}.macros-card .text-link{padding-top:22px}.meal-section{margin-top:28px}.meal-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.meal-card{padding:17px}.meal-top{margin-bottom:12px}.section-heading>.text-link{white-space:nowrap;font-size:.72rem}.section-heading p{font-size:.76rem}.gentle-note{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:18px}.gentle-note>div{flex:1}.gentle-note .button{width:100%;margin-top:8px}.bottom-nav{z-index:10;border:1px solid var(--line);max-width:none;padding:11px 10px calc(11px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;justify-content:space-around;gap:0;margin:0;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-width:54px}.app-footer{display:none}.card{border-radius:18px}.food-form{padding:22px 18px}.form-grid{gap:0 14px}.field label{font-size:.75rem}.form-actions .button{padding:12px 14px;font-size:.8rem}.portion-preview p{font-size:.7rem}.diary-summary{flex-wrap:wrap;gap:12px;padding:20px}.diary-summary>strong{width:100%;margin-bottom:4px}.diary-summary>span{flex:1}.diary-meal{padding:22px 18px}.entry-main p{max-width:200px}.profile-grid{grid-template-columns:1fr}.profile-grid>.card,.profile-side .card{padding:24px 20px}.welcome{flex-direction:column;align-items:stretch;gap:26px;max-width:430px;padding:30px 25px;display:flex}.welcome>.brand{position:static}.welcome-art{border-radius:28px;min-height:0}.welcome-image{aspect-ratio:3/2}.art-label{bottom:23px}.welcome-copy h1{font-size:2.3rem}.welcome-copy>p:not(.eyebrow){margin-top:16px}.onboarding{padding:28px 20px 50px}.onboarding>.brand{margin-bottom:34px}.onboarding-card{padding:25px 19px}.goal-option{padding:17px 14px}.offline-banner{font-size:.74rem}.date-label input{font-size:16px}}@media (width<=370px){.app-shell{padding:0 14px}.brand{font-size:.92rem}.account-badge{max-width:145px}.form-grid{grid-template-columns:1fr}.meal-card{padding:14px}.welcome-copy h1{font-size:2.1rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.progress-totals{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px;display:grid}.progress-totals .card:first-child{background:var(--mint)}.progress-totals .card:nth-child(2){background:var(--lavender)}.progress-totals .card:nth-child(3){background:var(--peach)}.glucose-introduction,.glucose-reminder{align-items:center;gap:18px;margin:20px 0;padding:22px;display:flex}.glucose-introduction .button,.glucose-reminder .button{flex-shrink:0}.glucose-form,.glucose-preferences,.glucose-summary,.glucose-food-context,.glucose-information,.glucose-erasure{margin:24px 0;padding:28px}.glucose-fields{border:0;min-width:0;margin:22px 0 0;padding:0}.glucose-preferences p,.glucose-information p,.glucose-food-context p,.glucose-summary p{margin:14px 0}.glucose-preferences .check-field{margin:22px 0}.glucose-days{border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;gap:10px 20px;margin:20px 0;padding:16px;display:flex}.glucose-days label{align-items:center;gap:8px;min-height:44px;font-size:.83rem;display:flex}.glucose-days input{width:20px;height:20px;accent-color:var(--green)}.glucose-summary .field{max-width:360px;margin-top:20px}.glucose-summary-values{grid-template-columns:1fr 1fr;gap:24px;display:grid}.glucose-summary-values strong{font-size:1.35rem}.glucose-record small{overflow-wrap:anywhere}.glucose-food-context ul{padding-left:20px}.glucose-food-context li{margin:8px 0}.glucose-information .text-link{margin-top:16px;display:block}.glucose-settings-details>summary{cursor:pointer;min-height:44px;padding:14px 0;font-weight:600}.glucose-safety{background:#f4eedf;border-left:3px solid #947222;border-radius:8px;padding:16px 20px;font-size:.82rem;line-height:1.7}.glucose-history{margin-top:24px}@media (width<=600px){.glucose-introduction,.glucose-reminder{flex-direction:column;align-items:stretch;padding:22px 18px}.glucose-form,.glucose-preferences,.glucose-summary,.glucose-food-context,.glucose-information,.glucose-erasure{padding:24px 18px}.glucose-summary-values{grid-template-columns:1fr;gap:14px}}.progress-totals .card{padding:24px}.progress-totals strong{letter-spacing:-.04em;font-size:1.8rem;font-weight:600}.progress-forms,.progress-history-grid{grid-template-columns:repeat(2,1fr);gap:22px;margin-top:26px;display:grid}.progress-form{padding:28px}.progress-form .field{margin-top:22px}.progress-form .button{margin-top:20px}.weight-chart{margin-top:28px;padding:28px}.weight-chart svg{width:100%;height:auto;margin-top:16px;display:block}.weight-chart svg text{fill:#52655a;font:16px system-ui,sans-serif}.weight-chart>p{margin-top:18px}.progress-history{padding:28px}.progress-history>.muted{margin-top:18px}.progress-history ul{margin:15px 0;padding:0;list-style:none}.progress-record{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:18px 0;display:flex}.progress-record:last-child{border-bottom:0}.progress-record small{color:var(--muted);margin-top:6px;font-size:.8rem;display:block}.progress-record .entry-actions{max-width:none}.food-entry-options{flex-wrap:wrap;gap:12px;margin-bottom:24px;display:flex}.food-library{max-width:780px;padding:28px}.food-tabs,.package-fractions{flex-wrap:wrap;gap:8px;margin:22px 0;display:flex}.food-tabs button,.package-fractions button{border:1px solid var(--line);color:var(--green);background:#f5f6f0;border-radius:12px;padding:11px 15px;font-size:.85rem}.food-tabs button[aria-pressed=true],.package-fractions button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.food-list{margin:0;padding:0;list-style:none}.library-food{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:16px 0;display:flex}.library-food:last-child{border-bottom:0}.food-select{flex:1;align-items:center;gap:16px;min-width:180px;padding:8px 0;display:flex}.food-select>span{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.food-select small{color:var(--muted);font-size:.8rem}.is-favourite{color:#8a6010}.library-confirm{background:#f5f6f0;border-radius:12px;flex-basis:100%;padding:18px}.library-empty p{color:var(--muted);margin-top:12px}.attribution-link{margin:20px 0;font-size:.85rem}.attribution-card,.barcode-form{max-width:780px;padding:30px}.attribution-card p{margin:20px 0}.attribution-card a:not(.button),.provider-notice a{text-underline-offset:3px;text-decoration:underline}.form-fieldset{border:0;min-width:0;margin:0;padding:0}.portion-details{color:var(--muted);margin:24px 0}.portion-details summary{cursor:pointer;padding:14px 0;font-size:.86rem}.check-field{align-items:center;gap:12px;margin-top:22px;font-size:.87rem;display:flex}.check-field input{width:20px;height:20px;accent-color:var(--green)}.provider-notice{background:#e8eddf;border:1px solid #d7e0cc;border-radius:16px;max-width:780px;margin-bottom:20px;padding:20px;font-size:.85rem}.provider-notice p{margin:8px 0}.scanner-camera{max-width:780px;margin:22px 0;padding:24px}.camera-open{margin:20px 0}.camera-frame{aspect-ratio:4/3;background:#16251e;border-radius:16px;margin:20px 0;position:relative;overflow:hidden}.camera-frame video{object-fit:cover;width:100%;height:100%}.barcode-guide{pointer-events:none;border:3px solid #d7e6a7;border-radius:12px;position:absolute;inset:30% 8%}.scanner-camera>.button{margin:16px 10px 0 0}.barcode-form>.button{margin:16px 0}.barcode-form>.text-link{margin-top:20px;display:flex}.lookup-not-found{padding:20px 0}@media (width<=600px){.progress-totals{gap:8px}.progress-totals .card{padding:18px 12px}.progress-totals .eyebrow{letter-spacing:.06em;min-height:30px;font-size:.62rem}.progress-totals strong{font-size:1.15rem}.progress-totals .fine-print{font-size:.7rem}.progress-forms,.progress-history-grid{grid-template-columns:1fr;gap:16px}.progress-form,.progress-history,.weight-chart{padding:24px 18px}.food-entry-options{flex-direction:column}.food-library,.barcode-form,.attribution-card{padding:24px 18px}.food-tabs{gap:5px}.food-tabs button{flex:1;padding:10px;font-size:.76rem}.library-actions{justify-content:flex-end;width:100%}.library-actions .icon-button{min-width:44px;min-height:44px}.entry-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100px}}.fasting-card{background:#fff7eb;border-color:#ebdfc9;margin-top:1rem;margin-bottom:1rem}.fasting-countdown{font-variant-numeric:tabular-nums;margin:1rem 0;font-size:clamp(2rem,8vw,3rem);font-weight:650;display:block}.fasting-card progress{width:100%;accent-color:var(--green)}.fasting-card--home{background:linear-gradient(120deg,#fff1dd,#f7f6e9 65%,#edf6e9);border:1px solid #d6af89;border-top:4px solid #c47a45;margin:0 0 24px;padding:22px;box-shadow:0 10px 28px -20px #805b33}.fasting-home-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.fasting-home-header>div:first-child{flex:1;min-width:0}.fasting-home-header h2{font-size:clamp(1.2rem,3vw,1.5rem);line-height:1.2}.fasting-home-eyebrow{color:#774a26;align-items:center;gap:7px;margin-bottom:7px;font-size:.75rem;font-weight:600;display:flex}.fasting-home-state{background:#fffdf3;border:1px solid #d6cfac;border-radius:9px;margin-top:10px;padding:5px 9px;font-size:.75rem;font-weight:550;display:inline-block}.fasting-home-art{flex-shrink:0;width:clamp(78px,20vw,160px)}.fasting-home-art .screen-artwork{border-radius:16px;width:100%;height:auto;display:block}.fasting-card--home .button{width:100%;margin-top:16px}.fasting-home-configure{align-items:center;gap:6px;min-height:44px;margin-top:8px;display:inline-flex}.fasting-alert{border:1px solid var(--line);background:#edf3e6;border-radius:16px;flex-direction:column;gap:.4rem;margin-bottom:1rem;padding:1rem;display:flex}.fasting-alert a{color:var(--green)}.routine-introduction{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.routine-fields{border:0;gap:1rem;min-width:0;margin:1rem 0;padding:0;display:grid}.routine-measurement-types{border:1px solid var(--line);border-radius:12px;grid-template-columns:1fr 1fr;gap:.5rem;padding:1rem;display:grid}.routine-measurement-types legend{padding:0 .3rem;font-weight:600}.routine-next,.photo-check-in,.photo-check-history,.routine-erasure{margin-top:1rem}.routine-next ul,.photo-check-history ul,.routine-reminders ul{margin:0;padding:0;list-style:none}.routine-next li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:.8rem 0;display:flex}.routine-reminders{margin-bottom:1rem}.routine-reminder-row{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 0;display:flex}.routine-reminder-row .form-actions{margin:0}.routine-reminder-row .error{width:100%}@media (width<=600px){.routine-introduction,.routine-reminder-row{flex-direction:column;align-items:flex-start}.routine-measurement-types{grid-template-columns:1fr}.routine-next li{flex-direction:column;gap:.3rem}}.photo-camera{aspect-ratio:2/3;background:#152b29;border-radius:1rem;max-width:360px;margin:1rem auto;position:relative;overflow:hidden}.photo-camera video{object-fit:contain;width:100%;height:100%;display:block}.meal-camera{aspect-ratio:1}.page-heading.compact{gap:12px;margin-bottom:16px;padding:14px 18px}.page-heading.compact h1{font-size:clamp(1.3rem,4vw,1.8rem)}.page-heading.compact .screen-artwork{border-radius:12px;width:72px}.page-heading.compact .page-heading-content>.button{margin-top:8px}.guided-capture .photo-camera{width:min(100%,36svh,320px);margin:.75rem auto}.guided-capture .meal-camera{width:min(100%,max(160px,100svh - 460px),360px)}.meal-camera video{object-fit:cover}.camera-instruction{color:var(--muted);margin:0 0 8px;font-size:.9rem}.body-framing-feedback{color:#62480c;background:#fff0d8;border-radius:12px;margin-top:12px;padding:12px 14px;font-weight:600}.body-framing-feedback.is-ready{color:#165838;background:#dff4e8}.body-shot-controls{margin:12px 0}.body-timer-options{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.body-timer-options select{border:1px solid var(--border);background:#fff;border-radius:10px;min-height:44px;margin-top:6px;padding:8px 12px;display:block}.body-shot-countdown{z-index:2;color:#2c4276;background:#ecf1fbdd;border-radius:14px;flex-direction:column;align-items:center;gap:4px;margin-top:0;padding:10px;display:flex;position:absolute;inset:12px 12px auto}.photo-camera.is-framed .photo-guide{stroke:#78e5ae}.body-shot-countdown strong{text-align:center;min-width:1em;font-size:3.5rem;line-height:1}.body-shot-countdown span{text-align:center;font-size:.85rem;line-height:1.3}.camera-guidance-details,.photo-privacy-details,.meal-photo-options,.meal-nutrition-details{margin-top:14px}.meal-capture>.text-link{margin-top:10px;display:inline-flex}.meal-capture.has-result .photo-preview{max-height:160px;margin:.5rem auto}.meal-current-result{margin:16px 0;scroll-margin-top:16px}.meal-estimate-total{color:#214a3b;background:#eaf6ed;border-radius:12px;margin:12px 0;padding:14px}.meal-estimate-total strong{font-size:1.3rem}.meal-estimate-food{margin:12px 0;padding:16px}.meal-estimate-food .field{margin-bottom:10px}.meal-photo-history>.button{margin:14px 0}.manual-barcode>.barcode-form{padding:14px 0 0}.direct-food-actions,.progress-shortcuts{flex-wrap:wrap;gap:10px;margin:16px 0 24px;display:flex}.direct-food-actions>.button{flex:1}@media (width<=600px){.meal-capture,.photo-session-form{padding:16px}.direct-food-actions>.button{padding:12px 10px;font-size:.8rem}}.photo-guide{fill:none;stroke:#f5f7f5;stroke-width:3px;stroke-dasharray:8 4;pointer-events:none;filter:drop-shadow(0 1px 2px #000);width:100%;height:100%;position:absolute;inset:0}.guide-ground{stroke:#74d8ae}.camera-placeholder{text-align:center;color:#fff;font-size:.85rem;position:absolute;bottom:3%;left:10%;right:10%}.photo-preview{object-fit:contain;border-radius:.75rem;width:100%;max-width:360px;max-height:560px;margin:1rem auto;display:block}.photo-history-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem;margin-top:1rem;display:grid}.guided-capture .field{margin-top:1rem}.photo-session,.photo-session-form{margin-bottom:1.5rem}.stored-photo{min-width:0}.body-check-in{margin-top:1.25rem}.progress-before-after{background:linear-gradient(140deg,#f1f7eb,#fff8ee)}.progress-comparison-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:.75rem;margin-bottom:1rem;display:grid}.progress-comparison-controls .body-view-options,.progress-comparison-controls .notice{grid-column:1/-1}.progress-after-date{margin:0;padding:.75rem 0}.app-settings-button{min-width:44px;min-height:44px;color:var(--ink);background:#e9eee4;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.app-header .account-badge{flex-shrink:1;min-width:0}.account-page{max-width:720px;margin:auto;padding:20px 16px 100px}.account-form{overflow-wrap:anywhere;background:linear-gradient(130deg,#f4f7eb,#fff8ed)}.account-form form+form{margin-top:1.2rem}.account-form .button{max-width:100%;margin-top:.8rem}.account-google{width:100%}.account-welcome-links{flex-wrap:wrap;align-items:center;gap:1rem;margin-top:.8rem;display:flex}.settings-card{background:linear-gradient(130deg,#f4f7eb,#fff8ed);flex-direction:column;align-items:flex-start;gap:.5rem;display:flex}.settings-card .button{margin-top:auto}.device-setup-guide{background:#f5f1fb;margin:1rem 0}.device-setup-guide ol{gap:1rem;padding-left:1.5rem;display:grid}.device-setup-guide li::marker{color:#17634b;font-weight:800}.device-setup-guide h3{margin:0 0 .3rem}.device-setup-guide p{margin:0 0 .4rem}#watch-connect,#watch-source-app,#watch-totals{scroll-margin-top:1rem}@media (width<=480px){.progress-comparison-controls{grid-template-columns:minmax(0,1fr)}}.body-comparison-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.segmented-control{background:#e9eee4;border-radius:1rem;gap:.3rem;padding:.3rem;display:flex}.segmented-control button{color:#214a3b;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.75rem;flex:1;padding:.55rem .9rem}.segmented-control button[aria-pressed=true]{color:#fff;background:#17634b;box-shadow:0 2px 5px #173c2520}.segmented-control button:disabled{opacity:.55;cursor:wait}.body-view-options{max-width:640px;margin-bottom:1rem}.progress-photo-checkin{background:linear-gradient(130deg,#f0f7fb,#faf2f5);margin-top:22px;padding:24px}.progress-photo-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.photo-session-count{color:#315c66;font-size:.85rem;font-weight:600}.progress-photo-checkin>p{margin-top:12px}.progress-photo-slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.progress-photo-slot{text-align:center;color:#24495c;background:#fffc;border:1px solid #ccdae3;border-radius:16px;justify-items:center;gap:8px;padding:14px 10px;text-decoration:none;display:grid}.progress-photo-slot.is-saved{background:#eef8f2;border-color:#5b9980}.progress-photo-slot:hover{background:#fff;border-color:#315c66}.progress-photo-slot span{font-size:.8rem}.progress-photo-outline{width:76px;height:100px;position:relative}.progress-photo-outline .photo-guide{stroke:#526f85;stroke-dasharray:none;stroke-width:5px;filter:none}.body-measurements-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;display:grid}.body-measurements-form .field{margin-top:16px}.body-measurements-form>.fine-print{margin-top:8px}.other-measurements{margin-top:22px}@media (width<=600px){.progress-photo-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-photo-checkin{padding:18px}.body-view-options{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.body-view-options button{min-height:44px}}.body-compare-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.body-compare-split.single{grid-template-columns:minmax(0,1fr);max-width:440px;margin:auto}.body-compare-split figure{background:#f5eee6;border:1px solid #e9ddce;border-radius:1rem;margin:0;overflow:hidden}.body-compare-split img{object-fit:contain;background:#182c25;width:100%;height:clamp(220px,46vw,480px);display:block}.body-compare-split figcaption{gap:.15rem;padding:.8rem;font-size:.85rem;display:grid}.body-compare-split figcaption strong{font-size:1rem}.body-compare-wipe{background:#182c25;border-radius:1rem;max-width:600px;height:clamp(320px,65vw,520px);margin:auto;position:relative;overflow:hidden}.body-compare-wipe img{object-fit:contain;width:100%;height:100%;display:block}.body-compare-top{background:#182c25;position:absolute;inset:0}.body-compare-line{pointer-events:none;border-left:3px solid #fff;position:absolute;top:0;bottom:0;box-shadow:0 0 6px #0008}.body-reveal-label{gap:.5rem;margin:1rem 0;display:grid}.body-reveal-label input{accent-color:#17634b;width:100%;min-height:44px}.body-comparison-options{margin:1rem 0}.body-feedback-summary{font-size:1.1rem;font-weight:600;line-height:1.55}.body-feedback-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.body-feedback-card{background:#e7f1e8;border-radius:1rem;padding:1rem}.body-feedback-card.focus{background:#fcebdc}.body-feedback-card.changes{background:#eae6f5}.body-feedback-card.next{background:#e7f0f2}.body-feedback-card h4{margin:0 0 .5rem}.body-feedback-card ul{margin:0;padding-left:1.1rem}.body-feedback-card li+li{margin-top:.5rem}.body-history{margin-top:1.25rem}.body-reference-note{background:#eae6f5;border-radius:.75rem;padding:.75rem}@media (width<=600px){.body-feedback-grid{grid-template-columns:1fr}.body-comparison-heading .segmented-control{width:100%}}.bodygram-panel{background:linear-gradient(135deg,#f4f0ff,#f3fbf8)}.bodygram-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;display:grid}.bodygram-metrics dt{font-size:.85rem}.bodygram-metrics dd{color:#164e3d;margin:.35rem 0;font-size:1.8rem;font-weight:750}.bodygram-account-id{overflow-wrap:anywhere}.fasting-page-layout{align-items:start;gap:1.25rem;display:grid}.sleep-entry-link{color:#383453;background:linear-gradient(115deg,#eee8fb,#f9eddf);border:1px solid #ddd9ef;border-radius:1.4rem;align-items:center;gap:1rem;margin:1.25rem 0;padding:1.2rem 1.4rem;text-decoration:none;display:flex}.sleep-entry-link>span:nth-child(2){flex:1}.sleep-entry-link strong,.sleep-entry-link small{display:block}.sleep-entry-link small{margin-top:.25rem;font-size:.85rem}.sleep-link-moon{background:#d9cff3;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.sleep-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.2rem;margin:1.6rem 0;display:flex}.sleep-heading>div{align-items:center;gap:.85rem;display:flex}.sleep-heading h1{color:#35304d;margin:0}.sleep-heading .eyebrow{color:#79668f;margin:0 0 .25rem}.sleep-heading-icon{color:#68518d;background:#e7def6;border-radius:18px;place-items:center;width:54px;height:54px;display:grid}.sleep-layout{align-items:start;gap:1.25rem;margin-bottom:1.25rem;display:grid}.sleep-night-card{color:#eee8ff;background:radial-gradient(at 90% 0,#51466c,#262638 72%);border-radius:1.8rem;flex-wrap:wrap;align-items:center;gap:1.4rem;padding:1.6rem;display:flex;position:relative;overflow:hidden}.sleep-stars{letter-spacing:1rem;color:#e5d0b5;opacity:.75;font-size:1.4rem;position:absolute;top:.75rem;right:1.5rem}.sleep-donut{border-radius:50%;flex-shrink:0;width:170px;height:170px;margin:.5rem auto;padding:10px;transform:rotate(-30deg)}.sleep-donut>div{text-align:center;background:#29283b;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;transform:rotate(30deg)}.sleep-donut svg{color:#cab9ff;margin-bottom:.35rem}.sleep-donut strong{letter-spacing:-.04em;color:#fff9ee;font-size:1.65rem}.sleep-donut span{color:#e0d5f4;margin-top:.2rem;font-size:.7rem}.sleep-night-details{flex:1;min-width:180px}.sleep-night-details h2{color:#fff8ed;margin:.4rem 0 1rem;font-size:1.25rem;line-height:1.3}.sleep-night-details .eyebrow{color:#cdbbe3;font-size:.7rem}.sleep-night-details p{font-size:.9rem}.sleep-night-details small{color:#d2c9e1;font-size:.75rem;line-height:1.45}.sleep-night-times{gap:1.4rem;display:flex}.sleep-night-times span{align-items:center;gap:.4rem;font-weight:650;display:flex}.sleep-stage-key{gap:.4rem;margin:.6rem 0;font-size:.75rem;display:grid}.sleep-stage-key i{background:#b8a6ff;border-radius:50%;width:7px;height:7px;margin-right:.35rem;display:inline-block}.sleep-stage-key span+span i{background:#edbda5}.sleep-form h2{color:#38314e;margin-top:0}.sleep-clocks{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.sleep-clock-note{color:#746c7b;margin:.3rem 0 1rem;font-size:.72rem;line-height:1.5}.sleep-form .form-fieldset{min-width:0}.sleep-quality{border:0;min-width:0;margin:.8rem 0;padding:0}.sleep-quality legend{margin-bottom:.6rem;font-size:.8rem;font-weight:650}.sleep-quality>div{grid-template-columns:repeat(5,1fr);gap:.3rem;display:grid}.sleep-quality label{text-align:center;cursor:pointer;color:#61536e;border:1px solid #e1dbe9;border-radius:.8rem;flex-direction:column;align-items:center;padding:.65rem .1rem .5rem;display:flex;position:relative}.sleep-quality input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.sleep-quality label:focus-within{outline-offset:2px;outline:3px solid #8d75b6}.sleep-quality label.selected{color:#403051;background:#e9defb;border-color:#9176bb}.sleep-quality label span{font-size:1.2rem;font-weight:700}.sleep-quality label small{margin-top:.15rem;font-size:.63rem}.sleep-quality .button{min-height:36px;padding:.3rem .1rem;font-size:.75rem}.sleep-extra summary{cursor:pointer;margin:1rem 0;font-size:.8rem;font-weight:650}.sleep-extra .field{margin-top:.9rem}.sleep-consent{color:#706477;margin:1rem 0;font-size:.73rem;line-height:1.5}.sleep-save.button{color:#fff9ef;background:#635080;border-color:#635080;width:100%}.sleep-week{margin:1.25rem 0}.sleep-week .section-heading{margin-bottom:1rem}.sleep-week .section-heading h2{color:#433650}.sleep-week .section-heading>span{color:#7d7083;font-size:.75rem}.sleep-week-bars{grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem;display:grid}.sleep-week-bars [role=listitem]{flex-direction:column;align-items:center;gap:.5rem;min-width:0;display:flex}.sleep-week-bars [role=listitem]>span{color:#6d6076;white-space:nowrap;font-size:.64rem}.sleep-bar-track{background:#f2eef7;border-radius:8px;align-items:end;width:100%;max-width:34px;height:100px;display:flex;overflow:hidden}.sleep-bar-track i{background:linear-gradient(#ac94d9,#716095);border-radius:8px;width:100%;min-height:0;display:block}.sleep-week-bars small{color:#74667d;font-size:.7rem}.sleep-context-grid{align-items:start;gap:1.25rem;margin-bottom:1.25rem;display:grid}.sleep-food .section-heading{align-items:center;gap:.75rem}.sleep-food h2{color:#41374e;align-items:center;gap:.4rem;font-size:1.15rem;display:flex}.sleep-food .text-link{white-space:nowrap;font-size:.75rem}.sleep-food-total{font-size:1.7rem;font-weight:700}.sleep-food-total small{font-size:.75rem;font-weight:400}.sleep-food-list{max-height:350px;margin:0;padding:0;list-style:none;overflow:auto}.sleep-food-list li{border-top:1px solid #eee8ef;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;font-size:.8rem;display:flex}.sleep-food-list li>span:first-child{overflow-wrap:anywhere;min-width:0}.sleep-food-list li>span:last-child{white-space:nowrap}.sleep-food-list strong,.sleep-food-list small{display:block}.sleep-food-list small{color:#786b80;margin-top:.2rem}.sleep-meal-gap{background:#f2edf8;border-radius:.8rem;padding:.8rem;font-size:.85rem}.sleep-comparison{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.sleep-comparison>div{background:#f2edf8;border-radius:1rem;padding:1rem}.sleep-comparison span,.sleep-comparison strong,.sleep-comparison small{display:block}.sleep-comparison span{font-size:.8rem;line-height:1.4}.sleep-comparison strong{margin:.6rem 0;font-size:1.5rem}.sleep-comparison small{font-size:.7rem}.sleep-history,.sleep-details{margin-top:1.25rem}.sleep-history summary,.sleep-details summary{cursor:pointer;color:#4a3d55;font-weight:650}.sleep-history ul{padding:0;list-style:none}.sleep-history li{border-top:1px solid #e7e1eb;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.65rem 0;display:flex}.sleep-history li>div:first-child{margin-right:auto}.sleep-history li>div:first-child strong,.sleep-history li>div:first-child span{display:block}.sleep-history li>div:first-child span{margin-top:.25rem;font-size:.75rem}.sleep-history .button{font-size:.8rem}.sleep-details p{font-size:.85rem;line-height:1.6}@media (width<=540px){.sleep-night-card{gap:.6rem}.sleep-donut{width:155px;height:155px}.sleep-night-details{min-width:125px}.sleep-night-details h2{font-size:1.1rem}.sleep-night-card.is-empty .sleep-donut{width:112px;height:112px}.sleep-night-card.is-empty .sleep-donut strong{font-size:1.25rem}.sleep-heading .date-control{width:100%}.sleep-layout.has-record .sleep-night-card{justify-content:center}}@media (width>=850px){.sleep-layout{grid-template-columns:1fr 1fr}.sleep-night-card{min-height:290px;padding:2rem}.sleep-context-grid{grid-template-columns:1fr 1fr}.sleep-week-bars{gap:1.5rem}.sleep-bar-track{max-width:50px}}.fasting-live-panel{color:#fff6e9;background:radial-gradient(circle at 75% 20%,#397569,#163f35 60%);border-radius:2rem;padding:1.4rem;box-shadow:0 18px 45px #173e3120}.fasting-hourglass-card{text-align:center}.fasting-hourglass-art{width:140px;margin:-.5rem auto -1rem}.fasting-hourglass-art svg{width:100%;display:block}.fasting-live-panel .eyebrow{color:#f3ce9c}.fasting-live-panel .fasting-countdown{color:#fff7ea;font-variant-numeric:tabular-nums;font-size:clamp(2rem,8vw,3.4rem)}.fasting-time-pair{color:#dce9de;justify-content:center;gap:3rem;margin:.8rem 0 1.25rem;font-size:.8rem;display:flex}.fasting-time-pair strong{color:#fff8e9;font-size:1.1rem;display:block}.fasting-body-stage{text-align:left;background:#ffffff0b;border:1px solid #ffffff25;border-radius:1.2rem;padding:1rem 1.1rem;position:relative}.fasting-body-stage h2{color:#ffdcaa;margin:.2rem 0 .5rem;font-size:1.1rem}.fasting-body-stage p{margin:.4rem 0;font-size:.95rem;line-height:1.55}.fasting-body-stage small{color:#d3dfd7;font-size:.75rem;display:block}.fasting-stage-icon{float:right;color:#efbc7c;font-size:2rem}.fasting-main-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin:1rem 0;display:flex}.fasting-main-actions .primary{color:#173f34;background:#f4c78d;border-color:#f4c78d}.fasting-live-panel .text-button{color:#fff3da}.fasting-plan-status{text-align:center;font-size:.9rem}.fasting-push-controls{text-align:center;flex-direction:column;align-items:center;gap:.55rem;display:flex}.fasting-push-controls small{color:#d9e3da;max-width:32rem;font-size:.75rem;line-height:1.45}.fasting-plan-picker h2{margin:0 0 1rem}.fasting-plan-picker fieldset{border:0;gap:1rem;margin:0;padding:0;display:grid}.fasting-plan-picker legend{margin-bottom:.65rem;font-size:.85rem}.fasting-duration-options{grid-template-columns:repeat(4,1fr);gap:.55rem;display:grid}.fasting-duration-options label{text-align:center;cursor:pointer;border:1px solid #d8ddd4;border-radius:1rem;padding:.95rem .4rem;position:relative}.fasting-duration-options input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.fasting-duration-options span{font-size:1.65rem;font-weight:750}.fasting-duration-options small{padding-left:.1rem;font-size:.9rem}.fasting-duration-options .is-selected{color:#164c36;background:#e1eddd;border-color:#48775c;box-shadow:inset 0 0 0 1px #48775c}.fasting-duration-options label:focus-within{outline-offset:3px;outline:3px solid #c98c45}.fasting-zone{text-align:center;opacity:.7;margin-top:.8rem;font-size:.75rem;display:block}.fasting-details{margin-top:1.25rem}.fasting-details p{font-size:.85rem;line-height:1.6}.fasting-details summary{cursor:pointer;font-weight:650}.hourglass-stream{animation:1s linear infinite falling-sand}@keyframes falling-sand{to{stroke-dashoffset:-10px}}@media (prefers-reduced-motion:reduce){.hourglass-stream{animation:none}}@media (width>=850px){.fasting-page-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.fasting-hourglass-art{width:180px}}[hidden]{display:none!important}.screen-sections{border:1px solid var(--line);background:#edece6;border-radius:16px;gap:4px;margin:0 0 14px;padding:4px;display:flex}.screen-sections button{min-width:0;min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:12px;flex:1;padding:8px;font-size:.875rem;font-weight:600}.screen-sections button[aria-pressed=true]{color:#fff;background:var(--green);box-shadow:0 3px 10px #12574420}.compact-disclosure{margin:12px 0}.compact-disclosure>summary,.device-help>summary{cursor:pointer;min-height:48px;color:var(--green);align-items:center;gap:8px;font-weight:600;display:flex}.compact-disclosure>summary:before,.device-help>summary:before{content:"+";width:18px;font-size:1.2rem}.compact-disclosure[open]>summary:before,.device-help[open]>summary:before{content:"−"}.compact-profile.profile-grid,.compact-fasting.fasting-page-layout{max-width:680px;margin-inline:auto;display:block}.settings-grid{grid-template-columns:1fr;gap:10px;display:grid}.settings-row{align-items:center;gap:14px;min-height:84px;padding:16px 18px;display:flex}.settings-row>span:nth-child(2){flex:1;min-width:0}.settings-row strong,.settings-row small{display:block}.settings-row small{color:var(--muted);margin-top:4px;font-size:.84rem;line-height:1.4}.settings-row-icon{color:var(--green);background:var(--mint);border-radius:14px;padding:12px}.settings-row:nth-child(2) .settings-row-icon{background:var(--lavender)}.settings-row:nth-child(3) .settings-row-icon{background:var(--peach)}.fasting-quick{background:linear-gradient(110deg,#fff2de,#f7dfcf);margin:0 0 12px;padding:12px 16px}.fasting-quick-link{align-items:center;gap:12px;min-height:48px;display:flex}.fasting-quick-link>span{flex:1}.fasting-quick-link strong,.fasting-quick-link small{display:block}.fasting-quick-link small{color:var(--muted);margin-top:4px;font-size:.8rem}.fasting-quick-link output{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:650}.fasting-quick>.button{width:100%;margin-top:8px}.home-quick-links{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.home-quick-links .sleep-entry-link{border-radius:16px;gap:8px;min-height:52px;margin:0;padding:12px}.home-quick-links .sleep-entry-link small,.home-quick-links .sleep-entry-link>svg{display:none}.home-quick-links .sleep-link-moon{width:30px;height:30px}.home-quick-links .sleep-entry-link strong{font-size:.875rem}.home-checkins{gap:12px;display:grid}.home-screen .meal-section{margin-top:8px}.home-screen .meal-section .section-heading{display:none}.progress-weight-panel>.progress-form{margin-bottom:12px}.progress-weight-panel .progress-totals{gap:8px;margin-top:0}.progress-weight-panel .progress-totals .card{padding:12px}.progress-weight-panel .progress-totals .fine-print{margin-top:5px}.progress-weight-panel .progress-totals strong{font-size:1.25rem}.progress-weight-panel .weight-chart{margin-top:12px}.progress-photo-checkin>.button{margin-top:8px}.sleep-log-panel{max-width:680px;margin-inline:auto}.device-help{margin:0 0 12px}@media (width<=720px){.app-shell{padding-inline:16px}.app-header{gap:10px;height:58px}.app-header .brand{font-size:1rem}.app-header .brand-icon{padding:7px}.app-header .account-badge{font-size:.7rem}.main-content{padding-top:12px;padding-bottom:calc(94px + env(safe-area-inset-bottom));min-height:0}.app-shell{min-height:100dvh}.page-heading{border-radius:20px;gap:12px;min-height:76px;margin-bottom:12px;padding:12px 14px}.page-heading h1{font-size:1.45rem;line-height:1.16}.page-heading-content>div>p:not(.eyebrow),.page-heading-content .eyebrow{display:none}.page-heading .screen-artwork{object-fit:cover;border-radius:14px;width:64px;max-width:64px;height:64px}.page-heading-content>.date-control{margin-top:6px}.date-control{padding:0}.date-control .icon-button{width:48px;height:48px}.page-heading-content>.button{margin-top:8px;padding:8px 12px}.button,.icon-button,.text-link{min-height:48px}.icon-button{min-width:48px}.card{border-radius:20px;padding:16px}.fine-print{margin-top:10px;font-size:.8125rem;line-height:1.45}.field label{font-size:.875rem}.field input,.field select{min-height:48px}.bottom-nav{padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.bottom-nav a{min-height:48px}.home-screen .page-heading{min-height:94px}.home-screen .dashboard-grid{grid-template-columns:1fr 1fr;gap:10px}.home-screen .energy-card,.home-screen .macros-card{padding:12px}.home-screen .energy-card h2{font-size:.875rem}.home-screen .energy-card .section-heading>svg{display:none}.home-screen .energy-ring{width:112px;height:112px;margin:12px auto}.home-screen .ring-centre{width:96px;height:96px}.home-screen .ring-centre strong{font-size:1.8rem}.home-screen .ring-centre span{font-size:.75rem}.home-screen .target-line{text-align:center;margin-top:8px;padding-top:8px;font-size:.8125rem;display:block}.home-screen .target-line strong{margin-top:3px;display:block}.home-screen .balance{font-size:.8125rem;line-height:1.4}.home-screen .macros-card>h2,.home-screen .macros-card>.eyebrow,.home-screen .macros-card>.text-link{display:none}.home-screen .macros{gap:16px;margin-top:4px}.home-screen .macro-heading{margin-bottom:6px;font-size:.8125rem;display:block}.home-screen .macro-heading>span{margin-bottom:4px}.home-screen .macro-heading strong{font-size:.875rem;display:block}.home-screen .direct-food-actions{gap:10px;margin:0 0 12px}.home-screen .direct-food-actions .button{padding:10px 8px;font-size:.8125rem}.progress-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-totals .eyebrow{letter-spacing:.04em;margin-bottom:6px;font-size:.65rem}.progress-weight-panel .weight-chart svg{max-height:170px}.progress-weight-panel>.fine-print{margin-top:8px;font-size:.8125rem}.progress-form h2,.profile-grid h2{font-size:1rem}.body-measurements-grid{grid-template-columns:1fr 1fr;gap:0 12px}.body-measurements-form .field{margin-top:8px}.body-measurements-form>.fine-print{margin-bottom:6px}.progress-photo-slots{gap:8px}.progress-photo-slot{min-height:138px;padding:10px 4px}.progress-photo-outline{height:80px}.progress-photo-slot strong{font-size:.8125rem}.compact-profile.profile-grid>.card,.compact-profile .profile-side .card{padding:16px}.compact-profile .profile-side{gap:12px}.compact-profile .profile-side p{font-size:.875rem}.form-grid{gap:0 12px}.form-grid .field{margin-top:12px}.sleep-heading{gap:10px;margin:0 0 12px}.sleep-heading h1{font-size:1.55rem}.sleep-heading .eyebrow{display:none}.sleep-heading .date-control{margin-top:8px}.sleep-heading-icon{width:40px;height:40px}.sleep-log-panel .sleep-form{padding:16px}.sleep-clocks{gap:12px}.sleep-clock-note{font-size:.75rem}.sleep-quality>div{gap:4px}.sleep-quality label{min-height:64px;padding:8px 2px}.sleep-consent{margin-top:12px;font-size:.8125rem;line-height:1.4}.sleep-night-card{gap:12px;min-height:0;padding:16px}.sleep-donut{width:136px;height:136px}.sleep-donut>div{width:116px;height:116px}.sleep-night-details{margin:0}.fasting-hourglass-art{width:112px;margin:0 auto}.fasting-hourglass-art svg{max-height:110px}.compact-fasting .fasting-live-panel{padding:16px}.fasting-hourglass-card{padding:0}.fasting-hourglass-card .fasting-countdown{margin:8px 0;font-size:2.6rem}.fasting-hourglass-card>.eyebrow{margin:8px 0}.fasting-time-pair{margin-top:10px}.fasting-body-stage{margin-top:14px;padding-top:12px}.fasting-body-stage p{font-size:.875rem;line-height:1.4}.fasting-body-stage small{font-size:.8125rem;line-height:1.4}.fasting-main-actions{margin:10px 0}.fasting-main-actions .button{flex:1}.fasting-details{margin-top:12px}.glucose-safety{margin-bottom:12px;padding:10px 12px;font-size:.8125rem}.diary-summary{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;padding:12px 16px;display:grid}.diary-summary>strong{grid-column:1/-1;margin:0;font-size:1.5rem}.diary-summary>span{font-size:.8125rem}.diary-meals{gap:10px}.diary-meal{padding:10px 14px}.diary-meal .section-heading{gap:8px}.diary-meal h2{flex:1;font-size:1rem}.diary-meal .section-heading>.text-link{font-size:.8125rem}.entry-row{gap:8px}.welcome{justify-content:center;gap:16px;min-height:100dvh;padding:20px 24px}.welcome-art{border-radius:24px;max-height:135px}.welcome-image{aspect-ratio:3;object-fit:cover}.art-label,.welcome-copy .eyebrow{display:none}.welcome-copy h1{font-size:2rem}.welcome-copy>p:not(.eyebrow){margin-top:10px}.welcome-copy>.button{margin-top:12px}.native-existing-progress{margin:12px 0}.welcome-copy .privacy-line{margin-top:12px}}@media (width<=370px){.app-shell{padding-inline:12px}.screen-sections button{padding:6px 3px;font-size:.8125rem}.home-screen .dashboard-grid{gap:8px}.home-screen .energy-ring{width:100px;height:100px}.home-screen .ring-centre{width:86px;height:86px}.page-heading .screen-artwork{width:52px;height:52px}.app-header .account-badge{max-width:114px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.heading-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.heading-title-row h1{min-width:0}@media (width<=720px){.home-screen .dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}.home-screen .energy-ring{width:max(112px,7rem);height:max(112px,7rem)}.home-screen .ring-centre{width:calc(100% - 16px);height:calc(100% - 16px)}.home-screen .macro-heading>span,.screen-sections button{overflow-wrap:anywhere}.bottom-nav a{text-align:center;flex:1;min-width:0}.bottom-nav a>span{overflow-wrap:anywhere}.body-measurements-form .field,.compact-profile .field{margin-bottom:12px}}:root{--shadow:0 10px 32px -22px #173e3538}.button,.icon-button,.text-link,summary{-webkit-tap-highlight-color:transparent}.button,.icon-button,.screen-sections button,.food-tabs button,.bottom-nav a{transition:background .16s,color .16s,box-shadow .16s,transform .16s}.button:active:not(:disabled),.icon-button:active:not(:disabled),.bottom-nav a:active{transform:scale(.97)}.button.primary{background:linear-gradient(135deg,#17644d,#125744)}.card{box-shadow:var(--shadow)}.page-heading{box-shadow:none;border-color:#0000}.page-heading .screen-artwork{box-shadow:0 6px 18px -12px #183d3745}.screen-sections{background:#eaece5;border-color:#e3e7dd}.screen-sections button[aria-pressed=true]{box-shadow:0 3px 10px #143f3220}.app-header .brand{white-space:nowrap}.bottom-nav{box-shadow:0 -8px 35px -24px #173e3550}.bottom-nav .add-nav-icon{background:linear-gradient(145deg,#d66a45,#ae472f);box-shadow:0 5px 14px -6px #99442f88}.skip-link{z-index:100;max-width:calc(100% - 24px);color:var(--green);background:#fff;border-radius:14px;padding:14px 20px;position:fixed;top:12px;left:12px}.skip-link:not(:focus-visible){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;overflow:hidden}.main-content:focus{outline:none}.nutrition-overview{color:#fff8ec;background:radial-gradient(at 100% 0,#386c58,#0000 70%),#153f34;border-radius:26px;margin-bottom:12px;padding:16px 20px;box-shadow:0 12px 28px -18px #153f3470}.nutrition-topline{justify-content:space-between;align-items:center;gap:8px;margin-top:-8px;display:flex}.nutrition-topline h2{color:#daebdf;letter-spacing:0;font-size:.875rem;font-weight:550}.nutrition-topline .icon-button{color:#e0eddc;width:48px;height:48px}.nutrition-topline .icon-button:hover{background:#ffffff15}.nutrition-energy{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));align-items:center;gap:8px;display:grid}.nutrition-balance{gap:2px;display:grid}.nutrition-balance>strong{letter-spacing:-.06em;font-variant-numeric:tabular-nums;font-size:clamp(2.2rem,8vw,3.3rem);font-weight:650;line-height:1.05}.nutrition-balance>span{color:#f5d39d;font-size:.875rem}.nutrition-balance>p{color:#ccdfd1;margin-top:7px;font-size:.75rem}.home-screen .nutrition-overview .energy-ring{background:0 0;border-radius:0;width:max(112px,7rem);height:max(112px,7rem);margin:0 auto;position:relative}.energy-ring>svg{width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.energy-ring-track,.energy-ring-fill{fill:none;stroke-width:7px}.energy-ring-track{stroke:#ffffff25}.energy-ring-fill{stroke:#edc88e;stroke-linecap:round;transition:stroke-dashoffset .45s}.home-screen .nutrition-overview .ring-centre{color:#fff8ec;background:0 0;width:auto;height:auto;position:absolute;inset:0}.home-screen .nutrition-overview .ring-centre strong{font-variant-numeric:tabular-nums;font-size:1.55rem}.home-screen .nutrition-overview .ring-centre span{color:#d2e2d6;font-size:.65rem}.nutrition-macros{border-top:1px solid #ffffff20;grid-template-columns:repeat(auto-fit,minmax(min(100%,5rem),1fr));gap:14px;margin-top:14px;padding-top:12px;display:grid}.nutrition-macros .macro{min-width:0}.nutrition-macro-name{color:#e3eee2;overflow-wrap:anywhere;align-items:center;gap:5px;font-size:.75rem;display:flex}.nutrition-macro-name i{background:#cbbaf3;border-radius:50%;flex:none;width:6px;height:6px}.nutrition-macros .carbohydrate i{background:#ffc694}.nutrition-macros .fat i{background:#a4d9ef}.nutrition-macros strong{font-variant-numeric:tabular-nums;margin:5px 0;font-size:1.12rem;display:block}.nutrition-macros strong small{color:#d2e2d6;font-size:.75rem}.nutrition-macros progress{accent-color:#cbbaf3;background:#ffffff25;border:0;border-radius:9px;width:100%;height:5px;display:block;overflow:hidden}.nutrition-macros progress::-webkit-progress-bar{background:#ffffff25}.nutrition-macros progress::-webkit-progress-value{background:#cbbaf3;border-radius:9px}.nutrition-macros progress::-moz-progress-bar{background:#cbbaf3}.nutrition-macros .carbohydrate progress{accent-color:#ffc694}.nutrition-macros .carbohydrate progress::-webkit-progress-value{background:#ffc694}.nutrition-macros .carbohydrate progress::-moz-progress-bar{background:#ffc694}.nutrition-macros .fat progress{accent-color:#a4d9ef}.nutrition-macros .fat progress::-webkit-progress-value{background:#a4d9ef}.nutrition-macros .fat progress::-moz-progress-bar{background:#a4d9ef}.nutrition-macros .macro>small{color:#ccdfd1;margin-top:5px;font-size:.7rem;display:block}.home-screen .fasting-quick{box-shadow:none;border:1px solid #ebd1b6;border-left:4px solid #cb8d56}.home-screen .direct-food-actions .button{border-radius:18px}.home-screen .direct-food-actions .button:first-child{color:#40345c;box-shadow:none;background:linear-gradient(125deg,#e6dff6,#f3eafa);border-color:#e2d7ed}.home-screen .direct-food-actions .button:last-child{background:#fff}.meal-picker,.quantity-shortcuts{grid-template-columns:repeat(auto-fit,minmax(min(100%,4rem),1fr));gap:6px;margin-bottom:12px;display:grid}.meal-picker button,.quantity-shortcuts button{color:#52625a;overflow-wrap:anywhere;background:#fff;border:1px solid #e2e5dc;border-radius:13px;flex:1;min-width:0;min-height:48px;padding:8px;font-size:.8125rem;font-weight:550}.meal-picker button[aria-pressed=true],.quantity-shortcuts button[aria-pressed=true]{color:#125744;background:#e2f2e9;border-color:#8fba9e;box-shadow:inset 0 0 0 1px #8fba9e}.food-library-screen .food-entry-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,5rem),1fr));gap:8px;margin-bottom:14px;display:grid}.food-library-screen .food-entry-options .button{overflow-wrap:anywhere;flex-direction:column;gap:7px;min-height:80px;padding:12px 6px}.food-entry-options .photo-option{color:#52406f;background:linear-gradient(135deg,#e6def7,#f1eafa);border-color:#e1d5ee}.food-entry-options .manual-option{color:#794822;background:linear-gradient(135deg,#fff0df,#fbeddf);border-color:#efddc9}.food-library-screen .food-library{padding:16px}.food-search{position:relative}.food-search .field{margin:0 0 12px}.food-search .field label{padding-bottom:7px;display:block}.food-search input{background:#f6f8f2;border-radius:15px;padding-left:42px;padding-right:44px}.food-search input::-webkit-search-cancel-button{display:none}.food-search-icon{color:#66766c;pointer-events:none;position:absolute;bottom:15px;left:13px}.search-clear{width:48px;height:48px;position:absolute;bottom:0;right:0}.food-result-count{color:var(--muted);margin:10px 0;font-size:.78rem}.food-tabs{border-bottom:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,4rem),1fr));gap:5px;margin:8px 0;display:grid}.food-tabs button{overflow-wrap:anywhere;background:0 0;border:0;border-radius:11px;flex:1;min-width:0;min-height:48px;padding:7px 5px}.food-tabs button[aria-pressed=true]{color:var(--green);box-shadow:none;background:#edf4e8}.library-food{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:10px 0;display:grid}.food-select{gap:10px;min-width:0;min-height:58px}.food-select>span.food-avatar{color:#315d43;background:#e7f1e8;border-radius:12px;flex:none;place-items:center;width:40px;height:44px;font-size:1.1rem;font-weight:650;display:grid}.library-food:nth-child(3n+2) .food-avatar{color:#80512a;background:#f8e9d8}.library-food:nth-child(3n+3) .food-avatar{color:#62507e;background:#ebe5f6}.food-select>span:not(.food-avatar){flex:1;min-width:0}.food-select strong{overflow-wrap:anywhere;font-size:.9rem}.food-select>svg{display:none}.library-actions{gap:0;display:flex}.library-actions .icon-button{width:48px;min-width:48px;height:48px}.library-confirm{background:#fdf3e9;border-radius:14px;grid-column:1/-1;padding:12px}.food-options{position:relative}.food-options>summary{list-style:none}.food-options>summary::-webkit-details-marker{display:none}.food-options-panel{z-index:5;border:1px solid var(--line);background:#fff;border-radius:14px;min-width:150px;padding:6px;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #173e3525}.food-options-panel>a,.food-options-panel>button{text-align:left;background:#fff;border:0;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 12px;font-size:.875rem;display:flex}.food-options-panel>:hover{background:#f4f6ef}.empty-food-icon{color:#66816b;background:#eaf1e5;border-radius:20px;place-items:center;width:58px;height:58px;margin:0 auto 12px;display:grid}.library-empty{text-align:center;padding:28px 16px}.library-empty h2{font-size:1rem}.library-empty p{max-width:32ch;margin:8px auto 0;font-size:.875rem}.quantity-shortcuts{margin-top:8px}.diary-meal-icon{color:#916233;background:#fff0db;border-radius:11px;justify-content:center;align-items:center;min-width:34px;height:34px;display:inline-flex}.diary-meal-icon.lunch{color:#54733c;background:#e7f1e0}.diary-meal-icon.dinner{color:#6a5592;background:#ebe6f7}.diary-meal-icon.snack{color:#a05c3c;background:#f9e6dd}.entry-edit-link{align-items:center;gap:4px;min-height:48px;display:inline-flex}.entry-edit-link strong{overflow-wrap:anywhere}.entry-edit-link>svg{color:#75867a}.entry-main>p{color:#647168;font-size:.75rem;line-height:1.4}.diary-summary{background:linear-gradient(115deg,#eef6eb,#fff7e9);border-color:#dfe9d9}.diary-summary>span{padding:4px 0}.diary-summary b{font-variant-numeric:tabular-nums}.chart-empty{color:#78917b;align-items:center;gap:12px;padding-top:16px;display:flex}.chart-empty>svg{flex:0 0 28px;width:28px;height:28px;margin:0}.chart-empty>p{overflow-wrap:anywhere;flex:1;min-width:0;margin:0}.weight-chart{background:linear-gradient(140deg,#fff,#f8fbf5)}.app-feedback{z-index:60;inset-inline:16px;bottom:calc(88px + env(safe-area-inset-bottom));pointer-events:none;justify-content:center;display:grid;position:fixed}.feedback-message{pointer-events:auto;color:#fff8ec;background:#153f34;border:1px solid #4c7d60;border-radius:18px;align-items:center;gap:10px;max-width:min(100%,440px);padding:6px 6px 6px 16px;display:flex;box-shadow:0 8px 25px #153f3430}.feedback-message span{flex:1;font-size:.875rem}.feedback-message>svg{color:#c9e8ae}.feedback-message .icon-button{color:#ecf5e8;width:48px;height:48px}.feedback-message .icon-button:hover{background:#ffffff15}@media (width<=720px){.app-header{flex-wrap:wrap;height:auto;min-height:58px;padding-block:6px}.app-header .brand{white-space:normal;overflow-wrap:anywhere;flex-shrink:0;max-width:100%}.app-header .account-badge{flex:1 1 0;min-width:5rem;max-width:12rem}.main-content{padding-bottom:calc(5rem + 48px + env(safe-area-inset-bottom))}.date-control{max-width:100%}.date-label{flex:1;min-width:0}.date-label span{white-space:normal;overflow-wrap:anywhere}.app-feedback{bottom:calc(5rem + 24px + env(safe-area-inset-bottom))}.home-screen .page-heading{padding:10px 14px}.home-screen .direct-food-actions{gap:8px}.nutrition-overview{padding:12px 16px 14px}.nutrition-overview .nutrition-topline{margin-top:-8px}.nutrition-macros{margin-top:8px;padding-top:10px}.nutrition-macros strong{margin:3px 0}.home-screen .fasting-quick{padding:8px 12px}.home-screen .fasting-quick strong{font-size:.9rem}.home-screen .fasting-quick small{font-size:.75rem}.home-screen .home-quick-links{gap:8px}.diary-meal .section-heading{gap:7px}.diary-meal .section-heading .muted{font-size:.75rem}.entry-actions{flex-wrap:nowrap;max-width:none}.entry-end .icon-button{width:48px;height:48px}.settings-row{border-color:#e2e8dd}}@media (width>=900px){.nutrition-energy{grid-template-columns:1fr 140px}.nutrition-overview{max-width:680px;margin-inline:auto}.food-library-screen{max-width:760px;margin-inline:auto}.app-feedback{bottom:24px}}@media (prefers-reduced-motion:no-preference){.route-view{animation:.18s ease-out screen-arrive}.feedback-message{animation:.18s ease-out feedback-arrive}@keyframes screen-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes feedback-arrive{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}@media (prefers-reduced-motion:reduce){.energy-ring-fill{transition:none}}.language-control{z-index:150;color:#173f35;background:#fff;border:1px solid #d7ded6;border-radius:14px;align-items:center;gap:5px;min-width:52px;min-height:44px;padding:8px;display:flex;position:fixed;inset-block-start:max(10px, env(safe-area-inset-top));inset-inline-end:max(12px,50vw - 590px);box-shadow:0 3px 12px #173f3510}.language-control select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.language-control:focus-within{outline-offset:3px;outline:3px solid #a8442c}.language-flag{border-radius:2px;width:24px;height:16px;overflow:hidden;box-shadow:0 0 0 1px #173f3522}.language-flag svg{width:100%;height:100%;display:block}.language-code{font-size:.65rem;font-weight:750}.app-header{padding-inline-end:80px}
