/* A largura das colunas como no Excel (28/10/2026) — wwwroot/js/colunas.js. A alça fica na borda direita do título (todo
   table.t th é sticky, logo já é posicionado). Depois do 1º arrasto a tabela é "larg-fixa": o que não cabe sai com "…". */
.col-larg { position: absolute; top: 0; right: 0; width: 8px; height: 100%; cursor: col-resize; z-index: 7; touch-action: none; user-select: none; }
.col-larg::after { content: ''; position: absolute; top: 18%; bottom: 18%; right: 0; width: 2px; border-radius: 1px; background: transparent; }
th:hover > .col-larg::after { background: var(--border-forte, rgba(255,255,255,.22)); }
.col-larg:hover::after, .col-larg.ativo::after { background: var(--accent, #f5b800); }
body.redimensionando, body.redimensionando * { cursor: col-resize !important; user-select: none !important; }
table.larg-fixa td, table.larg-fixa th { overflow: hidden; text-overflow: ellipsis; }
table.larg-fixa th input, table.larg-fixa th select { max-width: 100%; box-sizing: border-box; }
@media (max-width: 768px) { html:not(.m-desk) .col-larg { display: none; } }
