/* Страница «Нейросеть для диплома»: «загляните внутрь», «лист растёт», ИИ-правки, подбор тарифа.
   Визуальный язык — как в #how на главной: белая карточка, окно ui-app, синий акцент. */

.vkr-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.vkr-section .showcase__intro {
  margin-bottom: 32px;
}

/* ——— Общая карточка: текст слева, окно справа ——— */
.vkr-inside,
.vkr-edit {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow:
    0 32px 72px rgba(15, 23, 42, 0.09),
    0 8px 20px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
}

.vkr-inside__copy,
.vkr-edit__copy {
  padding: 28px 22px;
}

.vkr-inside__copy h3,
.vkr-edit__copy h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

.vkr-inside__preview,
.vkr-edit__preview {
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(37, 99, 235, 0.12), transparent 58%),
    linear-gradient(165deg, #f0f5fb 0%, #e6edf7 100%);
  padding: 24px 16px 0;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.vkr-inside__preview .ui-app,
.vkr-edit__preview .ui-app {
  max-width: 620px;
}

/* ——— Блок 1: «Загляните внутрь диплома» ——— */
.vkr-inside__note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 108px;
  margin: 4px 0 26px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--blue-soft), #fff 85%);
  border: 1px solid #dbeafe;
}

.vkr-inside__note-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.vkr-inside__note strong {
  display: block;
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.vkr-inside__note p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.vkr-inside__note.is-swap > * {
  animation: vkr-text-in 0.45s var(--ease) both;
}

.vkr-inside__cta {
  align-self: flex-start;
  gap: 8px;
}

.vkr-inside__body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 400px;
}

.vkr-inside__toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid var(--line-soft);
  background: #fafbfc;
}

.vkr-inside__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: 9px 10px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.vkr-inside__item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vkr-inside__item em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.vkr-inside__item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--ink);
}

.vkr-inside__item.is-active {
  background: linear-gradient(135deg, #3b82f6 0%, var(--blue) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.vkr-inside__item.is-active em {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.vkr-inside__item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.vkr-inside__timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.vkr-inside.is-auto .vkr-inside__item.is-active .vkr-inside__timer {
  opacity: 0.55;
  animation: vkr-timer var(--vkr-auto, 5200ms) linear both;
}

.vkr-inside__pages {
  display: grid;
  min-width: 0;
  padding: 18px 20px 22px;
}

.vkr-page {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(14px, 0, 0);
  transition:
    opacity 0.3s var(--ease),
    transform 0.4s var(--ease),
    visibility 0s linear 0.3s;
}

.vkr-page.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.45s var(--ease) 0.05s,
    transform 0.5s var(--ease) 0.05s,
    visibility 0s linear 0s;
}

