/* Tema unificado de destaques JUSORION — modelo Ônix âmbar. */
:root{--ju-onyx:#17130f;--ju-umber:#3b2a20;--ju-amber:#63442c;--ju-gold:#c09a4c;--ju-gold-soft:#f0cc78}
.welcome:not(.auth-welcome),.laws-hero,.laws-area-hero,.laws-source-hero,.ca-integration-hero,.si-hero,.hero-panel,.fo-hero,.pje-hero,.djen-hero,.bnmp-hero,.judicial-hero,.ca-hero,.ca-case-head,.ai-admin-hero,.ai-chat>header{position:relative;isolation:isolate;overflow:hidden;border-color:#806333!important;background:linear-gradient(100deg,var(--ju-onyx) 0%,var(--ju-umber) 36%,var(--ju-amber) 63%,var(--ju-gold) 100%)!important;box-shadow:0 18px 45px rgba(32,18,10,.24)!important;color:#fff!important}
.welcome:not(.auth-welcome)::before,.laws-hero::before,.laws-area-hero::before,.laws-source-hero::before,.ca-integration-hero::before,.si-hero::before,.hero-panel::before,.fo-hero::before,.pje-hero::before,.djen-hero::before,.bnmp-hero::before,.judicial-hero::before,.ca-hero::before,.ca-case-head::before,.ai-admin-hero::before,.ai-chat>header::before{position:absolute;z-index:-1;inset:0;content:"";background:radial-gradient(circle at 82% 44%,rgba(255,216,130,.31),transparent 30%),linear-gradient(110deg,transparent 45%,rgba(255,235,183,.08) 75%,transparent 100%);pointer-events:none}
.welcome:not(.auth-welcome)::after,.laws-hero::after,.laws-area-hero::after,.laws-source-hero::after,.ca-integration-hero::after,.si-hero::after,.hero-panel::after,.fo-hero::after,.pje-hero::after,.djen-hero::after,.bnmp-hero::after,.judicial-hero::after,.ca-hero::after,.ca-case-head::after,.ai-admin-hero::after{border-color:rgba(242,202,111,.35)!important}
.welcome:not(.auth-welcome) h1,.welcome:not(.auth-welcome) h2,.welcome:not(.auth-welcome) p,.laws-hero h1,.laws-hero p,.laws-area-hero h1,.laws-area-hero p,.laws-source-hero h1,.laws-source-hero p,.ca-integration-hero h1,.ca-integration-hero p,.si-hero h1,.si-hero p,.hero-panel h1,.hero-panel h2,.hero-panel p,.fo-hero h1,.fo-hero h2,.fo-hero p,.pje-hero h1,.pje-hero h2,.pje-hero p,.djen-hero h1,.djen-hero h2,.djen-hero p,.bnmp-hero h1,.bnmp-hero h2,.bnmp-hero p,.judicial-hero h1,.judicial-hero h2,.judicial-hero p,.ca-hero h1,.ca-hero h2,.ca-hero p,.ca-case-head h1,.ca-case-head p,.ai-admin-hero h1,.ai-admin-hero p,.ai-admin-hero>div>span,.ai-chat>header h1,.ai-chat>header p{color:#fff!important}
.welcome:not(.auth-welcome)>div>p,.laws-hero small,.laws-area-hero small,.laws-source-hero small,.ca-integration-hero small,.si-hero .si-kicker,.hero-panel small,.fo-hero small,.pje-hero small,.djen-hero small,.bnmp-hero small,.judicial-hero small,.ca-hero small,.ca-case-head small,.ai-admin-hero p,.ai-chat>header small{color:var(--ju-gold-soft)!important}
.welcome:not(.auth-welcome) h2,.laws-hero p,.laws-area-hero p,.laws-source-hero p,.ca-integration-hero p,.si-hero p,.hero-panel p,.fo-hero p,.pje-hero p,.djen-hero p,.bnmp-hero p,.judicial-hero p,.ca-hero p,.ai-chat>header p{color:#f0e8e1!important}
.ai-home::before{border-color:#806333!important;background:linear-gradient(100deg,var(--ju-onyx) 0%,var(--ju-umber) 36%,var(--ju-amber) 63%,var(--ju-gold) 100%)!important;box-shadow:0 18px 45px rgba(32,18,10,.24)!important}
.ai-home::after{border-color:rgba(242,202,111,.35)!important}
/* Versão compacta: reduz a altura sem ocultar informações ou ações. */
.welcome:not(.auth-welcome),.laws-hero,.laws-area-hero,.laws-source-hero,.ca-integration-hero,.si-hero,.hero-panel,.fo-hero,.pje-hero,.djen-hero,.bnmp-hero,.judicial-hero,.ca-hero,.ca-case-head,.ai-admin-hero{min-height:76px!important;padding:14px 28px!important}
.welcome:not(.auth-welcome) h1,.laws-hero h1,.laws-area-hero h1,.laws-source-hero h1,.ca-integration-hero h1,.si-hero h1,.hero-panel h1,.hero-panel h2,.fo-hero h1,.pje-hero h1,.djen-hero h1,.bnmp-hero h1,.judicial-hero h1,.ca-hero h1,.ca-case-head h1,.ai-admin-hero h1{font-size:clamp(22px,2.2vw,30px)!important;line-height:1.1!important}
.welcome:not(.auth-welcome) h2,.laws-hero p,.laws-area-hero p,.laws-source-hero p,.ca-integration-hero p,.si-hero p,.hero-panel p,.fo-hero p,.pje-hero p,.djen-hero p,.bnmp-hero p,.judicial-hero p,.ca-hero p,.ca-case-head p,.ai-admin-hero>div>span{margin-top:4px!important;font-size:11px!important;line-height:1.35!important}
.ai-admin-hero{border:1px solid #806333;border-radius:18px}.ai-admin-hero aside{position:relative;z-index:1;padding:7px 12px!important;background:rgba(23,17,14,.45)!important;border-color:rgba(242,202,111,.42)!important}.ai-admin-hero aside strong,.ai-admin-hero aside span{color:#fff!important}
/* Títulos e itens do menu lateral: legibilidade nítida em monitores e celulares. */
.sidebar,.sidebar nav,.sidebar nav p,.sidebar nav a,.sidebar-flyout>button,.sidebar-bottom a,.sidebar-logout-button{font-family:"Segoe UI Variable Text","Segoe UI",Inter,Arial,sans-serif!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;text-rendering:optimizeLegibility!important}
.sidebar nav p{margin:18px 12px 8px!important;color:#d3b267!important;font-size:11px!important;font-weight:700!important;letter-spacing:.12em!important;line-height:1.3!important;white-space:normal!important;text-shadow:0 1px 0 rgba(0,0,0,.35)}
.sidebar nav a,.sidebar-flyout>button,.sidebar-bottom a,.sidebar-logout-button{font-size:13px!important;font-weight:500!important;line-height:1.35!important;letter-spacing:0!important}
.sidebar nav a span,.sidebar-flyout>button>span{font-family:"Segoe UI Symbol","Segoe UI",sans-serif!important;text-rendering:geometricPrecision!important}
@media(max-width:760px){.sidebar nav p{margin:15px 12px 7px!important;font-size:10px!important;letter-spacing:.1em!important}.sidebar nav a,.sidebar-flyout>button,.sidebar-bottom a,.sidebar-logout-button{font-size:14px!important;min-height:40px!important}.sidebar nav a span,.sidebar-flyout>button>span{min-width:20px!important}}
@media(max-width:760px){.welcome:not(.auth-welcome),.laws-hero,.laws-area-hero,.laws-source-hero,.ca-integration-hero,.si-hero,.hero-panel,.fo-hero,.pje-hero,.djen-hero,.bnmp-hero,.judicial-hero,.ca-hero,.ca-case-head,.ai-admin-hero{min-height:0!important;padding:16px 18px!important;background:linear-gradient(120deg,var(--ju-onyx) 0%,var(--ju-umber) 46%,var(--ju-amber) 76%,var(--ju-gold) 125%)!important}}
