/* Acesso, Configurações e Exportação: só o que o gem.css não tem. Apenas tokens, zero cor literal, zero estilo inline. */
.nav-lista li:empty { display: none; }
.app .acesso-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--e-4); margin-top: var(--e-4); }
/* o gem.css usa .usuario no cabeçalho (chip do usuário logado); no cartão da lista é uma coluna */
.app article.usuario { display: flex; flex-direction: column; align-items: stretch; gap: var(--e-3); overflow-wrap: anywhere; }
.app article.papel, .app article.tabela, .app article.exportacao { display: flex; flex-direction: column; gap: var(--e-2); overflow-wrap: anywhere; }
.usr-topo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-3); }
.usr-topo h3 { font-family: var(--f-titulo); font-size: var(--t-xl); font-weight: 600; min-width: 0; flex: 1 1 8rem; }
.usr-acoes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--e-3); }
.usr-perfil { display: flex; flex-direction: column; gap: var(--e-1); min-width: 0; flex: 1 1 10rem; font-weight: 700; }
.papel-permissoes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-3); font-size: var(--t-sm); }
.tab-nome { font-family: var(--f-titulo); font-size: var(--t-lg); font-weight: 600; }
.app .tab-linhas { margin: 0; }
.app .tabela .btn { align-self: flex-start; }
.config-form { max-width: 40rem; }
.msg-ok { display: flex; gap: .4rem; align-items: flex-start; color: var(--ok); font-weight: 700; font-size: var(--t-sm); margin: 0; }
