{open ? children : summary}
);
}
/** In-page jump nav for the subtopic blocks: horizontal chip scroller on phones, wrapped on desktop. */
export function SubtopicJumpNav({ items, label, className }: { items: Array<{ id: string; label: string; count: number }>; label?: string; className?: string }) {
if (items.length < 2) return null;
return (