How can I change the table of contents to include the relevant chapters in different parts?

So now parts are headings. And chapters too.

What does “collapse part_1” means? Where you “collapse” it?

In what way exactly are chapters children of part 1? Where exactly the chapters still look like top-level headings?

In the PDF’s Document Outline, you can only collapse sections with actual children, that appear as children. In the Typst’s outline you can style them however, but to distinguish between them and make a proper Document Outline you must use different levels for different section/heading types.