/* WINDETECT ERP 5.0.0: freeze registration camera/guide/preview at one 4:3 size per opening.
   The user-visible shutter and HSE/PDF code are deliberately untouched. */
#wdAssetCamera .wd-asset-camera-frame{
  width:var(--wd500-frame-width, min(calc(100vw - 32px),500px))!important;
  min-width:0!important;
  max-width:var(--wd500-frame-width, min(calc(100vw - 32px),500px))!important;
  height:var(--wd500-frame-height, auto)!important;
  min-height:0!important;
  max-height:var(--wd500-frame-height, none)!important;
  aspect-ratio:4/3!important;
  position:relative!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  contain:layout paint!important;
}
#wdAssetCamera .wd-asset-camera-frame > video,
#wdAssetCamera .wd-asset-camera-frame > img,
#wdAssetCamera #wdAssetGuide{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  aspect-ratio:4/3!important;
}
#wdAssetCamera .wd-asset-camera-frame [hidden]{display:none!important}
#wdAssetCamera .wd-asset-photo-step{width:var(--wd500-frame-width, min(calc(100vw - 32px),500px))!important;}
