.sg-sidebar-toggle {
  display: none;
}
.sg-sidebar-tooltip {
  position: fixed;
  z-index: 100;
  max-width: min(260px, calc(100vw - 100px));
  padding: 8px 12px;
  border: 1px solid #514b40;
  border-radius: 7px;
  background: #24221d;
  color: #faf7f0;
  font:
    14px/1.3 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  box-shadow: 0 4px 12px #0006;
}
@media (min-width: 901px) {
  html[data-sg-sidebar] .sg-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 16px 14px 6px auto;
    padding: 10px;
    border: 1px solid #49443b;
    border-radius: 8px;
    background: #1c1b18;
    color: #faf7f0;
    cursor: pointer;
  }
  .sg-sidebar-toggle:hover {
    border-color: #b99554;
    background: #2b261b;
  }
  html[data-sg-sidebar] .sg-sidebar-brand {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  html[data-sg-sidebar='compact'] .sg-sidebar {
    width: 72px;
  }
  html[data-sg-sidebar='compact'] .sg-content:not(.sg-content--auth),
  html[data-sg-sidebar='compact'] .sg-research-container {
    margin-inline-start: 72px;
  }
  html[data-sg-sidebar='compact'] .sg-sidebar-toggle {
    margin: 16px auto 8px;
  }
  html[data-sg-sidebar='compact'] .sg-sidebar-brand,
  html[data-sg-sidebar='compact'] .sg-nav-heading,
  html[data-sg-sidebar='compact'] .sg-nav-link > span,
  html[data-sg-sidebar='compact'] .sg-nav-link > .sg-chevron,
  html[data-sg-sidebar='compact'] .sg-nav-footer > [aria-label='Legal'] {
    display: none !important;
  }
  html[data-sg-sidebar='compact'] .sg-nav {
    padding-inline: 10px;
  }
  html[data-sg-sidebar='compact'] .sg-nav-link,
  html[data-sg-sidebar='compact'] .sg-nav-footer > .sg-sign-in {
    justify-content: center;
    width: 48px;
    max-width: 48px;
    min-height: 46px;
    margin: 3px 0;
    padding: 10px;
    gap: 0;
  }
  html[data-sg-sidebar='compact'] .sg-nav-footer > .sg-sign-in > svg {
    display: block;
  }
  html[data-sg-sidebar='compact']
    .sg-nav-footer
    > .sg-sign-in[href='/register'] {
    background: #2b261b;
    color: #e7b65f;
  }
  html[data-sg-sidebar='compact'] .sg-nav-group + .sg-nav-group {
    margin-top: 14px;
    padding-top: 14px;
  }
  html[data-sg-sidebar='compact'] .sg-nav-sections {
    scrollbar-width: none;
  }
  html[data-sg-sidebar='compact'] .sg-nav-sections::-webkit-scrollbar {
    width: 0;
  }
  html[data-sg-sidebar='compact'] .sg-skip-link {
    inset-inline-start: 88px;
  }
}
