/* Section-level progressive disclosure -- a native <details>/<summary>,
   marker suppressed, styled as the "quiet" register (italic serif,
   --accent-hover) per #164 pattern 3. Used for optional sections that
   collapse to a single link when there's nothing forcing them open. */

.disclosure-summary {
  display: list-item;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-content);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-hover);
  padding: var(--space-2) 0;
}

.disclosure-summary::-webkit-details-marker {
  display: none;
}

.disclosure-summary::marker {
  content: '';
}

.disclosure-summary--plain {
  font-style: normal;
  color: var(--text-muted);
}

/* One-way disclosure, not a reversible accordion: per #164 pattern 2, an
   empty section "collapses to one minimal '+ Section' link and expands to
   the real thing only once engaged" -- once open, the link itself is
   replaced by the real content, not left sitting above it as a heading. */
details[open] > summary.disclosure-summary {
  display: none;
}
