/* Mobile adapter is loaded last. No changes to the desktop atlas or underlying evidence. */
.mobile-map-ui[hidden],.mobile-map-sheet[hidden],.mobile-map-section[hidden]{display:none!important}
@media(max-width:799px){
 .atlas-restored.mobile-map-ready{--mobile-map-toolbar-height:calc(58px + env(safe-area-inset-bottom,0px))}
 .atlas-restored.mobile-map-ready .explorer-top{min-height:56px;height:56px;padding:8px 12px;display:flex;align-items:center}
 .atlas-restored.mobile-map-ready .explorer-top h2{font-size:18px;margin:0}.atlas-restored.mobile-map-ready .atlas-kicker{display:none}
 .atlas-restored.mobile-map-ready .explorer-title-actions,.atlas-restored.mobile-map-ready .licensed-sidebar,.atlas-restored.mobile-map-ready .map-floating-tools{display:none!important}
 .atlas-page .atlas-restored.mobile-map-ready .explorer-workspace,.atlas-restored.mobile-map-ready .explorer-workspace{display:block;position:relative;height:76dvh;min-height:0;max-height:900px;padding-bottom:var(--mobile-map-toolbar-height);isolation:isolate}
 .atlas-page .atlas-restored.mobile-map-ready .explorer-workspace{height:calc(100dvh - 120px);min-height:0}.atlas-restored.mobile-map-ready .explorer-stage{height:100%;width:100%}.atlas-restored.mobile-map-ready .map-notice{display:none}
 .mobile-map-ui{position:absolute;inset:0;pointer-events:none;z-index:700}.mobile-map-ui button,.mobile-map-sheet{pointer-events:auto}
 .mobile-map-toolbar{position:absolute;bottom:0;inset-inline:0;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));margin:0!important;gap:3px!important;padding:4px max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))!important;background:#fff;border-top:1px solid #c2cec8;box-shadow:0 -2px 8px #173c371a;overflow:visible!important;width:100%;height:auto;font-size:12px}
 .mobile-map-toolbar button{width:100%;min-width:0;min-height:46px;border:1px solid #d2ddd6;border-radius:7px;background:#f7faf7;font:600 12px/1.3 Tahoma,Arial;color:#173c37;padding:5px 2px;touch-action:manipulation}
 .mobile-map-toolbar button[aria-expanded=true]{background:#173c37;color:#fff}
 .mobile-map-expand{position:absolute;top:8px;inset-inline-end:8px;min-height:44px;max-width:160px;background:white;border:1px solid #ccd7d0;border-radius:7px;padding:7px 12px;font-size:12px;box-shadow:0 2px 8px #0002}
 .mobile-map-sheet{position:absolute;bottom:var(--mobile-map-toolbar-height);inset-inline:0;height:45%;max-height:45%;background:#fff;border:1px solid #b7c7bc;border-radius:14px 14px 0 0;box-shadow:0 -5px 22px #173c3730;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto}
 .mobile-map-sheet-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:5px 12px;border-bottom:1px solid #dae1db;background:#f6f9f5;min-height:54px}.mobile-map-sheet-head strong{font-size:15px}.mobile-map-sheet-head button{min-width:84px;min-height:44px;padding:8px;border:1px solid #bdcbc1;background:#fff;border-radius:7px;font-size:13px}
 .mobile-map-sheet-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:12px;-webkit-overflow-scrolling:touch}
 .atlas-restored.mobile-map-ready .mobile-map-section>*{max-width:100%;margin-block:0 12px}
 .atlas-restored.mobile-map-ready .mobile-map-section .mobile-map-unwrapped{position:static!important;inset:auto!important;max-height:none!important;overflow:visible!important;width:auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff}
 .mobile-map-unwrapped>summary{display:none!important}
 .atlas-restored.mobile-map-ready .mobile-map-section .coordinate-search,.atlas-restored.mobile-map-ready .mobile-map-section .map-navigation,.atlas-restored.mobile-map-ready .mobile-map-section #legal-drawing{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;transform:none!important;box-shadow:none;display:block}
 .atlas-restored.mobile-map-ready .mobile-map-section #legal-drawing[hidden]{display:none!important}
 .atlas-restored.mobile-map-ready .mobile-map-section .map-navigation #map-measure{font-size:14px}.atlas-restored.mobile-map-ready .mobile-map-section .map-navigation #map-measure::after{content:none}.atlas-restored.mobile-map-ready .mobile-map-section .map-navigation{display:flex;flex-wrap:wrap;gap:8px}
 .atlas-restored.mobile-map-ready .mobile-map-section button,.atlas-restored.mobile-map-ready .mobile-map-section summary,.atlas-restored.mobile-map-ready .mobile-map-section select,.atlas-restored.mobile-map-ready .mobile-map-section input:not([type=checkbox]){min-height:44px;font-size:14px;touch-action:manipulation}
 .atlas-restored.mobile-map-ready .mobile-map-section input:not([type=checkbox]),.atlas-restored.mobile-map-ready .mobile-map-section select{font-size:16px}
 .atlas-restored.mobile-map-ready .mobile-map-section .coordinate-search input{width:100%;min-width:0}
 .atlas-restored.mobile-map-ready .mobile-map-section #mineral-legend,.atlas-restored.mobile-map-ready .mobile-map-section .drawing-body ol,.atlas-restored.mobile-map-ready .mobile-map-section .research-results,.atlas-restored.mobile-map-ready .mobile-map-section [data-place-results],.atlas-restored.mobile-map-ready .mobile-map-section [data-pin-legend]{overflow:visible;max-height:none}
 .atlas-restored.mobile-map-ready .mobile-map-section .atlas-provenance,.atlas-restored.mobile-map-ready .mobile-map-section .atlas-provenance[open]{position:static;height:auto;max-height:none;overflow:visible;box-shadow:none}.atlas-restored.mobile-map-ready .mobile-map-section .appearance-place-search{margin-top:0}.atlas-restored.mobile-map-ready .mobile-map-section .quick-minerals{flex-wrap:wrap}
 .atlas-restored.mobile-map-ready .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}.atlas-restored.mobile-map-ready .map-feedback{bottom:25px;inset-inline:5px;max-width:calc(100% - 10px);pointer-events:none}.atlas-restored.mobile-map-ready .licensed-status{font-size:10px;padding:4px 7px;max-height:44px;overflow:hidden}
 .atlas-restored.mobile-map-immersive{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;z-index:2000;margin:0!important;padding:0!important;display:flex;flex-direction:column;background:#e8eeea}
 .atlas-page .atlas-restored.mobile-map-immersive .explorer-workspace,.atlas-restored.mobile-map-immersive .explorer-workspace{flex:1;min-height:0;max-height:none;height:auto}.atlas-restored.mobile-map-immersive>.atlas-provenance{display:none}.atlas-restored.mobile-map-immersive .explorer-top{padding-top:max(8px,env(safe-area-inset-top));height:auto;min-height:48px;flex-shrink:0}
 .atlas-restored.mobile-map-ready .research-inspector{top:auto;bottom:calc(var(--mobile-map-toolbar-height) + 4px);max-height:44%;width:calc(100% - 16px);inset-inline:8px}.atlas-restored.mobile-map-ready .research-inspector .close{position:sticky;top:0;z-index:2;width:44px;height:44px;min-width:44px;min-height:44px}
 .atlas-restored.mobile-map-ready.mobile-map-sheet-open .research-inspector{display:none}
}
