/* CAD drawing viewer is opt-in; original map, ribbons and menus remain untouched. */
.map-shell .cad-native-viewer{position:absolute;inset:0;z-index:550;pointer-events:none;font:12px system-ui,sans-serif;color:#e5f2f4}
.map-shell .cad-native-toolbar{position:absolute;top:12px;left:12px;right:12px;z-index:2;display:flex;align-items:center;gap:8px;flex-wrap:wrap;pointer-events:auto}
.map-shell .cad-native-toolbar button{background:#193640;border:1px solid #49717b;color:#e5f2f4;padding:7px 12px;border-radius:5px;cursor:pointer}
.map-shell .cad-native-toolbar button:hover{background:#28505b}
.map-shell .cad-native-toolbar span{background:#15252bd9;padding:7px;border-radius:4px}
.map-shell .cad-native-viewer:not(.is-active) [data-cad-fit],.map-shell .cad-native-viewer:not(.is-active) [data-cad-close]{display:none}
.map-shell .cad-native-viewer.is-active{background:#101820;pointer-events:auto}
.map-shell .cad-native-viewer canvas{display:none;width:100%;height:100%;touch-action:none}
.map-shell .cad-native-viewer.is-active canvas{display:block}
.map-shell .cad-native-coordinates{position:absolute;bottom:10px;left:12px;pointer-events:none;background:#15252bd9;padding:5px 8px}
