@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/philosopher-cyrillic-700.woff2) format('woff2');
}

/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #7d8590;
  --brand-bg: #101116;
  --object: #1b1d24;
  --shell-ink: #fffdf0;
  --shell-muted: rgba(255, 253, 240, .62);
  --shell-faint: rgba(255, 253, 240, .12);
  --shell-line: rgba(255, 253, 240, .12);
  --shell-panel: rgba(255, 253, 240, .045);
  --shell-shadow: rgba(0, 0, 0, .36);
  --shell-scale-1: 34px;
  --shell-scale-2: 22px;
  --shell-scale-3: 16px;
  --shell-scale-4: 13px;
  --shell-space: 12px;
  --shell-header-h: 58px;
  --shell-tabs-h: 68px;
  --shell-banner-h-mobile: 260px;
  --shell-banner-h-desktop: 340px;
  --shell-status-word: "готово";
  --shell-font-ui: "Onest", "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell-font-text: "Golos Text", "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell-font-display: "Philosopher", Georgia, "Times New Roman", serif;
}

html.shell-mounted {
  background: var(--brand-bg);
}

body {
  background: var(--brand-bg);
}

body.shell-has-tabs {
  padding-bottom: calc(var(--shell-tabs-h) + env(safe-area-inset-bottom, 0px));
}

body.shell-has-header {
  padding-top: var(--shell-header-h);
}

/* КАНОН: контент-зона не ниже экрана, подвал живёт только под скроллом.
   Считаем от полной высоты экрана минус шапка — тогда подвал начинается
   ровно за сгибом, а не выглядывает на первом экране. */
#app {
  min-height: calc(100vh - var(--shell-header-h));
}

.shell-banner + #app {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand-bg) 72%, var(--brand) 28%) 0, color-mix(in srgb, var(--brand-bg) 88%, var(--brand) 12%) 94px, var(--brand-bg) 230px);
  box-shadow: 0 -1px 0 color-mix(in srgb, var(--brand) 16%, transparent);
}

