.menu :local-link {
  text-decoration: none;
  color: teal;
  font-weight: bold;
}

a:not(:local-link(0)) {
  /* другой origin — пунктир (когда заработает) */
  text-decoration-style: dashed;
}