/* Local-only, short compositor-friendly transitions. No permanent promoted layers. */
@keyframes crm-motion-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes crm-motion-fade{from{opacity:0}to{opacity:1}}
@keyframes crm-motion-exit{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(6px)}}
@keyframes crm-motion-fade-exit{from{opacity:1}to{opacity:0}}
@keyframes crm-motion-drawer-enter{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@keyframes crm-motion-drawer-exit{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(20px)}}
html[data-crm-motion=on] .crm-motion-enter{animation:crm-motion-enter 180ms ease-out}
html[data-crm-motion=on] .crm-motion-fade{animation:crm-motion-fade 150ms ease-out}
html[data-crm-motion=on] .crm-motion-drawer-enter{animation:crm-motion-drawer-enter 180ms ease-out}
html[data-crm-motion=on] .crm-motion-drawer-exit{animation:crm-motion-drawer-exit 160ms ease-in both;pointer-events:none}
html[data-crm-motion=on] .crm-motion-overlay-exit{animation:crm-motion-fade-exit 160ms ease-in both;pointer-events:auto}
html[data-crm-motion=on] .crm-motion-overlay-exit .modal{animation:crm-motion-exit 160ms ease-in both;pointer-events:none}
.crm-motion-setting{margin-top:20px}.crm-motion-option{display:flex;gap:10px;align-items:center;font-size:14px;min-height:44px}.crm-motion-option input{width:18px;height:18px;margin:0;flex-shrink:0}
@media(prefers-reduced-motion:reduce){.crm-motion-enter,.crm-motion-fade,.crm-motion-drawer-enter,.crm-motion-drawer-exit,.crm-motion-overlay-exit,.crm-motion-overlay-exit .modal{animation:none!important}}
html[data-crm-motion=off] .crm-motion-enter,html[data-crm-motion=off] .crm-motion-fade,html[data-crm-motion=off] .crm-motion-drawer-enter,html[data-crm-motion=off] .crm-motion-drawer-exit,html[data-crm-motion=off] .crm-motion-overlay-exit,html[data-crm-motion=off] .crm-motion-overlay-exit .modal{animation:none}