.shell-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--shell-scale-2);
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 34%),
    linear-gradient(180deg, var(--brand-bg), color-mix(in srgb, var(--brand-bg) 86%, #000 14%));
  color: var(--shell-ink);
  transition: opacity .22s ease, visibility .22s ease;
}

.shell-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shell-splash__inner {
  display: grid;
  justify-items: center;
  gap: var(--shell-scale-3);
  text-align: center;
}

.shell-splash__object {
  width: min(72vw, 430px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(1.04) saturate(1.03);
}

.shell-splash__name {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font: 760 52px / .98 var(--shell-font-display);
  letter-spacing: 0;
}

.shell-splash__copy {
  max-width: 280px;
  color: var(--shell-muted);
  font: 600 var(--shell-scale-4) / 1.4 var(--shell-font-text);
}

.shell-splash__made {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: color-mix(in srgb, var(--brand) 78%, var(--shell-ink) 22%);
  font: 800 12px / 1 var(--shell-font-text);
  text-shadow: 0 0 16px color-mix(in srgb, var(--brand) 38%, transparent);
}

.shell-splash__flag {
  width: 18px;
  height: 12px;
  display: inline-grid;
  grid-template-rows: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 12px color-mix(in srgb, var(--brand) 28%, transparent);
}

.shell-splash__flag i:nth-child(1) { background: #fff; }
.shell-splash__flag i:nth-child(2) { background: #2556a8; }
.shell-splash__flag i:nth-child(3) { background: #d52b1e; }

.shell-splash__dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  transform: translateY(0);
}

.shell-splash__dots i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, #fff 0 10%, color-mix(in srgb, var(--brand) 18%, #fff 82%) 11% 24%, color-mix(in srgb, var(--brand) 55%, #fff 45%) 45%, var(--brand) 68%, color-mix(in srgb, var(--brand) 84%, #fff 16%) 82%, color-mix(in srgb, var(--brand) 78%, #000 22%) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.62),
    inset 0 -2px 3px rgba(0,0,0,.14),
    0 0 26px color-mix(in srgb, var(--brand) 96%, transparent);
  opacity: .68;
  transform: scale(.86);
  animation: shell-splash-dot-wave 1.5s cubic-bezier(.4,0,.2,1) infinite;
}

.shell-splash__dots i:nth-child(2) { animation-delay: .18s; }
.shell-splash__dots i:nth-child(3) { animation-delay: .36s; }

@keyframes shell-splash-dot-wave {
  0%, 100% { opacity: .68; transform: scale(.86); filter: brightness(1.1) saturate(1.14); }
  42% { opacity: 1; transform: scale(1.24); filter: brightness(1.44) saturate(1.28); }
  68% { opacity: .84; transform: scale(1); filter: brightness(1.18) saturate(1.18); }
}

.shell-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  height: var(--shell-header-h);
  background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
  border-bottom: 1px solid var(--shell-line);
  backdrop-filter: blur(18px);
}

.shell-header__inner {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--shell-scale-3);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

/* ТРИ СЕКТОРА: слева лого, по центру дом экосистемы, справа галерея.
   Центральная колонка auto, боковые равные — «ИИ центр» стоит ровно
   посередине шапки при любой длине названия галереи. */
.shell-header__inner--trio {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: initial;
  gap: 10px;
}

.shell-header__inner--trio .shell-logo--v3 { justify-self: start; }

/* Пара кнопок стоит по центру и сдвинута вправо — механизм тот же,
   что был 20.07 в .shell-header__actions. Сдвиг больше прежнего:
   пара садится примерно на двух третях, справа остаётся воздух. */
.shell-header__pair {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transform: translateX(clamp(20px, 13vw, 190px));
}

/* Кнопки без рамок: уверенный текст со значком, приём взят с хаба.
   Дом экосистемы выделен акцентом и заметно крупнее соседей. */
.shell-header__hub,
.shell-header__gallery {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  /* Обводка волосяная и нейтральная: цвет появляется только на
     наведении, подложки нет — пара должна быть тише лого. */
  padding: 5px 10px;
  border: 1px solid var(--shell-line);
  border-radius: 9px;
  background: none;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.shell-header__hub {
  justify-self: center;
  color: var(--brand);
  font: 500 15px / 1 var(--shell-font-ui);
  letter-spacing: 0;
}

.shell-header__gallery {
  justify-self: end;
  color: color-mix(in srgb, var(--shell-ink) 78%, transparent);
  font: 500 13px / 1 var(--shell-font-ui);
}

@media (min-resolution: 2dppx) {
  .shell-header__hub,
  .shell-header__gallery { border-width: .5px; }
}

.shell-header__hub:hover,
.shell-header__gallery:hover {
  border-color: color-mix(in srgb, var(--brand) 62%, var(--shell-line));
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.shell-header__hub:hover { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.shell-header__gallery:hover { color: var(--shell-ink); }

.shell-header__ico {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell-header__hub .shell-header__ico { width: 18px; height: 18px; }

/* Тесно — у галереи остаётся значок, центр держится всегда. */
@media (max-width: 560px) {
  /* На узкой ширине воздуха справа нет — сдвиг снимаем, пара просто
     прижимается к правому краю, иначе она наедет на лого. */
  /* Колонка 2 ужата по содержимому, поэтому justify-self внутри неё
     ничего не двигает — переносим пару в правую колонку. */
  .shell-header__pair { grid-column: 3; justify-self: end; transform: none; gap: 8px; }
  .shell-header__hub { font-size: 13px; padding: 5px 8px; }
  .shell-header__gallery span { display: none; }
  .shell-header__gallery { padding: 5px 7px; }
  .shell-header__gallery .shell-header__ico { width: 19px; height: 19px; }
}

.shell-header__right {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.shell-logo {
  position: absolute;
  left: var(--shell-scale-3);
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--shell-ink);
  font: 700 22px / 1 var(--shell-font-display);
  text-decoration: none;
  letter-spacing: 0;
}

.shell-logo--v3 {
  position: static;
  left: auto;
  flex: 0 0 auto;
}

.shell-logo__accent {
  color: var(--brand);
}

.shell-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(clamp(18px, 7vw, 44px));
}

.shell-header__pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 52%, var(--shell-line));
  background: color-mix(in srgb, var(--brand) 15%, var(--brand-bg) 85%);
  color: color-mix(in srgb, var(--brand) 82%, var(--shell-ink) 18%);
  font: 700 12px / 1 var(--shell-font-ui);
  text-decoration: none;
}

.shell-header__pill-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell-header__disk-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 9px;
  border-left: 1px solid color-mix(in srgb, var(--brand) 18%, var(--shell-line));
  color: color-mix(in srgb, var(--brand) 46%, var(--shell-ink) 54%);
  font: 800 11.5px / 1 var(--shell-font-ui);
  text-decoration: none;
  white-space: nowrap;
  opacity: .78;
}

.shell-header__disk-icon {
  width: 46px;
  height: 29px;
  flex: 0 0 auto;
  display: block;
}

.shell-header__disk-body {
  fill: color-mix(in srgb, var(--brand) 16%, var(--brand-bg) 84%);
  stroke: currentColor;
  stroke-width: 1.8;
}

.shell-header__disk-cap {
  fill: color-mix(in srgb, var(--brand) 26%, var(--brand-bg) 74%);
}

.shell-header__disk-text {
  fill: color-mix(in srgb, var(--brand) 74%, var(--shell-ink) 26%);
  font: 900 11.2px / 1 var(--shell-font-ui);
  text-anchor: middle;
  letter-spacing: 0;
}

.shell-header__word-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--brand) 44%, var(--shell-line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  color: color-mix(in srgb, var(--brand) 82%, var(--shell-ink) 18%);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.shell-header__word-link:hover {
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  border-color: color-mix(in srgb, var(--brand) 58%, var(--shell-line));
  color: color-mix(in srgb, var(--brand) 86%, var(--shell-ink) 14%);
}

.shell-header__word-link:active {
  transform: translateY(1px);
}

.shell-header__word-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 70%, #ffffff 30%);
  outline-offset: 4px;
  border-radius: 8px;
}

.shell-header__word-link--hub {
  color: #eef3f8;
  border-color: rgba(238, 243, 248, .36);
  background: rgba(238, 243, 248, .055);
}

.shell-header__hub-cube {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #edf1f6;
  font: 800 11.5px / 1 var(--shell-font-ui);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.shell-header__cube-icon {
  width: 33px;
  height: 33px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(218, 226, 238, .2));
}

.shell-header__cube-top { fill: #f4f7fb; }
.shell-header__cube-left { fill: #aab4c2; }
.shell-header__cube-right { fill: #d4dbe5; }

.shell-header__cube-edge {
  fill: none;
  stroke: rgba(255,255,255,.58);
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.shell-header__cube-letter {
  fill: rgba(41, 48, 58, .82);
  font: 900 8.8px / 1 var(--shell-font-ui);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0;
}

.shell-header__cube-letter--top {
  font-size: 7.8px;
  fill: rgba(41, 48, 58, .72);
}

.shell-banner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  margin: 8px auto 0;
  padding: 0;
}

.shell-banner[hidden] {
  display: none;
}

.shell-banner__frame {
  position: relative;
  min-height: var(--shell-banner-h-mobile);
  height: var(--shell-banner-h-mobile);
  overflow: hidden;
  background: color-mix(in srgb, var(--brand-bg) 84%, var(--brand) 16%);
  border-top: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
  isolation: isolate;
}

.shell-banner__scene {
  position: absolute;
  inset: 12px 0 0 0;
  width: 100%;
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: .82;
  filter: saturate(.98) contrast(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}

.shell-banner__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--brand-bg) 0%, color-mix(in srgb, var(--brand-bg) 88%, transparent) 38%, color-mix(in srgb, var(--brand-bg) 22%, transparent) 70%, transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-bg) 10%, transparent) 0%, color-mix(in srgb, var(--brand-bg) 38%, transparent) 62%, color-mix(in srgb, var(--brand-bg) 90%, #000 10%) 100%);
}

/* ПОДЛОЖКА ПОД ТЕКСТ. Включается флагом scrim у баннера с картинкой.
   Гасит низ и левый край кадра, чтобы заголовок не спорил с предметами.
   Сама картинка не меняется — это отдельный слой поверх неё. */
.shell-banner--scrim .shell-banner__frame::after {
  background:
    linear-gradient(90deg, var(--brand-bg) 0%, color-mix(in srgb, var(--brand-bg) 88%, transparent) 38%, color-mix(in srgb, var(--brand-bg) 22%, transparent) 70%, transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-bg) 10%, transparent) 0%, color-mix(in srgb, var(--brand-bg) 38%, transparent) 62%, color-mix(in srgb, var(--brand-bg) 90%, #000 10%) 100%);
}

@media (max-width: 620px) {
  .shell-banner--scrim .shell-banner__frame::after {
    background:
      linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--brand-bg) 46%, transparent) 34%, color-mix(in srgb, var(--brand-bg) 88%, transparent) 66%, var(--brand-bg) 100%),
      linear-gradient(90deg, color-mix(in srgb, var(--brand-bg) 82%, transparent) 0%, color-mix(in srgb, var(--brand-bg) 34%, transparent) 58%, transparent 100%);
  }
}

