.heritage-controls{position:absolute;z-index:5;left:75px;top:235px;width:270px;padding:10px 12px;border:1px solid #d9d8c9;border-radius:12px;background:#fffdf5f5;box-shadow:0 3px 18px #102d2114;font-size:14px;color:#234638}.heritage-controls summary{cursor:pointer;font-weight:600;font-size:16px}.heritage-filter-row{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.heritage-controls button,.heritage-controls input,.heritage-controls select{font:inherit;border:1px solid #d1d8cc;border-radius:7px;background:#fffdf5;padding:6px;color:#234638}.heritage-filter-row button[aria-pressed=true]{background:#215f43;color:white}.heritage-search-row{display:grid;gap:7px}.heritage-search-row input,.heritage-search-row select{width:100%;min-width:0}.heritage-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.heritage-filter-foot span{font-size:12px}.heritage-filter-foot button{flex-shrink:0}.heritage-legend{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;margin:8px 0 0}.heritage-legend span:nth-child(1){color:#287350}.heritage-legend span:nth-child(2){color:#91661c}.heritage-legend span:nth-child(3){color:#476686}.heritage-marker{cursor:pointer}.heritage-marker text{pointer-events:none;font-weight:600}.heritage-marker:hover circle,.heritage-marker:focus circle,.heritage-marker.selected circle{stroke:#e8b752;stroke-width:3}.heritage-results{display:grid;gap:8px}.heritage-results button{text-align:left;font:inherit;padding:10px;border:1px solid #d8dfd4;border-radius:8px;background:#fffdf5;color:#244936}.heritage-results strong,.heritage-results span,.heritage-results small{display:block}.heritage-results span,.heritage-results small{font-size:14px}.heritage-evidence{display:inline-block;padding:3px 8px;border-radius:5px;background:#e5f0e5;font-size:13px}.heritage-evidence.attributed{background:#fff1cf}.heritage-note{padding:10px;background:#f3efdf;border-left:3px solid #a6792a;font-size:15px}.heritage-facts{font-size:15px}.heritage-facts dt{font-weight:600}.heritage-facts dd{margin:0 0 9px}.heritage-maps{display:inline-block;background:#235e43;color:white!important;border-radius:7px;padding:9px 12px;margin-top:12px}.heritage-sources{padding-left:20px;font-size:14px}.heritage-sources li{margin-bottom:8px}.heritage-sources small{display:block;color:#687464}.heritage-back{font:inherit;border:1px solid #b8cbb8;background:#f8faf3;border-radius:7px;padding:8px;color:#245c40}.heritage-location{font-size:15px!important}
#wm-labels text{vector-effect:non-scaling-stroke}
.heritage-controls[open]{max-height:max(150px,calc(100dvh - 590px));overflow:auto}.heritage-controls>summary{position:sticky;top:-10px;z-index:1;background:#fffdf5;padding:5px 0}.heritage-near{margin-top:10px;border-top:1px solid #d9dece;padding-top:8px}.heritage-near summary{font-size:14px}.heritage-near>button{display:block;width:100%;margin-top:6px}.heritage-near>select{margin:8px}.heritage-near p{font-size:12px;line-height:1.65;margin:6px 0}.heritage-location+.heritage-evidence{margin-bottom:6px}
@media(max-width:800px){.heritage-controls{left:66px;top:220px;width:calc(100% - 82px);max-width:315px;padding:8px 10px}.heritage-controls button,.heritage-controls input,.heritage-controls select{min-height:40px}.heritage-controls[open]{max-height:calc(100dvh - 460px);overflow:auto}.heritage-controls summary{font-size:15px}}

.heritage-legend span:nth-child(4){color:#705b83}

.heritage-parent-note{padding:10px;background:#ece8f2;border-radius:7px}.heritage-parent-note button{font:inherit;color:#57426d;background:#fffdf7;border:1px solid #c7bbd0;border-radius:5px;padding:5px 8px}.heritage-child-list{margin:12px 0;padding:10px;border:1px solid #d5cbdc;border-radius:7px}.heritage-child-list summary{cursor:pointer;font-weight:600}.heritage-child-list .heritage-results{margin-top:9px}
