.passport.is-open{background:rgba(5,6,7,.78);backdrop-filter:blur(6px)}
body[data-pp="2"] .pp-panel{right:auto;bottom:auto;border:1px solid rgba(255,255,255,.1);border-radius:14px;transform:translate(-50%,30px);opacity:0;transition:transform .5s var(--ease),opacity .4s;box-shadow:0 40px 80px rgba(0,0,0,.5)}
body[data-pp="2"] .passport.is-open .pp-panel{transform:translate(-50%,0);opacity:1}
body[data-pp="2"] .pp-body{display:grid}
/* Passport variant 2 (body[data-pp="2"]): wide card, the photo series on the left with arrows + thumbnails,
   the facts beside it fit without scrolling; «Войти в паспорт» is the one big way on */
/* the photo column takes all the width the copy column leaves, so a 3:2 render fills it with little or no margin */
body[data-pp="2"] .pp-panel { inset: 3vh auto auto 50%; width: min(96vw, 1840px); height: 94vh; max-height: 94vh; outline: none; }
body[data-pp="2"] .pp-body { grid-template-columns: minmax(0, 1fr) clamp(330px, 28vw, 440px); overflow: hidden; height: 100%; }
body[data-pp="2"] .pp-gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; background: #0E1012; }
body[data-pp="2"] .g-stage { position: relative; min-height: 0; overflow: hidden; }
/* the whole render is always shown (contain, never cropped); the margins left by a stage of another shape
   are filled with the same shot, blurred and dimmed, so it reads as one picture */
