.health-explorer-next-step {
    margin-top: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(21, 87, 228, .16);
    border-radius: 16px;
    background: var(--color-bg-0);
}

.health-explorer-next-step__kicker {
    display: block;
    color: var(--color-focus);
    font-size: var(--text-xxs);
    font-weight: var(--weight-md);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.health-explorer-next-step__title {
    margin: 7px 0 0;
    color: var(--color-text-title);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
}

.health-explorer-next-step__hint {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: var(--text-xs);
    line-height: 1.45;
}

.health-explorer-next-step__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.health-explorer-next-step__answer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-max);
    background: var(--color-bg-0);
    color: var(--color-text-title);
    font-size: var(--text-xs);
    font-weight: var(--weight-md);
    text-decoration: none;
}

.health-explorer-next-step__answer:hover {
    border-color: var(--color-focus);
    color: var(--color-focus);
}

.health-explorer-next-step__answer--muted {
    border-color: var(--color-border-soft);
    color: var(--color-muted);
}

.health-explorer-alternatives,
.health-explorer-labs-disclosure,
.health-explorer-result-more,
.health-explorer-condition-disclosure {
    margin-top: 12px;
}

.health-explorer-alternatives__summary,
.health-explorer-labs-disclosure__summary,
.health-explorer-result-more__summary,
.health-explorer-condition-disclosure__summary {
    color: var(--color-focus);
    font-size: var(--text-xs);
    font-weight: var(--weight-md);
    cursor: pointer;
    list-style: none;
}

.health-explorer-alternatives__summary::-webkit-details-marker,
.health-explorer-labs-disclosure__summary::-webkit-details-marker,
.health-explorer-result-more__summary::-webkit-details-marker,
.health-explorer-condition-disclosure__summary::-webkit-details-marker {
    display: none;
}

.health-explorer-alternatives__summary::after,
.health-explorer-labs-disclosure__summary::after,
.health-explorer-result-more__summary::after,
.health-explorer-condition-disclosure__summary::after {
    content: ' ›';
}

details[open] > .health-explorer-alternatives__summary::after,
details[open] > .health-explorer-labs-disclosure__summary::after,
details[open] > .health-explorer-result-more__summary::after,
details[open] > .health-explorer-condition-disclosure__summary::after {
    content: ' ↑';
}

.health-explorer-alternatives > .health-explorer-narrowing__grid {
    margin-top: 10px;
}

.health-explorer-narrowing-card--compact .health-explorer-narrowing-card__description {
    display: none;
}

.health-explorer-narrowing-card--compact {
    padding: 12px 14px;
}

.health-explorer-narrowing-card--compact .health-explorer-narrowing-card__name {
    margin-top: 6px;
}

.health-explorer-labs-disclosure {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-soft);
}

.health-explorer-labs-disclosure__summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

.health-explorer-labs-disclosure__summary small {
    color: var(--color-muted);
    font-size: var(--text-xxs);
    font-weight: var(--weight-md);
}

.health-explorer-labs-disclosure .health-explorer-narrowing__group--secondary {
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
    opacity: .9;
}

.health-explorer-labs-disclosure .health-explorer-narrowing__group--secondary .health-explorer-narrowing__group-header {
    display: none;
}

.health-explorer-labs-disclosure .health-explorer-narrowing-card {
    background: rgba(255,255,255,.72);
    border-style: dashed;
}

.health-explorer-result-summary__conditions {
    min-width: 0;
}

.health-explorer-result-summary__conditions > .health-explorer-candidate-nav__list--compact {
    margin: 0;
}

.health-explorer-candidate-nav__list--extra {
    margin-top: 6px;
}

.health-explorer-condition-disclosure {
    margin: 0;
    border-top: 1px solid var(--color-border-soft);
}

.health-explorer-condition-disclosure__summary {
    display: block;
    padding: 14px 22px;
}

.health-explorer-condition-disclosure[open] > .health-explorer-condition-disclosure__summary {
    border-bottom: 1px solid var(--color-border-soft);
}

.health-explorer-condition-disclosure > .health-explorer-condition__footer {
    margin-top: 0;
}

@media (max-width: 640px) {
    .health-explorer-next-step {
        padding: 16px;
    }

    .health-explorer-next-step__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .health-explorer-next-step__answer {
        padding-inline: 8px;
    }

    .health-explorer-labs-disclosure__summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .health-explorer-condition-disclosure__summary {
        padding: 14px 18px;
    }
}
