.AiSummary-root {
    width: 100%;
    margin: 0 0 24px;
    background: #f2f2f2;
    border-radius: 4px;
    color: #000;
}

.AiSummary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    list-style: none;
}

.AiSummary-toggle::-webkit-details-marker {
    display: none;
}

.AiSummary-toggle::marker {
    content: '';
    display: none;
}

.AiSummary-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.AiSummary-chevron {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    color: #000;
    transition: transform 0.2s ease;
}

.AiSummary-root.is-open .AiSummary-chevron,
.AiSummary-root[open] .AiSummary-chevron {
    transform: rotate(90deg);
}

.AiSummary-panel {
    padding: 0 24px 24px;
}

.AiSummary-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    padding: 0 16px;
}

.AiSummary-text > *:first-child {
    margin-top: 0;
}

.AiSummary-text > *:last-child {
    margin-bottom: 0;
}

.AiSummary-text p {
    margin: 0 0 16px;
}

.AiSummary-text p:last-child {
    margin-bottom: 0;
}

.AiSummary-text ul,
.AiSummary-text ol {
    margin: 0 0 16px;
    padding-left: 0;
}

.AiSummary-text ul {
    list-style: none;
}

.AiSummary-text ol {
    padding-left: 22px;
}

.AiSummary-text li {
    position: relative;
    margin: 0 0 8px;
}

.AiSummary-text ul li {
    padding-left: 20px;
}

.AiSummary-text ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: scale(1);
    opacity: 1;
}

.AiSummary-text ul li.AiSummary-liAwait::before {
    transform: scale(0);
    opacity: 0;
}

.AiSummary-text li.AiSummary-liAwait {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    opacity: 0;
}

.AiSummary-text li.AiSummary-liIn {
    opacity: 1;
    transition: max-height 0.28s ease, opacity 0.28s ease, margin-bottom 0.28s ease;
}

.AiSummary-text ul li.AiSummary-liIn::before {
    animation: AiSummary-dotIn 0.22s ease forwards;
}

@keyframes AiSummary-dotIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.AiSummary-related {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d8d8d8;
}

.AiSummary-relatedTitle {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #4a4a4a;
}

.AiSummary-relatedList {
    margin: 0;
    padding: 0;
    list-style: none;
}

.AiSummary-relatedItem + .AiSummary-relatedItem {
    margin-top: 10px;
}

.AiSummary-relatedLink {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    text-decoration: none;
}

.AiSummary-relatedLink:hover,
.AiSummary-relatedLink:focus,
.AiSummary-relatedLink:active {
    text-decoration: underline;
}

.AiSummary-root + [itemprop="articleBody"] .ArticleView-text {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .AiSummary-root {
        margin-bottom: 16px;
    }

    .AiSummary-toggle,
    .AiSummary-panel {
        padding-left: 16px;
        padding-right: 16px;
    }

    .AiSummary-toggle {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .AiSummary-panel {
        padding-bottom: 16px;
    }

    .AiSummary-title {
        font-size: 16px;
        line-height: 22px;
    }

    .AiSummary-text {
        font-size: 15px;
        line-height: 22px;
    }

    .AiSummary-relatedLink {
        font-size: 15px;
        line-height: 22px;
    }
}
