#content .crm-event-map{padding:20px!important;max-width:none!important}
.crm-map-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.crm-map-heading h2{margin:3px 0 0;font-size:23px;color:#1e3048}
.crm-map-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--crm-accent,#eb008b);font-weight:700}
.crm-map-export{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap}
#content .crm-event-map .crm-map-export button{background:#fff!important;color:#3b526e!important;border:1px solid #dce5ee!important;box-shadow:none!important;font-size:12px!important;line-height:1.2!important;border-radius:10px!important;padding:10px 12px!important;min-height:40px!important}
#content .crm-event-map .crm-map-export [data-map-pdf]{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;background:var(--crm-accent,#eb008b)!important;color:#fff!important;border-color:var(--crm-accent,#eb008b)!important;font-weight:700!important}
#content .crm-event-map button:disabled{opacity:.5!important;cursor:default!important}
.crm-map-filters{display:grid;grid-template-columns:minmax(170px,240px) minmax(200px,1fr) auto;gap:14px;align-items:end;margin:0 0 14px}
.crm-map-filters>label{min-width:0;margin:0;font-size:12px;color:#657a94}
.crm-map-filters input[type=search],.crm-map-filters select{width:100%;min-width:0;margin-top:5px;min-height:40px;padding:8px 10px;font-size:13px;border:1px solid #d9e3ee;border-radius:9px;background:#fff;color:#243b57}
.crm-map-filters .crm-map-name-choice{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 5px;white-space:nowrap;color:#334c68}
.crm-map-name-choice input{width:16px;height:16px;accent-color:var(--crm-accent,#eb008b);margin:0}
.crm-map-summary{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px}
.crm-map-summary>span{font-size:12px;background:#f2f6fb;color:#5b728e;border:1px solid #e6edf5;padding:7px 10px;border-radius:9px}
.crm-map-summary strong{font-size:15px;color:#233b58;margin-right:4px}
.crm-map-warning{padding:10px 13px;border:1px solid #edd7af;border-radius:10px;background:#fff9ed;color:#856228;font-size:13px}
.crm-map-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,30%);gap:18px;align-items:start}
.crm-map-visual{min-width:0;position:relative;background:#f8fbfe;border:1px solid #dce6f0;border-radius:16px;overflow:hidden}
.crm-map-controls{display:flex;justify-content:flex-end;align-items:center;gap:5px;padding:10px 12px 0}
#content .crm-event-map .crm-map-controls button{background:#fff!important;color:#334c68!important;border:1px solid #d5e0ec!important;padding:5px 9px!important;min-width:32px!important;min-height:32px!important;border-radius:8px!important;font-size:14px!important;line-height:1!important;box-shadow:none!important}
#content .crm-event-map .crm-map-controls [data-map-zoom=reset]{font-size:11px!important;padding-inline:12px!important}
.crm-map-canvas{width:100%;touch-action:none;cursor:grab;overflow:hidden}
.crm-map-canvas:active{cursor:grabbing}
#content .crm-map-canvas .crm-map-svg{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:900/740;stroke:none}
.crm-map-marker{cursor:pointer}
.crm-map-marker:focus-visible{outline:none}
.crm-map-marker:focus-visible>circle:last-of-type{stroke:var(--crm-accent,#eb008b);stroke-width:3}
.crm-map-legend{display:flex;justify-content:center;align-items:center;gap:6px 13px;flex-wrap:wrap;padding:7px 12px;font-size:10px;color:#536c88}
.crm-map-legend>span{display:inline-flex;align-items:center;gap:5px}
#content .crm-map-legend svg{width:10px!important;height:10px!important;flex:none;stroke:none}
.crm-map-help{font-size:11px;line-height:1.45;color:#68809c;padding:2px 14px 12px;margin:0}
.crm-map-directory{position:relative;inset:auto;width:auto;padding:0;display:block;background:#fff;border:1px solid #dfe7f0;border-radius:14px;min-width:0;max-height:640px;overflow:auto}
.crm-map-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid #e6edf5;position:sticky;top:0;background:#fff;z-index:1}
.crm-map-directory-heading h3{margin:0;font-size:14px;color:#263d57}
.crm-map-directory-heading h3 span{font-size:12px;font-weight:500;color:#8293a9}
#content .crm-event-map .crm-map-directory-heading button{background:transparent!important;color:var(--crm-accent,#eb008b)!important;border:0!important;font-size:11px!important;padding:4px 0!important;min-height:25px!important;box-shadow:none!important}
#content .crm-event-map .crm-map-list>button{all:unset!important;box-sizing:border-box!important;display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;padding:12px 14px!important;border-bottom:1px solid #edf2f8!important;color:#334c68!important;background:#fff!important;font-family:inherit!important;cursor:pointer!important}
#content .crm-event-map .crm-map-list>button:hover{background:#f7faff!important}
#content .crm-event-map .crm-map-list>button:focus-visible{outline:2px solid var(--crm-accent,#eb008b)!important;outline-offset:-2px!important}
.crm-map-list-number{display:flex;justify-content:center;align-items:center;flex:0 0 26px;height:26px;border-radius:8px;background:#fcebf5;color:var(--crm-accent,#eb008b);font-size:11px;margin-top:2px}
.crm-map-list button>span{min-width:0;overflow-wrap:anywhere}
.crm-map-list strong{display:block;font-size:12px;font-weight:650;line-height:1.4;color:#243b57}
.crm-map-list small{display:block;font-size:11px;color:#8495aa;line-height:1.5;margin-top:3px}
.crm-map-list>.muted{padding:15px;font-size:13px}
.crm-map-company-card{padding:14px 15px;border-bottom:1px solid #e6edf5;overflow-wrap:anywhere}
.crm-map-company-card h4{display:flex;gap:8px;align-items:start;font-size:14px;line-height:1.45;margin:0 0 8px;color:#253e59}
.crm-map-company-card h4>span{font-size:11px;background:#fcebf5;color:var(--crm-accent,#eb008b);padding:3px 7px;border-radius:6px;flex:none}
.crm-map-company-card>p{font-size:11px;line-height:1.6;color:#7388a2;margin:5px 0}
.crm-map-company-card .crm-map-precision{color:#47796f}
.crm-map-company-card ul{list-style:none;margin:12px 0;padding:0}
.crm-map-company-card li{border-left:2px solid #e0e8f3;padding:2px 0 2px 9px;margin:8px 0}
.crm-map-company-card li strong{font-size:12px;font-weight:600;color:#334c68}
.crm-map-company-card li small{display:block;font-size:11px;color:#8595a9;margin-top:2px}
.crm-map-company-card .text-link{font-size:11px}
.crm-map-missing{padding:12px 14px;background:#fff8f1;border:1px solid #f0e0cd;border-radius:11px;margin-top:12px;color:#916b39;font-size:12px}
.crm-map-missing summary{cursor:pointer;font-weight:600}
.crm-map-missing>p,.crm-map-missing li{font-size:12px;line-height:1.6}
.crm-map-missing ul{max-height:220px;overflow:auto;margin-bottom:0}
.crm-map-source{font-size:10px!important;line-height:1.6;color:#8b9ab0;margin:13px 0 0}
.crm-map-source a{color:inherit;text-decoration:underline}
@media(max-width:1050px){.crm-map-layout{grid-template-columns:minmax(0,1fr) 270px}.crm-map-filters{grid-template-columns:minmax(140px,200px) 1fr}.crm-map-filters .crm-map-name-choice{grid-column:1/-1;min-height:24px;padding:0}}
@media(max-width:760px){#content .crm-event-map{padding:14px!important}.crm-map-heading h2{font-size:19px}.crm-map-layout{grid-template-columns:1fr}.crm-map-directory{max-height:380px}.crm-map-filters{grid-template-columns:1fr}.crm-map-heading{gap:10px}.crm-map-export{gap:5px}#content .crm-event-map .crm-map-export [data-map-refresh]{padding:8px!important;font-size:10px!important}.crm-map-summary{gap:5px}.crm-map-summary>span{font-size:10px;padding:6px 8px}}

/* Match the compact event workspaces while keeping map geometry and data intact. */
html body #shell main #content #crm-event-map-workspace{box-sizing:border-box!important;min-width:0!important;margin:0!important;padding:12px!important;border:1px solid #dfe5ef!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;font-family:Visby,Arial,sans-serif!important;color:#23364f!important}
html body #shell main #content #crm-event-map-heading{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;min-height:60px!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #e7dcea!important;border-left:4px solid var(--crm-accent,#eb008b)!important;border-radius:12px!important;background:linear-gradient(110deg,#fff1f8,#f7f8fc)!important;box-shadow:none!important}
html body #shell main #content #crm-event-map-heading h2{display:flex!important;align-items:center!important;gap:10px!important;flex:0 1 auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#23364f!important;font:600 20px/1.3 Visby,Arial,sans-serif!important;letter-spacing:0!important;text-shadow:none!important}
html body #shell main #content #crm-event-map-heading h2>svg{flex:0 0 36px!important;width:36px!important;height:36px!important;box-sizing:border-box!important;padding:8px!important;margin:0!important;border:1px solid #ead6ec!important;border-radius:10px!important;background:#fff!important;color:var(--crm-accent,#eb008b)!important}
html body #shell main #content #crm-event-map-heading .crm-map-export{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;gap:6px!important;margin:0!important}
html body #shell main #content #crm-event-map-workspace :is(.crm-map-export button,.crm-map-controls button,[data-map-clear],a.crm-map-open){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-sizing:border-box!important;width:auto!important;min-width:36px!important;max-width:100%!important;min-height:36px!important;height:36px!important;margin:0!important;padding:7px 10px!important;border:1px solid #d9dfed!important;border-radius:8px!important;background:#fff!important;color:#405574!important;font:600 13px/1.3 Visby,Arial,sans-serif!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:none!important}
html body #shell main #content #crm-event-map-workspace :is(.crm-map-export button,.crm-map-controls button,[data-map-clear],a.crm-map-open)>svg{flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important}
html body #shell main #content #crm-event-map-workspace :is(.crm-map-export button,.crm-map-controls button,[data-map-clear],a.crm-map-open)>span{font:inherit!important;color:inherit!important}
html body #shell main #content #crm-event-map-workspace :is([data-map-refresh],[data-map-zoom=in],[data-map-zoom=out]){width:36px!important;min-width:36px!important;padding:8px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-filters{display:grid!important;grid-template-columns:minmax(150px,210px) minmax(0,1fr) auto!important;align-items:end!important;gap:10px!important;margin:0 0 8px!important;padding:10px 12px!important;border:1px solid #e1e6ef!important;border-radius:10px!important;background:#fafbfe!important}
html body #shell main #content #crm-event-map-workspace .crm-map-filters>label{display:block!important;min-width:0!important;margin:0!important;font:400 12px/1.4 Visby,Arial,sans-serif!important;color:#66748b!important}
html body #shell main #content #crm-event-map-workspace .crm-map-filters :is(input[type=search],select){box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;margin-top:4px!important;padding:7px 10px!important;border:1px solid #d9dfed!important;border-radius:8px!important;background:#fff!important;color:#23364f!important;font:400 13px/1.3 Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-filters .crm-map-name-choice{display:flex!important;align-items:center!important;gap:7px!important;min-height:36px!important;padding:0!important;font-size:13px!important;white-space:normal!important;color:#405574!important}
html body #shell main #content #crm-event-map-workspace .crm-map-name-choice input{flex:0 0 17px!important;width:17px!important;height:17px!important;min-height:17px!important;margin:0!important;accent-color:var(--crm-accent,#eb008b)!important}
html body #shell main #content #crm-event-map-workspace .crm-map-summary{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;margin:0 0 10px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-summary>span{display:inline-flex!important;align-items:baseline!important;gap:4px!important;min-height:28px!important;margin:0!important;padding:5px 8px!important;border:1px solid #e4e9f1!important;border-radius:7px!important;background:#fafbfe!important;color:#66748b!important;font:400 12px/1.3 Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-summary strong{margin:0!important;font:600 14px/1.3 Visby,Arial,sans-serif!important;color:#23364f!important}
html body #shell main #content #crm-event-map-workspace .crm-map-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,30%)!important;gap:12px!important;align-items:start!important;min-width:0!important}
html body #shell main #content #crm-event-map-workspace .crm-map-visual{min-width:0!important;border-radius:11px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-canvas{width:100%!important;max-width:min(900px,calc(65vh * 900 / 740))!important;margin:0 auto!important}
html body #shell main #content #crm-event-map-workspace .crm-map-controls{gap:6px!important;padding:8px 10px 0!important}
html body #shell main #content #crm-event-map-workspace .crm-map-directory{min-width:0!important;max-height:min(720px,calc(65vh + 110px))!important;border-radius:11px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-directory-heading{gap:8px!important;padding:10px 12px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-directory-heading h3{display:flex!important;align-items:center!important;gap:6px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font:600 15px/1.35 Visby,Arial,sans-serif!important;color:#23364f!important;letter-spacing:0!important;text-shadow:none!important}
html body #shell main #content #crm-event-map-workspace .crm-map-directory-heading h3>svg{flex:0 0 17px!important;width:17px!important;height:17px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--crm-accent,#eb008b)!important}
html body #shell main #content #crm-event-map-workspace .crm-map-directory-heading h3 span{font:400 12px/1.35 Visby,Arial,sans-serif!important;color:#66748b!important}
html body #shell main #content #crm-event-map-workspace .crm-map-list>button{min-width:0!important;min-height:48px!important;padding:9px 11px!important;gap:8px!important;border-radius:0!important}
html body #shell main #content #crm-event-map-workspace .crm-map-list-number{flex:0 0 24px!important;width:24px!important;height:24px!important;margin-top:1px!important;border-radius:7px!important;font:600 11px/24px Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-list strong{font:600 13px/1.35 Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-list small{font:400 11px/1.4 Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-company-card{padding:11px 12px!important}
html body #shell main #content #crm-event-map-workspace .crm-map-company-card h4{font:600 14px/1.4 Visby,Arial,sans-serif!important;color:#23364f!important}
html body #shell main #content #crm-event-map-workspace .crm-map-company-card :is(p,li,small){font-family:Visby,Arial,sans-serif!important;font-size:12px!important;line-height:1.45!important}
html body #shell main #content #crm-event-map-workspace .crm-map-help{padding:3px 10px 9px!important;font:400 11px/1.4 Visby,Arial,sans-serif!important}
html body #shell main #content #crm-event-map-workspace .crm-map-source{margin-top:9px!important;font:400 10px/1.4 Visby,Arial,sans-serif!important}
@media(max-width:1050px){html body #shell main #content #crm-event-map-workspace .crm-map-filters{grid-template-columns:minmax(140px,180px) minmax(0,1fr)!important}html body #shell main #content #crm-event-map-workspace .crm-map-filters .crm-map-name-choice{grid-column:1/-1!important;min-height:24px!important}}
@media(max-width:900px){html body #shell main #content #crm-event-map-workspace .crm-map-layout{grid-template-columns:1fr!important}html body #shell main #content #crm-event-map-workspace .crm-map-directory{max-height:360px!important}}
@media(max-width:600px){html body #shell main #content #crm-event-map-workspace{padding:9px!important}html body #shell main #content #crm-event-map-heading{gap:8px!important;padding:9px 10px!important}html body #shell main #content #crm-event-map-heading .crm-map-export{flex:1 1 100%!important;justify-content:flex-end!important}html body #shell main #content #crm-event-map-workspace .crm-map-filters{grid-template-columns:1fr!important;gap:8px!important;padding:9px!important}html body #shell main #content #crm-event-map-workspace .crm-map-summary{gap:5px!important}html body #shell main #content #crm-event-map-workspace .crm-map-summary>span{padding:4px 6px!important;font-size:11px!important}html body #shell main #content #crm-event-map-workspace .crm-map-summary strong{font-size:13px!important}}

html body #shell main #content #crm-event-map-workspace aside.crm-map-directory{box-sizing:border-box!important;position:relative!important;inset:auto!important;display:block!important;float:none!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:auto!important;grid-column:auto!important}
