:root{--bg:#f6f8fb;--card:#fff;--text:#101828;--muted:#667085;--line:#e5e7eb;--navy:#0b1f3a;--blue:#143967;--gold:#b98a32;--red:#b42318;--green:#067647;--shadow:0 14px 38px rgba(16,24,40,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}.hidden{display:none!important}#login{min-height:100vh;background:#fff;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:min(440px,95vw);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow);padding:30px}.login-logo{height:170px;display:flex;align-items:center;justify-content:center}.login-logo img{max-width:240px;max-height:170px;object-fit:contain}h1{font-size:24px;text-align:center;color:var(--navy);margin:0 0 18px}h2{margin:0 0 16px;color:var(--navy);font-size:18px}h3{color:var(--navy)}label{display:block;margin:10px 0 6px;font-size:11px;font-weight:800;text-transform:uppercase;color:var(--muted);letter-spacing:.06em}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:11px 12px;font:14px Inter,"Segoe UI",Arial;background:#fff;color:var(--text)}textarea{min-height:88px;resize:vertical}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(20,57,103,.1)}button{border:0;border-radius:13px;padding:10px 14px;font-weight:800;cursor:pointer}.primary{background:linear-gradient(135deg,var(--blue),var(--navy));color:#fff}.secondary{background:#fff;border:1px solid var(--line);color:var(--navy)}.danger{background:#fff1f0;color:var(--red);border:1px solid #fecdca}.small{padding:6px 8px;font-size:11px;border-radius:9px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.msg{padding:10px 12px;border-radius:13px;margin-top:12px;border:1px solid var(--line)}.ok{background:#ecfdf3;color:var(--green);border-color:#abefc6}.err{background:#fef3f2;color:var(--red);border-color:#fecdca}.info{background:#eff8ff;color:#175cd3;border-color:#b2ddff}.layout{display:grid;grid-template-columns:300px 1fr;min-height:100vh}aside{background:#fff;border-right:1px solid var(--line);height:100vh;position:sticky;top:0;overflow:auto;padding:18px}.brand{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:22px;padding:12px;box-shadow:var(--shadow);margin-bottom:16px}.brand img{width:84px;height:62px;object-fit:contain}.brand strong{display:block;color:var(--navy);font-size:17px}.brand span{font-size:12px;color:var(--muted)}.menu-title{margin:18px 0 8px 6px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#98a2b3;font-weight:900}.nav{display:block;width:100%;text-align:left;margin:5px 0;background:#fff;color:#344054}.nav:hover,.nav.active{background:#f3f6fa}.nav.active{border-left:4px solid var(--gold);color:var(--navy)}main{padding:22px}header{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:15px 18px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;margin-bottom:16px;box-shadow:var(--shadow)}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.full{grid-column:1/-1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--shadow)}.stat strong{display:block;font-size:28px;color:var(--navy)}.stat span{color:var(--muted);font-weight:700}table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{background:#f8fafc;color:var(--navy);font-size:11px;text-transform:uppercase}tr:last-child td{border-bottom:0}a{color:#175cd3;font-weight:800;text-decoration:none}.dev{color:#98a2b3;text-align:center;font-size:12px;margin:16px 0}.step{border:1px solid var(--line);border-radius:20px;padding:14px;margin-top:12px;background:#fff}.step-title{font-weight:900;color:var(--navy);margin-bottom:10px}

.recibo-numero{font-weight:900;color:#101828}.monitor-actions{display:flex;gap:6px;flex-wrap:wrap}

.pager{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:10px;flex-wrap:wrap}
.pager span{font-size:12px;color:#667085;font-weight:700}
.pager button:disabled{opacity:.45;cursor:not-allowed}

.card h3{margin-top:18px;margin-bottom:8px;font-size:15px}

.btn-reload-header-removido{margin-left:auto}
header{gap:10px}

#dashboard .dashboard-alertas-bloco .card{min-width:0!important;width:auto!important;max-width:100%!important}
#dashboard table{max-width:100%}
#dashboard .card{overflow:hidden}
#dashboard .card table{display:block;overflow-x:auto;white-space:normal}
#dashboard .card th,#dashboard .card td{word-break:break-word}
.prod-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.dash-kpi-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}


/* V2.9.8 - dashboard redesenhado, compacto e sem sobreposição */
#dashboard{max-width:100%;overflow-x:hidden}
#dashboard .card{padding:14px!important;border-radius:20px!important}
#dashboard .card h2{font-size:16px!important;margin-bottom:10px!important;line-height:1.2}
#dashboard .dashboard-alertas-bloco{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(360px,1fr))!important;
  gap:14px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#dashboard .dashboard-alertas-bloco .card{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#dashboard .dash-table,
#dashboard .card table{
  width:100%!important;
  table-layout:fixed!important;
  font-size:12px!important;
  display:table!important;
  overflow:visible!important;
  white-space:normal!important;
}
#dashboard .dash-table th,
#dashboard .dash-table td,
#dashboard .card table th,
#dashboard .card table td{
  padding:7px 8px!important;
  font-size:12px!important;
  line-height:1.25!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
#dashboard .status-pill{font-size:10px!important;padding:5px 7px!important}
#dashboard button.small{font-size:11px!important;padding:6px 8px!important;min-width:0!important}
#dashboard .monitor-actions{gap:4px!important}
#dashboard .pager{font-size:11px!important}
#dashboard a{font-size:12px!important;line-height:1.25!important}
.agenda-grid{display:grid;gap:12px}
.agenda-semana{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.agenda-mes{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.agenda-dia{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow);min-width:0}
.agenda-dia h3{font-size:13px;margin-bottom:8px;color:var(--navy)}
.agenda-item{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:8px;margin:6px 0;background:#f8fafc}
.agenda-item strong{font-size:12px;display:block}
.agenda-item span{font-size:11px;color:#667085;display:block;margin-top:3px}
.agenda-tarefa{border-left:4px solid #175cd3}
.agenda-audiencia{border-left:4px solid #b54708}
.agenda-vazio{font-size:11px;padding:8px!important}



.doc-preview{white-space:pre-wrap;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:16px;min-height:220px;font-family:Georgia,serif;line-height:1.45;color:#101828}

#auditoria_result table td,#auditoria_result table th{font-size:12px}
#auditoria_result .kpi strong .status-pill{font-size:12px}

/* V3.0.1 - ajustes finos de dashboard, backup e processos vinculados */
#dashboard .dashboard-alertas-bloco{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
#dashboard .dashboard-alertas-bloco .card{min-height:0!important}
#dashboard .dashboard-alertas-bloco table{font-size:12px!important}
#dashboard .dashboard-alertas-bloco td,#dashboard .dashboard-alertas-bloco th{padding:7px 8px!important;vertical-align:middle!important}
#dashboard .dashboard-alertas-bloco td:first-child{width:auto!important}
#dashboard .dashboard-alertas-bloco td:last-child{width:92px!important;text-align:center!important}
#dashboard .dashboard-alertas-bloco button.small{white-space:nowrap!important}

html,body,#app,main,aside,button,input,select,textarea,table,th,td,label,.card,.msg,.stat,.kpi,.nav{
  font-family:var(--font-main)!important;
  letter-spacing:0!important;
}
body{
  font-size:14px!important;
  line-height:1.38!important;
}
.card{
  font-size:14px!important;
}
.card h2{
  font-family:var(--font-main)!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.2!important;
  color:var(--navy)!important;
}
label{
  font-size:12px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  color:#344054!important;
}
input,select,textarea{
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
button,.primary,.secondary,.danger{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
button.small,.small{
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.1!important;
}
table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
}
th{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  color:var(--navy)!important;
  background:#f8fafc!important;
  white-space:normal!important;
}
td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  font-weight:500!important;
  color:#101828!important;
  vertical-align:middle!important;
}
td strong, table a{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.25!important;
}
td small, .processos-hierarquia small{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:650!important;
  color:#667085!important;
}
.status-pill{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.sort-btn,.processos-hierarquia .sort-btn{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  color:var(--navy)!important;
}
.processos-hierarquia{
  font-family:var(--font-main)!important;
  font-size:13px!important;
}
.processos-hierarquia th,
.processos-hierarquia td{
  font-family:var(--font-main)!important;
}
.processos-hierarquia .processo-principal td{
  background:#fff!important;
}
.processos-hierarquia .processo-filho td{
  background:#f6f9ff!important;
  font-size:13px!important;
}
.processos-hierarquia .processo-recurso-celula{
  padding-left:34px!important;
  border-left:5px solid #175cd3!important;
}
.recurso-recuo{
  margin-left:18px!important;
  padding-left:14px!important;
  border-left:2px dashed #84adff!important;
}
.sub-recurso{
  font-family:var(--font-main)!important;
  display:inline-block!important;
  margin-bottom:4px!important;
  font-size:10.5px!important;
  font-weight:900!important;
  color:#175cd3!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
}
.monitor-actions{
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
}
.msg{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.kpi span,.stat span{
  font-family:var(--font-main)!important;
  font-size:12px!important;
  font-weight:800!important;
}
.kpi strong,.stat strong{
  font-family:var(--font-main)!important;
  font-weight:900!important;
}
.doc-preview{
  font-family:var(--font-main)!important;
  font-size:14px!important;
  line-height:1.48!important;
}
pre,code{
  font-family:var(--font-main)!important;
}

/* Dashboard também padronizado para não destoar dos módulos internos */
#dashboard .card h2{
  font-size:17px!important;
}
#dashboard table,#dashboard .dash-table{
  font-family:var(--font-main)!important;
  font-size:12px!important;
}
#dashboard th,#dashboard td{
  font-family:var(--font-main)!important;
}
#dashboard a{
  font-family:var(--font-main)!important;
  font-size:12px!important;
  font-weight:850!important;
}

/* Evita que textos longos quebrem o padrão visual */
table td,table th,.card,.stat,.kpi{
  overflow-wrap:anywhere!important;
}

/* V3.0.5 — correção final das listas, fonte uniforme e hover sem sublinhado */
table, table th, table td,
.processos-hierarquia, .processos-hierarquia th, .processos-hierarquia td,
#tarefas_list table, #tarefas_list th, #tarefas_list td,
#financeiro_list table, #financeiro_list th, #financeiro_list td,
#processos_list table, #processos_list th, #processos_list td,
#recibos_list table, #recibos_list th, #recibos_list td,
#documentos_list table, #documentos_list th, #documentos_list td,
#modelos_list table, #modelos_list th, #modelos_list td,
#relatorios table, #relatorios th, #relatorios td,
#finrel_result table, #finrel_result th, #finrel_result td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
}
table th,
.processos-hierarquia th,
#finrel_result table th{
  font-size:11px!important;
  font-weight:900!important;
}
.processos-hierarquia a,
.processos-hierarquia a:hover,
.processos-hierarquia .sort-btn,
.processos-hierarquia .sort-btn:hover,
.sort-btn:hover,
table a:hover{
  text-decoration:none!important;
}
.processos-hierarquia .sort-btn:hover{
  color:var(--navy)!important;
  background:transparent!important;
}
#tarefas_list .monitor-actions button{
  white-space:nowrap!important;
}
#finrel_result .actions{
  margin-top:10px!important;
}

/* V3.0.5.1 - correção robusta da lista de tarefas */
#tarefas_list .tarefas-table th,
#tarefas_list .tarefas-table td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
}
#tarefas_list .tarefas-table th{
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
#tarefas_list .sort-btn,
#tarefas_list .sort-btn:hover{
  text-decoration:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--navy)!important;
}


/* V3.0.5.2 — padronização estética final da lista de tarefas */
#tarefas_list table,
#tarefas_list .tarefas-table,
#tarefas_list table th,
#tarefas_list table td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
}
#tarefas_list table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#tarefas_list table th{
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  color:var(--navy)!important;
  background:#f8fafc!important;
  padding:10px 10px!important;
  border-bottom:1px solid #e4e7ec!important;
}
#tarefas_list table td{
  font-size:13px!important;
  font-weight:500!important;
  padding:10px 10px!important;
  border-bottom:1px solid #eef2f6!important;
  color:#101828!important;
  vertical-align:middle!important;
}
#tarefas_list table tr:hover td{
  background:#f9fafb!important;
}
#tarefas_list th[onclick],
#processos_list th[onclick]{
  cursor:pointer!important;
}
#tarefas_list th[onclick]:hover,
#processos_list th[onclick]:hover{
  text-decoration:none!important;
  background:#f1f5f9!important;
}
#tarefas_list td small{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:650!important;
  color:#667085!important;
}
#tarefas_list .monitor-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
#tarefas_list .monitor-actions button{
  font-family:var(--font-main)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
#tarefas_list .status-pill{
  font-size:11px!important;
  font-weight:900!important;
}

/* V3.0.6 - financeiro: sequência real de parcelas */
#financeiro_list td:nth-child(6){
  font-weight:900!important;
  color:#175cd3!important;
  white-space:nowrap!important;
}

/* V3.0.7 - monitoramento e lixeira */
#monitoramento_historico .status-pill,
#dash_movimentacoes .status-pill{
  white-space:nowrap!important;
}
#lixeira .actions .danger{
  margin-left:8px;
}

/* V3.0.8 - Dashboard Inteligente */
.dash-smart{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.dash-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dash-title-row h2{margin:0}
.dash-badges{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:12px}
.dash-badge{border:1px solid #e4e7ec;border-radius:16px;padding:12px;background:#f8fafc;min-height:72px;display:flex;flex-direction:column;justify-content:center}
.dash-badge strong{font-size:24px;font-weight:900;color:var(--navy);line-height:1}
.dash-badge span{font-size:11px;font-weight:900;text-transform:uppercase;color:#667085;margin-top:7px}
.dash-badge.ok{background:#ecfdf3;border-color:#abefc6}
.dash-badge.warn{background:#fffaeb;border-color:#fedf89}
.dash-badge.danger{background:#fef3f2;border-color:#fecdca}
.dash-badge.info{background:#eff8ff;border-color:#b2ddff}
.dash-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dash-health{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dash-health div{border:1px solid #e4e7ec;border-radius:14px;padding:12px;background:#f8fafc;min-width:0}
.dash-health span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;color:#667085}
.dash-health strong{display:block;font-size:13px;font-weight:900;color:#101828;margin-top:6px;overflow-wrap:anywhere}
.dash-health small{display:block;font-size:11px;color:#667085;margin-top:4px}
#dash_inteligente .card{min-width:0}
#dash_inteligente .dash-table td,#dash_inteligente .dash-table th{font-size:12px!important}
#dash_inteligente a{text-decoration:none!important;font-weight:850}


/* V3.0.8.2 - lista de clientes ajustada e processos exibindo todos */
#clientes_list table{
  table-layout:fixed!important;
  width:100%!important;
}
#clientes_list th:nth-child(1),#clientes_list td:nth-child(1){width:18%!important}
#clientes_list th:nth-child(2),#clientes_list td:nth-child(2){width:12%!important}
#clientes_list th:nth-child(3),#clientes_list td:nth-child(3){width:17%!important}
#clientes_list th:nth-child(4),#clientes_list td:nth-child(4){width:28%!important}
#clientes_list th:nth-child(5),#clientes_list td:nth-child(5){width:8%!important}
#clientes_list th:nth-child(6),#clientes_list td:nth-child(6){width:9%!important}
#clientes_list th:nth-child(7),#clientes_list td:nth-child(7){width:8%!important}
#clientes_list td,#clientes_list th{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  vertical-align:top!important;
  line-height:1.28!important;
}
#clientes_list td:nth-child(2),
#clientes_list td:nth-child(3),
#clientes_list td:nth-child(5){
  font-size:12px!important;
}
#clientes_list .clientes-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  min-width:74px!important;
}
#clientes_list .clientes-actions button{
  width:100%!important;
  margin:0!important;
  padding:6px 7px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
#processos_list .processos-resumo{
  margin-bottom:10px!important;
}
#processos_list .processos-hierarquia td:nth-child(5){
  white-space:nowrap!important;
}


/* V3.0.8.3 - processos completos e lista de clientes padronizada */
#clientes_list{
  overflow-x:auto!important;
}
#clientes_list table{
  table-layout:fixed!important;
  min-width:1040px!important;
  width:100%!important;
}
#clientes_list th,#clientes_list td{
  font-family:var(--font-main)!important;
  vertical-align:middle!important;
  line-height:1.32!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#clientes_list th:nth-child(1),#clientes_list td:nth-child(1){width:22%!important}
#clientes_list th:nth-child(2),#clientes_list td:nth-child(2){width:12%!important}
#clientes_list th:nth-child(3),#clientes_list td:nth-child(3){width:20%!important}
#clientes_list th:nth-child(4),#clientes_list td:nth-child(4){width:28%!important}
#clientes_list th:nth-child(5),#clientes_list td:nth-child(5){width:8%!important}
#clientes_list th:nth-child(6),#clientes_list td:nth-child(6){width:10%!important}
#clientes_list .clientes-actions,
#processos_list .processos-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  align-items:center!important;
}
#clientes_list .clientes-actions button,
#processos_list .processos-actions button{
  margin:0!important;
  white-space:nowrap!important;
}
#processos_list .processos-resumo{
  margin-bottom:10px!important;
}
#processos_list .processos-completa{
  table-layout:fixed!important;
  min-width:1120px!important;
}
#processos_list{
  overflow-x:auto!important;
}
#processos_list .processos-completa th:nth-child(1),#processos_list .processos-completa td:nth-child(1){width:22%!important}
#processos_list .processos-completa th:nth-child(2),#processos_list .processos-completa td:nth-child(2){width:18%!important}
#processos_list .processos-completa th:nth-child(3),#processos_list .processos-completa td:nth-child(3){width:18%!important}
#processos_list .processos-completa th:nth-child(4),#processos_list .processos-completa td:nth-child(4){width:20%!important}
#processos_list .processos-completa th:nth-child(5),#processos_list .processos-completa td:nth-child(5){width:9%!important}
#processos_list .processos-completa th:nth-child(6),#processos_list .processos-completa td:nth-child(6){width:13%!important}
#processos_list .processos-completa td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#processos_list .processo-filho td{
  background:#f6f9ff!important;
}

/* V3.0.8.4 - lista de clientes padronizada ao mesmo padrão das demais listas */
#clientes_list{
  overflow-x:auto!important;
}
#clientes_list table{
  width:100%!important;
  min-width:980px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#clientes_list th,#clientes_list td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
#clientes_list th{
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  color:var(--navy)!important;
  background:#f8fafc!important;
}
#clientes_list td{
  font-weight:500!important;
  color:#101828!important;
}
#clientes_list th:nth-child(1),#clientes_list td:nth-child(1){width:20%!important}
#clientes_list th:nth-child(2),#clientes_list td:nth-child(2){width:13%!important}
#clientes_list th:nth-child(3),#clientes_list td:nth-child(3){width:22%!important}
#clientes_list th:nth-child(4),#clientes_list td:nth-child(4){width:30%!important}
#clientes_list th:nth-child(5),#clientes_list td:nth-child(5){width:8%!important}
#clientes_list th:nth-child(6),#clientes_list td:nth-child(6){width:7%!important}
#clientes_list td:nth-child(6){
  white-space:normal!important;
}
#clientes_list td:nth-child(6) button{
  margin:2px!important;
  white-space:nowrap!important;
}
#clientes_list tr:hover td{
  background:#f9fafb!important;
}

/* V3.0.10 - recibos e memória de cálculo profissionais */
.memoria-prof{
  border:1px solid #e4e7ec;
  border-radius:16px;
  padding:14px;
  background:#fff;
}
.memoria-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.memoria-head h3{
  margin:0;
  color:var(--navy);
  font-size:16px;
}
.memoria-head p{
  margin:4px 0 0;
  color:#667085;
  font-size:12px;
}
.memoria-prof table{
  margin-top:10px;
}

/* V3.0.11 - Central de Contratos e Honorários */
#contratos_list table{
  min-width:1180px!important;
  table-layout:fixed!important;
}
#contratos_list{
  overflow-x:auto!important;
}
#contratos_list td,#contratos_list th{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#contratos .msg.info{
  margin-bottom:12px;
}

/* V3.0.11.1 - filtros e ordenação dos contratos */
.contratos-filtros{
  margin:8px 0 4px;
}
#contratos_list th{
  white-space:nowrap!important;
}
#contratos_list td{
  vertical-align:middle!important;
}

/* V3.0.12 - padronização operacional geral */
:root{
  --font-main: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}
html,body,#app,main,aside,button,input,select,textarea,table,th,td,label,.card,.msg,.stat,.kpi,.nav{
  font-family:var(--font-main)!important;
}
table, .lista-padrao, .processos-hierarquia, .tarefas-table, .dash-table{
  font-size:13px!important;
}
th{
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
}
td{
  font-size:13px!important;
  line-height:1.32!important;
  vertical-align:middle!important;
}
small{
  font-size:11px!important;
}
.filtros-modulo{
  margin:8px 0 4px!important;
}
.lista-actions,.monitor-actions,.processos-actions,.clientes-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  align-items:center!important;
}
.lista-actions button,.monitor-actions button,.processos-actions button,.clientes-actions button{
  margin:0!important;
  white-space:nowrap!important;
}
.pf-cliente.hidden{
  display:none!important;
}
.pf-cliente{
  border-left:3px solid #175cd3;
  padding-left:8px;
}
.dash-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.dash-tarefas-grupo .card{
  min-width:0;
}


/* V3.0.12.1 - ajustes críticos do módulo Clientes */
#clientes_list{
  overflow-x:auto!important;
}
#clientes_list table.lista-padrao.clientes-padrao{
  min-width:1080px!important;
  width:100%!important;
  table-layout:fixed!important;
}
#clientes_list th,#clientes_list td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#clientes_list th:nth-child(1),#clientes_list td:nth-child(1){width:20%!important}
#clientes_list th:nth-child(2),#clientes_list td:nth-child(2){width:13%!important}
#clientes_list th:nth-child(3),#clientes_list td:nth-child(3){width:21%!important}
#clientes_list th:nth-child(4),#clientes_list td:nth-child(4){width:25%!important}
#clientes_list th:nth-child(5),#clientes_list td:nth-child(5){width:9%!important}
#clientes_list th:nth-child(6),#clientes_list td:nth-child(6){width:7%!important}
#clientes_list th:nth-child(7),#clientes_list td:nth-child(7){width:5%!important}
#clientes_tipo_documento_info{
  display:block;
  margin-top:5px;
  color:#667085;
  font-size:11px!important;
  font-weight:700;
}
.pf-cliente:not(.hidden){
  background:#f8fafc;
  border-left:3px solid #175cd3;
  padding-left:8px;
  border-radius:8px;
}

/* V3.0.12.2 - correção definitiva do módulo Clientes */
#clientes_list{
  overflow-x:auto!important;
}
#clientes_list table,
#clientes_list table.lista-padrao,
#clientes_list table.clientes-padrao{
  min-width:1120px!important;
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#clientes_list th,#clientes_list td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  line-height:1.32!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
#clientes_list th{
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  color:var(--navy)!important;
  background:#f8fafc!important;
}
#clientes_list th:nth-child(1),#clientes_list td:nth-child(1){width:18%!important}
#clientes_list th:nth-child(2),#clientes_list td:nth-child(2){width:12%!important}
#clientes_list th:nth-child(3),#clientes_list td:nth-child(3){width:19%!important}
#clientes_list th:nth-child(4),#clientes_list td:nth-child(4){width:23%!important}
#clientes_list th:nth-child(5),#clientes_list td:nth-child(5){width:10%!important}
#clientes_list th:nth-child(6),#clientes_list td:nth-child(6){width:7%!important}
#clientes_list th:nth-child(7),#clientes_list td:nth-child(7){width:11%!important}
.clientes-actions-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:5px!important;
  align-items:center!important;
}
.clientes-actions-grid button{
  width:100%!important;
  margin:0!important;
  white-space:nowrap!important;
  padding:6px 7px!important;
  text-align:center!important;
}
table tr:hover td,
.lista-padrao tr:hover td,
.processos-hierarquia tr:hover td,
.tarefas-table tr:hover td,
.dash-table tr:hover td{
  background:#f9fafb!important;
}
#clientes_tipo_documento_info{
  display:block!important;
  margin-top:5px!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:700!important;
}
.pf-cliente.hidden{
  display:none!important;
}
.pf-cliente:not(.hidden){
  display:block!important;
  background:#f8fafc!important;
  border-left:3px solid #175cd3!important;
  padding-left:8px!important;
  border-radius:8px!important;
}

/* V3.0.12.3 - contato em duas linhas e dashboard sem repetições */
.contato-duas-linhas{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  line-height:1.28!important;
}
.contato-duas-linhas span{
  display:block!important;
  overflow-wrap:anywhere!important;
}
.dashboard-legado-oculto{
  display:none!important;
}
.dash-alertas-prazos{
  margin-top:0!important;
}
.dash-audiencias-grupo .card{
  min-width:0;
}

/* V3.0.12.4 - dashboard sem cards duplicados */
.dashboard-alertas-bloco{
  display:none!important;
}
.dash-sem-mov-card{
  margin-top:14px!important;
}
.dash-sem-mov-card .pager{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
  margin-top:8px;
}

/* V3.0.12.5 - dossiês e impressões profissionais */
@media print{
  .agenda-grid,.prod-grid,.health-grid{
    break-inside:auto!important;
  }
}

/* V3.0.12.6 - preservação de quebras de linha em dossiês e impressões */
.preserve-lines{
  line-height:1.45!important;
}
.kv .preserve-lines{
  display:inline!important;
}
.doc-preview{
  white-space:pre-wrap!important;
}

/* V3.0.13 - Módulo Atendimento */
#atendimentos_list{
  overflow-x:auto!important;
}
#atendimentos_list table{
  min-width:1280px!important;
  table-layout:fixed!important;
}
#atendimentos_list th,#atendimentos_list td{
  font-size:13px!important;
  vertical-align:top!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.atendimentos-padrao td:nth-child(6){
  max-width:260px;
}

/* V3.0.13.1 - menu alfabético e documentos vinculados ao atendimento */
.atendimento-arquivos-vinculados{
  margin-top:14px;
  border-top:1px solid #e4e7ec;
  padding-top:10px;
}
.atendimento-arquivos-table{
  min-width:900px!important;
}

/* V3.0.13.2 - menu com logo e dashboard no topo */
.brand-menu-top{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  text-align:center!important;
  padding:18px 10px 16px!important;
  margin-bottom:10px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
.brand-logo-mark{
  width:48px!important;
  height:48px!important;
  border-radius:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:900!important;
  font-size:17px!important;
  letter-spacing:.04em!important;
  background:linear-gradient(135deg,#ffffff,#d9e6ff)!important;
  color:#0b1f3a!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22)!important;
  margin-bottom:6px!important;
}
.brand-menu-top strong{
  display:block!important;
  color:#fff!important;
  font-size:15px!important;
  letter-spacing:.08em!important;
  line-height:1.1!important;
}
.brand-menu-top span{
  display:block!important;
  color:rgba(255,255,255,.72)!important;
  font-size:11px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
aside .menu-title{
  margin-top:14px!important;
}


/* V3.0.13.3 - logo oficial no menu */

.brand-menu-top{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  text-align:center!important;
  padding:14px 10px 16px!important;
  margin-bottom:10px!important;
  border-bottom:1px solid var(--line)!important;
}
.brand-logo-image{
  display:block!important;
  width:84px!important;
  max-width:84px!important;
  height:auto!important;
  object-fit:contain!important;
  margin:0 auto 8px!important;
}
.brand-menu-top strong{
  display:block!important;
  color:#111111!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  line-height:1.1!important;
}
.brand-menu-top span{
  display:block!important;
  color:#222222!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.15!important;
}
.brand-logo-mark{display:none!important;}
.login-logo img{
  width:170px!important;
  max-width:72%!important;
  height:auto!important;
  object-fit:contain!important;
}


/* V3.0.13.4 - correção rigorosa de dimensionamento da logo no mobile */

#login{
  min-height:100vh!important;
  background:#ffffff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
}
.login-card{
  width:min(440px,95vw)!important;
  max-width:440px!important;
  padding:28px 24px!important;
  overflow:hidden!important;
}
.login-logo{
  height:auto!important;
  min-height:110px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-bottom:8px!important;
  overflow:hidden!important;
}
.login-logo img,
#login .login-logo img{
  display:block!important;
  width:min(180px,52vw)!important;
  max-width:180px!important;
  height:auto!important;
  max-height:120px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
.brand-logo-image{
  width:84px!important;
  max-width:84px!important;
  height:auto!important;
  max-height:84px!important;
  object-fit:contain!important;
}



/* V3.0.14 - revisão visual PC e mobile */
:root{
  --app-max: 1640px;
  --aside-w: 286px;
  --radius-lg: 22px;
  --radius-md: 16px;
}
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
.layout{
  grid-template-columns:var(--aside-w) minmax(0,1fr)!important;
}
aside{
  padding:16px 14px!important;
  background:#ffffff!important;
  overflow-x:hidden!important;
}
main{
  width:100%!important;
  max-width:var(--app-max)!important;
  margin:0 auto!important;
  padding:22px!important;
  min-width:0!important;
}
header{
  position:sticky!important;
  top:0!important;
  z-index:40!important;
  backdrop-filter:blur(10px)!important;
  background:rgba(255,255,255,.94)!important;
  min-height:58px!important;
  gap:12px!important;
}
.header-left{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
#titulo{text-transform:capitalize!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#userInfo{font-size:12px!important;color:var(--muted)!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mobile-menu-btn{display:none!important;font-size:17px!important;line-height:1!important;padding:8px 10px!important}
.card{
  border-radius:var(--radius-lg)!important;
  padding:18px!important;
  overflow:hidden!important;
}
.card h2{line-height:1.25!important}
input,select,textarea,button{max-width:100%!important}
textarea{line-height:1.45!important}
.actions{align-items:center!important}
.actions button{min-height:36px!important}
.nav{
  border-radius:12px!important;
  padding:10px 12px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.nav.active{border-left:0!important;box-shadow:inset 4px 0 0 var(--gold)!important;background:#f3f6fa!important}
.brand-menu-top{border-bottom:1px solid #e4e7ec!important}
.brand-logo-image{width:76px!important;max-width:76px!important;max-height:76px!important}
.grid2,.grid3,.grid4{align-items:start!important;min-width:0!important}
.full{grid-column:1/-1!important}
table{max-width:100%!important}
th,td{overflow-wrap:anywhere!important;word-break:normal!important}
.lista-actions,.monitor-actions,.processos-actions,.clientes-actions,.clientes-actions-grid{align-items:center!important}
#stats,.stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
.stat{min-width:0!important}
.login-card{overflow:hidden!important}
.login-logo{overflow:hidden!important}
.login-logo img{width:min(150px,44vw)!important;max-width:150px!important;max-height:105px!important;height:auto!important;object-fit:contain!important}
.mobile-menu-overlay{display:none}

@media(min-width:901px){
  aside{height:100vh!important;position:sticky!important;top:0!important}
  main{padding:22px 24px!important}
  .card{margin-bottom:16px!important}
}





/* V3.0.15 - integração entre módulos */
.integracao-actions{
  gap:8px!important;
}
.vinculacoes-card{
  margin-top:12px!important;
  box-shadow:none!important;
  border-style:dashed!important;
}
.vinculacoes-card h3{
  margin-top:0!important;
}
.vinculacoes-card h4{
  color:var(--navy);
  margin:14px 0 6px;
  font-size:13px;
}
.atendimento-arquivos-table .danger.small{
  white-space:nowrap;
}


/* V3.0.15.1 - restauração da tela de login */
#login{
  position:relative!important;
  z-index:10!important;
}
#app.hidden{
  display:none!important;
}
#app.hidden .mobile-menu-overlay,
body:not(.app-open) .mobile-menu-overlay{
  display:none!important;
  
}
.mobile-menu-overlay{
  pointer-events:auto;
}
.login-card{
  position:relative!important;
  z-index:11!important;
}
.login-card .actions .primary{
  width:100%!important;
}

/* V3.0.15.2 - permissões frontend alinhadas aos módulos integrados */


/* V3.0.15.3 - correção definitiva da sobreposição do login */
#login.hidden,
body.app-open #login,
body.app-open section#login{
  display:none!important;
  visibility:visible!important;
  opacity:1!important;
  
  height:0!important;
  min-height:0!important;
  overflow:hidden!important;
  position:absolute!important;
  inset:auto!important;
}

#app:not(.hidden),
body.app-open #app{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}

body.app-open{
  overflow:auto!important;
}

body.app-open .layout{
  min-height:100vh!important;
}

body:not(.app-open) #app,
body:not(.app-open) #app.layout{
  display:none!important;
}

body:not(.app-open) #login{
  display:flex!important;
}

/* evita que o login empurre o app ou fique sobreposto após autenticação */
body.app-open .login-card,
body.app-open .login-logo{
  display:none!important;
}


/* V3.0.15.4 - restauração dos cliques do menu */
aside .nav{
  pointer-events:auto!important;
  position:relative!important;
  z-index:3!important;
}
body.app-open aside{
  pointer-events:auto!important;
}
body:not(.mobile-nav-open) .mobile-menu-overlay{
  display:none!important;
  
}
body.mobile-nav-open .mobile-menu-overlay{
  display:block!important;
  pointer-events:auto!important;
}


/* V3.0.15.5 - PC ONLY ESTÁVEL: camada mobile removida */
.mobile-menu-btn,
.mobile-menu-overlay{
  display:none!important;
  visibility:visible!important;
  
}

body.mobile-nav-open{
  overflow:auto!important;
}

body.app-open #app{
  display:grid!important;
  grid-template-columns:270px minmax(0,1fr)!important;
  min-height:100vh!important;
}

