/* Дизайн-система «Мятный возврат» — фирменный стиль ЗаплатиНалог.
   Светлый финтех: мята + графит, зелёный = деньги/готово, герой экрана — цифра возврата.
   Шрифты: Manrope 800 (заголовки и цифры, tabular-nums) + Golos Text (текст). Самохостинг. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("/fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #f6faf8;
  --surface: #ffffff;
  --ink: #121d18;
  --ink-2: #5c6b64;
  --accent: #00875a;
  --accent-press: #006e49;
  --mint: #ddf6ea;
  --mint-deep: #c3eeda;
  --money: #067a50;
  --err: #c93a4e;
  --line: rgba(18, 29, 24, 0.08);
  --line-strong: rgba(18, 29, 24, 0.14);

  --r-card: 20px;
  --r-btn: 16px;
  --r-sq: 18px; /* сквиркл-иконки */
  --r-pill: 999px;

  --sh-soft: 0 8px 24px rgba(6, 122, 80, 0.08);
  --sh-raise: 0 14px 34px rgba(6, 122, 80, 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Golos Text", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Manrope", "Golos Text", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 50% at 50% -8%, #eefaf4 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}
button,
label,
.card {
  -webkit-user-select: none;
  user-select: none;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.35);
  border-radius: 12px;
}
::selection {
  background: var(--mint);
  color: var(--money);
}

/* ---------- Шапка + степпер-пилюли ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.15) blur(10px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 560px;
  margin: 0 auto;
  padding: 13px 20px 11px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand .mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--money);
  box-shadow: inset 0 0 0 1px rgba(6, 122, 80, 0.1);
}
.brand .mark svg {
  width: 20px;
  height: 20px;
}

.steps {
  display: flex;
  gap: 6px;
  margin-top: 11px;
}
.steps .s {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.steps .s.active {
  background: var(--mint);
  border-color: var(--mint-deep);
  color: var(--money);
  font-weight: 700;
}
.steps .s.active::before {
  content: attr(data-step) " · ";
}
.steps .s.done {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Раскладка ---------- */
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 18px 48px;
}
.screen {
  display: none;
}
.screen.active {
  display: block;
  animation: rise 0.38s var(--ease) both;
}
#screen-wizard.active {
  padding-bottom: 96px; /* контент доскролливается из-под fixed-бара */
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 4px 0 8px;
}
h1 {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(26px, 6.8vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}
.lead {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 0 0 20px;
}
.muted {
  color: var(--ink-2);
  font-size: 13.5px;
}

/* ---------- Карточки профиля ---------- */
.cards {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 17px;
  box-shadow: var(--sh-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  font: inherit;
  color: inherit;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-raise);
  border-color: var(--mint-deep);
}
.card:active {
  transform: scale(0.97);
}
.card .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-sq);
  background: var(--mint);
  color: var(--money);
}
.card .ico svg {
  width: 24px;
  height: 24px;
}
.card.primary .ico {
  background: var(--accent);
  color: #fff;
}
.card .tx b {
  display: block;
  font-family: var(--head);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.card .tx span {
  color: var(--ink-2);
  font-size: 13.5px;
  text-wrap: balance;
}
/* карточки «Скоро» — приглушены, чтобы не спорить с активной */
.card.soon {
  opacity: 0.62;
  box-shadow: none;
}
.card.soon:hover {
  transform: none;
  box-shadow: none;
}
.card .chev {
  margin-left: auto;
  color: var(--ink-2);
}
.pill {
  margin-left: auto;
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--money);
  background: var(--mint);
  border-radius: var(--r-pill);
  padding: 5px 11px;
}

/* ---------- Вопросы мастера ---------- */
.group-head {
  margin: 22px 4px 10px;
}
.group-head .gh-t {
  font-family: var(--head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.group-head .gh-s {
  color: var(--ink-2);
  font-size: 13.5px;
  margin-top: 2px;
}
.group-head.income .gh-t {
  font-size: 16.5px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
  overflow: hidden;
}
.q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.q:active {
  background: #f2faf6;
}
.q:has(input:checked) {
  background: #f1faf5;
  box-shadow: inset 3px 0 0 var(--accent);
}
.q + .q,
.q + .q-extra,
.q-extra + .q {
  border-top: 1px solid var(--line);
}
.q .qico {
  flex: none;
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--money);
  margin-top: 2px;
}
.q .qico svg {
  width: 20px;
  height: 20px;
}
.q.income .qico {
  background: var(--surface-sunken, #f0f2f1);
  background: #eef1ef;
  color: var(--ink-2);
}
.q .qbody {
  flex: 1;
  min-width: 0;
}
.q .qt {
  font-size: 15px;
  line-height: 1.35;
}
.q .qchip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--money);
  background: var(--mint);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}
