.plan-tasks-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 100200;
}

.plan-tasks-bottom {
  display: block;
}

.plan-tasks-modal .create-assignment-bottom {
  grid-template-columns: 360px 1fr;
}

.plan-tasks-panel {
  width: 100%;
}

.plan-tasks-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 0 8px 0;
}

.plan-tasks-tool-btn {
  height: 36px;
  width: 36px;
}

.plan-tasks-table-wrap {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
}

.plan-tasks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.plan-tasks-tr-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-tasks-th {
  text-align: left;
  padding: 8px 10px;
}

.plan-tasks-th-date {
  width: 120px;
}

.plan-tasks-th-award {
  width: 56px;
}

.plan-tasks-award-icon {
  width: 18px;
  height: 18px;
  color: var(--color-button-yellow-dark, #eab308);
}

.plan-task-edit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100300;
  background: rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
}

.plan-task-edit-card {
  width: 520px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
  overflow: hidden;
}

.plan-task-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-task-edit-title {
  font-weight: 600;
  font-size: 15px;
}

.plan-task-edit-body {
  padding: 12px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.plan-task-edit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 100%;
  flex-wrap: nowrap;
  min-width: 0;
}

.plan-task-edit-input {
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 0 10px;
}

#plan-task-edit-date {
  width: 160px;
  flex: 0 0 auto;
}

#plan-task-edit-count {
  width: 96px;
  flex: 0 0 auto;
}

#plan-task-edit-ex {
  min-width: 0;
  flex: 1 1 auto;
}

.plan-task-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 100%;
  width: 100%;
}

.plan-task-edit-save-btn {
  height: 40px;
  padding: 0 14px;
  min-width: 110px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: var(--color-button-yellow, #fbbf24);
  color: var(--color-button-text-yellow, #1f2933);
  font-weight: 600;
}

.plan-task-edit-save-btn:hover {
  background: var(--color-button-yellow-dark, #eab308);
}

.plan-task-edit-save-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
