/* Header logo: the cube icon has a lot of empty space, render it larger */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 2rem;
  width: auto;
}

/* Sidebar scrollbars: keep them discreet grey instead of the accent colour on hover */
.md-sidebar__scrollwrap:hover,
.md-sidebar__scrollwrap:focus-within,
.md-sidebar--secondary .md-sidebar__inner:hover,
.md-sidebar--secondary .md-sidebar__inner:focus-within {
  scrollbar-color: var(--md-default-fg-color--lightest) transparent;
}

.md-sidebar__scrollwrap::-webkit-scrollbar-thumb,
.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover,
.md-sidebar--secondary .md-sidebar__inner::-webkit-scrollbar-thumb,
.md-sidebar--secondary .md-sidebar__inner::-webkit-scrollbar-thumb:hover {
  background-color: var(--md-default-fg-color--lightest) !important;
}

/* Console blocks: the prompt ("$ ") cannot be selected, and the copy button
   copies only the command lines, without prompt nor command output */
.language-console .gp {
  user-select: none;
}

.language-console code[data-md-copying] .gp,
.language-console code[data-md-copying] > span:not(:has(> .gp)) {
  display: none;
}
