[data-comp=errors] {
    border: 2px solid var(--warning-text);
    border-radius: 4px;
    padding: 1em;
    & > * {
        margin-block: 0;
        & + * {
            margin-block-start: 0.5em;
        }
    }
    &[data-error-count="0"] {
        display: none;
    }
    & div {
        white-space: pre;
    }
}


/* OI hex cartogram component */
.oi-map-hex .hex:focus, .oi-map-hex .hex path:focus { outline: none; }
.oi-map-hex .hex.outline path { stroke: black; stroke-width: 4px; }
