/* Case-local tables of contents; existing bespoke case menus retain their appearance. */
body nav.fm-case-menu {
  display:flex;
  flex-wrap:wrap;
  gap:10px 28px;
  padding-block:16px;
  margin-bottom:28px;
  border-top:1px solid #cdd2d7;
  border-bottom:1px solid #cdd2d7;
  font-size:14px;
}
body nav.fm-case-menu > a,
body nav.fm-case-menu > a:last-child {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  color:inherit;
  text-decoration:none;
}
/* Match the base last-child specificity so the final menu link also underlines. */
body nav.fm-case-menu > a:hover { text-decoration:underline; text-underline-offset:5px; }
[data-case-menu]:focus { outline:none; }
[data-case-menu]:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
.fm-case-menu-anchor { display:block; height:1px; margin-bottom:-1px; pointer-events:none; scroll-margin-top:24px; }
@media(max-width:760px) { body nav.fm-case-menu { gap:6px 20px; font-size:13px; padding-block:12px; } }