.shell-banner__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 100%;
  width: min(74%, 470px);
  align-items: flex-start;
  padding: 0 var(--shell-scale-3) var(--shell-scale-2);
}

.shell-banner__kicker {
  color: var(--brand);
  font: 700 12px / 1 var(--shell-font-display);
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 0 16px color-mix(in srgb, var(--brand) 44%, transparent);
}

.shell-banner__title {
  color: var(--shell-ink);
  font-family: var(--shell-font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 3px 18px var(--shell-shadow);
}

.shell-banner__accent {
  color: var(--brand);
}

.shell-banner--thin .shell-banner__frame {
  min-height: 200px;
  height: 200px;
}

/* Раздел без картинки: полная высота оставляет пустое поле и уводит
   содержимое под сгиб. Держим низкую полосу — с фильтром внутри. */
.shell-banner--compact .shell-banner__frame {
  min-height: 220px;
  height: 220px;
}

/* В низкой полосе пульт прижат к заголовку плотнее обычного,
   иначе чипы не помещаются и полоса начинает расти. */
.shell-banner--compact .shell-banner__tools { margin-top: 10px; }

/* Фильтру нужна вся ширина полосы: категорий много, они прокручиваются
   вбок, и в колонке 74% половина остаётся за краем. */
.shell-banner--compact .shell-banner__copy { width: 100%; }

.shell-banner--thin .shell-banner__scene {
  display: none;
}

.shell-banner--thin .shell-banner__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 32%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-bg) 88%, var(--brand) 12%), var(--brand-bg));
}

.shell-banner--thin .shell-banner__title {
  font-size: clamp(2rem, 9vw, 3.2rem);
  text-shadow:
    0 0 28px color-mix(in srgb, var(--brand) 36%, transparent),
    0 4px 24px rgba(0, 0, 0, .5);
}

.shell-tabs {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 820;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
  border-top: 1px solid var(--shell-line);
  backdrop-filter: blur(18px);
}

.shell-tabs__inner {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(var(--shell-tab-count, 4), minmax(0, 1fr));
  gap: 4px;
}

.shell-tab {
  min-width: 0;
  min-height: 54px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: var(--shell-muted);
  font: 800 10px / 1.05 var(--shell-font-ui);
  text-decoration: none;
}

