/* Locator controls only; loaded after the existing ticket styles. */
#view-locator #locator-pathway-host .locator-control-strip{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;max-width:100%;position:relative}
#view-locator #locator-pathway-host .locator-basemap-control{display:flex;align-items:center;gap:6px;flex:none;white-space:nowrap;margin:0}
#view-locator #locator-pathway-host .locator-basemap-control select{width:auto;max-width:none;min-width:0;flex:none;margin:0;white-space:nowrap}
#view-locator #locator-pathway-host .locator-control-strip>details{position:static;flex:none;order:0;margin:0;min-width:0}
#view-locator #locator-pathway-host .locator-control-strip>details>summary{display:flex;align-items:center;min-height:44px;padding:4px 6px;box-sizing:border-box;white-space:nowrap;cursor:pointer;font-size:13px}
#view-locator #locator-pathway-host .locator-control-strip>details>summary:focus-visible{outline:3px solid #317ac3;outline-offset:2px}
#view-locator #locator-pathway-host .locator-map-options-panel,
#view-locator #locator-pathway-host .locator-legend-panel{position:absolute;top:100%;right:0;z-index:10;display:grid;gap:8px;width:260px;max-width:calc(100vw - 32px);max-height:45vh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:10px;box-sizing:border-box;box-shadow:0 6px 18px #0002}
#view-locator #locator-pathway-host .locator-legend-panel p{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}
#view-locator #locator-pathway-host .locator-map-options-panel label{display:grid;gap:4px;white-space:normal}
#view-locator #locator-pathway-host .locator-map-options-panel select{width:100%;max-width:100%;min-width:0}
#asset-rev{display:flex;align-items:center;flex-wrap:wrap;gap:6px;line-height:1.5}
#asset-rev .asset-riser-chip{display:inline-flex;align-items:center;flex:none;white-space:nowrap;line-height:1.4}
@media(max-width:599px){
 #view-locator #locator-pathway-host .locator-control-strip{gap:4px}
 #view-locator #locator-pathway-host .locator-basemap-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #view-locator #locator-pathway-host .locator-basemap-control select{font-size:12px;padding-left:5px;padding-right:22px}
 #view-locator #locator-pathway-host .locator-control-strip>details>summary{font-size:12px;padding-left:4px;padding-right:4px}
}

.engineer-asset-density{display:inline-flex;flex:none;min-height:44px;align-items:center;gap:6px;white-space:nowrap;font-size:12px}
.engineer-asset-density input{width:16px;height:16px;min-height:0;margin:0}

#view-locator #locator-pathway-host.locator-startup-unavailable.locator-configured .locator-toolbar>.locator-control-strip{display:flex!important}
#view-locator #locator-pathway-host.locator-startup-unavailable .locator-control-strip>details{display:none}
/* Reserve gestures inside the USGS map; page and native Google gestures remain separate. */
#map-canvas:not(.google-active){touch-action:none}
