/* The section's project page - the light premium style Vladimir chose 14.10.2026 (references: Barnes Moscow, Sminex,
   Kronos; not black - «Черный не вписывается в наш дизайн»). White, thin type, hairlines instead of frames and shadows,
   one deep accent (the site's dark green) only on the main button and the big figures. Phone first. */

/* The site's Montserrat file is variable: the site declares 400-700, the section also needs the thin weights. */
@font-face { font-family: "NB Montserrat"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/static/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "NB Montserrat"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/static/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.nb { --ink: #141414; --muted: #77736d; --line: #e7e4df; --accent: #1e856c; --soft: #f7f5f1;
  font-family: "NB Montserrat", "Montserrat", Arial, sans-serif; color: var(--ink); font-weight: 400;
  touch-action: manipulation; }   /* no double-tap zoom on rows and text (Vladimir 15.10: «сайт плавает»); pinch stays */
.nb-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px 80px; }
.nb p, .nb h1, .nb h2, .nb dl, .nb dd, .nb ul, .nb ol, .nb figure, .nb blockquote { margin: 0; padding: 0; }
.nb ul, .nb ol { list-style: none; }
.nb small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }

/* Words: the kicker and labels - small capitals with air; headings - thin and large. */
.nb-kicker, .nb-label, .nb-figures dt {
  font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.nb-title { font-size: 44px; font-weight: 200; line-height: 1.05; letter-spacing: -.01em; }
.nb .nb-h2 { font-size: 28px; font-weight: 200; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 24px; }
.nb-lead { font-size: 17px; font-weight: 300; line-height: 1.6; color: #2b2b2b; }
.nb-fine { margin-top: 12px !important; font-size: 12px; line-height: 1.5; color: var(--muted); }
.nb-sec > .nb-fine + .nb-strip { margin-top: 28px !important; }
.nb-steps + .nb-fine { margin-top: 28px !important; }

/* Actions: the site's messenger buttons (common.css btn-green / btn-blue: the gradient pill, its shadow and hover; the
   size is the page's), a white icon on the left (site/RULES.md 12.3); everything else - a thin underlined link. */
.nb-cta { position: relative; display: inline-flex; gap: 10px; min-height: 56px; padding: 0 32px; font-size: 16px; text-decoration: none;
  white-space: nowrap; }
.nb-cta .btn-icon { flex: none; width: 20px; height: 20px; fill: currentColor; }
.nb-link { display: inline-block; color: var(--ink); font-size: 14px; font-weight: 400; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; cursor: pointer; }

/* The path at the bottom, before the site's footer (Apple): small and quiet after a hairline, the home page a link,
   the page itself in ink. */
.nb-crumbs { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); }
.nb .nb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.nb-crumbs li + li::before { content: "/"; margin-right: 8px; color: #c5c0b8; }
.nb-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.nb-crumbs [aria-current] { color: var(--ink); }
.nb-title { margin-top: 10px !important; }

/* Sections and their hairline tabs (stick to the top while the page scrolls, Kronos). */
.nb-tabs { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; gap: 10px;
  margin: 40px -24px 0; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line);   /* solid: the text showed through (18.10) */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: none; scrollbar-width: none; }   /* sideways only (15.10) */
.nb-tabs::-webkit-scrollbar { display: none; }
.nb-tabs a { flex: none; padding: 16px 0 14px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.nb-tabs a:hover { color: var(--ink); border-color: var(--ink); }
/* the section in sight (static/nb.js; Vladimir 19.10: «должно как-то имхо выделяться, чтобы показать что это кликабельно») */
.nb-tabs a[aria-current="location"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 389px) { .nb-tabs { gap: 8px; } .nb-tabs a { font-size: 11px; letter-spacing: 0; } }   /* 360-375 px phones */
.nb-sec { padding-top: 72px; scroll-margin-top: 56px; }
.nb-sec > .nb-label { margin-bottom: 18px !important; }

/* The building's figures: big thin numbers in the accent, hairlines between (Barnes). */
.nb-figures { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px !important; border-top: 1px solid var(--line); }
.nb-figures div { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.nb-figures div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.nb-figures div:nth-child(even) { padding-left: 18px; }
.nb-figures dd { color: var(--accent); font-size: 46px; font-weight: 200; line-height: 1; letter-spacing: -.02em; }
.nb-pre { margin-right: 6px; font-size: 14px; font-weight: 300; letter-spacing: 0; color: var(--muted); }
.nb-unit { margin-left: 6px; font-size: 16px; font-weight: 300; letter-spacing: 0; color: var(--muted); }
.nb-figures dt { margin-top: 10px; }

/* Strips: a row that scrolls sideways on a phone (1.3 cards in view), a grid on a computer. */
.nb-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; margin: 0 -24px !important;
  padding: 0 24px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
  scrollbar-width: none; }
.nb-strip::-webkit-scrollbar { display: none; }
.nb-strip > li { scroll-snap-align: start; }
/* «В доме»: four photos in one warm style, the caption under the picture, the rest as rows (26.10, «d2»).
   «В квартире»: a hairline list with drawn line icons, two columns on a computer. */
/* A heading with a small grey note on its right, on the heading's baseline (as the gallery's counter). */
.nb-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 16px; }
.nb-sec__aside { flex: 0 1 auto; min-width: 0; font-size: 12px; color: var(--muted); }
.nb-strip--house { grid-auto-columns: 70%; }
.nb-hc__pic { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nb-hc__title { margin-top: 12px !important; font-size: 15px; line-height: 1.3; white-space: nowrap; }
.nb-hc__note { min-height: 2.7em; margin-top: 3px !important; font-size: 13px; line-height: 1.35; color: var(--muted); }   /* two lines for all */
.nb-fine--mark { color: var(--ink); }   /* no delivery date yet: the mark stands out of the small print */
.nb-lots__parking { margin-top: 16px !important; font-size: 15px; line-height: 1.5; }   /* the parking's price on its own line (Vladimir 17.11) */
.nb-hc__ic { display: grid; place-items: center; background: var(--soft); color: var(--accent); }   /* a main one without its picture yet */
.nb-hc__ic svg { width: 72px; height: 72px; }
/* «В доме» (Vladimir 26.10, «d2»: «четыре главных фото, остальное строками»; research docs/research/2026-10-26_v-dome-2):
   after the photos the rest as rows like «В квартире», without icons; the energy label last, a quiet note - one card wide,
   no title, no background, grey text */
.nb .nb-hrows { margin-top: 28px; border-top: 1px solid var(--line); }
.nb-hrows li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.nb .nb-hrows small { margin-top: 3px; font-size: 13px; }
.nb-hfoot { display: grid; gap: 12px; margin-top: 32px; }
.nb .nb-hfoot .nb-en1 { width: 260px; max-width: 100%; margin: 0; }
.nb .nb-hfoot__text { font-size: 13px; line-height: 1.55; color: var(--muted); }
.nb .nb-feat__list { margin-top: 8px; border-top: 1px solid var(--line); }
.nb-feat__list li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.35; }
.nb-feat__list small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.nb-ico { flex: none; width: 24px; height: 24px; margin-top: -2px; color: var(--accent); }
.nb .nb-feat__note { margin-top: 16px; }

/* The developer: thin figures; the other projects small, the caption under the picture. */
.nb-figures--dev { margin: 8px 0 0 !important; }
.nb-figures--dev dd { font-size: 40px; }
.nb-figures--dev div:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; border-right: 0; }
.nb-dev__more { margin: 40px 0 14px !important; }
.nb-strip--dev { grid-auto-columns: 56%; }
.nb-proj img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nb-proj__name { margin-top: 10px !important; font-size: 14px; line-height: 1.3; }
.nb-proj__city { margin-top: 2px !important; font-size: 12px; color: var(--muted); }


