Track width and thickness depends on current.
For mains voltage isolation separation is what is important.
There are various standards for this ranging from 1.5 to several mm, depending on humidity etc. and coating.
For a bare board i have seen it mentioned that 5mm is considered safe.