:root{color-scheme:dark;--bg:#11181c;--panel:#172126;--line:#2e3b40;--muted:#a2b1b7;--text:#edf4f2;--accent:#6492FF;--sidebar:340px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{border:1px solid var(--line);background:var(--panel);border-radius:8px}button:hover:not(:disabled){background:#2d4146}button[aria-pressed=true]{color:#101a30;background:var(--accent);border-color:var(--accent)}.header{height:86px;padding:0 32px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line);background:#121a1e}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:25px;letter-spacing:2px;font-weight:750}.brand small{display:block;margin-top:5px;font-size:10px;letter-spacing:1.7px;color:var(--muted);font-weight:500}.header nav{display:flex;gap:30px;align-self:stretch;margin-left:auto;font-size:14px;align-items:center}.header nav a{text-decoration:none;color:var(--muted)}.header nav a:hover{color:var(--text)}.header nav .active{height:100%;display:flex;align-items:center;border-bottom:2px solid var(--accent)}.offline{font-size:10px;letter-spacing:1.4px;color:var(--accent);border:1px solid #344f84;padding:8px 10px;border-radius:5px}.workspace{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-rows:minmax(0,1fr) 100px;height:calc(100dvh - 86px);min-height:640px}.sidebar{grid-row:1/3;padding:28px 25px 20px;border-right:1px solid var(--line);overflow:auto;background:#172126;scrollbar-color:#3b5055 transparent}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--accent)}h1{font-size:32px;line-height:1.12;letter-spacing:-1px;font-weight:550;margin:13px 0}p{line-height:1.6}.intro p{font-size:14px;color:var(--muted);margin:0 0 24px;max-width:260px}#search-form label{font-size:13px;display:block;margin-bottom:9px;color:#c3d0d1}.search-row{display:flex;border:1px solid #415156;border-radius:8px;overflow:hidden;background:#10191d}.search-row input{background:transparent;border:0;color:var(--text);font-size:13px;min-width:0;width:100%;padding:12px}.search-row button{border:0;border-radius:0;width:38px;font-size:23px;background:transparent}.search-message{font-size:12px;color:var(--accent);margin:8px 0;min-height:18px}.dataset-summary{display:flex;flex-wrap:wrap;gap:15px 28px;padding:12px 0 22px;border-bottom:1px solid var(--line)}.dataset-summary strong{font-size:24px;font-weight:550;display:block}.dataset-summary span{color:var(--muted);font-size:12px}.dataset-summary .source-tag{font-size:10px;letter-spacing:1px;background:#243337;padding:6px 8px;border-radius:4px;width:100%}.cell-detail{padding-top:22px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-label h2{font-size:13px;font-weight:500;margin:0}.section-label span{font:11px monospace;color:var(--muted)}.coordinate{font-size:13px;color:var(--muted);margin:7px 0 18px}.value-row{display:flex;flex-direction:column;gap:5px}.value-row strong{font-size:40px;letter-spacing:-1.5px;font-weight:500}.value-row>span{font-size:12px;color:var(--muted)}.chart-heading{display:flex;justify-content:space-between;align-items:center;margin:23px 0 5px}.chart-heading h3{margin:0;font-weight:500;font-size:12px}.chart-heading span{font-size:11px;color:var(--muted)}#chart{width:100%;height:auto;overflow:visible}.cell-stats{font-size:12px;margin:10px 0}.cell-stats>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #2b393e}.cell-stats dt{color:var(--muted)}.cell-stats dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.uncertainty-note{font-size:11px;color:#b6c4c9;margin:12px 0}.download{background:transparent;border-color:#3e5380;color:var(--accent);width:100%;padding:11px;font-size:12px;text-align:left;display:flex;justify-content:space-between}.method{margin-top:24px;border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:12px}.method summary{cursor:pointer;color:#d1deda}.method p{font-size:12px}.map-shell{position:relative;min-width:0;overflow:hidden;background:#101a21}.map-shell:fullscreen{width:100vw;height:100dvh}.leaflet-container{font-family:inherit;background:#101a21}#map{width:100%;height:100%;z-index:0}.map-top{position:absolute;top:22px;left:26px;right:24px;display:flex;gap:10px;align-items:flex-start;justify-content:space-between;pointer-events:none}.map-top>*{pointer-events:auto}.layer-switch{display:flex;padding:4px;background:#172226ed;border:1px solid #3b4d51;border-radius:9px;box-shadow:0 6px 22px #0003}.layer-switch button{border:0;font-size:13px;padding:9px 16px;background:transparent;border-radius:6px;color:#cad6d5}.layer-switch button[aria-pressed=true]{background:var(--accent);color:#101a30}.map-button{padding:12px 14px;background:#172226ed;font-size:14px}.map-button>span{margin-left:4px}.layer-options{position:absolute;right:24px;top:80px;z-index:600;background:#172226f7;border:1px solid #405255;padding:18px;border-radius:9px;box-shadow:0 10px 30px #0005;width:285px}.layer-options label{display:block;font-size:13px;margin-bottom:13px}.layer-options input[type=checkbox]{accent-color:var(--accent);margin-right:6px}.layer-options input[type=range]{width:100%}.layer-options output{float:right;color:var(--accent)}.map-caption{pointer-events:none;position:absolute;top:111px;left:30px;text-shadow:0 1px 12px #081017}.map-caption h2{font-size:35px;letter-spacing:-1px;font-weight:500;margin:7px 0}.map-caption h2 span{font-weight:300;color:#adbec3}.map-caption p{font-size:12px;margin:0;color:#aebfc4}.map-tools{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px}.map-tools button{width:42px;height:42px;background:#172226eb;font-size:25px;border-color:#415358}.map-tools span{height:5px}.legend{position:absolute;left:28px;bottom:54px;background:#152025ef;border:1px solid #3c4f54;padding:15px 16px 10px;width:252px;border-radius:9px}.legend>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px}.legend strong{font-weight:500}.legend>div>span{font-size:11px;color:#c4d1d6}.legend-gradient{height:7px;border-radius:6px;margin:12px 0 7px}.legend-ticks{display:flex;justify-content:space-between;font-size:11px;font-variant-numeric:tabular-nums}.legend p{font-size:10px;color:var(--muted);margin:9px 0 0;line-height:1.4}.legend .missing-key{display:flex;align-items:center;gap:6px}.missing-key span{display:inline-block;border:1px solid #ccd1d3;width:8px;height:8px;border-radius:50%;background:#7b8794}.map-footer{position:absolute;bottom:0;left:0;right:0;padding:10px 25px;display:flex;gap:16px;justify-content:space-between;background:linear-gradient(transparent,#101a21);pointer-events:none;font-size:10px;color:#9aafb6}.leaflet-control-attribution{background:#162126df!important;color:#a3b5b9!important;font-size:9px!important}.leaflet-control-attribution a{color:#bfd1d2!important}.leaflet-bottom.leaflet-right{bottom:31px;right:18px}.leaflet-control-scale-line{background:#142024a8;color:#b7c8ce;border-color:#829ca5;font-size:10px}.place-label{white-space:nowrap;pointer-events:none;color:#c6d5d6;text-shadow:0 1px 3px #000,0 0 6px #000;font-size:11px;transform:translate(-50%,-50%)}.place-label::before{content:"";width:3px;height:3px;background:#acc6ca;display:inline-block;border-radius:50%;margin-right:5px;vertical-align:middle}.place-label.major{font-size:13px;font-weight:600;color:#eff4f2}.region-label{color:#899ca2;font-size:11px;letter-spacing:4px;text-transform:uppercase;white-space:nowrap;pointer-events:none}.water-label{color:#6d95aa;letter-spacing:2px;font-size:10px;white-space:nowrap;font-style:italic;pointer-events:none}.leaflet-tooltip{background:#142329;border:1px solid #52656b;color:var(--text);font-size:12px;box-shadow:0 4px 12px #0004}.timeline{display:flex;align-items:center;gap:23px;padding:17px 28px;border-top:1px solid var(--line);background:#141e23;min-width:0}.timeline-date{min-width:105px}.timeline-date>span{font-size:9px;letter-spacing:1.2px;display:block;color:var(--muted);white-space:nowrap}.timeline-date strong{display:block;font-size:30px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}.timeline .play{background:var(--accent);color:#101a30;width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;font-size:16px}.play span{display:block}.scrubber{flex:1;min-width:0}.scrubber input{width:100%;margin:0;display:block;accent-color:var(--accent);cursor:pointer;height:22px}.year-ticks{display:flex;justify-content:space-between;margin-top:8px;font-size:10px;color:var(--muted)}.speed-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.speed-label select{font-size:12px;background:#24353b;color:#e5f0ed;border:1px solid #415359;padding:8px;border-radius:6px}input[type=range]{accent-color:var(--accent)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-50px;z-index:9999;background:#6492FF;color:#101a30;padding:12px}.skip:focus{top:0}.fatal{position:fixed;bottom:20px;left:20px;right:20px;z-index:9999;padding:20px;background:#602c2c;border:1px solid #e59e9e}.leaflet-interactive:focus{outline:none;stroke:#fff;stroke-width:3}.chart-label{fill:#94aab1;font:10px "Segoe UI",sans-serif}.chart-line{fill:none;stroke:#6492FF;stroke-width:2}.chart-grid{stroke:#34464d;stroke-dasharray:3 4}.chart-dot{fill:#dce6ff;stroke:#152126;stroke-width:2}
@media(min-width:1700px){:root{--sidebar:370px}.sidebar{padding:34px 30px}.intro h1{font-size:38px}.intro p{font-size:16px}.map-caption h2{font-size:44px}.map-caption .eyebrow{font-size:12px}.map-caption p{font-size:14px}.legend{width:280px}.legend p,.year-ticks{font-size:12px}.cell-stats,.download,.method,.coordinate,.chart-heading h3,.value-row>span{font-size:14px}}
@media(max-width:1050px){:root{--sidebar:295px}.sidebar{padding:23px 19px}.header{padding:0 22px}.header nav{gap:18px}.offline{display:none}.map-caption{top:102px;left:22px}.layer-switch button{padding:9px 11px;font-size:12px}.map-top{left:18px;right:18px}.map-button>span{display:none}.timeline{gap:14px;padding:16px 20px}.timeline-date{min-width:85px}.speed-label{font-size:0}.legend{left:20px;width:220px}.map-footer span:last-child{display:none}}
@media(max-width:720px){.header{height:72px;padding:0 16px;gap:12px}.brand{font-size:21px}.brand small{font-size:8px;letter-spacing:1px}.brand img{width:30px;height:30px}.header nav{gap:14px;font-size:12px}.header nav a:first-of-type{display:none}.workspace{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:65dvh 94px auto}.map-shell{grid-row:1;min-height:390px}.timeline{grid-row:2;padding:15px 16px;gap:13px}.sidebar{grid-row:3;border-right:0;border-top:1px solid var(--line);overflow:visible;padding:25px}.intro h1{font-size:30px}.intro h1 br{display:none}.intro p{max-width:none}.dataset-summary{gap:20px}.dataset-summary .source-tag{width:auto;align-self:center}.map-caption{top:87px;left:19px}.map-caption h2{font-size:28px}.map-caption p{display:none}.map-top{top:15px;left:15px;right:15px}.layer-switch button{padding:8px 10px;font-size:12px}.map-button{padding:9px 12px}.legend{bottom:45px;width:190px;left:15px;padding:11px 12px}.legend p{font-size:9px}.map-tools{right:15px;top:52%}.map-tools button{width:36px;height:36px;font-size:23px}.map-footer{font-size:9px;padding:8px 16px}.timeline-date{min-width:65px}.timeline-date>span{font-size:8px}.timeline-date strong{font-size:24px}.timeline .play{width:36px;height:36px}.speed-label{display:none}.year-ticks{font-size:9px}.cell-detail{max-width:500px}#chart{max-height:190px}.method{max-width:600px}.layer-options{right:15px;top:65px}.leaflet-bottom.leaflet-right{right:8px;bottom:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:720px){.year-ticks span:nth-child(2n){display:none}}

/* OLED mode uses true-black surfaces, including the map's vector fills. */
:root.oled{--bg:#000;--panel:#000;--line:#292929;--muted:#aab1bd;--text:#edf1fa}
.oled .header,.oled .sidebar,.oled .timeline,.oled .search-row,
.oled .dataset-summary .source-tag,.oled .map-shell,.oled .leaflet-container,
.oled .layer-switch,.oled .map-button,.oled .layer-options,.oled .map-tools button,
.oled .legend,.oled .speed-label select,.oled .leaflet-tooltip{background:#000}
.oled .map-footer{background:linear-gradient(transparent,#000)}
.oled .leaflet-control-attribution{background:#000!important}
.oled .leaflet-control-scale-line{background:#000}
.oled .chart-grid{stroke:#292929}
.oled .chart-dot{stroke:#000}
.oled .map-caption{text-shadow:0 1px 12px #000}
.oled button:hover:not(:disabled):not([aria-pressed=true]){background:#141414}
.oled-option{border-bottom:1px solid var(--line);padding-bottom:14px}
.oled-option small{display:block;color:var(--muted);font-size:11px;margin:6px 0 0 23px;line-height:1.5}

/* Earth-orbit brand mark and navigation remain available on narrow screens. */
.brand img{width:44px;height:44px;flex-shrink:0}
@media(max-width:720px){.brand img{width:34px;height:34px}.header nav a:first-of-type{display:inline}.header nav a:last-of-type{display:none}}
@media(max-width:480px){.header .brand small{display:none}.header .brand{font-size:20px;gap:8px}}
