fix: avoid Emotion SSR warning in Radix accordion

Merged
HA
4d ago
+19-2

Description
Replace :first-child with :first-of-type in the Accordion item styles, including the ghost-variant selector. This avoids Emotion’s development-mode SSR warning while preserving the first-item styling.

Add a regression test and a Radix package bugfix fragment.

Closes #7098

Tests

  • Radix unit tests: 10 passed
  • Ruff lint and formatting: passed
  • Codespell: passed