.yg-plan-v2{width:100%;max-width:100%;min-width:0;position:relative;isolation:isolate;line-height:1.3;color:#f8fcf9}
.yg-plan-v2 [hidden]{display:none!important}
:where(.yg-plan-v2) .yg-plan-v2__canvas{position:relative;width:100%;max-width:100%;overflow:hidden;isolation:isolate;background:transparent;touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;aspect-ratio:var(--yg-mobile)}
:where(.yg-plan-v2) .yg-plan-v2__picture,:where(.yg-plan-v2) .yg-plan-v2__picture img,:where(.yg-plan-v2) .yg-plan-v2__shapes,:where(.yg-plan-v2) .yg-plan-v2__pins{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0}
:where(.yg-plan-v2) .yg-plan-v2__picture,:where(.yg-plan-v2) .yg-plan-v2__picture img{object-fit:fill;pointer-events:none}
:where(.yg-plan-v2) .yg-plan-v2__shapes,:where(.yg-plan-v2) .yg-plan-v2__pins{pointer-events:none}
:where(.yg-plan-v2) .yg-plan-v2__shapes--desktop,:where(.yg-plan-v2) .yg-plan-v2__pins--desktop{display:none}
:where(.yg-plan-v2) .yg-plan-v2__shapes path{fill:transparent;stroke:var(--yg-fill,#b5e637);stroke-opacity:.72;stroke-width:2px;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:fill;cursor:pointer;transition:none}
:where(.yg-plan-v2) .yg-plan-v2__shapes path.is-hot,:where(.yg-plan-v2) .yg-plan-v2__shapes path.is-selected{fill:var(--yg-fill,#b5e637);fill-opacity:var(--yg-opacity,.56);stroke-opacity:1}

:where(.yg-plan-v2) .yg-plan-v2__pin{appearance:none;position:absolute;display:block;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border:0;background:none;box-shadow:none;min-height:0;min-width:0;max-width:none;padding:0;margin:0;pointer-events:auto;cursor:pointer;line-height:0;touch-action:pan-y pinch-zoom;transform-origin:50% 85%;-webkit-tap-highlight-color:transparent}
:where(.yg-plan-v2) .yg-plan-v2__icon{display:block;width:100%;height:100%;margin:0;padding:0;background-position:50% 50%;background-size:contain;background-repeat:no-repeat;pointer-events:none}
:where(.yg-plan-v2) .yg-plan-v2__pin.is-hot,:where(.yg-plan-v2) .yg-plan-v2__pin.is-selected{filter:brightness(1.1) drop-shadow(0 2px 3px #04141780);z-index:1}
:where(.yg-plan-v2) .yg-plan-v2__pin:focus-visible,:where(.yg-plan-v2) .yg-plan-v2__close:focus-visible{outline:2px solid #fff;outline-offset:2px}
:where(.yg-plan-v2) .yg-plan-v2__tooltip{box-sizing:border-box;position:absolute;width:max-content;max-width:min(280px,calc(100% - 16px));padding:12px 35px 12px 14px;margin:0;z-index:4;background:#f4fbf7;color:#152b29;border-radius:12px;box-shadow:0 6px 18px #051a18ad;font-size:clamp(12px,1.1vw,15px);line-height:1.27;overflow-wrap:anywhere}
:where(.yg-plan-v2) .yg-plan-v2__tooltip h3{font-size:1em;font-weight:700;line-height:1.2;color:inherit;margin:0;padding:0}
:where(.yg-plan-v2) .yg-plan-v2__tooltip ul{margin:6px 0 0;padding:0 0 0 14px;list-style:disc;font-size:.92em}
:where(.yg-plan-v2) .yg-plan-v2__tooltip li{display:list-item;margin:0;padding:0;color:inherit;font:inherit}
:where(.yg-plan-v2) .yg-plan-v2__close{position:absolute;appearance:none;right:4px;top:3px;border:0;background:none;box-shadow:none;color:#23413d;font:600 20px/1 sans-serif;display:grid;place-items:center;width:28px;height:28px;padding:0;cursor:pointer}
:where(.yg-plan-v2) .yg-plan-v2__close:focus-visible{outline-color:#23413d}
:where(.yg-plan-v2) .yg-plan-v2__caption{position:absolute;z-index:1;right:clamp(16px,2.2vw,50px);bottom:clamp(10px,1.9vw,40px);color:#fff;margin:0;font-size:clamp(12px,1.4vw,25px);font-weight:700;text-shadow:0 1px 3px #041817;pointer-events:none;display:none}
:where(.yg-plan-v2) .yg-plan-v2__sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:768px){
 :where(.yg-plan-v2) .yg-plan-v2__canvas{aspect-ratio:var(--yg-desktop)}
 :where(.yg-plan-v2) .yg-plan-v2__shapes--mobile,:where(.yg-plan-v2) .yg-plan-v2__pins--mobile{display:none}
 :where(.yg-plan-v2) .yg-plan-v2__shapes--desktop,:where(.yg-plan-v2) .yg-plan-v2__pins--desktop{display:block}
 #masterplan-preview.yg-plan-v2 .yg-plan-v2__shapes--desktop path{stroke-width:4px}
 :where(.yg-plan-v2) .yg-plan-v2__caption{display:block}
}
@media(prefers-reduced-motion:reduce){:where(.yg-plan-v2) .yg-plan-v2__shapes path{transition:none}}

.yg-plan-v2 .ygp-47a55f3263{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-47a55f3263.webp)}
.yg-plan-v2 .ygp-6e8417a326{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-6e8417a326.webp)}
.yg-plan-v2 .ygp-c3b017d205{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-c3b017d205.webp)}
.yg-plan-v2 .ygp-7bc20062ed{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-7bc20062ed.webp)}
.yg-plan-v2 .ygp-fb4e178b2b{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-fb4e178b2b.webp)}
.yg-plan-v2 .ygp-5c4734c368{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-5c4734c368.webp)}
.yg-plan-v2 .ygp-5f58df3aea{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-5f58df3aea.webp)}
.yg-plan-v2 .ygp-1902e5c02a{background-image:url(/assets/templates/main/assets/yg-plan-v2-ygp-1902e5c02a.webp)}

/* Preview only: compose a single care → masterplan → houses transition. */
.territory-shell:has(+ .territory-shell > .territory > #masterplan-preview.yg-plan-v2),
.territory-shell:has(+ .territory-shell > .territory > #masterplan-preview.yg-plan-v2) > .territory {
  display: contents;
}
.territory-shell:has(+ .territory-shell > .territory > #masterplan-preview.yg-plan-v2) > .territory > :not(#masterplan),
.territory-shell:has(+ .territory-shell > .territory > #masterplan-preview.yg-plan-v2) #masterplan > * {
  display: none;
}
.territory-shell:has(+ .territory-shell > .territory > #masterplan-preview.yg-plan-v2) #masterplan {
  display: block; height: 0; min-height: 0; margin: 0; padding: 0;
  overflow: hidden; visibility: hidden;
}
.territory:has(> #masterplan-preview.yg-plan-v2) {
  background: #142e35;
  overflow: visible;
  border-radius: 0;
  padding-bottom: 0;
}
.territory:has(> #masterplan-preview.yg-plan-v2) > .territory__photo,
.territory:has(> #masterplan-preview.yg-plan-v2) > .care .care__bottom {
  display: none;
}
.territory:has(> #masterplan-preview.yg-plan-v2) > .care {
  position: relative; z-index: 2;
  background: linear-gradient(180deg,#215d60 0%,#142e35 65%,transparent 100%);
}
.territory:has(> #masterplan-preview.yg-plan-v2) > .care > .container { padding-bottom: 0; }
.territory:has(> #masterplan-preview.yg-plan-v2) > #masterplan-preview.yg-plan-v2 {
  z-index: 1;
  margin-top: -8.95%;
  scroll-margin-top: 16px;
}
.territory-shell:has(> .territory > #masterplan-preview.yg-plan-v2) + #projects.houses {
  margin-top: 0;
  padding-top: clamp(72px,8.8vw,175px);
}

#masterplan-preview.yg-plan-v2 .yg-plan-v2__canvas {
  container-type: inline-size;
  color: #fff9ee;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stats {
  position: absolute; inset: 0;
  display: block;
  width: auto; margin: 0; padding: 0;
  z-index: 1; pointer-events: none;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat {
  position: absolute; width: 13%; margin: 0;
  top: 56.7%; left: 14.6%;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(2) { left: 31.8%; }
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(3) { top: 79%; }
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(4) { left: 31.8%; top: 79%; width: 29%; }
#masterplan-preview.yg-plan-v2 .yg-plan-v2__value {
  margin: 0;
  font: 600 clamp(34px,4.7cqw,90px)/1 Stratos, sans-serif;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__value sup { font-size: .55em; vertical-align: super; }
#masterplan-preview.yg-plan-v2 .yg-plan-v2__unit {
  width: 100%;
  max-width: 15.5cqw;
  margin: .12em 0 .5em; padding: 0 0 .5em;
  border-bottom: 1px solid #fff9ee99;
  font: 400 clamp(12px,1.45cqw,28px)/1.15 Onest, sans-serif;
  color: inherit;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__unit,
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__stat-copy { max-width: 13cqw; }
#masterplan-preview.yg-plan-v2 .yg-plan-v2__stat-copy {
  margin: 0; font: 400 clamp(9px,.94cqw,18px)/1.3 Onest, sans-serif; color: inherit;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__caption {
  display: block;
  right: 14.3%; bottom: 1.2%;
  font: 400 clamp(9px,1.15cqw,22px)/1.25 Onest, sans-serif;
  color: #fff9eecf;
  text-align: right; text-shadow: none;
}
@media (max-width: 767px) {
  .territory:has(> #masterplan-preview.yg-plan-v2) > #masterplan-preview.yg-plan-v2 { margin-top: -15.5%; }
  .territory-shell:has(> .territory > #masterplan-preview.yg-plan-v2) + #projects.houses {
    padding-top: clamp(75px,25.5vw,148px);
  }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat { left: 8%; top: 42.5%; width: 43%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(2) { left: 49%; top: 61.5%; width: 43%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(3) { left: 8%; top: 61%; width: 35%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(4) { left: 8%; top: 79.6%; width: 84%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__value { font-size: clamp(30px,13.5cqw,78px); }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__value { font-size: clamp(28px,12.4cqw,72px); }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__unit { max-width: none; font-size: clamp(13px,4.65cqw,27px); }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__unit,
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__stat-copy { max-width: 52%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat-copy { font-size: clamp(11px,3.4cqw,20px); }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__caption {
    inset: 10% 5.6% auto auto; max-width: 36%;
    font-size: clamp(11px,4cqw,23px);
  }
}
@media (min-width:768px) and (max-width:1199px) {
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(3),
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat:nth-child(4) { top: 76.5%; }
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__stat-copy { max-width: 20cqw; }
}
@media (min-width:1200px) {
  .territory:has(> #masterplan-preview.yg-plan-v2) > .care > .container,
  .territory-shell:has(> .territory > #masterplan-preview.yg-plan-v2) + #projects.houses > .container {
    width: 71.5%; max-width: none; padding-inline: 0;
  }
  .territory-shell:has(> .territory > #masterplan-preview.yg-plan-v2) + #projects.houses > .houses__emblem {
    left: calc(14.25% - min(8vw,150px));
  }
}
@media (min-width:768px) {
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__stat--area .yg-plan-v2__value { font-size: clamp(29px,4.1cqw,79px); }
}

#masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip {
  margin:0; padding:11px 38px 11px 13px; overflow:hidden;display:flex;flex-direction:column;
  font-size:15px; line-height:1.35; text-align:left; overscroll-behavior:contain;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip > div {
  min-height:0; max-width:220px; overflow:auto; overscroll-behavior:contain;
}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip:has(ul[hidden]) > div {max-width:196px}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip h3 {font-size:16px; line-height:1.25; text-wrap:balance}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip li {font-size:14px; line-height:1.35}
#masterplan-preview.yg-plan-v2 .yg-plan-v2__close {width:34px;height:34px;top:2px;right:2px}
@media (max-width:767px) {
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip {max-height:none!important;padding:9px 43px 9px 11px}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip > div {overflow:visible}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip h3 {font-size:15px;line-height:1.2}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip ul {margin-top:4px}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip > div {max-width:211px}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__tooltip li {font-size:14px;line-height:1.25}
  #masterplan-preview.yg-plan-v2 .yg-plan-v2__close {width:44px;height:44px;top:0;right:0}
}

/* Размеры растров, цвета зон и координаты маркеров. */
.yg-plan-v2 {--yg-desktop:1919 / 1288.442383;--yg-mobile:575 / 1447}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="izhs"] {--yg-fill:#adf526;--yg-opacity:0.56}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="specialized"] {--yg-fill:#3aa5a1;--yg-opacity:0.67}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="commercial"] {--yg-fill:#328f9c;--yg-opacity:0.9}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="gate"] {--yg-fill:#ff5625;--yg-opacity:0.7}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="blocked"] {--yg-fill:#216161;--yg-opacity:0.79}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="community"] {--yg-fill:#ff5625;--yg-opacity:0.79}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="sport"] {--yg-fill:#ff5625;--yg-opacity:0.67}
.yg-plan-v2 .yg-plan-v2__shapes [data-yg-zone="water"] {--yg-fill:#fff9ee;--yg-opacity:0.78}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="1"] {--x:61.6991662%;--y:43.1733702%;--w:3.4340803%;--h:5.1147029%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="2"] {--x:44.3280354%;--y:27.4305630%;--w:3.4340803%;--h:5.1147029%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="3"] {--x:59.8686816%;--y:51.6425887%;--w:3.4368421%;--h:5.1188164%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="4"] {--x:47.1580511%;--y:18.5628790%;--w:3.4368421%;--h:5.1188164%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="5"] {--x:38.7289734%;--y:25.0725220%;--w:3.4368421%;--h:5.1188164%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="6"] {--x:40.2895258%;--y:19.5050243%;--w:3.8164148%;--h:5.6841502%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="7"] {--x:42.1380406%;--y:16.0718867%;--w:3.7016675%;--h:5.5133238%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="8"] {--x:51.1157374%;--y:34.6044966%;--w:3.7908807%;--h:5.6461198%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="9"] {--x:44.3710787%;--y:35.7020233%;--w:3.4340803%;--h:5.1147029%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="10"] {--x:48.5871808%;--y:44.7051422%;--w:3.4340803%;--h:5.1147029%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="11"] {--x:45.6938510%;--y:45.3260470%;--w:3.7017196%;--h:5.5133238%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="12"] {--x:40.9519020%;--y:35.7020233%;--w:3.7016675%;--h:5.5133238%}
.yg-plan-v2 .yg-plan-v2__pins--desktop [data-yg-pin="13"] {--x:71.7763418%;--y:56.2694933%;--w:3.4339760%;--h:5.1145477%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="1"] {--x:88.5888696%;--y:36.9730477%;--w:11.4605217%;--h:4.5541120%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="2"] {--x:59.1603478%;--y:34.8109883%;--w:12.6761739%;--h:5.0371804%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="3"] {--x:27.0853913%;--y:12.5394610%;--w:12.6761739%;--h:5.0371804%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="4"] {--x:2.3363478%;--y:16.9221838%;--w:12.6761739%;--h:5.0371804%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="5"] {--x:37.0765217%;--y:20.5335867%;--w:13.5662609%;--h:5.3908777%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="6"] {--x:11.0650435%;--y:9.4345543%;--w:13.3412174%;--h:5.3014513%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="7"] {--x:11.1826087%;--y:23.7733241%;--w:13.3412174%;--h:5.3014513%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="8"] {--x:21.9652174%;--y:29.9930891%;--w:13.3412174%;--h:5.3014513%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="9"] {--x:6.5013913%;--y:12.4248100%;--w:13.6339130%;--h:5.4177609%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="10"] {--x:65.5612174%;--y:28.8950242%;--w:12.6659130%;--h:5.0331030%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="11"] {--x:19.9864348%;--y:17.8299931%;--w:12.6659130%;--h:5.0331030%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="12"] {--x:22.5264348%;--y:23.1513476%;--w:12.9502609%;--h:5.1460954%}
.yg-plan-v2 .yg-plan-v2__pins--mobile [data-yg-pin="13"] {--x:30.5264348%;--y:28.0580511%;--w:12.9502609%;--h:5.1460954%}
