/* Shared by the wizard dock and the editors' Image Library: a build's read-only
   library, and the photos the Apple Photos project extension still prepares. */
.create-editor-photo-progress { flex: none; padding: 12px 16px; --cw-accent: var(--color-accent); --cw-accent-soft: rgba(var(--color-accent-rgb) / 0.16); }
.cw-dock-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cw-dock-status[hidden],
.cw-bar[hidden] {
    display: none;
}

.cw-dock-status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.cw-spin {
    width: 20px;
    height: 20px;
    flex: none;
    box-sizing: border-box;
    border-radius: 999px;
    border: 2.5px solid var(--cw-accent);
    border-right-color: var(--cw-accent-soft);
    animation: cw-spin 0.9s linear infinite;
}

@keyframes cw-spin {
    to {
        transform: rotate(360deg);
    }
}

.cw-tick {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 999px;
    background: var(--cw-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-tick .material-symbols-rounded {
    font-size: 15px;
}

/* Photos waiting for the customer (a product to take them): neither busy nor done. */
.cw-wait {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 999px;
    background: var(--cw-accent-soft);
    color: var(--cw-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-wait .material-symbols-rounded {
    font-size: 15px;
}

.cw-bar {
    display: block;
    height: 10px;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: var(--color-surface-alt);
    box-shadow: inset 0 0 0 1px rgba(var(--shadow-color-rgb) / 0.06);
}

.cw-bar > span {
    display: block;
    height: 100%;
    min-width: 6px;
    border-radius: 6px;
    background: var(--gradient-bright-blue);
    transition: width 0.25s linear;
}

/* Curation has no partial progress: a segment slides until the outcome lands. */
.cw-bar--indeterminate > span {
    width: 35%;
    animation: cw-bar-slide 1.3s ease-in-out infinite;
}

@keyframes cw-bar-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(290%);
    }
}


@media (prefers-reduced-motion: reduce) { .cw-spin, .cw-bar--indeterminate > span { animation: none; } .cw-bar > span { transition: none; } }
