Restructure idiom docs layout using collapsible panel groups