.sidebar { isolation:isolate; }
.sidebar #chuva-dado { display:none!important; }
.neural-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:.36; pointer-events:none; }
.neural-backdrop::after { content:''; position:absolute; inset:0; background:linear-gradient(#080b1166,transparent 25%,#080b1144 65%,#080b1199); pointer-events:none; }
.neural-backdrop { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; background:radial-gradient(ellipse at 50% 40%,#17467344,transparent 65%); }
.sidebar > :not(.neural-backdrop):not(canvas) { position:relative; z-index:1; }
.neural-backdrop .neural-brain { position:absolute; width:115%; height:auto; left:-7.5%; top:19%; opacity:.38; }
.neural-realistic { position:absolute; width:130%; max-width:none; left:-15%; top:22%; opacity:.32; mix-blend-mode:screen; pointer-events:none; mask-image:linear-gradient(transparent,#000 12%,#000 85%,transparent); }
.neural-backdrop .neural-brain { top:22%; width:110%; left:-5%; height:auto; opacity:.45; }
.neural-backdrop .brain-outline,.neural-backdrop .brain-halo,.neural-backdrop .brain-wire { display:none; }
.neural-backdrop .brain-signal { stroke-width:1.3; opacity:.7; }
.motion-scene[hidden] { display:none!important; }
.motion-stage { grid-template-columns:1fr!important; min-height:0!important; }
.neural-brain { display:block; overflow:visible; }
.brain-outline { fill:#10294222; stroke:#72baff; stroke-width:1.8; }
.brain-halo { fill:none; stroke:#4798ef; stroke-width:8; opacity:.2; filter:blur(7px); }
.brain-wire { fill:none; stroke:#5693c6; stroke-width:1.25; opacity:.5; }
.brain-signal { fill:none; stroke:#bdefff; stroke-width:2; stroke-linecap:round; stroke-dasharray:4 96; filter:drop-shadow(0 0 3px #5cc7ff); }
.brain-node { fill:#b3e6ff; filter:drop-shadow(0 0 4px #35a9ff); }
html[data-motion="on"] .brain-signal { animation:neural-transfer var(--speed) linear infinite; animation-delay:var(--phase); }
html[data-motion="on"] .brain-node { animation:neural-fire 3s ease-in-out infinite; animation-delay:var(--phase); }
@keyframes neural-transfer { to { stroke-dashoffset:-100; } }
@keyframes neural-fire { 0%,75%,100% { opacity:.4; } 40% { opacity:1; } }
.motion-scene { display:grid; place-items:center; min-height:260px; }
.motion-scene .neural-brain { width:245px; height:285px; transform:rotate(-7deg); }
.neural-caption { color:#93b9df; letter-spacing:2px; font-size:8px; margin-top:8px; }
.motion-stage { min-height:300px; padding:28px 34px; }
.motion-stage h2 { font-size:clamp(26px,2.8vw,38px); }
.horus-gestao .panel,.ct-saved article,.ex-focus,.horus-gestao .kpi { position:relative; isolation:isolate; }
.horus-gestao .panel::after,.ct-saved article::after,.ex-focus::after,.horus-gestao .kpi::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; background:radial-gradient(230px circle at var(--light-x,50%) var(--light-y,0%),#78b9f01f,transparent 85%); transition:opacity 220ms; }
.horus-gestao .panel:hover::after,.ct-saved article:hover::after,.ex-focus:hover::after,.horus-gestao .kpi:hover::after { opacity:1; }
.sidebar a,.sidebar button { transition:background-color 180ms,box-shadow 180ms,translate 180ms!important; }
@media(hover:hover) and (pointer:fine) {
 html[data-motion="on"] .sidebar a:hover,html[data-motion="on"] .sidebar button:hover { translate:3px 0; box-shadow:inset 3px 0 #80b7e7; }
 html[data-motion="on"] .horus-gestao .kpi:hover { transform:translateY(-5px); border-color:#77aada; box-shadow:0 16px 34px #081a3033; }
 html[data-motion="on"] .ex-focus-queue>a { transition:translate 200ms,border-color 200ms; }
 html[data-motion="on"] .ex-focus-queue>a:hover { translate:4px 0; border-color:#6b99c1; }
}
.motion-paused * { animation-play-state:paused!important; }
.horus-tilt { transform-origin:center; transition:transform 350ms cubic-bezier(.2,.7,.2,1),box-shadow 250ms,border-color 250ms!important; }
@media(hover:hover) and (pointer:fine) {
 html[data-motion="on"] .horus-tilt.horus-tilt-active { transform:perspective(950px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-6px)!important; box-shadow:0 20px 38px #081a3033!important; border-color:#719dc5!important; transition:transform 100ms ease-out,box-shadow 200ms,border-color 200ms!important; z-index:2; }
}
html[data-motion="off"] .horus-tilt { transform:none!important; transition:none!important; }
@media(prefers-reduced-motion:reduce) { .horus-tilt { transform:none!important; transition:none!important; } }
html[data-motion="off"] .brain-signal { stroke-dasharray:none; opacity:.35; }
@media(prefers-reduced-motion:reduce) { .brain-signal,.brain-node { animation:none!important; } .sidebar a,.sidebar button { transition:none!important; } }
@media(max-width:760px) { .motion-stage { grid-template-columns:1fr; padding:24px; } .motion-scene { min-height:180px; margin:0; } .motion-scene .neural-brain { width:170px; height:190px; } }
