First check your sunroof drain holes inside the sunroof assembly to see that they are not blocked. You can just barely make these holes out from the top of the car, sunroof open, and look toward the front corners.
If those are cleared, your problem is the body seam on the top of the car. The two black rubber strips that run from the front to the rear of the roof are there to cover up two body seams that are spot welded together. Carefully remove the rubber strip, startring from the back - don't get aggressive, the clips that hold it in place are likely fragile by now. In the bottom of that channel, you should see a bead of sealant - likely dried out and cracked. Scrape all the old sealant out, then clean and dry. Then re-apply a good silicone sealant. This seam must be sealed along the top of the car and down into the hatch opening. The water will then run down the side of the rear hatch and off the back end of the car. I fixed one this way - no more leaks. My second CRX is now occasionally doing the same thing, so I'll soon be doing the same myself. Let me know how it goes, eh?