#studio .publish-progress-modal{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--surface-base,var(--panel));color:var(--text);box-shadow:0 30px 100px #0007;overflow:auto}
.publish-progress-modal::backdrop{background:#020806a6;backdrop-filter:blur(9px)}
.publish-progress-heading{display:flex;align-items:center;justify-content:space-between}.publish-progress-eyebrow{font-size:11px;font-weight:650;letter-spacing:.16em;color:var(--muted)}
.publish-progress-heading button{width:36px;height:36px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:50%;cursor:pointer}
.publish-progress-hero{text-align:center;padding:4px 10px}.publish-progress-hero h2{font-size:26px;letter-spacing:-.6px;margin:12px 0 6px}.publish-progress-clip{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.publish-progress-orbit{position:relative;display:grid;place-items:center;width:64px;height:64px;margin:4px auto;background:color-mix(in srgb,var(--green) 8%,transparent);border-radius:50%;color:var(--green)}
.publish-progress-orbit:before{content:"";position:absolute;inset:0;border:2px solid color-mix(in srgb,var(--green) 16%,transparent);border-top-color:var(--green);border-radius:50%;animation:spin 1.4s linear infinite}
.publish-progress-orbit svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.publish-progress-modal[data-pending=false] .publish-progress-orbit:before{animation:none;border-color:currentColor}
.publish-progress-modal[data-state=failed] .publish-progress-orbit{color:var(--red)}
.publish-progress-modal [data-upload-summary]{text-align:center;font-size:13px;color:var(--muted);margin:6px 0 14px}
.publish-progress-destination{padding:14px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface-raised,var(--panel2))}
.publish-progress-destination>div{display:flex;justify-content:space-between;gap:12px;align-items:start}.publish-progress-destination strong{font-size:13px;overflow-wrap:anywhere}.publish-progress-destination span{font-size:11px;color:var(--muted);text-align:right}
.publish-progress-destination ol{display:flex;gap:8px;list-style:none;padding:0;margin:12px 0;font-size:10px;color:var(--muted)}.publish-progress-destination li{flex:1;padding-top:8px;border-top:2px solid var(--line)}.publish-progress-destination li.done,.publish-progress-destination li.current{border-color:var(--green);color:var(--text)}
.publish-progress-destination progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:20px;overflow:hidden;accent-color:var(--green);background:var(--line)}.publish-progress-destination progress::-webkit-progress-bar{background:var(--line);border-radius:20px}.publish-progress-destination progress::-webkit-progress-value{background:var(--green);border-radius:20px;transition:width .4s}.publish-progress-destination progress:indeterminate{background:linear-gradient(90deg,transparent,var(--green),transparent) 0 0/50% 100% no-repeat,var(--line);animation:upload-shimmer 1.7s ease-in-out infinite}.publish-progress-destination progress:indeterminate::-webkit-progress-bar{background:transparent}
.publish-progress-destination p{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0;overflow-wrap:anywhere}.publish-progress-destination[data-upload-stage=attention] span,.publish-progress-modal [data-upload-error],.publish-progress-destination .publish-progress-warning{color:var(--red)}
.publish-progress-modal [data-upload-error]{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.publish-progress-modal [data-upload-error]:empty{display:none}.publish-progress-modal footer{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.publish-progress-modal footer p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}.publish-progress-modal footer>div{display:flex;justify-content:space-between;gap:12px}.publish-progress-modal footer .btn{font-size:12px}
@keyframes upload-shimmer{from{background-position:-100% 0}to{background-position:200% 0}}
@media(prefers-reduced-motion:reduce){.publish-progress-orbit:before,.publish-progress-destination progress:indeterminate{animation:none}.publish-progress-destination progress::-webkit-progress-value{transition:none}}
@media(max-width:480px){#studio .publish-progress-modal{padding:20px}.publish-progress-hero h2{font-size:23px}.publish-progress-destination>div{flex-direction:column;gap:5px}.publish-progress-destination span{text-align:left}}
