/* Atlas Adventurer Club — expedition field-journal theme */
:root {
  --paper: #f4ecdc;
  --paper-2: #ebe0c9;
  --card: #fbf6ec;
  --ink: #1f2a2c;
  --ink-2: #4a5557;
  --muted: #7b7468;
  --rust: #c8452c;
  --rust-2: #a8361f;
  --forest: #2f5d4a;
  --forest-2: #1f4234;
  --brass: #c9a24a;
  --sky: #2b6f8f;
  --line: #d6c8aa;
  --ok: #2f7d4a;
  --warn: #b7791f;
  --bad: #b3261e;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(31, 42, 44, .06), 0 8px 24px -12px rgba(31, 42, 44, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(rgba(120, 90, 40, .05) 1px, transparent 1px),
    radial-gradient(rgba(120, 90, 40, .04) 1px, transparent 1px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 7px;
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--rust); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section.dark { background: var(--forest-2); color: #f4ecdc; }
.section.dark a { color: var(--brass); }
.eyebrow {
  font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--rust); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.hidden { display: none !important; }

/* ---------- header (expedition style: leather, brass, parchment type) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; color: #f4ecdc;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #2a1d13 0%, #1b130d 100%);
  border-bottom: 1px solid #c9a24a;
  box-shadow: 0 3px 0 #1b130d, 0 4px 0 rgba(201,162,74,.55), 0 14px 30px -12px rgba(0,0,0,.55);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand b { font: 800 1.12rem/1 var(--serif); display: block; }
.brand span { font: 600 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--rust); }
.site-header .brand svg { width: 54px; height: 54px; filter: drop-shadow(0 0 10px rgba(233,165,74,.35)); transition: transform .6s ease; }
.site-header .brand:hover svg { transform: rotate(-12deg); }
.site-header .brand b {
  font: 800 1.42rem/1 var(--serif); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, #f8e7b4 0%, #e0b85c 55%, #b08a35 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 1px 0 rgba(0,0,0,.6));
}
.site-header .brand span { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: #e07a5f; letter-spacing: .32em; font-size: .6rem; }
.site-header .brand span::before, .site-header .brand span::after { content: ""; height: 1px; width: 18px; background: rgba(201,162,74,.7); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.drop { position: relative; }
.nav > a, .drop > button {
  font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #efe2c4; text-decoration: none;
  background: none; border: 0; padding: 12px 14px; border-radius: 6px; cursor: pointer; position: relative;
}
.nav > a::before, .drop > button::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: #c9a24a;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav > a:hover, .drop > button:hover, .drop:focus-within > button { color: #f8e7b4; background: rgba(201,162,74,.08); }
.nav > a:hover::before, .drop:hover > button::before, .drop:focus-within > button::before, .nav > a[aria-current]::before { transform: scaleX(1); }
.drop > button::after { content: " ▾"; font-size: .8em; color: #c9a24a; }
.drop .menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 10px; display: none;
  background: linear-gradient(180deg, #fbf4e3, #f1e5c9); border: 1px solid #c9a24a; border-radius: 10px;
  box-shadow: inset 0 0 0 3px #fbf4e3, inset 0 0 0 4px rgba(201,162,74,.45), 0 20px 40px -14px rgba(0,0,0,.5);
}
.drop .menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover bridge */
.drop:hover .menu, .drop:focus-within .menu { display: block; }
.drop .menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; }
.drop .menu a small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.drop .menu a:hover { background: rgba(201,162,74,.18); color: var(--rust-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.site-header .nav-cta .btn { box-shadow: 0 0 0 1px rgba(243,220,154,.5), 0 6px 18px -6px rgba(200,69,44,.7); }
.site-header .nav-cta .btn.ghost { color: #f4ecdc; border-color: rgba(243,220,154,.7); box-shadow: none; }
.site-header .nav-cta .btn.ghost:hover { background: #f4ecdc; color: var(--ink); }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid rgba(201,162,74,.7); border-radius: 8px; padding: 8px 12px;
  font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: #f4ecdc;
}

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav, .nav-cta { display: none; }
  .site-header.open .nav, .site-header.open .nav-cta { display: flex; flex-basis: 100%; }
  .site-header.open .nav { flex-direction: column; align-items: stretch; max-height: calc(100vh - 160px); overflow: auto; }
  .site-header.open .nav-cta { padding: 4px 0 14px; }
  .site-header.open .wrap { flex-wrap: wrap; height: auto; min-height: 78px; padding-top: 12px; }
  .drop .menu { position: static; display: block; box-shadow: none; border: 0; background: none; padding: 0 0 0 12px; }
  .drop .menu a { color: #efe2c4; }
  .drop .menu a small { color: #b8a987; }
  .drop .menu a:hover { color: #f8e7b4; background: rgba(201,162,74,.1); }
  .drop > button { width: 100%; text-align: left; }
  .nav > a::before, .drop > button::before { display: none; }
}
@media (max-width: 480px) {
  .site-header .brand svg { width: 44px; height: 44px; }
  .site-header .brand b { font-size: 1.08rem; letter-spacing: .04em; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1 var(--sans); padding: 13px 20px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease;
  background: var(--rust); color: #fff8ee; white-space: nowrap;
}
.btn:hover { background: var(--rust-2); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.forest { background: var(--forest); }
.btn.forest:hover { background: var(--forest-2); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.sm { padding: 8px 14px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--forest); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(60vh, 520px); display: grid; align-items: end; overflow: hidden; color: #fff; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 26, 0) 25%, rgba(20, 28, 26, .8) 100%), linear-gradient(90deg, rgba(20, 28, 26, .55), rgba(20, 28, 26, 0) 65%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 56px; }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lead { color: #f1e7d3; }
.hero .eyebrow { color: var(--brass); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--ink); }
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 110px 0 56px; }
.page-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 26, .82), rgba(20, 28, 26, .25)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { color: #efe4cf; }
.page-hero .eyebrow { color: var(--brass); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card .pad, .pad { padding: 20px; }
.card h3 { margin-bottom: .3em; }
.adv-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s ease; }
.adv-card:hover { transform: translateY(-4px); color: var(--ink); }
.adv-card .img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.adv-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.adv-card:hover .img img { transform: scale(1.05); }
.adv-card .pad { flex: 1; display: flex; flex-direction: column; }
.adv-card .meta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; }
.stamp {
  position: absolute; top: 12px; left: 12px; background: var(--paper); color: var(--rust);
  border: 2px solid var(--rust); border-radius: 4px; padding: 3px 8px; font: 700 .7rem/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; transform: rotate(-3deg);
}
.tag {
  display: inline-flex; align-items: center; gap: 4px; font: 600 .74rem/1 var(--sans); padding: 6px 9px;
  border-radius: 999px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.tag.rust { background: #f6ddd5; color: var(--rust-2); border-color: #e9b9ab; }
.tag.forest { background: #dbe8df; color: var(--forest-2); border-color: #b4cdbc; }
.tag.brass { background: #f3e7c6; color: #7a5b12; border-color: #e1cd93; }
.tag.ok { background: #dcefe1; color: var(--ok); border-color: #b2d8bd; }
.tag.warn { background: #f8ead0; color: var(--warn); border-color: #ecd09a; }
.tag.bad { background: #f7dad7; color: var(--bad); border-color: #eab3ad; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ico {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--paper); font-size: 1.3rem;
}
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr !important; } }
.framed { border-radius: var(--radius); overflow: hidden; border: 6px solid var(--card); box-shadow: var(--shadow); transform: rotate(-1deg); }
.framed img { width: 100%; }

.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.stats div b { display: block; font: 800 2rem/1 var(--serif); color: var(--brass); }
.stats div span { font-size: .85rem; opacity: .85; }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fffdf8; border: 1.5px solid var(--line);
  border-radius: 8px; padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47, 93, 74, .18); }
input[type=checkbox], input[type=radio] { width: auto; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; font-weight: 400; }
fieldset { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
legend { font: 700 1rem var(--serif); padding: 0 6px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button {
  background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: 600 .95rem var(--sans);
  color: var(--ink-2); cursor: pointer;
}
.tabs button.on { border-color: var(--rust); color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px;
  font: 600 .85rem var(--sans); cursor: pointer; color: var(--ink-2);
}
.chips button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- partner tiles ---------- */
.partner {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--ink);
}
.partner:hover { border-color: var(--forest); color: var(--ink); }
.partner b { font-family: var(--serif); font-size: 1.05rem; }
.partner .go { margin-top: auto; font-weight: 600; color: var(--rust); font-size: .88rem; }
.disclosure { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--brass); padding: 6px 12px; background: rgba(201, 162, 74, .08); }

/* ---------- planner ---------- */
.planner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .planner { grid-template-columns: minmax(0, 1fr); } }
.trip-list a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.trip-list a.on { background: var(--card); border-color: var(--line); font-weight: 600; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.tl-day { margin: 0 0 20px; }
.tl-day > h4 { font: 700 .82rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--rust); position: relative; }
.tl-day > h4::before { content: ""; position: absolute; left: -24px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--rust); }
.tl-item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 8px; }
.tl-item .t { font: 600 .82rem var(--sans); color: var(--muted); min-width: 92px; }
.tl-item .body { flex: 1; min-width: 0; }
.tl-item .cost { font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-item.conflict { border-color: var(--bad); box-shadow: inset 4px 0 0 var(--bad); }
.tl-item.tight { border-color: var(--warn); box-shadow: inset 4px 0 0 var(--warn); }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 10px; font-size: .92rem; border: 1px solid; }
.alert.bad { background: #f9e3e0; border-color: #eab3ad; color: #7d1a14; }
.alert.warn { background: #fbf0dc; border-color: #ecd09a; color: #6e4a0e; }
.alert.ok { background: #e1f1e5; border-color: #b2d8bd; color: #1d4d2c; }
.alert.info { background: #e3eef3; border-color: #b4d0dc; color: #1b4457; }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--forest); }
.bar.over > i { background: var(--bad); }
.budget-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.budget-row b { font-variant-numeric: tabular-nums; }

.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .dow { font: 700 .7rem var(--sans); text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px; }
.cal .day { min-height: 92px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 4px; font-size: .72rem; overflow: hidden; }
.cal .day.out { opacity: .4; }
.cal .day .n { font-weight: 700; font-size: .78rem; }
.cal .ev { display: block; border-radius: 4px; padding: 2px 4px; margin-top: 2px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { .cal .day { min-height: 60px; } .cal .ev { font-size: .6rem; } }

/* ---------- journal ---------- */
.photobook { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photobook figure { margin: 0; background: #fff; padding: 10px 10px 34px; box-shadow: var(--shadow); transform: rotate(var(--r, -1deg)); }
.photobook figcaption { font: italic .9rem var(--serif); margin-top: 8px; color: var(--ink-2); }
.diary { background: repeating-linear-gradient(#fbf6ec 0 31px, #e3d6b9 31px 32px); padding: 24px 28px; border-radius: 6px; border-left: 4px double var(--rust); font: 1.05rem/32px var(--serif); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-row a, .share-row button { font-size: .82rem; }

/* ---------- community ---------- */
.post { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.post h3 { font-size: 1.15rem; margin-bottom: 4px; }
.post .by { font-size: .82rem; color: var(--muted); }
.vote { display: inline-flex; align-items: center; gap: 6px; }
.reply { border-left: 3px solid var(--line); padding: 6px 12px; margin: 8px 0 0; font-size: .92rem; }

/* ---------- modal / toast ---------- */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(640px, 94vw); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(20, 28, 26, .55); }
dialog .pad { padding: 24px; }
dialog header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
dialog header h3 { margin: 0; }
.x { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; z-index: 100; font-size: .92rem; box-shadow: var(--shadow); }

/* ---------- gate ---------- */
.gate { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.gate .ico { font-size: 2.4rem; }

/* ---------- footer ---------- */
.site-footer { background: #182421; color: #d9cfb9; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #d9cfb9; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { font: 700 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer .legal { border-top: 1px solid rgba(217, 207, 185, .15); margin-top: 40px; padding-top: 20px; font-size: .8rem; opacity: .75; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

.demo-banner { background: var(--brass); color: #2a210c; font-size: .82rem; text-align: center; padding: 6px 12px; }
.demo-banner button { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; color: inherit; }

/* Drag-and-drop photo zones (ui.js wraps every image file input) */
.dropzone { position: relative; border: 2px dashed var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .45); padding: 22px 16px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone:focus-visible { border-color: var(--brass); outline: none; }
.dropzone.over { border-color: var(--rust); background: rgba(200, 69, 44, .07); }
.dropzone .dz-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dz-msg b { display: block; color: var(--ink); }
.dz-msg span { font-size: .85rem; color: var(--muted); }
.dz-msg::before { content: "📷"; display: block; font-size: 1.6rem; margin-bottom: 4px; }
.dropzone.has .dz-msg::before { display: none; }
.dz-thumbs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dropzone.has .dz-thumbs { margin-top: 12px; }
.dz-thumbs figure { position: relative; margin: 0; }
.dz-thumbs img, .dz-thumbs video { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; display: block; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.dz-thumbs button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; line-height: 24px; padding: 0; font-size: 15px; }

/* shared trips: people, side-by-side conflicts */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }
.who { display: inline-block; font: 700 .72rem var(--sans); color: #fff; background: var(--c, #7b7468); border-radius: 999px; padding: 2px 8px; margin-right: 6px; }
.tl-group { border: 1.5px dashed var(--bad); border-radius: 10px; padding: 8px; margin-bottom: 10px; background: #fdf3f1; }
.tl-group-h { font: 700 .8rem var(--sans); color: var(--bad); margin: 0 0 8px 4px; }
.tl-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.tl-cols .tl-item { margin-bottom: 0; flex-wrap: wrap; }
.tl-cols .tl-item .t { min-width: 0; width: 100%; }
.cal .ev.clash { outline: 2px solid var(--bad); outline-offset: -1px; }
label.check { font-weight: 500; cursor: pointer; }
label.check input { width: auto; }
/* photo allowance meter */
.meter { margin: 6px 0 2px; }
.meter .bar { height: 8px; background: #ece4d3; border-radius: 999px; overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: var(--forest, #2f5d3a); border-radius: 999px; }
.meter.warn .bar i { background: #c98a1b; }
.meter.full .bar i { background: var(--rust, #c8452c); }
.meter p { margin: 4px 0 0; font-size: .85rem; color: var(--ink-2, #555); }
.ph-wrap { position: relative; }
.ph-del { position: absolute; top: 6px; right: 6px; border: 0; border-radius: 999px; width: 26px; height: 26px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 15px; line-height: 26px; padding: 0; }
.entry-del { background: none; border: 0; color: var(--rust, #c8452c); cursor: pointer; font-size: .85rem; padding: 0; }

/* ---------- home page trip finder (globe -> continent map -> countries) ---------- */
.explorer {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; margin: 34px 0 0; padding: 14px;
  overflow: visible; border: 0; border-radius: 16px;
  background:
    radial-gradient(circle at 12px 12px, #e9cb82 0 3px, #7a5b12 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) 12px, #e9cb82 0 3px, #7a5b12 3.5px, transparent 4.5px),
    radial-gradient(circle at 12px calc(100% - 12px), #e9cb82 0 3px, #7a5b12 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #e9cb82 0 3px, #7a5b12 3.5px, transparent 4.5px),
    repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #3a2a1c, #23180f 55%, #2e2116);
  box-shadow: inset 0 0 0 1px rgba(233,203,130,.55), inset 0 0 0 5px #23180f, inset 0 0 0 6px rgba(201,162,74,.6),
    0 2px 0 rgba(31,42,44,.08), 0 30px 60px -24px rgba(31,26,16,.65);
}
.ex-stage {
  position: relative; height: 460px; overflow: hidden; touch-action: none; border-radius: 10px;
  border: 1px solid rgba(201,162,74,.65);
  box-shadow: inset 0 0 60px rgba(0,0,0,.55), inset 0 0 0 4px rgba(20,14,8,.6);
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,240,200,.9), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255,240,200,.7), transparent),
    radial-gradient(1.4px 1.4px at 46% 9%, rgba(255,240,200,.8), transparent),
    radial-gradient(1px 1px at 64% 86%, rgba(255,240,200,.6), transparent),
    radial-gradient(1.3px 1.3px at 83% 22%, rgba(255,240,200,.85), transparent),
    radial-gradient(1px 1px at 91% 64%, rgba(255,240,200,.6), transparent),
    radial-gradient(1px 1px at 7% 88%, rgba(255,240,200,.6), transparent),
    radial-gradient(1.2px 1.2px at 72% 48%, rgba(255,240,200,.5), transparent),
    radial-gradient(ellipse at 50% 120%, rgba(200,69,44,.35), transparent 60%),
    radial-gradient(ellipse at 50% 45%, #1d3b3d 0%, #10201f 60%, #0a1413 100%);
}
.ex-stage::before, .ex-stage::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none; z-index: 2;
  border: 2px solid #c9a24a; opacity: .9;
}
.ex-stage::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.ex-stage::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.ex-stage.is-map { touch-action: manipulation; background: #142b2a; }
.ex-globe { cursor: grab; }
.ex-globe:active { cursor: grabbing; }
.ex-map { display: block; width: 100%; height: 100%; }
.ex-map .sea { fill: #163231; }
.ex-map .grat { fill: none; stroke: rgba(201,162,74,.18); stroke-width: .7; pointer-events: none; }
.ex-map path[data-n] { fill: #d9ccae; stroke: #6f6047; stroke-width: .6; cursor: pointer; transition: fill .15s; }
.ex-map path.in { fill: #f3ead6; }
.ex-map path.in.has { fill: #bcd3b9; }
.ex-map path.out { opacity: .4; }
.ex-map path[data-n]:hover, .ex-map path.in.has:hover { fill: #ecd28f; opacity: 1; }
.ex-map path.sel, .ex-map path.in.sel, .ex-map path.in.has.sel, .ex-map path.in.has.sel:hover { fill: var(--rust); opacity: 1; }
.ex-tip {
  position: absolute; z-index: 3; transform: translate(-50%, -100%); pointer-events: none; white-space: nowrap;
  background: #23180f; color: #f3e2b5; border: 1px solid #c9a24a; font: 600 .8rem var(--sans); padding: 5px 10px; border-radius: 6px;
}
.ex-hint {
  position: absolute; left: 22px; bottom: 18px; margin: 0; text-align: left; line-height: 1.7; pointer-events: none;
  font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(233,203,130,.8); transition: opacity .4s;
}
.ex-hint.gone { opacity: 0; }
.ex-side {
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 10px;
  background: linear-gradient(180deg, #fbf4e3, #f1e5c9); border: 1px solid rgba(201,162,74,.65);
  box-shadow: inset 0 0 0 4px #fbf4e3, inset 0 0 0 5px rgba(201,162,74,.45), inset 0 0 40px rgba(122,91,18,.12);
}
.ex-side h3 { font-size: 1.45rem; }
.ex-side { position: relative; isolation: isolate; }
.ex-side::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 190px; height: 190px; z-index: -1; opacity: .16; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%237a5b12' stroke-width='1'><circle cx='50' cy='50' r='46'/><circle cx='50' cy='50' r='40' stroke-dasharray='1 3'/><path d='M50 4 L56 44 L96 50 L56 56 L50 96 L44 56 L4 50 L44 44 Z' fill='%237a5b12' fill-opacity='.35'/><path d='M50 18 L53 47 L82 50 L53 53 L50 82 L47 53 L18 50 L47 47 Z' transform='rotate(45 50 50)'/></svg>") center / contain no-repeat;
}
.ex-side { overflow: hidden; }
.ex-stats { display: flex; gap: 16px; margin: auto 0 0; padding-top: 12px; border-top: 1px dashed rgba(122,91,18,.35); }
.ex-stats span { flex: 1; min-width: 0; font-size: .68rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ex-stats b { display: block; font: 800 1.6rem/1.1 var(--serif); color: #7a5b12; letter-spacing: 0; text-transform: none; }
.ex-side h3 { margin: 0; }
.ex-step { margin: 0; font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.ex-conts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ex-conts button, .ex-chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 12px;
  font: 600 .85rem var(--sans); color: var(--ink-2); cursor: pointer; text-align: center;
}
.ex-conts button:hover { border-color: var(--ink); color: var(--ink); }
.ex-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-label { font: 600 .8rem var(--sans); color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ex-search { width: 100%; }
.ex-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--forest); text-decoration: underline; cursor: pointer; }
.ex-link:hover { color: var(--rust); }
.ex-picks { border-top: 1px dashed var(--line); padding-top: 10px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; max-height: 92px; overflow-y: auto; }
.ex-chip { background: var(--rust); border-color: var(--rust); color: #fff; padding: 4px 10px; font-size: .8rem; }
.ex-chip:hover { background: var(--rust-2); }
.ex-legend { margin: 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ex-legend .sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid #a8977a; display: inline-block; }
.ex-legend .sw.has { background: #c9dbc7; }
.ex-legend .sw.sel { background: var(--rust); margin-left: 8px; }
.ex-result { margin-top: auto; font-size: .92rem; }
.ex-stats + .ex-result { margin-top: 0; }
.ex-result:empty { display: none; }
.adv-card .where { margin: 10px 0 0; font-size: .82rem; color: var(--forest-2); }
.finder-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.finder-bar .chips { margin: 0; }
.finder-note { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer { padding: 10px; gap: 10px; }
  .ex-stage { height: 380px; }
  .ex-hint { display: none; }
  .ex-side { padding: 20px 18px; }
}

/* ---------- company listings (list-your-adventure, company dashboard, operator cards, admin review) ---------- */
.nav > a.nav-list { color: #f8e7b4; }
.co-hero { padding: 120px 0 70px; }
.co-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 16ch; }
.co-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 18px; }
.btn.light-ghost { color: #f4ecdc; border-color: rgba(243, 220, 154, .7); }
.btn.light-ghost:hover { background: #f4ecdc; color: var(--ink); }
.co-proof { display: flex; gap: 8px 22px; flex-wrap: wrap; color: #f3dc9a; font-weight: 600; font-size: .95rem; }
.co-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.co-steps > div { position: relative; padding-top: 6px; }
.co-steps h3 { font-size: 1.1rem; margin: 10px 0 4px; }
.co-steps p { margin: 0; color: var(--ink-2); }
.co-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rust); color: #fff; font: 700 .9rem var(--sans); margin-right: 6px; vertical-align: middle; }
.co-steps .co-num { width: 36px; height: 36px; font-size: 1rem; }
.co-big { margin: 10px 0 6px; font: 800 3rem/1 var(--serif); }
.co-big span { font: 600 1rem var(--sans); color: var(--muted); }
.co-ticks { padding-left: 0; list-style: none; }
.co-ticks li { position: relative; padding-left: 24px; margin: 6px 0; }
.co-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }
.co-split { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 32px; }
.co-aside { align-self: start; }
.co-form label.check { align-items: flex-start; }
.co-form label.check input { margin-top: 4px; }
.co-form .co-sec { background: rgba(255, 255, 255, .35); }
.co-form .co-sec legend { display: flex; align-items: center; }
.co-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.co-cat { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font: 600 .88rem var(--sans); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.co-cat:hover { border-color: var(--ink); color: var(--ink); }
.co-cat.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.co-main { background: var(--brass); color: var(--ink); border-radius: 999px; font-size: .68rem; padding: 1px 7px; text-transform: uppercase; letter-spacing: .04em; }
.co-media { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.co-media label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.co-logo { min-height: 150px; display: grid; place-items: center; padding: 12px; }
.co-logo.has .dz-msg { display: none; }
.co-logo-img { position: relative; }
.co-logo-img img { max-width: 140px; max-height: 120px; object-fit: contain; margin: auto; }
.co-x { position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; padding: 0; line-height: 24px; }
.co-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.co-thumb { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.co-thumb img { width: 100%; height: 96px; object-fit: cover; }
.co-cover { position: absolute; top: 6px; left: 6px; background: var(--rust); color: #fff; font: 700 .68rem var(--sans); padding: 2px 7px; border-radius: 999px; text-transform: uppercase; }
.co-cap { border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; font-size: .78rem !important; padding: 6px 8px !important; }
.co-tb { display: flex; justify-content: space-between; padding: 4px 8px 6px; }
.co-q { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; flex-wrap: wrap; }
.co-qbtn { display: flex; gap: 12px; }
.co-addq { margin-top: 12px; }
.co-addrow { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.co-card { display: flex; flex-direction: column; }
.co-card .pad { display: flex; flex-direction: column; flex: 1; }
.co-card .pad > .btn { margin-top: auto; align-self: flex-start; }
.co-cover-img { position: relative; height: 170px; background: var(--paper-2); }
.co-cover-img > img { width: 100%; height: 100%; object-fit: cover; }
.co-logo-badge { position: absolute; left: 16px; bottom: -26px; width: 64px; height: 64px; border-radius: 12px; background: #fff; border: 3px solid var(--card); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.co-logo-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co-card .co-cover-img + .pad { padding-top: 22px; }
.co-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-height: 24px; }
.co-desc { color: var(--ink-2); }
.co-progress { list-style: none; padding: 0; margin: 0 0 16px; }
.co-progress li { padding: 6px 0 6px 30px; position: relative; color: var(--muted); }
.co-progress li::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.co-progress li.done { color: var(--ink); font-weight: 600; }
.co-progress li.done::before { content: "✓"; background: var(--forest); border-color: var(--forest); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.co-leads { display: grid; gap: 12px; }
.co-lead-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.co-answers { margin-top: 10px; display: grid; gap: 2px; }
.co-lead-act { display: flex; gap: 14px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.co-msgs { display: grid; gap: 10px; }
.co-msg { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; max-width: 80%; }
.co-msg p { margin: 4px 0 0; white-space: pre-wrap; }
.co-msg.company { justify-self: end; background: #eef4ef; }
.co-msg.system { justify-self: center; background: transparent; border-style: dashed; font-size: .85rem; }
.co-review { margin-bottom: 14px; }
.co-rev-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.co-rev-head:hover { background: rgba(201, 162, 74, .08); }
.co-rev-logo { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.co-rev-title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.co-rev-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.co-rev-body { border-top: 1px solid var(--line); }
.co-dl { display: grid; grid-template-columns: 92px 1fr; gap: 4px 10px; font-size: .9rem; margin: 0 0 10px; }
.co-dl dt { color: var(--muted); }
.co-dl dd { margin: 0; overflow-wrap: anywhere; }
.co-rev-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.co-rev-photo { margin: 0; width: 130px; font-size: .78rem; }
.co-rev-photo img { width: 130px; height: 90px; object-fit: cover; border-radius: 6px; }
.co-ptags { display: flex; flex-wrap: wrap; gap: 3px; margin: 4px 0 2px; }
.co-ptags .tag { font-size: .65rem; padding: 1px 6px; }
.co-rev-photo details a { overflow-wrap: anywhere; }
.co-flags { list-style: none; padding: 0; margin: 0 0 8px; }
.co-flags li { padding: 2px 0; }
.co-flags.good li { color: var(--ok); }
.co-report { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.co-report.closed { opacity: .6; }
.co-rev-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.co-dlg { width: min(720px, 96vw); }
.co-gallery { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--ink); }
.co-gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; position: relative; }
.co-gallery img { height: 240px; width: auto; max-width: 92vw; object-fit: cover; }
.co-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .8rem; }
.co-prof-head { display: flex; gap: 14px; align-items: center; }
.co-prof-head .co-badges { justify-content: flex-start; margin-top: 4px; }
.co-prof-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.co-safety { background: #fbf0dc; border: 1px solid #ecd09a; border-radius: 8px; padding: 8px 12px; }
@media (max-width: 960px) {
  .co-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-split { grid-template-columns: 1fr; }
  .co-aside { position: static; }
}
@media (max-width: 620px) {
  .co-steps { grid-template-columns: 1fr; }
  .co-media { grid-template-columns: 1fr; }
  .co-msg { max-width: 100%; }
  .co-rev-head { flex-wrap: wrap; }
  .co-gallery img { height: 190px; }
}
.ph-priv { position: absolute; top: 6px; right: 38px; border: 0; border-radius: 999px; width: 26px; height: 26px; background: rgba(255,255,255,.88); cursor: pointer; font-size: 14px; line-height: 26px; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ph-badge { position: absolute; top: 6px; right: 6px; border-radius: 999px; width: 26px; height: 26px; background: rgba(255,255,255,.88); font-size: 14px; line-height: 26px; text-align: center; }
.photobook figure.ph-wrap .ph-priv, .photobook figure.ph-wrap .ph-del { top: 16px; }
.photobook figure.ph-wrap .ph-del { right: 16px; } .photobook figure.ph-wrap .ph-priv { right: 48px; }
/* membership plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; }
.plan.cur { border: 2px solid var(--forest); }
.plan .price { font: 800 2rem var(--serif); margin: 0; }
.plan .price small { font: 500 .9rem var(--sans, system-ui); color: var(--ink-2); }
.plan ul { flex: 1; }
.plan .soon { color: var(--ink-2); opacity: .8; }
.interval { display: inline-flex; border: 1px solid #d9cdb4; border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.interval button { border: 0; background: none; padding: 6px 14px; cursor: pointer; font: inherit; }
.interval button.on { background: var(--forest); color: #fff; }

/* Viator tours (assets/js/tours.js) */
.tour-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tour-head h3 { margin: 0; }
.tour-card { display: flex; flex-direction: column; }
.tour-card .tour-img { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--line); }
.tour-card .tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-img img { transform: scale(1.04); }
.tour-noimg { display: grid; place-items: center; height: 100%; font-size: 2rem; }
.tour-card .pad { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.tour-card h4 { margin: 0 0 6px; font-size: 1rem; line-height: 1.3; }
.tour-card h4 a { color: var(--ink); text-decoration: none; }
.tour-card h4 a:hover { color: var(--rust); }
.tour-facts { margin: 0; }
.tour-stars { color: var(--brass); font-weight: 700; }
.tour-cancel { margin: 4px 0 0; color: var(--forest); }
.tour-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tour-foot b { font-size: 1.05rem; }
.finder-tours { margin-top: 36px; }
.planner-tours { margin-bottom: 18px; }
.planner-tours .tour-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
/* phones: tours scroll sideways instead of stacking six tall cards */
@media (max-width: 620px) {
  .tour-grid, .planner-tours .tour-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 2px 2px 10px; }
  .tour-grid > .tour-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Amazon gear picks (assets/js/amazon.js) */
.amz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.amz-card { display: flex; flex-direction: column; }
.amz-card .amz-img { display: grid; place-items: center; aspect-ratio: 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); }
.amz-card .amz-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.amz-card .pad { flex: 1; display: flex; flex-direction: column; padding: 14px; }
.amz-card h4 { margin: 4px 0 8px; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.amz-card h4 a { color: var(--ink); text-decoration: none; }
.amz-card h4 a:hover { color: var(--rust); }
.amz-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.amz-foot b { font-size: 1.1rem; }
.amz-asof { display: block; font-size: .72rem; color: var(--muted, #7a7466); cursor: help; }
.amz-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.amz-row td { background: var(--paper, #faf7f0); padding: 16px; }
@media (max-width: 620px) {
  .amz-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 2px 2px 10px; }
  .amz-grid > .amz-card { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Adventurer levels (assets/js/levels.js) ---------- */
.lvl { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--lvl); color: var(--lvl-ink, #fff);
  font: 600 .74rem/1.5 var(--sans); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.lvl-legend { box-shadow: inset 0 0 0 1.5px #c9a24a; background: linear-gradient(135deg, #7a4d2c, #5a3620); }
.post.by-lvl { border-left: 5px solid var(--lvl); }
.post .by .lvl, .reply .lvl { margin-left: 6px; }
.lvl-legend-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.lvl-legend-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .88rem; }
.lvl-progress { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 8px 0 4px; }
.lvl-progress i { display: block; height: 100%; background: var(--lvl); border-radius: inherit; }
.country-picker .chips { margin-top: 8px; }
.country-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: .85rem; }
.country-chip button { border: 0; background: transparent; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 4px; color: var(--muted); }
.country-chip.suggest { background: transparent; border-style: dashed; }
.country-chip.suggest button { color: var(--forest); font-weight: 700; }
.lvl-keeper { background: linear-gradient(135deg, #4a2c18, #2a170c); box-shadow: inset 0 0 0 2px #d9b45a, 0 0 0 1px #8a6a2a; }
.cont-pick { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0; }
.cont { font-size: .78rem; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.legal-doc h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.legal-doc p { line-height: 1.65; }
/* Community board filters */
.board-filters { margin-bottom: 18px; }
.board-label { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.board-label:first-child { margin-top: 0; }
.chips.sm button { padding: 5px 11px; font-size: .84rem; }
.chips button .ct { display: inline-block; min-width: 1.4em; padding: 0 5px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .75rem; text-align: center; }
.board-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.board-row select, .board-row input[type=search] { width: auto; flex: 1 1 160px; }
.board-row .check { flex: 0 0 auto; }
#showing { margin: 10px 0 0; }
button.tag { cursor: pointer; font-family: inherit; }
.post .tag { font-size: .76rem; }
/* Country type-ahead */
.ta-wrap { position: relative; flex: 1; min-width: 0; }
.ta-wrap input { width: 100%; }
.ta-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.ta-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; cursor: pointer; font-size: .95rem; }
.ta-item span { color: var(--muted); font-size: .78rem; }
.ta-item.on, .ta-item:hover { background: var(--paper-2); }
.ta-none { padding: 8px 12px; color: var(--muted); font-size: .9rem; }

/* ---------- phone app (app.html) + "open the app" bar on phones ---------- */
.app-promo { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: #1b130d; color: #f4ecdc; border: 1px solid #c9a24a; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); font-size: .9rem; }
.app-promo span { flex: 1; }
.app-promo .app-promo-x { background: none; border: 0; color: #f4ecdc; font-size: 1.4rem; line-height: 1; padding: 4px 6px; cursor: pointer; }
body.app-mode { background-size: 22px 22px, 37px 37px; min-height: 100vh; }
body.app-mode main { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.appbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; color: #f4ecdc;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 2px, transparent 2px 7px), linear-gradient(180deg, #2a1d13 0%, #1b130d 100%); border-bottom: 1px solid #c9a24a; }
.appbar-brand { display: flex; align-items: center; gap: 8px; color: #f4ecdc; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; }
.appbar-logo svg { width: 34px; height: 34px; }
.appbar #ab-level { flex: 1; }
.appbar-link { color: #f3dc9a; font-size: .85rem; }
.app-wrap { max-width: 560px; margin: 0 auto; padding: 16px; }
.app-hello { text-align: center; color: var(--ink-2); }
.app-label { display: block; font-weight: 600; margin: 10px 0 6px; }
.app-label small { font-weight: 400; color: var(--muted); }
.app-select, .app-input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.app-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px; }
.app-shot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 132px; border-radius: 18px; border: 0; cursor: pointer; font: 600 1.05rem var(--sans); color: #fff; background: linear-gradient(160deg, var(--rust) 0%, var(--rust-2) 100%); box-shadow: 0 10px 24px -12px rgba(168,54,31,.9); -webkit-tap-highlight-color: transparent; }
.app-shot span { font-size: 2.4rem; line-height: 1; }
.app-shot.alt { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%); box-shadow: 0 10px 24px -12px rgba(31,66,52,.9); }
.app-shot:active { transform: scale(.97); }
.app-hint { font-size: .85rem; color: var(--muted); margin: 4px 0 12px; }
.app-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.app-google:active { transform: scale(.98); }
.g-logo { display: inline-flex; vertical-align: -4px; }
.app-gp h2 { display: flex; align-items: center; gap: 8px; }
.app-where { margin: 0 0 10px; padding: 9px 12px; font-size: 16px; }
.journal-import { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 14px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper-2, #f4eee2); font-size: .92rem; }
.app-h { font-size: 1.1rem; margin: 22px 0 10px; }
.app-days { display: grid; gap: 10px; }
.app-day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.app-day-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-day-top b { display: block; }
.app-day-top span { font-size: .85rem; color: var(--ink-2); }
.app-add { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; font-size: 1.4rem; cursor: pointer; }
.app-strip { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; }
.app-strip img, .app-strip .app-vid, .app-strip .app-more { flex: none; width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.app-strip .app-vid, .app-strip .app-more { display: grid; place-items: center; background: #2a1d13; color: #f4ecdc; font-size: .85rem; }
.app-foot { text-align: center; font-size: .85rem; margin: 24px 0 8px; line-height: 2; }
.app-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 14px 0; }
.app-card h2 { margin-top: 0; }
.app-card form { display: grid; gap: 10px; }
.app-wide { width: 100%; justify-content: center; padding: 14px; }
.app-install p { margin: 6px 0 10px; font-size: .92rem; }
.app-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.4rem; color: var(--muted); cursor: pointer; }
.ios-share { display: inline-block; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; font-size: .8rem; }
.app-flash { background: #e1f1e5; border: 1px solid #b2d8bd; color: #1d4d2c; padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; }
.app-flash .alert { margin: 8px 0 0; }
.app-flash .btn { margin-top: 8px; }
.app-group { margin: 12px 0; }
.app-group-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.app-group-h span { font-size: .85rem; color: var(--ink-2); }
.app-group-h input { font: inherit; font-size: 16px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); margin-left: 6px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-grid figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #2a1d13; }
.app-grid img, .app-grid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-grid .app-vid { position: absolute; left: 6px; bottom: 6px; color: #fff; font-size: .8rem; background: rgba(0,0,0,.55); padding: 1px 6px; border-radius: 6px; }
.app-grid button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1rem; cursor: pointer; }
.app-grid figure.busy::after, .app-grid figure.ok::after, .app-grid figure.bad::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; }
.app-grid figure.busy::after { content: "⏳"; background: rgba(0,0,0,.45); }
.app-grid figure.ok::after { content: "✓"; background: rgba(47,93,74,.6); }
.app-grid figure.bad::after { content: "✕"; background: rgba(179,38,30,.6); }
.app-more-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.app-priv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-priv button { text-align: left; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 .92rem var(--sans); color: var(--ink); cursor: pointer; }
.app-priv button span { margin-right: 4px; }
.app-priv button small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.app-priv button.on { border-color: var(--forest); background: #e6efe9; box-shadow: inset 0 0 0 1px var(--forest); }
.app-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 75%, transparent); }
.app-actions .btn { justify-content: center; padding: 14px 10px; }
.app-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: appspin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes appspin { to { transform: rotate(360deg); } }

body:has(.app-promo) .site-footer { padding-bottom: 90px; }

/* ---------- offline status pill ---------- */
.net-pill { position: fixed; left: 50%; transform: translateX(-50%); top: calc(8px + env(safe-area-inset-top)); z-index: 90; max-width: calc(100% - 24px); padding: 7px 14px; border-radius: 999px; border: 1px solid #c9a24a; background: #1b130d; color: #f4ecdc; font: 600 .82rem var(--sans); box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.net-pill.off { background: #3a2a14; }
.net-pill[hidden] { display: none; }
body.is-offline .app-google { display: none; }

/* ---------- Travel Documents ---------- */
.doc-who { margin: 18px 0 8px; font-size: .95rem; }
.doc-list { display: grid; gap: 8px; }
.doc-card { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; color: inherit; cursor: pointer; }
.doc-card:hover { border-color: var(--brass); }
.doc-ic { font-size: 1.6rem; line-height: 1; }
.doc-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-warn { font-size: .82rem; font-weight: 600; color: var(--warn); }
.doc-warn.bad { color: var(--bad); }
.doc-dlg { width: min(760px, calc(100vw - 24px)); }
.doc-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.doc-file { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 80px; display: grid; place-items: center; background: #f6f1e6; }
.doc-file img { width: 100%; height: auto; display: block; }
.doc-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.doc-thumbs figure { position: relative; margin: 0; width: 92px; }
.doc-thumbs img, .doc-thumbs figure > span { width: 92px; height: 70px; object-fit: cover; border-radius: 6px; display: grid; place-items: center; background: #efe6d0; font-size: 1.8rem; }
.doc-thumbs figcaption { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-thumbs button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
/* ---------- trip map ---------- */
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.trip-map { height: 420px; border-radius: 10px; border: 1px solid var(--line); background: #e8e2d4; z-index: 0; }
@media (max-width: 760px) { .trip-map { height: 62vh; } }
.pin-ic span { font-size: 24px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.pin-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pin-list button { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font: 600 .85rem var(--sans); cursor: pointer; }
.pin-list small { font-weight: 400; color: var(--muted); }

/* ---------- trip checklist (group leaders) ---------- */
.cl-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 4px 0 10px; }
.cl-bar span { display: block; height: 100%; background: var(--forest); border-radius: 99px; }
.cl-cat { margin: 18px 0 6px; font-size: .95rem; }
.req-row { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 10px 12px; margin: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; color: inherit; cursor: pointer; }
.req-row:hover { border-color: var(--brass); }
.req-ic { font-size: 1.2rem; line-height: 1.3; }
.req-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.req-pill { flex: none; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--line); color: var(--ink-2); white-space: nowrap; }
.st-ok .req-pill { background: #dcefe2; color: #1f5b33; } .st-wait .req-pill { background: #fbefc9; color: #6b4e0e; }
.st-back .req-pill { background: #f8dcd4; color: #8a2a12; } .st-part .req-pill { background: #e6eef6; color: #23466b; }
.req-back { color: #8a2a12; }
.req-grp { padding: 10px 0; border-bottom: 1px solid var(--line); }
.req-grp-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .req-grp-h .linkbtn { margin-left: auto; }
.req-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.req-chips button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font: 600 .82rem var(--sans); cursor: pointer; }
.req-chips button.st-ok { background: #dcefe2; border-color: #b6dcc2; } .req-chips button.st-wait { background: #fbefc9; border-color: #efd88a; }
.req-chips button.st-back { background: #f8dcd4; border-color: #eab3a3; } .req-chips button.st-part { background: #e6eef6; }
.cl-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 10px 0 6px; }
.cl-person { padding: 10px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 2px; }
.cl-person .cl-bar { margin: 6px 0 0; }
.cl-upsell { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: #fbf3dc; border: 1px solid #ecd9a0; }
.cl-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 14px; }
.cl-linked { padding: 10px; border: 1px dashed var(--line); border-radius: 10px; margin: 10px 0; }
details.grant summary { cursor: pointer; } details.grant label { display: block; margin: 4px 0; }

.gear-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.gear-pick { display: flex; align-items: center; gap: 6px; }
.gear-pick select { padding: 4px 6px; font-size: .85rem; } .gear-pick input { width: 84px; padding: 4px 6px; font-size: .85rem; }
.gear-pick a, .budget-row a.small { white-space: nowrap; } .gear-pick select { width: auto; min-width: 0; }

/* ---------- share sheet ---------- */
.share-sheet { width: min(460px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 16px; background: var(--card, #fbf6ec); color: var(--ink); }
.share-sheet::backdrop { background: rgba(20, 12, 6, .55); }
.share-sheet header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.share-sheet header h3 { margin: 0; font-size: 1.15rem; } .share-sheet .x { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--muted); }
.share-sheet .pad { padding: 16px 18px 18px; }
.share-note { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: #fbf3dc; border: 1px solid #ecd9a0; font-size: .92rem; }
.share-photos { width: 100%; margin-bottom: 14px; display: flex; flex-direction: column; gap: 2px; align-items: center; } .share-photos small { font-weight: 500; opacity: .85; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.share-grid > * { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border: 0; background: none; font: 600 .78rem var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 10px; }
.share-grid > *:hover { background: var(--paper-2, #f1e8d6); }
.si { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; } .si svg { width: 24px; height: 24px; }
.si-facebook { background: #1877f2; } .si-x { background: #111; } .si-whatsapp { background: #25d366; } .si-pinterest { background: #e60023; }
.si-linkedin { background: #0a66c2; } .si-email { background: #7b7468; } .si-link { background: #3c7a4f; } .si-more { background: #b8892b; }
.entry-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.join-cta { margin-top: 24px; background: linear-gradient(160deg, #2a1b11, #1a110b); color: #f3e6c8; border-color: #b8892b; } .join-cta h3 { color: #f3d98b; }

/* ---------- v22: privacy dropdowns, "Show private images" switch, public journal search, guide profiles, excursion prompt ---------- */
.priv-pick { cursor: pointer; }
label.tag.priv-pick { position: relative; }
.priv-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; appearance: none; }
.ph-priv.priv-pick { width: auto; min-width: 26px; padding: 0 7px; display: inline-flex; align-items: center; gap: 2px; }
.ph-priv .caret { font-size: 9px; color: var(--ink-2); }
label.tag.priv-pick { white-space: nowrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .9rem; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .knob { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #b9b0a0; transition: background .2s; flex: none; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .2s; }
.switch input:checked + .knob { background: var(--forest); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--brass); outline-offset: 2px; }
.switch.sm { font-size: .85rem; }
.menu-switch { padding: 8px 12px 10px; border-bottom: 1px solid rgba(201,162,74,.4); margin-bottom: 6px; color: var(--ink); }
@media (max-width: 1180px) { .menu-switch { color: #efe2c4; border-color: rgba(201,162,74,.25); } }
.priv-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.priv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.nav > a.nav-journals { color: #f8e7b4; }
/* public journal search */
.pj-search { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; align-items: end; margin-bottom: 14px; }
@media (max-width: 760px) { .pj-search { grid-template-columns: 1fr 1fr; } .pj-search .pj-q { grid-column: 1 / -1; } }
.pj-card .img { aspect-ratio: 4 / 3; }
.pj-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pj-count { margin: 0 0 14px; }
.pj-cta { margin-top: 26px; }
.home-journals { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
/* guide profiles */
.spec-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 14px; }
.lang-line { margin: 8px 0 0; }
.vis-tag { font-size: .75rem; }
/* "Want to add an excursion?" on lodging / flight-only days */
.tl-excursion { margin: 6px 0 4px; padding: 10px 12px; border: 1px dashed var(--brass); border-radius: 10px; background: rgba(201,162,74,.08); }
.tl-excursion .row-x { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tl-excursion .tours { margin-top: 10px; }
.tl-excursion .tour-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tl-day.quiet h4 .n { color: var(--muted); }

/* ---------- v24: easier sign-in on phones + "Install the app" ---------- */
.mob-signin, .nav-install { display: none !important; }
@media (max-width: 1180px) {
  .mob-signin { display: inline-flex !important; margin-left: auto; padding: 9px 16px; }
  .mob-signin + .menu-toggle { margin-left: 8px; }
  .site-header .nav-cta .nav-install { display: inline-flex !important; }
  .site-header.open .nav-cta { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; }
  .site-header .brand { min-width: 0; }
  .site-header .brand span { letter-spacing: .2em; }
  .site-header .brand span::before, .site-header .brand span::after { width: 8px; }
}
@media (max-width: 360px) { .site-header .brand span { display: none; } }
.signin { text-align: left; }
.signin .signin-h { margin: 0 0 12px; }
.signin input { font-size: 16px; min-height: 48px; }          /* 16px stops iPhones zooming into the field */
.signin .btn.block { min-height: 50px; font-size: 1rem; }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 10px; font: 600 .85rem var(--sans); color: var(--forest); cursor: pointer; }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 14px 0 6px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.si-msg { color: var(--bad); margin: 10px 0 0; font-size: .9rem; }
.si-msg:empty { display: none; }
.si-msg.ok { color: var(--ok); }
.si-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; font-size: .92rem; }
.si-links .linkbtn { padding: 6px 0; }
.si-stay, .si-join { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.code-input { font-size: 1.5rem !important; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; }
.gate .signin { max-width: 380px; margin: 18px auto 0; }
@media (max-width: 860px) {
  .join-box { order: -1; }                                     /* the form before the plans on phones */
  input, select, textarea { font-size: 16px; }
}
.inst-steps { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.inst-steps li { display: flex; gap: 12px; align-items: flex-start; }
.inst-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--rust); color: #fff; display: grid; place-items: center; font-weight: 700; }
.inst-dialog .ios-share { display: inline-block; padding: 0 4px; border: 1px solid var(--line); border-radius: 4px; }
@media (max-width: 760px) { body.si-mode .page-hero { display: none; } body.si-mode .section { padding-top: 22px; } }
@media (max-width: 400px) {
  .site-header .brand { gap: 8px; flex: 0 1 auto; overflow: hidden; }
  .site-header .brand svg { width: 38px; height: 38px; flex: none; }
  .site-header .brand b { font-size: .92rem; }
  .mob-signin { padding: 8px 12px; }
  .menu-toggle { padding: 8px 9px; letter-spacing: .06em; }
}
.mob-signin.icon { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; justify-content: center; background: transparent; border: 1.5px solid rgba(243,220,154,.75); color: #f4ecdc; box-shadow: none; }
.mob-signin.icon svg { width: 22px; height: 22px; }
.mob-signin.icon:hover { background: rgba(243,220,154,.15); }
.app-back { flex: none; width: 36px; height: 40px; margin-right: -8px; background: none; border: 0; color: #f3dc9a; font: 400 2.2rem/1 var(--serif); cursor: pointer; padding: 0; }
.app-strip[data-day] { cursor: pointer; }
.app-del-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-del-grid figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #2a1d13; }
.app-del-grid img { width: 100%; height: 100%; object-fit: cover; }
.app-del-grid .app-vid { display: grid; place-items: center; height: 100%; color: #f4ecdc; font-size: .85rem; }
.app-del-grid .ph-del { width: 32px; height: 32px; line-height: 32px; font-size: 18px; }
.appbar-brand b { font-size: 1.05rem; line-height: 1.15; }
@media (max-width: 400px) { .appbar-brand b { font-size: .95rem; } }

/* ---- v25: inside the App Store / Google Play app ---- */
html.native-app .site-header { padding-top: max(env(safe-area-inset-top, 0px), var(--safe-area-inset-top, 0px)); }
html.native-app .no-native, html.native-app .app-promo, html.native-app [data-install], html.native-app .g-btn { display: none !important; }
html.native-app body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
html.native-app .site-footer { padding-bottom: calc(28px + max(env(safe-area-inset-bottom, 0px), var(--safe-area-inset-bottom, 0px))); }
.push-ask { position: fixed; left: 10px; right: 10px; bottom: calc(10px + max(env(safe-area-inset-bottom, 0px), var(--safe-area-inset-bottom, 0px))); z-index: 80; padding: 14px 16px; border-radius: 14px; background: #1b130d; color: #f4ecdc; border: 1px solid #c9a24a; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); font-size: .92rem; }
.push-ask p { margin: 0 0 10px; }
.push-ask .row-btns { display: flex; gap: 8px; justify-content: flex-end; }
.push-ask .btn.ghost { color: #f4ecdc; border-color: rgba(243,220,154,.7); }
.app-offline { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }

/* ---------- v26: quick-access tiles (home, member portal) + icon chips (planner, book travel) ---------- */
.ico-svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }
.qa-tile {
  --tone: #c8452c;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: 18px 18px 16px; border-radius: 16px; text-decoration: none; color: #f4ecdc;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(201,162,74,.20), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #3a281a 0%, #1b130d 100%);
  border: 1px solid rgba(201,162,74,.6);
  box-shadow: inset 0 0 0 3px #1b130d, inset 0 0 0 4px rgba(201,162,74,.22), 0 14px 28px -16px rgba(0,0,0,.7);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.qa-tile:hover, .qa-tile:focus-visible { color: #f4ecdc; transform: translateY(-3px); border-color: #e0b85c; box-shadow: inset 0 0 0 3px #1b130d, inset 0 0 0 4px rgba(224,184,92,.45), 0 18px 32px -14px rgba(0,0,0,.75), 0 0 0 1px rgba(224,184,92,.3); }
.qa-tile:active { transform: scale(.97); }
.qa-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fdf3da;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--tone) 55%, #fff 45%) 0%, var(--tone) 55%, color-mix(in srgb, var(--tone) 70%, #000 30%) 100%);
  border: 2px solid #d9b45a;
  box-shadow: 0 0 0 3px rgba(201,162,74,.16), 0 0 0 4px #1b130d, 0 0 0 5px rgba(201,162,74,.35), inset 0 -6px 12px rgba(0,0,0,.28);
  transition: transform .3s ease;
}
.qa-ico .ico-svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.qa-tile:hover .qa-ico { transform: rotate(-8deg) scale(1.05); }
.qa-t { margin-top: 14px; font: 700 1.15rem/1.15 var(--serif); color: #f8e7b4; letter-spacing: .01em; }
.qa-s { margin-top: 4px; font-size: .84rem; line-height: 1.35; color: #cbbd9c; }
.qa-go { position: absolute; top: 14px; right: 16px; color: #c9a24a; font-weight: 700; transition: transform .18s ease; }
.qa-tile:hover .qa-go { transform: translateX(3px); }
.qa-rust { --tone: #c8452c; } .qa-forest { --tone: #2f6b52; } .qa-sky { --tone: #2b6f8f; }
.qa-brass { --tone: #a8812f; } .qa-plum { --tone: #6b4a8f; } .qa-moss { --tone: #5a6b2f; } .qa-ink { --tone: #4a5557; }
.qa-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.qa-grid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qa-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .qa-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home: tiles sit on the bottom edge of the hero */
.qa-panel { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 8px; }
.qa-panel .qa-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 10px; color: #f8e7b4; }
.qa-panel .qa-head b { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #e0b85c; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.qa-more { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.home-hero .wrap { padding-bottom: 104px; }

/* light icon chips: quick jumps / quick add on paper backgrounds */
.qa-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qa-chip {
  --tone: #c8452c;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; min-height: 44px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); font: 600 .9rem var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(31,42,44,.05); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.qa-chip:hover { color: var(--ink); border-color: var(--tone); box-shadow: 0 6px 14px -10px rgba(31,42,44,.6); transform: translateY(-1px); }
.qa-chip:active { transform: scale(.97); }
.qa-chip .qa-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--tone); box-shadow: inset 0 -3px 6px rgba(0,0,0,.2); }
.qa-chip .qa-dot .ico-svg { width: 18px; height: 18px; }
.qa-chip.on { border-color: var(--tone); box-shadow: inset 0 0 0 1px var(--tone); }
.qa-label { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.book-jump { position: sticky; top: var(--hdr, 78px); z-index: 20; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 760px) {
  .qa-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
  .qa-chips.scroll::-webkit-scrollbar { display: none; }
  .qa-chip { flex: none; }
}
@media (max-width: 620px) {
  .home-hero { min-height: 0; }
  .home-hero .wrap { padding: 26px 0 88px; }
  .home-hero .eyebrow { display: none; }
  .home-hero h1 { font-size: 2rem; max-width: 13ch; margin-bottom: .35em; }
  .home-hero .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
  .home-hero .lead-long { display: none; }
  .home-hero .actions { margin-top: 16px; }
  .home-hero .actions .btn.ghost { display: none; }
  .qa-panel { margin-top: -74px; }
  .qa-grid, .qa-grid.n4, .qa-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .qa-grid .qa-tile { align-items: center; text-align: center; padding: 13px 4px 11px; border-radius: 14px; }
  .qa-grid .qa-ico { width: 50px; height: 50px; }
  .qa-grid .qa-ico .ico-svg { width: 26px; height: 26px; }
  .qa-grid .qa-t { margin-top: 9px; font-size: .96rem; }
  .qa-grid .qa-s, .qa-grid .qa-go { display: none; }
  .qa-grid.keep-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-grid.keep-sub .qa-s { display: block; font-size: .76rem; }
}
@media (min-width: 621px) { .home-hero .lead-short { display: none; } }
@media (max-width: 360px) { .qa-grid .qa-t { font-size: .88rem; } .qa-grid .qa-ico { width: 48px; height: 48px; } }

/* ---------- v26: compact itinerary rows (tap to expand) ---------- */
.tl-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tl-ic { --tone: #7b7468; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--tone); box-shadow: inset 0 -4px 8px rgba(0,0,0,.18), 0 0 0 2px var(--card), 0 0 0 3px color-mix(in srgb, var(--tone) 40%, transparent); }
.tl-ic .ico-svg { width: 21px; height: 21px; }
.tl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tl-kind { font: 700 .7rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tone, var(--muted)); }
.tl-kind .tl-time { color: var(--ink-2); letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: .8rem; margin-left: 4px; }
.tl-ttl { font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.tl-item.open .tl-ttl { -webkit-line-clamp: unset; }
.tl-sub { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-right { flex: none; display: flex; align-items: center; gap: 8px; }
.tl-right .cost { font-size: .92rem; }
.tl-chev { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); font-size: .7rem; transition: transform .2s ease; }
.tl-item.open .tl-chev { transform: rotate(180deg); color: var(--rust); border-color: var(--rust); }
.tl-item.tl-c { display: block; padding: 10px 12px; }
.tl-more { display: none; margin: 10px 0 0 52px; padding-top: 10px; border-top: 1px dashed var(--line); }
.tl-item.open .tl-more { display: block; }
.tl-more .tl-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tl-more .tl-acts .btn.sm { min-height: 40px; }
.tl-more .small { margin-top: 2px; }
.tl-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 2px; }
.tl-cols .tl-item.tl-c { margin-bottom: 0; }
@media (max-width: 760px) {
  .tl-item.tl-c { padding: 9px 10px; }
  .tl-ic { width: 38px; height: 38px; }
  .tl-more { margin-left: 0; }
  .tl-row { gap: 10px; }
  .tl-kind .tl-time { font-size: .74rem; white-space: nowrap; margin-left: 3px; }
  .tl-kind { font-size: .66rem; }
  .tl-right { gap: 6px; }
  .tl-right .cost { font-size: .84rem; }
  .tl-chev { width: 24px; height: 24px; }
  .tl-ex-t { font-size: .86rem; }
}
.tl-item.tl-end.tl-endc { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 6px 12px; }
.tl-mini { --tone: #7b7468; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--tone); opacity: .85; }
.tl-mini .ico-svg { width: 14px; height: 14px; }
.tl-end-t { min-width: 0; font-size: .85rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-excursion .row-x { flex-wrap: nowrap; }
.tl-ex-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.tl-ex-b { display: flex; gap: 6px; align-items: center; flex: none; }
.tl-ex-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; font-size: .8rem; }
.tl-ex-x:hover { color: var(--rust); border-color: var(--rust); }
@media (max-width: 760px) { .tl-excursion { padding: 8px 10px; } .tl-ex-b .btn.sm { padding: 7px 12px; font-size: .8rem; } .tl-ex-x { width: 36px; height: 36px; } }

/* v26: budget total above the itinerary */
.ib { margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.ib-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ib-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--forest); box-shadow: inset 0 -4px 8px rgba(0,0,0,.18); }
.ib-ic .ico-svg { width: 22px; height: 22px; }
.ib-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ib-k { font: 700 .7rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.ib-v b { font: 800 1.2rem var(--serif); }
.ib-v .muted { font-size: .85rem; }
.ib-bar { display: block; margin-top: 4px; height: 6px; }
.ib-r { flex: none; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ib-over { color: var(--bad); font-weight: 700; }
.ib-more { display: none; padding: 4px 12px 12px 64px; border-top: 1px dashed var(--line); }
.ib.open .ib-more { display: block; }
.ib.open .tl-chev { transform: rotate(180deg); color: var(--rust); border-color: var(--rust); }
.ib-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; border-bottom: 1px solid rgba(214,200,170,.5); }
.ib-row b { font-variant-numeric: tabular-nums; }
.ib-total { border-bottom: 0; font-weight: 700; }
@media (max-width: 760px) { .ib-more { padding-left: 12px; } .ib-head { gap: 10px; } }
#explore { scroll-margin-top: 90px; }

/* v26.1: journal sharing points under the hero */
.jr-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jr-points span { padding: 6px 12px; border-radius: 999px; background: rgba(27,19,13,.55); border: 1px solid rgba(201,162,74,.6); color: #f8e7b4; font: 600 .85rem var(--sans); white-space: nowrap; }
@media (max-width: 620px) { .jr-points { gap: 6px; } .jr-points span { font-size: .78rem; padding: 5px 10px; } }
.empty-trip { text-align: center; padding: 36px 20px !important; }
.empty-trip .empty-ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--rust); box-shadow: inset 0 -5px 10px rgba(0,0,0,.2); }
.empty-trip .empty-ic .ico-svg { width: 32px; height: 32px; }
#main[hidden], #budget-card[hidden] { display: none !important; }
.tl-bp { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7f0f4; border: 1px solid #b9d3de; font-size: 1rem; cursor: pointer; }
.tl-bp:hover { border-color: var(--sky); }
.bp-files img { width: 100%; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 10px; background: #fff; }

/* v26.5: family view-only itinerary */
.fam-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fam-line b { grid-column: 1; font-size: .92rem; }
.fam-line .small { grid-column: 1; }
.fam-line .btn { grid-column: 2; grid-row: 1 / span 2; }
.fam-never { list-style: none; padding: 10px 12px; margin: 0 0 14px; border-radius: 10px; background: var(--paper, #f6efe2); display: grid; gap: 4px; font-size: .9rem; }
.fv-hero { background: linear-gradient(160deg, #2a1c12, #1a110b); color: #f4ecdc; padding: 28px 0 22px; border-bottom: 3px solid #c9a24a; }
.fv-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 4px 0 6px; color: #f8e7b4; }
.fv-hero .eyebrow { color: #c9a24a; }
.fv-hero p { margin: 0; color: #e6d8bd; }
.fv-badge { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(201,162,74,.6); background: rgba(27,19,13,.55); color: #f8e7b4; font: 600 .8rem var(--sans); }
.fv-wrap { max-width: 760px; margin: 0 auto; padding: 16px; }
.fv-day { margin: 18px 0 8px; font: 700 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.fv-day.today { color: #c8452c; }
.fv-day.today::after { content: "Today"; padding: 2px 8px; border-radius: 999px; background: #c8452c; color: #fff; letter-spacing: .04em; }
.fv-it { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--tone); border-radius: 12px; }
.fv-it .tl-ic { margin-top: 2px; }
.fv-body { flex: 1; min-width: 0; }
.fv-ttl { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.fv-sub { font-size: .86rem; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
.fv-sub a { color: inherit; }
.fv-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 22px 0 8px; }

/* v26.6: document lock */
.lock-dlg { width: min(420px, calc(100vw - 24px)); }
.lock-dlg .lock-pin { font-size: 1.5rem; letter-spacing: .5em; text-align: center; }

/* ---------- v36: signed-in header spacing (one line on desktop, account pill, phone account icon) ---------- */
.site-header .brand { flex: none; }
.site-header .brand b, .nav > a, .drop > button { white-space: nowrap; }
.nav-cta .acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1.5px solid rgba(243,220,154,.6); border-radius: 999px; letter-spacing: .02em; text-transform: none; font-size: .92rem; color: #f4ecdc; }
.nav-cta .acct-btn::before { display: none; }
.nav-cta .acct-btn:hover, .nav-cta .acct:focus-within .acct-btn { border-color: #f3dc9a; }
.acct-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #c8452c; color: #fff; font: 700 .9rem/1 var(--sans); letter-spacing: 0; box-shadow: 0 0 0 1px rgba(243,220,154,.5); }
.acct-nm { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.mob-signin.acct-mob { background: #c8452c; border-color: rgba(243,220,154,.75); color: #fff; font: 700 1.05rem/1 var(--sans); text-decoration: none; }
.mob-signin.acct-mob:hover { background: #a93a24; }
@media (min-width: 1181px) and (max-width: 1400px) {
  .site-header .wrap { gap: 12px; }
  .nav > a, .nav > .drop > button { padding: 12px 9px; letter-spacing: .1em; }
  .nav > a::before, .nav > .drop > button::before { left: 9px; right: 9px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand svg { width: 48px; height: 48px; }
  .site-header .brand b { font-size: 1.24rem; letter-spacing: .04em; }
}
@media (max-width: 1180px) {
  .site-header.open .nav-cta .acct-btn { width: auto; margin: 4px 0 2px; }
}

/* ---------- v56: phone account/sign-in circle never squeezed ---------- */
.mob-signin.icon { flex: none; aspect-ratio: 1; min-width: 0; }
@media (max-width: 1180px) {
  .site-header .brand { flex: 0 1 auto; min-width: 0; }
  .menu-toggle { flex: none; }
}
@media (max-width: 480px) {
  .mob-signin.icon { width: 38px; height: 38px; }
  .mob-signin.acct-mob { font-size: .95rem; }
  .mob-signin.icon svg { width: 19px; height: 19px; }
  .mob-signin + .menu-toggle { margin-left: 6px; }
}
@media (max-width: 400px) {
  .site-header .brand b { font-size: .84rem; letter-spacing: .03em; }
  .site-header .brand svg { width: 34px; height: 34px; }
}
@media (max-width: 350px) {
  .site-header .brand b { font-size: .7rem; letter-spacing: .01em; }
  .site-header .brand { gap: 6px; }
  .site-header .brand svg { width: 30px; height: 30px; }
  .menu-toggle { padding: 7px 7px; font-size: .78rem; }
}
