/* Neighbourhood explorer. Shared job-map styles remain unchanged. */
.map-intro{padding:26px 0 22px}
.map-intro h1{font-size:32px;letter-spacing:-1.5px}
.map-intro .eyebrow{letter-spacing:1.8px}
.map-filters{box-shadow:0 3px 18px #24433404}
.map-search-row{gap:9px}
.map-area-field{gap:10px}
.map-area-field>span{font-size:10px}
.map-area-field select{width:185px}
.map-search-row>button{min-height:38px;font-size:11px}
.radius-field select{border:1px solid #dce6dd;background:#f6f9f5;border-radius:7px;padding:0 9px;min-height:38px;font-size:12px;max-width:125px}
.map-search-row form{min-width:150px;flex:1}
.map-kind-tabs{gap:6px;padding:10px 16px}
.map-kind-tabs button{min-height:40px;padding:7px 14px}
.map-kind-tabs button:before{display:none}
.map-kind-tabs svg{width:17px;height:17px;color:var(--kind-color)}
.map-kind-tabs button[aria-pressed=true] svg{color:#fff}
.map-kind-tabs button b{border-radius:4px;padding:2px 5px;background:#eaf0e6;color:#4c6554;opacity:1}
.map-kind-tabs button[aria-pressed=true] b{background:#ffffff20;color:#fff}
.neighbourhood-bar{display:flex;align-items:center;gap:12px;padding:0 16px 11px;min-width:0}
.neighbourhood-bar>span{white-space:nowrap;color:#718173;font-size:10px}
#neighbourhoods{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:3px;min-width:0}
#neighbourhoods button{display:flex;align-items:center;gap:8px;min-height:32px;padding:4px 11px;border:1px solid #e5ebe1;border-radius:20px;color:#5e7166;font-size:10px;white-space:nowrap}
#neighbourhoods button b{font-size:10px;color:#274e3d}
#neighbourhoods button:hover,#neighbourhoods button[aria-pressed=true]{background:#edf4e9;border-color:#bfd3bd;color:#264f3b}
.map-updates{padding:8px 1px;min-height:45px}
.map-updates>span{max-width:55%;line-height:1.5}
.community-workspace{grid-template-columns:minmax(0,1fr) 385px;grid-template-rows:auto minmax(0,1fr);height:calc(100svh - 385px);min-height:620px;max-height:940px;border-color:#dbe4da;box-shadow:0 8px 32px #25453006}
.explore-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;background:#fff;border-bottom:1px solid #e5ebe1;min-width:0}
.feed-tabs{display:flex;gap:4px;min-width:0}
.feed-tabs button{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#6a7a6e;border-radius:7px;padding:8px 13px;min-height:39px;white-space:nowrap}
.feed-tabs button b{font-size:10px;font-weight:600;background:#eff3eb;border-radius:5px;padding:2px 5px;min-width:17px}
.feed-tabs button[aria-pressed=true]{background:#eaf2e5;color:#274f3c}
.feed-tabs button[aria-pressed=true] b{background:#d6e6ce;color:#315b37}
.view-tools{display:flex;align-items:center;gap:8px}
.mobile-views{display:none;padding:3px;border-radius:7px;background:#f1f4ee}
.mobile-views button{padding:6px 9px;min-height:32px;font-size:11px;color:#71816f;border-radius:5px;white-space:nowrap}
.mobile-views button[aria-pressed=true]{background:white;color:#294932;box-shadow:0 1px 4px #152a2212}
#collapseMap{font-size:11px;color:#344f3c;border:1px solid #d4e0d2;border-radius:7px;min-height:36px;padding:0 12px;white-space:nowrap}
.community-workspace .map-panel{min-height:0;overflow:hidden}
.community-workspace .results-panel{border-left-color:#e2e8de}
.community-workspace .results-heading{padding:19px 20px 12px}
.community-workspace .results-heading h2{font-size:26px}
.community-workspace .results-tools{flex-wrap:wrap;gap:4px 12px;margin-bottom:8px;flex-shrink:0}
.results-tools #coverage{flex:1 1 100%;font-size:10px}
.results-tools>label{margin-left:0}
.results-tools select{background:#f6f8f3;border-radius:5px;font-size:11px;min-height:34px;padding:0 7px}
.results-tools #clearSelection{order:-1;color:var(--accent);min-height:30px}
.feed-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;line-height:1.7;color:#6d7e6b;padding:0 20px 12px;flex-shrink:0}
.feed-hint button{font-size:10px;color:var(--accent);text-decoration:underline;white-space:nowrap;padding:0;min-height:34px}
.area-brief{margin:0 20px 12px;padding:12px 13px;background:#f1f6ed;border-radius:9px;flex-shrink:0}
.area-brief>strong{display:block;font-size:12px;font-weight:600;margin-bottom:9px;color:#36513b}
.area-brief>div,.peek-kinds{display:flex;gap:10px;flex-wrap:wrap}
.kind-count{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:var(--accent)}
.kind-count svg{width:13px;height:13px}
.kind-count.jobs{color:var(--jobs)}
.kind-count.housing{color:var(--housing)}
.kind-count.market{color:var(--market)}
.kind-count.talk{color:var(--talk)}
.member-map-hint{margin-top:0;margin-bottom:12px;flex-shrink:0}
.member-map-hint p{font-size:10px}
.map-card{padding:17px 20px 11px;transition:background .12s}
.map-card:has(button:hover){background:#f7faf4}
.map-card .card-top{gap:6px;flex-wrap:wrap}
.kind-label{display:inline-flex;align-items:center;gap:4px;line-height:1.4}
.kind-label svg{width:13px;height:13px}
.map-card strong{font-size:15px;font-weight:600;letter-spacing:-.25px;line-height:1.55}
.map-card .card-subtitle{line-height:1.55;overflow-wrap:anywhere}
.new-label{font-size:8px;font-weight:700;color:#568039;letter-spacing:.6px;margin-left:auto}
.map-card .card-bottom{align-items:baseline;line-height:1.6}
.map-card .card-bottom b{white-space:nowrap}
.card-actions{display:flex;align-items:center;gap:7px;border-top:1px solid #eff2ec;margin-top:11px;padding-top:6px}
.distance-label{margin-right:auto;color:#84917e;font-size:9px;line-height:1.5}
.card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:10px;min-height:36px;min-width:49px;padding:4px 6px;color:#64755f;border-radius:6px}
.card-actions svg{width:14px;height:14px}
.card-actions button:hover{background:#eaf1e4}
.card-actions button[aria-pressed=true]{color:#336b47;background:#edf4e9}
.card-actions button[aria-pressed=true] svg{fill:#dceccc}
.load-more{flex-shrink:0;min-height:45px;background:#f4f8ef;border-top:1px solid #e4e9dd;font-size:11px;color:#46703d}
.expand-map{position:absolute;top:66px;right:16px;z-index:450;background:#fff;border:1px solid #dbe3db;border-radius:8px;box-shadow:0 2px 8px #14233708;padding:0 11px;min-height:37px;color:#42624d;font-size:10px}
.community-workspace .map-modes button{min-height:32px;font-size:10px}
.community-workspace .map-bottom button{min-height:39px}
.community-workspace .job-pin{background:none;border:0}
.community-workspace .job-pin .pin-bubble{display:flex;align-items:center;justify-content:center;gap:6px;min-width:52px;width:max-content;margin:0 auto;height:40px;padding:0 11px;border:3px solid #fff;background:var(--pin-color,var(--jobs));box-shadow:0 3px 12px #15352d3d;border-radius:22px;font-size:13px}
.community-workspace .pin-bubble svg{width:17px;height:17px;stroke-width:1.7;flex-shrink:0}
.community-workspace .pin-bubble b{font-weight:700}
.map-pin-housing{--pin-color:var(--housing)}
.map-pin-market{--pin-color:var(--market)}
.map-pin-talk{--pin-color:var(--talk)}
.map-pin-mixed{--pin-color:#294b3e}
.pin-place{display:block;margin:2px auto 0;max-width:94px;padding:3px 5px;border-radius:4px;background:#fffffff0;color:#30493a;box-shadow:0 1px 5px #294b301c;font-size:9px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;width:max-content}
.community-workspace .job-pin.selected .pin-bubble,.community-workspace .job-pin.highlighted .pin-bubble{box-shadow:0 0 0 4px #e3b75b,0 5px 16px #143f3040}
.community-workspace .job-pin.highlighted .pin-place{background:#fff2d6;color:#543c14}
.map-peek{position:absolute;z-index:460;left:16px;bottom:105px;width:calc(100% - 86px);max-width:330px;background:#fffffff7;border:1px solid #dce6d5;border-radius:15px;padding:15px 16px 8px;box-shadow:0 10px 36px #1b382426}
.peek-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
.peek-heading span{font-size:9px;color:#78906a}
.peek-heading h3{margin:4px 0 0;font-size:17px;color:#284735;line-height:1.35;overflow-wrap:anywhere}
.peek-heading>button{min-height:34px;min-width:34px;margin:-5px -8px 0 0;font-size:22px;color:#6a7f62;border-radius:50%}
.peek-stories{margin-top:10px;border-top:1px solid #edf1e8}
.peek-stories>button{display:flex;align-items:center;gap:7px;min-height:35px;font-size:11px;text-align:left;width:100%;padding:4px 0}
.peek-stories>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.peek-stories>button b{margin-left:auto;font-weight:400;color:#63805f}
.kind-dot{width:6px;height:6px;border-radius:50%;background:var(--talk);flex-shrink:0}
.kind-dot.jobs{background:var(--jobs)}
.kind-dot.housing{background:var(--housing)}
.kind-dot.market{background:var(--market)}
.peek-list{font-size:11px;color:#2b6c43;font-weight:600;min-height:38px;width:100%;border-top:1px solid #edf1e8;text-align:left;padding:5px 0}
.map-empty{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:450;max-width:290px;width:calc(100% - 50px);padding:18px;background:#fffffff0;border:1px solid #dce6d6;border-radius:12px;text-align:center;box-shadow:0 5px 30px #1c332518}
.map-empty p{font-size:12px;line-height:1.7;color:#54714d;margin:0}
.map-empty button{font-size:11px;min-height:35px;color:#276445;margin-top:6px}
.map-panel:has(.map-peek:not([hidden])) .map-help{font-size:8px}
.empty-state{overflow-y:auto}
.empty-state h3{font-size:15px;line-height:1.6}
.empty-state p{line-height:1.8}
.empty-state #widenSearch{display:block;margin:15px auto 0;background:#eaf3e3;color:#2e643f;border-color:#c6daba}
.empty-state #widenSearch[hidden]{display:none}
#detailDialog .detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:15px}
#detailDialog .detail-actions>button{display:flex;gap:7px;width:auto;min-height:43px;font-size:12px;padding:8px 12px;border-color:#d8e3d2;color:#487043}
#detailDialog .detail-actions svg{width:17px;height:17px}
#detailDialog .detail-actions>button[aria-pressed=true]{background:#eef5e7;color:#326343}
.map-expanded{overflow:hidden}
.community-workspace.is-expanded{position:fixed;inset:12px;z-index:2000;width:auto;height:auto;max-height:none;min-height:0;margin:0;box-shadow:0 0 0 20px #f2f6ef}
.is-expanded .expand-map{display:none}
.is-expanded .explore-toolbar{flex-wrap:wrap}
.map-expanded .toast{z-index:3000}
.map-how{padding-top:24px}
@media(min-width:1500px){.community-workspace{grid-template-columns:minmax(0,1fr) 420px}}
@media(min-width:761px) and (max-width:1100px){
  .community-workspace{grid-template-columns:minmax(0,1fr) 335px}
  .map-area-field>span{display:none}
  .map-search-row{flex-wrap:wrap}
  .map-intro h1{font-size:29px}
}
@media(max-width:760px){
  .map-intro{padding:20px 1px 17px}
  .map-intro h1{font-size:27px;letter-spacing:-1px}
  .map-intro .eyebrow{font-size:8px;letter-spacing:1.1px}
  .map-intro>div>p:last-child{font-size:11px}
  .map-intro-actions{margin-top:13px}
  .map-search-row{gap:7px;flex-wrap:wrap;padding:9px 10px}
  .map-area-field{flex:1;min-width:0}
  .map-area-field>span{display:none}
  .map-area-field select{font-size:16px;width:100%;max-width:100%;min-height:42px}
  .map-search-row>button{font-size:10px;min-height:39px;padding:0 8px}
  .radius-field select{font-size:12px;max-width:107px;min-height:39px}
  .map-search-row form{flex:1 1 100%;width:100%;max-width:none;border:0;border-top:1px solid #eff2eb;padding:4px 0 0;margin:0}
  .map-search-row input{font-size:16px;min-height:36px}
  .map-search-row input::placeholder{font-size:12px}
  .map-kind-tabs{gap:3px;padding:7px}
  .map-kind-tabs button{font-size:11px;padding:6px 9px;min-height:39px;gap:5px}
  .map-kind-tabs svg{width:15px;height:15px}
  .map-kind-tabs button b{font-size:9px;padding:2px 4px}
  .neighbourhood-bar{padding:0 9px 7px;gap:7px}
  .neighbourhood-bar>span{font-size:9px}
  #neighbourhoods button{font-size:10px;min-height:34px;padding:4px 9px;gap:6px}
  .map-updates{align-items:flex-start;gap:5px;padding:9px 1px;flex-wrap:wrap}
  .map-updates>span{max-width:100%;flex-basis:100%;font-size:9px}
  .map-updates>div{width:100%;justify-content:flex-end;gap:15px}
  .map-updates>div label{margin-right:auto}
  .map-updates button{font-size:10px;min-height:33px}
  .community-workspace{display:flex;height:auto;min-height:0;max-height:none;border-radius:12px;overflow:visible}
  .explore-toolbar{position:sticky;top:0;z-index:800;padding:7px 8px;gap:5px;flex-shrink:0;border-radius:12px 12px 0 0}
  .feed-tabs{gap:2px}
  .feed-tabs button{font-size:11px;padding:6px 7px;min-height:38px;gap:4px}
  .feed-tabs button b{font-size:9px;padding:2px 4px}
  .mobile-views{display:flex}
  .mobile-views button{font-size:10px;padding:6px 7px;min-height:32px}
  .view-tools{gap:5px}
  .community-workspace .map-panel{height:clamp(400px,64svh,700px);flex-shrink:0}
  .community-workspace[data-view="map"] .results-panel{display:none}
  .community-workspace[data-view="list"] .map-panel{display:none}
  .community-workspace .map-top{top:12px}
  .community-workspace .region-only{font-size:8px;padding:7px}
  .community-workspace .map-modes{top:12px;left:10px}
  .community-workspace .map-modes button{font-size:9px;min-height:31px;padding:0 9px}
  .expand-map{top:59px;right:11px;font-size:10px;min-height:37px}
  .community-workspace .map-bottom{bottom:43px}
  .community-workspace .map-help{font-size:8px;max-width:calc(100% - 24px);text-align:center;white-space:normal;line-height:1.3;bottom:18px}
  .map-peek{left:11px;bottom:108px;width:calc(100% - 72px);max-width:340px;padding:12px 13px 6px;border-radius:12px}
  .peek-heading h3{font-size:16px}
  .peek-heading{margin-bottom:8px}
  .peek-kinds{gap:7px}
  .peek-stories{margin-top:8px}
  .peek-stories>button{min-height:35px}
  .community-workspace .results-panel{border-left:0;border-top:0;min-height:380px;overflow:visible}
  .community-workspace .results-heading{padding:18px 16px 12px}
  .community-workspace .results-tools{margin:0 16px 10px;gap:5px 10px}
  .results-tools select{font-size:12px;min-height:36px}
  .feed-hint{padding:0 16px 12px;font-size:11px}
  .area-brief{margin:0 16px 12px}
  .map-card{padding:17px 16px 10px}
  .map-card strong{font-size:16px}
  .map-card .card-subtitle{font-size:12px}
  .card-actions button{min-height:41px;font-size:11px;padding:5px 8px}
  .card-actions svg{width:15px;height:15px}
  .distance-label{font-size:10px}
  .load-more{font-size:12px;min-height:48px}
  .community-workspace.is-expanded{inset:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);display:flex;flex-direction:column;overflow:hidden}
  .is-expanded .explore-toolbar{position:static;border-radius:0}
  .is-expanded .map-panel{height:auto;flex:1;min-height:0}
  .is-expanded .results-panel{flex:1;overflow:hidden;min-height:0}
  .is-expanded .job-list{overflow-y:auto;flex:1;min-height:0}
  #collapseMap{min-height:33px;padding:0 9px;font-size:10px}
  .map-how{padding-top:23px;gap:18px}
  footer{line-height:1.8}
}
@media(prefers-reduced-motion:reduce){.map-card{transition:none}}
