*{box-sizing:border-box}html,body{height:100%;margin:0}#map{flex-direction:column;max-width:100vw;height:100vh;padding:1rem 1.5rem;font-family:system-ui,sans-serif;display:flex}header h1{margin:0 0 .4rem;font-size:1.4rem}header p{color:#444;max-width:60ch;margin:0 0 .75rem;font-size:.9rem}.controls{margin-bottom:.5rem;font-size:.9rem}.map-wrap{flex:1;max-width:1100px;min-height:0}.map-wrap svg{width:100%;height:100%;display:block}.region{stroke:#fff;stroke-width:.5px}.region:hover{stroke:#000}.tooltip{pointer-events:none;background:#fff;border:1px solid #ccc;border-radius:6px;padding:10px 12px;font:13px system-ui,sans-serif;position:absolute;box-shadow:0 2px 8px #00000026}.controls{margin-bottom:1rem}.legend{max-width:320px;margin:.75rem 0}.legend-bar{background:linear-gradient(to right, var(--c0), var(--c1), var(--c2), var(--c3), var(--c4));border-radius:3px;height:10px}.swatch{vertical-align:middle;border-radius:2px;width:12px;height:12px;margin-right:.4rem;display:inline-block}.swatch--nodata{background:#e5e5e5}.legend-labels{color:#666;justify-content:space-between;margin-top:.25rem;font-size:.75rem;display:flex}.legend-note{color:#444;margin-top:.5rem;font-size:.8rem}
