/**
 * Kanban Timeline Matriz — estilos da visão matriz (período × colunas de workflow).
 *
 * Consumido por: FormKanbanAnaliseGeralOrdens (visão TIMELINE_MATRIZ) via CFuncaoListarOrdemAndamento.
 * Constantes PHP: App\Enum\CSS::ANALISE_GERAL_TIMELINE_MATRIZ_* e ANALISE_GERAL_TIMELINE_SCROLL_COM_NAV.
 *
 * Hierarquia DOM (resumo):
 *   .analise-geral-timeline-scroll-wrap
 *     ├── .analise-geral-timeline-matriz-nav-rail > .analise-geral-timeline-matriz-nav > .nav-btn
 *     └── .analise-geral-timeline-scroll.analise-geral-timeline-scroll-com-nav
 *           └── .analise-geral-timeline
 *           └── .analise-geral-timeline-secao[data-timeline-periodo]
 *                 ├── .analise-geral-timeline-marca-wrap (compartilhado com TIMELINE)
 *                 └── .analise-geral-timeline-matriz-wrap
 *                       └── .analise-geral-timeline-matriz
 *                             ├── .linha-cab (cabeçalho sticky)
 *                             └── .linha-clicavel (linha ordem + semáforo)
 *
 * Variáveis CSS (definidas em .analise-geral-timeline-scroll em Paginacao.css):
 *   --timeline-rail-x, --timeline-corpo-offset-rail, --timeline-matriz-cab-sticky-top
 *   --timeline-matriz-qtd-colunas (quantidade de colunas de status; padrão 5)
 */

.analise-geral-timeline-matriz-wrap {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding-top: 0.1rem;
    padding-left: var(--timeline-corpo-offset-rail);
}

.analise-geral-timeline-matriz {
    --timeline-matriz-qtd-colunas: 5;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: min(100%, 920px);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: visible;
    background: #fff;
}

.analise-geral-timeline-matriz-linha {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(var(--timeline-matriz-qtd-colunas), minmax(100px, 1fr));
    align-items: stretch;
    min-height: 2.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.analise-geral-timeline-matriz-linha:last-child {
    border-bottom: none;
}

.analise-geral-timeline-matriz-linha-cab {
    position: sticky;
    top: var(--timeline-matriz-cab-sticky-top);
    z-index: 18;
    background: #f8fafc;
    border-bottom: 2px solid #cbd5e1;
    min-height: 4.5rem;
    align-items: stretch;
    box-shadow: 0 6px 12px -8px rgba(15, 23, 42, 0.22);
}

.analise-geral-timeline-matriz-linha-cab > .analise-geral-timeline-matriz-cel-cab,
.analise-geral-timeline-matriz-linha-cab > .analise-geral-timeline-matriz-cel-ordem {
    background: #f8fafc;
}

.analise-geral-timeline-matriz-linha-clicavel {
    cursor: pointer;
    transition: background-color 0.12s ease, filter 0.12s ease;
}

.analise-geral-timeline-matriz-linha-clicavel:hover {
    filter: brightness(0.97);
}

.analise-geral-timeline-matriz-linha > * {
    border-right: 1px solid #e2e8f0;
}

.analise-geral-timeline-matriz-linha > *:last-child {
    border-right: none;
}

.analise-geral-timeline-matriz-cel-cab {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    color: #334155;
    padding: 0.35rem 0.35rem;
    text-align: center;
    line-height: 1.15;
}

.analise-geral-timeline-matriz-cel-cab.analise-geral-timeline-matriz-cel-ordem {
    text-align: left;
    padding-left: 0.5rem;
    padding-right: 0.35rem;
    display: flex;
    align-items: flex-end;
}

.analise-geral-timeline-matriz-cel-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.analise-geral-timeline-matriz-cel-status-filtro {
    cursor: pointer;
    transition: background-color 0.12s ease, outline-color 0.12s ease;
    align-self: stretch;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.analise-geral-timeline-matriz-linha-cab > .analise-geral-timeline-matriz-cel-status-filtro {
    min-height: 4.5rem;
}

.analise-geral-timeline-matriz-cel-status-filtro .analise-geral-timeline-matriz-cab-status-stack {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    padding: 0.15rem 0;
    box-sizing: border-box;
}

.analise-geral-timeline-matriz-cel-status-filtro:hover {
    background: rgba(25, 118, 210, 0.08);
}

.analise-geral-timeline-matriz-cel-status-filtro-ativo {
    background: rgba(25, 118, 210, 0.12);
    outline: 2px solid rgba(25, 118, 210, 0.35);
    outline-offset: -2px;
}

/* Painel de filtros rápidos (toolbar Timeline Matriz — sempre visível) */
.analise-geral-timeline-matriz-filtro-painel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    max-width: min(100%, 36rem);
    padding: 0.4rem 0.55rem;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    box-sizing: border-box;
}

.analise-geral-timeline-matriz-filtro-cabecalho {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1565c0;
    line-height: 1.2;
}

.analise-geral-timeline-matriz-filtro-corpo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    min-width: 0;
}

