Issue #3640422: Details summary keeps square top corners and covers the rounded border
Closes #3640422.
templates/form/details.html.twig puts both accordion-header and accordion-button on the <summary>, so Bootstrap's .accordion-item:first-of-type > .accordion-header .accordion-button top radius never applies. With overflow: unset on the details, the summary's square background covers the item's rounded top border: the frame's top corners look cut off on a collapsed details, and the open one's light blue summary pokes past the curve.
scss/drupal/_details.scss now gives details > .accordion-button the accordion's inner border radius on its top corners. css/style.css, css/style-52.css and css/ck5style.css are rebuilt with the build:sass command (sass 1.89.0); the rebuild changes nothing but the new rule.
Checked on a local site using 4.0.9 with the same rule: the summary's computed top radius goes from 0 to calc(0.375rem - 1px), collapsed and open.
AI-Generated: Yes (Claude Code was used to find the cause, write the change and this description. I reviewed them and checked the result on a local site.)