(selectedExercise = selectedExercise === key ? null : key)}
onkeydown={(e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
selectedExercise = selectedExercise === key ? null : key;
}
}}
>
Daily Average:
{config.formatter(Number(dailyAverage.toFixed(2)))}
{goalProgress.toFixed(0)}%
Goal: {config.formatter(config.dailyGoal)}/day
{#if goalProgress >= 100}
✅ Goal achieved!
{:else if goalProgress >= 80}
🎯 Close to goal
{:else if totalValue > 0}
Keep going!
{/if}