.tb-usuarios-main-host{background:#f8fafc!important;padding:24px!important;overflow:auto!important}.tb-usuarios-route-mount{width:100%;min-height:calc(100vh - 120px);color:#0f172a}.tb-user-page{padding:28px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#0f172a}.tb-user-wrap{max-width:1480px;margin:0 auto}.tb-user-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.tb-user-header h1{font-size:clamp(32px,3.4vw,46px);letter-spacing:-.045em;line-height:1.05;margin:0 0 8px;color:#0f172a}.tb-user-header p,.tb-user-note{color:#64748b;font-size:15px;line-height:1.6;max-width:860px}.tb-user-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.tb-user-kpis div,.tb-user-panel{background:#fff;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 18px 42px rgba(15,23,42,.06)}.tb-user-kpis div{padding:18px}.tb-user-kpis small{display:block;color:#64748b;text-transform:uppercase;font-weight:900;letter-spacing:.06em;font-size:11px}.tb-user-kpis strong{display:block;font-size:30px;margin-top:6px}.tb-user-panel{overflow:hidden}.tb-user-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e2e8f0;background:#fff}.tb-user-search{width:100%;max-width:520px;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc;color:#0f172a;padding:12px 14px;font-weight:700}.tb-user-table-wrap{overflow:auto}.tb-user-table{width:100%;border-collapse:collapse;min-width:1080px}.tb-user-table th{background:#f8fafc;color:#475569;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:13px;border-bottom:1px solid #e2e8f0}.tb-user-table td{padding:14px 13px;border-bottom:1px solid #edf2f7;vertical-align:top;color:#0f172a}.tb-user-table td small{display:block;margin-top:4px;color:#64748b;font-weight:800}.tb-user-table tr.is-self{background:#f8fafc}.tb-user-role,.tb-user-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.tb-user-role{background:#e0f2fe;color:#075985}.tb-user-role.superadmin{background:#ede9fe;color:#5b21b6}.tb-user-role.admin{background:#dcfce7;color:#166534}.tb-user-pill.ok{background:#dcfce7;color:#166534}.tb-user-pill.no{background:#fee2e2;color:#991b1b}.tb-user-warn{color:#b45309!important}.tb-user-actions{display:flex;gap:7px;flex-wrap:wrap}.tb-user-btn{border:1px solid #dbe3ef;background:#fff;color:#0f172a;border-radius:12px;padding:10px 13px;font-weight:900;cursor:pointer;transition:.18s ease}.tb-user-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.08)}.tb-user-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.tb-user-btn.primary,.tb-user-btn.success{background:#16a34a;color:#fff;border-color:#16a34a}.tb-user-btn.warn{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.tb-user-btn.danger{background:#fff1f2;color:#991b1b;border-color:#fecdd3}.tb-user-btn.ghost{background:#f8fafc}.tb-user-error{background:#fff1f2;color:#991b1b;border:1px solid #fecdd3;border-radius:16px;padding:14px 16px;margin:12px 0;font-weight:900}.tb-user-modal{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.52);display:flex;align-items:center;justify-content:center;padding:18px}.tb-user-dialog{width:min(780px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 30px 80px rgba(15,23,42,.25);color:#0f172a}.tb-user-dialog.small{width:min(520px,100%)}.tb-user-dialog-head{display:flex;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid #e2e8f0}.tb-user-dialog-head h2{margin:0;font-size:24px}.tb-user-dialog-head p{margin:5px 0 0;color:#64748b}.tb-user-form{padding:20px;display:grid;gap:16px}.tb-user-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tb-user-form label{display:grid;gap:7px;font-size:13px;font-weight:900;color:#334155}.tb-user-form input,.tb-user-form select{border:1px solid #dbe3ef;background:#f8fafc;color:#0f172a;border-radius:14px;padding:12px 13px;font-weight:800}.tb-user-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e2e8f0;padding-top:16px}.tb-usuarios-menu-link{display:flex!important;align-items:center!important;gap:10px!important;color:#dbeafe!important;opacity:1!important;visibility:visible!important}.tb-usuarios-menu-link.active,a[href="/superadmin/usuarios"].active{color:#fff!important;background:rgba(255,255,255,.08)!important}@media(max-width:920px){.tb-user-header{display:grid}.tb-user-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tb-user-form-grid{grid-template-columns:1fr}.tb-user-toolbar{display:grid}.tb-user-search{max-width:none}}@media(max-width:620px){.tb-user-page{padding:16px}.tb-user-kpis{grid-template-columns:1fr}.tb-user-footer{display:grid}.tb-user-btn.primary{width:100%}}

/* Release 20260525 routefix: ícone de Usuários alinhado ao padrão Lucide/outline dos demais itens do menu. */
.tb-usuarios-menu-link .tb-menu-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;min-width:20px!important;color:currentColor!important}.tb-usuarios-menu-link .tb-menu-icon svg{display:block!important;width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important}.tb-usuarios-menu-link span:not(.tb-menu-icon){line-height:1.15!important}

/* Release 20260525 usuarios-acoesfix: mantém Editar/Excluir sempre visíveis no grid. */
.tb-user-table-wrap{overflow:auto!important;position:relative!important;max-width:100%!important}.tb-user-table{min-width:1120px!important}.tb-user-table th:last-child{position:sticky!important;right:0!important;z-index:5!important;background:#f8fafc!important;box-shadow:-12px 0 22px rgba(15,23,42,.06)!important;min-width:224px!important}.tb-user-table td.tb-user-actions{position:sticky!important;right:0!important;z-index:4!important;background:#fff!important;box-shadow:-12px 0 22px rgba(15,23,42,.06)!important;min-width:224px!important;max-width:260px!important;display:flex!important;align-items:flex-start!important;gap:7px!important;flex-wrap:wrap!important}.tb-user-table tr.is-self td.tb-user-actions{background:#f8fafc!important}.tb-user-btn.primary-soft{background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important}.tb-user-btn.danger{font-weight:900!important}.tb-user-table th:nth-child(5),.tb-user-table td:nth-child(5),.tb-user-table th:nth-child(6),.tb-user-table td:nth-child(6),.tb-user-table th:nth-child(7),.tb-user-table td:nth-child(7){white-space:normal!important}.tb-user-table td:nth-child(1){min-width:160px!important}.tb-user-table td:nth-child(2){min-width:240px!important;word-break:break-word!important}.tb-user-note::after{content:' As ações Editar e Excluir ficam fixas à direita da tabela para não sumirem em telas menores.';}
@media(max-width:1180px){.tb-user-table{min-width:980px!important}.tb-user-table th:nth-child(5),.tb-user-table td:nth-child(5),.tb-user-table th:nth-child(7),.tb-user-table td:nth-child(7){display:none!important}.tb-user-table th:last-child,.tb-user-table td.tb-user-actions{min-width:210px!important;max-width:230px!important}}
@media(max-width:760px){.tb-user-table{min-width:780px!important}.tb-user-table th:nth-child(6),.tb-user-table td:nth-child(6){display:none!important}.tb-user-btn{padding:9px 10px!important;font-size:12px!important}.tb-user-table th:last-child,.tb-user-table td.tb-user-actions{min-width:190px!important;max-width:205px!important}}
