.dm-updates-progress-track.dm-pro-phase-progress {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 2.65rem;
    height: auto;
    overflow: hidden;
    padding: .32rem .5rem;
    border: 1px solid var(--dm-u-border-light, #eceef0);
    border-radius: 999px;
    background: #e9eaec;
}

.dm-updates-progress-track.dm-pro-phase-progress .dm-updates-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: #b2010d;
    transition: width .28s ease, background-color .28s ease;
}

.dm-updates-progress-bar[data-dm-phase="backup"] {
    background: #b2010d;
}

.dm-updates-progress-bar[data-dm-phase="preflight"] {
    background: #c9341a;
}

.dm-updates-progress-bar[data-dm-phase="composer"] {
    background: #d97706;
}

.dm-updates-progress-bar[data-dm-phase="verify"] {
    background: #8d8f2f;
}

.dm-updates-progress-bar[data-dm-phase="migration"] {
    background: #568e4c;
}

.dm-updates-progress-bar[data-dm-phase="completed"] {
    background: #2f9e5b;
}

.dm-updates-progress-bar[data-dm-phase="error"] {
    background: #d92d3f;
}

.dm-updates-progress-track.dm-pro-phase-progress [data-dm-progress-current] {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    padding: .22rem .65rem;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 4px rgba(32, 33, 36, .08);
    color: #2b2d30;
    font-size: .79rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.dm-updates.dm-pro-progress-enhanced .dm-updates-progress-meta {
    justify-content: flex-end;
    min-height: 1rem;
}

.dm-updates.dm-pro-progress-enhanced .dm-updates-progress-meta [data-dm-progress-summary] {
    color: var(--dm-u-muted, #6b7280);
    font-size: .74rem;
}

.dm-updates.dm-pro-progress-enhanced .dm-updates-progress-meta [data-dm-progress-summary]:empty {
    display: none;
}

@media (max-width: 620px) {
    .dm-updates-progress-track.dm-pro-phase-progress {
        min-height: 2.5rem;
    }

    .dm-updates-progress-track.dm-pro-phase-progress [data-dm-progress-current] {
        max-width: calc(100% - .7rem);
        padding-inline: .5rem;
        font-size: .74rem;
    }
}
