.work-map-workspace { border: 1px solid #c1d0da; border-radius: 12px; overflow: hidden; background: #f2f6f5; box-shadow: 0 8px 22px rgba(17, 42, 70, .08); }
.work-map-toolbar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 22px; background: #e5efea; border-top: 5px solid #28644e; border-bottom: 1px solid #b4ccbf; }
.work-map-toolbar h2 { margin: 0 0 6px; font-size: 24px; }
.work-map-toolbar p { margin: 0; color: #43596a; }
.work-map-toolbar .eyebrow { color: #28644e; margin-bottom: 6px; }
.work-map-date-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.work-map-date-form .field-group { margin: 0; }
.work-map-date-form input, .work-map-date-form select { min-height: 44px; }
.work-map-layout { display: grid; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); }
.work-map-sidebar { min-width: 0; background: #fff; border-right: 1px solid #c1d0da; }
.work-map-sidebar-heading { padding: 18px; background: #edf3f7; border-bottom: 1px solid #c1d0da; }
.work-map-sidebar-heading h3 { margin: 0 0 8px; font-size: 17px; }
.work-map-sidebar-heading p, .work-map-filter-note { color: #536577; font-size: 13px; line-height: 1.5; }
.work-map-sidebar-heading p { margin: 0; }
.work-map-filters { display: grid; gap: 12px; padding: 18px; }
.work-map-search-label { font-size: 13px; font-weight: 750; }
.work-map-filters input[type=search] { width: 100%; min-width: 0; min-height: 44px; }
.work-map-show-all { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 750; }
.work-map-legend { display: grid; gap: 3px; }
.work-map-legend label { display: flex; gap: 8px; align-items: center; min-height: 44px; font-size: 13px; cursor: pointer; }
.work-map-legend label > span:not(.work-map-swatch) { flex: 1; }
.work-map-legend small { font-weight: 750; }
.work-map-filters input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 20px; }
.work-map-swatch { width: 14px; height: 14px; flex: 0 0 14px; border-radius: 50%; background: var(--pin-color); border: 1px solid rgba(0, 0, 0, .12); }
.work-map-count { margin: 0; padding: 12px 18px; background: #edf3f7; border-block: 1px solid #d1dce4; font-size: 13px; font-weight: 750; }
.work-map-property-list { max-height: 330px; overflow: auto; }
.work-map-unmatched { padding: 14px 18px; background: #fff7e7; border-block: 1px solid #e0c99d; font-size: 13px; }
.work-map-unmatched summary { cursor: pointer; font-weight: 750; color: #865217; min-height: 32px; }
.work-map-unmatched p { line-height: 1.5; }
.work-map-unmatched a { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.work-map-property { display: grid; gap: 5px; padding: 14px 18px; border-bottom: 1px solid #d8e1e6; overflow-wrap: anywhere; }
.work-map-property[hidden] { display: none; }
.work-map-property a { font-size: 14px; font-weight: 750; line-height: 1.5; }
.work-map-property span, .work-map-property small { font-size: 13px; color: #536577; line-height: 1.5; }
.work-map-property strong { font-size: 12px; }
.work-map-attention { color: #a03918 !important; font-weight: 650; }
.work-map-main { min-width: 0; padding: 16px; }
.work-map-message { margin: 0 0 12px; color: #425869; font-size: 13px; line-height: 1.5; }
.work-map-canvas { height: 640px; min-height: 420px; border: 1px solid #adbdc8; border-radius: 9px; background: #dde7e3; z-index: 0; }
.work-map-footnote { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; color: #536577; font-size: 12px; }
.work-map-pin { position: relative; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 5px; border: 3px solid #fff; border-radius: 50% 50% 50% 6px; background: var(--pin-color); color: #fff; font-family: inherit; font-size: 14px; font-weight: 800; box-shadow: 0 2px 7px rgba(0, 0, 0, .4); }
.work-map-pin-muted { width: 17px; height: 17px; margin: 13px; border-width: 2px; border-radius: 50%; font-size: 16px; }
.work-map-pin-badge { position: absolute; top: -9px; right: -9px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #b42318; font-size: 12px; }
.work-map-marker:focus { outline: 3px solid #112a46; outline-offset: 6px; border-radius: 50%; }
.work-map-details { display: grid; width: 280px; max-width: calc(100vw - 100px); gap: 5px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; white-space: normal; }
.work-map-details strong { font-size: 14px; }
.work-map-details p { margin: 5px 0 0; }
.work-map-details .button { margin-top: 8px; color: #fff; text-decoration: none; }
.work-map-tooltip { max-width: min(330px, 80vw); }
.work-map-canvas .leaflet-control-attribution { font-size: 11px; }
.work-map-canvas .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; font-size: 26px; }
@media (max-width: 900px) {
  .work-map-layout { grid-template-columns: 1fr; }
  .work-map-sidebar { border-right: 0; border-bottom: 1px solid #c1d0da; }
  .work-map-main { grid-row: 1; }
  .work-map-canvas { height: 460px; }
  .work-map-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
}
@media (max-width: 520px) {
  .work-map-toolbar { padding: 16px; }
  .work-map-date-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
  .work-map-date-form input, .work-map-date-form select { width: 100%; min-width: 0; }
  .work-map-main { padding: 10px; }
  .work-map-canvas { height: 390px; min-height: 390px; }
  .work-map-legend { grid-template-columns: 1fr; }
  .work-map-canvas:has(.leaflet-popup) .leaflet-control-zoom { visibility: hidden; }
}
