.legend {
    background-color: white;
    position: absolute;
    margin: 1em;
    border-radius: .6em;
}

.legend__button {
    padding: 1em;
    border-radius: .6em;
    cursor: pointer;
    display: block;  /* remove default summary marker arrow */
}

.legend__button::after {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: top;
    margin-left: 1em;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
}

.legend__content {
    margin: 0;
}

.legend__icon {
    display: inline;
    margin: .1em .5em;
}

.legend__definition {
    display: inline;
    margin-inline-start: 0;
}
