/* Motion only: no dimensions, colors, layout shifts or positional transforms. */
@keyframes crm-surface-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    .page-heading, .content > .notice, .content > .panel,
    .content > div > .panel, .content > div > section.panel,
    .login-card, .wm-discard-card {
        animation: crm-surface-reveal 180ms ease-out;
    }
    details[open] > :not(summary) { animation: crm-surface-reveal 150ms ease-out; }
    .wm-backdrop, .wm-tray:not([hidden]) { animation: crm-surface-reveal 150ms ease-out; }
    button, .button, summary, .sidebar a, .detail-tabs a,
    .integration-navigation a, input, textarea, select,
    .candidate-table tbody tr, .crm-context-item {
        transition-property: background-color, border-color, color, box-shadow, opacity;
        transition-duration: 140ms;
        transition-timing-function: ease-out;
    }
    /* Do not animate dragging/resizing or individual records in large registries. */
    .wm-window, .wm-titlebar, .calendar-event, .kanban-card { transition-property: opacity, box-shadow; }
    .crm-toast { animation: crm-surface-reveal 180ms ease-out; }
    .crm-context-menu { animation: crm-surface-reveal 110ms ease-out; }
    @supports (transition-behavior: allow-discrete) {
        .crm-context-menu {
            animation: none;
            transition: opacity 110ms ease-out, display 110ms allow-discrete;
        }
        .crm-context-menu[hidden] { opacity: 0; }
        @starting-style { .crm-context-menu:not([hidden]) { opacity: 0; } }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
@media print {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
