/* Reuse the shared warning palette below the commercial navigation strip. */
.document-activity-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:12px 16px;border-left:3px solid var(--warning);border-radius:8px;background:var(--warning-light);color:var(--text-strong);font-size:12px}
.document-activity-completed{background:var(--success-light);border-left-color:var(--success)}
.document-activity-notice time{white-space:nowrap}
.document-activity-notice:not(.document-activity-completed) time{display:none}

/* Processing documents and pending editor saves never look actionable, including anchors and disclosure controls. */
.document-processing-control{cursor:wait!important}
.button.document-processing-control,summary.document-processing-control{background:var(--interface-disabled-field-surface)!important;border-color:var(--border)!important;color:var(--interface-disabled-field-text)!important;box-shadow:none!important;opacity:1!important}
.button-accent.document-processing-control[aria-busy="true"]::before{content:"";display:inline-block;flex-shrink:0;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:document-processing-spin .8s linear infinite}
.button-accent.document-processing-control[aria-busy="true"]>.document-action-icon,.button-accent.document-processing-control[aria-busy="true"]>.editor-action-icon{display:none}
@keyframes document-processing-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.button-accent.document-processing-control[aria-busy="true"]::before{animation:none}}

/* Keep the recovery action intact beside long feedback, with a stacked mobile fallback. */
.document-activity-notice [data-document-recovery]{flex:0 0 auto;white-space:nowrap}
@media(max-width:640px){.document-activity-notice{align-items:flex-start;flex-direction:column;gap:10px}}
