/* The action covers the title; inline links sit above it as separate controls. */
html[data-shell="dom"] .shell-task-heading {
  position: relative;
  min-height: 34px;
  font-size: 16px;
  line-height: 24px;
  color: var(--shell-ink);
}
html[data-shell="dom"] .shell-task-heading > .shell-task-title {
  position: absolute;
  inset: 0;
  height: 100%;
}
html[data-shell="dom"] .shell-task-heading > .shell-label {
  display: block;
  position: relative;
  pointer-events: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
html[data-shell="dom"] .shell-task-heading a {
  pointer-events: auto;
}
html[data-shell="dom"] .shell-task-heading mark {
  color: inherit;
  background: var(--color-selection-background);
}
html[data-shell="dom"] .shell-task-excerpt {
  overflow-wrap: anywhere;
}

/* Tasks owns transition states; the shared shell owns row geometry. */
html[data-shell="dom"] .shell-task .shell-task-check {
  color: var(--color-foreground-secondary);
}
html[data-shell="dom"] .shell-task .shell-task-check::before {
  border-color: var(--color-foreground-secondary);
}
html[data-shell="dom"] .shell-task .shell-task-check[aria-checked="true"] {
  color: var(--color-on-accent);
}
html[data-shell="dom"] .shell-task .shell-task-check[aria-checked="true"]::before {
  background: var(--color-foreground-secondary);
  border-color: var(--color-foreground-secondary);
}
html[data-shell="dom"] .shell-task[data-transition] :is(.shell-task-title, .shell-task-heading) {
  color: var(--color-foreground-secondary);
}
html[data-shell="dom"] .shell-task[data-transition^="complete"] .shell-task-properties {
  opacity: .45;
}
html[data-shell="dom"] .shell-task[data-transition="delete"] {
  --task-transition-color: var(--color-error);
}
html[data-shell="dom"] .shell-task[data-transition="reschedule"] {
  --task-transition-color: var(--color-accent);
}
html[data-shell="dom"] .shell-task:is([data-transition="delete"], [data-transition="reschedule"])
  :is(.shell-task-body, .shell-task-body *, .shell-task-marker) {
  color: var(--task-transition-color);
  accent-color: var(--task-transition-color);
}
html[data-shell="dom"] .shell-task:is([data-transition="delete"], [data-transition="reschedule"])
  .shell-property::before {
  color: var(--task-transition-color);
}
html[data-shell="dom"] .shell-task[data-transition="delete"] :is(.shell-task-body, .shell-task-marker) {
  opacity: .45;
}
html[data-shell="dom"] .shell-task .shell-task-marker::before {
  display: none;
}
html[data-shell="dom"] .shell-task .shell-task-marker .shell-icon {
  left: 2px;
  top: 9px;
  width: 26px;
  height: 26px;
}
