.action-progress {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 11px;
  align-items: center;
  min-width: 250px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
}

.action-progress strong { font-size: .9rem; }
.action-progress small { grid-column: 2; color: #cdd6d0; font-size: .75rem; margin-top: 2px; }
.action-spinner {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: action-spin .75s linear infinite;
}

.action-pending { position: relative; pointer-events: none; }
.action-pending::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: action-spin .75s linear infinite;
}

body.action-in-progress { cursor: progress; }
@keyframes action-spin { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .action-progress { left: 16px; right: 16px; bottom: 16px; min-width: 0; transform: none; }
}
/* Global write-operation overlay used by action-progress.js. */
