.nearby { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.7fr); gap:0; border:1px solid var(--linka); border-radius:20px; background:var(--papir); overflow:hidden; min-width:0; }
.nearby-controls { padding:24px; display:flex; flex-direction:column; gap:14px; min-width:0; }
.nearby-heading .eyebrow { font-size:.7rem; margin:0 0 5px; }
.nearby-heading h2 { margin:0; }
.nearby .field { margin:0; min-width:0; }
.nearby .input,.nearby .select { width:100%; min-width:0; font-size:16px; }
.nearby-actions { display:flex; flex-wrap:wrap; gap:8px 18px; }
.nearby-action { font:inherit; font-size:.8125rem; color:var(--mech); background:none; border:0; padding:8px 0; min-height:44px; text-decoration:underline; cursor:pointer; text-align:left; }
.nearby-summary { font-size:.875rem; line-height:1.45; }
.nearby-note,.nearby-count { font-size:.75rem; line-height:1.5; margin:0; color:var(--kura); }
.nearby-visual { display:flex; flex-direction:column; min-width:0; }
.nearby-map { min-height:300px; height:100%; flex:1; isolation:isolate; background:#e6ead9; font-family:inherit; }
.nearby-map .leaflet-control-attribution { font-size:10px; }
.nearby-count { padding:10px 14px 0; }
.nearby-attribution { font-size:10px; padding:4px 14px 10px; margin:0; color:var(--kura); }
.nearby-choices { display:flex; flex-direction:column; border:1px solid var(--linka); border-radius:10px; overflow:auto; max-height:230px; margin-top:6px; }
.nearby-choices[hidden] { display:none; }
.nearby-choice { text-align:left; padding:10px 12px; min-height:44px; background:var(--papir); border:0; border-bottom:1px solid var(--linka); font:inherit; font-size:.875rem; cursor:pointer; }
.nearby-choice:hover,.nearby-choice:focus { background:var(--louka); }
.nearby-pin { display:grid; place-items:center; background:var(--mech); color:white; border:2px solid white; border-radius:50%; box-shadow:0 2px 8px #0003; font:600 13px/1 sans-serif; }
.nearby-centre { border-radius:50%; background:#b5654b; border:3px solid white; box-shadow:0 0 0 2px #b5654b; }
.nearby-popup { display:flex; flex-direction:column; gap:8px; max-height:200px; overflow:auto; min-width:130px; }
.nearby-popup a,.nearby-popup button { display:block; font:inherit; color:var(--mech); min-height:32px; padding:5px 0; }
.nearby--picker { grid-template-columns:1fr; }
.nearby--picker .nearby-map { height:200px; min-height:200px; }
@media(max-width:700px){ .nearby { grid-template-columns:1fr; border-radius:16px; } .nearby-controls { padding:18px; gap:10px; } .nearby-map { height:240px; min-height:240px; } .nearby-actions { gap:6px 16px; } }
