/* ============ Pointing at a control ============ */
/* One ring, drawn over the page rather than as a class on the target: a
   z-index on the target only outranks its own siblings, so a panel overlay
   could still cover it. A fixed ring on the body sits above everything, never
   blocks the click it is pointing at, and follows the target's rectangle so it
   stays put when the pane scrolls or the window resizes.

   Two callers want it and they want it differently, so the pulse count is the
   difference: the header search's ring is a passing note (three pulses), a
   walkthrough step is held until the step is done. */

.sh-highlight-ring {
  position: fixed;
  pointer-events: none;
  z-index: 2147483000;
  box-sizing: border-box;
  border: 2px solid var(--accent);
  border-radius: var(--sh-radius);
  box-shadow: 0 0 0 0 rgba(74, 144, 217, 0);
  animation: sh-highlight-pulse 1.1s ease-in-out 3;
}

.sh-highlight-ring--hold {
  animation: sh-highlight-pulse 1.6s ease-in-out infinite;
}

@keyframes sh-highlight-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 144, 217, 0); }
  50%      { box-shadow: 0 0 0 7px rgba(74, 144, 217, 0.3); }
}
