Details/summary polyfill: Switched text-align: right in demo CSS to text-right class in demo markup.