/* ZST CV v9.4: prevent uploaded portrait/logo from covering the document. */
.zst-cv-sheet,.zst-cv-sheet *{box-sizing:border-box}
.zst-cv-sheet{max-width:100%;min-width:0}
.zst-cv-sheet .cv-side,.zst-cv-sheet .cv-main{min-width:0;overflow-wrap:anywhere}
.zst-cv-sheet .cv-side img,.zst-cv-sheet .cv-main img,.zst-cv-sheet img.zst-cv-photo{
  display:block!important;width:108px!important;height:108px!important;
  max-width:108px!important;max-height:108px!important;
  min-width:0!important;min-height:0!important;
  object-fit:cover!important;object-position:center!important;
  margin:0 auto 16px!important;border-radius:50%!important;
  position:static!important;float:none!important;transform:none!important;
  aspect-ratio:1/1!important;
}
.zst-cv-sheet .cv-main img:not(.zst-cv-photo){max-width:100%!important}
.zst-inline-preview,#zst-template-frame{width:100%;max-width:100%;min-width:0;overflow:auto;isolation:isolate}
#zst-template-frame .zst-cv-sheet,.zst-inline-preview .zst-cv-sheet{
  width:100%!important;max-width:794px!important;min-height:0!important;
  margin:8px auto!important;box-shadow:0 2px 10px #152a441c!important;
}
#zst-template-frame .zst-cv-sheet .cv-side,.zst-inline-preview .zst-cv-sheet .cv-side{padding:20px 14px}
#zst-template-frame .zst-cv-sheet .cv-main,.zst-inline-preview .zst-cv-sheet .cv-main{padding:20px 16px}
#zst-template-frame .zst-cv-sheet h1,.zst-inline-preview .zst-cv-sheet h1{font-size:clamp(16px,2vw,26px);overflow-wrap:anywhere}
@media(max-width:600px){
 #zst-template-frame .zst-cv-sheet,.zst-inline-preview .zst-cv-sheet{grid-template-columns:35% 65%}
 #zst-template-frame .zst-cv-sheet .cv-side,.zst-inline-preview .zst-cv-sheet .cv-side{padding:12px 8px}
 #zst-template-frame .zst-cv-sheet .cv-main,.zst-inline-preview .zst-cv-sheet .cv-main{padding:12px 9px}
 #zst-template-frame .zst-cv-sheet .cv-side img,.zst-inline-preview .zst-cv-sheet .cv-side img{width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important}
}
@media print{
 .zst-cv-sheet{width:100%!important;max-width:none!important;min-height:0!important}
 .zst-cv-sheet .cv-side img,.zst-cv-sheet img.zst-cv-photo{width:108px!important;height:108px!important;max-width:108px!important;max-height:108px!important}
}
