Description of Business and Summary of Significant Accounting Policies - Schedule of Shares were Excluded from the Diluted Earnings Per Share (Details) - shares shares in Thousands |
12 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Schedule of Shares were Excluded from the Diluted Earnings Per Share [Line Items] | ||
| Shares excluded from the calculation of diluted earnings per share | 615 | 1,034 |
| Stock Options [Member] | ||
| Schedule of Shares were Excluded from the Diluted Earnings Per Share [Line Items] | ||
| Shares excluded from the calculation of diluted earnings per share | 523 | 893 |
| Non-Vested Restricted Class B Common Stock [Member] | ||
| Schedule of Shares were Excluded from the Diluted Earnings Per Share [Line Items] | ||
| Shares excluded from the calculation of diluted earnings per share | 39 | 77 |
| Deferred Stock Units [Member] | ||
| Schedule of Shares were Excluded from the Diluted Earnings Per Share [Line Items] | ||
| Shares excluded from the calculation of diluted earnings per share | 53 | 64 |