Earnings (loss) per share (Details - Anti-dilutive) - $ / shares |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average exercise price | $ 0.70 | $ 0.98 |
| Anti-dilutive shares | 315,000 | 822,600 |
| Stock Options [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Anti-dilutive shares | 115,000 | 322,600 |
| Common Stock To Be Issued [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Anti-dilutive shares | 200,000 | 0 |
| Stock To Be Issued [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Anti-dilutive shares | 0 | 500,000 |