div#nav-tree-contents > ul > li > div.item {
  display:none;
}

div#nav-tree-contents > div#nav-sync {
  display:none;
}

/* "Live demo" button under the project name in the page header
   (the markup is in html_header.html of MeshInspector/MeshInspector.github.io) */
#livedemo {
  margin-top: 6px;
  line-height: 1;
}

/* doxygen-awesome sets the link colour with !important, so the button text needs it too */
#livedemo a,
#livedemo a:link,
#livedemo a:visited,
#livedemo a:hover,
#livedemo a:focus,
#livedemo a:active {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--border-radius-small, 5px);
  background: var(--primary-color, #1779c4);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#livedemo a:hover,
#livedemo a:focus {
  filter: brightness(0.92);
}

/* dark theme: --primary-color #1982d2 gives only 4.07:1 against white text, so pin a darker blue */
html.dark-mode #livedemo a {
  background: #14669f;
}

@media (prefers-color-scheme: dark) {
  html:not(.light-mode) #livedemo a {
    background: #14669f;
  }
}

/* doxygen-awesome-sidebar-only.css fixes the header height on desktop (120px, overflow hidden).
   Measured: the header content grows from 107px to 112px with the button (the title row
   was previously pinned by the 44px logo), so 126px keeps the original slack under the
   search box; the content column keeps its 40px top padding */
@media screen and (min-width: 768px) {
  :root {
    --top-height: 126px;
  }

  div#doc-content {
    padding-top: 40px;
  }
}

/* Class Index: long template-instance names have no break points
   and overflowed into the next column; break them, indent continuation lines */
.classindex dd {
  overflow-wrap: anywhere;
  padding-left: 1em;
  text-indent: -1em;
}
