/* Builder's compact secondary action, independent of library service styling.
   Scope to the reset control; specificity overrides service navigation states. */
html body .govuk-header a.gf-prototype-reset,
html body .govuk-service-navigation .govuk-service-navigation__list .gf-prototype-reset-item a.govuk-service-navigation__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #8d99a4;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(11, 12, 12, 0.08);
  color: #1d70b8 !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none !important;
  vertical-align: middle;
  transition: none;
}

html body .govuk-header a.gf-prototype-reset:hover,
html body .govuk-service-navigation .govuk-service-navigation__list .gf-prototype-reset-item a.govuk-service-navigation__link:hover {
  border-color: #57606a;
  background: #f4f6f8;
  color: #0b0c0c !important;
  box-shadow: 0 1px 3px rgba(11, 12, 12, 0.14);
}

html body .govuk-header a.gf-prototype-reset:active,
html body .govuk-service-navigation .govuk-service-navigation__list .gf-prototype-reset-item a.govuk-service-navigation__link:active {
  background: #eaeef2;
  box-shadow: none;
  transform: translateY(1px);
}

html body .govuk-header a.gf-prototype-reset:focus-visible,
html body .govuk-service-navigation .govuk-service-navigation__list .gf-prototype-reset-item a.govuk-service-navigation__link:focus-visible {
  outline: 3px solid #ffdd00;
  outline-offset: 3px;
  background: #ffffff;
  color: #1d70b8 !important;
  box-shadow: 0 0 0 3px #0b0c0c;
}

html body .govuk-header a.gf-prototype-reset:focus:not(:focus-visible),
html body .govuk-service-navigation .govuk-service-navigation__list .gf-prototype-reset-item a.govuk-service-navigation__link:focus:not(:focus-visible) {
  outline: none;
}