.q.income .qchip {
  color: var(--ink-2);
  background: #eef1ef;
  font-weight: 600;
}
.q .qmark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--mint);
  color: var(--money);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
}
.q-hint {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), margin 0.3s var(--ease);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  background: #f0faf4;
  border-radius: 12px;
  margin: 0 14px 0 66px;
}
.q-hint.open {
  max-height: 150px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.qmark.on {
  background: var(--accent);
  color: #fff;
}
/* под-строка счётчика детей: выезжает при включении свитча */
.q-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 0 66px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.q-extra.open {
  max-height: 64px;
  padding: 10px 16px 12px 66px;
}
.q-extra .qx-label {
  font-size: 14px;
  color: var(--ink-2);
}
/* аккордеон редких ситуаций */
details.rare {
  border-top: 1px solid var(--line);
}
details.rare summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
details.rare summary::-webkit-details-marker {
  display: none;
}
details.rare summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  margin-left: auto;
}
details.rare[open] summary::after {
  transform: rotate(-135deg);
}
/* sticky-бар итога мастера */
.wizbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(524px, calc(100% - 24px));
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 10px 10px 16px;
  box-shadow: var(--sh-raise);
}
.wiz-sum {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.wiz-sum .muted {
  font-size: 12px;
}
.wiz-sum b {
  font-family: var(--head);
  font-weight: 800;
  font-size: 17px;
  color: var(--money);
  font-variant-numeric: tabular-nums;
}
.wiz-sum b.bump {
  animation: bump 0.35s var(--ease);
}
@keyframes bump {
  50% {
    transform: scale(1.07);
  }
}
.wizbar .btn {
  min-height: 48px;
  white-space: nowrap;
}
.wizbar .btn.is-empty {
  background: var(--mint);
  color: var(--money);
  box-shadow: none;
}
.linkback {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.switch {
  position: relative;
  flex: none;
  align-self: flex-start;
  margin-top: 3px;
  width: 50px;
  height: 30px;
  border-radius: var(--r-pill);
  /* off-состояние должно читаться как переключатель (WCAG 1.4.11 ≥3:1) */
  background: #c2cfc8;
  box-shadow: inset 0 0 0 1.5px #a7b8b0;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 29, 24, 0.25);
  /* «пружина» бегунка */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.q input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.q input:focus-visible ~ .switch {
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.35);
}
.q input:checked ~ .switch {
  background: var(--accent);
  box-shadow: none;
}
.q input:checked ~ .switch::after {
  transform: translateX(20px);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.stepper button {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 12px;
  background: var(--mint);
  color: var(--money);
  border: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.stepper .num {
  min-width: 26px;
  text-align: center;
  font-family: var(--head);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Форма реквизитов ---------- */
.field {
  margin: 12px 0;
}
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin: 0 2px 6px;
}
.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.15);
}
.field input::placeholder {
  color: #a7b3ad;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#req-form a {
  color: var(--accent);
  font-weight: 600;
}
/* подсказки адреса (DaData) */
.suggest-wrap {
  position: relative;
}
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 25;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--sh-raise);
  overflow: hidden;
}
.suggest .sg {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.suggest .sg + .sg {
  border-top: 1px solid var(--line);
}
.suggest .sg:hover,
.suggest .sg:focus-visible {
  background: #f1faf5;
}
.suggest .sg .sg-codes {
  display: block;
  font-size: 12px;
  color: var(--money);
  font-weight: 600;
}

/* согласие на обработку ПД (152-ФЗ) */
.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 16px 2px 4px;
  cursor: pointer;
}
.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent .cbox {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid #b9c7c0;
  background: var(--surface);
  color: transparent;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  margin-top: 1px;
}
.consent .cbox svg {
  width: 14px;
  height: 14px;
}
.consent input:checked ~ .cbox {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.consent input:focus-visible ~ .cbox {
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.35);
}
.consent .ctext {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.consent.err .cbox {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(201, 58, 78, 0.18);
}
.consent .ctext a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Кнопки ---------- */
.actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.actions.col {
  flex-direction: column;
}
button.btn,
.btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  border: 0;
  border-radius: var(--r-btn);
  min-height: 56px;
  padding: 0 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.2s;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-soft);
}
.btn.primary:hover {
  box-shadow: var(--sh-raise);
}
.btn.primary:active {
  transform: scale(0.97);
  background: var(--accent-press);
}
.btn.accent {
  background: var(--mint);
  color: var(--money);
  font-weight: 700;
}
.btn.accent:hover {
  background: var(--mint-deep);
}
.btn.accent:active {
  transform: scale(0.97);
}
.btn.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 135, 90, 0.35);
}
/* кнопка с подписью-сабтайтлом (не даём лейблу ломаться на 2 строки) */
.btn.with-sub {
  flex-direction: column;
  gap: 1px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.btn .btn-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.72;
  line-height: 1.2;
}
.btn:active {
  transform: scale(0.98);
}
.btn.wide {
  width: 100%;
}
.actions .btn {
  flex: 1;
}

