/* ============================================================
   Чебурашкино — main4 CSS (страницы /apply/step1..step3, /order).
   Базируется на тех же палитре/шрифтах, что и main-lotos.css.
   Подключается из parts/head.php при $css_palette === 'palette-lotos'.
   ============================================================ */

/* Импортируем общую базу (reset, header, footer, sticky, drawer, cookie, contacts)
   через @import — чтобы избежать дублирования. */
@import url('main-lotos.css');

/* ─── APPLY SHELL ─────────────────────────────────────────── */
.lotos-apply-body { background: var(--color-page-bg); min-height: 100vh; }
/* Apply-wrap ограничен той же шириной, что и grid формы (1100px),
   чтобы header (progress + h1) был выровнен по тому же левому краю что и форма.
   .lotos-wrap имеет padding 0 20px на mobile и 0 32px на ≥640, поэтому max-width = 1100 + 64 = 1164 */
.lotos-apply-body .lotos-wrap { max-width: 1164px; }
/* Снимаем margin: auto у grid, чтобы он не центрировался ещё раз внутри уже узкого wrap */
.lotos-apply-body .lotos-apply-grid { max-width: none; margin: 0; }
.lotos-apply {
  position: relative;
  padding: 84px 0 60px;
  isolation: isolate;
  overflow: hidden;
}
.lotos-apply::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 8%, rgba(201,162,39,0.30), transparent 70%),
    radial-gradient(40% 40% at 95% 5%, rgba(201,162,39,0.10), transparent 70%);
  pointer-events: none;
}
@media (min-width: 640px) {
  .lotos-apply { padding: 96px 0 80px; }
}

/* ─── COMPACT APPLY HEADER (как в эталоне) ─────────────── */
/* На apply-страницах прячем nav и CTA, оставляем лого + «Защищено» pill */
.lotos-apply-body .lotos-header__right .lotos-cta-pill { display: none !important; }
.lotos-apply-body .lotos-header__right::before {
  content: '';
  display: inline-flex; align-items: center;
  gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(46, 125, 68, 0.10); border: 1px solid rgba(46, 125, 68, 0.30);
  color: #2E7D44;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%232E7D44'%3E%3Cpath d='M12 1l9 4v6c0 5.5-3.8 10.5-9 12-5.2-1.5-9-6.5-9-12V5l9-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 10px center;
  padding-left: 28px;
}
.lotos-apply-body .lotos-header__right { gap: 8px; }
/* На apply вместо ::before используем text-block чтобы было кросс-браузерно */
.lotos-apply-body .lotos-header__right::before { content: 'Защищено'; }

/* Compact dots-line progress */
.lotos-apply-progress2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  padding: 8px 0;
}
/* На desktop хедер занимает ширину первой колонки grid (1.4fr из 1.4 + 1 = 7/12),
   чтобы H1 и подзаголовок визуально принадлежали форме, а не висели над сводкой. */
@media (min-width: 1024px) {
  .lotos-apply-progress2,
  .lotos-apply-head {
    max-width: calc((100% - 32px) * 7 / 12);
  }
}
.lotos-apply-progress2__dots {
  display: inline-flex; gap: 4px; align-items: center;
}
.lotos-apply-progress2__dots span {
  width: 22px; height: 4px; border-radius: 999px;
  background: var(--color-line);
  transition: background 0.3s;
}
.lotos-apply-progress2__dots span.is-done { background: var(--color-button); }
.lotos-apply-progress2__dots span.is-active { background: var(--color-button); width: 30px; }
.lotos-apply-progress2__meta {
  font-size: 12.5px; color: var(--color-text-muted); line-height: 1.3;
}
.lotos-apply-progress2__meta b { color: var(--color-text); font-weight: 700; }

/* ─── PROGRESS (legacy) — удалено, используется lotos-apply-progress2 ───── */

/* ─── HEAD ─────────────────────────────────────────────────── */
.lotos-apply-head { margin: 0 0 26px; text-align: left; }

