/*
 * Зона niche-estate-luxury (SEO-волна 25.11.2026 (г)): недвижимость за рубежом и роскошный отдых —
 * /dubai-property-usdt/, /bali-property-usdt/, /thailand-property-usdt/, /georgia-property-usdt/, /yacht-charter-usdt/,
 * /villa-rental-usdt/. Разметка — tools/r26/pages/_nel-kit.mjs. Основа — стили зоны wallets-asia (приставка заменена на nl-).
 * Только токены r26 (assets/r26.css): тёмная тема — без атрибута, светлая — html[data-theme="light"].
 * Телефон: 1199 / 899 / 719 / 379 / 359 px, без боковой прокрутки на 320. RTL — логические свойства.
 */

.nl .r-wrap :is(h1, h2) { text-wrap: balance; }
.nl-top { padding-top: 12px; }
.nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl bdi { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.nl .r-btn svg { flex: none; }

/* ══ Первый экран ═════════════════════════════════════════════════════════ */
.nl-hero { grid-template-columns: 1.15fr 0.85fr; }
.nl-answer { max-width: 680px; }
.nl-chips { padding-top: 4px; }
.nl-hero-art { min-width: 0; }
.nl-ph {
  width: 100%; max-width: 340px; box-sizing: border-box; padding: 20px; border-radius: 28px;
  background: var(--r-surface-3); border: 1px solid var(--r-line-2); box-shadow: var(--r-pop-shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.nl-ph-top { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.nl-ph-ico {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--r-green-tint); color: var(--r-green);
}
.nl-ph-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nl-ph-tt b { font-size: 15px; font-weight: 800; }
.nl-ph-tt > span { font-size: 12px; color: var(--r-muted); }
.nl-ph-f {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 14px;
  background: var(--r-fill-2); border: 1px solid var(--r-line-3);
}
.nl-ph-f span { font-size: 11.5px; font-weight: 700; color: var(--r-muted); }
.nl-ph-f b { font-size: 15px; font-weight: 800; color: var(--r-text); }
.nl-ph-f bdi { text-align: start; }
.nl-ph-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--r-muted); }
.nl-ph-row b { color: var(--r-text); font-weight: 800; }
.nl-ph-total { padding-top: 12px; border-top: 1px dashed var(--r-line-3); color: var(--r-text); font-weight: 700; }
.nl-ph-total b { font-size: 18px; color: var(--r-green); }

/* ══ Факты: цифры + таблица «ключ — значение» ═════════════════════════════ */
.nl-stats { margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nl-stat {
  display: flex; flex-direction: column-reverse; gap: 6px; padding: 16px 18px; border-radius: 18px;
  background: var(--r-surface); border: 1px solid var(--r-line); min-width: 0;
}
.nl-stat dt { font-size: 12.5px; font-weight: 700; color: var(--r-muted); line-height: 1.35; overflow-wrap: break-word; hyphens: auto; }
.nl-stat dd { margin: 0; font-size: 24px; font-weight: 800; color: var(--r-accent); line-height: 1.1; }
.nl-stat bdi { white-space: normal; }

.nl-tbl-wrap {
  overflow-x: auto; border-radius: 24px; border: 1px solid var(--r-line); background: var(--r-surface);
  box-shadow: var(--r-block-shadow); -webkit-overflow-scrolling: touch;
}
.nl-tbl-wrap:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.nl-tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.nl-tbl :is(th, td) { padding: 15px 22px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--r-line); }
.nl-tbl tbody tr:last-child :is(th, td) { border-bottom: 0; }
.nl-tbl thead th { font-size: 14px; font-weight: 800; color: var(--r-muted); background: var(--r-fill-1); }
.nl-tbl tbody th { font-size: 14px; font-weight: 800; color: var(--r-muted); }
.nl-tbl td { color: var(--r-text-2); }
.nl-tbl--kv tbody th { width: 30%; }
.nl-tbl--kv td { color: var(--r-text); }
.nl-tbl--cmp { min-width: 680px; }
.nl-tbl--cmp tbody th { width: 20%; }
.nl-tbl--cmp thead .nl-th-on { color: var(--r-green); background: var(--r-green-tint); }
.nl-tbl--cmp .nl-td-on { color: var(--r-text); font-weight: 700; background: var(--r-green-tint); }
.nl-tbl--num { min-width: 560px; }
.nl-tbl--num :is(th, td) { white-space: nowrap; }
.nl-tbl--num tbody th { color: var(--r-text); }
.nl-tbl--num td:last-child { color: var(--r-green); font-weight: 800; }
.nl-foot { margin: 10px 0 0; font-size: 13.5px; color: var(--r-faint); line-height: 1.6; }
.nl-foot a { color: var(--r-link); font-weight: 700; text-decoration: none; }
.nl-foot a:hover { color: var(--r-link-hover); text-decoration: underline; }
.nl-tip {
  margin-top: 12px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 20px;
  background: var(--r-brand-tint); border: 1px solid var(--r-line-2); max-width: 900px;
}
.nl-tip-ico { flex: none; color: var(--r-accent); margin-top: 2px; }
.nl-tip-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--r-text); }

