.nearby-explorer{--nearby-ink:#10283b;--nearby-muted:#687d8d;--nearby-line:#dfe8ee;--nearby-soft:#f5f9fb;position:relative;margin-top:18px;border:1px solid var(--nearby-line);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 16px 42px rgba(19,45,65,.07)}
.nearby-explorer.is-loading{cursor:progress}.nearby-explorer.is-loading .nearby-refresh{opacity:.65;pointer-events:none}
.nearby-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 22px 17px;border-bottom:1px solid var(--nearby-line);background:linear-gradient(135deg,#fff 0%,#f3f8fb 100%)}
.nearby-head>div{min-width:0}
.nearby-kicker{display:block;margin-bottom:5px;color:var(--accent,#2878d0);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.nearby-head h3,.nearby-head h2{margin:0;color:var(--nearby-ink);font-size:clamp(20px,2vw,27px);line-height:1.15;letter-spacing:-.025em}
.nearby-head p{max-width:680px;margin:7px 0 0;color:var(--nearby-muted);font-size:13px;line-height:1.55}
.nearby-refresh{flex:0 0 auto;border:1px solid #cedbe4;border-radius:12px;background:#fff;color:var(--nearby-ink);padding:10px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.2s ease}
.nearby-refresh:hover{border-color:var(--accent,#2878d0);color:var(--accent,#2878d0);transform:translateY(-1px)}
.nearby-status{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 22px;color:var(--nearby-muted);font-size:12px;background:#fff}
.nearby-status::before{content:'i';display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e8f3fa;color:#2575a9;font-weight:900;font-style:normal}
.nearby-explorer.is-loading .nearby-status::before{content:'';border:2px solid #d8e5ed;border-top-color:var(--accent,#2878d0);background:transparent;animation:nearby-spin .75s linear infinite}
.nearby-status.is-warning{color:#815d15;background:#fff9e9}.nearby-status.is-warning::before{content:'!';background:#f8e8b4;color:#815d15}
.nearby-layout{display:grid;grid-template-columns:minmax(300px,1.04fr) minmax(340px,.96fr);min-height:390px;border-top:1px solid var(--nearby-line)}
.nearby-map{position:relative;z-index:0;min-height:390px;background:linear-gradient(135deg,#e9f0f4,#f7fafc)}
.nearby-map[hidden]+.nearby-results{grid-column:1/-1}
.nearby-results{padding:17px;overflow:auto;max-height:500px;background:var(--nearby-soft)}
.nearby-group-nav{display:flex;gap:7px;overflow-x:auto;padding:0 0 12px;scrollbar-width:thin}
.nearby-group-jump{display:flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #dae5ec;border-radius:999px;background:#fff;padding:7px 10px;color:#3c5669;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.nearby-group-jump b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#eaf2f7;color:#183c55;font-size:10px}
.nearby-groups{display:grid;gap:11px}.nearby-group{scroll-margin-top:10px;border:1px solid #dce7ed;border-radius:15px;background:#fff;overflow:hidden}
.nearby-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border-bottom:1px solid #e8eef2}
.nearby-group-title span{display:flex;align-items:center;gap:8px;color:var(--nearby-ink);font-size:13px;font-weight:900}.nearby-group-title i{font-style:normal;font-size:17px}
.nearby-group-title b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#edf4f8;color:#31536a;font-size:10px}
.nearby-place-list{display:grid}.nearby-place{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 13px;border-top:1px solid #edf2f5}
.nearby-place:first-child{border-top:0}.nearby-place-name{min-width:0}.nearby-place-name b{display:block;overflow:hidden;color:#183246;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.nearby-place-name span{display:block;margin-top:2px;color:#7b8d9a;font-size:10px}.nearby-distance{white-space:nowrap;border-radius:9px;background:#eef6fb;padding:6px 8px;color:#20658e;font-size:10px;font-weight:900}
.nearby-empty{padding:14px;color:#82929d;font-size:12px;text-align:center}.nearby-attribution{padding:12px 17px;color:#798c99;font-size:10px;text-align:right}.nearby-attribution a{color:inherit}
.nearby-privacy-note{margin:0;padding:12px 17px;border-top:1px solid var(--nearby-line);color:#6c7f8d;font-size:11px;line-height:1.5;background:#fbfdfe}
.nearby-public{margin-top:18px}.nearby-public .nearby-layout{grid-template-columns:minmax(360px,1.12fr) minmax(300px,.88fr)}
.nearby-public .nearby-map{min-height:430px}.nearby-public .nearby-results{max-height:540px}
.nearby-marker{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:-17px 0 0 -17px!important;border:3px solid #fff;border-radius:12px;background:#1176aa;color:#fff;box-shadow:0 5px 14px rgba(10,38,56,.28);font-size:16px;line-height:1}.nearby-marker-home{width:42px!important;height:42px!important;margin:-21px 0 0 -21px!important;border-radius:50%;background:var(--brand,#0b2a45);font-size:19px}.nearby-marker-markets{background:#169c69}.nearby-marker-fuel{background:#e07826}.nearby-marker-transport{background:#2d79d3}.nearby-marker-shopping{background:#9b4fc2}.nearby-marker-health{background:#d64452}
.nearby-popup b{display:block;max-width:210px;color:#10283b;font-size:13px}.nearby-popup span{display:block;margin-top:3px;color:#6c7f8c;font-size:11px}.nearby-popup em{display:inline-block;margin-top:7px;border-radius:8px;background:#edf5fa;padding:4px 7px;color:#21678f;font-size:10px;font-style:normal;font-weight:900}
.nearby-map .leaflet-control-attribution{max-width:76%;font-size:9px}.nearby-map .leaflet-control-attribution a{color:#24698d}
[dir="rtl"] .nearby-explorer{text-align:right}[dir="rtl"] .nearby-group-nav{direction:rtl}[dir="rtl"] .nearby-attribution{text-align:left}[dir="rtl"] .nearby-popup{text-align:right}[dir="rtl"] .nearby-status{direction:rtl}
@keyframes nearby-spin{to{transform:rotate(360deg)}}
@media(max-width:920px){.nearby-layout,.nearby-public .nearby-layout{grid-template-columns:1fr}.nearby-map,.nearby-public .nearby-map{min-height:340px}.nearby-results,.nearby-public .nearby-results{max-height:none}}
@media(max-width:600px){.nearby-explorer{border-radius:17px}.nearby-head{padding:17px;gap:12px}.nearby-head p{font-size:12px}.nearby-refresh{padding:9px 10px}.nearby-status{padding:9px 17px}.nearby-map,.nearby-public .nearby-map{min-height:300px}.nearby-results{padding:12px}.nearby-place{padding:10px 11px}.nearby-privacy-note{padding:11px 13px}}
