.video-setup-progress{margin:14px 0 18px;padding:17px;border:1px solid #47406c;border-radius:14px;background:#201d2e;color:#eeeaf8}
.video-setup-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.video-setup-head>div{display:grid;gap:3px;min-width:0}
.video-setup-head small{font-size:10px;letter-spacing:1.5px;color:#bba7eb}
.video-setup-head b{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.video-setup-head strong{font:600 24px ui-monospace,SFMono-Regular,monospace;color:#c5aaff;white-space:nowrap}
.video-setup-track{height:8px;margin-top:15px;overflow:hidden;border-radius:99px;background:#39334b}
.video-setup-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8871e2,#c5aaff);transition:width .35s ease}
.video-setup-progress>p{margin:9px 0 0;font-size:12px;color:#bdb6cf;font-variant-numeric:tabular-nums}
.video-setup-models{display:grid;gap:6px;margin-top:12px;max-height:225px;overflow:auto}
.video-setup-model{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #383447;border-radius:8px;background:#181722;font-size:11px}
.video-setup-model span{min-width:0;overflow-wrap:anywhere}
.video-setup-model small{color:#bcabd9;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:520px){.video-setup-progress{padding:13px}.video-setup-head strong{font-size:20px}.video-setup-model{display:grid;gap:2px}.video-setup-model small{padding-left:13px}}
@media(prefers-reduced-motion:reduce){.video-setup-track span{transition:none}}

/* Compact, always-reachable video status and readable setup details. */
body.atelier .main #status{
  position:sticky;top:12px;z-index:12;margin:0 0 16px;padding:16px 18px;
  border:1px solid #70619f;border-radius:16px;
  background:linear-gradient(125deg,#29243ded,#1a1b2aef);
  box-shadow:0 16px 42px #09081455,inset 0 1px 0 #ffffff15;
  backdrop-filter:blur(18px);
}
body.atelier .main #status .video-status-main{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
body.atelier .main #status .video-status-copy{min-width:0;flex:1}
body.atelier .main #status .video-status-copy>small,
body.atelier .main #status .video-status-eta>small,
body.atelier .main #status .video-status-elapsed>small{display:block;margin-bottom:5px;font-size:10px;font-weight:700;letter-spacing:.12em;color:#a99ad5}
body.atelier .main #status #statusTitle{display:block;color:#f0ebff;font-size:15px;line-height:1.3}
body.atelier .main #status #statusText{margin:5px 0 0;color:#c3bdd5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.atelier .main #status .video-status-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:13px;padding-top:11px;border-top:1px solid #ffffff1b}
body.atelier .main #status .video-status-eta{display:grid;justify-items:start;gap:1px;min-width:0;font-variant-numeric:tabular-nums}
body.atelier .main #status .video-status-eta[hidden]{display:none}
body.atelier .main #status .video-status-elapsed{display:grid;justify-items:end;min-width:54px;font-variant-numeric:tabular-nums}
body.atelier .main #status #videoSetupEta{font-size:16px;line-height:1.25;color:#d8c5ff;white-space:nowrap}
body.atelier .main #status #timer{float:none;display:block;font-size:14px;font-weight:650;color:#d4cce7}
body.atelier .main #status #stop{margin:0;min-height:42px;padding:9px 13px;white-space:nowrap;border:1px solid #9c6276;border-radius:10px;background:#3b2735;color:#ffd7df;font-size:12px;font-weight:650}
body.atelier .main #status #stop:hover:not(:disabled){border-color:#cf8197;background:#4d2d40}
body.atelier .main .video-setup-progress{margin:0 0 19px;padding:19px;border:1px solid #514771;border-radius:16px;background:linear-gradient(150deg,#242036,#1a1b29);box-shadow:inset 0 1px 0 #ffffff0b}
body.atelier .main .video-setup-head small{color:#aa98d4}
body.atelier .main .video-setup-head b{font-size:14px;color:#f0eaff}
body.atelier .main .video-setup-head strong{font-size:22px;color:#c7aaff}
body.atelier .main .video-setup-track{height:7px;margin-top:17px;background:#3a3450}
body.atelier .main .video-setup-track span{background:linear-gradient(90deg,#7c6bd9,#cbb3ff)}
body.atelier .main .video-setup-progress>p{margin:10px 0 0;color:#bdb5d1;font-size:12px}
body.atelier .main .video-setup-details{margin-top:15px;border-top:1px solid #514964;padding-top:12px}
body.atelier .main .video-setup-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:#cdbfe9;font-size:12px;font-weight:600}
body.atelier .main .video-setup-details summary::-webkit-details-marker{display:none}
body.atelier .main .video-setup-details summary::before{content:'›';font-size:19px;line-height:12px;transition:transform .2s}
body.atelier .main .video-setup-details[open] summary::before{transform:rotate(90deg)}
body.atelier .main .video-setup-details summary span{margin-left:auto;color:#998dad;font-size:11px;font-weight:500}
body.atelier .main .video-setup-models{max-height:260px;margin-top:13px}
body.atelier .main .video-setup-model{border-color:#3f3a55;background:#191927;color:#ded9eb}
body.atelier .main .video-setup-model small{color:#baabd9}
html[data-studio-theme='light'] body.atelier .main #status{border-color:#cbbbec;background:linear-gradient(125deg,#f7f2ffed,#f1effaef);box-shadow:0 14px 35px #7560a11c,inset 0 1px 0 #fff}
html[data-studio-theme='light'] body.atelier .main #status .video-status-copy>small,
html[data-studio-theme='light'] body.atelier .main #status .video-status-eta>small,
html[data-studio-theme='light'] body.atelier .main #status .video-status-elapsed>small{color:#7664a5}
html[data-studio-theme='light'] body.atelier .main #status #statusTitle{color:#392d5d}
html[data-studio-theme='light'] body.atelier .main #status #statusText,
html[data-studio-theme='light'] body.atelier .main #status #timer{color:#766c87}
html[data-studio-theme='light'] body.atelier .main #status #videoSetupEta{color:#6543a7}
html[data-studio-theme='light'] body.atelier .main #status #stop{border-color:#dfbdc9;background:#fff6f8;color:#9b3853}
html[data-studio-theme='light'] body.atelier .main .video-setup-progress{border-color:#d8cbed;background:linear-gradient(150deg,#f9f6ff,#f3f1fa);box-shadow:inset 0 1px 0 #fff}
html[data-studio-theme='light'] body.atelier .main .video-setup-head b{color:#3b305e}
html[data-studio-theme='light'] body.atelier .main .video-setup-progress>p,
html[data-studio-theme='light'] body.atelier .main .video-setup-details summary{color:#675a82}
html[data-studio-theme='light'] body.atelier .main .video-setup-details{border-top-color:#ded4ed}
html[data-studio-theme='light'] body.atelier .main .video-setup-model{border-color:#e2d8ef;background:#fff;color:#4d4265}
@media(max-width:640px){body.atelier .main #status{top:6px;padding:13px}body.atelier .main #status .video-status-actions{gap:8px}body.atelier .main #status #videoSetupEta{font-size:14px}}
