/* Floating return control, matching the Plan sponsorship landing page. */
.back-to-top {
  position: fixed;
  right: calc(var(--space-3) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--color-neutral-300);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-card);
  font: 600 .875rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.back-to-top[hidden] { display: none; }
.back-to-top__icon { font-size: 22px; }
.back-to-top__label { display: none; }
.back-to-top:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.back-to-top:active { background: var(--color-neutral-100); }
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover { color: var(--brand-blue); background: var(--color-neutral-100); }
}
@media (min-width: 1100px) {
  .back-to-top { right: calc(var(--space-5) + env(safe-area-inset-right, 0px)); padding-inline: var(--space-4); }
  .back-to-top__label { display: inline; }
}
@media (forced-colors: active) {
  .back-to-top { border-color: ButtonText; box-shadow: none; }
}
