Thanks! I did read the Calibre manual before posting my question, but sadly, I did not understand enough of it

Perhaps this requires more technical understanding than I have
I generally leave the Structure Detection settings alone (defaults), and that works fine for the most part. But on a couple ebooks recently, I started getting unwanted page breaks. Fiddling with the settings solved the problem, but I didn't really understand why. It was more, "hmmm ... let's see what happens if I try this -- oho! that solves it, not sure why."
I guess what I really want to know is:
1. If an EPUB has proper page breaks specified either using file splits and CSS (e.g., page-break-before: always), can I safely turn off Structure Detection and get the same page breaks?
2. The manual says "When the input document has a Table of Contents in its metadata, calibre will just use that." For an EPUB, does that mean the .ncx file?
Thanks! (and sorry for my densitude)