/* Clear working surfaces; the daily result keeps the forest identity. */
body.fituba-app{background:#f6f8f6}
body.fituba-app .capture-stack #entryForm{background:#fff;color:#20392e;border:1px solid #dce5dd;box-shadow:0 3px 14px #1c442a05;border-radius:20px}
body.fituba-app #entryForm :is(#entryPrompt,#entryPromptText){color:#173b2c}
body.fituba-app #entryForm label svg{color:#28724e}
body.fituba-app #entryForm :is(.composer-help,.ai-quota,.dictation-status,.manual-nutrition-details>summary,.saved-meals summary){color:#557064}
body.fituba-app #entryForm .composer-input{background:#fff;border:1px solid #cfdbd2;box-shadow:inset 0 1px 2px #193b2403}
body.fituba-app #entryForm #entryText{background:#fff;color:#183e2d;font-size:16px;line-height:1.5;min-height:90px}
body.fituba-app #entryForm #entryText::placeholder{color:#687870;opacity:1}
body.fituba-app #entryForm .dictation-button{background:#ecf5ef;color:#226744;border-color:#deebe2}
body.fituba-app #entryForm :is(.manual-food-panel input,.ai-quota-details p){background:#fff;color:#264e39;border-color:#d4e1d6;box-shadow:none}
body.fituba-app #entryForm :is(input,textarea,button,summary):focus-visible{outline:3px solid #34865e;outline-offset:2px}
body.fituba-app #entryForm .button-primary{background:#28784f;color:white}
body.fituba-app #entryForm .button-primary:disabled{background:#edf1eb;color:#677969;opacity:1}
body.fituba-app #entryForm .manual-nutrition-details small{color:#6a7c70}
/* compact.css still carries the dark composer colors; on this white card they fell to ~1.2:1. */
body.fituba-app #entryForm :is(.form-message,.manual-food-panel label){color:#557064}
body.fituba-app #entryForm :is(.form-message,.dictation-status)[data-tone=error]{color:#b34442}
body.fituba-app #entryForm .food-text-button{color:#28724e}
/* The AI's food question keeps the forest fill: its help line needs the light ink (9:1), not the card's gray (2.3:1). */
body.fituba-app #entryForm .food-clarification .composer-help{color:#cfe2d6}
body.fituba-app #entryForm .manual-food-panel input::placeholder{color:#687870;opacity:1}
.fituba-app .capture-stack[data-capture-mode]:not([data-capture-mode=text]) #entryForm{display:block}
.fituba-app .quick-section{margin-top:0}.fituba-app .quick-section .quick-grid{max-width:none}
.fituba-app .quick-section .quick-card{border-color:#b8d7c3;box-shadow:0 8px 20px #1b4d2910;border-radius:18px;background:white}
.fituba-app .quick-section .quick-card input{font-size:16px}.fituba-app .quick-section .quick-card input::placeholder{color:#8d9c92;opacity:.68}
@media(prefers-reduced-motion:no-preference){.quick-card:not([hidden]){animation:quick-reveal .2s ease-out}@keyframes quick-reveal{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}}
#page-hoy .daily-followup .report-card{background:white;border:1px solid #dce5dd;color:#234c35;padding:18px;border-radius:18px;box-shadow:none}
#page-hoy .daily-followup :is(#reportSummary,#todayAction){color:#20412e}
#page-hoy .daily-followup :is(#reportDetails,#todayActionReason,.report-eyebrow,.report-copy,.eyebrow,#reportMeta,.latest-analysis h3,.section-icon,.report-actions){color:#567362}
#page-hoy .daily-followup .next-action-block{border-color:#e3ebe3}
body.fituba-app .progress-history .trend-card{--chart-color:#287151;--chart-range:#2b7c4914;--green:#226f49;--green-bright:#23754e;--muted:#5e7165;background:#fff;color:#1a3c29;border-color:#dce5dd;box-shadow:none}
.progress-history .trend-card .metric-calories{--series-color:#546f1f}.progress-history .trend-card .metric-protein{--series-color:#237661}.progress-history .trend-card .metric-activity{--series-color:#4c6fb0}
body.fituba-app .progress-history .trend-card[data-metric=calories]{--chart-color:#546f1f;--chart-range:#6b8c2614}
body.fituba-app .progress-history .trend-card[data-metric=protein]{--chart-color:#237661;--chart-range:#23766114}
body.fituba-app .progress-history .trend-card[data-metric=carbs]{--chart-color:#956022;--chart-range:#95602214}
body.fituba-app .progress-history .trend-card[data-metric=fat]{--chart-color:#80508a;--chart-range:#80508a14}
body.fituba-app .progress-history .trend-card[data-metric=activity]{--chart-color:#4c6fb0}
body.fituba-app .progress-history .trend-card :is(h2,#chartSummary,.chart-empty){color:#1c3e2b}
body.fituba-app .progress-history .trend-card :is(.chart-legend,.chart-value-readout>span,.chart-scale-note,.chart-history-hint,.overview-key-label,.overview-date,.coverage-pill,.chart-method,.chart-compare-toggle){color:#5a6e60}
body.fituba-app .progress-history .trend-card :is(.metric-tabs,.segmented,.overview-legend,.chart-method[open]){background:#f3f6f1;border-color:#dce5db}
body.fituba-app .progress-history .trend-card :is(.metric-tab,.segment-button){color:#5a6e60}
body.fituba-app .progress-history .trend-card :is(.metric-tab.is-active,.metric-tab[aria-selected=true],.segment-button.is-active,.segment-button[aria-pressed=true]){background:#e1edce;color:#36562a}
body.fituba-app .progress-history .trend-card :is(.coverage-pill,#chartRecordsButton){background:#f3f7ee;color:#536b4c;border-color:#dce5db}
body.fituba-app .progress-history .trend-card .chart-grid{stroke:#dfe7df}
body.fituba-app .progress-history .trend-card :is(.chart-target,.chart-selection-line){stroke:#72935f}
body.fituba-app .progress-history .trend-card :is(.chart-axis-label,.chart-date-label,.chart-target-label,.chart-unit-label,.chart-missing){fill:#657868}
body.fituba-app .progress-history .trend-card :is(.overview-value,.chart-data-value,.macro-value){stroke:white}
body.fituba-app .progress-history .trend-card .overview-dot{stroke:white}
body.fituba-app .progress-history .trend-card .chart-tooltip{background:white;color:#23452f;border-color:#a8bda1;box-shadow:0 6px 18px #23452f16}
body.fituba-app .progress-history .trend-card .chart-stack-weights{fill:#277961}
body.fituba-app .progress-history .trend-card .chart-stack-cardio{fill:#547cbd}
body.fituba-app .progress-history .trend-card .legend-swatch.cardio{background:#547cbd}
body.fituba-app .progress-history .trend-card[data-metric=activity] .legend-swatch:not(.cardio){background:#277961}
body.fituba-app .progress-history .trend-card :is(button,summary,input):focus-visible{outline:3px solid #287a51}
#accountHub .account-stats>div{background:#f4f7ed;border-color:#dfe8d5}#accountHub .account-stats span{color:#52694a}#accountHub .account-stats strong{color:#355b29}
#accountPanelFriends .fitness-friends{border-top:0;margin:0}#accountPanelFriends .fitness-friends>summary{display:none}

@media(min-width:1100px){
 .fituba-app .page-shell{width:100%;max-width:1440px;margin-inline:auto;padding-inline:30px}
 .fituba-app .app-header{max-width:1440px!important;padding-inline:30px!important}
 .fituba-app .app-chrome{padding-inline:max(30px,calc((100vw - 1380px)/2))}
 #page-hoy #topGrid{max-width:none;grid-template-columns:minmax(350px,.8fr) minmax(0,1.2fr);grid-template-areas:'capture today' 'follow today';grid-template-rows:auto 1fr;gap:20px;align-items:start}
 #page-hoy #topGrid>.capture-stack{grid-area:capture}#page-hoy #topGrid>#calorieCard{grid-area:today}#page-hoy #topGrid>.daily-followup{grid-area:follow}
 #page-hoy #progressHistory{max-width:none;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:20px;align-items:start;margin-top:22px}
 #progressHistory :is(.trend-card,.entries-section){margin:0;min-width:0}
 .fituba-app .quick-launch{margin-bottom:0}.fituba-app .capture-stack{gap:12px}.fituba-app .training-workspace{max-width:none}
}
/* Points and streak live with the account; day controls share a single row. */
.app-chrome .profile-copy{display:grid;gap:1px}
.app-chrome .profile-score{display:flex;gap:0}
.app-chrome .profile-score b{font-size:12px;line-height:1.25;font-weight:700;color:#376943}
.app-chrome .profile-score small{display:none}
.app-shell .day-heading{flex-wrap:nowrap;gap:8px}
.app-shell .day-heading>div:first-child{flex:none}
.day-heading .day-picker-wrap{min-width:0;gap:8px}
.day-heading .day-picker-button{min-height:44px;padding:0 12px}
.day-friends{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:0 12px;border:1px solid #dce6d7;border-radius:12px;background:#fff;color:#365a3f;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.day-friends svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.day-friends:hover{background:#edf5e8;border-color:#afc8a4}.day-friends:focus-visible{outline:3px solid #287a51;outline-offset:2px}
@media(max-width:560px){.app-chrome .profile-chevron{display:none}.app-chrome .profile-copy>strong{font-size:13px}.day-heading .day-picker-wrap{flex:1;justify-content:flex-end;gap:6px}.day-heading .day-picker-button{padding-inline:10px;min-width:0}.day-friends{padding-inline:10px}}
.calendar-field{display:grid;gap:6px;font-size:13px;font-weight:650;color:#315a44}
.calendar-field input{width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid #cbded1;border-radius:10px;background:#fff;color:#153c29;font:inherit}
.calendar-hint{display:block;margin:5px 0 12px;color:#65766a;font-size:11px}
.day-tools.is-past-date>summary{display:flex;align-items:center;justify-content:center;width:auto;gap:5px;padding-inline:9px;background:#e7efd8;font-size:12px}
.day-tools>summary svg{fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:360px){#calendarSelectedLabel{display:none}}
#todaySummaryTitle{white-space:nowrap}
/* Public profile is opt-in: offer card in Perfil and a share action on rank-up. */
.account-public-offer{margin:0 16px 13px;padding:12px 14px;border:1px solid #d9e5d5;border-radius:13px;background:#f6f8ed;display:grid;gap:6px;justify-items:start}
.account-public-offer strong{font-size:14px;color:#294b30}.account-public-offer .account-public-help{margin:0}
.account-public-offer button{min-height:44px;padding:0 14px;border:0;border-radius:12px;background:#28784f;color:#fff;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.account-public-offer button:disabled{opacity:.6}.account-public-offer [role=status]{font-size:12px;color:#526750}.account-public-offer [role=status]:empty{display:none}
.reward-share{margin-top:6px;min-height:36px;padding:0 12px;border:1px solid #ffffff55;border-radius:10px;background:#ffffff1a;color:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
