.nearby-heading { padding-block: 38px 24px; }
.nearby-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.nearby-toolbar .button:disabled { opacity: .55; cursor: wait; }
#location-status { flex: 1; min-width: 230px; color: var(--muted); font-size: .875rem; }
.nearby-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-width: 0; border: 1px solid var(--rule); background: var(--paper-light); box-shadow: 0 12px 35px rgba(48, 43, 38, .08); }
.nearby-map-panel { position: relative; min-width: 0; background: #e9e5db; }
#map { width: 100%; height: 620px; }
.nearby-map-message { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; padding: 30px; color: var(--muted); background: #ece8df; text-align: center; pointer-events: none; }
.nearby-map-message[hidden] { display: none; }
.nearby-legend { position: absolute; left: 18px; bottom: 20px; z-index: 3; display: flex; gap: 16px; padding: 9px 13px; background: var(--paper-light); border: 1px solid var(--rule); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font-size: .75rem; }
.nearby-dot { color: #286e9c; }
.nearby-pin { color: var(--accent); }
.nearby-results-panel { min-width: 0; border-left: 1px solid var(--rule); }
.nearby-list-heading { padding: 20px 22px; border-bottom: 1px solid var(--rule); }
.nearby-list-heading h2 { margin: 0; font-family: var(--font-title); font-size: 1.35rem; font-weight: 400; }
#result-status { margin: 7px 0 0; color: var(--muted); font-size: .8rem; }
.nearby-results { height: 529px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.nearby-result { padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.nearby-place-button { width: 100%; padding: 0; color: var(--ink); background: none; border: 0; text-align: left; font-weight: 700; line-height: 1.6; cursor: pointer; }
.nearby-result p { margin: 5px 0; font-size: .8rem; line-height: 1.6; }
.nearby-distance { color: var(--accent); }
.nearby-address { color: var(--muted); }
.nearby-empty { padding: 22px; color: var(--muted); line-height: 1.7; }
.nearby-info { width: 280px; max-height: 300px; padding: 16px 20px 16px 14px; overflow: auto; color: var(--ink); font-family: var(--font-body); font-size: .8rem; white-space: normal; overflow-wrap: anywhere; }
.nearby-info h3 { margin: 0 0 8px; font-family: var(--font-title); font-size: 1.15rem; }
.nearby-info p { margin: 5px 0; }
.nearby-info article { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--rule); }
.nearby-note { margin-top: 14px; color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) { .nearby-layout { grid-template-columns: 1fr; } #map { height: 430px; } .nearby-results-panel { border-top: 1px solid var(--rule); border-left: 0; } .nearby-results { height: 390px; } }
@media (max-width: 520px) { .nearby-toolbar .button { flex: 1; padding-inline: 10px; } #location-status { flex-basis: 100%; } #map { height: 380px; } .nearby-legend { left: 9px; bottom: 10px; font-size: .68rem; } }
