
/* v34 — apenas Trabalhadores e Máquinas/Ferramentas. */
#trab-fixed-top{
  overflow:hidden!important;
  background:#F4F6F8!important;
  background-color:#F4F6F8!important;
  padding-top:8px!important;
}
#trab-fixed-top::before{
  inset:0!important;
  background:#F4F6F8!important;
}
#trab-alertas-zona{
  margin-top:0!important;
  background:#F4F6F8!important;
}
#trab-header-table,
#trab-header-table thead,
#trab-header-table tbody,
#trab-header-table tr,
#trab-header-table th,
#trab-header-table td{
  position:static!important;
  top:auto!important;
}
/* Preserva integralmente as cinco colunas fixas à esquerda. */
#trab-tabela th:nth-child(-n+5),#trab-tabela td:nth-child(-n+5),
#trab-header-table th:nth-child(-n+5),#trab-header-table td:nth-child(-n+5){
  /* sem redefinição de largura */
}
/* As restantes colunas não são comprimidas: a largura é calculada pelo conteúdo. */
#trab-tabela th:nth-child(n+6),#trab-tabela td:nth-child(n+6),
#trab-header-table th:nth-child(n+6),#trab-header-table td:nth-child(n+6){
  max-width:none!important;
  white-space:nowrap!important;
}
#trab-tabela td:nth-child(n+6) input,
#trab-tabela td:nth-child(n+6) select,
#trab-tabela td:nth-child(n+6) textarea{
  max-width:none!important;
}
#maq-fixed-top{
  position:sticky!important;
  top:0!important;
  z-index:900!important;
  isolation:isolate!important;
  overflow:visible!important;
  background:var(--bg,#F8FAFC)!important;
  background-color:var(--bg,#F8FAFC)!important;
  background-image:linear-gradient(var(--bg,#F8FAFC),var(--bg,#F8FAFC))!important;
  padding-bottom:8px!important;
  box-shadow:0 4px 8px rgba(15,23,42,.08)!important;
}
#maq-fixed-top::before{
  content:""!important;
  position:absolute!important;
  left:-32px!important;
  right:-32px!important;
  top:-48px!important;
  bottom:-12px!important;
  background:var(--bg,#F8FAFC)!important;
  background-color:var(--bg,#F8FAFC)!important;
  z-index:-1!important;
  pointer-events:none!important;
}
#maq-fixed-top .toolbar,#maq-sync-msg{background:var(--bg,#F8FAFC)!important;background-color:var(--bg,#F8FAFC)!important;position:relative!important;z-index:2!important}
/* #maq-header-proxy, #maq-top-scroll e a classe maq-original-header-hidden
   retirados em 2026-07-17 — o cabeçalho fantasma sincronizado por scroll
   foi substituído por sticky nativo em part-026.css. */
