/* One transparent raster per graph; dark mode adapts it in the browser. */
html[data-theme="dark"] [data-history-page] img[data-period-image]{filter:invert(1) hue-rotate(180deg) brightness(1.65)}

/* Give transparent graphs more width without moving filters or other content. */
[data-history-period] > .shared-figures{margin-inline:-8px -14px}
@media(max-width:600px){[data-history-period] > .shared-figures{margin-inline:-4px -10px}}

[data-history-map-svg] .current-land-shape{fill:rgba(220,239,244,.18);stroke:rgba(37,83,105,.75);stroke-width:.8}
[data-history-map-svg] .current-province-line{fill:none;stroke:rgba(58,91,112,.82);stroke-width:.8}
[data-history-map-svg] .current-municipality-line{fill:none;stroke:rgba(58,91,112,.3);stroke-width:.5}
[data-history-map-svg] .current-map-value{pointer-events:none}
[data-history-map-svg] .current-map-value rect{fill:transparent;stroke:none}
[data-history-map-svg] .current-map-value text{font-family:'Plus Jakarta Sans',Arial,sans-serif;font-size:15px;font-weight:800;fill:#172f42;stroke:#fff;stroke-width:3px;stroke-linejoin:round;paint-order:stroke;pointer-events:none}
[data-history-map-svg] .history-map-station{pointer-events:all;cursor:pointer}
[data-history-map-svg] .history-map-station rect{pointer-events:all}
[data-history-map-svg] .history-map-station:focus{outline:none}
[data-history-map-svg] .history-map-station:focus text{stroke:#ffefaa;stroke-width:4px}
