/* Handbook section navigation: scoped, spaced, and readable without JavaScript. */
.prose .guide-toc {
  margin: 1.75rem 0 2.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,250,240,.55);
}
.prose .guide-toc .guide-toc-title {
  margin: 0 0 .8rem;
  color: var(--gold-3);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.prose .guide-toc ul {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: .6rem;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prose .guide-toc li { margin: 0; padding: 0; min-width: 0; }
.prose .guide-toc a {
  display: flex;
  align-items: center;
  min-height: 48px;
  height: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,253,248,.85);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}
.prose .guide-toc a:hover { background: #fffdf8; border-color: var(--gold-3); }
.prose .guide-toc a:focus-visible { outline: 3px solid var(--gold-3); outline-offset: 3px; }
@media (min-width: 640px) {
  .prose .guide-toc ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media print {
  .prose .guide-toc { display: none; }
}
