/* Страницы v2: секции, сетка 12 колонок, девять блоков. Только токены дизайн-системы.
   Раскладка ячеек по экранам задаётся CSS страницы (portal/pages/layout.py).
   Внутри ячейки блок подстраивается под свою ширину: контейнерные запросы @container cell. */

.v2-page [id], .v2-anchor { scroll-margin-top: 140px; }
.v2-anchor { display: block; height: 0; }

/* Секция ------------------------------------------------------------------------------- */
.v2-section { position: relative; }
.v2-inner { max-width: 1200px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.wd-narrow > .v2-inner { max-width: 900px; }
.wd-full > .v2-inner { max-width: none; padding-inline: 0; }
@media (min-width: 700px) { .wd-container > .v2-inner, .wd-narrow > .v2-inner { padding-inline: 40px; } }
.pad-none { padding-block: 0; }
.pad-s { padding-block: 24px; }
.pad-m { padding-block: 56px; }
.pad-l { padding-block: 76px; }
@media (max-width: 639px) { .pad-m { padding-block: 36px; } .pad-l { padding-block: 48px; } }
.bg-mist { background: var(--mist); border-bottom: 1px solid var(--line); }
.bg-band { background: var(--band); color: var(--on-band); }
.bg-band :is(h1, h2, h3, h4) { color: #fff; }
.bg-band :is(.lead, .muted, p) { color: var(--on-band); }
.bg-band .eyebrow { color: var(--yel); }
.bg-band a:not(.btn) { color: #fff; }
.bg-frame > .v2-inner > .v2-grid { border: 1px solid var(--line); border-radius: 6px; padding: 22px 26px; }
.bg-accent { background: var(--mist); border-top: 3px solid var(--accent, var(--navy)); }
.h-50, .h-75, .h-100 { display: flex; align-items: center; }
.h-50 { min-height: 50svh; } .h-75 { min-height: 75svh; } .h-100 { min-height: calc(100svh - 90px); }
.h-50 > .v2-inner, .h-75 > .v2-inner, .h-100 > .v2-inner { width: 100%; }
.v2-section.is-sticky { position: sticky; top: var(--v2-sticky-top, 0px); z-index: 20; background: var(--bg); }

/* Сетка --------------------------------------------------------------------------------- */
.v2-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; align-items: start; }
.v2-grid.align-center { align-items: center; }
@media (max-width: 1023px) { .v2-grid { column-gap: 24px; } }
@media (max-width: 639px) { .v2-grid { column-gap: 16px; row-gap: 20px; } }
.v2-cell { min-width: 0; container-type: inline-size; container-name: cell; }
.v2-cell:empty { display: none; }

/* Текст ---------------------------------------------------------------------------------- */
.v2-text > :first-child { margin-top: 0; }
.v2-text > :last-child { margin-bottom: 0; }
.v2-text .eyebrow { margin: 0 0 12px; }
.v2-h { margin: 0 0 .55em; }
.v2-text > .v2-h:not(:first-child) { margin-top: 1.3em; }
.v2-h.sz-display { font-size: clamp(28px, 7.6cqi, 44px); line-height: 1.15; }
.v2-h.sz-small { font-size: 1.15rem; }
.v2-text .lead { margin: 14px 0 22px; max-width: 62ch; }
.v2-text .lead:last-child { margin-bottom: 0; }
.v2-rich p { margin: 0 0 1em; }
.v2-rich > :last-child { margin-bottom: 0; }
.v2-text > .v2-rich + .v2-rich { margin-top: 1em; }
.v2-text.cols-2 > .v2-rich { columns: 2; column-gap: 32px; }
@container cell (max-width: 600px) { .v2-text.cols-2 > .v2-rich { columns: 1; } }
.v2-text.al-center { text-align: center; }
.v2-text.al-center .lead { margin-inline: auto; }
.v2-text.fr-line { border-left: 3px solid var(--yel); padding-left: 22px; }
.v2-text.fr-box { background: var(--mist); border-radius: 6px; padding: 24px; }
.v2-text.fr-band { background: var(--band); color: var(--on-band); padding: 24px 24px 28px; border-bottom: 3px solid var(--yel); }
.v2-text.fr-band :is(h2, h3, h4) { color: #fff; }
.v2-text.fr-box :is(h1, h2):last-child { margin-bottom: 0; }
.v2-text { font-size: 1.05rem; }
.v2-text :is(.v2-rich, .v2-quote, .v2-callout, .list-dots, .list-numbers, .list-checks) { max-width: 76ch; }
.v2-text.al-center :is(.v2-rich, .v2-quote, .v2-callout) { margin-inline: auto; }
.v2-text.fr-declaration { background: var(--band); color: var(--on-band); padding: 28px; border-radius: 10px; }
.v2-text.fr-declaration :is(h2, h3, h4) { color: #fff; }
.v2-quote { border-left: 3px solid var(--yel); padding: 24px; background: var(--mist); margin: 0 0 1em; }
.v2-list { padding-left: 22px; margin: 0 0 1em; }
.v2-list li { margin: .45em 0; break-inside: avoid; }
.v2-list.list-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; list-style: square; }
@container cell (max-width: 560px) { .v2-list.list-tools { grid-template-columns: 1fr; } }
.v2-list.list-checks { list-style: none; padding: 0; }
.v2-list.list-checks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.v2-list.list-tasks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; counter-reset: t; }
.v2-list.list-tasks li { counter-increment: t; border-top: 3px solid var(--yel); padding-top: 14px; font-size: 15.5px; margin: 0; }
.v2-list.list-tasks li::before { content: "Задача " counter(t); display: block; font-weight: 700; color: var(--yel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
:root:not([data-mode=dark]) .bg-none .v2-list.list-tasks li::before, :root:not([data-mode=dark]) .bg-mist .v2-list.list-tasks li::before { color: var(--soon-fg); }
.v2-list.list-commitments { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.v2-list.list-commitments li { border-top: 2px solid var(--yel); padding-top: 10px; margin: 0; }
.v2-list.list-commitments small { display: block; margin-bottom: 6px; opacity: .85; }
@container cell (max-width: 520px) { .v2-list.list-commitments { grid-template-columns: 1fr; } }
.v2-callout { margin: 24px 0; padding: 22px 24px; background: var(--surface); }
.v2-callout > b { display: block; font: 700 12px var(--f-body); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.v2-callout.tone-definition { border-left: 4px solid var(--navy); font: 19px/1.6 var(--f-display); }
.v2-callout.tone-definition > b { color: var(--navy); }
.v2-callout.tone-goal { background: transparent; border-left: 4px solid var(--yel); font: 20px/1.5 var(--f-display); padding-block: 8px; }
.v2-callout.tone-note { border: 1px solid var(--line); border-radius: 6px; font-size: 15px; color: var(--muted); }
@container cell (max-width: 520px) { .v2-callout { padding: 18px; } }
.v2-callout.tone-leader { border-left: 3px solid var(--yel); background: var(--mist); padding: 24px; }
.v2-callout.tone-leader > b { font: 700 1.5rem/1.25 var(--f-display); text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.v2-rich a.arrow { font-weight: 700; text-decoration: none; }
.bg-band .cards-services .concept-card { background: none; border: 0; border-top: 3px solid var(--yel); padding: 16px 0; border-radius: 0; }
.bg-band .cards-services .concept-card :is(h3, h4) { font: 700 18px var(--f-body); color: #fff; }
.v2-notes { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-top: 40px; }
.v2-notes h3 { font-size: 16px; }
.v2-notes li { margin: 14px 0; }
.v2-preparing { border: 1.5px dashed var(--line); border-radius: 6px; padding: 16px 18px; color: var(--muted); margin-top: 16px; }
.v2-contact { margin: 0 0 .6em; }

/* Кнопки ---------------------------------------------------------------------------------- */
.v2-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.v2-buttons.al-center { justify-content: center; }
.v2-buttons.al-end { justify-content: flex-end; }
.v2-buttons.al-between { justify-content: space-between; }
.v2-buttons.dir-column { flex-direction: column; align-items: flex-start; }
.v2-buttons .btn { white-space: normal; }
.v2-arrow { font-weight: 700; color: var(--link); text-decoration: none; }
.v2-arrow:hover, .v2-arrow:focus-visible { text-decoration: underline; }
@container cell (max-width: 220px) { .v2-buttons.al-end { justify-content: flex-start; } }

/* Изображение ----------------------------------------------------------------------------- */
.v2-image { --gap: 16px; display: grid; gap: var(--gap); }
.v2-image.lay-grid { grid-template-columns: repeat(auto-fill, minmax(max(140px, calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3))), 1fr)); }
.v2-image.lay-row { grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.v2-image.lay-row .v2-figure { scroll-snap-align: start; }
.v2-image.lay-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-image.lay-mosaic .v2-figure:first-child { grid-column: 1 / -1; }
@container cell (max-width: 420px) { .v2-image.lay-mosaic { grid-template-columns: 1fr; } }
.v2-figure { margin: 0; min-width: 0; }
.v2-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.v2-figure a { display: block; }
.v2-image.is-white img { background: #fff; padding: 12px; }
.v2-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.v2-figure figcaption a.v2-figure-link { display: inline-block; margin-top: 6px; color: var(--link); font-size: 13px; }
.v2-figure figcaption span { display: block; }
/* Сканы писем и дипломов: «лист» на белой подложке, подпись — организация. */
.v2-image.is-paper { --gap: 20px; }
.v2-image.is-paper .v2-figure { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 14px 16px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.v2-image.is-paper .v2-figure:hover, .v2-image.is-paper .v2-figure:focus-within { box-shadow: 0 10px 28px rgba(13, 42, 82, .12); transform: translateY(-2px); }
.v2-image.is-paper img { border-radius: 2px; background: #fff; padding: 6px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(13, 42, 82, .08); }
.v2-image.is-paper figcaption { color: var(--ink); font-size: 14px; line-height: 1.4; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .v2-image.is-paper .v2-figure { transition: none; } .v2-image.is-paper .v2-figure:hover { transform: none; } }

/* Карточки -------------------------------------------------------------------------------- */
div.v2-cards { --gap: 16px; --min: 220px; display: grid; gap: var(--gap); margin: 0;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--min), calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3))), 1fr)); }
div.v2-cards.look-direction { --min: 240px; }
div.v2-cards.look-tile { --min: 170px; --gap: 12px; margin-top: 0; }
div.v2-cards.look-leader { --min: 260px; }
div.v2-cards.concept-cards { --min: 200px; }
div.v2-cards.cards-features { --min: 180px; }
div.v2-cards.look-rubric { --min: 200px; }
div.v2-cards.look-documents { --min: 260px; }
/* Документы-файлы: «лист» с расширением, название, ссылка «Открыть PDF, 1,2 МБ». */
.v2-doc { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; transition: box-shadow .2s; }
.v2-doc:hover, .v2-doc:focus-within { box-shadow: 0 8px 24px rgba(13, 42, 82, .10); }
.v2-doc.is-ph { border-style: dashed; background: transparent; }
.v2-doc-ext { flex: none; width: 44px; height: 56px; display: grid; place-items: end center; padding-bottom: 8px; box-sizing: border-box; border: 1.5px solid var(--link); border-radius: 3px 12px 3px 3px; color: var(--link); font: 700 11px/1 var(--f-mono, monospace); letter-spacing: .04em; }
.v2-doc.is-ph .v2-doc-ext { border-color: var(--line); color: var(--muted); }
.v2-doc-body { min-width: 0; }
.v2-doc-body :is(h2, h3, h4) { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.v2-doc-body .v2-rich p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.v2-doc-body .muted { margin: 4px 0 0; font-size: 14px; }
.v2-doc-link { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--link); }
.v2-doc-link span { font-weight: 400; color: var(--muted); font-size: 14px; }
.v2-doc .stretched::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .v2-doc { transition: none; } }
.v2-cards .dir { grid-column: auto; position: relative; }
.v2-cards .dir .dir-text p { margin: 0; color: var(--muted); font-size: 15px; }
.v2-cards .leader { margin: 0; }
.v2-cards .leader p { margin: 0; }
.v2-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.look-fill .v2-card { background: var(--mist); border-color: transparent; }
.look-stripe .v2-card { border-top: 3px solid var(--c, var(--green)); }
.look-plain .v2-card { border: 0; padding: 0; background: none; }
.v2-card.is-em { border: 2px solid var(--c, var(--navy)); }
.v2-card.is-ph { border-style: dashed; background: transparent; }
.v2-card :is(h2, h3, h4) { margin: 0; font-size: 20px; line-height: 1.25; }
.v2-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.v2-card .ic { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--c, var(--navy)); }
.v2-card .chip { font-size: 12px; font-weight: 700; color: var(--link); background: var(--chip); border-radius: 999px; padding: 3px 10px; }
.v2-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.v2-card .v2-rich { color: var(--muted); font-size: 15px; }
.v2-card-link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--link); }
.v2-card-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.leader .v2-card-img { max-width: 240px; aspect-ratio: 1; margin-bottom: 12px; }

