/* Small supplement to the compiled Tailwind build — only for things
   utility classes can't express directly (honeypot hiding, the
   <details> disclosure marker, smooth scrolling, reduced motion). */

html {
  scroll-behavior: smooth;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chapter-nav > summary {
  list-style: none;
}
.chapter-nav > summary::-webkit-details-marker {
  display: none;
}
.chapter-nav > summary::after {
  content: "\25BE";
  color: #94a3b8;
  transition: transform 0.15s ease;
}
.chapter-nav[open] > summary::after {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
