/* Period insight uses clear surfaces; daily totals retain their forest panel. */
#page-hoy .daily-followup .report-card{padding:20px;border-radius:20px;background:linear-gradient(115deg,#fff 65%,#f3f8ef)}
#page-hoy .report-card .latest-analysis{padding:0}
#page-hoy .report-card .latest-analysis h3{font-size:13px;font-weight:600;color:#53715d;margin:0 0 14px}
.day-insight{display:flex;align-items:center;gap:16px;margin:2px 0 18px;font-variant-numeric:tabular-nums}
.insight-ring{position:relative;width:78px;height:78px;flex:none;display:grid;place-items:center;color:#3f7549}
.insight-ring svg{position:absolute;inset:0;width:100%;height:100%}.insight-ring-track{stroke:#e8efdf}.insight-ring-fill{stroke:#78a948;stroke-linecap:round}.insight-ring strong{font-size:15px}
.insight-copy{display:grid;gap:3px;min-width:0}.insight-label{font-size:12px;color:#62745d}.insight-value{display:flex;gap:7px;align-items:baseline;color:#294d31}.insight-value strong{font-size:34px;letter-spacing:-1.3px;line-height:1.18}.insight-value small{font-size:15px;color:#5b725c}.insight-caption{font-size:12px;line-height:1.5;color:#61775f}
.day-insight[data-tone=notice] .insight-ring-fill{stroke:#bd8842}.day-insight[data-tone=notice] .insight-ring{color:#996b26}
#page-hoy .report-card .next-action-block{padding:14px 0 0;border:0;border-top:1px solid #e4ecdf;background:transparent}
#page-hoy .report-card .next-action-block .eyebrow{font-size:11px;color:#658357;letter-spacing:.35px}
#page-hoy .report-card #todayAction{font-size:18px;line-height:1.4;letter-spacing:-.25px;margin:5px 0 0}
#page-hoy .report-card #todayActionReason{font-size:12px;line-height:1.5;color:#62765d;margin:6px 0 0}
#page-hoy .report-card #reportMeta{font-size:10px;margin:12px 0 0;padding:0;color:#71866b}
#page-hoy .report-card.is-empty .next-action-block{border:0;padding:0}
.adaptive-progress[hidden],.chart-wrap[hidden],.chart-legend[hidden],.day-insight[hidden]{display:none!important}
.adaptive-week{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;background:#f4f8ed;border:1px solid #e3ebd7;border-radius:15px;margin:0 0 12px}
.adaptive-intro{display:grid;gap:4px;min-width:0}.adaptive-intro strong{font-size:15px;line-height:1.3;color:#355431}.adaptive-intro small{font-size:11px;color:#6a7d60}
.adaptive-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;flex:none}.adaptive-days>span{display:grid;gap:4px;text-align:center;min-width:22px;color:#849078}.adaptive-days small{font-size:10px}.adaptive-days b{font-size:12px;display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#eaf0e2;font-weight:600}.adaptive-days .is-done b{background:#dceabd;color:#5a7f2f}
.adaptive-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.adaptive-card{--insight-color:#487f56;min-width:0;width:100%;border:1px solid #dfe8dd;border-radius:18px;background:#fff;padding:16px;text-align:left;font:inherit;cursor:pointer;color:#264e32;display:flex;flex-direction:column;transition:border-color .15s,box-shadow .15s}
.adaptive-card:hover{border-color:#a8c49b;box-shadow:0 4px 14px #294e3210}.adaptive-card:focus-visible{outline:3px solid #4c8c5b;outline-offset:2px}
.adaptive-card.is-featured{background:linear-gradient(145deg,#f1f7e8,#fff 75%);border-color:#d4e2c4}
.adaptive-card:only-child{grid-column:1/-1}.adaptive-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:13px}.adaptive-open{font-size:10px;color:#70846a;font-weight:400;white-space:nowrap}
.adaptive-stat{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;margin-top:12px;color:var(--insight-color);font-variant-numeric:tabular-nums}.adaptive-stat strong{font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.9px}.adaptive-stat small{font-size:12px;color:#667c64}.adaptive-caption{font-size:12px;line-height:1.5;margin-top:4px;color:#6c7b64;min-height:15px}
.adaptive-plot{display:block;width:100%;height:120px;margin-top:10px;overflow:visible;pointer-events:none}
.adaptive-grid{stroke:#e7ede2;stroke-width:1}.adaptive-line{fill:none;stroke:var(--insight-color);stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.adaptive-point{fill:var(--insight-color);stroke:#fff;stroke-width:1.5}.adaptive-point.is-partial{fill:#fff;stroke:var(--insight-color);stroke-width:2}
.adaptive-value{font:600 12px system-ui;fill:var(--insight-color);paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.adaptive-date,.adaptive-missing{font:10px system-ui;fill:#75836d}.adaptive-target{stroke:#92a475;stroke-width:1;stroke-dasharray:4 4}
.adaptive-gym{fill:#5b8963}.adaptive-cardio{fill:#7592c0}.adaptive-card-footer{display:grid;gap:5px;padding-top:10px;margin-top:auto;border-top:1px solid #edf1e7;font-size:11px;line-height:1.4;color:#647b5a}.adaptive-card-footer small{font-size:10px;color:#7a8970}.adaptive-split{display:flex;gap:14px}.adaptive-split>span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#5b8963;margin-right:5px}.adaptive-split>.cardio::before{background:#7592c0}
.adaptive-calories{--insight-color:#6d8434}.adaptive-activity{--insight-color:#577ca9}.adaptive-protein{--insight-color:#39816b}.adaptive-weight{--insight-color:#687ba5}.adaptive-steps{--insight-color:#58877f}.adaptive-waist{--insight-color:#8a5a0b}
@media(max-width:600px){.adaptive-cards{gap:10px}.adaptive-card{padding:13px}.adaptive-card:first-child{grid-column:1/-1}.adaptive-stat strong{font-size:27px}.adaptive-card:not(:first-child) .adaptive-stat strong{font-size:23px}.adaptive-card-heading{font-size:12px}.adaptive-open{display:none}.adaptive-card:not(:first-child) .adaptive-caption{min-height:33px;font-size:11px}.adaptive-card:not(:first-child) .adaptive-plot{height:105px}.adaptive-week{padding:11px;gap:8px}.adaptive-days{gap:3px}.adaptive-days>span{min-width:19px}.adaptive-days b{width:20px;height:22px}.adaptive-intro strong{font-size:13px}.adaptive-intro small{font-size:10px}#page-hoy .daily-followup .report-card{padding:17px}.insight-value strong{font-size:32px}}
@media(max-width:380px){.adaptive-cards{grid-template-columns:1fr}.adaptive-card:not(:first-child) .adaptive-plot{height:120px}.adaptive-card:not(:first-child) .adaptive-caption{min-height:15px}.adaptive-card:not(:first-child) .adaptive-stat strong{font-size:27px}.adaptive-week{flex-wrap:wrap}.adaptive-intro{display:flex;gap:12px;align-items:center}.adaptive-days{width:100%;justify-content:space-between;display:flex}}
@media(prefers-reduced-motion:reduce){.adaptive-card{transition:none}}
/* One useful trend first on phones; three balanced columns on a large screen. */
#page-hoy .report-card .latest-analysis h3{margin-bottom:10px}
.day-insight{margin-bottom:12px}
#page-hoy .report-card .next-action-block{padding-top:10px}
#page-hoy .report-card #reportMeta{margin-top:8px}
@media(min-width:700px){.adaptive-cards[data-count='3']{grid-template-columns:repeat(3,minmax(0,1fr))}.adaptive-cards[data-count='3'] .adaptive-caption{min-height:36px}}
@media(max-width:600px){
 .adaptive-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .adaptive-card:not(:first-child) .adaptive-plot{height:70px;margin-top:6px}
 .adaptive-card:not(:first-child) .adaptive-plot :is(.adaptive-value,.adaptive-date,.adaptive-missing){display:none}
 .adaptive-card:not(:first-child) .adaptive-caption{font-size:11px;min-height:33px}
 .adaptive-card:not(:first-child) .adaptive-stat strong{font-size:23px}
 .adaptive-card:not(:first-child) .adaptive-card-footer{font-size:11px}
 .adaptive-card-heading::after{content:'↗';font-size:12px;color:#70846a}
 .adaptive-split{flex-wrap:wrap;gap:4px 9px}
}
.fituba-app #page-hoy #todayAction[data-tone='notice']{color:#81591e}
.progress-history .trend-card.is-adaptive .chart-insight-row{display:none}
.adaptive-week{margin-top:12px}
.adaptive-caption,.adaptive-date,.adaptive-missing,.adaptive-open,.adaptive-card-footer,.adaptive-card-footer small,.adaptive-intro small{color:#596c56;fill:#596c56}
.adaptive-target{stroke:#75895e}
#page-hoy .report-card #reportMeta{color:#586e54}

/* Concrete next step: sourced portions and saved meals, one tap to fill the composer. */
#page-hoy .next-step-ideas{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
#page-hoy .next-step-idea{display:grid;gap:1px;min-height:44px;padding:7px 12px;border:1px solid #d5e4d8;border-radius:12px;background:#f5faf6;color:#20412e;font:inherit;text-align:left;cursor:pointer}
#page-hoy .next-step-idea strong{font-size:13px;font-weight:650;line-height:1.25}
#page-hoy .next-step-idea span{font-size:12px;color:#557463}
#page-hoy .next-step-idea:hover{background:#eaf5ee}
#page-hoy .next-step-idea:focus-visible{outline:3px solid #55bb92;outline-offset:2px}
/* Promised charts (landing #reportes). Protein vs fat share one grams axis in the landing's macro palette,
   validated with dataviz validate_palette (#1baf7a/#2a78d6 pass on #fff and #f1f7e8; legend + labels relieve the 2.8:1 aqua). */
.adaptive-protein .adaptive-line{stroke:#1baf7a}
.adaptive-protein .adaptive-point{fill:#1baf7a}
.adaptive-protein .adaptive-point.is-partial{fill:#fff;stroke:#1baf7a}
.adaptive-protein .adaptive-line.adaptive-fat-line{stroke:#2a78d6;stroke-width:2}
.adaptive-fat-point{fill:#2a78d6;stroke:#fff;stroke-width:1.5}
.adaptive-value.adaptive-fat-value{fill:#2f4a3a}
.adaptive-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:12px;line-height:1.3;color:#4f6353}
.adaptive-legend>span{display:inline-flex;align-items:center;gap:5px}
.adaptive-legend b{font-weight:650;color:#264e32;font-variant-numeric:tabular-nums}
.adaptive-key{display:inline-block;flex:none;width:10px;height:10px;border-radius:3px}
.adaptive-key.protein{background:#1baf7a}.adaptive-key.carbs{background:#eb6834}.adaptive-key.fat{background:#2a78d6}
.adaptive-key.weight-day{border-radius:50%;background:#8a938a}
.adaptive-key.weight-trend{width:16px;height:3px;border-radius:2px;background:#687ba5}
.adaptive-dot-muted{fill:#8a938a;stroke:#fff;stroke-width:1.5}
.adaptive-trend-line{stroke-width:2.6}
.adaptive-col{fill:var(--insight-color)}
.adaptive-col.is-partial{opacity:.55}
.adaptive-macro-bar{display:block;width:100%;height:14px;margin-top:14px}
.adaptive-macro-protein{fill:#1baf7a}.adaptive-macro-carbs{fill:#eb6834}.adaptive-macro-fat{fill:#2a78d6}
.adaptive-macros .adaptive-legend{margin-top:10px}
.adaptive-card.is-static{cursor:default}
.adaptive-card.is-static:hover{border-color:#dfe8dd;box-shadow:none}
.adaptive-card.is-static .adaptive-card-heading::after{content:none}
/* Only charts with data show (2026-10-07). Five or six: three per row on a large screen. On phones the first leads at
   full width and a card left alone on the last row takes the full width too. */
@media(min-width:700px){.adaptive-cards:is([data-count='5'],[data-count='6']){grid-template-columns:repeat(3,minmax(0,1fr))}.adaptive-cards:is([data-count='5'],[data-count='6']) .adaptive-caption{min-height:36px}}
@media(max-width:600px){.adaptive-cards>.adaptive-card:last-child:nth-child(even){grid-column:1/-1}}
@media(min-width:601px) and (max-width:699px){.adaptive-cards>.adaptive-card:last-child:nth-child(odd){grid-column:1/-1}}
/* Proteína tab: protein vs fat in the same validated macro palette as the cards; range keeps the protein hue. */
body.fituba-app .progress-history .trend-card[data-metric=protein]{--chart-range:#1baf7a26}
body.fituba-app .progress-history .trend-card[data-metric=protein] .chart-point{fill:#1baf7a}
body.fituba-app .progress-history .trend-card[data-metric=protein] .chart-line:not(.chart-fat-line){stroke:#1baf7a}
body.fituba-app .progress-history .trend-card[data-metric=protein] .legend-swatch:not(.range):not(.target):not(.fat){background:#1baf7a}
body.fituba-app .progress-history .trend-card .legend-swatch.fat{background:#2a78d6}
body.fituba-app .progress-history .trend-card .chart-line.chart-fat-line{stroke:#2a78d6;stroke-width:2;fill:none}
.chart-fat-point{fill:#2a78d6;stroke:#fff;stroke-width:1.5}
body.fituba-app .progress-history .trend-card .chart-data-value.chart-fat-value{fill:#2f4a3a}
/* Waist card: reading bands (NICE/OMS), never colour alone: the label says it too. */
.adaptive-band{font-weight:650}.adaptive-band.is-healthy{color:#2f7a52}.adaptive-band.is-increased{color:#9a6200}.adaptive-band.is-high{color:#b3402e}.adaptive-band.is-low{color:#52685b}
