.calendar-day.has-task {
  color: #bf3f49;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px #e85d68;
  background: #fff5f5;
}

.calendar-day.has-task::after {
  background: #e85d68;
}

.calendar-tip i {
  background: #e85d68;
}

.task-scope-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; }
.task-scope-bar p, #taskRecipientNote { color: #63748e; font-size: 13px; line-height: 1.6; }
.task-scope-bar select { max-width: 240px; padding: 9px 12px; border: 1px solid #d7e2ef; border-radius: 9px; background: #fff; color: #253c5a; }
.task-assignment { display: block; color: #63748e; margin-top: 5px; font-size: 12px; }
#taskList .task-row > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.task-reassign { flex-shrink: 0; font-size: 12px; }
#taskRecipientsField { margin: 16px 0; padding: 12px; border: 1px solid #dce5f0; border-radius: 10px; }
#taskRecipients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 210px; overflow-y: auto; }
#taskRecipients label { display: flex; align-items: center; gap: 8px; padding: 8px; margin: 0; background: #f5f8fc; border-radius: 7px; }
#taskRecipients input { width: 18px; height: 18px; margin: 0; }
#taskDialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
#taskDialog .close-button { min-width: 44px; min-height: 44px; flex-shrink: 0; }
#taskDialog .dialog-actions button { min-height: 44px; }
@media (max-width: 570px) {
  .task-scope-bar { align-items: stretch; flex-direction: column; gap: 4px; }
  .task-scope-bar select { max-width: none; width: 100%; }
  #taskList .task-row { flex-wrap: wrap; }
}
