.clbvDocumentHost{display:flex!important;flex-direction:column;min-height:0!important;overflow:hidden!important;position:relative;background:#edf2f7;color:#173653}
.clbvZoomBar{display:flex;align-items:center;gap:6px;padding:5px 8px;flex:0 0 auto;background:#eaf0f8;color:#173653;width:100%;box-sizing:border-box}
.clbvZoomBar .btn{padding:5px 12px!important;min-height:32px;font-size:14px!important}
.clbvDocumentStage{width:100%;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.clbvDocumentPages{width:100%;margin:auto;min-height:100%}
.clbvDocumentPages img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain;position:static!important}
.clbvDocumentPages:has(>img){height:100%}
.clbvDocumentPages>img{min-height:100%;object-fit:contain}
.clbvPdfPage{min-height:60vh;margin:8px auto;background:white;color:#334155;width:100%}
.clbvPdfPage canvas{display:block;width:100%;height:auto}
#ownerMediaViewer{display:flex;flex-direction:column;overflow:hidden}
#ownerMediaViewer>[data-body]{flex:1;height:auto!important;min-height:0!important}
@media(max-width:600px){#ownerMediaViewer{width:100vw!important;height:98dvh!important;max-height:98dvh!important;padding:8px!important}#ownerMediaViewer h3{font-size:15px;min-width:0!important;flex-basis:100%!important}#ownerMediaViewer>div:first-child{gap:5px!important}#ownerMediaViewer .btn{font-size:13px;padding:7px 10px}#ownerMediaViewer>[data-meta]{font-size:12px;margin:7px 0}}
.clbvDocumentPages>img{height:100%!important;min-height:0!important}

.clbvDocumentStage{cursor:grab}.clbvDocumentStage.clbvDragging{cursor:grabbing;user-select:none}.clbvPhotoStage{overflow:hidden!important}.clbvPhotoStage .clbvDocumentPages{width:100%!important;height:100%!important;min-height:0!important}.clbvPhotoStage img{transform-origin:center;user-select:none;-webkit-user-drag:none;will-change:transform}
