I know that similar issues have occurred when the smart top goes wrong, The smart top module can also switch itself to “service” mode where it effectively turns itself off so the car would act like it does not exist. I would pull the plastic cover behind the passenger seat and see if the unit is in there, if it is the remove it
Also I remember seeing a case where the window switch had caused a problem with the roof operation. A replacement window switch unit solved it.
It’s important to hold the insert away from the metal scuttle and lay a sealing bead all the way round between insert and scuttle to fill the resultant gap.
If you don’t do this but leave the insert resting on top the scuttle and simply plaster sealant around it, it will almost certainly pull free and break the seal when you tighten the screw.
No need to replace the insert, simply seal the existing one.
Remove all traces of the original biodegradable foam gasket, pull the plastic insert vertically upwards, away from the metal scuttle and fill the gap underneath with sealant
You can use a neat bead like I did or plaster it everywhere as seems to be popular.
Either will be much better than buying a new foam gasket which will simply degrade and fall to bits just like the original.
I don’t want to say totally stopped yet. We haven’t had a dry day since I took it out if the garage and there is still a little (what looks like) condensation visible.
Whether this is just the last bits of water evaporating (couldn’t feel wet carpet but perhaps it was damp) or severely reduced leak i can’t say.
Main thing is the hard top has stopped showing off. Few hot dry days will show for sure.