/* Compact bank-exclusion warning */
.lotos-step3-card--compact {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px !important;
}
.lotos-step3-card--compact .lotos-step3-card__icon { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 2px; }
.lotos-step3-warn__body { flex: 1; min-width: 0; }
.lotos-step3-warn__line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin: 0; font-size: 13.5px; color: var(--color-text);
  line-height: 1.4;
}
.lotos-step3-warn__line b { font-weight: 700; }
.lotos-step3-warn__line .lotos-step3-bank {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: var(--color-blur);
  box-shadow: inset 0 0 0 1px var(--color-line);
  font-size: 12.5px; font-weight: 600; color: var(--color-text);
  white-space: nowrap;
}
.lotos-step3-warn__line .lotos-step3-bank__logo {
  width: 18px; height: 18px; border-radius: 50%; object-fit: contain;
  background: #fff;
}
.lotos-step3-warn__hint {
  margin: 4px 0 0; font-size: 12px; color: var(--color-text-muted);
  line-height: 1.4;
}
.lotos-apply-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-button);
  margin-bottom: 14px;
}
.lotos-apply-h1 {
  font-family: var(--font-brand); font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--color-text);
  max-width: 22ch;
  text-wrap: balance;
}
@media (min-width: 1024px) {
  /* На широких экранах разрешаем H1 занимать всю первую колонку — заголовок «Расскажите немного о себе» помещается в одну строку */
  .lotos-apply-h1 { max-width: none; }
}
.lotos-apply-h1 .dot { color: var(--color-button); }
.lotos-apply-h1 .dot.is-pulse { animation: lotosDotPulse 1.4s ease-in-out infinite; }
@keyframes lotosDotPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.lotos-apply-sub {
  margin-top: 14px; max-width: 56ch;
  font-size: 15px; color: var(--color-text); opacity: 0.78; line-height: 1.55;
}

/* ─── GRID ─────────────────────────────────────────────────── */
.lotos-apply-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
  min-width: 0;
}
/* Дочерние ячейки не должны раздувать track больше его ширины */
.lotos-apply-grid > * { min-width: 0; max-width: 100%; }
@media (min-width: 960px) {
  .lotos-apply-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
}

/* ─── FORM CARD ────────────────────────────────────────────── */
.lotos-apply-form {
  background: var(--color-blur);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 70px -28px var(--color-shadow);
  display: flex; flex-direction: column; gap: 18px;
}
@media (min-width: 640px) {
  .lotos-apply-form { padding: 36px; gap: 22px; }
}
.lotos-apply-2col { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) {
  .lotos-apply-2col { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ─── FIELDS ───────────────────────────────────────────────── */
.lotos-apply-field { display: flex; flex-direction: column; gap: 6px; }
.lotos-apply-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--color-text-muted); text-transform: uppercase;
  padding-left: 2px;
}
.lotos-apply-input-wrap { position: relative; }
.lotos-apply-input {
  width: 100%;
  background: var(--color-page-bg);
  border: 1.5px solid var(--color-line);
  border-radius: 16px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  outline: none;
}
.lotos-apply-input::placeholder { color: var(--color-text-muted); opacity: 0.5; font-weight: 400; }
/* CVC: визуально маскируем как пароль, но input.type="text" — чтобы Chrome не выдавал warning «автозаполнение отключено» на HTTP */
.lotos-apply-input--secret {
  -webkit-text-security: disc;
  text-security: disc;
  font-family: var(--font-brand);
  letter-spacing: 0.3em;
}
.lotos-apply-input--secret::placeholder { -webkit-text-security: none; text-security: none; }
.lotos-apply-input:hover { border-color: var(--color-text-muted); }
.lotos-apply-input:focus {
  border-color: var(--color-button);
  background: var(--color-blur);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.10);
}
/* Зелёная подсветка когда поле прошло валидацию — однозначный сигнал «всё ок» */
.lotos-apply-input.is-valid {
  border-color: #2E7D32;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.10);
}
.lotos-apply-input.is-valid:focus {
  border-color: #2E7D32;
  box-shadow: 0 0 0 4px rgba(46,125,50,0.18);
}
.lotos-apply-input-wrap .lotos-apply-input { padding-right: 50px; }
.lotos-apply-input-icon {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--color-text-muted); opacity: 0.55;
  pointer-events: none;
}
.lotos-apply-err {
  font-size: 12.5px; color: var(--color-button); font-weight: 500;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.2s, opacity 0.2s, margin 0.2s;
  margin-top: 0;
  padding-left: 2px;
}
.lotos-apply-err.is-on { max-height: 30px; opacity: 1; margin-top: 4px; }

/* ─── AGREEMENTS ───────────────────────────────────────────── */
.lotos-apply-agrees { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.lotos-apply-agree {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  cursor: pointer; user-select: none;
  align-items: flex-start;
}
.lotos-apply-agree input { position: absolute; opacity: 0; pointer-events: none; }
.lotos-apply-agree__box {
  width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--color-line);
  background: var(--color-page-bg);
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0; margin-top: 1px;
}
.lotos-apply-agree input:checked + .lotos-apply-agree__box {
  background: var(--color-button); border-color: var(--color-button); color: var(--color-button_text);
}
.lotos-apply-agree__text {
  font-size: 13px; color: var(--color-text); opacity: 0.8; line-height: 1.5;
}
.lotos-apply-agree__text a { color: var(--color-button); text-decoration: underline; text-underline-offset: 2px; }
.lotos-apply-agree__text a:hover { color: var(--color-hero-end); }
/* Постоянное error-состояние на чекбоксе — пока юзер не отметит */
.lotos-apply-agree.is-error .lotos-apply-agree__box {
  border-color: var(--color-button);
  background: rgba(201,162,39,0.06);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.10);
  animation: lotosCheckGlow 1.8s ease-in-out infinite;
}
.lotos-apply-agree.is-error .lotos-apply-agree__text { color: var(--color-text); }
@keyframes lotosCheckGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,162,39,0.10); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,39,0.20); }
}

