/* JURIDICO CENA — paridade visual final com o Comercial/Locacoes */
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]){
  --jp-navy:#05263b;--jp-deep:#031b2a;--jp-blue:#0c4566;--jp-linen:#f5efe5;--jp-linen2:#e9dfd1;--jp-gold:#c99750;--jp-ink:#0b2d48;
  background:linear-gradient(145deg,#f5efe6 0%,#ebe2d6 55%,#f8f4ed 100%)!important;
}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) .main{
  margin-left:248px!important;width:calc(100% - 248px)!important;min-width:0!important;
  background:transparent!important;overflow-x:hidden!important;
}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #content{
  position:relative!important;padding:0 16px 34px!important;margin:0!important;background:transparent!important;overflow:visible!important;
}
/* Topbar flutuante, sem caixa de pesquisa */
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar{
  position:absolute!important;left:0!important;right:0!important;top:0!important;z-index:80!important;height:70px!important;min-height:70px!important;
  padding:10px 28px 8px 34px!important;border:0!important;box-shadow:none!important;
  background:linear-gradient(90deg,rgba(249,246,240,.70) 0%,rgba(249,246,240,.28) 38%,rgba(5,34,53,.03) 100%)!important;
  backdrop-filter:blur(5px) saturate(1.02)!important;-webkit-backdrop-filter:blur(5px) saturate(1.02)!important;
  pointer-events:none!important;
}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar>*{pointer-events:auto!important}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar .gsearch{display:none!important}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar .topright{margin-left:auto!important}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar:after{content:"";position:absolute;left:28px;right:28px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(204,158,91,.22) 31%,rgba(255,255,255,.42) 58%,rgba(94,151,179,.14) 83%,transparent)}
html:not(.dark) .app.on:not(.hubview):has(#sidebar[data-system="juris"]) #topbar .iconbtn{width:42px!important;height:42px!important;border-radius:50%!important;color:#f7efe3!important;border:1px solid rgba(211,172,108,.38)!important;background:linear-gradient(145deg,rgba(9,55,84,.95),rgba(3,31,49,.97))!important;box-shadow:inset 0 1px rgba(255,255,255,.11),0 10px 24px -19px rgba(0,27,45,.8)!important}
/* Hero: mesma estrutura e proporcao do Painel de Locacoes */
html:not(.dark) #content.jl-dashboard-page .ju-hero{
  display:block!important;position:relative!important;isolation:isolate!important;
  min-height:272px!important;height:272px!important;margin:0 -16px 0!important;border-radius:0 0 30px 30px!important;overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(249,245,238,.97) 0%,rgba(249,245,238,.91) 25%,rgba(246,240,230,.57) 38%,rgba(242,234,220,.17) 49%,rgba(5,37,57,.04) 64%,rgba(2,24,39,.20) 100%),
    linear-gradient(180deg,rgba(255,255,255,.07),rgba(2,25,40,.10)),
    url('juris-justice-approved.webp') 83% 10%/auto 142% no-repeat,
    url('assets/cards-emp/centro-executivo-carl-hoepcke.jpg') center 43%/cover no-repeat!important;
  border:0!important;border-bottom:1px solid rgba(204,158,91,.20)!important;
  box-shadow:0 34px 76px -48px rgba(0,28,46,.58),inset 0 -1px rgba(255,255,255,.52)!important;
}
/* grande recorte de linho */
html:not(.dark) #content.jl-dashboard-page .ju-hero:before{
  content:""!important;position:absolute!important;z-index:1!important;left:-11%!important;top:-185px!important;width:70%!important;height:366px!important;
  transform:rotate(-4.1deg)!important;border-radius:0 0 78% 13% / 0 0 72% 16%!important;
  background:radial-gradient(ellipse at 79% 96%,rgba(255,255,255,.72),transparent 43%),radial-gradient(ellipse at 16% 14%,rgba(255,255,255,.88),transparent 52%),linear-gradient(138deg,#faf7f1 0%,#f0e7dc 62%,#e5d6c4 100%)!important;
  box-shadow:28px 25px 68px -55px rgba(2,37,59,.62),inset -1px -1px rgba(190,151,96,.12)!important;opacity:.97!important;
}
html:not(.dark) #content.jl-dashboard-page .ju-hero:after{
  content:""!important;position:absolute!important;inset:0!important;z-index:2!important;pointer-events:none!important;
  background:radial-gradient(113% 92% at 8% -44%,transparent 0 55.3%,rgba(198,153,87,.24) 55.65%,transparent 56.1%),radial-gradient(103% 80% at 17% -33%,transparent 0 60.4%,rgba(255,255,255,.62) 60.8%,transparent 61.4%),radial-gradient(93% 69% at 28% -29%,transparent 0 63.5%,rgba(84,145,175,.13) 63.9%,transparent 64.3%),linear-gradient(100deg,transparent 0 42%,rgba(255,255,255,.04) 54%,rgba(5,39,60,.05) 72%,rgba(1,18,30,.17) 100%)!important;
}
html:not(.dark) #content.jl-dashboard-page .ju-hero-copy{position:absolute!important;z-index:6!important;left:42px!important;top:92px!important;max-width:520px!important}
html:not(.dark) #content.jl-dashboard-page .ju-kicker{color:#315f77!important;font-size:9px!important;font-weight:700!important;letter-spacing:.29em!important}
html:not(.dark) #content.jl-dashboard-page .ju-hero h1{margin:9px 0 6px!important;color:#0a2b45!important;font:500 clamp(34px,3.3vw,48px)/1.01 Georgia,'Times New Roman',serif!important;letter-spacing:-.035em!important;text-shadow:0 1px rgba(255,255,255,.65)!important}
html:not(.dark) #content.jl-dashboard-page .ju-hero p{color:#547080!important;font-size:12px!important}
html:not(.dark) #content.jl-dashboard-page .ju-hero-note{position:absolute!important;z-index:6!important;right:34px!important;top:110px!important;bottom:auto!important;width:175px!important;text-align:right!important;color:rgba(255,255,255,.93)!important;font:italic 11px/1.4 Georgia,'Times New Roman',serif!important;text-shadow:0 2px 13px rgba(0,20,33,.82)!important}
html:not(.dark) #content.jl-dashboard-page .ju-hero-note b{display:block!important;margin-bottom:7px!important;color:#e8c78f!important;font:700 8px/1.2 Inter,sans-serif!important;letter-spacing:.17em!important}
html:not(.dark) #content.jl-dashboard-page>.pageheader{display:none!important}
/* KPIs sobrepostos como no Comercial */
html:not(.dark) #content.jl-dashboard-page>.kpis{position:relative!important;z-index:10!important;margin:-43px 12px 14px!important;padding:0!important;gap:13px!important}
html:not(.dark) #content.jl-dashboard-page>.kpis .kpi{min-height:114px!important;border-radius:15px!important;background:linear-gradient(150deg,rgba(255,253,250,.98),rgba(238,229,216,.96))!important;border:1px solid rgba(55,77,91,.10)!important;border-top-color:rgba(255,255,255,.94)!important;box-shadow:0 22px 44px -32px rgba(0,31,51,.58),inset 0 1px rgba(255,255,255,.98)!important}
html:not(.dark) #content.jl-dashboard-page>.kpis .kpi .iconwrap{border-radius:50%!important;color:#bd7c32!important;background:linear-gradient(145deg,#fbf5ec,#ead7bd)!important}
/* Corpo do painel */
html:not(.dark) #content.jl-dashboard-page{background:linear-gradient(145deg,#f5efe6 0%,#ebe2d6 55%,#f8f4ed 100%)!important}
html:not(.dark) #content.jl-dashboard-page .grid2{gap:14px!important;margin:0 0 14px!important}
html:not(.dark) #content.jl-dashboard-page .panel{min-height:360px!important;padding:20px!important;border-radius:18px!important;border:1px solid rgba(43,72,90,.10)!important;background:radial-gradient(420px 190px at 100% 0%,rgba(77,145,181,.055),transparent 72%),linear-gradient(145deg,rgba(255,253,249,.97),rgba(239,230,218,.94))!important;box-shadow:0 23px 50px -38px rgba(0,28,46,.58),inset 0 1px rgba(255,255,255,.96)!important}
html:not(.dark) #content.jl-dashboard-page .panel h3{font:500 21px Georgia,'Times New Roman',serif!important;color:#0b2d48!important}
html:not(.dark) #content.jl-dashboard-page [data-report-section="juris-operacao"]>.panel{min-height:auto!important}
/* Paginas internas: hero/cabecalho no mesmo idioma visual */
html:not(.dark) #content.jl-approved:not(.jl-dashboard-page)>.pageheader{min-height:220px!important;margin:0 -16px 18px!important;padding:100px 38px 28px!important;border:0!important;border-radius:0 0 28px 28px!important;overflow:hidden!important;background:linear-gradient(90deg,rgba(249,245,238,.97) 0%,rgba(249,245,238,.87) 28%,rgba(246,240,230,.56) 41%,rgba(4,35,55,.07) 67%,rgba(2,24,39,.18) 100%),url('juris-justice-approved.webp') 85% 8%/auto 150% no-repeat,url('assets/cards-emp/centro-executivo-carl-hoepcke.jpg') center 43%/cover no-repeat!important;box-shadow:0 34px 76px -50px rgba(0,28,46,.5)!important}
html:not(.dark) #content.jl-approved:not(.jl-dashboard-page)>.pageheader:after{content:""!important;position:absolute!important;z-index:0!important;left:-11%!important;top:-175px!important;width:68%!important;height:345px!important;border-radius:0 0 78% 13% / 0 0 72% 16%!important;transform:rotate(-4deg)!important;background:linear-gradient(138deg,#faf7f1 0%,#f0e7dc 62%,#e5d6c4 100%)!important;box-shadow:28px 25px 68px -55px rgba(2,37,59,.55)!important}
html:not(.dark) #content.jl-approved:not(.jl-dashboard-page)>.pageheader>div{position:relative!important;z-index:2!important}
html:not(.dark) #content.jl-approved:not(.jl-dashboard-page)>.pageheader h1{font:500 clamp(32px,3vw,44px)/1.02 Georgia,'Times New Roman',serif!important;color:#0a2b45!important;letter-spacing:-.03em!important}
html:not(.dark) #content.jl-approved:not(.jl-dashboard-page)>.pageheader .desc{color:#557080!important;font-size:12px!important}
/* Sidebar: mesma sofisticacao do Comercial sem trocar a personalidade */
html:not(.dark) #sidebar[data-system="juris"]{background:linear-gradient(180deg,rgba(2,27,43,.08) 0 55%,rgba(2,24,38,.74) 79%,rgba(1,18,29,.97) 100%),radial-gradient(110% 58% at 22% 15%,rgba(54,139,184,.22),transparent 58%),linear-gradient(180deg,#0a3a56 0%,#052b43 46%,#031d2f 100%)!important;border-right:1px solid rgba(216,178,115,.48)!important;box-shadow:18px 0 46px -34px rgba(0,19,31,.92),inset -1px 0 rgba(255,255,255,.04)!important}
html:not(.dark) #sidebar[data-system="juris"]:before{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;opacity:.80!important;background:linear-gradient(180deg,transparent 0 64%,rgba(2,24,38,.38) 74%,rgba(2,20,32,.88) 100%),url('assets/cards-emp/centro-executivo-carl-hoepcke.jpg') center bottom/100% auto no-repeat,repeating-radial-gradient(ellipse at -25% 90%,transparent 0 34px,rgba(103,169,203,.07) 35px 36px)!important}
html:not(.dark) #sidebar[data-system="juris"] .navitem{margin:6px 10px!important;min-height:48px!important;border-radius:12px!important;border:1px solid rgba(198,220,231,.13)!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(0,16,27,.11))!important;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 18px -18px rgba(0,0,0,.8)!important}
html:not(.dark) #sidebar[data-system="juris"] .navitem.active{border-color:rgba(235,199,137,.88)!important;background:radial-gradient(135% 170% at 100% 46%,rgba(58,137,216,.40),transparent 45%),linear-gradient(135deg,rgba(21,78,111,.96),rgba(4,39,61,.98))!important;box-shadow:0 14px 30px -22px rgba(33,114,194,.72),inset 0 1px rgba(255,255,255,.14),0 0 0 1px rgba(213,173,105,.06)!important}
@media(max-width:980px){html:not(.dark) #content.jl-dashboard-page .ju-hero{min-height:235px!important;height:235px!important}html:not(.dark) #content.jl-dashboard-page .ju-hero-copy{left:28px!important;top:88px!important}.ju-hero-note{display:none!important}html:not(.dark) #content.jl-dashboard-page>.kpis{margin-top:-28px!important;grid-template-columns:repeat(2,1fr)!important}}
