/* Like wave51/grid.css, the wrapper leaves display: contents only when its extra child exists. Map settings joins it only on the Routing app, so the DOM owns the row layout. min-width: 0 lets the toolbar's inline-size container shrink, and its flex basis lets controls wrap onto another line at narrow widths. */ .cg-relpin-bar:has(> .cg-map-settings) { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; flex-wrap: wrap; background: var(--lp-surface); border-bottom: 1px solid var(--lp-line); } .cg-relpin-bar:has(> .cg-map-settings) > .cg-toolbar { flex: 1 1 320px; min-width: 0; border-bottom: 0; } .cg-relpin-bar:has(> .cg-map-settings) > .cg-map-settings { flex: 0 0 auto; border-bottom: 0; } /* The launch frame precedes MapView's app surface. Repeat apps.css's three chrome selectors here so Data controls cannot flash; apps.css is outside this ticket's fence. */ .cg-main:has(.cg-app-launch-state) .cg-modes, .cg-main:has(.cg-app-launch-state) .cg-toolbar .cg-pop-wrap:not(:has(> .cg-tb-btn--filter)), .cg-main:has(.cg-app-launch-state) .cg-toolbar > .cg-tb-btn { display: none; }