/* Baskibu Designer v0.25.53 — stable dock + artboard-bound ruler end labels.
 * An always-reserved space means selection/inspector visibility NEVER changes the
 * working canvas width. This stylesheet loads on all desktop editor states.
 * No change to print, export, product preview, or saved object geometry.
 */
@media (min-width:1180px) {
  .bbd-app.bbd-shell-v0161:not(.is-preview-mode) .bbd-stage-area {
    --bbd-02553-rail-width: 304px;
    box-sizing:border-box!important;
    position:relative!important;
    padding-right:calc(var(--bbd-02553-rail-width) + 8px)!important;
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
  }
  .bbd-app.bbd-shell-v0161:not(.is-preview-mode) .bbd-stage-area > .bbd-canvas-shell {
    grid-column:1!important;
    min-width:0!important;
    max-width:100%!important;
  }
  /* Subtle always-present rail, including when nothing is selected. */
  .bbd-app.bbd-shell-v0161:not(.is-preview-mode) .bbd-stage-area::after {
    content:'ÖĞE ÖZELLİKLERİ  ·  Düzenlemek için bir nesne seçin';
    position:absolute!important;
    box-sizing:border-box!important;
    top:14px!important;
    right:10px!important;
    width:294px!important;
    min-height:76px!important;
    padding:19px 15px!important;
    color:#64748b!important;
    background:rgba(255,255,255,.7)!important;
    border:1px solid #e2e8ed!important;
    border-radius:14px!important;
    font-size:11px!important;
    line-height:1.65!important;
    pointer-events:none!important;
    z-index:1!important;
  }
  .bbd-app.bbd-shell-v0161:not(.is-preview-mode) .bbd-stage-area > .bbd-v2349-inspector:not([hidden]) {
    /* Overlay only the reserved rail, NEVER the artwork and NEVER the stage grid. */
    display:block!important;
    position:absolute!important;
    top:14px!important;
    right:10px!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto 10px auto auto!important;
    width:294px!important;
    min-width:0!important;
    max-width:294px!important;
    max-height:calc(100% - 28px)!important;
    height:auto!important;
    margin:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
    z-index:9600!important;
    transform:none!important;
    transition:none!important;
  }
  /* Uncollapse the section within its OWN fixed rail, never resize the canvas. */
  .bbd-app.bbd-shell-v0161:not(.is-preview-mode) .bbd-v2349-inspector[data-bbd-02550-collapsed="yes"] {
    width:294px!important;
  }
}
/* Below this breakpoint, keep existing mobile/sheet controls without empty rail. */
@media (max-width:1179px) {
  .bbd-app.bbd-shell-v0161 .bbd-stage-area {padding-right:8px!important;}
}
/* The last mark is exactly on the artboard edge, but its TEXT must be
 * inside that edge. Fixes 150 cm at the lower boundary / cut-off on 100x150. */
.bbd-app .bbd-02549-exact-rulers .bbd-clean-ruler.is-vertical .bbd-02549-ruler-end span {
  position:absolute!important;
  top:-16px!important;
  bottom:auto!important;
  left:9px!important;
  right:auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
.bbd-app .bbd-02549-exact-rulers .bbd-clean-ruler.is-horizontal .bbd-02549-ruler-end span {
  position:absolute!important;
  left:-23px!important;
  right:auto!important;
  bottom:9px!important;
  white-space:nowrap!important;
}
/* Avoid scrollbar-induced width hops while inspector content changes. */
.bbd-app .bbd-v2349-inspector{scrollbar-gutter:stable!important}
