/* JurisOffice V3.7.0 — menu lateral único para todas as páginas */
:root{--jo-sidebar-expanded:clamp(240px,16.5vw,256px);--jo-sidebar-collapsed:72px;--jo-sidebar-bg:#282c38;--jo-sidebar-border:#353a48;--jo-sidebar-active:#333845;--jo-sidebar-text:#94a3b8;--jo-sidebar-white:#f8fafc;--jo-sidebar-accent:#6366f1}
body.app{grid-template-columns:var(--jo-sidebar-expanded) minmax(0,1fr)!important}
body.app .sidebar.jo-sidebar,
body.app:has(.case-workspace) .sidebar.jo-sidebar,
body.app:has(.jo-dashboard) .sidebar.jo-sidebar{width:var(--jo-sidebar-expanded)!important;min-width:var(--jo-sidebar-expanded)!important;height:100vh!important;position:sticky!important;top:0!important;padding:0 16px 12px!important;background:var(--jo-sidebar-bg)!important;border-right:1px solid var(--jo-sidebar-border)!important;color:var(--jo-sidebar-white)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
body.app .sidebar.jo-sidebar .jo-sidebar-brand,
body.app:has(.case-workspace) .sidebar.jo-sidebar .jo-sidebar-brand,
body.app:has(.jo-dashboard) .sidebar.jo-sidebar .jo-sidebar-brand{height:73px!important;min-height:73px!important;margin:0 -16px 14px!important;padding:0 52px 0 20px!important;border-bottom:1px solid var(--jo-sidebar-border)!important;display:flex!important;align-items:center!important;position:relative!important;background:transparent!important;gap:0!important}
.jo-wordmark{display:inline-flex!important;align-items:center!important;gap:0!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:18px!important;line-height:1!important;font-weight:700!important;letter-spacing:.105em!important;white-space:nowrap!important}
.jo-wordmark span:first-child{color:#fff!important}.jo-wordmark span:last-child{color:var(--jo-sidebar-accent)!important}
.jo-sidebar-toggle{position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;border:1px solid #4a5262!important;border-radius:8px!important;background:transparent!important;color:#94a3b8!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important}
.jo-sidebar-toggle:hover{background:#343a48!important;color:#fff!important}.jo-sidebar-toggle svg{width:16px!important;height:16px!important;transition:transform .2s ease!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav{display:grid!important;gap:3px!important;max-height:calc(100vh - 99px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 2px 0 0!important;scrollbar-width:thin!important;scrollbar-color:#55584f transparent!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav::-webkit-scrollbar{width:5px}body.app .sidebar.jo-sidebar nav.jo-sidebar-nav::-webkit-scrollbar-thumb{background:#55584f;border-radius:8px}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a{height:40px!important;min-height:40px!important;padding:0 12px!important;border-radius:7px!important;color:var(--jo-sidebar-text)!important;text-decoration:none!important;display:flex!important;align-items:center!important;gap:12px!important;font:500 14px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:nowrap!important;overflow:hidden!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a span{font:inherit!important;color:inherit!important;display:block!important;min-width:0!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a:hover{background:var(--jo-sidebar-active)!important;color:#fff!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a.active{background:var(--jo-sidebar-active)!important;color:#fff!important;font-weight:600!important}
body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a::before{content:""!important;width:16px!important;height:16px!important;min-width:16px!important;display:block!important;background:currentColor!important;mask-repeat:no-repeat!important;-webkit-mask-repeat:no-repeat!important;mask-position:center!important;-webkit-mask-position:center!important;mask-size:16px 16px!important;-webkit-mask-size:16px 16px!important}
/* SVGs vetoriais embutidos: não dependem de Font Awesome ou fonte externa. */
.jo-sidebar a[data-icon="dashboard"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="clientes"]::before,.jo-sidebar a[data-icon="usuarios"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-5 0-8 2.4-8 5.5V22h16v-2.5C20 16.4 17 14 12 14Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-5 0-8 2.4-8 5.5V22h16v-2.5C20 16.4 17 14 12 14Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="processos"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4h11v2H9V4ZM9 11h11v2H9v-2Zm0 7h11v2H9v-2ZM3.5 3.5 6 6 4.6 7.4 2.1 4.9l1.4-1.4Zm0 7L6 13l-1.4 1.4-2.5-2.5 1.4-1.4Zm0 7L6 20l-1.4 1.4-2.5-2.5 1.4-1.4Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4h11v2H9V4ZM9 11h11v2H9v-2Zm0 7h11v2H9v-2ZM3.5 3.5 6 6 4.6 7.4 2.1 4.9l1.4-1.4Zm0 7L6 13l-1.4 1.4-2.5-2.5 1.4-1.4Zm0 7L6 20l-1.4 1.4-2.5-2.5 1.4-1.4Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="prazos"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a8 8 0 1 1-7.4 5H2l3.5-4L9 9H6.7A6 6 0 1 0 12 6V4Zm-1 4h2v5l3 2-1 1.7-4-2.7V8Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a8 8 0 1 1-7.4 5H2l3.5-4L9 9H6.7A6 6 0 1 0 12 6V4Zm-1 4h2v5l3 2-1 1.7-4-2.7V8Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="audiencias"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 2 7v2h20V7L12 2ZM4 11h3v7H4v-7Zm6 0h4v7h-4v-7Zm7 0h3v7h-3v-7ZM2 20h20v2H2v-2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 2 7v2h20V7L12 2ZM4 11h3v7H4v-7Zm6 0h4v7h-4v-7Zm7 0h3v7h-3v-7ZM2 20h20v2H2v-2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="tarefas"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 12 4 4L18 5l2 2L7 20 1 14l2-2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 12 4 4L18 5l2 2L7 20 1 14l2-2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="agenda"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14v18H5V3Zm3 4h8V5H8v2Zm0 4h8V9H8v2Zm0 4h6v-2H8v2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14v18H5V3Zm3 4h8V5H8v2Zm0 4h8V9H8v2Zm0 4h6v-2H8v2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="intimacoes"]::before,.jo-sidebar a[data-icon="notificacoes"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.4 2.4 0 0 0 2.3-2h-4.6A2.4 2.4 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2h18l-2-2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.4 2.4 0 0 0 2.3-2h-4.6A2.4 2.4 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2h18l-2-2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="monitor"]::before,.jo-sidebar a[data-icon="integracoes"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7h11l-3-3 1.4-1.4L22 8l-5.6 5.4L15 12l3-3H7V7Zm10 10H6l3 3-1.4 1.4L2 16l5.6-5.4L9 12l-3 3h11v2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7h11l-3-3 1.4-1.4L22 8l-5.6 5.4L15 12l3-3H7V7Zm10 10H6l3 3-1.4 1.4L2 16l5.6-5.4L9 12l-3 3h11v2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="financeiro"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v2.1c3 .4 5 2 5 4.4h-3c0-1.2-1.3-2-3-2s-3 .7-3 1.8c0 1 1.2 1.5 3.8 2.1 3.7.8 5.5 2.1 5.5 5 0 2.7-2.1 4.4-5.3 4.8V22h-2v-1.8c-3.4-.4-5.6-2.2-5.6-5h3c0 1.5 1.5 2.5 3.6 2.5 2 0 3.2-.8 3.2-2 0-1.1-1.2-1.6-4-2.3-3.5-.8-5.2-2-5.2-4.7 0-2.4 2-4.1 5-4.5V2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v2.1c3 .4 5 2 5 4.4h-3c0-1.2-1.3-2-3-2s-3 .7-3 1.8c0 1 1.2 1.5 3.8 2.1 3.7.8 5.5 2.1 5.5 5 0 2.7-2.1 4.4-5.3 4.8V22h-2v-1.8c-3.4-.4-5.6-2.2-5.6-5h3c0 1.5 1.5 2.5 3.6 2.5 2 0 3.2-.8 3.2-2 0-1.1-1.2-1.6-4-2.3-3.5-.8-5.2-2-5.2-4.7 0-2.4 2-4.1 5-4.5V2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="modelos"]::before,.jo-sidebar a[data-icon="documentos"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="relatorios"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H4v-2Zm1-2V8h3v10H5Zm6 0V3h3v15h-3Zm6 0v-7h3v7h-3Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H4v-2Zm1-2V8h3v10H5Zm6 0V3h3v15h-3Zm6 0v-7h3v7h-3Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="mensagens"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v14H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v14H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="lixeira"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 12H7L6 9Zm3 2v8h2v-8H9Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 12H7L6 9Zm3 2v8h2v-8H9Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E")}
.jo-sidebar a[data-icon="seguranca"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 3.2L6 7.4V11c0 4 2.4 7.4 6 8.8 3.6-1.4 6-4.8 6-8.8V7.4l-6-2.2Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 3.2L6 7.4V11c0 4 2.4 7.4 6 8.8 3.6-1.4 6-4.8 6-8.8V7.4l-6-2.2Z'/%3E%3C/svg%3E")}
body.app.jo-sidebar-collapsed{grid-template-columns:var(--jo-sidebar-collapsed) minmax(0,1fr)!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar{width:var(--jo-sidebar-collapsed)!important;min-width:var(--jo-sidebar-collapsed)!important;padding-left:8px!important;padding-right:8px!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar .jo-sidebar-brand{margin-left:-8px!important;margin-right:-8px!important;padding:0!important;justify-content:center!important}
body.app.jo-sidebar-collapsed .jo-wordmark{display:none!important}
body.app.jo-sidebar-collapsed .jo-sidebar-toggle{position:static!important;transform:none!important;width:34px!important;height:34px!important}
body.app.jo-sidebar-collapsed .jo-sidebar-toggle svg{transform:rotate(180deg)!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar nav.jo-sidebar-nav{padding-right:0!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar nav.jo-sidebar-nav a{justify-content:center!important;padding:0!important;gap:0!important;overflow:visible!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar nav.jo-sidebar-nav a span{display:none!important}
body.app.jo-sidebar-collapsed .sidebar.jo-sidebar nav.jo-sidebar-nav a::before{width:18px!important;height:18px!important;min-width:18px!important;mask-size:18px!important;-webkit-mask-size:18px!important}
/* Neutraliza os antigos modos específicos por página. */
body.app.case-sidebar-collapsed,body.app.dashboard-sidebar-collapsed{grid-template-columns:var(--jo-sidebar-expanded) minmax(0,1fr)!important}
body.app.case-sidebar-collapsed .sidebar.jo-sidebar,body.app.dashboard-sidebar-collapsed .sidebar.jo-sidebar{width:var(--jo-sidebar-expanded)!important;min-width:var(--jo-sidebar-expanded)!important}
@media(max-width:800px){body.app{grid-template-columns:1fr!important}body.app .sidebar.jo-sidebar{display:none!important;position:fixed!important;z-index:50!important;left:0!important;top:0!important;width:256px!important;min-width:256px!important}body.app .sidebar.jo-sidebar.open{display:flex!important}body.app.jo-sidebar-collapsed .sidebar.jo-sidebar{width:72px!important;min-width:72px!important}.mobile-menu{display:inline-flex!important}}


/* V3.7.9 — consolidação definitiva do shell lateral
   Uma única geometria para Dashboard, Processos e demais páginas. */
html{background:#1e212b}
body.app,
body.app:has(.jo-dashboard),
body.app:has(.case-workspace){
  grid-template-columns:var(--jo-sidebar-expanded) minmax(0,1fr)!important;
}
html body.app .sidebar.jo-sidebar,
html body.app:has(.jo-dashboard) .sidebar.jo-sidebar,
html body.app:has(.case-workspace) .sidebar.jo-sidebar{
  box-sizing:border-box!important;
  width:var(--jo-sidebar-expanded)!important;
  min-width:var(--jo-sidebar-expanded)!important;
  max-width:var(--jo-sidebar-expanded)!important;
  padding:0 16px 12px!important;
  overflow:hidden!important;
}
html body.app .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app:has(.jo-dashboard) .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app:has(.case-workspace) .sidebar.jo-sidebar .jo-sidebar-brand{
  box-sizing:border-box!important;
  width:calc(100% + 32px)!important;
  max-width:none!important;
  height:73px!important;
  min-height:73px!important;
  margin:0 -16px 14px!important;
  padding:0 56px 0 20px!important;
  overflow:hidden!important;
  position:relative!important;
}
html body.app .jo-wordmark{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  font-size:clamp(16px,1.18vw,18px)!important;
  letter-spacing:.105em!important;
}
html body.app .jo-sidebar-toggle{
  right:12px!important;
  left:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  margin:0!important;
  z-index:3!important;
  box-sizing:border-box!important;
}
html body.app .sidebar.jo-sidebar nav.jo-sidebar-nav{
  width:100%!important;
  min-width:0!important;
}
html body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a{
  width:100%!important;
  min-width:0!important;
}
html body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
/* O estado recolhido também passa a ser único, inclusive no Dashboard. */
html body.app.jo-sidebar-collapsed,
html body.app.jo-sidebar-collapsed:has(.jo-dashboard),
html body.app.jo-sidebar-collapsed:has(.case-workspace){
  grid-template-columns:var(--jo-sidebar-collapsed) minmax(0,1fr)!important;
}
html body.app.jo-sidebar-collapsed .sidebar.jo-sidebar,
html body.app.jo-sidebar-collapsed:has(.jo-dashboard) .sidebar.jo-sidebar,
html body.app.jo-sidebar-collapsed:has(.case-workspace) .sidebar.jo-sidebar{
  width:var(--jo-sidebar-collapsed)!important;
  min-width:var(--jo-sidebar-collapsed)!important;
  max-width:var(--jo-sidebar-collapsed)!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
html body.app.jo-sidebar-collapsed .sidebar.jo-sidebar .jo-sidebar-brand{
  width:calc(100% + 16px)!important;
  margin-left:-8px!important;
  margin-right:-8px!important;
  padding:0!important;
  justify-content:center!important;
}
html body.app.jo-sidebar-collapsed .jo-sidebar-toggle{
  position:static!important;
  transform:none!important;
  margin:0 auto!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
}
/* Neutraliza as geometrias antigas específicas do Dashboard. */
html body.app.dashboard-sidebar-collapsed,
html body.app.case-sidebar-collapsed{
  grid-template-columns:var(--jo-sidebar-expanded) minmax(0,1fr)!important;
}
@media (max-width:900px) and (min-width:801px){
  :root{--jo-sidebar-expanded:240px}
  html body.app .jo-wordmark{font-size:16px!important;letter-spacing:.09em!important}
}
@media(max-width:800px){
  body.app,body.app:has(.jo-dashboard),body.app:has(.case-workspace){grid-template-columns:1fr!important}
  html body.app .sidebar.jo-sidebar{width:256px!important;min-width:256px!important;max-width:256px!important}
  html body.app .sidebar.jo-sidebar .jo-sidebar-brand{width:calc(100% + 32px)!important}
  html body.app .jo-wordmark{font-size:18px!important}
}

/* V3.7.10 — identidade visual única do menu lateral */
html body.app .jo-wordmark{
  font-size:20px!important;
  letter-spacing:.105em!important;
}
html body.app .jo-sidebar-toggle{
  right:18px!important;
}
html body.app .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app:has(.jo-dashboard) .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app:has(.case-workspace) .sidebar.jo-sidebar .jo-sidebar-brand{
  padding-right:56px!important;
}

/* Dashboard: casinha em todas as páginas, inclusive no próprio Dashboard. */
.jo-sidebar a[data-icon="dashboard"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E")!important;
}
/* Conjunto visual originalmente usado no Dashboard, agora global. */
.jo-sidebar a[data-icon="processos"]::before,
.jo-sidebar a[data-icon="modelos"]::before,
.jo-sidebar a[data-icon="documentos"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E")!important;
}
.jo-sidebar a[data-icon="prazos"]::before,
.jo-sidebar a[data-icon="agenda"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h4v17H3V5h4V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h4v17H3V5h4V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E")!important;
}
.jo-sidebar a[data-icon="audiencias"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m14.2 4.2 5.6 5.6-1.4 1.4-1-1-4.6 4.6 1 1-1.4 1.4-5.6-5.6 1.4-1.4 1 1 4.6-4.6-1-1 1.4-1.4ZM3 20h11v2H3v-2Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m14.2 4.2 5.6 5.6-1.4 1.4-1-1-4.6 4.6 1 1-1.4 1.4-5.6-5.6 1.4-1.4 1 1 4.6-4.6-1-1 1.4-1.4ZM3 20h11v2H3v-2Z'/%3E%3C/svg%3E")!important;
}
.jo-sidebar a[data-icon="intimacoes"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3v18h2v-7h11l-2.5-4L18 6H7V3H5Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3v18h2v-7h11l-2.5-4L18 6H7V3H5Z'/%3E%3C/svg%3E")!important;
}
.jo-sidebar a[data-icon="seguranca"]::before{
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 5a3 3 0 0 0-3 3v2H8v5h8v-5h-1v-2a3 3 0 0 0-3-3Zm0 2a1 1 0 0 1 1 1v2h-2v-2a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 5a3 3 0 0 0-3 3v2H8v5h8v-5h-1v-2a3 3 0 0 0-3-3Zm0 2a1 1 0 0 1 1 1v2h-2v-2a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E")!important;
}
@media (max-width:900px) and (min-width:801px){
  html body.app .jo-wordmark{font-size:18px!important;letter-spacing:.095em!important}
  html body.app .jo-sidebar-toggle{right:16px!important}
}

/* V3.7.11 — estado recolhido e iconografia realmente globais */
/* No menu recolhido, o toggle fica no centro territorial da faixa de 72px. */
html body.app.jo-sidebar-collapsed .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app.jo-sidebar-collapsed:has(.jo-dashboard) .sidebar.jo-sidebar .jo-sidebar-brand,
html body.app.jo-sidebar-collapsed:has(.case-workspace) .sidebar.jo-sidebar .jo-sidebar-brand{
  box-sizing:border-box!important;
  width:var(--jo-sidebar-collapsed)!important;
  min-width:var(--jo-sidebar-collapsed)!important;
  max-width:var(--jo-sidebar-collapsed)!important;
  margin-left:-8px!important;
  margin-right:-8px!important;
  padding:0!important;
  position:relative!important;
  justify-content:initial!important;
}
html body.app.jo-sidebar-collapsed .jo-sidebar-toggle,
html body.app.jo-sidebar-collapsed:has(.jo-dashboard) .jo-sidebar-toggle,
html body.app.jo-sidebar-collapsed:has(.case-workspace) .jo-sidebar-toggle{
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
}
html body.app.jo-sidebar-collapsed .jo-sidebar-toggle svg{
  transform:rotate(180deg)!important;
}

/* Base única: todos os itens usam o mesmo tamanho e a mesma técnica SVG/máscara. */
html body.app .sidebar.jo-sidebar nav.jo-sidebar-nav a::before{
  content:""!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  display:block!important;
  background-color:currentColor!important;
  background-image:none!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-position:center!important;
  -webkit-mask-position:center!important;
  mask-size:16px 16px!important;
  -webkit-mask-size:16px 16px!important;
  font-family:initial!important;
  font-style:normal!important;
  line-height:1!important;
}
html body.app.jo-sidebar-collapsed .sidebar.jo-sidebar nav.jo-sidebar-nav a::before{
  width:18px!important;height:18px!important;min-width:18px!important;
  mask-size:18px 18px!important;-webkit-mask-size:18px 18px!important;
}

/* Conjunto do Dashboard, aplicado globalmente em qualquer rota. */
html body.app .jo-sidebar a[data-icon="dashboard"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3V10.5Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="clientes"]::before,html body.app .jo-sidebar a[data-icon="usuarios"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-5 0-8 2.4-8 5.5V22h16v-2.5C20 16.4 17 14 12 14Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-5 0-8 2.4-8 5.5V22h16v-2.5C20 16.4 17 14 12 14Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="processos"]::before,html body.app .jo-sidebar a[data-icon="modelos"]::before,html body.app .jo-sidebar a[data-icon="documentos"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h10l4 4v14H5V3Zm9 1.5V8h3.5L14 4.5ZM8 12h8v-2H8v2Zm0 4h8v-2H8v2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="prazos"]::before,html body.app .jo-sidebar a[data-icon="agenda"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h4v17H3V5h4V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h4v17H3V5h4V2Zm12 8H5v10h14V10Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="audiencias"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m14.2 4.2 5.6 5.6-1.4 1.4-1-1-4.6 4.6 1 1-1.4 1.4-5.6-5.6 1.4-1.4 1 1 4.6-4.6-1-1 1.4-1.4ZM3 20h11v2H3v-2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m14.2 4.2 5.6 5.6-1.4 1.4-1-1-4.6 4.6 1 1-1.4 1.4-5.6-5.6 1.4-1.4 1 1 4.6-4.6-1-1 1.4-1.4ZM3 20h11v2H3v-2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="tarefas"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 12 4 4L18 5l2 2L7 20 1 14l2-2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 12 4 4L18 5l2 2L7 20 1 14l2-2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="intimacoes"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3v18h2v-7h11l-2.5-4L18 6H7V3H5Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3v18h2v-7h11l-2.5-4L18 6H7V3H5Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="monitor"]::before,html body.app .jo-sidebar a[data-icon="integracoes"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7h11l-3-3 1.4-1.4L22 8l-5.6 5.4L15 12l3-3H7V7Zm10 10H6l3 3-1.4 1.4L2 16l5.6-5.4L9 12l-3 3h11v2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7h11l-3-3 1.4-1.4L22 8l-5.6 5.4L15 12l3-3H7V7Zm10 10H6l3 3-1.4 1.4L2 16l5.6-5.4L9 12l-3 3h11v2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="financeiro"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v2.1c3 .4 5 2 5 4.4h-3c0-1.2-1.3-2-3-2s-3 .7-3 1.8c0 1 1.2 1.5 3.8 2.1 3.7.8 5.5 2.1 5.5 5 0 2.7-2.1 4.4-5.3 4.8V22h-2v-1.8c-3.4-.4-5.6-2.2-5.6-5h3c0 1.5 1.5 2.5 3.6 2.5 2 0 3.2-.8 3.2-2 0-1.1-1.2-1.6-4-2.3-3.5-.8-5.2-2-5.2-4.7 0-2.4 2-4.1 5-4.5V2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v2.1c3 .4 5 2 5 4.4h-3c0-1.2-1.3-2-3-2s-3 .7-3 1.8c0 1 1.2 1.5 3.8 2.1 3.7.8 5.5 2.1 5.5 5 0 2.7-2.1 4.4-5.3 4.8V22h-2v-1.8c-3.4-.4-5.6-2.2-5.6-5h3c0 1.5 1.5 2.5 3.6 2.5 2 0 3.2-.8 3.2-2 0-1.1-1.2-1.6-4-2.3-3.5-.8-5.2-2-5.2-4.7 0-2.4 2-4.1 5-4.5V2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="relatorios"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H4v-2Zm1-2V8h3v10H5Zm6 0V3h3v15h-3Zm6 0v-7h3v7h-3Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H4v-2Zm1-2V8h3v10H5Zm6 0V3h3v15h-3Zm6 0v-7h3v7h-3Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="mensagens"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v14H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v14H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="notificacoes"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.4 2.4 0 0 0 2.3-2H9.7A2.4 2.4 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2h18l-2-2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.4 2.4 0 0 0 2.3-2H9.7A2.4 2.4 0 0 0 12 22Zm7-6V11a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2h18l-2-2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="lixeira"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 13H7L6 9Zm4 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3h8l1 2h4v2H3V5h4l1-2Zm-2 6h12l-1 13H7L6 9Zm4 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E")!important}
html body.app .jo-sidebar a[data-icon="seguranca"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 4-6 2v3c0 4 2.3 7.2 6 8.7 3.7-1.5 6-4.7 6-8.7V8l-6-2Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 20 5v6c0 5.2-3.3 9.4-8 11-4.7-1.6-8-5.8-8-11V5l8-3Zm0 4-6 2v3c0 4 2.3 7.2 6 8.7 3.7-1.5 6-4.7 6-8.7V8l-6-2Z'/%3E%3C/svg%3E")!important}
/* V3.8.0 — ícone global do módulo Casos */
.jo-sidebar a[data-icon="casos"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4V2h6v2h5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5Zm2 0h2V3h-2v1ZM4 9v10h16V9h-5v2H9V9H4Z'/%3E%3C/svg%3E")!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4V2h6v2h5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5Zm2 0h2V3h-2v1ZM4 9v10h16V9h-5v2H9V9H4Z'/%3E%3C/svg%3E")!important}
