I just bought a house and we've found water. I've traced the leak to the shower drain.
The shower drain is a linear trench drain, an older design where the grate & tray have minimal overlap and meet in the middle of the depth of the trench (the modern ones are different and appear to have the tray extend the full depth of the trench, near flush with the tiles). There appears to be missing waterproofing around the end of the trench. The area hasn't been kept clean, the drain has been slow draining and filling the trench with water and running off into the gap I've found.
Picture of side of drain:
- top layer tile
- mid layer blue waterproofing?
- bottom layer, spongey damp and totally falling apart brown something (wood?) where water has been running off when someone showers

Picture of side of tray that fits on inside of the the steel trench, note there's not much overlap on the steel & gaps on the side:

I've used a dehumidifier for a couple of weeks to get as much water out as possible of that gap, unclogged the drain and will be vigilant about keeping it clear draining to reduce the risk of water draining off into this space in the future, but I'm not sure how to best fill the gap & waterproof this? It needs to withstand the constant pulling up of the grate to clean the tray, so imagine it'll get rubbed a bit. The drain doesn't appear to be a standard size (866x95mm), otherwise I would also look to replace this with the more modern styles of these trench drains with a deeper tray and shallower grate.
I appreciate any fix will be temporary until I can find funds for a bathroom renovation. Thanks for your help in advance!