/* ══ Поля формы ═══════════════════════════════════════════════════════════ */
.nl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nl-field { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nl-field-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nl-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--r-brand-tint); color: var(--r-link);
}
.nl-field-k { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--r-accent); }
.nl-field-t { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--r-text); }
.nl-field-d { margin: 0; font-size: 15px; color: var(--r-text-2); line-height: 1.6; }
.nl-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nl-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--r-muted); line-height: 1.5; }
.nl-rule-i {
  flex: none; width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center;
  background: var(--r-green-tint); color: var(--r-green);
}
.nl-ex {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; padding: 14px 16px;
  border-radius: 14px; background: var(--r-fill-1); border: 1px dashed var(--r-line-3); font-size: 14px;
}
.nl-ex-l { font-size: 12px; font-weight: 800; color: var(--r-muted); }
.nl-ex-in { color: var(--r-text-2); font-weight: 700; }
.nl-ex-out { color: var(--r-green); font-weight: 800; }
.nl-ex .nl-arr { color: var(--r-faint); }
[dir="rtl"] .nl-arr { transform: scaleX(-1); }

/* ══ Проверка поля и калькулятор ══════════════════════════════════════════ */
.nl-chk, .nl-calc { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.nl-chk-form, .nl-form { padding: 32px; display: flex; flex-direction: column; gap: 22px; justify-content: center; min-width: 0; }
.nl-f { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.nl-f-l { padding: 0; font-size: 13px; font-weight: 800; color: var(--r-text-2); line-height: 1.35; }
.nl-in {
  width: 100%; box-sizing: border-box; height: 56px; padding: 0 16px; border-radius: 14px;
  background: var(--r-fill-2); border: 1px solid var(--r-line-3); color: var(--r-text);
  font: inherit; font-size: 19px; font-weight: 800; text-align: start; direction: ltr;
}
[dir="rtl"] .nl-in { text-align: end; }
.nl-in--big { height: 58px; font-size: 22px; }
.nl-in::placeholder { color: var(--r-faint); font-weight: 600; font-size: 15px; }
.nl-in:focus { outline: 2px solid var(--r-accent); outline-offset: 1px; border-color: transparent; }
.nl-in[aria-invalid="true"] { border-color: var(--r-red); }
.nl-chk-out, .nl-out {
  padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0;
  background: var(--r-fill-1); border-inline-start: 1px solid var(--r-line-2);
}
.nl-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--r-muted); }
.nl-out-row > span { min-width: 0; }
.nl-out-row b { color: var(--r-text); font-size: 17px; font-weight: 800; text-align: end; }
.nl-out-total { padding-top: 14px; border-top: 1px solid var(--r-line-3); color: var(--r-text); font-weight: 700; }
.nl-out-total b { font-size: clamp(20px, 2vw + 8px, 28px); color: var(--r-green); }
.nl-bar { height: 8px; border-radius: 99px; background: var(--r-fill-3); overflow: hidden; }
.nl-bar i { display: block; height: 100%; border-radius: inherit; background: var(--r-accent); transition: width .2s ease; }
.nl-msg { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--r-muted); min-height: 2.9em; }
.nl-msg.is-ok { color: var(--r-green); }
.nl-msg.is-warn { color: var(--r-red); }
.nl-out-btn { align-self: flex-start; margin-top: 4px; }

