/* Map focus / reversible menu hiding. Only administration overlays disappear.
   The theme, menu toggle, map, map zoom and map-style buttons stay usable. */
#placeSearchInput,#placeSearchResults{transition:opacity .14s ease}
#builditMenusToggle{
 position:absolute;top:0;right:46px;z-index:1191;width:40px;height:38px;
 box-sizing:border-box;display:flex;align-items:center;justify-content:center;
 border:1px solid #73828a;border-radius:9px;background:rgba(18,31,39,.97);
 color:#e4f2f7;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.33);
 font-size:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
#builditMenusToggle::before{
 content:'';display:block;width:18px;height:18px;
 background:currentColor;
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
 -webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
html[data-buildit-menus-hidden="true"] #builditMenusToggle::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.7 5.1A10 10 0 0 1 12 5c4.5 0 8 4 10 7a15 15 0 0 1-3.1 3.5M6.7 6.7A15 15 0 0 0 2 12c2 3 5.5 7 10 7a10 10 0 0 0 4.1-.9'/%3E%3Cpath d='M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.7 5.1A10 10 0 0 1 12 5c4.5 0 8 4 10 7a15 15 0 0 1-3.1 3.5M6.7 6.7A15 15 0 0 0 2 12c2 3 5.5 7 10 7a10 10 0 0 0 4.1-.9'/%3E%3Cpath d='M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E");
}

#builditMenusToggle:focus-visible{outline:3px solid #70c2f0;outline-offset:2px}
#builditMenusToggle:hover{filter:brightness(1.15)}
html[data-buildit-theme="light"] #builditMenusToggle{
 background:#fff;color:#293f5b;border-color:#a7bdcb;box-shadow:0 2px 10px rgba(41,64,85,.13);
}
/* Share 2 action buttons with place search without overflowing the right-hand dock. */
#placeSearchInput{width:calc(100% - 92px)!important}
#placeSearchResults{width:calc(100% - 92px)!important}
html:is([data-buildit-menus-hidden="true"],[data-buildit-map-picking="true"])
 :is(#placeSearchInput,#placeSearchResults,#filterToggle,#filterPanel,
 #logToggle,#logPanel,#biToggle,#biPanel,#toolHubToggle,#toolHubPanel,
 #quickSpawnPanel,#biServerProfileDock,#biServerProfilePanel){display:none!important}
#builditMapPickToolbar{
 position:absolute;left:50%;top:calc(15px + env(safe-area-inset-top,0px));
 transform:translateX(-50%);z-index:1220;display:flex;align-items:center;
 gap:12px;justify-content:space-between;width:max-content;max-width:calc(100vw - 190px);
 background:rgba(12,23,29,.96);color:#e7f8ff;
 border:1px solid rgba(124,184,208,.65);border-radius:10px;
 padding:7px 9px 7px 12px;box-shadow:0 5px 16px #0007;
 box-sizing:border-box;font:600 12px Arial,sans-serif;
}
#builditMapPickToolbar[hidden]{display:none!important}
#builditMapPickHint{min-width:0;white-space:normal;line-height:1.3}
#builditMapPickCancel{
 flex:0 0 auto;border:1px solid #718994;border-radius:7px;
 background:#274554;color:white;cursor:pointer;
 padding:7px 10px;font:700 11px Arial,sans-serif;touch-action:manipulation;
}
#builditMapPickCancel:hover{background:#32657a}
@media(max-width:600px){
 #builditMapPickToolbar{top:auto;bottom:calc(22px + env(safe-area-inset-bottom,0px));
 width:calc(100vw - 24px);max-width:400px;padding:9px;font-size:11px}
 #builditMapPickCancel{padding:10px}
}
