.tasks-board {
  min-width: 1300px;
}

.tasks-board-cell[data-status="completed"] .tasks-card {
  display: none;
}

.tasks-priority-tag { margin-left: auto; }
.tasks-priority--low { background: #eef0f2; color: #5e6670; }
.tasks-priority--medium { background: #edf3ff; color: #0b63ff; }
.tasks-priority--high { background: #fff0ef; color: #bd3b34; }
.tasks-card.is-readonly { cursor: pointer; }
.tasks-card.is-readonly .tasks-priority-tag { cursor: default; }

.tasks-card.is-dragging {
  opacity: 0.5;
  transform: scale(0.98);
}

.tasks-card-title.is-empty {
  color: var(--admin-muted);
}

.tasks-card-title-input {
  min-height: 1.45em;
  resize: none;
  overflow: hidden;
  line-height: 1.45;
}

.tasks-card-title-input::placeholder {
  color: var(--admin-muted);
  opacity: 1;
}

.tasks-modal .modal-body {
  display: flex;
  min-height: 0;
}

#tasksEditorHost {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
}

#tasksEditorHost > .tasks-markdown-editor {
  flex: 1 1 auto;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}

#tasksEditorHost > .tasks-markdown-editor .admin-property-editor-markdown-surface,
#tasksEditorHost > .tasks-markdown-editor .admin-property-editor-markdown-editor {
  min-height: 100%;
}

@media (max-width: 980px) {
  .tasks-board {
    min-width: 1280px;
  }
}
