/* Three opt-in global visual effects and separate palette; selection is browser-local. */
html[data-ib9-palette=cyan]{--ib9-accent:#27dfe5;--ib9-accent-rgb:39,223,229}
html[data-ib9-palette=violet]{--ib9-accent:#b987ff;--ib9-accent-rgb:185,135,255}
html[data-ib9-palette=amber]{--ib9-accent:#ffb548;--ib9-accent-rgb:255,181,72}
html[data-ib9-palette=emerald]{--ib9-accent:#35d8a6;--ib9-accent-rgb:53,216,166}
html[data-ib9-palette]:not([data-ib9-palette=theme]) body :is(.card,.panel,.ib9-area){border-color:color-mix(in srgb,var(--ib9-accent) 45%,#315064)!important}
html[data-ib9-palette]:not([data-ib9-palette=theme]) body :is(.btn.blue,.ib9-card-head){--accent:var(--ib9-accent)}
html[data-ib9-effect=subtle] body :is(.card,.btn,.tab,.themeCard){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media(hover:hover){html[data-ib9-effect=subtle] body :is(.card,.btn,.themeCard):hover{transform:translateY(-1px)}html[data-ib9-effect=glow] body :is(.card,.btn,.themeCard):hover{box-shadow:0 0 22px color-mix(in srgb,var(--ib9-accent,#2fd5d8) 30%,transparent)!important;transition:box-shadow .2s}}
@keyframes ib9-appear{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes ib9-pulse{0%,100%{filter:none}50%{filter:drop-shadow(0 0 7px var(--ib9-accent,#2fd5d8))}}
html[data-ib9-effect=dynamic] body :is(.panel,.card){animation:ib9-appear .35s both}html[data-ib9-effect=dynamic] body :is(.topbarStatusDot,.dashPulse){animation:ib9-pulse 3s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){html[data-ib9-effect] body *,html[data-ib9-effect] body *::before,html[data-ib9-effect] body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* IB PALETAS V10 */
/* As cores mudam só a apresentação, mantendo os estados de segurança (verde/amarelo/vermelho). */
html[data-ib9-palette="graphite-dark"]{color-scheme:dark;--ib9-accent:#83c8d2;--ib9-accent-rgb:131,200,210;--ib10-base:#131b23;--ib10-panel:#1d2934;--ib10-text:#e7eef5;--ib10-stroke:#3a5665}
html[data-ib9-palette="piano-dark"]{color-scheme:dark;--ib9-accent:#20ebdc;--ib9-accent-rgb:32,235,220;--ib10-base:#06090d;--ib10-panel:#0d121a;--ib10-text:#f5f9ff;--ib10-stroke:#24515c}
html:is([data-ib9-palette="graphite-dark"],[data-ib9-palette="piano-dark"]) body{background:var(--ib10-base)!important;color:var(--ib10-text)}
html:is([data-ib9-palette="graphite-dark"],[data-ib9-palette="piano-dark"]) body :is(.card,.panel,.ib9-area,.ib9-shell,.ib8-main,.ib9-personalize,.ib9-work,.themeCard){background-color:var(--ib10-panel)!important;border-color:var(--ib10-stroke)!important;color:var(--ib10-text)}
html:is([data-ib9-palette="graphite-dark"],[data-ib9-palette="piano-dark"]) body :is(button,input,select,textarea){accent-color:var(--ib9-accent)}
html:is([data-ib9-palette="graphite-dark"],[data-ib9-palette="piano-dark"]) body :is(.ib9-action,.ib9-area header i,.ib9-eyebrow){color:var(--ib9-accent)}
html[data-ib9-palette="piano-dark"] body :is(.card,.panel,.ib9-area,.themeCard){box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 7px 18px rgba(0,0,0,.23)}
