/* PV LAB Video waiting screen. One indeterminate line and the real job status.
   Scoped to the existing stage; saved playback and generation logic stay intact. */
#app.video-studio-active .video-job-stage[hidden]{display:none!important}
html body #app.video-studio-active .video-job-stage{
  background:#111213!important;
  overflow:hidden!important;
}
html body #app.video-studio-active .video-job-stage:is([data-phase="submitting"],[data-phase="queued"],[data-phase="running"],[data-phase="saving"]) .video-job-stage-main{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  width:min(390px,100%)!important;
  height:auto!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:auto!important;
  padding:0 12px!important;
  overflow:visible!important;
  clip-path:none!important;
  white-space:normal!important;
  text-align:center!important;
}
html body #app.video-studio-active .video-job-stage .video-job-stage-status{
  gap:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#a6a6a6;
  font-size:11px;
  font-weight:400;
}
html body #app.video-studio-active .video-job-stage .video-job-stage-indicator{
  display:none;
}
html body #app.video-studio-active .video-job-stage .pv-video-loading-line{
  display:none;
}
html body #app.video-studio-active .video-job-stage:is([data-phase="submitting"],[data-phase="queued"],[data-phase="running"],[data-phase="saving"],[data-phase="loading"]) .pv-video-loading-line{
  display:block;
  position:relative;
  flex:0 0 auto;
  width:144px;
  max-width:100%;
  height:1px;
  margin:0 auto 24px;
  overflow:hidden;
  background:#363636;
}
html body #app.video-studio-active .pv-video-loading-line:after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:40px;
  background:#dededb;
  animation:pv-video-loading-line 2.4s ease-in-out infinite;
}
html body #app.video-studio-active .video-job-stage #video-job-stage-title{
  margin:0!important;
  font-size:18px!important;
  font-weight:500!important;
  line-height:1.3!important;
  letter-spacing:-.02em!important;
  color:#ededeb!important;
}
html body #app.video-studio-active .video-job-stage .video-job-stage-main>p{
  margin:10px auto 0!important;
  max-width:345px!important;
  color:#999!important;
  font-size:12px!important;
  line-height:1.55!important;
}
html body #app.video-studio-active .video-job-stage-meta{
  color:#858585!important;
  font-size:10px!important;
}
@keyframes pv-video-loading-line{
  0%{transform:translateX(-40px)}
  100%{transform:translateX(144px)}
}
@media(prefers-reduced-motion:reduce){
  html body #app.video-studio-active .pv-video-loading-line:after{
    animation:none!important;
    transform:translateX(52px);
  }
}
