/* DetailFlow v1.6.9 — full-width preview workspace and edge-to-edge guides. */
/* The rulers and guides are siblings of the zoomed stage and fill the space
   from the content-block panel to the properties panel. They are never exported. */
#editorView:not(.poster-editor-mode) .preview-scroll{padding-left:0!important;padding-right:0!important;gap:0;align-items:safe center}
#editorView:not(.poster-editor-mode) .preview-stage:not(.guides-disabled){display:block!important;width:100%;max-width:none;align-self:auto;flex-shrink:0;min-width:0}
#editorView:not(.poster-editor-mode) .preview-stage:not(.guides-disabled) .preview-paper{width:min(100%,860px);max-width:860px;margin-inline:auto!important;display:block}
#editorView:not(.poster-editor-mode) .preview-stage.guides-disabled{display:block!important;width:100%;max-width:none;flex-shrink:0}
#editorView:not(.poster-editor-mode) .preview-stage.guides-disabled .preview-paper{width:min(100%,860px);max-width:860px;margin-inline:auto!important}
#editorView .preview-stage .ruler-corner{display:none!important}
#editorView .preview-scroll > #previewTopRuler{
 position:sticky!important;top:0;left:0;z-index:18;align-self:stretch;flex:0 0 19px;
 width:100%!important;height:19px!important;margin:0!important;padding:0!important;max-width:none;
 border-left:0;border-right:0;background-color:#eef5fb;touch-action:none
}
#editorView .preview-scroll > #previewTopRuler .ruler-number{bottom:5px;line-height:10px;font-size:9px}
#editorView .preview-scroll > #previewSideRuler{
 position:absolute!important;z-index:11;left:0;top:19px;width:20px!important;max-width:20px;
 height:auto;min-height:0;margin:0;background-color:#eef5fb;touch-action:none
}
#editorView .preview-scroll > #guideOverlay{
 position:absolute!important;z-index:9!important;grid-area:auto!important;
 align-self:auto!important;justify-self:auto!important;pointer-events:none;
 margin:0!important;inset:auto;transform:none!important
}
#editorView .preview-scroll.df169-guides-disabled > #previewTopRuler,
#editorView .preview-scroll.df169-guides-disabled > #previewSideRuler,
#editorView .preview-scroll.df169-guides-disabled > #guideOverlay{display:none!important}
/* The full pasteboard is a working surface; only the centered white page is output. */
#editorView:not(.poster-editor-mode) .preview-scroll{background:#edf2f8}
.df166-subbar .df82-preview-zoom{width:auto;min-width:245px}
.df166-subbar .df82-preview-zoom #df169ZoomFit{
 width:auto;min-width:39px;height:21px;padding:0 5px;border-radius:5px;
 border:1px solid #b6cfe3;background:#fff;color:#28649a;font-size:10px;font-weight:750
}
.df166-subbar .df82-preview-zoom #df169ZoomFit.active{background:#dcedff;color:#145c9c;border-color:#70ace1}
@media(max-width:1050px){.df166-subbar .df82-preview-zoom{min-width:215px}}
/* Detached ruler DOM requires its complete styling outside .preview-stage. */
#editorView .preview-scroll > #previewTopRuler{
 display:block;overflow:hidden;cursor:ns-resize;
 border:1px solid #cbdce8;border-top:0;border-left:0;border-right:0;
 background:repeating-linear-gradient(to right,#aabdd0 0,#aabdd0 1px,transparent 1px,transparent 10px) left bottom/50px 5px no-repeat,#edf5fb
}
#editorView .preview-scroll > #previewTopRuler .ruler-number{
 position:absolute;bottom:5px;font-size:9px;color:#68849d;white-space:nowrap;
 transform:translateX(2px);pointer-events:none
}
#editorView .preview-scroll > #previewSideRuler{
 cursor:ew-resize;border:1px solid #cbdce8;border-top:0;
 background:repeating-linear-gradient(to bottom,#aabdd0 0,#aabdd0 1px,transparent 1px,transparent 10px) right top/5px 50px no-repeat,#edf5fb
}
#editorView .preview-scroll > #previewSideRuler .side-number{
 position:absolute;right:7px;transform:translateY(2px);font-size:9px;
 color:#68849d;writing-mode:vertical-rl;pointer-events:none
}
/* Guide hit targets moved to the viewport; keep exactly the same draggable
   13px interaction region and 1px cyan line they had inside the old stage. */
#editorView .preview-scroll > #guideOverlay .guide-line{
 position:absolute!important;pointer-events:auto;cursor:grab;touch-action:none
}
#editorView .preview-scroll > #guideOverlay .guide-line:active{cursor:grabbing}
#editorView .preview-scroll > #guideOverlay .guide-x{
 top:0;bottom:0;width:13px;transform:translateX(-50%)
}
#editorView .preview-scroll > #guideOverlay .guide-y{
 left:0;right:0;height:13px;transform:translateY(-50%)
}
#editorView .preview-scroll > #guideOverlay .guide-x:before{
 content:"";display:block;position:absolute;left:6px;top:0;bottom:0;width:1px;
 background:#23c9f7;box-shadow:0 0 2px rgba(2,145,223,.7)
}
#editorView .preview-scroll > #guideOverlay .guide-y:before{
 content:"";display:block;position:absolute;top:6px;left:0;right:0;height:1px;
 background:#23c9f7;box-shadow:0 0 2px rgba(2,145,223,.7)
}
#editorView .preview-scroll > #guideOverlay .guide-line:hover:before{
 background:#0aa2d6;box-shadow:0 0 0 1px #0aa2d655
}