.analise-geral-timeline-matriz-filtro-chips {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
}

.analise-geral-timeline-matriz-filtro-acoes {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    white-space: nowrap;
}

.analise-geral-timeline-matriz-filtro-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.35rem 0.18rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #64b5f6;
    color: #1565c0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.analise-geral-timeline-matriz-filtro-chip-item:hover {
    background: #bbdefb;
    border-color: #42a5f5;
    color: #0d47a1;
}

.analise-geral-timeline-matriz-filtro-chip-falha {
    border-style: dashed;
    color: #455a64;
    border-color: #90a4ae;
}

.analise-geral-timeline-matriz-filtro-chip-falha:hover {
    background: #eceff1;
    border-color: #78909c;
    color: #263238;
}

.analise-geral-timeline-matriz-filtro-chip-falha-ativo {
    border-style: solid;
    background: #fff3e0;
    border-color: #ffb74d;
    color: #e65100;
}

.analise-geral-timeline-matriz-filtro-chip-falha-ativo:hover {
    background: #ffe0b2;
    border-color: #ffa726;
    color: #bf360c;
}

.analise-geral-timeline-matriz-filtro-chip-falha-ativo .analise-geral-timeline-matriz-filtro-chip-remover {
    color: #e65100;
    background: rgba(230, 81, 0, 0.12);
}

.analise-geral-timeline-matriz-filtro-chip-rotulo {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.analise-geral-timeline-matriz-filtro-chip-remover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    color: #1565c0;
    background: rgba(21, 101, 192, 0.12);
}

.analise-geral-timeline-matriz-filtro-chip-item:hover .analise-geral-timeline-matriz-filtro-chip-remover {
    background: rgba(13, 71, 161, 0.18);
    color: #0d47a1;
}

.analise-geral-timeline-matriz-filtro-limpar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #455a64;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #b0bec5;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.analise-geral-timeline-matriz-filtro-limpar:hover {
    background: #fff;
    color: #263238;
    border-color: #78909c;
}

.analise-geral-timeline-matriz-cab-status-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.analise-geral-timeline-matriz-cab-status-stack .analise-geral-timeline-secao-rotulo {
    width: 100%;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

.analise-geral-timeline-matriz-cab-status-stack .analise-geral-timeline-status-cab-qtd {
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.5Em;
}

.analise-geral-timeline-matriz-cab-status-metricas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    width: 100%;
}

.analise-geral-timeline-matriz-cab-status-pct {
    color: rgba(0, 0, 0, 0.68);
    font-weight: 700;
    font-size: 1.2Em;
    line-height: 1;
    white-space: nowrap;
}

.analise-geral-timeline-matriz-cel-ordem {
    padding: 0.35rem 0.45rem 0.35rem 0.5rem;
    font-size: 0.82rem;
    line-height: 1.25;
    min-width: 0;
    overflow: hidden;
}

.analise-geral-timeline-matriz-ordem-conteudo {
    width: 100%;
    min-width: 0;
}

.analise-geral-timeline-matriz-ordem-conteudo > .display-flex {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.analise-geral-timeline-matriz-ordem-falha {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.2rem;
    color: #c62828;
    font-weight: 600;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
}

.analise-geral-timeline-matriz-ordem-falha .display,
.analise-geral-timeline-matriz-ordem-falha svg {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.analise-geral-timeline-matriz-ordem-falha svg {
    width: 0.9em;
    height: 0.9em;
}

.analise-geral-timeline-matriz-ordem-conteudo > .estrutura_elemento_flutuante {
    flex: 0 0 auto;
}

.analise-geral-timeline-matriz-cel-check {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.15rem 0.1rem;
    min-width: 0;
}

.analise-geral-timeline-matriz-cel-check-conteudo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    min-width: 0;
}

.analise-geral-timeline-matriz-cel-metricas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
}

