.co-ct-log-status-page {
    padding-block: 1.75rem 3rem;
}

.co-ct-log-status-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.co-ct-log-status-header p {
    margin-top: 0.5rem;
}

.co-ct-log-status-table {
    width: 100%;
    margin-top: 1.75rem;
    border: 1px solid var(--co-border-color);
    border-collapse: collapse;
}

.co-ct-log-status-table th,
.co-ct-log-status-table td {
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--co-border-color);
}

.co-ct-log-status-table thead th {
    padding-block: 0.625rem;
    background-color: var(--co-tertiary-bg-color);
    font-size: 0.75rem;
    font-weight: 600;
}

.co-ct-log-status-table tbody th,
.co-ct-log-status-table tbody td {
    font-size: 0.8125rem;
}

.co-ct-log-status-table tbody th {
    font-weight: 400;
}

.co-ct-log-status-table td:not(:first-child) {
    font-variant-numeric: tabular-nums;
}

.co-ct-log-status-table time {
    white-space: nowrap;
}

.co-ct-log-status-log {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

.co-ct-log-status-badge {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 1.5em;
    padding: 0 0.375rem;
    border: 1px solid var(--co-border-color);
    border-radius: 0.1875rem;
    background-color: var(--co-tertiary-bg-color);
    color: var(--co-body-color);
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: nowrap;
}

.co-ct-log-status-explanation,
.co-ct-log-status-empty {
    max-width: 56rem;
    margin-top: 1.75rem;
    font-size: 0.9375rem;
}

.co-ct-log-status-visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

@media (width > 56rem) {
    .co-ct-log-status-table thead th:not(:first-child),
    .co-ct-log-status-table tbody td:not(:first-child) {
        text-align: right;
    }
}

@media (width <= 56rem) {
    .co-ct-log-status-table {
        display: block;
        border: 0;
    }

    .co-ct-log-status-table thead {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        border: 0;
        white-space: nowrap;
    }

    .co-ct-log-status-table tbody {
        display: block;
        border-block: 1px solid var(--co-border-color);
    }

    .co-ct-log-status-table tbody tr {
        display: block;
        padding-block: 0.75rem;
    }

    .co-ct-log-status-table tbody tr + tr {
        border-top: 1px solid var(--co-border-color);
    }

    .co-ct-log-status-table tbody th,
    .co-ct-log-status-table tbody td {
        display: grid;
        grid-template-columns: minmax(10rem, 34%) minmax(0, 1fr);
        gap: 0.5rem;
        padding: 0.25rem 0;
        border-bottom: 0;
    }

    .co-ct-log-status-table tbody th::before,
    .co-ct-log-status-table tbody td::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 600;
    }
}
