/* Shell oficial consolidado. Apresentação; visibilidade continua sob os controles existentes. */
:root{--stte-sidebar-width:248px;--sidebar-w:var(--stte-sidebar-width);--stte-sidebar:var(--stte-sidebar-width);--stte-offset:var(--stte-sidebar-width);--sidebar-bg:#051C3D;--sidebar-active:#1F50CD;--sidebar-text:#FDFDFD;--sidebar-muted:#87AFF7}
html,body{max-width:100%;overflow-x:hidden}
body{box-sizing:border-box;min-width:0}
body:not(.stte-authenticated){padding-left:18px!important}
body:not(.stte-authenticated) .panel-clean-topo,body:not(.stte-authenticated) .panel-clean-topo .tabs,body:not(.stte-authenticated) .sidebar-brand,body:not(.stte-authenticated) .sidebar-section-label{display:none!important}
body:not(.stte-authenticated) .login{inset:0!important;width:100%!important;max-width:none!important;margin:0!important}
body.stte-authenticated{padding:0 24px 24px calc(var(--stte-sidebar-width) + 24px)!important;min-height:100vh!important;overflow-x:hidden!important;background:#F4F6FA!important;color:#162B47}
body.stte-authenticated .panel-clean-topo{display:block!important;padding:0!important;margin:0!important;width:auto!important;max-width:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.stte-authenticated .panel-clean-topo .tabs{position:fixed!important;inset:0 auto 0 0!important;width:var(--stte-sidebar-width)!important;height:100vh!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;display:block!important;padding:24px 12px!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--sidebar-bg)!important;box-shadow:none!important;z-index:100!important;scrollbar-width:thin}
body.stte-authenticated .panel-clean-topo .tabs:before,body.stte-authenticated .panel-clean-topo .tabs:after{display:none!important;content:none!important}
.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px 24px;color:var(--sidebar-text)}
.sidebar-brand-mark{flex:0 0 42px;width:42px;height:42px;border-radius:8px;background:#16375D;display:grid;place-items:center;font-size:16px;font-weight:700;color:#FDFDFD}
.sidebar-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.sidebar-brand-copy strong{font-size:16px;font-weight:700;color:#FDFDFD}
.sidebar-brand-copy b{font-size:12px;font-weight:400;color:#B8CBEA;margin-top:3px}
.sidebar-brand-copy br{display:none}
.sidebar-section-label{margin:22px 10px 8px;color:var(--sidebar-muted);font-size:10px;line-height:1.2;font-weight:600;letter-spacing:1.1px;text-transform:uppercase;user-select:none}
body.stte-authenticated .panel-clean-topo .tab{width:100%!important;min-height:44px!important;display:flex;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:11px 12px!important;margin:4px 0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#E5EDF9!important;text-align:left!important;font-size:13px!important;line-height:1.3!important;font-weight:500!important;transition:background .16s ease,color .16s ease!important}
body.stte-authenticated .panel-clean-topo .tab .menu-ico{flex:0 0 20px;width:20px;height:20px;display:inline-grid;place-items:center;margin:0!important;filter:none!important;color:#B8CFF2!important}
body.stte-authenticated .panel-clean-topo .tab .menu-ico svg{width:20px;height:20px}
body.stte-authenticated .panel-clean-topo .tab .menu-label{display:block;min-width:0;white-space:normal;color:inherit!important}
body.stte-authenticated .panel-clean-topo .tab:hover{background:#143458!important;color:#FDFDFD!important;transform:none!important}
body.stte-authenticated .panel-clean-topo .tab.active{background:var(--sidebar-active)!important;color:#FDFDFD!important}
body.stte-authenticated .panel-clean-topo .tab.active .menu-ico{color:#FDFDFD!important}
body.stte-authenticated .panel-clean-topo .tab:focus-visible{outline:2px solid #87AFF7!important;outline-offset:2px!important}
body.stte-authenticated .cards,body.stte-authenticated .panel,body.stte-authenticated .controls,body.stte-authenticated .filters,body.stte-authenticated .table-wrap,body.stte-authenticated .usuarios-perfis-bloco,body.stte-authenticated #areaBackupSistema,body.stte-authenticated #areaNotificacoes,body.stte-authenticated #areaConfiguracoes,body.stte-authenticated #areaMovimentacaoPessoas,body.stte-authenticated .footer{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.stte-authenticated .header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px 24px!important;padding:12px 20px!important;margin:0 -24px 24px!important;width:auto!important;max-width:none!important;min-height:76px;min-width:0;box-sizing:border-box;background:#FDFDFD!important;border:0!important;border-bottom:1px solid #D3DAE7!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;color:#051C3D!important}
body.stte-authenticated .header:after{display:none!important}
body.stte-authenticated .header-main{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;min-width:0;flex:0 1 auto}
body.stte-authenticated .header-logo{display:block!important;object-fit:contain!important;width:92px!important;max-width:92px!important;height:52px!important;max-height:52px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;filter:none!important;flex:0 0 auto}
body.stte-authenticated .header-text{min-width:0}
body.stte-authenticated .header h1{margin:0!important;color:#051C3D!important;font-size:17px!important;font-weight:700;line-height:1.25!important}
body.stte-authenticated .topbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:16px!important;flex-wrap:wrap!important;margin:0!important;min-width:0;flex:0 1 auto}
body.stte-authenticated .topbar .pill{display:flex!important;align-items:flex-start!important;flex-direction:column;gap:3px!important;max-width:100%;width:auto!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#051C3D!important;font-size:12px;line-height:1.35;white-space:normal!important}
body.stte-authenticated .topbar .pill b{color:#051C3D!important;font-weight:600}
body.stte-authenticated .topbar .header-meta-label,body.stte-authenticated .topbar #perfilAtual{color:#5D6F89!important;font-size:11px;font-weight:400}
body.stte-authenticated .topbar .header-identidade{padding-left:16px!important;border-left:1px solid #D3DAE7!important}
body.stte-authenticated .topbar .header-atualizacao{font-size:10px}
body.stte-authenticated .topbar .pill button{background:#F4F6FA!important;color:#051C3D!important;border:1px solid #D3DAE7!important;border-radius:8px!important;padding:9px 16px!important}
body.stte-authenticated .cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;gap:16px!important;padding:0!important}
body.stte-authenticated .grid,body.stte-authenticated .config-grid,body.stte-authenticated .mov-kpis,body.stte-authenticated .backup-sistema-status-panel{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
body.stte-authenticated .card{border:1px solid #D3DAE7!important;border-radius:10px!important;box-shadow:0 2px 6px rgba(5,28,61,.03)!important;padding:18px!important}
body.stte-authenticated .card h3{font-size:11px!important;letter-spacing:.3px!important;color:#516681!important}
body.stte-authenticated .card .value{color:#051C3D!important}
body.stte-authenticated .controls,body.stte-authenticated .filters,body.stte-authenticated .topo-operacional,body.stte-authenticated .filtros-clean,body.stte-authenticated .filtros-periodo-clean,body.stte-authenticated .audit-filters-box,body.stte-authenticated .colab-search-row,body.stte-authenticated .colab-retorno-chips{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
.filtro-campo{display:flex;flex-direction:column;gap:6px;flex:1 1 160px;min-width:0}
.filtro-campo>label{font-size:11px;font-weight:600;color:#516681}
body.stte-authenticated .filters .filtro-campo>select{width:100%;min-width:0!important}
body.stte-authenticated .filters{align-items:end;gap:12px!important}
body.stte-authenticated .table-wrap{overflow-x:auto!important;overflow-y:visible;border-radius:10px!important;border-color:#D3DAE7!important;box-shadow:none!important}
body.stte-authenticated .table-wrap:not(#tabelaUsuarios):not(#tabelaPerfis){width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
body.stte-authenticated .table-wrap>table{margin-left:0!important;margin-right:0!important;max-width:none}
body.stte-authenticated th,body.stte-authenticated td{overflow-wrap:anywhere}
body.stte-authenticated .table-wrap th{background:#EDF2F9!important;color:#314B6E!important;font-size:11px!important;font-weight:600!important;letter-spacing:.15px}
body.stte-authenticated .table-wrap td{font-size:12px;line-height:1.45}
body.stte-authenticated :is(#tabelaSolicitacoes,#tabelaVagas,#tabelaColaboradores)>table>thead>tr>th:last-child,body.stte-authenticated :is(#tabelaSolicitacoes,#tabelaVagas,#tabelaColaboradores)>table>tbody>tr>td:last-child:not([colspan]){position:sticky;right:0;z-index:2;background:#FDFDFD;box-shadow:-1px 0 #D3DAE7}
body.stte-authenticated .modal{position:fixed!important;inset:0!important;margin:0!important;padding:16px!important;align-items:center;justify-content:center}
body.stte-authenticated .notificacoes-modal-overlay{position:fixed!important;inset:0!important;margin:0!important;padding:16px!important;display:flex;align-items:center;justify-content:center}
body.stte-authenticated .modal-content{width:min(1120px, calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important;overflow:auto!important;margin:0!important;border-radius:12px!important}
body.stte-authenticated .notificacoes-modal{width:min(1180px, calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important}
body.stte-authenticated input,body.stte-authenticated select,body.stte-authenticated textarea,body.stte-authenticated button{max-width:100%;border-radius:8px}
body.stte-authenticated button,body.stte-authenticated .btn-primary{color:#fff!important}
body.stte-authenticated .btn-secondary,body.stte-authenticated .btn-ghost,body.stte-authenticated .btn-dark{background:#F4F6FA!important;color:#051C3D!important;border:1px solid #D3DAE7!important}
body.stte-authenticated .btn-danger,body.stte-authenticated .btn-action-danger{background:#B42336!important;border-color:#B42336!important;color:#fff!important}
body.stte-authenticated .btn-ok{background:#126B4A!important;border-color:#126B4A!important;color:#fff!important}
body.stte-authenticated button:disabled{opacity:.65;cursor:not-allowed}
#menuColaboradoresCompacto,#fundoMenuColaboradores{display:none}
@media(max-width:1200px){:root{--stte-sidebar-width:224px}body.stte-authenticated .header{gap:10px 16px!important}body.stte-authenticated .topbar{gap:12px!important}body.stte-authenticated .header h1{font-size:16px!important}}
@media(max-width:900px){
 body.stte-authenticated.colaboradores-menu-compacto{padding:0 12px 16px!important}
 body.stte-authenticated .header{margin:0 -12px 20px!important;padding:14px 14px 14px 100px!important}
 body.stte-authenticated .header-main{flex-wrap:wrap;gap:8px!important}
 body.stte-authenticated .topbar{justify-content:flex-start!important}
 body.colaboradores-menu-compacto #menuColaboradoresCompacto{display:inline-flex;position:fixed;top:17px;left:12px;z-index:142}
 body.colaboradores-menu-compacto .panel-clean-topo .tabs{visibility:hidden;pointer-events:none;width:min(270px,85vw)!important;padding-top:72px!important;z-index:141!important}
 body.colaboradores-menu-compacto.colaboradores-menu-aberto .panel-clean-topo .tabs{visibility:visible;pointer-events:auto}
 body.colaboradores-menu-compacto.colaboradores-menu-aberto #fundoMenuColaboradores{display:block;position:fixed;inset:0;width:100%;height:100%;border-radius:0!important;background:rgba(5,28,61,.45)!important;box-shadow:none!important;transform:none!important;padding:0!important;z-index:140}
 body.stte-authenticated .colab-search-row{flex-wrap:wrap}
 body.stte-authenticated .colab-search-row .search{min-width:0;flex:1 1 220px}
 body.stte-authenticated .grid,body.stte-authenticated .config-grid{grid-template-columns:minmax(0,1fr)!important}
 body.stte-authenticated .grid>.span2,body.stte-authenticated .grid>.span3{grid-column:1/-1!important}
}
@media(prefers-reduced-motion:reduce){body.stte-authenticated .panel-clean-topo .tab{transition:none!important}}
