Unify hydration error tree details (#99008)
## Summary
Unifies hydration error details in the development overlay:
- renders invalid HTML as a compact `Rendered tree` and mismatches as a
compact `client/server diff`
- keeps the nearest relevant user component and affected rows visible by
default, with a disclosure control to expand the complete React-rendered
tree
- keeps neutral markers for invalid HTML and the `+ Client` / `- Server`
legend only for actual mismatches
- uses the same frame, spacing, typography, and overflow behavior for
both variants
## Visual changes
### Invalid HTML
| Before | After |
| --- | --- |
| 
| 
|
### Client/server mismatch
| Before | After |
| --- | --- |
| 
| 
|
## Verification
- App Router hydration acceptance tests with Turbopack and webpack
- Pages Router hydration acceptance tests with Turbopack and webpack
- focused hydration error count tests with and without Cache Components
- Next.js type checking, ESLint, and Prettier
- manual verification of invalid HTML and client/server mismatch
overlays
<!-- NEXT_JS_LLM -->