.analise-geral-timeline-matriz-cel-metricas > .display-flex {
    min-width: 0;
    text-align: center;
}

.analise-geral-timeline-matriz-cel-metricas .analise-geral-timeline-status-cab-qtd {
    flex: 0 0 1.85rem;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.72rem;
}

.analise-geral-timeline-matriz-cel-metricas .analise-geral-kanban-metrica-valor,
.analise-geral-timeline-matriz-cel-metricas .kanban-sem-qtd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0.1rem 0.2rem;
    border-radius: 5px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* >0%: amarelo / 100%: verde (SSOT); 0% permanece sem fundo colorido acima */
.analise-geral-timeline-matriz-cel-metricas .kanban-sem-qtd-verde {
    background: #2e7d32;
    border-color: #1b5e20;
    color: #ffffff;
}

.analise-geral-timeline-matriz-cel-metricas .kanban-sem-qtd-amarelo {
    background: #ffc107;
    border-color: #f9a825;
    color: #212121;
}

.analise-geral-timeline-matriz-linha.analise-sep-fundo-vermelho {
    background: #ffebee;
}

.analise-geral-timeline-matriz-linha.analise-sep-fundo-amarelo {
    background: #fff8e1;
}

.analise-geral-timeline-matriz-linha.analise-sep-fundo-verde {
    background: #e8f5e9;
}

.analise-geral-timeline-matriz-cel-ordem .kanban-card-header {
    border-bottom: none;
    background: transparent;
    padding: 0;
}

.analise-geral-timeline-matriz-cel-ordem .font_size_1_2em {
    font-size: 0.95rem !important;
}

/* Viewport fixo: nav fora do fluxo scrollável para permanecer visível no fim da lista */
.analise-geral-timeline-scroll-wrap {
    position: relative;
    height: calc(100vh - 260px);
    max-height: calc(100vh - 260px);
    --timeline-rail-x: 8.5rem;
    --timeline-corpo-offset-rail: 1.5rem;
}

.analise-geral-timeline-scroll-wrap > .analise-geral-timeline-scroll {
    height: 100%;
    max-height: 100%;
}

.analise-geral-timeline-scroll-com-nav {
    position: relative;
}

.analise-geral-timeline-matriz-nav-rail {
    position: absolute;
    left: var(--timeline-rail-x);
    top: 50%;
    width: 0;
    height: 0;
    z-index: 30;
    pointer-events: none;
}

.analise-geral-timeline-matriz-nav {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    pointer-events: auto;
}

.analise-geral-timeline-matriz-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #42a5f5;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease, transform 0.12s ease;
}

.analise-geral-timeline-matriz-nav-btn:hover {
    background: #1e88e5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.analise-geral-timeline-matriz-nav-btn svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: currentColor;
}

