.matilde-chart-publications-research {
    width: 100%;
    margin: 24px 0;
}

.matilde-chart-publications-research__inner {
    background: transparent;
    border-radius: 14px;
    padding: 24px 20px;
    overflow-x: auto;
}

.matilde-chart-publications-research__chart {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.matilde-chart-publications-research__grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.matilde-chart-publications-research__extra-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.matilde-chart-publications-research__row {
    display: grid;
    grid-template-columns: 150px repeat(7, minmax(82px, 1fr));
    align-items: center;
}

.matilde-chart-publications-research__header {
    margin-bottom: 6px;
}

.matilde-chart-publications-research__label,
.matilde-chart-publications-research__stage-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.matilde-chart-publications-research__label {
    color: #ffffff;
    font-size: 2rem;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    line-height: 1;
    text-align: right;
}

.matilde-chart-publications-research__label--header {
    font-size: 0;
}

.matilde-chart-publications-research__stage-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    text-align: center;
}

.matilde-chart-publications-research__stage {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matilde-chart-publications-research__stage::before,
.matilde-chart-publications-research__stage::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 4px;
    transform: translateY(-50%);
    z-index: 1;
}

.matilde-chart-publications-research__stage::before {
    left: 0;
}

.matilde-chart-publications-research__stage::after {
    right: 0;
}

.matilde-chart-publications-research__stage.is-first::before,
.matilde-chart-publications-research__stage.is-last::after {
    display: none;
}

.matilde-chart-publications-research__stage::before,
.matilde-chart-publications-research__stage::after {
    background: #ffffff;
}

.matilde-chart-publications-research__line {
    position: absolute;
    top: 50%;
    width: 50%;
    height: 4px;
    background: #7d287f;
    transform: translateY(-50%) scaleX(1);
    z-index: 1;
    opacity: 1;
}

.matilde-chart-publications-research__line--left {
    left: -50%;
    width: 100%;
    transform-origin: left center;
}

.matilde-chart-publications-research__line--right {
    left: 50%;
    transform-origin: left center;
}

.matilde-chart-publications-research__line.is-hidden,
.matilde-chart-publications-research__line:not(.is-active) {
    opacity: 0;
}

.matilde-chart-publications-research.is-ready .matilde-chart-publications-research__line.is-active {
    transform: translateY(-50%) scaleX(0);
    transition: transform 420ms ease-out;
    transition-delay: var(--line-delay, 0ms);
}

.matilde-chart-publications-research.is-ready.is-animated .matilde-chart-publications-research__line.is-active {
    transform: translateY(-50%) scaleX(1);
}

.matilde-chart-publications-research__stage .node {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    border: 3px solid #7d287f;
    position: relative;
    z-index: 2;
}

.matilde-chart-publications-research__stage.is-done .node {
    background: #7d287f;
}

.matilde-chart-publications-research__stage.is-done .node::after {
    content: "✓";
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.matilde-chart-publications-research__stage.is-current .node {
    background: #ffffff;
    border-color:#ffffff;
}

.matilde-chart-publications-research__stage.is-current .node::after {
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #7d287f;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.matilde-chart-publications-research__stage.is-pending .node {
    background: #ffffff;
    border-color:#c0c0c0;
}

.matilde-chart-publications-research__rows-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    height: 42px;
    margin: 18px auto 0;
    border: 2px solid #c5a95e;
    border-radius: 8px;
    background: #282828;
    color: #c5a95e;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.matilde-chart-publications-research__rows-toggle-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.matilde-chart-publications-research__rows-toggle:hover,
.matilde-chart-publications-research__rows-toggle:focus {
    outline: none;
}

.matilde-chart-publications-research__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -2px;
}

.matilde-chart-publications-research.is-expanded .matilde-chart-publications-research__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

@media (min-width: 1101px) {
    .matilde-chart-publications-research.has-row-toggle .matilde-chart-publications-research__extra-rows {
        overflow: hidden;
        opacity: 1;
        will-change: max-height, opacity;
        transition: max-height 0.42s ease, opacity 0.3s ease;
    }

    .matilde-chart-publications-research.has-row-toggle.is-collapsed .matilde-chart-publications-research__extra-rows {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .matilde-chart-publications-research.is-ready .matilde-chart-publications-research__line.is-active,
    .matilde-chart-publications-research.is-ready.is-animated .matilde-chart-publications-research__line.is-active {
        transform: translateY(-50%) scaleX(1);
        transition: none;
    }

    .matilde-chart-publications-research.has-row-toggle .matilde-chart-publications-research__extra-rows {
        transition: none;
    }

    .matilde-chart-publications-research__chevron {
        transition: none;
    }
}

@media (max-width: 1100px) {
    .matilde-chart-publications-research__label {
        font-size: 22px;
    }

    .matilde-chart-publications-research__stage-title {
        font-size: 17px;
        transform: rotate(-45deg);
    }
}