/* Shake-анимация по требованию (срабатывает каждый submit через force-reflow) */
.lotos-apply-agrees.is-shaking { animation: lotosShake 0.45s cubic-bezier(0.36,0.07,0.19,0.97); }

/* Error-banner с подсказкой */
.lotos-apply-agrees__error {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(201,162,39,0.10); border: 1px solid rgba(201,162,39,0.30);
  color: var(--color-button);
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
}
.lotos-apply-agrees__error[hidden] { display: none; }
.lotos-apply-agrees__error.is-shaking { animation: lotosShake 0.45s cubic-bezier(0.36,0.07,0.19,0.97); }
.lotos-apply-agrees__error-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }

@keyframes lotosShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* ─── ACTIONS ──────────────────────────────────────────────── */
/* ─── ACTIONS row (Назад + Продолжить) ──────────────────── */
.lotos-apply-actions {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  flex-wrap: wrap;
}
/* Назад и Продолжить — одной высоты 56px, сбалансированные */
.lotos-apply-cta,
.lotos-apply-back {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
  box-sizing: border-box;
}
.lotos-apply-cta {
  flex: 1 1 auto; min-width: 200px;
  padding: 0 32px;
  background: var(--color-button); color: var(--color-button_text);
  border: none;
  box-shadow: 0 14px 36px -12px rgba(201,162,39,0.45);
}
.lotos-apply-cta:hover { background: var(--color-button-hover); transform: translateY(-1px); box-shadow: 0 18px 44px -14px rgba(201,162,39,0.55); }
.lotos-apply-cta:active { transform: translateY(0); }
.lotos-apply-cta:disabled, .lotos-apply-cta.is-loading { opacity: 0.7; cursor: wait; }
.lotos-apply-cta.is-loading svg { animation: lotosSpin 0.8s linear infinite; }
@keyframes lotosSpin { to { transform: rotate(360deg); } }

.lotos-apply-back {
  padding: 0 24px;
  background: var(--color-blur);
  color: var(--color-text);
  border: 1.5px solid var(--color-line);
}
.lotos-apply-back:hover { background: var(--color-page-bg); border-color: var(--color-text); transform: translateY(-1px); }
.lotos-apply-back:active { transform: translateY(0); }

/* Mobile: Назад → компактная icon-only кнопка 56×56 круг, Продолжить — растягивается */
@media (max-width: 559px) {
  .lotos-apply-back {
    flex: 0 0 56px; width: 56px; padding: 0; gap: 0;
    font-size: 0; /* скрыть текст */
  }
  .lotos-apply-back svg { width: 18px; height: 18px; }
  .lotos-apply-cta { flex: 1; min-width: 0; padding: 0 18px; font-size: 15px; }
}

/* ─── «ЧТО БУДЕТ ПОСЛЕ ОТПРАВКИ» — help-блок с Чебурашкой ─── */
.lotos-apply-next {
  display: flex; align-items: stretch; gap: 12px;
  margin-top: 18px; padding: 18px 18px 14px;
  background: var(--color-blur); border: 1px solid var(--color-line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.lotos-apply-next__body { flex: 1; min-width: 0; }
.lotos-apply-next__title {
  font-family: var(--font-brand); font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--color-text);
  margin-bottom: 12px;
  white-space: nowrap;
}
.lotos-apply-next__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  counter-reset: nextlist;
}
.lotos-apply-next__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.45; color: var(--color-text); opacity: 0.86;
}
.lotos-apply-next__list li span {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-page-bg);
  border: 1px solid var(--color-line);
  font-family: var(--font-brand); font-size: 12px; font-weight: 600;
  color: var(--color-button);
  margin-top: 1px;
}
.lotos-apply-next__mascot {
  flex-shrink: 0;
  width: 110px; align-self: flex-end;
  margin: 0 -8px -14px 0;
  position: relative;
}
.lotos-apply-next__mascot::before {
  content: ''; position: absolute; inset: 8px 8px 0 8px;
  background: radial-gradient(closest-side, rgba(201,162,39,0.40), transparent 75%);
  z-index: 0;
}
.lotos-apply-next__mascot picture,
.lotos-apply-next__mascot img {
  width: 100%; height: auto;
  position: relative; z-index: 1;
  animation: lotosBob 4.5s ease-in-out infinite;
}
@media (max-width: 559px) {
  .lotos-apply-next__mascot { width: 90px; margin-bottom: -10px; }
}

