.nexa-nature-map__aggregate-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36rem;
}

.nexa-nature-map__aggregate-svg rect {
    stroke: currentColor;
    stroke-width: 0.6;
    vector-effect: non-scaling-stroke;
}

.nexa-nature-map[data-nexa-nature-tiles="ready"] .nexa-nature-map__canvas {
    display: block;
}

.nexa-nature-map[data-nexa-nature-tiles="ready"] .nexa-nature-map__status {
    margin-top: 0.75rem;
}

.nexa-nature-map__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.nexa-nature-map__control {
    min-height: 2.5rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid currentColor;
    border-radius: 0.4rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.nexa-nature-map__control:disabled {
    cursor: default;
    opacity: 0.45;
}

.nexa-nature-map__viewport-status {
    min-width: 5.5rem;
    text-align: center;
}

.nexa-nature-map__legend {
    width: 100%;
    max-width: 42rem;
    margin-top: 0.75rem;
}

.nexa-nature-map__legend-title {
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.nexa-nature-map__legend-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nexa-nature-map__legend-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nexa-nature-map__legend-swatch {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid currentColor;
    background: currentColor;
}


@media (forced-colors: active) {
    .nexa-nature-map__aggregate-svg rect {
        fill: CanvasText;
        stroke: CanvasText;
        forced-color-adjust: auto;
    }

    .nexa-nature-map__control {
        border-color: ButtonText;
        color: ButtonText;
        background: ButtonFace;
        forced-color-adjust: auto;
    }

    .nexa-nature-map__control:focus-visible {
        outline: 3px solid Highlight;
        outline-offset: 2px;
    }

    .nexa-nature-map__legend-swatch {
        border-color: CanvasText;
        background: CanvasText;
        forced-color-adjust: auto;
    }
}

.nexa-nature-map__nonvisual {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: normal !important;
    border: 0 !important;
}
