/* Activate only for a trusted Sam8 item viewer. Native vault dialogs own all
   fields and controls; the underlying navigation stays out of the way. */
.sam8-viewer-vault app-root{visibility:hidden}
.sam8-viewer-embedded .cdk-overlay-container{visibility:visible}
.sam8-viewer-embedded .cdk-overlay-pane:has(app-cipher-view){width:100%!important;max-width:100%!important;max-height:100dvh!important;margin:0!important}
.sam8-viewer-embedded :is(bit-dialog,[bit-dialog]):has(app-cipher-view){width:100%!important;max-width:100%!important;max-height:100dvh!important;border-radius:0!important}
.sam8-viewer-embedded app-cipher-view{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere}
.sam8-viewer-embedded .cdk-global-overlay-wrapper:has(app-cipher-view){align-items:flex-start!important}
