/* Active search filters: one navigation surface for results and empty states. */
.pl-search-page :is(.es-filter-panel, .pl-empty) {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #c8cbd1;
  border-radius: 12px;
  background: #fff;
  min-width: 0;
}
.pl-search-page .pl-empty { border-style: dashed; }
.pl-search-page .pl-empty > p { color: #525b6a; }
.pl-search-page .es-filter-nav .es-filter-label {
  margin: 0 0 8px !important;
  font: 700 13px/1.4 var(--body);
  color: #525b6a;
}
.pl-search-page .es-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pl-search-page .es-filter-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #aeb5bf;
  border-radius: 7px;
  background: #fff;
  color: #202638;
  font: 650 14px/1.4 var(--body);
  overflow-wrap: anywhere;
}
.pl-search-page .es-filter-remove span:first-child { min-width: 0; }
.pl-search-page .es-filter-cross { flex: none; font-size: 19px; line-height: 1; }
.pl-search-page .es-filter-links .es-filter-reset {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pl-search-page .es-filter-links a:focus-visible {
  outline: 2px solid #202638;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #ffc400;
}
@media (hover: hover) {
  .pl-search-page .es-filter-links a:hover { background: #fff0bd; border-color: #94772b; }
}
@media (max-width: 440px) {
  .pl-search-page :is(.es-filter-panel, .pl-empty) { padding: 12px; }
  .pl-search-page .es-filter-links a { flex: 1 1 100%; }
}

/* City-only discovery: actual groups in the current result set, not a second search. */
.pl-search-page .es-city-index{padding:12px 16px}
.pl-search-page .es-city-index summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none;color:#202638}
.pl-search-page .es-city-index summary::-webkit-details-marker{display:none}
.pl-search-page .es-city-index summary>span:first-child{display:grid;gap:4px;min-width:0}
.pl-search-page .es-city-index summary strong{font:750 17px/1.35 var(--body)}
.pl-search-page .es-city-index summary small{font:500 13px/1.45 var(--body);color:#525b6a}
.pl-search-page .es-expand{flex:none;color:#645219;font:750 23px/1 var(--body)}
.pl-search-page .es-expand::before{content:"+"}
.pl-search-page .es-city-index[open] .es-expand::before{content:"−"}
.pl-search-page .es-city-index .pl-city-chips{margin-top:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:7px}
.pl-search-page .es-city-index .pl-city-chip{min-height:52px}
.pl-search-page .es-city-index .pl-city-chip strong{white-space:normal;overflow-wrap:anywhere}
.pl-search-page .es-section-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 24px;scroll-margin-top:16px}
.pl-search-page .es-section-index a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #c8cbd1;border-radius:7px;background:#fff;color:#202638;font:700 14px/1.4 var(--body)}
.pl-search-page .es-section-index a span{min-width:0;overflow-wrap:anywhere}
.pl-search-page .es-section-index a small,.pl-search-page .es-section-head h3 span{color:#525b6a;font:600 13px/1.4 var(--body);font-variant-numeric:tabular-nums}
.pl-search-page .es-result-section{margin:0 0 24px;scroll-margin-top:16px}
.pl-search-page .es-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.pl-search-page .es-section-head a{display:inline-flex;align-items:center;min-height:44px;color:#37485d;font:700 14px/1.4 var(--body);text-decoration:underline;text-underline-offset:3px}
.pl-search-page .es-result-section:target{outline:2px solid #94772b;outline-offset:4px;border-radius:8px}
.pl-search-page .es-city-index summary:focus-visible{outline:2px solid #202638;outline-offset:2px;box-shadow:0 0 0 4px #ffc400}
@media(max-width:600px){.pl-search-page .es-section-index{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-search-page .es-city-index{padding:12px}.pl-search-page .es-city-index .pl-city-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
