/* 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: "Manrope", "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: 800; font-size: clamp(24px, 6vw, 32px); line-height: 1.15; }
h2 { font-weight: 800; font-size: 18px; }
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(12px + env(safe-area-inset-top, 0px)) 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 46px; 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: 34px; padding: 4px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 480px) { .brand img { height: 40px; } .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; }
