:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #243332; background: #f8faf9; font-size: 14px; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
body:not([data-page="about"]) { height: 100dvh; display: grid; grid-template-rows: auto minmax(580px, 1fr); }
a { color: #126154; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { border: 1px solid #bbc9c5; border-radius: 5px; background: #fff; color: #233b36; }
button { padding: 8px 12px; font-weight: 600; }
button:hover { background: #e9f1ed; }
:focus-visible { outline: 3px solid #228876; outline-offset: 2px; }
[hidden] { display: none !important; }
.site-header { min-height: 78px; padding: 12px 24px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #cbd6d2; background: white; }
.brand { font-size: 15px; line-height: 1.4; text-decoration: none; color: #233b36; flex-shrink: 0; }
.brand strong { font-size: 20px; }
.edition { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; max-width: 390px; font-size: 12px; line-height: 1.45; color: #5b645c; border-left: 1px solid #cbd6d2; padding-left: 20px; }
.edition > span { font-weight: 600; }
.edition small { display: block; font-size: 12px; }
nav { display: flex; flex-wrap: wrap; margin-left: auto; align-self: stretch; gap: 4px 24px; align-items: center; }
nav a { text-decoration: none; font-size: 14px; color: #52615c; padding: 12px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
nav a[aria-current] { color: #176958; border-color: #176958; font-weight: 700; }
.workspace { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 580px; }
.sidebar { border-right: 1px solid #cbd6d2; background: #f8faf9; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; }
#control-panel > summary { display: none; }
form > label, form > div > label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 700; color: #4a5e56; }
select { width: 100%; padding: 9px 27px 9px 10px; height: 39px; margin-bottom: 17px; text-overflow: ellipsis; }
hr { border: 0; border-top: 1px solid #dbe3df; margin: 2px 0 18px; }
fieldset { border: 0; margin: 0 0 18px; padding: 0; }
legend { font-size: 12px; font-weight: 700; color: #4a5e56; margin-bottom: 10px; padding: 0; }
.overlay-options label { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; font-size: 13px; }
input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: #176958; flex-shrink: 0; }
input[type=range] { width: 100%; margin: 0 0 18px; accent-color: #176958; }
output { float: right; font-weight: 400; }
.reset { width: 100%; font-size: 12px; }
.sidebar-footer { border-top: 1px solid #dbe3df; padding-top: 16px; margin-top: 24px; font-size: 12px; line-height: 1.5; }
.sidebar-footer a { text-decoration: none; }
.origin-search { display: flex; gap: 5px; }
.origin-search input { width: 0; min-width: 0; flex: 1; padding: 8px; font-size: 13px; }
.origin-search button { padding: 8px; font-size: 13px; }
.muted { font-size: 12px; color: #64756c; line-height: 1.5; overflow-wrap: anywhere; }
.map-workspace { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.view-heading { background: #fff; padding: 14px 20px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dbe3df; }
h1 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 0; }
.view-heading p { margin: 5px 0 0; font-size: 12px; color: #63726b; }
#status { flex-shrink: 0; max-width: 130px; font-size: 12px; color: #176958; padding-top: 5px; }
.maps { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1; min-height: 0; }
.maps.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map-panel { position: relative; min-height: 0; min-width: 0; }
.map-panel + .map-panel { border-left: 2px solid #b8c9c1; }
.map { width: 100%; height: 100%; background: #e8eeeb; }
.map-label { position: absolute; top: 12px; left: 12px; z-index: 450; background: #fffffff2; padding: 7px 10px; font-size: 12px; font-weight: 600; border: 1px solid #cfdbd4; border-radius: 4px; pointer-events: none; }
.legend { position: absolute; bottom: 24px; left: 12px; z-index: 450; background: #fffffff2; border: 1px solid #d0d9d5; border-radius: 5px; padding: 11px 13px; max-width: calc(100% - 70px); font-size: 11px; line-height: 1.65; box-shadow: 0 1px 5px #1a302515; }
.legend h2 { font-size: 11px; margin: 0 0 6px; font-weight: 700; }
.legend-row { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.swatch { display: inline-block; width: 16px; height: 10px; border: 1px solid #36423d30; flex-shrink: 0; }
.map-footer { display: flex; justify-content: space-between; gap: 14px; padding: 7px 14px; background: #fff; font-size: 10px; color: #607068; border-top: 1px solid #cfdbd4; }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content { font-size: 13px; line-height: 1.65; margin: 13px 17px; }
.leaflet-tooltip { font-family: inherit; }
.popup-title { font-weight: 700; }
.popup-value { font-size: 20px; color: #126154; margin: 7px 0 2px; font-weight: 600; }
.leaflet-control-attribution { max-width: 100%; font-size: 10px !important; }
#error { background: #fff1df; color: #70420d; padding: 10px 18px; border-bottom: 1px solid #d5b386; display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 13px; }
.about { max-width: 880px; padding: 48px 28px 72px; margin: auto; line-height: 1.75; font-size: 16px; }
.about h1 { font-size: 30px; margin-bottom: 22px; }
.about h2 { font-size: 19px; margin: 30px 0 8px; }
.about p { margin: 0 0 17px; }
.eyebrow { font-size: 12px; font-weight: 700; color: #64756c; }
.about footer { margin-top: 35px; border-top: 1px solid #cbd6d2; padding-top: 20px; }
@media (max-width: 1050px) { .site-header { gap: 16px; padding: 10px 16px; } nav { gap: 15px; } .edition { padding-left: 12px; } .workspace { grid-template-columns: 235px minmax(0, 1fr); } .sidebar { padding: 16px; } }
@media (min-width: 801px) and (max-width: 1250px) { .site-header { flex-wrap: wrap; } .edition { max-width: none; } nav { flex-basis: 100%; justify-content: flex-end; } }
@media (max-width: 800px) { .site-header { flex-wrap: wrap; gap: 8px 14px; } .brand strong { font-size: 17px; } .brand { font-size: 12px; } .edition { margin-left: auto; font-size: 11px; } nav { width: 100%; margin: 0; justify-content: space-between; gap: 8px; } nav a { padding: 8px 0; font-size: 13px; } .workspace { height: auto; min-height: 0; grid-template-columns: 1fr; } .sidebar { overflow: visible; border-right: 0; border-bottom: 1px solid #cbd6d2; padding: 12px 16px; } #control-panel > summary { display: list-item; cursor: pointer; font-size: 13px; font-weight: 600; padding: 3px 0; } #control-panel[open] > summary { margin-bottom: 16px; } form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 14px; align-items: start; } form > label, form > select, form > div, form > fieldset, form > hr, form > input, form > button { grid-column: 1 / -1; } form > hr { width: 100%; } form .overlay-options { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; } .overlay-options label { margin: 0; } .sidebar-footer { display: none; } .maps { flex: none; height: 65dvh; min-height: 440px; } .maps.split { grid-template-columns: 1fr; height: auto; } .maps.split .map-panel { height: 65dvh; min-height: 440px; } .map-panel + .map-panel { border-left: 0; border-top: 2px solid #b8c9c1; } .view-heading { padding: 13px 16px; } h1 { font-size: 18px; } .map-footer { flex-wrap: wrap; gap: 4px; } .about { padding: 30px 20px; } }
@media (max-width: 800px) { body:not([data-page="about"]) { height: auto; display: block; } .edition { flex-basis: 100%; min-width: 0; max-width: none; margin-left: 0; padding-left: 0; border-left: 0; font-size: 12px; } }
