.logo-workflow-dock-wrap {
    position: sticky;
    top: 88px;
    z-index: 940;
    width: 100%;
}

[data-logo-project-transition].is-loading{
    opacity:.62;
    pointer-events:none;
}

.logo-workflow-dock {
    align-items: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(107, 57, 244, .15);
    border-radius: 999px;
    display: flex;
    gap: 18px;
    justify-content: center;
    margin: 12px auto 4px;
    max-width: 1240px;
    min-height: 0;
    padding: 12px 54px 13px;
    position: relative;
    width: calc(100% - 40px);
}

.logo-workflow-project {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
    text-align: center;
}

.logo-workflow-project span {
    color: #8b8694;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-workflow-project strong {
    color: #211f26;
    display: block;
    flex: 0 1 auto;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    max-width: 680px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo-workflow-name-editor {
    max-width: 680px;
}

.logo-workflow-name-display {
    vertical-align: middle;
}

.logo-workflow-name-display strong {
    max-width: 620px;
}

.logo-workflow-name-form {
    grid-template-columns: minmax(140px, 360px) 28px 28px;
}

.logo-workflow-name-form input {
    font-size: 12px;
    height: 30px;
}

.logo-workflow-name-form button {
    height: 28px;
    width: 28px;
}

.logo-workflow-steps {
    box-sizing: border-box;
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    max-width: none;
    padding: 0;
    min-width: 0;
    width: auto;
}

.logo-workflow-step {
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
}

.logo-workflow-step a {
    align-items: center;
    border: 1px solid #ebe8f0;
    border-radius: 999px;
    color: #8a8591;
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    min-height: 36px;
    min-width: 0;
    padding: 3px 9px 3px 4px;
    position: relative;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
    z-index: 1;
    width: auto;
}

.logo-workflow-node {
    align-items: center;
    background: #fff;
    border: 1px solid #dcd8e4;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
    width: 28px;
}

.logo-workflow-node b,
.logo-workflow-node i {
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.logo-workflow-node i {
    display: none;
}

.logo-workflow-step.is-complete .logo-workflow-node {
    background: #f2efff;
    border-color: #d7ceff;
    color: #6b39f4;
}

.logo-workflow-step.is-complete .logo-workflow-node b {
    display: none;
}

.logo-workflow-step.is-complete .logo-workflow-node i {
    display: block;
}

.logo-workflow-step.is-current .logo-workflow-node {
    background: #6b39f4;
    border-color: #6b39f4;
    box-shadow: 0 8px 18px -10px rgba(107, 57, 244, .72);
    color: #fff;
    transform: scale(1.04);
}

.logo-workflow-step.is-current a {
    background: #faf9ff;
    border-color: #d8cfff;
}

.logo-workflow-copy {
    display: block;
    min-width: 0;
}

.logo-workflow-copy strong,
.logo-workflow-copy small {
    display: block;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo-workflow-copy strong {
    color: #4e4a55;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.logo-workflow-copy small {
    color: #9a95a1;
    font-size: 9px;
    line-height: 1.35;
    margin-top: 1px;
}

.logo-workflow-step.is-current .logo-workflow-copy strong {
    color: #211f26;
}

.logo-workflow-step a:hover .logo-workflow-node {
    border-color: #9d81f8;
}

.logo-workflow-step a:hover {
    background: #faf9ff;
    border-color: #d7ceff;
}

.logo-workflow-step a:hover .logo-workflow-copy strong {
    color: #6b39f4;
}

.logo-workflow-exit {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #aaa5b0;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, color .2s ease;
    width: 34px;
}

.logo-workflow-exit:hover {
    background: #f4f2f7;
    color: #4e4a55;
}

.logo-workflow-mobile-summary {
    display: none;
}

.logo-tool-flow {
    box-sizing: border-box;
    border-top: 0;
    margin-top: 20px;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.logo-tool-flow *,
.logo-tool-flow *::before,
.logo-tool-flow *::after {
    box-sizing: border-box;
}

.logo-tool-flow[hidden] {
    display: none !important;
}

.logo-tool-flow-steps {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.logo-tool-flow-item {
    min-width: 0;
}

.logo-tool-flow-item > small {
    color: #9993a1;
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 5px 12px;
}

.logo-tool-flow-button {
    align-items: center;
    background: #fff;
    border: 1px solid #6b39f4;
    border-radius: 999px;
    color: #6b39f4;
    display: flex;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    gap: 7px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.2;
    min-height: 40px;
    min-width: 0;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    width: 100%;
}

button.logo-tool-flow-button {
    appearance: none;
}

.logo-tool-flow-button:disabled {
    background: #fbfaff;
    border-color: #d8d1e8;
    color: #a49ead;
    cursor: not-allowed;
    opacity: .72;
}

.logo-tool-flow-button i {
    flex: 0 0 auto;
    font-size: 11px;
}

.logo-tool-flow-button span {
    min-width: 0;
}

.logo-tool-flow-item:not(.is-current) .logo-tool-flow-button:hover {
    background: #f7f4ff;
    color: #5628db;
    transform: translateY(-1px);
}

.logo-tool-flow-item.is-current .logo-tool-flow-button {
    background: #6b39f4;
    border-color: #6b39f4;
    color: #fff;
}

.logo-tool-flow-item.is-current .logo-tool-flow-button i {
    display: none;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .logo-workflow-dock {
        gap: 12px;
        padding: 12px 50px 13px;
        width: calc(100% - 28px);
    }

    .logo-workflow-copy small {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-workflow-dock-wrap {
        top: 72px;
    }

    .logo-workflow-dock {
        display: block;
        margin-top: 8px;
        min-height: 0;
        padding: 0;
        position: relative;
        width: calc(100% - 24px);
    }

    .logo-workflow-mobile-summary {
        align-items: center;
        background: transparent;
        border: 0;
        color: #211f26;
        display: grid;
        gap: 8px;
        grid-template-columns: auto 1fr auto;
        min-height: 54px;
        padding: 8px 44px 8px 14px;
        text-align: left;
        width: 100%;
    }

    .logo-workflow-mobile-summary strong {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
    }

    .logo-workflow-mobile-summary i {
        color: #8f8998;
        font-size: 10px;
        transition: transform .22s ease;
    }

    .logo-workflow-mobile-step {
        background: #f2efff;
        border-radius: 999px;
        color: #6b39f4;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0;
        padding: 5px 8px;
    }

    .logo-workflow-project,
    .logo-workflow-steps {
        display: none;
    }

    .logo-workflow-dock.is-expanded {
        border-radius: 20px;
        padding-bottom: 12px;
    }

    .logo-workflow-dock.is-expanded .logo-workflow-project,
    .logo-workflow-dock.is-expanded .logo-workflow-steps {
        display: grid;
    }

    .logo-workflow-dock.is-expanded .logo-workflow-project {
        align-items: center;
        display: grid;
        gap: 2px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        margin: 0 14px;
        padding: 11px 2px 8px;
        width: calc(100% - 28px);
    }

    .logo-workflow-name-editor {
        max-width: none;
        width: 100%;
    }

    .logo-workflow-name-display strong {
        max-width: 48vw;
    }

    .logo-workflow-name-form {
        grid-template-columns: minmax(100px, 1fr) 28px 28px;
        width: 100%;
    }

    .logo-workflow-dock.is-expanded .logo-workflow-mobile-summary i {
        transform: rotate(180deg);
    }

    .logo-workflow-steps {
        gap: 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 8px;
        width: 100%;
    }

    .logo-workflow-step {
        min-width: 0;
    }

    .logo-workflow-step a {
        padding: 4px 8px 4px 4px;
        width: 100%;
    }

    .logo-workflow-copy small {
        display: none;
    }

    .logo-workflow-exit {
        position: absolute;
        right: 8px;
        top: 10px;
        transform: none;
    }

    .logo-tool-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-workflow-node,
    .logo-workflow-exit,
    .logo-workflow-mobile-summary i,
    .logo-tool-flow-button {
        transition: none;
    }
}

@media (max-width: 520px) {
    .logo-tool-flow {
        margin-top: 18px;
    }

    .logo-tool-flow-steps {
        gap: 9px 7px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logo-tool-flow-item > small {
        margin-left: 9px;
    }

    .logo-tool-flow-button {
        font-size: 11px;
        min-height: 38px;
        padding: 7px 8px;
    }
}
