Dental

A patient presented with scarring alopecia, thinned nails, hyperpigmented macular lesions over the trunk and oral mucosa. Diagnosis is: