[mediaqueries] MQs are *almost* always dependent only on external info.
[mediaqueries] Make resolution properly refer to range context, not just min/max prefix.