/* The full-screen view: one picture at a time, swipe or arrows, Esc or × closes. */
.nb-lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0f0f0f; color: #fff; }
.nb-lb::backdrop { background: rgba(0, 0, 0, .9); }
.nb-lb:focus { outline: none; }
.nb-lb__list { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-template-rows: 100%; height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.nb-lb__list::-webkit-scrollbar { display: none; }
.nb-lb__list li { display: flex; flex-direction: column; min-height: 0; scroll-snap-align: center; padding: 56px 0 20px; }
.nb-lb__list img { flex: 1 1 0; width: 100%; min-height: 0; object-fit: contain; }
.nb-lb__list > li > p { padding: 14px 24px 0; font-size: 14px; color: #ddd; }
.nb-lb__list > li > p span { margin-right: 14px; color: #9fe3cf; letter-spacing: .08em; }
.nb-lb__close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; background: none;
  color: #fff; font-size: 34px; font-weight: 200; cursor: pointer; }
.nb-lb__nav { display: none; }
/* The plans' view: light, the plan and below it (beside it on a computer) the rooms of the developer's sheet. */
.nb-lb--plans { background: #fff; color: var(--ink); }
.nb-lb--plans .nb-lb__close { color: var(--ink); }
.nb-lb--plans .nb-lb__list li { display: block; overflow-y: auto; padding: 60px 24px 32px; }
.nb-lb--plans .nb-lb__list img { display: block; width: 100%; height: auto; max-height: 55vh; }
.nb-lb__rooms { max-width: 420px; margin-top: 24px; }
.nb-lb__flat { margin-top: 4px !important; font-size: 22px; font-weight: 300; }
.nb-lb__rooms table { width: 100%; margin: 16px 0 10px; border-collapse: collapse; font-size: 14px; }
.nb-lb__rooms td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.nb-lb__rooms td:last-child { text-align: right; white-space: nowrap; }
.nb-lb__sum td { font-weight: 500; }
.nb-lb__rooms .nb-fine { margin-bottom: 18px !important; }
.nb-lb__ask { width: 100%; }
.nb-lb--plans .nb-lb__close { top: 8px; right: 8px; border-radius: 50%; background: rgba(255, 255, 255, .92); }   /* not on the plan */

/* Flats: a summary by bedrooms that filters; the flats as rows of a table (a small plan, flat, floor, bedrooms, area,
   price, «Спросить»), a tap on a row's plan - the plan large with its rooms; more than 12 - the first 10, «Показать ещё»,
   sorting (static/nb.js; without it - all rows). One flat - its card. On a phone - the same rows, compact. */
.nb-sum { margin-bottom: 22px; }
.nb-sum__count { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.nb .nb-sum ul:not(.nb-sum__filter) { margin-top: 10px; border-top: 1px solid var(--line); }   /* the summary without a filter */
.nb-sum li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 15px; }
.nb-sum b { font-weight: 400; white-space: nowrap; }
.nb-sum .nb-unit { font-size: 13px; }
/* The filter on a phone - framed tiles two in a row, the chosen one framed in green (Vladimir 15.10: the list «Выглядит
   как заголовок», option B); an odd count - «Все» across the top. A computer - tabs (below). */
.nb .nb-sum__filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; border-top: 0; }
.nb .nb-sum__filter li { display: block; padding: 0; border: 0; }
.nb .nb-sum__filter li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.nb-sum__filter button { display: block; width: 100%; height: 100%; padding: 12px 14px; margin: 0; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.nb-sum__filter button > span { display: block; }
.nb-sum__filter b { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.nb-sum__filter b .nb-unit { font-size: 12px; }
.nb-sum__filter button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--soft); }
.nb-sort { margin: 18px 0 0 !important; font-size: 13px; color: var(--muted); }
.nb-sort button { margin-left: 14px; padding: 0 0 2px; border: 0; border-bottom: 1px solid transparent; background: none;
  font: inherit; color: var(--muted); cursor: pointer; }
.nb-sort button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.nb-lots__head { display: none; }
.nb .nb-lots { margin-top: 18px; border-top: 1px solid var(--ink); }
.nb-lot { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "plan head ask" "plan area ask" "plan price ask";
  column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nb-lot[hidden] { display: none; }
.nb-lot { cursor: pointer; }   /* the whole row opens the plan (nb.js) */
.nb-lot__plan { grid-area: plan; display: block; width: 84px; height: 63px; background: #fff; }
.nb-lot__plan img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nb-lot__label, .nb-lot__floor, .nb-lot__bed { display: none; }
.nb-lot__head { grid-area: head; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nb-lot__area { grid-area: area; font-size: 17px; font-weight: 300; }
.nb .nb-lot__area small { display: none; }
.nb-lot__price { grid-area: price; font-size: 15px; white-space: nowrap; }
.nb .nb-lot__price small { display: inline; margin-left: 6px; font-size: 12px; color: var(--muted); }
/* A phone: the row has one action - it opens the flat; a quiet «›» says so (Vladimir 15.10, option A of
   docs/research/2026-10-15_stroka-kvartiry.md). The chat - the green button in the plan view and Yulia's floating one. */
.nb .nb-lot__ask { display: none; }
.nb-lot::after { content: "›"; grid-area: ask; padding-left: 4px; color: #a19c94; font-size: 30px; font-weight: 200; line-height: 1; }
/* «Показать ещё» (Vladimir 18.11: «почти не заметно что есть еще квартиры» - «М2», docs/variants/2026-11-18_pokazat-eshche.md):
   a green outlined button with how many are left, the last rows fading out under it */
.nb-more { display: block; width: 100%; margin: 18px 0 0; padding: 14px 20px; border: 1px solid var(--accent);
  border-radius: 999px; background: #fff; color: var(--accent); font: inherit; font-size: 15px; font-weight: 500;
  cursor: pointer; }
.nb-more b { font-weight: 500; }
.nb-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 10px;
  border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.nb-more[hidden] { display: none; }
.nb-lots.is-folded { position: relative; }
.nb-lots.is-folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; }
.nb-lots.is-folded + .nb-more { position: relative; margin-top: -40px; }
.nb-flat { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ink); }
.nb-flat__planlink { display: block; color: inherit; text-decoration: none; }
.nb-flat__plan { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.nb-flat__zoom { display: block; margin-top: 8px; text-align: right; color: var(--muted);
  font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.nb-flat__zoom::after { content: "+"; margin-left: 6px; color: var(--accent); font-size: 14px; }
.nb-flat__type { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.nb-flat__area { margin-top: 6px !important; font-size: 34px; font-weight: 200; line-height: 1.1; }
.nb-flat__note { margin-top: 4px !important; font-size: 13px; color: var(--muted); }
.nb-flat__price { margin-top: 16px !important; font-size: 22px; font-weight: 400; }
.nb-flat__foot { margin-top: 16px !important; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.nb-arrow { color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nb-arrow::after { content: "→"; margin-left: 8px; color: var(--accent); }

/* Eurobelka's services (Vladimir 15.10, the brief; lighter the same day, option В): white with hairlines like the other
   blocks, not a banner; the heading, the commission line, three short points with small icons, the invitation, one
   full-width button on a phone. Text 16 px and more; no carousel, no «more». */
.nb-serv__box { padding: 28px 0 32px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.nb .nb-serv__title { font-size: 22px; font-weight: 300; line-height: 1.3; }
.nb-serv__sub { margin-top: 10px !important; font-size: 16px; line-height: 1.5; color: var(--accent); }
.nb .nb-serv__list { margin-top: 20px; border-top: 1px solid var(--line); }
.nb-serv__item { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-content: start; padding: 14px 0;
  border-bottom: 1px solid var(--line); }
.nb-serv__item .nb-ico { grid-row: 1 / span 2; margin-top: 1px; }
.nb-serv__name { font-size: 17px; font-weight: 500; line-height: 1.35; }
.nb-serv__text { margin-top: 3px !important; font-size: 16px; font-weight: 300; line-height: 1.5; color: #2b2b2b; }
.nb-serv__invite { margin-top: 20px !important; font-size: 16px; line-height: 1.55; color: #2b2b2b; }
.nb-serv__btn { width: 100%; margin-top: 16px; }
.nb-lb__note { margin: 4px 0 10px !important; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Payment schedule: a line of time with three points. */
.nb-steps { position: relative; display: grid; gap: 28px; padding-left: 26px !important; }
.nb-steps::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.nb-steps li { position: relative; }
.nb-steps li::before { content: ""; position: absolute; left: -26px; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 1px solid var(--accent); }
.nb-steps b { display: block; color: var(--accent); font-size: 34px; font-weight: 200; line-height: 1.1; }
.nb-steps span { display: block; font-size: 15px; }
.nb-steps__what { margin-top: 8px; font-weight: 500; }
.nb-steps__when { margin-top: 2px; color: #444; }
.nb-steps small { margin-top: 4px; }

/* Place: a quiet list instead of mixed photos. */
/* The picture-map: a still of the live map (tools/map_still.py), the ODbL credit in it; the live map's buttons over it
   (static/nb-map.js dress), «Открыть карту» in their look (Vladimir 18.10: «Делай 1,2,3,4»). */
.nb-mapwrap { position: relative; margin: 0 -24px; }
.nb-map { position: relative; display: block; }
.nb-map img { display: block; width: 100%; height: auto; }
.nb-map__open { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; padding: 8px 14px;
  border: 1px solid #e0dbd3; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px;
  box-shadow: 0 1px 3px rgba(20, 20, 20, .12); }   /* the map's own buttons' look - not a bright one (18.10: «не нужна такая яркая») */
.nb-map__open::after { content: "→"; margin-left: 8px; color: var(--accent); }
.nb-map:hover .nb-map__open { border-color: var(--accent); }
/* a phone: what the map holds, under its calm picture (Vladimir 18.10: «Давай вариант 1») */
.nb .nb-map__what { margin: 10px 0 0; }
/* a computer: the live map comes over the picture and shows once drawn */
.nb-mapwrap > .nb-map--live { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.nb-mapwrap > .nb-map--live.nb-map--in { opacity: 1; }
.nb-map[aria-busy="true"] { cursor: progress; }
/* The live map (stage 7, static/nb-map.js): in the picture's place on a computer, the whole screen on a phone with «Назад»
   on it. Points as on the picture: the house - a green ring with its name, the places - small grey dots. The overlay
   lives outside .nb, so its colours are written out (the accent #1e856c, the ink #141414). */
.nb-map--live { overflow: hidden; background: #f3f1ec; }
.nb-mapfull { position: fixed; top: 0; right: 0; left: 0; z-index: 10002; height: 100vh; height: 100dvh; background: #f3f1ec; }
.nb-mapfull__map { position: absolute; inset: 0; }
.nb-mapfull__back { position: absolute; left: calc(12px + env(safe-area-inset-left)); top: calc(12px + env(safe-area-inset-top));
  padding: 10px 16px; border: 0; border-radius: 999px;
  background: #fff; color: #141414; font: inherit; font-size: 14px; box-shadow: 0 1px 6px rgba(20, 20, 20, .18); cursor: pointer; }
.nb-mapfull__back::before { content: "←"; margin-right: 8px; color: #1e856c; }
html.nb-mapopen, html.nb-mapopen body { overflow: hidden; }
.nb-pin { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #77736d;
  box-shadow: 0 0 0 1px rgba(20, 20, 20, .12); }
.nb-pin--home { width: 22px; height: 22px; border: 6px solid #1e856c; background: #fff; box-shadow: 0 0 0 2px #fff; }
.nb-mapfull { font-family: "NB Montserrat", "Montserrat", Arial, sans-serif; }
.nb-ctrl-home { display: flex; align-items: center; justify-content: center; }
.nb-mapfull .maplibregl-ctrl-top-right { top: env(safe-area-inset-top); right: env(safe-area-inset-right); }
/* Everyday life before the map (Vladimir 15.10, «Делаем Г»): four parts - an icon, a small label, the point in a line, a
   short sentence. A phone - soft cards that swipe sideways, the next one peeking; a computer - a 2 x 2 grid (below). */
.nb .nb-story { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; margin: 0 -24px 32px; padding: 0 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
.nb-story::-webkit-scrollbar { display: none; }
.nb-story > div { scroll-snap-align: start; padding: 20px; background: var(--soft); }
.nb-story .nb-ico { display: block; width: 26px; height: 26px; margin: 0 0 14px; }
.nb-story dt { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.nb-story dd { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.nb-story__pt { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 400; line-height: 1.35; color: var(--ink); }
.nb-addr { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; color: var(--ink); text-decoration: none; }
.nb-addr .nb-ico { margin: 0; }
.nb-addr__text { flex: 1; font-size: 17px; line-height: 1.35; }
.nb .nb-addr__text small { margin-top: 2px; font-size: 13px; }
.nb-addr__go { flex: none; font-size: 14px; }
.nb-addr__go::after { content: "→"; margin-left: 8px; color: var(--accent); }
.nb-near { margin-top: 24px !important; border-top: 1px solid var(--line); }
.nb-near li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nb-near b { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 88px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.nb-near li > span { padding-right: 12px; }
.nb-near b { flex-shrink: 0; }   /* the distance and the time keep their line, a long name with its lines wraps */
.nb-near small { font-size: 13px; }
.nb-near small::after { content: "·"; margin-left: 8px; }
/* the lines that stop there, in their own colours (the live map's transport, tools/transit.py) */
.nb-lines { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; vertical-align: 1px; }
.nb-lines i { padding: 2px 5px 3px; border-radius: 4px; font-size: 11px; font-style: normal; font-weight: 600; line-height: 1.1;
  letter-spacing: .02em; }
.nb-ico--s { width: 20px; height: 20px; margin: 0; }

.nb-dev { display: grid; gap: 18px; margin-bottom: 28px; }
.nb-dev__logo { width: 180px; }
.nb-dev p { font-size: 15px; font-weight: 300; line-height: 1.6; }

.nb-band .nb-lead { margin-bottom: 20px !important; }
.nb-faq { border-bottom: 1px solid var(--line); }
.nb-faq:first-of-type { border-top: 1px solid var(--line); }
.nb-faq summary { position: relative; padding: 18px 36px 18px 0; font-size: 16px; font-weight: 400; cursor: pointer; list-style: none; }
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 22px; font-weight: 200; }
.nb-faq[open] summary::after { content: "−"; }
.nb-faq p { padding: 0 0 18px; font-size: 15px; font-weight: 300; line-height: 1.6; color: #333; }

/* «Обсудите выбор квартиры с Юлией» (Vladimir 15.10): the lead, her photo and name side by side (compact on a phone), the
   invitation, one main button (full width on a phone), Telegram as a quiet link, two small notes. */
.nb .nb-ask__lead { margin-bottom: 24px !important; }
.nb-agent { display: flex; align-items: center; gap: 16px; }
.nb-agent__photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.nb-agent__name { font-size: 18px; font-weight: 400; }
.nb-agent__role { margin-top: 2px !important; font-size: 13px; line-height: 1.45; color: var(--muted); }
.nb-ask__invite { margin-top: 24px !important; font-size: 16px; line-height: 1.55; color: #2b2b2b; }
.nb-ask__card { margin-top: 24px; padding: 20px; background: var(--soft); }   /* who answers and how (15.10, «вариант А») */
.nb-ask__act { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 18px; }
.nb-ask__btn { width: 100%; }
.nb-ask__tg { align-self: center; }
.nb-ask__notes { margin-top: 20px !important; font-size: 13px; line-height: 1.6; color: var(--muted); }
.nb-credits { margin-top: 64px !important; font-size: 11px; color: #9a958e; line-height: 1.5; }
.nb-credits a { color: inherit; }

@media (min-width: 768px) {
  .nb-wrap { padding: 0 48px 120px; }
  .nb-title { font-size: 76px; }
  .nb-tabs { justify-content: flex-start; margin: 56px 0 0; padding: 0; gap: 40px; overflow: visible; }   /* they fit: no scroll (Vladimir 15.10) */
  .nb-tabs a { font-size: 13px; letter-spacing: .08em; }
  .nb-sec { padding-top: 104px; }
  .nb .nb-h2 { font-size: 40px; }
  #about { display: grid; grid-template-columns: 11fr 8fr; column-gap: 72px; align-items: start; }
  #about .nb-lead { max-width: 34em; margin-top: 4px !important; }
  #about .nb-figures { margin-top: 0 !important; }
  .nb-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0 !important; padding: 0 !important; overflow: visible; gap: 16px; }
  .nb-flat { grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; padding: 28px 0; }
  .nb-flat__plan { aspect-ratio: 2 / 1; }
  .nb-flat__area { font-size: 44px; }
  .nb-flat__price { font-size: 26px; }
  .nb-flat__planlink:hover .nb-flat__zoom { color: var(--ink); }
  .nb-sum { max-width: none; }
  .nb .nb-sum__filter { display: flex; flex-wrap: wrap; gap: 0; margin-top: 10px; border-top: 0; border-bottom: 1px solid var(--line); }
  .nb .nb-sum__filter li { border: 0; }
  .nb .nb-sum__filter li:first-child:nth-last-child(odd) { grid-column: auto; }
  .nb-sum__filter button { display: block; width: auto; height: auto; padding: 10px 24px 12px 0; margin-right: 24px; box-shadow: none;
    border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; }
  .nb-sum__filter button[aria-pressed="true"] { background: none; box-shadow: none; border-color: var(--accent); }
  .nb-sum__filter b { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
  .nb-sum__filter span { font-size: 15px; }
  .nb-sum__filter b .nb-unit { font-size: 12px; }
  .nb-lb--plans .nb-lb__list li { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center;
    padding: 64px 112px 40px; overflow: hidden; }
  .nb-lb--plans .nb-lb__list img { max-height: calc(100vh - 120px); object-fit: contain; }
  .nb-lb--plans .nb-lb__rooms { margin: 0; }
  .nb-lb--plans .nb-lb__nav { border-color: var(--line); color: var(--ink); }
  .nb-lb__list li { padding: 64px 96px 28px; }
  .nb-lb__nav { display: block; position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: #fff; font-size: 30px;
    font-weight: 200; cursor: pointer; }
  .nb-lb__nav--prev { left: 24px; }
  .nb-lb__nav--next { right: 24px; }
  /* her photo on the left, the top in line with the text's first line (the columns - .nb-yulia--v3 below) */
  .nb-yulia { display: grid; align-items: start; }
  .nb-yulia .nb-label { grid-area: label; }
  .nb-steps { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; padding: 30px 0 0 !important; }   /* every step in one row: Porta Barcelona II has four (17.11) */
  .nb-steps::before { left: 0; right: 0; top: 4px; bottom: auto; width: auto; height: 1px; }
  .nb-steps li::before { left: 0; top: -30px; }
  .nb-dev { grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
  .nb-figures--dev { grid-template-columns: repeat(3, 1fr); }
  .nb-figures--dev div, .nb-figures--dev div:nth-child(n), .nb-figures--dev div:last-child:nth-child(odd) {
    grid-column: auto; padding: 22px 24px 20px 0; border-right: 0; }
  /* «В доме»: the photos one row - four columns, three for three (a tablet's 3 columns left 3 + 1) */
  .nb-strip--house { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
  .nb-strip--house.nb-strip--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nb-strip--house .nb-hc__title { white-space: normal; }   /* equal columns: a long title wraps, not widens its own */
  .nb .nb-hrows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .nb-hfoot { grid-template-columns: 254px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 40px; }
  .nb .nb-hfoot .nb-en1 { width: 100%; }
  /* place (Vladimir 18.10: «бардак на карте в десктопе … список который уходит ниже карты» → 19.10: «Вариант 1 - карта
     во всю ширину, списки под ней»): the address, the map's buttons and key in a bar, the map the whole width, the lists
     under it in two columns - on foot on the left, by car on the right */
  #place { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5%; align-items: start;
    grid-template-areas: "head head" "story story" "addr addr" "bar bar" "map map" "side side"; }
  #place .nb-h2 { grid-area: head; }
  .nb-mapwrap { grid-area: map; margin: 0; }
  .nb .nb-map__what { display: none; }   /* a computer has the live map itself */
  .nb-addr { grid-area: addr; }
  .nb .nb-story { grid-area: story; grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 0 64px; margin: 0 0 48px; padding: 0;
    overflow: visible; border-top: 1px solid var(--line); }
  .nb-story > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 20px 0; background: none;
    border-bottom: 1px solid var(--line); }
  .nb-story .nb-ico { grid-row: 1 / span 2; width: 24px; height: 24px; margin: 2px 0 0; }
  .nb-story dt, .nb-story dd { grid-column: 2; }
  .nb-story dd { margin-top: 4px; }
  .nb-story__pt { margin-bottom: 3px; font-size: 16px; }
  .nb-place__side { grid-area: side; }
  .nb-map__open { left: 12px; bottom: 12px; }
  .nb .nb-feat__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .nb-serv__btn { width: auto; }
  .nb-agent__photo { width: 72px; height: 72px; }
}

/* The services on a computer: the heading, the line, the invitation and the button on the left, the points on the right
   (as «О доме» and «Место»); a tablet keeps the list. */
@media (min-width: 1024px) {
  .nb-serv__box { display: grid; grid-template-columns: 5fr 6fr; grid-template-areas: "title list" "sub list" "invite list" "btn list";
    grid-template-rows: auto auto auto 1fr; column-gap: 72px; align-items: start; padding: 36px 0; }
  .nb .nb-serv__title { grid-area: title; font-size: 28px; }
  .nb-serv__sub { grid-area: sub; }
  .nb-serv__invite { grid-area: invite; }
  .nb-serv__btn { grid-area: btn; justify-self: start; }
  .nb .nb-serv__list { grid-area: list; margin-top: 0; }
  .nb-serv__item:first-child { padding-top: 0; }
  .nb .nb-serv__list { border-top: 0; }
}

@media (min-width: 1024px) {
  /* «В доме» on a computer (Vladimir 15.10: «грамоздко» - «вариант А»): lower and wider pictures; their row - four
     columns, three for three (26.10, «d2») */
  .nb-strip--house { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
  .nb-strip--house.nb-strip--n3 { grid-template-columns: repeat(3, 1fr); }
  .nb-strip--house .nb-hc__pic { aspect-ratio: 3 / 2; }
  .nb-strip--house .nb-hc__title { font-size: 14px; }
  .nb-strip--house .nb-hc__note { font-size: 12px; }
}

/* The ask block beside its card only from 1024 px (18.10: at 768 its column was 172 px for a 40 px heading) */
@media (min-width: 1024px) {
  .nb-ask { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto 1fr;
    grid-template-areas: "h card" "lead card" "inv card"; column-gap: 80px; align-items: start; }
  .nb-ask .nb-h2 { grid-area: h; }
  .nb-ask__lead { grid-area: lead; }
  .nb-ask__invite { grid-area: inv; margin-top: 0 !important; }
  .nb-ask__card { grid-area: card; margin-top: 0; padding: 28px; }
}

/* The flats as a table only from 1024 px (18.10: at 768 its seven columns crushed «Planta 03 02», the headers ran together;
   a tablet keeps the phone's rows) */
@media (min-width: 1024px) {
  /* the table: 12 / 12 / 12 / 10 / 20 / 20 / 14 % of the column */
  .nb-lots__head, .nb-lot { display: grid; grid-template-columns: 12fr 12fr 12fr 10fr 20fr 20fr 14fr; grid-template-areas: none;
    column-gap: 0; align-items: center; }
  .nb-lots__head { margin-top: 24px; padding-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: .13em;
    text-transform: uppercase; color: var(--muted); }
  .nb .nb-lots { margin-top: 0; }
  .nb-lot { padding: 8px 0; min-height: 84px; }
  .nb-lot:hover { background: var(--soft); }
  .nb-lot > * { grid-area: auto; }
  .nb-lot__plan { width: 96px; height: 72px; }
  .nb-lot__head { display: none; }
  .nb-lot__label, .nb-lot__floor, .nb-lot__bed { display: block; font-size: 15px; }
  .nb-lot__label { font-weight: 500; }
  .nb-lot__area { font-size: 15px; font-weight: 400; }
  .nb .nb-lot__area small { display: block; margin: 2px 0 0; font-size: 12px; }
  .nb-lot__price { font-size: 17px; }
  .nb .nb-lot__ask { display: inline; grid-area: auto; justify-self: end; padding-right: 8px; font-size: 14px; }
  .nb-lot::after { content: none; }
}
/* The map's categories (Vladimir 18.10: «3»): white tiles with a hairline, pressed - the green border and a soft ground
   (the approved tiles of «Квартиры»); a dot of the category's colour. On a phone under «Назад». */
.nb-cats { display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 70px); font-family: "NB Montserrat", "Montserrat", Arial, sans-serif; }
.nb-cats button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e0dbd3; border-radius: 999px;
  background: #fff; color: #141414; font: inherit; font-size: 12px; line-height: 1.2; cursor: pointer; box-shadow: 0 1px 3px rgba(20, 20, 20, .08); }
.nb-cats button[aria-pressed="true"] { border-color: #1e856c; background: #eef6f3; }
.nb-mapfull .nb-cats { margin-top: calc(64px + env(safe-area-inset-top)); }
.nb-place { display: flex; flex-direction: column; gap: 2px; font-family: "NB Montserrat", "Montserrat", Arial, sans-serif; font-size: 13px; color: #4a4640; }
.nb-place b { color: #141414; font-weight: 600; }
/* The categories' badges on their buttons too, grey while off (Vladimir 18.10: «В») */
.nb-cats button { padding-left: 6px; }
.nb-cats svg { width: 18px; height: 18px; flex: none; }
.nb-cats button[aria-pressed="false"] svg { filter: grayscale(1); opacity: .55; }
.nb-place__walk { margin-top: 2px; color: #1e856c; font-weight: 600; }
/* «Рядом с домом» (Vladimir 18.10: «7»): a white pill under the map's points opens their list over the map */
.nb-near-map { font-family: "NB Montserrat", "Montserrat", Arial, sans-serif; }
.nb-near-map__open { max-width: min(340px, calc(100vw - 20px)); padding: 8px 12px; border: 1px solid #e0dbd3; border-radius: 999px;
  background: #fff; color: #141414; font: inherit; font-size: 12px; line-height: 1.2; text-align: left; cursor: pointer;
  box-shadow: 0 1px 3px rgba(20, 20, 20, .12); }
.nb-near-map__open::after { content: "\00a0›"; color: #1e856c; font-weight: 600; }
.nb-near-map__panel { width: min(340px, calc(100vw - 20px)); padding: 10px 0 8px; border-radius: 12px; background: #fff;
  box-shadow: 0 2px 14px rgba(20, 20, 20, .18); }
.nb-near-map__head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 12px; font-size: 14px; color: #141414; }
.nb-near-map__close { width: 36px; height: 36px; border: 0; background: none; color: #4a4640; font-size: 22px; line-height: 1; cursor: pointer; }
.nb-near-map .nb-near-map__note { margin: 0; padding: 0 12px 6px; font-size: 11px; color: #67625b; }
.nb-near-map__list { max-height: min(300px, 40vh); margin: 0; padding: 0; list-style: none; overflow-y: auto;
  overscroll-behavior: contain; touch-action: pan-y; }
.nb-near-map__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 12px;
  border: 0; border-top: 1px solid #ebe8e2; background: none; color: #4a4640; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.nb-near-map__row:hover, .nb-near-map__row:focus-visible { background: #eef6f3; }
.nb-near-map__what { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nb-near-map__what b { color: #141414; font-weight: 600; }
.nb-near-map__what span { font-size: 11px; }
.nb-near-map__row em { flex: none; color: #1e856c; font-style: normal; font-weight: 600; white-space: nowrap; }
.nb-near-map .nb-near-map__source { margin: 0; padding: 6px 12px 0; font-size: 10px; color: #857f77; }
/* the zones' key under the buttons (Vladimir 18.10: «Зоны пешком … интуитивно не понятны» → «Вариант а») */
.nb-zone-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px !important; padding: 6px 10px;
  border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(20, 20, 20, .1); color: #4a4640;
  font: 12px/1.3 "NB Montserrat", "Montserrat", Arial, sans-serif; }
.nb-zone-key b { color: #141414; font-weight: 600; }
.nb-zone-key span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nb-zone-key i { display: inline-block; width: 16px; height: 12px; border-radius: 3px; box-sizing: border-box; }
.nb-zone-key[hidden] { display: none; }
.nb-mapfull .nb-zone-key { max-width: calc(100vw - 76px); }
/* the scale bar (Vladimir 18.10: «6») in the pictures' colours */
.nb-map--live .maplibregl-ctrl-scale, .nb-mapfull .maplibregl-ctrl-scale { border-color: #857f77; background: rgba(255, 255, 255, .85);
  color: #4a4640; font: 10px/1.4 "NB Montserrat", "Montserrat", Arial, sans-serif; }
/* the source in one line on a phone (Vladimir 18.10: «4») */
.nb-mapfull .maplibregl-ctrl-attrib-inner { white-space: nowrap; }
/* the car times (Vladimir 18.10: «5») under the walks, no heading (18.10: «можно без нее»): the car in each row says it */
.nb-near--drive { margin-top: 24px !important; }
/* Two fingers on the map's buttons zoomed the whole page on an iPhone (Vladimir 18.10): the full-screen map and the map's
   buttons keep a pinch from the page (static/nb-map.js guard() for Safari too); on a phone the categories are one line
   that scrolls sideways - three lines of buttons covered the map and caught the fingers */
.nb-mapfull, .nb-map--live .maplibregl-control-container { touch-action: none; }
.nb-mapfull .nb-cats { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100vw - 76px); padding-bottom: 2px;
  touch-action: pan-x; scrollbar-width: none; }
.nb-mapfull .nb-cats::-webkit-scrollbar { display: none; }
.nb-mapfull .nb-cats button { flex: none; }
/* while more buttons scroll in, the strip's right edge fades (Vladimir 18.10: «5») */
.nb-mapfull .nb-cats:not(.nb-cats--end) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
/* the map's bar: its buttons and the zones' key over the map, not on it (a computer; a phone's map has them on itself) */
.nb-mapbar:empty { display: none; }
@media (min-width: 768px) {
  .nb-mapbar { grid-area: bar; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
    margin-bottom: 14px; }
  .nb-mapbar .nb-cats { max-width: none; gap: 8px; }
  .nb-mapbar .nb-cats button { padding: 7px 14px 7px 8px; font-size: 13px; box-shadow: none; }
  .nb-mapbar .nb-zone-key { margin: 0 !important; padding: 0; background: none; box-shadow: none; }
  #place .nb-addr { justify-self: start; gap: 12px 40px; }
  #place .nb-map img { aspect-ratio: 16 / 10; object-fit: cover; }
  .nb-place__side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
  .nb-place__side > * { grid-column: 1; }
  .nb-place__side .nb-near--drive { grid-column: 2; grid-row: 1 / span 3; }
  #place .nb-near { margin-top: 28px !important; }
}
@media (min-width: 1024px) {
  #place .nb-map img { aspect-ratio: 16 / 7; }
}

/* У3 (20.10): the quiet way back to the catalogue over a project's name (the stand only, loader.py) */
.nb .nb-back { display: inline-block; margin-bottom: 10px; padding: 8px 0; font-size: 13px; color: var(--muted); text-decoration: none; }
.nb .nb-back:hover { color: var(--deep); }
/* the places by car right under the places on foot: one hairline between the lists, not two with a gap (Vladimir 20.10,
   a screenshot: «зачем-то двойное разделение на телефоне») */
.nb .nb-near--drive { margin-top: 0 !important; border-top: 0; }
/* 20.10, the independent layout review: the targets of the project page's links to 40 px, «Назад» on the map too */
.nb .nb-back { padding: 12px 0; }
/* 41 px: 9 px gave 37 (the review 21.10); the air above - the underline (the border) stays where it was */
.nb .nb-link { display: inline-block; padding: 13px 0 9px; }
.nb .nb-ask__tg { padding: 13px 0 9px; }
/* 360: «Написать Юлии в WhatsApp» with its icon is 278 px, the button 272 - the icon and the words went out of the green
   (21.10); there the words may take two lines */
@media (max-width: 389px) { .nb .nb-ask__btn { padding: 8px 24px; } .nb .nb-ask__btn .btn-icon + span { white-space: normal; text-align: left; } }   /* the site's pages.css keeps «.btn-icon + span» on one line */
.nb-mapfull__back { min-height: 40px; }

/* The developer's other projects - six in a row from 1280; a tablet and 1024-1279 - three in a row like every strip
   (six of 99 px at 768 and of 141 px at 1024 wrapped the names in three lines - the layout review 20.10, 8) */
@media (min-width: 1280px) { .nb-strip--dev { grid-template-columns: repeat(6, 1fr); } }

/* «Мнение Юлии» - «Портрет» (Vladimir 20.10: «Мне нравится у3»; the looks before - docs/variants/2026-10-20_mnenie-yulii-vid.md):
   her portrait first, the verdict in her words in quotes, what the review rests on, the labelled parts, her invitation
   with a quiet green WhatsApp link (no second bright button). Her text - Vladimir's own («Давай вариант 1», 20.10). */
.nb-yv-portrait { margin: 0 0 18px !important; }
.nb-yv-portrait img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; object-position: center top; background: var(--soft); }
.nb-yv-portrait figcaption { margin-top: 12px; font-size: 15px; font-weight: 500; }
.nb-yv-portrait small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.nb .nb-yv-verdict { font-size: 22px; font-weight: 300; line-height: 1.5; color: var(--ink); }
.nb-yv-verdict::before { content: "«"; }
.nb-yv-verdict::after { content: "»"; }
.nb .nb-yv-basis { margin-top: 10px !important; font-size: 13px; line-height: 1.5; color: var(--muted); }
.nb-yv-rows { display: grid; gap: 18px; margin: 24px 0 0 !important; }
.nb-yv-rows dt { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.nb-yv-rows dd { margin: 4px 0 0 !important; font-size: 16px; font-weight: 300; line-height: 1.6; color: #2b2b2b; }
.nb-yv-invite { margin-top: 24px !important; }
.nb-yv-invite p { font-size: 16px; font-weight: 300; line-height: 1.6; }
.nb .nb-yv-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 4px; color: var(--accent); font-size: 15px;
  font-weight: 500; text-decoration: none; }
.nb-yv-wa .btn-icon { width: 18px; height: 18px; fill: currentColor; }
.nb-yv-wa span { border-bottom: 1px solid currentColor; }
@media (min-width: 768px) {
  .nb-more { width: auto; min-width: 320px; margin-left: auto; margin-right: auto; }
  .nb .nb-yulia--v3 { grid-template-columns: 300px minmax(0, 42em); grid-template-areas: "label label" "who body"; column-gap: 64px; }
  .nb-yulia--v3 .nb-yv-portrait { grid-area: who; margin: 0 !important; }
  .nb-yulia--v3 .nb-yv-portrait img { aspect-ratio: 3 / 4; object-position: top center; }
  .nb-yv-body { grid-area: body; min-width: 0; }
  .nb .nb-yv-verdict { font-size: 26px; line-height: 1.45; }
}

/* A finger's 40 px on the project's map below 1024 (Vladimir 21.10: «2. Поправь»; tools/layout.py small-target): the
   categories were 34 px at 768, the zoom and «home» 29 (MapLibre's own) - 40 as on the catalogue's map */
@media (max-width: 1023px) {
  .nb-cats button { min-height: 40px; }
  .nb-map--live .maplibregl-ctrl-group button, .nb-mapfull .maplibregl-ctrl-group button { width: 40px; height: 40px; }
}

/* The legal facts in the page's own blocks (Vladimir 21.10: «Давай сделаем в шаблоне страницы этот блок» -> 26.10: the
   -l5 look, templates/nb_legal.html): quiet like the page's other tail texts - small grey labels over the values,
   hairlines; the seller and the licence in «Застройщик». */
.nb .nb-legal__rows { margin: 0; }
.nb-legal__row { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.nb-legal__row:last-child { border-bottom: 1px solid var(--line); }
.nb-legal__row dt { font-size: 12.5px; color: var(--muted); }
.nb-legal__row dd { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.55; color: #333; }
.nb-legal__row.is-missing dd { color: var(--muted); }
@media (min-width: 768px) { .nb-legal__row { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.nb-legal__note { margin-top: 16px !important; font-size: 12px; color: var(--muted); line-height: 1.5; }
.nb-legal--developer { margin-top: 28px; }
/* The energy label, MITECO's own Figura 1 («mostrar únicamente las escalas y los valores de la etiqueta, manteniendo el
   formato y las proporciones», documento reconocido «Calificación…» p. 4): one scale A-G of arrows in the label's own
   colours (sampled from Figura 1), two columns, the value a black arrow on its letter's line - black because the official
   label is, not the page's accent; 363 x 272 kept */
/* every size in the label's own width (cqw; px first for a browser without them): it shrinks on a 360 phone and grows from
   768 as the picture does, 363:272 kept (independent review 25.10: rows in px went to 0.83 at 360, «más eficiente» cut) */
.nb .nb-en1 { max-width: 340px; margin: 2px 0 10px; padding: 0; container-type: inline-size; }
@media (min-width: 768px) { .nb .nb-en1 { max-width: 440px; } }
.nb-en1__table { width: 100%; padding: 2px; border-radius: 6px; background: #e9e8e7; border-collapse: separate; border-spacing: 3px;
  border-spacing: .83cqw;   /* in the label's width too: 3 px of 363 kept its 363:272 at any size (independent review 25.10) */
  table-layout: fixed; }
.nb-en1__table th { padding: 2px 0 0; font-size: 8px; font-size: 2.3cqw; font-weight: 400; line-height: 1.2; color: #6f6d6a;
  text-align: center; vertical-align: bottom; }
.nb-en1__table th:first-child { width: 62%; font-weight: 700; text-transform: uppercase; color: #141414; text-align: left; }
.nb-en1__table th small { display: block; font-size: 7px; font-size: 2.1cqw; }
.nb-en1__table td { height: 28px; height: 8.2cqw; padding: 0 2px; background: #fff; vertical-align: middle; text-align: right; }
.nb-en1__table td:first-child { text-align: left; }
.nb-en1__bar { display: flex; align-items: baseline; gap: 3px; gap: 1cqw; height: 24px; height: 7cqw; padding-left: 5px;
  padding-left: 1.5cqw; overflow: hidden; color: #fff; font-size: 20px; font-size: 5.9cqw; font-weight: 800; line-height: 24px;
  line-height: 7cqw; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 3.5cqw) 0, 100% 50%, calc(100% - 3.5cqw) 100%, 0 100%); }
.nb .nb-en1__bar small { font-size: 7px; font-size: 2cqw; font-weight: 600; line-height: 1; color: #fff; }
.nb-en1__bar--a { width: 45%; background: #2a9847; }
.nb-en1__bar--b { width: 53%; background: #8cd024; }
.nb-en1__bar--c { width: 61%; background: #269b84; }
.nb-en1__bar--d { width: 68%; background: #e3ea14; }
.nb-en1__bar--e { width: 76%; background: #edb51c; }
.nb-en1__bar--f { width: 84%; background: #df651c; }
.nb-en1__bar--g { width: 92%; background: #e52527; }
.nb-en1__val { display: block; height: 24px; height: 7cqw; padding: 0 4px 0 12px; padding: 0 1.2cqw 0 3.5cqw; background: #100f0d;
  color: #fff; font-size: 17px; font-size: 5cqw; font-weight: 800; line-height: 24px; line-height: 7cqw; text-align: right;
  white-space: nowrap; clip-path: polygon(2.4cqw 0, 100% 0, 100% 100%, 2.4cqw 100%, 0 50%); }