body.app-open aside{
  display:block!important;
  position:sticky!important;
  top:0!important;
  height:100vh!important;
  overflow-y:auto!important;
  transform:none!important;
  left:0!important;
  z-index:10!important;
  pointer-events:auto!important;
}

body.app-open main{
  min-width:0!important;
  width:100%!important;
  overflow-x:hidden!important;
}

aside .nav{
  pointer-events:auto!important;
  cursor:pointer!important;
  user-select:none!important;
}

header .header-left{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}

#login.hidden,
body.app-open #login,
body.app-open section#login{
  display:none!important;
  visibility:visible!important;
  opacity:1!important;
  
  height:0!important;
  min-height:0!important;
  overflow:hidden!important;
  position:absolute!important;
}

body:not(.app-open) #app{
  display:none!important;
}

body:not(.app-open) #login{
  display:flex!important;
}

/* Neutraliza media queries mobile que poderiam alterar estrutura principal */


/* V3.0.15.7 - correção estrutural de inicialização frontend/backend */


/* V3.0.15.8 - correção global de inicialização, formulários e listas */
input, select, textarea, button{
  font-family:var(--font-main, Arial, sans-serif)!important;
  font-size:14px!important;
}
table, .lista-padrao{
  font-size:13px!important;
}
.card h2{
  font-size:18px!important;
}
.msg{
  font-size:13px!important;
}

/* V3.0.15.9 - correção global de botões, painéis e relatórios */


/* V3.0.15.10 - cabeçalho estável no botão Atualização geral removida */
header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
#userInfo{
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  color:var(--muted,#667085)!important;
  font-size:13px!important;
  line-height:1.2!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}
#userInfo .msg,
#userInfo div{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font:inherit!important;
  text-decoration:none!important;
}
.btn-reload-header-removido{
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

/* V3.0.15.11 - certificação geral: modelosCache e variáveis globais blindadas */

/* V3.0.15.12 - variáveis completas em documentos/modelos */


/* V3.0.15.13 - cabeçalho com data/hora e atualização estável */
header{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  overflow:hidden!important;
}
header .header-left{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
#userInfo{
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  color:var(--muted,#667085)!important;
  font-size:13px!important;
  line-height:1.2!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}
.header-clock{
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  color:var(--muted,#667085)!important;
  font-size:13px!important;
  line-height:1.2!important;
  border-left:1px solid rgba(102,112,133,.25)!important;
  padding-left:10px!important;
}
.btn-reload-header-removido{
  white-space:nowrap!important;
  flex:0 0 auto!important;
  min-width:118px!important;
}
.btn-reload-header-removido:disabled{
  opacity:.65!important;
  cursor:wait!important;
}


/* V3.0.15.14 - relógio vivo no cabeçalho */
.header-clock{
  font-variant-numeric:tabular-nums!important;
  min-width:150px!important;
  justify-content:flex-start!important;
}

/* V3.0.15.15 - histórico de documentos com botão excluir */


/* V3.0.15.16 - sessão persistente e F5 sem queda para login */
body.app-open #login{
  display:none!important;
  visibility:visible!important;
  
}
body.app-open #app{
  display:grid!important;
}
body.login-open #app{
  display:none!important;
}

/* V3.0.15.17 - openApp restaurado e sessão corrigida */


/* V3.0.15.18 - correção definitiva F5/Atualizar */
body.app-open #login{
  display:none!important;
  visibility:visible!important;
  
}
body.app-open #app{
  display:grid!important;
  visibility:visible!important;
}
body.login-open #app{
  display:none!important;
}
body.login-open #login{
  display:flex!important;
}
.btn-reload-header-removido{
  pointer-events:auto!important;
  position:relative!important;
  z-index:5!important;
}
.btn-reload-header-removido:disabled{
  opacity:.65!important;
  cursor:wait!important;
}

/* V3.0.15.19 - módulo Arquivos: Atualizar trocado por Limpar */


/* V3.0.15.20 - F5 e Atualização geral removida correção real */
body.app-open #login{
  display:none!important;
  visibility:visible!important;
  
}
body.app-open #app{
  display:grid!important;
  visibility:visible!important;
}
body.login-open #app{
  display:none!important;
}
body.login-open #login{
  display:flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.btn-reload-header-removido{
  pointer-events:auto!important;
  position:relative!important;
  z-index:999!important;
}
.btn-reload-header-removido:disabled{
  opacity:.65!important;
  cursor:wait!important;
}


/* V3.0.15.21 - sessão por cookie + localStorage e atualizar robusto */
body.app-open #login{
  display:none!important;
  visibility:visible!important;
  
}
body.app-open #app{
  display:grid!important;
  visibility:visible!important;
}
body.login-open #app{
  display:none!important;
}
body.login-open #login{
  display:flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.btn-reload-header-removido{
  pointer-events:auto!important;
  position:relative!important;
  z-index:9999!important;
}


/* V3.0.15.22 - camada emergencial de sessão */
body.app-open #login{
  display:none!important;
  visibility:visible!important;
  
}
body.app-open #app{
  display:grid!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.login-open #app{
  display:none!important;
}
.btn-reload-header-removido{
  pointer-events:auto!important;
  position:relative!important;
  z-index:99999!important;
}


/* V3.0.15.23 - Atualização geral removida com reload real e sessão preservada */
.btn-reload-header-removido{
  pointer-events:auto!important;
  position:relative!important;
  z-index:99999!important;
}
.btn-reload-header-removido:disabled{
  opacity:.7!important;
  cursor:wait!important;
}

/* V3.0.15.24 - relatório financeiro com valores monetários arredondados e formatados */


/* V3.0.15.25 - permissões sem TDZ */
.nav.hidden,
[data-require-write].hidden{
  display:none!important;
}


/* V3.0.15.26 - estabilidade PC-only sem mobile */
html.preauth #login{display:none!important;visibility:visible!important;pointer-events:none!important}
html.preauth #app{display:grid!important;visibility:visible!important}
html.prelogin #app{display:none!important}
body.app-open #login{display:none!important;visibility:visible!important;pointer-events:none!important}
body.app-open #app{display:grid!important;visibility:visible!important;pointer-events:auto!important}
body.login-open #app{display:none!important}
[class*="mobile"], [id*="mobile"], [class*="Mobile"], [id*="Mobile"]{display:none!important;visibility:visible!important;pointer-events:none!important}
#app{grid-template-columns:260px 1fr!important}
.btn-reload-header-removido{pointer-events:auto!important;position:relative!important;z-index:99999!important}
.nav.hidden,[data-require-write].hidden{display:none!important}


/* V3.0.15.27 - login inválido nunca abre sistema */
body.login-open #app,
html.prelogin #app{
  display:none!important;
}
body.login-open #login,
html.prelogin #login{
  display:flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.app-open #login,
html.preauth #login{
  display:none!important;
  visibility:visible!important;
  
}


/* V3.0.15.28 - boot limpo PC, login seguro */
html.preauth #login{display:none!important;visibility:visible!important;pointer-events:none!important}
html.preauth #app{display:grid!important;visibility:visible!important;pointer-events:auto!important}
html.prelogin #app{display:none!important;visibility:hidden!important}
html.prelogin #login{display:flex!important;visibility:visible!important;pointer-events:auto!important}
body.app-open #login{display:none!important;visibility:visible!important;pointer-events:none!important}
body.app-open #app{display:grid!important;visibility:visible!important;pointer-events:auto!important}
body.login-open #app{display:none!important;visibility:hidden!important}
body.login-open #login{display:flex!important;visibility:visible!important;pointer-events:auto!important}
[class*="mobile"],[id*="mobile"],[class*="Mobile"],[id*="Mobile"]{display:none!important;visibility:visible!important;pointer-events:none!important}
#app{grid-template-columns:260px 1fr!important}
.btn-reload-header-removido,#btnLoginSeguro{pointer-events:auto!important;position:relative!important;z-index:99999!important}
.nav.hidden,[data-require-write].hidden{display:none!important}


/* V3.0.15.29 - boot limpo sessão nova */
html.preauth #login{display:none!important;visibility:visible!important;pointer-events:none!important}
html.preauth #app{display:grid!important;visibility:visible!important;pointer-events:auto!important}
html.prelogin #app{display:none!important;visibility:hidden!important}
html.prelogin #login{display:flex!important;visibility:visible!important;pointer-events:auto!important}
body.app-open #login{display:none!important;visibility:visible!important;pointer-events:none!important}
body.app-open #app{display:grid!important;visibility:visible!important;pointer-events:auto!important}
body.login-open #app{display:none!important;visibility:hidden!important}
body.login-open #login{display:flex!important;visibility:visible!important;pointer-events:auto!important}
[class*="mobile"],[id*="mobile"],[class*="Mobile"],[id*="Mobile"]{display:none!important;visibility:visible!important;pointer-events:none!important}
#app{grid-template-columns:260px 1fr!important}
.btn-reload-header-removido,#btnLoginSeguro{pointer-events:auto!important;position:relative!important;z-index:99999!important}
.nav.hidden,[data-require-write].hidden{display:none!important}


/* V3.0.15.30 - menu lateral corrigido */
.nav,[data-sec],aside,.sidebar,#sidebar{
  pointer-events:auto!important;
}
.nav{
  cursor:pointer!important;
  position:relative!important;
  z-index:20!important;
}
main,#conteudo,.content{
  pointer-events:auto!important;
}


/* V3.0.15.31 - Indicadores do escritório paginados */
.dashboard-pro{
  overflow:hidden!important;
}
.dashboard-pro .kpi-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(160px,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
.dashboard-pro .kpi{
  min-width:0!important;
  overflow:hidden!important;
}
.chart-grid-indicadores{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(320px,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.chart-card-paginado{
  min-width:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.chart-card-paginado .chart-title{
  font-weight:800!important;
  white-space:normal!important;
  word-break:break-word!important;
}
.chart-list{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}
.bar-row{
  display:grid!important;
  grid-template-columns:minmax(120px,1.2fr) minmax(120px,2fr) minmax(76px,.7fr)!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
}
.bar-label{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bar-track{
  min-width:0!important;
  overflow:hidden!important;
}
.bar-value{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
}
.chart-pager{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:6px!important;
  font-size:12px!important;
}
.chart-pager.muted{
  color:#64748b!important;
}
.chart-pager button{
  padding:5px 9px!important;
}
@media (max-width:1100px){
  .chart-grid-indicadores{grid-template-columns:1fr!important}
  .dashboard-pro .kpi-row{grid-template-columns:repeat(2,minmax(160px,1fr))!important}
}


/* V3.0.15.32 - Indicadores do escritório em gráficos reais */
#graficos_dashboard{
  margin-top:16px!important;
}
#graficos_dashboard .dashboard-graficos-pro{
  padding:18px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.indicadores-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:14px!important;
}
.indicadores-head h2{
  margin:0!important;
  font-size:19px!important;
  line-height:1.2!important;
}
.indicadores-head span{
  color:#64748b!important;
  font-size:12px!important;
  text-align:right!important;
}
#graficos_dashboard .kpi-row-grafico{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin-bottom:16px!important;
}
#graficos_dashboard .kpi-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:74px!important;
  padding:14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  min-width:0!important;
}
#graficos_dashboard .kpi-card span{
  color:#475569!important;
  font-size:11px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  margin-bottom:6px!important;
}
#graficos_dashboard .kpi-card strong{
  color:#061a33!important;
  font-size:21px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#graficos_dashboard .chart-grid-grafico{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(360px,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
#graficos_dashboard .chart-card-graph{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-width:0!important;
  min-height:250px!important;
  padding:15px!important;
  border:1px solid #e2e8f0!important;
  border-radius:16px!important;
  background:#ffffff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
  overflow:hidden!important;
}
#graficos_dashboard .chart-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:28px!important;
}
#graficos_dashboard .chart-head h3{
  margin:0!important;
  font-size:14px!important;
  line-height:1.25!important;
  color:#061a33!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
#graficos_dashboard .graph-body{
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important;
  flex:1!important;
}
#graficos_dashboard .graph-row{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:0!important;
}
#graficos_dashboard .graph-row-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
}
#graficos_dashboard .graph-label{
  display:block!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:700!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  min-width:0!important;
}
#graficos_dashboard .graph-value{
  color:#061a33!important;
  font-size:12px!important;
  font-weight:900!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
#graficos_dashboard .graph-track{
  height:12px!important;
  width:100%!important;
  background:#eef2f7!important;
  border-radius:999px!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08)!important;
}
#graficos_dashboard .graph-fill{
  height:100%!important;
  border-radius:999px!important;
  min-width:8px!important;
  background:linear-gradient(90deg,#0b2b52,#1d63a8)!important;
}
#graficos_dashboard .graph-fill-2{background:linear-gradient(90deg,#155e75,#0891b2)!important}
#graficos_dashboard .graph-fill-3{background:linear-gradient(90deg,#166534,#22c55e)!important}
#graficos_dashboard .graph-fill-4{background:linear-gradient(90deg,#92400e,#f59e0b)!important}
#graficos_dashboard .graph-fill-5{background:linear-gradient(90deg,#581c87,#a855f7)!important}
#graficos_dashboard .graph-row.negative .graph-fill{
  background:linear-gradient(90deg,#7f1d1d,#ef4444)!important;
}
#graficos_dashboard .graph-pager{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  padding-top:8px!important;
  border-top:1px solid #edf2f7!important;
  color:#64748b!important;
  font-size:12px!important;
}
#graficos_dashboard .graph-pager button{
  padding:5px 10px!important;
  border-radius:9px!important;
}
#graficos_dashboard .graph-pager-muted{
  justify-content:flex-end!important;
}
#graficos_dashboard .chart-empty{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:150px!important;
  border:1px dashed #cbd5e1!important;
  border-radius:12px!important;
  color:#2563eb!important;
  background:#eff6ff!important;
}
@media (max-width:1200px){
  #graficos_dashboard .chart-grid-grafico{
    grid-template-columns:1fr!important;
  }
  #graficos_dashboard .kpi-row-grafico{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* V3.0.15.33 - Indicadores do escritório: gráficos finais, sem paginação */
#graficos_dashboard{
  width:100%!important;
  margin-top:16px!important;
}
#graficos_dashboard .bh-office-indicators{
  width:100%!important;
  padding:18px!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  background:#ffffff!important;
  box-shadow:0 12px 26px rgba(15,23,42,.05)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#graficos_dashboard .bh-office-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
#graficos_dashboard .bh-office-head h2{
  margin:0!important;
  color:#061a33!important;
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
#graficos_dashboard .bh-office-head p{
  margin:6px 0 0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
}
#graficos_dashboard .bh-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin-bottom:16px!important;
}
#graficos_dashboard .bh-kpi-card{
  min-width:0!important;
  min-height:78px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:14px!important;
  border:1px solid #dbe5f0!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
  box-sizing:border-box!important;
}
#graficos_dashboard .bh-kpi-card span{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
  margin-bottom:7px!important;
}
#graficos_dashboard .bh-kpi-card strong{
  color:#061a33!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#graficos_dashboard .bh-chart-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(360px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
}
#graficos_dashboard .bh-chart-card{
  min-width:0!important;
  min-height:285px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:15px!important;
  border:1px solid #e2e8f0!important;
  border-radius:17px!important;
  background:#ffffff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#graficos_dashboard .bh-chart-title{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:34px!important;
  padding-bottom:8px!important;
  border-bottom:1px solid #edf2f7!important;
}
#graficos_dashboard .bh-chart-title h3{
  margin:0!important;
  color:#061a33!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:900!important;
  word-break:break-word!important;
}
#graficos_dashboard .bh-chart-title span{
  flex:0 0 auto!important;
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
#graficos_dashboard .bh-chart-body{
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important;
  flex:1!important;
  min-width:0!important;
}
#graficos_dashboard .bh-chart-row{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
}
#graficos_dashboard .bh-chart-row-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  min-width:0!important;
}
#graficos_dashboard .bh-chart-label{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:750!important;
}
#graficos_dashboard .bh-chart-number{
  flex:0 0 auto!important;
  color:#061a33!important;
  font-size:12px!important;
  font-weight:900!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
  text-align:right!important;
}
#graficos_dashboard .bh-chart-track{
  width:100%!important;
  height:12px!important;
  border-radius:999px!important;
  background:#edf2f7!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08)!important;
}
#graficos_dashboard .bh-chart-fill{
  height:100%!important;
  border-radius:999px!important;
  min-width:9px!important;
  background:linear-gradient(90deg,#0b2b52,#2563eb)!important;
}
#graficos_dashboard .bh-chart-fill.c2{background:linear-gradient(90deg,#155e75,#06b6d4)!important}
#graficos_dashboard .bh-chart-fill.c3{background:linear-gradient(90deg,#166534,#22c55e)!important}
#graficos_dashboard .bh-chart-fill.c4{background:linear-gradient(90deg,#92400e,#f59e0b)!important}
#graficos_dashboard .bh-chart-fill.c5{background:linear-gradient(90deg,#581c87,#a855f7)!important}
#graficos_dashboard .bh-chart-fill.c6{background:linear-gradient(90deg,#7f1d1d,#ef4444)!important}
#graficos_dashboard .bh-chart-meta{
  color:#94a3b8!important;
  font-size:10px!important;
  font-weight:700!important;
  text-align:right!important;
}
#graficos_dashboard .bh-chart-empty{
  flex:1!important;
  min-height:160px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#2563eb!important;
  font-weight:800!important;
  border:1px dashed #bfdbfe!important;
  border-radius:14px!important;
  background:#eff6ff!important;
}
#graficos_dashboard .graph-pager,
#graficos_dashboard .chart-pager,
#graficos_dashboard .bar-row,
#graficos_dashboard .graph-row,
#graficos_dashboard .chart-card-graph,
#graficos_dashboard .chart-card-paginado{
  display:none!important;
}
@media (max-width:1200px){
  #graficos_dashboard .bh-chart-grid{grid-template-columns:1fr!important}
  #graficos_dashboard .bh-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* V3.0.15.34 - Dashboard ajustes finais */
.dash-title-row{
  align-items:flex-start!important;
  gap:12px!important;
}
.dash-data-hora-extenso{
  color:#475569!important;
  font-size:12px!important;
  font-weight:800!important;
  padding:7px 10px!important;
  border:1px solid #dbe5f0!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums!important;
}
.dash-doc-list,
.dash-atendimento-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.dash-doc-item,
.dash-atendimento-item{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  padding:9px 10px!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#ffffff!important;
  text-decoration:none!important;
  transition:.15s ease!important;
}
.dash-doc-item:hover,
.dash-atendimento-item:hover{
  background:#f8fafc!important;
  border-color:#bfdbfe!important;
  transform:translateY(-1px)!important;
}
.dash-doc-title,
.dash-atendimento-title{
  color:#061a33!important;
  font-size:13px!important;
  font-weight:900!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dash-doc-meta,
.dash-atendimento-meta{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:700!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dash-card-footer{
  margin-top:10px!important;
  text-align:right!important;
}
.dash-card-footer a{
  color:#1d4ed8!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.dash-card-footer a:hover{
  text-decoration:underline!important;
}


/* V3.0.15.35 - Dashboard hyperlinks e logoff 60min */
.dash-doc-item,
.dash-atendimento-item{
  cursor:pointer!important;
}
.dash-doc-item:hover .dash-doc-title,
.dash-atendimento-item:hover .dash-atendimento-title{
  color:#1d4ed8!important;
}


/* V3.0.15.37 - Hyperlinks padronizados no dashboard */
.dash-link-list,
.dash-doc-list,
.dash-atendimento-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.dash-link-card,
.dash-doc-item,
.dash-atendimento-item{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  padding:9px 10px!important;
  border:1px solid #bfdbfe!important;
  border-radius:12px!important;
  background:#eff6ff!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:.15s ease!important;
}
.dash-link-card:hover,
.dash-doc-item:hover,
.dash-atendimento-item:hover{
  background:#dbeafe!important;
  border-color:#60a5fa!important;
  transform:translateY(-1px)!important;
}
.dash-link-title,
.dash-doc-title,
.dash-atendimento-title{
  color:#1d4ed8!important;
  font-size:13px!important;
  font-weight:900!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-decoration:none!important;
}
.dash-link-meta,
.dash-doc-meta,
.dash-atendimento-meta{
  color:#2563eb!important;
  font-size:11px!important;
  font-weight:700!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  text-decoration:none!important;
}
.linha-destacada-dashboard{
  outline:3px solid #2563eb!important;
  outline-offset:-2px!important;
  background:#eff6ff!important;
}


/* V3.0.15.38 - Links do dashboard no mesmo padrão de Alerta de prazos */
.dash-mini-link-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.dash-mini-link-row{
  padding:4px 0!important;
  border-bottom:1px solid #eef2f7!important;
}
.dash-mini-link-row:last-child{
  border-bottom:none!important;
}
.dash-mini-link-row a{
  color:inherit!important;
  font-size:13px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.dash-mini-link-row a:hover{
  text-decoration:underline!important;
}
.dash-mini-link-row small{
  color:#64748b!important;
  font-size:11px!important;
}
.dash-doc-item,
.dash-atendimento-item,
.dash-link-card{
  display:initial!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.dash-link-title,
.dash-link-meta,
.dash-doc-title,
.dash-doc-meta,
.dash-atendimento-title,
.dash-atendimento-meta{
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
}
.linha-destacada-dashboard{
  outline:2px solid #2563eb!important;
  outline-offset:-2px!important;
  background:#eff6ff!important;
}


/* V3.0.15.39 - Dashboard: cards padronizados e reposicionados */
.dash-doc-atendimento-grid,
.dash-prod-saude-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.dash-doc-atendimento-grid > .card,
.dash-prod-saude-grid > .card{
  min-width:0!important;
}
#dash_produtividade_mes,
#dash_saude_operacional_card{
  height:auto!important;
}
.dash-doc-card,
.dash-atendimento-card{
  padding:initial!important;
  border:initial!important;
  background:initial!important;
  box-shadow:initial!important;
}
.dash-doc-card h2,
.dash-atendimento-card h2{
  margin:initial!important;
}
@media (max-width:1100px){
  .dash-doc-atendimento-grid,
  .dash-prod-saude-grid{
    grid-template-columns:1fr!important;
  }
}


/* V3.0.15.40 - Padronização integral dos cards do dashboard */
#dashboard .card,
#dashboard .dash-smart .card,
#dashboard #dash_produtividade_mes,
#dashboard #dash_saude_operacional_card{
  background:#ffffff!important;
  border:1px solid #e2e8f0!important;
  border-radius:16px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
  padding:14px!important;
  color:#0f172a!important;
}

#dashboard .card h2,
#dashboard .dash-smart .card h2,
#dashboard #dash_produtividade_mes h2,
#dashboard #dash_saude_operacional_card h2{
  color:#0f172a!important;
  font-size:15px!important;
  font-weight:900!important;
  margin:0 0 10px 0!important;
  padding:0!important;
  letter-spacing:-.01em!important;
}

#dashboard table,
#dashboard .card table,
#dashboard .dash-smart .card table{
  width:100%!important;
  border-collapse:collapse!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0!important;
}

#dashboard .card th,
#dashboard .dash-smart .card th{
  color:#475569!important;
  background:#f8fafc!important;
  border-bottom:1px solid #e2e8f0!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
  padding:8px!important;
}

#dashboard .card td,
#dashboard .dash-smart .card td{
  color:#0f172a!important;
  border-bottom:1px solid #eef2f7!important;
  font-size:12px!important;
  padding:8px!important;
  vertical-align:top!important;
}

#dashboard .card tr:hover td,
#dashboard .dash-smart .card tr:hover td{
  background:#f8fafc!important;
}

#dashboard .card a,
#dashboard .dash-smart .card a,
#dashboard #dash_produtividade_mes a,
#dashboard #dash_saude_operacional_card a{
  color:#1d4ed8!important;
  font-weight:800!important;
  text-decoration:none!important;
  border-radius:6px!important;
  padding:1px 2px!important;
  transition:background .15s ease,color .15s ease!important;
}

#dashboard .card a:hover,
#dashboard .dash-smart .card a:hover,
#dashboard #dash_produtividade_mes a:hover,
#dashboard #dash_saude_operacional_card a:hover{
  color:#1e40af!important;
  background:#dbeafe!important;
  text-decoration:none!important;
}

#dashboard .card small,
#dashboard .dash-smart .card small{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:600!important;
}

#dashboard .dash-doc-atendimento-grid,
#dashboard .dash-prod-saude-grid,
#dashboard .dash-grid-2{
  gap:14px!important;
}

#dashboard .dash-doc-atendimento-grid > .card,
#dashboard .dash-prod-saude-grid > .card{
  min-height:100%!important;
}

/* Neutraliza estilos anteriores dos dois cards que destoavam */
#dashboard .dash-mini-link-list,
#dashboard .dash-mini-link-row,
#dashboard .dash-link-list,
#dashboard .dash-link-card,
#dashboard .dash-doc-item,
#dashboard .dash-atendimento-item{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font:inherit!important;
  text-decoration:none!important;
}

#dashboard .linha-destacada-dashboard{
  outline:2px solid #2563eb!important;
  outline-offset:-2px!important;
  background:#eff6ff!important;
}

@media (max-width:1100px){
  #dashboard .dash-doc-atendimento-grid,
  #dashboard .dash-prod-saude-grid{
    grid-template-columns:1fr!important;
  }
}


/* V3.0.15.42 - Espaçamento dos cards do dashboard e alerta de internet */
#dashboard .dash-doc-atendimento-grid,
#dashboard .dash-prod-saude-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  column-gap:22px!important;
  row-gap:22px!important;
  margin-top:18px!important;
  margin-bottom:22px!important;
  align-items:stretch!important;
}

#dashboard .dash-doc-atendimento-grid > .card,
#dashboard .dash-prod-saude-grid > .card{
  margin:0!important;
  min-width:0!important;
  height:100%!important;
}

#dashboard #dash_prod_saude_grid{
  margin-top:20px!important;
  margin-bottom:24px!important;
}

#dashboard #dash_produtividade_mes,
#dashboard #dash_saude_operacional_card{
  margin:0!important;
}

#dashboard .dash-health{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}

#dashboard .dash-health-item,
#dashboard .dash-health > div{
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  padding:10px!important;
}

#dashboard .dash-health-internet.ok{
  border-color:#bbf7d0!important;
  background:#f0fdf4!important;
}

#dashboard .dash-health-internet.ok strong{
  color:#166534!important;
}

#dashboard .dash-health-internet.warn{
  border-color:#fecaca!important;
  background:#fef2f2!important;
}

#dashboard .dash-health-internet.warn strong{
  color:#991b1b!important;
}

@media (max-width:1100px){
  #dashboard .dash-doc-atendimento-grid,
  #dashboard .dash-prod-saude-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
}


/* V3.0.15.43 - Produtividade do mês refinada */
#dashboard .dash-card-subtitle{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:600!important;
  margin:-4px 0 12px 0!important;
}

#dashboard .prod-card-refinado{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}

#dashboard .prod-resumo{
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  padding:12px!important;
}

#dashboard .prod-resumo > div:first-child{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:10px!important;
}

#dashboard .prod-resumo span{
  color:#475569!important;
  font-size:12px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
}

#dashboard .prod-resumo strong{
  color:#0f172a!important;
  font-size:28px!important;
  font-weight:950!important;
  letter-spacing:-.04em!important;
}

#dashboard .prod-resumo small{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
}

#dashboard .prod-barra{
  height:9px!important;
  border-radius:999px!important;
  background:#e2e8f0!important;
  overflow:hidden!important;
}

#dashboard .prod-barra i{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:#2563eb!important;
}

#dashboard .prod-barra.ok i{
  background:#16a34a!important;
}

#dashboard .prod-barra.warn i{
  background:#f59e0b!important;
}

#dashboard .prod-barra.neutral i{
  background:#64748b!important;
}

#dashboard .prod-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}

#dashboard .prod-item{
  border:1px solid #e2e8f0!important;
  border-radius:13px!important;
  background:#ffffff!important;
  padding:10px!important;
  min-height:92px!important;
}

#dashboard .prod-item span{
  display:block!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
  margin-bottom:5px!important;
}

#dashboard .prod-item strong{
  display:block!important;
  color:#0f172a!important;
  font-size:24px!important;
  font-weight:950!important;
  line-height:1!important;
  margin-bottom:6px!important;
}

#dashboard .prod-item small{
  display:block!important;
  color:#64748b!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.25!important;
}

#dashboard .prod-item.ok{
  border-color:#bbf7d0!important;
  background:#f0fdf4!important;
}

#dashboard .prod-item.ok strong{
  color:#166534!important;
}

#dashboard .prod-item.danger{
  border-color:#fecaca!important;
  background:#fef2f2!important;
}

#dashboard .prod-item.danger strong{
  color:#991b1b!important;
}

#dashboard .prod-item.info{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
}

#dashboard .prod-item.info strong{
  color:#1d4ed8!important;
}

#dashboard .prod-leitura{
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  padding:10px!important;
  color:#334155!important;
  font-size:12px!important;
  line-height:1.4!important;
}

#dashboard .prod-leitura strong{
  color:#0f172a!important;
  font-weight:900!important;
}

@media (max-width:760px){
  #dashboard .prod-grid{
    grid-template-columns:1fr!important;
  }
}


/* V3.0.15.44 - Editor formatado Bryan Hub - Etapa 1 */
.bh-rich-editor{
  border:1px solid #dbe3ef!important;
  border-radius:14px!important;
  background:#ffffff!important;
  overflow:hidden!important;
  box-shadow:0 8px 24px rgba(15,23,42,.05)!important;
}

.bh-rich-toolbar{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  padding:8px!important;
  background:#f8fafc!important;
  border-bottom:1px solid #e2e8f0!important;
}

.bh-rich-toolbar button,
.bh-rich-toolbar select{
  height:30px!important;
  min-width:30px!important;
  border:1px solid #cbd5e1!important;
  background:#ffffff!important;
  color:#0f172a!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:800!important;
  cursor:pointer!important;
  padding:0 8px!important;
}

.bh-rich-toolbar button:hover,
.bh-rich-toolbar select:hover{
  background:#dbeafe!important;
  border-color:#93c5fd!important;
  color:#1d4ed8!important;
}

.bh-rich-toolbar .sep{
  width:1px!important;
  height:22px!important;
  background:#cbd5e1!important;
  margin:0 2px!important;
}

.bh-rich-area{
  min-height:150px!important;
  padding:12px!important;
  color:#0f172a!important;
  font-size:14px!important;
  line-height:1.55!important;
  outline:none!important;
  background:#ffffff!important;
}

.bh-rich-area:focus{
  box-shadow:inset 0 0 0 2px #bfdbfe!important;
}

.bh-rich-area p{
  margin:0 0 8px 0!important;
}

