.activity-feed {
    display: grid;
    gap: 13px;
    max-width: 900px;
}

.activity-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.95);
}

.activity-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--sage-soft);
    font-size: 22px;
}

.activity-content {
    min-width: 0;
}

.activity-content p {
    margin: 0;
}

.activity-target {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--sage-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.activity-target:hover {
    text-decoration: underline;
}

.activity-content time {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.activity-pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
}

.activity-pagination span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.dashboard-activity {
    margin-bottom: 22px;
}

.dashboard-activity-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-activity-list {
    display: grid;
    gap: 0;
    margin-top: 17px;
}

.dashboard-activity-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.dashboard-activity-row:first-child {
    border-top: 0;
}

.dashboard-activity-row .activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
}

.dashboard-activity-copy {
    min-width: 0;
}

.dashboard-activity-copy p {
    margin: 0;
    font-size: 14px;
}

.dashboard-activity-copy a,
.dashboard-activity-copy span {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: var(--sage-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-activity-row time {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .dashboard-activity-heading {
        flex-direction: column;
    }

    .dashboard-activity-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dashboard-activity-row time {
        grid-column: 2;
    }

    .activity-pagination {
        align-items: stretch;
        flex-direction: column;
    }
}
