/* Map-only overrides. Search and marketing pages retain their existing layout. */
body:has(.fp-unified-map){overflow:hidden!important}
body:has(.fp-unified-map) .fpc-footer,body:has(.fp-unified-map) footer{display:none!important}
.fp-unified-map{position:fixed!important;inset:118px 0 auto!important;height:calc(100dvh - 118px);width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#edf3f3;z-index:20;box-sizing:border-box}
.fp-unified-map.fp-map-workspace{inset:auto 0 auto!important;display:flex;flex-direction:column}
.fp-map-workspace *{box-sizing:border-box}
.fp-map-workspace button,.fp-map-workspace select,.fp-map-workspace input{font-size:14px!important;min-height:44px}
.fp-map-workspace button,.fp-map-workspace a{touch-action:manipulation}
.fp-map-workspace button{cursor:pointer;background:#fff;color:#164b48;border:1px solid #8caeac;border-radius:8px;padding:8px 12px}
.fp-map-workspace .fpc-filterbox{border:0!important;border-radius:0!important;background:white;margin:0!important;padding:10px 16px!important;box-shadow:0 1px 5px #153c4920;z-index:4;flex:none}
.fp-map-workspace-toolbar{display:grid;grid-template-columns:auto minmax(160px,1fr) 150px auto auto;align-items:center;gap:10px;max-width:1600px;margin:auto}
.fp-map-workspace-title{font-size:20px!important;margin:0!important;padding-right:10px}
.fp-map-workspace-toolbar .fpc-searchbar{margin:0!important;display:flex!important;gap:6px;border-radius:0!important;overflow:visible!important;min-width:0}
.fp-map-workspace-toolbar .fpc-searchbar input{min-width:0!important;width:100%;flex:1;border-radius:8px!important;appearance:none;font-size:16px!important;height:44px}
.fp-map-workspace-toolbar .fpc-searchbar button{flex:none;background:#11665e;color:#fff;border-color:#11665e}
.fp-map-workspace-toolbar>label{font-size:0;display:block;margin:0}
.fp-map-workspace-toolbar select{height:44px;padding:8px!important}
.fp-map-workspace-toolbar .fp-map-results-button[aria-expanded=true]{background:#e5f2ef;border-color:#11665e}
.fp-map-workspace .fp-search-progress{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
.fp-map-workspace #fp-search-output,.fp-map-workspace #fp-search-output.fp-map-results{position:relative;flex:1;min-height:0!important;display:block!important;border:0!important;padding:0!important;margin:0!important;border-radius:0;background:transparent}
.fp-map-workspace #fp-search-map-panel{position:absolute!important;inset:0!important;height:100%!important;align-self:stretch!important;margin:0!important;min-width:0;transition:none}
.fp-map-workspace .fp-search-map-stage,.fp-map-workspace #fp-search-map{position:absolute;inset:0;height:100%!important;min-height:0!important;max-height:none!important;width:100%;border:0!important;border-radius:0!important}
.fp-map-workspace #fp-results-status{position:absolute;top:12px;left:12px;z-index:600;max-width:min(430px,calc(100% - 76px));min-height:0!important;margin:0!important;padding:8px 12px;background:#fffffff2;border:1px solid #c3d5d3;border-radius:8px;font-size:12px!important;line-height:1.4;display:block!important;pointer-events:none}
.fp-map-workspace #fp-results-status button{pointer-events:auto}
.fp-map-workspace #fp-search-map-status{position:absolute;top:64px;left:12px;max-width:calc(100% - 76px);z-index:600;background:#fff;padding:8px 12px;margin:0;border-radius:8px;font-size:12px}
.fp-map-workspace #fp-search-map-status:empty{display:none}
.fp-map-workspace .fp-map-floating-controls{position:absolute;right:10px;top:88px;z-index:610;display:grid;gap:8px;justify-items:end}
.fp-map-workspace [data-map-locate]{margin:0!important;font-size:12px!important;padding:8px!important}
.fp-map-workspace .fp-map-legend{position:relative;background:#fff;border:1px solid #8caeac;border-radius:8px;margin:0;max-width:min(330px,calc(100vw - 24px))}
.fp-map-workspace .fp-map-legend summary{padding:10px 12px;min-height:44px;display:block;font-size:12px}
.fp-map-workspace .fp-map-legend [data-map-legend]{padding:10px 14px;display:grid;max-height:35dvh;overflow:auto}
.fp-map-workspace .fp-map-geometry-note{font-size:12px;line-height:1.4;padding:0 14px 12px;margin:0;max-width:300px}
.fp-map-workspace .fp-map-actions{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:620;margin:0!important;display:flex;flex-wrap:nowrap;gap:6px;max-width:calc(100% - 24px)}
.fp-map-workspace .fp-map-actions button{font-size:12px!important;white-space:nowrap;box-shadow:0 2px 8px #153c4920}
.fp-map-workspace [data-clear-area]{display:none!important}
.fp-map-workspace .fp-map-bottom-tools{position:absolute;bottom:28px;left:12px;z-index:610;display:flex;gap:8px}
.fp-map-workspace .fp-map-bottom-tools>a,.fp-map-workspace .fp-map-bottom-tools>button{background:#fff;padding:10px 12px;min-height:44px;border:1px solid #8caeac;border-radius:8px;font-size:12px;display:flex;align-items:center}
.fp-map-workspace #fp-search-map-selection{bottom:82px!important;max-height:45%;left:12px;right:12px;max-width:420px;z-index:650;padding:14px!important}
.fp-map-workspace .fp-map-results-drawer{display:none}
.fp-map-workspace .fp-map-results-drawer #fp-search-results{display:block!important;overflow:auto;min-height:0;max-height:none!important;padding:10px!important;flex:1}
.fp-map-workspace .fp-result-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px}
.fp-map-workspace .fp-result{border-top-width:3px}
.fp-map-workspace .fp-result-visual{display:none!important}
.fp-map-workspace .fp-result-body{padding:14px!important}
.fp-map-workspace .fp-result-body h3{font-size:17px!important;margin:8px 0}
.fp-map-workspace .fp-result-summary,.fp-map-workspace .fp-type-basis{display:none}
.fp-map-workspace .fp-result-meta{font-size:12px}
.fp-map-workspace .fp-result-action{min-height:36px;font-size:13px}
.fp-map-workspace .fp-map-list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #c7d9d6;flex:none}
.fp-map-workspace .fp-map-list-heading h2{font-size:15px;margin:0}
.fp-map-workspace .fp-map-list-heading button{font-size:12px!important}
.fp-map-workspace .fp-map-search-retry{position:absolute;top:95px;left:12px;z-index:630}
.fp-map-workspace .fp-map-filter-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #aac3bf;border-radius:14px;background:#fff;color:#153d45;box-shadow:0 12px 60px #12384050}
.fp-map-filter-dialog::backdrop{background:#092e3e65}
.fp-map-filter-dialog[open]{display:flex;flex-direction:column}
.fp-map-dialog-header,.fp-map-dialog-footer{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d3e1df;flex:none}
.fp-map-dialog-header h2{font-size:21px;margin:0}
.fp-map-dialog-body{padding:16px 18px;overflow:auto;min-height:0;overscroll-behavior:contain}
.fp-map-dialog-body>label{display:grid;gap:6px;font-weight:650}
.fp-map-dialog-body .fp-refine>summary{display:none}
.fp-map-dialog-body .fp-refine-grid,.fp-map-dialog-body [data-listed-controls]{grid-template-columns:repeat(2,minmax(0,1fr))}
.fp-map-dialog-body .fp-refine-grid>label:last-child{grid-column:1/-1}
.fp-map-dialog-body label{min-width:0}
.fp-map-dialog-body p{font-size:12px;line-height:1.5}
.fp-map-dialog-footer{border:0;border-top:1px solid #d3e1df}
.fp-map-dialog-footer .fp-map-apply{width:100%;background:#11665e;color:#fff;font-weight:700}


.fp-map-results-drawer{padding-top:0;}

@media(min-width:1000px){
 .fp-map-workspace.fp-map-list-open #fp-search-map-panel{left:340px!important}
 .fp-map-workspace.fp-map-list-open .fp-map-results-drawer{position:absolute;inset:0 auto 0 0;width:340px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #bdd1cd;z-index:620}
 .fp-map-workspace.fp-map-list-open #fp-results-status{left:352px}
 .fp-map-workspace.fp-map-list-open .fp-map-search-retry{left:352px}
 .fp-map-workspace .fp-map-actions{top:64px}
}
@media(max-width:999px){
 .fp-unified-map{top:66px!important;height:calc(100dvh - 66px)}
 .fp-map-workspace .fpc-filterbox{padding:8px 10px!important}
 .fp-map-workspace-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
 .fp-map-workspace-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .fp-map-workspace-toolbar .fpc-searchbar{grid-column:1/-1}
 .fp-map-workspace-toolbar>label{min-width:0}
 .fp-map-workspace-toolbar select,.fp-map-workspace-toolbar>button{width:100%;height:44px}
 .fp-map-workspace .fp-map-actions{top:64px;left:12px;transform:none;max-width:calc(100% - 120px)}
 .fp-map-workspace.fp-map-list-open .fp-map-results-drawer{position:absolute;bottom:0;left:0;right:0;height:62%;display:flex;flex-direction:column;background:#fff;z-index:700;border-radius:16px 16px 0 0;box-shadow:0 -5px 25px #123b4930}
 .fp-map-workspace #fp-search-map-selection{bottom:80px;max-height:45%}
 .fp-map-workspace .fp-map-filter-dialog{width:100%;max-height:92dvh;inset:auto 0 0;margin:0;border-radius:16px 16px 0 0}
 .fp-map-dialog-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .fp-map-dialog-body .fp-refine-grid,.fp-map-dialog-body [data-listed-controls]{grid-template-columns:minmax(0,1fr)}
 .fp-map-workspace .fp-map-bottom-tools{gap:6px}
}
@media(max-height:500px){.fp-map-workspace #fp-search-map-selection{bottom:28px!important;max-height:65%;max-width:340px}.fp-map-workspace .fp-map-bottom-tools{display:none}}

.fp-map-workspace .fp-result-action[href^="/search?"]{display:none}
.fp-map-workspace .fp-result-details{font-size:12px;line-height:1.45}
.fp-map-workspace .fp-result-details p{margin:6px 0}
.fp-map-workspace .fp-type-basis{display:block;font-size:11px}

.fp-map-workspace-toolbar .fpc-searchbar{width:100%!important}
@media(min-width:600px) and (max-height:500px){
 .fp-map-workspace-toolbar{grid-template-columns:minmax(180px,1fr) 130px auto auto}
 .fp-map-workspace-toolbar .fpc-searchbar{grid-column:auto}
}
/* Location shortcuts stay reachable without forcing horizontal scrolling. */
.fp-map-workspace .fp-map-bottom-tools{flex-wrap:wrap;max-width:calc(100% - 24px)}
.fp-map-workspace .fp-map-bottom-tools>select{background:#fff;color:#164b48;border:1px solid #8caeac;border-radius:8px;padding:8px;min-height:44px}
@media(max-width:600px){.fp-map-workspace .fp-map-bottom-tools>select{flex-basis:100%;max-width:190px}}
