.review-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 7px;
    background: #102a43;
    color: #fff;
    text-decoration: none
}

.review-link+small,
td>a+small {
    display: block;
    margin-top: 7px
}

.review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
    gap: 20px;
    align-items: start
}

.review-layout .panel {
    margin-top: 20px
}

.sticky-review {
    position: sticky;
    top: 18px
}

.legal-raw,
.mapping-reason {
    padding: 14px;
    border-left: 4px solid var(--red);
    border-radius: 5px;
    background: #f8fafc;
    white-space: pre-wrap
}

.check-row {
    display: flex;
    gap: 10px;
    margin: 7px 0;
    padding: 8px;
    border-radius: 7px;
    background: #f8fafc
}

.check-row>span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 800
}

.check-row.pass>span {
    background: #dcfce7;
    color: #166534
}

.check-row small {
    display: block
}

.review-decision {
    margin-top: 18px
}

.review-decision textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #bcccdc;
    border-radius: 7px;
    font: inherit
}

.review-decision button {
    width: 100%
}

.raw-detail summary {
    cursor: pointer;
    font-weight: 800
}

.raw-detail table {
    margin-top: 15px
}

.raw-detail th {
    width: 180px
}

.heading>div:last-child {
    text-align: right
}

@media(max-width:900px) {
    .review-layout {
        grid-template-columns: 1fr
    }

    .sticky-review {
        position: static
    }
}