.bo-overlays,.bo-key{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:6px 12px;background:#f4f7fa;color:#193653;font:600 13px/1.4 Arial,sans-serif}
.bo-overlays button{min-height:40px;background:white;color:#123653;border:1px solid #9aaebf;border-radius:5px;padding:5px 13px;cursor:pointer;font:inherit}
.bo-overlays button[aria-pressed=true]{background:#092e63;color:white}
.bo-key{background:white;border-bottom:1px solid #cdd6df}
.bo-key[hidden]{display:none}
.bo-key span{display:inline-flex;align-items:center;gap:4px}
.bo-key i{width:17px;height:12px;border:1px solid #485664;border-radius:2px}
.bo-key .bo-stream{height:0;border:0;border-top:3px solid #0075b9}
.bo-key .bo-pond{background:#9ddff3;border-color:#00628e}
.bo-key .bo-flood{background:#e9dbf1;border:2px dashed #674391}
.bo-key small{font:400 13px/1.4 Arial,sans-serif}

.map-stage{position:relative}
#pin-preview{position:absolute;z-index:1001;top:10px;right:10px;box-sizing:border-box;width:min(252px,calc(100% - 70px));max-height:calc(100% - 20px);overflow:auto;padding:14px;background:#fff;color:#123451;border:1px solid #adbcc8;border-radius:7px;box-shadow:0 3px 12px #0003;font:14px/1.4 Arial,sans-serif}
#pin-preview[hidden]{display:none}
#close-pin{float:right;width:34px;height:34px;padding:0;border:1px solid #aab7c2;border-radius:4px;background:white;color:#123451;font:24px/1 Arial;cursor:pointer}
#pin-content strong{display:block;font-size:18px}
#pin-content p{margin:6px 0}
#pin-content a{display:inline-block;padding:9px 12px;background:#092e63;color:white;border-radius:4px;font-weight:bold}
#pin-content img{display:block;margin-top:8px;width:100%;max-height:130px;object-fit:contain}
