A coastal ecosystem that is partially enclosed, receives freshwater input from rivers or streams, is the transition zone between fresh and saline waters, and is subject to both marine influences such as tides and riverine influences such as sediment input