/* ─── SUMMARY CARD ─────────────────────────────────────────── */
.lotos-apply-summary {
  background: var(--color-back);
  color: var(--color-button_text);
  border-radius: 28px;
  padding: 26px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 20px 70px -28px var(--color-shadow);
}
.lotos-apply-summary::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 50% at 80% 10%, rgba(201,162,39,0.25), transparent 60%);
  pointer-events: none;
}
.lotos-apply-summary > * { position: relative; z-index: 1; }
.lotos-apply-summary__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lotos-apply-summary__title {
  font-family: var(--font-brand); font-style: italic;
  font-size: 14px; opacity: 0.7;
}
.lotos-apply-summary__edit {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(255, 248, 232, 0.10); color: var(--color-button_text);
  border: 1px solid rgba(255, 248, 232, 0.16);
  transition: background 0.18s;
}
.lotos-apply-summary__edit:hover { background: rgba(255, 248, 232, 0.18); }
.lotos-apply-summary__lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.55;
}

/* Топ-полоска: Сумма + Срок в две колонки (компактная инфо-линия) */
.lotos-apply-summary__topline {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 248, 232, 0.10);
}
.lotos-apply-summary__topcell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lotos-apply-summary__topval {
  font-family: var(--font-brand); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--color-button_text);
  line-height: 1.1;
}

/* 3 ячейки: К возврату / Переплата / В день */
.lotos-apply-summary__totals {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px;
  margin-top: 14px;
}
.lotos-apply-summary__total {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 12px; border-radius: 14px;
  background: rgba(255, 248, 232, 0.05);
  border: 1px solid rgba(255, 248, 232, 0.08);
  min-width: 0;
}
.lotos-apply-summary__total--primary {
  background: var(--color-button); color: var(--color-button_text);
  border-color: var(--color-button);
}
.lotos-apply-summary__total--primary .lotos-apply-summary__t-lbl { opacity: 0.85; }
.lotos-apply-summary__t-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; opacity: 0.55; color: var(--color-button_text);
}
.lotos-apply-summary__t-val {
  font-family: var(--font-brand); font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em; font-variant-numeric: tabular-nums;
  color: var(--color-button_text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lotos-apply-summary__total--primary .lotos-apply-summary__t-val { font-size: 19px; }
@media (max-width: 559px) {
  .lotos-apply-summary__totals { grid-template-columns: 1fr 1fr; }
  .lotos-apply-summary__total--primary { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .lotos-apply-summary__total--primary .lotos-apply-summary__t-val { font-size: 20px; }
}
.lotos-apply-summary__perk {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; opacity: 0.88;
  padding: 12px 14px;
  background: rgba(201,162,39, 0.22);
  border-radius: 14px;
}
.lotos-apply-summary__perk svg { color: #E6A488; flex-shrink: 0; }

/* Inline calc when Edit pressed */
.lotos-apply-summary__calc[hidden] { display: none !important; }
.lotos-apply-summary__calc {
  background: rgba(255, 248, 232, 0.07);
  border: 1px solid rgba(255, 248, 232, 0.10);
  border-radius: 18px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.lotos-apply-summary__crow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lotos-apply-summary__clabel { font-size: 12px; opacity: 0.7; font-weight: 600; }
.lotos-apply-summary__cval { font-family: var(--font-brand); font-size: 18px; font-weight: 600; }
.lotos-apply-summary__save {
  margin-top: 6px; padding: 10px 14px; border-radius: 999px;
  background: var(--color-button); color: var(--color-button_text);
  font-size: 13.5px; font-weight: 700;
  transition: background 0.18s;
}
.lotos-apply-summary__save:hover { background: var(--color-button-hover); }

/* ─── STEP 3: LOADING — удалено (lotos-loading-* классы мёртвые) ──── */

/* ─── STEP 3 (legacy lotos-apply-badge, lotos-card-*) — удалено ─── */

/* ============================================================
   STEP 3 — карточная страница (как в эталоне Next.js)
   ============================================================ */
.lotos-step3-grid {
  display: flex; flex-direction: column; gap: 20px;
  /* На всю ширину wrap (1164px на apply страницах) — синхронно с шапкой,
     карточки выглядят центрированными по viewport вместе с лого и бургером. */
  max-width: none; margin: 0;
}
/* На step3 нет правой sidebar-колонки (sum-summary), поэтому head и progress
   тоже должны быть на полную ширину wrap, иначе head узкий, а карточки широкие. */
@media (min-width: 1024px) {
  .lotos-apply-body:has(.lotos-step3-grid) .lotos-apply-progress2,
  .lotos-apply-body:has(.lotos-step3-grid) .lotos-apply-head {
    max-width: none;
  }
}
.lotos-step3-card {
  background: var(--color-blur); border: 1px solid var(--color-line);
  border-radius: 22px; padding: 20px;
  box-shadow: 0 12px 36px -18px var(--color-shadow);
}
@media (min-width: 640px) { .lotos-step3-card { padding: 28px; } }
.lotos-step3-card__head { display: flex; align-items: flex-start; gap: 12px; }
.lotos-step3-card__head + .lotos-step3-form,
.lotos-step3-card__head + .lotos-step3-agrees { margin-top: 20px; }
.lotos-step3-card__icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--color-page-bg);
  color: var(--color-text);
}
.lotos-step3-card__icon--dark { background: var(--color-back); color: var(--color-button_text); }
.lotos-step3-card__icon--warn { background: rgba(200, 157, 44, 0.18); color: #C89D2C; }
.lotos-step3-card__icon--ember { background: rgba(201,162,39,0.18); color: var(--color-button); }
.lotos-step3-card__title {
  font-family: var(--font-brand); font-size: 19px; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text);
}
.lotos-step3-card__sub {
  margin-top: 4px; font-size: 12.5px; color: var(--color-text-muted);
}
.lotos-step3-card__h2 {
  font-family: var(--font-brand); font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--color-text);
  margin-bottom: 14px;
}

/* Bank exclusion notice */
.lotos-step3-card--warn { background: rgba(200, 157, 44, 0.08); border-color: rgba(200, 157, 44, 0.30); }
.lotos-step3-bank {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  background: var(--color-blur); border: 1px solid var(--color-line);
  font-size: 12.5px; font-weight: 500; color: var(--color-text);
}
.lotos-step3-bank__logo {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}

/* Card form */
.lotos-step3-form { display: flex; flex-direction: column; gap: 14px; }
.lotos-step3-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--color-line);
}
.lotos-step3-secure-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(46,125,50,0.08);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(46,125,50,0.20);
  font-size: 12.5px; line-height: 1.5;
  color: var(--color-text);
}
.lotos-step3-secure-note > svg { flex: 0 0 14px; margin-top: 2px; }
.lotos-step3-secure-note > span { flex: 1 1 auto; min-width: 0; }
.lotos-step3-secure-note b { font-weight: 700; color: var(--color-text); white-space: nowrap; }

