/* Whole-row controls communicate selection without instructional banners. */
.self-exam--interactive .text-carousel-block__list-item {
    display: block;
    padding: 0 0 18px;
    border: 0;
}
.self-exam--interactive .text-carousel-block__list-item:last-child { padding-bottom: 0; }
.self-exam--interactive .exam-step-button {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 16px;
    align-items: start;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fff;
    color: #65515b;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.self-exam--interactive .exam-step-button .exam-step-badge {
    width: auto; margin: 0; padding: 9px 4px;
    border: 1px solid #ecd5de; border-radius: 10px;
    background: #fff7fa; color: #9e3859;
    box-shadow: none; font-size: 12px; font-weight: 600; line-height: 1.5;
    text-align: center; transition: background-color .25s, color .25s;
}
.self-exam--interactive .exam-step-button .exam-step-copy {
    width: auto; padding: 5px 0; margin: 0; border: 0; border-radius: 0;
    background: none; box-shadow: none; color: inherit;
    font-size: 14px; font-weight: 400; line-height: 1.75; text-align: left;
}
.self-exam--interactive .exam-step-button .exam-step-arrow {
    align-self: center; width: auto; margin: 0; padding: 0; border: 0;
    background: none; box-shadow: none; color: #c0879b;
    font-size: 26px; font-weight: 400; line-height: 1;
    transition: transform .25s ease, color .25s ease;
}
.self-exam--interactive .exam-step-button[aria-current="step"] {
    background: #fff1f6; border-color: #f0c9d7; color: #92264a;
    box-shadow: 0 6px 18px rgba(146,38,74,.045);
}
.self-exam--interactive .exam-step-button[aria-current="step"] .exam-step-badge { background: #dc507b; color: #fff; border-color: #dc507b; }
.self-exam--interactive .exam-step-button[aria-current="step"] .exam-step-arrow { color: #dc507b; transform: translateX(2px); }
.self-exam--interactive .text-carousel-block__list-item:not(:last-child)::before {
    left: 42px; top: auto; bottom: 5px; height: 13px; background: #efd4de;
}
.self-exam--interactive .text-carousel-block__list-item:not(:last-child)::after {
    left: 39px; bottom: 4px; width: 8px; height: 8px; border-color: #dfb1c2;
}
.self-exam--interactive .text-carousel-block__list-item.is-past::before { background: #dc507b; }
.self-exam--interactive .text-carousel-block__list-item.is-past::after { border-color: #dc507b; }
.self-exam--interactive .text-carousel-block__right::after { display: none; }
.exam-progress { margin: 20px 0 0; color: #9e536d; font-size: 12px; font-weight: 500; letter-spacing: .15em; text-align: center; font-variant-numeric: tabular-nums; }
.self-exam--interactive .exam-step-button:focus-visible { outline: 2px solid #92264a; outline-offset: 3px; }
@media (hover:hover) {
    .self-exam--interactive .exam-step-button:hover { background: #fff5f8; border-color: #f0d4df; box-shadow: 0 5px 16px #92264a08; }
    .self-exam--interactive .exam-step-button:hover .exam-step-arrow { transform: translateX(3px); color: #dc507b; }
    .self-exam--interactive .exam-step-button:hover .exam-step-badge { border-color: #dc507b; }
}
.self-exam--interactive .exam-step-button:active { transform: scale(.99); }
@media (max-width:575px) {
    .self-exam--interactive .exam-step-button { padding: 12px 10px; grid-template-columns: 52px minmax(0,1fr) 12px; gap: 10px; }
    .self-exam--interactive .text-carousel-block__list-item:not(:last-child)::before { left: 36px; }
    .self-exam--interactive .text-carousel-block__list-item:not(:last-child)::after { left: 33px; }
}
@media (prefers-reduced-motion:reduce) {
    .self-exam--interactive .exam-step-button, .self-exam--interactive .exam-step-button span { transition: none; }
    .self-exam--interactive .exam-step-button:active { transform: none; }
}

/* 1.2 carousel: next step peeks in, inactive cards are dimmed. */
.self-exam--interactive .js-peak-carousel .swiper-slide { opacity: .5; transform: scale(.97); transform-origin: left center; transition: opacity .3s ease, transform .3s ease; }
.self-exam--interactive .js-peak-carousel .swiper-slide-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion:reduce) { .self-exam--interactive .js-peak-carousel .swiper-slide { transition: none; } }

/* Numbered circle steps joined by a vertical line. */
.self-exam--interactive .text-carousel-block__list { counter-reset: exam-step; }
.self-exam--interactive .text-carousel-block__list-item {
    position: relative;
    counter-increment: exam-step;
    padding-bottom: 18px;
}
.self-exam--interactive .text-carousel-block__list-item:last-child { padding-bottom: 0; }
.self-exam--interactive .exam-step-button { grid-template-columns: 38px minmax(0,1fr) 16px; }
.self-exam--interactive .exam-step-button .exam-step-badge {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; padding: 0; border-radius: 50%;
    border: 2px solid #e8c4d1; background: #fff; color: #9e3859;
    font-size: 0; line-height: 1; position: relative; z-index: 3;
}
.self-exam--interactive .exam-step-button .exam-step-badge::before {
    content: counter(exam-step); font-size: 15px; font-weight: 600;
}
.self-exam--interactive .text-carousel-block__list-item.is-past .exam-step-badge { border-color: #dc507b; }
.self-exam--interactive .exam-step-button[aria-current="step"] .exam-step-badge { border-color: #dc507b; background: #dc507b; color: #fff; }
.self-exam--interactive .text-carousel-block__list-item:not(:last-child)::before {
    content: ""; display: block; position: absolute; z-index: 2; pointer-events: none;
    left: 32px; width: 2px; top: 56px; bottom: -10px; height: auto;
    background: #e8c4d1; border-radius: 2px;
}
.self-exam--interactive .text-carousel-block__list-item.is-past:not(:last-child)::before { background: #dc507b; }
.self-exam--interactive .text-carousel-block__list-item:not(:last-child)::after { display: none; }
@media (max-width:575px) {
    .self-exam--interactive .exam-step-button { grid-template-columns: 38px minmax(0,1fr) 12px; }
    .self-exam--interactive .text-carousel-block__list-item:not(:last-child)::before { left: 28px; top: 54px; bottom: -8px; }
}
