.explorer-nearby { margin: 0 0 24px; padding: 24px; border-radius: 18px; background: var(--workspace-surface); }
.explorer-nearby[hidden], .nearby-results[hidden] { display: none; }
.explorer-nearby h2 { margin: 0 0 16px; font-size: 1.25rem; }
.explorer-nearby .explorer-search { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; max-width: none; padding: 0; border: 0; box-shadow: none; background: transparent; }
.explorer-nearby input { flex: 1 1 240px; min-width: 0; min-height: 48px; border: 1px solid var(--workspace-border); border-radius: 10px; padding: 12px; background: var(--workspace-surface); color: var(--workspace-text); }
.nearby-address-field { position: relative; flex: 1 1 240px; min-width: 0; }
.nearby-address-field input { width: 100%; box-sizing: border-box; }
.nearby-address-options { position: absolute; z-index: 20; top: 100%; inset-inline: 0; max-height: 280px; overflow-y: auto; margin: 6px 0 0; padding: 6px; list-style: none; border: 1px solid var(--workspace-border); border-radius: 12px; background: var(--workspace-surface); box-shadow: 0 8px 24px rgb(15 23 42 / 10%); }
.nearby-address-options[hidden] { display: none; }
.nearby-address-options li { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.nearby-address-options li:is(:hover, [aria-selected="true"]) { background: var(--workspace-surface-muted); }
.nearby-address-status { display: block; font-size: .875rem; color: var(--workspace-muted); }
.nearby-address-status:empty { display: none; }
.explorer-nearby button, .nearby-directions, .explorer-nearby select { min-height: 44px; padding: 10px 16px; border-radius: 10px; font: inherit; }
.explorer-nearby .explorer-search > button { min-height: 48px; }
.explorer-nearby #explorer-use-location { width: auto; height: auto; background: var(--workspace-accent-dark); color: #fff; border: 0; white-space: normal; }
.explorer-nearby button:disabled { opacity: .65; cursor: progress; }
.explorer-nearby :is(input, button, select, a):focus-visible { outline: 2px solid var(--workspace-accent-dark); outline-offset: 3px; }
.nearby-feedback { margin: 12px 0 0; color: var(--workspace-muted); font-size: .875rem; }
.nearby-results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nearby-results-title { margin: 0; font-size: 1rem; font-weight: 600; }
.nearby-results ol { padding: 0; margin: 12px 0 0; list-style: none; }
.nearby-station { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--workspace-border); }
.nearby-station-identity { min-width: 0; overflow-wrap: anywhere; }
.nearby-station-identity p { margin: 4px 0; font-size: .875rem; }
.nearby-station-identity small { color: var(--workspace-muted); }
.nearby-station-pricing { display: grid; gap: 4px; text-align: right; white-space: nowrap; }
.nearby-station-pricing span { font-size: .875rem; color: var(--workspace-muted); }
.nearby-directions { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--workspace-border); text-decoration: none; }
@media (max-width: 640px) {
  .explorer-nearby { padding: 16px; }
  .explorer-nearby #explorer-use-location { flex-basis: 100%; order: -1; }
  .nearby-address-field { flex-basis: 160px; }
  .nearby-station { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nearby-directions { grid-column: 1 / -1; }
}

.explorer-nearby .explorer-search-submit { display: inline-flex; align-items: center; background: var(--workspace-surface-muted); color: var(--workspace-text); border: 1px solid var(--workspace-border); }
