details contains a summary followed by expandable content: paragraphs, lists, or other flow elements. The first summary is the label that remains visible and activates the toggle. Write a name that helps people decide whether to open it.
open is a Boolean attribute: its presence opens the block. open="false" also opens it; to close it, remove the attribute or set details.open = false. The browser updates open when summary is activated, without a custom click listener.
Opening pushes subsequent content down; closing removes the panel from the normal reading and focus journey. There is no top layer, inert background, or Escape dismissal. Keep information needed to complete the task visible.