.bh-rich-area ul,
.bh-rich-area ol{
  margin:6px 0 8px 22px!important;
}

.bh-rich-area li{
  margin:3px 0!important;
}

.bh-rich-print{
  color:#0f172a!important;
  font-size:13px!important;
  line-height:1.55!important;
  word-break:break-word!important;
}

.bh-rich-print p{
  margin:0 0 8px 0!important;
}

.bh-rich-print ul,
.bh-rich-print ol{
  margin:6px 0 8px 22px!important;
}

@media print{
  .bh-rich-toolbar{
    display:none!important;
  }
  .bh-rich-editor{
    border:0!important;
    box-shadow:none!important;
  }
  .bh-rich-area{
    padding:0!important;
    min-height:0!important;
  }
}


/* V3.0.15.45 - Editor formatado nos campos de atendimento */
#atendimentos .bh-rich-editor{
  margin-top:4px!important;
  margin-bottom:8px!important;
}

#atendimentos .bh-rich-area{
  min-height:180px!important;
}

#atendimentos [data-editor-origem="atendimentos_observacoes"] .bh-rich-area{
  min-height:110px!important;
}


/* V3.0.15.46 - Renderização formatada em dossiês e impressões */
.bh-rich-print{
  color:#101828!important;
  font-size:13px!important;
  line-height:1.55!important;
  white-space:normal!important;
  word-break:break-word!important;
}

.bh-rich-print p,
.bh-rich-print div{
  margin:0 0 7px 0!important;
}

.bh-rich-print ul,
.bh-rich-print ol{
  margin:6px 0 8px 22px!important;
  padding:0!important;
}

.bh-rich-print li{
  margin:3px 0!important;
}

.bh-rich-print strong,
.bh-rich-print b{
  font-weight:800!important;
}

.bh-rich-print em,
.bh-rich-print i{
  font-style:italic!important;
}

.bh-rich-print u{
  text-decoration:underline!important;
}

@media print{
  .bh-rich-print{
    page-break-inside:auto!important;
  }
}


/* V3.0.15.47 - HTML do editor renderizado corretamente em listas e dossiês */
.bh-rich-list{
  display:block!important;
  max-width:520px!important;
  color:#0f172a!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:normal!important;
  word-break:break-word!important;
}

.bh-rich-list p,
.bh-rich-list div{
  margin:0 0 4px 0!important;
}

.bh-rich-list ul,
.bh-rich-list ol{
  margin:4px 0 4px 18px!important;
  padding:0!important;
}

.bh-rich-list li{
  margin:2px 0!important;
}


/* V3.0.15.48 - Correção definitiva: limpar formatação e HTML seguro em atendimento */
.kv .bh-rich-print{
  display:inline-block!important;
  vertical-align:top!important;
  margin-left:4px!important;
}

#atendimentos .bh-rich-toolbar button[data-cmd="removeFormat"]{
  min-width:92px!important;
}

.bh-rich-list b,
.bh-rich-list strong{
  font-weight:800!important;
}
.bh-rich-list i,
.bh-rich-list em{
  font-style:italic!important;
}
.bh-rich-list u{
  text-decoration:underline!important;
}


/* V3.0.15.49 - Editor visível e editor em Processos */
#atendimentos .bh-rich-editor,
#processos .bh-rich-editor{
  margin-top:4px!important;
  margin-bottom:8px!important;
  display:block!important;
}

#atendimentos textarea.bh-editor-formatado,
#processos textarea.bh-editor-formatado{
  display:none!important;
}

#processos .bh-rich-area{
  min-height:150px!important;
}

#processos [data-editor-origem="processos_objeto"] .bh-rich-area{
  min-height:190px!important;
}

#processos [data-editor-origem="processos_observacoes"] .bh-rich-area{
  min-height:130px!important;
}


/* V3.0.15.50 - Editor formatado em Clientes */
#clientes .bh-rich-editor{
  margin-top:4px!important;
  margin-bottom:8px!important;
  display:block!important;
}

#clientes textarea.bh-editor-formatado{
  display:none!important;
}

#clientes .bh-rich-area{
  min-height:130px!important;
}


/* V3.0.15.51 - Editor formatado em Tarefas */
#tarefas .bh-rich-editor{
  margin-top:4px!important;
  margin-bottom:8px!important;
  display:block!important;
}

#tarefas textarea.bh-editor-formatado{
  display:none!important;
}

#tarefas .bh-rich-area{
  min-height:130px!important;
}


/* V3.0.15.52 - Editor formatado em Audiências */
#audiencias .bh-rich-editor{
  margin-top:4px!important;
  margin-bottom:8px!important;
  display:block!important;
}

#audiencias textarea.bh-editor-formatado{
  display:none!important;
}

#audiencias .bh-rich-area{
  min-height:130px!important;
}




/* V3.0.15.54 - Padronização visual leve, preservando fonte e tamanho originais */
.card{
  border-radius:12px!important;
  padding:16px!important;
  margin-bottom:16px!important;
}

.card h2{
  margin:0 0 12px 0!important;
}

label{
  margin-bottom:4px!important;
  display:block!important;
}

input, select, textarea{
  border-radius:8px!important;
  box-sizing:border-box!important;
}

textarea{
  resize:vertical!important;
}

button, .button{
  border-radius:8px!important;
  cursor:pointer;
}

.actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  margin:10px 0!important;
}

.grid2,.grid3,.grid4{
  gap:12px!important;
}

th,td{
  vertical-align:top!important;
}

.progress-wrap{
  width:100%;
  background:#eef2f6;
  border:1px solid #d0d5dd;
  border-radius:999px;
  overflow:hidden;
  height:24px;
  margin:10px 0 12px 0;
}

.progress-bar{
  height:100%;
  min-width:0;
  background:#1d4ed8;
  color:#fff;
  text-align:center;
  line-height:24px;
  transition:width .2s ease;
}


/* V3.0.15.61 - Identificação do usuário logado no topo */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.header-left{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.header-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.usuario-topo-dashboard{
  font-size:12px;
  opacity:.78;
  font-weight:600;
  white-space:nowrap;
}

.user-info-topo{
  font-size:12px;
  opacity:.86;
  font-weight:600;
  white-space:nowrap;
}


/* V3.0.15.62 - Dashboard organizado, sequencial e elegante */

#dashboard .dashboard-legado-oculto{
  display:none!important;
}

#dashboard .stats{
  margin-bottom:14px!important;
  align-items:stretch!important;
}

#dashboard .stat{
  min-height:78px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border-radius:18px!important;
}

.dash-v62{
  gap:18px!important;
}

.dash-v62-hero{
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 62%,#eef4ff 100%)!important;
  border:1px solid #dbe5f0!important;
}

.dash-v62-sub{
  margin:6px 0 0!important;
  color:#64748b!important;
  font-size:12.5px!important;
  font-weight:650!important;
  line-height:1.35!important;
}

.dash-v62-resumo-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:15px!important;
}

.dash-v62-resumo-item{
  min-height:88px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  border:1px solid #e2e8f0!important;
  border-radius:17px!important;
  background:#fff!important;
  padding:13px!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
  box-sizing:border-box!important;
}

.dash-v62-resumo-item span{
  font-size:10.5px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  color:#64748b!important;
}

.dash-v62-resumo-item strong{
  font-size:23px!important;
  line-height:1.1!important;
  color:#061a33!important;
  font-weight:950!important;
  margin-top:7px!important;
}

.dash-v62-resumo-item small{
  margin-top:5px!important;
  color:#667085!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:650!important;
}

.dash-v62-resumo-item.ok{background:#ecfdf3!important;border-color:#abefc6!important}
.dash-v62-resumo-item.warn{background:#fffaeb!important;border-color:#fedf89!important}
.dash-v62-resumo-item.danger{background:#fef3f2!important;border-color:#fecdca!important}
.dash-v62-resumo-item.info{background:#eff8ff!important;border-color:#b2ddff!important}

.dash-v62-bloco{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}

.dash-v62-section-title{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:2px 2px 0!important;
}

.dash-v62-section-title h3{
  margin:0!important;
  color:#061a33!important;
  font-size:15px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
}

.dash-v62-section-title span{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}

.dash-v62-grid-equal{
  align-items:stretch!important;
}

.dash-v62-grid-equal>.card,
.dash-v62-bloco>.card{
  margin-bottom:0!important;
  min-height:100%!important;
}

.dash-v62 .card{
  border-radius:20px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}

.dash-v62 .card h2{
  color:#061a33!important;
  font-weight:950!important;
  font-size:15.5px!important;
  margin-bottom:11px!important;
}

.dash-v62 .dash-table{
  width:100%!important;
  display:table!important;
  table-layout:auto!important;
}

.dash-v62 .dash-table th{
  font-size:10px!important;
  letter-spacing:.04em!important;
}

.dash-v62 .dash-table td{
  font-size:12px!important;
  line-height:1.35!important;
}

.dash-v62 .msg.info{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:12px!important;
}

#dash_prod_saude_grid{
  display:none!important;
}

@media (max-width:1400px){
  .dash-v62-resumo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (max-width:1050px){
  .dash-v62-resumo-grid,
  .dash-grid-3,
  .dash-grid-2{
    grid-template-columns:1fr!important;
  }
  .dash-v62-section-title{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:4px!important;
  }
}


/* V3.0.15.64 - Correção definitiva: menu não pode abrir módulos embaixo do Dashboard */
.sec.hidden,
section.sec.hidden,
#dashboard.sec.hidden,
#agenda.sec.hidden,
#arquivos.sec.hidden,
#atendimentos.sec.hidden,
#audiencias.sec.hidden,
#calculos.sec.hidden,
#clientes.sec.hidden,
#contratos.sec.hidden,
#documentos.sec.hidden,
#financeiro.sec.hidden,
#pesquisa.sec.hidden,
#processos.sec.hidden,
#produtividade.sec.hidden,
#recibos.sec.hidden,
#relatorios.sec.hidden,
#tarefas.sec.hidden,
#auditoria.sec.hidden,
#backup.sec.hidden,
#lixeira.sec.hidden,
#logs.sec.hidden,
#saude.sec.hidden,
#usuarios.sec.hidden,
#senha.sec.hidden{
  display:none!important;
  visibility:visible!important;
  
}

section.sec:not(.hidden){
  display:block!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

#app.layout.hidden{
  display:none!important;
}

#app.layout:not(.hidden){
  display:grid!important;
}

.permissions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:10px}.permission-check{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border,#e5e7eb);border-radius:10px;background:rgba(255,255,255,.7)}.permission-check input{width:auto}.card.subtle{background:rgba(248,250,252,.75)}


/* V3.0.15.78 - Permissões por módulo em ordem alfabética e permissões por ação */
.perm-matrix{display:grid;gap:6px;margin-top:8px}
.perm-matrix-header,.perm-matrix-row{display:grid;grid-template-columns:minmax(180px,1.2fr) repeat(6,minmax(72px,.6fr));gap:6px;align-items:center;padding:8px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(255,255,255,.04)}
.perm-matrix-header{font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:rgba(15,23,42,.08)}
.permission-module,.permission-access,.permission-action{display:flex;gap:6px;align-items:center;margin:0;font-size:13px}
.permission-module{font-weight:600}
.permission-disabled{opacity:.78}
.permission-action input:disabled,.permission-access input:disabled{cursor:not-allowed}
@media(max-width:900px){.perm-matrix-header{display:none}.perm-matrix-row{grid-template-columns:1fr 1fr}.permission-module{grid-column:1/-1}}


/* V3.0.15.82 — Refinamento visual e experiência do usuário
   Alterações conservadoras: somente acabamento, legibilidade, responsividade e feedback visual. */
:root{
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:22px;
  --focus-ring:0 0 0 4px rgba(20,57,103,.14);
  --soft-blue:#eef4ff;
  --soft-gold:#fff8eb;
  --soft-gray:#f8fafc;
}
body{
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}
main{
  max-width:1680px!important;
  width:100%!important;
  margin:0 auto!important;
}
header{
  position:sticky!important;
  top:10px!important;
  z-index:20!important;
  backdrop-filter:saturate(1.05) blur(8px)!important;
}
.card,.stat,.agenda-dia,.step{
  transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease!important;
}
.card:hover,.stat:hover{
  border-color:#d0d5dd!important;
  box-shadow:0 16px 36px rgba(16,24,40,.10)!important;
}
.card h2,.card h3{
  letter-spacing:-.01em!important;
}
.actions{
  align-items:center!important;
}
button,.primary,.secondary,.danger{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  user-select:none!important;
  transition:transform .12s ease,box-shadow .12s ease,background .12s ease,border-color .12s ease!important;
}
button:hover:not(:disabled){
  transform:translateY(-1px)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.08)!important;
}
button:active:not(:disabled){
  transform:translateY(0)!important;
  box-shadow:none!important;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled{
  opacity:.62!important;
  cursor:not-allowed!important;
}
.primary{box-shadow:0 8px 18px rgba(20,57,103,.18)!important}
.secondary:hover:not(:disabled){background:#f8fafc!important;border-color:#cbd5e1!important}
.danger:hover:not(:disabled){background:#fee4e2!important;border-color:#fda29b!important}
input,select,textarea{
  transition:border-color .14s ease,box-shadow .14s ease,background .14s ease!important;
}
input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){
  border-color:#cbd5e1!important;
}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{
  outline:none!important;
  box-shadow:var(--focus-ring)!important;
}
input:required:invalid:not(:placeholder-shown),
textarea:required:invalid:not(:placeholder-shown),
select:required:invalid{
  border-color:#fda29b!important;
  background:#fffbfa!important;
}
.msg{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  line-height:1.35!important;
  font-weight:750!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
}
.msg.ok::before{content:'✓';font-weight:950;color:var(--green)}
.msg.err::before{content:'!';font-weight:950;color:var(--red)}
.msg.info::before{content:'i';font-weight:950;color:#175cd3}
.msg-host:empty{display:none!important}
.table-wrap{
  width:100%!important;
  overflow:auto!important;
  border-radius:16px!important;
  margin-top:8px!important;
}
.table-wrap>table{margin:0!important}
table tr:hover td{background:#fbfdff!important}
th{position:relative!important}
td .actions,td .monitor-actions{margin-top:0!important}
.nav{
  border:1px solid transparent!important;
  min-height:38px!important;
}
.nav:hover{border-color:#e5e7eb!important;color:#0b1f3a!important}
.nav.active{
  background:linear-gradient(90deg,#fff8eb,#f8fafc)!important;
  border-color:#ead7ad!important;
}
.status-pill{
  border-radius:999px!important;
  padding:5px 8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:22px!important;
}
.status-pill.ok{background:#dcfce7!important;color:#166534!important;border:1px solid #bbf7d0!important}
.status-pill.warn{background:#fffaeb!important;color:#92400e!important;border:1px solid #fde68a!important}
.status-pill.danger{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fecaca!important}
.status-pill.dark{background:#111827!important;color:#ffffff!important;border:1px solid #111827!important}
.status-pill:not(.ok):not(.warn):not(.danger):not(.dark){background:#f2f4f7!important;color:#344054!important;border:1px solid #d0d5dd!important}
.grid2,.grid3,.grid4,.stats{
  align-items:stretch!important;
}
.grid2>.card,.grid3>.card,.grid4>.card,.stats>.stat{
  height:100%!important;
}
.permissions-grid,.perm-matrix{
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:18px!important;
  padding:12px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.permission-check,.perm-matrix-row{
  background:#fff!important;
}
.permission-check:hover,.perm-matrix-row:hover{
  border-color:#cbd5e1!important;
  background:#f8fafc!important;
}
.perm-matrix-header{
  position:sticky!important;
  top:74px!important;
  z-index:8!important;
  background:#eef4ff!important;
  color:#0b1f3a!important;
}
#backup .actions button,#saude .actions button{
  min-width:132px!important;
}
#usuarios .perm-matrix input[type="checkbox"],
#usuarios .permissions-grid input[type="checkbox"]{
  width:17px!important;
  height:17px!important;
  accent-color:#143967!important;
}
@media(max-width:1180px){
  .layout{grid-template-columns:250px 1fr!important}
  aside{padding:14px!important}
  main{padding:16px!important}
  .grid4,.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:860px){
  .layout{display:block!important}
  aside{position:relative!important;width:100%!important;height:auto!important;max-height:none!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  main{padding:12px!important}
  header{position:relative!important;top:auto!important;flex-direction:column!important;align-items:flex-start!important}
  .grid2,.grid3,.grid4,.stats{grid-template-columns:1fr!important}
  .actions{gap:6px!important}
  .actions button{width:100%!important}
  button.small,.small{min-height:34px!important}
  .perm-matrix-row{grid-template-columns:1fr!important}
}
@media print{
  aside,header,.actions,button{display:none!important}
  main{padding:0!important;max-width:none!important}
  .card{box-shadow:none!important;border:1px solid #ddd!important;break-inside:avoid!important}
  body{background:#fff!important}
}

/* V3.0.15.81 — paginação do histórico de backups */
.pagination-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border:1px solid var(--border,#e5e7eb);border-radius:12px;background:rgba(255,255,255,.7);font-size:.92rem}
.pagination-row .actions.compact{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pagination-row button[disabled]{opacity:.55;cursor:not-allowed}

/* V3.0.15.82 — paginação da auditoria */

.manual-list{margin:10px 0 0 18px;line-height:1.65}.manual-list li{margin:4px 0}.badge.danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.badge.warn{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.badge.ok{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}

/* V3.0.15.88 */
.dash-backup-aviso{margin:12px 0;padding:12px 14px;border-radius:12px}
.manual-list li{margin:6px 0}
#sobre_conteudo .summary-card strong{font-size:14px;line-height:1.35}


/* V3.0.15.88.7 — Padronização final de espaçamentos, fontes e tamanhos
   Escopo: camada visual. Não altera regras de negócio, permissões, rotas ou banco. */
:root{
  --font-main: Inter, "Segoe UI", Arial, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --radius-control: 12px;
  --radius-card: 20px;
}
html{font-size:14px!important}
body{
  font-family:var(--font-main)!important;
  font-size:var(--font-size-md)!important;
  line-height:1.45!important;
  letter-spacing:0!important;
}
body,button,input,select,textarea,table,th,td,label,a,.nav,.card,.stat,.msg,.badge,.status-pill{
  font-family:var(--font-main)!important;
}
h1,h2,h3,h4{
  color:var(--navy)!important;
  line-height:1.22!important;
  letter-spacing:-.012em!important;
}
h1{font-size:24px!important;margin:0 0 var(--space-4)!important}
h2{font-size:19px!important;margin:0 0 var(--space-4)!important;font-weight:850!important}
h3{font-size:16px!important;margin:var(--space-4) 0 var(--space-2)!important;font-weight:850!important}
h4{font-size:14px!important;margin:var(--space-3) 0 var(--space-2)!important;font-weight:850!important}
main{padding:var(--space-6)!important}
header{padding:var(--space-4) var(--space-5)!important;margin-bottom:var(--space-5)!important;border-radius:var(--radius-card)!important}
aside{padding:var(--space-5)!important}
.brand{padding:var(--space-3)!important;margin-bottom:var(--space-4)!important;border-radius:20px!important}
.menu-title{margin:var(--space-5) 0 var(--space-2) var(--space-1)!important;font-size:10px!important;letter-spacing:.10em!important}
.nav{padding:10px 12px!important;margin:4px 0!important;border-radius:12px!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important}
.card,.stat,.step{
  border-radius:var(--radius-card)!important;
  padding:var(--space-5)!important;
  margin-bottom:var(--space-5)!important;
}
.grid2,.grid3,.grid4,.stats{gap:var(--space-4)!important}
.actions,.monitor-actions{gap:var(--space-2)!important;margin-top:var(--space-4)!important}
button,.primary,.secondary,.danger{
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:var(--radius-control)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.15!important;
  white-space:normal!important;
}
button.small,.small{
  min-height:32px!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
label{
  margin:var(--space-3) 0 6px!important;
  font-size:11px!important;
  font-weight:900!important;
  color:#475467!important;
  letter-spacing:.045em!important;
}
input,select,textarea{
  min-height:40px!important;
  padding:10px 12px!important;
  border-radius:var(--radius-control)!important;
  font-size:14px!important;
  line-height:1.35!important;
}
textarea{min-height:96px!important}
.msg{
  padding:11px 13px!important;
  border-radius:14px!important;
  margin-top:var(--space-3)!important;
  font-size:13px!important;
}
table{
  font-size:13px!important;
  line-height:1.35!important;
  border-radius:16px!important;
}
th,td{padding:10px 12px!important}
th{font-size:11px!important;font-weight:900!important;letter-spacing:.035em!important}
td{font-size:13px!important;vertical-align:middle!important}
.pager,.pagination-row{margin-top:var(--space-3)!important;gap:var(--space-2)!important}
.login-card{padding:32px!important;border-radius:26px!important}
.login-logo{height:160px!important}
.login-logo img{max-height:155px!important}
.perm-matrix{gap:8px!important;padding:14px!important}
.perm-matrix-header,.perm-matrix-row{gap:8px!important;padding:10px!important;border-radius:14px!important}
.permission-module,.permission-access,.permission-action{font-size:13px!important;line-height:1.3!important}
.permissions-grid{gap:10px!important;padding:14px!important}
.permission-check{padding:10px 12px!important;border-radius:12px!important}
#dashboard .card{padding:var(--space-4)!important}
#dashboard .card h2{font-size:17px!important;margin-bottom:var(--space-3)!important}
#dashboard .dash-table th,#dashboard .dash-table td,#dashboard .card table th,#dashboard .card table td{padding:8px 10px!important}
#backup .actions button,#saude .actions button{min-width:138px!important}
@media(max-width:1180px){
  main{padding:var(--space-5)!important}
  aside{padding:var(--space-4)!important}
  .card,.stat,.step{padding:var(--space-4)!important}
}
@media(max-width:860px){
  main{padding:var(--space-3)!important}
  header{padding:var(--space-3)!important;margin-bottom:var(--space-3)!important}
  .card,.stat,.step{padding:var(--space-3)!important;margin-bottom:var(--space-3)!important}
  button,.primary,.secondary,.danger{width:100%;justify-content:center!important}
  .monitor-actions button,.pager button,.pagination-row button{width:auto!important}
  table{font-size:12px!important}
  th,td{padding:8px!important}
}

/* V3.0.15.88.10 — Padronização final */
/* V3.0.15.88.10 - ajustes específicos de layout solicitados */
.usuarios-permissoes-card{margin-top:18px;margin-bottom:18px}
.dash-pagination-row{margin-top:10px}
#monitoramento.page{margin-top:24px;padding-top:8px}
#monitoramento.page .card:first-child{border-top:3px solid var(--accent,#1f4f82)}


/* V3.0.15.88.13 - Dashboard: padronização visual definitiva dos cards de tarefas */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  column-gap:22px!important;
  row-gap:22px!important;
  align-items:stretch!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefa-card{
  background:#ffffff!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
  padding:var(--space-4,16px)!important;
  margin:0!important;
  min-width:0!important;
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}

#dashboard .dash-tarefas-grupo > .card h2,
#dashboard .dash-tarefa-card h2{
  color:#061a33!important;
  font-size:17px!important;
  font-weight:950!important;
  line-height:1.25!important;
  margin:0 0 var(--space-3,12px) 0!important;
  padding:0!important;
}

#dashboard .dash-tarefas-grupo .dash-table{
  display:table!important;
  width:100%!important;
  table-layout:fixed!important;
  border:1px solid #e2e8f0!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#ffffff!important;
  margin:0!important;
}

#dashboard .dash-tarefas-grupo .dash-table th,
#dashboard .dash-tarefas-grupo .dash-table td{
  padding:8px 10px!important;
  line-height:1.35!important;
  vertical-align:top!important;
}

#dashboard .dash-tarefas-grupo .dash-table th:nth-child(1),
#dashboard .dash-tarefas-grupo .dash-table td:nth-child(1){width:52%!important;}
#dashboard .dash-tarefas-grupo .dash-table th:nth-child(2),
#dashboard .dash-tarefas-grupo .dash-table td:nth-child(2){width:22%!important;}
#dashboard .dash-tarefas-grupo .dash-table th:nth-child(3),
#dashboard .dash-tarefas-grupo .dash-table td:nth-child(3){width:26%!important;}

#dashboard .dash-tarefas-grupo .dash-table a,
#dashboard .dash-tarefa-card a{
  display:inline!important;
  padding:0!important;
  line-height:1.3!important;
}

#dashboard .dash-tarefas-grupo .dash-table small,
#dashboard .dash-tarefa-card small{
  display:block!important;
  margin-top:3px!important;
  line-height:1.25!important;
}

#dashboard .dash-tarefa-card .msg.info{
  margin:0!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:12px!important;
}

#dashboard .dash-tarefa-card .dash-pagination-row{
  margin-top:auto!important;
  padding-top:12px!important;
  border-top:1px solid #eef2f7!important;
}

#dashboard .dash-tarefa-card .dash-pagination-row .actions,
#dashboard .dash-tarefa-card .dash-pagination-row .actions.compact{
  margin:0!important;
  width:100%!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}

#dashboard .dash-tarefa-card .dash-pagination-row span{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

@media (max-width:1050px){
  #dashboard .dash-tarefas-grupo{
    grid-template-columns:1fr!important;
  }
}


/* V3.0.15.88.14 - Dashboard: remove borda extra da paginação dos cards de tarefas */
#dashboard .dash-tarefa-card .pagination-row.dash-pagination-row,
#dashboard .dash-tarefa-card .dash-pagination-row{
  border:0!important;
  border-top:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:12px 0 0 0!important;
  margin-top:auto!important;
}
#dashboard .dash-tarefa-card .pagination-row.dash-pagination-row .actions,
#dashboard .dash-tarefa-card .dash-pagination-row .actions{
  margin:0!important;
}


/* V3.0.15.88.16 - Dashboard: manter tamanho original dos cards de tarefas e apenas padronizar tabela/paginação */
#dashboard .dash-tarefas-grupo{
  align-items:stretch!important;
}
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefa-card{
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
#dashboard .dash-tarefa-card .pager.dash-pagination-row{
  margin-top:auto!important;
  padding:12px 0 0 0!important;
  border:0!important;
  border-top:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}
#dashboard .dash-tarefa-card .pager.dash-pagination-row span{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* V3.0.15.88.17 - Dashboard: cards de tarefas com tabela 100% no padrão das demais tabelas do dashboard, sem alterar tamanho dos cards */
#dashboard .dash-tarefa-card{
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}

#dashboard .dash-tarefa-card .dash-table{
  width:100%!important;
  max-width:100%!important;
  display:table!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid var(--line)!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#fff!important;
  margin:0!important;
  box-shadow:none!important;
}

#dashboard .dash-tarefa-card .dash-table th,
#dashboard .dash-tarefa-card .dash-table td{
  padding:8px 10px!important;
  border-bottom:1px solid var(--line)!important;
  text-align:left!important;
  vertical-align:middle!important;
  font-size:12px!important;
  line-height:1.32!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

#dashboard .dash-tarefa-card .dash-table th{
  background:#f8fafc!important;
  color:var(--navy)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
}

#dashboard .dash-tarefa-card .dash-table tr:last-child td{
  border-bottom:0!important;
}

#dashboard .dash-tarefa-card .dash-table th:nth-child(1),
#dashboard .dash-tarefa-card .dash-table td:nth-child(1){width:52%!important;}
#dashboard .dash-tarefa-card .dash-table th:nth-child(2),
#dashboard .dash-tarefa-card .dash-table td:nth-child(2){width:22%!important;}
#dashboard .dash-tarefa-card .dash-table th:nth-child(3),
#dashboard .dash-tarefa-card .dash-table td:nth-child(3){width:26%!important;}

#dashboard .dash-tarefa-card .dash-table a{
  display:inline!important;
  padding:0!important;
  line-height:1.3!important;
}

#dashboard .dash-tarefa-card .dash-table small{
  display:block!important;
  margin-top:3px!important;
  line-height:1.25!important;
}

#dashboard .dash-tarefa-card .pager.dash-pagination-row{
  margin-top:auto!important;
  padding:12px 0 0 0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}


/* V3.0.15.88.23 - Padronizacao visual dos cards de produtividade no Dashboard */
#dashboard .prod-card-refinado .prod-grid{
  align-items:stretch!important;
}
#dashboard .prod-card-refinado .prod-grid .prod-item{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:left!important;
  gap:0!important;
}
#dashboard .prod-card-refinado .prod-grid .prod-item > span,
#dashboard .prod-card-refinado .prod-grid .prod-item > strong,
#dashboard .prod-card-refinado .prod-grid .prod-item > small{
  display:block!important;
  width:100%!important;
  text-align:left!important;
  flex:none!important;
}
#dashboard .prod-card-refinado .prod-grid .prod-item > span{
  margin:0 0 5px 0!important;
}
#dashboard .prod-card-refinado .prod-grid .prod-item > strong{
  margin:0 0 6px 0!important;
}
#dashboard .prod-card-refinado .prod-grid .prod-item > small{
  margin:0!important;
}

/* V3.0.15.88.26 - Ajustes Entrega 3 */
.filtros-modulo .filtro-botao-limpar{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
}
.filtros-modulo .filtro-botao-limpar button{
  width:max-content!important;
  min-width:120px!important;
}
#processos_list th:last-child,
#processos_list td.processos-acoes-celula{
  width:126px!important;
  max-width:126px!important;
}
#processos_list .processos-actions-compact{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
  align-items:center!important;
  justify-items:stretch!important;
}
#processos_list .processos-actions-compact button{
  width:100%!important;
  min-width:0!important;
  padding:5px 6px!important;
  font-size:11px!important;
  line-height:1.1!important;
  margin:0!important;
  white-space:nowrap!important;
}
.linha-tempo-processo .bh-rich-print,
.linha-tempo-processo .bh-rich-list{
  margin:0!important;
  padding:0!important;
  max-height:none!important;
}
.linha-tempo-processo p,
.linha-tempo-processo div,
.linha-tempo-processo ul,
.linha-tempo-processo ol{
  margin-top:0!important;
  margin-bottom:4px!important;
}


/* V3.0.15.88.32 - Dashboard: paginação e alinhamento de status em Atendimentos/Audiências */
#dashboard .dash-status-center{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  text-align:center!important;
}
#dashboard .dash-doc-atendimento-grid .card:last-child .dash-table th:nth-child(3),
#dashboard .dash-doc-atendimento-grid .card:last-child .dash-table td:nth-child(3),
#dashboard .dash-audiencias-grupo .dash-table th:nth-child(4),
#dashboard .dash-audiencias-grupo .dash-table td:nth-child(4){
  text-align:center!important;
  vertical-align:middle!important;
}
#dashboard .dash-doc-atendimento-grid .card:last-child .pager{
  justify-content:flex-end!important;
  margin-top:10px!important;
}


/* V3.0.15.88.33 - correções visuais listas tarefas, audiências e financeiro */
#tarefas_list .status-pill,
#audiencias_list .status-pill{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:92px!important;
  justify-content:center!important;
}
#financeiro_list{overflow-x:auto!important;}
#financeiro_list table{min-width:1500px!important;width:100%!important;table-layout:auto!important;}
#financeiro_list th{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;padding:10px 12px!important;}
#financeiro_list td{padding:10px 12px!important;vertical-align:middle!important;}
#financeiro_list td:nth-child(1),#financeiro_list td:nth-child(2),#financeiro_list td:nth-child(3),#financeiro_list td:nth-child(4),#financeiro_list td:nth-child(6),#financeiro_list td:nth-child(7),#financeiro_list td:nth-child(8),#financeiro_list td:nth-child(9){white-space:nowrap!important;}
#financeiro_list td:nth-child(5){min-width:210px!important;}
#financeiro_list td:last-child{min-width:270px!important;}
#financeiro_list .monitor-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;}


