:root{color-scheme:light;--ink:#283e32;--paper:#f8f9f5;--ocean:#afcfdb}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #597c93;outline-offset:3px}[hidden]{display:none!important}header{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #dce3dc}.brand{color:var(--ink);font-size:24px;font-weight:650;letter-spacing:-.6px;text-decoration:none}nav{display:flex;gap:8px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:7px;background:transparent}.icon-button:hover,.icon-button[aria-expanded=true]{background:#e9eee5;border-color:#dae2d7}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}main{height:calc(100dvh - 60px);position:relative;overflow:hidden}#map{position:absolute;inset:0;background:#dfe9ed}#settings{position:absolute;right:18px;top:12px;width:282px;max-height:calc(100% - 30px);overflow:auto;overscroll-behavior:contain;background:var(--paper);border:1px solid #d9e0d6;border-radius:9px;padding:20px;box-shadow:0 5px 24px #233f3620;z-index:5}h1{font-size:16px;font-weight:650;margin:0 0 17px}h2{font-size:12px;font-weight:600;margin:20px 0 9px}#settings label{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;padding:8px 0;cursor:pointer}input[type=checkbox]{accent-color:#426d51;width:15px;height:15px;margin:0}.note{font-size:10px;line-height:1.5;color:#7c897a;margin:7px 0}.search{display:flex;border:1px solid #d7dfd2;border-radius:5px;background:white;overflow:hidden}.search input{min-width:0;width:100%;height:34px;padding:6px 8px;border:0;background:none;font-size:12px;color:var(--ink)}.search button{padding:0 9px;border:0;border-left:1px solid #e0e6dc;background:#eef2e9;font-size:11px}#search-status{font-size:11px;line-height:1.5;color:#936742}#selection{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;max-width:calc(100% - 40px);padding:10px 13px 10px 18px;background:#f8f9f5f5;border:1px solid #d6dfd2;border-radius:7px;box-shadow:0 2px 12px #18352a12;font-size:17px;font-weight:550}#selection button{border:0;background:none;padding:0 4px;color:#7a8b7e;font-size:22px;font-weight:400;line-height:1}#tooltip{position:absolute;pointer-events:none;z-index:4;background:#294b39;color:white;border-radius:4px;padding:5px 8px;font-size:11px;white-space:nowrap}#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:6px;padding:16px 22px;background:var(--paper);font-size:13px;z-index:6;max-width:90%}.maplibregl-ctrl-top-right{top:10px;right:10px}.maplibregl-ctrl-group{border-radius:6px!important;box-shadow:0 1px 7px #233f3620!important}.maplibregl-ctrl-group button{width:32px;height:32px}.maplibregl-ctrl-scale{background:#e9f0f2aa!important;color:#647d85;border-color:#8aa2ad!important;font-size:9px!important}.maplibregl-ctrl-attrib{font-size:9px!important;background:#e4eef0bb!important}.maplibregl-ctrl-bottom-left{left:9px;bottom:9px}button:disabled{opacity:.5;cursor:wait}@media(max-width:600px){header{height:52px;padding:0 14px}.brand{font-size:22px}main{height:calc(100dvh - 52px)}#settings{right:10px;top:10px;width:270px;padding:17px}#selection{font-size:15px;bottom:35px;padding:8px 11px 8px 14px}}
main{background:#afcfdb}#map{inset:14px}@media(max-width:600px){#map{inset:8px}}
.dot-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.dot-overlay line{stroke:#768d98;stroke-width:.7;stroke-opacity:.55}
.dot-overlay circle{stroke:#71858d;stroke-width:1}
#projected-map{position:absolute;inset:14px;overflow:hidden;background:#dfe7e0}
#projected-map canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.projected-zoom{position:absolute;top:10px;right:10px;display:grid;border-radius:6px;overflow:hidden;box-shadow:0 1px 7px #233f3620}
.projected-zoom button{width:32px;height:32px;background:white;border:0;font-size:22px}.projected-zoom button+button{border-top:1px solid #ddd}
.projected-credit{position:absolute;bottom:0;right:0;font-size:9px;padding:3px 5px;background:#e4eef0bb;color:#465e55}
#projection-caption{position:absolute;left:30px;bottom:28px;pointer-events:none;display:grid;gap:3px;color:#455e50;font-size:11px;background:#f8f9f5e8;padding:9px 12px;border-radius:6px}
#projection-caption strong{font-size:12px;font-weight:600}
@media(max-width:600px){#projected-map{inset:8px}#projection-caption{left:20px;bottom:20px;font-size:10px}}

#projection-select{width:100%;padding:9px 7px;border:1px solid #d7dfd2;border-radius:5px;background:white;color:var(--ink);font-size:12px}
#projection-select:focus-visible{outline:2px solid #597c93;outline-offset:3px}
.projection-stepper{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:5px}
.projection-stepper button{border:1px solid #d7dfd2;border-radius:4px;padding:6px;background:#eef2e9;font-size:11px}
#projection-count{font-size:10px;white-space:nowrap;color:#7c897a}
.projected-credit a{color:inherit}

/* Let the map use the entire viewport, including in browser fullscreen. */
body{overflow:hidden}
main{height:100dvh}
header{position:absolute;inset:12px 18px auto;z-index:7;height:44px;padding:0;border:0;pointer-events:none}
header .brand,header nav{pointer-events:auto;background:#f8f9f5ed;border:1px solid #d9e0d6;border-radius:8px;box-shadow:0 2px 12px #18352a12}
header .brand{font-size:22px;padding:7px 13px}
header nav{padding:3px;gap:3px}
#map,#projected-map{inset:0}
#settings{top:68px;max-height:calc(100% - 84px)}
.maplibregl-ctrl-top-right,.projected-zoom{top:72px;right:18px}
#advanced-projections{margin-top:16px;border-top:1px solid #dce3dc;padding-top:12px}
#advanced-projections summary{font-size:12px;cursor:pointer}
@media(max-width:600px){header{inset:8px 10px auto;height:44px;padding:0}header .brand{font-size:20px}main{height:100dvh}#map,#projected-map{inset:0}#settings{top:62px;max-height:calc(100% - 76px)}.maplibregl-ctrl-top-right,.projected-zoom{top:66px;right:10px}}

header nav .icon-button{width:auto;min-width:36px;display:flex;gap:7px;padding:0 9px;font-size:12px;white-space:nowrap}
#map-fit{width:100%;padding:9px 7px;border:1px solid #d7dfd2;border-radius:5px;background:white;color:var(--ink);font-size:12px}
#map-credits{margin-top:16px;border-top:1px solid #dce3dc;padding-top:12px;font-size:11px;line-height:1.5}
#map-credits summary{cursor:pointer;font-size:12px}#map-credits a{color:inherit}
@media(max-width:600px){header nav .icon-button{gap:4px;padding:0 6px;font-size:10px}header nav .icon-button svg{width:16px;height:16px}header .brand{font-size:18px;padding:9px 8px}}
@media(max-width:480px){header{flex-wrap:wrap;height:auto;gap:7px}header nav{margin-left:auto}#settings{top:104px;max-height:calc(100% - 118px)}.maplibregl-ctrl-top-right,.projected-zoom{top:108px}}

/* Large stable targets: moving between map gestures and controls stays easy. */
header nav .icon-button{min-height:44px;min-width:44px;touch-action:manipulation;user-select:none}
header nav #world,header nav #fullscreen{width:44px;padding:0;justify-content:center}
header nav #world svg,header nav #fullscreen svg{width:23px;height:23px;pointer-events:none}
header nav .icon-button>*{pointer-events:none}
header{height:52px}
#settings{top:76px;max-height:calc(100% - 92px)}
.maplibregl-ctrl-top-right,.projected-zoom{top:80px}
.projected-zoom button,.maplibregl-ctrl-group button{width:44px;height:44px;touch-action:manipulation}
@media(max-width:600px){header{height:52px;flex-wrap:nowrap}#settings{top:70px;max-height:calc(100% - 86px)}.maplibregl-ctrl-top-right,.projected-zoom{top:74px}}
