+ {#each Array(numHours) as _}
+
+ {/each}
+
+ {#each dayEvents as item (`${item.ownerId}-${item.meeting.id}`)}
+ {@const overlapCount = Math.max(item.overlapCount ?? 1, 1)}
+ {@const heightPct = Math.max((100 - (overlapCount + 1) * stackGapPct) / overlapCount, 0)}
+ {@const topPct = stackGapPct + item.stackIndex * (heightPct + stackGapPct)}
+