/* V3.0.15.88.34 - Padronização geral dos selos e estabilidade do card Atendimentos recentes */
.status-pill{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:max-content!important;
  max-width:none!important;
  text-align:center!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  border-radius:999px!important;
  padding:5px 9px!important;
  line-height:1!important;
}
.status-pill.ok{background:#dcfce7!important;color:#166534!important;border:1px solid #bbf7d0!important}
.status-pill.warn{background:#fef3c7!important;color:#92400e!important;border:1px solid #fde68a!important}
.status-pill.danger{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fecaca!important}
.status-pill.dark{background:#111827!important;color:#ffffff!important;border:1px solid #111827!important}
.status-pill.info-status{background:#dbeafe!important;color:#1e3a8a!important;border:1px solid #bfdbfe!important}
.status-pill.neutral,.status-pill:not(.ok):not(.warn):not(.danger):not(.dark):not(.info-status){background:#f2f4f7!important;color:#344054!important;border:1px solid #d0d5dd!important}
#dashboard .dash-doc-atendimento-grid > .card:last-child{
  min-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
}
#dashboard .dash-doc-atendimento-grid > .card:last-child .pager{
  margin-top:auto!important;
}
#dashboard .dash-doc-atendimento-grid > .card:last-child .dash-table{
  min-height:238px!important;
}
#financeiro_list .status-pill,#recibos_list .status-pill{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
}
#financeiro_list td:nth-child(9),#recibos_list td:nth-child(6),#recibos_list td:nth-child(7){
  text-align:center!important;
}


/* V3.0.15.88.35 - correção final dos selos de status */
.status-pill,
#dashboard .status-pill,
#tarefas_list .status-pill,
#audiencias_list .status-pill,
#financeiro_list .status-pill,
#recibos_list .status-pill{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:22px!important;
  min-width:82px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
}
#financeiro_list td:nth-child(9),
#recibos_list td{
  vertical-align:middle!important;
}


/* V3.0.15.88.36 - organização de listas, ações e botões */
#arquivos_list .arquivos-actions-grid{
  display:grid!important;
  grid-template-columns:repeat(2,max-content)!important;
  gap:6px!important;
  align-items:center!important;
}
#arquivos_list .arquivos-actions-grid button{
  min-width:72px!important;
}

#atendimentos_list{
  overflow-x:auto!important;
}
#atendimentos_list table.atendimentos-padrao{
  width:100%!important;
  table-layout:fixed!important;
  min-width:1120px!important;
}
#atendimentos_list table.atendimentos-padrao th:nth-child(1),
#atendimentos_list table.atendimentos-padrao td:nth-child(1){width:18%!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(2),
#atendimentos_list table.atendimentos-padrao td:nth-child(2){width:17%!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(3),
#atendimentos_list table.atendimentos-padrao td:nth-child(3){width:18%!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(4),
#atendimentos_list table.atendimentos-padrao td:nth-child(4){width:9%!important;text-align:center!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(5),
#atendimentos_list table.atendimentos-padrao td:nth-child(5){width:23%!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(6),
#atendimentos_list table.atendimentos-padrao td:nth-child(6){width:8%!important;white-space:nowrap!important;}
#atendimentos_list table.atendimentos-padrao th:nth-child(7),
#atendimentos_list table.atendimentos-padrao td:nth-child(7){width:7%!important;}
#atendimentos_list table.atendimentos-padrao td{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
#atendimentos_list .lista-actions{
  display:grid!important;
  grid-template-columns:repeat(2,max-content)!important;
  gap:6px!important;
}

#financeiro_list{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
}
#financeiro_list table.financeiro-padrao{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
}
#financeiro_list table.financeiro-padrao th,
#financeiro_list table.financeiro-padrao td{
  padding:9px 8px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#financeiro_list table.financeiro-padrao th{
  white-space:nowrap!important;
  font-size:10.5px!important;
}
#financeiro_list table.financeiro-padrao th:nth-child(1),
#financeiro_list table.financeiro-padrao td:nth-child(1){width:14%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(2),
#financeiro_list table.financeiro-padrao td:nth-child(2){width:13%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(3),
#financeiro_list table.financeiro-padrao td:nth-child(3){width:7%!important;white-space:nowrap!important;}
#financeiro_list table.financeiro-padrao th:nth-child(4),
#financeiro_list table.financeiro-padrao td:nth-child(4){width:9%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(5),
#financeiro_list table.financeiro-padrao td:nth-child(5){width:17%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(6),
#financeiro_list table.financeiro-padrao td:nth-child(6){width:7%!important;text-align:center!important;white-space:nowrap!important;}
#financeiro_list table.financeiro-padrao th:nth-child(7),
#financeiro_list table.financeiro-padrao td:nth-child(7){width:8%!important;white-space:nowrap!important;}
#financeiro_list table.financeiro-padrao th:nth-child(8),
#financeiro_list table.financeiro-padrao td:nth-child(8){width:9%!important;white-space:nowrap!important;}
#financeiro_list table.financeiro-padrao th:nth-child(9),
#financeiro_list table.financeiro-padrao td:nth-child(9){width:9%!important;text-align:center!important;white-space:nowrap!important;}
#financeiro_list table.financeiro-padrao th:nth-child(10),
#financeiro_list table.financeiro-padrao td:nth-child(10){width:17%!important;}
#financeiro_list .financeiro-actions-grid{
  display:grid!important;
  grid-template-columns:repeat(3,max-content)!important;
  gap:6px!important;
  align-items:center!important;
  justify-content:start!important;
}
#financeiro_list .financeiro-actions-grid button{
  white-space:nowrap!important;
  min-width:78px!important;
}

button{
  text-transform:none!important;
}


/* V3.0.15.88.36.1 - ajuste final para manter financeiro dentro de 100% da tela */
#financeiro_list table.financeiro-padrao{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  table-layout:fixed!important;
}
#financeiro_list .financeiro-actions-grid{
  grid-template-columns:repeat(3,minmax(62px,1fr))!important;
  width:100%!important;
}
#financeiro_list .financeiro-actions-grid button{
  min-width:0!important;
  width:100%!important;
  padding-left:6px!important;
  padding-right:6px!important;
  font-size:10.5px!important;
}
#financeiro_list table.financeiro-padrao th:nth-child(10),
#financeiro_list table.financeiro-padrao td:nth-child(10){
  width:22%!important;
}
#financeiro_list table.financeiro-padrao th:nth-child(1),
#financeiro_list table.financeiro-padrao td:nth-child(1){width:12%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(2),
#financeiro_list table.financeiro-padrao td:nth-child(2){width:11%!important;}
#financeiro_list table.financeiro-padrao th:nth-child(5),
#financeiro_list table.financeiro-padrao td:nth-child(5){width:14%!important;}


/* V3.0.15.88.37 - correção definitiva de listas Atendimento, Arquivos e Tarefas */
#arquivos_list .arquivos-actions-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(68px,1fr))!important;
  gap:6px!important;
  width:150px!important;
  max-width:150px!important;
}
#arquivos_list .arquivos-actions-grid button{
  width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  text-align:center!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
#arquivos_list table td:last-child,
#arquivos_list table th:last-child{
  width:170px!important;
  min-width:170px!important;
}

#atendimentos_list{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th,
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td{
  padding:8px 7px!important;
  font-size:12px!important;
  line-height:1.25!important;
  vertical-align:middle!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(1),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(1){width:16%!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(2),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(2){width:14%!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(3),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(3){width:16%!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(4),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(4){width:9%!important;text-align:center!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(5),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(5){width:21%!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(6),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(6){width:8%!important;white-space:nowrap!important;}
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta th:nth-child(7),
#atendimentos_list table.atendimentos-padrao.atendimentos-compacta td:nth-child(7){width:16%!important;}
#atendimentos_list .atendimentos-actions-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(54px,1fr))!important;
  gap:5px!important;
  width:100%!important;
}
#atendimentos_list .atendimentos-actions-grid button{
  width:100%!important;
  min-width:0!important;
  font-size:10.5px!important;
  padding:6px 5px!important;
  white-space:nowrap!important;
}

#tarefas_list{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
#tarefas_list table.tarefas-table.tarefas-compacta{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
#tarefas_list table.tarefas-table.tarefas-compacta th,
#tarefas_list table.tarefas-table.tarefas-compacta td{
  padding:8px 7px!important;
  font-size:12px!important;
  line-height:1.25!important;
  vertical-align:middle!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(1),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(1){width:23%!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(2),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(2){width:11%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(3),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(3){width:15%!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(4),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(4){width:15%!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(5),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(5){width:8%!important;white-space:nowrap!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(6),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(6){width:9%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(7),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(7){width:9%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-compacta th:nth-child(8),
#tarefas_list table.tarefas-table.tarefas-compacta td:nth-child(8){width:10%!important;}
#tarefas_list .tarefas-actions-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(48px,1fr))!important;
  gap:5px!important;
  width:100%!important;
}
#tarefas_list .tarefas-actions-grid button{
  width:100%!important;
  min-width:0!important;
  font-size:10.5px!important;
  padding:6px 5px!important;
  white-space:nowrap!important;
}
#tarefas_list .status-pill,
#atendimentos_list .status-pill{
  min-width:72px!important;
  max-width:100%!important;
  font-size:10px!important;
  padding:5px 6px!important;
}


/* V3.0.15.88.38 - correção definitiva do card Atendimentos recentes no Dashboard */
#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-recentes-card h2{
  flex:0 0 auto!important;
}
#dashboard .dash-atendimentos-recentes-body{
  flex:1 1 auto!important;
  min-height:236px!important;
  max-height:236px!important;
  overflow:hidden!important;
  display:block!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table{
  height:236px!important;
  min-height:236px!important;
  max-height:236px!important;
  table-layout:fixed!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table tr{
  height:39px!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-pager,
#dashboard .dash-atendimentos-recentes-card .pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
#dashboard .dash-doc-atendimento-grid{
  align-items:stretch!important;
}
#dashboard .dash-doc-atendimento-grid > .card{
  height:345px!important;
  min-height:345px!important;
}


/* V3.0.15.88.39 - ajustes finais dashboard atendimentos e arquivos */
#dashboard .dash-atendimentos-recentes-body{
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-table{
  border:1px solid #e2e8f0!important;
  border-bottom:1px solid #e2e8f0!important;
  height:236px!important;
  min-height:236px!important;
  max-height:236px!important;
}
#dashboard .dash-atendimentos-recentes-table tr{
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-table tr:last-child td{
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-table .dash-empty-row td{
  height:39px!important;
  color:transparent!important;
  border-bottom:1px solid #eef2f6!important;
}
#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
}

#arquivos_list table th:nth-child(5),
#arquivos_list table td:nth-child(5){
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:96px!important;
  width:96px!important;
}
#arquivos_list table th:last-child,
#arquivos_list table td:last-child{
  min-width:170px!important;
  width:170px!important;
}
#arquivos_list .js-baixar-arquivo{
  cursor:pointer!important;
}


/* V3.0.15.88.40 - Dashboard Atendimentos Recentes padronizado sem linhas vazias */
#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-recentes-card h2{
  flex:0 0 auto!important;
}
#dashboard .dash-atendimentos-recentes-body{
  flex:1 1 auto!important;
  min-height:236px!important;
  max-height:236px!important;
  overflow:hidden!important;
  display:block!important;
  border-bottom:0!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border:1px solid #e2e8f0!important;
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table tr{
  height:auto!important;
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table tr:last-child td{
  border-bottom:1px solid #e2e8f0!important;
}
#dashboard .dash-atendimentos-recentes-table .dash-empty-row,
#dashboard .dash-atendimentos-recentes-body .dash-empty-row{
  display:none!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-pager,
#dashboard .dash-atendimentos-recentes-card .pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
#arquivos_list button.js-baixar-arquivo{
  cursor:pointer!important;
}
#arquivos_list table th:nth-child(5),
#arquivos_list table td:nth-child(5){
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:96px!important;
  width:96px!important;
}


/* V3.0.15.88.42 - correção segura: login intocado, dashboard atendimento padronizado */
#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-recentes-card h2{
  flex:0 0 auto!important;
}
#dashboard .dash-atendimentos-recentes-body{
  flex:1 1 auto!important;
  min-height:236px!important;
  max-height:236px!important;
  overflow:hidden!important;
  border-bottom:0!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  border:1px solid #e2e8f0!important;
  border-bottom:1px solid #e2e8f0!important;
  table-layout:fixed!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-table th,
#dashboard .dash-atendimentos-recentes-body .dash-table td{
  height:auto!important;
  min-height:0!important;
}
#dashboard .dash-atendimentos-recentes-body .dash-empty-row{
  display:none!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  justify-content:flex-end!important;
}
#atendimentos .filtros-modulo{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:end!important;
}
#atendimentos .filtro-botao-limpar{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
}
#atendimentos .filtro-botao-limpar button{
  width:100%!important;
  min-height:40px!important;
}
@media(max-width:1200px){
  #atendimentos .filtros-modulo{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  #atendimentos .filtros-modulo{grid-template-columns:1fr!important;}
}
#arquivos_list table th:nth-child(5),
#arquivos_list table td:nth-child(5){
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:96px!important;
  width:96px!important;
}


/* V3.0.15.88.47 - correção segura: login preservado e Dashboard Atendimentos alinhado */
#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-recentes-card h2{
  flex:0 0 auto!important;
  margin:0 0 10px 0!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-body{
  flex:1 1 auto!important;
  display:block!important;
  overflow:hidden!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  border:0!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  margin:0!important;
  background:#fff!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela tr,
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela th,
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela td{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  line-height:1.25!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela th{
  padding:8px 10px!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  background:#f8fafc!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela td{
  padding:8px 10px!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela th:nth-child(3),
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-tabela td:nth-child(3){
  text-align:center!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
#audiencias_list table th:nth-child(1),
#audiencias_list table td:nth-child(1){
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  min-width:96px!important;
}
#monitoramento_historico table td:nth-child(5),
#monitoramento_historico table th:nth-child(5){
  text-align:center!important;
  white-space:nowrap!important;
}


/* V3.0.15.88.48 - Atendimentos recentes sem paginação e espaçamento do Dashboard */
#dashboard .dash-atendimentos-recentes-card{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
  overflow:visible!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-recentes-body,
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-final-body{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
#dashboard .dash-atendimentos-recentes-card .pager,
#dashboard .dash-atendimentos-recentes-card .dash-atendimentos-pager{
  display:none!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-table,
#dashboard .dash-atendimentos-recentes-card table{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-table tr,
#dashboard .dash-atendimentos-recentes-card .dash-table th,
#dashboard .dash-atendimentos-recentes-card .dash-table td,
#dashboard .dash-atendimentos-recentes-card table tr,
#dashboard .dash-atendimentos-recentes-card table th,
#dashboard .dash-atendimentos-recentes-card table td{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* Reduz a distância entre 2. Audiências e 3. Financeiro */
#dashboard .dash-smart .dash-section-title,
#dashboard .dash-smart h3,
#dashboard .dash-smart h2{
  margin-top:10px!important;
  margin-bottom:10px!important;
}
#dashboard .dash-smart .dash-grid-2,
#dashboard .dash-smart .dash-grid-3{
  margin-top:8px!important;
  margin-bottom:10px!important;
}
#dashboard .dash-smart .dash-grid-2 + .dash-grid-2,
#dashboard .dash-smart .dash-grid-3 + .dash-grid-2,
#dashboard .dash-smart .dash-audiencias-grupo + .dash-grid-2{
  margin-top:8px!important;
}


/* V3.0.15.88.49 - botões limpar filtros e padronização visual geral */
:root{
  --font-main: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --font-size-base:13px;
  --font-size-small:12px;
  --font-size-head:11px;
}
html,body,#app,main,aside,header,section,.card,.stat,.msg,.kpi,
button,input,select,textarea,label,table,th,td,a,small{
  font-family:var(--font-main)!important;
}
body,input,select,textarea,td,button{
  font-size:var(--font-size-base)!important;
}
small{
  font-size:11px!important;
}
th{
  font-size:var(--font-size-head)!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  text-transform:uppercase!important;
}
.card h2{
  font-size:16px!important;
  font-weight:900!important;
}
button,.primary,.secondary,.danger{
  font-weight:800!important;
  line-height:1.15!important;
}
.filtro-botao-limpar{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
}
.filtro-botao-limpar button{
  min-height:40px!important;
  width:100%!important;
}
#arquivos .filtros-modulo,
#financeiro .filtros-modulo{
  align-items:end!important;
}


/* V3.0.15.88.52 - Cards de tarefas estáticos e Atendimentos recentes paginado estático */
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefa-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-tarefas-grupo > .card h2,
#dashboard .dash-tarefa-card h2{
  flex:0 0 auto!important;
  margin:0 0 10px 0!important;
}
#dashboard .dash-tarefa-body-estatico{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
}
#dashboard .dash-tarefa-body-estatico .dash-table{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
}
#dashboard .dash-tarefa-body-estatico .dash-table tr,
#dashboard .dash-tarefa-body-estatico .dash-table th,
#dashboard .dash-tarefa-body-estatico .dash-table td{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
#dashboard .dash-tarefa-pager-estatico,
#dashboard .dash-tarefas-grupo > .card .pager,
#dashboard .dash-tarefa-card .pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}

#dashboard .dash-atendimentos-recentes-card{
  height:345px!important;
  min-height:345px!important;
  max-height:345px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-recentes-card h2{
  flex:0 0 auto!important;
  margin:0 0 10px 0!important;
}
#dashboard .dash-atendimentos-body-estatico{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
}
#dashboard .dash-atendimentos-table-estatica{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  margin:0!important;
}
#dashboard .dash-atendimentos-table-estatica tr,
#dashboard .dash-atendimentos-table-estatica th,
#dashboard .dash-atendimentos-table-estatica td{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  line-height:1.25!important;
}
#dashboard .dash-atendimentos-table-estatica th{
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  padding:8px 10px!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
}
#dashboard .dash-atendimentos-table-estatica td{
  font-size:12px!important;
  padding:8px 10px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
}
#dashboard .dash-atendimentos-table-estatica th:nth-child(3),
#dashboard .dash-atendimentos-table-estatica td:nth-child(3){
  text-align:center!important;
}
#dashboard .dash-atendimentos-recentes-card .dash-status-center{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
}
#dashboard .dash-atendimentos-pager-estatico,
#dashboard .dash-atendimentos-recentes-card .pager{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
#dashboard .dash-audiencias-grupo + .dash-grid-2,
#dashboard .dash-grid-2 + .dash-grid-2{
  margin-top:8px!important;
}


/* V3.0.15.88.54 - Login sem título e logo centralizada */
#login .login-card{
  text-align:center!important;
}
#login .login-logo{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  margin:0 auto 18px auto!important;
}
#login .login-logo img{
  display:block!important;
  margin:0 auto!important;
}
#login .login-card label,
#login .login-card input{
  text-align:left!important;
}
#login .login-card .actions{
  justify-content:center!important;
}


/* V3.0.15.88.55 - Logo da tela de login ampliada em 15% */
#login .login-logo{
  height: 196px !important;
}
#login .login-logo img{
  max-width: 276px !important;
  max-height: 196px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}


/* V3.0.15.88.56 - Logo do menu lateral ampliada em 15% */
aside .brand-mini.brand-menu-top .brand-logo-image{
  width: 97px !important;
  max-width: 97px !important;
  height: 97px !important;
  max-height: 97px !important;
  object-fit: contain !important;
}
aside .brand-mini.brand-menu-top{
  align-items: center !important;
}


/* V3.0.15.88.57 - Logo do menu com fundo branco */
aside .brand-mini.brand-menu-top{
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  padding: 14px 12px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
aside .brand-mini.brand-menu-top .brand-logo-image{
  width: 97px !important;
  max-width: 97px !important;
  height: 97px !important;
  max-height: 97px !important;
  object-fit: contain !important;
}


/* V3.0.15.88.60 - Cards de tarefas do Dashboard estáticos na paginação */
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  display:flex!important;
  flex-direction:column!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-body-estatico{
  min-height:252px!important;
  height:252px!important;
  overflow:hidden!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica{
  width:100%!important;
  table-layout:fixed!important;
  height:100%!important;
  min-height:252px!important;
  border-collapse:collapse!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica th{
  height:34px!important;
  max-height:34px!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica td{
  height:43px!important;
  max-height:43px!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica td,
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica small,
#dashboard .dash-tarefas-grupo .dash-tarefa-table-estatica a{
  line-height:1.25!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-vazia td{
  color:transparent!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-vazio{
  display:block!important;
  color:#175cd3!important;
  background:#eff8ff!important;
  border:1px solid #b2ddff!important;
  border-radius:12px!important;
  padding:8px 10px!important;
  text-align:left!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-pager-estatico{
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin-top:8px!important;
  flex-shrink:0!important;
}











/* V3.0.15.88.76 - Cards tarefas com a mesma configuração do card Atendimentos recentes */

/* Apenas organiza os três cards lado a lado. O card em si usa .dash-atendimentos-recentes-card */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}

/* Tarefas usando a mesma tabela do Atendimentos recentes, só ajustando largura de colunas */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  table-layout:fixed!important;
  width:100%!important;
  max-width:100%!important;
}

/* Larguras para tarefa/data/status sem cortar o status */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(1),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(2),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(3),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Texto da tarefa contido na primeira coluna */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1){
  overflow:hidden!important;
}
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1) a{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1) small{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Status igual ao Atendimentos recentes: centralizado dentro da coluna */
#dashboard .dash-tarefas-grupo .dash-status-center{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
}
#dashboard .dash-tarefas-grupo .status-pill{
  max-width:100%!important;
  white-space:nowrap!important;
}

/* Hover dos links: usa exatamente o padrão dos links de Atendimentos recentes */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td a:hover,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td a:focus{
  background:#eff8ff!important;
  box-shadow:0 0 0 2px rgba(21,112,239,.22)!important;
  color:#175cd3!important;
  text-decoration:none!important;
  outline:none!important;
}


/* V3.0.15.88.77 - Tabela estática nos cards tarefas e hover azul padronizado em todos os links do Dashboard */

/* Cards tarefas: mesma estrutura do Atendimentos recentes, mas com tabela realmente estática ao paginar */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card,
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  height:380px!important;
  min-height:380px!important;
  max-height:380px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card h2,
#dashboard .dash-tarefas-grupo .dash-tarefa-card h2{
  flex:0 0 26px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 288px!important;
  height:288px!important;
  min-height:288px!important;
  max-height:288px!important;
  overflow:hidden!important;
  width:100%!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Tabela das tarefas: sempre a mesma altura, mesmo quando muda de página */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  width:100%!important;
  max-width:100%!important;
  height:288px!important;
  min-height:288px!important;
  max-height:288px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td{
  height:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

/* Linhas reservadas mantêm a altura, mas não aparecem visualmente */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr.dash-tarefa-linha-reserva td{
  color:transparent!important;
  background:#fff!important;
  border-bottom:1px solid #eef2f6!important;
}

/* Colunas estáticas */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(1),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(2),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th:nth-child(3),
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Conteúdo contido nas colunas */
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1) a{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td:nth-child(1) small{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-status-center{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .status-pill{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Hover padronizado: TODOS os links do Dashboard usam o mesmo estilo dos links dos cards tarefas */
#dashboard a{
  box-sizing:border-box!important;
}

#dashboard .card a,
#dashboard .dash-table a,
#dashboard table a,
#dashboard .dash-atendimentos-table-estatica a,
#dashboard .dash-tarefas-grupo a{
  display:inline-block!important;
  max-width:100%!important;
  border-radius:7px!important;
  padding:1px 4px!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  outline:none!important;
  text-decoration:none!important;
}

#dashboard .card a:hover,
#dashboard .card a:focus,
#dashboard .dash-table a:hover,
#dashboard .dash-table a:focus,
#dashboard table a:hover,
#dashboard table a:focus,
#dashboard .dash-atendimentos-table-estatica a:hover,
#dashboard .dash-atendimentos-table-estatica a:focus,
#dashboard .dash-tarefas-grupo a:hover,
#dashboard .dash-tarefas-grupo a:focus{
  background:#eff8ff!important;
  box-shadow:0 0 0 2px rgba(21,112,239,.22)!important;
  color:#175cd3!important;
  text-decoration:none!important;
  outline:none!important;
}


/* V3.0.15.88.78 - Correção definitiva: cards tarefas estáticos e paginação com espaçamento fixo */

/* Estrutura fixa dos cards de tarefas */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:398px!important;
  min-height:398px!important;
  max-height:398px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefa-card h2,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card h2{
  flex:0 0 26px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo: não muda com a paginação */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo,
#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 292px!important;
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
}

/* Espaço reservado e estável para paginação */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0 0 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa button,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico button{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:5px 10px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa span,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico span{
  height:30px!important;
  line-height:30px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

/* Tabela fixa: sempre mesma altura, sempre 5 linhas reservadas */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  width:100%!important;
  max-width:100%!important;
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa th,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa td,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr:first-child,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr:first-child{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
}

/* Linhas invisíveis preservam altura na última página */
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva td{
  color:transparent!important;
  background:#fff!important;
  border-bottom:1px solid #eef2f6!important;
}

/* Estado vazio também ocupa área fixa */
#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo{
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo .msg{
  margin:0!important;
  box-sizing:border-box!important;
}

/* Colunas protegidas */
#dashboard .dash-tarefas-grupo table th:nth-child(1),
#dashboard .dash-tarefas-grupo table td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(2),
#dashboard .dash-tarefas-grupo table td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(3),
#dashboard .dash-tarefas-grupo table td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo table td:nth-child(1) a,
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  display:block!important;
}

/* Hover global padronizado no Dashboard */
#dashboard .card a,
#dashboard .dash-table a,
#dashboard table a,
#dashboard .dash-atendimentos-table-estatica a{
  display:inline-block!important;
  max-width:100%!important;
  border-radius:7px!important;
  padding:1px 4px!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  outline:none!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}

#dashboard .card a:hover,
#dashboard .card a:focus,
#dashboard .dash-table a:hover,
#dashboard .dash-table a:focus,
#dashboard table a:hover,
#dashboard table a:focus,
#dashboard .dash-atendimentos-table-estatica a:hover,
#dashboard .dash-atendimentos-table-estatica a:focus{
  background:#eff8ff!important;
  box-shadow:0 0 0 2px rgba(21,112,239,.22)!important;
  color:#175cd3!important;
  text-decoration:none!important;
  outline:none!important;
}


/* V3.0.15.88.79 - Linhas de reserva invisíveis nos cards tarefas */

/* Mantém altura estática, mas remove aparência visual das linhas vazias */
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td{
  color:transparent!important;
  background:#ffffff!important;
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Remove qualquer conteúdo aparente das células reservadas */
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td *{
  visibility:visible!important;
}

/* Evita que hover/global de tabela pinte linhas reservadas */
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva:hover,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva:hover td{
  background:#ffffff!important;
  box-shadow:none!important;
}

/* Preserva a altura fixa para a tabela não se movimentar */
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:0!important;
}

/* Última linha real sem sobra visual exagerada */
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr:not(.dash-tarefa-linha-reserva) td{
  border-bottom:1px solid #eef2f6!important;
}


/* V3.0.15.88.80 - Cards tarefas estáticos sem linhas vazias */

/* Card fixo: a paginação não depende da altura da tabela */
#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:398px!important;
  min-height:398px!important;
  max-height:398px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Título fixo */
#dashboard .dash-tarefas-grupo .dash-tarefa-card h2,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card h2{
  flex:0 0 26px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo: a tabela fica presa no topo e não empurra a paginação */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo,
#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 292px!important;
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
}

/* Paginação fixa e com espaçamento estável */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Tabela com somente registros reais: sem linhas falsas, sem área de linha vazia */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa th,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa td,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* Elimina completamente qualquer linha de reserva que tenha sobrado em cache ou versão anterior */
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva td{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  border:0!important;
  visibility:visible!important;
}

/* Estado vazio ocupa o corpo fixo sem desenhar tabela falsa */
#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo{
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo .msg{
  margin:0!important;
  box-sizing:border-box!important;
}

/* Colunas protegidas */
#dashboard .dash-tarefas-grupo table th:nth-child(1),
#dashboard .dash-tarefas-grupo table td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(2),
#dashboard .dash-tarefas-grupo table td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(3),
#dashboard .dash-tarefas-grupo table td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Conteúdo não invade colunas */
#dashboard .dash-tarefas-grupo table td:nth-child(1) a,
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  display:block!important;
}

/* Botões da paginação estáveis */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa button,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico button{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:5px 10px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa span,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico span{
  height:30px!important;
  line-height:30px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}


/* V3.0.15.88.82 - Refaz cards tarefas: estático, sem linhas falsas e com linha inferior estável */

/* Grupo dos três cards */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}

/* Card fixo: nada sobe/desce ao paginar */
#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:398px!important;
  min-height:398px!important;
  max-height:398px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Título fixo */
#dashboard .dash-tarefas-grupo .dash-tarefa-card h2,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card h2{
  flex:0 0 26px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo: tabela sempre presa no topo */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo,
#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 292px!important;
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
}

/* Wrapper da tabela:
   - segura a tabela no topo;
   - desenha a linha inferior sem depender da última linha;
   - não cria linha falsa;
   - não mexe na altura da tabela ao trocar página. */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:292px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
}

/* Tabela com somente registros reais */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Cabeçalho fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa th,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Linhas fixas */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa td,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* Remove qualquer resíduo de linha falsa de versões anteriores */
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva td,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  border:0!important;
  visibility:visible!important;
}

/* Paginação fixa: sempre no mesmo lugar, com respiro superior */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa button,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico button{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:5px 10px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa span,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico span{
  height:30px!important;
  line-height:30px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

/* Estado vazio fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo{
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo .msg{
  margin:0!important;
  box-sizing:border-box!important;
}

/* Colunas estáveis */
#dashboard .dash-tarefas-grupo table th:nth-child(1),
#dashboard .dash-tarefas-grupo table td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(2),
#dashboard .dash-tarefas-grupo table td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(3),
#dashboard .dash-tarefas-grupo table td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Conteúdo contido */
#dashboard .dash-tarefas-grupo table td:nth-child(1) a,
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  display:block!important;
}

/* Hover global preservado */
#dashboard .card a,
#dashboard .dash-table a,
#dashboard table a,
#dashboard .dash-atendimentos-table-estatica a{
  display:inline-block!important;
  max-width:100%!important;
  border-radius:7px!important;
  padding:1px 4px!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  outline:none!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}

#dashboard .card a:hover,
#dashboard .card a:focus,
#dashboard .dash-table a:hover,
#dashboard .dash-table a:focus,
#dashboard table a:hover,
#dashboard table a:focus,
#dashboard .dash-atendimentos-table-estatica a:hover,
#dashboard .dash-atendimentos-table-estatica a:focus{
  background:#eff8ff!important;
  box-shadow:0 0 0 2px rgba(21,112,239,.22)!important;
  color:#175cd3!important;
  text-decoration:none!important;
  outline:none!important;
}


/* V3.0.15.88.83 - Cards tarefas estáticos mesmo após F5, sem corte da quinta linha */

/* Grupo mantém 3 cards lado a lado */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}

/* Card com altura real suficiente, considerando padding interno */
#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Título fixo */
#dashboard .dash-tarefas-grupo .dash-tarefa-card h2,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card h2{
  flex:0 0 28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo. A tabela fica presa no topo e não empurra a paginação */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo,
#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
}

/* Wrapper da tabela: mantém linha inferior estável sem criar linha vazia */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:312px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
}

/* Tabela somente com registros reais */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Cabeçalho fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa th,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Linhas estáveis. 5 linhas + cabeçalho cabem integralmente no corpo fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa td,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* Garante que a última linha real tenha base visível */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa tr:last-child td,
#dashboard .dash-tarefas-grupo .dash-atendimentos-table-estatica tr:last-child td{
  border-bottom:1px solid #eef2f6!important;
}

/* Não há linhas falsas. Se sobrar resíduo de cache, some completamente */
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefa-linha-reserva td,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva,
#dashboard .dash-tarefas-grupo .dash-tarefas-sem-linhas-vazias tr.dash-tarefa-linha-reserva td{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  border:0!important;
  visibility:visible!important;
}

