html {
    height: 100%;
    overflow: hidden;
}

:root {
    --map-top-offset-desktop: 0px;
    --map-top-offset-mobile: 0px;
    --hud-text: #162033;
    --hud-text-strong: #0f1728;
    --hud-muted: rgba(71, 85, 105, 0.84);
    --hud-muted-soft: rgba(100, 116, 139, 0.72);
    --hud-accent: #ea8a2f;
    --hud-accent-soft: rgba(234, 138, 47, 0.14);
    --hud-menu-width: 252px;
}

.custom-search-container,
#custom-measurement-button,
#sensor-size-main-container,
#layers-container,
#current-location-button {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background: #eef2ed;
    overflow: hidden;
}

body.map-hud-page {
    height: 100%;
    color: var(--hud-text);
    overflow: hidden;
    overscroll-behavior: none;
}

#map-page-layout {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow: hidden;
}

#main-tool-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#map-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

#map-stage-content {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin-top: 0 !important;
    border-radius: 0;
    box-shadow: none;
    border: 0;
}

#map-app-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#footer-bar {
    display: none !important;
}

body.map-hud-page #map-stage-content,
body.map-hud-page #map-app-container,
body.map-hud-page #map {
    position: relative;
    width: 100%;
    height: 100%;
}

body.map-hud-page #map .maplibregl-canvas-container,
body.map-hud-page #map canvas {
    position: relative;
    z-index: 1;
}

body.map-hud-page #map .maplibregl-control-container,
body.map-hud-page #map .maplibregl-ctrl,
body.map-hud-page #map .maplibregl-marker {
    z-index: 3;
}

body.map-hud-page #map .maplibregl-marker.focaxis-viewpoint-marker-host,
body.map-hud-page #map .maplibregl-marker:has(.focaxis-viewpoint-marker) {
    z-index: 9999 !important;
}

.fx-direction-label {
    pointer-events: none;
    white-space: nowrap;
}
