/* Tooda: кремовый фон, тёмно-зелёный текст, золотые кнопки — по макетам. */
:root {
  --bg: #FCFBF6;
  --surface: #FFFFFF;
  --soft: #F5F1E8;
  --ink: #0E2B27;
  --green: #0F3B34;
  --muted: #6B756F;
  --line: #ECE6DA;
  --gold: #D99A45;
  --gold-2: #C98935;
  --gold-soft: #F8EBD6;
  --gold-ink: #7A4E12;
  --lake: #1F6E64;
  --lake-soft: #E3EFEB;
  --accent: var(--gold);
  --accent-ink: #FFFFFF;
  --danger: #D2463F;
  --ok: #2E7D4F; --ok-bg: #E4F2E9;
  --easy: #2E7D4F; --easy-bg: #E4F2E9;
  --mid: #8A5A12; --mid-bg: #F8EBD6;
  --hard: #A3261B; --hard-bg: #FBE4E1;
  --star: #E5A249;
  --display: "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 43, 39, .05), 0 6px 20px rgba(14, 43, 39, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; padding-inline: 16px; padding-block: 0 40px; -webkit-tap-highlight-color: transparent; }
body.has-tabbar { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
a { color: var(--lake); }
img { max-width: 100%; display: block; }
.wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-weight: 700; font-size: clamp(24px, 6vw, 30px); line-height: 1.2; }
h2 { font-weight: 600; font-size: 19px; }
h3 { font-weight: 700; font-size: 15px; line-height: 1.3; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lede { color: var(--muted); margin: 6px 0 0; max-width: 60ch; }
.pre { white-space: pre-line; }
.sechead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sechead a, .sechead button { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: none; cursor: pointer; padding: 0; white-space: nowrap; }

/* Верхняя панель */
.topbar { padding-block: calc(14px + env(safe-area-inset-top, 0px)) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.tb-side { display: flex; align-items: center; gap: 10px; }
.tb-side.end { justify-content: flex-end; }
.brand { display: inline-flex; text-decoration: none; justify-self: center; }
.brand img { height: 22px; width: auto; }
.toplinks { display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 500; }
.toplinks a { text-decoration: none; color: var(--ink); }
.langsel { width: auto; min-height: 36px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 480px) { .toplinks a { display: none; } }

/* Переключатель стран */
.dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.dir button { min-height: 44px; padding: 6px 10px; border-radius: 999px; border: none; background: transparent; color: var(--ink); font: 600 15px var(--display); cursor: pointer; }
.dir button small { display: none; }
.dir button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* Обложка с поиском */
.hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 290px; background: #2A3A36; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px 74px; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { z-index: 1; }
.hero > :not(img) { z-index: 2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,22,.65), rgba(8,24,22,.1) 70%), linear-gradient(180deg, transparent 50%, rgba(8,24,22,.35)); }
.hero h1 { position: relative; color: #fff; font-size: clamp(24px, 6.4vw, 34px); max-width: 15ch; }
.hero .tagline { position: relative; margin-top: 8px; font-size: 14px; letter-spacing: .08em; opacity: .9; }
.search { flex-direction: row; z-index: 3 !important; position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 4px 6px 4px 16px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.search input { border: none; background: transparent; min-height: 44px; padding: 0; font-size: 15px; }
.search input:focus { outline: none; }

/* Куда поехать */
.dests { display: flex; gap: 10px; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
.dests::-webkit-scrollbar { display: none; }
.dest { flex: 0 0 92px; display: flex; flex-direction: column; gap: 6px; border: none; background: none; padding: 0; cursor: pointer; text-align: left; color: var(--ink); }
.dest img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; background: var(--soft); }
.dest b { font: 700 13px/1.2 var(--display); }
.dest small { font-size: 12px; color: var(--muted); margin-top: -4px; }
.dest[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--gold); }

/* Фильтры и кнопки */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.wrapchips { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.chip.hot { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px var(--body); cursor: pointer; text-decoration: none; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
.btn.primary:hover { background: var(--gold-2); }
.btn.dark { background: var(--green); color: #fff; border-color: var(--green); }
.btn.outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn.danger { color: var(--danger); border-color: #F1C4C0; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.install { align-self: flex-start; }

/* Карточки туров — строкой */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr; } }
.tourcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--ink); min-width: 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
.coverwrap { position: relative; }
.tourcard .cover { width: 112px; height: 104px; border-radius: 14px; object-fit: cover; background: var(--soft); }
.covertags { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; }
.tourcard .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 2px 2px 0 0; }
.tourcard h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tourcard .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.cardfoot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.rate { font-size: 13px; font-weight: 600; color: var(--ink); }
.rate .star { color: var(--star); }
.rate span { color: var(--muted); font-weight: 400; }
.price { font: 800 16px var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font: 400 12px var(--body); color: var(--muted); }

/* Баннеры */
.banner { position: relative; display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 18px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: var(--green); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,28,.92) 30%, rgba(10,32,28,.35)); }
.banner > :not(img) { position: relative; z-index: 2; }
.banner::before { z-index: 1; }
.banner .bic { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.banner .bic svg, .banner .arr svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.banner div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.banner b { font: 700 16px/1.25 var(--display); color: #fff; }
.banner span { font-size: 13px; opacity: .85; }
.banner .arr { flex: none; }

/* Общие карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; box-shadow: var(--shadow); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.tag.light { background: rgba(255,255,255,.94); color: var(--ink); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lvl-easy { background: var(--easy-bg); color: var(--easy); }
.lvl-mid { background: var(--mid-bg); color: var(--mid); }
.lvl-hard { background: var(--hard-bg); color: var(--hard); }
.star { color: var(--star); }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; min-width: 0; }
input, select, textarea { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 10px 14px; font: 400 15px var(--body); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.err { color: var(--danger); font-size: 13px; font-weight: 400; }
.note { padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-ink); font-size: 14px; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.bad { background: var(--hard-bg); color: var(--hard); }
.empty { color: var(--muted); padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; grid-column: 1 / -1; background: var(--surface); }
.empty b { color: var(--ink); font: 700 16px var(--display); }
footer { color: var(--muted); font-size: 12px; text-align: center; }

/* eSIM (на странице тура) */
.esim { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; text-decoration: none; color: #fff; background: var(--green); }
.esim > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.esim b { font: 700 16px/1.25 var(--display); }
.esim span:not(.btn) { opacity: .85; font-size: 13px; }
.esim-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-size: 20px; }
.esim .btn { min-height: 38px; padding: 0 14px; }

/* Страница тура */
.tourhero { position: relative; border-radius: 22px; overflow: hidden; background: var(--soft); }
.tourhero .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tourhero .gallery::-webkit-scrollbar { display: none; }
.tourhero .gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.tourhero .over { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.tourhero .over > div { display: flex; gap: 8px; }
.roundbtn { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; text-decoration: none; cursor: pointer; }
.roundbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.counter { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.thumbrow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbrow::-webkit-scrollbar { display: none; }
.thumbrow button { flex: 0 0 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbrow button[aria-current="true"] { border-color: var(--gold); }
.thumbrow img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-block: 12px; border-block: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; min-width: 0; }
.facts span { font-size: 12px; color: var(--muted); }
.facts b { font: 700 15px var(--display); overflow-wrap: anywhere; }
.guidebox { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: 0 0 auto; }
.avatar.lg { width: 72px; height: 72px; }
.initials { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); font: 700 15px var(--display); }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
.review { display: flex; flex-direction: column; gap: 6px; }
.reply { padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 16px; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; cursor: pointer; }
.thumb .cover-badge { position: absolute; left: 4px; bottom: 4px; font-size: 11px; padding: 2px 7px; border-radius: 8px; background: var(--gold); color: #fff; }
.status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.st-pending, .st-new { background: var(--mid-bg); color: var(--mid); }
.st-approved, .st-went { background: var(--ok-bg); color: var(--ok); }
.st-rejected, .st-cancelled { background: var(--hard-bg); color: var(--hard); }
.st-forwarded { background: var(--lake-soft); color: var(--lake); }
.stars-input { display: flex; gap: 4px; }
.stars-input button { width: 44px; height: 44px; border: none; background: none; font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; padding: 0; }
.stars-input button.on { color: var(--star); }
.ratingrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.datepick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.datepick button { flex: 0 0 auto; min-width: 132px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--body); cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.datepick button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; background: #FFFBF3; }
.datepick button:disabled { opacity: .5; cursor: default; }

/* Вкладки (кабинет, админка) — подчёркнутые, с красными счётчиками */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { border: none; border-radius: 0; background: none; color: var(--muted); padding: 0 12px; min-height: 44px; font-weight: 600; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 6px; }
.tabs .chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--green); background: none; }
.tabs .chip.hot { background: none; color: var(--ink); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 11px var(--body); }

/* Кабинет гида */
.guidehead { display: flex; gap: 14px; align-items: center; }
.guidehead b { font: 800 18px var(--display); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 4px; }
.kpis div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 12px; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis span { font-size: 12px; color: var(--muted); order: 2; }
.kpis b { font: 800 19px var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.depcard { padding: 0; overflow: hidden; }
.dephead { width: 100%; display: flex; gap: 14px; align-items: center; padding: 14px; border: none; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.depcard > .stack { padding: 0 14px 16px; }
.depdate { flex: 0 0 56px; height: 60px; border-radius: 14px; background: var(--soft); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.depdate b { font: 800 22px var(--display); }
.depdate span { font-size: 12px; font-weight: 600; text-transform: lowercase; color: var(--muted); }
.seatbar { position: relative; height: 6px; border-radius: 3px; background: var(--line); margin: 8px 0 4px; overflow: visible; }
.seatbar .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--ok) !important; }
.seatbar .minmark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 1px; }
.person { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.person select { width: auto; min-height: 36px; padding: 4px 10px; font-size: 13px; }
.srcT { color: var(--lake); font-weight: 600; }
.srcO { color: var(--ok); font-weight: 600; }
.addrow { display: grid; grid-template-columns: 2fr 2fr 70px auto; gap: 8px; }
@media (max-width: 560px) { .addrow { grid-template-columns: 1fr 1fr; } }
details summary { cursor: pointer; font-weight: 600; }

/* Программа по дням */
.itin-day { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.itin-stop { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--surface); }
.itin-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 8px; align-items: center; }
.itin-row select { min-height: 44px; }
.itin-tools { display: flex; gap: 4px; }
.itin-tools .chip { min-height: 36px; padding: 0 10px; }
.itin-stop textarea { min-height: 60px; }
@media (max-width: 560px) { .itin-row { grid-template-columns: 1fr 1fr; } .itin-row .itin-tools { grid-column: 1 / -1; } }
.itin { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 14px; }
.itin-vday { border-bottom: 1px solid var(--line); }
.itin-vday:last-child { border-bottom: none; }
.itin-vday summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--display); }
.itin-vday summary::-webkit-details-marker { display: none; }
.itin-vday summary::after { content: "⌄"; margin-left: auto; color: var(--muted); }
.itin-vday[open] summary::after { content: "⌃"; }
.itin-num { flex: 0 0 auto; height: auto; background: none; color: var(--ink); font-weight: 800; }
.itin-num::before { content: attr(data-day); }
.itin-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.itin-list li { display: flex; gap: 10px; }
.itin-list p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.itin-ic { flex: 0 0 24px; height: 24px; display: grid; place-items: center; color: var(--ink); background: none; }
.itin-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.itin-ic.t-stay { color: var(--gold-2); }

