.wt-ecosystem-account {
    display: grid;
    gap: 18px;
}

.profile-dashboard {
    grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
    align-items: start;
}

.profile-dashboard .account-card {
    min-width: 0;
}

.profile-dashboard__identity {
    position: sticky;
    top: 92px;
}

.wt-ecosystem-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--wt-border);
    border-radius: 16px;
    background: var(--wt-panel-soft);
}

.wt-ecosystem-state > i {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(57, 207, 255, .11);
    color: var(--wt-blue);
}

.wt-ecosystem-state strong {
    font-size: 1rem;
}

.wt-ecosystem-state span {
    color: var(--wt-muted);
    font-size: .88rem;
}

.wt-ecosystem-state--linked > i {
    background: rgba(42, 222, 154, .14);
    color: #5ff0b8;
}

.wt-ecosystem-state--error > i {
    background: rgba(255, 79, 106, .12);
    color: #ff879a;
}

.wt-ecosystem-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-ecosystem-flow li {
    position: relative;
    min-height: 88px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid var(--wt-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, .025);
    color: var(--wt-text);
}

.wt-ecosystem-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--wt-border);
}

.wt-ecosystem-flow i {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(57, 207, 255, .10);
    color: var(--wt-blue);
}

.wt-ecosystem-flow span {
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
}

.wt-ecosystem-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wt-ecosystem-chips span {
    padding: 6px 9px;
    border: 1px solid var(--wt-border);
    border-radius: 999px;
    background: rgba(57, 207, 255, .07);
    color: var(--wt-text);
    font-size: .76rem;
    font-weight: 800;
}

.wt-ecosystem-chips--roles span {
    background: rgba(255, 255, 255, .035);
    color: var(--wt-muted);
}

html[data-theme="light"] .wt-ecosystem-flow li,
html[data-theme="light"] .wt-ecosystem-chips--roles span {
    background: rgba(255, 255, 255, .74);
}

@media (max-width: 1040px) {
    .profile-dashboard {
        grid-template-columns: 1fr;
    }

    .profile-dashboard__identity {
        position: static;
    }

    .wt-ecosystem-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wt-ecosystem-flow li::after {
        display: none;
    }
}

@media (max-width: 620px) {
    .wt-ecosystem-flow {
        grid-template-columns: 1fr;
    }
}
