Lovelance-layout-card

I want to add changes to an existing layout card, but I notice that the layout card button remains grayed out. As a result, I cannot make any changes directly to the card. Does anyone know a solution for this?

Do you mean you are trying to adjust the 14th card while using a custom:layout-card card?

The hierarchy of the main card is not clear.

If you are referring to the red underlined area below, you won't have that option if using custom:button-card nested in a custom:layout-card

A side note...
Please format your code correctly for the forum.
See: How to help us help you - or How to ask a good question alternatively use the </> button in the post toolbar.

It helps with copying your code and expedites resolutions.