/* Нижнее меню */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
.tabbar a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 500; }
.tabbar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--green); font-weight: 700; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrapchips .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Планнер по макету */
.statcard { display: flex; flex-direction: column; gap: 10px; }
.statcard .kpis { border: none; box-shadow: none; padding: 0; background: none; }
.statcard .kpis div:first-child { padding-left: 0; }
.grprow { display: flex; align-items: center; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.grprow .status { margin-left: 6px; }
.depprice { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.depprice b { font: 800 15px var(--display); }
.chev { color: var(--muted); font-size: 22px; flex: none; }
.paid { font-size: 12px; font-weight: 600; white-space: nowrap; }
.paid::before { content: "● "; }
.paid.yes { color: var(--ok); } .paid.no { color: var(--danger); } .paid.part { color: var(--gold-2); }
.tourcard .favbtn { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.favbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.favbtn[aria-pressed="true"] { color: #D2463F; }
.favbtn[aria-pressed="true"] svg { fill: currentColor; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-badge { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.facts div { flex-direction: row; gap: 8px; align-items: flex-start; }
.facts svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.facts p { margin: 0; display: flex; flex-direction: column; }
.segtabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); }
.segtabs button { border: none; background: none; padding: 10px 0; font: 600 14px var(--body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.segtabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--green); }
.pagehead { display: flex; align-items: center; gap: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.pagehead h1 { font-size: 20px; flex: 1; }
.pagehead a, .pagehead button { color: var(--ink); background: none; border: none; display: grid; place-items: center; cursor: pointer; padding: 4px; }
.pagehead svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.leadsum { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); }
.leadbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.leadbtns .btn { min-height: 40px; padding: 0 8px; font-size: 13px; }

/* ===== Макет Recraft: главная ===== */
.hello { font-size: clamp(26px, 7vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.searchbox { flex-direction: row; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; box-shadow: var(--shadow); font-weight: 400; }
.searchbox svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.searchbox input { border: none; background: transparent; min-height: 48px; padding: 0; font-size: 15px; box-shadow: none; }
.searchbox input:focus { outline: none; }
.dir.sm { align-self: flex-start; padding: 3px; }
.dir.sm button { min-height: 34px; padding: 4px 14px; font: 600 13px var(--body); }
.cats { display: flex; gap: 14px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: none; background: none; padding: 0; cursor: pointer; color: var(--ink); font: 500 12px/1.25 var(--body); text-align: center; }
.catic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #E5EEE9; color: var(--green); transition: box-shadow .15s; }
.cat.c1 .catic { background: var(--gold-soft); color: var(--gold-ink); }
.catic svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.cat[aria-pressed="true"] .catic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.cat[aria-pressed="true"] .catname { font-weight: 700; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tcard { display: flex; flex-direction: column; background: var(--surface); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 0; }
.tphoto { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.tphoto { overflow: hidden; }
.tphoto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rbadge { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 8px; background: var(--gold); color: #fff; font: 700 12px/1.5 var(--body); }
.rbadge.new { background: rgba(255,255,255,.92); color: var(--green); }
.tcard .favbtn { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.tbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.tbody h3 { font: 600 14px/1.3 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tline { font-size: 13px; color: var(--muted); }
.tline b { color: var(--ink); font-weight: 700; }
.tcard.feat { border-radius: 20px; }
.tcard.feat .tphoto { aspect-ratio: 16 / 12; }
.tcard.feat .tphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,22,20,.78)); }
.tover { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tover h3 { color: #fff; font: 600 20px/1.25 var(--body); }
.tover .tline, .tover .tline b { color: rgba(255,255,255,.92); }
.tcard.feat .rbadge, .tcard.feat .favbtn { z-index: 2; }
.demo-badge.on-dark { background: rgba(255,255,255,.22); color: #fff; }

/* ===== Макет Recraft: страница тура ===== */
.tourtop { position: relative; margin: 0 -16px; background: var(--soft); }
.tourtop .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tourtop .gallery::-webkit-scrollbar { display: none; }
.tourtop .gallery img { flex: 0 0 100%; width: 100%; height: min(58vh, 460px); object-fit: cover; scroll-snap-align: start; }
.tourtop .over { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
.tourtop .over > div { display: flex; gap: 8px; }
.glass { border: none; color: #fff; background: rgba(20, 30, 28, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.glass svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glass.pill { height: 38px; padding: 0 14px 0 10px; border-radius: 999px; gap: 4px; font: 600 14px var(--body); }
.glass.round { width: 40px; height: 40px; border-radius: 50%; }
.glass.favbtn[aria-pressed="true"] { color: #FF6B5E; }
.dots { position: absolute; left: 0; right: 0; bottom: 48px; display: flex; justify-content: center; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.dots span.on { background: #fff; width: 16px; border-radius: 3px; }
.sheet { position: relative; z-index: 2; margin: -58px -16px 0; padding: 22px 16px 0; background: var(--bg); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.sheet h1 { font-size: clamp(24px, 6.4vw, 28px); font-weight: 600; }
.locrow { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--ink); }
.locrow > span { display: inline-flex; align-items: center; gap: 4px; }
.locrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.locrow .rate { font-size: 14px; }
.gold { color: var(--gold-2) !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; }
.pills svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hostrow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.hostrow .avatar { width: 44px; height: 44px; }
.bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14,43,39,.06); }
.bookbar > div { display: flex; flex-direction: column; line-height: 1.2; }
.bookbar b { font: 700 24px var(--body); font-variant-numeric: tabular-nums; }
.bookbar .btn { flex: 0 1 200px; min-height: 50px; font-size: 16px; }
body.has-bookbar { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
/* Программа — линия с точками */
.itin { background: none; border: none; box-shadow: none; padding: 0 0 0 28px; position: relative; }
.itin::before { content: ""; position: absolute; left: 8px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.itin-vday { position: relative; border-bottom: none; }
.itin-vday summary { font: 600 16px var(--body); }
.itin-vday summary::before { content: ""; position: absolute; left: -27px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--bg); }
.itin-vday:first-child summary::before { background: var(--gold); }
.itin-num { font-weight: 600; }
.itin-list { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }

/* ===== Макет Recraft: кабинет гида ===== */
.dashhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
.dashhead h1 { font-size: clamp(28px, 8vw, 32px); font-weight: 600; line-height: 1.1; max-width: 9ch; }
.avatarbtn { border: none; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.avatarbtn .avatar { width: 60px; height: 60px; box-shadow: 0 0 0 3px var(--surface), var(--shadow); }
.dashmeta { margin-top: -12px; }
.dashmeta a { color: var(--lake); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile span { font-size: 13px; color: var(--ink); }
.tile b { font: 700 28px/1.15 var(--body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile small { font-size: 12px; color: var(--muted); }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.tile.wide > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spark { width: 120px; height: 44px; flex: none; }
.depcard { border-radius: 16px; }
.dephead { align-items: center; }
.deptitle { font: 600 15px/1.3 var(--body); }
.guests { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.guests svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.depthumb { position: relative; flex: 0 0 auto; width: 92px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.depthumb img { width: 100%; height: 100%; object-fit: cover; }
.depbadge { position: absolute; right: 6px; bottom: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #fff; font: 700 12px/1.5 var(--body); }
.depbadge.ok { background: var(--green); }
.tile b.txt { font-size: 22px; }

/* ===== Макет Recraft v2 ===== */
:root { --bg: #F8F5EE; --search: #EEEAE0; }
.topbar { display: flex; justify-content: space-between; grid-template-columns: none; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
.brand { justify-self: auto; align-items: center; gap: 8px; }
.brand .emb { height: 36px; width: auto; }
.brand .wm { height: 19px; width: auto; }
.langsel { box-shadow: none; background: transparent; border-color: var(--line); }
.searchbox { background: var(--search); border: none; box-shadow: none; border-radius: 999px; padding: 0 16px; }
.searchbox input { min-height: 46px; }
.searchbox svg { stroke: #6E6A60; }
.sechead button { display: inline-flex; gap: 4px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink); }
.destcards { display: flex; gap: 12px; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.destcards::-webkit-scrollbar { display: none; }
.destcard { position: relative; flex: 0 0 64%; max-width: 300px; aspect-ratio: 4 / 5.2; border: none; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; scroll-snap-align: start; background: var(--soft); text-align: left; }
.destcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.destcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,20,18,.7)); }
.destcard > div { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.destcard b { font: 600 20px/1.2 var(--body); }
.destcard span { font-size: 13px; opacity: .92; }
.destcard[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
.chip { min-height: 38px; padding: 0 18px; background: transparent; border: 1px solid #DDD6C8; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.triplist { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .triplist { grid-template-columns: 1fr 1fr; } }
.tcard { border-radius: 18px; background: var(--surface); border: 1px solid #E8E2D5; box-shadow: none; padding: 10px; }
.tcard .tphoto { aspect-ratio: 16 / 10; border-radius: 12px; }
.tcard .goldheart { position: absolute; top: 10px; right: 10px; left: auto; width: 34px; height: 34px; border-radius: 50%; border: none; background: #C79A62; color: #fff; display: grid; place-items: center; cursor: pointer; }
.tcard .goldheart svg { fill: #fff; stroke: #fff; width: 17px; height: 17px; }
.tcard .goldheart[aria-pressed="true"] { background: #D2463F; }
.tbody { padding: 12px 4px 4px; gap: 2px; }
.tbody h3 { font: 600 16px/1.3 var(--body); -webkit-line-clamp: 2; }
.tsub { font-size: 14px; color: var(--ink); }
.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.trate { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink); flex-wrap: wrap; }
.trate .demo-badge { margin-left: 6px; }
.tprice { font: 700 18px var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabbar { background: var(--surface); }
.tabbar a.on svg { fill: currentColor; }
/* Тур v2 */
.tourtop .gallery img { height: min(36vh, 300px); }
.glass { background: rgba(255,255,255,.55); color: var(--ink); }
.dots { bottom: 10px; }
.sheet { margin: 0 -16px; padding: 18px 16px 0; border-radius: 0; background: var(--bg); gap: 12px; }
.titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.titlerow h1 { font: 800 clamp(28px, 8vw, 34px)/1.12 var(--body); color: var(--green); letter-spacing: -0.02em; }
.bigrate { flex: none; font: 700 18px var(--body); margin-top: 6px; white-space: nowrap; }
.bigrate .star { color: var(--gold); }
.pills span { border: none; padding: 6px 14px; font-size: 14px; }
.pills .p-gold { background: #F2D9AE; color: var(--ink); }
.pills .p-green { background: #D9E6DD; color: var(--ink); }
.itabs { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.itabs button, .itabs span { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; padding: 0; font: 400 14px var(--body); color: var(--ink); cursor: pointer; }
.itabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.itabs button[aria-pressed="true"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.routemap { height: 220px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #EDEBE3; z-index: 0; }
.bookbar { padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); }
.bookbar b { font: 700 26px var(--body); color: var(--green); }
.bookbar .btn { border-radius: 999px; flex: 0 1 190px; background: #D2A060; border-color: #D2A060; }
.titlerow h1 { font-size: clamp(30px, 9vw, 36px); }
.pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
.pills::-webkit-scrollbar { display: none; }
.pills span { flex: none; }
hr.sep { border: none; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.routesvg { width: 100%; height: 100%; background: linear-gradient(135deg, #E9EFE4, #F1ECDF); }
.destcards { scroll-padding-inline: 16px; }
/* Кабинет v2 */
.portal { margin: 0 -16px; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 64px; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.portalbar { width: 100%; display: flex; justify-content: space-between; }
.pbtn { width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.pbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.portal h1 { color: #fff; font: 600 26px var(--body); margin: 2px 0 14px; }
.portalava { border: none; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.portalava img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--soft); }
.pname { font: 600 17px var(--body); margin-top: 8px; color: #fff; }
.prate { font-size: 15px; color: rgba(255,255,255,.92); }
.prate .star { color: var(--gold); }
.pver { display: inline-flex; align-items: center; gap: 6px; color: #57C77E; font-size: 15px; }
.pver svg { width: 18px; height: 18px; color: #57C77E; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.portalsheet { position: relative; z-index: 2; margin: -60px -16px 0; padding: 12px 16px 0; background: var(--bg); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.handle { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: #D9D3C6; }
.portalsheet .dashmeta { margin: 0; text-align: center; }
.pstats { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid #E8E2D5; border-radius: 16px; padding: 16px 0; box-shadow: var(--shadow); }
.pstats div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pstats div + div { border-left: 1px solid var(--line); }
.pstats span { font-size: 15px; color: var(--ink); }
.pstats b { font: 700 30px var(--body); }
.monthstat summary { font-weight: 600; }
.depcard { border: 1px solid #E8E2D5; box-shadow: none; }
.dephead { padding: 16px; align-items: flex-end; }
.deptitle { font: 600 17px/1.3 var(--body); }
.deprange { font-size: 15px; color: var(--ink); }
.guests { font-size: 14px; margin-top: 8px; color: var(--ink); }
.depchat { flex: none; color: var(--ink); }
.depchat svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillbtn { border-radius: 999px; min-height: 52px; font-size: 16px; }
.tabs { justify-content: flex-start; }
.tourtop .gallery img { height: min(32vh, 270px); }
/* Мои поездки и профиль туриста */
.tripcard { background: var(--surface); border: 1px solid #E8E2D5; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.triptop { display: flex; gap: 12px; }
.triptop img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; background: var(--soft); }
.triptop b { font: 600 16px/1.3 var(--body); }
.tripcard svg, .melist svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.tripbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.tripbtns .btn { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 999px; }
.mehead { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.meava { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 700 20px var(--body); flex: none; }
.mehead b { font: 600 18px var(--body); }
.mehead .btn { min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
.melist { padding: 4px 14px; display: flex; flex-direction: column; }
.merow, .medet summary { display: flex; align-items: center; gap: 12px; min-height: 52px; color: var(--ink); text-decoration: none; background: none; border: none; width: 100%; padding: 0; font: 400 15px var(--body); cursor: pointer; text-align: left; list-style: none; }
.medet summary::-webkit-details-marker { display: none; }
.melist > * + * { border-top: 1px solid var(--line); }
.meic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #E5EEE9; color: var(--green); flex: none; }
.meic svg { width: 18px !important; height: 18px !important; vertical-align: 0 !important; }
.melabel { flex: 1; min-width: 0; }
.merow .langsel { box-shadow: none; }
.guidecta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 20px; background: var(--green); color: #fff; text-decoration: none; }
.guidecta div { display: flex; flex-direction: column; gap: 4px; }
.guidecta b { font: 600 17px var(--body); color: #fff; }
.guidecta span:not(.btn) { font-size: 13px; opacity: .85; }
.guidecta .btn { flex: none; min-height: 42px; border-radius: 999px; font-size: 14px; }

/* ===== Лента (feed.html) ===== */
body.reelmode { background: #0B0F0E; overflow: hidden; }
body.reelmode .tabbar { background: #0B0F0E; border-top-color: #1f2a27; }
body.reelmode .tabbar a { color: #9aa7a3; }
body.reelmode .tabbar a.on { color: #fff; }
.reels { position: fixed; left: 0; right: 0; top: 0; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; max-width: 520px; margin: 0 auto; }
.reelmedia { position: absolute; inset: 0; }
.reelposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); }
.reelframe { position: absolute; border: 0; background: #000; }
.reelframe.k-yt { pointer-events: none; left: 50%; top: 50%; height: 100%; width: calc(100vh * 9 / 16); min-width: 100%; transform: translate(-50%, -50%); }
.reelframe.k-ig, .reelframe.k-tt { left: 0; right: 0; top: 70px; bottom: 150px; width: 100%; height: calc(100% - 220px); background: #fff; }
.reelplay { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); color: #fff; font-size: 30px; cursor: pointer; }
.reelsound { position: absolute; right: 14px; top: 112px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.4); color: #fff; font-size: 18px; cursor: pointer; z-index: 3; }
.reelinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 14px; display: flex; flex-direction: column; gap: 10px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 70%, transparent); z-index: 2; }
.reelinfo p { margin: 0; font-size: 14px; line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.reelwho { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.reelava { width: 34px; height: 34px; border-radius: 50%; background: var(--gold, #E2B04A); color: #0F3B34; display: grid; place-items: center; font-weight: 800; }
.reelbadge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.18); }
.reelfollow { margin-left: auto; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.8); border-radius: 99px; padding: 5px 12px; }
.reeltour { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.95); color: #0F3B34; text-decoration: none; }
.reeltour img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.reeltt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #4b5a56; }
.reeltt b { font-size: 14px; color: #0F3B34; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reelgo { flex: none; font-size: 12px; font-weight: 700; background: #0F3B34; color: #fff; border-radius: 99px; padding: 8px 10px; }
.reelhead { position: fixed; left: 0; right: 0; top: 0; z-index: 5; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent); max-width: 520px; margin: 0 auto; pointer-events: none; }
.reelhead > * { pointer-events: auto; }
.reeltop { display: flex; align-items: center; justify-content: space-between; color: #fff; font: 800 22px var(--display, Inter); }
.reeladd { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #0F3B34; font-size: 24px; font-weight: 700; line-height: 1; cursor: pointer; }
.reelchips { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.reelchips button { flex: none; border: 0; border-radius: 99px; padding: 7px 14px; font: 600 13px var(--body, Inter); background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); cursor: pointer; }
.reelchips button[aria-pressed="true"] { background: #fff; color: #0F3B34; }
.reelempty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 30px; text-align: center; color: #cfd8d5; }
.reelempty b { color: #fff; font-size: 18px; }
.reelsheet { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; }
.reelsheetbox { width: 100%; max-width: 520px; background: var(--bg, #F8F5EE); border-radius: 22px 22px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); max-height: 85vh; overflow-y: auto; }
.reelsheetbox h2 { margin: 0; }
/* Отзывы на странице тура */
.revhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.revcta { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--gold, #E2B04A); }
/* Видео на странице тура */
.vidrow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vidthumb { position: relative; flex: none; width: 120px; aspect-ratio: 9/16; border-radius: 14px; overflow: hidden; background: #0F3B34; }
.vidthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vidthumb span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.3); backdrop-filter: blur(4px); color: #fff; display: grid; place-items: center; font-size: 16px; }
.upnext { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: #0F3B34; color: #fff; text-decoration: none; }
.upnext img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.upnext .small { color: #cfe0db; }

/* ===== Tooda Business ===== */
.bizmark { font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); padding: 3px 8px; border-radius: 999px; }
.bizhero { background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px 20px; display: flex; flex-direction: column; gap: 12px; }
.bizhero h1 { font-size: 26px; line-height: 1.2; margin: 0; color: #fff; }
.bizhero p { margin: 0; color: #cfe0db; }
.bizroles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bizrole { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.bizrole b { font-size: 17px; }
.bizrole .btn { align-self: flex-start; margin-top: 4px; }
.bizsteps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 13px; }
.price-ag { font-weight: 700; color: var(--green); }
.offer { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.offer img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.offer .grow { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 3px; }
.offer.off { opacity: .6; }
.subrows { display: flex; flex-direction: column; gap: 8px; }
.subrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.subrow .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.switch { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.switch input { width: 20px; min-height: 20px; height: 20px; }
.tourlink { white-space: nowrap; }
@media (max-width: 420px) { .brand .emb { height: 28px; } .brand .wm { height: 16px; } .bizmark { font-size: 10px; padding: 2px 6px; } }
