
/* Pacote 26 - acabamento fino do workbench */
.pje-workbench-grid-26 {
    grid-template-columns: 300px minmax(0,1fr) 360px;
    gap: 18px;
    align-items: start;
}
.pje-acervo-column.card,
.pje-viewer-column.card,
.pje-detail-column .card {
    padding: 18px;
}
.pje-pane-head-acervo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.pje-pane-head-acervo h3 {
    margin: 0;
}
.pje-doc-list-compact {
    max-height: 340px;
}
.pje-event-list-tight {
    max-height: 430px;
    overflow: auto;
    padding-top: 10px;
    border-top: 1px solid #e6edf5;
}
.pje-event-item {
    display: grid;
    grid-template-columns: 56px minmax(0,1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}
.pje-event-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}
.pje-event-desc {
    color: #46556b;
    line-height: 1.45;
}
.pje-viewer-header {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.pje-viewer-title-block {
    min-width: 0;
}
.pje-viewer-title {
    font-size: 1.2rem;
    line-height: 1.15;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}
.pje-viewer-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.pje-viewer-actions-row form {
    margin: 0;
}
.pje-doc-frame-tall {
    min-height: 980px;
}
.pje-doc-details {
    margin-top: 14px;
}
.pje-doc-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.pje-doc-details code {
    display: block;
    word-break: break-all;
    max-height: 90px;
    overflow: auto;
}
.pje-detail-column h3 {
    margin-top: 0;
}
.pje-party-block {
    padding: 14px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #fbfcfe;
    margin-bottom: 12px;
}
.pje-party-block h4 {
    margin: 0 0 10px 0;
}
.pje-side-section + .pje-side-section {
    margin-top: 16px;
}
.pje-acervo-header .btn-secondary {
    background: rgba(255,255,255,.18);
    color: #ffffff !important;
    border-color: rgba(255,255,255,.36);
}
.pje-acervo-header .btn-primary {
    background: #ffffff;
    color: #0c4f9d !important;
    border-color: #ffffff;
}
.pje-process-band .btn-secondary {
    background: rgba(255,255,255,.18);
    color: #ffffff !important;
    border-color: rgba(255,255,255,.36);
}
.pje-process-band .btn-primary {
    background: #ffffff;
    color: #0a5b0a !important;
    border-color: #ffffff;
}
.pje-acervo-table-head {
    display: grid;
    grid-template-columns: 1.1fr 1.25fr .9fr .55fr;
    gap: 18px;
    padding: 0 2px 12px;
    border-bottom: 1px solid #e5ecf5;
    color: #5b6780;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .84rem;
    letter-spacing: .02em;
}
.pje-acervo-row-table {
    display: grid;
    grid-template-columns: 1.1fr 1.25fr .9fr .55fr;
    gap: 18px;
    align-items: start;
    padding: 16px 2px;
    border-bottom: 1px solid #ebf0f6;
}
.pje-acervo-row-table .pje-acervo-row-number {
    margin-bottom: 6px;
}
.pje-acervo-row-actions {
    display: grid;
    gap: 8px;
}
.pje-acervo-row-actions .btn {
    width: fit-content;
}
@media (max-width: 1380px) {
    .pje-workbench-grid-26 {
        grid-template-columns: 280px minmax(0,1fr) 320px;
    }
}
@media (max-width: 1180px) {
    .pje-workbench-grid-26 {
        grid-template-columns: 1fr;
    }
    .pje-acervo-table-head,
    .pje-acervo-row-table {
        grid-template-columns: 1fr;
    }
}
