/* LoaderCRM · Fluxo: o ícone do Funil sem sair do lugar; o que corre é o fluxo. Ciclo de 2 s. Sem palco: usa currentColor. */
.ld{--ld-io:cubic-bezier(.65,0,.35,1);--ld-out:cubic-bezier(.16,1,.3,1);display:inline-block;flex:none;color:currentColor;overflow:visible;vertical-align:middle}
.ld .base line{stroke:currentColor;stroke-width:2.4;stroke-linecap:round;opacity:.28}
.ld .base rect{fill:none;stroke:currentColor;stroke-width:2.4;opacity:.28}
.ld .core{fill:currentColor;fill-opacity:.28;stroke:currentColor;stroke-width:2.4;transform-box:fill-box;transform-origin:center;animation:ld-core 2s var(--ld-io) infinite}
.ld .flow line{stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:0 100;animation:ld-in 2s var(--ld-io) infinite}
.ld .flow line.fo{animation:ld-out 2s var(--ld-out) infinite}
.ld .lit rect{fill:none;stroke:currentColor;stroke-width:2.4;opacity:0;animation:ld-top 2s var(--ld-io) infinite}
.ld .lit .l-b{animation:ld-bot 2s var(--ld-out) infinite}
/* versão reduzida (< 32 px): módulos cheios, sem traços */
.ld.sm .base line,.ld.sm .flow{display:none}
.ld.sm .base rect{fill:currentColor;stroke:none;opacity:.22}
.ld.sm .lit rect{fill:currentColor;stroke:none}
.ld.sm .core{stroke:none}
@keyframes ld-top{0%{opacity:0}12%,30%{opacity:1}45%,100%{opacity:0}}
@keyframes ld-in{0%,15%{stroke-dasharray:0 100;stroke-dashoffset:0}40%{stroke-dasharray:60 100;stroke-dashoffset:0}55%,100%{stroke-dasharray:60 100;stroke-dashoffset:-60}}
@keyframes ld-core{0%,35%{fill-opacity:.28;transform:scale(1)}55%{fill-opacity:1;transform:scale(1.08)}70%{fill-opacity:1;transform:scale(1)}92%,100%{fill-opacity:.28}}
@keyframes ld-out{0%,55%{stroke-dasharray:0 100;stroke-dashoffset:0}75%{stroke-dasharray:60 100;stroke-dashoffset:0}90%,100%{stroke-dasharray:60 100;stroke-dashoffset:-60}}
@keyframes ld-bot{0%,68%{opacity:0}80%,88%{opacity:1}100%{opacity:0}}
/* movimento reduzido: parado, com o núcleo cheio */
@media (prefers-reduced-motion:reduce){.ld .flow line,.ld .lit rect{animation:none}.ld .core{animation:none;fill-opacity:1}}
/* texto visível ao lado do ícone */
.ld-status{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary,currentColor)}
.ld-status.ld-block{display:flex;justify-content:center;padding:var(--space-24,24px) 0}
.ld-text{min-width:0}
button .ld{margin-right:2px}
button[aria-busy="true"]{display:inline-flex;align-items:center;gap:8px}
