/* styles-plan-reassign.css — «Передать другому» (Лист План): стрелка у «+ Новое СЗ»
 * и окно выбора нового исполнителя. Сплит-кнопка переиспользует классы
 * .plan-send-split / .plan-send-caret / .plan-send-menu (styles-attachments.css) —
 * здесь только зелёный разделитель стрелки и само окно. Палитра окна — как у
 * модалки подтверждения (manager-destructive-modal.js): белый диалог, тёмный фон. */

.plan-create-split .plan-send-caret {
  border-left-color: rgba(134, 239, 172, 0.55);
}

.plan-reassign-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 32, 0.55);
  z-index: 9999;
}
.plan-reassign-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  padding: 22px 24px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 32, 0.32);
  color: #1f2937;
  font-family: inherit;
}
.plan-reassign-title {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}
.plan-reassign-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: #6b7280;
}
.plan-reassign-tabs {
  display: flex;
  gap: 6px;
  margin: 12px 0 0;
}
.plan-reassign-tab {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.plan-reassign-tab.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.plan-reassign-search {
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #111827;
  outline: none;
}
.plan-reassign-search:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}
.plan-reassign-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  min-height: 120px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.plan-reassign-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #1f2937;
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.plan-reassign-option:hover {
  background: #eff6ff;
}
.plan-reassign-option.is-active {
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 600;
}
.plan-reassign-option.is-current {
  color: #9ca3af;
  cursor: not-allowed;
}
.plan-reassign-option .plan-emp-opt-chip {
  flex: 0 0 auto;
}
.plan-reassign-empty {
  margin-top: 8px;
  font-size: 12.5px;
  color: #6b7280;
}
.plan-reassign-error {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre-line;
}
.plan-reassign-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}
.plan-reassign-cancel,
.plan-reassign-confirm {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.plan-reassign-cancel {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1f2937;
}
.plan-reassign-confirm {
  border: 1px solid #1d4ed8;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
}
.plan-reassign-confirm:disabled {
  border-color: #d1d5db;
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}
