.gb247-top10-audit-record > summary {
    cursor: pointer;
    list-style: none;
}

.gb247-top10-audit-record > summary::-webkit-details-marker {
    display: none;
}

.gb247-top10-audit-record dl {
    margin: 0;
}

.gb247-top10-audit-record dt {
    color: #33483a;
    font-weight: 800;
}

.gb247-top10-audit-record dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #4f5751;
}

.gb247-top10-audit-record {
    grid-area: record;
    margin-top: 8px;
    border: 1px solid #e3e7e4;
    border-radius: 9px;
    background: #fff;
}

.gb247-top10-audit-record > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    color: #313a33;
    font-size: 13px;
    font-weight: 800;
}

.gb247-top10-audit-record > summary strong {
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
}

.gb247-top10-audit-record.is-current > summary strong {
    background: #dff4e6;
    color: #28723b;
}

.gb247-top10-audit-record.is-stale > summary strong {
    background: #fff0d8;
    color: #8b511e;
}

.gb247-top10-audit-record.is-incomplete > summary strong {
    background: #f2f2f2;
    color: #666;
}

.gb247-top10-audit-record-body {
    padding: 0 11px 10px;
    border-top: 1px solid #ecefec;
}

.gb247-top10-audit-record-body > p {
    margin: 10px 0 0;
    color: #686868;
    font-size: 12px;
}

.gb247-top10-audit-record dl {
    display: grid;
    grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr) minmax(90px, .45fr) minmax(0, 1fr);
}

.gb247-top10-audit-record dl > dt,
.gb247-top10-audit-record dl > dd {
    padding: 8px 4px;
    border-bottom: 1px solid #f0f2f0;
}

.gb247-top10-audit-record dt,
.gb247-top10-audit-record dd {
    font-size: 12px;
    line-height: 1.5;
}

.gb247-top10-audit-hours {
    display: block;
    margin-top: 1px;
    color: inherit;
    font-size: .92em;
    line-height: 1.35;
    font-weight: 700;
}

.gb247-top10-record-methodology {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5ebe7;
}

.gb247-top10-record-methodology h4,
.gb247-top10-record-methodology > p {
    margin: 0;
}

.gb247-top10-record-methodology h4 {
    color: #263b2c;
    font-size: 14px;
    line-height: 1.4;
}

.gb247-top10-record-methodology > p {
    margin-top: 4px;
    color: #68716a;
    font-size: 12px;
    line-height: 1.45;
}

.gb247-top10-record-methodology dl {
    margin-top: 8px;
    border-top: 1px solid #f0f2f0;
}

.gb247-top10-record-methodology dl > dt.is-approval-warning {
    grid-column: 1 / 2;
    margin: 4px 0;
    padding: 9px 10px;
    border: 1px solid #e5b94e;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #fff7dc;
    color: #704400;
}

.gb247-top10-record-methodology dl > dd.is-approval-warning {
    grid-column: 2 / -1;
    margin: 4px 0;
    padding: 9px 10px;
    border: 1px solid #e5b94e;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #fff7dc;
    color: #704400;
}

.gb247-top10-record-methodology dl > dt.is-retest-reminder {
    grid-column: 1 / 2;
    margin: 4px 0;
    padding: 9px 10px;
    border: 1px solid #f0a92e;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #fff4d8;
    box-shadow: inset 4px 0 0 #e98600;
    color: #744100;
    font-weight: 800;
}

.gb247-top10-record-methodology dl > dd.is-retest-reminder {
    grid-column: 2 / -1;
    margin: 4px 0;
    padding: 9px 10px;
    border: 1px solid #f0a92e;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #fff4d8;
    color: #744100;
    font-weight: 800;
}

.gb247-top10-card > .gb247-top10-actions {
    grid-area: actions;
}

.gb247-top10-stats.is-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.gb247-top10-stats.is-timeline > p {
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #edf0ed;
    border-radius: 7px;
    background: #fff;
    color: #4f5751;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
}

.gb247-top10-stats.is-timeline > p strong,
.gb247-top10-stats.is-timeline > p span {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
    text-transform: none;
    white-space: normal;
}

.gb247-top10-stats.is-timeline > p strong {
    color: #28342c;
    font-weight: 800;
}

@container (min-width: 960px) {
    .gb247-top10-card {
        grid-template-columns: minmax(180px, .78fr) minmax(0, 4fr) minmax(180px, .85fr);
        column-gap: 12px;
        grid-template-areas:
            "head metrics stats"
            "head assessment footer"
            "head assessment actions"
            "record record record";
    }

    .gb247-top10-card:not(.has-assessment) {
        grid-template-areas:
            "head metrics stats"
            "head footer footer"
            "head actions actions"
            "record record record";
    }

    .gb247-top10-stats {
        align-self: stretch;
    }

    .gb247-top10-stats > div {
        height: 100%;
    }

    .gb247-top10-card:not(.has-assessment) .gb247-top10-footer {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 12px;
        padding: 8px 0 2px;
    }

    .gb247-top10-card:not(.has-assessment) .gb247-top10-actions {
        display: flex;
        flex: 0 0 auto;
        width: auto;
    }

    .gb247-top10-card > .gb247-top10-actions {
        align-self: end;
        justify-self: end;
        padding-top: 7px;
    }
}

@media (max-width: 760px) {
    .gb247-top10-audit-record dl {
        grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr);
    }

    .gb247-top10-record-methodology dl > dd.is-approval-warning {
        grid-column: 2 / 3;
    }

    .gb247-top10-record-methodology dl > dd.is-retest-reminder {
        grid-column: 2 / 3;
    }
}

@media (max-width: 460px) {
    .gb247-top10-audit-record > summary {
        align-items: flex-start;
        flex-direction: column;
    }
}
