#toast { display: none !important; }

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.queued-toast {
  justify-self: end;
  max-width: 100%;
  border: 1px solid #59665c;
  border-radius: 10px;
  padding: 9px 12px;
  background: #dce7de;
  color: #101511;
  box-shadow: var(--shadow);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 140ms ease, translate 140ms ease;
  pointer-events: auto;
}
.queued-toast.show { opacity: 1; translate: 0 0; }
.queued-toast.leaving { opacity: 0; translate: 0 6px; }

.attachment-drop-zone {
  border: 1px dashed #455047;
  border-radius: 10px;
  padding: 10px;
  transition: border-color 120ms ease, background 120ms ease;
}
.attachment-drop-zone.dragging {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.attachment-drop-zone small { display: block; margin-top: 6px; }

.task-title-link {
  display: inline-block;
  min-width: 1ch;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 2px;
}
.task-title-link:hover,
.task-title-link:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
}
.task-actions [data-action="edit"] { display: none !important; }

[data-section="upcoming"] .task-card .status-pill { display: none; }
.availability-summary {
  margin-top: 4px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 620;
}
[data-section="upcoming"] .sleeping-task .availability-summary { color: #c3b5e2; }

.tasks-panel.compact .notes {
  display: -webkit-box !important;
  margin-top: 3px;
  color: #b3bbb5;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.calendar-chip.search-dimmed {
  opacity: 0.18;
  filter: grayscale(0.8);
}

@media (max-width: 760px) {
  .toast-stack { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .queued-toast { justify-self: stretch; }
}
