styleguide/components/20-organisms/summary/_summary.scss
.o-summary {
    display: grid;
    grid-template-columns: minmax(1fr, 86px) 1fr;
    grid-template-areas: 'top top top'
        'score list list';
    gap: 8px;
    padding-top: 24px;
}

.o-summary__top {
    grid-area: top;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.o-summary__top__url {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
}

.o-summary__top__title {
    font-size: 14px;
    font-weight: 800;
}

.o-summary__top__download {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color-1);
    text-decoration: underline;
}

.o-summary__differences {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: $color-white;
}

.o-summary__differences__title {
    font-size: 12px;
    font-weight: 700;
}

.o-summary__differences__list {
    padding-left: 16px;
    font-size: 12px;

    li {
        list-style: disc;
    }

    span {
        display: inline-block;
        padding: 4px;
        border-radius: 4px;
        font-weight: 700;
        background-color: var(--color-grey-6);
        color: var(--color-grey-3);

        &.-status-c {
            background-color: var(--secondary-color-green-soft);
            color: var(--secondary-color-green);
        }

        &.-status-nc {
            background-color: var(--secondary-color-red-soft);
            color: var(--secondary-color-red);
        }

        &.-status-na {
            background-color: var(--secondary-color-orange-soft);
            color: var(--secondary-color-orange);
        }
    }
}

.o-summary__frame {
    padding: 8px;
    border-radius: 8px;
    background: $color-white;
}

.o-summary__score {
    grid-area: score;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.o-summary__score__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

.o-summary__score__icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color-1);
}

.o-summary__score__value {
    font-size: 24px;
    font-weight: 700;
}

.o-summary__score__text {
    font-size: 9px;
    line-height: 1.2;
}

.o-summary__score__progress {
    display: block;
    width: 100%;
    height: 4px;
    margin-top: auto;
    border: 0;
    border-radius: 4px;

    &::-webkit-progress-bar {
        height: 100%;
        width: 100%;
        background-color: var(--primary-color-2);
        border-radius: 100px;
    }

    &::-webkit-progress-value {
        display: inline-block;
        float: left;
        height: 100%;
        background-color: var(--primary-color-1);
        border-radius: 4px;
    }
}

.o-summary__list {
    grid-area: list;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.o-summary__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;

    --color-1: var(--color-grey-6);
    --color-2: var(--color-grey-3);

    &.-status-c {
        --color-1: var(--secondary-color-green-soft);
        --color-2: var(--secondary-color-green);
    }

    &.-status-nc {
        --color-1: var(--secondary-color-red-soft);
        --color-2: var(--secondary-color-red);
    }

    &.-status-na {
        --color-1: var(--secondary-color-orange-soft);
        --color-2: var(--secondary-color-orange);
    }
}

.o-summary__item__heading {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

.o-summary__item__title {
    display: block;
    padding: 2px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 4px;
    background-color: var(--color-1);
    color: var(--color-2);
}

.o-summary__item__icon {
    width: 16px;
    height: 16px;
}

.o-summary__item__progress {
    display: block;
    width: 100%;
    height: 4px;
    border: 0;
    border-radius: 4px;

    &::-webkit-progress-bar {
        height: 100%;
        width: 100%;
        background-color: var(--color-1);
        border-radius: 100px;
    }

    &::-webkit-progress-value {
        display: inline-block;
        float: left;
        height: 100%;
        background-color: var(--color-2);
        border-radius: 4px;
    }
}
