.patch-map-page{max-width:1460px;padding:36px 24px;margin:auto;color:var(--ink)}.map-intro{max-width:800px;margin-bottom:28px}.map-intro h1{font-size:clamp(32px,4vw,48px);margin:8px 0 14px}.map-intro p{line-height:1.65}.patch-map-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.map-filters{padding:24px;background:#fff;border:1px solid var(--line);border-radius:20px;position:sticky;top:100px}.map-filters h2{font-size:22px;margin-top:0}.map-filters fieldset{border:0;padding:0;margin:18px 0}.map-filters legend{font-weight:700;margin-bottom:12px}.map-filters label{display:flex;align-items:center;gap:7px;margin:12px 0;font-size:14px}.map-filters input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#363281;flex-shrink:0}.map-filters select,.map-filters input[type=search]{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #747083;border-radius:10px;padding:10px;background:#fff;font:inherit}.map-filters button{width:100%;margin:14px 0}.map-filters a{font-size:13px;line-height:2}.map-unlocated{align-items:flex-start!important;line-height:1.5}.map-key{display:inline-block;width:11px;height:11px;border-radius:50%;flex-shrink:0}.key-org{background:#373184}.key-event{background:#ac442e}.map-small,.map-help{font-size:13px;color:#535566;line-height:1.6}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.map-toolbar p{font-size:15px;font-weight:600;margin:4px 0}.map-zoom{display:flex;gap:6px}.map-zoom button{padding:8px 12px;min-height:40px;font-size:14px}.map-canvas{position:relative;border:1px solid #b9b6ce;border-radius:20px;overflow:hidden;background:#e8edf2;isolation:isolate}#leeds-live-map{height:570px;width:100%;z-index:0;background:#e5e9ee}.map-canvas .leaflet-container{font-family:Inter,Arial,sans-serif}.map-canvas .leaflet-control-attribution{font-size:10px;max-width:80%;background:#fffffff2}.map-canvas .leaflet-control-layers{font-size:13px;border-radius:12px;max-width:190px}.map-canvas .leaflet-control-layers label{font-size:13px}.map-canvas .leaflet-control-layers input{width:auto;margin-right:5px}.map-canvas .leaflet-control-layers-expanded{padding:12px}.map-canvas .leaflet-control-layers-base label{margin:5px 0}.map-style-simple .leaflet-tile-pane{filter:grayscale(1) contrast(1.15) brightness(1.05)}.map-style-satellite{background:#23352f}.map-marker{display:grid;place-items:center;width:28px;height:28px;border:3px solid white;border-radius:50%;color:white;background:#373184;box-shadow:0 1px 5px #0008;font:700 12px Inter,Arial,sans-serif}.map-marker-event{background:#ac442e}.map-marker.selected{outline:3px solid #131331;outline-offset:3px}.map-marker:focus-visible{outline:4px solid #111}.map-canvas .leaflet-tooltip{white-space:normal;max-width:260px;font:13px/1.5 Inter,Arial,sans-serif;padding:12px;border-radius:10px;color:#202334}.map-canvas .leaflet-popup-content{font:14px/1.55 Inter,Arial,sans-serif;max-width:270px}.map-canvas .leaflet-popup-content a{color:#30296f;text-decoration:underline}.map-canvas .leaflet-popup-close-button{min-width:28px;min-height:28px}.map-north{position:absolute;bottom:35px;left:12px;font-size:12px;font-weight:700;background:white;padding:5px 7px;border-radius:7px;pointer-events:none;z-index:800}.map-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.map-results-heading h2{font-size:27px}.map-results-heading button{font-size:13px;padding:9px 12px}.map-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.map-result{background:#fff;border:1px solid var(--line);padding:22px;border-radius:16px;min-width:0;overflow-wrap:anywhere}.map-result h3{font-size:21px;margin:10px 0}.map-result p{font-size:14px;line-height:1.6}.map-result .map-meta{font-size:12px;color:#535566}.map-result button{font-size:13px;padding:8px 12px}.map-selection{padding:20px;background:#efebff;border:1px solid #bab1dd;border-radius:15px;margin:14px 0}.map-selection h3{margin-top:0;font-size:22px}.map-selection p{font-size:14px;line-height:1.6}.map-method{margin-top:30px;background:white;border:1px solid var(--line);border-radius:15px;padding:20px;font-size:14px;line-height:1.7}.map-method summary{font-weight:700;cursor:pointer}.map-error{padding:20px;border:1px solid #ae5746;background:#fff3ef;border-radius:12px}.map-ward:focus{stroke:#181523;stroke-width:3}.patch-map-page [hidden]{display:none!important}.patch-map-page :focus-visible{outline:3px solid #30296f;outline-offset:3px}.patch-map-page button,.patch-map-page select,.patch-map-page summary{cursor:pointer}
@media(max-width:1000px){.patch-map-layout{grid-template-columns:230px minmax(0,1fr);gap:16px}.map-filters{padding:18px}.map-results{grid-template-columns:1fr}#leeds-live-map{height:510px}}
@media(max-width:720px){.patch-map-page{padding:24px 16px}.patch-map-layout{grid-template-columns:1fr}.map-filters{position:static;padding:18px}.map-filters h2{font-size:22px}.map-filters fieldset{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0}.map-filters legend{float:left;width:100%}.map-filters label{margin:10px 0}.map-filters a{display:inline-block;margin-right:12px}.map-filters br{display:none}#leeds-live-map{height:430px}.map-canvas{border-radius:16px}.map-toolbar{align-items:flex-start}.map-zoom button{min-height:44px}.map-results{grid-template-columns:1fr}.map-results-heading h2{font-size:24px}.map-canvas .leaflet-control-layers{max-width:165px}.map-method{padding:16px}.map-help{font-size:12px}}
@media(prefers-reduced-motion:reduce){.patch-map-page *{scroll-behavior:auto!important;transition:none!important}}

.map-canvas .leaflet-control-attribution,.map-canvas .leaflet-control-attribution a{color:#62666c}.map-canvas .leaflet-control-attribution{font-size:10px;line-height:1.4}

/* Brand headings and map-only categories. */
.patch-map-page h1,.patch-map-page h2,.patch-map-page h3{color:#363281}.map-canvas .leaflet-control-layers label{display:flex;align-items:center;gap:6px;white-space:nowrap}.map-canvas .leaflet-control-layers input{display:inline-block;margin:0;flex:none}.map-canvas .leaflet-control-layers label span{display:inline}.map-filters fieldset label{flex-wrap:nowrap}.map-filters fieldset label span:last-child{margin-left:auto}.key-organisations{background:#373184}.key-events{background:#ac442e}.key-local-updates{background:#377e6b}.key-training{background:#ac702e}.key-funding{background:#42815c}.key-guides{background:#8053a7}.key-jobs{background:#5978a2}.key-volunteering{background:#a44c76}.map-canvas .leaflet-control-attribution,.map-canvas .leaflet-control-attribution a{color:#62666c}.map-canvas .leaflet-control-attribution{font-size:10px;line-height:1.4}.leaflet-container{touch-action:pan-x pan-y}

.map-canvas .leaflet-tooltip.patch-map-tooltip{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;max-width:min(260px,calc(100vw - 70px));width:max-content;box-sizing:border-box;font-size:13px;line-height:1.5}.map-canvas .leaflet-tooltip.patch-map-tooltip strong{white-space:normal!important;display:inline}.map-place-types{border-top:1px solid #ded9e8!important;padding-top:14px!important}.map-place-types label{font-size:13px}.map-filters{max-height:calc(100dvh - 120px);overflow-y:auto}.map-place-types input{min-width:18px}@media(max-width:720px){.map-filters{max-height:none;overflow:visible}.map-place-types{display:block!important}}

.key-organisations{background:#373184}.key-community-centre{background:#537b5b}.key-community-hub-library{background:#ac442e}.key-events{background:#ac442e}
