/* Shared waiting indicator (js/busy-overlay.js): spinner over a blurred backdrop. */
.hc-busy {
  --hc-busy-veil: rgb(255 255 255 / .45);
  --hc-busy-track: rgb(23 32 51 / .16);
  --hc-busy-accent: var(--accent, #0066cc);
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center;
  width: auto; height: auto; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--hc-busy-veil); color: inherit;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: progress;
}
.hc-busy[hidden] { display: none; }
.hc-busy-spinner {
  width: 2.75rem; height: 2.75rem; box-sizing: border-box;
  border: 4px solid var(--hc-busy-track); border-top-color: var(--hc-busy-accent);
  border-radius: 50%; animation: hc-busy-spin .8s linear infinite;
}
.hc-busy-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
@keyframes hc-busy-spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) {
  :root:not(.portal-page):not([data-theme="light"]) .hc-busy { --hc-busy-veil: rgb(0 0 0 / .4); --hc-busy-track: rgb(255 255 255 / .2); }
}
:root[data-theme="dark"] .hc-busy, :root.site-builder-dark .hc-busy { --hc-busy-veil: rgb(0 0 0 / .4); --hc-busy-track: rgb(255 255 255 / .2); }
/* The spinner signals activity, so it slows down instead of stopping. */
@media (prefers-reduced-motion: reduce) { .hc-busy-spinner { animation-duration: 2s; } }
:root[data-reduced-motion="true"] .hc-busy-spinner { animation-duration: 2s; }
