/*
 * The "End-of-Chapter Exercises" dropdown (class chapter-exercises).
 *
 * sphinx-togglebutton collapses a box by giving its children height: 0, but the
 * exercise boxes inside keep their bottom padding and the Answers rubric keeps
 * its bottom border, which leaves a blank band under the collapsed title.
 * Take the hidden children out of the layout instead, so the collapsed box is
 * a single title bar.  Only boxes with this class are affected.
 */
.admonition.chapter-exercises.toggle-hidden > .admonition-title ~ * {
  display: none;
}

/* No bell icon; pull the title text back to where the icon used to sit. */
.admonition.chapter-exercises > .admonition-title::after {
  content: none;
}
.admonition.chapter-exercises > .admonition-title {
  padding-left: 0.6rem;
}
