/* Document Layout Extensions */
.changelog-header {
    border-b: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

/* Timeline Components */
.timeline {
    position: relative;
    border-left: 1px solid var(--border-color);
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

/* Bullet Dots */
.timeline-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    width: 11px;
    height: 11px;
    background-color: #475569;
    border: 2px solid var(--bg-main);
    border-radius: 50%;
}

.timeline-item:first-child .timeline-dot {
    left: -8px;
    width: 15px;
    height: 15px;
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15);
}
.pal-timeline .timeline-item:first-child .timeline-dot { background-color: var(--accent-cyan); }
.mc-timeline .timeline-item:first-child .timeline-dot { background-color: var(--accent-emerald); }

.item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.item-meta h2 { margin: 0; font-size: 1.25rem; font-weight: bold; }
.item-date { font-family: monospace; font-size: 0.75rem; color: var(--text-muted); }

.item-body {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.item-body ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.item-body li { font-size: 0.875rem; color: #cbd5e1; line-height: 1.5; }

/* Micro Badge Layouts */
.change-badge {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    margin-right: 0.5rem;
    display: inline-block;
}
.badge-add { color: var(--accent-emerald); background-color: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-mod { color: #f59e0b; background-color: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-fix { color: #ef4444; background-color: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); }