body[data-pp="2"] .g-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s; pointer-events: none; }
body[data-pp="2"] .g-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(28px) brightness(.5) saturate(.9); transition: background-image .45s; }
/* only the shown shot takes the pointer: the hidden ones above it must not swallow the click */
body[data-pp="2"] .g-img.is-on { opacity: 1; cursor: zoom-in; pointer-events: auto; }
body[data-pp="2"] .g-full { position: absolute; right: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 38px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(8,9,10,.55); backdrop-filter: blur(8px);
  color: #F3E8D6; font: 500 13px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .2s; }
body[data-pp="2"] .g-full span { font-size: 16px; }
/* the plan item of the series: a white sheet, no blurred backdrop */
body[data-pp="2"] .g-stage.is-plan { background: #fff; }
body[data-pp="2"] .g-stage.is-plan .g-bg { display: none; }
body[data-pp="2"] .g-img.is-planimg { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
body[data-pp="2"] .g-thumbs button.is-plan { position: relative; background: #fff; }
body[data-pp="2"] .g-thumbs button.is-plan img { object-fit: contain; }
body[data-pp="2"] .g-thumbs button.is-plan span { position: absolute; left: 4px; bottom: 4px; padding: 2px 6px; border-radius: 4px; background: #008C99;
  color: #fff; font: 600 10px/1.2 Inter, system-ui, sans-serif; letter-spacing: .04em; }
body[data-pp="2"] .g-wait { position: absolute; left: 50%; top: 18px; translate: -50% 0; margin: 0; padding: 7px 14px; border-radius: 999px;
  background: rgba(8,9,10,.7); color: #F3E8D6; font: 500 12px/1 Inter, system-ui, sans-serif; }
body[data-pp="2"] .pp-plan-open { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 8px; padding: 9px 14px;
  border: 1px solid rgba(0,180,196,.45); border-radius: 12px; background: rgba(0,180,196,.08); color: #6E5428; font: 500 14px/1.2 Inter, system-ui, sans-serif;
  cursor: pointer; text-align: left; }
body[data-pp="2"] .pp-plan-open:hover { background: rgba(0,180,196,.18); }
body[data-pp="2"] .pp-plan-open span { font-size: 17px; }
body[data-pp="2"] .g-full:hover { background: rgba(0,180,196,.85); }
/* full-screen photo viewer: the render as large as the screen allows, nothing else */
.lb { position: fixed; inset: 0; z-index: 90; background: #0B0806; outline: none; }
.lb-view { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.lb-img { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; max-width: none; object-fit: contain; display: block;
  transform: translate(-50%, -50%); user-select: none; -webkit-user-drag: none; }
.lb.is-zoomed .lb-view { cursor: grab; } .lb.is-zoomed .lb-view:active { cursor: grabbing; }
/* the plan is a white drawing sheet: show it on white with a margin, like a printed sheet */
.lb.is-plan { background: #F4F1EC; }
.lb.is-plan .lb-view { inset: 64px 24px 72px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.lb-zoom { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; border-radius: 999px; background: rgba(8,9,10,.6);
  backdrop-filter: blur(8px); color: #F3E8D6; font: 500 13px/1 Inter, system-ui, sans-serif; }
.lb-zoom button { width: 42px; height: 42px; border: 0; background: none; color: inherit; font: 400 22px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.lb-zoom span { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.lb-close { position: absolute; top: 18px; right: 18px; min-height: 42px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(8,9,10,.6); backdrop-filter: blur(8px); color: #F3E8D6; font: 500 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.lb-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(8,9,10,.5); backdrop-filter: blur(8px); color: #fff; font: 300 40px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.lb-arrow:hover, .lb-close:hover { background: rgba(0,180,196,.85); }
.lb-arrow.prev { left: 24px; } .lb-arrow.next { right: 24px; }
.lb-cap { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(8,9,10,.6);
  backdrop-filter: blur(8px); color: #F3E8D6; font: 400 14px/1.2 Inter, system-ui, sans-serif; white-space: nowrap; }
.lb-cap b { font-weight: 600; color: #7FE3EC; margin-right: 6px; font-variant-numeric: tabular-nums; }
.lb-cap { pointer-events: none; }
/* phone: the caption goes up under «Закрыть», the zoom stays at the bottom — they never cover each other */
@media (max-width: 900px) { .lb-arrow { width: 44px; height: 44px; font-size: 30px; } .lb-arrow.prev { left: 10px; } .lb-arrow.next { right: 10px; }
  .lb-cap { top: 72px; bottom: auto; font-size: 12px; white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
  .lb-zoom { left: 50%; right: auto; translate: -50% 0; }
  .lb.is-plan .lb-view { inset: 112px 8px 76px; } }
body[data-pp="2"] .g-stage .ph-wait { position: absolute; inset: 0; display: grid; place-items: center; color: #CFD5D9; }
body[data-pp="2"] .g-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(8,9,10,.45); backdrop-filter: blur(8px); color: #fff; font: 300 34px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .2s; }
body[data-pp="2"] .g-arrow:hover { background: rgba(0,180,196,.85); }
body[data-pp="2"] .g-arrow.prev { left: 18px; } body[data-pp="2"] .g-arrow.next { right: 18px; }
body[data-pp="2"] .g-cap { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 9px 14px; border-radius: 999px; background: rgba(8,9,10,.55);
  backdrop-filter: blur(8px); color: #F3E8D6; font: 400 13px/1.2 Inter, system-ui, sans-serif; }
body[data-pp="2"] .g-cap b { font-weight: 600; color: #7FE3EC; margin-right: 6px; font-variant-numeric: tabular-nums; }
body[data-pp="2"] .g-thumbs { display: flex; justify-content: safe center; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; background: #0E1012; }
body[data-pp="2"] .g-thumbs button { flex: 1 1 0; min-width: 72px; max-width: 150px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
body[data-pp="2"] .g-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-pp="2"] .g-thumbs button:hover { opacity: .9; }
body[data-pp="2"] .g-thumbs button[aria-pressed="true"] { opacity: 1; border-color: #00B4C4; }
body[data-pp="2"] .pp-copy { overflow: auto; overscroll-behavior: contain; padding: 26px 34px 18px; display: flex; flex-direction: column; }
body[data-pp="2"] .pp-copy h2 { font-size: clamp(38px, 3.6vw, 58px); padding-right: 120px; }
body[data-pp="2"] .pp-use { font-size: 18px; }
body[data-pp="2"] .pp-area { margin: 12px 0 16px; font-size: clamp(34px, 3vw, 46px); }
body[data-pp="2"] .pp-facts { margin-bottom: 14px; font-size: 15px; }
body[data-pp="2"] .pp-facts dt, body[data-pp="2"] .pp-facts dd { padding: 8px 0; }
body[data-pp="2"] .pp-where { margin: 0 0 14px; }
body[data-pp="2"] .pp-loc { max-height: 130px; }
body[data-pp="2"] .pp-actions { margin-bottom: 14px; }
/* the two actions one under the other, each on one line: the column is too narrow to share a row */
body[data-pp="2"] .pp-actions { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
body[data-pp="2"] .pp-actions .btn { justify-content: center; text-align: center; white-space: nowrap; }
body[data-pp="2"] .pp-enter { min-height: 52px; font-size: 15px; }
body[data-pp="2"] .pp-copy .kick { padding-right: 110px; }
body[data-pp="2"] .pp-src { margin-top: auto; padding-top: 12px; }
/* lower windows step everything down so the copy column fits with no scroll; these come after the base rules */
@media (max-height: 940px) and (min-width: 901px) {
  body[data-pp="2"] .pp-facts dt, body[data-pp="2"] .pp-facts dd { padding: 6px 0; }
  body[data-pp="2"] .pp-loc { max-height: 86px; }
  body[data-pp="2"] .pp-area { margin: 8px 0 12px; }
}
/* short windows (laptop with the browser bar, ~560–780 px high) */
@media (max-height: 780px) and (min-width: 901px) {
  body[data-pp="2"] .pp-copy { padding: 18px 26px 12px; }
  body[data-pp="2"] .pp-copy h2 { font-size: clamp(30px, 3vw, 42px); }
  body[data-pp="2"] .pp-use { margin-top: 4px; font-size: 15px; }
  body[data-pp="2"] .pp-area { margin: 6px 0 8px; font-size: clamp(26px, 2.4vw, 34px); }
  body[data-pp="2"] .pp-facts { margin-bottom: 8px; font-size: 13px; }
  body[data-pp="2"] .pp-facts dt, body[data-pp="2"] .pp-facts dd { padding: 4px 0; }
  body[data-pp="2"] .pp-where { margin-bottom: 8px; }
  body[data-pp="2"] .pp-loc { max-height: 52px; }
  body[data-pp="2"] .pp-plan-open { margin-bottom: 6px; padding: 5px 12px; font-size: 13px; }
  body[data-pp="2"] .pp-actions { margin-bottom: 8px; }
  body[data-pp="2"] .pp-actions .btn, body[data-pp="2"] .pp-enter { min-height: 40px; padding: 8px 14px; font-size: 12px; }
  body[data-pp="2"] .pp-nav { padding-top: 8px; font-size: 13px; }
  body[data-pp="2"] .pp-nav a { padding: 4px 0; }
  body[data-pp="2"] .pp-src { padding-top: 6px; font-size: 11px; }
  body[data-pp="2"] .g-thumbs { padding: 6px; gap: 6px; }
  body[data-pp="2"] .g-thumbs button { max-width: 96px; }
}
@media (max-height: 620px) and (min-width: 901px) {
  body[data-pp="2"] .pp-loc, body[data-pp="2"] .pp-src { display: none; }
}
@media (max-width: 900px) {
  body[data-pp="2"] .pp-panel { inset: 0; width: 100%; height: 100%; max-height: none; }
  /* stacked: the body scrolls as one column, so neither it nor the gallery may be pinned to the screen height */
  body[data-pp="2"] .pp-body { grid-template-columns: 1fr; grid-template-rows: max-content max-content; align-content: start; overflow: auto; }
  body[data-pp="2"] .pp-gallery { grid-template-rows: max-content max-content; }
  body[data-pp="2"] .g-stage { height: 66.7vw; }
  body[data-pp="2"] .g-stage { aspect-ratio: 3 / 2; }
  body[data-pp="2"] .g-arrow { width: 42px; height: 42px; font-size: 28px; }
  body[data-pp="2"] .g-thumbs button { flex: 0 0 84px; }
  body[data-pp="2"] .pp-actions { flex-wrap: wrap; }
  body[data-pp="2"] .pp-enter { flex-basis: 100%; }
  body[data-pp="2"] .pp-copy { overflow: visible; padding: 22px 18px 28px; }
  body[data-pp="2"] .pp-copy h2 { padding-right: 0; }
}
body[data-pp="2"] .pp-facts{grid-template-columns:auto 1fr;column-gap:18px}body[data-pp="2"] .pp-facts dt{white-space:nowrap}body[data-pp="2"] .pp-enter{letter-spacing:.06em;white-space:normal}body[data-pp="2"] .pp-plan-open{color:var(--ink)}
@media (min-width: 901px){body[data-pp="2"] .pp-src{display:none}body[data-pp="2"] .pp-copy>p:not([class]){margin:0 0 10px;font-size:14px;line-height:1.4}body[data-pp="2"] .pp-facts{margin-bottom:10px}body[data-pp="2"] .pp-facts dt,body[data-pp="2"] .pp-facts dd{padding:6px 0}body[data-pp="2"] .pp-where{margin-bottom:10px}body[data-pp="2"] .pp-loc{max-height:64px}body[data-pp="2"] .pp-area{margin:8px 0 10px}body[data-pp="2"] .pp-actions{margin-bottom:8px}body[data-pp="2"] .pp-nav{padding-top:8px}}
@media (max-height: 780px) and (min-width: 901px){body[data-pp="2"] .pp-copy>p:not([class]){margin:0 0 6px;font-size:12px}body[data-pp="2"] .pp-facts dt,body[data-pp="2"] .pp-facts dd{padding:3px 0}body[data-pp="2"] .pp-loc{max-height:40px}body[data-pp="2"] .pp-area{margin:4px 0 6px}}
/* Price + 0 % instalment calculator inside the apartment card (src/installment.js · card).
   Same block as on the mall sales site, drawn for the dark panel of this site: teal accent, no gold. */
body[data-pp="2"] .pp-src { display: none; }
.ins-card { margin: 14px 0 6px; background: #1D2023; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 18px 14px; display: grid; gap: 12px; color: var(--panel-ink, #F4F4F2); flex: 0 0 auto; }
.ins-card .ins-head { display: flex; justify-content: space-between; align-items: center; }
.ins-card .ins-badge { font: 700 10px/1 Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; background: var(--accent, #00B4C4); color: var(--accent-ink, #04262A); padding: 6px 10px; border-radius: 999px; }
.ins-card small { color: var(--muted, #9EA3A8); font-size: 12px; }
.ins-card .ins-price { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ins-card .ins-price span, .ins-card .ins-pay span { display: block; font-size: 12px; color: var(--muted, #9EA3A8); }
.ins-card .ins-price b { font: 500 clamp(26px, 2.2vw, 34px)/1.05 Montserrat, Inter, system-ui, sans-serif; color: #6FD6DF; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ins-card .ins-field { display: grid; gap: 2px; }
.ins-card .ins-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ins-card .ins-top label { font-size: 13px; color: var(--muted, #9EA3A8); }
.ins-card .ins-top output { font: 600 14px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.ins-card input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 0; padding: 0; border: 0; cursor: pointer; --p: 50%; }
.ins-card input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #00B4C4 var(--p), rgba(255,255,255,.16) var(--p)); }
.ins-card input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); }
.ins-card input[type=range]::-moz-range-progress { height: 3px; border-radius: 3px; background: #00B4C4; }
.ins-card input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 0 0 5px #00B4C4; }
.ins-card input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 0 0 5px #00B4C4; }
.ins-card .ins-chips { display: flex; gap: 4px; flex-wrap: nowrap; margin-top: 4px; }
.ins-card .ins-chips button { border: 1px solid rgba(255,255,255,.18); background: transparent; color: inherit; border-radius: 999px; flex: 1 1 auto; white-space: nowrap; padding: 5px 4px; font: 500 11.5px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.ins-card .ins-chips button[aria-pressed="true"] { background: #F4F4F2; color: #141517; border-color: #F4F4F2; }
.ins-card .ins-pay { display: flex; justify-content: space-between; align-items: end; gap: 10px; background: linear-gradient(135deg, #0B3E44, #062B2F); border-radius: 10px; padding: 12px 14px; }
.ins-card .ins-pay span { color: #A9D9DD; }
.ins-card .ins-pay b { font: 500 clamp(30px, 2.6vw, 40px)/1 Montserrat, Inter, system-ui, sans-serif; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ins-card .ins-pay small { color: #A9D9DD; text-align: right; line-height: 1.4; }
.ins-card .ins-more { justify-self: start; color: #6FD6DF; font: 600 13px/1.2 Inter, system-ui, sans-serif; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

@media (max-width: 900px){body[data-pp="2"] .pp-panel{inset:0;border-radius:0;transform:translateY(30px)}body[data-pp="2"] .passport.is-open .pp-panel{transform:none}}