/* Paginação fixa no rodapé do card, com espaço acima. Não sobrepõe a tabela */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa button,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico button{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:5px 10px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa span,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico span{
  height:30px!important;
  line-height:30px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

/* Estado vazio ocupa o mesmo corpo fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo{
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-vazio-fixo .msg{
  margin:0!important;
  box-sizing:border-box!important;
}

/* Colunas protegidas */
#dashboard .dash-tarefas-grupo table th:nth-child(1),
#dashboard .dash-tarefas-grupo table td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(2),
#dashboard .dash-tarefas-grupo table td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table th:nth-child(3),
#dashboard .dash-tarefas-grupo table td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Conteúdo contido */
#dashboard .dash-tarefas-grupo table td:nth-child(1) a,
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  display:block!important;
}


/* V3.0.15.88.84 - Elimina tremilique dos cards tarefas no F5 */

/* Remove qualquer transição/animação que cause ajuste visual tardio nos cards tarefas */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo .card,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}

/* Estrutura crítica repetida no CSS para manter o mesmo valor após o inline */
#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Tabela não muda de posição durante ou após recarregamento */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  max-height:312px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}


/* V3.0.15.88.85 - Correção pontual do tremilique no F5 dos cards tarefas */

/* Reserva estrutural desde o primeiro layout e isola recalculo visual */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow-anchor:none!important;
  contain:layout!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo .dash-atendimentos-recentes-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
  transform:translateZ(0)!important;
  will-change:auto!important;
}

/* Nenhuma transição/animação nos elementos que estavam oscilando */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo .card,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}

/* Corpo e paginação permanecem nos mesmos pontos antes/depois do F5 */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo,
#dashboard .dash-tarefas-grupo .dash-atendimentos-body-estatico{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  overflow:hidden!important;
  transform:none!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa,
#dashboard .dash-tarefas-grupo .dash-atendimentos-pager-estatico{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin-top:12px!important;
  transform:none!important;
}


/* V3.0.15.88.87 - Tarefas estáticas sem piscar, sem esconder e sem herdar card Atendimentos */

/* Grupo fixo */
#dashboard .dash-tarefas-grupo{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow-anchor:none!important;
  contain:layout!important;
}

/* Card tarefas independente: não herda regras conflitantes de Atendimentos recentes */
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
}

/* Nada de piscar/esconder/transicionar */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo .dash-tarefa-card,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}

/* Título fixo */
#dashboard .dash-tarefas-grupo .dash-tarefa-card h2{
  flex:0 0 28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo: a tabela não altera posição */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  transform:none!important;
}

/* Paginação fixa */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Tabela presa no topo */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  max-height:312px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Cabeçalho e linhas fixas */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa th{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  border-bottom:1px solid #e2e8f0!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa td{
  height:51px!important;
  min-height:51px!important;
  max-height:51px!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  border-bottom:1px solid #eef2f6!important;
  vertical-align:middle!important;
  overflow:hidden!important;
}

/* Colunas protegidas */
#dashboard .dash-tarefas-grupo table th:nth-child(1),
#dashboard .dash-tarefas-grupo table td:nth-child(1){
  width:50%!important;
  max-width:50%!important;
}
#dashboard .dash-tarefas-grupo table th:nth-child(2),
#dashboard .dash-tarefas-grupo table td:nth-child(2){
  width:22%!important;
  max-width:22%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#dashboard .dash-tarefas-grupo table th:nth-child(3),
#dashboard .dash-tarefas-grupo table td:nth-child(3){
  width:28%!important;
  max-width:28%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Conteúdo contido */
#dashboard .dash-tarefas-grupo table td:nth-child(1) a,
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#dashboard .dash-tarefas-grupo table td:nth-child(1) small{
  display:block!important;
}


/* V3.0.15.88.88 - Correção raiz do F5: os cards tarefas agora nascem fixos */

/* O seletor pega os 3 cards tarefas mesmo antes/depois de qualquer classe dinâmica */
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
}

#dashboard .dash-tarefas-grupo > .card > h2,
#dashboard .dash-tarefas-grupo .dash-tarefa-card > h2{
  flex:0 0 28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  transform:none!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Remove transição/animação sem esconder nada */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}


/* V3.0.15.88.89 - Trava definitiva do bloco dos cards tarefas no F5 */

/* Trava o grupo inteiro: o bloco de tarefas não muda de altura durante re-render do Dashboard */
#dashboard .dash-tarefas-grupo{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  overflow-anchor:none!important;
  contain:layout!important;
}

/* Trava os três cards diretos do grupo */
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
  transform:none!important;
}

/* Título fixo */
#dashboard .dash-tarefas-grupo > .card > h2,
#dashboard .dash-tarefas-grupo .dash-tarefa-card > h2{
  flex:0 0 28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0 0 10px 0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Corpo fixo */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo{
  flex:0 0 312px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  transform:none!important;
}

/* Paginação fixa */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa{
  flex:0 0 44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:100%!important;
  margin-top:12px!important;
  margin-bottom:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Nada de movimento visual */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}

/* Mantém tabela real presa no topo */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  max-height:312px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  box-sizing:border-box!important;
}


/* V3.0.15.88.90 - Cards Tarefas realmente estáticos: coordenadas absolutas internas */

/* Trava o bloco inteiro */
#dashboard .dash-tarefas-grupo{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  overflow-anchor:none!important;
  contain:layout!important;
}

/* Cada card vira um quadro fixo */
#dashboard .dash-tarefas-grupo > .card,
#dashboard .dash-tarefas-grupo .dash-tarefa-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
  transform:none!important;
}

/* Título em coordenada fixa */
#dashboard .dash-tarefas-grupo .dash-tarefa-titulo-fixo,
#dashboard .dash-tarefas-grupo > .card > h2{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:18px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  line-height:28px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Tabela em coordenada fixa: não depende de flex, fonte, linha ou reflow */
#dashboard .dash-tarefas-grupo .dash-tarefas-corpo-fixo{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:58px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:block!important;
  transform:none!important;
}

/* Paginação em coordenada fixa */
#dashboard .dash-tarefas-grupo .dash-tarefas-paginacao-fixa{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:382px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Tabela presa no topo da caixa fixa */
#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-box{
  display:block!important;
  width:100%!important;
  max-height:312px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
  border-bottom:1px solid #e2e8f0!important;
  margin:0!important;
  padding:0!important;
}

#dashboard .dash-tarefas-grupo .dash-tarefas-tabela-fixa{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border:1px solid #e2e8f0!important;
  border-bottom:0!important;
  background:#fff!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Sem transição ou animação */
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *,
#dashboard .dash-tarefas-grupo table,
#dashboard .dash-tarefas-grupo tr,
#dashboard .dash-tarefas-grupo td,
#dashboard .dash-tarefas-grupo th,
#dashboard .dash-tarefas-grupo .pager{
  transition:none!important;
  animation:none!important;
}


/* V3.0.15.88.91 - Trava também o bloco acima das tarefas para evitar sobe/desce no F5 */

/* Se a tabela já está fixa no card, o deslocamento restante vem do bloco acima.
   Por isso, o card Prioridades fica com altura fixa e não empurra as tarefas. */
#dashboard .dash-smart{
  display:block!important;
  box-sizing:border-box!important;
  overflow-anchor:none!important;
}

#dashboard .dash-priority{
  height:142px!important;
  min-height:142px!important;
  max-height:142px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
}

#dashboard .dash-priority .dash-title-row{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-priority .dash-title-row h2{
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

#dashboard .dash-priority .dash-data-hora-extenso{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  flex:0 1 auto!important;
}

#dashboard .dash-priority .dash-badges{
  height:72px!important;
  min-height:72px!important;
  max-height:72px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

#dashboard .dash-priority,
#dashboard .dash-priority *,
#dashboard .dash-tarefas-grupo,
#dashboard .dash-tarefas-grupo *{
  transition:none!important;
  animation:none!important;
}


/* V3.0.15.88.92 - Upgrade do dashboard: renderização estável e centralização visual */
#dashboard #stats,
#dashboard #dash_inteligente{
  opacity:1;
}
#dashboard .dash-freeze-stage{
  opacity:1 !important;
  
}
#dashboard .dash-freeze-ready{
  opacity:1 !important;
}

/* cards superiores do dashboard */
#dashboard .stats{
  align-items:stretch!important;
}
#dashboard .stat{
  min-height:116px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:18px 12px!important;
}
#dashboard .stat strong,
#dashboard .stat span{
  width:100%!important;
  text-align:center!important;
}

/* painel do escritório - mini cards */
#dashboard .dash-v62-resumo-item{
  align-items:center!important;
  text-align:center!important;
  justify-content:center!important;
  padding:12px 14px!important;
}
#dashboard .dash-v62-resumo-item span,
#dashboard .dash-v62-resumo-item strong,
#dashboard .dash-v62-resumo-item small{
  width:100%!important;
  text-align:center!important;
}

/* cards tarefas: mesma família visual do card Atendimentos recentes */
#dashboard .dash-tarefas-grupo .dash-tarefa-card-unificado{
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#dashboard .dash-tarefas-grupo .dash-tarefa-card-unificado h2{
  margin-bottom:16px!important;
}

/* garante que a linha/tabela não seja cortada no futuro */
#dashboard .dash-tarefas-grupo .dash-tarefa-card-unificado .dash-tarefas-tabela-box,
#dashboard .dash-tarefas-grupo .dash-tarefa-card-unificado .dash-atendimentos-table-estatica{
  border-bottom:1px solid #e2e8f0!important;
}


/* V3.0.15.88.94 - Corrige cards invisíveis e fixa dashboard sem esconder conteúdo */

/* painel superior sem corte de texto */
#dashboard .dash-v62-hero{
  min-height:168px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
#dashboard .dash-title-row-principal{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:58px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
#dashboard .dash-title-row-principal > div{
  min-width:0!important;
  flex:1 1 auto!important;
}
#dashboard .dash-title-row-principal h2{
  margin:0!important;
}
#dashboard .dash-title-row-principal .dash-v62-sub{
  margin:6px 0 0!important;
  display:block!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:unset!important;
  line-height:1.35!important;
}
#dashboard .dash-title-row-principal .dash-data-hora-extenso{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  margin-top:0!important;
}

/* centralização dos cards superiores e do painel */
#dashboard .stats{
  align-items:stretch!important;
}
#dashboard .stat{
  min-height:116px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:18px 12px!important;
}
#dashboard .stat strong,
#dashboard .stat span{
  width:100%!important;
  text-align:center!important;
}
#dashboard .dash-v62-resumo-item{
  min-height:88px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
}
#dashboard .dash-v62-resumo-item span,
#dashboard .dash-v62-resumo-item strong,
#dashboard .dash-v62-resumo-item small{
  width:100%!important;
  text-align:center!important;
}

/* Tarefas sempre visíveis e estáticas */
#dashboard .dash-v62-bloco-tarefas{
  min-height:486px!important;
  height:auto!important;
  overflow:visible!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
#dashboard .dash-v62-bloco-tarefas .dash-tarefas-grupo{
  visibility:visible!important;
  opacity:1!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-tarefas-grupo{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-tarefa-card{
  height:450px!important;
  min-height:450px!important;
  max-height:450px!important;
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  contain:layout paint!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-tarefa-titulo-fixo{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:18px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  line-height:28px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-tarefas-corpo-fixo{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:58px!important;
  height:312px!important;
  min-height:312px!important;
  max-height:312px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#dashboard .dash-v62-bloco-tarefas .dash-tarefas-paginacao-fixa{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  top:382px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#dashboard .dash-v62-bloco-tarefas,
#dashboard .dash-v62-bloco-tarefas *{
  transition:none!important;
  animation:none!important;
}






/* V3.0.15.88.97 - DH único na barra do editor */
.btn-dh-editor-real{
  min-width:38px!important;
  height:40px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  border-radius:9px!important;
  vertical-align:middle!important;
}
.editor-data-hora-actions,
.btn-data-hora-editor,
.btn-dh-editor{
  display:none!important;
}


/* V3.0.15.88.98 - Limpar ao lado do DH na barra do editor */
.btn-limpar-editor-real{
  height:40px!important;
  min-width:64px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
  font-weight:800!important;
  border-radius:9px!important;
  vertical-align:middle!important;
}


/* V3.0.15.89.00 - Etapa 1 do módulo Relatórios */
.relatorios-card-principal .module-title-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:8px}
.relatorios-card-principal .muted{margin:4px 0 0;color:#667085;font-size:12.5px;font-weight:600}
.relatorios-filtros{align-items:end}
.relatorios-actions{margin-top:12px;gap:8px;flex-wrap:wrap}
.relatorios-filtro-resumo{margin:10px 0 12px!important}
#relatorios .summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:8px 0 12px}
#relatorios .summary-card{border:1px solid #e4e7ec;background:#f8fafc;border-radius:14px;padding:12px;min-height:62px}
#relatorios .summary-card span{display:block;font-size:11px;color:#667085;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
#relatorios .summary-card strong{display:block;margin-top:6px;font-size:18px;color:#101828;overflow-wrap:anywhere}
@media(max-width:1100px){#relatorios .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){#relatorios .summary-grid{grid-template-columns:1fr}.relatorios-card-principal .module-title-row{display:block}}


/* V3.0.15.89.03 - Relatórios Etapa 2 + correção da busca livre parcial */
#relatorios #rel_list{width:100%;overflow-x:auto;}
#relatorios .rel-table-wrap{width:100%;overflow-x:auto;}
#relatorios .rel-table-wrap table{width:100%!important;min-width:980px;table-layout:fixed!important;}
#relatorios .rel-table-wrap th,
#relatorios .rel-table-wrap td{overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important;vertical-align:top;}
#relatorios .rel-cell-text{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal;}
#relatorios .status-pill{white-space:normal;}

/* V3.3.0 - Pesquisa Global */
header{gap:14px}
.header-search-global{display:flex;align-items:center;gap:8px;flex:1;max-width:620px;min-width:260px}
.header-search-global input{width:100%;height:36px;border:1px solid #d0d5dd;border-radius:10px;padding:0 12px;font-size:13px;background:#fff}
.pesquisa-global-card .msg{margin-bottom:12px}
.pesquisa-global-resumo{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px;padding:10px;border:1px solid #e4e7ec;background:#f8fafc;border-radius:12px}
.pesquisa-global-chip{display:inline-flex;gap:4px;align-items:center;border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;color:#344054}
.pesquisa-global-grupo{margin:14px 0 20px}
.pesquisa-global-grupo h3{margin:0 0 10px;font-size:15px;color:#101828;display:flex;gap:8px;align-items:center}
.pesquisa-global-grupo h3 small{background:#eef2ff;color:#344054;border-radius:999px;padding:2px 8px;font-size:11px}
.pesquisa-global-resultados{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px}
.pesquisa-global-item{border:1px solid #e4e7ec;background:#fff;border-radius:14px;padding:12px;box-shadow:0 1px 2px rgba(16,24,40,.04);min-width:0}
.pesquisa-global-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.pesquisa-global-top strong{font-size:14px;color:#101828;overflow-wrap:anywhere}
.pesquisa-global-top div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;color:#667085;font-size:11px;white-space:nowrap}
.pesquisa-global-sub{margin:6px 0 0;color:#475467;font-size:12.5px;font-weight:700;overflow-wrap:anywhere}
.pesquisa-global-det{margin:6px 0 0;color:#667085;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.pesquisa-global-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;color:#667085;font-size:11.5px}
.pesquisa-global-meta span{background:#f9fafb;border:1px solid #eaecf0;border-radius:999px;padding:3px 8px}
.pesquisa-global-actions{margin-top:10px!important;gap:6px!important}
@media(max-width:980px){.header-search-global{order:3;max-width:none;width:100%;flex-basis:100%}header{flex-wrap:wrap}.pesquisa-global-resultados{grid-template-columns:1fr}}

/* V3.4.1 - Central de Pendências Inteligentes */
#pendencias .rel-kpi-grid,
#pendencias .kpi-grid{margin-top:8px}
#pendencias table td{vertical-align:top}
#pendencias .rel-cell-text{white-space:normal;word-break:break-word}

/* V3.5.0 - Ajustes de Pendências Inteligentes e Documentos Inteligentes */
#pendencias_list table{
  table-layout: fixed!important;
  width:100%!important;
}
#pendencias_list th:last-child,
#pendencias_list td:last-child{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  text-align:center!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
#pendencias_list .pendencias-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  margin:0!important;
  min-width:72px!important;
}
#pendencias_list .pendencias-abrir-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  min-width:64px!important;
  max-width:72px!important;
  height:32px!important;
  line-height:1!important;
  padding:6px 10px!important;
}
#pendencias_list td{
  overflow-wrap:anywhere!important;
}
.variaveis-doc-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.var-doc-chip{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace!important;
  white-space:nowrap!important;
}
.documentos-inteligentes-card .muted{
  color:var(--muted);
  margin-top:-6px;
}

/* V3.6.0 - Financeiro de Gestão */
#financeiro_gestao_result .kpi-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
#financeiro_gestao_result table{table-layout:fixed!important}
#financeiro_gestao_result th,#financeiro_gestao_result td{word-break:break-word;overflow-wrap:anywhere}
.financeiro-gestao .kpi strong{font-size:20px!important}


/* V3.7.0 - Consolidação geral de tabelas e ações */
.lista-padrao{width:100%;border-collapse:collapse;table-layout:auto;}
.lista-padrao .acoes-col,.lista-padrao .acoes-cell{width:1%;white-space:nowrap!important;text-align:center;vertical-align:middle;}
.lista-padrao .acoes-cell button,.lista-padrao .acoes-cell .small{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;}
.msg-host:empty{display:none;}

/* Ícones elegantes no menu lateral - apenas visual, sem alterar estrutura ou navegação */
aside .nav{
  display:flex!important;
  align-items:center;
  gap:10px;
  line-height:1.2;
}
aside .nav::before{
  content:"•";
  width:22px;
  height:22px;
  min-width:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#f3f6fa;
  color:var(--blue);
  font-size:13px;
  font-weight:900;
  box-shadow:inset 0 0 0 1px rgba(20,57,103,.08);
}
aside .nav:hover::before,
aside .nav.active::before{
  background:#fff8eb;
  color:var(--gold);
  box-shadow:inset 0 0 0 1px rgba(185,138,50,.22);
}
aside .nav.danger::before{
  background:#fff1f0;
  color:var(--red);
  box-shadow:inset 0 0 0 1px rgba(180,35,24,.14);
}
aside .nav[data-sec="dashboard"]::before{content:"⌂"}
aside .nav[data-sec="agenda"]::before{content:"◷"}
aside .nav[data-sec="arquivos"]::before{content:"▣"}
aside .nav[data-sec="atendimentos"]::before{content:"◉"}
aside .nav[data-sec="audiencias"]::before{content:"⚖"}
aside .nav[data-sec="calculos"]::before{content:"∑"}
aside .nav[data-sec="clientes"]::before{content:"👤";font-size:12px}
aside .nav[data-sec="contratos"]::before{content:"§"}
aside .nav[data-sec="documentos"]::before{content:"▤"}
aside .nav[data-sec="financeiro"]::before{content:"$"}
aside .nav[data-sec="pesquisa"]::before{content:"⌕"}
aside .nav[data-sec="pendencias"]::before{content:"!"}
aside .nav[data-sec="processos"]::before{content:"⚖"}
aside .nav[data-sec="produtividade"]::before{content:"↗"}
aside .nav[data-sec="recibos"]::before{content:"✓"}
aside .nav[data-sec="relatorios"]::before{content:"▦"}
aside .nav[data-sec="tarefas"]::before{content:"☑"}
aside .nav[data-sec="auditoria"]::before{content:"◆"}
aside .nav[data-sec="backup"]::before{content:"⇩"}
aside .nav[data-sec="lixeira"]::before{content:"⌫"}
aside .nav[data-sec="logs"]::before{content:"≡"}
aside .nav[data-sec="saude"]::before{content:"✚"}
aside .nav[data-sec="usuarios"]::before{content:"◌"}
aside .nav[data-sec="sobre"]::before{content:"i"}
aside .nav[data-sec="manual"]::before{content:"?"}
aside .nav[data-sec="senha"]::before{content:"◍"}
aside .nav[data-sec="sair"]::before{content:"↪"}

/* Ajuste solicitado: links dos módulos alinhados à esquerda */
aside .nav{
  justify-content:flex-start!important;
  text-align:left!important;
}
aside .nav::before{
  flex:0 0 22px!important;
}


/* Tarefas — aba visual de atendimento vinculado abaixo do registro */
#tarefas_list .tarefa-atendimento-aba-row td{
  padding:0 7px 10px 7px!important;
  background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.98))!important;
  border-top:0!important;
}
#tarefas_list .tarefa-atendimento-aba{
  margin:0 0 2px 0;
  padding:10px 12px;
  border:1px solid rgba(37,99,235,.18);
  border-left:4px solid #2563eb;
  border-radius:10px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.06);
}
#tarefas_list .tarefa-atendimento-aba-top{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:6px;
}
#tarefas_list .tarefa-atendimento-aba-label{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:700;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.03em;
}
#tarefas_list .tarefa-atendimento-aba-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  margin-bottom:8px;
  color:#475569;
  font-size:12px;
}
#tarefas_list .tarefa-atendimento-aba-conteudo{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  font-size:12px;
  color:#0f172a;
}
#tarefas_list .tarefa-atendimento-texto{
  margin-top:4px;
  padding:8px 10px;
  border-radius:8px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  max-height:180px;
  overflow:auto;
}
#tarefas_list .tarefa-atendimento-texto p{
  margin:0 0 6px 0;
}
#tarefas_list .tarefa-atendimento-texto p:last-child{
  margin-bottom:0;
}
#tarefas_list tr.tarefa-linha-principal:has(+ .tarefa-atendimento-aba-row) td{
  border-bottom:0!important;
}


/* V3.7.14 - Tarefas: lista no padrão visual do módulo Processos */
#tarefas_list table.tarefas-table.tarefas-layout-processos{
  width:100%!important;
  max-width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos th{
  font-family:var(--font-main)!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.01em!important;
  color:var(--navy)!important;
  background:#f8fafc!important;
  border-bottom:1px solid #e5e7eb!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos td{
  font-family:var(--font-main)!important;
  font-size:13px!important;
  font-weight:500!important;
  color:#101828!important;
  vertical-align:middle!important;
  background:#fff!important;
  border-bottom:1px solid #eef2f7!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos td strong{
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.25!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos td small{
  font-size:11px!important;
  font-weight:650!important;
  color:#667085!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos .tarefa-linha-principal:hover td{
  background:#f9fafb!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(1),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(1){width:24%!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(2),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(2){width:10%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(3),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(3){width:15%!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(4),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(4){width:15%!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(5),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(5){width:8%!important;white-space:nowrap!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(6),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(6){width:9%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(7),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(7){width:9%!important;text-align:center!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos th:nth-child(8),
#tarefas_list table.tarefas-table.tarefas-layout-processos td:nth-child(8){width:10%!important;}
#tarefas_list table.tarefas-table.tarefas-layout-processos .processos-actions.processos-actions-compact{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos .processos-actions.processos-actions-compact button{
  width:auto!important;
  min-width:0!important;
  font-size:10.5px!important;
  padding:6px 7px!important;
  white-space:nowrap!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos .tarefa-atendimento-aba-row td{
  background:#f6f9ff!important;
  border-top:0!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos tr.tarefa-linha-principal:has(+ .tarefa-atendimento-aba-row) td{
  border-bottom:0!important;
}

/* V3.7.14 - Audiências: correção da coluna Hora na lista */
#audiencias_list{
  overflow-x:auto!important;
}
#audiencias_list table.lista-padrao{
  width:100%!important;
  min-width:1080px!important;
  table-layout:auto!important;
}
#audiencias_list table.lista-padrao th:nth-child(2),
#audiencias_list table.lista-padrao td:nth-child(2){
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
  text-align:center!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  vertical-align:middle!important;
}

/* V3.7.14 — Tema Noturno Suave
   Escopo visual: adiciona modo alternável sem alterar módulos, banco, rotas ou permissões. */
