/* Only the actively selected result has a visible border. */
/* This stylesheet is loaded after the existing Editor stylesheet. */
body.v09-integration #v09-search-results .v09-hit:not(.selected),
body.v09-integration #v09-search-results .v09-hit:not(.selected):hover,
body.v09-integration #v09-search-results .v09-hit:not(.selected):focus-within {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
/* The evidence snippet has its own border in the existing UI. Remove that
   secondary frame from unselected candidates, including on hover/focus. */
body.v09-integration #v09-search-results .v09-hit:not(.selected) .v09-hit-evidence,
body.v09-integration #v09-search-results .v09-hit:not(.selected):hover .v09-hit-evidence,
body.v09-integration #v09-search-results .v09-hit:not(.selected):focus-within .v09-hit-evidence {
  border: 0 !important;
  box-shadow: none !important;
}
/* Selection is the only state with a persistent outer frame. */
body.v09-integration #v09-search-results .v09-hit.selected {
  border: 2px solid #ff8c00 !important;
  outline: none !important;
  box-shadow: none !important;
}
/* Keep a keyboard focus indicator without adding a frame on mouse hover. */
body.v09-integration #v09-search-results .v09-hit:not(.selected):focus-visible {
  outline: 2px dashed #74a9ff !important;
  outline-offset: 2px;
}