.analise-geral-timeline-matriz-nav-btn-desabilitado {
    background: #bdbdbd;
    opacity: 0.65;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* Timeline Dados agregado (Capacidade expedição): colunas dinâmicas D0…D+N, N+ e Sem despacho */
.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado {
    --timeline-dados-qtd-colunas-delta: 7;
    min-width: min(100%, 960px);
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-linha {
    grid-template-columns:
        minmax(4rem, 1fr)
        minmax(2rem, 0.45fr)
        repeat(var(--timeline-dados-qtd-colunas-delta, 7), minmax(1rem, 0.35fr))
        minmax(3rem, 0.5fr);
    min-height: 2.35rem;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-linha-cab {
    min-height: auto;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-cel-cab {
    padding: 0.35rem 0.25rem;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-cel-cab.analise-geral-timeline-matriz-cel-ordem {
    padding-left: 0.45rem;
    padding-right: 0.25rem;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-cel-ordem {
    padding: 0.35rem 0.35rem 0.35rem 0.45rem;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-dados-cab-rotulo {
    font-size: 1Em;
    line-height: 1.1;
    text-align: center;
    word-break: break-word;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-cel-cab.analise-geral-timeline-matriz-cel-ordem .analise-geral-timeline-dados-cab-rotulo {
    text-align: left;
}

/* % cabeçalho Dados: 2Em + bold (SSOT Matriz — tipografia na caixa, não no span filho) */
.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-matriz-cab-status-pct {
    font-size: 1.2Em;
    font-weight: 700;
    white-space: nowrap;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .kanban-sem-qtd.analise-geral-timeline-matriz-cab-status-pct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    min-height: 1.65rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    border: 1px solid #37474f;
    background: #546e7a;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .kanban-sem-qtd.analise-geral-timeline-dados-pct-branco.analise-geral-timeline-matriz-cab-status-pct {
    background: #ffffff;
    border-color: #cfd8dc;
    color: #455a64;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .kanban-sem-qtd-verde.analise-geral-timeline-matriz-cab-status-pct {
    background: #2e7d32;
    border-color: #1b5e20;
    color: #ffffff;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .kanban-sem-qtd-amarelo.analise-geral-timeline-matriz-cab-status-pct {
    background: #ffc107;
    border-color: #f9a825;
    color: #212121;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .kanban-sem-qtd-vermelho.analise-geral-timeline-matriz-cab-status-pct {
    background: #c62828;
    border-color: #b71c1c;
    color: #ffffff;
}

.analise-geral-timeline-matriz.analise-geral-timeline-dados-agregado .analise-geral-timeline-status-cab-qtd.analise-geral-timeline-dados-valor {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-width: 1.75rem;
    min-height: 1.75rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    padding: 0.15rem;
}

.analise-geral-capacidade-expedicao-limite-delta-toggle.toggle-box,
.analise-geral-capacidade-expedicao-limite-delta-toggle .toggle-box {
    flex-wrap: wrap;
    max-width: 100%;
}

.analise-geral-capacidade-expedicao-limite-delta-toggle .toggle-box-elem {
    min-width: 2.35rem;
    font-size: 0.72rem;
}

.analise-geral-tempo-processamento-filtro-horas-toggle.toggle-box,
.analise-geral-tempo-processamento-filtro-horas-toggle .toggle-box {
    flex-wrap: wrap;
    max-width: 100%;
}

.analise-geral-tempo-processamento-filtro-horas-toggle .toggle-box-elem {
    min-width: 2.35rem;
    font-size: 0.72rem;
}

/* ============================================================
   Tempo de processamento — barras horizontais por etapa
   (SSOT: EnumCores PRETO #000000 para etapa Lançada)
   ============================================================ */

.analise-geral-tempo-processamento-painel {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 1rem 1rem;
    box-sizing: border-box;
}

.analise-geral-tempo-processamento-cab {
    text-align: center;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.analise-geral-tempo-processamento-corpo {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.analise-geral-tempo-processamento-linha {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.analise-geral-tempo-processamento-linha-segmentada {
    align-items: center;
}

.analise-geral-tempo-processamento-linha-segmentada > .analise-geral-tempo-processamento-barra-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.analise-geral-tempo-processamento-segmentos-rotulos {
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: 4.5rem;
    padding-bottom: 0;
    overflow: visible;
}

.analise-geral-tempo-processamento-segmento-rotulo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
    overflow: visible;
}

.analise-geral-tempo-processamento-tempo-etapa {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
}

.analise-geral-tempo-processamento-balao {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    padding: 0.3rem 0.55rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    z-index: 1;
}

.analise-geral-tempo-processamento-balao::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0.38rem solid transparent;
    border-right: 0.38rem solid transparent;
}

.analise-geral-tempo-processamento-balao-acima::after {
    bottom: -0.38rem;
    border-top: 0.38rem solid transparent;
}

.analise-geral-tempo-processamento-balao-abaixo::after {
    top: -0.38rem;
    border-bottom: 0.38rem solid transparent;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-lancada::after {
    border-top-color: #000000;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-aguardando-picking::after {
    border-top-color: #ff7E00;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-picking::after {
    border-top-color: #42a5f5;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-aguardando-conferencia::after {
    border-top-color: #ffff00;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-conferencia::after {
    border-top-color: #00e676;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-expedicao::after {
    border-top-color: #75438A;
}

.analise-geral-tempo-processamento-balao-acima.analise-geral-tempo-processamento-pill-embarque::after {
    border-top-color: #607d8b;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-lancada::after {
    border-bottom-color: #000000;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-aguardando-picking::after {
    border-bottom-color: #ff7E00;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-picking::after {
    border-bottom-color: #42a5f5;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-aguardando-conferencia::after {
    border-bottom-color: #ffff00;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-conferencia::after {
    border-bottom-color: #00e676;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-expedicao::after {
    border-bottom-color: #75438A;
}

.analise-geral-tempo-processamento-balao-abaixo.analise-geral-tempo-processamento-pill-embarque::after {
    border-bottom-color: #607d8b;
}

.analise-geral-tempo-processamento-segmentos-rotulos-inferiores {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 4.5rem;
    padding-top: 0;
    overflow: visible;
}

.analise-geral-tempo-processamento-segmentos-rotulos-inferiores .analise-geral-tempo-processamento-segmento-rotulo {
    justify-content: flex-start;
}

.analise-geral-tempo-processamento-barra-segmentos {
    display: flex;
    align-items: stretch;
    height: 0.65rem;
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.analise-geral-tempo-processamento-barra-segmento {
    min-width: 2px;
    height: 100%;
    border-radius: 0;
}

.analise-geral-tempo-processamento-tempo {
    flex: 0 0 5.5rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.analise-geral-tempo-processamento-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.analise-geral-tempo-processamento-pill-lancada {
    background: #000000;
    color: #ffffff;
}

.analise-geral-tempo-processamento-pill-aguardando-picking {
    background: #ff7E00;
    color: #ffffff;
}

.analise-geral-tempo-processamento-pill-picking {
    background: #42a5f5;
    color: #ffffff;
}

.analise-geral-tempo-processamento-pill-aguardando-conferencia {
    background: #ffff00;
    color: #000000;
}

.analise-geral-tempo-processamento-pill-conferencia {
    background: #00e676;
    color: #ffffff;
}

.analise-geral-tempo-processamento-pill-expedicao {
    background: #75438A;
    color: #ffffff;
}

.analise-geral-tempo-processamento-pill-embarque {
    background: #607d8b;
    color: #ffffff;
}

.analise-geral-tempo-processamento-barra-wrap {
    flex: 1 1 auto;
    min-width: 0;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.analise-geral-tempo-processamento-barra {
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    transition: width 0.2s ease;
}

.analise-geral-tempo-processamento-barra-lancada {
    background: #000000;
}

.analise-geral-tempo-processamento-barra-aguardando-picking {
    background: #ff7E00;
}

.analise-geral-tempo-processamento-barra-picking {
    background: #42a5f5;
}

.analise-geral-tempo-processamento-barra-aguardando-conferencia {
    background: #ffff00;
}

.analise-geral-tempo-processamento-barra-conferencia {
    background: #00e676;
}

.analise-geral-tempo-processamento-barra-expedicao {
    background: #75438A;
}

.analise-geral-tempo-processamento-barra-embarque {
    background: #607d8b;
}

.analise-geral-tempo-processamento-pct {
    flex: 0 0 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.analise-geral-tempo-processamento-etapa-colapsavel {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.35rem;
    background: rgba(0, 0, 0, 0.02);
}

.analise-geral-tempo-processamento-etapa-colapsavel[open] {
    background: rgba(0, 0, 0, 0.04);
}

.analise-geral-tempo-processamento-etapa-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.35rem 0.25rem;
}

.analise-geral-tempo-processamento-etapa-summary::-webkit-details-marker {
    display: none;
}

.analise-geral-tempo-processamento-seta {
    flex: 0 0 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease;
}

.analise-geral-tempo-processamento-seta svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.analise-geral-tempo-processamento-etapa-colapsavel[open] .analise-geral-tempo-processamento-seta {
    transform: rotate(180deg);
}

.analise-geral-tempo-processamento-etapa-detalhe {
    padding: 0 0.5rem 0.65rem 1.15rem;
    overflow-x: auto;
}

.analise-geral-tempo-processamento-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.analise-geral-tempo-processamento-tabela-cab {
    text-align: left;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.analise-geral-tempo-processamento-tabela-cab:first-child {
    text-align: left;
}

.analise-geral-tempo-processamento-tabela-cab:nth-child(n+2) {
    text-align: right;
}

.analise-geral-tempo-processamento-tabela-corpo td {
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-variant-numeric: tabular-nums;
}

.analise-geral-tempo-processamento-tabela-corpo td:first-child {
    text-align: left;
}

.analise-geral-tempo-processamento-tabela-corpo td:nth-child(n+2) {
    text-align: right;
}

.analise-geral-tempo-processamento-emissao-dia-diferente {
    font-weight: 600;
}

.analise-geral-tempo-processamento-tempo-alto {
    font-weight: 700;
}
