@layer blocks {
  .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    font-size: var(--text-sm);
    letter-spacing: 0;
    transition: color 0.15s;
    --color-link: var(--color-text-muted);
    --color-link-hover: var(--color-text);
    --link-decoration: none;
  }

  /* The logout control is a button_to. Classless icons take their size from
     1lh, and the reset shortens buttons, which drew the logout mark smaller
     than the link icons beside it. */
  button.nav-link {
    line-height: inherit;
    background: none;
    border: none;
    color: var(--color-link);
  }

  button.nav-link:hover {
    color: var(--color-link-hover);
  }

  .nav-link[data-state="current"],
  .nav-link[aria-current] {
    --color-link: var(--color-text);
  }
}