/* ─── Условия и расчёт: единый стиль с /profile «Активный займ» ───
   3-cell grid с walnut-первой ячейкой («К возврату»), cream-middle (Сумма),
   ember-accent (Срок); ниже отдельная meta-строка для Ставки и Переплаты. */
.lotos-step3-calc {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--color-line); gap: 1px;
  border-radius: 18px; overflow: hidden;
  margin-bottom: 14px;
}
.lotos-step3-calc__cell {
  background: var(--color-blur);
  padding: 14px 14px;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.lotos-step3-calc__cell--dark {
  background: var(--color-text); color: var(--color-text-on-dark);
}
.lotos-step3-calc__cell--dark .lotos-step3-calc__lbl { color: rgba(255,255,255,0.75); }
.lotos-step3-calc__cell--accent .lotos-step3-calc__val { color: var(--color-button); }
.lotos-step3-calc__lbl {
  font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--color-text-muted); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lotos-step3-calc__val {
  font-family: var(--font-brand);
  font-size: 18px; font-weight: 600; line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 559px) { .lotos-step3-calc__val { font-size: 16px; } }

/* Meta-строка под grid: Ставка / Переплата — небольшие label/value */
.lotos-step3-calc-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  margin: 0;
  padding: 12px 14px;
  background: var(--color-page-bg);
  border-radius: 14px;
}
@media (max-width: 559px) {
  /* На mobile «Ставка» (длинная) — full-width, «Переплата» отдельной строкой */
  .lotos-step3-calc-meta { grid-template-columns: 1fr; }
}
.lotos-step3-calc-meta > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lotos-step3-calc-meta dt {
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.lotos-step3-calc-meta dd {
  margin: 0;
  font-size: 13px; font-weight: 600; color: var(--color-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

/* ─── Legacy lotos-step3-rows/row/info/note — удалено, заменено на lotos-step3-calc ─── */

/* Bullets */
.lotos-step3-bullets {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
@media (min-width: 560px) { .lotos-step3-bullets { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }
.lotos-step3-bullets li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; line-height: 1.5; color: var(--color-text); opacity: 0.86;
}
.lotos-step3-bullets li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%; background: var(--color-button);
}

/* Rights */

/* Реквизиты */
.lotos-step3-reqs {
  display: grid; grid-template-columns: 1fr; gap: 10px 24px;
  font-size: 13px;
}
@media (min-width: 560px) { .lotos-step3-reqs { grid-template-columns: 1fr 1fr; } }
.lotos-step3-reqs > div { display: flex; flex-direction: column; gap: 2px; }
.lotos-step3-reqs dt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--color-text-muted); }
.lotos-step3-reqs dd { font-size: 13.5px; color: var(--color-text); font-variant-numeric: tabular-nums; }

/* Согласия (тёмная walnut карточка) */
.lotos-step3-card--dark {
  background: var(--color-back); border-color: var(--color-back);
  color: var(--color-button_text);
}
.lotos-step3-card--dark .lotos-step3-card__title { color: var(--color-button_text); }
.lotos-step3-agrees { display: flex; flex-direction: column; gap: 16px; }
.lotos-apply-agree--dark .lotos-apply-agree__box {
  background: rgba(255,248,232,0.06);
  border: 1px solid rgba(255,248,232,0.20);
  border-radius: 6px;
  width: 20px; height: 20px;
}
.lotos-apply-agree--dark input:checked + .lotos-apply-agree__box {
  background: var(--color-button);
  border-color: var(--color-button);
  color: var(--color-button_text);
}
.lotos-apply-agree--dark .lotos-apply-agree__text {
  color: rgba(255,248,232,0.85);
  font-size: 12.5px; line-height: 1.5;
}
.lotos-apply-agree--dark .lotos-apply-agree__text a {
  color: var(--color-button_text);
  text-decoration: underline;
  text-decoration-color: rgba(255,248,232,0.40);
  text-underline-offset: 2px;
}
.lotos-apply-agree--dark .lotos-apply-agree__text a:hover { text-decoration-color: var(--color-button); }
.lotos-apply-agree--dark.is-error .lotos-apply-agree__box {
  border-color: var(--color-button);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.20);
}
/* На тёмной walnut карточке is-error НЕ должен затемнять текст (как на cream) */
.lotos-apply-agree--dark.is-error .lotos-apply-agree__text {
  color: rgba(255,248,232,0.95);
}

