.mg-cp{position:relative;padding:12px 12px 0;font-size:14px;line-height:20px;color:#373f5c}.mg-cp button{font:inherit;text-align:left}.mg-cp-trigger{width:100%;height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #dbdfeb;border-radius:8px;background:white}.mg-cp-trigger:disabled{cursor:default}.mg-cp-trigger[aria-expanded=true]{border-color:#c6d2ff}.mg-cp-initial{display:grid;place-items:center;flex:none;width:20px;height:20px;background:#eef0f7;color:#646f92;border-radius:4px;font-size:11px;font-weight:600}.mg-cp-trigger .mg-cp-initial{width:24px;height:24px;color:#3a48e6;background:#e3e9ff;font-size:12px}.mg-cp-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mg-cp-caret,.mg-cp-check{margin-left:auto}.mg-cp-caret{font-size:12px;color:#8b95b3}.mg-cp-panel{position:absolute;z-index:35;top:calc(100% + 4px);left:12px;width:min(372px,calc(100vw - 24px));max-height:calc(100vh - 124px);max-height:calc(100dvh - 124px);background:white;border:1px solid #dbdfeb;border-radius:8px;box-shadow:0 1px 2px #11142a0a,0 8px 24px #11142a10;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.mg-cp-search{margin:12px 12px 0;display:flex;align-items:center;gap:8px;border:1px solid #dbdfeb;border-radius:6px;min-height:36px;padding:0 9px;color:#646f92}.mg-cp-search:focus-within{border-color:#9fb1ff}.mg-cp-search input{flex:1;min-width:0;font:inherit;outline:0;background:none}.mg-cp-recent{padding:14px 12px 12px;border-bottom:1px solid #eef0f7}.mg-cp-heading{display:flex;align-items:center;font-size:12px;line-height:16px;font-weight:500;color:#646f92}.mg-cp-heading small,.mg-cp-group small{margin-left:auto;font-size:12px;white-space:nowrap;font-weight:400}.mg-cp-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px 7px;margin-top:8px}.mg-cp-grid button{background:#f6f7fb;border-radius:5px;min-height:32px;display:flex;align-items:center;gap:5px;padding:5px 9px;overflow-wrap:anywhere}.mg-cp-grid button span{margin-left:auto;color:#8b95b3}.mg-cp-title{padding:12px 15px 7px}.mg-cp-list{overflow:auto;overscroll-behavior:contain;padding:0 8px 8px;max-height:275px;min-height:76px;scrollbar-width:thin;scrollbar-color:#c4cbde transparent}.mg-cp-row{width:100%;min-height:36px;display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:5px;overflow-wrap:anywhere}.mg-cp-row svg{flex:none}.mg-cp-row:hover,.mg-cp-grid button:hover{background:#eef0f7}.mg-cp .selected{background:#f1f4ff;color:#2e38b8;font-weight:500}.mg-cp-row small{font-size:12px;color:#646f92;white-space:nowrap}.mg-cp-check{color:#4f64ff}.mg-cp-children{margin-left:16px;padding-left:8px;border-left:1px solid #dbdfeb}.mg-cp-group{font-weight:500}.mg-cp-list p{padding:10px;color:#646f92}.mg-cp button:focus-visible{outline:2px solid #7488ff;outline-offset:-2px}
/* Keep the open project menu above the dashboard sticky filter bar (z-index: 20). */
.geo-protect > aside:has(.mg-cp-panel) { z-index: 30; }
@media (max-width: 767px) {
  body.geo-device-b.geo-b-nav-open aside:has(.mg-cp-panel) { overflow: visible; }
  .mg-cp-panel { width: min(372px, calc(100vw - 40px)); }
}
