/* 작업 중 강조 강화: 테두리를 도는 빛을 굵고 길게(혜성 두 개), 그 뒤로 번지는 광채 띠,
   말풍선 전체가 숨 쉬듯 밝아지는 외곽 빛을 겹쳐 어두운 배경 위에서도 한눈에 보이게 한다 */
.office-reply-bubble[data-status='running'], .messages .card.running .speech-bubble {
  isolation:isolate; border-color:#c9b2ff99;
  animation:working-breathe 2.4s ease-in-out infinite;
}
/* 선명한 빛줄기: 3px, 보라→민트→흰빛 혜성 두 개가 마주 보며 돈다 */
.office-reply-bubble[data-status='running']::after, .messages .card.running .speech-bubble::after {
  inset:-2px; padding:3px;
  background:conic-gradient(from var(--bubble-spin),
    transparent 0 18%, #b99bff 32%, #8ff0d2 42%, #fff 46%, transparent 50%,
    transparent 50% 68%, #b99bff 82%, #8ff0d2 92%, #fff 96%, transparent 100%);
  animation:bubble-spin 2.6s linear infinite;
}
/* 번지는 광채: 같은 혜성을 테두리 바깥 띠에 흐리게 깔아 빛이 새어 나오는 느낌을 준다 */
.office-reply-bubble[data-status='running']::before, .messages .card.running .speech-bubble::before {
  content:''; display:block; position:absolute; inset:-10px; z-index:-1; padding:10px;
  left:-10px; top:-10px; width:auto; height:auto; transform:none; border:0;
  border-radius:inherit; pointer-events:none;
  background:conic-gradient(from var(--bubble-spin),
    transparent 0 18%, #a98cff 34%, #7fe8c8 44%, transparent 50%,
    transparent 50% 68%, #a98cff 84%, #7fe8c8 94%, transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  filter:blur(7px); opacity:.85;
  animation:bubble-spin 2.6s linear infinite;
}
@keyframes working-breathe {
  0%,100% { box-shadow:0 0 0 1px #b99bff55, 0 0 18px #9f7fff33; }
  50% { box-shadow:0 0 0 2px #c9b2ffaa, 0 0 34px #9f7fff77, 0 0 60px #7fe8c833; }
}
/* 맡긴 질문 말풍선도 금빛을 한층 진하게 */
.office-request-row[data-status='running'] .office-user-bubble, .messages .user-msg:has(+ .responses .card.running) {
  border-color:#f6d595; animation:request-working-strong 2.4s ease-in-out infinite;
}
@keyframes request-working-strong {
  0%,100% { box-shadow:0 0 0 1px #f2cd8aaa, 0 0 14px #e8b96a55; }
  50% { box-shadow:0 0 0 3px #f6d595ee, 0 0 32px #e8b96aaa; }
}
@media (prefers-reduced-motion:reduce) {
  .office-reply-bubble[data-status='running'], .messages .card.running .speech-bubble { animation:none; box-shadow:0 0 0 2px #c9b2ffaa, 0 0 26px #9f7fff66; }
  .office-reply-bubble[data-status='running']::before, .messages .card.running .speech-bubble::before { animation:none; opacity:.5; }
  .office-reply-bubble[data-status='running']::after, .messages .card.running .speech-bubble::after { animation:none; }
  .office-request-row[data-status='running'] .office-user-bubble, .messages .user-msg:has(+ .responses .card.running) { animation:none; box-shadow:0 0 0 2px #f6d595ee, 0 0 22px #e8b96a88; }
}
