{#each resolvedItems as item, idx}
0}>
{item.name}
{item.calories} cal · {item.protein}g P · {item.carbs}g C · {item.fat}g F
{#if resolvedItems.length > 1}
{/if}
{item.qty} {item.unit}
{/each}
Meal
{#if resolvedItems.some(i => i.result.resolution_type === 'ai_estimated')}
Some items estimated by AI — values are approximate
{/if}