/* Factory site chrome — scroll-to-top + sticky helpers (vertical covers) */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--primary, #393f94);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink, #111) 18%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: #fff;
  filter: brightness(0.94);
  outline: none;
}
.back-to-top svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}
/* Legacy meeting seed id */
#button.back-to-top,
a#button.show {
  /* keep site styles if present; factory JS still toggles .show */
}
@media (max-width: 719px) {
  .back-to-top {
    right: 0.85rem;
    /* Sit nearer the bottom edge so it clears the footer copyright line */
    bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
    width: 2.5rem;
    height: 2.5rem;
  }
}
