/* AI activity remains visible above the media list, even when Home Core is covered. */
#candidateModal .candidate-ai-feedback{
  display:flex;align-items:center;gap:9px;flex:0 0 auto;
  padding:8px 10px;margin:0 0 9px;border-radius:11px;
  border:1px solid #dae5eb;background:#f5f8fa;color:#394655;
  min-height:42px;
}
#candidateModal .candidate-ai-feedback-dot{
  display:block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;
  background:#7ca9b7;box-shadow:0 0 0 3px #80b4cb20;
}
#candidateModal .candidate-ai-feedback-body{display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.25}
#candidateModal .candidate-ai-feedback-body strong{font-size:11px;color:#263442;font-weight:750}
#candidateModal .candidate-ai-feedback-body span{font-size:10px;color:#667483;overflow-wrap:anywhere}
#candidateModal .candidate-ai-feedback[data-phase="downloading"] .candidate-ai-feedback-dot,
#candidateModal .candidate-ai-feedback[data-phase="converting"] .candidate-ai-feedback-dot,
#candidateModal .candidate-ai-feedback[data-phase="recovering"] .candidate-ai-feedback-dot{
  background:#c69949;animation:core-status-pulse 1.4s ease-in-out infinite;
}
#candidateModal .candidate-ai-feedback[data-phase="failed"] .candidate-ai-feedback-dot,
#candidateModal .candidate-ai-feedback[data-phase="encoder"] .candidate-ai-feedback-dot{background:#b85a68;animation:none}
#candidateModal .candidate-ai-feedback[data-phase="completed"] .candidate-ai-feedback-dot{background:#3a9b78;animation:none}
#candidateModal:has(.candidate-inline) #downloadStage{display:none!important}
#candidateModal .candidate-inline[data-phase="failed"]{border-color:#e5b8bf;background:#fff7f8}
#candidateModal .candidate-inline[data-phase="completed"]{border-color:#b2dfc9;background:#f6fcf8}
@media(max-height:680px){
 #candidateModal .candidate-ai-feedback{padding:6px 9px;min-height:36px;margin-bottom:6px}
 #candidateModal .candidate-ai-feedback-body span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 #candidateModal .candidate-ai-feedback-dot{animation:none!important}
}
