.map-page > .tk-mast {flex: none; z-index: 20;}
.map-page .tk-mast a {border-bottom: 0;}
.map-page .tk-menu nav {z-index: 25;}
.map-page .fill-districts {background: #4c7983; border-color: #3e5966;}
#community-data {
  padding: .85rem 1.2rem 1rem;
  background: #edf2ed;
  border-block-end: 1px solid var(--atlas-line);
  color: var(--atlas-ink);
}
#community-data [hidden] {display: none;}
#community-data h2, #community-data h3, #community-data h4 {margin: 0; color: inherit; text-transform: none; letter-spacing: normal;}
#community-data h2 {font: 600 1rem/1.3 var(--tk-sans);}
#community-data h3 {font: 400 1.4rem/1.18 var(--tk-serif); overflow-wrap: anywhere;}
#community-data h4 {font: 600 .86rem/1.4 var(--tk-sans); margin-block: .9rem .35rem;}
.community-controls {display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .55rem; margin-top: .55rem;}
.community-controls label {font: 600 .74rem/1.35 var(--tk-sans); color: var(--atlas-muted);}
.community-controls select {box-sizing: border-box; width: 100%; height: 2.6rem; margin-top: .22rem; padding-inline: .4rem; border: 1px solid #8fa5a4; border-radius: 3px; background: #fff; color: var(--atlas-ink); font: 400 .82rem/1.3 var(--tk-sans);}
#community-empty, #community-legend, #community-scope, #community-results p {font: 400 .78rem/1.45 var(--tk-sans); color: var(--atlas-muted); margin: .55rem 0 0;}
#community-legend ul {list-style: none; display: flex; flex-wrap: wrap; gap: .14rem .65rem; margin: .45rem 0; padding: 0;}
#community-legend li {display: flex; gap: .27rem; align-items: center;}
#community-legend i {width: .65rem; height: .65rem; border: 1px solid #667e7b; display: inline-block;}
#community-selected {margin-top: .85rem; border-top: 2px solid #60867e; padding-top: .65rem;}
.community-selection {display: flex; justify-content: space-between; align-items: flex-start; gap: .35rem;}
#community-close {border: 0; margin: 0; padding: .15rem; background: none; color: var(--atlas-teal); font: 600 .78rem/1.6 var(--tk-sans); cursor: pointer; text-decoration: underline;}
#community-results dl {margin: 0; font: 400 .82rem/1.4 var(--tk-sans);}
#community-results dl div {display: grid; grid-template-columns: 1fr auto; column-gap: .4rem; border-block-end: 1px solid #c9d6d0; padding: .26rem 0;}
#community-results dd {margin: 0; text-align: end; font-variant-numeric: tabular-nums; font-weight: 600;}
#community-results a,.research-popup-link {color: var(--atlas-teal); text-decoration: underline; text-underline-offset: .15em;}
#community-results details {margin-top: .8rem;}
#community-results summary,.research-popup-link {font: 600 .8rem/1.4 var(--tk-sans); cursor: pointer;}
#community-results summary {color: var(--atlas-teal);}
#community-results .community-retry {padding: .36rem .6rem; margin-top: .4rem; border: 1px solid #61847f; background: #fff; color: #174540; cursor: pointer;}
.research-popup-link {display: inline-block; margin-top: .45rem;}
@media(max-width:720px) {#community-data {padding: .75rem .9rem;}}
@media(forced-colors:active){#community-legend i{forced-color-adjust:none;}}
#community-results .tk-industry {margin-top: .55rem;}
#community-results .tk-industry h3 {font: 600 .85rem/1.4 var(--tk-sans);}
#community-results .tk-industry-sectors {padding-left: 1.25rem; margin: .4rem 0;}
#community-results .tk-industry-sectors li {font: 400 .8rem/1.4 var(--tk-sans); padding: .22rem 0;}
#community-results .tk-industry-sectors small {display: block; font-size: .76rem; color: var(--atlas-muted);}
#community-results .tk-industry>a {font: 600 .78rem/1.45 var(--tk-sans);}