.vkr-page__h {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.vkr-page.is-active .vkr-intro > div,
.vkr-page.is-active .vkr-subs li,
.vkr-page.is-active .vkr-recs li,
.vkr-page.is-active .vkr-concl li,
.vkr-page.is-active .vkr-lit li {
  animation: vkr-row-in 0.45s var(--ease) both;
}

.vkr-page.is-active :is(.vkr-intro > div, .vkr-subs li, .vkr-recs li, .vkr-concl li, .vkr-lit li):nth-child(2) { animation-delay: 0.07s; }
.vkr-page.is-active :is(.vkr-intro > div, .vkr-subs li, .vkr-recs li, .vkr-concl li, .vkr-lit li):nth-child(3) { animation-delay: 0.14s; }
.vkr-page.is-active :is(.vkr-intro > div, .vkr-subs li, .vkr-recs li, .vkr-concl li, .vkr-lit li):nth-child(4) { animation-delay: 0.21s; }
.vkr-page.is-active :is(.vkr-intro > div, .vkr-subs li, .vkr-recs li, .vkr-concl li, .vkr-lit li):nth-child(5) { animation-delay: 0.28s; }

/* Введение */
.vkr-intro {
  display: grid;
  gap: 7px;
  margin: 0;
}

.vkr-intro > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.vkr-page.is-active .vkr-intro > div {
  animation:
    vkr-row-in 0.45s var(--ease) both,
    vkr-hl 1.1s var(--ease) both;
}

.vkr-page.is-active .vkr-intro > div:nth-child(1) { animation-delay: 0s, 0.5s; }
.vkr-page.is-active .vkr-intro > div:nth-child(2) { animation-delay: 0.07s, 0.95s; }
.vkr-page.is-active .vkr-intro > div:nth-child(3) { animation-delay: 0.14s, 1.4s; }
.vkr-page.is-active .vkr-intro > div:nth-child(4) { animation-delay: 0.21s, 1.85s; }
.vkr-page.is-active .vkr-intro > div:nth-child(5) { animation-delay: 0.28s, 2.3s; }

.vkr-intro dt {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.vkr-intro dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Глава 1 */
.vkr-subs {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.vkr-subs li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.vkr-subs b {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
}

.vkr-cite {
  padding: 0 3px;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

/* Глава 2 */
.vkr-slot {
  margin: 12px 0 0;
  padding: 14px 14px 12px;
  border: 1.5px dashed #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.7), #fff);
}

.vkr-slot__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 104px;
  padding: 0 6px;
  border-bottom: 1px solid #dbeafe;
}

.vkr-slot__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: repeating-linear-gradient(135deg, #dbeafe 0 6px, #eff6ff 6px 12px);
  transform-origin: bottom center;
}

.vkr-page.is-active .vkr-slot__bars span {
  animation: vkr-grow 0.7s var(--ease) both;
}

.vkr-page.is-active .vkr-slot__bars span:nth-child(2) { animation-delay: 0.08s; }
.vkr-page.is-active .vkr-slot__bars span:nth-child(3) { animation-delay: 0.16s; }
.vkr-page.is-active .vkr-slot__bars span:nth-child(4) { animation-delay: 0.24s; }
.vkr-page.is-active .vkr-slot__bars span:nth-child(5) { animation-delay: 0.32s; }

.vkr-slot figcaption {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
}

/* Глава 3 */
.vkr-recs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vkr-recs li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.vkr-recs li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.vkr-recs strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.vkr-recs em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

/* Заключение */
.vkr-concl {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.vkr-concl li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dotted #dbe3ee;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.vkr-concl em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}

.vkr-concl__goal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.vkr-page.is-active .vkr-concl__goal {
  animation: vkr-pop 0.5s var(--ease) 0.4s both;
}

/* Литература */
.vkr-lit {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.vkr-lit li::marker {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
}

.vkr-page__link {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.vkr-page__link:hover {
  text-decoration: underline;
}

/* ——— Блок 3: лист растёт по шагам ——— */
.vkr-route {
  display: grid;
  gap: 24px;
}

.vkr-route__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vkr-route__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid transparent;
  opacity: 0.6;
  transition:
    opacity 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.vkr-route__step:hover {
  opacity: 0.85;
}

.vkr-route__step.is-active {
  opacity: 1;
  background: #fff;
  border-color: var(--line);
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

.vkr-route__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: inherit;
  cursor: pointer;
}

.vkr-route__hit:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.vkr-route__num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.vkr-route__step.is-done .vkr-route__num {
  background: var(--blue-soft);
  border-color: #bfdbfe;
  color: var(--blue);
}

.vkr-route__step.is-active .vkr-route__num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.vkr-route__copy h3 {
  margin: 2px 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vkr-route__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.vkr-route__copy a {
  position: relative;
  z-index: 2;
}

.vkr-route__copy .btn-link {
  margin-top: 12px;
}

.vkr-route__sticky {
  padding: 20px 16px 0;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 55% at 75% 12%, rgba(37, 99, 235, 0.12), transparent 58%),
    linear-gradient(165deg, #f0f5fb 0%, #e6edf7 100%);
  box-shadow:
    0 32px 72px rgba(15, 23, 42, 0.09),
    0 8px 20px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.vkr-route__bars {
  display: flex;
  gap: 6px;
  max-width: 560px;
  margin: 0 auto 18px;
}

.vkr-route__bars i {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  overflow: hidden;
}

.vkr-route__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.vkr-route__bars i.is-on::after {
  transform: scaleX(1);
}

.vkr-doc {
  max-width: 560px;
}

.vkr-doc__body {
  display: flex;
  flex-direction: column;
  height: 580px;
  background: #f4f7fb;
  overflow: hidden;
}

.vkr-doc__ghost {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.vkr-doc__ghost i {
  display: block;
  width: var(--w);
  height: 7px;
  border-radius: 999px;
  background: #f1f5f9;
}

.vkr-doc__ghost i:nth-child(5n + 1) {
  height: 9px;
  margin-top: 8px;
  background: #e8eef6;
}

.vkr-doc__part {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    grid-template-rows 0.6s var(--ease),
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease);
}

.vkr-doc__part.is-shown {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.vkr-doc__inner {
  min-height: 0;
  overflow: hidden;
}

.vkr-doc__part--export .ui-export-bar {
  border-bottom: 1px solid var(--line-soft);
}

.vkr-doc__sheet {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin: 14px 14px 0;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.04);
}

.vkr-doc__stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
  opacity: 0;
  transform: scale(0.6) rotate(-14deg);
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vkr-doc[data-stage="4"] .vkr-doc__stamp {
  opacity: 1;
  transform: rotate(-6deg);
}

.vkr-doc__part--title .ui-export-sheet__topic {
  margin-bottom: 12px;
}

.vkr-doc__caret {
  height: 14px;
}

.vkr-doc:not([data-stage="1"]) .vkr-doc__caret {
  display: none;
}

.vkr-doc__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.vkr-doc__chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.vkr-doc__chips > span > span {
  padding: 0;
  background: none;
}

.vkr-doc[data-stage="1"] .vkr-doc__chips > span {
  animation: vkr-pop 0.5s var(--ease) both;
}

.vkr-doc[data-stage="1"] .vkr-doc__chips > span:nth-child(2) {
  animation-delay: 0.08s;
}

.vkr-doc[data-stage="1"] .vkr-doc__chips > span:nth-child(3) {
  animation-delay: 0.16s;
}

.vkr-doc__part--toc .vkr-doc__inner::before,
.vkr-doc__part--text .vkr-doc__inner::before {
  content: "";
  display: block;
  height: 0;
  margin: 16px 0;
  border-top: 1px dashed var(--line);
}

.vkr-doc__label {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}

.vkr-doc__toc {
  gap: 7px;
}

.vkr-doc__part--toc.is-shown .vkr-doc__toc li {
  animation: vkr-row-in 0.5s var(--ease) both;
}

.vkr-doc__part--toc.is-shown .vkr-doc__toc li:nth-child(2) { animation-delay: 0.06s; }
.vkr-doc__part--toc.is-shown .vkr-doc__toc li:nth-child(3) { animation-delay: 0.12s; }
.vkr-doc__part--toc.is-shown .vkr-doc__toc li:nth-child(4) { animation-delay: 0.18s; }
.vkr-doc__part--toc.is-shown .vkr-doc__toc li:nth-child(5) { animation-delay: 0.24s; }

.vkr-doc__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.vkr-doc__done {
  display: none;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: var(--ok);
}

.vkr-doc[data-stage="4"] .vkr-doc__live {
  display: none;
}

.vkr-doc[data-stage="4"] .vkr-doc__done {
  display: inline-flex;
}

.vkr-doc__lines i {
  display: block;
  width: 0;
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dbe3ee, #eef2f7);
  transition: width 0.9s var(--ease);
}

.vkr-doc__part--text.is-shown .vkr-doc__lines i {
  width: var(--w);
}

.vkr-doc__part--text.is-shown .vkr-doc__lines i:nth-child(2) { transition-delay: 0.15s; }
.vkr-doc__part--text.is-shown .vkr-doc__lines i:nth-child(3) { transition-delay: 0.3s; }
.vkr-doc__part--text.is-shown .vkr-doc__lines i:nth-child(4) { transition-delay: 0.45s; }

.vkr-doc[data-stage="3"] .vkr-doc__lines i {
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%) 0 0 / 220% 100%,
    linear-gradient(90deg, #cfe0fb, #e8effa);
  animation: vkr-shimmer 1.4s linear infinite;
}

/* ——— Блок 2: ИИ-правки абзаца ——— */
.vkr-edit__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.vkr-tool {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.vkr-tool svg {
  flex-shrink: 0;
  color: var(--blue);
  transition: color 0.2s var(--ease);
}

.vkr-tool:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.vkr-tool.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.vkr-tool.is-active svg {
  color: #fff;
}

.vkr-edit.is-auto .vkr-tool.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  opacity: 0.6;
  transform-origin: left center;
  animation: vkr-timer var(--vkr-auto, 3600ms) linear both;
}

.vkr-tool:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.vkr-edit.is-busy .vkr-tool:not(.is-active) {
  opacity: 0.55;
  cursor: progress;
}

.vkr-edit__hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted-2);
}

.vkr-editor .ui-app__body {
  min-height: 360px;
}

.vkr-editor .ui-app__main {
  min-width: 0;
}

.vkr-editor__ctx {
  color: var(--muted);
}

.vkr-editor__target {
  position: relative;
  margin: 16px -10px 12px;
  padding: 14px 12px 4px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  box-shadow: inset 3px 0 0 var(--blue);
  overflow: visible;
}

.vkr-editor__target [data-edit-text] {
  transition:
    opacity 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.vkr-editor__ai {
  position: absolute;
  top: -11px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.14);
  white-space: nowrap;
}

.vkr-editor__target.is-working::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.8) 48%, transparent 70%) 0 0 / 220% 100%;
  animation: vkr-shimmer 1s linear infinite;
  pointer-events: none;
}

.vkr-editor__target.is-working [data-edit-text] {
  opacity: 0.4;
  filter: blur(0.6px);
}

.vkr-editor__target.is-working .vkr-editor__ai svg {
  animation: vkr-spin 1.2s linear infinite;
}

.vkr-editor__target.is-updated {
  animation: vkr-flash 1.3s var(--ease);
}

.vkr-editor__target.is-updated [data-edit-text] {
  animation: vkr-text-in 0.5s var(--ease) both;
}

.vkr-typo {
  text-decoration: underline wavy #ef4444;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  border-radius: 3px;
  background: rgba(239, 68, 68, 0.08);
}

.vkr-editor__added {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.vkr-editor__added.is-shown {
  grid-template-rows: 1fr;
}

.vkr-editor__added-inner {
  min-height: 0;
  overflow: hidden;
}

.vkr-editor__added.is-shown .ui-doc__p {
  animation: vkr-added 1.6s var(--ease) both;
  border-radius: 6px;
}

.vkr-editor__status {
  transition: color 0.25s var(--ease);
}

.vkr-editor__status.is-working {
  color: var(--blue);
}

.vkr-editor__diff {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 0.35s var(--ease),
    transform 0.4s var(--ease);
}

.vkr-editor__diff.is-shown {
  opacity: 1;
  transform: none;
}

.vkr-editor__diff svg {
  flex-shrink: 0;
}

/* Таблица сравнения: колонка Erudia подсвечена */
.vkr-compare {
  margin-top: 28px;
}

.vkr-compare__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vkr-compare__mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

@media (min-width: 640px) {
  .vkr-compare {
    border-radius: 24px;
    box-shadow:
      0 24px 56px rgba(15, 23, 42, 0.07),
      0 4px 12px rgba(15, 23, 42, 0.02);
  }

  .vkr-compare .seo-compare {
    font-size: 15px;
  }

  .vkr-compare .seo-compare th,
  .vkr-compare .seo-compare td {
    padding: 16px 20px;
    vertical-align: middle;
  }

  .vkr-compare .seo-compare th {
    background: #fbfcfe;
  }

  .vkr-compare .seo-compare td:first-child {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
  }

  .vkr-compare .seo-compare th:nth-child(2),
  .vkr-compare .seo-compare td:nth-child(2) {
    background: rgba(239, 246, 255, 0.75);
    color: var(--ink);
    font-weight: 600;
    box-shadow:
      inset 1px 0 0 #dbeafe,
      inset -1px 0 0 #dbeafe;
  }

  .vkr-compare .seo-compare th:nth-child(2) {
    color: var(--blue-deep);
  }

  .vkr-compare .seo-compare td:nth-child(2)::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: -2px 10px 0 0;
    vertical-align: middle;
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
      var(--blue);
  }

  .vkr-compare .seo-compare td:nth-child(3) {
    color: var(--muted);
  }
}

/* ——— Блок 4: подбор тарифа за два ответа ——— */
.vkr-pick {
  display: grid;
  max-width: 980px;
  margin: 0 auto 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow:
    0 32px 72px rgba(15, 23, 42, 0.09),
    0 8px 20px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.vkr-pick__questions {
  display: grid;
  gap: 24px;
  align-content: center;
  padding: 24px 20px;
}

.vkr-pick__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.vkr-pick__head-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, var(--blue) 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.vkr-pick__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.vkr-pick__head span:not(.vkr-pick__head-icon) {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.vkr-pick__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.vkr-pick__label span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.vkr-pick__opts {
  display: grid;
  gap: 10px;
}

.vkr-opt {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 1px;
  align-items: center;
  padding: 13px 44px 13px 13px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    opacity 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.vkr-opt__icon {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--muted);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.vkr-opt strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.vkr-opt > span:last-child {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}

.vkr-opt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vkr-opt:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.vkr-opt:active {
  transform: scale(0.99);
}

.vkr-opt:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.vkr-opt.is-on {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-soft), #fff 92%);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.vkr-opt.is-on .vkr-opt__icon {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.vkr-opt.is-on::after {
  border-color: var(--blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--blue);
  transform: scale(1.06);
}

.vkr-pick__q.is-muted .vkr-opt {
  opacity: 0.4;
  pointer-events: none;
}

.vkr-pick__q.is-muted .vkr-opt.is-on {
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.vkr-pick__q.is-muted .vkr-opt.is-on .vkr-opt__icon {
  background: var(--bg-soft);
  color: var(--muted);
  box-shadow: none;
}

.vkr-pick__q.is-muted .vkr-opt.is-on::after {
  border-color: #cbd5e1;
  background: #fff;
  transform: none;
}

.vkr-pick__skip {
  display: none;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

.vkr-pick__q.is-muted .vkr-pick__skip {
  display: block;
}

.vkr-pick__result {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #3b82f6 0%, var(--blue) 45%, var(--blue-deep) 100%);
  overflow: hidden;
  isolation: isolate;
}

.vkr-pick__result::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 38px solid rgba(255, 255, 255, 0.07);
}

.vkr-pick__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.vkr-pick__swap.is-swap {
  animation: vkr-text-in 0.45s var(--ease) both;
}

.vkr-pick__plan {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.vkr-pick__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 6px 0 16px;
}

.vkr-pick__price > span {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.vkr-pick__price small {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.vkr-pick__price em {
  margin-left: 4px;
  font-style: normal;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.vkr-pick__why {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.vkr-pick__why li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
}

.vkr-pick__why li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    #fff;
}

.vkr-pick__cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  border: 0;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.vkr-pick__cta:hover {
  background: #eff6ff;
  color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.26);
}

.vkr-pick__cta[hidden] {
  display: none;
}

.price[data-plan] {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.price.is-fit {
  border-color: #93c5fd;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    var(--shadow-lg);
}

.price[data-plan="free"].is-fit {
  border-color: #86efac;
  box-shadow:
    0 0 0 3px rgba(16, 185, 129, 0.12),
    var(--shadow-lg);
}

.vkr-fit-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin: -10px 0 18px;
  padding: 5px 11px 5px 7px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  animation: vkr-pop 0.45s var(--ease) both;
}

.vkr-fit-chip::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    currentColor;
}

.vkr-fit-chip[hidden] {
  display: none;
}

.price[data-plan="free"] .vkr-fit-chip {
  background: #ecfdf5;
  color: #047857;
}

/* ——— Анимации ——— */
@keyframes vkr-row-in {
  from {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vkr-swap {
  from {
    opacity: 0;
    transform: translate3d(0, 5px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vkr-bump {
  0% { transform: none; }
  40% { transform: translate3d(0, -3px, 0) scale(1.06); color: var(--blue); }
  100% { transform: none; }
}

@keyframes vkr-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vkr-shimmer {
  from { background-position: 120% 0, 0 0; }
  to { background-position: -120% 0, 0 0; }
}

@keyframes vkr-spin {
  to { transform: rotate(360deg); }
}

@keyframes vkr-flash {
  0% { background: rgba(37, 99, 235, 0.2); }
  100% { background: rgba(37, 99, 235, 0.06); }
}

@keyframes vkr-text-in {
  from {
    opacity: 0;
    transform: translate3d(0, 4px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes vkr-grow {
  from { transform: scaleY(0); }
  to { transform: none; }
}

@keyframes vkr-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes vkr-hl {
  0%, 100% { background: var(--bg-soft); box-shadow: none; }
  35% { background: #dbeafe; box-shadow: inset 3px 0 0 var(--blue); }
}

@keyframes vkr-added {
  0% { background: rgba(37, 99, 235, 0.16); }
  100% { background: transparent; }
}

/* ——— Раскладка по ширине экрана ——— */
@media (max-width: 899px) {
  .vkr-route__stage {
    order: -1;
  }

  .vkr-doc__body {
    height: 570px;
  }
}

@media (max-width: 639px) {
  .vkr-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .vkr-inside,
  .vkr-edit,
  .vkr-pick {
    border-radius: 22px;
  }

  .vkr-inside__preview,
  .vkr-edit__preview {
    padding: 18px 10px 0;
  }

  .vkr-edit__preview .ui-app__side {
    display: none;
  }

  .vkr-edit__preview .ui-app__body {
    grid-template-columns: 1fr;
  }

  .vkr-inside__cta {
    width: 100%;
    justify-content: center;
  }

  .vkr-inside__note {
    min-height: 128px;
    padding: 14px;
  }

  .vkr-inside__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .vkr-inside__toc {
    flex-direction: row;
    gap: 6px;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .vkr-inside__toc::-webkit-scrollbar {
    display: none;
  }

  .vkr-inside__toc .ui-app__side-label {
    display: none;
  }

  .vkr-inside__item {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 12px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    scroll-snap-align: start;
  }

  .vkr-inside__item span {
    overflow: visible;
  }

  .vkr-inside__item em {
    display: none;
  }

  .vkr-inside__item.is-active {
    border-color: var(--blue);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
  }

  .vkr-inside__pages {
    min-height: 330px;
    padding: 16px 14px 20px;
  }

  .vkr-intro > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .vkr-pick__questions {
    padding: 20px 16px;
  }

  .vkr-pick__result {
    padding: 24px 18px 22px;
  }

  .vkr-route__sticky {
    padding: 16px 10px 0;
    border-radius: 22px;
  }

  .vkr-route__step {
    padding: 14px 14px;
    gap: 12px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .vkr-route__num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .vkr-route__copy h3 {
    font-size: 1.08rem;
  }

  .vkr-doc__sheet {
    margin: 10px 10px 0;
    padding: 18px 14px 14px;
  }

  .vkr-doc__part--title .ui-export-sheet__type {
    padding: 0 46px;
  }

  .vkr-tool {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13.5px;
  }

  .vkr-fit-chip {
    margin-top: -8px;
  }
}

@media (min-width: 900px) {
  .vkr-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .vkr-inside,
  .vkr-edit {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  }

  .vkr-inside__copy,
  .vkr-edit__copy {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .vkr-inside__preview,
  .vkr-edit__preview {
    padding: 36px 30px 0;
  }

  .vkr-inside__body {
    min-height: 430px;
  }

  .vkr-pick {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .vkr-pick__questions {
    padding: 34px 34px;
  }

  .vkr-pick__opts {
    grid-template-columns: 1fr 1fr;
  }

  .vkr-pick__result {
    padding: 34px 32px 30px;
  }

  .vkr-editor .ui-app__body {
    min-height: 400px;
  }

  .vkr-route {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: stretch;
  }

  .vkr-route__steps {
    align-content: start;
    gap: 0;
    padding: 6vh 0 22vh;
  }

  .vkr-route__step {
    padding: 22px 24px;
  }

  .vkr-route__step + .vkr-route__step {
    margin-top: 15vh;
  }

  .vkr-route__stage {
    position: relative;
  }

  .vkr-route__sticky {
    position: sticky;
    top: calc(var(--header-h, 72px) + 28px);
    padding: 26px 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vkr-page,
  .vkr-inside__item,
  .vkr-opt,
  .vkr-opt::after,
  .vkr-route__step,
  .vkr-route__bars i::after,
  .vkr-doc__part,
  .vkr-doc__stamp,
  .vkr-doc__lines i,
  .vkr-editor__added,
  .vkr-editor__diff,
  .price[data-plan] {
    transition: none !important;
  }

  .vkr-page *,
  .vkr-inside__note > *,
  .vkr-pick__swap,
  .vkr-doc__chips > span,
  .vkr-doc__toc li,
  .vkr-doc__lines i,
  .vkr-editor__target,
  .vkr-editor__target::after,
  .vkr-editor__target [data-edit-text],
  .vkr-editor__ai svg,
  .vkr-editor__added .ui-doc__p,
  .vkr-fit-chip {
    animation: none !important;
  }
}

/* ——— Телефон: компактные блоки — макет + заголовок, пояснения скрыты ——— */
@media (max-width: 639px) {
  .vkr-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .vkr-section .showcase__intro {
    margin-bottom: 20px;
  }

  .vkr-inside__copy,
  .vkr-edit__copy {
    padding: 18px 16px 14px;
  }

  .vkr-inside__copy h3,
  .vkr-edit__copy h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .vkr-inside__copy .showcase-panel__kicker,
  .vkr-edit__copy .showcase-panel__kicker {
    margin-bottom: 10px;
  }

  .vkr-inside__copy .showcase-panel__kicker-icon,
  .vkr-edit__copy .showcase-panel__kicker-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .vkr-inside__copy .showcase-panel__text,
  .vkr-inside__note,
  .vkr-inside__cta,
  .vkr-edit__copy .showcase-panel__text,
  .vkr-edit__hint {
    display: none;
  }

  .vkr-inside__preview,
  .vkr-edit__preview {
    padding: 0 10px;
    background: linear-gradient(180deg, #fff 0%, #eef3fa 100%);
  }

  /* «Загляните внутрь» */
  .vkr-inside__pages {
    min-height: 0;
    padding: 12px 12px 14px;
  }

  .vkr-page__h {
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 14px;
  }

  .vkr-intro {
    gap: 5px;
  }

  .vkr-intro > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 8px;
  }

  .vkr-intro dd {
    font-size: 12px;
    line-height: 1.35;
  }

  .vkr-slot__bars {
    height: 72px;
  }

  .vkr-recs li {
    padding: 8px 10px;
  }

  .vkr-lit {
    gap: 5px;
    font-size: 11.5px;
  }

  /* «4 шага»: активный шаг с текстом, остальные — одной строкой */
  .vkr-route__steps {
    gap: 4px;
  }

  .vkr-route__step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .vkr-route__step.is-active {
    align-items: start;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  }

  .vkr-route__num {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 12px;
  }

  .vkr-route__copy h3 {
    margin: 0;
    font-size: 15px;
  }

  .vkr-route__step.is-active .vkr-route__copy h3 {
    margin: 4px 0 4px;
  }

  .vkr-route__copy p {
    display: none;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .vkr-route__copy .btn-link {
    display: none;
  }

  .vkr-route__step.is-active .vkr-route__copy p {
    display: block;
  }

  .vkr-route__sticky {
    padding: 12px 10px 0;
  }

  .vkr-route__sticky .vkr-doc {
    zoom: 0.8;
  }

  .vkr-doc__body {
    height: 480px;
  }

  .vkr-doc__part--toc .vkr-doc__inner::before,
  .vkr-doc__part--text .vkr-doc__inner::before {
    margin: 10px 0;
  }

  .vkr-doc__toc {
    gap: 4px;
  }

  .vkr-doc__lines i:nth-child(n + 3) {
    display: none;
  }

  /* ИИ-правки */
  .vkr-edit__tools {
    gap: 6px;
    margin: 12px 0 0;
  }

  .vkr-tool {
    min-height: 34px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12.5px;
  }

  .vkr-tool svg {
    display: none;
  }

  .vkr-editor .ui-app__body {
    min-height: 0;
  }

  .vkr-editor .ui-app__main {
    padding: 12px;
  }

  .vkr-editor__ctx,
  .vkr-editor .ui-doc__p--fade {
    display: none;
  }

  /* Таблица сравнения — компактная таблица, а не стопка карточек */
  .vkr-compare {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  }

  .vkr-compare .seo-compare {
    display: table;
    font-size: 12.5px;
  }

  .vkr-compare .seo-compare thead {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .vkr-compare .seo-compare tbody {
    display: table-row-group;
  }

  .vkr-compare .seo-compare tr {
    display: table-row;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .vkr-compare .seo-compare th,
  .vkr-compare .seo-compare td {
    display: table-cell;
    padding: 10px 8px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    background: none;
    line-height: 1.35;
    vertical-align: middle;
  }

  .vkr-compare .seo-compare tr:last-child td {
    border-bottom: 0;
  }

  .vkr-compare .seo-compare th {
    font-size: 11.5px;
    background: #fbfcfe;
  }

  .vkr-compare .seo-compare th:first-child,
  .vkr-compare .seo-compare td:first-child {
    width: 28%;
    padding-left: 12px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
  }

  .vkr-compare .seo-compare th:nth-child(2),
  .vkr-compare .seo-compare td:nth-child(2) {
    background: rgba(239, 246, 255, 0.85);
    color: var(--ink);
    font-weight: 600;
  }

  .vkr-compare .seo-compare td:nth-child(2)::before,
  .vkr-compare .seo-compare td:nth-child(3)::before {
    content: none;
  }

  .vkr-compare .seo-compare td:nth-child(3) {
    color: var(--muted);
  }

  .vkr-compare__mark {
    display: none;
  }

  /* Подбор тарифа */
  .vkr-pick__questions {
    gap: 14px;
    padding: 16px 14px;
  }

  .vkr-pick__head {
    gap: 10px;
    padding-bottom: 12px;
  }

  .vkr-pick__head-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .vkr-pick__head strong {
    font-size: 1.05rem;
  }

  .vkr-pick__head span:not(.vkr-pick__head-icon) {
    display: none;
  }

  .vkr-pick__label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .vkr-pick__opts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .vkr-opt {
    grid-template-columns: 1fr;
    justify-items: start;
    row-gap: 6px;
    padding: 10px 10px 10px;
    border-radius: 14px;
  }

  .vkr-opt__icon {
    grid-row: auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .vkr-opt strong {
    font-size: 13.5px;
    line-height: 1.2;
  }

  .vkr-opt > span:last-child {
    display: none;
  }

  .vkr-opt::after {
    top: 12px;
    right: 10px;
    width: 18px;
    height: 18px;
    margin-top: 0;
  }

  .vkr-pick__skip {
    margin-top: 6px;
    font-size: 12px;
  }

  .vkr-pick__result {
    padding: 16px 14px 14px;
  }

  .vkr-pick__plan {
    margin-top: 2px;
    font-size: 1.25rem;
  }

  .vkr-pick__price {
    margin: 2px 0 12px;
  }

  .vkr-pick__price > span {
    font-size: 2.2rem;
  }

  .vkr-pick__why {
    display: none;
  }

  .vkr-pick__result::after {
    width: 160px;
    height: 160px;
    border-width: 26px;
  }
}