/* Схема ----------------------------------------------------------------------------------- */
.v2-radial .hub { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; }
.v2-radial .hub-phone { display: none; max-width: 400px; }
/* Телефон: та же схема с бегущими линиями, плашки парами вокруг знака (замечание заказчика 1). */
@container cell (max-width: 479px) { .v2-radial .hub:not(.hub-phone) { display: none; } .v2-radial .hub-phone { display: block; } .v2-radial .hub-phone .hub-title { font-size: 13.5px; } .v2-radial .hub-phone .hub-sub { font-size: 11px; } }
.v2-radial.no-anim .flow { animation: none; }
.v2-diagram .lean-house, .v2-diagram .list-stream { margin: 0; }
@container cell (max-width: 700px) {
  .v2-diagram .lean-house { display: flex; flex-direction: column; }
  .v2-diagram .house-value { order: 1; } .v2-diagram .house-flow { order: 2; } .v2-diagram .house-human { order: 3; }
  .v2-diagram .house-cost { order: 4; } .v2-diagram .house-result { order: 5; } .v2-diagram .house-losses { order: 6; }
  .v2-diagram .house-foundation { order: 7; }
  .v2-diagram .list-stream { grid-template-columns: 1fr; }
  .v2-diagram .list-stream li { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px)); padding-bottom: 24px; }
}
.v2-diagram .event-chart { max-width: 560px; }

