/* Pacote 28 - coluna cronológica unificada e validação externa com download do original */
.pje-pane-head-acervo-28 {
    margin-bottom: 10px;
}

.pje-unified-timeline {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}

.pje-timeline-date-pill {
    position: sticky;
    top: 0;
    z-index: 2;
    width: fit-content;
    margin: 0 auto 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dbe7f5;
    color: #44536b;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.pje-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 8px 12px;
    margin-bottom: 6px;
    border-radius: 12px;
    border: 1px solid #d9e4f1;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 0 rgba(9, 30, 66, 0.03);
}

.pje-timeline-item:hover {
    background: #f8fbff;
    border-color: #bfd3eb;
}

.pje-timeline-item.is-active {
    background: #eef5ff;
    border-color: #8eb2e6;
    box-shadow: 0 0 0 1px rgba(20, 62, 143, 0.12);
}

.pje-timeline-marker {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: .82rem;
    line-height: 1;
    font-weight: 700;
}

.pje-timeline-marker-document {
    background: #dfeaf9;
    color: #20498f;
}

.pje-timeline-marker-event {
    background: #eef1f6;
    color: #5d6b7e;
    font-size: 1.15rem;
}

.pje-timeline-content {
    min-width: 0;
}

.pje-timeline-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    margin-bottom: 5px;
}

.pje-timeline-time {
    font-size: .88rem;
    font-weight: 800;
    color: #1f355a;
}

.pje-timeline-kind {
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #60738f;
}

.pje-timeline-topline .pje-badge {
    margin-left: auto;
}

.pje-timeline-title {
    font-size: .97rem;
    font-weight: 800;
    line-height: 1.28;
    color: #17345c;
    word-break: break-word;
}

.pje-timeline-desc {
    margin-top: 4px;
    font-size: .89rem;
    line-height: 1.35;
    color: #5a687d;
    word-break: break-word;
}

@media (max-width: 1080px) {
    .pje-workbench-grid-27 {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    }
}

@media (max-width: 920px) {
    .pje-workbench-grid-27 {
        grid-template-columns: 1fr;
    }

    .pje-acervo-column-27 {
        position: static;
        max-height: none;
    }

    .pje-unified-timeline {
        max-height: 52vh;
    }
}
