/* Scrollbars follow the current CRM accent and remain subtle on light and dark surfaces. */
@media screen {
    *::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    *::-webkit-scrollbar-track {
        background: transparent;
    }
    *::-webkit-scrollbar-thumb {
        background: color-mix(in srgb, var(--crm-primary, #dc3545) 65%, transparent);
        border-radius: 999px;
    }
    *::-webkit-scrollbar-thumb:hover {
        background: var(--crm-primary, #dc3545);
    }
    *::-webkit-scrollbar-corner {
        background: transparent;
    }

    @supports (-moz-appearance: none) {
        * {
            scrollbar-width: thin;
            scrollbar-color: color-mix(in srgb, var(--crm-primary, #dc3545) 65%, transparent) transparent;
        }
    }

    @media (forced-colors: active) {
        * { scrollbar-color: auto; }
    }
}
