v3.25.4
GOODWILL AND INTANGIBLE ASSETS (Schedule of Intangible Assets) (Details) - USD ($)
$ in Thousands
Dec. 31, 2025
Jun. 30, 2025
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount $ 1,020,690 $ 986,736
Accumulated Amortization (749,636) (727,324)
Net 271,054 259,412
Reacquired franchise rights    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 429,290 415,700
Accumulated Amortization (250,627) (243,330)
Net 178,663 172,370
Customer relationships    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 372,444 354,107
Accumulated Amortization (298,667) (287,067)
Net 73,777 67,040
Internally-developed software    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 121,282 119,959
Accumulated Amortization (117,768) (117,604)
Net 3,514 2,355
Noncompete agreements    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 23,774 23,070
Accumulated Amortization (20,660) (20,188)
Net 3,114 2,882
Purchased technology    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 68,100 68,100
Accumulated Amortization (58,144) (55,655)
Net 9,956 12,445
Trade name    
Goodwill and Intangible Assets [Line Items]    
Gross Carrying Amount 5,800 5,800
Accumulated Amortization (3,770) (3,480)
Net $ 2,030 $ 2,320