/* ── TOAST ───────────────────────────────────────────────── */
#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-top);
  background: var(--surface2);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 380px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 45%);
  font-size: 0.85rem;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.25s ease;
  pointer-events: none;
}

#toast.visible {
  transform: translateX(0);
  pointer-events: auto;
}

#toast-msg {
  flex: 1;
  color: var(--text);
  line-height: 1.4;
}

#toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

#toast-close:hover {
  color: var(--text);
}
