.map-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.map-heading h1{margin-bottom:12px}.map-heading p:last-child{margin:0;color:var(--muted)}.map-module{margin-bottom:45px}.map-filters{display:grid;grid-template-columns:2fr repeat(4,1fr) auto;gap:12px;background:#fff;border:1px solid var(--border);padding:18px;border-radius:10px 10px 0 0;align-items:end}.map-filters label{font-size:.72rem;font-weight:600;display:grid;gap:5px;min-width:0}.map-filters input,.map-filters select{width:100%;min-width:0}.map-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid var(--border);border-top:0;background:white;border-radius:0 0 10px 10px;overflow:hidden}.map-stage{position:relative;min-width:0}.map-canvas{height:620px;min-height:380px;background:var(--primary-soft,#edf2f7);color:#20334d}.map-canvas img{max-width:none}.map-list-panel{border-right:1px solid var(--border);min-width:0}.map-list-heading{padding:19px;border-bottom:1px solid var(--border);display:grid;gap:4px}.map-list-heading span{font-size:.7rem;color:var(--muted)}.map-results{height:543px;overflow-y:auto}.map-result{padding:18px;border-bottom:1px solid var(--border)}.map-result h3{font-size:.84rem!important;line-height:1.5!important;margin:8px 0}.map-result p{font-size:.71rem;color:var(--muted);margin:8px 0}.map-result .button{min-height:32px;padding:6px 10px;font-size:.68rem}.map-result-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;font-size:.7rem}.map-result-selected{background:var(--primary-soft,#edf2f7);border-left:3px solid var(--primary)}.map-start{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px;flex-direction:column;background:linear-gradient(135deg,#f4f7fb,#e7eef5)}.map-start[hidden]{display:none}.map-start>.icon{height:44px;width:44px;color:var(--primary);margin-bottom:20px}.map-start h2{font-size:1.4rem}.map-start p{max-width:400px;color:var(--muted)}.map-feedback{font-size:.83rem;margin:14px 0;min-height:22px}.map-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:.72rem}.map-legend span{display:flex;gap:6px;align-items:center}.map-dot{display:inline-block;width:10px;height:10px;border-radius:50%}.map-green{background:#398031}.map-amber{background:#ae7409}.map-blue{background:#2468ad}.map-purple{background:#8148a5}.map-disclosure{font-size:.72rem;color:var(--muted);line-height:1.7;margin-top:18px}.map-pin{position:absolute;left:0;top:0;display:grid;place-items:center;width:34px;height:34px;transform:translate(-50%,-100%);border:2px solid white;box-shadow:0 2px 6px #0005;border-radius:50% 50% 50% 3px;color:#fff;cursor:pointer;font-weight:700;font-size:13px;padding:0}.map-pin-cluster{border-radius:50%;width:43px;height:43px;background:#163a59}.map-pin:focus-visible{outline:3px solid #111;outline-offset:3px}.map-popup{max-width:330px;font:14px/1.5 'Segoe UI',Arial,sans-serif;color:#20334d}.map-popup h3{font-size:16px;margin:8px 0}.map-popup p{font-size:13px;margin:9px 0}.map-popup a{color:#19558b;text-decoration:underline}.map-popup-links{display:flex;gap:14px;flex-wrap:wrap}.map-editor-canvas{height:420px;border:1px solid var(--border);border-radius:9px;margin:18px 0}.map-geocode-results{display:grid;gap:8px;margin-top:15px}.map-geocode-results button{text-align:left;padding:13px;background:#f5f8fc;border:1px solid #d6e0ec;border-radius:6px;color:#213b58}.map-module .check{margin:16px 0}.map-results-empty{padding:25px;color:var(--muted);font-size:.85rem}.map-module .attachment-row p{margin:7px 0}.map-result-badge{font-size:.64rem;font-weight:700;color:var(--primary-ink,var(--primary))}
@media(max-width:1100px){.map-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.map-workspace{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:760px){.map-heading{align-items:start}.map-heading>a{display:none}.map-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.map-filters label:first-child{grid-column:1/-1}.map-workspace{display:flex;flex-direction:column-reverse}.map-canvas{height:420px;min-height:340px}.map-list-panel{border-right:0;border-top:1px solid var(--border)}.map-results{height:auto;max-height:430px}.map-start{padding:25px}.map-start h2{font-size:1.15rem}.map-legend{gap:10px}.map-editor-canvas{height:380px}.map-module .attachment-row{align-items:start;flex-wrap:wrap}}

/* Full-width explorer; the document list never covers the map. */
.portal-v2 .map-explorer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 24px 20px}
.portal-v2 .map-explorer-heading .eyebrow{font-size:.58rem;letter-spacing:.12em;margin:0 0 7px}
.portal-v2 .map-explorer-heading h1{font-size:1.8rem;line-height:1.15;margin:0 0 8px}
.portal-v2 .map-explorer-heading p:last-child{font-size:.8rem;color:var(--muted);margin:0}
.map-explorer{width:100%;max-width:none;padding:0 24px;margin:0 0 28px;box-sizing:border-box}
.map-explorer-toolbar{position:relative;display:block;min-height:62px;padding:12px 16px;background:white;border:1px solid var(--border);border-radius:12px 12px 0 0}
.map-filter-disclosure{margin:0;display:block}
.map-filter-disclosure>summary,.map-document-disclosure>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;font-size:.78rem;padding:10px 0}
.map-filter-disclosure>summary::-webkit-details-marker,.map-document-disclosure>summary::-webkit-details-marker{display:none}
.map-filter-disclosure:not([open])>.map-filters{display:none}
.map-filter-disclosure>summary{grid-column:1;grid-row:1;width:fit-content}
.map-filter-caret{font-size:1rem;margin-left:10px}
details[open]>.map-filter-caret,details[open]>summary>.map-filter-caret{transform:rotate(180deg)}
.map-explorer .map-filters{margin-top:12px;border:0;border-top:1px solid var(--border);border-radius:0;padding:15px 0 2px}
.map-explorer-tools{position:absolute;top:12px;right:16px;display:flex;align-items:center;gap:16px;font-size:.72rem;color:var(--muted)}
.map-explorer-tools .button{font-size:.71rem;padding:8px 12px;min-height:36px}
.map-explorer-tools .button:disabled{opacity:.5;cursor:not-allowed}
.map-explorer .icon{width:18px;height:18px;flex-shrink:0}
.map-explorer .map-workspace{display:block;border-radius:0 0 12px 12px;overflow:hidden}
.map-explorer .map-canvas{height:calc(100vh - 255px);height:calc(100svh - 255px);min-height:480px}
.map-explorer .map-start{background:radial-gradient(ellipse at 50% 30%,#fff,#e8eff5);padding:24px}
.map-explorer .map-start>.icon{width:52px;height:52px;padding:10px;background:white;border:1px solid var(--border);border-radius:14px;box-sizing:content-box}
.map-explorer .map-start p{font-size:.87rem;line-height:1.8;max-width:470px}
.map-bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 3px}
.map-bottom-bar p{font-size:.67rem;color:var(--muted);margin:0}
.map-explorer .map-feedback{font-size:.76rem;margin:0 0 15px}
.map-explorer .map-disclosure{margin-top:16px}
.map-document-disclosure{border:1px solid var(--border);background:#fff;border-radius:10px;margin:0}
.map-document-disclosure>summary{padding:16px 18px}
.map-document-disclosure>summary>.map-filter-caret{margin-left:auto}
.map-explorer .map-list-panel{border-right:0;border-top:1px solid var(--border)}
.map-explorer .map-list-heading{padding:12px 18px}
.map-explorer .map-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;max-height:450px;overflow:auto}
.map-explorer .map-result{min-width:0;border-right:1px solid var(--border);overflow-wrap:anywhere}
.map-explorer .map-result h3{font-size:.88rem!important}
.map-pin{width:39px;height:39px;border:2px solid #fff;border-radius:50% 50% 50% 5px;transform:translate(-50%,-112%) rotate(-45deg);box-shadow:0 3px 7px #07192d65;transition:filter .15s}
.map-pin-face{display:grid;place-items:center;width:100%;height:100%;transform:rotate(45deg)}
.map-pin-face svg{width:22px;height:22px;display:block}
.map-pin:hover{filter:brightness(1.13);z-index:2}
.map-pin-cluster{width:46px;height:46px;border:3px solid #fff;border-radius:50%;transform:translate(-50%,-50%);background:#163a59;box-shadow:0 0 0 5px #163a5925,0 2px 6px #0004;font-size:15px}
.map-pin-cluster .map-pin-face{transform:none}
.map-green{background:#288646}.map-amber{background:#ad7007}.map-blue{background:#246abd}.map-purple{background:#8747b1}
.map-popup{max-width:350px}.map-popup-links a{display:inline-block;background:#edf3f9;border:1px solid #d7e2ed;border-radius:6px;padding:7px 9px;font-size:12px;text-decoration:none}
@media(max-width:1100px){.map-bottom-bar{align-items:flex-start;flex-direction:column;gap:10px}.map-explorer .map-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.portal-v2 .map-explorer-heading{padding:20px 16px 16px}.portal-v2 .map-explorer-heading h1{font-size:1.5rem}.map-explorer-heading>a{display:none}.map-explorer{padding:0 10px}.map-explorer-toolbar{padding:10px 12px;gap:8px}.map-explorer-tools{top:12px;right:12px;gap:8px;justify-content:flex-end;max-width:155px}.map-explorer-tools>span{display:none}.map-explorer-tools .button{font-size:.64rem;padding:7px 8px;min-height:34px}.map-filter-disclosure>summary{font-size:.72rem;gap:5px}.map-filter-caret{margin-left:2px}.map-explorer .map-canvas{height:70vh;height:70svh;min-height:440px}.map-explorer .map-workspace{display:block}.map-explorer .map-filters{grid-template-columns:1fr 1fr}.map-explorer .map-filters input,.map-explorer .map-filters select{font-size:16px}.map-explorer .map-results{grid-template-columns:1fr}.map-explorer .map-start h2{font-size:1.15rem}.map-explorer .map-start p{font-size:.8rem}.map-bottom-bar p{line-height:1.7}.map-pin{width:36px;height:36px}.map-pin-cluster{width:43px;height:43px}.map-pin-face svg{width:20px;height:20px}}
