/* Студия метода: карма, циферблат, соседние астро-лендинги */
.ms-art {
  margin: 0 0 8px;
  color: #1c2433;
}
/* В тёмном герое тёмный текст не читается: светлая карточка на всю ширину */
.mv-hero .ms-art {
  grid-column: 1 / -1;
  background: #fffdf8;
  color: #1c2433;
  padding: 18px 18px 16px;
  border-radius: 18px;
  margin-top: 10px;
  box-shadow: 0 12px 32px rgba(8, 6, 20, 0.22);
}
.ms-art__kicker,
.ms-art__block-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #1c2433;
}
.ms-art__pane-kicker {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #5b3a12;
}
.ms-art__lead {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1c2433;
}
.ms-art__funnel {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
@media (min-width: 800px) {
  .ms-art__funnel { grid-template-columns: repeat(3, 1fr); }
}
.ms-art__funnel li {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(180, 83, 9, 0.16);
  background: #fffdf8;
}
.ms-art__funnel li.is-current { border-color: #b45309; }
.ms-art__funnel li.is-done { border-color: #17915c; }
.ms-art__funnel li > span {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ece8f8;
  font-weight: 800;
  font-size: 0.85rem;
}
.ms-art__funnel li.is-current > span { background: #b45309; color: #fff; }
.ms-art__funnel li.is-done > span { background: #17915c; color: #fff; }
.ms-art__funnel b { display: block; font-size: 0.95rem; color: #1c2433; }
.ms-art__funnel p { margin: 4px 0 0; font-size: 0.92rem; color: #2a3140; line-height: 1.5; }
.ms-art__board {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid rgba(28, 36, 51, 0.08);
}
@media (min-width: 880px) {
  .ms-art__board { grid-template-columns: minmax(240px, 0.95fr) 1.05fr; align-items: start; }
}
.ms-art__svg { width: 100%; height: auto; color: #1c2433; display: block; }
.ms-art__hotspots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.ms-art__hot {
  border: 1px solid rgba(67, 56, 202, 0.22);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  color: #1c2433;
}
.ms-art__hot.is-on {
  background: #1c2433;
  color: #fff;
  border-color: #1c2433;
}
.ms-art__pane { display: none; }
.ms-art__pane.is-on { display: block; }
.ms-art__verdict {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1c2433;
}
.ms-art__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.ms-art__note,
.ms-art__pay-note {
  margin: 0;
  font-size: 0.95rem;
  color: #2a3140;
  line-height: 1.55;
}
.ms-art--how {
  display: grid;
  gap: 18px;
}
@media (min-width: 800px) {
  .ms-art--how { grid-template-columns: 1fr 1fr; }
}
.ms-art--how ol,
.ms-art--how ul { margin: 0; padding: 0; list-style: none; }
.ms-art--how li {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
}
.ms-art--how li > span {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ece8f8;
  font-weight: 800;
}
.ms-art--how b { display: block; }
.ms-art--how p { margin: 4px 0 0; color: #2a3140; font-size: 0.98rem; line-height: 1.55; }
.ms-art--how li { color: #1c2433; }

.ms-art--essay {
  background: #fffdf8;
  color: #1c2433;
  padding: 22px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 36, 51, 0.08);
  width: 100%;
  max-width: none;
}
.ms-art--essay .ms-art__essay-intro,
.ms-art--essay p {
  max-width: 62rem;
}
.ms-art--essay .ms-art__essay-kicker {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1c2433;
}
/* На /servis/<ключ> подпись эссе поднята до h2 раздела, а части эссе спущены на h3
   (SeoServiceRich::nestEssayHeadings). Вид не меняется: гасим общие правила для h1-h4
   из ui-6.css (шрифт заголовков, letter-spacing, text-wrap) и повторяем размеры h2 для h3. */
.ms-art--essay h2.ms-art__essay-kicker {
  font-family: inherit;
  letter-spacing: normal;
  text-wrap: wrap;
  line-height: 1.7;
  max-width: 62rem;
}
.ms-art--essay h2,
.ms-art--essay h3 {
  margin: 22px 0 10px;
  font-size: 1.22rem;
  line-height: 1.3;
  color: #1c2433;
}
.ms-art--essay p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1c2433;
}


.rl-art__board { align-items: stretch; }
.rl-art__visual { min-width: 0; }
.rl-art__svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #0b1020;
}
.rl-orbit { opacity: .22; pointer-events: none; }
.rl-orbit.is-on { opacity: 1; pointer-events: auto; }
.rl-orbit .rl-traveler { display: none; }
.rl-orbit.is-on .rl-traveler { display: block; }
.rl-path {
  fill: none;
  stroke-dasharray: 8 7;
  animation: rl-dash 18s linear infinite;
}
.rl-station { cursor: pointer; }
.rl-station.is-on circle { fill: #fde68a; stroke: #fde68a; }
.rl-station.is-on text { fill: #0b1020; }
.rl-star { animation: rl-twinkle 3.6s ease-in-out infinite; }
.rl-star:nth-child(odd) { animation-delay: .8s; }
.rl-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #4338ca;
}
.rl-art__stations {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rl-art__stations button {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(67, 56, 202, .18);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.rl-art__stations button.is-on {
  border-color: #4338ca;
  background: #eef2ff;
}
.rl-art__stations b { display: block; font-size: .92rem; }
.rl-art__stations span { display: block; margin-top: 3px; font-size: .84rem; color: #475569; line-height: 1.4; }
@keyframes rl-dash { to { stroke-dashoffset: -240; } }
@keyframes rl-twinkle {
  0%, 100% { opacity: .35; }
  50% { opacity: .95; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-path, .rl-star { animation: none; }
}


.fd-art__visual { min-width: 0; }
.fd-art__svg {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 18px;
  background: #140c08;
}
.fd-art__svg.is-on { display: block; }
.fd-slice { transition: fill-opacity .2s, filter .2s; }
.fd-slice.is-on { fill-opacity: 1; filter: brightness(1.12) drop-shadow(0 0 8px rgba(253, 230, 138, .45)); }
.fd-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #b45309;
}
.fd-art__sects { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }


.hg-art__visual { min-width: 0; }
.hg-art__svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #07140f;
}
.hg-art.is-night .hg-art__svg { background: #07101c; }
.hg-orb { cursor: pointer; }
.hg-orb.is-on circle:last-of-type { stroke: #fde68a; stroke-width: 3; }
.hg-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #047857;
}
.hg-art__sects { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.hg-art__alch {
  margin: 10px 0 0;
  font-size: .88rem;
  color: #334155;
  line-height: 1.45;
}

/* BG5: стол команды */
.bg-art__visual { min-width: 0; }
.bg-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 10px 12px;
  align-items: stretch;
}
.bg-seat {
  appearance: none;
  border: 1px solid rgba(180, 83, 9, 0.22);
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  color: #1c2433;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.bg-seat b { display: block; font-size: .95rem; }
.bg-seat span { display: block; margin-top: 2px; font-size: .8rem; color: #5b6475; overflow-wrap: anywhere; }
.bg-seat.is-on {
  border-color: #b45309;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .14);
}
.bg-seat--n { grid-column: 2; grid-row: 1; }
.bg-seat--w { grid-column: 1; grid-row: 2; }
.bg-seat--e { grid-column: 3; grid-row: 2; }
.bg-seat--sw { grid-column: 1; grid-row: 3; }
.bg-seat--se { grid-column: 3; grid-row: 3; }
.bg-desk {
  grid-column: 2;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px 12px;
  border-radius: 50% / 28%;
  background: linear-gradient(180deg, #f8f1e3, #e8d7b8);
  border: 2px solid #c4a574;
  text-align: center;
  color: #3f2a12;
}
.bg-desk__title { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.bg-desk__now { margin: 6px 0 0; font-size: 1.02rem; font-weight: 800; }
.bg-art__cap {
  margin: 10px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #b45309;
}
.bg-art__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.bg-chip {
  appearance: none;
  border: 1px solid rgba(92, 59, 232, .22);
  background: #f7f4ff;
  color: #2d2158;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.bg-chip.is-on {
  background: #5c3be8;
  border-color: #5c3be8;
  color: #fff;
}
.bg-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3fbf7;
  border: 1px solid #cde8d9;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
@media (max-width: 720px) {
  .bg-room {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .bg-desk { grid-column: 1 / -1; grid-row: 1; border-radius: 22px; min-height: 72px; }
  .bg-seat--n { grid-column: 1 / -1; grid-row: 2; }
  .bg-seat--w { grid-column: 1; grid-row: 3; }
  .bg-seat--e { grid-column: 2; grid-row: 3; }
  .bg-seat--sw { grid-column: 1; grid-row: 4; }
  .bg-seat--se { grid-column: 2; grid-row: 4; }
}

/* Семейная пента: дом на 3–5 мест */
.fp-art .ms-art__board,
.fp-art__board {
  grid-template-columns: 1fr;
  min-width: 0;
}
.fp-art__visual,
.fp-art__panel {
  min-width: 0;
}
.fp-art__panel {
  min-height: 12.5rem;
}
.fp-size {
  display: flex;
  gap: 8px;
  margin: 0 0 4px;
}
.fp-size__btn {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(180, 83, 9, .22);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #1c2433;
}
.fp-size__btn.is-on {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}
.fp-size__hint {
  margin: 0 0 12px;
  font-size: .82rem;
  color: #5b6475;
}
.fp-house {
  position: relative;
  width: 100%;
}
.fp-floor {
  display: none;
  width: 100%;
  height: auto;
}
.fp-seats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.fp-seat {
  appearance: none;
  border: 1px solid rgba(180, 83, 9, .22);
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  color: #1c2433;
  min-width: 0;
}
.fp-seat b,
.fp-theme b {
  display: block;
  font-size: .88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.fp-seat span,
.fp-theme span {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  color: #5b6475;
  overflow-wrap: anywhere;
}
.fp-seat.is-empty {
  border-style: dashed;
  background: #f7f5f0;
  color: #8a8175;
}
.fp-seat.is-empty span { color: #8a8175; }
.fp-seat.is-picked,
.fp-theme.is-picked {
  box-shadow: 0 0 0 3px rgba(180, 83, 9, .16);
  border-color: #b45309;
}
.fp-core {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.fp-theme {
  appearance: none;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #1c2433;
  min-width: 0;
}
.fp-theme.is-closed {
  background: #ecf8f1;
  border: 1px solid #9fd0b4;
}
.fp-theme.is-hole {
  background: #fff7ed;
  border: 1px dashed #d97706;
}
.fp-theme.is-partial {
  background: #eef2ff;
  border: 1px solid #a5b4fc;
}
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0;
  font-size: .78rem;
  color: #5b6475;
}
.fp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fp-legend__closed::before,
.fp-legend__hole::before,
.fp-legend__partial::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.fp-legend__closed::before { background: #9fd0b4; }
.fp-legend__hole::before { background: #fff7ed; border: 1px dashed #d97706; }
.fp-legend__partial::before { background: #c7d2fe; }
.fp-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #b45309;
}
.fp-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3fbf7;
  border: 1px solid #cde8d9;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
@media (min-width: 640px) {
  .fp-house {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1;
  }
  .fp-floor { display: block; }
  .fp-seats { display: contents; }
  .fp-seat {
    position: absolute;
    width: 86px;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .fp-seat--0 { left: 50%; top: 7%; }
  .fp-seat--1 { left: 93%; top: 39%; }
  .fp-seat--2 { left: 76%; top: 93%; }
  .fp-seat--3 { left: 24%; top: 93%; }
  .fp-seat--4 { left: 7%; top: 39%; }
  .fp-core {
    position: absolute;
    inset: 29% 24% 26%;
    margin: 0;
    z-index: 2;
    align-content: center;
  }
  .fp-theme { padding: 6px 8px; }
  .fp-theme b { font-size: .78rem; }
  .fp-theme span { font-size: .68rem; }
}
@media (min-width: 960px) {
  .fp-art .ms-art__board,
  .fp-art__board {
    grid-template-columns: minmax(280px, 1.05fr) minmax(240px, .95fr);
    align-items: start;
  }
}

/* Бизнес-пента: стол команды */
.bp-art .ms-art__board,
.bp-art__board {
  grid-template-columns: 1fr;
  min-width: 0;
}
.bp-art__visual,
.bp-art__panel { min-width: 0; }
.bp-art__panel { min-height: 12.5rem; }
.bp-size {
  display: flex;
  gap: 8px;
  margin: 0 0 4px;
}
.bp-size__btn {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(67, 56, 202, .22);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #1c2433;
}
.bp-size__btn.is-on {
  background: #4338ca;
  border-color: #4338ca;
  color: #fff;
}
.bp-size__hint {
  margin: 0 0 12px;
  font-size: .82rem;
  color: #5b6475;
}
.bp-room { position: relative; width: 100%; }
.bp-table {
  display: none;
  width: 100%;
  height: auto;
}
.bp-seats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.bp-seat {
  appearance: none;
  border: 1px solid rgba(67, 56, 202, .22);
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  color: #1c2433;
  min-width: 0;
}
.bp-seat b,
.bp-theme b {
  display: block;
  font-size: .88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.bp-seat span,
.bp-theme span {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  color: #5b6475;
  overflow-wrap: anywhere;
}
.bp-seat.is-empty {
  border-style: dashed;
  background: #f1f5f9;
  color: #8a93a3;
}
.bp-seat.is-empty span { color: #8a93a3; }
.bp-seat.is-picked,
.bp-theme.is-picked {
  box-shadow: 0 0 0 3px rgba(67, 56, 202, .16);
  border-color: #4338ca;
}
.bp-core {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.bp-theme {
  appearance: none;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #1c2433;
  min-width: 0;
}
.bp-theme.is-closed {
  background: #ecf8f1;
  border: 1px solid #9fd0b4;
}
.bp-theme.is-hole {
  background: #fff7ed;
  border: 1px dashed #d97706;
}
.bp-theme.is-partial {
  background: #eef2ff;
  border: 1px solid #a5b4fc;
}
.bp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0;
  font-size: .78rem;
  color: #5b6475;
}
.bp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bp-legend__closed::before,
.bp-legend__hole::before,
.bp-legend__partial::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.bp-legend__closed::before { background: #9fd0b4; }
.bp-legend__hole::before { background: #fff7ed; border: 1px dashed #d97706; }
.bp-legend__partial::before { background: #c7d2fe; }
.bp-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #4338ca;
}
.bp-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
@media (min-width: 640px) {
  .bp-room {
    max-width: 400px;
    margin: 0 auto;
    min-height: 240px;
  }
  .bp-table { display: block; }
  .bp-seats { display: contents; }
  .bp-seat {
    position: absolute;
    width: 88px;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .bp-seat--0 { left: 50%; top: 8%; }
  .bp-seat--1 { left: 94%; top: 42%; }
  .bp-seat--2 { left: 78%; top: 92%; }
  .bp-seat--3 { left: 22%; top: 92%; }
  .bp-seat--4 { left: 6%; top: 42%; }
  .bp-core { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .bp-art .ms-art__board,
  .bp-art__board {
    grid-template-columns: minmax(280px, 1.05fr) minmax(240px, .95fr);
    align-items: start;
  }
}

/* Страхи HD: бодиграф с дырами */
.hf-art .ms-art__board,
.hf-art__board {
  grid-template-columns: 1fr;
  min-width: 0;
}
.hf-art__visual,
.hf-art__panel { min-width: 0; }
.hf-art__panel { min-height: 12.5rem; }
.hf-graph { position: relative; width: 100%; }
.hf-body {
  display: none;
  width: 100%;
  height: auto;
  max-width: 320px;
  margin: 0 auto;
}
.hf-hots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hf-hot,
.hf-gate {
  appearance: none;
  border-radius: 14px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #1c2433;
  min-width: 0;
  background: #fff7ed;
  border: 1px dashed #c2410c;
}
.hf-hot b { display: block; font-size: .9rem; }
.hf-hot span { display: block; margin-top: 2px; font-size: .75rem; color: #9a3412; overflow-wrap: anywhere; }
.hf-hot.is-on,
.hf-gate.is-on {
  background: #c2410c;
  border-style: solid;
  border-color: #c2410c;
  color: #fff7ed;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, .16);
}
.hf-hot.is-on span { color: #fed7aa; }
.hf-gates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}
.hf-gate {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .84rem;
  font-weight: 700;
}
.hf-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0;
  font-size: .78rem;
  color: #5b6475;
}
.hf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hf-legend__open::before,
.hf-legend__def::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.hf-legend__open::before { background: #fff7ed; border: 1px dashed #c2410c; }
.hf-legend__def::before { background: #e2e8f0; }
.hf-art__cap {
  margin: 8px 0 0;
  font-size: .86rem;
  font-weight: 700;
  color: #c2410c;
}
.hf-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
.hf-node--open.is-on {
  fill: #fdba74;
  stroke: #9a3412;
}
@keyframes hf-pulse {
  0%, 100% { stroke-opacity: 1; }
  50% { stroke-opacity: .45; }
}
.hf-node--open { animation: hf-pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hf-node--open { animation: none; }
}
@media (min-width: 640px) {
  .hf-graph {
    max-width: 320px;
    margin: 0 auto;
    min-height: 340px;
  }
  .hf-body { display: block; }
  .hf-hots { display: contents; }
  .hf-hot {
    position: absolute;
    width: 78px;
    padding: 6px 8px;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(28, 36, 51, .1);
  }
  .hf-hot b { font-size: .82rem; }
  .hf-hot span { font-size: .7rem; }
  /* Координаты - точный центр тяжести фигуры центра в SVG viewBox 220x320 */
  .hf-hot--head { left: 50%; top: 8%; transform: translate(-50%, -130%); }
  .hf-hot--ego { left: 74%; top: 47%; transform: translate(-6%, -50%); }
  .hf-hot--spleen { left: 21%; top: 64%; transform: translate(-94%, -50%); }
  .hf-hot--root { left: 50%; top: 83%; transform: translate(-50%, 40%); }
}
@media (min-width: 960px) {
  .hf-art .ms-art__board,
  .hf-art__board {
    grid-template-columns: minmax(260px, 1fr) minmax(240px, .95fr);
    align-items: start;
  }
}


.mv-hero .ms-art__funnel { display: none !important; }
.kp-art .ms-art__kicker { margin-bottom: 6px; }
.kp-art .ms-art__lead { margin-bottom: 10px; max-width: none; }
.kp-art .ms-art__board,
.kp-art__board {
  grid-template-columns: 1fr !important;
  gap: 12px;
  padding: 12px;
  align-items: start;
}
.kp-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  justify-content: flex-start;
  grid-column: 1 / -1;
}
.kp-job {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  font: inherit;
  cursor: pointer;
  min-width: 5.4rem;
}
.kp-job span { font-size: .72rem; color: #6b6258; overflow-wrap: anywhere; }
.kp-job b { font-size: .92rem; }
.kp-job.is-on {
  border-color: #b45309;
  background: #fff7ed;
  color: #7c2d12;
}
.kp-art__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.kp-axis {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto;
  color: #1c2433;
}
.kp-h12 {
  fill: rgba(124, 58, 237, .12);
  stroke: none;
  pointer-events: none;
  transition: fill .2s ease;
}
.kp-art[data-kp-spot="h12"] .kp-h12 {
  fill: rgba(124, 58, 237, .36);
}
.kp-lab {
  font-size: 11px;
  font-weight: 800;
  fill: #6b6258;
  letter-spacing: .04em;
}
.kp-hit { cursor: pointer; }
.kp-hit__dot {
  transition: filter .15s ease, transform .15s ease;
}
.kp-hit__dot--nn { fill: #b45309; }
.kp-hit__dot--sn { fill: #44403c; }
.kp-hit__dot--rx { fill: #4338ca; }
.kp-hit__dot--h12 { fill: #7c3aed; }
.kp-hit.is-on .kp-hit__dot {
  filter: drop-shadow(0 0 10px rgba(180, 83, 9, .55));
}
.kp-art[data-kp-spot="rx"] .kp-hit.is-on .kp-hit__dot {
  filter: drop-shadow(0 0 10px rgba(67, 56, 202, .55));
}
.kp-art[data-kp-spot="h12"] .kp-hit.is-on .kp-hit__dot {
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, .55));
}
.kp-hit:focus { outline: none; }
.kp-hit:focus-visible .kp-hit__dot { stroke: #1c2433; stroke-width: 2; }
.kp-art__panel {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #ead7c0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kp-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
.mv-hero--mini:has(.kp-art) .mv-hero-desc--short { margin-bottom: 6px; }
@media (min-width: 800px) {
  .kp-art .ms-art__board,
  .kp-art__board {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
    align-items: stretch;
  }
  .kp-jobs { grid-column: 1 / -1; }
  .kp-axis { width: 100%; max-width: 320px; }
}

.dc-art .ms-art__lead { margin-bottom: 10px; max-width: none; }
.dc-art .ms-art__board,
.dc-art__board {
  grid-template-columns: 1fr !important;
  gap: 12px;
  padding: 14px;
}
.dc-art__visual { min-width: 0; }
.dc-art__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 10px;
}
.dc-art__finals,
.dc-art__loop {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
  color: #3f3a32;
}
.dc-art__finals b,
.dc-art__loop b { color: #7c2d12; }
.dc-art__planets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}
.dc-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  font: 700 13px/1.2 inherit;
  cursor: pointer;
}
.dc-dot__g { font-size: 1.05rem; }
.dc-dot.is-on {
  border-color: #b45309;
  background: #fff7ed;
  color: #7c2d12;
}
.dc-path {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eadfcf;
}
.dc-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f1e8;
  min-width: 4.5rem;
}
.dc-chip b { font-size: .92rem; color: #1c2433; }
.dc-chip span { font-size: .72rem; color: #6b6258; }
.dc-chip.is-final { background: #fff1d6; box-shadow: inset 0 0 0 1px #b45309; }
.dc-chip.is-loop { background: #eee7fb; box-shadow: inset 0 0 0 1px #7c3aed; }
.dc-arrow { color: #b45309; font-weight: 800; padding: 0 2px; }
.dc-art__panel {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #ead7c0;
}
.dc-art__panel .ms-art__pane { margin: 0; }
.mv-hero--mini:has(.dc-art) {
  padding-bottom: clamp(18px, 3vw, 28px);
}

.ki-art .ms-art__lead { margin-bottom: 12px; max-width: none; }
.ki-art .ms-art__board,
.ki-art__board {
  grid-template-columns: 1fr !important;
  gap: 14px;
  padding: 14px;
}
.ki-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  justify-content: center;
}
.ki-layer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  font: inherit;
  cursor: pointer;
  min-width: 5.5rem;
}
.ki-layer span { font-size: .72rem; color: #6b6258; }
.ki-layer b { font-size: .92rem; }
.ki-layer.is-on {
  border-color: #6d28d9;
  background: #f5f0ff;
  color: #4c1d95;
}
.ki-compass {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  grid-template-rows: 20px minmax(0, 1fr) 20px;
  gap: 6px;
  width: min(280px, 100%);
  margin: 0 auto;
}
.ki-c {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7c6b58;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ki-c--s { grid-column: 2; grid-row: 1; }
.ki-c--e { grid-column: 1; grid-row: 2; writing-mode: vertical-rl; transform: rotate(180deg); }
.ki-c--w { grid-column: 3; grid-row: 2; writing-mode: vertical-rl; }
.ki-c--n { grid-column: 2; grid-row: 3; }
.ki-square {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 1;
}
.ki-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 6px 4px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  position: relative;
  min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.ki-cell b { font-size: 1.25rem; line-height: 1; }
.ki-cell span { font-size: .68rem; opacity: .92; }
.ki-cell i {
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: .58rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .9;
}
.ki-cell.is-on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(109,40,217,.45); }
.ki-cell--1 { background: #2f5f8a; }
.ki-cell--2 { background: #3d3228; }
.ki-cell--3 { background: #2f6b45; }
.ki-cell--4 { background: #3f8a58; }
.ki-cell--5 { background: #c4a035; color: #1c2433; }
.ki-cell--6 { background: #5b6570; }
.ki-cell--7 { background: #b45309; }
.ki-cell--8 { background: #6b6258; }
.ki-cell--9 { background: #6d28d9; }
.ki-art__panel {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f5f0ff;
  border: 1px solid #ddd6fe;
}
.ki-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
@media (min-width: 800px) {
  .ki-art .ms-art__board,
  .ki-art__board {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
    align-items: start;
  }
  .ki-layers { justify-content: flex-start; }
}

.qm-art .ms-art__lead { margin-bottom: 12px; max-width: none; }
.qm-art .ms-art__board,
.qm-art__board {
  grid-template-columns: 1fr !important;
  gap: 14px;
  padding: 14px;
}
.qm-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  justify-content: center;
}
.qm-job {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  font: inherit;
  cursor: pointer;
  min-width: 5.8rem;
}
.qm-job span { font-size: .72rem; color: #6b6258; overflow-wrap: anywhere; }
.qm-job b { font-size: .92rem; }
.qm-job.is-on {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #115e59;
}
.qm-compass {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  grid-template-rows: 20px minmax(0, 1fr) 20px;
  gap: 6px;
  width: min(280px, 100%);
  margin: 0 auto;
}
.qm-c {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7c6b58;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qm-c--s { grid-column: 2; grid-row: 1; }
.qm-c--e { grid-column: 1; grid-row: 2; writing-mode: vertical-rl; transform: rotate(180deg); }
.qm-c--w { grid-column: 3; grid-row: 2; writing-mode: vertical-rl; }
.qm-c--n { grid-column: 2; grid-row: 3; }
.qm-square {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 1;
}
.qm-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 6px 4px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.qm-cell b { font-size: 1.2rem; line-height: 1; }
.qm-cell span { font-size: .62rem; opacity: .92; }
.qm-cell.is-on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(15,118,110,.4); }
.qm-cell--good { background: #0f766e; }
.qm-cell--calm { background: #3b6ea5; }
.qm-cell--warn { background: #b45309; }
.qm-cell--bad { background: #9a3412; }
.qm-cell--stop { background: #7f1d1d; }
.qm-cell--mid { background: #a8a29e; color: #1c2433; }
.qm-art__panel {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.qm-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
@media (min-width: 800px) {
  .qm-art .ms-art__board,
  .qm-art__board {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
    align-items: start;
  }
  .qm-jobs { justify-content: flex-start; }
}

.ma-art .ms-art__lead { margin-bottom: 10px; max-width: none; }
.ma-art .ms-art__board,
.ma-art__board {
  grid-template-columns: 1fr !important;
  gap: 12px;
  padding: 12px;
}
.ma-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  justify-content: flex-start;
  grid-column: 1 / -1;
}
.ma-job {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  font: inherit;
  cursor: pointer;
  min-width: 6rem;
}
.ma-job span { font-size: .72rem; color: #6b6258; overflow-wrap: anywhere; }
.ma-job b { font-size: .92rem; }
.ma-job.is-on {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #115e59;
}
.ma-art__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.ma-art__svg {
  width: min(280px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}
.ma-lab {
  font-size: 11px;
  font-weight: 700;
  fill: #6b6258;
}
.ma-zone {
  fill: rgba(15, 118, 110, .18);
  stroke: #0f766e;
  stroke-width: 1.4;
  cursor: pointer;
}
.ma-zone.is-on {
  fill: rgba(15, 118, 110, .52);
  stroke: #115e59;
  stroke-width: 2.2;
}
.ma-art__panel {
  padding: 16px 18px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ma-art__rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: .92rem;
  line-height: 1.5;
  color: #1c2433;
}
.mv-hero--mini:has(.ma-art) {
  padding-bottom: clamp(16px, 2.5vw, 24px);
}
.mv-hero--mini:has(.ma-art) .mv-hero-desc--short {
  margin-bottom: 6px;
}
@media (min-width: 800px) {
  .ma-art .ms-art__board,
  .ma-art__board {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
    align-items: stretch;
  }
  .ma-jobs { grid-column: 1 / -1; }
  .ma-art__svg { width: 100%; max-width: 300px; margin: 0 auto; }
}


/* ---- al-art: арабские лоты, клик по лоту (Фортуна/Дух/Эрос) ---- */
.al-art .ms-art__lead { margin-bottom: 10px; max-width: none; }
.al-art .ms-art__board,
.al-art__board {
  grid-template-columns: 1fr !important;
  gap: 12px;
  padding: 14px;
}
.al-art__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}
.al-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid #e8dcc8;
  background: #fff;
  color: #1c2433;
  cursor: pointer;
  font: inherit;
}
.al-tab span { font-size: .72rem; font-weight: 700; color: #6b6258; }
.al-tab b { font-size: .92rem; }
.al-tab.is-on {
  border-color: #9a4a6a;
  background: #fdf2f6;
  color: #7c2d12;
}
.al-art__panel {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fdf2f6;
  border: 1px solid #ecd6de;
}
.al-art__panel .ms-art__pane { margin: 0; }
.al-art__formula {
  margin: 4px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  font-size: .88rem;
  color: #1c2433;
}
.al-art__hint,
.al-art__practice {
  margin: 4px 0 0;
  font-size: .88rem;
  color: #3f3a32;
  line-height: 1.45;
}
.mv-hero--mini:has(.al-art) {
  padding-bottom: clamp(18px, 3vw, 28px);
}


/* Обвязка блоков сервиса на канонической /servis/<ключ>.
   Раньше эти отступы приходили инлайном из SeoServiceRich::styles(); теперь
   разметку собирает includes/seo_service_studio.php, а рамку раздела держит
   шаблон, поэтому правила живут здесь. Внутренние h2 разбора метода шаблон
   опускает до h3 ради иерархии h2/h3 - им нужен вид подзаголовка. */
.svc-demo { margin: 26px 0 8px; }
.svc-method { margin: 30px 0 8px; }
.svc-method > .svc-method__h2 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.3;
  color: #241c4d;
  font-family: inherit;
  letter-spacing: normal;
  text-wrap: wrap;
}
.svc-method h3:not([class]) {
  margin: 22px 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
  color: #1c2433;
}
