When collapsing cards (e.g. in an accordion), the header has a bottom border that is rendered on top of the bottom border of the card itself. It results in two borders to be rendered, which (especially for the last card with rounded edges) looks wrong:

Depending on the used browser and zoom settings there can even be a small gap between the two border lines.
#23839 improved the layout of cards as collapsible elements but didn't change the double bottom border.
I would expect that the border of the header is not shown for a collapsed card.
When collapsing cards (e.g. in an accordion), the header has a bottom border that is rendered on top of the bottom border of the card itself. It results in two borders to be rendered, which (especially for the last card with rounded edges) looks wrong:

Depending on the used browser and zoom settings there can even be a small gap between the two border lines.
#23839 improved the layout of cards as collapsible elements but didn't change the double bottom border.
I would expect that the border of the header is not shown for a collapsed card.