/* ══ Шаги ═════════════════════════════════════════════════════════════════ */
.nl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 24px; overflow: hidden; border: 1px solid var(--r-line); background: var(--r-surface); }
.nl-step { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-inline-start: 1px solid var(--r-line); }
.nl-step:first-child { border-inline-start: 0; }
.nl-step-n { font-size: 34px; font-weight: 800; line-height: 1; color: var(--r-accent); }
.nl-step-t { font-size: 17px; font-weight: 800; color: var(--r-text); }
.nl-step-d { font-size: 14px; color: var(--r-muted); line-height: 1.55; }
.nl-steps:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ══ Лента «после отправки» ═══════════════════════════════════════════════ */
.nl-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nl-tl-i {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px;
  background: var(--r-surface); border: 1px solid var(--r-line); min-width: 0;
}
.nl-tl-dot { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: var(--r-brand-tint); color: var(--r-link); }
.nl-tl--ok .nl-tl-dot { background: var(--r-green-tint); color: var(--r-green); }
.nl-tl--no { border-color: var(--r-red-line); }
.nl-tl--no .nl-tl-dot { background: var(--r-red-line); color: var(--r-red); }
.nl-tl-b { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nl-tl-t { font-size: 18px; font-weight: 800; color: var(--r-text); }
.nl-tl-d { font-size: 14px; color: var(--r-muted); line-height: 1.55; }

/* ══ Карточки ═════════════════════════════════════════════════════════════ */
.nl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nl-cards-sec.nl-cards--2 .nl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nl-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nl-card-t { margin: 0; font-size: 19px; font-weight: 800; color: var(--r-text); line-height: 1.3; }
.nl-card-d { margin: 0; font-size: 15px; color: var(--r-text-2); line-height: 1.6; }

/* ══ Ограничения ══════════════════════════════════════════════════════════ */
.nl-risk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nl-risk-i { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--r-surface); border: 1px solid var(--r-red-line); min-width: 0; }
.nl-risk-ic { flex: none; color: var(--r-red); margin-top: 2px; }
.nl-risk-i p { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }
.nl-risk-i b { color: var(--r-text); }
.nl-note { margin-top: 14px; }

/* ══ Вопросы ══════════════════════════════════════════════════════════════ */
.nl-qa { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.nl-qa-i { border-radius: 20px; background: var(--r-surface); border: 1px solid var(--r-line); }
.nl-qa-i summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 16px; font-weight: 800; color: var(--r-text); line-height: 1.4;
}
.nl-qa-i summary::-webkit-details-marker { display: none; }
.nl-qa-i summary:focus-visible { outline: 2px solid var(--r-accent); outline-offset: -2px; border-radius: 20px; }
.nl-qa-ic { flex: none; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: var(--r-fill-3); color: var(--r-text-2); transition: transform .2s ease; }
.nl-qa-i[open] .nl-qa-ic { transform: rotate(45deg); }
.nl-qa-i p { margin: 0; padding: 0 22px 20px; font-size: 15px; color: var(--r-text-2); line-height: 1.65; max-width: 75ch; }

/* ══ Ссылки ═══════════════════════════════════════════════════════════════ */
.nl-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nl-link { position: relative; padding: 22px; padding-inline-end: 52px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--r-text); min-width: 0; transition: border-color .16s ease; }
.nl-link:hover { border-color: var(--r-brand-2); }
.nl-link b { font-size: 16px; font-weight: 800; line-height: 1.35; }
.nl-link span { font-size: 14px; color: var(--r-muted); line-height: 1.5; }
.nl-link .nl-arr { position: absolute; inset-inline-end: 22px; top: 24px; color: var(--r-link); }
.sx-next.nl-rel { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }

