/* Task creation actions: four columns, two rows, aligned to the right. */
.gggai-tasks-page .gggai-tasks-header__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, max-content));
  justify-content: end;
  align-items: stretch;
  gap: 12px;
  margin-left: auto;
  max-width: 100%;
}

.gggai-tasks-page .gggai-tasks-header__actions > .btn-primary-custom {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.gggai-tasks-page .gggai-tasks-header__actions > .gggai-tasks-limit-badge {
  grid-column: 1 / -1;
  justify-self: end;
}

@media (max-width: 640px) {
  .gggai-tasks-page .gggai-tasks-header__actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
