html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* matches header height */
  }
  
  .tocify-header {
    font-style: normal;
  }
  
  .tocify-subheader {
    font-style: normal;
    font-size: 90%;
  }
  .tocify ul {
    margin: 5px;
  }
  
  .tocify-focus {
    color: #7a2518;
  }
  
  .tocify-focus > a {
    color: #7a2518;
  }
  
  .tocify-toggle.tocify-open + ul {
    display: block !important;
  }

.tocify-toggle {
  position: relative;
}

.tocify-toggle-icon {
  position: absolute;
  left: -15px;
  top: -1px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.tocify-open .tocify-toggle-icon {
  transform: rotate(90deg);
}

.sectlevel0 {
  display: none;
}


.toc-skeleton {
  padding: 10px;
  animation: pulse 1.5s infinite ease-in-out;
}

.toc-line {
  height: 12px;
  background-color: #e0e0e0;
  margin: 8px 0;
  border-radius: 4px;
}

.toc-line.short {
  width: 60%;
}

.toc-line:not(.short) {
  width: 90%;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
