.notification-history-stack {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.notification-history-stack > .page-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
}

.notification-history-stack > .page-header .page-subtitle {
    margin-top: 0;
}

.notification-history-surface {
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.notification-history-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notification-history-item + .notification-history-item {
    border-top: 1px solid var(--ui-border, #e0e7ef);
}

.notification-history-link {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px 18px;
    color: inherit;
    text-decoration: none;
}

.notification-history-link:hover,
.notification-history-link:focus-visible {
    background: var(--ui-surface-hover, #f5f8fc);
}

.notification-history-heading,
.notification-history-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 16px;
    min-width: 0;
}

.notification-history-title,
.notification-history-preview,
.notification-history-meta {
    overflow-wrap: anywhere;
}

.notification-history-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    font-weight: 600;
}

.notification-history-meta,
.notification-history-preview {
    color: var(--ui-text-muted, #607084);
    font-size: var(--ui-font-sm, 13px);
}

.notification-history-meta time {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums lining-nums;
}

.notification-history-state,
.notification-history-more {
    padding: 20px;
}

.notification-history-state p {
    margin-bottom: 0;
}

.notification-history-more {
    border-top: 1px solid var(--ui-border, #e0e7ef);
}

@media (max-width: 430px) {
    .notification-history-link {
        padding: 14px;
    }

    .notification-history-heading,
    .notification-history-meta {
        flex-wrap: wrap;
    }
}
