.cc-message-pending.ra-work-active .cc-pending-status { position: relative; padding-block: 8px 12px; }
.cc-message-pending.ra-work-active .cc-pending-status::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, rgb(var(--clinic-cyan, 20 165 225) / .85), transparent); background-size: 45% 100%; background-repeat: no-repeat; animation: ra-work-sweep 2.2s ease-in-out infinite; }
.cc-message-pending.ra-work-active .cc-pending-spinner { border-width: 2px; width: 15px; height: 15px; animation-duration: .85s; }
.cc-message-pending.ra-work-active .cc-trace-live { display: inline-flex; align-items: center; gap: 5px; }
.cc-message-pending.ra-work-active .cc-trace-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ra-work-pulse 1.6s ease-in-out infinite; }
.cc-message-pending.ra-work-active .cc-trace-content { max-height: min(34vh, 280px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cc-message-pending.ra-work-active .cc-trace-group.is-current .cc-trace-node { animation: ra-work-pulse 1.6s ease-in-out infinite; }
.cc-message-pending.ra-work-active .cc-progress-inline { display: none; }
.cc-trace-event .cc-trace-markdown { white-space: normal; overflow-wrap: anywhere; }
@keyframes ra-work-sweep { 0% { background-position: -85% 0; } 100% { background-position: 185% 0; } }
@keyframes ra-work-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cc-message-pending.ra-work-active .cc-pending-status::after, .cc-message-pending.ra-work-active .cc-pending-spinner, .cc-message-pending.ra-work-active .cc-trace-live::before, .cc-message-pending.ra-work-active .cc-trace-node { animation: none; } }
