@media screen {
    h1, [test-hint=imported-named-layer--no-rule-layer] {
        color:tomato;
        border: 10px dotted currentColor;
    }

    @layer in-imported-stylesheet {
        h1, [test-hint=imported-named-layer--named-layer] {
            color: purple;
        }
    }
}