/* Ленты ----------------------------------------------------------------------------------- */
.v2-wrap { min-width: 0; }
.v2-cell .v2-news { grid-template-columns: repeat(auto-fill, minmax(max(200px, calc((100% - 48px) / 4)), 1fr)); }
.v2-feed .event-formats { margin-top: 0; }
.v2-feed .document-grid { grid-template-columns: repeat(auto-fill, minmax(max(220px, calc((100% - 40px) / 3)), 1fr)); }
.v2-feed .analytics-catalog { padding: 0; }
.v2-feed .news-page > .sec:first-child { padding-top: 0; }
.v2-feed .event-calendar { margin: 0; }
@container cell (max-width: 640px) { .v2-feed .event-registry { min-width: 0; } }

/* Форма ----------------------------------------------------------------------------------- */
.v2-feedback h2 { margin-bottom: 18px; }
.v2-search > div { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-search input { flex: 1 1 220px; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 12px; font: inherit; background: var(--surface); color: var(--ink); }
.v2-search label { display: block; font-weight: 700; margin-bottom: 8px; }

/* Навигация ------------------------------------------------------------------------------- */
.v2-toc { display: grid; gap: 12px; font-size: .95rem; }
.v2-toc b { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.v2-toc a { text-decoration: none; }
.v2-toc a.sub { padding-left: 14px; font-size: .9rem; }
.v2-toc.is-sticky, .v2-onpage.is-sticky { position: sticky; top: 140px; }
@media (max-width: 1023px) {
  .v2-toc { display: flex; flex-wrap: wrap; gap: 8px 18px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .v2-toc.is-sticky, .v2-onpage.is-sticky { position: static; }
}
.v2-tabs { margin-bottom: 0; }
.v2-tabs.is-sticky { position: sticky; top: 0; background: var(--bg); z-index: 10; }
.v2-crumbs { padding-block: 0; }
.v2-onpage { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.v2-onpage h2 { font-size: 20px; margin: 0 0 16px; }
.v2-onpage a { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 12px 0; font-size: 15px; text-decoration: none; }
.v2-onpage a > span + span { font-family: var(--f-mono); }
.v2-onpage .subitem { border-top: 0; border-left: 2px solid var(--navy); margin: 6px 0 6px 18px; padding: 5px 0 5px 12px; }

/* Служебное: пустые блоки и заготовки в редакторе ------------------------------------------- */
.v2-placeholder { border: 1.5px dashed var(--line); border-radius: 6px; padding: 20px; color: var(--muted); background: var(--surface); }
.v2-placeholder p { margin: 6px 0 0; font-size: 14px; }
.v2-empty { color: var(--muted); font-size: 14px; }
.v2-embed > .v2-section:first-child { margin-top: 0; }

/* Уточнения по сравнению с прежними страницами */
.analytics-onpage.v2-onpage a .lbl { font-family: var(--f-body); }
.bg-band .btn:not(.ghost) { background: var(--yel); border-color: var(--yel); color: var(--yel-text); }
@container cell (max-width: 600px) {
  .v2-feed .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: none; }
  .v2-feed .edition::before { display: none; }
}
@container cell (max-width: 420px) { .v2-feed .editions { grid-template-columns: 1fr; } }
/* «Страницы целиком» вкладками (аудит, п. 4.2): полоса вкладок листается вбок. */
.v2-tabbar { display: flex; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.v2-tablist { position: relative; display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; flex: 1; min-width: 0; }
.v2-tablist [role="tab"] { flex: none; scroll-snap-align: start; max-width: min(340px, 85%); padding: 14px 16px 12px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink); font: inherit; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; white-space: normal; }
.v2-tablist [role="tab"][aria-selected="true"] { border-bottom-color: var(--green); }
.v2-tablist [role="tab"]:focus-visible, .v2-tabarrow:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.v2-tabarrow { flex: none; align-self: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.v2-tabarrow:disabled { opacity: .35; cursor: default; }
.v2-tabs:not(.is-ready) .v2-tabbar { display: none; }

/* Оглавление слева на всю страницу (v2-sidenav.js). */
.v2-sidenav { display: none; }
.v2-sectionbar { display: none; }
@media (min-width: 1200px) {
  body.has-sidenav { --sidenav-w: clamp(240px, 19vw, 300px); }
  body.has-sidenav main, body.has-sidenav footer { padding-left: var(--sidenav-w); }
  .v2-sidenav { display: block; position: fixed; left: 0; top: var(--sidenav-top, 96px); bottom: 0; width: var(--sidenav-w); overflow-y: auto; overscroll-behavior: contain; padding: 24px 16px 32px 24px; border-right: 1px solid var(--line); background: var(--bg); z-index: 5; font-size: .9rem; }
}
.v2-sidenav-title { margin: 0 0 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--soon-fg); }
.v2-sidenav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.v2-sidenav ol ol { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); font-size: .85rem; }
.v2-sidenav a { display: block; padding: 6px 8px; border-radius: 4px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.v2-sidenav a:hover { background: var(--mist); }
.v2-sidenav a[aria-current] { background: var(--mist); box-shadow: inset 3px 0 0 var(--green); font-weight: 700; }
@media (max-width: 1199.98px) {
  body.has-sidenav { padding-bottom: 60px; }
  .v2-sectionbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; gap: 6px; align-items: center; padding: 8px max(12px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .v2-sectionbar button { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--mist); color: var(--ink); padding: 0 14px; font-weight: 700; }
  .v2-sectionbar .v2-sectionbar-current { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-weight: 400; background: transparent; }
  .v2-sidenav.is-open { display: block; position: fixed; left: 0; right: 0; bottom: 60px; max-height: min(70vh, 560px); overflow-y: auto; z-index: 37; padding: 16px max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 2px solid var(--ink); box-shadow: 0 -8px 24px rgba(0, 0, 0, .15); }
}
.v2-feedback .req { color: var(--ink); font-weight: 700; }
.v2-feedback .form-note { margin: 0; font-size: .9rem; color: var(--muted); }

/* Телефон: компактные карточки (замечание заказчика 14). Значок рядом с заголовком, меньше отступы. */
@media (max-width: 639px) {
  .v2-cards .dir, .v2-card { padding: 16px; gap: 8px; }
  .v2-cards .dir { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; }
  .v2-cards .dir .dir-top { display: contents; }
  .v2-cards .dir .ic { width: 36px; height: 36px; grid-row: 1; grid-column: 1; }
  .v2-cards .dir .ic .ico { width: 20px; height: 20px; }
  .v2-cards .dir h3 { grid-row: 1; grid-column: 2; font-size: 17px; }
  .v2-cards .dir .chip { grid-column: 2; justify-self: start; }
  .v2-cards .dir .dir-text, .v2-cards .dir > a { grid-column: 1 / -1; }
  .v2-cards .dir .dir-text p { font-size: 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .v2-cards .dir > a { padding-top: 0; font-size: 14px; }
  .v2-card :is(h2, h3, h4) { font-size: 17px; }
  .v2-card .v2-rich, .v2-card-link { font-size: 14px; }
  .v2-card .ic { width: 36px; height: 36px; }
  div.v2-cards { --gap: 10px; }
}
.v2-figures{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:24px;margin:0}.v2-figure{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;border-top:3px solid var(--accent,var(--teal));padding-top:14px}.v2-figure dd{order:-1;margin:0;font:700 clamp(2rem,4vw,3rem)/1.05 var(--f-display);color:var(--ink);overflow-wrap:anywhere}.v2-figure dt{color:var(--muted);font-size:1rem;line-height:1.4}.v2-figure.is-empty dd{color:var(--muted)}.v2-figures-note{font-size:.85rem;color:var(--muted);margin-top:10px}
@container cell (max-width: 640px){.v2-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
