.clinic-directory .directory-shell { width: min(1280px, calc(100% - 48px)); }
.clinic-directory .feature-hero { padding: clamp(32px, 5vw, 64px) 0 32px; border-bottom: 1px solid #e5edf2; }
.clinic-directory h1 { margin: 0 0 14px; }
.clinic-directory .intro { margin: 0 0 24px; }
.clinic-directory button, .clinic-directory input { font-family: inherit; }
.search { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.search label { display: grid; gap: 6px; flex: 0 1 32rem; font-size: 14px; font-weight: 700; }
.search input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #bdcfdc; border-radius: 12px; background: #fff; color: #10213b; font-size: 16px; }
.clinic-directory :is(button,input):focus-visible { outline: 3px solid #06b6d4; outline-offset: 3px; }
.clinic-directory .button { cursor: pointer; }
.clinic-directory .button:disabled { opacity: .6; cursor: default; }
.layout { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(16px, 3vw, 32px); padding: 32px 0 60px; }
.directory-results h2 { margin: 0; font-size: 22px; }
#status, .map-tools p, .map-legend { color: #4b607a; font-size: 14px; line-height: 1.5; }
#status { margin: 6px 0 16px; }
#results { display: grid; gap: 12px; overflow-wrap: anywhere; }
#results article { padding: 18px; border: 1px solid #dce8ee; border-radius: 16px; background: #fff; }
#results article h2 { font-size: 18px; }
#results article p { margin: 8px 0; color: #4b607a; line-height: 1.55; }
#results article img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; float: right; margin-left: 12px; }
#results article .actions { margin-top: 14px; align-items: center; }
.tags { font-size: 14px; }
.map-panel { min-width: 0; padding: 12px; border: 1px solid #dce8ee; border-radius: 20px; background: #f5f9fc; }
.map-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.map-tools p { margin: 0; }
.map-tools p:empty { display: none; }
#map { z-index: 0; height: clamp(26rem, 64vh, 52rem); border: 1px solid #dce8ee; border-radius: 14px; background: #e7eef4; font-family: inherit; }
.map-legend { margin: 10px 2px 0; }
.map-legend span { color: #526577; }
.map-legend strong { color: #08758b; }
.pin, .nearby-pin { border: 2px solid white; border-radius: 50%; box-shadow: 0 1px 5px #10213b66; }
.pin { display: grid; place-items: center; width: 34px; height: 34px; background: #08758b; color: white; font-size: 12px; font-weight: 800; }
.nearby-pin { display: block; width: 18px; height: 18px; background: #526577; }
@media (max-width: 740px) {
  .clinic-directory .directory-shell { width: calc(100% - 32px); }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 20px 0 40px; }
  .map-panel { grid-row: 1; }
  #map { height: 22rem; }
}
