Thank you for sharing this very nice design!
The latch function works really well. I have printed this in PETG and with 98A hardness TPU seal (the thick version) and it looks really cool.
If there is anything to improve, I would chamfer the outer sides of the lids of the top and bottom part, such that it closes a little bit easier. In addition I would make the lids of the top and bottom part at least twice as thick and apply M3x16mm bolts from both sides and let them tap into the latch and hinge elements, rather than into the lids of the top and bottom part.
Thx again, great design.