.shell-tab__icon {
  width: var(--shell-scale-1);
  height: var(--shell-scale-1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: currentColor;
}

.shell-tab__icon::before {
  content: attr(data-icon);
  font-size: 16px;
  line-height: 1;
}

.shell-tab.is-active {
  color: var(--shell-ink);
}

.shell-tab.is-active .shell-tab__icon {
  background: var(--brand);
  color: var(--object);
}

.shell-status-card {
  position: fixed;
  right: 12px;
  bottom: calc(var(--shell-tabs-h) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 760;
  display: none;
  max-width: min(320px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid var(--shell-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
  color: var(--shell-ink);
  box-shadow: 0 14px 30px var(--shell-shadow);
  font: 700 12px / 1.35 var(--shell-font-text);
}

.shell-status-card::before {
  content: var(--shell-status-word);
}

.shell-status-card.is-visible {
  display: block;
}

.shell-banner + #app > .wrap > h1:first-child,
.shell-banner + #app > .wrap > .sub:first-of-type,
.shell-banner + #app > .wrap > .title-row:first-child,
.shell-banner + #app .site-page-heading:first-child {
  display: none;
}

@media (min-width: 768px) {
  body.shell-has-tabs {
    padding-bottom: 0;
  }

  .shell-header__inner {
    padding-left: var(--shell-scale-2);
    padding-right: var(--shell-scale-2);
  }

  .shell-banner {
    padding: 0 var(--shell-scale-2);
    margin-top: var(--shell-scale-3);
  }

  .shell-banner__frame {
    height: var(--shell-banner-h-desktop);
    min-height: var(--shell-banner-h-desktop);
    border: 1px solid var(--shell-line);
    border-radius: var(--shell-scale-3);
  }

  .shell-banner__scene {
    inset: var(--shell-scale-3) var(--shell-scale-2) var(--shell-scale-3) var(--shell-scale-2);
    width: calc(100% - (var(--shell-scale-2) * 2));
    height: calc(100% - (var(--shell-scale-3) * 2));
    object-position: center center;
  }

  .shell-banner__copy {
    width: min(48%, 520px);
    padding-left: var(--shell-scale-1);
    padding-bottom: var(--shell-scale-2);
    gap: 10px;
  }

  .shell-banner__kicker {
    font-size: 12px;
  }

  .shell-banner__title {
    font-size: 54px;
    line-height: 1.06;
  }

  .shell-banner--thin .shell-banner__frame {
    height: 240px;
    min-height: 240px;
  }

  .shell-banner--compact .shell-banner__frame {
    height: 220px;
    min-height: 220px;
  }

  .shell-tabs {
    top: 0;
    bottom: auto;
    left: 50%;
    width: min(520px, 46vw);
    height: var(--shell-header-h);
    padding: 0;
    transform: translateX(-50%);
    background: transparent;
    border-top: 0;
    backdrop-filter: none;
    pointer-events: none;
  }

  .shell-tabs__inner {
    height: 100%;
    align-items: center;
    pointer-events: auto;
  }

  .shell-tab {
    min-height: 40px;
    grid-auto-flow: column;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
  }

  .shell-tab__icon {
    width: 24px;
    height: 24px;
  }

  .shell-tab__icon::before {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shell-splash,
  .shell-section,
  .shell-tab,
  .shell-header__button {
    transition: none;
  }
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/golos-01.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/golos-02.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/golos-03.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/golos-04.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/onest-05.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/onest-06.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/onest-07.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/shell/fonts/onest-08.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body[data-shell-product="smotrii"] .shell-splash__dots i {
  opacity: .82;
  background:
    radial-gradient(circle at 30% 24%, #fff 0 10%, color-mix(in srgb, var(--brand) 12%, #fff 88%) 11% 24%, color-mix(in srgb, var(--brand) 46%, #fff 54%) 45%, color-mix(in srgb, var(--brand) 92%, #fff 8%) 68%, color-mix(in srgb, var(--brand) 86%, #fff 14%) 82%, color-mix(in srgb, var(--brand) 76%, #000 24%) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.72),
    inset 0 -2px 3px rgba(0,0,0,.12),
    0 0 34px color-mix(in srgb, var(--brand) 100%, transparent);
  animation-name: shell-splash-dot-wave-smotrii;
}

@keyframes shell-splash-dot-wave-smotrii {
  0%, 100% { opacity: .82; transform: scale(.9); filter: brightness(1.16) saturate(1.18); }
  42% { opacity: 1; transform: scale(1.28); filter: brightness(1.55) saturate(1.32); }
  68% { opacity: .9; transform: scale(1.04); filter: brightness(1.26) saturate(1.22); }
}

/* ═══════════════════════════════════════════════════════════════
   ПОДСКАЗКА ПОД ЗАГОЛОВКОМ БАННЕРА
   Канон: заголовок раздела + короткая строка, что здесь делают.
   Рисуется, только если в реестре у баннера задано поле hint.
   ═══════════════════════════════════════════════════════════════ */
.shell-banner__hint {
  color: color-mix(in srgb, var(--shell-ink) 76%, transparent);
  font-family: var(--shell-font-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 12px var(--shell-shadow);
}

/* ═══════════════════════════════════════════════════════════════
   ПОДВАЛ
   Обязателен при приёме платежей. Состав берётся из реестра,
   у каждого сайта свой. Нет footer в реестре — подвала нет.
   ═══════════════════════════════════════════════════════════════ */
.shell-footer {
  margin-top: auto;
  padding: 18px var(--shell-scale-3) calc(18px + var(--shell-tabs-h) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--shell-line);
  background: color-mix(in srgb, var(--brand-bg) 96%, transparent);
}

.shell-footer__inner {
  max-width: var(--shell-max, 1180px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shell-footer__made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--shell-ink) 62%, transparent);
  font-family: var(--shell-font-text);
  font-size: 13px;
}

.shell-footer__flag {
  display: inline-flex;
  flex-direction: column;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--shell-line);
}
.shell-footer__flag i { display: block; height: 4px; }
.shell-footer__flag i:nth-child(1) { background: #ffffff; }
.shell-footer__flag i:nth-child(2) { background: #0039a6; }
.shell-footer__flag i:nth-child(3) { background: #d52b1e; }

.shell-footer__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.shell-footer__link {
  color: color-mix(in srgb, var(--shell-ink) 70%, transparent);
  font-family: var(--shell-font-text);
  font-size: 13px;
  text-decoration: none;
  transition: color .18s;
}
.shell-footer__link:hover { color: var(--brand); }

@media (max-width: 520px) {
  .shell-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Подвал сам держит отступ под нижние вкладки — у body он тогда не нужен */
body.shell-has-footer.shell-has-tabs { padding-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   НИЗ ЭКРАНА НА ТЕЛЕФОНЕ
   Клавиатура и поворот уменьшают видимую область. Переменную
   считает shell.js. По умолчанию 0 — поведение не меняется.
   ═══════════════════════════════════════════════════════════════ */
.shell-tabs { bottom: var(--shell-visual-bottom, 0px); }

/* ═══════════════════════════════════════════════════════════════
   ДОК СНИЗУ НА ВСЕХ ШИРИНАХ — действующий закон
   Меню одинаковое на любом устройстве: тот же ряд значков с
   подписями, всегда внизу и приклеен. На широком экране он не
   растянут на всю ширину, а стоит по центру ограниченной колодкой.
   Правило перебивает базовое «вкладки уезжают в шапку» — поэтому
   живёт ниже него и включается флагом dockBottom.
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .shell-dock-bottom .shell-tabs {
    top: auto;
    bottom: calc(12px + var(--shell-visual-bottom, 0px));
    left: 50%;
    right: auto;
    width: min(560px, calc(100vw - 32px));
    height: auto;
    padding: 8px 10px;
    transform: translateX(-50%);
    border: 1px solid var(--shell-line);
    border-radius: 22px;
    background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
    backdrop-filter: blur(18px);
    pointer-events: auto;
  }

  /* значок над подписью — ровно как на телефоне */
  .shell-dock-bottom .shell-tab {
    min-height: 48px;
    grid-auto-flow: row;
    justify-content: center;
    justify-items: center;
    gap: 4px;
    font-size: 11px;
  }

  .shell-dock-bottom .shell-tab__icon {
    width: 28px;
    height: 28px;
  }

  .shell-dock-bottom .shell-tab__icon::before { font-size: 15px; }

  /* контент не должен уезжать под колодку */
  .shell-dock-bottom body {
    padding-bottom: calc(var(--shell-tabs-h) + 24px);
  }

  .shell-dock-bottom .shell-footer {
    padding-bottom: calc(var(--shell-tabs-h) + 24px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   ЛЕВАЯ ВЕРТИКАЛЬНАЯ ПАНЕЛЬ РАЗДЕЛОВ — ОТМЕНЕНА
   Оставлена мёртвым кодом. Ни один сайт её не включает.
   Канон: разделы НИКОГДА не живут в шапке. Один и тот же элемент
   меняет форму под устройство — внизу на узком, слева на широком.
   Включается флагом sideNav в реестре. Кто не включил — как было.
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .shell-has-sidenav .shell-tabs {
    top: calc(var(--shell-header-h) + 16px);
    bottom: auto;
    left: 14px;
    right: auto;
    width: 56px;
    height: auto;
    min-height: 318px;
    padding: 10px 6px;
    border: 1px solid var(--shell-line);
    border-top: 1px solid var(--shell-line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--brand-bg) 90%, transparent);
    backdrop-filter: blur(18px);
    /* обязательно: базовое правило центрует вкладки в шапке сдвигом,
       без сброса панель уезжает за левый край */
    transform: none;
    pointer-events: auto;
  }

  .shell-has-sidenav .shell-tabs__inner {
    max-width: none;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--shell-tab-count, 4), 1fr);
    gap: 8px;
    align-items: center;
  }

  /* значок над подписью, а не сбоку: в колонке 56px в ряд они не помещаются */
  .shell-has-sidenav .shell-tab {
    grid-auto-flow: row;
    justify-content: center;
    justify-items: center;
    gap: 5px;
    min-height: 0;
    font-size: 10px;
  }

  .shell-has-sidenav .shell-tab__icon {
    width: 34px;
    height: 34px;
  }

  /* нижнего дока нет — отступ снизу не нужен. ТОЛЬКО для сайтов с панелью:
     у остальных док внизу остаётся, и отступ им по-прежнему нужен. */
  .shell-has-sidenav body { padding-bottom: 0; }
  .shell-has-sidenav .shell-footer {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

/* ═══════════════════════════════════════════════════════════════
   ЕДИНЫЙ ЭКРАН ВХОДА (entryV2)
   Всё под флагом: сайты без него не затрагиваются.
   ═══════════════════════════════════════════════════════════════ */

/* На титульном шапка пустая: ни лого, ни кнопок. Лого остаётся в
   разметке невидимым — это цель, куда прилетает центральное слово. */
/* Кнопки шапки видны сразу, титульное не исключение.
   Прячется только лого: это цель, куда прилетает слово с титульного. */
.shell-on-title .shell-logo { opacity: 0; pointer-events: none; }

.shell-title {
  min-height: calc(100vh - var(--shell-header-h) - var(--shell-tabs-h));
  display: grid;
  place-items: center;
  padding: 24px 16px 40px;
  text-align: center;
}
.shell-has-sidenav .shell-title { min-height: calc(100vh - var(--shell-header-h)); }

.shell-title__inner { display: grid; gap: 14px; justify-items: center; }

/* Предмет сайта над именем — тот же, что стоял на заставке.
   В шапку он НЕ едет: гаснет на месте вместе с доменом. */
.shell-title__object {
  width: min(56vw, 300px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(1.04) saturate(1.03);
  pointer-events: none;
}
.shell-collapsing .shell-title__object { opacity: 0; transition: opacity 180ms ease; }



.shell-title__logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--shell-ink);
  font-family: var(--shell-font-display);
  font-size: inherit;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}
.shell-title__logo .shell-logo__accent { color: var(--brand); }

/* ── ИМЯ НА ТИТУЛЬНОМ ────────────────────────────────────────
   Многоточия нет: пульсирующие точки читались как «сайт грузится».
   Живость даёт мягкий диагональный отблеск по слову раз в ~6.5 с.
   Рядом со словом — домен: заметно мельче и приглушённым цветом.
   В шапку уезжает ТОЛЬКО слово; домен и отблеск гаснут на месте.
   Домен и отблеск включаются посайтово (domain / titleShine). */
.shell-title__logo-row {
  display: inline-flex;
  align-items: baseline;
  gap: .05em;
  font-size: clamp(44px, 12vw, 84px);
}

.shell-title__domain {
  font-family: var(--shell-font-display);
  font-size: .3em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--shell-ink) 38%, transparent);
}

.shell-title__logo--shine::after {
  content: "";
  position: absolute;
  inset: -.06em -.05em;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 42%,
    color-mix(in srgb, #fff 34%, transparent) 47%,
    color-mix(in srgb, #fff 58%, transparent) 50%,
    color-mix(in srgb, #fff 34%, transparent) 53%,
    transparent 58%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 165% 0;
  mix-blend-mode: plus-lighter;
  animation: shell-title-shine 6.5s ease-in-out infinite;
}

@keyframes shell-title-shine {
  0%, 76% { background-position: 165% 0; }
  100%    { background-position: -65% 0; }
}

.shell-collapsing .shell-title__domain { opacity: 0; transition: opacity 180ms ease; }
.shell-collapsing .shell-title__logo--shine::after { animation: none; opacity: 0; }
.shell-collapsing .shell-title__copy,
.shell-collapsing .shell-title__hint { opacity: 0; transition: opacity 260ms ease; }

.shell-title__copy {
  color: color-mix(in srgb, var(--shell-ink) 82%, transparent);
  font-family: var(--shell-font-text);
  font-size: clamp(15px, 3.6vw, 19px);
}
.shell-title__hint {
  color: color-mix(in srgb, var(--shell-ink) 44%, transparent);
  font-family: var(--shell-font-text);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .shell-title__logo--shine::after { animation: none; opacity: 0; }
  .shell-title__logo { transition: none !important; }
}

/* ── АКТИВНЫЙ ПУНКТ МЕНЮ ── только при entryV2 ── */
.shell-entry-v2 .shell-tab__icon {
  transition: background-color .18s, color .18s, border-color .18s;
}
.shell-entry-v2 .shell-tab.is-active .shell-tab__icon {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
}
/* Активный пункт НЕ увеличивается: рост на 1px выталкивал подпись
   за рамку кнопки. Отличие даём весом и полуцветом. */
.shell-entry-v2 .shell-tab.is-active {
  color: var(--brand-soft, #fff);
  font-weight: 900;
}
.shell-entry-v2 .shell-tab:not(.is-active) {
  color: color-mix(in srgb, var(--shell-ink) 52%, transparent);
}

/* ═══════════════════════════════════════════════════════════════
   БАННЕР-ПУЛЬТ — первичный выбор внутри баннера
   Сами чипы приходят со страницы вместе со своими стилями,
   шелл даёт только место под заголовком и подсказкой.
   ═══════════════════════════════════════════════════════════════ */
.shell-banner__tools { margin-top: 16px; }
.shell-banner__tools:empty { display: none; }
.shell-hidden-by-tools { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   КОНТУРНЫЕ ЗНАЧКИ РАЗДЕЛОВ — эталон взят с хаба ИИИИИИ
   Тот же вес линии и те же скругления. Кто значок не задал,
   у того по-прежнему буква.
   ═══════════════════════════════════════════════════════════════ */
.shell-tab__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell-has-sidenav .shell-tab__icon svg { width: 21px; height: 21px; }
.shell-dock-bottom .shell-tab__icon svg { width: 21px; height: 21px; }


/* ══ РАЗДЕЛЫ В ШАПКЕ НА ПК ═══════════════════════════════════════════
   Одна строка сверху вместо двух навигаций (решение Ди от 05.08.2026:
   тянуться мышью вниз за каждым переходом неудобно). Дока на ПК нет.

   Вид — тихая типографика: чистый фон сайта, волосяная линия снизу и
   четыре слова одним кеглем. Ни подложки, ни рамок, ни теней, ни
   объёма: заход с «пультом» приёмку не прошёл, всё это снято.
   Активный светлее остальных и подчёркнут чертой цветом сайта.
   На телефоне разделы остаются в нижнем доке — там значок и подпись. */
.shell-header__nav { display: none; }

@media (min-width: 900px) {
  .shell-header__inner--trio {
    display: flex; align-items: center; gap: 14px;
    max-width: 1280px; margin: 0 auto; width: 100%;
    padding: 0 16px; box-sizing: border-box;
  }
  .shell-header__inner--trio > .shell-logo { flex: 0 0 auto; }
  .shell-header__inner--trio > .shell-header__pair { flex: 0 0 auto; margin-left: 0; }

  /* Ровные широкие промежутки — слова не должны толпиться. */
  .shell-header__nav {
    display: flex; align-items: center; gap: 34px;
    flex: 0 1 auto; justify-content: center; min-width: 0; margin: 0 auto;
  }
  .shell-header__nav-item {
    position: relative;
    padding: 6px 0;
    text-decoration: none;
    color: color-mix(in srgb, var(--shell-ink, #fff) 46%, transparent);
    font: 600 14px/1 var(--shell-font-ui, Inter), system-ui, sans-serif;
    transition: color .14s;
  }
  /* Наведение — слово просто светлеет, без движения. */
  .shell-header__nav-item:hover { color: color-mix(in srgb, var(--shell-ink, #fff) 78%, transparent); }
  /* На ПК значков у разделов нет: подписи крупные, картинка лишняя. */
  .shell-header__nav-icon { display: none; }

  /* Активный — светлее остальных и с тонкой чертой цветом сайта. */
  .shell-header__nav-item.is-active { color: var(--shell-ink, #fff); }
  .shell-header__nav-item.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    border-radius: 2px; background: var(--brand, currentColor);
  }

  /* Вторичные — тем же тихим текстом, но мельче разделов. */
  .shell-header__pair { margin-left: 0; transform: none; }
  .shell-header__hub, .shell-header__gallery {
    font-size: 12.5px; font-weight: 600;
    color: color-mix(in srgb, var(--shell-ink, #fff) 46%, transparent);
    background: none; border-color: transparent; box-shadow: none;
  }
  .shell-header__hub:hover, .shell-header__gallery:hover {
    color: color-mix(in srgb, var(--shell-ink, #fff) 78%, transparent);
  }
  .shell-header__hub .shell-header__ico, .shell-header__gallery .shell-header__ico { display: none; }

  /* Дока на ПК больше нет. */
  .shell-tabs { display: none !important; }
  body.shell-has-tabs { padding-bottom: 0 !important; }
}

/* Тесно (900–1100): промежутки уже, подписи вторичных уходят первыми. */
@media (min-width: 900px) and (max-width: 1100px) {
  .shell-header__nav { gap: 22px; }
  .shell-header__nav-item { font-size: 13.5px; }
  .shell-header__hub span, .shell-header__gallery span { display: none; }
}

/* Стрелка ухода у «ИИ центра»: тише подписи, чтобы читалась как пометка,
   а не как вторая кнопка. У своей галереи стрелки нет — она никуда не уводит. */
.shell-header__out {
  width: 13px; height: 13px; flex: none; margin-left: 1px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; opacity: .55;
}
@media (max-width: 560px) { .shell-header__out { display: none; } }


/* ══ КАРТОЧКА ШАБЛОНА: ОДНА МЕРКА НА ВСЕ САЙТЫ ═══════════════════════
   Цвет берётся от бренда, поэтому Ловии зелёная, Звучии янтарная, а
   размеры и воздух одинаковые. Действие внизу — строкой, не плашкой:
   плашка спорила за внимание с самой карточкой, по которой и надо жать. */
.shell-kartochka {
  display: flex; flex-direction: column; gap: 7px;
  min-height: 126px; padding: 13px;
  border: 1.5px solid color-mix(in srgb, var(--brand, #8a9a6a) 26%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand, #8a9a6a) 6%, transparent);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.shell-kartochka:hover {
  border-color: color-mix(in srgb, var(--brand, #8a9a6a) 46%, transparent);
  transform: translateY(-1px);
}
.shell-kartochka h2, .shell-kartochka h3, .shell-kartochka b {
  margin: 0; font-size: .94rem; line-height: 1.12; font-weight: 800;
}
.shell-kartochka p { margin: 0; font-size: .7rem; line-height: 1.35; opacity: .68; }
/* Действие: строка внизу, а не залитая кнопка во всю ширину. */
.shell-kartochka button, .shell-kartochka .shell-kartochka__deystvie {
  margin-top: auto; align-self: flex-start;
  padding: 0; border: 0; background: none;
  color: var(--brand, currentColor);
  font: 850 .66rem/1.2 Inter, system-ui, sans-serif;
  text-align: left; cursor: pointer;
}
.shell-kartochka button:hover { text-decoration: underline; }

/* Одно слово — два случая: разделы сверху на ПК, снизу на телефоне. */
.shell-tolko-pk { display: none; }
@media (min-width: 900px) {
  .shell-tolko-pk { display: inline; }
  .shell-tolko-mob { display: none; }
}


/* ══ ОДНА ПОЛОСА СОДЕРЖИМОГО ══════════════════════════════════════════
   Одна мерка на шапку, баннер и тело страницы — правится здесь, меняется
   на всех сайтах разом. Левый край имени сайта, левый край баннера и
   левый край первого блока страницы стоят на одной вертикали; справа
   так же. Раньше каждый уровень мерил по-своему и края расходились. */
:root {
  --shell-polosa: 1180px;                    /* ширина содержимого */
  --shell-polosa-pole: 16px;                 /* боковые поля полосы */
}

.shell-header__inner,
.shell-header__inner--trio,
.shell-banner,
#app {
  width: 100%;
  max-width: calc(var(--shell-polosa) + var(--shell-polosa-pole) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--shell-polosa-pole);
  padding-right: var(--shell-polosa-pole);
  box-sizing: border-box;
}

/* Страница внутри полосы своих полей и ограничителей не ставит: иначе
   её край уезжает внутрь и не совпадает с баннером. */
/* Свой фон страницы кладём по содержимому, а не по полям полосы:
   иначе его край стоит на 16 точек левее баннера и это видно. */
#app { background-clip: content-box !important; }

#app > * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}


/* ══ РАМКА БАННЕРА: ОДИН ВИД НА ВСЕ САЙТЫ ═════════════════════════════
   Скругление, толщина и тон края одни для всех разделов. Кадр занимает
   рамку целиком и обрезается по её скруглению: раньше он стоял с
   отступом и по краям оставались светлые полосы фона. По бокам кадр
   растворяется маской, снизу гаснет — резкого шва больше нет. */
.shell-banner__frame {
  border: 1px solid var(--shell-line);
  border-radius: 16px;
  overflow: hidden;
}

.shell-banner__scene {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  /* Слева кадр уходит под заголовок, справа — в край рамки: обрыва нет. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Тонкая полоса без картинки живёт своим градиентом — маску ей не даём. */
.shell-banner--thin .shell-banner__scene { display: none; }


/* ══ ДВЕ МЕРЫ И ШКАЛА ВОЗДУХА ═════════════════════════════════════════
   Внешняя мера — края (шапка, баннер, границы блоков). Внутренняя —
   содержимое: читаемая строка. Воздух задан шкалой: между блоками его
   больше, чем внутри блока. На телефоне все числа меньше на четверть. */
:root {
  --shell-vnutri: 720px;          /* читаемая строка внутри блока */
  --vozduh-banner: 40px;          /* баннер → первый блок */
  --vozduh-blok: 32px;            /* блок → блок */
  --vozduh-zagolovok: 16px;       /* заголовок → содержимое блока */
  --vozduh-ryadom: 8px;           /* соседние элементы внутри блока */
  --vozduh-niz: 64px;             /* последний блок → низ страницы */
}
@media (max-width: 899px) {
  :root {
    --vozduh-banner: 30px;
    --vozduh-blok: 24px;
    --vozduh-zagolovok: 12px;
    --vozduh-ryadom: 6px;
    --vozduh-niz: 48px;
  }
}

/* ── СОДЕРЖИМОЕ: читаемая строка ────────────────────────────────────── */
/* Читаемая строка — только для текста, который человек ЧИТАЕТ. Поля
   ввода сюда не входят: они держат ширину своего блока, иначе строка
   обрывается посреди блока и сетка рассыпается. */
#app p:not([class*="grid"]),
#app .cr3-tc-goal-hint,
#app .cr3-plan-step__podskazka,
#app .zv-podskazka,
#app .ed__hint {
  max-width: var(--shell-vnutri);
}
/* Поля, куда пишут словами, — во всю ширину блока. Числовые окошки,
   ползунки и переключатели сюда не входят: у них своя ширина, иначе
   строка счётчика «− 1 +» ломается в столбик. */
#app textarea,
#app input[type="text"],
#app input[type="search"],
#app input[type="email"],
#app input[type="tel"],
#app input[type="url"],
#app input:not([type]),
#app select,
#app .cr3-prompt,
#app .cr3-fine-input {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ── КНОПКИ: по содержимому, ряд прижат влево ───────────────────────── */
#app button:not(.shell-tab):not([class*="tab"]):not([class*="close"]) {
  width: auto;
  max-width: 100%;
  flex-grow: 0;
  justify-self: start;
  align-self: start;
}
/* Кнопка на всю ширину внутри карточки товара/шаблона — не наш случай:
   там кнопка и есть содержимое карточки. */
#app .shell-kartochka button { align-self: flex-start; }

/* ── РЯДЫ КНОПОК: по содержимому и по левому краю ───────────────────── */
#app .cr3-tc-goals,
#app .cr3-chips,
#app .cr3-modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--vozduh-ryadom);
}

/* ── ВОЗДУХ ─────────────────────────────────────────────────────────── */
.shell-banner { margin-bottom: var(--vozduh-banner); }

/* блок → блок */
#app .cr3-plan-step ~ .cr3-plan-step,
#app .cr3-step ~ .cr3-step,
#app .ed__step ~ .ed__step,
#app .ed__group ~ .ed__group,
#app > * > section + section,
#app .zv-page > section + section {
  margin-top: var(--vozduh-blok);
}
#app .ed__step,
#app .ed__group,
#app .cr3-plan-step,
#app .cr3-step { margin-bottom: 0; }

/* заголовок → содержимое */
#app .cr3-plan-step__head,
#app .ed__grouptitle {
  margin-bottom: var(--vozduh-zagolovok);
}
#app .cr3-plan-step { gap: var(--vozduh-ryadom); }

/* соседние элементы внутри блока */
#app .ed__tasks,
#app .cr3-all-models-grid,
.shell-banner__tools {
  gap: var(--vozduh-ryadom);
}

/* низ страницы */
#app { padding-bottom: var(--vozduh-niz); }
@media (min-width: 900px) {
  #app > * { padding-top: 0; padding-bottom: 0; }
}


/* ══ СЕТКА ВНУТРИ БЛОКА ═══════════════════════════════════════════════
   У всех блоков обоих сайтов одинаковые внутренние поля. Левые края
   заголовка, поля, подсказки, первой карточки и кнопки стоят на одной
   вертикали — это и читается как сетка. Раньше заголовок отбивался
   своим отступом, а содержимое — полем блока, и они расходились. */
:root { --blok-polya: 24px; }
@media (max-width: 899px) { :root { --blok-polya: 16px; } }

#app .cr3-step,
#app .zv-sozdat-karkas,
#app .ed__step,
#app .ed__group,
#app .gal-pult,
#app .scene-catalog {
  padding: var(--blok-polya);
  box-sizing: border-box;
}
/* Своя мерка полей у блока «Создать» Ловии весила больше общей — держим. */
#app .cr3-page .cr3-step.cr3-step { padding: var(--blok-polya); }
#app .cr3-model-accordion__body { padding-left: 0; padding-right: 0; }
/* Обёртка поля описания добавляла свой отступ, и поле уезжало вправо от
   заголовка. Боковых полей у неё нет: рамка поля и есть его край. */
#app .cr3-prompt-helper { padding-left: 0; padding-right: 0; }

/* Вложенный шаг своих боковых полей не ставит — иначе поля удваиваются. */
#app .cr3-step .cr3-plan-step,
#app .zv-sozdat-karkas .cr3-plan-step,
#app .ed__step .ed__group {
  padding-left: 0;
  padding-right: 0;
}
/* Заголовок блока стоит ровно там же, где содержимое. */
#app .cr3-plan-step__head,
#app .ed__grouptitle {
  padding-left: 0;
  margin-left: 0;
}

/* ══ ДВЕ РАВНЫЕ КОЛОНКИ ═══════════════════════════════════════════════
   Карточки и варианты выбора идут двумя одинаковыми колонками с одним
   жёлобом. Разной ширины в одном ряду быть не должно. */
#app .cr3-all-models-grid,
#app .cr3-modeli-kanon,
#app .ed__tasks,
#app .scene-grid,
#app .zv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;                       /* жёлоб один на любой ширине */
  align-items: stretch;
}
/* Карточка занимает свою клетку целиком: разной ширины в одном ряду быть
   не должно. Правило «кнопка по содержимому» на карточки не действует —
   они кнопки лишь по разметке. */
#app .cr3-all-models-grid > *,
#app .cr3-modeli-kanon > *,
#app .ed__tasks > *,
#app .scene-grid > *,
#app .zv-grid > * {
  width: 100% !important;        /* перебивает «кнопка по содержимому» */
  max-width: 100%;
  justify-self: stretch !important;
  align-self: stretch;
  flex-grow: 0;
  box-sizing: border-box;
}
/* Свой жёлоб у сетки моделей Ловии весил больше общего — держим один. */
#app .cr3-all-models-grid.cr3-all-models-grid,
#app .cr3-modeli-kanon.cr3-modeli-kanon { gap: 8px; }
@media (max-width: 899px) {
  #app .cr3-all-models-grid,
  #app .cr3-modeli-kanon,
  #app .ed__tasks,
  #app .scene-grid,
  #app .zv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
