#backgroundTaskStatus {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #dce5dc;
  border-radius: 12px;
  color: #253d2b;
  background: #f5faf5;
  box-shadow: 0 4px 18px #0001;
  font: 500 13px/1.6 system-ui, sans-serif;
  pointer-events: none;
}
#backgroundTaskStatus[hidden] { display: none; }
.action-busy-spinner {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid #d5dfd5;
  border-top-color: #315d3d;
  border-radius: 50%;
  animation: action-busy-spin .8s linear infinite;
}
@keyframes action-busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .action-busy-spinner { animation: none; } }
