/* Citizen explorer: the map leads, with topic shortcuts, optional filters and its public report list. */
body[data-view="explorar"] { background: #fff; }
.site-header { background: #fff; }
.site-header .shell, .initiative-bar .shell { width: min(1560px, calc(100% - 48px)); }
.header-inner { min-height: 64px; gap: 24px; }
.initiative-bar .shell { padding-block: 6px; }
.site-header nav a { font-size: 13px; }
#explorar .map-workspace { max-width: 1608px; margin: auto; padding: 0 24px 24px; }
#explorar .map-searchbar { max-width: none; gap: 28px; padding: 14px 0 11px; }
#explorar .map-search-heading h1 { font-size: 28px; letter-spacing: -.04em; }
#explorar .map-search-heading .eyebrow { font-size: 9px; margin-bottom: 5px; }
#explorar .territory-search { max-width: 600px; flex: 1; }
#explorar .territory-search input { min-height: 45px; background: #fff; border-color: #cbd1d3; font-size: 14px; }
#explorar .territory-search .button { min-height: 45px; font-size: 12px; padding: 10px 18px; }
#explorar .territory-search .small-note { font-size: 11px; color: #59636b; }
#explorar .map-stage { display: block; }
#explorar .map-filter-panel { padding: 0; border: 0; margin: 0 0 9px; }
#explorar .report-filter-toggle { display: none; }
#explorar .explore-filters { display: grid; grid-template-columns: minmax(260px, 1.7fr) minmax(180px, 1fr) minmax(170px, 1fr) auto; gap: 12px; align-items: end; padding: 0; margin: 0; }
#explorar .explore-filters .field { margin: 0; min-width: 0; grid-column: auto; }
#explorar .explore-filters label { font-size: 11px; color: #59636b; font-weight: 650; margin-bottom: 5px; }
#explorar .explore-filters input, #explorar .explore-filters select { min-height: 42px; padding: 10px 12px; border: 1px solid #d5dadd; border-radius: 7px; font-size: 13px; background: #fff; color: #252d33; }
#explorar .filter-actions { min-height: 42px; margin: 0; grid-column: auto; }
#explorar .filter-actions .button { min-height: 42px; padding: 10px 23px; font-size: 12px; }
#explorar .filter-shortcuts { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 11px 0 0; }
#explorar .quick-periods { display: flex; gap: 5px; flex-wrap: wrap; }
#explorar .quick-periods button { border: 1px solid transparent; border-radius: 6px; padding: 6px 11px; color: #586169; background: #f3f5f6; font-size: 11px; min-height: 31px; }
#explorar .quick-periods button[aria-pressed="true"] { background: #293338; color: #fff; border-color: #293338; font-weight: 700; }
#explorar #resetReportFilters { font-size: 11px; color: #677179; white-space: nowrap; }
#explorar .active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#explorar .explore-toolbar .active-filters { flex: 1; min-width: 0; margin: 0; }
#explorar .filter-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #ebcdd2; background: #fff5f6; color: #9b2437; padding: 5px 9px; border-radius: 5px; font-size: 11px; max-width: 100%; text-align: left; }
#explorar .filter-chip-label { overflow-wrap: anywhere; }
#explorar .map-tools-row { display: block; margin: 12px 0 9px; }
#explorar .explore-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
#explorar .explore-toolbar > p { display: block; flex: 0 0 auto; font-size: 12px; font-weight: 650; color: #3a444b; margin: 0; }
#explorar .map-toolbar-controls { display: flex; width: auto; gap: 7px; }
#explorar .view-switch { padding: 3px; border-color: #dfe3e5; background: #f2f4f5; }
#explorar .view-switch button { font-size: 11px; min-height: 28px; padding: 5px 12px; }
#explorar .map-utility-button { min-height: 36px; font-size: 11px; padding: 8px 12px; border-color: #d6dcdf; }
#explorar .map-canvas-wrap { height: 66dvh; min-height: 460px; max-height: 840px; border: 1px solid #d5dade; border-radius: 10px; }
#explorar .map-main-actions { inset: 16px 16px auto auto; gap: 8px; }
#explorar .map-main-actions .button { font-size: 12px; min-height: 43px; padding: 11px 16px; box-shadow: 0 2px 7px #1f293312; }
#explorar .map-legend { gap: 10px 20px; font-size: 11px; margin: 10px 0 0; color: #536069; }
#explorar .map-reading-help { color: #647079; font-size: 11px; margin-top: 8px; }
#explorar .map-reading-help summary { display: inline-block; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#explorar .map-explanation { gap: 20px; margin-top: 8px; }
#explorar .map-explanation p, #explorar .map-explanation small { font-size: 11px; color: #647079; }
#explorar #exploreMapStatus { font-size: 11px; margin: 7px 0 0; color: #647079; }
#explorar #exploreListView { padding: 29px 0 16px; border-top: 1px solid #e5e8eb; margin-top: 24px; max-height: none; overflow: visible; }
#explorar .reports-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
#explorar .reports-heading .eyebrow { font-size: 9px; margin-bottom: 6px; }
#explorar .reports-heading h2 { font-size: 28px; margin: 0 0 7px; }
#explorar #listScope { font-size: 12px; color: #627078; margin: 0; }
#explorar .list-controls { text-align: right; flex-shrink: 0; color: #5c6870; font-size: 11px; }
#explorar .list-controls label { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; margin: 0; }
#explorar #listResultCount { font-size: 12px; color: #354048; margin: 0 0 6px; font-weight: 600; }
#explorar .list-controls select { width: auto; min-height: 32px; margin: 0; padding: 5px 8px; border: 1px solid #d7dddf; border-radius: 6px; background: white; color: #293338; }
#explorar .report-overview { display: flex; gap: 27px; align-items: center; padding: 15px 20px; border: 1px solid #e4e8eb; border-radius: 8px; background: #f8f9fa; margin-bottom: 18px; }
#explorar .report-overview article { display: flex; align-items: baseline; gap: 7px; }
#explorar .report-overview strong { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
#explorar .report-overview span { font-size: 11px; color: #627078; }
#explorar .report-overview a { margin-left: auto; font-size: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; }
#explorar .report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#explorar .report-card { padding: 21px; background: #fff; border: 1px solid #dfe4e7; border-radius: 10px; box-shadow: 0 2px 5px #24334204; }
#explorar .report-card-top { align-items: center; margin-bottom: 17px; gap: 9px; }
#explorar .category-tag { font-size: 10px; padding: 5px 8px; border-radius: 5px; background: #f1f3f5; color: #59636b; }
#explorar .status-badge { font-size: 10px; }
#explorar .report-card h3 { font-size: 20px; line-height: 1.35; margin-bottom: 11px; letter-spacing: -.025em; }
#explorar .report-title-button { color: #253238; }
#explorar .report-title-button:hover { color: var(--red); }
#explorar .report-card-location { font-size: 12px; line-height: 1.6; color: #5a6871; margin-bottom: 10px; }
#explorar .report-card-description { font-size: 13px; color: #647079; line-height: 1.7; -webkit-line-clamp: 3; }
#explorar .report-card-photo { height: 175px; width: 100%; object-fit: cover; border-radius: 6px; margin-bottom: 18px; }
#explorar .report-card-bottom { display: block; border-color: #e6eaed; padding-top: 13px; }
#explorar .report-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; font-size: 10px; color: #758089; }
#explorar .report-card-actions { display: flex; gap: 17px; justify-content: space-between; margin-top: 13px; align-items: center; }
#explorar .report-card-actions button { font-size: 12px; }
#explorar .report-card-actions button:last-child { color: #485862; }
#explorar .empty-state { padding: 45px 22px; background: #f8f9fa; border: 1px dashed #d5dce0; border-radius: 10px; }
#explorar .empty-state h3 { font-size: 24px; }
#explorar .empty-state p { font-size: 13px; max-width: 540px; }
#explorar .pagination { padding-top: 23px; }
#explorar .pagination > span { font-size: 12px; }
#explorar .map-channel-caption { color: #728089; font-size: 11px; margin-top: 20px; }
.report-dialog { width: min(860px, calc(100% - 36px)); padding: 26px 30px; border-color: #dce2e5; border-radius: 12px; background: #fff; }
.report-dialog .dialog-top { border-bottom: 1px solid #e7ebee; padding-bottom: 15px; margin-bottom: 23px; }
.report-dialog #detailTitle { font-size: 30px; line-height: 1.2; }
.report-dialog .detail-meta { font-size: 12px; gap: 12px; }
.report-dialog .detail-location { font-size: 15px; color: #52616c; }
.report-dialog .detail-description { font-size: 15px; line-height: 1.8; }
.report-dialog .small-note { font-size: 12px; }
.report-dialog .detail-map-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 24px; padding: 14px; background: #f5f7f8; border-radius: 8px; }
.report-dialog .detail-map-actions p { margin: 0; }
.report-dialog .detail-block h3 { font-size: 20px; }
.report-dialog .detail-block dl, .report-dialog .timeline p { font-size: 13px; }
.report-dialog .detail-photos { gap: 12px; }
.report-dialog .detail-photos img { border-radius: 8px; }
.report-focused-pin { box-shadow: 0 0 0 7px #c6283e26; }
.report-map-popup .map-popup strong { font-size: 13px; line-height: 1.45; color: #293338; }
.report-map-popup .map-popup p { font-size: 12px; line-height: 1.6; color: #52616b; }
.report-map-popup .map-popup button { font-size: 12px; }
body.map-expanded #explorar .map-stage { display: flex; flex-direction: column; }
body.map-expanded #explorar .map-searchbar, body.map-expanded #explorar .map-channel-caption { display: none; }
body.map-expanded #explorar #exploreListView, body.map-expanded #explorar .map-reading-help { display: none; }
body.map-expanded #explorar .map-canvas-wrap { min-height: 0; max-height: none; height: auto; flex: 1; }
body.map-expanded #explorar .map-tools-row { margin-top: 0; flex: none; }
body.map-expanded #explorar .map-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
@media (min-width: 761px) {
  #explorar .explore-filters label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 8px 25px; padding-block: 12px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 12px; padding: 9px 0; }
  #explorar .map-search-heading h1 { font-size: 24px; }
  #explorar .territory-search { max-width: 530px; }
  #explorar .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #explorar .explore-filters { grid-template-columns: minmax(200px, 1.4fr) minmax(135px, 1fr) minmax(125px, 1fr) auto; gap: 9px; }
  #explorar .report-overview { gap: 18px; }
}
@media (max-width: 760px) {
  .site-header .shell, .initiative-bar .shell { width: calc(100% - 28px); }
  .header-inner { gap: 9px; }
  .site-header nav { width: 100%; justify-content: flex-start; overflow-x: auto; gap: 22px; }
  .site-header nav a, .site-header nav a:last-child { display: block; white-space: nowrap; font-size: 12px; }
  #explorar .map-workspace { padding: 0 14px 18px; }
  #explorar .map-searchbar { display: block; padding: 18px 0 15px; }
  #explorar .map-search-heading { display: block; margin-bottom: 13px; }
  #explorar .map-search-heading .eyebrow { text-align: left; max-width: none; font-size: 8px; margin-bottom: 5px; }
  #explorar .map-search-heading h1 { font-size: 26px; }
  #explorar .territory-search { max-width: none; }
  #explorar .territory-search input { font-size: 14px; }
  #explorar .territory-search .button { padding-inline: 13px; }
  #explorar .report-filter-toggle { display: flex; width: 100%; justify-content: space-between; font-size: 12px; min-height: 40px; }
  #explorar #reportFilterBody { display: none; }
  #explorar .map-filter-panel.is-open #reportFilterBody { display: block; padding-top: 13px; }
  #explorar .explore-filters { grid-template-columns: 1fr 1fr auto; gap: 10px; }
  #explorar .explore-filters .search-field { grid-column: 1/-1; }
  #explorar .explore-filters input, #explorar .explore-filters select { font-size: 12px; min-height: 42px; }
  #explorar .filter-actions { grid-column: auto; }
  #explorar .filter-actions .button { padding-inline: 15px; }
  #explorar .filter-shortcuts { align-items: start; gap: 7px; }
  #explorar .quick-periods { gap: 4px; }
  #explorar .quick-periods button { padding-inline: 8px; font-size: 10px; }
  #explorar #resetReportFilters { font-size: 10px; padding-top: 6px; }
  #explorar .explore-toolbar { flex-wrap: wrap; gap: 8px; }
  #explorar .explore-toolbar > p { font-size: 12px; flex: 1 0 100%; }
  #explorar .explore-toolbar .active-filters { order: -1; flex-basis: 100%; }
  #explorar .map-toolbar-controls { width: 100%; justify-content: space-between; gap: 4px; }
  #explorar .view-switch button { padding-inline: 8px; font-size: 10px; }
  #explorar .map-utility-button { padding-inline: 9px; font-size: 10px; }
  #explorar .map-canvas-wrap { height: 62dvh; min-height: 390px; border-radius: 8px; }
  #explorar .map-main-actions { top: 12px; right: 11px; flex-direction: row; align-items: center; }
  #explorar .map-main-actions .button { padding: 9px 11px; min-height: 39px; font-size: 11px; }
  #explorar .map-main-actions .secondary { order: 0; min-height: 35px; font-size: 10px; }
  #explorar .map-legend { font-size: 10px; gap: 8px 12px; }
  #explorar .map-select-hint { top: 63px; }
  #explorar .reports-heading { display: block; }
  #explorar .reports-heading h2 { font-size: 25px; }
  #explorar .list-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; text-align: left; gap: 10px; }
  #explorar #listResultCount { margin: 0; }
  #explorar .report-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; padding: 15px; }
  #explorar .report-overview article { display: block; }
  #explorar .report-overview strong { display: block; font-size: 22px; }
  #explorar .report-overview span { font-size: 9px; }
  #explorar .report-overview a { margin: 0; grid-column: 1/-1; font-size: 11px; }
  #explorar .report-grid { grid-template-columns: 1fr; }
  .report-dialog { width: calc(100% - 20px); padding: 21px; }
  .report-dialog #detailTitle { font-size: 26px; }
  body.map-expanded #explorar .explore-toolbar > p { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Discovery gives a new community useful ways in, even before its first report. */
body[data-view="explorar"] { background: #f7f9f7; }
#explorar .map-workspace { padding-top: 0; }
#explorar .map-searchbar { padding-block: 10px; }
#explorar .map-search-heading h1 { font-size: 32px; letter-spacing: -.055em; }
#explorar .map-search-heading h1 > span { color: var(--red); }
#explorar .map-search-heading .eyebrow { font-size: 8px; letter-spacing: .16em; color: #6c7d77; }
#explorar .map-welcome-copy { font-size: 12px; line-height: 1.6; color: #6c7975; margin: 6px 0 0; }
#explorar .has-motto .map-search-heading { flex: 1 1 58%; min-width: 0; max-width: 740px; }
#explorar .has-motto .map-search-heading h1 { font-size: 27px; line-height: 1.18; letter-spacing: -.04em; text-wrap: balance; }
#explorar .has-motto .map-welcome-copy { max-width: 72ch; text-wrap: pretty; }
#explorar .has-motto .territory-search { flex: 1 1 42%; min-width: 0; max-width: 540px; }
#explorar .map-searchbar .territory-search input { border-radius: 9px; background: #fff; border-color: #d8e0db; }
#explorar .topic-explorer { padding: 7px 0 9px; border-top: 1px solid #e3e9e4; margin-top: 3px; }
#explorar .topic-explorer-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; font-size: 11px; color: #5c6a65; }
#explorar .topic-explorer-heading > span { font-weight: 650; }
#explorar .topic-explorer-heading button { min-height: 22px; padding: 0; font-size: 11px; color: #334c42; text-decoration: none; }
#explorar .topic-choices { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #ced7d0 transparent; padding: 3px 2px 9px; }
#explorar .discovery-topic { --topic-color: #657b72; --topic-tint: #eef3ef; display: flex; flex: 0 0 108px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 78px; padding: 7px 8px; border: 1px solid #e1e7e2; border-radius: 11px; background: #fff; color: #495a52; transition: border-color .15s, background .15s, transform .15s; }
#explorar .discovery-topic[data-topic="calles"] { --topic-color: #aa6850; --topic-tint: #f7ede7; }
#explorar .discovery-topic[data-topic="alumbrado"] { --topic-color: #a87d28; --topic-tint: #faf3df; }
#explorar .discovery-topic[data-topic="residuos"] { --topic-color: #698460; --topic-tint: #eef4e8; }
#explorar .discovery-topic[data-topic="agua"], #explorar .discovery-topic[data-topic="inundaciones"] { --topic-color: #55859b; --topic-tint: #eaf4f8; }
#explorar .discovery-topic[data-topic="transporte"] { --topic-color: #7877a6; --topic-tint: #f0eef8; }
#explorar .discovery-topic[data-topic="espacios_publicos"], #explorar .discovery-topic[data-topic="ambiente"] { --topic-color: #528470; --topic-tint: #eaf4ed; }
#explorar .discovery-topic[data-topic="accesibilidad"] { --topic-color: #b56979; --topic-tint: #f9edf1; }
#explorar .discovery-topic[data-topic="escuelas"], #explorar .discovery-topic[data-topic="salud"] { --topic-color: #8e7199; --topic-tint: #f5edf8; }
#explorar .discovery-topic[data-topic="conectividad"] { --topic-color: #547b9b; --topic-tint: #eaf0f8; }
#explorar .discovery-topic:hover { transform: translateY(-2px); border-color: var(--topic-color); }
#explorar .discovery-topic[aria-pressed="true"] { border-color: var(--topic-color); background: var(--topic-tint); box-shadow: inset 0 0 0 1px var(--topic-color); }
#explorar .discovery-topic-icon { display: block; flex-shrink: 0; width: 27px; height: 27px; color: var(--topic-color); background: var(--topic-tint); border-radius: 9px; }
#explorar .discovery-topic-icon svg { width: 22px; height: 22px; }
#explorar .discovery-topic-label { font-size: 10px; line-height: 1.3; font-weight: 650; min-height: 26px; display: flex; align-items: center; justify-content: center; }
#explorar .report-filter-toggle { display: inline-flex; width: auto; min-height: 34px; padding: 7px 12px; gap: 19px; font-size: 11px; background: #fff; }
#explorar #reportFilterBody { display: none; }
#explorar .map-filter-panel.is-open #reportFilterBody { display: block; padding: 14px; background: #fff; border: 1px solid #e1e7e2; border-radius: 9px; margin-top: 9px; }
#explorar .map-filter-panel { margin-bottom: 0; }
#explorar .map-tools-row { margin-top: 7px; }
#explorar .map-canvas-wrap { height: 71dvh; min-height: 550px; max-height: 850px; border-color: #d7e0d9; box-shadow: 0 6px 28px #354d3d07; border-radius: 14px; }
#explorar .map { background: #edf1eb; }
#explorar .map-canvas-wrap:focus-within { border-color: #b4c4b7; }
#explorar .map-canvas-wrap { user-select: none; -webkit-user-select: none; }
#explorar .leaflet-control-zoom a { width: 42px; height: 42px; line-height: 42px; font-size: 27px; }
#explorar .leaflet-control-zoom { border: 1px solid #bac7bf; border-radius: 9px; overflow: hidden; box-shadow: 0 3px 10px #263c3915; }
#explorar .leaflet-control-zoom a:focus-visible { outline: 3px solid #aa263b; outline-offset: -3px; }
#explorar .leaflet-control-scale { margin-right: 12px; margin-bottom: 8px; }
#explorar .leaflet-control-scale-line { border-color: #526a5e; background: #ffffffd9; color: #32483e; font-size: 10px; }
#explorar .map-navigation-help { margin: 8px 0 0; color: #62766a; font-size: 11px; line-height: 1.6; }
#explorar .map-touch-help { display: none; }
#explorar .discovery-panel { position: absolute; z-index: 650; left: 18px; bottom: 24px; width: 288px; max-height: calc(100% - 120px); overflow-y: auto; padding: 20px; background: #263c39; color: #fff; border: 1px solid #405853; border-radius: 15px; box-shadow: 0 10px 24px #263c3926; }
#explorar .discovery-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
#explorar .discovery-kicker { display: flex; align-items: center; gap: 6px; font-size: 7px; font-weight: 650; letter-spacing: .06em; color: #bbd2c8; }
#explorar .discovery-kicker i { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #edaba4; }
#explorar #discoveryPanelToggle { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; min-height: 0; padding: 0; border: 1px solid #60766f; background: transparent; border-radius: 7px; color: #fff; font-size: 18px; line-height: 1; }
#explorar #discoveryPanelTitle { font-size: 25px; font-weight: 650; line-height: 1.16; letter-spacing: -.035em; color: #fff; margin: 0 0 9px; }
#explorar #discoveryPanelCount { color: #bdcdc7; font-size: 10px; line-height: 1.6; margin: 0; }
#explorar .discovery-scene { display: block; width: 100%; height: 72px; margin: 15px 0 10px; }
#explorar #discoveryPanelCopy { font-size: 12px; line-height: 1.65; color: #d5e0da; margin: 0 0 17px; }
#explorar .discovery-primary { background: #eaa09b; color: #253c36; border-color: #eaa09b; border-radius: 8px; width: 100%; min-height: 40px; padding: 10px 14px; justify-content: space-between; font-size: 12px; }
#explorar .discovery-primary:hover { background: #f1b8b1; border-color: #f1b8b1; }
#explorar .discovery-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 13px; }
#explorar .discovery-links button { padding: 0; min-height: 26px; border: 0; background: none; color: #d3e1d9; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.district-dialog, .map-guide-dialog { width: min(840px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 27px; border: 1px solid #d5dfd6; border-radius: 17px; background: #fbfcf9; color: #263b34; box-shadow: 0 30px 90px #243a3240; }
.district-dialog::backdrop, .map-guide-dialog::backdrop { background: #132d2866; backdrop-filter: blur(3px); }
.district-dialog .dialog-top, .map-guide-dialog .dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.district-dialog .eyebrow, .map-guide-dialog .eyebrow { font-size: 9px; color: #818f7b; margin-bottom: 6px; }
.district-dialog h2, .map-guide-dialog h2 { font-size: 31px; line-height: 1.18; margin: 0; letter-spacing: -.045em; }
.district-dialog .icon-button, .map-guide-dialog .icon-button { flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 1px solid #d9e1d7; border-radius: 8px; background: #fff; color: #52655b; font-size: 23px; }
.district-dialog > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 650; }
#districtSearch { width: 100%; min-height: 45px; padding: 11px 14px; border: 1px solid #cfdace; border-radius: 9px; background: #fff; font-size: 14px; color: #334a3e; }
.district-suggestions-wrap { margin-top: 16px; }
.district-suggestions-wrap > span { display: block; color: #7b8879; font-size: 10px; margin-bottom: 7px; }
#districtSuggestions { display: flex; gap: 6px; flex-wrap: wrap; }
.district-suggestion { border: 1px solid #d8e2d4; background: #eff4eb; color: #5c7352; border-radius: 20px; padding: 6px 10px; font-size: 11px; }
.district-suggestion:hover { background: #e1eddb; }
.district-result-count { font-size: 11px; color: #758573; margin: 20px 0 10px; }
.district-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; max-height: 325px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px 4px 3px 1px; }
.district-choice { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 45px; padding: 10px 12px; border: 1px solid #e1e7dd; border-radius: 8px; background: #fff; color: #364b40; text-align: left; font-size: 12px; line-height: 1.45; }
.reporta-action-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.12em; pointer-events: none; }
.district-choice-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; color: #738577; pointer-events: none; }
.district-choice[aria-pressed="true"] .district-choice-icon { color: #aa263b; }
.district-choice:hover, .district-choice:focus-visible { background: #f0f6e9; border-color: #b0c4a1; }
.district-choice-name { min-width: 0; overflow-wrap: break-word; }
.district-empty { grid-column: 1/-1; padding: 30px 15px; text-align: center; color: #75836b; font-size: 13px; }
.district-directory-note { margin: 16px 0 0; font-size: 10px; color: #7e8a78; }
.map-guide-dialog h2 { font-size: 35px; }
.map-guide-dialog .guide-intro { margin: 11px 0 24px; font-size: 14px; color: #7a8772; }
.map-guide-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.map-guide-steps li { position: relative; padding: 20px; border: 1px solid #dee6d7; border-radius: 13px; background: #f1f5eb; }
.map-guide-steps li:nth-child(2) { background: #f8f0eb; border-color: #ede0d8; }
.map-guide-steps li:nth-child(3) { background: #ecf3f5; border-color: #dae6ea; }
.map-guide-steps .guide-step-number { font-size: 10px; color: #8d9c80; font-weight: 700; }
.map-guide-steps svg { display: block; width: 43px; height: 43px; margin: 15px 0 19px; stroke: #58764d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-guide-steps li:nth-child(2) svg { stroke: #b78162; }
.map-guide-steps li:nth-child(3) svg { stroke: #608a99; }
.map-guide-steps h3 { font-size: 20px; line-height: 1.25; margin: 0 0 10px; }
.map-guide-steps p { font-size: 12px; line-height: 1.7; color: #708168; margin: 0; }
.map-guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 22px; }
.map-guide-footer p { font-size: 11px; line-height: 1.7; color: #7e8b75; margin: 0; max-width: 360px; }
.map-guide-footer .button { white-space: nowrap; }
body.map-expanded #explorar .topic-explorer { display: none; }
body.map-expanded #explorar .map-canvas-wrap { min-height: 0; }
@media (min-width: 1001px) {
  #explorar .map-stage { position: relative; }
  #explorar .map-filter-panel:not(.is-open) { position: absolute; top: 0; left: 0; }
  #explorar .map-tools-row { padding-left: 210px; margin-top: 0; }
  #explorar .map-filter-panel.is-open + .map-tools-row { padding-left: 0; margin-top: 7px; }
}
@media (max-width: 1000px) {
  #explorar .discovery-panel { width: 248px; padding: 17px; left: 15px; bottom: 18px; }
  #explorar #discoveryPanelTitle { font-size: 22px; }
  #explorar .discovery-scene { height: 60px; }
}
@media (max-width: 760px) {
  #explorar .map-searchbar { padding-top: 12px; padding-bottom: 12px; }
  #explorar .map-search-heading h1 { font-size: 29px; }
  #explorar .map-welcome-copy { font-size: 11px; margin-top: 5px; }
  #explorar .has-motto .map-search-heading h1 { font-size: 24px; }
  #explorar .topic-explorer { margin-top: 0; padding: 9px 0 7px; }
  #explorar .topic-explorer-heading { font-size: 10px; margin-bottom: 5px; }
  #explorar .topic-explorer-heading button { font-size: 10px; }
  #explorar .topic-choices { gap: 6px; padding-bottom: 7px; }
  #explorar .discovery-topic { flex-basis: 82px; min-height: 73px; padding: 7px 6px; border-radius: 9px; gap: 5px; }
  #explorar .discovery-topic-label { font-size: 9px; }
  #explorar .discovery-topic-icon { width: 27px; height: 27px; }
  #explorar .discovery-topic-icon svg { width: 20px; height: 20px; }
  #explorar .report-filter-toggle { display: flex; width: 100%; min-height: 36px; justify-content: space-between; }
  #explorar .map-canvas-wrap { height: 66dvh; min-height: 490px; border-radius: 12px; }
  #explorar .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
  #explorar .map-main-actions { display: grid; grid-template-columns: auto auto; gap: 6px; justify-items: end; }
  #explorar .map-main-actions #mapReportButton { grid-column: 1 / -1; grid-row: 1; }
  #explorar .map-navigation-help { font-size: 10px; }
  #explorar .map-desktop-help { display: none; }
  #explorar .map-touch-help { display: inline; }
  #explorar .discovery-panel { left: 10px; right: 10px; bottom: 23px; width: auto; max-height: calc(100% - 100px); padding: 13px 15px; border-radius: 12px; }
  #explorar .discovery-panel-top { margin-bottom: 5px; }
  #explorar .discovery-kicker { font-size: 7px; }
  #explorar #discoveryPanelTitle { font-size: 19px; margin-bottom: 4px; }
  #explorar #discoveryPanelCount { font-size: 9px; }
  #explorar .discovery-scene { display: none; }
  #explorar #discoveryPanelCopy { font-size: 12px; margin-top: 12px; margin-bottom: 12px; }
  #explorar .discovery-links { margin-top: 7px; }
  .district-dialog, .map-guide-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); padding: 19px; border-radius: 14px; }
  .district-dialog h2, .map-guide-dialog h2 { font-size: 27px; }
  .district-dialog .eyebrow, .map-guide-dialog .eyebrow { font-size: 8px; }
  #districtSearch { font-size: 16px; }
  .district-dialog .icon-button, .map-guide-dialog .icon-button { width: 44px; height: 44px; }
  .district-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 42dvh; gap: 6px; }
  .district-choice { font-size: 13px; padding: 10px; min-height: 48px; }
  .district-suggestion { font-size: 12px; }
  .map-guide-steps { grid-template-columns: 1fr; gap: 10px; }
  .map-guide-steps li { padding: 17px 17px 17px 72px; min-height: 116px; }
  .map-guide-steps .guide-step-number { position: absolute; left: 24px; top: 16px; }
  .map-guide-steps svg { position: absolute; left: 18px; top: 39px; width: 34px; height: 34px; margin: 0; }
  .map-guide-steps h3 { font-size: 19px; margin-bottom: 7px; }
  .map-guide-steps p { font-size: 11px; }
  .map-guide-footer { display: block; margin-top: 18px; }
  .map-guide-footer .button { width: 100%; margin-top: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #explorar .discovery-topic { transition: none; }
  #explorar .discovery-topic:hover { transform: none; }
}
