/* Fonctionnalités : sommaire d'ancres, légende des formules, cartes avec étiquette de formule */
.module { scroll-margin-top: 84px; }

.sommaire { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sommaire a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none;
}
.sommaire a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--seg, var(--ink-3)); }
.sommaire a:hover { border-color: var(--seg, var(--signal)); }

.legende { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 20px; font-size: .92rem; color: var(--ink-2); }
.legende > span { display: inline-flex; align-items: center; gap: 8px; }

.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feat-head .tag { align-self: center; }
