/* ACSE video production tracker */
.acse-progress{margin-top:24px;border:1px solid #dce5ef;border-radius:18px;padding:24px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.05)}
.acse-progress[hidden]{display:none}.acse-progress-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.acse-progress h3{margin:4px 0 8px;font-size:21px;color:#17243b}.acse-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#63748a}
.acse-job{font-size:12px;color:#64748b;overflow-wrap:anywhere}.acse-pill{border-radius:999px;padding:7px 12px;font-size:12px;font-weight:750;background:#dbeafe;color:#1d4ed8}
.acse-pill.is-blocked,.acse-pill.is-failed{background:#fee2e2;color:#b91c1c}.acse-pill.is-completed{background:#dcfce7;color:#15803d}.acse-pill.is-working{background:#fef3c7;color:#92400e}
.acse-summary{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:22px}.acse-summary strong{font-size:23px;color:#17243b}.acse-summary span{color:#64748b;font-size:12px}
.acse-track{height:9px;background:#e9edf2;border-radius:20px;overflow:hidden;margin:12px 0 7px}.acse-track-fill{height:100%;width:0;background:#16a34a;border-radius:20px;transition:width .35s ease}
.acse-steps{list-style:none;margin:30px 0 4px;padding:0 0 10px;display:grid;grid-template-columns:repeat(8,minmax(105px,1fr));gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.acse-step{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;min-width:105px;padding:0 7px}
.acse-step:not(:last-child):before{content:"";position:absolute;z-index:0;top:15px;left:calc(50% + 16px);width:calc(100% - 32px);height:3px;background:#e5e7eb}
.acse-step.is-done:not(:last-child):before{background:#16a34a}
.acse-step-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#a18a76;color:white;font-size:13px;font-weight:800;z-index:1;flex:0 0 32px}
.acse-step.is-done .acse-step-dot{background:#16a34a}.acse-step.is-working .acse-step-dot{background:#eab308;color:#422006;animation:acse-pulse 1.8s infinite}.acse-step.is-error .acse-step-dot{background:#dc2626}
.acse-step-main{padding:10px 0 0;min-width:0}.acse-step-title{font-weight:750;color:#263449;font-size:13px;line-height:1.3}.acse-step-caption{font-size:11px;color:#8a7464;margin-top:5px;line-height:1.3}
.acse-step.is-done .acse-step-caption{color:#15803d}.acse-step.is-working .acse-step-caption{color:#a16207}.acse-step.is-error .acse-step-caption{color:#b91c1c}
.acse-alert{margin-top:16px;border:1px solid #fecaca;border-radius:12px;background:#fef2f2;color:#991b1b;padding:14px;line-height:1.5}.acse-alert[hidden]{display:none}
.acse-refresh{margin-top:14px;font-size:12px;color:#64748b}.acse-progress button.acse-retry{margin-top:10px}.acse-retry[hidden]{display:none}
@keyframes acse-pulse{50%{box-shadow:0 0 0 7px rgba(234,179,8,.13)}}
.acse-spinner{
  width:14px;
  height:14px;
  display:block;
  box-sizing:border-box;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  animation:acse-spin .75s linear infinite;
}

@keyframes acse-spin{
  to{
    transform:rotate(360deg);
  }
}
@media(max-width:900px){.acse-steps{grid-template-columns:repeat(8,120px)}}
@media(max-width:540px){.acse-progress{padding:17px}.acse-progress h3{font-size:19px}.acse-steps{grid-template-columns:repeat(8,115px)}}