.theme-toggle-bryan{
  white-space:nowrap!important;
  min-width:136px!important;
}
body.theme-night-soft{
  --bg:#eef2f6;
  --card:#f8fafc;
  --text:#162033;
  --muted:#64748b;
  --line:#cbd5e1;
  --navy:#102a4c;
  --blue:#1d4f86;
  --gold:#b8892e;
  --shadow:0 14px 34px rgba(15,23,42,.10);
  background:linear-gradient(180deg,#e9eef5 0%,#f3f6fa 45%,#edf2f7 100%)!important;
  color:var(--text)!important;
}
body.theme-night-soft #login,
body.theme-night-soft .login-card,
body.theme-night-soft aside,
body.theme-night-soft header,
body.theme-night-soft .card,
body.theme-night-soft .stat,
body.theme-night-soft .step,
body.theme-night-soft table,
body.theme-night-soft .pagination-row,
body.theme-night-soft .permission-check,
body.theme-night-soft .perm-matrix-row,
body.theme-night-soft .kpi,
body.theme-night-soft .summary-card,
body.theme-night-soft .dash-card,
body.theme-night-soft .dash-v62-card,
body.theme-night-soft .agenda-dia{
  background:rgba(248,250,252,.96)!important;
  color:var(--text)!important;
  border-color:#cbd5e1!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
body.theme-night-soft aside{
  background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%)!important;
}
body.theme-night-soft header{
  background:rgba(248,250,252,.92)!important;
  backdrop-filter:saturate(1.08) blur(10px)!important;
}
body.theme-night-soft h1,
body.theme-night-soft h2,
body.theme-night-soft h3,
body.theme-night-soft h4,
body.theme-night-soft .brand strong,
body.theme-night-soft .stat strong,
body.theme-night-soft th{
  color:#102a4c!important;
}
body.theme-night-soft label,
body.theme-night-soft .brand span,
body.theme-night-soft .menu-title,
body.theme-night-soft .stat span,
body.theme-night-soft small,
body.theme-night-soft .dev{
  color:#64748b!important;
}
body.theme-night-soft input,
body.theme-night-soft select,
body.theme-night-soft textarea{
  background:#ffffff!important;
  color:#162033!important;
  border-color:#cbd5e1!important;
}
body.theme-night-soft input::placeholder,
body.theme-night-soft textarea::placeholder{
  color:#94a3b8!important;
}
body.theme-night-soft input:focus,
body.theme-night-soft select:focus,
body.theme-night-soft textarea:focus{
  border-color:#1d4f86!important;
  box-shadow:0 0 0 4px rgba(29,79,134,.14)!important;
}
body.theme-night-soft .secondary,
body.theme-night-soft button.secondary,
body.theme-night-soft .nav{
  background:#f8fafc!important;
  color:#1e3a5f!important;
  border-color:#d7dee8!important;
}
body.theme-night-soft .nav:hover,
body.theme-night-soft .nav.active,
body.theme-night-soft .secondary:hover:not(:disabled){
  background:#e8f0f8!important;
  color:#102a4c!important;
  border-color:#b8c7d9!important;
}
body.theme-night-soft .nav.active{
  border-left:4px solid var(--gold)!important;
  background:linear-gradient(90deg,#fff4dc,#eaf1f8)!important;
}
body.theme-night-soft th{
  background:#e8eef6!important;
  border-color:#cbd5e1!important;
}
body.theme-night-soft td{
  border-color:#d8e0ea!important;
}
body.theme-night-soft table tr:hover td{
  background:#eef4fb!important;
}
body.theme-night-soft .msg.info{
  background:#e8f2ff!important;
  color:#174a7c!important;
  border-color:#bdd7f4!important;
}
body.theme-night-soft .msg.ok{
  background:#e7f7ed!important;
  color:#166534!important;
  border-color:#bfe7cc!important;
}
body.theme-night-soft .msg.err{
  background:#fff0ee!important;
  color:#b42318!important;
  border-color:#f4c7c2!important;
}
body.theme-night-soft .primary{
  background:linear-gradient(135deg,#245b92,#102a4c)!important;
  color:#ffffff!important;
}
body.theme-night-soft a{
  color:#1d4f86!important;
}
body.theme-night-soft .theme-toggle-bryan{
  background:#102a4c!important;
  color:#ffffff!important;
  border-color:#102a4c!important;
}
@media print{
  body.theme-night-soft{background:#fff!important;color:#111827!important}
}


/* V3.7.14 — Fix botão tema: aceita classe no html ou no body */
html.theme-night-soft body{
  background:linear-gradient(180deg,#e9eef5 0%,#f3f6fa 45%,#edf2f7 100%)!important;
  color:#162033!important;
}
html.theme-night-soft body #login,
html.theme-night-soft body .login-card,
html.theme-night-soft body aside,
html.theme-night-soft body header,
html.theme-night-soft body .card,
html.theme-night-soft body .stat,
html.theme-night-soft body .step,
html.theme-night-soft body table,
html.theme-night-soft body .pagination-row,
html.theme-night-soft body .permission-check,
html.theme-night-soft body .perm-matrix-row,
html.theme-night-soft body .kpi,
html.theme-night-soft body .summary-card,
html.theme-night-soft body .dash-card,
html.theme-night-soft body .dash-v62-card,
html.theme-night-soft body .agenda-dia{
  background:rgba(248,250,252,.96)!important;
  color:#162033!important;
  border-color:#cbd5e1!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
html.theme-night-soft body aside{background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%)!important;}
html.theme-night-soft body header{background:rgba(248,250,252,.92)!important;backdrop-filter:saturate(1.08) blur(10px)!important;}
html.theme-night-soft body h1,
html.theme-night-soft body h2,
html.theme-night-soft body h3,
html.theme-night-soft body h4,
html.theme-night-soft body .brand strong,
html.theme-night-soft body .stat strong,
html.theme-night-soft body th{color:#102a4c!important;}
html.theme-night-soft body label,
html.theme-night-soft body .brand span,
html.theme-night-soft body .menu-title,
html.theme-night-soft body .stat span,
html.theme-night-soft body small,
html.theme-night-soft body .dev{color:#64748b!important;}
html.theme-night-soft body input,
html.theme-night-soft body select,
html.theme-night-soft body textarea{background:#fff!important;color:#162033!important;border-color:#cbd5e1!important;}
html.theme-night-soft body .secondary,
html.theme-night-soft body button.secondary,
html.theme-night-soft body .nav{background:#f8fafc!important;color:#1e3a5f!important;border-color:#d7dee8!important;}
html.theme-night-soft body .nav:hover,
html.theme-night-soft body .nav.active,
html.theme-night-soft body .secondary:hover:not(:disabled){background:#e8f0f8!important;color:#102a4c!important;border-color:#b8c7d9!important;}
html.theme-night-soft body .nav.active{border-left:4px solid #b8892e!important;background:linear-gradient(90deg,#fff4dc,#eaf1f8)!important;}
html.theme-night-soft body th{background:#e8eef6!important;border-color:#cbd5e1!important;}
html.theme-night-soft body td{border-color:#d8e0ea!important;}
html.theme-night-soft body table tr:hover td{background:#eef4fb!important;}
html.theme-night-soft body .primary{background:linear-gradient(135deg,#245b92,#102a4c)!important;color:#fff!important;}
html.theme-night-soft body a{color:#1d4f86!important;}
html.theme-night-soft body .theme-toggle-bryan{background:#102a4c!important;color:#fff!important;border-color:#102a4c!important;}

/* V3.7.14 — Tema Noturno Suave FUNCIONAL
   Regra final dominante: funciona com classe no html ou no body. */
html.theme-night-soft,
body.theme-night-soft{
  background:#1f2937!important;
  color:#e5e7eb!important;
}
html.theme-night-soft body,
body.theme-night-soft{
  background:linear-gradient(180deg,#1f2937 0%,#243044 45%,#1f2937 100%)!important;
  color:#e5e7eb!important;
}
html.theme-night-soft #app,
body.theme-night-soft #app{
  background:transparent!important;
  color:#e5e7eb!important;
}
html.theme-night-soft aside,
html.theme-night-soft header,
html.theme-night-soft .card,
html.theme-night-soft .stat,
html.theme-night-soft .step,
html.theme-night-soft table,
html.theme-night-soft .pagination-row,
html.theme-night-soft .permission-check,
html.theme-night-soft .perm-matrix-row,
html.theme-night-soft .kpi,
html.theme-night-soft .summary-card,
html.theme-night-soft .dash-card,
html.theme-night-soft .dash-v62-card,
html.theme-night-soft .agenda-dia,
body.theme-night-soft aside,
body.theme-night-soft header,
body.theme-night-soft .card,
body.theme-night-soft .stat,
body.theme-night-soft .step,
body.theme-night-soft table,
body.theme-night-soft .pagination-row,
body.theme-night-soft .permission-check,
body.theme-night-soft .perm-matrix-row,
body.theme-night-soft .kpi,
body.theme-night-soft .summary-card,
body.theme-night-soft .dash-card,
body.theme-night-soft .dash-v62-card,
body.theme-night-soft .agenda-dia{
  background:#273449!important;
  color:#e5e7eb!important;
  border-color:#3b4a63!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
}
html.theme-night-soft aside,
body.theme-night-soft aside{
  background:linear-gradient(180deg,#263246 0%,#202b3d 100%)!important;
}
html.theme-night-soft header,
body.theme-night-soft header{
  background:rgba(39,52,73,.96)!important;
  border-color:#3b4a63!important;
}
html.theme-night-soft h1,
html.theme-night-soft h2,
html.theme-night-soft h3,
html.theme-night-soft h4,
html.theme-night-soft .brand strong,
html.theme-night-soft .stat strong,
html.theme-night-soft th,
body.theme-night-soft h1,
body.theme-night-soft h2,
body.theme-night-soft h3,
body.theme-night-soft h4,
body.theme-night-soft .brand strong,
body.theme-night-soft .stat strong,
body.theme-night-soft th{
  color:#f8fafc!important;
}
html.theme-night-soft label,
html.theme-night-soft .brand span,
html.theme-night-soft .menu-title,
html.theme-night-soft .stat span,
html.theme-night-soft small,
html.theme-night-soft .dev,
body.theme-night-soft label,
body.theme-night-soft .brand span,
body.theme-night-soft .menu-title,
body.theme-night-soft .stat span,
body.theme-night-soft small,
body.theme-night-soft .dev{
  color:#cbd5e1!important;
}
html.theme-night-soft input,
html.theme-night-soft select,
html.theme-night-soft textarea,
body.theme-night-soft input,
body.theme-night-soft select,
body.theme-night-soft textarea{
  background:#1f2937!important;
  color:#f8fafc!important;
  border-color:#4b5f7a!important;
}
html.theme-night-soft input::placeholder,
html.theme-night-soft textarea::placeholder,
body.theme-night-soft input::placeholder,
body.theme-night-soft textarea::placeholder{
  color:#94a3b8!important;
}
html.theme-night-soft .secondary,
html.theme-night-soft button.secondary,
html.theme-night-soft .nav,
body.theme-night-soft .secondary,
body.theme-night-soft button.secondary,
body.theme-night-soft .nav{
  background:#2f3d54!important;
  color:#e5e7eb!important;
  border-color:#4b5f7a!important;
}
html.theme-night-soft .nav:hover,
html.theme-night-soft .nav.active,
html.theme-night-soft .secondary:hover:not(:disabled),
body.theme-night-soft .nav:hover,
body.theme-night-soft .nav.active,
body.theme-night-soft .secondary:hover:not(:disabled){
  background:#3b4a63!important;
  color:#ffffff!important;
  border-color:#6b7f9d!important;
}
html.theme-night-soft .nav.active,
body.theme-night-soft .nav.active{
  border-left:4px solid #d6a64a!important;
  background:linear-gradient(90deg,#3b4a63,#2f3d54)!important;
}
html.theme-night-soft th,
body.theme-night-soft th{
  background:#334155!important;
  border-color:#4b5f7a!important;
}
html.theme-night-soft td,
body.theme-night-soft td{
  border-color:#3b4a63!important;
  color:#e5e7eb!important;
}
html.theme-night-soft table tr:hover td,
body.theme-night-soft table tr:hover td{
  background:#334155!important;
}
html.theme-night-soft .primary,
body.theme-night-soft .primary{
  background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;
  color:#ffffff!important;
}
html.theme-night-soft a,
body.theme-night-soft a{
  color:#93c5fd!important;
}
html.theme-night-soft .theme-toggle-bryan,
body.theme-night-soft .theme-toggle-bryan{
  background:#f8fafc!important;
  color:#1f2937!important;
  border-color:#f8fafc!important;
}
html.theme-night-soft .msg.info,
body.theme-night-soft .msg.info{
  background:#1e3a5f!important;
  color:#dbeafe!important;
  border-color:#3b82f6!important;
}
html.theme-night-soft .msg.ok,
body.theme-night-soft .msg.ok{
  background:#14532d!important;
  color:#dcfce7!important;
  border-color:#22c55e!important;
}
html.theme-night-soft .msg.err,
body.theme-night-soft .msg.err{
  background:#7f1d1d!important;
  color:#fee2e2!important;
  border-color:#ef4444!important;
}

/* V3.7.14 — Refinamento visual do Tema Noturno Suave
   Menu acompanha o tema; cards levemente mais claros que o fundo; texto com contraste equilibrado. */
html.theme-night-soft,
body.theme-night-soft{
  background:#252d3a!important;
  color:#e9eef6!important;
}
html.theme-night-soft body,
body.theme-night-soft{
  background:linear-gradient(180deg,#252d3a 0%,#293344 48%,#232b37 100%)!important;
  color:#e9eef6!important;
}
html.theme-night-soft #app,
body.theme-night-soft #app{
  background:transparent!important;
  color:#e9eef6!important;
}

/* Menu lateral */
html.theme-night-soft body aside,
body.theme-night-soft aside{
  background:linear-gradient(180deg,#2b3545 0%,#26303f 100%)!important;
  border-right:1px solid #3c495b!important;
  color:#e9eef6!important;
  box-shadow:8px 0 24px rgba(0,0,0,.18)!important;
}
html.theme-night-soft body aside .brand-mini,
html.theme-night-soft body aside .brand,
body.theme-night-soft aside .brand-mini,
body.theme-night-soft aside .brand{
  background:transparent!important;
  color:#f3f6fb!important;
}
html.theme-night-soft body aside .brand strong,
html.theme-night-soft body aside .brand-mini strong,
body.theme-night-soft aside .brand strong,
body.theme-night-soft aside .brand-mini strong{
  color:#f8fafc!important;
}
html.theme-night-soft body aside .brand span,
html.theme-night-soft body aside .menu-title,
body.theme-night-soft aside .brand span,
body.theme-night-soft aside .menu-title{
  color:#b9c5d4!important;
}
html.theme-night-soft body aside .nav,
body.theme-night-soft aside .nav{
  background:#303b4d!important;
  color:#e6edf6!important;
  border-color:#435166!important;
  box-shadow:none!important;
}
html.theme-night-soft body aside .nav:hover,
body.theme-night-soft aside .nav:hover{
  background:#38475c!important;
  color:#ffffff!important;
  border-color:#56677f!important;
}
html.theme-night-soft body aside .nav.active,
body.theme-night-soft aside .nav.active{
  background:linear-gradient(90deg,#465772 0%,#36465d 100%)!important;
  color:#ffffff!important;
  border-color:#667997!important;
  border-left:4px solid #d3a753!important;
}
html.theme-night-soft body aside .nav.danger,
body.theme-night-soft aside .nav.danger{
  background:#3a3038!important;
  color:#ffd7d7!important;
  border-color:#684755!important;
}

/* Topo */
html.theme-night-soft body header,
body.theme-night-soft header{
  background:rgba(43,53,69,.94)!important;
  border-bottom:1px solid #3c495b!important;
  color:#e9eef6!important;
  backdrop-filter:saturate(1.08) blur(10px)!important;
}

/* Cards e blocos: um pouco mais claros que o fundo */
html.theme-night-soft body .card,
html.theme-night-soft body .stat,
html.theme-night-soft body .step,
html.theme-night-soft body table,
html.theme-night-soft body .pagination-row,
html.theme-night-soft body .permission-check,
html.theme-night-soft body .perm-matrix-row,
html.theme-night-soft body .kpi,
html.theme-night-soft body .summary-card,
html.theme-night-soft body .dash-card,
html.theme-night-soft body .dash-v62-card,
html.theme-night-soft body .agenda-dia,
html.theme-night-soft body .login-card,
body.theme-night-soft .card,
body.theme-night-soft .stat,
body.theme-night-soft .step,
body.theme-night-soft table,
body.theme-night-soft .pagination-row,
body.theme-night-soft .permission-check,
body.theme-night-soft .perm-matrix-row,
body.theme-night-soft .kpi,
body.theme-night-soft .summary-card,
body.theme-night-soft .dash-card,
body.theme-night-soft .dash-v62-card,
body.theme-night-soft .agenda-dia,
body.theme-night-soft .login-card{
  background:#303b4d!important;
  color:#e9eef6!important;
  border-color:#435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}
html.theme-night-soft body .card .card,
html.theme-night-soft body .dash-card .card,
body.theme-night-soft .card .card,
body.theme-night-soft .dash-card .card{
  background:#354258!important;
}

/* Textos */
html.theme-night-soft body h1,
html.theme-night-soft body h2,
html.theme-night-soft body h3,
html.theme-night-soft body h4,
html.theme-night-soft body h5,
html.theme-night-soft body h6,
html.theme-night-soft body .brand strong,
html.theme-night-soft body .stat strong,
html.theme-night-soft body th,
body.theme-night-soft h1,
body.theme-night-soft h2,
body.theme-night-soft h3,
body.theme-night-soft h4,
body.theme-night-soft h5,
body.theme-night-soft h6,
body.theme-night-soft .brand strong,
body.theme-night-soft .stat strong,
body.theme-night-soft th{
  color:#f8fafc!important;
}
html.theme-night-soft body,
html.theme-night-soft body p,
html.theme-night-soft body td,
html.theme-night-soft body li,
body.theme-night-soft,
body.theme-night-soft p,
body.theme-night-soft td,
body.theme-night-soft li{
  color:#e9eef6!important;
}
html.theme-night-soft body label,
html.theme-night-soft body small,
html.theme-night-soft body .muted,
html.theme-night-soft body .hint,
html.theme-night-soft body .dev,
html.theme-night-soft body .stat span,
body.theme-night-soft label,
body.theme-night-soft small,
body.theme-night-soft .muted,
body.theme-night-soft .hint,
body.theme-night-soft .dev,
body.theme-night-soft .stat span{
  color:#bac6d6!important;
}

/* Tabelas */
html.theme-night-soft body th,
body.theme-night-soft th{
  background:#3a475c!important;
  border-color:#506075!important;
}
html.theme-night-soft body td,
body.theme-night-soft td{
  border-color:#46556a!important;
}
html.theme-night-soft body table tr:hover td,
body.theme-night-soft table tr:hover td{
  background:#3a485f!important;
}

/* Formulários */
html.theme-night-soft body input,
html.theme-night-soft body select,
html.theme-night-soft body textarea,
body.theme-night-soft input,
body.theme-night-soft select,
body.theme-night-soft textarea{
  background:#273141!important;
  color:#f8fafc!important;
  border-color:#52647d!important;
}
html.theme-night-soft body input::placeholder,
html.theme-night-soft body textarea::placeholder,
body.theme-night-soft input::placeholder,
body.theme-night-soft textarea::placeholder{
  color:#a9b6c8!important;
}
html.theme-night-soft body input:focus,
html.theme-night-soft body select:focus,
html.theme-night-soft body textarea:focus,
body.theme-night-soft input:focus,
body.theme-night-soft select:focus,
body.theme-night-soft textarea:focus{
  border-color:#87a8d8!important;
  box-shadow:0 0 0 4px rgba(135,168,216,.18)!important;
}

/* Botões e links */
html.theme-night-soft body .primary,
body.theme-night-soft .primary{
  background:linear-gradient(135deg,#3f72ad,#285184)!important;
  color:#ffffff!important;
  border-color:#4f83bf!important;
}
html.theme-night-soft body .secondary,
html.theme-night-soft body button.secondary,
body.theme-night-soft .secondary,
body.theme-night-soft button.secondary{
  background:#344256!important;
  color:#eef4fb!important;
  border-color:#51627a!important;
}
html.theme-night-soft body .secondary:hover:not(:disabled),
body.theme-night-soft .secondary:hover:not(:disabled){
  background:#3d4d64!important;
  color:#ffffff!important;
}
html.theme-night-soft body a,
body.theme-night-soft a{
  color:#9fc5ff!important;
}
html.theme-night-soft body .theme-toggle-bryan,
body.theme-night-soft .theme-toggle-bryan{
  background:#e9eef6!important;
  color:#26303f!important;
  border-color:#e9eef6!important;
}

/* V3.7.14 — Tema noturno: padronização final dos cards do Dashboard, editores, permissões e bloco do menu
   Escopo visual. Não altera lógica, rotas, permissões, banco ou backend. */
html.theme-night-soft body #dashboard .card,
html.theme-night-soft body #dashboard .stat,
html.theme-night-soft body #dashboard .dash-card,
html.theme-night-soft body #dashboard .dash-v62-card,
html.theme-night-soft body #dashboard .dash-smart .card,
html.theme-night-soft body #dashboard #dash_produtividade_mes,
html.theme-night-soft body #dashboard #dash_saude_operacional_card,
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas,
html.theme-night-soft body #dashboard .dash-v62-bloco-audiencias,
html.theme-night-soft body #dashboard .dash-v62-bloco-documentos,
html.theme-night-soft body #dashboard .dash-v62-bloco-atendimentos,
html.theme-night-soft body #dashboard .dash-v62-bloco-financeiro,
html.theme-night-soft body #dashboard .dash-v62-bloco-processos,
html.theme-night-soft body #dashboard .dash-v62-bloco-indicadores,
body.theme-night-soft #dashboard .card,
body.theme-night-soft #dashboard .stat,
body.theme-night-soft #dashboard .dash-card,
body.theme-night-soft #dashboard .dash-v62-card,
body.theme-night-soft #dashboard .dash-smart .card,
body.theme-night-soft #dashboard #dash_produtividade_mes,
body.theme-night-soft #dashboard #dash_saude_operacional_card,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas,
body.theme-night-soft #dashboard .dash-v62-bloco-audiencias,
body.theme-night-soft #dashboard .dash-v62-bloco-documentos,
body.theme-night-soft #dashboard .dash-v62-bloco-atendimentos,
body.theme-night-soft #dashboard .dash-v62-bloco-financeiro,
body.theme-night-soft #dashboard .dash-v62-bloco-processos,
body.theme-night-soft #dashboard .dash-v62-bloco-indicadores{
  background:#303b4d!important;
  color:#e9eef6!important;
  border-color:#435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}

html.theme-night-soft body #dashboard .card h2,
html.theme-night-soft body #dashboard .card h3,
html.theme-night-soft body #dashboard .stat strong,
html.theme-night-soft body #dashboard #dash_produtividade_mes h2,
html.theme-night-soft body #dashboard #dash_saude_operacional_card h2,
html.theme-night-soft body #dashboard .dash-card-title,
html.theme-night-soft body #dashboard .dash-v62-section-title,
body.theme-night-soft #dashboard .card h2,
body.theme-night-soft #dashboard .card h3,
body.theme-night-soft #dashboard .stat strong,
body.theme-night-soft #dashboard #dash_produtividade_mes h2,
body.theme-night-soft #dashboard #dash_saude_operacional_card h2,
body.theme-night-soft #dashboard .dash-card-title,
body.theme-night-soft #dashboard .dash-v62-section-title{
  color:#f8fafc!important;
}

html.theme-night-soft body #dashboard .card small,
html.theme-night-soft body #dashboard .stat span,
html.theme-night-soft body #dashboard .dash-card-subtitle,
html.theme-night-soft body #dashboard .muted,
body.theme-night-soft #dashboard .card small,
body.theme-night-soft #dashboard .stat span,
body.theme-night-soft #dashboard .dash-card-subtitle,
body.theme-night-soft #dashboard .muted{
  color:#bac6d6!important;
}

html.theme-night-soft body #dashboard table,
html.theme-night-soft body #dashboard .card table,
html.theme-night-soft body #dashboard .dash-smart .card table,
body.theme-night-soft #dashboard table,
body.theme-night-soft #dashboard .card table,
body.theme-night-soft #dashboard .dash-smart .card table{
  background:transparent!important;
  border-color:#435166!important;
  box-shadow:none!important;
}

html.theme-night-soft body #dashboard .card th,
html.theme-night-soft body #dashboard .dash-smart .card th,
body.theme-night-soft #dashboard .card th,
body.theme-night-soft #dashboard .dash-smart .card th{
  background:#354258!important;
  color:#d8e2ef!important;
  border-color:#4d5f76!important;
}

html.theme-night-soft body #dashboard .card td,
html.theme-night-soft body #dashboard .dash-smart .card td,
body.theme-night-soft #dashboard .card td,
body.theme-night-soft #dashboard .dash-smart .card td{
  color:#e9eef6!important;
  border-color:#435166!important;
}

html.theme-night-soft body #dashboard .card tr:hover td,
html.theme-night-soft body #dashboard .dash-smart .card tr:hover td,
body.theme-night-soft #dashboard .card tr:hover td,
body.theme-night-soft #dashboard .dash-smart .card tr:hover td{
  background:#354258!important;
}

html.theme-night-soft body #dashboard .dash-badge,
html.theme-night-soft body #dashboard .dash-health div,
html.theme-night-soft body #dashboard .dash-health-item,
html.theme-night-soft body #dashboard .dash-health > div,
html.theme-night-soft body #dashboard .prod-resumo,
html.theme-night-soft body #dashboard .dash-v62-resumo-item,
html.theme-night-soft body #dashboard .dash-doc-item,
html.theme-night-soft body #dashboard .dash-atendimento-item,
html.theme-night-soft body #dashboard .dash-link-card,
html.theme-night-soft body #dashboard .dash-mini-link-row,
html.theme-night-soft body #dashboard .msg,
body.theme-night-soft #dashboard .dash-badge,
body.theme-night-soft #dashboard .dash-health div,
body.theme-night-soft #dashboard .dash-health-item,
body.theme-night-soft #dashboard .dash-health > div,
body.theme-night-soft #dashboard .prod-resumo,
body.theme-night-soft #dashboard .dash-v62-resumo-item,
body.theme-night-soft #dashboard .dash-doc-item,
body.theme-night-soft #dashboard .dash-atendimento-item,
body.theme-night-soft #dashboard .dash-link-card,
body.theme-night-soft #dashboard .dash-mini-link-row,
body.theme-night-soft #dashboard .msg{
  background:#354258!important;
  color:#e9eef6!important;
  border-color:#4d5f76!important;
}

html.theme-night-soft body #dashboard .dash-health-internet.ok,
body.theme-night-soft #dashboard .dash-health-internet.ok{
  background:#253f35!important;
  border-color:#3f7a58!important;
}
html.theme-night-soft body #dashboard .dash-health-internet.ok strong,
body.theme-night-soft #dashboard .dash-health-internet.ok strong{
  color:#bbf7d0!important;
}
html.theme-night-soft body #dashboard .dash-health-internet.warn,
body.theme-night-soft #dashboard .dash-health-internet.warn{
  background:#4b2f36!important;
  border-color:#8b4b55!important;
}
html.theme-night-soft body #dashboard .dash-health-internet.warn strong,
body.theme-night-soft #dashboard .dash-health-internet.warn strong{
  color:#fecaca!important;
}

html.theme-night-soft body #dashboard a,
html.theme-night-soft body #dashboard .card a,
html.theme-night-soft body #dashboard .dash-smart .card a,
html.theme-night-soft body #dashboard #dash_produtividade_mes a,
html.theme-night-soft body #dashboard #dash_saude_operacional_card a,
body.theme-night-soft #dashboard a,
body.theme-night-soft #dashboard .card a,
body.theme-night-soft #dashboard .dash-smart .card a,
body.theme-night-soft #dashboard #dash_produtividade_mes a,
body.theme-night-soft #dashboard #dash_saude_operacional_card a{
  color:#9fc5ff!important;
}

/* Editores formatados no mesmo tom dos demais campos do formulário */
html.theme-night-soft body .bh-rich-editor,
body.theme-night-soft .bh-rich-editor{
  background:#273141!important;
  border-color:#52647d!important;
  box-shadow:none!important;
}
html.theme-night-soft body .bh-rich-toolbar,
body.theme-night-soft .bh-rich-toolbar{
  background:#273141!important;
  border-color:#52647d!important;
}
html.theme-night-soft body .bh-rich-area,
body.theme-night-soft .bh-rich-area{
  background:#273141!important;
  color:#f8fafc!important;
  border-color:#52647d!important;
}
html.theme-night-soft body .bh-rich-toolbar button,
html.theme-night-soft body .bh-rich-toolbar select,
body.theme-night-soft .bh-rich-toolbar button,
body.theme-night-soft .bh-rich-toolbar select{
  background:#344256!important;
  color:#eef4fb!important;
  border-color:#51627a!important;
}
html.theme-night-soft body .bh-rich-toolbar button:hover,
html.theme-night-soft body .bh-rich-toolbar select:hover,
body.theme-night-soft .bh-rich-toolbar button:hover,
body.theme-night-soft .bh-rich-toolbar select:hover{
  background:#3d4d64!important;
  color:#ffffff!important;
  border-color:#87a8d8!important;
}
html.theme-night-soft body .bh-rich-toolbar .sep,
body.theme-night-soft .bh-rich-toolbar .sep{
  background:#52647d!important;
}

/* Permissões por módulo e ação no mesmo tom dos cards */
html.theme-night-soft body #usuarios .usuarios-permissoes-card,
html.theme-night-soft body #usuarios .permissions-grid,
html.theme-night-soft body #usuarios .perm-matrix,
html.theme-night-soft body #usuarios .permission-check,
html.theme-night-soft body #usuarios .perm-matrix-row,
body.theme-night-soft #usuarios .usuarios-permissoes-card,
body.theme-night-soft #usuarios .permissions-grid,
body.theme-night-soft #usuarios .perm-matrix,
body.theme-night-soft #usuarios .permission-check,
body.theme-night-soft #usuarios .perm-matrix-row{
  background:#303b4d!important;
  color:#e9eef6!important;
  border-color:#435166!important;
  box-shadow:none!important;
}
html.theme-night-soft body #usuarios .perm-matrix-header,
body.theme-night-soft #usuarios .perm-matrix-header{
  background:#354258!important;
  color:#f8fafc!important;
  border-color:#4d5f76!important;
}
html.theme-night-soft body #usuarios .permission-check:hover,
html.theme-night-soft body #usuarios .perm-matrix-row:hover,
body.theme-night-soft #usuarios .permission-check:hover,
body.theme-night-soft #usuarios .perm-matrix-row:hover{
  background:#354258!important;
  border-color:#4d5f76!important;
}
html.theme-night-soft body #usuarios .permission-module,
html.theme-night-soft body #usuarios .permission-access,
html.theme-night-soft body #usuarios .permission-action,
body.theme-night-soft #usuarios .permission-module,
body.theme-night-soft #usuarios .permission-access,
body.theme-night-soft #usuarios .permission-action{
  color:#e9eef6!important;
}

/* Bloco arredondado do menu no tema escuro: mesmo tom dos cards e logo escura */
html.theme-night-soft body aside .brand-mini.brand-menu-top,
html.theme-night-soft body aside .brand.brand-menu-top,
body.theme-night-soft aside .brand-mini.brand-menu-top,
body.theme-night-soft aside .brand.brand-menu-top{
  background:#303b4d!important;
  color:#e9eef6!important;
  border:1px solid #435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}
html.theme-night-soft body aside .brand-mini.brand-menu-top strong,
html.theme-night-soft body aside .brand.brand-menu-top strong,
body.theme-night-soft aside .brand-mini.brand-menu-top strong,
body.theme-night-soft aside .brand.brand-menu-top strong{
  color:#ffffff!important;
  letter-spacing:.02em!important;
}
html.theme-night-soft body aside .brand-mini.brand-menu-top span,
html.theme-night-soft body aside .brand.brand-menu-top span,
body.theme-night-soft aside .brand-mini.brand-menu-top span,
body.theme-night-soft aside .brand.brand-menu-top span{
  color:#d7e3f7!important;
}
html.theme-night-soft body aside .brand-mini.brand-menu-top .brand-logo-image,
html.theme-night-soft body aside .brand.brand-menu-top .brand-logo-image,
body.theme-night-soft aside .brand-mini.brand-menu-top .brand-logo-image,
body.theme-night-soft aside .brand.brand-menu-top .brand-logo-image{
  filter:none!important;
}


/* V3.7.14 — Tema noturno: login preservado
   No login, o modo noturno altera apenas o fundo externo; cartão, campos, textos e botão mantêm o padrão claro. */
html.theme-night-soft body.login-open #login,
body.theme-night-soft.login-open #login,
html.theme-night-soft body:not(.app-open) #login,
body.theme-night-soft:not(.app-open) #login{
  background:#eef2f6!important;
  color:#101828!important;
}
html.theme-night-soft body.login-open #login .login-card,
body.theme-night-soft.login-open #login .login-card,
html.theme-night-soft body:not(.app-open) #login .login-card,
body.theme-night-soft:not(.app-open) #login .login-card{
  background:#ffffff!important;
  color:#101828!important;
  border-color:#e5e7eb!important;
  box-shadow:0 14px 38px rgba(16,24,40,.08)!important;
}
html.theme-night-soft body.login-open #login .login-logo,
body.theme-night-soft.login-open #login .login-logo,
html.theme-night-soft body:not(.app-open) #login .login-logo,
body.theme-night-soft:not(.app-open) #login .login-logo{
  background:transparent!important;
}
html.theme-night-soft body.login-open #login h1,
html.theme-night-soft body.login-open #login h2,
html.theme-night-soft body.login-open #login h3,
body.theme-night-soft.login-open #login h1,
body.theme-night-soft.login-open #login h2,
body.theme-night-soft.login-open #login h3,
html.theme-night-soft body:not(.app-open) #login h1,
html.theme-night-soft body:not(.app-open) #login h2,
html.theme-night-soft body:not(.app-open) #login h3,
body.theme-night-soft:not(.app-open) #login h1,
body.theme-night-soft:not(.app-open) #login h2,
body.theme-night-soft:not(.app-open) #login h3{
  color:#0b1f3a!important;
}
html.theme-night-soft body.login-open #login label,
body.theme-night-soft.login-open #login label,
html.theme-night-soft body:not(.app-open) #login label,
body.theme-night-soft:not(.app-open) #login label{
  color:#667085!important;
}
html.theme-night-soft body.login-open #login input,
html.theme-night-soft body.login-open #login select,
html.theme-night-soft body.login-open #login textarea,
body.theme-night-soft.login-open #login input,
body.theme-night-soft.login-open #login select,
body.theme-night-soft.login-open #login textarea,
html.theme-night-soft body:not(.app-open) #login input,
html.theme-night-soft body:not(.app-open) #login select,
html.theme-night-soft body:not(.app-open) #login textarea,
body.theme-night-soft:not(.app-open) #login input,
body.theme-night-soft:not(.app-open) #login select,
body.theme-night-soft:not(.app-open) #login textarea{
  background:#ffffff!important;
  color:#101828!important;
  border-color:#e5e7eb!important;
}
html.theme-night-soft body.login-open #login input::placeholder,
body.theme-night-soft.login-open #login input::placeholder,
html.theme-night-soft body:not(.app-open) #login input::placeholder,
body.theme-night-soft:not(.app-open) #login input::placeholder{
  color:#98a2b3!important;
}
html.theme-night-soft body.login-open #login input:focus,
body.theme-night-soft.login-open #login input:focus,
html.theme-night-soft body:not(.app-open) #login input:focus,
body.theme-night-soft:not(.app-open) #login input:focus{
  border-color:#143967!important;
  box-shadow:0 0 0 4px rgba(20,57,103,.10)!important;
}
html.theme-night-soft body.login-open #login .primary,
body.theme-night-soft.login-open #login .primary,
html.theme-night-soft body:not(.app-open) #login .primary,
body.theme-night-soft:not(.app-open) #login .primary{
  background:linear-gradient(135deg,#143967,#0b1f3a)!important;
  color:#ffffff!important;
}
html.theme-night-soft body.login-open #login .msg,
body.theme-night-soft.login-open #login .msg,
html.theme-night-soft body:not(.app-open) #login .msg,
body.theme-night-soft:not(.app-open) #login .msg{
  background:#ffffff!important;
  color:#101828!important;
  border-color:#e5e7eb!important;
}

/* V3.7.14 - Tema noturno: ajustes finais de tabelas e cards internos do dashboard */
/* Tabelas: cantos arredondados no card geral, inclusive quando a tabela estiver dentro de cards do Dashboard */
table,
.lista-padrao,
.tarefas-table,
.dash-table,
#dashboard table,
#dashboard .card table,
#dashboard .dash-smart .card table{
  border-collapse:separate!important;
  border-spacing:0!important;
  border-radius:16px!important;
  overflow:hidden!important;
}

/* Mantém cabeçalhos e últimas linhas acompanhando o arredondamento */
table thead tr:first-child th:first-child,
#dashboard table thead tr:first-child th:first-child,
#dashboard .card table thead tr:first-child th:first-child{border-top-left-radius:16px!important;}
table thead tr:first-child th:last-child,
#dashboard table thead tr:first-child th:last-child,
#dashboard .card table thead tr:first-child th:last-child{border-top-right-radius:16px!important;}
table tbody tr:last-child td:first-child,
#dashboard table tbody tr:last-child td:first-child,
#dashboard .card table tbody tr:last-child td:first-child{border-bottom-left-radius:16px!important;}
table tbody tr:last-child td:last-child,
#dashboard table tbody tr:last-child td:last-child,
#dashboard .card table tbody tr:last-child td:last-child{border-bottom-right-radius:16px!important;}

/* Tema noturno: cards de Produtividade do mês no mesmo tom dos cards dos módulos */
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-resumo,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-leitura,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-resumo,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-leitura{
  background:#303b4d!important;
  border-color:#435166!important;
  color:#e9eef6!important;
  box-shadow:none!important;
}
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-resumo span,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item span,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-resumo small,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item small,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-leitura,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-resumo span,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item span,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-resumo small,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item small,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-leitura{
  color:#cbd5e1!important;
}
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-resumo strong,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item strong,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-leitura strong,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-resumo strong,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item strong,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-leitura strong{
  color:#f8fafc!important;
}
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item.ok,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item.danger,
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-item.info,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item.ok,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item.danger,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-item.info{
  background:#303b4d!important;
  border-color:#435166!important;
}
html.theme-night-soft body #dashboard #dash_produtividade_mes .prod-barra,
body.theme-night-soft #dashboard #dash_produtividade_mes .prod-barra{
  background:#435166!important;
}

/* Tema noturno: Indicadores do escritório no mesmo tom dos cards dos módulos */
html.theme-night-soft body #graficos_dashboard .bh-office-indicators,
body.theme-night-soft #graficos_dashboard .bh-office-indicators{
  background:#303b4d!important;
  border:1px solid #435166!important;
  border-radius:24px!important;
  box-shadow:none!important;
  color:#e9eef6!important;
}
html.theme-night-soft body #graficos_dashboard .bh-kpi-card,
html.theme-night-soft body #graficos_dashboard .bh-chart-card,
body.theme-night-soft #graficos_dashboard .bh-kpi-card,
body.theme-night-soft #graficos_dashboard .bh-chart-card{
  background:#303b4d!important;
  border-color:#435166!important;
  color:#e9eef6!important;
  box-shadow:none!important;
}
html.theme-night-soft body #graficos_dashboard .bh-office-head h2,
html.theme-night-soft body #graficos_dashboard .bh-chart-title h3,
html.theme-night-soft body #graficos_dashboard .bh-kpi-card strong,
html.theme-night-soft body #graficos_dashboard .bh-chart-number,
body.theme-night-soft #graficos_dashboard .bh-office-head h2,
body.theme-night-soft #graficos_dashboard .bh-chart-title h3,
body.theme-night-soft #graficos_dashboard .bh-kpi-card strong,
body.theme-night-soft #graficos_dashboard .bh-chart-number{
  color:#f8fafc!important;
}
html.theme-night-soft body #graficos_dashboard .bh-office-head p,
html.theme-night-soft body #graficos_dashboard .bh-kpi-card span,
html.theme-night-soft body #graficos_dashboard .bh-chart-title span,
html.theme-night-soft body #graficos_dashboard .bh-chart-label,
html.theme-night-soft body #graficos_dashboard .bh-chart-meta,
body.theme-night-soft #graficos_dashboard .bh-office-head p,
body.theme-night-soft #graficos_dashboard .bh-kpi-card span,
body.theme-night-soft #graficos_dashboard .bh-chart-title span,
body.theme-night-soft #graficos_dashboard .bh-chart-label,
body.theme-night-soft #graficos_dashboard .bh-chart-meta{
  color:#cbd5e1!important;
}
html.theme-night-soft body #graficos_dashboard .bh-chart-track,
body.theme-night-soft #graficos_dashboard .bh-chart-track{
  background:#435166!important;
}

