You're almost there.
You can fit a 12.7mm(half inch) mortice and tenon. Your groove in the stile only needs to be 6-7mm deep,probably the same depth as your t & g boarding. You don't need to worry about filling the small square, unless you really want to. If any water did get in, it should run...