/* === Task Header Style === */
li.task-list-item:has(span.task-id) + li.task-list-item:has(span.task-dependsOn) {
  inset-inline-start: calc(var(--checkbox-size) * 1.5);
  color: var(--text-muted) !important;
}
/* === Checkbox Styling === */
/* --- Variables --- */
[data-task-status-type] [type=checkbox]:before,
[data-task-status-type] [type=checkbox]:checked:before,
[data-task-status-type] [type=checkbox]:after,
[data-task-status-type] [type=checkbox]:checked:after {
  --checkbox-width: calc(var(--checkbox-size) * 1);
  --checkbox-height: calc(var(--checkbox-size) * 1);
}
[data-task-status-type] [type=checkbox]:after,
[data-task-status-type] [type=checkbox]:checked:after {
  --checkbox-color: rgb(255, 255, 255);
}
/* --- Global --- */
[data-task-status-type] {
  background-color: var(--background-primary);
  --text-normal: rgb(var(--ctp-text)) !important;
  margin-inline-start: var(--list-indent);
  padding: 0 !important;
}
[data-task-status-type] [type=checkbox],
[data-task-status-type] [type=checkbox]:checked {
  --checkbox-color: transparent !important;
  --checkbox-color-hover: transparent !important;
  display: inline-block !important;
  border-width: 0;
}
[data-task-status-type] [type=checkbox]:after,
[data-task-status-type] [type=checkbox]:checked:after {
  content: "";
  top: -1px;
  left: 0px;
  inset-inline-start: -1px;
  position: absolute;
  width: var(--checkbox-width);
  height: var(--checkbox-height);
  display: block;
  -webkit-mask-position: 52% 52%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-image: var(--checkbox-image-url) !important;
  background-color: var(--checkbox-color) !important;
}
/* --- Styles --- */
/* ARXIV:UNREAD */
[data-task-status-name="arXiv:unread"] [type=checkbox]:after,
[data-task-status-name="arXiv:unread"] [type=checkbox]:checked:after {
  /* The svg icon of the checkbox */
  --checkbox-image-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>');
  /* The colour of the svg icon */
  --checkbox-color: rgb(255, 255, 255);
}
/* ARXIV:2READ */
[data-task-status-name="arXiv:2read"] [type=checkbox]:after,
[data-task-status-name="arXiv:2read"] [type=checkbox]:checked:after {
  /* The svg icon of the checkbox */
  --checkbox-image-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6z"/><path d="M14 3v5h5M16 13H8M16 17H8M10 9H8"/></svg>');
  /* The colour of the svg icon */
  --checkbox-color: rgb(251, 255, 0);
}
/* ARXIV:2DOWNLOAD */
[data-task-status-name="arXiv:2download"] [type=checkbox]:after,
[data-task-status-name="arXiv:2download"] [type=checkbox]:checked:after {
  /* The svg icon of the checkbox */
  --checkbox-image-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"/></svg>');
  /* The colour of the svg icon */
  --checkbox-color: rgb(251, 255, 0);
}
/* ARXIV:NOT_RELEVANT */
[data-task-status-name="arXiv:not_relevant"] [type=checkbox]:after,
[data-task-status-name="arXiv:not_relevant"] [type=checkbox]:checked:after {
  /* The svg icon of the checkbox */
  --checkbox-image-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg>');
  /* The colour of the svg icon */
  --checkbox-color: rgb(255, 0, 0);
}
/* ARXIV:DOWNLOADED */
[data-task-status-name="arXiv:downloaded"] [type=checkbox]:after,
[data-task-status-name="arXiv:downloaded"] [type=checkbox]:checked:after {
  /* The svg icon of the checkbox */
  --checkbox-image-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6z"/><path d="M14 3v5h5M16 13H8M16 17H8M10 9H8"/></svg>');
  /* The colour of the svg icon */
  --checkbox-color: rgb(18, 173, 23);
}