/* Tema noturno: tabelas do Dashboard no mesmo tom dos cards, com pontas arredondadas */
html.theme-night-soft body #dashboard table,
html.theme-night-soft body #dashboard .card table,
html.theme-night-soft body #dashboard .dash-smart .card table,
body.theme-night-soft #dashboard table,
body.theme-night-soft #dashboard .card table,
body.theme-night-soft #dashboard .dash-smart .card table{
  background:#303b4d!important;
  border-color:#435166!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
html.theme-night-soft body #dashboard th,
html.theme-night-soft body #dashboard .card th,
body.theme-night-soft #dashboard th,
body.theme-night-soft #dashboard .card th{
  background:#354258!important;
  color:#f8fafc!important;
  border-color:#4d5f76!important;
}
html.theme-night-soft body #dashboard td,
html.theme-night-soft body #dashboard .card td,
body.theme-night-soft #dashboard td,
body.theme-night-soft #dashboard .card td{
  background:#303b4d!important;
  color:#e9eef6!important;
  border-color:#435166!important;
}
html.theme-night-soft body #dashboard tr:hover td,
html.theme-night-soft body #dashboard .card tr:hover td,
body.theme-night-soft #dashboard tr:hover td,
body.theme-night-soft #dashboard .card tr:hover td{
  background:#354258!important;
}

/* V3.7.14 — Correção login tema noturno: escuro somente na tela geral, card preservado claro */
html.theme-night-soft body.login-open,
body.theme-night-soft.login-open,
html.theme-night-soft body:not(.app-open),
body.theme-night-soft:not(.app-open){
  background:linear-gradient(180deg,#252d3a 0%,#293344 48%,#232b37 100%)!important;
}
html.theme-night-soft body.login-open #login,
body.theme-night-soft.login-open #login,
html.theme-night-soft body:not(.app-open) #login,
body.theme-night-soft:not(.app-open) #login{
  background:linear-gradient(180deg,#252d3a 0%,#293344 48%,#232b37 100%)!important;
  color:#101828!important;
}
html.theme-night-soft body.login-open #login .login-card,
body.theme-night-soft.login-open #login .login-card,
html.theme-night-soft body:not(.app-open) #login .login-card,
body.theme-night-soft:not(.app-open) #login .login-card{
  background:#ffffff!important;
  color:#101828!important;
  border-color:#e5e7eb!important;
  box-shadow:0 22px 54px rgba(0,0,0,.28)!important;
}
html.theme-night-soft body.login-open #login .login-card *,
body.theme-night-soft.login-open #login .login-card *,
html.theme-night-soft body:not(.app-open) #login .login-card *,
body.theme-night-soft:not(.app-open) #login .login-card *{
  color:inherit;
}
html.theme-night-soft body.login-open #login .login-card h1,
html.theme-night-soft body.login-open #login .login-card h2,
html.theme-night-soft body.login-open #login .login-card h3,
body.theme-night-soft.login-open #login .login-card h1,
body.theme-night-soft.login-open #login .login-card h2,
body.theme-night-soft.login-open #login .login-card h3,
html.theme-night-soft body:not(.app-open) #login .login-card h1,
html.theme-night-soft body:not(.app-open) #login .login-card h2,
html.theme-night-soft body:not(.app-open) #login .login-card h3,
body.theme-night-soft:not(.app-open) #login .login-card h1,
body.theme-night-soft:not(.app-open) #login .login-card h2,
body.theme-night-soft:not(.app-open) #login .login-card h3{
  color:#0b1f3a!important;
}
html.theme-night-soft body.login-open #login .login-card label,
body.theme-night-soft.login-open #login .login-card label,
html.theme-night-soft body:not(.app-open) #login .login-card label,
body.theme-night-soft:not(.app-open) #login .login-card label{
  color:#667085!important;
}
html.theme-night-soft body.login-open #login .login-card input,
html.theme-night-soft body.login-open #login .login-card select,
html.theme-night-soft body.login-open #login .login-card textarea,
body.theme-night-soft.login-open #login .login-card input,
body.theme-night-soft.login-open #login .login-card select,
body.theme-night-soft.login-open #login .login-card textarea,
html.theme-night-soft body:not(.app-open) #login .login-card input,
html.theme-night-soft body:not(.app-open) #login .login-card select,
html.theme-night-soft body:not(.app-open) #login .login-card textarea,
body.theme-night-soft:not(.app-open) #login .login-card input,
body.theme-night-soft:not(.app-open) #login .login-card select,
body.theme-night-soft:not(.app-open) #login .login-card textarea{
  background:#ffffff!important;
  color:#101828!important;
  border-color:#d0d5dd!important;
}

/* V3.7.14 - Tema noturno: Produtividade do mês e Agenda padronizados */
html.theme-night-soft body #dashboard .prod-card-refinado .prod-resumo,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-leitura,
body.theme-night-soft #dashboard .prod-card-refinado .prod-resumo,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item,
body.theme-night-soft #dashboard .prod-card-refinado .prod-leitura,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-resumo,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-leitura,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-resumo,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-leitura{
  background:#303b4d!important;
  border:1px solid #435166!important;
  color:#e9eef6!important;
  box-shadow:none!important;
}
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item.ok,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item.danger,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item.info,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item.ok,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item.danger,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item.info,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item.ok,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item.danger,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item.info,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item.ok,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item.danger,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item.info{
  background:#303b4d!important;
  border-color:#435166!important;
}
html.theme-night-soft body #dashboard .prod-card-refinado .prod-resumo strong,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item strong,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-leitura strong,
body.theme-night-soft #dashboard .prod-card-refinado .prod-resumo strong,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item strong,
body.theme-night-soft #dashboard .prod-card-refinado .prod-leitura strong,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-resumo strong,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item strong,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-leitura strong,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-resumo strong,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item strong,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-leitura strong{
  color:#f8fafc!important;
}
html.theme-night-soft body #dashboard .prod-card-refinado .prod-resumo span,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item span,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-resumo small,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-item small,
html.theme-night-soft body #dashboard .prod-card-refinado .prod-leitura,
body.theme-night-soft #dashboard .prod-card-refinado .prod-resumo span,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item span,
body.theme-night-soft #dashboard .prod-card-refinado .prod-resumo small,
body.theme-night-soft #dashboard .prod-card-refinado .prod-item small,
body.theme-night-soft #dashboard .prod-card-refinado .prod-leitura,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-resumo span,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item span,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-resumo small,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-item small,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-leitura,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-resumo span,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item span,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-resumo small,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-item small,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-leitura{
  color:#cbd5e1!important;
}
html.theme-night-soft body #dashboard .prod-card-refinado .prod-barra,
body.theme-night-soft #dashboard .prod-card-refinado .prod-barra,
html.theme-night-soft body #dash_inteligente .prod-card-refinado .prod-barra,
body.theme-night-soft #dash_inteligente .prod-card-refinado .prod-barra{
  background:#435166!important;
}

html.theme-night-soft body #agenda .agenda-dia,
html.theme-night-soft body #agenda_result .agenda-dia,
body.theme-night-soft #agenda .agenda-dia,
body.theme-night-soft #agenda_result .agenda-dia{
  background:#303b4d!important;
  border:1px solid #435166!important;
  color:#e9eef6!important;
  box-shadow:none!important;
}
html.theme-night-soft body #agenda .agenda-dia h3,
html.theme-night-soft body #agenda_result .agenda-dia h3,
body.theme-night-soft #agenda .agenda-dia h3,
body.theme-night-soft #agenda_result .agenda-dia h3{
  color:#f8fafc!important;
}
html.theme-night-soft body #agenda .agenda-item,
html.theme-night-soft body #agenda_result .agenda-item,
body.theme-night-soft #agenda .agenda-item,
body.theme-night-soft #agenda_result .agenda-item{
  background:#354258!important;
  border-color:#4d5f76!important;
  color:#e9eef6!important;
}
html.theme-night-soft body #agenda .agenda-item strong,
html.theme-night-soft body #agenda_result .agenda-item strong,
body.theme-night-soft #agenda .agenda-item strong,
body.theme-night-soft #agenda_result .agenda-item strong{
  color:#f8fafc!important;
}
html.theme-night-soft body #agenda .agenda-item span,
html.theme-night-soft body #agenda_result .agenda-item span,
body.theme-night-soft #agenda .agenda-item span,
body.theme-night-soft #agenda_result .agenda-item span{
  color:#cbd5e1!important;
}
html.theme-night-soft body #agenda .agenda-vazio,
html.theme-night-soft body #agenda_result .agenda-vazio,
body.theme-night-soft #agenda .agenda-vazio,
body.theme-night-soft #agenda_result .agenda-vazio{
  background:#354258!important;
  border-color:#4d5f76!important;
  color:#cbd5e1!important;
}

/* V3.7.14 - Padronização visual final das listas e logo do menu */
:root{
  --bh-list-bg:#ffffff;
  --bh-list-head:#f8fafc;
  --bh-list-row:#ffffff;
  --bh-list-row-hover:#f9fafb;
  --bh-list-border:#e5e7eb;
  --bh-list-subtle:#f6f9ff;
  --bh-list-shadow:0 12px 28px rgba(15,23,42,.06);
}
#clientes_list table,
#processos_list table,
#audiencias_list table,
#tarefas_list table,
#atendimentos_list table,
#arquivos_list table,
#atendimento_arquivos_list table,
#atendimento_vinculos_list table,
#calculos_list table,
#financeiro_list table,
#lanc_list table,
#contratos_list table,
#documentos_list table,
#modelos_list table,
#recibos_list table,
#rel_list table,
#pendencias_list table,
#pesq_list table,
#usuarios_list table,
#logs_list table,
#lixeira_list table,
.lista-padrao,
.processos-hierarquia,
.tarefas-table{
  background:var(--bh-list-bg)!important;
  border:1px solid var(--bh-list-border)!important;
  border-radius:16px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  box-shadow:var(--bh-list-shadow)!important;
}
#clientes_list th,#processos_list th,#audiencias_list th,#tarefas_list th,#atendimentos_list th,#arquivos_list th,#atendimento_arquivos_list th,#atendimento_vinculos_list th,#calculos_list th,#financeiro_list th,#lanc_list th,#contratos_list th,#documentos_list th,#modelos_list th,#recibos_list th,#rel_list th,#pendencias_list th,#pesq_list th,#usuarios_list th,#logs_list th,#lixeira_list th,
.lista-padrao th,.processos-hierarquia th,.tarefas-table th{
  background:var(--bh-list-head)!important;
  color:var(--navy)!important;
  border-bottom:1px solid var(--bh-list-border)!important;
}
#clientes_list td,#processos_list td,#audiencias_list td,#tarefas_list td,#atendimentos_list td,#arquivos_list td,#atendimento_arquivos_list td,#atendimento_vinculos_list td,#calculos_list td,#financeiro_list td,#lanc_list td,#contratos_list td,#documentos_list td,#modelos_list td,#recibos_list td,#rel_list td,#pendencias_list td,#pesq_list td,#usuarios_list td,#logs_list td,#lixeira_list td,
.lista-padrao td,.processos-hierarquia td,.tarefas-table td{
  background:var(--bh-list-row)!important;
  color:#101828!important;
  border-bottom:1px solid #eef2f7!important;
}
#clientes_list tr:hover td,#processos_list tr:hover td,#audiencias_list tr:hover td,#tarefas_list tr:hover td,#atendimentos_list tr:hover td,#arquivos_list tr:hover td,#atendimento_arquivos_list tr:hover td,#atendimento_vinculos_list tr:hover td,#calculos_list tr:hover td,#financeiro_list tr:hover td,#lanc_list tr:hover td,#contratos_list tr:hover td,#documentos_list tr:hover td,#modelos_list tr:hover td,#recibos_list tr:hover td,#rel_list tr:hover td,#pendencias_list tr:hover td,#pesq_list tr:hover td,#usuarios_list tr:hover td,#logs_list tr:hover td,#lixeira_list tr:hover td,
.lista-padrao tr:hover td,.processos-hierarquia tr:hover td,.tarefas-table tr:hover td{
  background:var(--bh-list-row-hover)!important;
}
#processos_list .processo-filho td,
#tarefas_list .tarefa-atendimento-aba-row td,
#tarefas_list table.tarefas-table.tarefas-layout-processos .tarefa-atendimento-aba-row td{
  background:var(--bh-list-subtle)!important;
}
#tarefas_list .tarefa-atendimento-aba,
.vinculacoes-card,
.atendimento-arquivos-vinculados{
  background:#ffffff!important;
  border-color:#dbe7fb!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}
#clientes_list tr:last-child td,#processos_list tr:last-child td,#audiencias_list tr:last-child td,#tarefas_list tr:last-child td,#atendimentos_list tr:last-child td,#arquivos_list tr:last-child td,#atendimento_arquivos_list tr:last-child td,#atendimento_vinculos_list tr:last-child td,#calculos_list tr:last-child td,#financeiro_list tr:last-child td,#lanc_list tr:last-child td,#contratos_list tr:last-child td,#documentos_list tr:last-child td,#modelos_list tr:last-child td,#recibos_list tr:last-child td,#rel_list tr:last-child td,#pendencias_list tr:last-child td,#pesq_list tr:last-child td,#usuarios_list tr:last-child td,#logs_list tr:last-child td,#lixeira_list tr:last-child td,
.lista-padrao tr:last-child td,.processos-hierarquia tr:last-child td,.tarefas-table tr:last-child td{
  border-bottom:0!important;
}

/* Logo do menu: aumento adicional de 15% */
aside .brand-mini.brand-menu-top .brand-logo-image,
aside .brand.brand-menu-top .brand-logo-image,
aside .brand-logo-image{
  width:112px!important;
  max-width:112px!important;
  height:112px!important;
  max-height:112px!important;
  object-fit:contain!important;
}
aside .brand-mini.brand-menu-top,
aside .brand.brand-menu-top{
  min-height:124px!important;
  align-items:center!important;
}

/* Tema noturno: listas no mesmo padrão visual de Processos/Tarefas */
html.theme-night-soft body,
body.theme-night-soft{
  --bh-list-bg:#303b4d;
  --bh-list-head:#354258;
  --bh-list-row:#303b4d;
  --bh-list-row-hover:#354258;
  --bh-list-border:#435166;
  --bh-list-subtle:#354258;
  --bh-list-shadow:0 12px 28px rgba(0,0,0,.14);
}
html.theme-night-soft body #clientes_list table,
html.theme-night-soft body #processos_list table,
html.theme-night-soft body #audiencias_list table,
html.theme-night-soft body #tarefas_list table,
html.theme-night-soft body #atendimentos_list table,
html.theme-night-soft body #arquivos_list table,
html.theme-night-soft body #atendimento_arquivos_list table,
html.theme-night-soft body #atendimento_vinculos_list table,
html.theme-night-soft body #calculos_list table,
html.theme-night-soft body #financeiro_list table,
html.theme-night-soft body #lanc_list table,
html.theme-night-soft body #contratos_list table,
html.theme-night-soft body #documentos_list table,
html.theme-night-soft body #modelos_list table,
html.theme-night-soft body #recibos_list table,
html.theme-night-soft body #rel_list table,
html.theme-night-soft body #pendencias_list table,
html.theme-night-soft body #pesq_list table,
html.theme-night-soft body #usuarios_list table,
html.theme-night-soft body #logs_list table,
html.theme-night-soft body #lixeira_list table,
html.theme-night-soft body .lista-padrao,
html.theme-night-soft body .processos-hierarquia,
html.theme-night-soft body .tarefas-table,
body.theme-night-soft #clientes_list table,
body.theme-night-soft #processos_list table,
body.theme-night-soft #audiencias_list table,
body.theme-night-soft #tarefas_list table,
body.theme-night-soft #atendimentos_list table,
body.theme-night-soft #arquivos_list table,
body.theme-night-soft #atendimento_arquivos_list table,
body.theme-night-soft #atendimento_vinculos_list table,
body.theme-night-soft #calculos_list table,
body.theme-night-soft #financeiro_list table,
body.theme-night-soft #lanc_list table,
body.theme-night-soft #contratos_list table,
body.theme-night-soft #documentos_list table,
body.theme-night-soft #modelos_list table,
body.theme-night-soft #recibos_list table,
body.theme-night-soft #rel_list table,
body.theme-night-soft #pendencias_list table,
body.theme-night-soft #pesq_list table,
body.theme-night-soft #usuarios_list table,
body.theme-night-soft #logs_list table,
body.theme-night-soft #lixeira_list table,
body.theme-night-soft .lista-padrao,
body.theme-night-soft .processos-hierarquia,
body.theme-night-soft .tarefas-table{
  background:var(--bh-list-bg)!important;
  border-color:var(--bh-list-border)!important;
  box-shadow:var(--bh-list-shadow)!important;
}
html.theme-night-soft body #clientes_list th,html.theme-night-soft body #processos_list th,html.theme-night-soft body #audiencias_list th,html.theme-night-soft body #tarefas_list th,html.theme-night-soft body #atendimentos_list th,html.theme-night-soft body #arquivos_list th,html.theme-night-soft body #atendimento_arquivos_list th,html.theme-night-soft body #atendimento_vinculos_list th,html.theme-night-soft body #calculos_list th,html.theme-night-soft body #financeiro_list th,html.theme-night-soft body #lanc_list th,html.theme-night-soft body #contratos_list th,html.theme-night-soft body #documentos_list th,html.theme-night-soft body #modelos_list th,html.theme-night-soft body #recibos_list th,html.theme-night-soft body #rel_list th,html.theme-night-soft body #pendencias_list th,html.theme-night-soft body #pesq_list th,html.theme-night-soft body #usuarios_list th,html.theme-night-soft body #logs_list th,html.theme-night-soft body #lixeira_list th,html.theme-night-soft body .lista-padrao th,html.theme-night-soft body .processos-hierarquia th,html.theme-night-soft body .tarefas-table th,
body.theme-night-soft #clientes_list th,body.theme-night-soft #processos_list th,body.theme-night-soft #audiencias_list th,body.theme-night-soft #tarefas_list th,body.theme-night-soft #atendimentos_list th,body.theme-night-soft #arquivos_list th,body.theme-night-soft #atendimento_arquivos_list th,body.theme-night-soft #atendimento_vinculos_list th,body.theme-night-soft #calculos_list th,body.theme-night-soft #financeiro_list th,body.theme-night-soft #lanc_list th,body.theme-night-soft #contratos_list th,body.theme-night-soft #documentos_list th,body.theme-night-soft #modelos_list th,body.theme-night-soft #recibos_list th,body.theme-night-soft #rel_list th,body.theme-night-soft #pendencias_list th,body.theme-night-soft #pesq_list th,body.theme-night-soft #usuarios_list th,body.theme-night-soft #logs_list th,body.theme-night-soft #lixeira_list th,body.theme-night-soft .lista-padrao th,body.theme-night-soft .processos-hierarquia th,body.theme-night-soft .tarefas-table th{
  background:var(--bh-list-head)!important;
  color:#f8fafc!important;
  border-color:#4d5f76!important;
}
html.theme-night-soft body #clientes_list td,html.theme-night-soft body #processos_list td,html.theme-night-soft body #audiencias_list td,html.theme-night-soft body #tarefas_list td,html.theme-night-soft body #atendimentos_list td,html.theme-night-soft body #arquivos_list td,html.theme-night-soft body #atendimento_arquivos_list td,html.theme-night-soft body #atendimento_vinculos_list td,html.theme-night-soft body #calculos_list td,html.theme-night-soft body #financeiro_list td,html.theme-night-soft body #lanc_list td,html.theme-night-soft body #contratos_list td,html.theme-night-soft body #documentos_list td,html.theme-night-soft body #modelos_list td,html.theme-night-soft body #recibos_list td,html.theme-night-soft body #rel_list td,html.theme-night-soft body #pendencias_list td,html.theme-night-soft body #pesq_list td,html.theme-night-soft body #usuarios_list td,html.theme-night-soft body #logs_list td,html.theme-night-soft body #lixeira_list td,html.theme-night-soft body .lista-padrao td,html.theme-night-soft body .processos-hierarquia td,html.theme-night-soft body .tarefas-table td,
body.theme-night-soft #clientes_list td,body.theme-night-soft #processos_list td,body.theme-night-soft #audiencias_list td,body.theme-night-soft #tarefas_list td,body.theme-night-soft #atendimentos_list td,body.theme-night-soft #arquivos_list td,body.theme-night-soft #atendimento_arquivos_list td,body.theme-night-soft #atendimento_vinculos_list td,body.theme-night-soft #calculos_list td,body.theme-night-soft #financeiro_list td,body.theme-night-soft #lanc_list td,body.theme-night-soft #contratos_list td,body.theme-night-soft #documentos_list td,body.theme-night-soft #modelos_list td,body.theme-night-soft #recibos_list td,body.theme-night-soft #rel_list td,body.theme-night-soft #pendencias_list td,body.theme-night-soft #pesq_list td,body.theme-night-soft #usuarios_list td,body.theme-night-soft #logs_list td,body.theme-night-soft #lixeira_list td,body.theme-night-soft .lista-padrao td,body.theme-night-soft .processos-hierarquia td,body.theme-night-soft .tarefas-table td{
  background:var(--bh-list-row)!important;
  color:#e9eef6!important;
  border-color:var(--bh-list-border)!important;
}
html.theme-night-soft body #clientes_list tr:hover td,html.theme-night-soft body #processos_list tr:hover td,html.theme-night-soft body #audiencias_list tr:hover td,html.theme-night-soft body #tarefas_list tr:hover td,html.theme-night-soft body #atendimentos_list tr:hover td,html.theme-night-soft body #arquivos_list tr:hover td,html.theme-night-soft body #atendimento_arquivos_list tr:hover td,html.theme-night-soft body #atendimento_vinculos_list tr:hover td,html.theme-night-soft body #calculos_list tr:hover td,html.theme-night-soft body #financeiro_list tr:hover td,html.theme-night-soft body #lanc_list tr:hover td,html.theme-night-soft body #contratos_list tr:hover td,html.theme-night-soft body #documentos_list tr:hover td,html.theme-night-soft body #modelos_list tr:hover td,html.theme-night-soft body #recibos_list tr:hover td,html.theme-night-soft body #rel_list tr:hover td,html.theme-night-soft body #pendencias_list tr:hover td,html.theme-night-soft body #pesq_list tr:hover td,html.theme-night-soft body #usuarios_list tr:hover td,html.theme-night-soft body #logs_list tr:hover td,html.theme-night-soft body #lixeira_list tr:hover td,html.theme-night-soft body .lista-padrao tr:hover td,html.theme-night-soft body .processos-hierarquia tr:hover td,html.theme-night-soft body .tarefas-table tr:hover td,
body.theme-night-soft #clientes_list tr:hover td,body.theme-night-soft #processos_list tr:hover td,body.theme-night-soft #audiencias_list tr:hover td,body.theme-night-soft #tarefas_list tr:hover td,body.theme-night-soft #atendimentos_list tr:hover td,body.theme-night-soft #arquivos_list tr:hover td,body.theme-night-soft #atendimento_arquivos_list tr:hover td,body.theme-night-soft #atendimento_vinculos_list tr:hover td,body.theme-night-soft #calculos_list tr:hover td,body.theme-night-soft #financeiro_list tr:hover td,body.theme-night-soft #lanc_list tr:hover td,body.theme-night-soft #contratos_list tr:hover td,body.theme-night-soft #documentos_list tr:hover td,body.theme-night-soft #modelos_list tr:hover td,body.theme-night-soft #recibos_list tr:hover td,body.theme-night-soft #rel_list tr:hover td,body.theme-night-soft #pendencias_list tr:hover td,body.theme-night-soft #pesq_list tr:hover td,body.theme-night-soft #usuarios_list tr:hover td,body.theme-night-soft #logs_list tr:hover td,body.theme-night-soft #lixeira_list tr:hover td,body.theme-night-soft .lista-padrao tr:hover td,body.theme-night-soft .processos-hierarquia tr:hover td,body.theme-night-soft .tarefas-table tr:hover td{
  background:var(--bh-list-row-hover)!important;
}
html.theme-night-soft body #processos_list .processo-filho td,
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba-row td,
body.theme-night-soft #processos_list .processo-filho td,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba-row td{
  background:var(--bh-list-subtle)!important;
}
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba,
html.theme-night-soft body .vinculacoes-card,
html.theme-night-soft body .atendimento-arquivos-vinculados,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba,
body.theme-night-soft .vinculacoes-card,
body.theme-night-soft .atendimento-arquivos-vinculados{
  background:#354258!important;
  color:#e9eef6!important;
  border-color:#4d5f76!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
}
html.theme-night-soft body #tarefas_list .tarefa-atendimento-texto,
body.theme-night-soft #tarefas_list .tarefa-atendimento-texto{
  background:#303b4d!important;
  color:#e9eef6!important;
  border-color:#435166!important;
}
html.theme-night-soft body #tarefas_list small,
html.theme-night-soft body #processos_list small,
body.theme-night-soft #tarefas_list small,
body.theme-night-soft #processos_list small{
  color:#cbd5e1!important;
}

/* V3.7.14 - REFAZER: padronizacao real de TODAS as listas/tabelas e abas vinculadas */
:root{
  --bh-list-card-bg:#ffffff;
  --bh-list-card-border:#dfe7f2;
  --bh-list-card-shadow:0 14px 34px rgba(15,23,42,.08);
  --bh-list-header-bg:#f3f6fb;
  --bh-list-cell-bg:#ffffff;
  --bh-list-cell-hover:#f7faff;
  --bh-list-text:#101828;
  --bh-list-text-strong:#0b1f3a;
  --bh-list-text-muted:#667085;
  --bh-list-link:#143967;
  --bh-list-linked-bg:#f6f9ff;
  --bh-list-linked-card:#ffffff;
}

/* Alvos reais: qualquer tabela/renderizacao de lista dentro dos modulos */
.sec .card [id$="_list"] table,
.sec .card [id$="_result"] table,
.sec .card [id$="_status"] table,
.sec .card .table-wrap table,
.sec .card table.lista-padrao,
.sec .card table.processos-hierarquia,
.sec .card table.tarefas-table,
#clientes_list table,
#processos_list table,
#audiencias_list table,
#tarefas_list table,
#atendimentos_list table,
#atendimento_vinculos_list table,
#atendimento_arquivos_list table,
#documentos_list table,
#modelos_list table,
#agenda_result table,
#arquivos_list table,
#financeiro_list table,
#financeiro_gestao_result table,
#contratos_list table,
#lanc_list table,
#calculos_list table,
#prod_result table,
#recibos_list table,
#rel_list table,
#finrel_result table,
#pendencias_list table,
#pesq_list table,
#saude_resumo table,
#verificacao_resultado table,
#backup_status table,
#usuarios_list table,
#logs_list table,
#lixeira_list table,
#auditoria_result table,
#seguranca_result table,
#monitoramento table{
  width:100%!important;
  background:var(--bh-list-card-bg)!important;
  border:1px solid var(--bh-list-card-border)!important;
  border-radius:18px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  box-shadow:var(--bh-list-card-shadow)!important;
}

.sec .card [id$="_list"] th,
.sec .card [id$="_result"] th,
.sec .card [id$="_status"] th,
.sec .card .table-wrap th,
.sec .card table.lista-padrao th,
.sec .card table.processos-hierarquia th,
.sec .card table.tarefas-table th,
#clientes_list th,#processos_list th,#audiencias_list th,#tarefas_list th,#atendimentos_list th,#atendimento_vinculos_list th,#atendimento_arquivos_list th,#documentos_list th,#modelos_list th,#agenda_result th,#arquivos_list th,#financeiro_list th,#financeiro_gestao_result th,#contratos_list th,#lanc_list th,#calculos_list th,#prod_result th,#recibos_list th,#rel_list th,#finrel_result th,#pendencias_list th,#pesq_list th,#saude_resumo th,#verificacao_resultado th,#backup_status th,#usuarios_list th,#logs_list th,#lixeira_list th,#auditoria_result th,#seguranca_result th,#monitoramento th{
  background:var(--bh-list-header-bg)!important;
  color:var(--bh-list-text-strong)!important;
  border-bottom:1px solid var(--bh-list-card-border)!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
}

.sec .card [id$="_list"] td,
.sec .card [id$="_result"] td,
.sec .card [id$="_status"] td,
.sec .card .table-wrap td,
.sec .card table.lista-padrao td,
.sec .card table.processos-hierarquia td,
.sec .card table.tarefas-table td,
#clientes_list td,#processos_list td,#audiencias_list td,#tarefas_list td,#atendimentos_list td,#atendimento_vinculos_list td,#atendimento_arquivos_list td,#documentos_list td,#modelos_list td,#agenda_result td,#arquivos_list td,#financeiro_list td,#financeiro_gestao_result td,#contratos_list td,#lanc_list td,#calculos_list td,#prod_result td,#recibos_list td,#rel_list td,#finrel_result td,#pendencias_list td,#pesq_list td,#saude_resumo td,#verificacao_resultado td,#backup_status td,#usuarios_list td,#logs_list td,#lixeira_list td,#auditoria_result td,#seguranca_result td,#monitoramento td{
  background:var(--bh-list-cell-bg)!important;
  color:var(--bh-list-text)!important;
  border-bottom:1px solid #edf2f7!important;
}

.sec .card [id$="_list"] tr:hover td,
.sec .card [id$="_result"] tr:hover td,
.sec .card [id$="_status"] tr:hover td,
.sec .card .table-wrap tr:hover td,
.sec .card table.lista-padrao tr:hover td,
.sec .card table.processos-hierarquia tr:hover td,
.sec .card table.tarefas-table tr:hover td,
#clientes_list tr:hover td,#processos_list tr:hover td,#audiencias_list tr:hover td,#tarefas_list tr:hover td,#atendimentos_list tr:hover td,#atendimento_vinculos_list tr:hover td,#atendimento_arquivos_list tr:hover td,#documentos_list tr:hover td,#modelos_list tr:hover td,#agenda_result tr:hover td,#arquivos_list tr:hover td,#financeiro_list tr:hover td,#financeiro_gestao_result tr:hover td,#contratos_list tr:hover td,#lanc_list tr:hover td,#calculos_list tr:hover td,#prod_result tr:hover td,#recibos_list tr:hover td,#rel_list tr:hover td,#finrel_result tr:hover td,#pendencias_list tr:hover td,#pesq_list tr:hover td,#saude_resumo tr:hover td,#verificacao_resultado tr:hover td,#backup_status tr:hover td,#usuarios_list tr:hover td,#logs_list tr:hover td,#lixeira_list tr:hover td,#auditoria_result tr:hover td,#seguranca_result tr:hover td,#monitoramento tr:hover td{
  background:var(--bh-list-cell-hover)!important;
}

.sec .card [id$="_list"] td strong,
.sec .card [id$="_result"] td strong,
.sec .card [id$="_status"] td strong,
.sec .card table.lista-padrao td strong,
.sec .card table.processos-hierarquia td strong,
.sec .card table.tarefas-table td strong,
.sec .card [id$="_list"] td b,
.sec .card [id$="_result"] td b,
.sec .card [id$="_status"] td b,
.sec .card table.lista-padrao td b,
.sec .card table.processos-hierarquia td b,
.sec .card table.tarefas-table td b{
  color:var(--bh-list-text-strong)!important;
}

.sec .card [id$="_list"] td small,
.sec .card [id$="_result"] td small,
.sec .card [id$="_status"] td small,
.sec .card table.lista-padrao td small,
.sec .card table.processos-hierarquia td small,
.sec .card table.tarefas-table td small,
.sec .card [id$="_list"] td span,
.sec .card [id$="_result"] td span,
.sec .card [id$="_status"] td span,
.sec .card table.lista-padrao td span,
.sec .card table.processos-hierarquia td span,
.sec .card table.tarefas-table td span{
  color:var(--bh-list-text-muted)!important;
}

