/* Scoped building-permits page and teasers. Do not edit styles.css. */
.coap-map{height:420px;border-radius:16px;overflow:hidden;border:1px solid rgba(214,180,106,.25);margin:12px 0 8px}
@media (max-width:700px){.coap-map{height:340px}}
.coap-note,.coap-src{color:var(--muted2,#9aa3b2);font-size:14px;line-height:1.55}
.coap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
@media (max-width:800px){.coap-grid{grid-template-columns:1fr}}
.coap-card{border:1px solid rgba(214,180,106,.22);border-radius:16px;padding:16px 18px;background:rgba(255,255,255,.02)}
.coap-card h2{margin:0 0 6px;font-size:1.25rem}
.coap-kicker{color:var(--gold,#d6b46a);letter-spacing:.14em;text-transform:uppercase;font-weight:700;font-size:11px;margin:0 0 4px}
.coap-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:10px 0 12px}
.coap-stat{font-size:13px;color:var(--muted2,#9aa3b2)}
.coap-stat b{display:block;color:inherit;font-size:20px;color:var(--gold,#d6b46a);font-weight:800}
.coap-bars{list-style:none;margin:0;padding:0}
.coap-bars li{display:grid;grid-template-columns:62px 1fr 44px;gap:8px;align-items:center;margin:3px 0;font-size:12px;color:var(--muted2,#9aa3b2)}
.coap-bars .coap-bar{height:8px;background:rgba(214,180,106,.18);border-radius:99px;overflow:hidden}
.coap-bars .coap-bar>span{display:block;height:100%;background:var(--gold,#d6b46a);border-radius:99px}
.coap-bars li.is-partial .coap-bar>span{background:repeating-linear-gradient(90deg,#d6b46a 0 4px,rgba(214,180,106,.4) 4px 8px)}
.coap-legend{display:flex;flex-wrap:wrap;gap:10px 14px;margin:8px 0 0;font-size:12px;color:var(--muted2,#9aa3b2)}
.coap-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:middle}
.coap-uncovered{margin:8px 0 0;padding:12px 14px;border-radius:12px;border:1px dashed rgba(214,180,106,.3);color:var(--muted2,#9aa3b2);font-size:14px}
.coap-teaser{margin:14px 0 0;padding:14px 16px;border-radius:14px;border:1px solid rgba(214,180,106,.25);background:rgba(214,180,106,.05)}
.coap-teaser h2,.coap-teaser h3{margin:0 0 6px;font-size:1.15rem}
.coap-teaser p{margin:0 0 8px;color:var(--muted2,#9aa3b2);font-size:14px}
.coap-teaser .coap-stats{margin:8px 0}
#coa-permits-map .maplibregl-popup-content{background:#14171d;color:#eee;border:1px solid rgba(214,180,106,.3);border-radius:10px}
#coa-permits-map .maplibregl-popup-tip{border-top-color:#14171d}

/* Units table, county filter, how-to-apply (2026-11-12) */
.coap-units{margin:28px 0}
.coap-toolbar{margin:14px 0 10px}
.coap-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.coap-chip{appearance:none;border:1px solid rgba(214,180,106,.35);background:transparent;color:var(--text,#f3efe6);border-radius:999px;padding:6px 12px;cursor:pointer;font:inherit;font-size:13px}
.coap-chip.is-on,.coap-chip:hover{border-color:rgba(214,180,106,.7);background:rgba(214,180,106,.12)}
.coap-search{display:block;margin:8px 0;color:var(--muted2,#9aa3b2);font-size:13px}
.coap-search input{display:block;width:min(420px,100%);margin-top:4px;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25);color:inherit;font:inherit}
.coap-table-wrap{overflow:auto;border:1px solid rgba(214,180,106,.2);border-radius:14px}
.coap-table{width:100%;border-collapse:collapse;font-size:14px}
.coap-table th,.coap-table td{padding:8px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.08)}
.coap-table th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted2,#9aa3b2);position:sticky;top:0;background:#12131a}
.coap-table .coap-num{text-align:right;font-variant-numeric:tabular-nums}
.coap-table tr[hidden],.coap-howto-row[hidden]{display:none}
.coap-howto{margin:6px 0 12px;padding:12px 14px;border-radius:12px;border:1px solid rgba(214,180,106,.2);background:rgba(214,180,106,.05)}
.coap-howto h3{margin:0 0 6px;font-size:1.05rem}
.coap-howto ul{margin:8px 0;padding-left:18px}
.coap-howto a{color:#f1e4b6}
.coap-county-jump{text-decoration:none;color:inherit}
.coap-stats .coap-src{display:block;font-weight:400}
@media (max-width:700px){.coap-table th:nth-child(4),.coap-table td:nth-child(4),.coap-table th:nth-child(5),.coap-table td:nth-child(5){display:none}}
