.nearby-page { max-width: 1120px; }
.nearby-panel { padding: 28px; margin-bottom: 28px; background: #eff6f1; border: 1px solid #d6e5db; border-radius: 18px; }
.nearby-panel h1 { margin: 18px 0 8px; color: #234a35; }
.nearby-panel a { color: #20734e; font-size: 14px; }
.nearby-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 24px; }
.nearby-fields > div { min-width: 0; }
.nearby-fields select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #a8b8af; border-radius: 8px; background: white; color: #21352d; font: inherit; }
.nearby-note { margin-bottom: 0; font-size: 13px; color: #52685b; }
#nearby-status { color: #98422e; font-size: 14px; margin: 12px 0 0; }
#nearby-form[aria-busy="true"] #nearby-status { color: #20734e; }
#nearby-submit:disabled { opacity: .65; cursor: wait; }
.nearby-location-help { margin-top: 18px; padding: 14px 16px; border: 1px solid #bdd0c4; border-radius: 10px; background: white; color: #31513e; font-size: 14px; line-height: 1.7; }
.nearby-location-help summary { cursor: pointer; font-weight: 700; min-height: 24px; }
.nearby-location-help summary:focus-visible { outline: 3px solid #75b7e8; outline-offset: 3px; }
.nearby-location-help h2 { margin: 18px 0 6px; font-size: 15px; }
.nearby-location-help ol { padding-left: 22px; }
.nearby-location-help li + li { margin-top: 8px; }
.nearby-summary, .nearby-distance { color: #20734e; font-weight: 700; }
.nearby-view-switch { display: flex; gap: 8px; margin: 18px 0 24px; }
.nearby-view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 110px; min-height: 46px; padding: 10px 22px; border: 1px solid #bdd0c4; border-radius: 12px; background: #f0f5f1; color: #20734e; font: 700 15px/1.3 sans-serif; cursor: pointer; }
.nearby-view-switch button[aria-pressed="true"] { background: #20734e; border-color: #20734e; color: white; }
.nearby-view-switch button:focus-visible { outline: 3px solid #75b7e8; outline-offset: 3px; }
.nearby-distance { margin: 7px 0; font-size: 14px; }
.nearby-view-switch { display: flex; gap: 6px; width: fit-content; padding: 5px; margin-bottom: 20px; background: #e7efe9; border-radius: 14px; }
.nearby-view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 110px; min-height: 44px; padding: 8px 18px; color: #31513e; border: 0; border-radius: 10px; background: transparent; font: 700 15px sans-serif; cursor: pointer; }
.nearby-view-switch button[aria-pressed="true"] { background: #20734e; color: white; box-shadow: 0 2px 5px #18462b25; }
.nearby-view-switch .location-icon { width: 19px; height: 19px; }
.nearby-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.nearby-pagination button { min-height: 44px; padding: 8px 14px; background: white; border: 1px solid #bdd0c4; border-radius: 8px; color: #20734e; font: inherit; cursor: pointer; }
@media (max-width: 560px) {
  .nearby-panel { padding: 20px 16px; }
  .nearby-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
