/* \notcovered (bookml/notcovered.sty): material not covered in the lecture.
   Icon "book-open" from Lucide (https://lucide.dev), ISC licence, see
   bookml/LICENSE.lucide; bookml/notcovered.sty draws the same path. */
.bml_notcovered {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  /* Hide the label from sight only: screen readers and the search keep it. */
  overflow: hidden;
  white-space: nowrap;
  text-indent: 2em;
  vertical-align: -0.15em;
  /* The text colour of every reader theme, slightly muted. */
  background-color: currentColor;
  opacity: 0.6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v16'/%3E%3Cpath d='M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v16'/%3E%3Cpath d='M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Narrow pages: at the end of the first line of the statement or proof. */
.ltx_theorem .bml_notcovered,
.ltx_proof .bml_notcovered {
  float: inline-end;
  margin-inline-start: 0.5em;
  margin-top: 0.3em;
}

/* Wide pages: in the gutter, level with the heading. The gitbook content
   clips what leaves it, so only sections with a marker let it show. */
.page-wrapper { container-type: inline-size; }
@container (min-width: 880px) {
  .ltx_theorem:has(.bml_notcovered),
  .ltx_proof:has(.bml_notcovered) { position: relative; }
  .ltx_theorem .bml_notcovered,
  .ltx_proof .bml_notcovered {
    float: none;
    position: absolute;
    inset-inline-start: -2.2em;
    top: 0.3em;
    margin: 0;
  }
  .book .book-body .page-wrapper .page-inner section.normal:has(.bml_notcovered) {
    overflow: visible;
    display: flow-root;
  }
}
