If I remove the list items, then using divs looks like a good suggestion. I've just gotten into the habit of using p tags, but technically these aren't paragraphs
Probably should update them in the user guide for a few of pages.
Inline TOCs are not only needed for Kindles. They are also useful if you want a TOC in your book, or want one that looks slightly different (more/less items) than the regular TOC (and some devices don't indent their regular TOC).