/* Disclaimers */
.lotos-step3-disclaimers {
  padding: 16px 20px;
  border: 1px solid var(--color-line); border-radius: 16px;
  font-size: 12px; line-height: 1.6; color: var(--color-text-muted);
  display: flex; flex-direction: column; gap: 10px;
}
.lotos-step3-disclaimers p {}
.lotos-step3-disclaimer-i { flex-shrink: 0; margin-top: 2px; color: var(--color-text-muted); opacity: 0.7; }
.lotos-step3-disclaimers b { color: var(--color-text); font-weight: 600; }

/* Step3 actions row — внизу, sticky-feel */
.lotos-step3-actions { margin-top: 8px; padding-top: 8px; }

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lotos-apply-h1 .dot.is-pulse { animation: none; }
  .lotos-apply-cta.is-loading svg { animation: none; }
}

/* ─── /ORDER — Pre-approved page ──────────────────────────────────── */
.lotos-order-body { background: var(--color-page-bg); }
.lotos-order { padding: 84px 0 64px; }
@media (min-width: 640px) { .lotos-order { padding: 96px 0 80px; } }
.lotos-order__head { max-width: 720px; margin: 0 0 22px; }
.lotos-order__h1 {
  font-family: var(--font-brand);
  font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--color-text); margin: 0 0 10px;
  text-wrap: balance;
}
@media (min-width: 480px) { .lotos-order__h1 { font-size: 30px; } }
@media (min-width: 640px) { .lotos-order__h1 { font-size: 44px; line-height: 1.08; } }
.lotos-order__sub { font-size: 14px; }
@media (min-width: 640px) { .lotos-order__sub { font-size: 15px; } }
.lotos-order__h1 .lotos-stat-h1__accent { color: var(--color-button); }
.lotos-order__sub { line-height: 1.55; color: var(--color-text-muted); margin: 0; max-width: 56ch; }

/* ─── Pre-approved hero (dark walnut + ember glow) ───────────── */
.lotos-pre {
  position: relative; isolation: isolate;
  margin-bottom: 12px;
  padding: 28px 22px;
  background: linear-gradient(135deg, var(--color-back), var(--color-hero-end));
  color: var(--color-text-on-dark);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(15,42,34,0.30);
}
@media (min-width: 640px) { .lotos-pre { padding: 36px 32px; } }
.lotos-pre__glow1 {
  position: absolute; right: -64px; top: -64px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,39,0.55), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.lotos-pre__glow2 {
  position: absolute; left: -48px; bottom: -48px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,39,0.55), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.lotos-pre__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #2E7D32; color: #FFF; /* зелёный — позитивный статус «одобрено» */
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 12px 28px -10px rgba(46,125,50,0.55), inset 0 0 0 1px rgba(31,92,38,0.50);
}
.lotos-pre__pill-dot {
  position: relative; width: 8px; height: 8px;
}
.lotos-pre__pill-dot::before, .lotos-pre__pill-dot::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--color-blur);
}
.lotos-pre__pill-dot::before { animation: chebPrePulse 1.8s ease-out infinite; opacity: 0.6; }
@keyframes chebPrePulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