/* ---------- Документы ---------- */
.checklist {
  margin-top: 6px;
}
.checklist .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 2px;
}
.checklist .item + .item {
  border-top: 1px solid var(--line);
}
.checklist .tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  /* до загрузки — пустой кружок «предстоит собрать»; галочка появляется после распознавания */
  background: transparent;
  border: 2px solid #bfd9cc;
  color: transparent;
  display: grid;
  place-items: center;
  margin-top: 1px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.checklist.have .tick {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--money);
}
.checklist .tick svg {
  width: 13px;
  height: 13px;
}
.checklist .it-t {
  font-size: 14.5px;
  font-weight: 600;
}
.checklist .it-h {
  font-size: 13px;
  color: var(--ink-2);
}

.dropzone {
  position: relative;
  margin-top: 16px;
  display: block;
  border: 1.5px dashed rgba(0, 135, 90, 0.35);
  border-radius: var(--r-card);
  padding: 22px 16px;
  text-align: center;
  color: var(--ink-2);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.dropzone:hover {
  border-color: var(--accent);
  background: #fbfffd;
}
.dropzone input {
  display: none;
}
.dropzone .dz-ico {
  color: var(--accent);
  margin-bottom: 6px;
}
.dropzone b {
  color: var(--ink);
  font-family: var(--head);
  font-weight: 800;
}
/* «луч скана» во время распознавания */
.dropzone.scanning::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(0, 135, 90, 0.14) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: scan 1.4s var(--ease) infinite;
}
@keyframes scan {
  to {
    transform: translateX(100%);
  }
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 13px;
  margin: 14px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--money);
  text-align: center;
  min-height: 20px;
}

/* ---------- Результат ---------- */
.hero {
  margin-top: 8px;
  position: relative;
  background:
    radial-gradient(130% 130% at 100% 0%, rgba(6, 122, 80, 0.1), transparent 55%),
    var(--surface);
  border: 1px solid var(--mint-deep);
  border-radius: 24px;
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: var(--sh-soft);
}
.hero .eyebrow {
  color: var(--money);
  margin: 0 0 4px;
}
.hero .amount {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(44px, 13vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--money);
  font-variant-numeric: tabular-nums;
}
.hero .cap {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 8px;
}
.details {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
  overflow: hidden;
}
.details .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
}
.details .row + .row {
  border-top: 1px solid var(--line);
}
.details .row .k {
  color: var(--ink-2);
}
.details .row .v {
  font-family: var(--head);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.notice {
  margin-top: 16px;
  background: #fff9ec;
  border: 1px solid rgba(199, 151, 46, 0.35);
  border-radius: var(--r-card);
  padding: 14px 16px;
  font-size: 13.5px;
  color: #7a5a12;
}
.notice b {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.notice ul {
  margin: 0;
  padding-left: 18px;
}
.notice li + li {
  margin-top: 3px;
}

footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 20px 24px;
  text-align: center;
}
footer .muted {
  font-size: 12px;
}

/* Узкие экраны: неактивные пилюли степпера сжимаются в точки-номера, активная — читаемая */
@media (max-width: 430px) {
  .steps .s {
    flex: 0 0 30px;
    font-size: 0;
  }
  .steps .s::before {
    content: attr(data-step);
    font-size: 11.5px;
  }
  .steps .s.active {
    flex: 1;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
