/* Activity Log Details */
.comment-activity-log-block {
    margin-top: 4px;
    margin-bottom: 8px;
}

.comment-activity-log-block details>summary {
    cursor: pointer;
}

.comment-activity-log-block details>summary::marker {
    color: #ccc;
}

/* List container */
.activity-log-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Individual Item */
.activity-log-item {
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 8px;
}

@media (prefers-color-scheme: dark) {
    .activity-log-item {
        background-color: #2a2a2a;
        border-color: #444;
    }
}

.activity-log-summary {
    font-size: 0.9em;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

@media (prefers-color-scheme: dark) {
    .activity-log-summary {
        color: #ccc;
    }
}

.activity-name {
    color: #333;
}

@media (prefers-color-scheme: dark) {
    .activity-name {
        color: #fff;
    }
}

.activity-time {
    font-weight: normal;
    color: #999;
    font-size: 0.85em;
    margin-left: 10px;
}

.activity-log-body {
    margin-top: 8px;
}

.activity-log-yaml {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-break: break-all;
    color: #333;
}

@media (prefers-color-scheme: dark) {
    .activity-log-yaml {
        background: #1e1e1e;
        border-color: #333;
        color: #d4d4d4;
    }
}

.activity-log-empty {
    color: #888;
    font-style: italic;
    padding: 10px;
}