A polycurve question

when I join lines to polycurve,it can’t offset on plane xy, it go to Z vector.
when I offset polycurve,it trans to a curve , I can’t break it to lines or linelikecurves.

Ensure that the polycurve you are trying to offset is planar