/* V28.6.0 — Cronograma único + toolbar estável + colunas compactáveis/recolhíveis */
.v21-project .v17-timeline-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0!important;overflow:hidden}
.v28517-timeline-title-row{display:flex;align-items:flex-start;gap:14px;padding:12px 14px 10px;border-bottom:1px solid #edf1f5}
.v28517-timeline-title-copy{min-width:0;flex:1}.v28517-primary-note{margin-left:auto;white-space:nowrap;font-weight:800!important}
.v21-project .v28517-layerbar{margin:0!important;padding:9px 14px!important;border:0!important;border-bottom:1px solid #edf1f5!important;border-radius:0!important;background:#fff!important;gap:7px!important}
.v21-project .v28517-wbs-tools{width:100%;box-sizing:border-box;margin:0!important;padding:10px 14px!important;gap:9px!important;align-items:center!important;background:#fff}
.v28517-toolbar-group,.v28517-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v28517-toolbar-spacer{flex:1 1 auto}.v28517-toolbar-break{flex-basis:100%;height:0}
.v21-project .v28517-wbs-tools label{font-size:8.5px!important;color:#66758a!important;text-transform:none!important;gap:6px!important}.v21-project .v28517-wbs-tools select{min-height:34px;padding:6px 28px 6px 10px!important;border-radius:8px!important;background:#fff}
.v21-project .v28517-wbs-tools .btn{min-height:34px;padding-inline:12px!important;border-radius:8px!important;white-space:nowrap}.v21-project .v28517-wbs-tools .btn.prim{box-shadow:0 2px 5px rgba(23,105,224,.12)}
.v21-project .v213-projection{margin-top:1px}.v21-project .v213-projection button{min-height:32px;padding:6px 12px}
/* Compacto é o padrão: preserva leitura, mas devolve largura ao Gantt. */
.v21-project .v18-wbs-grid.v28517-cols-compact{min-width:calc(var(--v211-left-total) + var(--v18-track-w))!important}
.v21-project .v18-wbs-grid.v28517-cols-compact .v18-wbs-head,.v21-project .v18-wbs-grid.v28517-cols-compact .v18-wbs-row,.v21-project .v18-wbs-grid.v28517-cols-compact .v21-events-row{grid-template-columns:var(--v211-col-item) var(--v211-col-owner) var(--v211-col-progress) var(--v211-col-source) var(--v211-col-health) var(--v18-track-w)!important}
.v28517-cols-compact .v18-wbs-cell:nth-child(2),.v28517-cols-compact .v18-wbs-cell:nth-child(3),.v28517-cols-compact .v18-wbs-cell:nth-child(4){padding-left:5px!important;padding-right:5px!important;overflow:hidden}.v28517-cols-compact .v18-owner,.v28517-cols-compact .v18-source{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v28517-cols-compact .v18-pbar{display:none!important}
/* Foco no cronograma: mantém somente Item/WBS antes da linha do tempo. */
.v21-project .v18-wbs-grid.v28517-cols-timeline{min-width:calc(var(--v211-col-item) + var(--v18-track-w))!important}.v21-project .v18-wbs-grid.v28517-cols-timeline .v18-wbs-head,.v21-project .v18-wbs-grid.v28517-cols-timeline .v18-wbs-row,.v21-project .v18-wbs-grid.v28517-cols-timeline .v21-events-row{grid-template-columns:minmax(220px,1fr) var(--v18-track-w)!important}
.v28517-cols-timeline .v18-wbs-head>div:nth-child(2),.v28517-cols-timeline .v18-wbs-head>div:nth-child(3),.v28517-cols-timeline .v18-wbs-head>div:nth-child(4),.v28517-cols-timeline .v18-wbs-head>div:nth-child(5),.v28517-cols-timeline .v18-wbs-row>.v18-wbs-cell:nth-child(2),.v28517-cols-timeline .v18-wbs-row>.v18-wbs-cell:nth-child(3),.v28517-cols-timeline .v18-wbs-row>.v18-wbs-cell:nth-child(4),.v28517-cols-timeline .v18-wbs-row>.v18-wbs-cell:nth-child(5){display:none!important}
.v28517-cols-timeline .v18-wbs-axis,.v28517-cols-timeline .v18-wbs-track{grid-column:2!important}.v28517-cols-timeline .v18-wbs-namecell{grid-column:1!important}.v28517-cols-timeline .v21-events-row .label{grid-column:1!important}.v28517-cols-timeline .v21-events-row .track{grid-column:2!important}
@media(max-width:900px){.v28517-timeline-title-row{padding:10px}.v21-project .v28517-layerbar,.v21-project .v28517-wbs-tools{padding-left:10px!important;padding-right:10px!important}.v28517-toolbar-spacer{display:none}.v28517-toolbar-actions{width:100%}}
/* V28.6.0 — controle rápido por coluna.
   O botão − leva a coluna ao mínimo; + restaura a última largura útil/preset. */
.v28518-col-head{display:flex!important;align-items:flex-end!important;gap:5px!important;min-width:0;position:relative}
.v28518-col-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px!important;line-height:1.1}
.v28518-col-toggle{flex:0 0 16px;width:16px;height:16px;padding:0;border:1px solid #d7e0eb;border-radius:5px;background:#fff;color:#5f7086;font-size:11px!important;font-weight:900;line-height:13px;display:grid;place-items:center;cursor:pointer;opacity:.72;transition:.12s}
.v28518-col-head:hover .v28518-col-toggle,.v28518-col-toggle:focus-visible{opacity:1;border-color:#9abceb;color:#1769e0;outline:none}
.v28518-col-toggle:hover{background:#eef5ff}
/* Remove os rótulos pseudo-elemento da implementação anterior; agora o texto é real e acessível. */
.v28517-cols-compact .v18-wbs-head>div:nth-child(2)::after,.v28517-cols-compact .v18-wbs-head>div:nth-child(3)::after,.v28517-cols-compact .v18-wbs-head>div:nth-child(4)::after,.v28517-cols-compact .v18-wbs-head>div:nth-child(5)::after{content:none!important}
.v28517-cols-compact .v18-wbs-head>div:nth-child(2),.v28517-cols-compact .v18-wbs-head>div:nth-child(3),.v28517-cols-compact .v18-wbs-head>div:nth-child(4),.v28517-cols-compact .v18-wbs-head>div:nth-child(5){font-size:8.5px!important}
/* Em larguras mínimas, conteúdo é truncado sem forçar novamente a expansão da coluna. */
.v21-project .v18-wbs-cell{min-width:0!important;overflow:hidden}
.v21-project .v18-wbs-title,.v21-project .v18-owner,.v21-project .v18-source,.v21-project .v18-pct{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