.lotos-pre__eyebrowrow {
  margin: 22px 0 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.lotos-pre__eyebrow {
  margin: 0;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,248,232,0.65);
}
.lotos-pre__edit {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,248,232,0.10);
  color: var(--color-text-on-dark);
  border: 0; border-radius: 999px;
  font: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,248,232,0.20);
  transition: background .15s, transform .12s;
}
.lotos-pre__edit:hover { background: rgba(255,248,232,0.18); }
.lotos-pre__edit:active { transform: scale(.97); }
.lotos-pre__edit.is-open {
  background: var(--color-button);
  box-shadow: inset 0 0 0 1px rgba(14,43,34,0.50);
}
.lotos-pre__edit svg { opacity: 0.85; }

/* Inline-форма изменения внутри hero */
.lotos-pre__inline {
  margin-top: 20px;
  padding: 16px 18px 14px;
  background: rgba(255,248,232,0.06);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,248,232,0.15);
  animation: lotosPreInlineOpen .3s cubic-bezier(.23,1,.32,1);
}
@keyframes lotosPreInlineOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lotos-pre__inline-row + .lotos-pre__inline-row { margin-top: 16px; }
.lotos-pre__inline-lblrow {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.lotos-pre__inline-lbl {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,248,232,0.65);
}
.lotos-pre__inline-val {
  font-family: var(--font-brand);
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--color-text-on-dark);
}
.lotos-pre__inline-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 999px;
  outline: none; cursor: pointer;
  background: rgba(255,248,232,0.18);
}
.lotos-pre__inline-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-blur);
  box-shadow: 0 0 0 3px var(--color-button), 0 4px 10px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform .12s;
}
.lotos-pre__inline-slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.lotos-pre__inline-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-blur); border: 3px solid var(--color-button);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  cursor: pointer;
}
.lotos-pre__money {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px 16px;
}
.lotos-pre__sum {
  font-family: var(--font-brand);
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 600; line-height: 0.95; letter-spacing: -0.04em;
  color: var(--color-text-on-dark);
}
.lotos-pre__on {
  font-size: 16px;
  color: rgba(255,248,232,0.85);
}
@media (min-width: 640px) { .lotos-pre__on { font-size: 18px; } }
.lotos-pre__on b { font-weight: 700; color: var(--color-text-on-dark); }

.lotos-pre__checks {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
@media (min-width: 640px) { .lotos-pre__checks { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.lotos-pre__check {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,248,232,0.08);
  border-radius: 14px;
  font-size: 13px; color: rgba(255,248,232,0.92);
  box-shadow: inset 0 0 0 1px rgba(255,248,232,0.15);
  backdrop-filter: blur(4px);
}
.lotos-pre__check svg { color: #6FCF7B; flex: 0 0 14px; }

/* ─── Adjust block (legacy lotos-pre-adjust__*) — удалено, теперь inline-форма в /order ── */

/* ─── Urgency banner ─── */
.lotos-pre-urgency {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(201,162,39,0.08);
  box-shadow: inset 0 0 0 1px rgba(201,162,39,0.30);
}
.lotos-pre-urgency > svg { flex: 0 0 20px; color: var(--color-button); margin-top: 1px; }
.lotos-pre-urgency__line {
  margin: 0;
  font-size: 14px; font-weight: 700; color: var(--color-text);
}
.lotos-pre-urgency__time { color: var(--color-button); margin-left: 4px; }
.lotos-pre-urgency__sub {
  margin: 2px 0 0;
  font-size: 12.5px; color: var(--color-text-muted);
}

/* ─── Mini-roadmap (legacy lotos-pre-roadmap__*) — удалено ───────────── */

/* ─── CTA ─── */
.lotos-pre-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 22px;
  padding: 18px 24px;
  background: var(--color-button); color: var(--color-button_text);
  border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  box-shadow: 0 18px 38px -16px rgba(201,162,39,0.60), inset 0 0 0 1px rgba(14,43,34,0.40);
  transition: background .15s, transform .12s;
}
.lotos-pre-cta:hover { background: var(--color-button-hover); }
.lotos-pre-cta:active { transform: scale(.98); }
.lotos-pre-cta svg { transition: transform .2s; }
.lotos-pre-cta:hover svg { transform: translateX(3px); }


/* ─── Reassurance row (4 trust items) — оставлен из старой версии ─── */
.lotos-order-trust {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (min-width: 720px) { .lotos-order-trust { grid-template-columns: repeat(4, 1fr); } }
.lotos-order-trust__item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--color-blur);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--color-line);
  font-size: 13px; color: var(--color-text); line-height: 1.4;
}
.lotos-order-trust__item svg { flex: 0 0 22px; color: var(--color-button); }
.lotos-order-trust__item b { font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════
 *  PRE-FORM LOADER на /apply/step3 — эталонный flow «Проверяем данные»
 *  Подключается через parts/step3-preload.php
 *  ═══════════════════════════════════════════════════════════════════════ */
.lotos-step3-preload {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--color-page-bg);
    display: flex; align-items: center; justify-content: center;
    padding: 30px 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    color: var(--color-text);
}
.lotos-step3-preload.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lotos-step3-preload__inner {
    text-align: center;
    max-width: 560px;
    width: 100%;
}

