.nearby-map-panel { color:#163d4b; background:#fffefa; border:1px solid #d8dfdc; border-radius:16px; padding:16px; font:14px/1.45 system-ui,sans-serif; min-width:0; box-sizing:border-box; }
.nearby-map-panel h2 { font-size:19px; margin:0 0 12px; }
.nearby-map-categories { display:flex; flex-wrap:wrap; gap:6px; }
.nearby-map-panel button { cursor:pointer; font:inherit; min-height:36px; }
.nearby-map-categories button { border:1px solid #cdd9d7; border-radius:20px; padding:5px 11px; color:#234550; background:white; }
.nearby-map-categories button[aria-pressed="true"] { background:#173f4d; color:white; border-color:#173f4d; }
.nearby-map-status { font-size:13px; margin:14px 0; }
.nearby-map-list { display:grid; gap:4px; max-height:240px; overflow:auto; }
.nearby-map-list button { border:0; background:transparent; text-align:left; padding:8px; border-radius:7px; color:#173f4d; }
.nearby-map-list button:hover { background:#edf2ef; }
.nearby-map-detail { border-top:1px solid #dde3df; border-bottom:1px solid #dde3df; padding:10px 0; margin-bottom:10px; }
.nearby-map-detail h3 { margin:4px 0; font-size:17px; overflow-wrap:anywhere; }
.nearby-map-detail p { margin:6px 0; }
.nearby-map-close { float:right; border:0; background:transparent; color:#405a62; }
.nearby-map-precision,.nearby-map-date,.nearby-map-note,.nearby-map-credit { font-size:12px; color:#50676a; }
.nearby-map-credit,.nearby-map-detail a { color:#24596c; }
.nearby-map-marker { border:2px solid white; background:#173f4d; color:white; box-shadow:0 2px 6px #173f4d55; border-radius:50%; width:32px; height:32px; font:700 13px system-ui; cursor:pointer; }
.nearby-map-cluster { width:40px; height:40px; background:#e4b667; color:#183f4c; }
.nearby-map-marker[aria-pressed="true"] { background:#bb722c; outline:3px solid #e4b667; }
.nearby-map-panel button:focus-visible,.nearby-map-marker:focus-visible { outline:3px solid #bf782b; outline-offset:3px; }
.public-map-workspace > .nearby-map-panel { grid-column:2; }
.nearby-preview { max-width:1440px; margin:0 auto; padding:20px; font:15px/1.4 system-ui,sans-serif; color:#173f4d; }
.nearby-preview header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.nearby-preview h1 { font-size:24px; margin:0; }
.nearby-preview .nearby-preview-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:16px; }
.nearby-preview-layout > .nearby-map-panel { max-height:660px; overflow-y:auto; align-self:start; }
.nearby-preview-map { position:relative; height:660px; border-radius:16px; overflow:hidden; background:#e7ece8; border:1px solid #d6ded8; }
.nearby-preview-map > [data-nearby-map] { position:absolute; inset:0; }
.nearby-preview-attribution { margin:8px 0; font-size:12px; }
.nearby-preview-attribution a { color:#24596c; }
.nearby-preview-location { border:1px solid #bfcfcb; color:#173f4d; background:#fffefa; border-radius:8px; padding:8px; font:inherit; }
@media(max-width:700px) {
 .nearby-preview { padding:10px; }
 .nearby-preview header { align-items:flex-start; flex-direction:column; gap:8px; }
 .nearby-preview .nearby-preview-layout { grid-template-columns:minmax(0,1fr); gap:8px; }
 .nearby-preview-map { height:48vh; min-height:300px; }
 .nearby-map-panel { padding:12px; }
 .nearby-preview-layout > .nearby-map-panel { max-height:none; }
 .nearby-map-list { max-height:125px; }
 .public-map-workspace > .nearby-map-panel { grid-column:1; }
}

/* Shared Nearby component: Discovery, Property Detail and Verify Free. */
.nearby-map-panel { color:var(--navy,#06264a); background:#fff; border:1px solid #06264a1a; border-radius:18px; padding:18px; font-family:inherit; box-shadow:0 8px 24px #06264a08; }
.nearby-map-panel h2 { margin:0 0 12px; font-family:inherit; color:var(--navy,#06264a); font-size:17px; font-weight:800; }
.nearby-map-categories { gap:6px; }
.nearby-map-categories button { min-height:36px; padding:6px 11px; font-size:12px; font-weight:750; border-color:#06264a26; color:var(--navy,#06264a); }
.nearby-map-categories button[aria-pressed="true"] { background:var(--navy,#06264a); border-color:var(--navy,#06264a); color:#fff; }
.nearby-map-detail { border-color:#06264a1a; margin:10px 0; padding:12px 0; }
.nearby-map-detail h3 { font-family:inherit; font-size:16px; }
.nearby-map-detail p,.nearby-map-status { font-size:12px; }
.nearby-map-list { max-height:180px; }
.nearby-map-list button { color:var(--navy,#06264a); font-size:12px; border-bottom:1px solid #06264a0d; border-radius:0; min-height:40px; }
.nearby-map-list button:hover { background:var(--gold-soft,#f3ead7); }
.nearby-map-credit,.nearby-map-detail a { color:var(--navy,#06264a); font-size:11px; text-underline-offset:3px; }
.nearby-map-note,.nearby-map-precision,.nearby-map-date { font-size:11px; color:#536678; }
.nearby-map-marker { width:29px; height:29px; border:2px solid #fff; background:#fff; color:var(--navy,#06264a); box-shadow:0 2px 8px #06264a40; font-family:inherit; font-size:12px; }
.nearby-map-cluster { width:37px; height:37px; background:var(--gold,#d7aa4f); color:var(--navy,#06264a); border:2px solid #fff; }
.nearby-map-marker[aria-pressed="true"] { background:var(--navy,#06264a); color:#fff; outline:3px solid var(--gold,#d7aa4f); }
.nearby-map-panel button:focus-visible,.nearby-map-marker:focus-visible { outline:3px solid var(--gold,#d7aa4f); outline-offset:3px; }
@media(max-width:820px) {
 .public-map-workspace > .nearby-map-panel { grid-column:1; }
 .nearby-map-panel { padding:14px; }
 .nearby-map-list { max-height:132px; }
}