/* ══ Финальный призыв ═════════════════════════════════════════════════════ */
.nl-final { padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nl-final-txt { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 640px; min-width: 0; }
.nl-final .r-btns { position: relative; flex: none; }

/* ══ Планшет и телефон ════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .nl-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-steps, .nl-steps:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-step:nth-child(odd) { border-inline-start: 0; }
  .nl-step:nth-child(n+3) { border-top: 1px solid var(--r-line); }
  .nl-risk, .nl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .nl-hero { grid-template-columns: 1fr; }
  .nl-hero-art { justify-content: flex-start; }
  .nl-fields { grid-template-columns: 1fr; }
  .nl-chk, .nl-calc { grid-template-columns: 1fr; }
  .nl-chk-out, .nl-out { border-inline-start: 0; border-top: 1px solid var(--r-line-2); }
  .nl-links { grid-template-columns: 1fr; }
  .nl-final { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .nl-cards-sec.nl-cards--2 .nl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .nl-ph { max-width: none; }
  .nl-ph.r-float { animation: none; }
  .nl-stat { padding: 12px 14px; }
  .nl-stat dd { font-size: 20px; }
  .nl-field, .nl-card { padding: 22px 20px; }
  .nl-tl { grid-template-columns: 1fr; }
  .nl-tl-i { flex-direction: row; padding: 18px; }
  .nl-tl-dot { flex: none; }
  .nl-steps, .nl-steps:has(> :nth-child(5)) { grid-template-columns: 1fr; }
  .nl-step { border-inline-start: 0 !important; border-top: 1px solid var(--r-line); padding: 20px; }
  .nl-step:first-child { border-top: 0; }
  .nl-risk, .nl-cards { grid-template-columns: 1fr; }
  .nl-chk-form, .nl-form, .nl-chk-out, .nl-out { padding: 22px 20px; }
  .nl-out-btn, .nl-final .r-btns, .nl-final .r-btn { align-self: stretch; width: 100%; }
  .nl .r-hero-txt .r-btns .r-btn { flex: 1 1 100%; }
  .nl-tbl :is(th, td) { padding: 13px 15px; font-size: 14px; }
  .nl-tbl--kv tbody th { width: 38%; }
  /* Пример расчёта на телефоне — без боковой прокрутки: итоговая колонка должна быть видна сразу. */
  .nl-tbl--num { min-width: 0; }
  .nl-tbl--num :is(th, td) { padding: 12px 8px; font-size: 13px; }
  .nl-tbl--num :is(th, td):first-child { padding-inline-start: 14px; }
  .nl-tbl--num thead th { white-space: normal; font-size: 12px; }
  .nl-final { padding: 28px 20px; }
  .nl-qa-i summary { padding: 16px 18px; font-size: 15px; }
  .nl-qa-i p { padding: 0 18px 18px; }
}
@media (max-width: 379px) {
  main .nl .r-btn { white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; line-height: 1.25; text-align: center; }
}
@media (max-width: 359px) {
  .nl-ph { padding: 16px; }
  .nl-ph-row { font-size: 13px; }
  .nl-stats { grid-template-columns: 1fr; }
  .nl-stat { flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 10px; }
  .nl-chk-form, .nl-form, .nl-chk-out, .nl-out { padding: 18px 16px; }
  .nl-in, .nl-in--big { font-size: 17px; }
  .nl-tbl--kv :is(th, td) { display: block; width: auto; }
  .nl-tbl--kv tbody th { padding-bottom: 2px; border-bottom: 0; }
  .nl .r-chip { white-space: normal; height: auto; min-height: 34px; padding: 6px 12px; }
}

/* ══ Добавки зоны niche-estate-luxury ═════════════════════════════════════ */
.nl-cur { font-weight: 800; }

