/* Baskibu Designer 0.23.14
   Natural typography hit bounds + no-interception drag lifecycle */

.bbd-app.bbd-release-02314 .bbd-stage-area,
.bbd-app.bbd-release-02314 .bbd-canvas-shell,
.bbd-app.bbd-release-02314 canvas.upper-canvas,
.bbd-app.bbd-release-02314 canvas.lower-canvas{
  overscroll-behavior:contain!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.bbd-app.bbd-release-02314 canvas.upper-canvas,
.bbd-app.bbd-release-02314 canvas.lower-canvas{
  touch-action:none!important;
}

/* The bottom inspector is informational. Its large glass surface must never
   steal a drag from Fabric; only the two explicit buttons are interactive. */
.bbd-app.bbd-release-02314 > .bbd-v92-selection-hud{
  pointer-events:none!important;
}
.bbd-app.bbd-release-02314 > .bbd-v92-selection-hud .bbd-v92-selection-hud__actions button{
  pointer-events:auto!important;
}

/* While Fabric owns a transform, no floating DOM chrome is allowed under the
   pointer. This prevents a text drag from ending on the HUD/toolbar and leaving
   the canvas in a stuck transform state. */
.bbd-app.bbd-release-02314.bbd-v2314-transforming > .bbd-v92-selection-hud,
.bbd-app.bbd-release-02314.bbd-v2314-transforming .bbd-context-route-toolbar{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:none!important;
}

/* Natural-bound preset text should feel like a word/line, not a hidden box. */
.bbd-app.bbd-release-02314 .bbd-context-route-toolbar{
  will-change:top,left,opacity!important;
}

@media (prefers-reduced-motion:reduce){
  .bbd-app.bbd-release-02314 .bbd-context-route-toolbar,
  .bbd-app.bbd-release-02314 > .bbd-v92-selection-hud{
    transition:none!important;
  }
}
