Recently Viewed
If TEST A renders but TEST B does not, the theme selector targets summary h2 and must be widened to include h3.
If both TEST A and TEST B render identically, the heading level is not the problem and the issue is elsewhere.
If TEST B renders but TEST C does not, whitespace text nodes inside <details> are the problem.
If TEST D renders but TEST B does not, the span or its inline style is interfering.