:root{--ink:#153849;--muted:#637982;--line:#dce6e8;--teal:#087f84;--navy:#0e2c3b;--pale:#eef6f5}*{box-sizing:border-box}body{margin:0;background:#f6f8f8;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5}header{padding:18px 4vw;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center}.brandmark{background:var(--navy);color:white;font-weight:900;border-radius:9px;width:42px;height:42px;display:grid;place-items:center;font-size:24px}.brand b{display:block;font-size:17px}.brand small{color:var(--muted)}.identity{display:flex;align-items:center;gap:14px}button,.button{font:inherit;font-weight:650;border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:9px 14px;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{border-color:var(--teal);color:var(--teal)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--teal);border-color:var(--teal);color:white}.primary:hover{background:#086d72;color:white}main{max-width:1600px;margin:auto;padding:30px 4vw}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--teal)}h1{font-size:34px;letter-spacing:-1px;margin:4px 0 5px;line-height:1.18}h2{font-size:20px;margin:0 0 14px;letter-spacing:-.3px}p{color:var(--muted);margin:5px 0 16px}.topline{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}.release{width:280px}.release small{display:block;color:var(--muted);margin-top:5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:22px}.stats>div{padding:18px 22px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats small{font-size:10px;letter-spacing:1px;color:var(--muted)}.stats b{display:block;font-size:25px;margin:5px 0}.stats span{font-size:12px;color:var(--muted)}.explorer{display:grid;grid-template-columns:300px 1fr;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:white}aside{padding:22px;border-right:1px solid var(--line)}label{display:block;font-size:12px;font-weight:600;margin:13px 0 5px}label small{font-weight:400}input,select{font:inherit;width:100%;padding:9px 10px;border:1px solid #cddbdc;border-radius:6px;background:white;color:var(--ink);min-width:0}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.two>div{min-width:0}.dates{grid-template-columns:1fr;gap:0}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.quiet{background:var(--pale);font-size:12px;width:100%;margin:12px 0}#run,#cancel{width:100%;margin-top:8px}.footnote{font-size:11px;line-height:1.6;margin:15px 0 0}.map-panel{min-width:0;display:flex;flex-direction:column}.map-heading{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.map-heading span{font-size:11px;color:var(--muted)}#map{flex:1;min-height:510px;background:#e9efee}.map-note{padding:10px 16px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.results,.dictionary{background:white;border:1px solid var(--line);border-radius:11px;padding:24px;margin-top:22px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.section-heading h2{margin-top:4px}.section-heading input{max-width:320px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;margin:14px 0}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:600;background:#f4f7f7}tr:hover td{background:#f8fbfb}.provenance{font-size:12px;color:var(--muted)}#status{padding:12px 15px;background:var(--pale);border-radius:7px;margin:12px 0;color:#215a5c}#status.error{color:#8d3c2f;background:#fff0eb}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f5f7f8;padding:14px;border-radius:6px}details{margin-top:18px}summary{cursor:pointer;color:var(--muted);font-size:12px}.field{padding:13px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:300px 1fr;gap:20px}.field b{font-size:12px;overflow-wrap:anywhere}.field small{display:block;color:var(--teal);font-size:11px;margin-top:4px}.field p{font-size:12px;margin:0}.welcome{max-width:900px;margin:12vh auto;padding:30px}.welcome h1{font-size:52px;line-height:1.14;margin:15px 0 20px}.welcome p{font-size:18px;max-width:620px}.welcome .button{margin-top:15px}footer{padding:25px 4vw;color:var(--muted);font-size:11px;text-align:center}.maplibregl-popup-content{color:var(--ink);font-family:inherit;min-width:200px}.maplibregl-popup-content p{margin:4px 0}[hidden]{display:none!important}@media(max-width:900px){.explorer{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line)}.stats{grid-template-columns:1fr 1fr}.stats>div:nth-child(2){border-right:0}.topline{align-items:start;flex-direction:column}.release{width:100%}.field{grid-template-columns:1fr;gap:5px}.identity>span{display:none}.section-heading{align-items:start;flex-direction:column}.welcome h1{font-size:36px}#map{min-height:400px}.stats b{font-size:20px}}

.map-legend{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:11px;flex-wrap:wrap}.legend-scale{width:120px;height:9px;background:linear-gradient(90deg,#c47765,#e4c680,#198c8b)}.legend-missing{width:13px;height:9px;background:#a8b2b8;margin-left:14px}
textarea{font:inherit;width:100%;padding:9px 10px;border:1px solid #cddbdc;border-radius:6px;background:white;color:var(--ink);resize:vertical}dialog{border:1px solid var(--line);border-radius:12px;padding:25px;max-width:min(1100px,94vw);max-height:90vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#0e2c3b77}#save-dialog{width:500px}.actions{display:flex;gap:8px;flex-wrap:wrap}.filter-row{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--line)}.filter-row button{font-size:11px;justify-self:end}.record-value{white-space:pre-wrap;overflow-wrap:anywhere;max-width:700px}.saved-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:12px 0}.saved-row a{color:var(--teal);font-weight:600}.saved-row small{color:var(--muted)}.saved-row button{margin-left:auto;font-size:11px}#map{max-height:850px}.map-panel{position:sticky;top:0;align-self:start;height:750px}.map-heading{flex-wrap:wrap}.explorer{overflow:visible}#record-content th{vertical-align:top}#record-content td{font-family:ui-monospace,monospace}code{overflow-wrap:anywhere}aside h2{margin-bottom:0}@media(max-width:900px){.map-panel{position:relative;height:500px}.saved-row{flex-wrap:wrap}}
aside{max-height:820px;overflow:auto}.histogram-row{display:grid;grid-template-columns:120px 1fr 100px;gap:15px;align-items:center;font-size:12px;margin:8px 0}.histogram-track{height:18px;background:#edf2f3;border-radius:3px;overflow:hidden}.histogram-track>div{height:100%;background:var(--teal)}#histogram-chart{max-width:900px}#histogram-chart h3{font-size:14px}@media(max-width:900px){aside{max-height:none}.histogram-row{grid-template-columns:90px 1fr 70px}}
