/* Explicit Wave 4A.2 opt-in. No shared map or non-map styling changes. */
.r-local-geography:has([data-local-context="wave4a2"]) .cs-geography { pointer-events: none; }
[data-local-context="wave4a2"] .lc-road {
 fill: none; stroke: #b7a68a; stroke-width: 1.25; vector-effect: non-scaling-stroke;
 stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.wave4a1 [data-local-context="wave4a2"] .lc-waterway {
 fill: none; stroke: #527b89; stroke-width: 2.6; stroke-dasharray: none;
 vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
 pointer-events: none;
}
.wave4a1 [data-local-context="wave4a2"] .lc-river { stroke-width: 4; }
.wave4a1 [data-local-context="wave4a2"] .lc-harbour { stroke-width: 1.6; }
.wave4a1 [data-local-context="wave4a2"] .cs-feature { font-size: 22px; }
.wave4a1 [data-local-context="wave4a2"] .lc-water-label {
 font-size: 22px; letter-spacing: .02em; fill: #456875;
 paint-order: stroke; stroke: var(--cs-paper); stroke-width: 4; stroke-linejoin: round;
 pointer-events: none;
}
.wave4a1 [data-local-context="wave4a2"] .lc-road-label {
 font-size: 19px; fill: #7e6b50; letter-spacing: .02em;
 paint-order: stroke; stroke: var(--cs-paper); stroke-width: 5; pointer-events: none;
}
[data-local-context="wave4a2"] .lc-label-leader { fill: none; stroke: #527b89; stroke-width: 1; pointer-events: none; }
.wave4a1 .r-local-geography .lc-attribution { font-size: 10px; line-height: 1.6; color: #69716f; margin: 18px 0 0; }
.wave4a1 .r-local-geography .lc-attribution a { color: inherit; text-underline-offset: 3px; }
.wave4a1 .r-local-geography .lc-attribution a:focus-visible { outline: 2px solid #806331; outline-offset: 3px; }
@media (max-width: 700px) {
 .wave4a1 [data-local-context="wave4a2"] .lc-water-label { font-size: 23px; }
}
/* Owner follow-up: opt-in Toronto road hierarchy; other map output stays unchanged. */
.wave4a1 [data-road-hierarchy="toronto"] .tr-roads { pointer-events: none; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-road {
 fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
 stroke: #90978b; stroke-width: 1.5; pointer-events: none;
}
.wave4a1 [data-road-hierarchy="toronto"] .tr-road--waterfront { stroke: #958064; stroke-width: 2.3; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-road--401 { stroke: #786d5c; stroke-width: 3; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-road-label {
 font-size: 23.5px; letter-spacing: 0; fill: #62645f; font-weight: 500;
 stroke: none;
 pointer-events: none;
}
.wave4a1 [data-road-hierarchy="toronto"] .tr-route-tag { pointer-events: none; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-tag-backing {
 fill: #f7f6f1; stroke: #c4c2b7; stroke-width: .6; vector-effect: non-scaling-stroke; pointer-events: none;
}
.wave4a1 [data-road-hierarchy="toronto"] .tr-road-leader { fill: none; stroke: #90978b; stroke-width: .8; pointer-events: none; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-city-label {
 font-size: 34px; font-weight: 600; fill: var(--cs-ink);
 stroke-width: 1.5; paint-order: stroke; stroke: var(--cs-paper);
}
.wave4a1 [data-road-hierarchy="toronto"] [data-current="true"] .tr-city-label { font-size: 37px; font-weight: 700; }
.wave4a1 [data-road-hierarchy="toronto"] .cs-dot { r: 5.5; }
.wave4a1 [data-road-hierarchy="toronto"] [data-current="true"] .cs-dot { r: 8; }
.wave4a1 [data-road-hierarchy="toronto"] .tr-city-leader { stroke-width: .8; }
.wave4a1 [data-road-hierarchy="toronto"] .sc-city:is(:hover,:focus-visible) .tr-city-label {
 fill: #58451e; text-decoration: underline;
}
