This is a design taken from my ammo boxes converted to be a useable daily item. Mon-Sunday, Morning and evening.
You slide the lid back to the day you need and can pour the pills out. Each lid slides separately to keep morning and evening separate.
This design assumes you refill every Sunday evening.
Tollerance built into the lid is close enough it will not allow pills from one spot to move to another.