@charset "utf-8";
/* ---------- TOC ---------- */

.toc {
  max-width: 720px;
}

.toc-part {
  margin-bottom: 20px;
}

.toc-part summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  pointer-events: auto;
}

.toc-part summary::-webkit-details-marker {
  display: none;
}

.toc-part summary * {
  pointer-events: none;
}

.toc-part ol {
  padding-left: 22px;
  margin-top: 8px;
}

.toc-part li {
  margin: 4px 0;
}

/* ---------- BREADCRUMB ---------- */

.breadcrumb-nav summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-nav summary::-webkit-details-marker {
  display: none;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 6px 0 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
  color: #888;
}

.chevron {
  transition: transform 0.3s ease;
}

details[open] .chevron {
  transform: rotate(90deg);
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .toc-part {
    open: false;
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 768px) {
  .toc-part {
    open: true;
  }
}