.sec .card [id$="_list"] td a,
.sec .card [id$="_result"] td a,
.sec .card [id$="_status"] td a,
.sec .card table.lista-padrao td a,
.sec .card table.processos-hierarquia td a,
.sec .card table.tarefas-table td a{
  color:var(--bh-list-link)!important;
  text-decoration:none!important;
}

/* Registros vinculados: mesmo padrão das listas de Processos e Tarefas */
#processos_list .processo-filho td,
#tarefas_list .tarefa-atendimento-aba-row td,
.sec .card tr.processo-filho td,
.sec .card tr.tarefa-atendimento-aba-row td{
  background:var(--bh-list-linked-bg)!important;
  color:var(--bh-list-text)!important;
}

#tarefas_list .tarefa-atendimento-aba,
#tarefas_list .tarefa-atendimento-aba-conteudo,
#processos_list .processos-resumo,
#processos_list .processos-completa,
.vinculacoes-card,
.atendimento-arquivos-vinculados,
.atendimento-arquivos-table,
.sec .card .vinculacoes-card,
.sec .card .atendimento-arquivos-vinculados{
  background:var(--bh-list-linked-card)!important;
  color:var(--bh-list-text)!important;
  border:1px solid var(--bh-list-card-border)!important;
  border-radius:18px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
}

#tarefas_list .tarefa-atendimento-aba-label,
#tarefas_list .tarefa-atendimento-aba-title,
#tarefas_list .tarefa-atendimento-aba strong,
.vinculacoes-card h3,
.vinculacoes-card h4,
.atendimento-arquivos-vinculados h3{
  color:var(--bh-list-text-strong)!important;
}

#tarefas_list .tarefa-atendimento-aba-meta,
#tarefas_list .tarefa-atendimento-aba small,
#processos_list .processo-filho small,
.vinculacoes-card small,
.atendimento-arquivos-vinculados small{
  color:var(--bh-list-text-muted)!important;
}

/* Tema noturno: usa os mesmos tons dos cards/listas de Processos e Tarefas */
html.theme-night-soft body,
body.theme-night-soft{
  --bh-list-card-bg:#303b4d;
  --bh-list-card-border:#4d5f76;
  --bh-list-card-shadow:0 14px 34px rgba(0,0,0,.18);
  --bh-list-header-bg:#354258;
  --bh-list-cell-bg:#303b4d;
  --bh-list-cell-hover:#354258;
  --bh-list-text:#e9eef6;
  --bh-list-text-strong:#f8fafc;
  --bh-list-text-muted:#cbd5e1;
  --bh-list-link:#dbeafe;
  --bh-list-linked-bg:#354258;
  --bh-list-linked-card:#354258;
}

html.theme-night-soft body .sec .card [id$="_list"] table,
html.theme-night-soft body .sec .card [id$="_result"] table,
html.theme-night-soft body .sec .card [id$="_status"] table,
html.theme-night-soft body .sec .card table.lista-padrao,
html.theme-night-soft body .sec .card table.processos-hierarquia,
html.theme-night-soft body .sec .card table.tarefas-table,
body.theme-night-soft .sec .card [id$="_list"] table,
body.theme-night-soft .sec .card [id$="_result"] table,
body.theme-night-soft .sec .card [id$="_status"] table,
body.theme-night-soft .sec .card table.lista-padrao,
body.theme-night-soft .sec .card table.processos-hierarquia,
body.theme-night-soft .sec .card table.tarefas-table{
  background:var(--bh-list-card-bg)!important;
  border-color:var(--bh-list-card-border)!important;
  box-shadow:var(--bh-list-card-shadow)!important;
}

html.theme-night-soft body .sec .card th,
body.theme-night-soft .sec .card th{
  background:var(--bh-list-header-bg)!important;
  color:var(--bh-list-text-strong)!important;
  border-color:var(--bh-list-card-border)!important;
}
html.theme-night-soft body .sec .card td,
body.theme-night-soft .sec .card td{
  background:var(--bh-list-cell-bg)!important;
  color:var(--bh-list-text)!important;
  border-color:var(--bh-list-card-border)!important;
}
html.theme-night-soft body .sec .card tr:hover td,
body.theme-night-soft .sec .card tr:hover td{
  background:var(--bh-list-cell-hover)!important;
}
html.theme-night-soft body .sec .card td strong,
html.theme-night-soft body .sec .card td b,
body.theme-night-soft .sec .card td strong,
body.theme-night-soft .sec .card td b{
  color:var(--bh-list-text-strong)!important;
}
html.theme-night-soft body .sec .card td small,
html.theme-night-soft body .sec .card td span,
body.theme-night-soft .sec .card td small,
body.theme-night-soft .sec .card td span{
  color:var(--bh-list-text-muted)!important;
}
html.theme-night-soft body .sec .card td a,
body.theme-night-soft .sec .card td a{
  color:var(--bh-list-link)!important;
}
html.theme-night-soft body #processos_list .processo-filho td,
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba-row td,
html.theme-night-soft body .sec .card tr.processo-filho td,
html.theme-night-soft body .sec .card tr.tarefa-atendimento-aba-row td,
body.theme-night-soft #processos_list .processo-filho td,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba-row td,
body.theme-night-soft .sec .card tr.processo-filho td,
body.theme-night-soft .sec .card tr.tarefa-atendimento-aba-row td{
  background:var(--bh-list-linked-bg)!important;
  color:var(--bh-list-text)!important;
}
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba,
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba-conteudo,
html.theme-night-soft body .vinculacoes-card,
html.theme-night-soft body .atendimento-arquivos-vinculados,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba-conteudo,
body.theme-night-soft .vinculacoes-card,
body.theme-night-soft .atendimento-arquivos-vinculados{
  background:var(--bh-list-linked-card)!important;
  color:var(--bh-list-text)!important;
  border-color:var(--bh-list-card-border)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

/* V3.7.14 - Ajuste solicitado: pesquisa, lista de tarefas e vínculos padronizados */
:root{
  --bh-list-card-bg:#ffffff;
  --bh-list-card-border:#dfe7f2;
  --bh-list-card-shadow:0 14px 34px rgba(15,23,42,.08);
  --bh-list-header-bg:#f3f6fb;
  --bh-list-cell-bg:#ffffff;
  --bh-list-cell-hover:#f7faff;
  --bh-list-text:#101828;
  --bh-list-text-strong:#0b1f3a;
  --bh-list-text-muted:#667085;
  --bh-list-link:#143967;
  --bh-list-linked-bg:#f6f9ff;
  --bh-list-linked-card:#ffffff;
  --bh-list-linked-border:#b9d4ff;
  --bh-list-linked-left:#2563eb;
}

/* Pesquisa global: cards com as mesmas cores/sombra das listas e cards dos módulos */
#pesq_resumo .pesquisa-global-resumo,
#pesq_list .pesquisa-global-grupo,
#pesq_list .pesquisa-global-item,
.pesquisa-global-card,
.pesquisa-global-resumo,
.pesquisa-global-item{
  background:var(--bh-list-card-bg)!important;
  color:var(--bh-list-text)!important;
  border:1px solid var(--bh-list-card-border)!important;
  border-radius:18px!important;
  box-shadow:var(--bh-list-card-shadow)!important;
}
#pesq_resumo .pesquisa-global-resumo,
.pesquisa-global-resumo{
  padding:12px 14px!important;
}
#pesq_list .pesquisa-global-grupo,
.pesquisa-global-grupo{
  padding:14px!important;
}
#pesq_list .pesquisa-global-grupo h3,
.pesquisa-global-grupo h3,
#pesq_list .pesquisa-global-top strong,
.pesquisa-global-top strong{
  color:var(--bh-list-text-strong)!important;
}
#pesq_list .pesquisa-global-grupo h3 small,
.pesquisa-global-grupo h3 small,
#pesq_list .pesquisa-global-chip,
.pesquisa-global-chip,
#pesq_list .pesquisa-global-meta span,
.pesquisa-global-meta span{
  background:var(--bh-list-header-bg)!important;
  color:var(--bh-list-text-strong)!important;
  border:1px solid var(--bh-list-card-border)!important;
  box-shadow:none!important;
}
#pesq_list .pesquisa-global-sub,
.pesquisa-global-sub{
  color:var(--bh-list-text)!important;
}
#pesq_list .pesquisa-global-det,
#pesq_list .pesquisa-global-meta,
#pesq_list .pesquisa-global-top div,
.pesquisa-global-det,
.pesquisa-global-meta,
.pesquisa-global-top div{
  color:var(--bh-list-text-muted)!important;
}
#pesq_list .pesquisa-global-item:hover,
.pesquisa-global-item:hover{
  background:var(--bh-list-cell-hover)!important;
  border-color:var(--bh-list-linked-border)!important;
  box-shadow:0 16px 36px rgba(15,23,42,.11)!important;
}

/* Tarefas: força o mesmo padrão visual da lista de Processos */
#tarefas_list{
  overflow-x:auto!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos,
#tarefas_list table.processos-hierarquia.tarefas-table,
#tarefas_list table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:var(--bh-list-card-bg)!important;
  border:1px solid var(--bh-list-card-border)!important;
  border-radius:18px!important;
  box-shadow:var(--bh-list-card-shadow)!important;
  overflow:hidden!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos th,
#tarefas_list table.processos-hierarquia.tarefas-table th,
#tarefas_list th{
  background:var(--bh-list-header-bg)!important;
  color:var(--bh-list-text-strong)!important;
  border-bottom:1px solid var(--bh-list-card-border)!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  vertical-align:middle!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos td,
#tarefas_list table.processos-hierarquia.tarefas-table td,
#tarefas_list td{
  background:var(--bh-list-cell-bg)!important;
  color:var(--bh-list-text)!important;
  border-bottom:1px solid var(--bh-list-card-border)!important;
  vertical-align:middle!important;
}
#tarefas_list table.tarefas-table.tarefas-layout-processos tr.tarefa-linha-principal:hover td,
#tarefas_list table.processos-hierarquia.tarefas-table tr.tarefa-linha-principal:hover td,
#tarefas_list tr.tarefa-linha-principal:hover td{
  background:var(--bh-list-cell-hover)!important;
}
#tarefas_list td strong,
#tarefas_list td b,
#tarefas_list .tarefa-linha-principal td:first-child{
  color:var(--bh-list-text-strong)!important;
}
#tarefas_list td small,
#tarefas_list td span:not(.status-pill){
  color:var(--bh-list-text-muted)!important;
}
#tarefas_list td a{
  color:var(--bh-list-link)!important;
}
#tarefas_list .processos-actions,
#tarefas_list .tarefas-actions-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
}
#tarefas_list .processos-actions button,
#tarefas_list .tarefas-actions-grid button{
  margin:0!important;
}

/* Mantém vínculo com cor própria, mas dentro do mesmo padrão visual */
#tarefas_list .tarefa-atendimento-aba-row td,
#tarefas_list table.tarefas-table.tarefas-layout-processos .tarefa-atendimento-aba-row td{
  background:var(--bh-list-linked-bg)!important;
  color:var(--bh-list-text)!important;
  border-top:0!important;
  border-bottom:1px solid var(--bh-list-card-border)!important;
  padding:0 14px 14px 24px!important;
}
#tarefas_list .tarefa-atendimento-aba,
#tarefas_list .tarefa-atendimento-aba-conteudo{
  background:var(--bh-list-linked-card)!important;
  color:var(--bh-list-text)!important;
  border-color:var(--bh-list-linked-border)!important;
}
#tarefas_list .tarefa-atendimento-aba{
  margin:0 0 2px 8px!important;
  padding:12px 14px!important;
  border-left:4px solid var(--bh-list-linked-left)!important;
  border-radius:16px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
  max-width:calc(100% - 8px)!important;
  box-sizing:border-box!important;
}
#tarefas_list .tarefa-atendimento-aba-top strong,
#tarefas_list .tarefa-atendimento-aba-conteudo strong{
  color:var(--bh-list-text-strong)!important;
}
#tarefas_list .tarefa-atendimento-aba-label{
  background:#eff6ff!important;
  color:#1d4ed8!important;
  border:1px solid #bfdbfe!important;
}
#tarefas_list .tarefa-atendimento-aba-meta,
#tarefas_list .tarefa-atendimento-aba-meta span,
#tarefas_list .tarefa-atendimento-aba small{
  color:var(--bh-list-text-muted)!important;
}
#tarefas_list .tarefa-atendimento-aba-conteudo{
  padding-left:10px!important;
  box-sizing:border-box!important;
}
#tarefas_list .tarefa-atendimento-texto{
  margin-left:8px!important;
  margin-top:6px!important;
  width:calc(100% - 8px)!important;
  box-sizing:border-box!important;
  background:var(--bh-list-card-bg)!important;
  color:var(--bh-list-text)!important;
  border:1px solid var(--bh-list-card-border)!important;
  border-radius:12px!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
#tarefas_list .tarefa-atendimento-texto,
#tarefas_list .tarefa-atendimento-texto p,
#tarefas_list .tarefa-atendimento-texto div,
#tarefas_list .tarefa-atendimento-texto span{
  color:var(--bh-list-text)!important;
}

html.theme-night-soft body,
body.theme-night-soft{
  --bh-list-card-bg:#303b4d;
  --bh-list-card-border:#4d5f76;
  --bh-list-card-shadow:0 14px 34px rgba(0,0,0,.18);
  --bh-list-header-bg:#354258;
  --bh-list-cell-bg:#303b4d;
  --bh-list-cell-hover:#39475e;
  --bh-list-text:#e9eef6;
  --bh-list-text-strong:#f8fafc;
  --bh-list-text-muted:#cbd5e1;
  --bh-list-link:#dbeafe;
  --bh-list-linked-bg:#334159;
  --bh-list-linked-card:#354258;
  --bh-list-linked-border:#5f76a0;
  --bh-list-linked-left:#93c5fd;
}
html.theme-night-soft body #tarefas_list .tarefa-atendimento-aba-label,
body.theme-night-soft #tarefas_list .tarefa-atendimento-aba-label{
  background:#1e3a5f!important;
  color:#dbeafe!important;
  border-color:#5f76a0!important;
}
html.theme-night-soft body #pesq_list .pesquisa-global-item:hover,
body.theme-night-soft #pesq_list .pesquisa-global-item:hover{
  box-shadow:0 16px 36px rgba(0,0,0,.22)!important;
}


/* V3.7.14 - Correção específica: logo no mesmo fundo do menu e "1. Tarefas" no fundo escuro */
html.theme-night-soft body,
body.theme-night-soft{
  --bh-night-menu-bg:#253044;
  --bh-night-menu-bg-2:#253044;
  --bh-night-card-bg:#303b4d;
  --bh-night-card-border:#435166;
}

/* Menu: fundo real padronizado no tema escuro */
html.theme-night-soft body aside,
body.theme-night-soft aside{
  background:#253044!important;
}

/* Espaço da logomarca no menu: exatamente o mesmo fundo do menu, não o fundo dos cards */
html.theme-night-soft body aside .brand-mini.brand-menu-top,
html.theme-night-soft body aside .brand.brand-menu-top,
body.theme-night-soft aside .brand-mini.brand-menu-top,
body.theme-night-soft aside .brand.brand-menu-top{
  background:#253044!important;
  border-color:#344158!important;
  box-shadow:none!important;
}

/* Textos do bloco da marca no menu: próximos do padrão dos botões */
html.theme-night-soft body aside .brand-mini.brand-menu-top strong,
html.theme-night-soft body aside .brand.brand-menu-top strong,
body.theme-night-soft aside .brand-mini.brand-menu-top strong,
body.theme-night-soft aside .brand.brand-menu-top strong{
  color:#ffffff!important;
}
html.theme-night-soft body aside .brand-mini.brand-menu-top span,
html.theme-night-soft body aside .brand.brand-menu-top span,
body.theme-night-soft aside .brand-mini.brand-menu-top span,
body.theme-night-soft aside .brand.brand-menu-top span{
  color:#d7e3f7!important;
}

/* A própria imagem da logo escura recebeu fundo equivalente ao menu.
   Aqui evitamos filtros, bordas ou caixas claras ao redor. */
html.theme-night-soft body aside .brand-logo-image,
body.theme-night-soft aside .brand-logo-image{
  background:#253044!important;
  border-radius:18px!important;
  filter:none!important;
}


/* V3.7.14 - Dashboard: fundo geral padronizado sem alterar cores dos cards */
html.theme-night-soft body,
body.theme-night-soft{
  --bh-dashboard-standard-bg:#253044;
}

/* Fundo geral do Dashboard */
html.theme-night-soft body #dashboard,
body.theme-night-soft #dashboard{
  background:#253044!important;
}

/* Áreas estruturais do Dashboard fora dos cards */
html.theme-night-soft body #dashboard .dash-section,
html.theme-night-soft body #dashboard .dashboard-section,
html.theme-night-soft body #dashboard .dash-group,
html.theme-night-soft body #dashboard .dashboard-group,
html.theme-night-soft body #dashboard .dash-bloco,
html.theme-night-soft body #dashboard .dashboard-bloco,
html.theme-night-soft body #dashboard .dash-grid,
html.theme-night-soft body #dashboard .dashboard-grid,
html.theme-night-soft body #dashboard .dash-row,
html.theme-night-soft body #dashboard .dashboard-row,
html.theme-night-soft body #dashboard .dash-section-header,
html.theme-night-soft body #dashboard .dashboard-section-header,
html.theme-night-soft body #dashboard .card-section-header,
html.theme-night-soft body #dashboard .painel-section-header,
html.theme-night-soft body #dashboard .dash-section-label,
html.theme-night-soft body #dashboard .dash-section-title-number,
html.theme-night-soft body #dashboard .dash-numero,
html.theme-night-soft body #dashboard .dash-indice,
html.theme-night-soft body #dashboard .dashboard-numero,
html.theme-night-soft body #dashboard .dashboard-indice,
html.theme-night-soft body #dashboard .section-number,
html.theme-night-soft body #dashboard .step-number,
html.theme-night-soft body #dashboard .dash-step-number,
html.theme-night-soft body #dashboard .titulo-numero,
html.theme-night-soft body #dashboard .titulo-indice,
body.theme-night-soft #dashboard .dash-section,
body.theme-night-soft #dashboard .dashboard-section,
body.theme-night-soft #dashboard .dash-group,
body.theme-night-soft #dashboard .dashboard-group,
body.theme-night-soft #dashboard .dash-bloco,
body.theme-night-soft #dashboard .dashboard-bloco,
body.theme-night-soft #dashboard .dash-grid,
body.theme-night-soft #dashboard .dashboard-grid,
body.theme-night-soft #dashboard .dash-row,
body.theme-night-soft #dashboard .dashboard-row,
body.theme-night-soft #dashboard .dash-section-header,
body.theme-night-soft #dashboard .dashboard-section-header,
body.theme-night-soft #dashboard .card-section-header,
body.theme-night-soft #dashboard .painel-section-header,
body.theme-night-soft #dashboard .dash-section-label,
body.theme-night-soft #dashboard .dash-section-title-number,
body.theme-night-soft #dashboard .dash-numero,
body.theme-night-soft #dashboard .dash-indice,
body.theme-night-soft #dashboard .dashboard-numero,
body.theme-night-soft #dashboard .dashboard-indice,
body.theme-night-soft #dashboard .section-number,
body.theme-night-soft #dashboard .step-number,
body.theme-night-soft #dashboard .dash-step-number,
body.theme-night-soft #dashboard .titulo-numero,
body.theme-night-soft #dashboard .titulo-indice{
  background:#253044!important;
  color:#f8fafc!important;
  border-color:#253044!important;
  box-shadow:none!important;
}

/* Garantia: os cards do Dashboard mantêm as cores já padronizadas anteriormente */
html.theme-night-soft body #dashboard .card,
html.theme-night-soft body #dashboard .stat,
html.theme-night-soft body #dashboard .dash-card,
html.theme-night-soft body #dashboard .dash-v62-card,
html.theme-night-soft body #dashboard .summary-card,
html.theme-night-soft body #dashboard .dash-link-card,
html.theme-night-soft body #dashboard #dash_saude_operacional_card,
body.theme-night-soft #dashboard .card,
body.theme-night-soft #dashboard .stat,
body.theme-night-soft #dashboard .dash-card,
body.theme-night-soft #dashboard .dash-v62-card,
body.theme-night-soft #dashboard .summary-card,
body.theme-night-soft #dashboard .dash-link-card,
body.theme-night-soft #dashboard #dash_saude_operacional_card{
  background:#303b4d!important;
  border-color:#435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}



/* V3.7.14 - Dashboard: faixa de "1. Tarefas" transparente, texto branco */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title h3,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title h3{
  background:transparent!important;
  color:#ffffff!important;
}
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title span,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title span{
  background:transparent!important;
}
/* Tema claro preservado */
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title h3,
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title span{
  background:transparent!important;
}


/* V3.7.14 - Dashboard: fundo da área Tarefas igual ao fundo do Dashboard */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas,
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-tarefas-grupo,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-tarefas-grupo{
  background:#253044!important;
  border-color:#253044!important;
  box-shadow:none!important;
}

/* Mantém apenas o texto "1. Tarefas" branco */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title h3,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title h3{
  background:transparent!important;
  color:#ffffff!important;
}

/* Cards de tarefas preservados */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .card,
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-tarefa-card,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .card,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-tarefa-card{
  background:#303b4d!important;
  border-color:#435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}

/* Tema claro preservado */
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas,
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas .dash-v62-section-title,
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas .dash-tarefas-grupo{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}



/* V3.7.14 - Dashboard: fundo padrão exato #242d3b, exceto cards */
html.theme-night-soft body #dashboard,
html.theme-night-soft body #dashboard .dash-smart,
html.theme-night-soft body #dashboard .dash-v62,
body.theme-night-soft #dashboard,
body.theme-night-soft #dashboard .dash-smart,
body.theme-night-soft #dashboard .dash-v62{
  background:#242d3b!important;
}

html.theme-night-soft body #dashboard .dash-v62-bloco,
html.theme-night-soft body #dashboard .dash-v62-section-title,
html.theme-night-soft body #dashboard .dash-v62-grid-equal,
html.theme-night-soft body #dashboard .dash-grid-2,
html.theme-night-soft body #dashboard .dash-grid-3,
html.theme-night-soft body #dashboard .dash-grid-4,
html.theme-night-soft body #dashboard .dash-doc-atendimento-grid,
html.theme-night-soft body #dashboard .dash-tarefas-grupo,
html.theme-night-soft body #dashboard .dash-audiencias-grupo,
html.theme-night-soft body #dashboard .dash-documentos-grupo,
html.theme-night-soft body #dashboard .dash-atendimentos-grupo,
html.theme-night-soft body #dashboard .dash-financeiro-grupo,
html.theme-night-soft body #dashboard .dash-processos-grupo,
html.theme-night-soft body #dashboard .dash-indicadores-grupo,
html.theme-night-soft body #dashboard .grid2,
html.theme-night-soft body #dashboard .grid3,
html.theme-night-soft body #dashboard .grid4,
html.theme-night-soft body #dashboard .full,
body.theme-night-soft #dashboard .dash-v62-bloco,
body.theme-night-soft #dashboard .dash-v62-section-title,
body.theme-night-soft #dashboard .dash-v62-grid-equal,
body.theme-night-soft #dashboard .dash-grid-2,
body.theme-night-soft #dashboard .dash-grid-3,
body.theme-night-soft #dashboard .dash-grid-4,
body.theme-night-soft #dashboard .dash-doc-atendimento-grid,
body.theme-night-soft #dashboard .dash-tarefas-grupo,
body.theme-night-soft #dashboard .dash-audiencias-grupo,
body.theme-night-soft #dashboard .dash-documentos-grupo,
body.theme-night-soft #dashboard .dash-atendimentos-grupo,
body.theme-night-soft #dashboard .dash-financeiro-grupo,
body.theme-night-soft #dashboard .dash-processos-grupo,
body.theme-night-soft #dashboard .dash-indicadores-grupo,
body.theme-night-soft #dashboard .grid2,
body.theme-night-soft #dashboard .grid3,
body.theme-night-soft #dashboard .grid4,
body.theme-night-soft #dashboard .full{
  background:#242d3b!important;
  border-color:#242d3b!important;
  box-shadow:none!important;
}

html.theme-night-soft body #dashboard .dash-v62-section-title h3,
html.theme-night-soft body #dashboard .dash-v62-section-title span,
body.theme-night-soft #dashboard .dash-v62-section-title h3,
body.theme-night-soft #dashboard .dash-v62-section-title span{
  background:transparent!important;
}

/* Preservar os cards */
html.theme-night-soft body #dashboard .card,
html.theme-night-soft body #dashboard .stat,
html.theme-night-soft body #dashboard .dash-card,
html.theme-night-soft body #dashboard .dash-v62-card,
html.theme-night-soft body #dashboard .summary-card,
html.theme-night-soft body #dashboard .dash-link-card,
html.theme-night-soft body #dashboard #dash_produtividade_mes,
html.theme-night-soft body #dashboard #dash_saude_operacional_card,
body.theme-night-soft #dashboard .card,
body.theme-night-soft #dashboard .stat,
body.theme-night-soft #dashboard .dash-card,
body.theme-night-soft #dashboard .dash-v62-card,
body.theme-night-soft #dashboard .summary-card,
body.theme-night-soft #dashboard .dash-link-card,
body.theme-night-soft #dashboard #dash_produtividade_mes,
body.theme-night-soft #dashboard #dash_saude_operacional_card{
  background:#303b4d!important;
  border-color:#435166!important;
  box-shadow:0 14px 32px rgba(0,0,0,.18)!important;
}

/* Tema claro preservado */
body:not(.theme-night-soft) #dashboard,
body:not(.theme-night-soft) #dashboard .dash-smart,
body:not(.theme-night-soft) #dashboard .dash-v62,
body:not(.theme-night-soft) #dashboard .dash-v62-bloco,
body:not(.theme-night-soft) #dashboard .dash-v62-section-title,
body:not(.theme-night-soft) #dashboard .dash-v62-grid-equal,
body:not(.theme-night-soft) #dashboard .dash-grid-2,
body:not(.theme-night-soft) #dashboard .dash-grid-3,
body:not(.theme-night-soft) #dashboard .dash-grid-4,
body:not(.theme-night-soft) #dashboard .dash-doc-atendimento-grid,
body:not(.theme-night-soft) #dashboard .dash-tarefas-grupo,
body:not(.theme-night-soft) #dashboard .dash-audiencias-grupo,
body:not(.theme-night-soft) #dashboard .dash-documentos-grupo,
body:not(.theme-night-soft) #dashboard .dash-atendimentos-grupo,
body:not(.theme-night-soft) #dashboard .dash-financeiro-grupo,
body:not(.theme-night-soft) #dashboard .dash-processos-grupo,
body:not(.theme-night-soft) #dashboard .dash-indicadores-grupo,
body:not(.theme-night-soft) #dashboard .grid2,
body:not(.theme-night-soft) #dashboard .grid3,
body:not(.theme-night-soft) #dashboard .grid4,
body:not(.theme-night-soft) #dashboard .full{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}


/* V3.7.14 - Dashboard sem degradê no fundo estrutural */
html.theme-night-soft body #dashboard,
html.theme-night-soft body #dashboard .dash-smart,
html.theme-night-soft body #dashboard .dash-v62,
html.theme-night-soft body #dashboard .dash-v62-bloco,
html.theme-night-soft body #dashboard .dash-v62-section-title,
html.theme-night-soft body #dashboard .dash-v62-grid-equal,
html.theme-night-soft body #dashboard .dash-grid-2,
html.theme-night-soft body #dashboard .dash-grid-3,
html.theme-night-soft body #dashboard .dash-grid-4,
html.theme-night-soft body #dashboard .dash-doc-atendimento-grid,
html.theme-night-soft body #dashboard .dash-tarefas-grupo,
html.theme-night-soft body #dashboard .dash-audiencias-grupo,
html.theme-night-soft body #dashboard .dash-documentos-grupo,
html.theme-night-soft body #dashboard .dash-atendimentos-grupo,
html.theme-night-soft body #dashboard .dash-financeiro-grupo,
html.theme-night-soft body #dashboard .dash-processos-grupo,
html.theme-night-soft body #dashboard .dash-indicadores-grupo,
html.theme-night-soft body #dashboard .grid2,
html.theme-night-soft body #dashboard .grid3,
html.theme-night-soft body #dashboard .grid4,
html.theme-night-soft body #dashboard .full,
body.theme-night-soft #dashboard,
body.theme-night-soft #dashboard .dash-smart,
body.theme-night-soft #dashboard .dash-v62,
body.theme-night-soft #dashboard .dash-v62-bloco,
body.theme-night-soft #dashboard .dash-v62-section-title,
body.theme-night-soft #dashboard .dash-v62-grid-equal,
body.theme-night-soft #dashboard .dash-grid-2,
body.theme-night-soft #dashboard .dash-grid-3,
body.theme-night-soft #dashboard .dash-grid-4,
body.theme-night-soft #dashboard .dash-doc-atendimento-grid,
body.theme-night-soft #dashboard .dash-tarefas-grupo,
body.theme-night-soft #dashboard .dash-audiencias-grupo,
body.theme-night-soft #dashboard .dash-documentos-grupo,
body.theme-night-soft #dashboard .dash-atendimentos-grupo,
body.theme-night-soft #dashboard .dash-financeiro-grupo,
body.theme-night-soft #dashboard .dash-processos-grupo,
body.theme-night-soft #dashboard .dash-indicadores-grupo,
body.theme-night-soft #dashboard .grid2,
body.theme-night-soft #dashboard .grid3,
body.theme-night-soft #dashboard .grid4,
body.theme-night-soft #dashboard .full{
  background:#242d3b!important;
  background-image:none!important;
}

html.theme-night-soft body #dashboard .dash-v62-section-title h3,
html.theme-night-soft body #dashboard .dash-v62-section-title span,
body.theme-night-soft #dashboard .dash-v62-section-title h3,
body.theme-night-soft #dashboard .dash-v62-section-title span{
  background:transparent!important;
  background-image:none!important;
}


/* V3.7.14 - Dashboard: linhas da tabela de tarefas no MESMO fundo do card (tema escuro) */
html.theme-night-soft body #dashboard .dash-tarefas-tabela-box,
body.theme-night-soft #dashboard .dash-tarefas-tabela-box{
  border-bottom-color:#303b4d!important;
}

html.theme-night-soft body #dashboard .dash-tarefas-tabela-fixa,
body.theme-night-soft #dashboard .dash-tarefas-tabela-fixa{
  border-color:#303b4d!important;
  background:#303b4d!important;
}

html.theme-night-soft body #dashboard .dash-tarefas-tabela-fixa th,
html.theme-night-soft body #dashboard .dash-tarefas-tabela-fixa td,
body.theme-night-soft #dashboard .dash-tarefas-tabela-fixa th,
body.theme-night-soft #dashboard .dash-tarefas-tabela-fixa td{
  border-bottom-color:#303b4d!important;
}

html.theme-night-soft body #dashboard .dash-tarefas-tabela-fixa th,
body.theme-night-soft #dashboard .dash-tarefas-tabela-fixa th{
  background:#3a475e!important;
}

html.theme-night-soft body #dashboard .dash-tarefas-tabela-fixa tr:last-child td,
body.theme-night-soft #dashboard .dash-tarefas-tabela-fixa tr:last-child td{
  border-bottom-color:#303b4d!important;
}


/* V3.7.14 - Dashboard: somente a linha branca externa abaixo da tabela de tarefas */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas{
  --dash-task-external-line:#303b4d;
}

/* Alvo específico: linha externa do bloco da tabela, não as linhas internas da tabela */
html.theme-night-soft body #dashboard .dash-v62-bloco-tarefas .dash-tarefas-tabela-box,
body.theme-night-soft #dashboard .dash-v62-bloco-tarefas .dash-tarefas-tabela-box{
  border-bottom-color:#303b4d!important;
}

/* Tema claro preservado */
body:not(.theme-night-soft) #dashboard .dash-v62-bloco-tarefas{
  --dash-task-external-line:#e2e8f0;
}

