City stopover, islands or a longer loop
Two or three days in Panama City, with the Miraflores locks, Casco Viejo and the Amador Causeway, mostly need ride apps and maps: the 3 GB pack, valid for 15 days, is enough. A week that adds San Blas or Bocas del Toro usually still fits it, because on the islands you will lean on lodge wifi or simply be offline. Two weeks across the country, with Boquete in the highlands and a hire car, suit the 5 GB pack, valid for 30 days.
Take 10 GB for a month or if you share the hotspot, and 20 GB only for remote work. The sensible approach is to pick the smallest pack that fits and top up the same eSIM if you need more. The data calculator works out a figure, and the price table lists every destination.