/* Tu semana por deporte (22 nov, boceto aprobado por Pablo): un anillo por deporte. El color de cada deporte se define aquí, una sola vez. */
:root{--ring-swim:#4fc3f7;--ring-bike:#3ecf7a;--ring-run:#ffb347;--ring-strength:#c8a6ff;--ring-mobility:#5ad1d1;--ring-walk:#9fb4d0;--ring-other:#8a93a3}
.week-rings{display:grid;gap:10px;min-width:0;margin:0 0 12px}
.week-rings .wr-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.week-rings h2{margin:0;font-size:16px}
.week-rings .wr-phase{color:var(--muted);font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.wr-rings{display:flex;gap:8px;min-width:0}
.wr-rings.few{justify-content:space-between;gap:4px}
.wr-rings.scroll{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.wr-rings.scroll::-webkit-scrollbar{display:none}
.wr-ring{flex:0 0 auto;width:88px;display:grid;justify-items:center;gap:3px;text-align:center;color:var(--ring)}
.wr-rings.few .wr-ring{flex:1 1 0;width:auto;min-width:0}
.wr-dial{position:relative;width:64px;height:64px}
.wr-dial svg.wr-arc{position:absolute;inset:0;width:100%;height:100%}
.wr-dial .wr-icon{position:absolute;inset:0;display:grid;place-items:center;color:var(--ring)}
.wr-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wr-dial .wr-check{position:absolute;top:-2px;right:-2px;width:18px;height:18px;border-radius:50%;background:var(--ring);color:var(--bg);display:grid;place-items:center}
.wr-check svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.wr-name{font-size:11.5px;font-weight:700}
.wr-done{font-size:15px;font-weight:800;color:var(--text)}
.wr-done small{font-size:10.5px;font-weight:600;color:var(--muted)}
.wr-plan{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.wr-total{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12.5px;border-top:1px solid var(--sep);padding-top:8px;color:var(--muted)}
.wr-total b{color:var(--text)}
.week-bars{display:grid;gap:8px;min-width:0;margin:0 0 12px}
.week-bars h2{margin:0;font-size:16px}
.week-bars svg{width:100%;height:auto;display:block}
.week-bars svg text{fill:var(--muted);font-size:9px}
.wr-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11px;color:var(--muted)}
.wr-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:4px;vertical-align:-1px}

/* Habitual sin nada esta semana: el anillo punteado, más apagado. */
.wr-ring.habitual .wr-arc { opacity: .45; }
