Add ImportDirective type pairing @import URLs with parsed media queries, enabling viewport-based filtering during import resolution so that e.g. `@import "print.css" print` is skipped on screen. Thread Viewport through the resolve_imports pipeline, strip CSS Cascade 5 layer/supports annotations before media parsing, and add golden tests for @media screen/print behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
144 B
144 B