/* V38 — investment lens. Compact overlay; accessible on desktop and mobile. */
.ip-map-investor-tools{position:absolute;z-index:5;top:105px;left:20px;display:flex;align-items:center;gap:5px;max-width:calc(100% - 40px);padding:6px;background:rgba(255,255,255,.95);border:1px solid #e2eae5;border-radius:14px;box-shadow:0 10px 30px #113b3820;backdrop-filter:blur(14px)}
.ip-investor-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#6d8580;margin:0 8px}
.ip-map-investor-tools button{cursor:pointer;border:0;border-radius:10px;background:transparent;padding:10px 12px;color:#285a54;font-size:12px;font-weight:750;white-space:nowrap}
.ip-map-investor-tools button:hover{background:#e7f3ed}
.ip-map-investor-tools .ip-lens-active{background:#0b756c;color:white}
.ip-map-investor-tools .ip-lens-active:hover{background:#08655e}
.ip-map-investor-tools .ip-best-deal{color:#966021;border-left:1px solid #e5ebe6;border-radius:0 9px 9px 0}
.ip-yield-legend{position:absolute;z-index:4;left:20px;bottom:56px;background:rgba(255,255,255,.95);padding:9px 12px;border-radius:11px;color:#355953;font-size:11px;box-shadow:0 5px 15px #0c423d20}
.ip-yield-legend[hidden]{display:none!important}
.ip-map-dark .ip-map-investor-tools{background:#18383e;border-color:#355b5b}.ip-map-dark .ip-investor-label{color:#acc5c0}.ip-map-dark .ip-map-investor-tools button{color:#e7f3ed}.ip-map-dark .ip-map-investor-tools .ip-lens-active{background:#168879}.ip-map-dark .ip-yield-legend{background:#18383e;color:#e7f3ed}
@media(max-width:700px){.ip-map-investor-tools{top:77px;left:10px;max-width:calc(100% - 20px);gap:2px;padding:4px;flex-wrap:wrap}.ip-investor-label{display:none}.ip-map-investor-tools button{font-size:11px;padding:8px 9px}.ip-yield-legend{left:10px;bottom:52px;font-size:10px;max-width:70%}}

/* V61 toolbar cleanup */
.ip-map-investor-tools{top:118px;left:18px;right:18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:18px;max-width:min(760px,calc(100% - 36px));background:rgba(255,255,255,.96)}
.ip-investor-label{margin-right:4px}
.ip-map-investor-tools button{padding:10px 14px;min-height:42px;border-radius:12px;border:1px solid transparent;line-height:1.1}
.ip-map-investor-tools .ip-best-deal,.ip-map-investor-tools .ip-zone-button,.ip-map-investor-tools .ip-sectors-button{border-left:0!important}
.ip-map-investor-tools .ip-best-deal{background:#fff7ed;color:#99601f}
.ip-map-investor-tools .ip-zone-button,.ip-map-investor-tools .ip-sectors-button{background:#f7fbfa}
.ip-map-investor-tools .ip-zone-active,.ip-map-investor-tools .ip-sectors-active{background:#e0f2e9!important;color:#075d4d!important;border-color:#8fc5b1}
.ip-yield-legend{left:18px;bottom:74px;z-index:8;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 10px 22px rgba(17,59,56,.10)}
@media(max-width:900px){
  .ip-map-investor-tools{top:104px;gap:6px;padding:8px 10px;max-width:calc(100% - 24px);left:12px;right:12px}
  .ip-map-investor-tools button{padding:9px 12px;min-height:38px;font-size:11px}
}
@media(max-width:700px){
  .ip-map-investor-tools{top:82px;left:10px;right:10px;max-width:none}
  .ip-map-investor-tools .ip-best-deal{display:none}
  .ip-yield-legend{left:10px;bottom:56px;max-width:calc(100% - 20px);font-size:10px}
}
