.toc.toc-responsive {
  display: block;
}
.toc-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.toc-disclosure summary::-webkit-details-marker {
  display: none;
}
.toc-disclosure summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  margin: 0 .25rem .2rem 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.toc-disclosure[open] summary::after {
  transform: rotate(225deg);
  margin-top: .4rem;
}
.toc-disclosure summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
@media (max-width: 740px) {
  .toc.toc-responsive {
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .toc-disclosure nav {
    padding-bottom: 8px;
  }
  .toc-disclosure a {
    display: flex;
    align-items: center;
  }
}
@media print {
  .toc.toc-responsive {
    display: none;
  }
}
