/* Highlight only the Docs link in NewAPI's top navigation. */
#root header nav a.ac-guide-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid #1976c9;
  border-radius: 999px;
  background: #1976c9;
  color: #fff !important;
  font-weight: 650 !important;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(20, 103, 173, .18);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#root header nav a.ac-guide-nav::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 5v15M12 5C8 2 3 3 3 3v15s5-1 9 2c4-3 9-2 9-2V3s-5-1-9 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#root header nav a.ac-guide-nav::after {
  content: '↗';
  margin-left: 0;
  font-size: .9em;
  line-height: 1;
}

#root header nav a.ac-guide-nav:hover,
#root header nav a.ac-guide-nav:focus-visible {
  border-color: #125c9e;
  background: #125c9e;
  box-shadow: 0 3px 10px rgba(20, 103, 173, .24);
}

#root header nav a.ac-guide-nav:focus-visible {
  outline: 2px solid #1976c9;
  outline-offset: 3px;
}

html.dark #root header nav a.ac-guide-nav {
  border-color: #75bfff;
  background: #75bfff;
  color: #102b43 !important;
}

html.dark #root header nav a.ac-guide-nav:hover,
html.dark #root header nav a.ac-guide-nav:focus-visible {
  border-color: #a3d5ff;
  background: #a3d5ff;
}

@media (max-width: 640px) {
  #root header nav a.ac-guide-nav {
    gap: 5px;
    padding: 5px 9px;
    min-height: 32px;
  }
}
