/* ==================================================================
   Reset — общий для новых страниц (elety-app / elety-admin / elety-v2).
   Эти три дизайн-системы не подключают vendor.css (Bootstrap) и до
   сих пор ничего не сбрасывали: заголовки, списки, поля форм и т.п.
   рендерились чистыми браузерными дефолтами везде, где сами дизайн-
   системы не переопределяли стиль явно (разный отступ body/ul/h1
   между браузерами, зубцы списков в неожиданных местах и т.д.).
   Подключать первым файлом, до elety-app.css/elety-admin.css/elety-v2.css.
================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp, small, strong,
sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figcaption, figure, footer, header,
main, nav, section, summary, time, mark {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

ol, ul {
	list-style: none;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button, input, select, textarea {
	font: inherit;
	color: inherit;
	background: none;
}

button {
	cursor: pointer;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Уважаем системную настройку "меньше анимации" — ни одна из трёх
   дизайн-систем это раньше не проверяла */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
