.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.advanced-filter-body .advanced-select {
  display: block;
}

.advanced-filter-body .advanced-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.location-status {
  position: absolute;
  z-index: 8;
  top: 72px;
  right: 20px;
  max-width: 280px;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(247, 245, 239, .97);
  padding: 10px 12px;
  color: var(--muted);
  box-shadow: 0 7px 22px rgba(31, 25, 19, .12);
  font-size: 12px;
  line-height: 1.45;
}

.result.map-active,
.result[aria-current="true"] {
  background: rgba(155, 76, 50, .11);
  box-shadow: inset 3px 0 0 var(--rust);
}

.result:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: -2px;
}

@media (max-width: 850px) {
  .location-status {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 64px;
    left: 12px;
    max-width: none;
  }
}

.nearby-start{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;padding:11px 16px;min-height:44px;border:1px solid var(--rust);background:var(--rust);color:#fff;font-size:14px;cursor:pointer}
.nearby-start svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.nearby-start:hover,.nearby-start[aria-pressed="true"]{background:var(--ink);border-color:var(--ink)}.nearby-start:disabled{opacity:.6;cursor:wait}
.nearby-tools:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 18px;padding:12px;border:1px solid var(--line);background:var(--panel)}
.nearby-tools label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px}.nearby-tools select{min-height:36px;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:0 8px;font-size:14px}.nearby-tools button,.nearby-empty button{border:0;background:transparent;color:var(--rust);text-decoration:underline;text-underline-offset:3px;font-size:14px;cursor:pointer}
.nearby-empty{padding:25px 5px;line-height:1.5}.nearby-empty strong{display:block;font-size:16px;font-weight:500}.nearby-empty p{max-width:340px;margin:9px 0 17px;color:var(--muted);font-size:14px;white-space:normal}.nearby-empty button{padding:4px 0}
.user-location-dot{width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#306c94;box-shadow:0 0 0 6px rgba(48,108,148,.2),0 2px 10px rgba(0,0,0,.3)}
@media(max-width:850px){.nearby-start{margin:9px 0 2px;min-height:40px;padding:7px 12px;font-size:13px}.nearby-tools:not([hidden]){margin:4px 0 2px;padding:7px}.nearby-tools label,.nearby-tools select,.nearby-tools button{font-size:12px}.mobile-results .nearby-empty{padding:22px 5px}}

@media(max-width:850px){#recenter{display:none}}

#recenter,#recenter:hover{background:var(--rust);border-color:var(--rust);color:#fff}

/* Mobile map controls leave the map visible below the search field. */
#mobilePrimaryFilters[hidden]{display:none}
@media(max-width:850px){
  .topbar{height:52px;min-height:52px}
  .topbar .brand-wordmark{width:116px;height:29px}
  .workspace{height:calc(var(--map-viewport-height, 100dvh) - 52px)}
  .detail-panel{top:52px;height:calc(100% - 52px)}
  .explorer{top:60px;left:12px;right:12px;z-index:18;display:block;overflow:visible;max-height:none;padding:0;background:transparent;border:0;box-shadow:none;pointer-events:none}
  .explorer .searchbox{height:48px;margin:0;padding:0 15px;border:1px solid rgba(73,65,55,.22);border-radius:9px;background:rgba(250,249,246,.97);box-shadow:0 3px 15px rgba(31,25,19,.12);pointer-events:auto}
  .explorer .searchbox input{min-width:0;font-size:16px}
  .explorer .filter-toolbar{display:inline-flex;margin:8px 0 0;overflow:visible;pointer-events:auto}
  .explorer .filter-menu-button{min-height:38px;padding:0 14px;border-radius:20px;background:rgba(250,249,246,.97);box-shadow:0 3px 12px rgba(31,25,19,.1);font-size:13px}
  .explorer .filter-menu-button b{font-size:11px}
  .explorer .nearby-start{position:fixed;top:116px;right:12px;z-index:18;display:grid;place-items:center;width:38px;height:38px;min-height:38px;margin:0;padding:0;border-radius:50%;border-color:var(--rust);background:var(--rust);color:#fff;box-shadow:0 3px 12px rgba(31,25,19,.1);line-height:1;pointer-events:auto}
  .explorer .nearby-start svg{width:21px;height:21px}
  .explorer .nearby-start:hover,.explorer .nearby-start[aria-pressed="true"]{background:var(--rust);color:#fff;border-color:var(--rust)}
  .explorer .nearby-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .explorer .nearby-tools:not([hidden]){width:100%;margin:8px 0 0;padding:8px 10px;border-radius:8px;background:rgba(250,249,246,.97);box-shadow:0 3px 12px rgba(31,25,19,.1);pointer-events:auto}
  .mobile-primary-filters{gap:14px!important}
  .mobile-primary-filters .filter-select{display:grid;gap:7px;min-height:0;padding:0;border:0;background:transparent}
  .mobile-primary-filters .filter-select>span{display:block;font-size:14px;color:var(--muted)}
  .mobile-primary-filters .filter-select select,.mobile-primary-filters .filter-select select:focus{display:block;width:100%;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font-size:14px}
  .mobile-primary-filters .filter-select:focus-within>span{display:block}
}
@media(max-width:850px){.explorer .searchbox{border-radius:11px}}

