:root {
  color-scheme: dark;
  --task-page: #0e0e0e;
  --task-surface: #1b1b1b;
  --task-surface-strong: #202020;
  --task-line: #2c2c2c;
  --task-text: #f7f7f7;
  --task-muted: #8d8d8d;
  --task-gold: #f3cf86;
  --task-green: #70c692;
}

[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.task-state-badge {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  background: #353535;
  color: #c4c4c4;
  font-size: 11px;
  line-height: 1;
}
.task-state-badge.is-active {
  border-color: #447b5d;
  background: rgba(40, 99, 64, .22);
  color: var(--task-green);
}
.task-state-badge.is-completed { color: #777; }
.task-state-badge.is-trial { color: #e8e8e8; }
.task-state-badge.is-activity {
  border-color: #7c642d;
  background: linear-gradient(90deg, rgba(108, 79, 23, .58), rgba(48, 39, 21, .72));
  color: #f2d28b;
}
.task-state-badge.is-support { color: #ececec; }
.task-state-badge.is-count { color: #a7a7a7; }

.task-toast {
  position: absolute;
  left: 50%;
  bottom: 76px;
  z-index: 90;
  max-width: calc(100% - 48px);
  padding: 10px 15px;
  border: 1px solid #393939;
  border-radius: 999px;
  background: rgba(37, 37, 37, .96);
  color: #eee;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.task-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
