/* Pulse the frame only, keeping the checklist text stable and readable. */
.task-attention {
  --task-frame: #bb3f3b;
  background-color: #fff6f5;
  border-color: var(--task-frame);
  box-shadow: inset 0 0 0 2px var(--task-frame);
}
.task-attention-pulse {
  animation: nimo-task-frame 2s ease-in-out infinite;
}
@keyframes nimo-task-frame {
  0%, 100% { box-shadow: inset 0 0 0 1px #bb3f3b; }
  50% { box-shadow: inset 0 0 0 3px #b22f30, 0 0 0 2px rgb(178 47 48 / 18%); }
}
#taskButton.task-attention { color: #7c201e; background-color: #fff0ef; }
.task-attention .count { background: #9e2d2b; color: white; }
.stat.task-attention strong { color: #922b29; }
#workerTasks { padding: 14px 16px; border: 1px solid #d7dcd7; border-radius: 12px; }
#workerTasks.task-attention { border-color: var(--task-frame); }
#workerTasks h2 { margin: 0; }
#workerTasks summary, .task-overflow summary { width: fit-content; cursor: pointer; font-weight: 600; padding: 6px 0; }
@media (max-width: 1100px) { .technician-task-panel { order: -1; } }
@media (prefers-reduced-motion: reduce) {
  .task-attention-pulse { animation: none; }
}
