/* Restore the compact map control; keep the new location behavior underneath.
   Existing title supplies native hover help. Keyboard focus gets the same label
   on desktop without permanent map chrome or a new interaction listener. */
.explore-map #locateMe{display:grid;place-items:center;width:46px;min-width:46px;height:44px;padding:0;font-size:23px}
.explore-map #locateMe .near-me-icon{display:block;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;pointer-events:none}
.explore-map #locateLabel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:721px){
 .explore-map #locateMe:focus-visible #locateLabel{right:calc(100% + 8px);top:0;width:max-content;height:auto;min-height:44px;display:flex;align-items:center;padding:0 12px;overflow:visible;clip-path:none;background:var(--surface-card,#faf3e4);border:1px solid var(--border-card,#b2a19e);border-radius:var(--radius-control,6px);font-size:12px;font-weight:600;pointer-events:none}
}
.explore-map #locateMe[aria-busy=true]{opacity:.7;cursor:wait}
.near-me-feedback[hidden]{display:none}
.near-me-feedback{position:absolute;z-index:32;right:148px;top:124px;max-width:250px;padding:12px 40px 12px 14px;background:var(--surface-card,#faf3e4);border:1px solid var(--border-card,#b2a19e);border-radius:var(--radius-control,6px);box-shadow:0 2px 8px #37243b15;font-size:12px;line-height:1.4;touch-action:manipulation}
.near-me-feedback h2,.near-me-feedback #nearMeKeep{display:none}
.near-me-feedback p{margin:0}.near-me-feedback #nearMeStatus:focus{outline:none}
.near-me-feedback #nearMeChoose{display:block;border:0;background:none;color:var(--ink);padding:0;min-height:44px;text-align:left;text-decoration:underline;font-size:12px;font-weight:500;box-shadow:none}
.near-me-feedback #nearMeClose{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;border:0;background:none;color:var(--ink);font-size:22px}
@media(max-width:720px){
 .near-me-feedback{position:absolute;inset:auto 0 var(--near-me-credit-clearance);--near-me-credit-clearance:var(--explore-attribution-height,45px);max-width:none;max-height:min(70dvh,calc(100% - var(--near-me-credit-clearance)));overflow:auto;padding:24px 24px max(20px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;border-bottom:0;box-shadow:0 -4px 18px #37243b20}
 /* Credit is a sibling outside map paint isolation. Reuse its measured height;
    the existing selected-house state hides it and needs no empty reservation. */
 .house-credit-collapsed .near-me-feedback{--near-me-credit-clearance:0px}
 .near-me-feedback h2{display:block;margin:0 24px 8px 0;font:600 26px/1.15 var(--font-display);letter-spacing:-.5px}
 .near-me-feedback p{font-size:15px;margin:0 0 16px}
 .near-me-feedback #nearMeChoose{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;padding:12px 16px;background:var(--ink);color:var(--cream);border-radius:var(--radius-control,6px);font-size:14px;font-weight:600;text-align:center;text-decoration:none}
 .near-me-feedback #nearMeKeep{display:block;min-height:44px;margin:8px auto 0;font-size:13px;text-align:center;text-decoration:underline}
 .near-me-feedback #nearMeClose{right:8px;top:8px}
}

/* The invitation is a sibling of the paint-isolated map, not an inner layer.
   Suppress it only while location status owns recovery; never save a dismissal.
   The inner sheet sits one level above photo details (31), below placement (40).
   Native dialogs remain in the top layer and status closes before picker opens. */
.explore-map-frame:has(#nearMeFeedback:not([hidden]))>.neighborhood-invitation{display:none}
