/* Focused generation screen: translucent caption layers, restrained blue light. */
dialog.processing-screen{background:radial-gradient(ellipse at 50% 12%,#edf3ff 0,transparent 55%),linear-gradient(145deg,#f8faff,#f8faff 55%,#ffffff);padding:28px 20px}
.processing-screen .processing-content{max-width:720px;min-height:calc(100dvh - 56px)}
.processing-screen .processing-kicker{color:#8092b6;font-size:10px;letter-spacing:4px}
.processing-screen .processing-animation{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;width:178px;height:140px;margin:30px 0 26px;gap:6px;filter:drop-shadow(0 18px 26px #3159dc15)}
.processing-animation::before,.processing-animation::after{content:'';position:absolute;inset:17px 8px;border:1px solid #fff;border-radius:24px;background:linear-gradient(135deg,#ffffffcc,#ffffff40);box-shadow:inset 0 0 20px #fff6,0 8px 28px #3159dc12;z-index:-1;transform:rotate(-9deg);animation:captionLayer 6s ease-in-out infinite}
.processing-animation::after{inset:27px 18px 7px;transform:rotate(7deg);background:linear-gradient(135deg,#ffffffde,#e5edffaa);animation-delay:-3s}
.processing-screen .processing-animation i{width:6px;height:55px;border-radius:8px;background:linear-gradient(#7aa2ff,#3b5dd2);animation:captionVoice 2.1s ease-in-out infinite;transform-origin:center;will-change:transform;opacity:.85}
.processing-screen .processing-animation i:nth-child(2){animation-delay:-.5s}.processing-screen .processing-animation i:nth-child(3){animation-delay:-1.2s}.processing-screen .processing-animation i:nth-child(4){animation-delay:-.8s}.processing-screen .processing-animation i:nth-child(5){animation-delay:-1.6s}.processing-screen .processing-animation i:nth-child(6){animation-delay:-.3s}.processing-screen .processing-animation i:nth-child(7){animation-delay:-1s}
@keyframes captionLayer{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes captionVoice{0%,100%{transform:scaleY(.28)}35%{transform:scaleY(.9)}65%{transform:scaleY(.48)}}
.processing-screen .processing-content h2{font-size:27px;letter-spacing:.02em;color:#243453;margin-bottom:10px}
.processing-screen #processingDetail{max-width:520px;min-height:50px;font-size:13px;color:#72829d;text-wrap:pretty}
.processing-screen .processing-percent{margin:16px 0 20px;gap:7px}
.processing-screen .processing-percent strong{font-size:62px;font-weight:500;color:#3159dc;letter-spacing:-3px;line-height:1.15;min-width:150px}
.processing-screen .processing-percent>span{color:#8794aa;font-size:12px;min-height:36px;line-height:1.6}
.processing-screen .processing-track{max-width:480px;height:7px;background:#e5ebf7;box-shadow:inset 0 1px 2px #2034540a;position:relative}
.processing-screen .processing-track>span{background:linear-gradient(90deg,#5b88f3,#3159dc);transition:none;min-width:0}
.processing-screen .processing-track::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 20%,#ffffffa6 50%,transparent 80%);transform:translateX(-100%);animation:processingShimmer 2.8s ease-in-out infinite;pointer-events:none}
.processing-screen .processing-track>span::after{display:none}
.processing-screen .processing-stages{gap:6px 4px;margin:22px 0 8px;max-width:620px}
.processing-screen .processing-stages li{font-size:11px;border:0;border-radius:20px;background:transparent;color:#9aa6b9;padding:8px 10px;transition:color .4s,background .4s}
.processing-screen .processing-stages li.active{color:#3159dc;background:#ffffffb5;box-shadow:0 2px 8px #3159dc0a;font-weight:600}
.processing-screen .processing-stages li.done{background:transparent;color:#39836d}
.processing-screen .processing-stages li.done::before{content:'✓';margin-right:4px;font-size:10px}
.processing-screen #processingElapsed{font-size:12px;color:#8794aa;margin-top:14px}
.processing-screen #processingCancel{margin-top:23px;border:1px solid #d7e1f3;border-radius:30px;background:#ffffff7a;color:#6177a1;font-size:12px;min-width:118px;padding:10px 22px}
.processing-screen .processing-note{max-width:430px;font-size:11px;line-height:1.8;color:#8b98ad}
.processing-screen.has-error .processing-animation i,.processing-screen.has-error .processing-animation::before,.processing-screen.has-error .processing-animation::after,.processing-screen.has-error .processing-track::after{animation-play-state:paused}
@media(max-width:600px){.processing-screen .processing-content h2{font-size:23px}.processing-screen .processing-animation{margin:22px 0 18px;width:156px;height:125px}.processing-screen .processing-percent strong{font-size:54px}.processing-screen .processing-stages{gap:2px}.processing-screen .processing-stages li{padding:7px 8px;font-size:10px}.processing-screen #processingDetail{min-height:48px}.processing-screen .processing-content{min-height:calc(100dvh - 56px)}}
@media(prefers-reduced-motion:reduce){.processing-screen .processing-animation i,.processing-screen .processing-animation::before,.processing-screen .processing-animation::after,.processing-screen .processing-track::after{animation:none;will-change:auto}.processing-screen .processing-animation i:nth-child(odd){transform:scaleY(.45)}.processing-screen .processing-stages li{transition:none}}

.processing-screen .remaining-time{font-size:16px;line-height:1.6;font-weight:650;color:#466989;margin:18px 0 4px;font-variant-numeric:tabular-nums}
.processing-screen .estimate-note{font-size:11px;line-height:1.7;color:#75869b;margin:0}.remaining-time:empty{display:none}
.export-progress-box .remaining-time{display:block;font-size:14px;line-height:1.6;font-weight:650;color:#66512d;margin:10px 0 2px}.export-progress-box .estimate-note{display:block;font-size:11px;line-height:1.6;color:#7b7486}
