.valuation-review-grid th,
.valuation-review-grid td {
    vertical-align: middle;
}

.valuation-review-grid th[scope="row"] {
    overflow-wrap: anywhere;
}

.valuation-review-check {
    text-align: center;
}

.valuation-review-check input {
    width: 1.1rem;
    height: 1.1rem;
    vertical-align: middle;
}

.valuation-review-mobile-label {
    display: none;
}

.valuation-entry-date {
    width: min(100%, 16rem);
}

.valuation-merge-options {
    display: grid;
    gap: .35rem 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}

@media (max-width: 991.98px) {
    .valuation-review-grid,
    .valuation-review-grid tbody {
        display: block;
        width: 100%;
    }

    .valuation-review-grid thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    table.valuation-review-grid tbody > tr {
        display: grid;
        gap: .5rem;
        margin-bottom: .75rem;
        padding: .75rem;
        border: 1px solid #d8dfe5;
        border-radius: .25rem;
    }

    .valuation-review-grid th[scope="row"] {
        padding-bottom: .375rem;
        border-bottom: 1px solid #d8dfe5;
    }

    .valuation-review-grid th,
    .valuation-review-grid td {
        padding: 0;
        border-top: 0;
    }

    .valuation-review-mobile-label {
        display: block;
        font-weight: 600;
        margin-bottom: .125rem;
    }

    .valuation-review-check {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        text-align: left;
    }

    .valuation-review-check input {
        flex: 0 0 auto;
    }
}
