.eif-bar{position:absolute;top:56px;left:12px;right:100px;z-index:110;display:flex;gap:6px;flex-wrap:wrap;pointer-events:auto}.eif-chip{background:#fff;border:1px solid #dce0e8;border-radius:20px;padding:9px 13px;box-shadow:0 2px 5px #16233a16;font-size:14px;font-weight:700;color:#202838;cursor:pointer}.eif-chip.is-set{border-color:#5b4ae6;background:#f0edff;color:#5040d9}.eif-summary{flex-basis:100%;font-size:12px!important;margin:0!important;color:#283445;background:#fffffff0;width:max-content;flex-grow:0;padding:3px 8px;border-radius:8px;max-width:fit-content}.eif-veil{position:absolute;inset:0;z-index:20000;background:#17243b45}.eif-veil[hidden]{display:none!important}.eif-panel{position:absolute;left:12px;top:12px;width:min(390px,calc(100% - 24px));max-height:calc(100% - 24px);display:flex;flex-direction:column;background:white;border-radius:18px;box-shadow:0 12px 40px #1114;color:#1c2638;overflow:hidden}.eif-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eee}.eif-head h2{font-size:20px!important;margin:0!important}.eif-close{border:0;background:none;font-size:32px;line-height:1;padding:4px 8px;cursor:pointer}.eif-body{overflow:auto;overscroll-behavior:contain;padding:12px 18px}.eif-field{border:0;border-bottom:1px solid #eef0f4;padding:12px 0 16px;margin:0;min-width:0}.eif-field legend{font-size:15px;font-weight:700;padding:0;margin-bottom:8px}.eif-mode{width:47%;margin-right:3%;border:1px solid #ddd;border-radius:10px;background:white;padding:9px;font-size:15px}.eif-mode[aria-pressed=true]{background:#5b4ae6;color:white;border-color:#5b4ae6}.eif-pair{display:flex;gap:12px}.eif-pair label{display:flex;flex:1;flex-wrap:wrap;align-items:center;min-width:0;gap:4px;font-size:12px;color:#667085}.eif-pair label>span:first-child{width:100%}.eif-pair input{width:calc(100% - 36px);min-width:0;border:1px solid #dce0e8;border-radius:8px;padding:7px;font-size:16px;color:#182230}.eif-sliders{display:flex;gap:12px;margin-top:10px}.eif-sliders input{width:calc(50% - 6px);accent-color:#5b4ae6;min-height:28px}.eif-note{font-size:12px!important;color:#667085;line-height:1.6}.eif-foot{display:flex;gap:10px;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #eee}.eif-foot button{border:0;border-radius:10px;padding:12px;font-size:16px;font-weight:700;cursor:pointer}.eif-reset{background:#f0f2f6;color:#39465b}.eif-apply{flex:1;background:#5b4ae6;color:white}.eif-error{color:#b42318;font-size:13px!important;padding:0 18px;margin:0!important}.eif-panel :focus-visible,.eif-bar :focus-visible{outline:3px solid #958aff;outline-offset:2px}@media(max-width:600px){.eif-bar{right:82px;left:8px;gap:5px;padding-right:0}.eif-chip{font-size:12px;padding:8px 10px}.eif-panel{top:auto;bottom:0;left:0;width:100%;max-height:85%;border-radius:20px 20px 0 0}.eif-summary{font-size:11px!important}}

.eif-sliders{position:relative;display:block;height:36px;margin:12px 12px 0;--from:0%;--to:100%}.eif-sliders:before{content:"";position:absolute;left:0;right:0;top:15px;height:6px;border-radius:5px;background:linear-gradient(to right,#e4e6ec var(--from),#252e3c var(--from),#252e3c var(--to),#e4e6ec var(--to))}.eif-sliders input[type=range]{position:absolute;inset:0;width:100%;height:36px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none}.eif-sliders input::-webkit-slider-runnable-track{height:6px;background:transparent;border:0;box-shadow:none}.eif-sliders input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-10px;background:white;border:1px solid #edf0f4;border-radius:50%;box-shadow:0 2px 10px #18223035;pointer-events:auto;cursor:grab}.eif-sliders input::-moz-range-track{background:transparent;border:0}.eif-sliders input::-moz-range-thumb{width:26px;height:26px;background:white;border:1px solid #edf0f4;border-radius:50%;box-shadow:0 2px 10px #18223035;pointer-events:auto;cursor:grab}.eif-head,.eif-foot{flex-shrink:0}.eif-panel .eif-reset{background:#f0f2f6;color:#39465b}


.ei-map-shell .eif-bar{display:none!important}
.ei-map-shell{--ei-tools-height:54px}
.eif-map-content{position:absolute;inset:var(--ei-tools-height) 0 0;overflow:hidden}
.eif-toolbar{position:absolute;inset:0 0 auto;height:var(--ei-tools-height);box-sizing:border-box;background:#fff;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;justify-content:flex-end;padding:7px 4px;z-index:120}
.ei-map-shell .eif-toolbar .ei-map-floating{position:static!important;display:flex;gap:6px;margin:0;transform:none!important;flex:0 0 auto;width:auto!important;justify-content:flex-end}
.ei-map-shell .eif-toolbar button{min-height:36px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#202838;box-shadow:none;padding:7px 14px;font-size:13px;font-weight:700;white-space:nowrap}
.ei-map-shell .ei-map-rail{top:12px!important}
.ei-map-shell .ei-map-aging-popover{top:4px!important;right:4px!important}
@media(max-width:600px){.ei-map-shell{--ei-tools-height:50px}.eif-toolbar{padding:6px 4px}.ei-map-shell .eif-toolbar button{padding:7px 10px;font-size:12px}.ei-map-shell .eif-toolbar .ei-map-floating{gap:4px}}
/* Keep the actual last button flush, including inherited floating-control padding. */
.ei-map-shell .eif-toolbar{padding-right:0!important}
.ei-map-shell .eif-toolbar .ei-map-floating{padding:0!important;margin:0!important;min-width:0!important;max-width:none!important}
.ei-map-shell .eif-toolbar .ei-map-floating button:last-child{margin-right:0!important}
@media(min-width:761px){
.ei-map-shell .eif-map-content>.ei-map-detail-drawer{top:0!important;margin-top:0!important;border-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important;max-height:100%!important}
}
/* An inset, quiet close control shared by apartment and redevelopment drawers. */
.ei-map-shell .eif-map-content .ei-map-detail-drawer .ei-map-detail-close{top:14px!important;right:20px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#667085!important;font-size:0!important;transform:none!important}
.ei-map-shell .eif-map-content .ei-map-detail-close:before,.ei-map-shell .eif-map-content .ei-map-detail-close:after{content:"";position:absolute;left:10px;top:19px;width:20px;height:2px;background:currentColor;border-radius:2px;transform:rotate(45deg)}
.ei-map-shell .eif-map-content .ei-map-detail-close:after{transform:rotate(-45deg)}
.ei-map-shell .eif-map-content .ei-map-detail-close:hover{background:#f1f3f6!important;color:#263244!important}
.ei-map-shell .eif-map-content .ei-map-detail-close:focus-visible{outline:2px solid #6478e5;outline-offset:2px}
.ei-map-shell .eif-map-content .eimd-head{padding-right:68px!important}
.ei-map-shell .eif-map-content .ei-map-detail-drawer>header{padding-right:68px!important}

.eif-rail-filter>span{font-size:0!important;display:block!important;width:16px;height:12px;box-sizing:border-box;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative;margin:0 auto 3px}.eif-rail-filter>span:after{content:"";position:absolute;left:3px;right:3px;top:3px;border-top:2px solid currentColor}

.eif-quick{display:flex;align-items:center;gap:8px;margin-right:auto;min-width:0}.ei-map-shell .eif-toolbar .eif-quick button,.eif-trade-select{height:36px;min-height:36px;border:1px solid #e0e4ec;border-radius:8px;background:white;padding:6px 12px;font-size:13px;color:#344054;box-shadow:none}.eif-trade-select{color:#2864e8;border-color:#6696ff;cursor:pointer;width:86px}.ei-map-shell .eif-toolbar .eif-quick button.is-set{color:#5142ce;background:#f4f1ff;border-color:#9786ed}.eif-toolbar{padding-left:8px!important;gap:12px}.eif-quick button:after{content:'⌄';margin-left:8px;color:#667085}
@media(max-width:600px){.ei-map-shell{--ei-tools-height:94px}.eif-toolbar{flex-wrap:wrap;align-content:center;row-gap:5px}.eif-quick{flex-basis:100%;height:38px}.ei-map-shell .eif-toolbar .ei-map-floating{margin-left:auto!important}.eif-toolbar .eif-quick button{flex:1}.ei-map-shell .ei-map-aging-popover{top:4px!important}}

.ei-map-shell .eif-quick .eif-trade-select{flex:none;color:#2864e8;border-color:#6696ff}.eif-trade-select:after{content:'↔'!important;margin-left:8px;color:#2864e8!important}.eif-field[hidden]{display:none!important}.eif-single-veil{background:transparent}.eif-panel.eif-single{width:268px;bottom:auto!important;border-radius:12px;box-shadow:0 6px 24px #18223029;border:1px solid #e2e6ed}.eif-single .eif-head{padding:10px 14px}.eif-single .eif-head h2{font-size:16px!important}.eif-single .eif-body{padding:8px 14px}.eif-single .eif-field{padding:0 0 12px;border:0}.eif-single legend{display:none}.eif-single .eif-pair{flex-direction:column;gap:12px}.eif-single .eif-pair label{flex:none}.eif-single .eif-foot{padding:10px 14px}.eif-single .eif-foot button{font-size:14px;padding:10px}.eif-single .eif-close{font-size:26px}.eif-single .eif-sliders{margin-top:16px}

.eif-panel.eif-single{width:min(420px,calc(100% - 16px));border-radius:16px}.eif-single .eif-head{padding:15px 18px;border-bottom:0}.eif-single .eif-body{padding:0 18px 12px}.eif-range-value{display:block;font-size:23px;font-weight:750;letter-spacing:-.6px;color:#5144c9;margin:4px 0 18px}.eif-ticks{display:flex;justify-content:space-between;padding:0 3px;color:#8992a3;font-size:11px;margin:0 0 20px}.eif-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.eif-presets button{padding:10px 4px;border:1px solid #e5e7ed;border-radius:9px;background:#fafbfc;color:#475467;font-size:13px;cursor:pointer}.eif-presets button[aria-pressed=true]{background:#efedff;border-color:#8c80eb;color:#5144c9}.eif-manual{margin-top:16px;color:#7b8494;font-size:12px}.eif-manual summary{cursor:pointer;padding:4px 0}.eif-manual .eif-pair{flex-direction:row;margin-top:10px}.eif-single .eif-foot{padding:12px 18px}.eif-single .eif-sliders{margin-bottom:0}.eif-sliders:before{background:linear-gradient(to right,#e8eaf0 var(--from),#6655d8 var(--from),#6655d8 var(--to),#e8eaf0 var(--to))}.eif-presets button:focus-visible{outline:2px solid #8070ea;outline-offset:2px}

.eif-indicator{height:36px;max-width:120px;border:1px solid #e1e5ec;border-radius:8px;padding:6px 10px;background:#fff;color:#475467;font-size:13px;cursor:pointer}.eitp-marker .eif-metric{display:block;background:#fff;color:#344054;border:1px solid #e3e5ec;border-radius:7px;padding:3px 6px;margin:5px -3px -3px;font-size:11px;line-height:1.3;font-weight:600;white-space:nowrap}@media(max-width:600px){.eif-quick{gap:4px}.eif-indicator{max-width:98px;font-size:12px;padding:6px}.ei-map-shell .eif-toolbar .eif-quick button{padding:6px}.eif-trade-select{width:70px}.eif-quick button:after{margin-left:3px}}
/* Compact price cards; auxiliary values sit outside the lower-right corner. */
.ei-map-shell .eitp-marker{min-width:60px!important;max-width:76px!important;padding:3px 5px!important;border-radius:6px!important;overflow:visible!important;box-shadow:0 1px 3px #30286030}
.ei-map-shell .eitp-marker strong{font-size:14px!important;line-height:1.15;letter-spacing:-.3px}
.ei-map-shell .eitp-marker small{font-size:8px!important;line-height:1.25}
.ei-map-shell .eitp-marker.eiu-linked{min-width:82px!important;max-width:94px!important;padding-top:0!important}
.ei-map-shell .eitp-marker .eiu-marker-stage{box-sizing:border-box;width:calc(100% + 10px);padding:2px 4px;margin:0 -5px 2px;font-size:8px!important;line-height:1.35;overflow:hidden;text-overflow:ellipsis}
.ei-map-shell .eitp-marker .eif-metric{position:absolute;right:-9px;bottom:-11px;z-index:2;width:max-content;max-width:125px;box-sizing:border-box;margin:0;padding:2px 6px;border-radius:10px;line-height:1.25;font-size:10px!important;box-shadow:0 1px 3px #18223024;background:#fff;color:#344054;pointer-events:none}
.ei-map-shell .eitp-marker.is-complex:after{bottom:-5px;border-top-width:5px;border-left-width:5px;border-right-width:5px;left:calc(50% - 5px)}
/* Keep the badge entirely below the price, independent of badge text height. */
.ei-map-shell .eitp-marker .eif-metric{top:calc(100% + 6px)!important;bottom:auto!important;right:-9px;margin:0!important}

/* Full filter sits below the toolbar; quick popovers retain their button anchor. */
.eif-veil:not(.eif-single-veil){top:var(--ei-tools-height)}
.eif-veil:not(.eif-single-veil) .eif-panel{top:0;max-height:100%;border-top-left-radius:0}
.eif-panel .eif-head h2{font-size:17px!important}
.eif-panel .eif-range-value{font-size:16px!important;letter-spacing:-.2px;margin:3px 0 12px}
.eif-panel .eif-field legend{font-size:13px!important}
.eif-panel .eif-mode{font-size:13px;padding:8px}
.eif-panel .eif-presets button{font-size:12px;padding:8px 4px}
.eif-panel .eif-foot button{font-size:14px}
.eif-panel .eif-pair input{font-size:14px}
.eif-panel .eif-summary{font-size:11px!important}
@media(max-width:600px){.eif-veil:not(.eif-single-veil) .eif-panel{top:auto;max-height:100%}.eif-panel .eif-pair input{font-size:16px}}

.eimt-stage{border:0;border-radius:6px;background:#eef2ff;color:#4058c8;padding:6px 10px;font-size:12px;cursor:pointer;margin-top:10px}.eimt-tabs{display:flex;gap:4px;border-bottom:1px solid #e5e7eb;margin:0 0 18px}.eimt-tabs button{flex:1;border:0;background:transparent;color:#687386;padding:12px 4px;font-size:14px;font-weight:600;cursor:pointer;border-bottom:2px solid transparent}.eimt-tabs button[aria-selected=true]{color:#5544d5;border-bottom-color:#6554dd}.eimt-tabs button:focus-visible,.eimt-stage:focus-visible{outline:2px solid #6554dd;outline-offset:2px}.eimd [role=tabpanel][hidden]{display:none!important}

/* Compact unified detail tabs and area control. */
.ei-map-shell .eimd .eimt-tabs button{font-size:12px!important;line-height:1.4!important;padding:9px 4px!important;min-height:36px!important;box-shadow:none!important}
.ei-map-shell .eimd .eimd-pyeong{padding:0!important;background:transparent!important;gap:6px!important;font-size:11px!important}
.ei-map-shell .eimd .eimd-pyeong .eiy-trigger{font-size:13px!important;line-height:18px!important;padding:5px 10px!important;min-height:30px!important;height:auto!important;min-width:0!important;border-radius:16px!important;box-shadow:none!important}
.ei-map-shell .eimd .eimd-pyeong select{font-size:13px!important;min-height:30px!important;padding:4px 8px!important;border:1px solid #dfe4ef!important;border-radius:16px!important}
.ei-map-shell .ei-map-detail-drawer .ei-map-detail-summary:has(> .eimd){display:block!important}

/* Mobile: one tool row and native More expansion without competing drawer heights. */
@media(max-width:760px){
 .ei-map-shell{--ei-tools-height:48px}
 .ei-map-shell .eif-toolbar{flex-wrap:nowrap;gap:4px;padding:6px!important;align-items:center;align-content:normal}
 .ei-map-shell .eif-toolbar .eif-quick{flex:1 1 auto;flex-basis:auto;height:36px;gap:4px;margin:0;min-width:0}
 .ei-map-shell .eif-toolbar .ei-map-floating{gap:4px;margin:0!important}
 .ei-map-shell .eif-toolbar button,.ei-map-shell .eif-toolbar .eif-quick button,.ei-map-shell .eif-toolbar .eif-indicator{box-sizing:border-box;height:36px;min-height:36px;padding:0 5px;font-size:11px;line-height:1.2;font-weight:700;border-radius:8px}
 .ei-map-shell .eif-toolbar .eif-quick button{flex:1 1 0;min-width:0;width:auto}
 .ei-map-shell .eif-toolbar .eif-indicator{flex:1.3 1 0;min-width:0;max-width:85px;width:65px}
 .ei-map-shell .eif-toolbar .eif-quick button:after{margin-left:2px}
 .ei-map-shell .eif-toolbar [data-map-action="skyview"]{display:none!important}
 .ei-map-shell:not(.is-detail-expanded) .eif-map-content>.ei-map-detail-drawer[data-test-complex]{top:auto!important;height:auto!important;max-height:34dvh!important;border-radius:16px!important}
 .ei-map-shell:not(.is-detail-expanded) .ei-map-detail-drawer[data-test-complex]>.ei-map-detail-summary{display:none!important}
 .ei-map-shell.is-detail-expanded .eif-map-content>.ei-map-detail-drawer[data-test-complex]{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important;display:flex!important;flex-direction:column;overflow:hidden}
 .ei-map-shell.is-detail-expanded .ei-map-detail-drawer[data-test-complex]>header{flex:0 0 auto}
 .ei-map-shell.is-detail-expanded .ei-map-detail-drawer[data-test-complex]>.ei-map-detail-summary{display:block!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior-y:contain;padding-bottom:calc(20px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
}
@media(max-width:760px){
 .ei-map-shell .eif-toolbar .ei-map-floating button{height:36px!important;min-height:36px!important;padding:0 5px!important;font-size:11px!important;line-height:1.2!important}
 .ei-map-shell.is-detail-expanded .eif-map-content>.ei-map-detail-drawer[data-test-complex]{margin:0!important;transform:none!important}
}
@media(max-width:760px){
 .ei-map-shell .eif-map-content{overflow:clip}
 .ei-map-shell .eif-toolbar .eif-quick button:not(.eif-trade-select):after{content:'';display:inline-block;width:4px;height:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:5px}
}
