{appt.title}
{appt.type}
Filtrar por tipo
Próximos 3 dias
{Array.from({length:3},(_,i)=>{ const d=new Date(today); d.setDate(d.getDate()+i); const ds=d.toISOString().split('T')[0]; const dayAppts=appointments.filter(a=>a.date===ds&&(!filterType||a.type===filterType)); return ({i===0?'Hoje':i===1?'Amanhã':DAYS_SHORT[d.getDay()]+' '+d.getDate()}
{dayAppts.length===0 ?—
: dayAppts.map(a=>