/* TITLE с иконкой часов */
.lotos-step3-preload__title {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-brand);
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 22px;
}
.lotos-step3-preload__title-icon {
    color: var(--color-button);
    animation: lotos-preload-clock 2s linear infinite;
}
@keyframes lotos-preload-clock {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* PROGRESS BAR */
.lotos-step3-preload__progress {
    width: 100%; height: 10px;
    background: var(--color-line);
    border-radius: 999px; overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}
.lotos-step3-preload__progress-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--color-button), var(--color-button-hover));
    border-radius: 999px;
    box-shadow: 0 0 12px var(--color-shadow);
}

/* SUBSTEP — меняющийся текст */
.lotos-step3-preload__substep {
    color: var(--color-text-muted);
    font-size: 14px;
    font-style: italic;
    margin: 0 auto 28px auto;
    min-height: 1.4em;
    transition: opacity 0.2s ease;
}

/* NOTES */
.lotos-step3-preload__notes {
    border-top: 1px dashed var(--color-line);
    padding-top: 18px;
}
.lotos-step3-preload__note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--color-text);
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.5;
}
.lotos-step3-preload__note--muted {
    color: var(--color-text-muted);
    font-size: 13px;
    max-width: 440px;
    margin: 8px auto 0;
}
.lotos-step3-preload__note svg {
    color: var(--color-button);
    flex-shrink: 0;
}

/* DONE STATE */
.lotos-step3-preload__state--done {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    animation: lotos-preload-done-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes lotos-preload-done-in {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.lotos-step3-preload__done-icon {
    width: 96px; height: 96px;
    background: #00C853;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(0, 200, 83, 0.4);
    animation: lotos-preload-pulse 1.4s ease-in-out infinite;
}
@keyframes lotos-preload-pulse {
    0%, 100% { box-shadow: 0 16px 40px rgba(0, 200, 83, 0.4); }
    50%      { box-shadow: 0 20px 60px rgba(0, 200, 83, 0.7); }
}
.lotos-step3-preload__done-title {
    font-family: var(--font-brand);
    font-size: 32px;
    color: var(--color-text);
    margin: 8px 0 0 0;
    line-height: 1.1;
}
.lotos-step3-preload__done-sub {
    color: var(--color-text-muted);
    font-size: 16px;
    margin: 0;
}

/* MOBILE */
@media (max-width: 600px) {
    .lotos-step3-preload__title { font-size: 18px; }
    .lotos-step3-preload__done-title { font-size: 24px; }
    .lotos-step3-preload__done-icon { width: 80px; height: 80px; }
}


/* FIX: атрибут hidden должен перебивать display:flex для state-blocks */
.lotos-step3-preload__state[hidden] { display: none !important; }

/* FIX: бейдж «Защищено» — ivory плашка с тёмным текстом на изумрудном header */
.lotos-apply-body .lotos-header__right::before {
    background-color: #F2EFE4 !important;
    border: 1.5px solid rgba(201, 162, 39, 0.5) !important;
    color: #0E2B22 !important;
    font-weight: 700 !important;
}

/* ═══ FIX: тёмный summary-блок — ivory текст (button_text у Лотоса тёмный,
   он верен на золотой CTA, но не на walnut-карточках). Золотая ячейка
   «К возврату» сохраняет тёмный текст. ═══ */
.lotos-apply-summary { color: var(--color-text-on-dark) !important; }
.lotos-apply-summary__edit { color: var(--color-text-on-dark) !important; }
.lotos-apply-summary__toplbl { color: rgba(242, 239, 228, 0.65) !important; }
.lotos-apply-summary__topval { color: var(--color-text-on-dark) !important; }
.lotos-apply-summary__t-lbl { color: var(--color-text-on-dark) !important; }
.lotos-apply-summary__t-val { color: var(--color-text-on-dark) !important; }
/* Золотая primary-ячейка — тёмный текст остаётся */
.lotos-apply-summary__total--primary .lotos-apply-summary__t-lbl,
.lotos-apply-summary__total--primary .lotos-apply-summary__t-val {
    color: #071E17 !important;
}
/* Тёмные step3-карточки (согласия) */
.lotos-step3-card__icon--dark { color: var(--color-text-on-dark) !important; }
.lotos-step3-card--dark,
.lotos-step3-card--dark .lotos-step3-card__title { color: var(--color-text-on-dark) !important; }

/* SYSTEM-FIX: срез компенсаций absolute-хедера на apply/order */
.lotos-apply { padding-top: 32px !important; }
@media (min-width: 640px) { .lotos-apply { padding-top: 40px !important; } }
.lotos-order { padding-top: 32px !important; }
@media (min-width: 640px) { .lotos-order { padding-top: 40px !important; } }
