/* Map workspace: full-width tablet layout, compact controls and accessible report cards. */
html body[data-page="map"]{background:#f3f8f8;color:#163c4e}
html body[data-page="map"] .page-wrap{width:100%!important;max-width:1440px!important;margin:auto;padding:0 0 100px!important}
html body[data-page="map"] .app-shell{width:100%!important;max-width:none!important;min-width:0;margin:0!important;border:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 0 5%,#e5f7f1,transparent 50%),#f8fbfc}
html body[data-page="map"] .main-content{box-sizing:border-box;width:100%!important;max-width:none!important;padding:20px 24px 28px!important;margin:0!important}
html body[data-page="map"] .topbar{box-sizing:border-box;width:100%;border-radius:0;background:#fff}
html body[data-page="map"] .brand-lockup{min-width:0;max-width:none!important;flex:1;overflow:visible}
html body[data-page="map"] .brand-copy{min-width:0;max-width:none;overflow:visible}
html body[data-page="map"] .brand-title{width:auto!important;max-width:none!important;white-space:nowrap;overflow:visible;font-size:19px!important}
html body[data-page="map"] .top-actions{flex:none}
html body[data-page="map"] .ep330-map-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0 2px}
html body[data-page="map"] .ep330-map-title{display:flex;gap:12px;align-items:center;min-width:0}
html body[data-page="map"] .ep330-map-title-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border:1px solid #d1ebe4;border-radius:17px;background:linear-gradient(145deg,#fff,#d6f3e8);box-shadow:inset 0 1px #fff,0 3px 0 #bedfd733,0 5px 12px #2452480c}
html body[data-page="map"] .ep330-map-title-icon svg{width:40px;height:40px;filter:drop-shadow(0 2px 1px #2b52461a)}
html body[data-page="map"] .ep330-map-heading h1{font:750 27px/1.15 Poppins,Arial,sans-serif;letter-spacing:-.04em;margin:0;color:#173e51}
html body[data-page="map"] .ep330-map-heading p{font:400 12px/1.5 Poppins,Arial,sans-serif!important;color:#607984;margin:5px 0 0!important}
html body[data-page="map"] .ep330-report-button{display:inline-flex;justify-content:center;align-items:center;flex:none;gap:8px;min-height:46px;padding:0 18px;border:1px solid #ffbf9c;border-radius:15px;background:linear-gradient(145deg,#ff9974,#f06b5e);box-shadow:inset 0 1px 0 #ffe9d79c,0 3px 0 #cb53493b,0 7px 16px #c8553c18;color:#fff!important;font:750 13px/1.2 Poppins,Arial,sans-serif;text-decoration:none}
html body[data-page="map"] .ep330-report-button svg{width:20px;height:20px}
html body[data-page="map"] .ep330-report-short{display:none}
html body[data-page="map"] .map-dashboard-card{margin:0!important;padding:18px!important;border:1px solid #dbe9e8;border-radius:24px;background:#fff;box-shadow:0 12px 30px #1e4b5510;overflow:visible}
html body[data-page="map"] .map-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:0 0 10px;padding:0!important}
html body[data-page="map"] .map-dashboard-head .section-kicker{font-size:9px;line-height:1.2;letter-spacing:.12em;color:#23897d}
html body[data-page="map"] .map-dashboard-head h2{display:inline-block;margin:3px 9px 0 0;font:750 21px/1.25 Poppins,Arial,sans-serif;letter-spacing:-.025em}
html body[data-page="map"] [data-map-count]{display:inline-block;font:500 11px/1.3 Arial,sans-serif;color:#738a94}
html body[data-page="map"] .map-locate-button{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:42px;height:auto;padding:0 12px;border:1px solid #cbe4e3;border-radius:13px;background:linear-gradient(145deg,#fff,#e6f5f2);box-shadow:inset 0 1px #fff,0 2px 0 #c7dfdc55;color:#226c6d;font:650 12px Arial,sans-serif}
html body[data-page="map"] .map-locate-button span{display:inline!important}
html body[data-page="map"] .map-locate-button svg{width:18px;height:18px}
html body[data-page="map"] .ep330-filter-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin:0 0 14px;z-index:750}
html body[data-page="map"] .map-filter-row{display:flex;min-width:0;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0;padding:0 0 4px;mask-image:linear-gradient(90deg,#000 calc(100% - 12px),transparent)}
html body[data-page="map"] .map-filter-row::-webkit-scrollbar{display:none}
html body[data-page="map"] .map-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;width:auto;min-width:0;min-height:42px;padding:6px 12px;border:1px solid #dfe9eb;border-radius:13px;background:linear-gradient(#fff,#f6f9fa);box-shadow:0 2px 0 #d9e3e733;color:#365565;font:650 12px/1.2 Poppins,Arial,sans-serif;white-space:nowrap;cursor:pointer}
html body[data-page="map"] .ep330-category-icon{width:18px;height:18px;flex:none;color:var(--category-color,#3e7f83);stroke-width:1.8}
html body[data-page="map"] .map-filter.is-active{background:linear-gradient(145deg,#1d5366,#10384c);border-color:#236274;color:#fff;box-shadow:inset 0 1px #97d5d736,0 3px 0 #0e304622}
html body[data-page="map"] .map-filter.is-active .ep330-category-icon{color:#a5efdc}
html body[data-page="map"] .map-more-filters{position:static;margin:0;padding:0;border:0}
html body[data-page="map"] .map-more-filters>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:0 11px;border:1px solid #dce7e9;border-radius:13px;background:#f6faf9;color:#3a6170;font:650 11px/1.2 Poppins,Arial,sans-serif;list-style:none;cursor:pointer}
html body[data-page="map"] .map-more-filters>summary::-webkit-details-marker{display:none}
html body[data-page="map"] .map-more-filters>summary svg{width:15px;height:15px}
html body[data-page="map"] .ep330-extra-panel{position:absolute;right:0;top:49px;box-sizing:border-box;width:min(360px,100%);padding:14px;border:1px solid #d7e7e7;border-radius:17px;background:#fff;box-shadow:0 14px 34px #113b4d26}
html body[data-page="map"] .map-extra-categories{display:flex;flex-wrap:wrap;gap:7px;margin:0}
html body[data-page="map"] .map-extra-categories .map-filter{font-size:11px;min-height:38px;padding:6px 9px}
html body[data-page="map"] .map-status-filter{display:flex;gap:8px;align-items:center;margin-top:12px;color:#3a6070;font-size:12px}
html body[data-page="map"] .map-status-filter select{min-height:42px;min-width:0;flex:1;border:1px solid #d4e4e4;border-radius:10px;padding:6px;background:#fff;color:#294b5c}
html body[data-page="map"] .map-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
html body[data-page="map"] .issue-map-shell{min-width:0;overflow:hidden;border:1px solid #dbe7e5;border-radius:18px}
html body[data-page="map"] #issueMap{width:100%!important;height:clamp(360px,58dvh,650px)!important;min-height:0!important;max-height:none!important;border-radius:17px;background:#edf5ef}
html body[data-page="map"] .leaflet-control-zoom{border:1px solid #d7e3e3;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px #143d4822}
html body[data-page="map"] .leaflet-control-zoom a{width:34px;height:34px;line-height:34px;color:#254f61;font-size:23px}
html body[data-page="map"] .leaflet-control-attribution{font:9px/1.4 Arial,sans-serif;background:#ffffffdf}
/* Raised category pins; symbols carry meaning independently of colour. */
.ep330-marker{border:0;background:none}
.ep330-pin{position:absolute;left:2px;top:0;display:grid;place-items:center;width:36px;height:36px;border:2px solid #fff;border-radius:13px;background:linear-gradient(145deg,color-mix(in srgb,var(--pin-color) 72%,white),var(--pin-color));box-shadow:inset 0 1px 1px #ffffff80,0 3px 0 color-mix(in srgb,var(--pin-color) 80%,black),0 6px 12px #15374938;color:#fff}
.ep330-pin:after{content:"";position:absolute;z-index:-1;bottom:-6px;left:12px;width:9px;height:9px;transform:rotate(45deg);background:var(--pin-color);border-right:2px solid #fff;border-bottom:2px solid #fff}
.ep330-pin .ep330-category-icon{width:22px;height:22px;color:#fff!important}
.ep330-pin-count{position:absolute;right:-7px;top:-7px;min-width:18px;height:18px;padding:0 3px;border:2px solid #fff;border-radius:10px;background:#123a50;color:#fff;font:700 9px/14px Arial;text-align:center}
.ep330-marker:focus-visible{outline:3px solid #113f65;outline-offset:3px;border-radius:14px}
.ep330-marker.is-selected .ep330-pin{outline:3px solid #fff;box-shadow:0 0 0 5px #0d786b66,0 7px 15px #133b4b45}
html body[data-page="map"] .map-selected-issue{display:none!important;min-width:0;margin:0!important;border:1px solid #d6e6e4;border-radius:20px;background:#fff;box-shadow:0 14px 32px #153e4c29}
html body[data-page="map"] .map-selected-issue.has-selection{display:block!important}
html body[data-page="map"] #mapSelectedIssue .map-selected-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:linear-gradient(155deg,#f0faf6,#edf4fb);border-radius:19px}
html body[data-page="map"] #mapSelectedIssue .map-selected-empty>span{font-size:28px;color:#209d8b}
html body[data-page="map"] #mapSelectedIssue .map-selected-empty strong{font:700 18px/1.3 Poppins,Arial,sans-serif;color:#254e60}
html body[data-page="map"] #mapSelectedIssue .map-selected-empty p{font:400 12px/1.6 Arial,sans-serif;color:#6b848e}
html body[data-page="map"] .ep330-selection-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 8px 16px;border-bottom:1px solid #e7eeed}
html body[data-page="map"] .ep330-selection-header strong{color:#40706f;font:700 10px/1.3 Poppins,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
html body[data-page="map"] .ep330-selection-close{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #d8e6e5;border-radius:12px;background:#f4f9f8;color:#315d69;font:400 24px/1 Arial;cursor:pointer}
html body[data-page="map"] #mapSelectedIssue .map-selected-card{display:block!important;min-height:0;border:0;border-radius:0;overflow:hidden;background:#fff}
html body[data-page="map"] #mapSelectedIssue .map-selected-media{display:grid;place-items:center;min-height:0!important;height:150px!important;background:#edf5f1}
html body[data-page="map"] #mapSelectedIssue .map-selected-media img{display:block;object-fit:cover;width:100%;height:100%!important;min-height:0!important;max-height:none!important}
html body[data-page="map"] #mapSelectedIssue .map-selected-media>span{font:500 12px Arial;color:#75958b}
html body[data-page="map"] #mapSelectedIssue .map-selected-body{padding:16px}
html body[data-page="map"] #mapSelectedIssue .map-selected-body>small{font:700 10px/1.3 Poppins,Arial,sans-serif;color:#1b8a79}
html body[data-page="map"] #mapSelectedIssue .map-selected-body h3{font:750 19px/1.25 Poppins,Arial,sans-serif;margin:5px 0 9px;color:#193e52;overflow-wrap:anywhere}
html body[data-page="map"] #mapSelectedIssue .map-selected-body p{display:block!important;font:400 13px/1.55 Arial,sans-serif;margin:0;color:#5e7885;overflow-wrap:anywhere}
html body[data-page="map"] #mapSelectedIssue .map-selected-facts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
html body[data-page="map"] #mapSelectedIssue .map-selected-facts span{border-radius:8px;padding:6px 8px;background:#edf7f3;color:#3d6a64;font:600 10px/1.2 Arial}
html body[data-page="map"] #mapSelectedIssue .map-selected-body .primary-button{display:flex;justify-content:center;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #76caba;border-radius:12px;background:linear-gradient(145deg,#20b29e,#088580);box-shadow:inset 0 1px #ffffff70,0 3px 0 #0d766526;color:#fff;font:700 12px Arial;text-decoration:none}
html body[data-page="map"] .map-quick-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0}
html body[data-page="map"] .map-tool-card{border:1px solid #dce8e7;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 3px 8px #143c4b05}
html body[data-page="map"] .map-tool-card>summary{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;min-height:62px;gap:9px;padding:9px 12px;cursor:pointer;list-style:none}
html body[data-page="map"] .map-tool-card__icon{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#f8fffd,#dcefe8);box-shadow:inset 0 1px #fff,0 2px 0 #c9e0da66}
html body[data-page="map"] .map-tool-card__icon svg{width:21px;height:21px}
html body[data-page="map"] .map-tool-card__copy strong{font:700 13px/1.25 Poppins,Arial,sans-serif}
html body[data-page="map"] .map-tool-card__copy small{white-space:normal;text-overflow:clip;overflow:visible;font:400 10px/1.35 Arial,sans-serif}
html body[data-page="map"] .map-tool-card[open]{grid-column:1/-1}
html body[data-page="map"] .map-tool-card__content--info>p{font-size:12px;line-height:1.6}
html body[data-page="map"] .map-result-list{display:grid;grid-template-columns:1fr;gap:9px;padding:4px}
html body[data-page="map"] .map-result-card{min-width:0;padding:9px;border:1px solid #dce8e6;border-radius:13px;background:#fff}
html body[data-page="map"] .map-result-select{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;width:100%;padding:0;min-width:0;border:0;background:none;text-align:left}
html body[data-page="map"] .map-result-thumb{width:70px;height:74px;border-radius:10px;overflow:hidden}
html body[data-page="map"] .map-result-copy small{font-size:10px}
html body[data-page="map"] .map-result-copy{min-width:0}
html body[data-page="map"] .map-result-copy strong{font-size:14px;line-height:1.3}
html body[data-page="map"] .map-result-copy em{font-size:12px;line-height:1.4}
html body[data-page="map"] .map-result-copy>span,html body[data-page="map"] .map-result-card>a{font-size:10px}
html body[data-page="map"] .map-result-card.is-selected{border-color:#45b8a3;box-shadow:0 0 0 2px #d6f3e9}
html body[data-page="map"] :is(.map-filter,.map-locate-button,.ep330-report-button,.ep330-selection-close,.map-tool-card>summary):focus-visible{outline:3px solid #187c82;outline-offset:3px}
html body[data-page="map"] #ep313Chat .ep313-launch{padding:5px!important;width:50px;height:50px;min-height:50px;justify-content:center;border-radius:18px;right:14px}
html body[data-page="map"] #ep313Chat .ep327-launch-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body[data-page="map"] #ep313Chat .ep313-launch-mark,html body[data-page="map"] #ep313Chat .ep313-launch-mark>svg{width:36px;height:36px}
html body[data-page="map"].ep330-selection-open #ep313Chat .ep313-launch{visibility:hidden;pointer-events:none}
@media(max-width:999px){
 html body[data-page="map"] .map-selected-issue.has-selection{position:fixed;z-index:8400;inset:auto 12px calc(84px + env(safe-area-inset-bottom))!important;width:auto;max-height:min(54dvh,470px);overflow:auto;overscroll-behavior:contain;scroll-margin:0;animation:ep330-sheet-in .2s ease-out}
 html body[data-page="map"] #mapSelectedIssue .map-selected-media{height:116px!important}
 html body[data-page="map"] .ep330-selection-header{position:sticky;top:0;background:#fff;z-index:1}
}
@media(min-width:1000px){
 html body[data-page="map"] .map-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
 html body[data-page="map"] .map-selected-issue{display:block!important;position:static!important;max-height:650px;overflow:auto;box-shadow:0 4px 18px #1e4e5610}
 html body[data-page="map"] .map-result-list{grid-template-columns:1fr 1fr}
}
@media(max-width:1100px){
 html body[data-page="map"] .topbar{padding:12px 18px!important;min-height:74px!important}
 html body[data-page="map"] .top-actions{gap:6px!important}
 html body[data-page="map"] .topbar :is(.topbar-button,.top-auth-action,.avatar-button){width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:13px!important}
 html body[data-page="map"] .brand-mark-image{width:40px;height:40px}
 html body[data-page="map"] .top-write-article{display:none!important}
}
@media(max-width:650px){
 html body[data-page="map"] .main-content{padding:14px 12px 20px!important}
 html body[data-page="map"] .topbar{padding:10px 12px!important;gap:7px!important;min-height:68px!important}
 html body[data-page="map"] .topbar :is(.topbar-button,.top-auth-action,.avatar-button){width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:12px!important}
 html body[data-page="map"] .brand-mark-image{display:none!important}
 html body[data-page="map"] .brand-title{font-size:15px!important;letter-spacing:-.5px}
 html body[data-page="map"] .brand-title small{display:none}
 html body[data-page="map"] .location-chip{font-size:10px!important}
 html body[data-page="map"] .top-actions{gap:4px!important}
 html body[data-page="map"] .ep330-map-heading{gap:10px;margin-bottom:13px}
 html body[data-page="map"] .ep330-map-title{gap:8px}
 html body[data-page="map"] .ep330-map-title-icon{width:34px;height:37px;border-radius:12px}
 html body[data-page="map"] .ep330-map-title-icon svg{width:30px;height:30px}
 html body[data-page="map"] .ep330-map-heading h1{font-size:19px;line-height:1.16}
 html body[data-page="map"] .ep330-map-heading p{display:none}
 html body[data-page="map"] .ep330-report-button{min-height:42px;padding:0 11px;gap:6px;font-size:12px;border-radius:13px}
 html body[data-page="map"] .ep330-report-wide{display:none}
 html body[data-page="map"] .ep330-report-short{display:inline}
 html body[data-page="map"] .map-dashboard-card{padding:10px!important;border-radius:20px}
 html body[data-page="map"] .map-dashboard-head{margin-bottom:9px;min-height:45px}
 html body[data-page="map"] .map-dashboard-head h2{font-size:18px}
 html body[data-page="map"] .map-dashboard-head .section-kicker{font-size:8px}
 html body[data-page="map"] [data-map-count]{font-size:10px}
 html body[data-page="map"] .map-locate-button{font-size:11px;padding:0 9px}
 html body[data-page="map"] .ep330-filter-toolbar{gap:7px;margin-bottom:10px}
 html body[data-page="map"] .map-filter{font-size:11px;min-height:40px;padding:6px 10px;gap:5px}
 html body[data-page="map"] .map-more-filters>summary{font-size:10px;min-height:40px;padding:0 9px}
 html body[data-page="map"] .ep330-category-icon{width:16px;height:16px}
 html body[data-page="map"] #issueMap{height:clamp(280px,calc(100dvh - 320px),430px)!important}
 html body[data-page="map"] .map-quick-tools{gap:8px;margin-top:10px}
 html body[data-page="map"] .map-tool-card>summary{grid-template-columns:26px minmax(0,1fr) 12px;min-height:58px;padding:8px;gap:6px}
 html body[data-page="map"] .map-tool-card__icon{width:26px;height:30px;border-radius:9px}
 html body[data-page="map"] .map-tool-card__icon svg{width:17px;height:17px}
 html body[data-page="map"] .map-tool-card__copy strong{font-size:11px}
 html body[data-page="map"] .map-tool-card__copy small{font-size:9px}
}
@media(max-width:360px){
 html body[data-page="map"] .top-auth-action{display:none!important}
 html body[data-page="map"] .ep330-map-heading h1{font-size:17px}
 html body[data-page="map"] .ep330-map-title-icon{display:none}
 html body[data-page="map"] .map-tool-card>summary{grid-template-columns:minmax(0,1fr) 12px}
 html body[data-page="map"] .map-tool-card__icon{display:none}
}
@keyframes ep330-sheet-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){html body[data-page="map"] .map-selected-issue.has-selection{animation:none}}

/* 331: prevent the legacy icon-only width from squeezing the location label. */
html body[data-page="map"] .map-locate-button{
 box-sizing:border-box;flex:0 0 auto;width:auto!important;min-width:88px!important;max-width:none!important;
 height:40px!important;min-height:40px!important;padding:0 10px!important;gap:6px!important;
 white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;
 font:650 12px/1 Arial,sans-serif!important;
}
html body[data-page="map"] .map-locate-button span{
 display:inline!important;flex:0 0 auto;width:auto!important;white-space:nowrap!important;
 overflow-wrap:normal!important;word-break:normal!important;font:inherit!important;
}
html body[data-page="map"] .map-locate-button .ui-icon{flex:0 0 16px;width:16px!important;height:16px!important}
html body[data-page="map"] .map-filter{font-size:12px!important}
html body[data-page="map"] .map-dashboard-head .section-kicker{font-size:9px!important;line-height:1.2!important}
@media(max-width:999px){
 html body[data-page="map"] #issueMap{
  height:var(--ep331-map-height,clamp(160px,calc(100svh - 330px),480px))!important;
  min-height:0!important;max-height:none!important;
 }
}
@media(max-width:650px){
 html body[data-page="map"] .topbar{min-height:58px!important;padding:8px 12px!important}
 html body[data-page="map"] .main-content{padding-top:10px!important}
 html body[data-page="map"] .ep330-map-heading{margin-bottom:10px}
 html body[data-page="map"] .ep330-map-heading h1{font-size:18px}
 html body[data-page="map"] .map-dashboard-head{min-height:40px;margin-bottom:8px}
 html body[data-page="map"] .map-dashboard-head>div{min-width:0}
 html body[data-page="map"] .map-dashboard-head h2{font-size:17px}
 html body[data-page="map"] .map-dashboard-head .section-kicker{font-size:8px}
 html body[data-page="map"] #issueMap{
  height:var(--ep331-map-height,clamp(140px,calc(100svh - 330px),330px))!important;
 }
 html body[data-page="map"] .map-quick-tools{margin-top:8px}
 html body[data-page="map"] .map-tool-card>summary{min-height:44px;padding:6px 8px}
 html body[data-page="map"] .map-tool-card__copy small{display:none}
 html body[data-page="map"] .map-tool-card__icon{height:28px}
}
@media(max-width:360px){html body[data-page="map"] .ep330-map-heading h1{font-size:17px}}
