/* Approved-board proportions. Exercise's internal layout remains the baseline. */
html[data-theme="dark"] body.app-view{--ff-bg:#001d19;--ff-card:#052923;--ff-soft:#07332c;--ff-border:#20554b;--ff-muted:#b3cfc8;--ff-accent:#42efd0;--ff-tint:#064c3e;background:radial-gradient(ellipse at 55% 30%,#073e33 0,transparent 65%),#001a17}
html[data-theme="light"] body.app-view{--ff-bg:#faf9f0;--ff-card:#fffef9;--ff-soft:#f0f1e7;--ff-border:#d5dbcc;--ff-ink:#102b26;--ff-muted:#4c655d;--ff-accent:#087e65;--ff-tint:#def3e8;background:var(--ff-bg)}
html[data-theme] :is(.vf-family,.approved,.ff-nutrition-wrap) :is(.ff-card,.ff-row,.vf-hero,.approved-goal){border-radius:10px;box-shadow:none}
html[data-theme] :is(.vf-family,.approved,.ff-nutrition-wrap) .ff-primary{background:linear-gradient(105deg,var(--ff-accent),#70f7d5);color:#00251e;border:1px solid transparent;border-radius:8px;min-height:44px}
html[data-theme="light"] :is(.vf-family,.approved,.ff-nutrition-wrap) .ff-primary{background:var(--ff-accent);color:#fff}
html[data-theme] #screen>.vf-family h2,html[data-theme] #screen>.approved h2,html[data-theme] .ff-nutrition h2{font-size:32px;letter-spacing:-.65px}
.vf-family>.ff-heading,.approved>.ff-heading{margin-bottom:20px;min-height:58px;gap:12px}
.vf-family .ff-heading p,.approved .ff-heading p{font-size:14px;line-height:1.4;margin-top:5px}
.vf-family .ff-heading .approved-demo,.approved .ff-heading .approved-demo{font-size:9px;min-height:0;padding:3px 5px}
.vf-family .ff-heading .ff-pet,.approved .ff-heading .ff-pet,.ff-nutrition .ff-pet{width:24px;height:26px;object-fit:contain}
.rp-header-profile{height:38px;width:38px;min-width:38px;border:1px solid var(--ff-border);border-radius:50%;padding:0;overflow:hidden;background:var(--ff-card)}
.rp-header-profile svg{width:100%;height:100%;display:block}
html[data-theme] .app-topbar .rp-header-profile{border-radius:50%;padding:0;min-height:38px;min-width:38px;width:38px;height:38px}
.vf-water summary>span{display:inline-block;vertical-align:middle}.vf-water summary small{display:block;font-size:11px;font-weight:400;margin-top:7px;color:var(--ff-muted)}
.rp-tip-cover>svg{width:100%;height:100%;display:block}.rp-tip-article{max-width:800px;margin:auto!important;padding:20px!important}.rp-tip-article h3{font-size:23px}.rp-tip-article p{font-size:14px;line-height:1.7}
.vf-hero{min-height:210px;border-color:var(--ff-border)}
.vf-hero-copy{min-height:210px;width:61%;padding:22px;gap:8px;background:linear-gradient(90deg,var(--ff-bg) 35%,transparent)}
.vf-hero>:is(svg,.ff-reference-art){width:64%;mask-image:linear-gradient(90deg,transparent,#000 20%)}
html[data-theme] #screen .vf-hero h3{font-size:24px;line-height:1.2;letter-spacing:-.5px}
.vf-hero-copy p{font-size:13px;max-width:240px}.vf-eyebrow{color:#ead581;font-size:10px!important}
html[data-theme="light"] .vf-eyebrow{color:#75621b}
.vf-hero .ff-primary{margin-top:10px!important;padding:9px 16px;min-width:135px}
.vf-home-heroes{gap:16px;margin-bottom:16px}
.vf-home-status{gap:12px;margin:14px 0 28px}
.vf-home-status .approved-goal>div{min-height:146px;padding:16px}
.vf-home-status .approved-goal svg{color:#efd481}
.vf-home-status .approved-goal b{font-size:13px}.vf-home-status .approved-goal strong{font-size:17px;margin:14px 0 7px}
.vf-home-status .approved-goal small{font-size:12px;line-height:1.5}
.vf-home-status .vf-wellbeing{padding:16px}.vf-home-status .vf-wellbeing h3{font-size:16px}
.vf-water{padding:15px!important}.vf-water>summary{font-size:14px}
html[data-theme] :is(.ff-tabs,.sd-tabs){border-radius:8px;border:1px solid var(--ff-border);padding:3px;background:transparent}
html[data-theme] :is(.ff-tabs,.sd-tabs) button[aria-pressed="true"]{background:var(--ff-tint)!important;color:var(--ff-accent)!important;box-shadow:inset 0 0 0 1px var(--ff-accent);border-radius:7px}
.vf-progress-toolbar{margin-bottom:14px}.vf-progress-overview{gap:14px}
.vf-progress-overview .approved-goal{padding:22px;gap:22px;min-height:230px!important}
.vf-progress-overview .approved-goal>div{gap:8px}.vf-progress-overview .approved-goal strong{font-size:23px;margin:8px 0}
.vf-progress-overview .approved-goal b{color:#e8d17c;text-transform:uppercase;font-size:11px;letter-spacing:.5px}
.vf-progress-overview .approved-goal svg{width:25px;height:25px}
.vf-journal{position:relative}.vf-journal-entry{position:relative;padding-left:14px!important}
.vf-journal-entry:before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid var(--ff-muted)}
.vf-journal-entry:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:var(--ff-ink);left:-3px;top:32px}
.vf-journal-lock{position:relative;width:54px;height:48px;background:linear-gradient(140deg,var(--ff-soft),var(--ff-bg));border-radius:6px}
.vf-journal-lock>svg{opacity:.5}.vf-journal-lock i{position:absolute;bottom:2px;right:2px;color:#e9c56e}.vf-journal-lock i svg{width:14px;height:14px}
.vf-progress-links{gap:12px;margin-top:14px}.vf-progress-links .ff-row{min-height:125px!important;display:grid!important;grid-template-columns:28px 1fr;gap:9px;padding:16px!important}
.vf-progress-links .ff-row>span:last-child{grid-column:2}.vf-progress-links .ff-row b{font-size:13px}.vf-progress-links .ff-row small{font-size:12px}
.vf-more-grid .ff-row{border-color:var(--ff-border);min-height:180px!important}
.vf-more-grid .ff-row b{font-size:21px}.vf-more-grid .ff-row small{font-size:14px;line-height:1.6;margin-top:10px;max-width:240px}
.vf-more-grid .ff-row .ff-icon{width:38px;height:38px}.vf-more-grid .ff-row .ff-icon svg{width:34px;height:34px}
html[data-theme] .ff-nutrition .nutrition-heading{align-items:start;margin-bottom:16px}
html[data-theme] .ff-nutrition .nutrition-add-top{width:auto;min-width:82px;background:transparent;color:var(--ff-ink);border:1px solid var(--ff-border)}
.vf-nutrition-overview{margin:0 0 16px;gap:16px}.vf-nutrition-summary{gap:12px!important}
.vf-nutrition-summary .v4-row h3{font-size:18px!important}.vf-nutrition-summary .vf-record-count{margin:0;font-size:10px!important}
.vf-nutrition-summary .vf-assessment{font-size:20px}.vf-nutrition-summary>p{font-size:12px}
.ff-nutrition .v4-nutrition-tabs{gap:12px;margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:center}
.ff-nutrition .v4-tabs{flex:1;min-width:150px;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.ff-nutrition .v4-tabs button{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;min-height:44px!important;padding:8px 16px!important}
.ff-nutrition .v4-tabs .selected{border-bottom-color:var(--ff-accent)!important;color:var(--ff-accent)!important}
.ff-nutrition .nutrition-day-nav{order:3;flex-basis:100%;padding:0;margin:0;justify-content:center;gap:10px}
.ff-nutrition .nutrition-day-nav button{min-width:36px!important;min-height:36px!important;padding:5px!important}
html[data-theme] .ff-nutrition .v4-kit{background:var(--ff-card)!important;color:var(--ff-ink)!important;border:1px solid var(--ff-border)!important;min-height:40px!important;max-width:140px;font-size:12px!important}
.ff-nutrition .v4-kit>span:first-child{line-height:1.3}.ff-nutrition .v4-toggle{transform:scale(.75)}
.ff-nutrition .v4-plan-heading h3{font-size:16px}.ff-nutrition .v4-preview-note{font-size:11px;margin:0}
html[data-theme] .app-view .ff-nutrition .v4-planned-meal{padding:10px;gap:8px;overflow:hidden}
.vf-family .sd-demo{font-size:11px;margin:0 0 10px}
.vf-family .sd-tabs{margin:0 0 14px}.vf-family .sd-tabs button{font-size:13px;min-height:42px!important}
.vf-family .sd-friend-card>.ff-between h3{font-size:18px;margin:0 0 6px}.vf-family .sd-friend-card>.ff-between small{font-size:11px;color:var(--ff-muted)}
.vf-family .sd-friend-card>.ff-between button{font-size:12px;padding:7px 10px}
.vf-family .sd-challenge{position:relative;padding:20px!important}.vf-family .sd-challenge>h3{font-size:13px;margin:0 0 12px}
.sd-challenge h4{font-size:20px;margin:10px 0}.sd-challenge p{font-size:12px;line-height:1.5}
.rp-community-badge{font-size:10px;color:#e3c878;border:1px solid #9d8245;border-radius:5px;padding:3px 7px}
.rp-community-ring{display:grid;place-items:center;width:54px;height:54px;border:6px solid var(--ff-accent);border-left-color:var(--ff-border);border-radius:50%;flex-shrink:0}
.rp-community-ring svg{width:28px!important;height:28px!important;border-radius:50%}
.sd-challenge .sd-challenge-summary{display:flex;align-items:center;gap:12px;margin:12px 0}.sd-challenge-summary strong{font-size:20px!important}.sd-challenge-summary strong small{font-size:11px!important}
.rp-avatar-stack{display:flex;margin-left:auto;padding-left:8px}.rp-avatar-stack svg{width:32px;height:32px;border:2px solid var(--ff-bg);border-radius:50%;margin-left:-8px}
.sd-challenge>.ff-primary{width:100%;min-height:44px}.sd-challenge>.ff-secondary{font-size:12px;min-height:36px!important;margin-top:8px}
.rp-request-card{display:grid;grid-template-columns:1fr auto;gap:12px}.rp-request-card>h3{grid-column:1/-1;font-size:14px}
.rp-request-card .ff-two{display:flex;gap:8px;align-self:center}.rp-request-card .ff-two button{min-height:40px!important;padding:8px 13px;font-size:12px}
.vf-family .sd-person{padding:13px 0;gap:12px}.vf-family .sd-person b{font-size:15px}.vf-family .sd-person small{font-size:11px}
.vf-family #sd-search{width:100%;margin:10px 0;padding:12px}.vf-family .sd-profile{padding:25px;border:1px solid var(--ff-border);border-radius:10px;background:radial-gradient(ellipse at top right,var(--ff-tint),var(--ff-card))!important}
.rp-profile-portrait{text-align:center;margin:0 0 22px}.rp-profile-portrait svg{display:block;width:100px;height:100px;border-radius:50%;border:3px solid var(--ff-card);margin:0 auto 9px}.rp-profile-portrait small{font-size:11px;color:var(--ff-muted)}
.rp-coaches-coming{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;text-align:center;background:linear-gradient(135deg,#9d82453a,var(--ff-card))!important;border-color:#9d8245!important}
.rp-premium-symbol{font-size:50px;color:#e4c57d;order:-1}.rp-coaches-coming h3{font-size:23px!important}.rp-coaches-coming .ff-primary{background:#e5c579!important;color:#17251e!important;margin-top:45px;width:100%}
html[data-theme] .vf-family .rp-settings{display:flex;flex-direction:column;gap:10px;max-width:850px;margin:auto}
html[data-theme] .vf-family .rp-settings>.ff-heading{margin-bottom:10px}
html[data-theme] .vf-family .rp-settings>.ff-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr);align-items:center;gap:10px;margin:0!important;padding:14px!important;min-height:74px}
.rp-settings>.ff-card h3{font-size:14px!important;gap:10px;line-height:1.3}.rp-settings>.ff-card h3 svg{width:24px;height:24px;flex-shrink:0}
html[data-theme] .vf-family .rp-settings>.ff-card :is(.ff-three,.ff-two){width:100%;max-width:none;grid-column:2;gap:0;padding:2px;border-radius:6px;margin:0}
html[data-theme] .vf-family .rp-settings>.ff-card button{font-size:12px!important;padding:7px 8px!important;min-height:40px!important;border-radius:5px}
html[data-theme] .rp-settings>.ff-settings-list{display:grid;grid-template-columns:1fr;margin:0;gap:10px;background:none;border:0;overflow:visible}
html[data-theme] .rp-settings>.ff-settings-list>.ff-secondary{padding:16px!important;min-height:68px;margin:0!important;border:1px solid var(--ff-border);border-radius:10px;font-size:14px;display:flex;align-items:center;justify-content:space-between}
.rp-settings>.ff-settings-list>.ff-secondary[aria-checked]::after{content:'';width:36px;height:22px;border-radius:20px;background:var(--ff-muted);box-shadow:inset 14px 0 0 var(--ff-soft);margin-left:12px;flex-shrink:0}
.rp-settings>.ff-settings-list>.ff-secondary[aria-checked="true"]::after{background:var(--ff-accent);box-shadow:inset -14px 0 0 var(--ff-accent-ink)}
html[data-theme] .rp-settings>.ff-settings-premium{min-height:78px;margin:0;padding:14px;background:linear-gradient(100deg,#8d753738,var(--ff-card));border-radius:10px}.rp-settings-extra{margin:8px 0}
.rp-history-entry{position:relative;display:grid;grid-template-columns:52px 1fr 20px;gap:3px 12px;background:none;border:0;border-left:1px solid var(--ff-border);border-radius:0!important;width:100%;text-align:left;min-height:95px;padding:12px 10px 12px 18px;color:var(--ff-ink)}
.rp-history-entry:before{content:'';position:absolute;left:-4px;top:28px;width:7px;height:7px;border-radius:50%;background:var(--ff-ink)}
.rp-history-entry>span:first-child{grid-column:1;grid-row:1/4;width:48px;height:50px;background:var(--ff-soft);border:1px solid var(--ff-border);border-radius:6px;display:grid;place-items:center}.rp-history-entry svg{width:20px;height:20px;color:#d4bc78}
.rp-history-entry time,.rp-history-entry b,.rp-history-entry small{grid-column:2;font-size:12px}.rp-history-entry time,.rp-history-entry small{color:var(--ff-muted)}.rp-history-entry>span:last-child{grid-column:3;grid-row:1/4;align-self:center}
.vf-family[data-family-screen="body-compare"] .ff-comparison{padding:12px;border:1px solid var(--ff-border);border-radius:10px;background:var(--ff-card)}
.vf-family[data-family-screen="body-compare"] .ff-comparison figure{background:var(--ff-soft);border:1px solid var(--ff-border);border-radius:8px;overflow:hidden;margin:0}
.vf-family[data-family-screen="body-compare"] .ff-comparison figcaption{padding:10px;font-size:12px}
.vf-family :is(#ff-body-form,#ff-goal-form,#ff-activity-form){padding:20px;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:10px;max-width:850px;margin:auto}
.vf-family :is(#ff-body-form,#ff-goal-form,#ff-activity-form) label{font-size:13px}.vf-family :is(#ff-body-form,#ff-goal-form,#ff-activity-form) textarea{min-height:140px;padding:12px;line-height:1.6}
.vf-family :is(#ff-body-form,#ff-goal-form,#ff-activity-form) button[type="submit"]{margin-top:16px;min-height:44px;width:100%}
.vf-family .ff-note-entry{padding:14px 0;border-bottom:1px solid var(--ff-border)}
.food-editor .approved-food-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
html[data-theme] .food-editor .approved-food-choice{position:relative;display:flex;flex-direction:column;border-radius:8px;overflow:hidden;margin:0;min-width:0}
.food-editor .approved-food-select{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:0;text-align:left;background:var(--ff-card);border:0}
.food-editor .approved-food-select>svg{width:100%!important;height:100px!important;max-width:none;flex:none!important;border-radius:0;object-fit:cover}
.food-editor .approved-food-select>span{padding:9px;min-height:58px}.food-editor .approved-food-select b{font-size:12px}.food-editor .approved-food-select small{font-size:10px}
.food-editor .approved-food-choice>[data-food="favorite"]{position:absolute;right:4px;top:4px;min-width:32px;min-height:32px!important;background:var(--ff-bg);border:1px solid var(--ff-border);border-radius:8px;padding:3px}
.food-editor #food-search{width:100%;min-height:44px;padding:12px;border-radius:7px}.food-editor #food-form{border:1px solid var(--ff-border);border-radius:10px;background:var(--ff-card);padding:16px}
.food-editor .approved-portions{border:1px solid var(--ff-border);border-radius:8px;padding:8px;gap:8px}.food-editor .approved-portions span{font-size:13px;text-align:center}
.food-editor .measure-actions{margin-top:16px}.food-editor .measure-calibration{border-radius:10px;background:var(--ff-card);padding:18px}
.meal-record{border:1px solid var(--ff-border);border-radius:10px;padding:15px!important;margin:10px 0}.record-actions button[data-food="reuse-today"]{width:100%;background:var(--ff-accent);color:var(--ff-accent-ink);font-weight:650}
.vf-help-search input{border-radius:7px!important}.vf-help-topics{gap:0;border:1px solid var(--ff-border);border-radius:10px;overflow:hidden}
html[data-theme] .vf-help-topics>.ff-card{border:0;border-bottom:1px solid var(--ff-border);border-radius:0;padding:12px 16px}
.vf-help-topics summary{font-size:14px;justify-content:space-between}.vf-help-topics summary:after{content:'⌄';color:var(--ff-accent);margin-left:12px}
.vf-tips-hero .vf-hero-copy{max-width:55%;width:55%;min-height:260px}.vf-tips-hero>svg{width:70%}
.vf-tips-hero h3{max-width:260px}.vf-guidance-topics .ff-row{display:flex;align-items:flex-start;gap:12px;min-height:100px;padding:18px}.vf-guidance-topics .ff-row b{font-size:16px}
.rp-tip-search{display:block;margin:0 0 14px}.rp-tip-search input{display:block;width:100%;padding:12px;border:1px solid var(--ff-border);background:var(--ff-card);color:var(--ff-ink);border-radius:7px}
.rp-tip-cover{width:100%;height:210px;display:block;border-radius:8px;overflow:hidden;margin-bottom:16px}.rp-tip-takeaways{padding-left:20px;line-height:1.8;color:var(--ff-muted);font-size:13px}
#premium-dialog{border:1px solid var(--ff-border);border-radius:12px;max-width:760px}#premium-dialog .ff-premium-scroll{padding:18px}#premium-dialog .vf-plan-comparison{gap:10px}#premium-dialog .vf-plan-comparison .ff-card{padding:16px!important}#premium-dialog .vf-plan-comparison ul{font-size:12px;line-height:1.5}
@media(min-width:960px){
 html.web-layout[data-theme] body.app-view main{padding-top:105px!important;max-width:1500px}
 html.web-layout .vf-home-heroes .vf-hero,html.web-layout .vf-home-heroes .vf-hero-copy{min-height:225px}
 html.web-layout .vf-home-status{grid-template-columns:2fr 1fr 1fr;gap:14px}.vf-home-status .vf-water{min-height:146px!important}
 html.web-layout .vf-home-status .vf-wellbeing{min-height:146px!important}
 html.web-layout .vf-more-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
 html.web-layout .vf-more-grid>.ff-row{grid-column:span 2}
 html.web-layout .vf-more-grid>.ff-row:nth-child(n+4){grid-column:span 3}
 html.web-layout .vf-more-grid>.ff-row:last-child{grid-column:span 6;min-height:80px!important;flex-direction:row;align-items:center}
 html.web-layout .vf-family .sd-layout{grid-template-columns:1fr 1fr}
 html.web-layout .sd-friend-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}.sd-friend-list>button{min-height:120px!important}
 html.web-layout .vf-family .sd-friend-list .sd-photo{width:75px;height:75px;flex-basis:75px}
 html.web-layout .vf-family[data-family-screen="social"] .sd-community>.ff-row{margin-top:12px}
 html.web-layout .vf-help-topics{grid-template-columns:1fr}
 html.web-layout .ff-nutrition .v4-meal-plan{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.web-layout .ff-nutrition .v4-planned-meal .v4-meal-photo{height:115px!important}
 html.web-layout .ff-nutrition .v4-planned-meal .v4-meal-actions{margin-top:10px}
 html.web-layout .ff-nutrition .v4-nutrition-tabs .nutrition-day-nav{flex-basis:auto;order:0;flex:1}
 html.web-layout .ff-nutrition .v4-nutrition-tabs .v4-tabs{flex:1}
 html.web-layout .vf-tips-hero .vf-hero-copy{min-height:270px}
}
@media(max-width:959px){
 html[data-theme] #screen>.vf-family h2,html[data-theme] #screen>.approved h2,html[data-theme] .ff-nutrition h2{font-size:23px;letter-spacing:-.4px}
 .vf-family>.ff-heading,.approved>.ff-heading{min-height:48px;margin-bottom:14px;gap:8px}
 .vf-family .ff-heading p,.approved .ff-heading p{font-size:12px;line-height:1.4}
 .vf-family .ff-back{min-width:30px!important;min-height:38px!important;padding:4px!important}.ff-back>span{display:none}
 .vf-hero,.vf-hero-copy{min-height:158px!important}.vf-hero-copy{padding:15px!important;width:63%;gap:6px}
 html[data-theme] #screen .vf-hero h3{font-size:19px}.vf-hero-copy p{font-size:11px;line-height:1.4}.vf-hero-copy>small:not(.vf-eyebrow){font-size:9px}
 .vf-hero .ff-primary{font-size:11px!important;min-height:36px!important;padding:8px 12px!important;min-width:115px}
 .vf-eyebrow{font-size:8px!important;letter-spacing:.6px}.vf-home-heroes{gap:10px;margin-bottom:10px}
 .vf-home-status{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0 24px}
 .vf-home-status>.approved-goal{display:contents!important}
 .vf-home-status .approved-goal>div{min-height:86px;padding:11px!important;gap:8px;border-radius:9px;align-items:flex-start}
 .vf-home-status .approved-goal svg{width:22px;height:22px;flex-shrink:0}.vf-home-status .approved-goal b{font-size:11px;line-height:1.25}.vf-home-status .approved-goal strong{font-size:12px;margin:5px 0 2px}.vf-home-status .approved-goal small{font-size:9px;line-height:1.3}
 .vf-home-status .approved-goal .approved-confidence{padding:11px!important;border:1px solid var(--ff-border);margin:0}
 html[data-theme] .vf-home-status .vf-wellbeing{position:relative;padding:11px!important;min-height:95px;margin:0!important}
 html[data-theme] #screen .vf-home-status .vf-wellbeing h3{font-size:12px;margin:0}.vf-home-status .vf-wellbeing p{font-size:10px;margin:5px 0}
 .vf-home-status .vf-wellbeing button{font-size:10px!important;padding:3px 6px;min-height:30px!important;margin:0!important}
 .vf-home-status .vf-water{min-height:95px!important;padding:11px!important}.vf-water summary{font-size:12px;min-height:40px}.vf-water summary svg{width:18px;height:18px;margin:0 4px 0 0}
 .vf-home-status:has(.vf-water[open]) .vf-water{grid-column:1/-1}
 .vf-progress-overview>.approved-goal{display:grid;grid-template-columns:1fr!important;border:0!important;background:none!important;padding:0!important;gap:9px}
 .vf-progress-overview>.approved-goal>div{padding:15px!important;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:9px;display:flex;flex-direction:row;align-items:flex-start;gap:14px;min-height:90px}
 .vf-progress-overview>.approved-goal .approved-confidence{margin:0!important;border:1px solid var(--ff-border)!important}
 .vf-progress-overview .approved-goal b{font-size:11px;letter-spacing:0;text-transform:none;color:var(--ff-ink)}.vf-progress-overview .approved-goal strong{font-size:17px;margin:4px 0}.vf-progress-overview .approved-goal small{font-size:11px}
 .vf-progress-overview .approved-goal svg{width:26px;height:26px;flex-shrink:0}.vf-progress-overview .vf-journal{padding:15px!important}
 .vf-progress-overview .vf-journal h3{font-size:15px}.vf-journal-entry{padding:8px 0 8px 14px!important}.vf-journal-lock{width:44px;height:42px}
 .vf-progress-toolbar{gap:9px;margin-bottom:12px}.vf-progress-toolbar .ff-tabs button{min-height:36px!important;font-size:12px}.vf-progress-toolbar>.ff-primary{min-height:38px!important;font-size:12px}
 .vf-progress-links .ff-row{min-height:125px!important;grid-template-columns:1fr!important}.vf-progress-links .ff-row>span:last-child{grid-column:1}
 .vf-more-grid{grid-template-columns:1fr 1fr;gap:10px}.vf-more-grid .ff-row{padding:15px!important;min-height:150px!important;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.vf-more-grid .ff-row b{font-size:16px}.vf-more-grid .ff-row small{font-size:11px;line-height:1.45;margin-top:6px}.vf-more-grid .ff-row .ff-icon{width:28px;height:28px;flex-basis:28px}.vf-more-grid .ff-row .ff-icon svg{width:28px;height:28px}
 .vf-nutrition-overview{gap:10px;margin:0 0 12px}.ff-nutrition .nutrition-heading{margin-bottom:12px!important;gap:10px!important}.ff-nutrition .nutrition-heading p{font-size:12px!important;margin-top:5px!important}.ff-nutrition .nutrition-add-top{min-height:36px!important;padding:6px 10px!important;font-size:11px!important;min-width:65px!important}
 html[data-theme] .ff-nutrition .vf-nutrition-summary{padding:14px;gap:10px}.vf-nutrition-summary .v4-row h3{font-size:14px!important}.vf-nutrition-summary .v4-row>small{font-size:9px}.vf-nutrition-summary .vf-assessment{font-size:18px}.vf-nutrition-summary>p{font-size:11px;line-height:1.4}.vf-nutrition-summary>.ff-primary{min-height:38px!important;font-size:12px}
 html[data-theme] .ff-nutrition .vf-macro-summary li{padding:9px 3px;gap:5px}.vf-macro-summary li span{font-size:11px}.vf-macro-summary li strong{font-size:19px}
 .ff-nutrition .v4-nutrition-tabs{gap:8px;margin-bottom:12px}.ff-nutrition .v4-tabs button{padding:7px 12px!important;min-height:36px!important;font-size:12px!important}
 .ff-nutrition .nutrition-day-nav{font-size:11px}.ff-nutrition .v4-preview-note{font-size:10px!important}
 html[data-theme] .app-view .ff-nutrition .v4-meal-photo{height:74px!important;width:90px!important;flex-basis:90px!important}.ff-nutrition .v4-meal-info>b{font-size:14px!important}.ff-nutrition .v4-meal-info{min-width:120px!important}
 .vf-family .sd-friend-card,.vf-family .sd-challenge,.vf-family .sd-journey-card{padding:14px!important}.vf-family .sd-friend-list{gap:4px!important;margin:14px 0!important}.vf-family .sd-friend-list .sd-photo{width:54px!important;height:54px!important;flex-basis:54px!important}.vf-family .sd-friend-list>button{min-height:105px!important;padding:4px!important}.vf-family .sd-friend-list b{font-size:12px!important}.vf-family .sd-friend-list small{font-size:9px!important}
 .vf-family .sd-friend-card>.ff-between h3{font-size:16px}.vf-family .sd-friend-card>.ff-between small{font-size:9px}.vf-family .sd-tabs button{font-size:11px;min-height:36px!important;padding:7px!important}.sd-challenge h4{font-size:17px}.sd-challenge p{font-size:11px}.rp-avatar-stack svg{width:26px;height:26px}.sd-challenge-summary strong{font-size:17px!important}.rp-community-ring{width:44px;height:44px;border-width:5px}
 .rp-request-card{grid-template-columns:1fr}.rp-request-card .ff-two{justify-content:flex-end}.rp-request-card>h3{grid-column:1}
 .vf-family #sd-profile-form{padding:18px}.vf-family .sd-profile{padding:20px}
 html[data-theme] .vf-family .rp-settings>.ff-card{grid-template-columns:minmax(0,.9fr) minmax(150px,1.1fr);padding:11px!important;min-height:70px;gap:8px}.rp-settings>.ff-card h3{font-size:12px!important;gap:7px}.rp-settings>.ff-card h3 svg{width:19px;height:19px}
 html[data-theme] .vf-family .rp-settings>.ff-card button{font-size:10px!important;padding:5px 4px!important;min-height:36px!important}.rp-settings .ff-settings-list>.ff-secondary{font-size:13px!important;min-height:60px!important;padding:13px!important}.rp-settings .ff-settings-list>.ff-row{min-height:60px!important;padding:12px!important}.rp-settings .ff-settings-list .ff-row b{font-size:13px}.rp-settings .ff-settings-list .ff-row small{font-size:10px}
 html[data-theme] .rp-settings>.ff-settings-premium{min-height:68px;padding:12px}.rp-settings .ff-settings-premium small{font-size:11px}
 .vf-family :is(#ff-body-form,#ff-goal-form,#ff-activity-form){padding:14px}.vf-family .ff-comparison .ff-body-photo{height:240px!important}.vf-family .ff-photo-feature{gap:12px}
 .food-editor .approved-food-select>svg{height:84px!important}.food-editor .approved-food-select>span{padding:7px}.food-editor .approved-food-select b{font-size:11px}.food-editor .approved-food-select small{font-size:9px}.food-editor .approved-food-choice>[data-food="favorite"]{min-height:30px!important;min-width:30px}.food-editor .approved-food-results{gap:7px}.food-editor .approved-portions span{font-size:12px}
 .vf-tips-hero .vf-hero-copy{max-width:61%;width:61%;min-height:190px!important}.vf-tips-hero .vf-hero-copy h3{font-size:21px!important}.vf-tips-hero>svg{width:70%}.vf-guidance-topics{gap:9px;margin:12px 0}.vf-guidance-topics .ff-row{min-height:80px;padding:13px!important}.vf-guidance-topics .ff-row b{font-size:14px}.vf-guidance-topics .ff-row small{font-size:11px}.vf-tips-layout>.ff-card{padding:16px!important}
 .vf-help-search{font-size:12px;margin-bottom:14px}.vf-help-topics summary{font-size:12px}.vf-help-topics p{font-size:12px}
}
html[data-text-size="large"] .vf-hero-copy{min-height:260px!important;width:90%;max-width:90%;background:var(--ff-bg)}
html[data-text-size="large"] .vf-home-status{grid-template-columns:1fr!important}
html[data-text-size="large"] .rp-settings>.ff-card{grid-template-columns:1fr!important}
html[data-text-size="large"] .rp-settings>.ff-card :is(.ff-three,.ff-two){grid-column:1!important}
html[data-text-size="large"] .food-editor .approved-food-results{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-text-size="large"] :is(.vf-family,.approved,.ff-nutrition-wrap) :is(.ff-card,.ff-row){height:auto;min-height:80px}
html[data-theme] :is(.vf-family,.approved,.ff-nutrition-wrap,.food-editor) :focus-visible{outline:2px solid var(--ff-accent);outline-offset:3px}
.food-editor .approved-food-choice[hidden],#rp-tip-results[hidden],#rp-tip-results [hidden],.vf-family .sd-person[hidden]{display:none!important}
.rp-day-controls{position:relative;order:2}.rp-day-controls>summary{display:grid;place-items:center;cursor:pointer;width:44px;height:44px;list-style:none;border:1px solid var(--ff-border);border-radius:7px;background:var(--ff-card)}
.rp-day-controls>summary svg{width:19px;height:19px;color:var(--ff-accent)}
.rp-day-controls[open]{flex-basis:100%}.rp-day-controls[open]>.nutrition-day-nav{display:flex!important;padding:8px!important;border:1px solid var(--ff-border);border-radius:8px;margin-top:6px!important;background:var(--ff-card)}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs{gap:8px!important;margin:0 0 12px!important}
html[data-theme] .app-view #screen .ff-nutrition .vf-nutrition-summary{gap:8px!important}
html[data-theme] .app-view #screen .ff-nutrition .vf-nutrition-summary>.ff-primary{padding:9px 12px!important;margin:0!important;min-height:44px!important}
html[data-theme] .app-view #screen .ff-nutrition .vf-record-count{font-size:10px!important;line-height:1.2}
@media(max-width:959px){html[data-theme] .app-view #screen .ff-nutrition .nutrition-heading h2{font-size:23px!important}.vf-hero .ff-primary{min-height:44px!important}.rp-day-controls{order:1}.ff-nutrition .v4-kit{order:2}}
.rp-habit-week>[role="row"]{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:10px;align-items:center;padding:13px 6px;border-bottom:1px solid var(--ff-border);font-size:13px}.rp-habit-week [role="cell"]:not(time){text-align:center;color:var(--ff-muted);font-size:18px}.rp-habit-week .recorded{color:var(--ff-accent)!important}.rp-habit-header{font-size:11px!important;color:var(--ff-muted)}
.rp-field-count{display:block;text-align:right;font-size:11px;color:var(--ff-muted);margin-top:7px}
.rp-measure-cover{height:180px;border-radius:8px;overflow:hidden;margin:12px 0}.rp-measure-cover svg{width:100%;height:100%;display:block}
#ff-dialog:has(.rp-wellbeing){width:min(450px,calc(100vw - 28px));border-radius:12px;border:1px solid var(--ff-border);background:var(--ff-bg);color:var(--ff-ink)}
.rp-wellbeing{border:0!important;background:none!important;padding:10px!important}.rp-wellbeing .ff-three{margin:12px 0 23px;gap:10px}.rp-wellbeing .ff-three button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:13px 6px!important;min-height:84px!important;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:10px}.rp-wellbeing .ff-three button[aria-pressed="true"]{border-color:var(--ff-accent);background:var(--ff-tint)}.rp-mood-face{font-size:27px;color:var(--ff-accent)}
.rp-wellbeing>.ff-primary{width:100%;min-height:44px;margin-top:12px}
.vf-family[data-family-screen="social"]>.sd-demo{display:none}
html[data-theme] #screen .vf-family .sd-friend-card h3{font-size:17px!important;margin:0 0 5px!important}
html[data-theme] #screen .vf-family .sd-challenge>h3{font-size:13px!important;margin:0 0 18px!important}
.sd-challenge>.rp-community-badge{position:absolute;right:14px;top:14px}
.sd-challenge h4{font-size:18px;margin:8px 0}.sd-challenge>p{margin:6px 0;font-size:11px;line-height:1.4}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs>.v4-tabs{width:auto!important;flex:1 1 140px!important;min-width:0!important;max-width:none!important}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs>.v4-kit{flex:0 0 100px!important;width:100px!important;min-width:0!important;margin:0!important}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs>.rp-day-controls{flex:0 0 44px}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs>.rp-day-controls[open]{flex-basis:100%}
html[data-theme] .app-view #screen .ff-nutrition .v4-meal-plan{margin-top:8px!important;padding-top:0!important}
.food-editor.rp-measure-editor{display:block!important;max-width:680px;margin:auto}.rp-measure-editor .measure-calibration{margin:0;border:0!important}.rp-measure-editor .rp-measure-cover{height:210px}
.rp-meal-amount{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.rp-meal-amount label{font-size:12px}.rp-meal-amount label[for="meal-quantity"],.rp-meal-amount label[for="meal-portion"]{grid-row:1;grid-column:1}.rp-meal-amount :is(#meal-quantity,#meal-portion){grid-row:2;grid-column:1;width:100%}.rp-meal-amount label[for="meal-unit"]{grid-row:1;grid-column:2}.rp-meal-amount #meal-unit{grid-row:2;grid-column:2;width:100%}.rp-meal-amount .portion-result{grid-column:1/-1}
html[data-theme] #screen .rp-request-card>h3{font-size:15px!important;margin:0!important}
html[data-theme] #screen .rp-request-card .ff-two>button{width:auto!important;flex:1 1 0;min-width:100px;white-space:normal;margin:0!important;padding:8px 12px!important}
.rp-tip-article [data-extra="save-tip"]{background:var(--ff-accent);color:var(--ff-accent-ink);font-weight:650}
#premium-dialog .vf-plan-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
#premium-dialog .ff-premium-scroll>h3{font-size:25px!important;line-height:1.25;margin:12px 0}
#premium-dialog .ff-premium-scroll>p{font-size:12px;line-height:1.5;margin:10px 0}
#premium-dialog .vf-plan-comparison h3{font-size:17px!important;margin:0 0 10px}
#premium-dialog .vf-plan-comparison ul{font-size:11px!important;line-height:1.5;padding-left:15px;margin:0}
#premium-dialog .vf-plan-comparison li{padding:6px 0}
#premium-dialog .ff-premium-scroll{padding:14px!important}
.rp-premium-terms{margin:13px 0 0}.rp-premium-terms summary{font-size:12px;color:var(--ff-muted);min-height:40px;display:flex;align-items:center;cursor:pointer}.rp-premium-terms p{font-size:12px;line-height:1.6}
@media(max-width:959px){.vf-tips-hero>svg{right:-55px!important}.rp-request-card{padding:15px!important}.vf-family #sd-profile-form label{font-size:13px!important}.vf-family #sd-profile-form textarea{min-height:120px!important}}
@media(min-width:960px){
 html.web-layout[data-theme] body.app-view #screen>.vf-family{width:100%!important;max-width:none!important}
 html.web-layout[data-theme] body.app-view:is([data-page="more"],[data-page="tips"],[data-page="support"]) #screen{width:100%!important;max-width:none!important}
 html[data-theme] #screen .vf-journal{padding:16px!important}
 html[data-theme] #screen .vf-journal .ff-between{margin-bottom:8px;height:auto;min-height:26px}
 html[data-theme] #screen .vf-journal .ff-between h3{font-size:16px!important;margin:0!important}
 html[data-theme] #screen .vf-journal .vf-journal-entry{padding:6px 0 6px 14px!important;min-height:52px!important}
 html[data-theme] #screen .vf-journal-lock{width:44px;height:38px}
 html[data-theme] #screen .vf-journal>.ff-secondary{margin-top:8px!important;padding:8px 12px!important;min-height:38px!important;font-size:12px!important}
 html.web-layout .vf-home-status{align-items:stretch}
}
html[data-theme="light"] .vf-progress-overview .approved-goal b,html[data-theme="light"] .rp-community-badge{color:#75621b}
html[data-theme="light"] .vf-home-status .approved-goal svg{color:#80671d}
html.web-layout[data-theme] body.app-view #bottom{box-shadow:none!important}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs{display:flex!important;flex-wrap:wrap;align-items:center}
html[data-theme] .app-view #screen .ff-nutrition .v4-nutrition-tabs>.v4-tabs{margin:0!important;padding:0!important}
.vf-hero{display:flex}.vf-hero-copy{align-self:stretch;height:auto}
@media(min-width:960px){html.web-layout .vf-home-status>.approved-goal{align-items:stretch}html.web-layout .vf-home-status>.vf-wellbeing{margin:0!important}html.web-layout .vf-tips-hero>svg{width:55%}}
html[data-theme] #screen .food-editor.rp-measure-editor .measure-calibration{background:var(--ff-card)!important;border:1px solid var(--ff-border)!important;padding:14px!important;color:var(--ff-ink)}
html[data-theme] #screen .rp-measure-editor #measure-form button[type="submit"]{background:var(--ff-accent)!important;color:var(--ff-accent-ink)!important;font-weight:650;min-height:44px;margin-top:12px}
html[data-text-size="large"][data-theme] body.app-view #screen :is(.vf-family,.approved,.ff-nutrition-wrap,.food-editor) :is(button,label,input,select,textarea,strong,b){font-size:18px!important;line-height:1.45!important}
html[data-text-size="large"][data-theme] body.app-view :is(#screen,#premium-dialog) :is(.vf-family,.approved,.ff-nutrition-wrap,.food-editor,.vf-plan-comparison) :is(p,li,small){font-size:16px!important;line-height:1.5!important}
@media(max-width:380px){html[data-text-size="large"] .vf-family :is(.sd-tabs,.ff-tabs){display:grid;grid-template-columns:1fr}html[data-text-size="large"] .vf-family :is(.sd-tabs,.ff-tabs) button{width:100%}}
@media(min-width:960px){html.web-layout .vf-home-status{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}html.web-layout .vf-home-status>.approved-goal{display:contents!important}html.web-layout .vf-home-status .approved-goal>div{height:auto;align-self:stretch}html.web-layout .vf-home-status:has(.vf-water[open]) .vf-water{grid-column:1/-1}}

/* Final reference composition: quiet shell, compact summaries, optional detail. */
html[data-theme="dark"] body.app-view{--ff-bg:#001b17;--ff-card:#032720;--ff-soft:#06342b;--ff-border:#17463a;--ff-muted:#a5c4b8;--ff-ink:#edf7ef;--ff-accent:#4ce8c7;--ff-tint:#064738;background:radial-gradient(ellipse at 65% 15%,#06352a 0,transparent 65%),#001a16}
html[data-theme] :is(.vf-family,.approved,.ff-nutrition-wrap) :is(.ff-card,.ff-row,.vf-hero,.approved-goal){border-radius:8px}
html[data-theme] .app-view .app-topbar{min-height:60px;padding-top:8px;padding-bottom:8px;border-bottom-color:var(--ff-border)}
html[data-theme] .app-view main{padding-top:80px!important}
html[data-theme] .app-view #bottom>button[aria-pressed="true"]{background:transparent;color:var(--ff-accent)}
html[data-theme] .vf-family>.ff-heading,html[data-theme] .approved>.ff-heading{min-height:44px;margin-bottom:12px}
html[data-theme] .vf-family>.ff-heading .approved-demo,html[data-theme] .approved>.ff-heading .approved-demo{font-size:8px;padding:2px 4px;align-self:flex-start}
html[data-theme] :is(.vf-family,.approved,.ff-nutrition-wrap) .ff-pet{display:block;width:16px;height:20px;object-fit:contain;flex-shrink:0}
html[data-companion="off"] .ff-pet{display:none!important}
.vf-home-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html[data-theme] #screen .vf-home-shortcuts>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:44px;padding:8px;background:transparent;border:1px solid var(--ff-border);border-radius:7px;color:var(--ff-muted);font-size:12px}
.vf-home-shortcuts svg{width:18px;height:18px;color:var(--ff-accent)}
.vf-progress-tools{margin-top:12px}.vf-progress-tools>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.rp-assessment-help{margin:0;font-size:11px;color:var(--ff-muted)}.rp-assessment-help>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:center}
.rp-assessment-help>summary:after{content:'⌄';margin-left:8px}.rp-assessment-help small{display:block;padding:4px 0 8px;line-height:1.5}
.vf-macro-summary li>span{display:flex;align-items:center;gap:7px}.vf-macro-summary li>span svg{width:20px;height:20px;color:#e4cf79}
html[data-theme="light"] .vf-macro-summary li>span svg{color:#80671b}
html[data-theme] .app-view #screen .ff-nutrition .v4-planned-meal{display:block!important;padding:0!important;overflow:visible;border-radius:8px;min-height:0}
.rp-meal-overview{display:grid;grid-template-columns:82px minmax(0,1fr) 16px;gap:12px;align-items:center;padding:10px;cursor:pointer;list-style:none;min-height:88px}
.rp-meal-overview::-webkit-details-marker{display:none}
html[data-theme] .app-view #screen .ff-nutrition .rp-meal-overview .v4-meal-photo{display:block;width:82px!important;height:64px!important;margin:0!important;border-radius:5px;overflow:hidden}
html[data-theme] .app-view #screen .ff-nutrition .rp-meal-overview .v4-meal-info{display:block;min-width:0!important;padding:0!important}
.rp-meal-overview .v4-meal-info>b{display:block;margin-top:4px}.rp-meal-chevron{font-size:23px;color:var(--ff-muted)}
.v4-planned-meal[open] .rp-meal-chevron{transform:rotate(90deg)}
.rp-meal-expanded{position:relative;padding:12px;border-top:1px solid var(--ff-border)}
.rp-meal-expanded>.nutrition-estimate{display:block;font-size:12px;margin:0 30px 10px 0;color:var(--ff-muted)}
html[data-theme] .app-view #screen .rp-meal-expanded .v4-meal-menu{position:relative;inset:auto;width:100%;margin:10px 0}
html[data-theme] .app-view #screen .rp-meal-expanded .v4-meal-menu>summary{display:flex;align-items:center;min-height:44px;justify-content:center;border:1px solid var(--ff-border);font-size:20px}
.rp-meal-expanded .v4-meal-actions{margin-top:10px}.rp-meal-expanded .v4-log-meal{width:100%}
html[data-theme] #screen .ff-nutrition .v4-nutrition-tabs>.v4-tabs{justify-content:flex-start;flex:0 1 auto!important}
html[data-theme] #screen .ff-nutrition .v4-nutrition-tabs>.rp-day-controls{margin-left:auto}
html[data-theme] .vf-family :is(.ff-tabs,.sd-tabs) button[aria-pressed="true"]{border-radius:6px;box-shadow:inset 0 0 0 1px var(--ff-accent)}
.vf-family[data-family-screen="tips"]>.ff-heading>.ff-back,.vf-family[data-family-screen="more"]>.ff-heading>.ff-back{display:none}
html[data-theme] #screen .vf-guidance-topics .ff-row{min-height:92px;align-items:center}
html[data-theme] #screen .vf-family .sd-friend-card>.ff-between{min-height:36px}
html[data-theme] #screen .vf-family .sd-friend-card .sd-friend-list{margin:10px 0!important}
html[data-theme] #screen .vf-family .sd-friend-list>button{min-height:86px!important;gap:7px;padding:4px!important}
html[data-theme] #screen .vf-family .sd-challenge>h3{margin-bottom:6px!important}
.sd-challenge h4{margin:6px 0}.sd-challenge .sd-challenge-summary{margin:8px 0}
@media(min-width:960px){
 html.web-layout[data-theme] body.app-view main{padding-top:88px!important}
 html.web-layout[data-theme] body.app-view .app-topbar{min-height:64px}
 html.web-layout[data-theme] body.app-view #bottom{left:0;top:64px;bottom:0;width:224px;max-width:224px;padding:22px 14px;border:0;border-right:1px solid var(--ff-border);border-radius:0;background:transparent}
 html.web-layout[data-theme] body.app-view #bottom>button{min-height:48px;border-radius:6px;gap:12px;padding:11px 14px}
 html.web-layout[data-theme] body.app-view #bottom>button[aria-pressed="true"]{background:var(--ff-tint);box-shadow:inset 3px 0 0 var(--ff-accent)}
 html.web-layout[data-theme] #screen :is(.vf-family,.approved,.ff-nutrition) h2{font-size:36px;letter-spacing:-.75px}
 html.web-layout .vf-home-heroes .vf-hero,html.web-layout .vf-home-heroes .vf-hero-copy{min-height:210px}
 html.web-layout .vf-home-heroes .vf-hero-copy{gap:8px;padding:20px}
 html.web-layout[data-theme] #screen .vf-home-heroes h3{font-size:25px}
 html.web-layout .vf-home-status{margin:12px 0}.vf-home-status .approved-goal>div{min-height:132px}
 html.web-layout .vf-home-status .vf-wellbeing,html.web-layout .vf-home-status .vf-water{min-height:132px!important}
 html.web-layout .vf-home-shortcuts{max-width:500px;margin-left:auto}
 html.web-layout .vf-progress-overview{grid-template-columns:1.08fr 1fr;gap:16px}
 html.web-layout .vf-progress-overview>.approved-goal{min-height:230px!important;padding:20px;gap:20px}
 html.web-layout .vf-progress-overview .approved-goal svg{display:none}.vf-progress-overview .approved-goal strong{font-size:24px}
 html.web-layout .vf-progress-overview .approved-goal small{font-size:14px;line-height:1.5}
 html.web-layout[data-theme] #screen .vf-progress-links .ff-row{min-height:104px!important;display:flex!important;flex-direction:row;align-items:flex-start;padding:16px!important;gap:10px}
 html.web-layout[data-theme] #screen .vf-progress-links .ff-row b{font-size:15px}.vf-progress-links .ff-row small{line-height:1.45}
 html.web-layout[data-theme] #screen .vf-progress-links .ff-row>span:last-child{margin:0;align-self:flex-end}
 html.web-layout .vf-progress-tools{max-width:100%;margin-top:14px}
 html.web-layout .vf-family .sd-layout{gap:16px}
 html.web-layout .vf-family .sd-friend-card{min-height:190px}
 html.web-layout .vf-family .sd-friend-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 html.web-layout[data-theme] #screen .vf-family .sd-friend-list>button{min-height:105px!important}
 html.web-layout .vf-tips-hero .vf-hero-copy{min-height:280px;max-width:55%;gap:12px}
 html.web-layout[data-theme] #screen .vf-tips-hero h3{font-size:34px;line-height:1.12;max-width:320px}
 html.web-layout .vf-tips-hero p{font-size:15px;max-width:310px}
 html.web-layout[data-theme] #screen .vf-guidance-topics .ff-row{min-height:130px;align-items:flex-start;padding:20px!important}
 html.web-layout .vf-guidance-topics .ff-row b{font-size:18px}.vf-guidance-topics .ff-row small{font-size:13px}
 html.web-layout .vf-nutrition-overview{grid-template-columns:1.3fr 1fr;gap:16px}
 html.web-layout .vf-nutrition-overview .vf-hero,html.web-layout .vf-nutrition-overview .vf-hero-copy{min-height:230px}
 html.web-layout .ff-nutrition .v4-meal-plan{gap:12px!important}
 html.web-layout .rp-meal-overview{grid-template-columns:minmax(0,1fr) 16px;gap:7px;min-height:0}
 html.web-layout[data-theme] .app-view #screen .ff-nutrition .rp-meal-overview .v4-meal-photo{grid-column:1/-1;width:100%!important;height:100px!important}
 html.web-layout[data-theme] .app-view #screen .ff-nutrition .rp-meal-overview .v4-meal-info>b{font-size:16px!important}
}
@media(max-width:959px){
 html[data-theme] #screen :is(.vf-family,.approved,.ff-nutrition) h2{font-size:22px}
 .vf-hero,.vf-hero-copy{min-height:145px!important}.vf-hero-copy{padding:12px!important;gap:5px;width:64%}
 html[data-theme] #screen .vf-hero h3{font-size:18px}.vf-hero-copy p{font-size:11px}
 html[data-theme] #screen .vf-hero .ff-primary{min-height:44px!important;padding:8px 12px!important;margin-top:4px!important}
 .vf-home-status{gap:8px;margin-bottom:10px}.vf-home-status .approved-goal>div{min-height:64px;padding:10px!important}
 .vf-home-status .approved-goal small{display:none}
 html[data-theme] .vf-home-status .vf-wellbeing,.vf-home-status .vf-water{min-height:82px!important}
 .vf-home-status .vf-wellbeing p{font-size:10px;margin:4px 0}.vf-home-status .vf-wellbeing button{min-height:44px!important}
 html[data-theme] .vf-progress-overview>.approved-goal{min-height:0!important;gap:8px}
 html[data-theme] .vf-progress-overview>.approved-goal>div{min-height:74px!important;padding:12px!important}
 html[data-theme] .vf-progress-overview .approved-goal strong{font-size:16px;margin:3px 0}
 html[data-theme] #screen .vf-journal{padding:12px!important}.vf-journal-entry{min-height:48px!important;padding:5px 0 5px 13px!important}
 .vf-journal .ff-between{margin-bottom:6px}.vf-journal-entry:after{top:23px}
 html[data-theme] #screen .vf-family .sd-friend-card,.vf-family .sd-challenge,.vf-family .sd-journey-card{padding:12px!important}
 .vf-family .sd-friend-card>.ff-between button{min-height:44px;padding:6px}
 html[data-theme] #screen .vf-family .sd-friend-card .sd-friend-list{margin:6px 0!important}
 .vf-family .sd-friend-list .sd-photo{width:50px!important;height:50px!important;flex-basis:50px!important}
 html[data-theme] #screen .vf-family .sd-tabs button{font-size:12px;min-height:44px!important}
 .vf-tips-hero .vf-hero-copy{min-height:200px!important}.vf-tips-hero>svg{right:-25px!important;width:66%}
 html[data-theme] #screen .vf-guidance-topics .ff-row{min-height:72px!important;padding:12px!important}
 html[data-theme] .vf-family .rp-settings>.ff-card{min-height:64px!important;padding:10px!important}
 html[data-theme] .vf-family .rp-settings>.ff-card h3{font-size:13px!important}
 html[data-theme] .vf-family .rp-settings>.ff-card button{font-size:11px!important;min-height:44px!important}
 html[data-theme] .ff-nutrition .vf-nutrition-summary{gap:8px!important;padding:12px!important}
 html[data-theme] .ff-nutrition .vf-macro-summary li{padding:7px 4px;gap:4px}
 html[data-theme] .ff-nutrition .vf-nutrition-summary>.ff-primary{min-height:44px!important;padding:8px!important}
 .rp-assessment-help>summary{font-size:10px;min-height:32px}
 html[data-theme] .ff-nutrition .v4-plan-heading{min-height:44px!important}
 .ff-nutrition .v4-plan-heading h3{font-size:15px}.ff-nutrition .v4-preview-note{font-size:10px!important;margin:0 0 6px!important}
}
html[data-text-size="large"] .vf-home-shortcuts{flex-direction:column}
html[data-text-size="large"] .rp-meal-overview{grid-template-columns:64px minmax(0,1fr) 16px}
html[data-text-size="large"] .rp-meal-overview .v4-meal-photo{max-width:64px}
html[data-text-size="large"] .rp-assessment-help>summary{font-size:16px;min-height:44px}

html[data-theme] #screen .vf-status-action{display:flex;align-items:flex-start;gap:10px;text-align:left;width:100%;background:var(--ff-card);color:var(--ff-ink);border:1px solid var(--ff-border);border-radius:8px;padding:16px;min-height:132px}
.vf-status-action>svg{width:24px;height:24px;color:#e4cf79;flex-shrink:0}.vf-status-action>span:nth-child(2){flex:1}.vf-status-action b{display:block;font-size:14px}.vf-status-action small{display:block;font-size:12px;color:var(--ff-muted);margin-top:8px;line-height:1.4}.vf-status-action>span:last-child{align-self:center}
.vf-nutrition-summary{position:relative}.vf-nutrition-summary>.v4-row{padding-right:31px}
.vf-nutrition-summary>.rp-assessment-help{position:absolute;right:2px;top:1px;margin:0;z-index:5}
.vf-nutrition-summary>.rp-assessment-help>summary{width:44px;height:44px;min-height:44px;display:grid;place-items:center;font-size:18px;padding:0;list-style:none;color:var(--ff-muted)}
.vf-nutrition-summary>.rp-assessment-help>summary:after{display:none}
.vf-nutrition-summary>.rp-assessment-help>small{position:absolute;right:0;top:43px;width:280px;max-width:calc(100vw - 65px);padding:14px;border:1px solid var(--ff-border);border-radius:8px;background:var(--ff-card);box-shadow:0 8px 24px #0004;color:var(--ff-ink);font-size:12px;line-height:1.6}
.exercise-offline-status{font-size:11px;line-height:1.5;padding:10px 12px;margin:20px 0 0;max-width:100%;border-color:var(--ff-border);color:var(--ff-muted)}
@media(max-width:959px){html[data-theme] .app-view main{padding-top:72px!important}html[data-theme] #screen .vf-status-action{min-height:78px!important;padding:10px!important;gap:8px}.vf-status-action>svg{width:19px;height:19px}.vf-status-action b{font-size:12px}.vf-status-action small{font-size:10px;margin-top:5px}}

@media(min-width:960px){
 html.web-layout[data-theme] body.app-view #screen .ff-nutrition .v4-nutrition-tabs>.v4-tabs{flex:0 0 260px!important;width:260px!important;max-width:260px!important;justify-content:flex-start}
 html.web-layout[data-theme] body.app-view #screen .ff-nutrition .v4-nutrition-tabs>.v4-tabs button{flex:1;max-width:130px}
 html.web-layout[data-theme] body.app-view #screen .ff-nutrition .v4-plan-heading h3{font-size:16px!important}
 html.web-layout[data-theme] body.app-view #screen .ff-nutrition .v4-yesterday-plan{font-size:12px!important}
}
html[data-theme] #screen .ff-nutrition .v4-preview-note{font-size:11px!important;line-height:1.4;margin:0!important;padding:0!important}
html[data-theme] #screen .vf-journal .vf-journal-entry{min-height:46px!important;padding:4px 0 4px 14px!important}
.vf-journal-entry>span:nth-child(2){display:grid;grid-template-columns:86px minmax(0,1fr);gap:2px 8px;align-items:center}
.vf-journal-entry>span:nth-child(2)>small:first-child{grid-column:1;grid-row:1;font-size:10px;line-height:1.4}
.vf-journal-entry>span:nth-child(2)>b{grid-column:2;grid-row:1;font-size:11px;line-height:1.3}
.vf-journal-entry>span:nth-child(2)>small:last-child{grid-column:2;grid-row:2;font-size:10px;line-height:1.4}
.vf-journal-entry:after{top:22px}.vf-journal-lock{height:38px;width:40px}
html[data-theme] #screen .vf-journal{padding:14px!important}
@media(max-width:959px){.vf-journal-entry>span:nth-child(2){grid-template-columns:70px minmax(0,1fr);gap:2px 4px}.vf-journal-entry>span:nth-child(2)>b{font-size:10px}.vf-journal-entry>span:nth-child(2)>small{font-size:9px!important}.vf-journal-entry>span:nth-child(2)>small:last-child{grid-column:1/-1}}
html[data-text-size="large"] .vf-journal-entry>span:nth-child(2){display:block}
.exercise-offline-status[data-exercise-offline="ready"]{border:0;background:transparent;font-size:11px;padding:4px;margin-top:12px;text-align:center}

/* Meal history prioritizes saved records over its optional illustrative idea. */
html[data-theme] body[data-page="food"] #screen>.card,html[data-theme] body[data-page="food"] #screen>.rp-meal-idea{background:var(--ff-card);border:1px solid var(--ff-border);border-radius:8px;color:var(--ff-ink);padding:14px;margin:12px 0}
html[data-theme] body[data-page="food"] .secondary-heading{min-height:44px;margin-bottom:12px;align-items:center}
html[data-theme] body[data-page="food"] .secondary-heading h2{font-size:24px}
html[data-theme] body[data-page="food"] .rp-meal-idea{padding:0 12px!important}
.rp-meal-idea>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;color:var(--ff-muted)}
.rp-meal-idea>summary:after{content:'⌄';color:var(--ff-accent)}
html[data-theme] body[data-page="food"] .rp-meal-idea .meal-photo{height:105px;margin:0}
html[data-theme] body[data-page="food"] .rp-meal-idea .meal-feature{background:none;border:0;padding:12px 0;margin:0}
html[data-theme] body[data-page="food"] .rp-meal-idea .meal-feature h3{font-size:16px;margin:0 0 7px}.rp-meal-idea .meal-feature p{font-size:12px}
html[data-theme] body[data-page="food"] .food-heading{margin:0 0 12px;gap:10px}.food-heading input{min-height:44px}
html[data-theme] body[data-page="food"] .meal-record{padding:12px!important;gap:10px;background:var(--ff-soft);border:1px solid var(--ff-border);border-radius:8px}
html[data-theme] body[data-page="food"] .meal-record p{font-size:14px;margin:5px 0}.meal-record .macro-line{font-size:12px;line-height:1.5;color:var(--ff-muted)}
html[data-theme] body[data-page="food"] .record-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
html[data-theme] body[data-page="food"] .record-actions>[data-food="reuse-today"]{grid-column:1/-1}
html[data-theme] body[data-page="food"] .macro-total{border-top:1px solid var(--ff-border);margin-top:12px;padding-top:12px}.macro-total>b{font-size:13px}
html[data-theme] body[data-page="food"] .macro-grid{gap:6px;margin:8px 0}.macro-grid span{font-size:12px}
@media(min-width:960px){html.web-layout body[data-page="food"] #screen{max-width:1000px}.meal-record .record-actions{max-width:380px}}
