/* Correction limited to the existing wait component. Original CSS files intact.
   The reserved, unavailable finish slot hosts the wait; image geometry is stable. */
.finish-options{position:relative}.finish-options[data-waiting=true]>.finish-feedback{display:none!important}
#generation-state.focused-wait{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:8px;height:104px;min-height:104px;padding:0!important;margin:0;grid-template:none;z-index:2;background:var(--paper)}
.focused-wait .wait-main{display:flex;align-items:center;gap:12px;min-height:42px}.wait-unit{display:flex;align-items:center;gap:3px;flex:0 0 76px}.wait-minairo{width:36px;height:36px;display:block;animation:wait-nod 3s ease-in-out infinite}.activity-icon{width:32px;height:32px;fill:none;stroke:var(--ink);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.wait-copy{min-width:0;flex:1}#wait-message{margin:0;font-size:18px;line-height:1.22;font-weight:500}.focused-wait #legend-line{font-size:12px;margin:4px 0 0;line-height:15px}.focused-wait #wait-progress{width:100%;height:14px;min-height:14px;background:var(--soft,#eeefe7);border:1px solid #a9b7a7;border-radius:8px;overflow:hidden;position:relative}.focused-wait #wait-fill{display:block;height:100%;width:0;background:var(--ink);border-radius:7px;position:relative;overflow:hidden}.focused-wait #wait-fill:after{content:'';position:absolute;inset:0;width:42%;background:linear-gradient(90deg,transparent,#ffffff65,transparent);animation:wait-activity 2.4s linear infinite}.focused-wait .progress-explainer{margin:0;font-size:11px;line-height:14px;color:var(--muted)}#preview-empty #duration-note{font-size:13px;line-height:1.4;padding:0 20px 14px;margin:0}.focused-wait #helpers{display:flex;gap:2px;align-self:center}.focused-wait #helpers svg{width:16px;height:16px;animation:wait-nod 2s ease-in-out infinite}.focused-wait #helpers svg+svg{animation-delay:-1s}.focused-wait #wait-error-actions{display:flex;gap:18px}.focused-wait #wait-error-actions button{min-height:36px;padding:0;background:none;border:0;text-decoration:underline;font-size:13px}.focused-wait[data-phase=error] #wait-fill:after,.focused-wait[data-active=false] #wait-fill:after{display:none;animation:none}.focused-wait[data-active=false] .wait-minairo,.focused-wait[data-active=false] #helpers svg{animation:none}.paused-motion .focused-wait *{animation-play-state:paused!important}.focused-wait[hidden],#view-ack[hidden]{display:none!important}
#view-ack{position:absolute;left:8px;bottom:8px;width:18px;height:18px;animation:wait-cheer .35s ease-out 2;pointer-events:none}.frozen-caption{position:absolute;left:10px;top:10px;z-index:3;background:#faf9f5ed;padding:5px 8px;font-size:10px;border-radius:3px;pointer-events:none}
@keyframes wait-activity{from{transform:translateX(-100%)}to{transform:translateX(340%)}}@keyframes wait-nod{0%,83%,100%{transform:rotate(0)}90%{transform:rotate(-4deg)}95%{transform:rotate(3deg)}}@keyframes wait-cheer{50%{transform:translateY(-2px)}}
.lab-toolbar{margin:24px auto 0;padding:15px 20px;border:1px dashed var(--line);max-width:1100px;background:var(--paper);display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}.lab-toolbar strong{width:100%;font-size:11px;letter-spacing:.04em}.lab-toolbar button,.lab-toolbar select{min-height:44px;border:1px solid #a9b7a7;background:transparent;border-radius:3px;font-size:12px;padding:8px 10px}.lab-toolbar [role=group]{display:flex;flex-wrap:wrap;gap:6px}.lab-toolbar button[aria-pressed=true]{background:var(--soft);box-shadow:inset 0 0 0 1px var(--ink)}.lab-toolbar p{width:100%;margin:3px 0;color:var(--muted)}.lab-notes{max-width:1100px;margin:18px auto 40px;padding:18px 20px;border-top:1px solid var(--line);font-size:13px;line-height:1.6}.lab-notes summary{cursor:pointer;min-height:44px}.context-map{display:flex;align-items:center;justify-content:center;background:#e4e8de;color:#60705d;font-size:13px;text-align:center;padding:20px}#commercial-thumbs img{width:100%;height:100%;object-fit:cover}#preview-empty img{opacity:.7}.individual-preparation{margin:0}
@media(max-width:900px){.focused-wait .wait-main{gap:8px}.wait-unit{flex-basis:62px;gap:1px}.wait-minairo{width:31px;height:31px}.activity-icon{width:27px;height:27px}#wait-message{font-size:16px;line-height:1.2}.focused-wait #helpers svg{width:12px;height:12px}.focused-wait .progress-explainer{font-size:10px;line-height:12px}.focused-wait #wait-progress{height:14px;min-height:14px}#preview-empty #duration-note{font-size:12px;line-height:1.35}.lab-toolbar,.lab-notes{margin-inline:16px}}
@media(prefers-reduced-motion:reduce){.focused-wait *,#view-ack{animation:none!important;transition:none!important}}

.focused-wait[data-phase=error]{gap:4px}.focused-wait[data-phase=error] .wait-main{min-height:36px}.focused-wait[data-phase=error] #activity-note{display:none}
