.hlt-search { --hlt-green: #235c3b; margin-block: 1.5rem; }
.hlt-search [hidden] { display: none !important; }
.hlt-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 1.5rem; align-items: start; }
.hlt-search[data-hlt-ready]:not(.hlt-multi) .hlt-layout { grid-template-columns: minmax(0, 1fr); }
.hlt-multi-toggle { padding: .7rem 1rem; margin-bottom: 1rem; cursor: pointer; }
.hlt-multi-toggle[aria-pressed=true] { border: 2px solid var(--hlt-green); }
.hlt-map { min-width: 0; }
/* Selection is an overlay: unselecting reveals the untouched map-defined fill. */
.hlt-search .hlt-county-selected path { fill: var(--hlt-selection-fill) !important; }
.hlt-counties { margin: 0; padding: 1rem; border: 1px solid #c8d2cb; border-radius: 8px; min-width: 0; }
.hlt-counties legend { padding: 0 .4rem; font-weight: 700; }
.hlt-filter-label { display: block; font-size: .9rem; }
.hlt-filter { width: 100%; margin: .35rem 0 .75rem; padding: .6rem; }
.hlt-checklist { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.hlt-county { display: flex; gap: .65rem; align-items: center; padding: .65rem .5rem; cursor: pointer; border-radius: 4px; }
.hlt-county.is-selected { background: #e8f1eb; }
.hlt-county input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--hlt-green); }
.hlt-county:focus-within { outline: 2px solid var(--hlt-green); outline-offset: -2px; }
.hlt-legend { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.hlt-legend span { background: var(--hlt-hover-color, transparent); width: 1rem; height: 1rem; display: inline-block; }
.hlt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
.hlt-actions button { padding: .7rem 1rem; cursor: pointer; }
.hlt-actions button[type=submit] { background: var(--hlt-green); color: white; border: 1px solid var(--hlt-green); border-radius: 4px; }
.hlt-pending { margin-top: .75rem; }
#hlt-results { margin-top: 1.5rem; scroll-margin-top: 2rem; }
@media (max-width: 700px) { .hlt-layout { grid-template-columns: 1fr; } .hlt-checklist { max-height: 260px; } }
