.tool-navigation {
  width: fit-content;
  margin: 0 0 7px;
  line-height: 1;
}

.tool-home-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #176e69;
  border-radius: 7px;
  background: #123f3b;
  color: #d8eeee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tool-home-link::before {
  content: "←";
  font-size: 0.84rem;
}

.tool-home-link:hover {
  border-color: #238b84;
  background: #176e69;
  color: #ffffff;
}

.tool-home-link:focus-visible {
  outline: 2px solid #4fb7b2;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .tool-home-link {
    transition: none;
  }
}
