/* ==========================================================================
   MIROLINE — сброс стилей
   ========================================================================== */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"],
.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, button, input, label {
  line-height: var(--lh-tight);
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

textarea:not([rows]) { min-height: 10em; }

:target { scroll-margin-block: 5ex; }

/* [hidden] должен побеждать любой display у компонента,
   иначе скрытые счётчики и меню остаются видимыми */
[hidden] { display: none !important; }

table {
  border-collapse: collapse;
  width: 100%;
}
