/* Baskibu Designer 0.23.36 — fluid text transform + selected-object ellipsis menu */

/* The old fixed selection HUD / right inspector / mobile object dock are replaced
   by one contextual ellipsis anchored to the selected object. Their DOM remains
   available for legacy handlers, but they no longer cover the artwork. */
.bbd-app.bbd-release-02336 > .bbd-v92-selection-hud,
.bbd-app.bbd-release-02336 > .bbd-v2321-context-dock,
.bbd-app.bbd-release-02336 .bbd-context-route-toolbar,
.bbd-app.bbd-release-02336 .bbd-context-route-toolbar.bbd-0232-mobile-object-dock{
  position:fixed!important;
  left:-10000px!important;
  top:-10000px!important;
  right:auto!important;
  bottom:auto!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:1px!important;
  max-height:1px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:none!important;
}

.bbd-app.bbd-release-02336 > .bbd-v2336-object-menu{
  position:fixed!important;
  inset:0 auto auto 0!important;
  z-index:9750!important;
  width:0!important;
  height:0!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.bbd-app.bbd-release-02336 > .bbd-v2336-object-menu[hidden]{display:none!important}

.bbd-v2336-object-menu__trigger{
  position:fixed!important;
  left:var(--bbd-v2336-trigger-left,10px)!important;
  top:var(--bbd-v2336-trigger-top,80px)!important;
  z-index:9752!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0 0 4px!important;
  border:1px solid rgba(197,211,208,.98)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.98)!important;
  color:#344054!important;
  box-shadow:0 7px 22px rgba(15,23,42,.14),0 1px 4px rgba(15,23,42,.07)!important;
  backdrop-filter:blur(16px) saturate(1.06)!important;
  font:900 18px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:1px!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease!important;
}
.bbd-v2336-object-menu__trigger:hover,
.bbd-v2336-object-menu.is-open .bbd-v2336-object-menu__trigger{
  border-color:#9ed3c7!important;
  background:#eef9f6!important;
  color:#0b7a6a!important;
}
.bbd-v2336-object-menu__trigger:active{transform:scale(.96)!important}
.bbd-v2336-object-menu__trigger:focus-visible{outline:3px solid rgba(11,122,106,.18)!important;outline-offset:2px!important}

.bbd-v2336-object-menu__popover{
  position:fixed!important;
  z-index:9753!important;
  width:min(296px,calc(100vw - 20px))!important;
  max-height:min(520px,calc(100dvh - 90px))!important;
  overflow:auto!important;
  padding:9px!important;
  border:1px solid rgba(207,220,217,.98)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.985)!important;
  color:#1d2939!important;
  box-shadow:0 20px 54px rgba(15,23,42,.18),0 3px 12px rgba(15,23,42,.06)!important;
  backdrop-filter:blur(22px) saturate(1.08)!important;
  pointer-events:auto!important;
  transform-origin:top right!important;
  animation:bbd-v2336-menu-in .15s cubic-bezier(.2,.8,.2,1) both!important;
}
.bbd-v2336-object-menu__popover[hidden]{display:none!important}
@keyframes bbd-v2336-menu-in{
  from{opacity:0;transform:translateY(-5px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.bbd-v2336-object-menu__head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:38px!important;
  padding:3px 5px 9px!important;
  border-bottom:1px solid #e9efed!important;
}
.bbd-v2336-object-menu__head strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12.5px!important;
  font-weight:850!important;
}
.bbd-v2336-object-menu__head small{
  flex:0 0 auto!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#eef8f5!important;
  color:#0b7a6a!important;
  font-size:9.5px!important;
  font-weight:800!important;
}

.bbd-v2336-object-menu__primary{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  padding:8px 0!important;
}
.bbd-v2336-object-menu__primary .bbd-v2336-menu-clone{
  min-width:0!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  padding:0 10px!important;
  border:1px solid #dfe8e6!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#344054!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.bbd-v2336-object-menu__primary .bbd-v2336-menu-clone:hover{
  border-color:#acd8ce!important;
  background:#f0f9f6!important;
  color:#0b7a6a!important;
}
.bbd-v2336-object-menu__primary .bbd-context-label{display:inline!important}
.bbd-v2336-object-menu__primary .bbd-context-label-short{display:none!important}
.bbd-v2336-object-menu__primary svg,
.bbd-v2336-object-menu__primary .bbd-context-icon{width:16px!important;height:16px!important;flex:0 0 16px!important}

.bbd-v2336-object-menu__secondary{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  padding-top:8px!important;
  border-top:1px solid #edf1f0!important;
}
.bbd-v2336-menu-action{
  min-width:0!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 9px!important;
  border:0!important;
  border-radius:9px!important;
  background:#f7f9fa!important;
  color:#475467!important;
  cursor:pointer!important;
}
.bbd-v2336-menu-action>span{width:17px!important;text-align:center!important;font-size:14px!important;line-height:1!important}
.bbd-v2336-menu-action>strong{font-size:10.5px!important;font-weight:800!important;white-space:nowrap!important}
.bbd-v2336-menu-action:hover{background:#eef8f5!important;color:#0b7a6a!important}
.bbd-v2336-menu-action.is-danger{grid-column:1/-1!important;justify-content:center!important;background:#fff4f3!important;color:#b42318!important}
.bbd-v2336-menu-action.is-danger:hover{background:#fee4e2!important}


@media (max-width:760px){
  .bbd-v2336-object-menu__trigger{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
    border-radius:10px!important;font-size:17px!important;
  }
  .bbd-v2336-object-menu__popover{
    width:min(286px,calc(100vw - 16px))!important;
    max-height:min(470px,calc(100dvh - 96px))!important;
    border-radius:15px!important;
  }
  .bbd-v2336-object-menu__primary .bbd-v2336-menu-clone{min-height:44px!important}
  .bbd-v2336-menu-action{min-height:42px!important}
}

@media (prefers-reduced-motion:reduce){
  .bbd-v2336-object-menu__popover{animation:none!important}
  .bbd-v2336-object-menu__trigger{transition:none!important}
}