/* Правила страны с источником */
.nl-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nl-rule { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nl-rule-t { margin: 0; font-size: 19px; font-weight: 800; color: var(--r-text); line-height: 1.3; }
.nl-rule-d { margin: 0; font-size: 15px; color: var(--r-text-2); line-height: 1.6; }
.nl-src {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 12px; border-radius: 12px; background: var(--r-fill-1); border: 1px solid var(--r-line-3);
  font-size: 13px; color: var(--r-link); text-decoration: none; min-width: 0;
}
.nl-src:hover { border-color: var(--r-brand-2); color: var(--r-link-hover); }
.nl-src-k { flex: none; font-weight: 800; color: var(--r-muted); }
.nl-src-v { font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.nl-src svg { flex: none; }

/* Калькулятор графика */
.nl-plan { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nl-plan-form { padding: 28px 32px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; align-items: end; }
.nl-f-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--r-faint); line-height: 1.5; }
.nl-plan-wrap { margin: 18px 32px 0; box-shadow: none; border-radius: 18px; }
.nl-tbl--plan { min-width: 760px; font-size: 14.5px; }
.nl-tbl--plan :is(th, td) { padding: 12px 14px; white-space: nowrap; }
.nl-tbl--plan tbody th { color: var(--r-text); white-space: normal; min-width: 170px; }
.nl-tbl--plan td { font-variant-numeric: tabular-nums; }
.nl-tbl--plan .c-total { color: var(--r-text); font-weight: 800; }
.nl-tbl--plan .c-n { text-align: center; font-weight: 800; }
.nl-tbl--plan tr.is-split .c-n { color: var(--r-red); }
.nl-tbl--plan tr.is-split th::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 8px; border-radius: 99px; background: var(--r-red); vertical-align: middle; }
.nl-tbl--plan tfoot :is(th, td) { border-top: 1px solid var(--r-line-3); font-weight: 800; color: var(--r-text); background: var(--r-fill-1); }
.nl-tbl--plan tfoot .c-total { color: var(--r-green); }
.nl-plan-out { padding: 18px 32px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.nl-plan-out .nl-msg { flex: 1 1 380px; min-height: 0; font-size: 14px; }
.nl-plan-btn { flex: none; }

/* Две колонки: подготовить / не делать */
.nl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-duo-c { padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nl-duo-t { margin: 0; font-size: 20px; font-weight: 800; color: var(--r-text); }
.nl-duo-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-duo-l li { display: flex; gap: 12px; align-items: flex-start; }
.nl-duo-l p { margin: 0; font-size: 14.5px; color: var(--r-muted); line-height: 1.55; }
.nl-duo-l b { color: var(--r-text); }
.nl-duo-i { flex: none; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; margin-top: 1px; }
.nl-duo--ok .nl-duo-i { background: var(--r-green-tint); color: var(--r-green); }
.nl-duo--no { border-color: var(--r-red-line); }
.nl-duo--no .nl-duo-i { background: var(--r-red-line); color: var(--r-red); }

.nl-tbl--cmp { min-width: 640px; }
/* Нечётная последняя карточка правил — во всю ширину; четыре карточки — сеткой 2 × 2. */
.nl-rules > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.nl-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nl-tbl--cmp tbody th { width: 22%; color: var(--r-text); }

@media (max-width: 899px) {
  .nl-rules, .nl-duo { grid-template-columns: 1fr; }
  .nl-plan-form { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .nl-rule, .nl-duo-c { padding: 22px 20px; }
  .nl-cards:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  .nl-plan-form { padding: 22px 20px 4px; }
  .nl-plan-wrap { margin: 14px 12px 0; }
  .nl-plan-out { padding: 16px 20px 22px; }
  .nl-plan-btn { width: 100%; }
  /* На телефоне план — карточками: строка = платёж, ячейки подписаны заголовками колонок. */
  .nl-tbl--plan { min-width: 0; }
  .nl-tbl--plan thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nl-tbl--plan, .nl-tbl--plan tbody, .nl-tbl--plan tfoot, .nl-tbl--plan tr { display: block; }
  .nl-tbl--plan tr { padding: 12px 14px; border-bottom: 1px solid var(--r-line); }
  .nl-tbl--plan tbody tr:last-child { border-bottom: 0; }
  .nl-tbl--plan tbody tr, .nl-tbl--plan tfoot tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .nl-tbl--plan :is(th, td) { display: flex; flex-direction: column; gap: 1px; padding: 0; border: 0 !important; white-space: normal; background: none !important; min-width: 0; }
  .nl-tbl--plan th { grid-column: 1 / -1; display: block; padding-bottom: 2px; font-size: 15px; }
  .nl-tbl--plan td::before { content: attr(data-t-l); color: var(--r-muted); font-weight: 700; font-size: 12px; }
  .nl-tbl--plan td:empty { display: none; }
  .nl-tbl--plan tfoot tr { background: var(--r-fill-1); }
  .nl-tbl--plan .c-n { text-align: start; }
  /* Таблицы сравнения на телефоне — карточками: строка = вопрос, ячейки подписаны заголовками колонок. */
  .nl-tbl--cmp { min-width: 0; }
  .nl-tbl--cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nl-tbl--cmp, .nl-tbl--cmp tbody, .nl-tbl--cmp tr { display: block; }
  .nl-tbl--cmp tr { padding: 14px 16px; border-bottom: 1px solid var(--r-line); }
  .nl-tbl--cmp tbody tr:last-child { border-bottom: 0; }
  .nl-tbl--cmp :is(th, td) { display: block; width: auto !important; padding: 3px 0; border: 0 !important; }
  .nl-tbl--cmp th { padding-bottom: 6px; font-size: 15px; }
  .nl-tbl--cmp td::before { content: attr(data-t-l); display: block; color: var(--r-muted); font-weight: 700; font-size: 12px; }
}
