.national-camera-map {margin-block:1rem 1.6rem;border:1px solid #bfd0d0;border-radius:.55rem;background:white;overflow:visible}
.national-camera-map[hidden],.national-camera-map [hidden] {display:none!important}
.camera-map-toolbar {display:flex;align-items:flex-end;justify-content:space-between;gap:.6rem 1rem;padding:.8rem 1rem}
.camera-map-toolbar form {position:relative;flex:1;max-width:31rem;min-width:0}
.camera-map-toolbar label {display:block;font-size:.92rem;font-weight:650;margin-bottom:.25rem}
.camera-query {display:flex;gap:.35rem}
.camera-map-toolbar input,.camera-map-toolbar button {min-height:44px;border:1px solid #96b0b5;border-radius:.35rem;font:inherit}
.camera-map-toolbar input {padding:.4rem .65rem;min-width:0;flex:1;width:100%}
.camera-map-toolbar button {padding:.35rem .8rem;background:#fff;color:#124d60;cursor:pointer}
.camera-query button {background:#124d60;color:white;border-color:#124d60}
#camera-matches {list-style:none;position:absolute;z-index:1100;top:100%;left:0;right:0;max-height:min(18rem,32dvh);overflow:auto;padding:0;margin:.2rem 0 0;background:white;border:1px solid #a8bec1;border-radius:.4rem;box-shadow:0 3px 12px #1232}
#camera-matches button {border:0;border-radius:0;width:100%;display:flex;justify-content:space-between;align-items:center;gap:.5rem;text-align:left}
#camera-matches button:hover,#camera-matches button:focus-visible {background:#e4f1ee;outline-offset:-2px}
#camera-matches small {color:#49606d;font-size:.86rem;text-align:right}
.camera-no-matches {padding:.55rem .8rem}
.camera-map-selection {padding:0 1rem .6rem;display:flex;flex-wrap:wrap;gap:.25rem 1rem;font-size:.93rem}
.camera-map-selection:empty {display:none}
#eesti-kaamerakaart {height:clamp(32rem,77vh,57.3rem);background:#d6e8ee;isolation:isolate}
.overview-cluster,.leaflet-container a.overview-camera {display:grid;place-items:center;box-sizing:border-box;border:2px solid white;border-radius:50%;color:white;font:700 14px/1 system-ui,sans-serif;text-decoration:none;box-shadow:0 1px 5px #203d4773}
.overview-cluster {background:#135c68;cursor:zoom-in}
.leaflet-container a.overview-camera {position:relative;width:100%;height:100%;border-radius:.42rem;background:#674080;cursor:pointer}
.overview-camera::before,.overview-cluster::before {content:"";position:absolute;inset:-4px}
.leaflet-container a.overview-camera:focus-visible,.overview-cluster:focus-visible {outline:3px solid #ee991b;outline-offset:2px}
.camera-map-caption {padding:.55rem 1rem;display:flex;align-items:center;gap:.35rem 1rem;flex-wrap:wrap;color:#425d65;font-size:.89rem}
.camera-map-caption>span:first-child {display:inline-flex;align-items:center;gap:.35rem}
.camera-legend-k {padding:.12rem .3rem;border-radius:.22rem;background:#674080;color:white;font:700 .78rem/1.2 system-ui}
.camera-directory-title {font-size:clamp(1.6rem,3vw,2.4rem)}
@media(max-width:600px){
.national-camera-map {width:calc(100% - 1rem);margin-block:.6rem 1.25rem}
.camera-map-toolbar {padding:.5rem;gap:.35rem}
.camera-map-toolbar input,.camera-map-toolbar button {font-size:1rem}
.camera-map-toolbar button {padding:.35rem .55rem}
.camera-map-caption {padding:.45rem .6rem}
#eesti-kaamerakaart {height:clamp(25.3rem,71svh,45.3rem)}
}
