/* Единственные токены сайта: шрифты, цвета, сезонная линейка, отступ страницы. Подключается на каждой странице
   ПЕРЕД остальными стилями (site-finish.mjs → components/assets.mjs). Больше нигде не определять. Только светлая тема. */

@font-face { font-family: "Golos Text"; src: url("/fonts/golos-text-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+2000-206F, U+20A0-20CF, U+2100-215F, U+2190-21FF, U+2212, U+2248, U+2264-2265, U+25A0-25FF; }
@font-face { font-family: "Golos Text"; src: url("/fonts/golos-text-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Piazzolla"; src: url("/fonts/piazzolla-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+2000-206F, U+20A0-20CF, U+2100-215F, U+2190-21FF, U+2212, U+2248, U+2264-2265, U+25A0-25FF; }
@font-face { font-family: "Piazzolla"; src: url("/fonts/piazzolla-cyrillic.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0400-04FF; }
/* the system font stands in with the web font's metrics, so the text does not jump when the web font arrives (CLS) */
@font-face { font-family: "Golos Text Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 109.6%; ascent-override: 89.4%; descent-override: 20.1%; line-gap-override: 0%; }
@font-face { font-family: "Piazzolla Fallback"; src: local("Times New Roman"), local("Times"), local("Georgia"); size-adjust: 101.5%; ascent-override: 109.3%; descent-override: 30.5%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --paper-3: #e2dccf;
  --ink: #1b2430;
  --ink-2: #49535f;
  --ink-3: #566070;
  --line: #d8d1c3;
  --line-2: #c3bbab;
  --serif: "Piazzolla", "Piazzolla Fallback", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", "Golos Text Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  /* Цвета сезонов — из знака; вместе живут только в линейке шапки и подвала */
  --winter: #4f507b;
  --spring: #397949;
  --summer: #00929f;
  --autumn: #c0851f;
  --season-strip: linear-gradient(90deg, var(--winter) 0 25%, var(--spring) 25% 50%, var(--summer) 50% 75%, var(--autumn) 75% 100%);
  /* Отступ страницы: у страниц сайта — от ширины контейнера .page, у главной — ступенями (ниже) */
  --gut: clamp(16px, 4cqi, 56px);
}
/* Палитра страниц сайта (на главной её нет и не было) */
body:not([data-home2]) {
  --lake: oklch(60% 0.11 205);
  --lake-ink: oklch(40% 0.09 205);
  --lake-soft: oklch(93% 0.035 205);
  --sand: oklch(60% 0.11 50);
  --sand-ink: oklch(42% 0.1 50);
  --sand-soft: oklch(93% 0.035 60);
  --night: oklch(46% 0.08 285);
  --night-soft: oklch(93% 0.03 285);
  --r: 6px;
  --shadow: 0 1px 2px rgba(27, 36, 48, .06), 0 12px 32px -16px rgba(27, 36, 48, .25);
}
body[data-home2] { --gut: 16px; }
@media (min-width: 760px) { body[data-home2] { --gut: 32px; } }
@media (min-width: 1200px) { body[data-home2] { --gut: 48px; } }
/* Эксперимент «Высотомер» — общая основа страниц. Токены и шрифты — в tokens.css. Только светлая тема. */


* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* Раскладка переключается по ширине страницы-контейнера, а не окна */
.page { container: page / inline-size; min-height: 100vh; margin-inline: auto; }
html.shot-390 .page { width: 390px; margin: 0; zoom: var(--shot-zoom, 1); }
html.shot-1440 .page { width: 1440px; margin: 0; zoom: var(--shot-zoom, 1); }
body { margin: 0; font: 400 17px/1.5 var(--sans); background: var(--paper); color: var(--ink); overflow-x: clip; font-feature-settings: "tnum" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake-ink); text-decoration-color: color-mix(in oklab, var(--lake-ink) 40%, transparent); text-underline-offset: .14em; }
a:hover { color: var(--ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }
small { font-size: .85em; }
dialog { color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Шапка */
.hd { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.brand .tri { width: 14px; height: 14px; display: inline-block; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hd-nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: nowrap; justify-content: flex-end; }
.hd-nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.hd-nav a:hover { background: var(--paper-2); color: var(--ink); }
.hd-nav a[aria-current] { background: var(--ink); color: #fff; }
@container page (max-width: 1000px) { .hd-nav { display: none; } }

/* Крошки */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "→"; margin: 0 10px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.hero-t .crumbs { position: relative; z-index: 1; }

/* Первый экран */
.hero { position: relative; }
.hero-ph { margin: 0; position: relative; height: clamp(300px, 36cqi, 540px); background: var(--paper-2); overflow: hidden; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-ph figcaption { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: #fff; background: rgba(27, 36, 48, .64); padding: 3px 8px; border-radius: 999px; }
.hero-ph figcaption:empty { display: none; }
.hero-t { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding: 28px 0 8px; }
.hero h1 { font-size: clamp(48px, 8cqi, 112px); font-weight: 300; line-height: .95; letter-spacing: -.025em; margin: 10px 0 0; }
.hero h1 { overflow-wrap: anywhere; }
.hero h1 .ele { display: inline-block; vertical-align: top; margin-left: .18em; margin-top: .16em; font: 500 .22em/1.2 var(--sans); color: var(--ink-3); letter-spacing: 0; white-space: nowrap; }
.lead { font-family: var(--serif); font-size: clamp(19px, 1.6cqi, 24px); line-height: 1.35; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.hero .lead { font-size: clamp(20px, 1.9cqi, 28px); }
@container page (max-width: 860px) { .hero-t { grid-template-columns: 1fr; gap: 12px; } }

/* Приборная строка: ключевые факты */
.kf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 28px; }
.kf li { padding: 16px 20px 18px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.kf li:last-child { border-right: 0; margin-right: 0; }
.kf b { display: block; font-size: clamp(22px, 2cqi, 30px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.kf small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 6px; line-height: 1.3; }
.kf .lvl { display: inline-flex; gap: 3px; vertical-align: 2px; margin-right: 8px; }
.kf .lvl i { width: 7px; height: 7px; border-radius: 1px; background: var(--line-2); display: block; }
.kf .lvl i.on { background: var(--sand); }
@container page (max-width: 860px) { .kf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kf li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; } .kf li:nth-child(odd) { padding-right: 16px; } .kf li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } .kf li:last-child { border-bottom: 0; } }

/* Общие заголовки разделов */
.sec { padding: clamp(56px, 8cqi, 112px) 0 0; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(24px, 4cqi, 48px); }
.sec-h h2 { font-size: clamp(32px, 4cqi, 56px); font-weight: 300; letter-spacing: -.02em; }
.sec-h > div:has(> .sec-ic) { display: flex; align-items: center; gap: 10px 12px; }
.sec-h > .sec-ic { margin: 0; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
@container page (max-width: 860px) { .sec-h { grid-template-columns: 1fr; } }

/* Статусы и чипы */
.st { display: inline-block; font: 500 12px/1 var(--sans); padding: 5px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; letter-spacing: .01em; }
.st-date { color: var(--sand-ink); background: var(--sand-soft); border: 1px solid color-mix(in oklab, var(--sand) 40%, transparent); }
.st-gap { color: var(--ink-2); background: transparent; border: 1px dashed var(--line-2); }
.st-demo { color: var(--ink-3); background: var(--paper-2); font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.chip-walk::before { background: var(--lake); }
.chip-drive::before { background: var(--sand); }
.chip-night::before { background: var(--night); }
.chip-look::before { background: var(--ink); }
.badge { font: 500 12px/1 var(--sans); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.badge.in { background: var(--lake-soft); color: var(--lake-ink); }
.badge.edge { background: var(--sand-soft); color: var(--sand-ink); }
.badge.out { background: var(--paper-2); color: var(--ink-3); }

/* Маршрут: прибор слева, главы справа */
.route { padding-top: clamp(40px, 6cqi, 80px); }
.route-grid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 0 clamp(32px, 5cqi, 80px); align-items: start; }
.inst { position: static; }
@container page (min-width: 961px) { .route-grid > .rt-gpx { grid-column: 2; } .route-grid:has(> .rt-gpx) > .inst { grid-row: 1 / span 2; } }
@media (min-height: 900px) { @container page (min-width: 961px) { .inst { position: sticky; top: calc(var(--k-r1, 56px) + var(--k-r2, 44px) + 17px); } } }
.inst-map { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.inst-map img { width: 100%; }
.inst-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.inst-map .osm { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: var(--ink-2); background: rgba(246, 243, 236, .8); padding: 2px 6px; border-radius: 999px; }
.pin circle { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.pin.night circle { fill: var(--night); stroke: #fff; }
.pin text { font: 700 30px var(--sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.pin.night text { fill: #fff; }
.pin.is-on circle { fill: var(--ink); stroke: #fff; }
.pin.is-on text { fill: #fff; }
.mlab { font: 500 30px var(--sans); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 8; stroke-linejoin: round; }
.mlab.lake { fill: var(--lake-ink); font-style: italic; font-family: var(--serif); font-size: 34px; }
.mlab.peak { font-size: 26px; fill: var(--ink-2); }
.cur { fill: var(--ink); stroke: #fff; stroke-width: 5; }
.cur-ring { fill: none; stroke: var(--ink); stroke-width: 3; opacity: .35; }
.inst-prof { margin-top: 14px; }
.inst-prof svg { width: 100%; height: auto; display: block; overflow: visible; }
.inst-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ink); }
.inst-read b { display: block; font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.inst-read small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.inst-now { margin-top: 12px; font-family: var(--serif); font-size: 18px; color: var(--ink-2); min-height: 1.4em; }
.inst-now b { color: var(--ink); font-weight: 500; }
.inst-cap { margin-top: 12px; font-size: 12px; color: var(--ink-3); display: grid; gap: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 0; border-top: 3px solid var(--lake); border-radius: 2px; }
.legend .lg-drive i { border-top-style: dashed; border-color: var(--sand); }

.chapters { counter-reset: ch; }
.ch { padding: 0 0 clamp(48px, 7cqi, 96px); scroll-margin-top: 80px; }
.ch:first-child { padding-top: 0; }
.ch figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.ch figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ch figure button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: zoom-in; border-radius: var(--r); }
.ch figure button:focus-visible { outline-offset: -4px; }
.ch figure .taken { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #fff; background: rgba(27, 36, 48, .64); padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.ch-body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; padding-top: 20px; }
.ch-n { font: 300 44px/1 var(--serif); color: var(--ink-3); letter-spacing: -.02em; padding-top: 2px; }
.ch-k { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.ch-k .count { color: var(--ink-3); }
.ch h3 { font-size: clamp(26px, 2.6cqi, 36px); font-weight: 400; }
.ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 12px; }
.ch-meta .time { font-size: 14px; color: var(--ink-2); }
.ch-text { font-family: var(--serif); font-size: clamp(18px, 1.4cqi, 21px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.ch-gap { margin-top: 10px; font-size: 14px; color: var(--ink-2); max-width: 56ch; }
.ch.is-on .ch-n { color: var(--ink); }

/* Телефон: прибор — узкая липкая строка */
.strip { display: none; }
@container page (max-width: 960px) {
  .hd { position: relative; backdrop-filter: none; }
  .route-grid, .route-grid-day, .route-grid-walk, .route-grid-base, .route-grid-ring { grid-template-columns: minmax(0, 1fr); }
  .inst, .chapters, .trips { min-width: 0; }
  .strip, .strip .s-t { min-width: 0; }
  .inst { position: static; margin-bottom: 28px; }
  .inst-read b { font-size: 20px; }
  .inst-map { max-width: 520px; }
  .strip { display: flex; position: sticky; top: 0; z-index: 25; align-items: center; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 8px var(--gut); background: color-mix(in oklab, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); font-size: 13px; min-height: 48px; }
  .strip .s-ele { font-size: 20px; font-weight: 500; letter-spacing: -.01em; min-width: 72px; }
  .strip .s-t { color: var(--ink-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .strip .s-t b { color: var(--ink); font-weight: 500; }
  .strip svg { width: 110px; height: 30px; flex: none; overflow: visible; }
  .strip button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; min-height: 36px; cursor: pointer; }
  .ch-body { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; }
  .ch-n { font-size: 32px; }
}

/* Сезоны */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sp figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.sp figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp figure.tone-cold img { filter: saturate(.75) hue-rotate(-12deg) brightness(1.04); }
.sp .stub { position: absolute; left: 10px; top: 10px; font: 500 11px/1 var(--sans); padding: 5px 8px; border-radius: 999px; background: rgba(246, 243, 236, .92); color: var(--ink-2); }
.sp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 10px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.sp-h h3 { font-size: 28px; }
.sp-h span { font-size: 13px; color: var(--ink-3); }
.sp-look { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.sp-hike { margin-top: 8px; font-size: 14px; color: var(--ink); }
.sm { margin-top: 14px; border-top: 1px solid var(--line); }
.sm li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.sm li b { font-weight: 500; text-transform: capitalize; }
.sm li .badge { justify-self: end; }
.sm .t { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-2); font-size: 13px; }
.sm .t span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--lake); vertical-align: 0; }
.sm .t span.k::before { background: var(--sand); }
@container page (max-width: 1100px) { .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .seasons { grid-template-columns: 1fr; } }

/* Подходит ли */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { font-size: 24px; margin-bottom: 14px; }
.card ul.dots li { position: relative; padding-left: 20px; margin: 8px 0; color: var(--ink-2); font-size: 16px; }
.card ul.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lake); }
.card.no ul.dots li::before { background: var(--sand); border-radius: 1px; }
.dist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 40px; border-top: 1px solid var(--ink); }
.dist > div { padding: 18px 0; border-right: 1px solid var(--line); padding-right: 24px; }
.dist > div:last-child { border-right: 0; }
.dist-k { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dist-v { font-size: clamp(36px, 4cqi, 56px); font-weight: 300; font-family: var(--serif); letter-spacing: -.02em; line-height: 1.05; margin: 10px 0 8px; }
.dist p:last-child { color: var(--ink-2); font-size: 15px; }
@container page (max-width: 760px) { .fit-grid, .dist { grid-template-columns: 1fr; } .dist > div { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } .dist > div:last-child { border-bottom: 0; } }

/* В дорогу */
.legs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: leg; margin-bottom: 32px; }
.legs.legs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legs.legs-1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.leg { position: relative; padding: 18px 20px 20px 0; border-top: 3px solid var(--line-2); }
.leg-walk { border-top-color: var(--lake); }
.leg-drive { border-top-color: var(--sand); border-top-style: dashed; }
.leg-bus { border-top-color: var(--ink); }
.leg-k { font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.leg b { display: block; font-size: 18px; font-weight: 500; margin: 8px 0 6px; line-height: 1.2; }
.leg p:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
@container page (max-width: 960px) { .legs, .legs.legs-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } }
@container page (max-width: 560px) { .legs, .legs.legs-4 { grid-template-columns: 1fr; } }
.trip-sub { font-size: 24px; margin: 0 0 18px; }
.trip-grid, .before-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
@container page (max-width: 860px) { .trip-grid, .before-grid { grid-template-columns: minmax(0, 1fr); } }
.price > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price dt { color: var(--ink-2); font-size: 15px; }
.price dd { margin: 0; text-align: right; font-weight: 500; font-size: 18px; white-space: normal; overflow-wrap: anywhere; }
@container page (max-width: 560px) { .price > div { align-items: flex-start; flex-direction: column; gap: 2px; } .price dd { text-align: left; white-space: normal; } }
.price dd small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); white-space: normal; }
.price { margin: 0; }
.trip-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.safe li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.safe li b { color: var(--ink); }
.sos { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.sos b { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.sos span { font-size: 14px; color: var(--ink-2); max-width: 30ch; }
.pack { margin-top: 24px; }
/* «Что взять»: a drawing of the kit on the left, a plain list by groups on the right (pack-kit.mjs); on a phone the drawing goes on top and smaller */
.pack.kit { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.kit-art { margin: 0; }
.kit-art:empty { display: none; }
.pack.kit:has(> .kit-art:empty) { grid-template-columns: minmax(0, 1fr); }
.kit-art img { display: block; width: 100%; height: auto; border-radius: 12px; background: #f6f3ec; }
.kit-body { min-width: 0; }
.kit-body > h3 { margin: 0 0 16px; }
.kit-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.kit-groups:has(> .kit-grp:only-child) { grid-template-columns: minmax(0, 1fr); }
.kit-grp h4 { margin: 0 0 6px; font: 500 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li { position: relative; padding: 7px 0 7px 20px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.kit-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--lake); }
@container page (max-width: 760px) { .pack.kit { grid-template-columns: minmax(0, 1fr); } .kit-art { max-width: 200px; margin-inline: auto; } }
@container page (max-width: 520px) { .kit-groups { grid-template-columns: minmax(0, 1fr); } }
/* «Связь и помощь»: the numbers are chips with a gap, the card is as tall as its content */
.help-nums { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.help-nums li { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.help-nums b { font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.card.help { align-self: start; }
.checklist li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist .who { color: var(--ink-3); font-size: 13px; text-align: right; flex: none; max-width: 45%; }
.card.unknown { background: transparent; border-style: dashed; }
.card.unknown ul li { padding: 6px 0; color: var(--ink-2); font-size: 15px; }
.card.unknown ul li::before { content: "— "; color: var(--ink-3); }

/* Плёнка */
.film { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.film li { margin: 0; }
.film .ph { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.film .ph img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.film .ph:hover img { transform: scale(1.03); }
.film-cap { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); font-feature-settings: "tnum" 1; }
@container page (max-width: 1100px) { .film { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .film { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Связано */
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rel-grid > li { min-width: 0; display: flex; }
.rel-grid > li > .rel { width: 100%; box-sizing: border-box; }
.rel { display: block; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
a.rel:hover { border-color: var(--ink); }
.rel-media { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.rel-media img { width: 100%; height: 100%; object-fit: cover; }
.rel-none { display: grid; place-items: center; }
.rel-none svg { width: 72px; height: auto; fill: var(--line-2); }
.rel-count { display: grid; place-items: center; height: 100%; font: 300 64px/1 var(--serif); color: var(--ink-3); }
.rel-body { display: block; padding: 14px 16px 18px; }
.rel-k { display: block; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.rel b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; }
.rel-t { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.rel em { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
@container page (max-width: 1000px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 520px) { .rel-grid { grid-template-columns: 1fr; } }

/* Подвал */
.ft { margin-top: clamp(64px, 9cqi, 128px); border-top: 1px solid var(--line); padding: 24px 0 48px; font-size: 13px; color: var(--ink-3); }
.ft-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.ft a { color: var(--ink-2); }
.ft-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }

/* Лайтбокс */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(27, 36, 48, .92); }
.lb figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 56px 16px 24px; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb figcaption { color: #fff; font-size: 14px; text-align: center; padding: 8px 12px; margin-top: 12px; background: #1b2430; border-radius: 4px; max-width: 70ch; }
.lb button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #1b2430; color: #fff; font-size: 24px; cursor: pointer; }
.lb .lb-prev, .lb .lb-next { top: 50%; transform: translateY(-50%); font-size: 30px; }
.lb .lb-prev { left: 12px; right: auto; }
.lb .lb-next { right: 12px; }
.lb button:hover { background: #334155; }
.lb button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.mapdlg { border: 0; padding: 0; background: var(--paper); border-radius: var(--r); width: min(96vw, 720px); max-height: 94vh; overflow: auto; box-shadow: var(--shadow); }
.mapdlg::backdrop { background: rgba(27, 36, 48, .6); }
.mapdlg-hd { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mapdlg-hd h2 { font-size: 22px; }
.mapdlg-hd p { color: var(--ink-3); font-size: 13px; margin-left: auto; }
.mapdlg-x { border: 0; background: var(--paper-2); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.mapdlg .inst-map { border-radius: 0; box-shadow: none; }
.mapdlg-note { padding: 10px 16px 14px; font-size: 12px; color: var(--ink-3); }
.ctx { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.ctx button { border: 0; background: none; text-decoration: underline; cursor: pointer; color: var(--ink-2); }

/* Векторные карты из данных OSM */
.vmap { aspect-ratio: var(--ar, 1); }
.vmap svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vm-bg { fill: #ece7db; }
.vm-woods polygon { fill: oklch(86% 0.045 140); }
.vm-res polygon { fill: oklch(90% 0.012 70); stroke: oklch(84% 0.015 70); stroke-width: .02; }
.vm-rivers polyline { fill: none; stroke: oklch(72% 0.07 215); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.vm-roads polyline { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vm-area { fill: color-mix(in oklab, var(--sand) 18%, transparent); stroke: var(--sand); stroke-width: 1; stroke-dasharray: 3 3; }
.vm-halo { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.vm-seg { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.vm-done { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.vm-ray { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.vm-ray.is-on { stroke: var(--ink); stroke-width: 4; }
.vm-look { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.vm-off { stroke: var(--ink); stroke-width: 2; }
.vm-arrowhead { fill: var(--ink); }
.vm-lab { font-family: var(--sans); font-weight: 500; fill: var(--ink-2); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: .18; stroke-linejoin: round; }
.vm-lab-town { fill: var(--ink); }
.vm-lab-town.big { font-weight: 600; }
.vm-lab-r, .mp-lab-r, .mp-lab-lake { fill: oklch(55% 0.08 215); font-style: italic; font-weight: 400; }
.mp-lab-lake { font-family: var(--serif); }
.vm-lab-peak { fill: var(--ink-3); }
.vm-lab-off { fill: var(--ink); }
.vm-peak { fill: var(--ink-3); }
.vm-town { fill: var(--ink); stroke: #fff; stroke-width: .08; }
.vpin circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.vpin.approx circle { stroke-dasharray: 3 2; }
.vpin.night circle { fill: var(--night); stroke: #fff; }
.vpin text { font-family: var(--sans); font-weight: 700; fill: var(--ink); }
.vpin.night text { fill: #fff; }
.vpin.is-on circle { fill: var(--ink); stroke: #fff; }
.vpin.is-on text { fill: #fff; }
.vmap .cur { stroke-width: 2.5; }
.vmap .cur-ring { stroke-width: 1.5; }

/* Лента часов дня */
.ribbon svg { width: 100%; height: auto; overflow: visible; }
.route-grid-day { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); }
.hero h1 .thin { font-weight: 200; color: var(--ink-2); }

/* Объект культуры: порядок обхода, карточки-факты, история */
.route-grid-walk { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
.walk-plan { border-top: 1px solid var(--ink); padding-top: 12px; }
.walk-h { display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.walk-h span { color: var(--ink); }
.walk-zone { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 0 6px; display: flex; align-items: center; gap: 8px; }
.walk-zone::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.walk-zone.zn-garden::before { background: oklch(60% 0.11 140); }
.walk-zone.zn-out::before { background: var(--sand); }
.walk-zone.zn-gallery::before { background: var(--sand-ink); }
.walk-zone.zn-in::before { background: var(--night); }
.walk-i a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 8px 7px 0; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); }
.walk-i a:hover { color: var(--ink); }
.walk-n { font: 400 15px/1 var(--serif); color: var(--ink-3); }
.walk-m { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.walk-i.is-done a { color: var(--ink-3); }
.walk-i.is-on a { color: var(--ink); font-weight: 500; background: #fff; box-shadow: inset 3px 0 0 var(--ink); padding-left: 10px; }
.walk-i.is-on .walk-n { color: var(--ink); }
.chip-zn-garden::before { background: oklch(60% 0.11 140); }
.chip-zn-out::before { background: var(--sand); }
.chip-zn-gallery::before { background: var(--sand-ink); }
.chip-zn-in::before { background: var(--night); }
.ch figure.tall img { aspect-ratio: 3 / 2; object-fit: contain; position: relative; }
.ch figure.tall img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(24px) saturate(.8); transform: scale(1.15); opacity: .8; }
.fact { margin-top: 20px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); max-width: 56ch; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; }
.fact-k { flex-basis: 100%; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fact-fig { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.fact-fig b { display: block; font: 300 40px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); white-space: normal; }
.fact-fig span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; max-width: 18ch; }
.fact-t { flex: 1 1 16ch; min-width: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fact-find { flex-basis: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.fact-find b { color: var(--ink); font-weight: 500; }
.fact-find::before { content: "⌕"; display: inline-block; margin-right: 6px; font-size: 16px; color: var(--ink); transform: scaleX(-1); }

.hist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--ink); padding-top: 18px; }
.hist-i { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; }
.hist-i > .hist-y { order: 1; } .hist-i > .ph, .hist-i.no-ph::before { order: 2; } .hist-i > b { order: 3; } .hist-i > p { order: 4; }
.hist-y { display: block; font: 300 36px/1 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.hist-i .ph { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; margin-bottom: 12px; }
.hist-i .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hist-i.no-ph::before { content: ""; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); border: 1px dashed var(--line-2); margin-bottom: 12px; background: repeating-linear-gradient(135deg, transparent 0 10px, var(--paper-2) 10px 11px); }
.hist-i b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; }
.hist-i p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@container page (max-width: 1100px) { .hist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container page (max-width: 600px) { .hist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .hist-y { font-size: 28px; } }
.then-now { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.then-now figure { margin: 0; }
.then-now .ph { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.then-now .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.then-now figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.then-now figcaption b { font: 500 22px/1 var(--sans); margin-right: 10px; color: var(--ink); }
@container page (max-width: 600px) { .then-now { grid-template-columns: 1fr; } }
.pack-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container page (max-width: 520px) { .pack-grid-2 { grid-template-columns: 1fr; } }

/* База: лучи, линейка расстояний, карта жилья */
.route-grid-base { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); }
.chip-bus::before { background: var(--ink); }
.chip-trek::before { background: var(--lake-ink); }
.legend .lg-trek i { border-top-style: dotted; border-color: var(--lake-ink); }
.vm-water polygon { fill: oklch(86% 0.05 215); }
.vm-streets polyline { fill: none; stroke: #fff; stroke-width: .8; opacity: .9; }
.vm-rayg .vm-halo { stroke-width: 5; opacity: .7; }
.vm-rayg .vm-ray { stroke-width: 2; opacity: .55; }
.vm-rayg .vm-trek { stroke: var(--lake-ink); stroke-dasharray: 2 4; }
.vm-rayg .vm-bus { stroke: var(--ink-2); }
.vm-rayg.is-on .vm-ray { stroke: var(--ink); stroke-width: 3.5; opacity: 1; }
.vm-rayg.is-on .vm-halo { stroke-width: 8; opacity: 1; }
.vm-center { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.ruler svg { width: 100%; height: auto; overflow: visible; }
.rl-axis { stroke: var(--ink); stroke-width: 2; }
.rl-tick { stroke: var(--line-2); stroke-width: 2; }
.rl-t { font: 500 22px var(--sans); fill: var(--ink-3); }
.rl-pin circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; r: 18px; }
.rl-pin text { font: 700 19px var(--sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.rl-stem { stroke: var(--line-2); stroke-width: 1.5; }
.rl-pin.is-on circle { fill: var(--ink); }
.rl-pin.is-on text { fill: #fff; }
.rl-pin.is-on .rl-stem { stroke: var(--ink); }
.ch-more { margin-top: 12px; font-size: 15px; }
.stay-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@container page (max-width: 860px) { .stay-grid { grid-template-columns: 1fr; } }
.stay-map { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stay-map svg { display: block; width: 100%; height: auto; }
.stay-map figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.stay-map figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.stay-map .osm-c { margin-left: auto; color: var(--ink-3); font-size: 11px; }
.st-key { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.st-guest_house { background: oklch(60% 0.11 140); }
.st-hostel { background: var(--lake); }
.st-hotel { background: var(--sand); }
.st-other { background: var(--ink-3); }
.st-key.st-bus { background: var(--ink); border-radius: 2px; }
.st-bg { fill: #efeadf; }
.st-res { fill: oklch(91% 0.012 70); }
.st-street { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; }
.st-street.main { stroke-width: 3; }
.st-ring { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 5; }
.st-ring-t { font: 500 12px var(--sans); fill: var(--ink-2); }
.st-dot { stroke: #fff; stroke-width: 1; }
.st-dot.st-guest_house { fill: oklch(60% 0.11 140); } .st-dot.st-hostel { fill: var(--lake); } .st-dot.st-hotel { fill: var(--sand); } .st-dot.st-other { fill: var(--ink-3); }
.st-mark rect { fill: var(--ink); }
.st-mark text { font: 500 12px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3; }
.st-center circle { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.st-center text { font: 600 13px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3; }
.st-bar-h { font-size: 15px; color: var(--ink-2); }
.st-bar-h b { font: 300 40px/1 var(--serif); color: var(--ink); margin-right: 6px; }
.st-bar-row { display: flex; gap: 2px; height: 14px; border-radius: 3px; overflow: hidden; margin: 12px 0 10px; }
.st-seg { display: block; min-width: 2px; }
.st-bar-k { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.st-bar-k span { display: inline-flex; align-items: center; gap: 6px; }
.st-names-h { font: 600 15px/1.3 var(--sans); color: var(--ink); margin: 22px 0 6px; }
.st-names { list-style: none; margin: 0; padding: 0; }
.st-names li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); min-height: 44px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.st-names li b { font-weight: 600; color: var(--ink); }
.st-names li small { flex: none; font-size: 13px; color: var(--ink-2); }

/* Сводная: вопрос, карточки поездок, месяц */
.hero-q { padding-top: 28px; }
.hero-q .crumbs { margin-bottom: 20px; }
.hero-q-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: start; }
.hero-q h1 { font-size: clamp(36px, 4.6cqi, 68px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.hero-q .answer { font-size: clamp(18px, 1.5cqi, 22px); max-width: none; color: var(--ink); }
.hero-q .answer b { font-weight: 600; }
.updated { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.kf-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container page (max-width: 860px) { .hero-q-grid { grid-template-columns: 1fr; } .kf-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.when { margin-top: 14px; border-top: 1px solid var(--ink); padding-top: 10px; }
.when-k { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.months button { width: 100%; min-height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font: 500 11px/1 var(--sans); color: var(--ink-2); cursor: pointer; padding: 0 2px; }
.months button:hover { border-color: var(--ink); color: var(--ink); }
.months button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.trips { display: grid; gap: 20px; }
.trip-card { display: grid; grid-template-columns: 200px 44px minmax(0, 1fr); gap: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; scroll-margin-top: 80px; transition: opacity .25s ease; }
.trip-card.is-on { border-color: var(--ink); }
.trip-card.is-out { opacity: .45; }
.trip-card.is-out:hover, .trip-card.is-out:focus-within { opacity: 1; }
.tc-ph { display: block; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.tc-ph img { width: 100%; height: 100%; object-fit: cover; }
.tc-num { display: grid; place-items: center; height: 100%; font: 300 36px/1 var(--serif); color: var(--ink-3); }
.tc-n { font: 300 40px/1 var(--serif); color: var(--ink-3); text-align: center; padding-top: 2px; }
.trip-card.is-on .tc-n { color: var(--ink); }
.tc-k { font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.tc-body h3 { font-size: 26px; margin-bottom: 8px; }
.tc-body h3 a { color: inherit; text-decoration: none; }
.tc-body h3 a:hover { text-decoration: underline; }
.tc-t { font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--ink-2); margin-bottom: 12px; }
.tc-dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.tc-dl > div { display: contents; }
.tc-dl dt { color: var(--ink-3); }
.tc-dl dd { margin: 0; color: var(--ink-2); line-height: 1.5; }
.tc-dl dd b { color: var(--ink); }
.tc-state { margin-top: 12px; font: 500 13px/1 var(--sans); padding: 6px 10px; border-radius: 999px; display: inline-block; }
.tc-in { background: var(--lake-soft); color: var(--lake-ink); }
.tc-edge { background: var(--sand-soft); color: var(--sand-ink); }
.tc-out { background: var(--paper-2); color: var(--ink-3); }
@container page (max-width: 760px) { .trip-card { grid-template-columns: 36px minmax(0, 1fr); } .tc-ph { grid-column: 1 / -1; order: -1; margin-bottom: 12px; aspect-ratio: 16 / 9; } .tc-n { font-size: 30px; } .tc-dl { grid-template-columns: 1fr; gap: 2px; } .tc-dl dt { margin-top: 6px; } }
.mini, .longer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mini li, .longer li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.mini a { text-decoration: none; color: inherit; display: block; }
.mini a:hover b { text-decoration: underline; }
.mini b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 4px; }
.mini span { font-size: 14px; color: var(--ink-2); }
.longer li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; }
.longer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.longer h3 { font-size: 22px; margin-bottom: 6px; }
.longer p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@container page (max-width: 760px) { .mini, .longer { grid-template-columns: 1fr; } }
.tbl-wrap { overflow: auto hidden; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tbl td.num { font-size: 20px; font-weight: 500; white-space: nowrap; }
.tbl.mx th[scope="row"] { white-space: nowrap; font-weight: 500; }
.tbl.mx td { text-align: center; font-size: 11px; color: var(--ink-3); padding: 8px 4px; min-width: 30px; }
.tbl.mx td.in { background: var(--lake-soft); color: var(--lake-ink); }
.tbl.mx td.edge { background: var(--sand-soft); color: var(--sand-ink); }
.tbl.mx td.ski { background: var(--night-soft); color: var(--night); }
.tbl.mx thead th[data-m] { text-align: center; }
.mx-lg { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.mx-lg i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; background: var(--paper-2); margin-right: -8px; }
.mx-lg i:nth-of-type(1) { background: var(--lake-soft); border: 1px solid var(--lake); }
.mx-lg i:nth-of-type(2) { background: var(--sand-soft); border: 1px solid var(--sand); }
.mx-lg i:nth-of-type(3) { background: var(--night-soft); border: 1px solid var(--night); }
.mx-lg i:nth-of-type(4) { border: 1px solid var(--line-2); }
.rules li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.rules b { color: var(--ink); font-weight: 500; }
.practical-facts { border-top: 1px solid var(--ink); }
.practical-facts > div { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.8fr); gap: 16px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.practical-facts dt { font: 400 19px/1.35 var(--serif); color: var(--ink); }
.practical-facts dd { color: var(--ink-2); line-height: 1.55; max-width: 78ch; }
.practical-facts dd .st { margin-left: 6px; }
@container page (max-width: 680px) { .practical-facts > div { grid-template-columns: 1fr; gap: 8px; } .practical-facts dd { margin: 0; } }
.gseasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.gseasons li { border-top: 1px solid var(--ink); padding-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.gseasons b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); }
.gseasons small { display: block; font-size: 13px; color: var(--ink-3); margin: 2px 0 10px; }
@container page (max-width: 760px) { .gseasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--serif); font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 14px; max-width: 70ch; color: var(--ink-2); line-height: 1.5; }
.help-box { background: transparent; border-style: dashed; }
.help-tag { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.help-box h2 { font-size: 28px; margin-bottom: 8px; }
.help-box p:last-child { color: var(--ink-2); max-width: 60ch; }

/* Область: кольцо, все места, базы */
.hero-relief img { object-position: center 40%; }
.hero-relief { background: #e9e4d8; }
.route-grid-ring { grid-template-columns: minmax(320px, 520px) minmax(0, 1fr); }
.vmap-relief img { width: 100%; display: block; }
.rg-region { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .6; }
.rg-lake { fill: oklch(80% 0.07 215); fill-opacity: .3; stroke: oklch(55% 0.08 215); stroke-width: .8; }
.rg-road { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.rg-trunk { stroke-width: 1.8; }
.rg-primary { stroke-width: 1.1; opacity: .9; }
.rg-secondary { stroke-width: .6; opacity: .7; }
.rg-seg { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke: var(--sand); }
.rg-m-ring { stroke: var(--ink-2); }
.rg-m-road { stroke: var(--sand); }
.rg-m-trail { stroke: var(--lake); stroke-dasharray: 2 4; }
.rg-m-off, .rg-m-back { stroke: var(--sand); stroke-dasharray: 5 5; stroke-width: 2; }
.rg-pl { stroke: #fff; stroke-width: 1; }
.rg-c-route { fill: var(--lake); }
.rg-c-culture { fill: var(--sand); }
.rg-c-base { fill: var(--ink); }
.rg-town { fill: var(--ink); stroke: #fff; stroke-width: .6; }
.rg-town-t { font-family: var(--sans); font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linejoin: round; }
.rg-town-t.pr1 { font-weight: 600; }
.rg-town-t.pr3, .rg-town-t.pr4 { fill: var(--ink-2); }
.rg-lake-t { font-family: var(--serif); font-style: italic; fill: oklch(40% 0.08 215); paint-order: stroke; stroke: rgba(255, 255, 255, .6); stroke-width: 2; }
.legend .lg-route i { border-top-color: var(--lake); }
.legend .lg-culture i { border-top-color: var(--sand); }
.legend .lg-base i { border-top-color: var(--ink); }
.legend .lg-road i { border-top-color: #fff; border-top-width: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.rg-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); vertical-align: 0; margin-right: 6px; }
.rg-dot.rg-route { background: var(--lake); }
.rg-dot.rg-culture { background: var(--sand); }
.rg-dot.rg-base { background: var(--ink); }
.chapters-compact .ch { padding-bottom: clamp(32px, 4cqi, 56px); }
.chapters-compact .ch figure { max-width: 520px; }
.chapters-compact .ch figure img { aspect-ratio: 16 / 10; }
.ch figure.ch-thumb { aspect-ratio: 16 / 10; }
.ch figure.ch-thumb .rg-thumb { position: absolute; inset: 0; width: 100%; height: 100%; }
.chapters-compact .ch h3 { font-size: clamp(24px, 2.2cqi, 30px); }
.chapters-compact .ch-text { font-size: 18px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 12px; font: 500 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; min-height: 36px; }
.fchip { display: inline-flex; align-items: center; gap: 2px; }
.fchip small { color: var(--ink-3); margin-left: 4px; }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.fsel { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.fsel select { font: inherit; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); min-height: 36px; }
.shown { font-size: 13px; color: var(--ink-3); margin-left: auto; }
.rg-zone { margin-top: 32px; }
.rg-zone h3 { display: flex; align-items: baseline; gap: 10px; font-size: 28px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.rg-zone h3 small { font: 400 14px var(--sans); color: var(--ink-3); }
.rg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@container page (max-width: 1100px) { .rg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container page (max-width: 760px) { .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phone: two cards a row with short captions, not one long column (07.10.2026) */
@container page (max-width: 480px) {
  .rg-grid { gap: 10px; }
  .rg-grid .rg-media { aspect-ratio: 4 / 3; }
  .rg-grid .rg-body { padding: 9px 10px 11px; }
  .rg-grid .rg-k { font-size: 10px; letter-spacing: .05em; margin-bottom: 4px; }
  .rg-grid .rg-body b { font-size: 16px; }
  .rg-grid .rg-t { font-size: 12px; margin-top: 4px; }
  .rg-grid .rg-f { margin-top: 5px; }
}
.rg-card[hidden] { display: none; }
.rg-in { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; }
a.rg-in:hover { border-color: var(--ink); }
.rg-media { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); position: relative; overflow: hidden; }
.rg-media img { width: 100%; height: 100%; object-fit: cover; }
.rg-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-nophoto { position: absolute; left: 10px; bottom: 8px; font: 500 11px/1 var(--sans); color: var(--ink-3); background: rgba(246, 243, 236, .9); padding: 4px 7px; border-radius: 999px; }
.rg-body { display: block; padding: 12px 14px 14px; }
.rg-k { display: block; font: 500 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.rg-body b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; }
.rg-t { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.rg-f { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.rg-go { color: var(--lake-ink); }
.rg-f .rg-when + .rg-go { margin-inline-start: .5em; }
.rg-grid + .rg-rows { margin-top: 20px; }
.rg-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
@container page (max-width: 1100px) { .rg-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .rg-rows { grid-template-columns: 1fr; } }
.rg-row > a, .rg-row > span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; align-content: start; padding: 10px 2px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; height: 100%; }
.rg-row .rg-dot { grid-row: 1; align-self: start; margin-top: 6px; }
.rg-row b { grid-column: 2; font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.25; }
.rg-row small { grid-column: 2; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.rg-row .rg-go { grid-column: 3; grid-row: 1 / 3; align-self: center; }
.rg-row > a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.rg-empty { font-size: 14px; color: var(--ink-3); padding: 8px 0; }
.bases-fig { margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.bases-fig svg { display: block; width: 100%; min-width: 760px; height: auto; }
.rs-lake { fill: oklch(86% 0.05 215); }
.rs-lake-t { font: italic 400 22px var(--serif); fill: oklch(40% 0.08 215); }
.rs-line { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.rs-side { font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-3); }
.rs-tick { stroke: var(--line-2); }
.rs-st circle { fill: #fff; stroke: var(--ink-3); stroke-width: 1.5; }
.rs-st.has circle { fill: var(--ink); stroke: var(--ink); }
.rs-n { font: 700 11px var(--sans); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.rs-t { font: 500 12px var(--sans); fill: var(--ink); }
.rs-lead { stroke: var(--line-2); }
.rs-branch { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.rs-km { font: 400 11px var(--sans); fill: var(--ink-3); }
.rg-bases { margin-bottom: 16px; }
.mx-card { margin-top: 28px; }
.mx-card h3 { font-size: 22px; margin-bottom: 12px; }
.tbl.mtab { border: 0; }
.tbl.mtab th[scope="row"] { white-space: nowrap; font-weight: 500; }
.tbl.mtab th[scope="row"] small { color: var(--ink-3); margin-left: 6px; font-weight: 400; }
.tbl.mtab td { text-align: center; padding: 6px 2px; }
.tbl.mtab td span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 4px; font-size: 12px; background: var(--paper-2); color: var(--ink-2); }
.tbl.mtab td span:empty { background: transparent; border: 1px dashed var(--line); }
.tbl.mtab td span:not(:empty) { background: var(--lake-soft); color: var(--lake-ink); }
.mapdlg-wide { width: min(96vw, 1100px); }

/* Страна */
.hero-country img { object-position: center 55%; }
.vmap-country { overflow: hidden; }
.cn-country { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: .7; }
.cn-reg { fill: transparent; stroke: var(--ink-2); stroke-width: .8; stroke-dasharray: 3 3; opacity: .8; transition: fill .3s ease; }
.cn-reg.is-on { fill: color-mix(in oklab, var(--lake) 22%, transparent); stroke: var(--ink); stroke-dasharray: none; stroke-width: 1.6; opacity: 1; }
.cn-lakes { fill: oklch(80% 0.07 215); fill-opacity: .45; }
.cn-pl { stroke: #fff; stroke-width: .8; opacity: .85; }
.cn-pl.main { stroke-width: 1.2; opacity: 1; }
.cn-c-route { fill: var(--lake); }
.cn-c-culture { fill: var(--sand); }
.cn-c-base { fill: var(--ink); }
.legend .lg-main i { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.chip-cn-route::before { background: var(--lake); }
.chip-cn-culture::before { background: var(--sand); }
.chip-cn-base::before { background: var(--ink); }
.inst-read .span2 { grid-column: span 2; }
.cn-rgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cn-nopage { color: var(--ink-3); font-style: italic; }
.tbl.ctab th[scope="row"] small { display: block; font-size: 11px; color: var(--ink-3); margin: 0; }
.tbl.ctab td span { min-width: 34px; }
.tbl.ctab td span:not(:empty) { background: var(--paper-2); color: var(--ink); }
@container page (max-width: 1100px) { .cn-rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container page (max-width: 760px) { .cn-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rel-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rel-grid + .rel-grid, .rel-grid + .mini { margin-top: 20px; }
.lead-col { display: grid; gap: 16px; }
@container page (max-width: 1000px) { .rel-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 520px) { .rel-grid-3 { grid-template-columns: 1fr; } }

/* Телефон: узкая колонка без распора (после всех вариантов сетки, чтобы перекрыть их) */
@container page (max-width: 960px) {
  .route-grid, .route-grid-day, .route-grid-walk, .route-grid-base, .route-grid-ring { grid-template-columns: minmax(0, 1fr); }
  .inst, .chapters, .trips, .strip, .strip .s-t { min-width: 0; }
}

/* Движение */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* «Карта» in the header of every page (owner, 06.10.2026): the map of the country is one click away */
.hd-map { margin-left: 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); text-decoration: none; padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.hd-map svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.hd-map:hover { border-color: var(--ink); background: var(--paper-2); }
@container page (max-width: 1000px) { .hd-map { margin-left: auto; } }

/* Страницы мест из пакетов (build-packages.mjs → vy-place.template.html, 06.10.2026): блоки, которых нет у ручных страниц */
@container page (min-width: 861px) { .kf-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kf-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legs.legs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legs.legs-3, .legs.legs-alt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
@container page (max-width: 960px) { .legs.legs-3, .legs.legs-alt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .legs.legs-2, .legs.legs-3, .legs.legs-alt { grid-template-columns: 1fr; } }
.trip-grid-eq { align-items: start; }
.chapters-compact .ch figure.ch-none, .chapters-compact .ch figure.ch-thumb { aspect-ratio: 16 / 10; }
.sp figure.sp-none { aspect-ratio: 4 / 3; box-shadow: none; background: color-mix(in srgb, var(--s, var(--ink-3)) 9%, var(--paper)); }
.sp figure.sp-none svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp figure.sp-none .r2 { fill: var(--s, var(--ink-3)); opacity: .22; }
.sp figure.sp-none .r1 { fill: var(--s, var(--ink-3)); opacity: .38; }
.sp figure .ph { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
@container page (min-width: 1101px) {
  .hist:has(> .hist-i:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hist:has(> .hist-i:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hist:has(> .hist-i:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.in-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.in-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.in-tile span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.in-tile b { font-size: 16px; font-weight: 500; line-height: 1.2; }
.in-tile small { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.in-fig { font: 300 26px/1 var(--serif) !important; letter-spacing: -.02em; }
.in-ic { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--lake-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.in-note { background: var(--sand-soft); }
.in-note .in-ic { stroke: var(--sand-ink); }
@container page (max-width: 1100px) { .in-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .in-grid { grid-template-columns: 1fr; } }
/* «Где это»: маленькая карта страны с точкой места, факты и ссылка в Карты */
.wh-sec { padding: clamp(56px, 8cqi, 112px) 0 0; }
.wh-sec + .sec { padding-top: 48px; }
.wh-card { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.wh-map { width: 100%; height: auto; display: block; }
.wh-country { fill: var(--paper-2); stroke: var(--line-2); stroke-width: 3; stroke-linejoin: round; }
.wh-region { fill: var(--lake-soft); stroke: var(--lake); stroke-width: 3; stroke-linejoin: round; }
.wh-lake { fill: oklch(86% 0.05 220); stroke: oklch(76% 0.06 220); stroke-width: 1.5; }
.wh-halo { fill: color-mix(in oklab, var(--sand) 25%, transparent); }
.wh-dot { fill: var(--sand); stroke: #fff; stroke-width: 4; }
.wh-body h2 { font-size: 30px; margin-bottom: 14px; }
.wh-dl { margin: 0 0 14px; display: grid; gap: 7px; }
.wh-dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; }
.wh-dl dt { color: var(--ink-3); }
.wh-dl dd { margin: 0; }
.wh-maps { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.wh-ext { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.wh-hubs { margin: 4px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.wh-hubs-k { margin: 0 0 6px; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.wh-hubs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wh-hubs li { margin: 0; }
.wh-hubs a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--k-card, #fff); color: var(--lake-ink); font-size: 14px; line-height: 1.25; text-decoration: none; }
.wh-hubs a:hover, .wh-hubs a:focus-visible { border-color: var(--lake); background: var(--lake-soft); }
@container page (max-width: 720px) { .wh-card { grid-template-columns: 1fr; padding: 18px; gap: 16px; } .wh-dl div { grid-template-columns: 96px minmax(0, 1fr); font-size: 14px; } }
.fact-fig-long b { font-size: 26px; white-space: normal; max-width: 16ch; }
.hist-y { overflow-wrap: anywhere; }
@container page (max-width: 600px) { .hist-y { font-size: 24px; } .fact-fig b { white-space: normal; } }
.hist-noph .hist-i.no-ph::before { display: none; }

/* Сводные из build-guides.mjs: легенда матрицы по классам (без лыж — три отметки), таблица сравнения, климат */
.mx-lg i.lg-in { background: var(--lake-soft); border: 1px solid var(--lake); }
.mx-lg i.lg-edge { background: var(--sand-soft); border: 1px solid var(--sand); }
.mx-lg i.lg-ski { background: var(--night-soft); border: 1px solid var(--night); }
.mx-lg i.lg-out { background: var(--paper-2); border: 1px solid var(--line-2); }
.tbl.cmp th[scope="row"], .tbl.clim th[scope="row"] { font-weight: 500; color: var(--ink); white-space: nowrap; }
.tbl.cmp thead th a { color: inherit; }
.tbl td.t2 { white-space: nowrap; }
@container page (max-width: 600px) {
  .tbl.cmp, .tbl.cmp tbody, .tbl.clim, .tbl.clim tbody { display: block; border: 0; background: transparent; }
  .tbl.cmp thead, .tbl.clim thead { display: none; }
  .tbl.cmp tr, .tbl.clim tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 10px; }
  .tbl.cmp th[scope="row"], .tbl.clim th[scope="row"] { display: block; padding: 0 0 4px; border: 0; white-space: normal; font: 400 19px/1.25 var(--serif); }
  .tbl.cmp td, .tbl.clim td { display: block; padding: 6px 0 0; border: 0; }
  .tbl.cmp td::before, .tbl.clim td::before { content: attr(data-col); display: block; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
}

/* Авторы фото (site-parts.mjs → vyCredits) */
.cr { padding-top: 28px; }
.cr .crumbs { margin-bottom: 20px; }
.cr h1 { font-size: clamp(36px, 4.6cqi, 60px); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.cr-sec { margin-top: 28px; max-width: 86ch; }
.cr-sec h2 { font-size: 26px; margin-bottom: 14px; }
.cr-sec .note { color: var(--ink-2); line-height: 1.5; }
.credits { list-style: decimal; padding-left: 1.8em; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.credits li::marker { color: var(--ink-3); font-size: 13px; }
.credits b { color: var(--ink); font-weight: 500; }
.credits a { color: var(--lake-ink); overflow-wrap: anywhere; }
.sp figure .taken { position: absolute; left: 10px; bottom: 10px; font-size: 12px; color: #fff; background: rgba(27, 36, 48, .64); padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.ch figure .taken { max-width: calc(100% - 24px); }
.sp figure .taken { max-width: calc(100% - 20px); }
.ch figure .taken a, .sp figure .taken a { display: inline-flex; align-items: center; min-width: 24px; min-height: 24px; max-width: 100%; overflow-wrap: anywhere; pointer-events: auto; }
/* Страницы областей: четыре сезона над таблицей температур */
.rg-seasons { margin-bottom: 32px; }
.rg-seasons .sp-look { font-size: 16px; }
.rg-seasons .sp-look b { color: var(--ink); font-weight: 500; }
@container page (max-width: 860px) { .seasons.rg-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* Missing media keeps the same slot as a prepared photo. */
.photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; aspect-ratio: 3 / 2; background: color-mix(in oklab, var(--ink-3) 12%, var(--white, #fff)); color: var(--ink-3); font: 400 14px/1.4 var(--sans); text-align: center; box-shadow: none; }
.photo-placeholder > span { padding: 16px; }
.hero-ph > .photo-placeholder { aspect-ratio: auto; }
.ch figure.ch-none, .sp figure.sp-none { background: none; box-shadow: none; }
.sp figure.sp-none .photo-placeholder { aspect-ratio: 4 / 3; }
.rel-none > .photo-placeholder { aspect-ratio: auto; }
.photo-placeholder.sl-img { position: absolute; inset: 0; }

/* Воздух на высоте: кислород от уровня моря и температура в выбранном месяце (ala-kol.js) */
.inst-air { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); min-height: 88px; display: grid; gap: 4px; }
.inst-air[hidden] { display: none; }
.air-o2 { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 14px; color: var(--ink-2); }
.air-o2 b { font-size: 18px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.air-o2 small { font-size: 14px; color: var(--ink-3); line-height: 1.2; min-width: 0; }
.air-bar { flex: none; position: relative; width: 56px; height: 6px; border-radius: 3px; background: var(--paper-3, var(--line)); overflow: hidden; }
.air-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--v, .5)); background: var(--lake-ink); transition: transform 240ms ease; }
.air-t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink); }
.air-t select { min-height: 44px; min-width: 112px; padding: 0 10px; font: 16px/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; }
.air-deg { white-space: nowrap; font-weight: 500; }
.strip .s-col { display: flex; flex-direction: column; flex: none; line-height: 1.15; }
.strip .s-col .s-ele { min-width: 0; }
.strip .s-air { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .air-bar i { transition: none; } }
.hero-ph > button[data-photo] { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: zoom-in; }
.hero-ph > button[data-photo]:focus-visible { outline-offset: -4px; }

/* Одинокая карточка в конце сетки */
.mini:has(> li:only-child), .context-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.mini > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inst-read:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pack-grid-2:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.rel-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
@container page (min-width: 521px) { .rel-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (min-width: 1001px) {
  .rel-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rel-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .rel-grid:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container page (min-width: 521px) and (max-width: 1000px) {
  .rel-grid:not(:has(> :only-child)) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.trip-grid:has(> :only-child), .before-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@container page (min-width: 761px) {
  .trip-grid:has(> :nth-child(2):last-child), .before-grid:has(> :nth-child(2):last-child), .trip-grid:has(> :nth-child(4):last-child), .before-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-grid:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .strip { position: static; } }
/* === Гиды (UI 15.10) === */
.hero-q-grid.hero-q-cv { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "t f" "l f"; gap: 24px 56px; }
.hero-q-cv > :nth-child(1) { grid-area: t; }
.hero-q-cv > .hero-cv { grid-area: f; margin: 0; align-self: start; }
.hero-q-cv > :nth-child(3) { grid-area: l; }
.hero-cv img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
@container page (max-width: 860px) { .hero-q-grid.hero-q-cv { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "f" "l"; } }
.styles .ic, .fcards .ic, .practical-facts.has-ic .ic, .evcards .ic, .ladder .ic, .zchip .ic, .tbl.ico .ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* места под гидами: та же сетка из трёх колонок, 1–3 карточки идут слева */
@container page (min-width: 1001px) { .rel-grid.g-places, .rel-grid.g-places:has(> :nth-child(2):last-child), .rel-grid.g-places:has(> :only-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } .rel-grid.g-places > li { grid-column: auto !important; } }
/* стили бюджета */
.sec-scene { position: relative; isolation: isolate; padding-bottom: clamp(40px, 6cqi, 72px); margin-top: clamp(24px, 4cqi, 48px); }
.sec-scene::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--scene) center / cover no-repeat; opacity: .26; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); }
.sec-scene[data-scene="city"] { --scene: url(/media/art/budget-scene-city.webp); }
.sec-scene[data-scene="lake"] { --scene: url(/media/art/budget-scene-lake.webp); }
.sec-scene[data-scene="mountains"] { --scene: url(/media/art/budget-scene-mountains.webp); }
.sec-scene[data-scene="winter"] { --scene: url(/media/art/budget-scene-winter.webp); }
.sec-scene[data-scene="winter"]::before { opacity: .3; }
.sec-scene > .wrap > .sec-h > .lead, .sec-scene > .wrap > .sec-h > div > .eyebrow { color: var(--ink); }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.st-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.st-card[data-tier="2"] { border-color: var(--lake); box-shadow: 0 0 0 1px var(--lake) inset; }
.st-card h3 { font: 400 22px/1.1 var(--serif); }
.st-scale { display: flex; gap: 4px; margin: 4px 0 8px; }
.st-scale i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.st-scale i.on { background: var(--lake); }
.st-card[data-tier="3"] .st-scale i.on { background: var(--sand); }
.st-sum b { font: 400 clamp(24px, 2.4cqi, 32px)/1.05 var(--serif); letter-spacing: -.01em; }
.st-sum small { font-size: 13px; color: var(--ink-3); }
.st-usd { margin-bottom: 8px; color: var(--ink-3); font-size: 14px; }
.st-rows { display: grid; gap: 9px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.st-rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: start; font-size: 14px; line-height: 1.35; }
.st-rows .ic { color: var(--lake-ink); margin-top: 1px; }
.st-rows b { font-weight: 500; white-space: nowrap; text-align: right; }
.st-l small { display: block; margin-top: 1px; font-size: 12px; color: var(--ink-3); }
@container page (max-width: 700px) { .st-cards { grid-template-columns: minmax(0, 1fr); } }
/* таблицы: на телефоне строка — карточка */
.tbl.stack td.t-head .row-ic { vertical-align: -4px; margin-right: 8px; color: var(--lake-ink); }
.tbl.ico td.t-head { white-space: normal; }
.tbl.stack td.t-foot { font-size: 12.5px; color: var(--ink-3); }
.tchip { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--lake-soft); color: var(--lake-ink); font-weight: 500; line-height: 1.4; }
.tchip-b { background: var(--sand-soft); color: var(--sand-ink); }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--lake); vertical-align: 1px; }
.dot-warn { background: var(--sand); }
.zchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border-radius: 99px; font: 500 13px/1.3 var(--sans); white-space: nowrap; }
.zc-yes { background: var(--sand-soft); color: var(--sand-ink); }
.zc-no { background: var(--lake-soft); color: var(--lake-ink); }
.zc-ask { background: var(--paper-2); color: var(--ink-2); }
.zchip .ic { width: 16px; height: 16px; }
@container page (max-width: 640px) {
  .tbl.stack, .tbl.stack tbody { display: block; border: 0; background: transparent; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; margin-bottom: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .tbl.stack td { display: block; padding: 6px 0 0; border: 0; }
  .tbl.stack td.t-head, .tbl.stack td:first-child { padding: 0 0 2px; font: 400 19px/1.25 var(--serif); }
  .tbl.stack td[data-col]::before { content: attr(data-col); display: block; margin-bottom: 2px; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .tbl.stack td.t-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .tbl.stack td.t-foot::before { display: inline; margin: 0 6px 0 0; }
}
/* факты: карточки и строки со значком */
.fcards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcards.fc-1 { grid-template-columns: minmax(0, 1fr); }
.fcards.fc-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcard { display: grid; gap: 8px; align-content: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.fcard .fi, .practical-facts.has-ic .fi { color: var(--lake-ink); }
.fcard .fi { width: 24px; height: 24px; }
.fcard h3 { font: 400 19px/1.25 var(--serif); }
.fcard p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.practical-facts.has-ic > div { grid-template-columns: 28px minmax(160px, .6fr) minmax(0, 1.8fr); gap: 16px 24px; }
.practical-facts.has-ic .fi { margin-top: 2px; }
@container page (max-width: 900px) { .fcards.fc-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcards.fc-3:has(> :nth-child(3):last-child) > :last-child { grid-column: 1 / -1; } }
@container page (max-width: 680px) {
  .fcards, .fcards.fc-2, .fcards.fc-3 { grid-template-columns: minmax(0, 1fr); }
  .practical-facts.has-ic > div { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; }
  .practical-facts.has-ic dd { grid-column: 2; margin: 0; }
}
/* календарь: лента месяцев и события */
.ribbon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sc, var(--lake)); border-radius: var(--r); overflow: hidden; }
.mt a:hover { border-color: var(--ink-3); border-top-color: var(--sc); }
.mt[data-s="w"] { --sc: var(--night); } .mt[data-s="sp"] { --sc: var(--lake); } .mt[data-s="s"] { --sc: var(--sand); } .mt[data-s="a"] { --sc: var(--sand-ink); }
.mt-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.mt b { display: block; padding: 10px 12px 4px; font: 400 20px/1.1 var(--serif); }
.mt-c { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 12px; }
.mt-chip { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 3px 9px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; line-height: 1.3; }
@container page (max-width: 900px) { .ribbon { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container page (max-width: 560px) { .ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.evcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.evcards:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.evc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.ev-b { display: grid; place-content: center; width: 56px; height: 60px; text-align: center; border-radius: var(--r); background: var(--lake-soft); color: var(--lake-ink); }
.ev-b b { font: 400 26px/1 var(--serif); }
.ev-b small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.evc h3 { margin-bottom: 4px; font: 400 19px/1.25 var(--serif); }
.evc p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@container page (max-width: 760px) { .evcards { grid-template-columns: minmax(0, 1fr); } }
/* лестница высот */
.ladder { --nw: 210px; }
.lad-scale { position: relative; height: 22px; margin: 0 0 4px var(--nw); font-size: 12px; color: var(--ink-3); }
.lad-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.lad-scale .l1 { left: var(--l1); color: var(--sand-ink); } .lad-scale .l2 { left: var(--l2); color: var(--night); }
.lad-row { display: grid; grid-template-columns: var(--nw) minmax(0, 1fr); gap: 2px 0; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lad-n { padding-right: 14px; font: 400 18px/1.2 var(--serif); }
.lad-track { position: relative; height: 30px; }
.lad-track::before, .lad-track::after { content: ""; position: absolute; top: -8px; bottom: -8px; border-left: 2px dashed; z-index: 2; }
.lad-track::before { left: var(--l1); border-color: var(--sand); } .lad-track::after { left: var(--l2); border-color: var(--night); }
.lad-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--lake); }
.z2 .lad-track i { background: var(--sand); } .z3 .lad-track i { background: var(--night); }
.lad-track b { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); z-index: 3; font: 500 13px/1 var(--sans); color: #fff; white-space: nowrap; }
.lad-t { grid-column: 2; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@container page (max-width: 640px) { .ladder { --nw: 0px; } .lad-scale { margin-left: 0; } .lad-row { grid-template-columns: minmax(0, 1fr); } .lad-n { padding: 0 0 6px; } .lad-t { grid-column: 1; } }
/* набор вещей с галочками */
.ck-kit .kit-list { columns: 2; column-gap: 32px; }
.ck-kit .kit-list li { break-inside: avoid; padding-left: 0; }
.ck-kit .kit-list li::before { display: none; }
.ck-kit .kit-list label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ck-kit .kit-list input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lake-ink); }
.ck-kit .kit-list li:has(input:checked) span { color: var(--ink-3); text-decoration: line-through; }
@container page (max-width: 700px) { .ck-kit .kit-list { columns: 1; } }
/* === /Гиды === */
/* Kyrgyz Seasons — знак в шапке и цвета сезонов. Предложение 06.10.2026, подключается после site.css.
   Цвета сезонов — из знака (четыре вершины): зима, весна, лето, осень. Они живут только в тонких
   элементах — линейка в 3 px, точка, черта под месяцем; площади, текст и карточки цветом не заливаются. */
/* Знак в шапке: горизонтальный логотип вместо треугольника и слова */
.brand .logo { display: block; height: 34px; width: auto; }

/* Сезонная линейка: низ шапки и верх подвала */
.hd { border-bottom: 0; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--season-strip); }
.ft { border-top: 0; position: relative; }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--season-strip); }

/* Блок «Четыре сезона»: черта под заголовком и точка — цветом своего сезона */
.sp[data-season="winter"] { --s: var(--winter); }
.sp[data-season="spring"] { --s: var(--spring); }
.sp[data-season="summer"] { --s: var(--summer); }
.sp[data-season="autumn"] { --s: var(--autumn); }
.sp-h { border-bottom: 3px solid var(--s, var(--ink)); }
.sp-h h3::before { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--s, var(--ink)); margin-right: .32em; vertical-align: .14em; }

/* Месяцы в таблице температур и в выборе месяца: короткая черта цвета сезона */
[data-mc="12"], [data-mc="1"], [data-mc="2"] { --m: var(--winter); }
[data-mc="3"], [data-mc="4"], [data-mc="5"] { --m: var(--spring); }
[data-mc="6"], [data-mc="7"], [data-mc="8"] { --m: var(--summer); }
[data-mc="9"], [data-mc="10"], [data-mc="11"] { --m: var(--autumn); }
.tbl thead th[data-mc] { box-shadow: inset 0 -3px 0 var(--m); }
.months button:nth-child(12), .months button:nth-child(1), .months button:nth-child(2) { --m: var(--winter); }
.months button:nth-child(n+3):nth-child(-n+5) { --m: var(--spring); }
.months button:nth-child(n+6):nth-child(-n+8) { --m: var(--summer); }
.months button:nth-child(n+9):nth-child(-n+11) { --m: var(--autumn); }
.months button { box-shadow: inset 0 -3px 0 var(--m, transparent); }

/* Подвал сайта (07.10.2026): знак и строка о сайте, области, города, сводные по Караколу, разделы; внизу — авторы фото страницы.
   Одинаков на всех страницах, включая главную и карту (у них свой home.css), поэтому значения — с запасными */
.sf { padding: 40px 0 28px; font-size: 14px; color: var(--ink-2, #46505c); }
.sf-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.sf-brand img { display: block; height: 34px; width: auto; }
.sf-brand p { margin: 14px 0 0; max-width: 30ch; font: 400 18px/1.4 var(--serif, var(--display, Georgia, serif)); color: var(--ink, #1b2430); }
.sf-social { margin-top: 22px; }
.sf-social .sf-h { margin-bottom: 10px; }
.sf-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.sf .sf-social-link { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 0 6px; margin-left: -6px; line-height: 1; color: inherit; }
.sf .sf-social-link svg { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf .sf-social-link span { display: block; line-height: 20px; }
.sf .sf-social-link .sf-social-fill { fill: currentColor; }
.sf .sf-social-link .sf-social-dot { fill: currentColor; stroke: none; }
.sf .sf-social-link:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; border-radius: 6px; }
.sf-h { margin: 0 0 12px; font: 500 11px/1 var(--sans, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3, #6b7480); }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf a { color: var(--ink-2, #46505c); text-decoration: none; }
.sf a:hover { color: var(--ink, #1b2430); text-decoration: underline; text-underline-offset: 3px; }
.sf-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line, #ddd6c8); font-size: 13px; color: var(--ink-3, #6b7480); }
@media (max-width: 1000px) { .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .sf-in { gap: 28px 16px; } .sf-col a { display: inline-block; padding: 2px 0; } }

/* Страница 404 */
.nf { padding: clamp(56px, 10vw, 120px) 0 24px; }
.nf-k { margin: 0 0 8px; font: 500 12px/1 var(--sans); letter-spacing: .16em; color: var(--ink-3); }
.nf h1 { margin: 0; font: 400 clamp(36px, 6vw, 64px)/1.05 var(--serif); }
.nf-t { margin: 16px 0 0; max-width: 46ch; font-size: 18px; color: var(--ink-2); }
.nf-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 28px 0 0; }
.nf-go a { color: var(--ink); }
.nf-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; text-decoration: none; }
.nf-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.nf-list { column-gap: 24px; }
.nf-list li { border-bottom: 1px solid var(--line); }
.nf-list a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font: 400 20px/1.3 var(--serif); }
.nf-list a:hover { color: var(--ink-2); }

/* Контекст страницы: сводки, программы и список мест из сводной. Компонент «Высотомера», только его токены. */
.context-intro { color: var(--ink-2, #46505c); max-width: 58ch; }
.context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.context-group { min-width: 0; padding: 24px; border: 1px solid var(--line, #d8d1c3); border-radius: 10px; background: var(--white, #fff); }
.context-group h3 { margin: 0 0 16px; color: var(--ink, #1b2430); font: 400 24px/1.2 var(--serif, Georgia, serif); }
.context-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.context-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line-2, #c8c0b2); border-radius: 999px; background: var(--paper, #f6f3ec); color: var(--ink-2, #46505c); font: 500 14px/1.25 var(--sans, system-ui, sans-serif); text-decoration: none; }
.context-link:hover { border-color: var(--ink, #1b2430); color: var(--ink, #1b2430); }
.context-link span { color: var(--ink-3, #6b7480); }
@media (max-width: 680px) { .context-grid { grid-template-columns: 1fr; } .context-group { padding: 18px; } .context-link { width: 100%; } }

/* Правки техники (13.10.2026): подсказки про левую панель, цели нажатия в подвале (стили формы — в inquiry.css) */
.sf-mail { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .hint-wide { display: none; } }
@media (pointer: coarse), (max-width: 1000px) {
  .sf-col ul { gap: 0; }
  .sf-col a, .sf-base a, .sf-social-link { display: inline-flex; align-items: center; min-height: 44px; }
}
.sf-brand>a{display:inline-flex;align-items:center;min-height:44px}

/* Заявка: три шага в окне; на телефоне окно занимает весь экран. Только светлая тема. */
.trust { color: inherit; }
.trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.trust a:hover { color: var(--ink, #1b2430); }

/* Сезон без фото и без рисунка (16.10.2026): плашка того же размера — мягкий цвет сезона и линейный значок по центру; вида места не выдумываем */
.sp figure.sp-plate { aspect-ratio: 4 / 3; display: grid; place-items: center; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: none; background: color-mix(in srgb, var(--s, var(--ink-3)) 15%, var(--paper)); }
.sp figure.sp-plate img { width: clamp(72px, 40%, 136px); height: auto; aspect-ratio: 1; object-fit: contain; }
:root { color-scheme: light; --k-gut: clamp(16px, 4vw, 56px); --k-w: 1280px; --k-r1: 56px; --k-r2: 44px; --k-card: #fffdf8; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: 16px; height: 16px; }
.hd2 { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: top .28s ease; }
.hd2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--season-strip); pointer-events: none; }
.hd2.is-up { top: calc(-1 * var(--k-r1)); }
.hd2-in { width: min(var(--k-w), 100% - 2 * var(--k-gut)); margin-inline: auto; display: flex; align-items: center; gap: 20px; height: var(--k-r1); }
.hd2 .brand { display: flex; flex: none; align-items: center; }
.hd2 .logo { display: block; height: 32px; width: auto; }
.hd2-main { display: none; align-items: center; gap: 2px; margin-left: 12px; }
.hd2-main a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font: 500 15px/1.2 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.hd2-main a:hover { background: var(--paper-2); color: var(--ink); }
.hd2-main a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; padding-inline: 10px; margin-inline: 2px; }
.hd2-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hd2 .ask { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.hd2 .ask:hover { background: #2a3645; }
.hd2 .lang { position: relative; }
.hd2 .lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; }
.hd2 .lang > summary::-webkit-details-marker { display: none; }
.hd2 .lang > summary:hover, .hd2 .lang[open] > summary { background: var(--paper-2); }
.hd2 .lang[open] > summary .ic-c { transform: rotate(180deg); }
.hd2 .lang .launch-languages { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 220px; display: grid; gap: 2px; padding: 8px; background: var(--k-card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(27, 36, 48, .35); }
.hd2 .lang .launch-languages a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font: 500 15px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.hd2 .lang .launch-languages a span { width: 26px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.hd2 .lang .launch-languages a:hover { background: var(--paper-2); }
.hd2 .lang .launch-languages a[aria-current] { background: var(--paper-2); }
.hd2 .stories { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; min-width: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.hd2 .stories:hover { background: var(--paper-2); }
.hd2 .stories span { display: none; }
.hd2 .mbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.hd2 .mbtn:hover { background: var(--paper-2); }
.hd2-2 { border-top: 1px solid var(--line); }
.hd2-2 nav { width: min(var(--k-w), 100% - 2 * var(--k-gut)); margin-inline: auto; display: flex; align-items: center; gap: 2px; height: var(--k-r2); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.hd2-2 nav::-webkit-scrollbar { display: none; }
.hd2-2 a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.hd2-2 a:hover { background: var(--paper-2); color: var(--ink); }
.hd2-2 a[aria-current] { background: var(--ink); color: #fff; }
@media (min-width: 700px) { .hd2 .ask { display: inline-flex; } .hd2 .stories { padding: 0 12px; } .hd2 .stories span { display: inline; } .hd2 .mbtn { width: 38px; height: 38px; } }
@media (min-width: 1120px) { .hd2-main { display: flex; } .hd2 .mbtn { display: none; } }
@media (max-width: 699px) { :root { --k-r1: 56px; --k-r2: 40px; } .hd2 .logo { height: 28px; } .hd2-2 a { height: 30px; padding: 0 12px; } }
html { scroll-padding-top: calc(var(--k-h, 100px) + 14px); }
[id] { scroll-margin-top: calc(var(--k-h, 100px) + 14px); }
body:has(.sheet:not([hidden])) { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(27, 36, 48, .42); }
.sheet[hidden] { display: none; }
.sheet-p { width: min(440px, 100%); height: 100%; overflow-y: auto; background: var(--paper); padding: 0 20px 28px; display: flex; flex-direction: column; gap: 20px; animation: sheet-in .22s ease; }
@keyframes sheet-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-h { display: flex; align-items: center; justify-content: space-between; height: 56px; flex: none; }
.sheet-h .logo { height: 28px; width: auto; display: block; }
.sheet-x { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.sheet-l { display: grid; border-top: 1px solid var(--line); }
.sheet-l a { display: flex; align-items: center; gap: 14px; min-height: 54px; border-bottom: 1px solid var(--line); font: 500 18px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.sheet-l a .ic { width: 22px; height: 22px; color: var(--ink-2); }
.sheet-l a[aria-current] { color: var(--lake-ink); }
.sheet .ask { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 16px/1 var(--sans); text-decoration: none; }
.sheet-n { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.sheet-rt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sheet-rt a { display: grid; gap: 8px; color: var(--ink); text-decoration: none; font: 500 15px/1.25 var(--serif); }
.sheet-rt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--paper-2); display: block; }
.sheet-rt a[hidden] { display: none; }
.sheet-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 15px/1 var(--sans); color: var(--ink); }
.wrap, .hd2-in, .hd2-2 nav { --w: var(--k-w); }
.page main p, .page main li, .page main dd { max-width: 68ch; }
.page main .kf li, .page main .kf small, .page main .cc-f li, .page main .cat-lead, .page main .lead { max-width: none; }
.page main .kf b, .page main .kf small { min-width: 0; overflow-wrap: anywhere; }
.page main .kf .st { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
.page main h3 { min-width: 0; overflow-wrap: anywhere; }
.page .lead, .page .cat-lead { max-width: 68ch; }
.sec { padding-top: 48px; }
@media (min-width: 700px) { .sec { padding-top: 64px; } }
@media (min-width: 1100px) { .sec { padding-top: 80px; } }
.hero-t { grid-template-columns: 1fr; align-items: start; }
.hero-t > .lead { margin-top: 0; }
.hero h1 { font-size: clamp(34px, min(8cqi, calc(min(var(--k-w), 100cqi - 2 * var(--k-gut)) / var(--hw, 12))), 112px); }
.sec-h { grid-template-columns: 1fr; }
.sec-h h2 { font-size: clamp(28px, min(4cqi, calc(min(var(--k-w), 100cqi - 2 * var(--k-gut)) / var(--hw, 14))), 56px); }
.sec-h > p { max-width: 68ch; }
@container page (min-width: 861px) { .sec-h.sh-short:has(> p) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.hero-t .note { position: static; margin: 12px 0 0; }
.kf { display: flex; flex-wrap: wrap; gap: 4px 44px; }
.kf li { flex: 0 1 auto; max-width: 340px; margin: 0; padding: 16px 0 18px; border: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
.kf li:last-child { margin: 0; }
.kf li > .ic { grid-row: 1 / 3; margin-top: 3px; color: var(--ink-3); width: 22px; height: 22px; }
.kf li > b, .kf li > small { grid-column: 2; }
.kf li:not(:has(> .ic)) > b, .kf li:not(:has(> .ic)) > small { grid-column: 1 / -1; }
@container page (max-width: 860px) { .kf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .kf li { max-width: none; border-bottom: 1px solid var(--line); padding: 14px 0; } .kf li:nth-child(odd) { padding-right: 0; } .kf li:nth-child(even) { padding-left: 0; } }
.months-note { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.months-note > * { display: inline-flex; align-items: center; gap: 8px; }
.months-note i { margin: 0; flex: none; vertical-align: 0; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.cat { padding-bottom: 80px; }
.cat-h { padding: 28px 0 8px; }
.cat-h .crumbs { margin-bottom: 14px; }
.cat-h h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6cqi, 80px); line-height: .98; letter-spacing: -.02em; margin: 0; }
.cat-lead { margin-top: 16px; font-family: var(--serif); font-size: clamp(19px, 1.6cqi, 24px); line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.cat-wrap { width: min(var(--k-w), 100% - 2 * var(--k-gut)); margin-inline: auto; }
.flt { margin-top: 28px; padding: 18px 0 6px; border-top: 1px solid var(--ink); display: grid; gap: 14px; }
.flt[hidden] { display: none; }
.flt-g { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
.flt-g > b { font: 600 12px/34px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.flt-c { display: flex; flex-wrap: wrap; gap: 8px; }
.chp { display: inline-flex; white-space: nowrap; flex: none; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer;  }
.chp:hover { background: var(--paper-2); }
.chp[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chp .ic { width: 16px; height: 16px; }
.flt-tg { display: none; }
@media (max-width: 640px) {
.flt-tg { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; margin-top: 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.flt-tg[hidden] { display: none; }
.flt-tg[aria-expanded="true"] { background: var(--ink); color: #fff; }
.flt-tg + .flt { margin-top: 14px; }
.flt.is-shut { display: none; }
.flt-g { grid-template-columns: minmax(0, 1fr); }
}
.flt-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-bottom: 14px; font: 500 14px/1.2 var(--sans); color: var(--ink-3); }
.flt-bar button { background: none; border: 0; color: var(--ink); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px 0; }
.flt-bar button[hidden] { display: none; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 12px; }
@media (min-width: 640px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1060px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.cgrid > li { min-width: 0; }
.cgrid > li[hidden] { display: none; }
.cgrid > li.wide { grid-column: span 2; }
.cgrid > li.wide .cc-img { aspect-ratio: 2 / 1; }
.cc { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--k-card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cc:hover { border-color: var(--line-2); box-shadow: 0 14px 30px -20px rgba(27, 36, 48, .4); }
.cc:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-img { display: block; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; position: relative; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-img.none { display: grid; place-items: center; color: var(--line-2); }
.cc-img.none .ic { width: 44px; height: 44px; stroke-width: 1.2; }
.cc-ty { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; background: rgba(255, 253, 248, .94); color: var(--ink); font: 500 13px/1 var(--sans); }
.cc-ty .ic { width: 16px; height: 16px; }
.cc-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cc-t { font: 500 22px/1.15 var(--serif); letter-spacing: -.005em; }
.cc-t a { color: var(--ink); text-decoration: none; }
.cc-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cc:hover .cc-t a { text-decoration: underline; }
.cc-f { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 14px/1.2 var(--sans); color: var(--ink-2); }
.cc-f li { display: inline-flex; align-items: center; gap: 6px; }
.cc-f .ic { width: 17px; height: 17px; color: var(--ink-3); }
.cc-l { font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: none; }
.sb { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; margin-top: auto; padding-top: 2px; }
.sb i { height: 6px; border-radius: 1px; background: var(--line); }
.sb i[data-s="in"] { background: var(--lake); }
.sb i[data-s="edge"] { background: repeating-linear-gradient(135deg, var(--sand) 0 2px, oklch(86% 0.06 60) 2px 4px); }
.sb i.cur { box-shadow: 0 0 0 1px var(--k-card), 0 0 0 2.5px var(--ink); }
.cnone { padding: 48px 0 24px; text-align: center; color: var(--ink-2); }
.cnone[hidden] { display: none; }
.cnone button { margin-top: 12px; }
.mt { align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; padding: 3px 11px; border-radius: 999px; font: 600 12px/1.2 var(--sans); letter-spacing: .01em; background: var(--paper-2); color: var(--ink-2); }
.mt[hidden] { display: none; }
.mt[data-k="in"] { background: var(--lake-ink); color: #fff; }
.mt[data-k="edge"] { background: oklch(93% 0.06 70); color: oklch(38% 0.08 55); }
.mt[data-k="off"] { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.mt[data-k="verify"], .mt[data-k="closed"] { background: var(--line); color: var(--ink-2); }
.cc[data-st="verify"], .cc[data-st="closed"] { background: var(--paper-2); }
.cc[data-st="verify"] .cc-img img, .cc[data-st="closed"] .cc-img img { filter: grayscale(1); opacity: .62; }
.cc[data-st="verify"] .cc-t a, .cc[data-st="closed"] .cc-t a { color: var(--ink-3); }
.cgrid > li.gh { grid-column: 1 / -1; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sh-x { margin-left: auto; }
.sh-x[aria-pressed="true"] { font-weight: 600; }
#now .grp .cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(-1 * var(--gut, 16px)); padding-inline: var(--gut, 16px); scroll-padding-inline: var(--gut, 16px); }
#now .grp .cards::-webkit-scrollbar { display: none; }
#now .grp .cards > .card { flex: 0 0 calc((100% - 3 * 20px) / 4.3); scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; overflow: hidden; }
#now .grp .cards .card-img { aspect-ratio: 3 / 2; border-radius: 0; }
#now .grp .cards .card-b { padding: 14px 16px 16px; gap: 8px; }
#now .grp .cards .card-l { display: none; }
@media (max-width: 1099px) { #now .grp .cards > .card { flex-basis: calc((100% - 2 * 16px) / 2.3); } }
@media (max-width: 699px) { #now .grp .cards > .card { flex-basis: 78%; } #now .grp .cards { gap: 14px; } }
.now-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; }
.now-all:hover { background: var(--paper-2); }
.now-arr { display: none; }
@media (prefers-reduced-motion: reduce) { .sheet-p { animation: none; } .hd2 { transition: none; } }
.chp .n { font-size: 12px; font-weight: 600; opacity: .75; font-variant-numeric: tabular-nums; }
.chp[aria-pressed="true"] .n { opacity: .75; }
.chp:disabled, .chp.off { opacity: .42; cursor: not-allowed; background: transparent; }
.chp:disabled:hover { background: transparent; }
.mw { align-self: flex-start; font: 500 12px/1.3 var(--sans); color: var(--ink-3); }
.mw[hidden] { display: none; }
.cn-sug { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center; align-items: center; color: var(--ink-3); font: 500 14px/1.2 var(--sans); }
.cn-sug[hidden] { display: none; }
.rg-zone:has(> .rg-empty:not([hidden])) { display: none; }
.rg-note { margin-top: .75rem; font-size: .95em; opacity: .85; }
.ft-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ft-cards .cc-img { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .ft-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; } .ft-cards .cc { flex-direction: row; } .ft-cards .cc-img { flex: 0 0 38%; aspect-ratio: auto; } }
.safe .ic-li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.ic-li .ti { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lake-soft); color: var(--lake-ink); }
.ic-li .ti .ic { width: 20px; height: 20px; }
.ic-li > div { min-width: 0; }
.legs-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;list-style:none;margin:0;padding:0}
.legs-steps .leg-step{border:1px solid var(--line,#e5e0d4);border-radius:14px;background:#fff;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.legs-steps .leg-k{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;text-transform:none;letter-spacing:0}
.legs-steps .leg-n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--lake-soft,#e3f0f2);font-weight:700;font-size:.85rem}
.legs-steps .st-chip{color:var(--ink,#1b2a2f);display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;background:var(--sand,#f3ead8);font-size:.82rem;white-space:nowrap}
.legs-steps .st-chip svg{width:14px;height:14px}
.legs-steps .leg-step>p:last-child{margin:0}
.indep{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:stretch}
.indep .cc-wide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);margin:0}
.indep .cc-wide .cc-img{aspect-ratio:3/2;height:100%}
.indep .cc-wide .cc-img img{width:100%;height:100%;object-fit:cover}
.indep-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;margin:0;padding:0;align-content:start}
@media (max-width:900px){.indep{grid-template-columns:1fr}.indep .cc-wide{grid-template-columns:1fr}}
html:not([lang="ru"]) .tbl.mx th[scope="row"]{white-space:normal;min-width:8em;max-width:12em;overflow-wrap:anywhere}
html:not([lang="ru"]) .safe li{overflow-wrap:anywhere}
html:not([lang="ru"]) .safe li>div{min-width:0}
html[lang="ky"] .hero h1::first-letter{text-transform:uppercase}
.hero-in { grid-template-columns: minmax(0, 1fr); }
.hz { order: -1; grid-column: 1 / -1; position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--paper-2); aspect-ratio: 4 / 3; }
.hz picture, .hz img { display: block; width: 100%; height: 100%; }
.hz img { object-fit: cover; object-position: 50% 60%; transition: opacity .35s ease; }
.hz.ld img { opacity: .55; }
@media (min-width: 640px) { .hz { aspect-ratio: 16 / 9; } }
@media (min-width: 960px) { .hz { aspect-ratio: auto; height: clamp(300px, 31vw, 450px); } .hz img { object-position: 50% 55%; } }
.hero { padding-bottom: 32px; }
@media (min-width: 960px) { .hero { padding: 28px 0 48px; } .hero-in { gap: 32px; } }
#now.sec { padding-top: 40px; }
@media (min-width: 1100px) { #now.sec { padding-top: 56px; } }
.cc-st { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; }
.cc-st i { display: none; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .01em; box-shadow: 0 2px 8px -2px rgba(27, 36, 48, .35); }
.cc-st i .ic { width: 15px; height: 15px; stroke-width: 2; }
.cc-st .s-in { background: var(--lake-ink); color: #fff; }
.cc-st .s-edge { background: oklch(93% 0.06 70); color: oklch(38% 0.08 55); }
.cc[data-st="in"] .s-in, .cc[data-st="edge"] .s-edge, #grp-in .cc-st .s-in, #grp-edge .cc-st .s-edge { display: inline-flex; }
.cc-img.none .cc-st { left: 12px; bottom: 12px; }
.card.cc2 { padding: 0; border: 0; background: none; display: block; overflow: visible; }
.card.cc2 .cc { height: 100%; }
.card.cc2 .cc-t { font-size: 20px; }
#now .grp .cards > .pcard { flex: 0 0 calc((100% - 3 * 20px) / 4.3); scroll-snap-align: start; min-width: 0; }
#now .grp .cards > .pcard .cc { height: 100%; }
#now .grp .cards > .pcard[hidden] { display: none; }
#now .grp .cards > .card.cc2 { overflow: visible; }
@media (max-width: 1099px) { #now .grp .cards > .pcard { flex-basis: calc((100% - 2 * 16px) / 2.3); } }
@media (max-width: 699px) { #now .grp .cards > .pcard { flex-basis: 78%; } }
.grp--pl { margin-top: 44px; }
#now .grp .cards > .card .cc-img { aspect-ratio: 3 / 2; }
body[data-home2] { --lake: var(--in); --lake-ink: var(--in-ink); --lake-soft: var(--in-soft); --sand: var(--edge); }
.sec-h { row-gap: 14px; }
#now .grp .cards > .card.cc2, #now .grp .cards > .pcard { flex: 1 0 calc((100% - 3 * 20px) / 4.3); max-width: 460px; }
@media (max-width: 1099px) { #now .grp .cards > .card.cc2, #now .grp .cards > .pcard { flex-basis: calc((100% - 2 * 16px) / 2.3); } }
@media (max-width: 699px) { #now .grp .cards > .card.cc2, #now .grp .cards > .pcard { flex-basis: 78%; max-width: none; } }
.cat-h { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; align-items: center; padding: 20px 0 8px; }
.cat-ht { min-width: 0; }
@media (min-width: 860px) {
.cat-h { padding-top: 28px; }
}
@media (min-width: 1060px) {
.cgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cgrid > li { grid-column: span 2; }
.cgrid > li.t2 { grid-column: span 3; }
.cgrid > li.t1 { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
.cgrid > li.t1 { grid-column: 1 / -1; }
.cgrid > li.t1 .cc { flex-direction: row; }
.cgrid > li.t1 .cc-img { flex: 0 0 50%; aspect-ratio: auto; min-height: 260px; }
.cgrid > li.t1 .cc-b { justify-content: center; padding: 24px 28px; }
.cgrid > li.t1 .cc-t { font-size: 28px; }
.cgrid > li.t2 .cc-img { aspect-ratio: 16 / 10; }
}
.cgrid { margin-bottom: 0; }
.page main .cgrid > li { max-width: none; }
.cnone { display: grid; justify-items: center; gap: 4px; }
.cnone[hidden] { display: none; }
.cnone-im { display: block; width: min(360px, 80%); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin: 0 auto 12px; }
.cnone p { max-width: 40ch; }
.cat { padding-bottom: 0; }
.ft { margin-top: clamp(56px, 6cqi, 80px); }
.sheet-l a { gap: 14px; padding: 8px 0; min-height: 64px; }
.sheet-l a .sh-im { flex: none; width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--paper-2); }
.sheet-l a span { flex: 1; min-width: 0; }
.sheet-l a .ic { order: 3; margin-left: auto; }
.pl2 .pl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 0; align-items: start; }
.pl2 .pl-grid.pl-solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1060px) {
.pl2 .pl-grid:not(.pl-solo) { grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 400px); gap: 56px; padding-top: 24px; }
.pl-side { position: sticky; top: calc(var(--k-h, 100px) + 16px); }
}
.pl-main { min-width: 0; }
.pl-main > .sec:first-child { padding-top: 0; }
.pl-main > * + .sec { padding-top: 56px; }
@media (min-width: 1100px) { .pl-main > * + .sec { padding-top: 64px; } }
.pl-main > .sec.pl-s { padding-bottom: 0; }
.pl-in { width: 100%; }
.pl-s .sec-h h2 { font-size: clamp(26px, calc((min(var(--k-w), 100vw - 2 * var(--k-gut)) - 4px) / var(--hw, 14)), 44px); text-wrap: balance; }
@media (min-width: 1060px) { .pl2 .pl-grid:not(.pl-solo) .pl-s .sec-h h2 { font-size: clamp(26px, calc((min(var(--k-w), 100vw - 2 * var(--k-gut)) - 436px) / var(--hw, 14)), 44px); } }
.pl-s .sec-h { margin-bottom: 20px; }
.pl-s .sec-h > p, .pl-s .lead { max-width: 68ch; }
.pl-ins { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); }
.pl-main > .pl-ins:first-child { margin-top: 0; }
.pl-ins > .ic { width: 28px; height: 28px; color: var(--lake-ink); margin-top: 2px; stroke-width: 1.4; }
.pl-ins b { display: block; font: 500 20px/1.2 var(--serif); margin-bottom: 6px; }
.pl-ins p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.pl-ins p + p { margin-top: 8px; }
.pl-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .pl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.pl-tiles > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); max-width: none; }
.pl-tile { display: block; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.pl-tiles h3 { font: 500 19px/1.2 var(--serif); margin: 2px 0 6px; }
.pl-tiles p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: none; }
@media (max-width: 480px) { .pl-tiles > li { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px; } .pl-tile { width: 72px; height: 72px; } }
.pl-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; align-items: start; }
@media (min-width: 900px) { .pl-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-faq details { border-bottom: 1px solid var(--line); padding: 4px 0 8px; }
.pl-faq summary { font-size: 19px; line-height: 1.25; cursor: default; padding: 12px 0 6px; }
.pl-faq summary::after { display: none; }
.pl-faq details p { padding: 0 0 6px; max-width: none; font-size: 16px; }
.pl-side { display: grid; gap: 20px; min-width: 0; }
.pl-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); min-width: 0; }
.pl-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 20px/1.2 var(--serif); }
.pl-h .ic { width: 22px; height: 22px; color: var(--lake-ink); }
.pl-map { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--paper-2); box-shadow: none; position: relative; text-align: left; }
.pl-map img { display: block; width: 100%; height: auto; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.pl-chips li { display: inline-flex; align-items: center; gap: 6px; max-width: none; }
.pl-chips .ic { width: 16px; height: 16px; color: var(--ink-3); }
.pl-foot { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); max-width: none; }
.pl-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pl-foot .ic { width: 16px; height: 16px; }
.pl-foot .wh-maps { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.pl-bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.pl-bar i { display: grid; gap: 5px; justify-items: center; font-style: normal; }
.pl-bar i::before { content: ""; display: block; width: 100%; height: 12px; border-radius: 2px; background: var(--line); }
.pl-bar i[data-s="in"]::before { background: var(--lake); }
.pl-bar i[data-s="edge"]::before { background: repeating-linear-gradient(135deg, var(--sand) 0 2px, oklch(86% 0.06 60) 2px 4px); }
.pl-bar span { font: 500 10px/1 var(--sans); color: var(--ink-3); max-width: 100%; overflow: hidden; text-overflow: clip; white-space: nowrap; }
.pl-leg { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.pl-leg li { display: flex; align-items: flex-start; gap: 8px; max-width: none; }
.pl-leg .ic { width: 18px; height: 18px; margin-top: 1px; }
.pl-leg .l-in .ic { color: var(--lake-ink); }
.pl-leg .l-edge .ic { color: oklch(52% 0.1 55); }
#place-routes .rel-grid, #enrich-place-comparison .rel-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
#place-routes .rel-t, #enrich-place-comparison .rel-t { max-width: 68ch; }
.film { display: flex; flex-wrap: wrap; gap: 12px; }
.film li { flex: 1 1 calc(25% - 12px); min-width: 140px; }
.film .ph img { aspect-ratio: auto; height: 200px; }
@media (min-width: 1100px) { .film li { flex-basis: calc(16.6% - 12px); } }
.sec-h h2 { font-size: clamp(18px, min(max(4cqi, 28px), calc(min(var(--k-w), 100cqi - 2 * var(--k-gut)) / var(--hw, 14))), 56px); }
.pl2 .pl-mapw{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden}
.pl2 .pl-mapw .inst-map{width:100%;height:100%;margin:0}
.pl2 .pl-mapw svg{width:100%;height:100%;display:block}
.pl2 .pl-open{position:absolute;inset:0;background:transparent;border:0;cursor:pointer}
.pl2 main p+p,.pl2 .pl-main p+p,.pl2 .pl-in p+p{margin-top:.9em}
.page main p+p{margin-top:.9em}
.pl2 #enrich-place-practice .pl-tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.pl2 #enrich-place-practice .pl-tiles>li{max-width:none}
.sec-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: clamp(26px, 3.6cqi, 40px); height: clamp(26px, 3.6cqi, 40px); margin: 0; border-radius: clamp(8px, 2.4cqi, 12px); background: var(--lake-soft); color: var(--lake-ink); vertical-align: middle; }
.sec-ic .ic { width: 56%; height: 56%; stroke-width: 1.6; }
.sec-h > div:has(> .sec-ic) { display: flex; align-items: center; gap: 10px 12px; }
.sec-h > .sec-ic { grid-column: 1 / -1; justify-self: start; }
.wrap > .sec-ic { margin-bottom: 0; }
.hero .sec-ic { display: none; }
.sec-h:has(.sec-ic) h2 { font-size: clamp(18px, min(max(4cqi, 28px), calc((min(var(--k-w), 100cqi - 2 * var(--k-gut)) - 52px) / var(--hw, 14))), 56px); }
.pl-s .sec-h:has(.sec-ic) h2 { font-size: clamp(26px, calc((min(var(--k-w), 100vw - 2 * var(--k-gut)) - 56px) / var(--hw, 14)), 44px); }
@media (min-width: 1060px) { .pl2 .pl-grid:not(.pl-solo) .pl-s .sec-h:has(.sec-ic) h2 { font-size: clamp(26px, calc((min(var(--k-w), 100vw - 2 * var(--k-gut)) - 492px) / var(--hw, 14)), 44px); } }
.ic.fi { width: 20px; height: 20px; flex: none; margin-right: 8px; vertical-align: -4px; stroke-width: 1.6; color: var(--lake-ink); }
.practical-facts dt:has(> .fi), .trip-grid .card > h3:has(> .fi) { display: flex; align-items: flex-start; }
.practical-facts dt .fi, .trip-grid .card > h3 .fi { margin-top: .1em; }
.leg-k .fi { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
[id^="enrich-place-"] .sec-h { grid-template-columns: minmax(0, 1fr); }
.enr-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.enr-text p { max-width: 64ch; font-size: 19px; line-height: 1.6; margin: 0; }
.enr-text p + p { margin-top: 1em; }
.enr-solo { display: block; max-width: 68ch; margin-inline: auto; }
.enr-fig { margin: 0; }
.enr-fig .ph { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.enr-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.enr-fig figcaption { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
#enrich-place-nature .enr-fig, #enrich-place-photo .enr-fig { order: -1; }
@media (max-width: 860px) {
.enr-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
#enrich-place-nature .enr-fig, #enrich-place-photo .enr-fig { order: 0; }
.enr-fig { order: -1; }
.enr-text p { font-size: 17px; }
}
.pl-s .enr-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pl-s .enr-text p { max-width: 68ch; }
.pl-s .enr-fig { order: 0 !important; max-width: 520px; }
[id^="enrich-place-"] .practical-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; border-top: 0; }
[id^="enrich-place-"] .practical-facts > div { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); }
[id^="enrich-place-"] .practical-facts dt { font: 500 19px/1.25 var(--serif); margin: 0 0 8px; }
[id^="enrich-place-"] .practical-facts dd { margin: 0; font-size: 16px; line-height: 1.55; max-width: none; }
#enrich-place-faq .faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; align-items: start; }
@media (min-width: 900px) { #enrich-place-faq .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#enrich-place-faq .faq details p { max-width: none; font-size: 16px; }
[data-route2] .hero .kf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; border-top: 0; margin-top: 28px; }
[data-route2] .kf li { max-width: none; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); align-items: center; column-gap: 14px; }
[data-route2] .kf li:nth-child(odd), [data-route2] .kf li:last-child { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-route2] .kf li > .ic { grid-row: 1 / 3; margin: 0; width: 28px; height: 28px; stroke-width: 1.4; color: var(--lake-ink); }
[data-route2] .kf b { font-size: clamp(19px, 1.6cqi, 24px); font-weight: 500; line-height: 1.15; }
[data-route2] .kf small { margin-top: 4px; font-size: 13px; }
@media (max-width: 480px) {
[data-route2] .hero .kf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
[data-route2] .kf li { padding: 12px; column-gap: 10px; }
[data-route2] .kf li:last-child:nth-child(odd) { grid-column: 1 / -1; }
[data-route2] .kf li > .ic { width: 22px; height: 22px; }
[data-route2] .kf b { font-size: 17px; overflow-wrap: anywhere; }
}
[data-route2] .chapters .ch { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; margin: 0 0 20px; background: var(--k-card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
[data-route2] .chapters .ch, [data-route2] .chapters li { max-width: none; }
[data-route2] .chapters-compact .ch figure { max-width: none; }
[data-route2] .chapters .ch:last-child { margin-bottom: 0; }
[data-route2] .chapters .ch figure { border-radius: 0; box-shadow: none; }
[data-route2] .chapters .ch figure img:not(.bg) { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
[data-route2] .chapters .ch figure.tall img:not(.bg) { object-fit: contain; }
[data-route2] .chapters .ch-body { padding: 18px 20px 22px; grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; }
[data-route2] .chapters .ch-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; font: 500 18px/1 var(--sans); background: var(--lake-soft); color: var(--lake-ink); letter-spacing: 0; }
[data-route2] .chapters .ch.is-on .ch-n { background: var(--lake-ink); color: #fff; }
[data-route2] .chapters .ch h3 { font-size: clamp(22px, 2.1cqi, 28px); }
[data-route2] .chapters .ch-text { max-width: none; font-size: clamp(16px, 1.25cqi, 18px); }
[data-route2] .chapters .ch-k { margin-bottom: 8px; }
@media (min-width: 760px) {
[data-route2] .chapters .ch { grid-template-columns: minmax(200px, 38%) minmax(0, 1fr); }
[data-route2] .chapters .ch:not(:has(> figure)) { grid-template-columns: minmax(0, 1fr); }
[data-route2] .chapters .ch figure { position: relative; min-height: 240px; }
[data-route2] .chapters .ch figure img:not(.bg) { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
[data-route2] .chapters .ch-body { padding: 22px 26px 24px; align-content: start; }
}
.chip .ic { width: 15px; height: 15px; stroke-width: 1.8; flex: none; }
.chip:has(> .ic)::before { display: none; }
.chip-walk { color: var(--lake-ink); background: var(--lake-soft); }
.chip-drive { color: var(--sand-ink); background: var(--sand-soft); }
.chip-night { color: var(--night); background: var(--night-soft); }
.chip-horse { color: var(--sand-ink); background: var(--sand-soft); }
.chip-horse::before { background: var(--sand); }
[data-route2] .rt-tip { padding-top: clamp(28px, 3cqi, 44px); }
.rt-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--k-card); }
.rt-card > .ic { width: 30px; height: 30px; margin-top: 2px; stroke-width: 1.4; color: var(--lake-ink); }
.rt-card h2 { font: 500 22px/1.2 var(--serif); letter-spacing: 0; margin: 0 0 8px; }
.rt-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: none; }
.rt-card p + p { margin-top: 8px; }
.context-links .context-link { display: inline-flex; align-items: center; gap: 8px; }
.context-link .ic { width: 18px; height: 18px; color: var(--lake-ink); flex: none; }
.pl2 .pl-rest .pl-tiles, .pl2 .pl-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pl2 .pl-rest .pl-tiles > li, .pl2 .pl-tiles > li { flex: none; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 14px; row-gap: 12px; align-content: start; padding: 18px; min-width: 0; }
.pl-tiles > li > div { display: contents; }
.pl-tiles .pl-tile { width: 56px; height: 56px; border-radius: 12px; grid-column: 1; grid-row: 1; }
.pl-tiles h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.pl-tiles p { grid-column: 1 / -1; grid-row: 2; font-size: 15px; line-height: 1.5; }
.pl-tiles p.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.pl-more { grid-column: 1 / -1; grid-row: 3; justify-self: start; padding: 4px 0; border: 0; background: none; font: 500 14px/1.2 var(--sans); color: var(--lake-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pl-more:focus-visible { outline: 2px solid var(--lake-ink); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1180px) { .pl2 .pl-rest .pl-tiles, .pl2 .pl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pl2 .pl-rest .pl-tiles, .pl2 .pl-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; } .pl-tiles .pl-tile { width: 48px; height: 48px; } .pl2 .pl-tiles > li { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; } }
[data-route2] .legs, [data-route2] .legs.legs-1, [data-route2] .legs.legs-2, [data-route2] .legs.legs-3, [data-route2] .legs.legs-4, [data-route2] .legs.legs-alt { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 24px; max-width: none; }
[data-route2] .trip-grid, [data-route2] .before-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
[data-route2] .trip-grid > *, [data-route2] .before-grid > * { grid-column: auto; max-width: none; }
[data-route2] .film li { flex: 1 1 170px; max-width: none; min-width: 0; }
[data-route2] .film .ph, [data-route2] .film .ph img { display: block; width: 100%; }
[data-route2] .film .ph img { height: 200px; object-fit: cover; }
.rt-list { margin: 0 0 10px; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rt-list li + li { margin-top: 4px; }
.rt-card a { color: var(--lake-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.rt-gpx a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding-block: 4px; color: var(--lake-ink); text-underline-offset: 3px; }
.rt-gpx .ic { width: 18px; height: 18px; flex: none; stroke-width: 1.6; }
.rt-gpx { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card); max-width: 100%; }
.rt-gpx a { font-weight: 600; font-size: 16px; }
.rt-gpx p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: none; }
[data-route2] .trip-grid:has(> :only-child), [data-route2] .before-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@container page (min-width: 761px) {
[data-route2] .trip-grid:has(> :nth-child(2):last-child), [data-route2] .before-grid:has(> :nth-child(2):last-child), [data-route2] .trip-grid:has(> :nth-child(4):last-child), [data-route2] .before-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-route2] .trip-grid:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; }
}
[data-route2] .price-sub { margin: 18px 0 2px; font: 600 15px/1.3 var(--sans); color: var(--ink); }
[data-route2] .rt-high { margin-top: 20px; }
[data-route2] .safe-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
[data-route2] .safe-tiles li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--k-card, #fff); }
[data-route2] .safe-tiles .ti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--lake-soft); color: var(--lake-ink); }
[data-route2] .safe-tiles .ti .ic { width: 22px; height: 22px; }
[data-route2] .safe-tiles li > div { min-width: 0; }
.fm { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 14px/1.2 var(--sans); color: var(--ink-2); }
.fm li { display: inline-flex; align-items: center; gap: 6px; }
.fm .ic { width: 17px; height: 17px; color: var(--ink-3); }
.page main .fm li { max-width: none; }
/* Окно «Спросить про поездку», блоки и плашка «Спросить» — все стили формы, один файл (inquiry-form.mjs, components/ask*.mjs).
   Порядок правил сохранён с тех пор, как они жили в site.css, seasons.css и ui-step2.css. */
/* Заявка на поездку: один компонент в первом экране, в конце «В дорогу» и в мобильной плашке. */
.inquiry { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line, #d8d1c3); border-radius: 10px; background: var(--card, #fffdf9); box-shadow: 0 12px 32px -24px rgba(27, 36, 48, .35); }
.inquiry::before { content: ""; align-self: stretch; width: 3px; min-height: 42px; border-radius: 3px; background: linear-gradient(180deg, var(--winter) 0 25%, var(--spring) 25% 50%, var(--summer) 50% 75%, var(--autumn) 75%); flex: none; }
.inquiry-prompt { display: grid; gap: 4px; margin-right: auto; }
.inquiry-prompt small { color: var(--ink-3, #66707c); font: 500 11px/1 var(--sans, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.inquiry-prompt strong { color: var(--ink, #1b2430); font: 500 17px/1.25 var(--sans, system-ui, sans-serif); }
.inquiry-actions { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
.inquiry-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--ink, #1b2430); border-radius: 999px; background: var(--ink, #1b2430); color: var(--paper, #f6f3ec); font: 500 14px/1.2 var(--sans, system-ui, sans-serif); text-decoration: none; }
.inquiry-button:hover { background: var(--ink-2, #49535f); border-color: var(--ink-2, #49535f); color: var(--white, #fff); }
.inquiry-email, .inquiry-sticky-email { color: var(--ink-2, #49535f); font: 500 13px/1.2 var(--sans, system-ui, sans-serif); text-underline-offset: 3px; }
.inquiry-wrap { margin-top: 32px; }
.inquiry-end { margin-top: 0; }
@media (max-width: 520px) { .inquiry-sticky[data-inquiry-page="guide"] .inquiry-sticky-name { display: none; } .inquiry-sticky[data-inquiry-page="guide"] .inquiry-sticky-actions { flex: 1; min-width: 0; } .inquiry-sticky[data-inquiry-page="guide"] .inquiry-button { width: 100%; justify-content: center; text-overflow: clip; padding-inline: 12px; } }
.inquiry-sticky { display: none; }

@media (max-width: 700px) {
  .inquiry { align-items: stretch; flex-direction: column; padding: 16px; }
  .inquiry::before { width: 100%; min-height: 3px; height: 3px; }
  .inquiry-actions { align-items: stretch; flex-direction: column; }
  .inquiry-button { width: 100%; }
  .inquiry-email { align-self: center; padding: 5px; }
  .has-inquiry-sticky body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .inquiry-sticky { position: fixed; z-index: 29; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--line, #d8d1c3); border-radius: 14px; background: color-mix(in oklab, var(--paper, #f6f3ec) 94%, transparent); box-shadow: 0 12px 36px rgba(27, 36, 48, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); visibility: hidden; opacity: 0; transform: translateY(calc(100% + 20px)); transition: opacity 180ms ease, transform 220ms ease, visibility 220ms; }
  .inquiry-sticky.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
  .inquiry-sticky-name { overflow: hidden; color: var(--ink-2, #49535f); font: 500 12px/1.25 var(--sans, system-ui, sans-serif); text-overflow: ellipsis; white-space: nowrap; }
  .inquiry-sticky-actions { display: inline-flex; align-items: center; gap: 10px; }
  .inquiry-sticky .inquiry-button { width: auto; min-height: 42px; max-width: 58vw; padding: 10px 14px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .inquiry-sticky-email { padding: 8px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-sticky { transition: none; }
}
.inq-mail { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font: 500 14px/1.3 var(--sans, system-ui, sans-serif); color: var(--ink-2, #49535f); }
.inq-addr { overflow-wrap: anywhere; user-select: all; }
.inq-copy { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2, #c3bbab); border-radius: 999px; background: transparent; color: var(--ink, #1b2430); font: 500 14px/1.2 var(--sans, system-ui, sans-serif); cursor: pointer; }
.inq-copy:hover { border-color: var(--ink, #1b2430); }
.inq-copy:focus-visible { outline: 2px solid var(--lake-ink, #1f5a66); outline-offset: 2px; }
@media (max-width: 700px) { .inq-mail { justify-content: center; } }
.inquiry-wrap { margin-top: 24px; margin-bottom: 8px; }
/* форма «Спросить про поездку» (одно окно, 23.10.2026) и отступ блока заявки от ссылок-плашек под ним */
.inq-body { display: grid; gap: 14px; }
.inq-body > * { margin: 0; min-width: 0; }
.inq-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.inq-opt { font-weight: 400; color: var(--ink-3, #5f6872); }
.inq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-status.is-err { color: #a4322a; }
.inq-status:empty { display: none; }
.inq-alt { font-size: 14px; color: var(--ink-2, #46505c); }
.inq-nav { display: block; }
.inq-nav .inq-next { width: 100%; margin: 0; }
.inq-next:disabled { opacity: .6; cursor: default; }
.inq-ok { display: grid; gap: 14px; padding: 8px 0 4px; }
.inq-ok[hidden], .inq-body[hidden] { display: none; }
.inq-ok h3 { margin: 0; font: 500 22px/1.2 var(--serif, Georgia, serif); }
.inq-ok p { margin: 0; color: var(--ink-2, #46505c); }
@media (max-width: 480px) { .inq-two { grid-template-columns: minmax(0, 1fr); } }
.inquiry-wrap .inquiry ~ .context-links, .inquiry-wrap .inquiry ~ .context-group { margin-top: 28px; }
@media (max-width: 640px) { .inq-nav { position: static; margin: 0; padding: 0; border: 0; background: none; } }

/* Окно формы */
html.inq-lock { overflow: hidden; }
.inq-dlg { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2, #c3bbab); border-radius: 14px; background: var(--card, #fffdf9); color: var(--ink, #1b2430); box-shadow: 0 24px 60px rgba(27, 36, 48, .28); overflow: auto; overscroll-behavior: contain; }
.inq-dlg::backdrop { background: rgba(27, 36, 48, .55); }
.inq-form { display: grid; gap: 14px; padding: 22px 24px 20px; font: 400 16px/1.45 var(--sans, system-ui, sans-serif); }
.inq-form > * { margin: 0; min-width: 0; }
.inq-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inq-top h2 { margin: 0; font: 500 22px/1.2 var(--serif, var(--display, Georgia, serif)); }
.inq-x { flex: none; width: 44px; height: 44px; margin: -8px -10px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink, #1b2430); font: 400 28px/1 var(--sans, system-ui, sans-serif); cursor: pointer; }
.inq-x:hover { background: var(--bg-2, #efeadf); }
.inq-place { font-weight: 500; color: var(--ink-2, #46505c); }
.inq-lead { color: var(--ink-2, #46505c); font-size: 15px; }
.inq-prog { font: 500 12px/1 var(--sans, system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #5f6872); }
.inq-step { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.inq-step[hidden] { display: none; }
.inq-step legend { padding: 0; margin: 0 0 12px; font: 500 18px/1.3 var(--sans, system-ui, sans-serif); }
.inq-f { display: grid; gap: 6px; }
.inq-f label, .inq-lab { font: 500 14px/1.3 var(--sans, system-ui, sans-serif); color: var(--ink-2, #46505c); }
.inq-f input[type=text], .inq-f input[type=number], .inq-f input[type=email], .inq-f select, .inq-f textarea { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2, #aaa293); border-radius: 8px; background: #fff; color: var(--ink, #1b2430); font: 400 16px/1.3 var(--sans, system-ui, sans-serif); }
.inq-f textarea { resize: vertical; min-height: 96px; }
.inq-f input:focus-visible, .inq-f select:focus-visible, .inq-f textarea:focus-visible, .inq-dlg button:focus-visible, .inq-r input:focus-visible + span { outline: 2px solid var(--lake-ink, #1f5a66); outline-offset: 2px; }
.inq-f [aria-invalid=true] { border-color: #a4322a; }
.inq-err { color: #a4322a; font-size: 14px; }
.inq-rs { display: grid; gap: 8px; }
.inq-r { position: relative; display: block; }
.inq-r input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.inq-r span { display: flex; align-items: center; min-height: 46px; padding: 8px 12px 8px 40px; border: 1px solid var(--line-2, #aaa293); border-radius: 8px; background: #fff; font-size: 16px; position: relative; }
.inq-r span::before { content: ""; position: absolute; left: 13px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border: 2px solid var(--ink-2, #46505c); border-radius: 50%; }
.inq-r input:checked + span { border-color: var(--ink, #1b2430); background: var(--bg-2, #f4f0e6); }
.inq-r input:checked + span::before { background: radial-gradient(circle, var(--ink, #1b2430) 0 45%, transparent 50%); }
.inq-fb { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line-2, #c3bbab); border-radius: 8px; font-size: 14px; color: var(--ink-2, #46505c); }
.inq-fb p { margin: 0; }
.inq-addr { overflow-wrap: anywhere; user-select: all; color: var(--ink, #1b2430); }
.inq-hint { font-size: 13px; }
.inq-copytext { justify-self: start; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2, #aaa293); border-radius: 999px; background: transparent; color: var(--ink, #1b2430); font: 500 14px/1.2 var(--sans, system-ui, sans-serif); cursor: pointer; }
.inq-copytext:hover { border-color: var(--ink, #1b2430); }
.inq-status { min-height: 1.4em; font-size: 14px; color: var(--lake-ink, #1f5a66); }
.inq-nav { display: flex; justify-content: space-between; gap: 10px; }
.inq-back, .inq-next { min-height: 46px; padding: 10px 22px; border-radius: 999px; font: 500 16px/1.2 var(--sans, system-ui, sans-serif); cursor: pointer; }
.inq-back { border: 1px solid var(--line-2, #aaa293); background: transparent; color: var(--ink, #1b2430); }
.inq-next { margin-left: auto; border: 1px solid var(--ink, #1b2430); background: var(--ink, #1b2430); color: #fff; }
.inq-next:hover { background: var(--ink-2, #49535f); }
@media (max-width: 640px) {
  .inq-dlg { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .inq-form { min-height: 100%; align-content: start; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .inq-nav { position: sticky; bottom: 0; margin: 0 -16px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line, #d8d1c3); background: var(--card, #fffdf9); }
}
