/* Wait dialog (busy.js) and upload checks (upload.js). Loaded after styles.css; uses its tokens. */
.busy-card{max-height:calc(100dvh - 2.5rem);overflow:auto;overscroll-behavior:contain}
.busy-card:focus{outline:none}
.busy-steps li{flex-wrap:wrap;column-gap:.6rem;row-gap:.1rem}
.busy-steps li .step-icon{width:1.05rem;height:1.05rem;flex:none;color:var(--muted);transition:color .3s var(--ease)}
.busy-steps li[data-state=active] .step-icon{color:var(--gold-ink)}
.busy-steps li[data-state=done] .step-icon{color:var(--ok)}
.busy-steps li span{flex:0 1 auto;min-width:0}
/* the measured detail sits at the end of the row and moves under it when the row is too narrow */
.busy-steps li small{max-width:100%;white-space:normal;text-align:end;font-size:.82rem}
.busy-steps li small:empty{display:none}
.busy-card .busy-eta{margin-top:.55rem;font-size:.85rem;font-variant-numeric:tabular-nums;color:var(--ink-2)}
.busy-card .busy-eta:empty{display:none}
.busy:not(.with-steps) .busy-eta{display:none}
/* more than one file held over the box: say so before the drop */
.drop[data-verdict=many]{border-style:dashed;border-color:var(--danger);background:var(--danger-wash)}
.drop[data-verdict=many] .drop-text small{color:var(--danger);font-weight:700}
/* an error the user can answer (a drawing without its end mark) carries its button */
.page-notice .notice-action{margin-inline-start:auto;flex:none;align-self:center}
@media (max-width:600px){.page-notice:has(.notice-action){flex-wrap:wrap}.page-notice .notice-action{margin-inline-start:0}}
@media (prefers-reduced-motion:reduce){.busy-steps li .step-icon{transition:none}}
