@font-face{font-family:Heebo;src:url('/assets/fitness/fonts/Heebo-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Heebo;src:url('/assets/fitness/fonts/Heebo-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Heebo;src:url('/assets/fitness/fonts/Heebo-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Heebo;src:url('/assets/fitness/fonts/Heebo-800.ttf') format('truetype');font-weight:800 900;font-display:swap}
:root{--ink:#211638;--muted:#766c86;--paper:#faf8ff;--line:#eee8f5;--lilac:#eee7fb;--shadow:0 6px 22px #33204404;font-family:Heebo,sans-serif}
body{background:var(--paper)}button{min-height:44px;border-radius:12px;font-weight:700}button.secondary{background:var(--lilac);color:var(--ink)}.brand-mark{border-radius:50%;background:linear-gradient(145deg,#ffcda4 20%,#f29f83 65%,var(--accent));color:transparent;width:36px;height:36px}.brand-mark:after{content:'';width:28px;height:15px;background:#ffce9c99;border-radius:50%;transform:rotate(-35deg)}
.layout{max-width:1600px;grid-template-columns:168px minmax(0,1fr)}.sidebar{background:#fdfbff;border-color:var(--line);padding:28px 15px;gap:30px}.sidebar .brand{font-size:16px;flex-wrap:wrap;justify-content:center}.sidebar nav{gap:14px}.sidebar nav button{padding:16px 10px;font-size:15px;color:var(--ink)}.sidebar nav button.active{background:var(--lilac);color:var(--accent)}.sidebar nav .ui-icon{color:var(--accent);width:27px;height:27px}.nav-plus{display:none!important}.workspace{padding:26px 24px 32px;background:radial-gradient(ellipse at top,#f2eafc70,transparent 75%);min-width:0}.app-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.app-topbar .greeting{display:flex;align-items:center;gap:12px;font-size:16px}.app-topbar .header-actions{display:flex;gap:8px;align-items:center}.icon-button{width:44px;height:44px;padding:10px;border-radius:12px;background:transparent;color:var(--ink);display:grid;place-items:center}.header-avatar{height:38px;width:38px;border-radius:50%;object-fit:cover;object-position:center 15%;background:#fbe6db}.app-logo{display:none}.day-picker{width:145px;padding:8px;border:0;background:transparent;font-size:13px;color:var(--muted)}.mobile-brand{display:none}.card{border-color:var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow);min-width:0}.card-head h2{font-size:23px}.text-button{background:transparent;color:var(--accent);padding:5px 0;min-height:36px;display:flex;align-items:center;gap:5px;font-size:13px;font-weight:500}.dashboard{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:16px}.dashboard-hero{grid-column:1/-1;position:relative;min-height:320px;background:linear-gradient(115deg,#f0e8ff,#ffe8e2 30%,#eee5ff 95%);border-radius:26px;padding:28px 26px;overflow:hidden;display:grid;grid-template-columns:1fr 290px;grid-template-rows:auto 1fr;column-gap:20px}.dashboard-greeting{grid-column:1;position:relative;z-index:1;min-width:0}.dashboard-greeting h1{font-size:clamp(30px,3.4vw,53px);line-height:1.2;letter-spacing:-1px}.dashboard-greeting>p{font-size:18px;margin-top:8px}.avatar-link{background:transparent;color:#766783;font-size:11px;padding:6px 0;min-height:26px;font-weight:400}.dashboard-avatar{grid-column:2;grid-row:1/3;align-self:end;width:310px;height:345px;object-fit:contain;object-position:center bottom;z-index:1;margin-bottom:-28px}.budget-card{grid-column:1;grid-row:2;align-self:end;position:relative;z-index:2;background:#fffc;border:1px solid #fff8;border-radius:20px;padding:20px;margin-top:12px}.budget-card>h2{font-size:20px;margin-bottom:8px}.budget-values{display:flex;gap:20px;align-items:center;justify-content:space-between}.remaining-value{display:grid;min-width:135px}.remaining-value>strong{font-size:70px;line-height:1.15;color:var(--accent);font-weight:800;letter-spacing:-2px;direction:ltr}.remaining-value>span{font-size:16px;font-weight:700}.budget-stat{display:grid;justify-items:center;gap:3px;border-inline-start:1px solid #e6ddf0;padding-inline-start:16px}.budget-stat>.ui-icon{color:var(--accent);height:20px;width:20px}.budget-stat>strong{font-size:27px;direction:ltr}.budget-stat>span{font-size:12px;color:var(--muted)}.budget-track{height:9px;background:#e9dff7;border-radius:10px;overflow:hidden;margin-top:14px;direction:ltr}.budget-track i{display:block;height:100%;border-radius:10px;background:var(--accent)}.budget-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:4px}.budget-actions{display:flex;gap:10px;margin-top:15px}.budget-actions>button{display:flex;gap:8px;align-items:center;justify-content:center;padding:11px 16px;font-size:16px;flex:1}.budget-actions>.camera-button{background:white;border:1px solid var(--accent);color:var(--ink)}.budget-actions>.voice-action{flex:0;padding:10px}.mobile-credit{display:none}.dashboard-meals{grid-column:1;grid-row:2}.dashboard-metrics{grid-column:2;grid-row:2;display:grid;gap:14px;align-content:start}.dashboard-metrics>h2{font-size:20px}.metric-tile{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fbf9fe;border-radius:15px;padding:16px}.metric-label{display:flex;gap:8px;align-items:center}.metric-label h3{font-size:16px}.metric-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:50%;background:#fff0e9;color:var(--accent)}.metric-number{display:grid;justify-items:end}.metric-number strong{font-size:24px}.metric-number strong>span{font-weight:400;font-size:20px}.metric-number small{font-size:12px}.metric-tile>.bar{grid-column:1/-1;margin:4px 0 0;background:#f5e2df;height:8px}.water-tile .metric-icon{background:#e5f4ff;color:#73afc9}.water-tile>.bar{background:#e6e0f3}.water-tile .bar>i{background:#73afc9}.water-plus{position:absolute;inset-inline-end:9px;bottom:11px;padding:0;width:32px;height:34px;min-height:34px;display:none;place-items:center;background:#fff0ee;color:var(--accent)}.meal-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.meal-item{background:#faf9fc;border-radius:14px;overflow:hidden;min-width:0}.meal-item .meal-image{width:100%;height:116px;object-fit:cover}.meal-item .entry-icon{width:100%;height:116px;border-radius:0;background:#f2ebfc;color:var(--accent)}.meal-copy{padding:10px 12px;display:grid;gap:3px;min-width:0}.meal-copy>strong{font-size:15px}.meal-copy .meal-calories{font-size:27px;line-height:1.3}.meal-copy small{font-size:11px}.meal-edit{display:flex;justify-content:flex-end;margin-top:0}.meal-edit button{color:var(--muted);padding:3px 8px;min-height:30px}.meal-total{display:flex;align-items:center;justify-content:space-between;padding-top:12px;margin-top:12px;border-top:1px solid var(--line);font-size:13px}.meal-total b{font-size:21px}.fine{display:block;font-size:10px;color:var(--muted);margin-top:8px}.dashboard-progress{grid-column:1;grid-row:3}.weight-preview{display:flex;gap:20px;align-items:center}.weight-preview>div:first-child{min-width:140px}.weight-preview strong{font-size:42px;line-height:1.3;display:block}.weight-preview strong>span{font-size:17px;font-weight:400}.weight-preview p{font-size:19px}.mini-chart{min-width:0;flex:1}.mini-chart .chart{height:150px}.chart-empty{color:var(--muted);font-size:13px;line-height:1.7}.dashboard-chat{grid-column:2;grid-row:3}.chat-preview{display:flex;gap:12px;align-items:center}.coach-portrait{height:75px;width:64px;object-fit:cover;object-position:center 10%;border-radius:18px;background:#ffe6db}.chat-preview p{font-size:15px;background:linear-gradient(115deg,#eee7fc,#fce9ef);padding:14px;border-radius:16px;flex:1;line-height:1.6}.chat-suggestions{display:flex;gap:6px;margin-top:13px;flex-wrap:wrap}.chat-suggestions button{padding:6px 9px;background:white;border:1px solid var(--line);color:var(--ink);font-size:11px;min-height:30px;font-weight:400}.chat-preview-input{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:14px;border:1px solid var(--line);background:white;color:var(--muted);font-size:14px;font-weight:400;padding:10px}.chat-preview-input .ui-icon{color:white;background:var(--accent);border-radius:50%;padding:8px;width:36px;height:36px}.dashboard-extra{grid-column:1/-1;display:flex;gap:16px;align-items:flex-start}.workout-link{display:flex;align-items:center;gap:16px;background:white;color:var(--ink);text-align:start;padding:18px}.workout-link>.ui-icon{color:var(--accent)}.workout-link>span{display:grid}.workout-link strong{font-size:17px}.workout-link small{font-size:12px;font-weight:400}.budget-detail{font-size:12px;color:var(--muted);padding:18px}.budget-detail summary{cursor:pointer}.budget-detail p{margin-top:8px}.journal .entry-icon{background:var(--lilac);color:var(--accent)}.entry-thumb{height:58px;width:58px;object-fit:cover;border-radius:12px}.hero-preview,.companion-card,.avatar-stage{background:linear-gradient(130deg,#eee5ff,#ffe8e2)}.personal-snapshot{border-color:var(--line);background:#fff}.profile-metrics>div{border-color:var(--line)}.form-note,.plan-metric,.bubble{background:#f3edfc}.input,textarea,input,select{border-color:var(--line)}.onboard,.settings{max-width:850px}.quick-add-options{display:grid;gap:12px}.quick-add-options button{display:flex;gap:12px;align-items:center;text-align:start;background:#f3edfc;color:var(--ink)}.sidebar .bottom{font-size:12px}.dashboard-greeting h1,.remaining-value strong{font-weight:800}#toast{z-index:20}.budget-track i,.bar>i{transition:width .25s}
@media(min-width:1100px){.layout{grid-template-columns:178px 1fr}.dashboard-hero{grid-template-columns:minmax(0,1fr) 305px}.dashboard-avatar{height:380px;width:335px}.budget-values{gap:25px}}
@media(max-width:1000px) and (min-width:651px){.layout{grid-template-columns:140px minmax(0,1fr)}.workspace{padding:20px}.dashboard-hero{grid-template-columns:minmax(0,1fr) 180px;padding:20px;column-gap:8px}.dashboard-avatar{width:195px;height:320px}.dashboard-greeting h1{font-size:31px}.budget-values{gap:12px}.remaining-value{min-width:100px}.remaining-value strong{font-size:52px}.budget-stat{padding-inline-start:10px}.budget-stat strong{font-size:21px}.activity-stat{display:none}.dashboard{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.meal-list{grid-template-columns:1fr}.meal-item{display:flex}.meal-item .meal-image,.meal-item .entry-icon{width:85px;height:85px}.meal-copy{flex:1}.meal-edit{align-items:center}.metric-label{gap:5px}.metric-icon{height:30px;width:30px}.metric-number strong{font-size:20px}.weight-preview{flex-direction:column;align-items:stretch}}
@media(max-width:650px){.layout{display:block}.workspace{padding:12px 14px 112px}.app-topbar{margin-bottom:12px}.app-logo{display:block}.app-logo .brand>span:last-child{display:none}.app-topbar .greeting{font-size:14px;gap:8px}.app-topbar .header-actions{gap:0}.header-avatar{width:30px;height:30px}.icon-button{height:36px;width:36px;padding:8px}.day-picker{width:32px;padding:5px;color:transparent;position:relative}.app-topbar .greeting{flex:1;justify-content:flex-end;margin-inline:10px}.dashboard{display:flex;flex-direction:column;gap:12px}.dashboard-hero{display:contents}.dashboard-greeting{order:0;min-height:152px;border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(120deg,#ede4ff,#ffe6e0 35%,#eee5ff 95%);padding:23px 15px;padding-inline-end:127px;display:flex;flex-direction:column;justify-content:center}.dashboard-greeting h1{font-size:25px;line-height:1.2;letter-spacing:-.5px}.dashboard-greeting p{font-size:14px;margin-top:8px;line-height:1.5}.avatar-link{font-size:9px;align-self:flex-start;margin-top:4px}.dashboard-avatar{position:absolute;top:74px;inset-inline-end:7px;width:145px;height:162px;object-fit:contain;object-position:center bottom;margin:0;z-index:2;pointer-events:none}.budget-card{order:1;border:1px solid var(--line);background:#fff;border-radius:18px;padding:16px;margin:0}.budget-card h2{font-size:19px}.budget-values{gap:12px}.remaining-value{min-width:110px;flex:1}.remaining-value strong{font-size:64px;text-align:center;line-height:1.2}.remaining-value span{font-size:15px;text-align:center}.budget-stat{padding-inline-start:0;border:0;gap:2px}.budget-stat strong{font-size:22px}.budget-stat .ui-icon{width:19px;height:19px}.budget-stat span{font-size:11px}.activity-stat{display:none}.budget-actions{gap:8px;margin-top:13px}.budget-actions button{font-size:16px;padding:11px 12px}.budget-actions .camera-button{max-width:105px;font-size:0}.budget-actions .camera-button:after{content:'צילום';font-size:15px}html[lang=en] .budget-actions .camera-button:after{content:'Photo'}.budget-actions .voice-action{display:none}.budget-caption{font-size:10px}.budget-track{height:8px;margin-top:12px}.mobile-credit{display:block;margin-top:6px}.dashboard-metrics{order:2;display:grid;grid-template-columns:1fr 1fr;background:transparent;padding:0;border:0;gap:10px;box-shadow:none}.dashboard-metrics>h2{display:none}.metric-tile{padding:14px;background:white;border:1px solid var(--line);border-radius:18px;gap:7px;grid-template-columns:1fr}.metric-label{justify-content:space-between;flex-direction:row-reverse}.metric-label h3{font-size:15px}.metric-icon{height:24px;width:24px;background:transparent!important}.metric-icon .ui-icon{height:22px;width:22px}.metric-number{justify-items:start}.metric-number strong{font-size:24px}.metric-number strong span{font-size:18px}.metric-number small{font-size:11px}.water-plus{display:grid;bottom:40px}.metric-tile>.bar{grid-column:1;margin-top:2px}.dashboard-meals{order:3;padding:15px}.card-head{margin-bottom:12px}.card-head h2{font-size:20px}.meal-list{grid-template-columns:1fr;gap:8px}.meal-item{display:flex;align-items:center;gap:0;padding:7px;border-radius:12px}.meal-item .meal-image,.meal-item .entry-icon{height:62px;width:62px;border-radius:10px;flex-shrink:0}.meal-copy{padding:3px 10px;flex:1;display:grid;grid-template-columns:1fr auto;column-gap:4px}.meal-copy>strong{font-size:14px;grid-column:1}.meal-copy .meal-calories{grid-column:2;grid-row:1/3;font-size:22px;align-self:center}.meal-copy>small{font-size:10px;grid-column:1}.meal-copy .meal-calories+small{display:none}.meal-edit{flex-direction:column}.meal-edit button{min-width:30px;min-height:44px;padding:3px}.meal-total{margin-top:10px;padding-top:10px}.fine{font-size:10px}.dashboard-progress{order:4;padding:16px}.weight-preview{gap:10px}.weight-preview>div:first-child{min-width:108px}.weight-preview strong{font-size:33px}.weight-preview p{font-size:15px}.weight-preview strong span{font-size:13px}.weight-preview .mini-chart .chart{height:112px}.weight-preview .mini-chart text{font-size:11px}.dashboard-chat{order:5;padding:16px}.chat-preview p{font-size:14px;padding:13px}.coach-portrait{width:57px;height:67px}.chat-suggestions{display:none}.chat-preview-input{background:var(--accent);color:white;justify-content:center;font-weight:700;font-size:15px}.chat-preview-input span{font-size:0}.chat-preview-input span:after{content:'בוא נדבר';font-size:15px}html[lang=en] .chat-preview-input span:after{content:"Let’s talk"}.chat-preview-input .ui-icon{height:26px;width:26px;padding:3px}.dashboard-extra{order:6;flex-direction:column;gap:0}.workout-link{width:100%;justify-content:space-between}.budget-detail{width:100%;padding:12px}.sidebar{padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#fffdfef7;border-top:1px solid var(--line);box-shadow:0 -5px 22px #4c284808;backdrop-filter:blur(12px);position:fixed;inset:auto 0 0;z-index:8}.sidebar nav{display:flex;justify-content:space-around;align-items:center;gap:4px}.sidebar nav button{flex:1;padding:7px 3px;min-height:54px;gap:3px;font-size:11px;flex-direction:column;align-items:center;border-radius:12px;color:var(--ink)}.sidebar nav button .ui-icon{width:24px;height:24px;color:currentColor}.sidebar nav button.active{background:#fff0ee;color:var(--accent)}.sidebar nav .desktop-only{display:none}.sidebar nav .nav-plus{display:flex!important;flex:0 0 58px;border-radius:50%;width:54px;height:54px;min-height:54px;background:var(--accent);color:white;border:4px solid white;margin-top:-20px;box-shadow:0 3px 10px #ee755933}.sidebar nav .nav-plus .ui-icon{width:28px;height:28px}.sidebar nav .nav-plus .nav-caption{display:none}.head h1{font-size:27px}.dashboard-greeting h1{max-width:230px}.sidebar>.brand,.sidebar>.bottom{display:none}.personal-snapshot{padding:16px}.profile-metrics strong{font-size:20px}.hero h1{font-size:40px}.onboard-art img{object-position:center top}.journal .card-head{gap:10px}.journal>.entry{gap:8px}.entry-thumb{width:46px;height:46px}.journal .entry>strong{font-size:14px}.journal .entry button{font-size:12px;padding:3px}.form-grid{gap:12px}.avatar-stage{min-height:270px}.settings .card{padding:17px}.chat-panel{padding:18px}#toast{bottom:95px}.workspace:has(.dashboard){position:relative}}
@media(max-width:360px){.workspace{padding-inline:10px}.dashboard-greeting{padding-inline-end:110px}.dashboard-avatar{width:128px}.dashboard-greeting h1{font-size:22px}.remaining-value strong{font-size:54px}.budget-stat strong{font-size:20px}.budget-actions button{font-size:14px}.metric-tile{padding:11px}.metric-number strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.budget-track i,.bar>i{transition:none}}

.budget-values{direction:ltr}.dashboard:has(.dashboard-avatar){position:relative}@media(max-width:650px){.dashboard-avatar{top:0;inset-inline-end:0;width:136px;height:156px}.dashboard-greeting{padding-inline-end:124px}.dashboard-greeting h1{font-size:0}.dashboard-greeting h1:after{content:"צעד קטן קדימה.";font-size:25px}html[lang=en] .dashboard-greeting h1:after{content:"One small step forward.";font-size:23px}.dashboard-greeting p{font-size:13px}.dashboard-greeting p{max-width:220px}}

.dashboard{direction:ltr}.dashboard>section{direction:rtl}html[lang=en] .dashboard>section{direction:ltr}.mobile-label,.nav-mobile-caption,.mobile-headline{display:none}@media(max-width:650px){.budget-card{align-self:stretch}.budget-actions .camera-button,.chat-preview-input span,.dashboard-greeting h1{font-size:inherit}.budget-actions .camera-button:after,.chat-preview-input span:after,.dashboard-greeting h1:after{content:none}.desktop-label,.desktop-headline,.nav-caption{display:none}.mobile-label,.nav-mobile-caption,.mobile-headline{display:inline}.dashboard-greeting h1{font-size:25px}.budget-actions .camera-button{font-size:15px}.chat-preview-input span{font-size:15px}.sidebar nav .nav-mobile-caption{font-size:11px}}

.sidebar nav button .nav-mobile-caption{display:none}.sidebar nav button .nav-caption{display:flex}@media(max-width:650px){.sidebar nav button .nav-caption{display:none}.sidebar nav button .nav-mobile-caption{display:flex}.sidebar nav button.nav-plus .nav-mobile-caption{display:none}.dashboard-greeting{padding-top:18px;padding-bottom:18px}.dashboard-avatar{width:145px;height:153px;object-fit:cover;object-position:center top}.app-topbar .greeting{font-size:13px}}

.personal-avatar{display:block}.avatar-stage .personal-avatar{width:100%;height:440px;max-height:440px}.avatar-stage{background:linear-gradient(145deg,#eee5ff,#ffe9e1)}@media(max-width:650px){.avatar-stage .personal-avatar{height:360px}}

/* The daily calorie budget always precedes decoration and progress. */
.calorie-first{display:flex;flex-direction:column;gap:16px}.calorie-first>.budget-card{position:static;width:100%;margin:0;padding:22px;background:#fff;border:1px solid var(--line);border-radius:22px}.calorie-first .budget-card h1{font-size:23px}.calorie-first .budget-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.calorie-stat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:15px 4px;background:#faf6ff;border-radius:16px;min-width:0}.calorie-stat:first-child{background:#fff0ed}.calorie-stat strong{font-size:38px;line-height:1.2;color:var(--accent);letter-spacing:-1px}.calorie-stat span{font-size:13px;text-align:center}.budget-explainer{font-size:13px;color:var(--muted);margin:12px 0}.calorie-first .dashboard-hero{min-height:130px;height:130px;padding:20px;overflow:hidden}.calorie-first .dashboard-avatar{height:180px;top:0;bottom:auto}.calorie-first .dashboard-greeting h1{font-size:21px}.calorie-first .dashboard-greeting p{font-size:13px}.movement-budget{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;margin-bottom:10px}.movement-budget span{background:var(--lilac);border-radius:12px;padding:8px 12px}.movement-budget b{display:block;font-size:22px}.workout-presets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.workout-preset{display:grid;gap:8px;justify-items:start;text-align:start;background:#fff4ef;color:var(--ink);padding:16px;border:1px solid #ffded4;border-radius:16px}.workout-preset span{font-size:12px;color:var(--muted)}#today-chat{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}#today-chat .error{grid-column:1/-1}.workout-steps{padding-inline-start:24px;line-height:1.9;margin-bottom:20px}.workout-steps li{margin-bottom:12px}.calorie-first .dashboard-extra{display:none}@media(max-width:650px){.calorie-first{gap:12px}.calorie-first>.budget-card{padding:16px}.calorie-first .budget-card .card-head{align-items:start;gap:6px;margin-bottom:15px}.calorie-first .budget-card h1{font-size:20px}.calorie-first .budget-card .text-button{font-size:11px;padding:4px}.calorie-stat strong{font-size:29px}.calorie-stat span{font-size:11px}.calorie-stat .ui-icon{width:20px;height:20px}.calorie-first .budget-values{gap:6px}.workout-preset{padding:12px;font-size:14px}.movement-budget span{flex:1;min-width:70px;padding:8px;font-size:11px}.movement-budget b{font-size:20px}#today-chat{grid-template-columns:1fr}#today-chat button{width:100%}.calorie-first .dashboard-hero{height:125px;min-height:125px}.calorie-first .dashboard-greeting{max-width:65%}}

.pwa-card{line-height:1.8}.pwa-card p{margin:12px 0;font-size:14px}.pwa-card small{display:block;margin-top:12px;color:var(--muted)}@media(display-mode:standalone){.workspace{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.sidebar{padding-bottom:calc(6px + env(safe-area-inset-bottom))}.app-topbar{padding-top:env(safe-area-inset-top)}}

.calorie-first>*{order:0!important}.calorie-first .dashboard-hero{display:flex;position:relative;align-items:center;justify-content:space-between;width:100%}.calorie-first .dashboard-greeting{padding:0;min-height:0;height:auto;background:none;border:0;order:0;flex:1;max-width:65%}.calorie-first .dashboard-avatar{position:absolute;inset-inline-end:0;top:-10px;width:140px;height:180px;margin:0;object-fit:contain;object-position:center top}.calorie-first .dashboard-greeting h1{margin:0}

.calorie-first .budget-values{direction:inherit}

.method-story{max-width:1160px;margin:24px auto;padding:28px;line-height:1.8}.method-story h2{font-size:28px;margin:8px 0 16px}.method-story details{margin-top:16px}.daily-drafts .bubble{max-width:100%;overflow-wrap:anywhere}

[data-profile-basics][hidden],[data-profile-method][hidden]{display:none}.plan-avatar-stage{position:relative;height:240px;max-width:220px;margin:16px auto;overflow:hidden;border-radius:28px;background:linear-gradient(160deg,#f0e6ff,#fff0eb)}.plan-avatar-stage svg{height:100%;width:100%}.plan-scan{position:absolute;left:0;right:0;height:3px;background:#e75b45;box-shadow:0 0 24px #e75b45;animation:plan-scan 1.8s ease-in-out infinite;pointer-events:none}.energy-explainer,.routine-card p{line-height:1.7}.routine-card button{margin-top:12px}.routine-card details{margin-top:16px}@keyframes plan-scan{0%,100%{top:12%}50%{top:85%}}@media(prefers-reduced-motion:reduce){.plan-scan{animation:none;top:50%}}

/* Voice composer: tactile controls, actual sampled levels, local playback before send. */
.voice-composer{display:grid;gap:16px}.voice-composer>p{margin:0}.voice-kind{display:grid;grid-template-columns:1fr 1fr;gap:8px}.voice-kind button{font-size:13px;padding:12px 8px;min-height:48px;background:#f2edf9;color:#504263;border:1px solid transparent;justify-content:center}.voice-kind button[aria-pressed=true]{background:#fff0eb;border-color:#e75b45;color:#9b3626}.voice-meter{height:88px;border-radius:22px;background:linear-gradient(120deg,#f0e8fb,#fff0eb);display:flex;align-items:center;justify-content:center;gap:3px;padding:12px;direction:ltr;overflow:hidden}.voice-meter i{flex:1;max-width:6px;min-width:2px;background:#d95849;border-radius:9px;height:4px;transition:height 80ms linear}.voice-time{text-align:center;font-variant-numeric:tabular-nums;color:#87728e}.voice-time b{font-size:30px;color:#32213f}.voice-status{text-align:center;min-height:24px;color:#6b537c;font-size:14px}.voice-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.voice-actions button{min-height:50px;flex:1 1 110px;justify-content:center;border-radius:16px}.voice-stop-square{display:inline-block;width:16px;height:16px;background:currentColor;border-radius:4px;margin-inline-end:8px}.voice-composer audio{width:100%;height:48px}.voice-composer [hidden]{display:none!important}.voice-composer small{line-height:1.7;color:#89748e}.voice-composer .error:empty{display:none}.voice-sheet{max-width:480px;padding:28px}.voice-sheet::backdrop{background:#24183180;backdrop-filter:blur(4px)}.voice-sheet button:focus-visible{outline:3px solid #8e70ad;outline-offset:3px}.voice-sheet .close{min-width:44px;min-height:44px}
@media(max-width:600px){dialog.voice-sheet{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:92dvh;border-radius:28px 28px 0 0;padding:26px 20px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box}.voice-sheet h2{font-size:24px;margin-bottom:16px}.voice-sheet:before{content:'';display:block;width:40px;height:4px;border-radius:8px;background:#dacde4;margin:-12px auto 18px}.quick-add-options button{min-height:64px}}
@media(prefers-reduced-motion:reduce){.voice-meter i{transition:none}}
.chat-voice-inline{margin:12px 0;padding:16px;border:1px solid #e9dacf;border-radius:20px;background:#fffaf7;box-shadow:0 10px 26px #57392a12}.chat-voice-inline .voice-composer{gap:10px}.chat-voice-inline .voice-meter{height:66px}.chat-voice-inline .voice-time b{font-size:23px}.chat-voice-inline .voice-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.chat-voice-inline .voice-transcript-preview{margin:0 0 4px auto;max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere}.voice-progress{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f5edfb;border-radius:14px;color:#574462;font-size:14px;font-weight:700}.voice-progress[hidden],.voice-transcript-preview[hidden]{display:none!important}.voice-spinner{display:inline-block;width:21px;height:21px;flex:none;border:3px solid #d9c7ee;border-top-color:var(--accent);border-radius:50%;animation:voice-turn .8s linear infinite}@keyframes voice-turn{to{transform:rotate(360deg)}}.voice-correct{display:block;margin-top:7px;padding:4px 0;background:none;color:#7d5a8c;font-size:12px;text-decoration:underline}.chat-after-meal{margin-top:12px;padding:14px;border-radius:14px;background:#fff9ee;border:1px solid #f1dfcb}.chat-after-meal strong{display:block;margin-bottom:4px}.chat-after-meal p{margin:0 0 3px}.chat-after-meal small{display:block}.chat-voice-inline .voice-composer>p:first-child{font-size:13px;color:var(--muted)}@media(prefers-reduced-motion:reduce){.voice-spinner{animation:none}}
.chat-projected-budget{padding:10px 12px;border-radius:12px;background:#fff8eb;color:#5b493a;font-size:14px}.chat-projected-budget small{display:block;margin-top:2px}
/* Daily actions stay readable and reachable on narrow phones. */
.calorie-first .fine{font-size:12px;line-height:1.7}.calorie-first .text-button,.calorie-first .avatar-link{min-height:44px}.calorie-first .avatar-link{font-size:11px}.calorie-first summary{min-height:44px;cursor:pointer;padding:10px 0;font-size:14px}.calorie-first .latest-coach .bubble{max-width:100%;overflow-wrap:anywhere}.calorie-first .dashboard-hero{height:150px;min-height:150px}.calorie-first .dashboard-greeting{max-width:calc(100% - 115px)}.calorie-first .dashboard-greeting h1{font-size:22px}.calorie-first .budget-actions [data-voice]{flex:0 0 48px;padding:10px}.calorie-first .water-plus{width:44px;height:44px;min-height:44px;bottom:20px}.calorie-first .budget-actions button{min-height:48px}.pwa-card [hidden]{display:none!important}
@media(max-width:650px){.calorie-first .card{padding:16px}.calorie-first .card-head h2{font-size:19px}.calorie-first .card-head{gap:10px}.calorie-first .text-button{flex-shrink:0}.calorie-first .dashboard-greeting h1{font-size:20px}.calorie-first .dashboard-greeting p{font-size:12px}.calorie-first .budget-actions{gap:6px}.calorie-first .budget-actions>button{font-size:14px;padding:10px 8px}.calorie-first .budget-actions .ui-icon{width:20px;height:20px}.app-topbar .icon-button{min-width:44px;min-height:44px}.calorie-first .eating-window>p{font-size:13px;line-height:1.7}.calorie-first .routine-card{font-size:14px;line-height:1.7}}

/* Review the speech transcript before sending it for interpretation. */
.voice-review,.voice-result{display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:17px;background:#faf7ff}.voice-review label,.voice-result label{display:grid;gap:8px;font-size:14px;font-weight:700}.voice-review textarea,.voice-result textarea{width:100%;min-height:104px;padding:12px;border:1px solid #c6b4d7;border-radius:12px;background:white;color:var(--ink);font:inherit;font-weight:400;resize:vertical;line-height:1.65}.voice-result p{margin:0;line-height:1.7;overflow-wrap:anywhere}.voice-result strong{color:var(--ink)}.voice-result [data-meal],.voice-result [data-weight]{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}.voice-result [data-estimate]{font-size:18px;font-weight:700;color:var(--accent)}.voice-result button{min-height:48px}.voice-composer [hidden],.voice-result [hidden]{display:none!important}

.budget-math{padding:10px 12px;background:#fff5f0;border-radius:12px;color:var(--ink);font-size:12px;line-height:1.7}.budget-math strong{color:var(--accent)}
.budget-math{display:grid;gap:8px;margin:12px 0;padding:14px 16px;font-size:13px}.budget-math>strong{font-size:15px}.budget-math-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.budget-math-steps span{display:grid;gap:2px;padding:8px 10px;border:1px solid #f4d8d1;border-radius:10px;background:#fff;font-size:11px;line-height:1.45}.budget-math-steps b{font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}.budget-math p{margin:0;font-size:13px}.budget-math small{font-size:11px;color:var(--muted)}.budget-math .text-button{justify-self:start;min-height:40px;padding:5px 0}@media(max-width:500px){.budget-math-steps{grid-template-columns:1fr}.budget-math-steps span{display:flex;justify-content:space-between;align-items:center;font-size:12px}}
.steps-card{display:grid;gap:6px}.steps-card .card-head{margin:0}.steps-card strong{font-size:32px;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}.steps-card span,.steps-card p,.steps-card small{color:var(--muted)}.steps-card p{margin:4px 0 0;font-size:13px}.steps-card small{font-size:11px;line-height:1.6}
.window-live{padding:14px 16px;margin:12px 0;border-radius:17px;background:#fff0e9;border:1px solid #f7cabc;line-height:1.65}.window-live[data-phase=closed],.window-live[data-phase=before]{background:#f4effb;border-color:#e5d7f0}.window-live p{margin:6px 0 10px;font-size:14px}.window-live button{min-height:44px;padding:9px 14px;border-radius:12px}.window-live[hidden]{display:none!important}
.window-closed-alert{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:19px 21px;border-radius:21px;background:linear-gradient(125deg,#2f2342,#59406a);color:#fff;box-shadow:0 14px 35px #281d3b30}.window-closed-alert[hidden]{display:none!important}.window-closed-symbol{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#ffffff24;color:#ffd1bd}.window-closed-symbol .ui-icon{width:27px;height:27px}.window-closed-alert strong{display:block;font-size:22px;line-height:1.25}.window-closed-alert p{margin:6px 0 0;font-size:14px;line-height:1.55;color:#f4eefa}.window-closed-alert button{min-height:46px;padding:9px 13px;border:1px solid #f8c8b6;border-radius:12px;background:#fff4ed;color:#482e42;font-weight:800}.window-closed-alert button[hidden]{display:none!important}@media(max-width:650px){.window-closed-alert{grid-template-columns:auto minmax(0,1fr);padding:16px;gap:11px}.window-closed-symbol{width:44px;height:44px}.window-closed-alert strong{font-size:19px}.window-closed-alert p{font-size:13px}.window-closed-alert button{grid-column:1/-1;width:100%}}
.pwa-card{padding:17px 19px!important;border:1px solid #ead9e9!important;background:linear-gradient(115deg,#fff9f6,#f7f1ff)!important}.push-summary{display:flex;align-items:center;gap:13px}.push-summary>div{flex:1;min-width:0}.push-summary h3{font-size:18px}.push-summary p{margin:2px 0 0;font-size:13px}.push-symbol{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:13px;background:#efe2fb;font-size:21px}.push-summary button{min-height:45px;white-space:nowrap}.push-explainer{margin:9px 0 0!important;font-size:12px!important;color:#745f70}.push-details{margin-top:9px}.push-details summary{font-size:12px;color:#664d79;font-weight:700;cursor:pointer}.push-details[open]{padding-top:9px;border-top:1px solid #ead9e9}.push-details .quick-actions{display:flex;gap:7px;flex-wrap:wrap}.push-details .quick-actions button{min-height:44px}@media(max-width:650px){.push-summary{flex-wrap:wrap}.push-summary button{width:100%}.push-details .quick-actions button{flex:1 1 130px}}
.recent-meals{display:grid;gap:10px}.recent-meals h2,.recent-meals h3{font-size:18px;margin:0}.recent-meals p,.recent-meals small{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.recent-meal-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recent-meal-list button{display:grid;gap:4px;min-width:0;min-height:54px;padding:10px 12px;text-align:start;border:1px solid var(--line);border-radius:12px;background:#faf6ff;color:var(--ink)}.recent-meal-list button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.recent-meal-list button span{font-size:12px;color:var(--muted)}.meal-start{display:grid;gap:12px}.meal-start p{margin:0;line-height:1.65}.meal-start label{display:grid;gap:7px}.meal-start textarea{width:100%;min-height:96px;border:1px solid var(--line);border-radius:12px;padding:12px;font:inherit;resize:vertical}.meal-start button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px}#modal .recent-meals{margin-top:18px}#modal .recent-meal-list{grid-template-columns:1fr 1fr}@media(max-width:650px){.recent-meal-list{grid-template-columns:1fr 1fr}.recent-meal-list button:last-child:nth-child(odd){grid-column:1/-1}}
.usage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.usage-stats>div{display:grid;gap:4px;padding:12px;border-radius:12px;background:#faf6ff}.usage-stats strong{font-size:24px;color:var(--accent)}.usage-stats span{font-size:12px;color:var(--muted)}#usage-card details p{padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}@media(max-width:650px){.usage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.next-step{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff7fc;border:1px solid #eed8ed}.next-step small{color:#874b7c;font-size:12px;font-weight:700}.next-step h2{margin:5px 0;font-size:21px}.next-step p{margin:0;color:var(--ink);font-size:14px;line-height:1.6}.next-step button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;white-space:nowrap}.budget-math summary{cursor:pointer;color:var(--accent);font-size:15px;font-weight:700;min-height:36px}.budget-math:not([open])>*:not(summary){display:none}@media(max-width:650px){.next-step{align-items:stretch;flex-direction:column}.next-step button{width:100%}}
.calorie-first>.eating-window.fasting-priority{border:1px solid #dcc7ea;background:linear-gradient(150deg,#fffefa,#f9f3ff);box-shadow:0 12px 34px #59426a14}
.fasting-priority .window-live{background:transparent;border:0;padding:0;margin:10px 0}.fasting-priority .fasting-education{margin:10px 0;background:#fff;border-color:#eadced}
@media(max-width:650px){.calorie-first>.eating-window.fasting-priority{padding:17px}.fasting-priority .fasting-education{padding:10px}.fasting-priority .window-live>button{margin-top:5px}}
