The median sales price declined annually for the second time in fifteen quarters, down 1.8% to $840,000, the second-highest on record, and 41.9% above pre-pandemic levels. The lack of listing inventory played an outsized role in restraining sales beyond the spike in mortgage rates over the…