My short lines are not actually over the counter items. I fibbed a bit for the sake of simplifying the explanation, not knowing what master cylinder you plan to use.
I made the lines up myself because it required "normal" 3/8"-24 threads on one end for the junction block, and metric threads on the other for the Mazda master cylinder fittings. I had already invested in the line and fancy flare tool for other projects.
Don't know the lengths, but here are some pictures. Ignore the wiring mess, it will be tidied when the new engine goes in.

Union fitting between fender well and steering shaft.


Junction fitting. I think the rear line normally runs into the bottom.

|