/* Informe completo. Health colours as in Salud › Resumen, training colours as in Entrenos › Progreso. */
.full-report { --fr-time:#b3abff; --fr-plan:#c8ff31; --fr-str:#ff91bc; --fr-ok:#73d797; --fr-watch:#f3d66c; --fr-alert:#ff888b; --fr-ghost:#dbe4f2; }
:root[data-theme="light"] .full-report { --fr-time:#5146bf; --fr-plan:#21753d; --fr-str:#b51b55; --fr-ok:#21753d; --fr-watch:#806300; --fr-alert:#c62f39; --fr-ghost:#536079; }
.full-report .time, .full-report .sessions { --fr-c:var(--fr-time); }
.full-report .plan { --fr-c:var(--fr-plan); }
.full-report .sleep { --fr-c:var(--hs-sleep); }
.full-report .hrv { --fr-c:var(--hs-hrv); }
.full-report .resting_hr { --fr-c:var(--hs-pulse); }
.full-report .weight { --fr-c:var(--hs-weight); }
.full-report .str { --fr-c:var(--fr-str); }
.full-report .pr { --fr-c:var(--hs-weight); }
.full-report .pain { --fr-c:var(--muted); }
.fr-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.fr-back { padding:0; margin:0 0 2px; color:var(--accent); font-weight:600; }
.fr-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--fr-c, var(--muted)); margin-right:7px; flex:none; }
.fr-tile { margin:0; padding:14px; display:flex; flex-direction:column; gap:4px; min-width:0; }
.fr-tile h3, .fr-card h3 { margin:0 0 6px; font-size:15px; display:flex; align-items:center; }
.fr-num { display:block; font-size:24px; line-height:1.2; overflow-wrap:anywhere; }
.fr-num small { font-size:14px; color:var(--muted); font-weight:600; }
.fr-word { margin-top:auto; }
.fr-word.ok { color:var(--fr-ok); } .fr-word.watch { color:var(--fr-watch); } .fr-word.alert { color:var(--fr-alert); } .fr-word.neutral { color:var(--muted); }
.fr-spark { width:100%; height:22px; display:block; margin:6px 0 2px; }
.fr-spark polyline { fill:none; stroke:var(--fr-c); stroke-width:2.2; stroke-linejoin:round; }
.fr-spark rect { fill:var(--fr-c); }
.fr-planbar { display:block; height:10px; border-radius:6px; background:var(--sep); overflow:hidden; margin:8px 0 4px; }
.fr-planbar i { display:block; height:100%; border-radius:6px; background:var(--fr-plan); }
.fr-table-card { margin:0; padding:12px; overflow-x:auto; }
.fr-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:13px; font-variant-numeric:tabular-nums; }
.fr-table th { font-weight:600; color:var(--muted); font-size:12px; padding:4px 2px; text-align:center; }
.fr-table thead th:first-child, .fr-table tbody th { width:31%; text-align:left; }
.fr-table.days thead th:first-child, .fr-table.days tbody th { width:25%; }
.fr-table.days { font-size:12px; }
.fr-table tbody th { color:var(--text); display:table-cell; }
.fr-table td, .fr-table tbody th { padding:6px 2px; border-top:1px solid var(--sep); }
.fr-table td { text-align:center; white-space:nowrap; }
/* Narrow phones (Calidad, 18 Nov): names and words wrap inside their cell instead of covering the figures or leaving the card. */
.fr-table tbody th { white-space:normal; overflow-wrap:anywhere; hyphens:auto; line-height:1.2; }
/* Day by day: words wrap only between words (never «4:3/5» or «Falt/a»), and on narrow phones cells are tighter. */
.fr-table.days td { white-space:normal; overflow-wrap:normal; word-break:keep-all; line-height:1.2; }
@media (max-width:420px) { .fr-table.days { font-size:11.5px; } .fr-table.days td, .fr-table.days th { padding-left:1px; padding-right:1px; } .fr-table.days .fr-cell { padding:2px 1px; } }
.fr-table tbody tr.time { --fr-c:var(--fr-time); } .fr-table tbody tr.plan { --fr-c:var(--fr-plan); }
.fr-cell { display:inline-block; padding:2px 3px; border-radius:7px; font-weight:600; }
.fr-cell.ok { background:color-mix(in srgb,var(--fr-ok) 24%,transparent); }
.fr-cell.watch { background:color-mix(in srgb,var(--fr-watch) 28%,transparent); }
.fr-cell.alert { background:color-mix(in srgb,var(--fr-alert) 28%,transparent); }
.fr-cell.none, .fr-cell.neutral { font-weight:500; }
.fr-legend { display:flex; flex-wrap:wrap; gap:4px 12px; margin:8px 0 0; }
.fr-legend i { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px; padding:0; }
.fr-legend .fr-cell.none { border:1px solid var(--sep); }
.fr-legend .s0, .fr-stack .s0 { background:var(--fr-time); }
.fr-legend .s1, .fr-stack .s1 { background:color-mix(in srgb,var(--fr-time) 60%,transparent); }
.fr-legend .s2, .fr-stack .s2 { background:color-mix(in srgb,var(--fr-time) 30%,transparent); }
.fr-stack { display:flex; height:14px; border-radius:7px; overflow:hidden; margin-top:8px; background:var(--sep); }
.fr-stack i { display:block; }
.fr-card .progress-muscle-track i { background:var(--fr-str); }
.fr-chart { width:100%; height:84px; display:block; margin-top:8px; }
.fr-chart polyline { fill:none; stroke:var(--fr-c); stroke-width:2.4; stroke-linejoin:round; }
.fr-chart rect { fill:var(--fr-c); } .fr-chart rect.short { opacity:.55; }
.fr-chart rect.band { fill:var(--fr-c); opacity:.16; }
.fr-chart line.ref { stroke:var(--fr-ghost); stroke-dasharray:5 4; }
.fr-legend .fr-ref { border:1.5px dashed var(--fr-ghost); background:none; }
.fr-legend .fr-band { background:color-mix(in srgb,var(--hs-hrv) 25%,transparent); }
.fr-missing { display:block; margin-top:8px; }
.fr-card.wide { grid-column:1/-1; }
.fr-changes { margin:0; padding:12px 14px; }
.fr-change { display:flex; gap:10px; align-items:flex-start; margin:0; padding:8px 0; border-top:1px solid var(--sep); }
.fr-change:first-child { border-top:0; }
.fr-change b { flex:none; width:16px; text-align:center; color:var(--muted); }
.fr-change b.good { color:var(--fr-ok); } .fr-change b.bad { color:var(--fr-alert); }
.fr-entry { display:inline-flex; align-items:center; gap:6px; margin-left:auto; padding:8px 14px; min-height:44px; border-radius:999px; background:var(--card); color:var(--accent); border:1px solid var(--sep); font-weight:600; flex:none; }
.fr-entry:hover { border-color:var(--accent); }
:root[data-theme="light"] .fr-entry { color:var(--text); }
/* Day-by-day minigraphs (Pablo, 18 Nov): one point per day, gaps for days without data, first and last dates, own tooltip. */
.fr-plot { position:relative; }
.fr-plot svg { touch-action:pan-y; cursor:crosshair; }
.fr-spark line.dot, .fr-chart line.dot { stroke:var(--fr-c); stroke-width:4; stroke-linecap:round; }
.fr-chart line.dot { stroke-width:5; }
.fr-axis { display:flex; justify-content:space-between; margin-top:1px; }
.fr-axis small { font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; }
.fr-tip { position:absolute; top:-26px; min-width:90px; padding:3px 6px; border-radius:8px; background:var(--raised, var(--card)); border:1px solid var(--sep); color:var(--text); font-size:12px; white-space:nowrap; pointer-events:none; text-align:center; z-index:2; }
