h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* ---- Kashmirly agent portal ---- */
:root {
  --ink: #0e2029;
  --ink-2: #3d4f5a;
  --ink-3: #677a85;
  --ink-4: #94a5ae;
  --line: #e2eaee;
  --line-2: #eef3f6;
  --surface: #ffffff;
  --canvas: #f2f5f7;
  --brand: #16606b;
  --brand-deep: #0f4c55;
  --brand-tint: #e6f1f2;
  --shell: #0d2530;
  --shell-2: #143441;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(14,32,41,.05), 0 1px 3px rgba(14,32,41,.04);
  --shadow-2: 0 2px 6px rgba(14,32,41,.06), 0 14px 32px -20px rgba(14,32,41,.35);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  /* No font-family was ever set and the portal loads no Bootstrap, so every
     page fell back to the browser's serif default. */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
input, select, textarea, button { font-family: inherit; font-size: inherit; }

h1 { font-size: 1.55rem; letter-spacing: -0.022em; margin: 0 0 0.5rem; color: var(--ink); font-weight: 700; }
h2 { font-size: 1.12rem; letter-spacing: -0.014em; margin: 0 0 0.6rem; color: var(--ink); font-weight: 650; }
h3 { font-size: 1rem; letter-spacing: -0.01em; margin: 0 0 0.5rem; color: var(--ink); font-weight: 650; }
h4 { font-size: 0.92rem; margin: 0 0 0.45rem; color: var(--ink); font-weight: 650; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* Every text control in the portal, so pages stop each inventing their own. */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], input[type="search"], select, textarea {
  border: 1px solid #cfdae0;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,96,107,.14);
}
input:disabled, select:disabled, textarea:disabled { background: #f5f8f9; color: var(--ink-4); }

/* ── Shell ───────────────────────────────────────────────────────────── */
.agent-shell { min-height: 100vh; display: flex; flex-direction: column; }
.agent-header {
  background: linear-gradient(180deg, var(--shell-2), var(--shell));
  color: #fff; display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; padding: 0.6rem 1.6rem; position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.agent-brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.agent-brand span { color: #7fb4c4; font-weight: 500; }
.agent-nav { display: flex; align-items: center; gap: 1.2rem; flex: 1; justify-content: space-between; }
.agent-links { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.agent-links a {
  color: #a9c1cd; text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 0.4rem 0.7rem; border-radius: 8px; transition: background .12s ease, color .12s ease;
  white-space: nowrap;
}
.agent-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.agent-links a.active { color: #fff; background: rgba(255,255,255,.13); font-weight: 600; }
.agent-account { display: flex; align-items: center; gap: 0.6rem; }
.agent-avatar {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; flex: 0 0 auto;
}
.agent-user { color: #8fa8b5; font-size: 0.83rem; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-account-link {
  color: #a9c1cd; text-decoration: none; font-size: 0.83rem; padding: 0.3rem 0.55rem; border-radius: 8px;
}
.agent-account-link:hover, .agent-account-link.active { color: #fff; background: rgba(255,255,255,.1); }
.agent-signout {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); color: #dce8ee;
  border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.82rem; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.agent-signout:hover { background: rgba(255,255,255,.18); color: #fff; }
.agent-main { flex: 1; padding: 2rem 1.6rem 3rem; }
.agent-container { max-width: 1180px; margin: 0 auto; }
.btn-link { background: none; border: none; color: var(--brand); cursor: pointer; font-size: 0.9rem; padding: 0; }
.btn-link:hover { color: var(--brand-deep); text-decoration: underline; }
.auth-card { background: var(--surface); max-width: 440px; margin: 2.5rem auto; padding: 2rem 2.2rem;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.auth-card h1 { font-size: 1.25rem; margin: 0 0 1.2rem; }
.auth-card .field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.9rem; }
.auth-card label { font-size: 0.85rem; font-weight: 600; color: #44535c; }
.auth-card .hint { font-size: 0.78rem; color: #6b7d88; font-weight: 400; }
.auth-card input { padding: 0.5rem 0.6rem; border: 1px solid #c6d0d7; border-radius: 6px; font-size: 0.95rem; }
.auth-card .btn { width: 100%; padding: 0.55rem; background: #2a5b77; color: #fff; border: none; border-radius: 6px; font-size: 0.95rem; cursor: pointer; margin-top: 0.4rem; }
.auth-card .btn:disabled { opacity: 0.6; }
.auth-card .btn-plain { background: none; border: none; color: #2a5b77; cursor: pointer; padding: 0; font-size: 0.88rem; }
.auth-card .links { margin-top: 1rem; display: flex; justify-content: space-between; font-size: 0.88rem; }
.auth-card .links a { color: #2a5b77; }
.error { color: #b3261e; font-size: 0.88rem; }
.success { background: #e6f4ea; color: #17643a; padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.9rem; }
.notice { background: #fdf3e2; color: #8a5a13; border: 1px solid #f0dcb4; padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.9rem; }
.info { background: #e3edf3; color: #1e4257; padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.9rem; }
.validation-message { color: #b3261e; font-size: 0.8rem; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; max-width: 980px; }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 0.5rem; }
.doc-head { display: flex; align-items: center; gap: 0.6rem; }
.doc-required { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; background: #fdecea; color: #b3261e; border-radius: 999px; padding: 0.1rem 0.5rem; }
.doc-accept { font-size: 0.8rem; color: #6b7d88; }
.doc-uploaded { font-size: 0.88rem; color: #17643a; }
.doc-uploaded span { color: #6b7d88; }
.doc-missing { font-size: 0.88rem; color: #9aa7b0; }
.btn-plain.danger { color: #b3261e; align-self: flex-start; background: none; border: none; cursor: pointer; padding: 0; font-size: 0.85rem; }

/* ── Home ────────────────────────────────────────────────────────────── */
.hm-hero {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.4rem;
  background: linear-gradient(120deg, #0d4a56 0%, #146a75 60%, #0f5561 100%);
  color: #fff; border-radius: 22px; padding: 1.9rem 2.1rem; margin-bottom: 2.1rem;
  box-shadow: 0 22px 44px -30px rgba(13,58,66,.95);
}
.hm-hero-text { max-width: 60ch; }
.hm-eyebrow { margin: 0 0 0.35rem; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: #a9d6da; font-weight: 700; }
.hm-hero h1 { margin: 0 0 0.55rem; color: #fff; font-size: 2.35rem; letter-spacing: -0.02em; line-height: 1.1; }
.hm-lede { margin: 0; color: #d3e7e9; font-size: 0.98rem; line-height: 1.55; }
.hm-wallet {
  display: flex; flex-direction: column; gap: 0.9rem; min-width: 19rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px; padding: 1.15rem 1.25rem; backdrop-filter: blur(6px);
}
.hm-wallet-top { display: flex; align-items: center; gap: 0.9rem; }
.hm-wallet-icon { display: inline-flex; font-size: 2.1rem; color: #eef8f9; }
.hm-wallet-figures { display: flex; flex-direction: column; gap: 0.05rem; }
.hm-wallet-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #b7dde0; font-weight: 700; }
.hm-wallet-amount { font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hm-wallet-loading { color: #7fb0b6; }
.hm-topup {
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
  background: linear-gradient(180deg, #ffd54a, #f4b400); color: #1e2a12; text-decoration: none;
  font-weight: 750; font-size: 1.05rem; border-radius: 999px; padding: 0.6rem 1.2rem;
  box-shadow: 0 8px 18px -10px rgba(244,180,0,.9); transition: transform .12s ease, filter .12s ease;
}
.hm-topup:hover { filter: brightness(1.04); transform: translateY(-1px); text-decoration: none; color: #1e2a12; }

.hm-section-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 0.8rem; }
.hm-section-row .hm-section { margin: 0; }
.hm-section {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-2); font-weight: 700; margin: 0 0 0.8rem;
}
.hm-section-icon { display: inline-flex; font-size: 1.25rem; color: var(--ink-2); }
.hm-section-link { font-size: 0.92rem; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.hm-section-link:hover { text-decoration: underline; }
.hm-section + .hm-grid { margin-bottom: 2rem; }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.hm-card {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  padding: 1.1rem 1.1rem 1.1rem 1rem; box-shadow: var(--shadow-1);
  transition: box-shadow .14s ease, transform .14s ease, border-color .14s ease;
}
.hm-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: #cfdde3; text-decoration: none; }
.hm-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 4.4rem; height: 4.4rem; border-radius: 16px; background: #eef2f5; color: #0f3b45; font-size: 2rem;
}
.hm-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.hm-card-body strong { color: var(--ink); font-size: 1.12rem; letter-spacing: -0.01em; }
.hm-card-body span { color: var(--ink-3); font-size: 0.9rem; line-height: 1.45; }
.hm-chevron { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #f1f4f6; color: #3d4f5a; font-size: 1.1rem; }
@media (max-width: 640px) {
  .hm-hero { padding: 1.4rem 1.2rem; border-radius: 18px; }
  .hm-hero h1 { font-size: 1.8rem; }
  .hm-wallet { min-width: 0; width: 100%; }
  .hm-icon { width: 3.4rem; height: 3.4rem; font-size: 1.6rem; }
}

/* ── Page header ─────────────────────────────────────────────────────── */
.pg-head {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
  gap: 1rem 2rem; max-width: 1100px; margin: 0 0 1.8rem;
}
.pg-head h1 { margin: 0 0 0.35rem; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); }
.pg-lede { margin: 0 0 1.4rem; max-width: 62ch; color: var(--ink-3); font-size: 0.92rem; line-height: 1.55; }
.pg-head .pg-lede { margin-bottom: 0; }
/* An empty list is a state worth showing, not an absence worth hiding. */
.pg-empty {
  color: var(--ink-3); font-size: 0.92rem; background: var(--surface);
  border: 1px dashed #d5e0e5; border-radius: var(--radius); padding: 1.4rem 1.5rem; text-align: center;
}
/* Inside a table cell it is ordinary muted text, not a panel. */
td .pg-empty, .pkg-departures .pg-empty { background: none; border: none; padding: 0; text-align: left; }
.pg-head-link {
  display: flex; flex-direction: column; gap: 0.15rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem; box-shadow: var(--shadow-1); transition: border-color .12s, transform .12s;
}
.pg-head-link:hover { border-color: var(--brand); transform: translateY(-1px); }
.pg-head-link span { font-size: 0.76rem; color: var(--ink-3); }
.pg-head-link strong { font-size: 0.88rem; color: var(--brand); }

/* One page per tour type; these move between them. */
.pkg-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; }
.pkg-tab {
  --tab: #14607f;
  display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem; transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.pkg-tab:hover { color: var(--ink); border-color: #c6d4da; }
.pkg-tab-2 { --tab: #a2512a; }
.pkg-tab-3 { --tab: #4d6b26; }
.pkg-tab.on { color: #fff; background: var(--tab); border-color: var(--tab); }
.pkg-tab-count {
  font-size: 0.74rem; font-weight: 700; min-width: 1.35rem; text-align: center;
  border-radius: 999px; padding: 0.05rem 0.4rem; background: #eef3f6; color: #44606f;
}
.pkg-tab.on .pkg-tab-count { background: rgba(255,255,255,.22); color: #fff; }

/* ── Packages ────────────────────────────────────────────────────────── */
.pkg-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.35rem 1.05rem; margin-bottom: 0.9rem; max-width: 1100px;
  box-shadow: var(--shadow-1); transition: box-shadow .14s ease, border-color .14s ease;
}
.pkg-group .pkg-card:hover { box-shadow: var(--shadow-2); border-color: #d3dee4; }
.pkg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.pkg-head-main { min-width: 0; }
.pkg-head h2 { margin: 0 0 0.25rem; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.pkg-meta { margin: 0; color: var(--ink-3); font-size: 0.86rem; }
.pkg-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.45rem; }
.pkg-title-row h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.pkg-kind {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.16rem 0.5rem; border-radius: 999px; background: #e1eef5; color: #14607f; white-space: nowrap;
}
.pkg-kind-2 { background: #fbe9e0; color: #a2512a; }
.pkg-kind-3 { background: #eaf2df; color: #4d6b26; }
.pkg-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pkg-chip {
  font-size: 0.78rem; color: var(--ink-2); background: #f2f6f8;
  border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap;
}
.pkg-summary { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.pkg-from { text-align: right; white-space: nowrap; flex: 0 0 auto; }
.pkg-from-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4); }
.pkg-from-money { display: flex; align-items: baseline; justify-content: flex-end; gap: 0.45rem; margin: 0.1rem 0; }
.pkg-from-party { display: block; font-size: 1rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.pkg-from-price { font-size: 1.5rem; font-weight: 750; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pkg-departures {
  border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: 0.88rem;
  border-top: 1px solid var(--line-2);
}
/* ── Packages grouped by type, so nobody books the wrong one ─────────── */
.pkg-group { margin-bottom: 2.6rem; max-width: 1100px; }
.pkg-group:last-child { margin-bottom: 0; }
.pkg-group-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.6rem;
  margin: 0 0 0.9rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line);
}
.pkg-group-head h2 { margin: 0; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.pkg-group-count {
  font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.5rem; min-width: 1.5rem; text-align: center;
  border-radius: 999px; background: #e8eef1; color: #44606f;
}
.pkg-group-note { font-size: 0.83rem; color: var(--ink-3); flex: 1 1 20ch; }
.pkg-group-empty { color: var(--ink-4); font-style: italic; font-size: 0.88rem; margin: 0; }
.pkg-group-1 .pkg-group-head { border-bottom-color: #bcd7e4; }
.pkg-group-2 .pkg-group-head { border-bottom-color: #eecab5; }
.pkg-group-2 .pkg-group-count { background: #fbe9e0; color: #a2512a; }
.pkg-group-3 .pkg-group-head { border-bottom-color: #cfe0ba; }
.pkg-group-3 .pkg-group-count { background: #eaf2df; color: #4d6b26; }

/* ── Customer links ──────────────────────────────────────────────────── */
.cl-table { border-collapse: collapse; width: 100%; margin-top: 0.8rem; font-size: 0.88rem;
  background: #fff; border: 1px solid #e4ebef; border-radius: 10px; overflow: hidden; }
.cl-table th, .cl-table td { padding: 0.55rem 0.7rem; border-bottom: 1px solid #edf1f4; text-align: left; }
.cl-table thead th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: #5c6b75; background: #f6f9fb; }
.cl-table tr:last-child td { border-bottom: none; }
.cl-table td { vertical-align: middle; }
.cl-meta { font-size: 0.8rem; color: #6b7c86; }
.cl-adjust { width: 5.5rem; padding: 0.35rem 0.5rem; border: 1px solid #cfd9df; border-radius: 8px; }
.cl-kind { font-size: 0.76rem; font-weight: 600; padding: 0.12rem 0.5rem; border-radius: 999px;
  background: #e1eef5; color: #14607f; white-space: nowrap; }
.cl-kind-2 { background: #fbe9e0; color: #a2512a; }
.cl-kind-3 { background: #eaf2df; color: #4d6b26; }
.pkg-datepick {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end;
  margin: 1rem 0 0; padding: 0.75rem 0.9rem; background: var(--brand-tint);
  border-radius: var(--radius-sm);
}
.pkg-datepick label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: #3d6a70; }
.pkg-datepick input {
  padding: 0.45rem 0.65rem; border: 1px solid #bcd3d6; border-radius: var(--radius-sm);
  font-weight: 400; background: var(--surface); font-size: 0.9rem;
}
.pkg-datepick input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pkg-datepick-note { font-size: 0.82rem; color: #4d7178; flex: 1 1 14ch; }
.pkg-departures th, .pkg-departures td { padding: 0.6rem 0.65rem; border-bottom: 1px solid var(--line-2); text-align: left; }
.pkg-departures thead th {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4);
  font-weight: 700; padding-top: 0.75rem; padding-bottom: 0.5rem;
}
.pkg-departures tbody tr { transition: background .1s ease; }
.pkg-departures tbody tr:hover { background: #f8fbfc; }
.pkg-departures th.num, .pkg-departures td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pkg-party-note { text-align: right !important; color: var(--ink-3); font-style: italic; font-size: 0.84rem; }
.pkg-when { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pkg-when-arrow { color: var(--ink-4); }
.pkg-avail { color: var(--ink-3); font-size: 0.84rem; white-space: nowrap; }
/* The twin fare is the one everybody quotes — the rest are context. */
.pkg-lead-price strong { color: var(--ink); font-size: 1rem; font-weight: 750; }
.pkg-card > .btn-link {
  color: var(--brand); padding: 0.35rem 0; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600;
}
.pkg-card > .btn-link:hover { color: var(--brand-deep); }
.pkg-itinerary { background: #f6f9fb; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; margin-top: 0.8rem; }
.pkg-itinerary p { margin: 0.15rem 0; font-size: 0.88rem; color: #41505a; }

/* ── Booking checkout page ───────────────────────────────────────────── */
.bk-back { display: inline-block; margin-bottom: 0.9rem; color: var(--brand); text-decoration: none;
  font-size: 0.88rem; font-weight: 600; }
.bk-back:hover { text-decoration: underline; }
.bk-head { max-width: 1180px; margin: 0 0 1.4rem; }
.bk-head h1 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.pkg-chip-strong { background: var(--brand-tint); color: #2c6068; font-weight: 650; }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.3rem;
  align-items: start; max-width: 1180px; }
.bk-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.bk-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.35rem 1.25rem; box-shadow: var(--shadow-1); }
.bk-panel h2 { margin: 0 0 0.9rem; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.bk-sub { margin: 1rem 0 0.6rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-4); font-weight: 700; }
/* Each day is its own card with its own accent — a single flowing list made six
   days read as one paragraph, and an agent reading it aloud lost their place. */
.bk-days { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.bk-day {
  --accent: var(--brand);
  --accent-soft: #e8f2f3;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow .14s ease;
}
.bk-day:hover { box-shadow: var(--shadow-2); }
.bk-day:nth-child(5n+2) { --accent: #3f5d9e; --accent-soft: #ecf0fa; }
.bk-day:nth-child(5n+3) { --accent: #a4671b; --accent-soft: #fbf1e5; }
.bk-day:nth-child(5n+4) { --accent: #3f7a4a; --accent-soft: #ebf5ed; }
.bk-day:nth-child(5n+5) { --accent: #7a4a86; --accent-soft: #f4edf6; }

.bk-day-bar {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  padding: 0.7rem 1rem; background: var(--accent-soft); border-bottom: 1px solid var(--line-2);
}
.bk-day-num {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 3rem; padding: 0.28rem 0.5rem; border-radius: 10px;
  background: var(--accent); color: #fff; flex: 0 0 auto; line-height: 1;
}
.bk-day-num em { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.09em; font-style: normal; opacity: .85; }
.bk-day-num strong { font-size: 1.1rem; font-weight: 750; margin-top: 0.1rem; }
.bk-day-titles { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 12rem; }
.bk-day-title { font-size: 0.98rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.bk-day-route { font-size: 0.8rem; color: var(--ink-3); }
.bk-day-city {
  font-size: 0.78rem; font-weight: 600; color: var(--accent); background: var(--surface);
  /* Plain border first: color-mix is unsupported on older browsers, which would
     otherwise drop the declaration and leave the pill borderless. */
  border: 1px solid var(--line);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 999px; padding: 0.2rem 0.65rem; white-space: nowrap;
}

.bk-day-body { padding: 0.85rem 1rem 0.95rem; }
.bk-day-body > .bk-prose:first-child { margin-top: 0; }
.bk-lede { margin: 0 0 0.6rem; font-size: 0.98rem; color: var(--ink); line-height: 1.55; }
.bk-prose { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; white-space: pre-line; }

.bk-sec { margin-top: 0.75rem; padding-left: 0.75rem; border-left: 2px solid var(--accent-soft); }
.bk-sec-head { margin: 0 0 0.2rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--accent); font-weight: 700; }
.bk-sec-item { margin: 0.2rem 0; font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }
.bk-sec-item strong { color: var(--ink); }

/* Hotels, vehicles and extras as chips — the three read as different kinds of thing. */
.bk-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem;
  padding-top: 0.75rem; border-top: 1px dashed var(--line); }
.bk-fact {
  display: inline-flex; align-items: center; gap: 0.35rem; border-radius: 999px;
  padding: 0.24rem 0.7rem; font-size: 0.8rem; font-weight: 500; line-height: 1.35;
}
.bk-fact i { font-style: normal; font-size: 0.85rem; }
.bk-fact-stay { background: #edf4fa; color: #25526f; }
.bk-fact-ride { background: #fdf1e8; color: #8a4f22; }
.bk-fact-extra { background: #ecf6ee; color: #2f6b3a; }
.bk-fact-none { background: #fdecea; color: #a3342b; }
.bk-warn {
  margin: 0 0 0.9rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: #fdf3e2; border: 1px solid #f0dcb4; color: #7a4f11;
  font-size: 0.88rem; line-height: 1.5;
}
.bk-warn strong { display: block; color: #6b430c; }
.bk-included {
  margin: 0 0 0.9rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: #ecf6ee; border: 1px solid #cfe4d4; color: #2f6b3a;
  font-size: 0.88rem; line-height: 1.5;
}
.bk-included strong { display: block; color: #235630; }
.bk-blocked {
  margin: 0; padding: 0.75rem 0.95rem; border-radius: var(--radius-sm);
  background: #fdecea; border: 1px solid #f3cdc8; color: #8f2e25;
  font-size: 0.88rem; line-height: 1.5;
}
.bk-blocked strong { display: block; color: #7a2620; }
.bk-blocked-note { margin: 0.4rem 0 0; font-size: 0.78rem; color: #b3261e; text-align: center; }
.bk-sub-note { margin: -0.4rem 0 0.8rem; font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
.bkw-option-price em { display: block; font-size: 0.7rem; font-weight: 500; color: var(--ink-4); font-style: normal; }

.bk-list { margin: 0.2rem 0 0.9rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.28rem; }
.bk-list li { position: relative; padding-left: 1.35rem; font-size: 0.89rem; color: var(--ink-2); line-height: 1.5; }
.bk-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.bk-list-in li::before { content: "✓"; color: #1f7a43; }
.bk-list-out li::before { content: "✕"; color: #b3261e; }
.bk-policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.bk-policy h3 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.bk-policy-name { margin: 0; font-size: 0.85rem; color: var(--ink-2); font-weight: 600; }
.bk-policy-name span { color: var(--ink-4); font-weight: 400; }
.bk-slabs { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 0.86rem; }
.bk-slabs td { padding: 0.35rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.bk-slabs td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); white-space: nowrap; }
.bk-slabs tr:last-child td { border-bottom: none; }
.bk-aside { position: sticky; top: 1rem; }
.bk-aside .bkw-summary { min-width: 0; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.bk-aside .bkw-summary h2 { margin: 0 0 0.7rem; font-size: 1rem; color: var(--ink); }
.bk-submit { width: 100%; margin-top: 0.7rem; padding: 0.6rem 1rem; font-size: 0.92rem; }
.bk-apply { color: var(--brand); font-weight: 600; align-self: flex-end; padding-bottom: 0.35rem; }
.bk-apply:hover { color: var(--brand-deep); }
.bk-fineprint { margin: 0.45rem 0 0; font-size: 0.76rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 900px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-aside { position: static; }
}

/* Package details + booking */
.pkg-day { margin: 0.35rem 0; font-size: 0.9rem; color: #33424c; }
.pkg-day-detail { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.15rem 0 0 1rem; color: #5c6b75; font-size: 0.85rem; }
.pkg-block { margin: 0.6rem 0 0; font-size: 0.88rem; color: #41505a; }
.btn-book {
  /* Also used on <a> now that Book navigates to the checkout page. */
  display: inline-block; text-align: center; text-decoration: none; line-height: 1.35;
  background: var(--brand); color: #fff; border: none; border-radius: 999px;
  padding: 0.42rem 1.1rem; font-weight: 650; cursor: pointer; font-size: 0.85rem;
  transition: background .12s ease, transform .08s ease;
}
.btn-book:hover:not(:disabled) { background: var(--brand-deep); color: #fff; text-decoration: none; }
.btn-book:active:not(:disabled) { transform: translateY(1px); }
.btn-book:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-book:disabled { opacity: 0.45; cursor: default; }
.pkg-bookform { background: #f4f8fa; }
.pkg-book-grid { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; padding: 0.4rem 0; }
.pkg-book-grid label { display: flex; flex-direction: column; font-size: 0.78rem; color: #41505a; gap: 0.2rem; }
.pkg-book-grid input { width: 7rem; padding: 0.3rem 0.5rem; border: 1px solid #cdd8df; border-radius: 6px; }
.pkg-book-grid label.wide input { width: 16rem; }
.pkg-book-foot { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.4rem; }
.pkg-book-total { font-size: 0.95rem; }
.bk-tour { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.bk-when { display: block; color: var(--ink-3); font-size: 0.84rem; margin-top: 0.15rem; }
.bk-kind {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.1rem 0.45rem; border-radius: 999px; white-space: nowrap;
  background: #e1eef5; color: #14607f;
}
.bk-kind-2 { background: #fbe9e0; color: #a2512a; }
.bk-kind-3 { background: #eaf2df; color: #4d6b26; }
.bk-status { padding: 0.15rem 0.6rem; border-radius: 99px; font-size: 0.8rem; font-weight: 600; }
.bk-pending { background: #fdf3e2; color: #8a5a13; }
.bk-confirmed { background: #e3f4e8; color: #1f7a43; }
.bk-cancelled { background: #fdecea; color: #b3261e; }

/* Guest steppers + room-combination booking widget */
.bkw { display: flex; gap: 1.2rem; align-items: flex-start; padding: 0.5rem 0; }
.bkw h4 { margin: 0 0 0.6rem; font-size: 0.95rem; color: #1c2b33; }
.bkw-main { flex: 1.6; }
.bkw-steppers { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; margin-bottom: 0.8rem; }
.bkw-stepper span { display: block; font-size: 0.8rem; color: #41505a; margin-bottom: 0.25rem; }
.bkw-stepper em { color: #8b98a4; font-style: italic; }
.bkw-stepper div { display: flex; align-items: center; gap: 0.7rem; }
.bkw-stepper button {
  width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid #cdd8df;
  background: #fff; font-size: 1rem; cursor: pointer; line-height: 1;
}
.bkw-stepper button:hover { border-color: #16606b; color: #16606b; }
.bkw-options { display: flex; flex-direction: column; gap: 0.45rem; }
.bkw-option {
  display: flex; align-items: center; gap: 0.7rem; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem; transition: border-color .12s ease, background .12s ease;
}
.bkw-option:hover { border-color: #b9cfd4; background: #fbfdfd; }
.bkw-option.on { border-color: #16606b; box-shadow: inset 3px 0 0 #16606b; }
.bkw-option span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.bkw-option strong { font-size: 0.9rem; color: #1c2b33; }
.bkw-option em { font-size: 0.78rem; color: #8b98a4; font-style: normal; }
.bkw-option-price { font-weight: 700; color: #16323f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bkw-summary {
  flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem; min-width: 300px;
}
.bkw-sline { display: flex; justify-content: space-between; gap: 1rem; margin: 0.25rem 0; font-size: 0.85rem; color: #41505a; }
.bkw-sline span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bkw-total {
  display: flex; justify-content: space-between; margin: 0.6rem 0; padding-top: 0.5rem;
  border-top: 1.5px solid #dde5ea; font-weight: 700; color: #16323f; font-variant-numeric: tabular-nums;
}

/* Wallet */
.wal-balance {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.4rem; max-width: 1000px; box-shadow: var(--shadow-1);
}
.wal-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #5c6b75; }
.wal-amount { font-size: 1.8rem; font-weight: 700; color: #16323f; font-variant-numeric: tabular-nums; }
.wal-topup { display: flex; gap: 0.6rem; align-items: center; }
.wal-topup input { width: 9rem; padding: 0.45rem 0.6rem; border: 1px solid #cdd8df; border-radius: 6px; }
.wal-payrow { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: flex-end; padding: 0.3rem 0; }
.wal-payrow > span { font-size: 0.9rem; color: #41505a; padding-bottom: 0.4rem; }
.wal-payrow label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.78rem; color: #41505a; }
.wal-payrow input { width: 9rem; padding: 0.35rem 0.5rem; border: 1px solid #cdd8df; border-radius: 6px; }
.bk-pay-paid { background: #e3f4e8; color: #1f7a43; }
.bk-pay-partiallypaid { background: #fdf3e2; color: #8a5a13; }
.bk-pay-unpaid { background: #eef2f4; color: #5c6b75; }
.bk-pay-refunded { background: #fdecea; color: #b3261e; }

/* Strike-through anchor pricing */
.pkg-strike { display: block; color: #9aa7b0; text-decoration: line-through; font-size: 0.78rem; font-weight: 400; }
.pkg-strike-big { color: var(--ink-4); text-decoration: line-through; font-size: 0.92rem; font-variant-numeric: tabular-nums; }

/* ── Hotel search toolbar ────────────────────────────────────────────── */
.htl-search {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.7rem 1rem;
  background: #fff; border: 1px solid #dde5ea; border-radius: 12px;
  padding: 0.9rem 1.1rem; margin-bottom: 1.1rem; max-width: 1100px;
}
.htl-search label {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.78rem; font-weight: 600; color: #41505a;
}
.htl-search select, .htl-search input {
  padding: 0.42rem 0.55rem; border: 1px solid #cdd8df; border-radius: 6px;
  font-size: 0.92rem; background: #fff; color: #1c2b33; min-width: 9rem;
}
.htl-search .btn-book { padding: 0.45rem 1.2rem; font-size: 0.9rem; }
.htl-w-md { width: 13rem; max-width: 100%; }
.htl-link-url { width: 26rem; max-width: 100%; padding: 0.35rem 0.5rem; border: 1px solid #cdd8df; border-radius: 6px; cursor: pointer; }
.htl-bookings { max-width: 1150px; background: #fff; border: 1px solid #dde5ea; border-radius: 10px; }


/* ── White-label brand page ──────────────────────────────────────────── */
.brand-lede { max-width: 640px; color: #5c6b75; }
.brand-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.4rem; align-items: start; max-width: 1100px; }
.brand-form { display: flex; flex-direction: column; gap: 1rem; }
.brand-form .pkg-card { margin-bottom: 0; }
.brand-h2 { font-size: 1rem; margin: 0 0 0.8rem; color: #1c2b33; }
.brand-field { display: flex; flex-direction: column; gap: 0.28rem; margin-bottom: 0.8rem; }
.brand-field > span { font-size: 0.8rem; font-weight: 600; color: #41505a; }
.brand-field em { font-style: normal; font-weight: 400; color: #8b98a4; }
.brand-field input[type=text], .brand-field input[type=email], .brand-field input[type=tel], .brand-field input[type=password] {
  padding: 0.5rem 0.6rem; border: 1px solid #cdd8df; border-radius: 7px; font-size: 0.93rem; width: 100%;
}
.brand-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.brand-row > .brand-field { flex: 1 1 12rem; }
.brand-color input[type=color] { width: 3.4rem; height: 2.1rem; padding: 0; border: 1px solid #cdd8df; border-radius: 7px; background: #fff; }
.brand-hint { font-size: 0.8rem; color: #8b98a4; margin: 0.2rem 0 0; }
.brand-ok { color: #17643a; font-size: 0.82rem; margin: 0.1rem 0 0; }
.brand-bad { color: #b3261e; font-size: 0.82rem; margin: 0.1rem 0 0; }
.brand-slug { display: flex; align-items: stretch; border: 1px solid #cdd8df; border-radius: 7px; overflow: hidden; background: #fff; }
.brand-slug-prefix { background: #eef2f4; color: #5c6b75; font-size: 0.85rem; padding: 0.5rem 0.6rem; white-space: nowrap; border-right: 1px solid #cdd8df; }
.brand-slug input { border: none !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.brand-slug input:focus { outline: 2px solid #16606b; outline-offset: -2px; }
.brand-check { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: #33424c; margin: 0.35rem 0; }
.brand-check input { margin-top: 0.2rem; flex: 0 0 auto; }
.brand-locked { display: block; font-style: normal; font-size: 0.78rem; color: #8a5a13; }
.brand-live { font-size: 0.85rem; margin: 0.5rem 0 0; word-break: break-all; }
.brand-actions { margin-top: 0.9rem; }
.brand-publish .btn-book { padding: 0.5rem 1.4rem; font-size: 0.92rem; }

/* Live preview of the customer-facing card */
.brand-preview-wrap { position: sticky; top: 1rem; }
.brand-preview-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b98a4; margin: 0 0 0.4rem; }
.brand-preview { border: 1px solid #dde5ea; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(16, 42, 58, 0.08); }
.brand-preview-head { background: var(--b-primary); color: #fff; padding: 0.7rem 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.brand-preview-head img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.brand-preview-head strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.brand-preview-head span { display: block; font-size: 0.75rem; opacity: 0.85; }
.brand-preview-body { padding: 0.9rem; }
.brand-preview-title { margin: 0; font-weight: 700; color: #16323f; font-size: 0.95rem; }
.brand-preview-meta { margin: 0.15rem 0 0.6rem; color: #5c6b75; font-size: 0.8rem; }
.brand-preview-price { margin: 0 0 0.7rem; font-size: 1.25rem; font-weight: 700; color: #16323f; }
.brand-preview-btn { display: inline-block; background: var(--b-accent); color: #fff; border-radius: 6px; padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 600; }
.brand-preview-foot { border-top: 1px solid #edf1f4; padding: 0.55rem 0.9rem; display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.75rem; color: #5c6b75; }
.brand-preview-attr { color: #9aa7b0; }


/* ── Branded customer frame + storefront ─────────────────────────────── */
/* Colours come from the agent's brand as --bf-primary / --bf-accent, set inline by
   BrandFrame, so the same rules dress every agent's pages differently. */
.bf { min-height: 100vh; display: flex; flex-direction: column; background: #fbfcfd; color: var(--ink); }
.bf h1, .bf h2, .bf h3 { font-family: var(--bf-heading, inherit); }

/* Header: light, sticky and blurred, so the brand colour is spent on the things
   that ask for a click rather than on a heavy banner. */
.bf-head {
  position: sticky; top: 0; z-index: 40;
  /* also the anchor for the phone burger panel */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 32, 41, 0.08);
}
.bf-head-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 0.7rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.bf-home { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; min-width: 0; }
.bf-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; flex: 0 0 auto; }
.bf-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.015em; color: var(--bf-primary); white-space: nowrap; }
.bf-nav { display: flex; align-items: center; gap: 0.15rem; margin: 0 auto; }
.bf-nav a, .bf-dd-btn {
  color: #3d4f5a; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 0.42rem 0.8rem; border-radius: 999px; white-space: nowrap;
  background: none; border: none; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: background .15s ease, color .15s ease;
}
.bf-nav a:hover, .bf-dd-btn:hover { background: #eef3f6; color: var(--bf-primary); }
.bf-nav > a.on, .bf-dd-btn.on { background: var(--bf-primary); color: #fff; }

/* Dropdowns open on hover or keyboard focus — no script to fail. */
.bf-caret {
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; padding: 2.5px;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s ease;
}
.bf-dd { position: relative; }
.bf-dd:hover .bf-caret, .bf-dd:focus-within .bf-caret { transform: rotate(225deg) translateY(-2px); }
.bf-dd-menu {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  transform: translateX(-50%) translateY(8px);
  min-width: 215px; padding: 0.45rem; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid rgba(14, 32, 41, 0.07); border-radius: 14px;
  box-shadow: 0 18px 44px -14px rgba(14, 32, 41, 0.35);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease;
}
.bf-dd:hover .bf-dd-menu, .bf-dd:focus-within .bf-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px);
}
.bf-dd-menu a {
  display: block; border-radius: 9px; padding: 0.5rem 0.8rem;
  color: #3d4f5a; text-decoration: none; font-weight: 600; font-size: 0.88rem; white-space: nowrap;
}
.bf-dd-menu a:hover { background: #eef3f6; color: var(--bf-primary); }
.bf-dd-menu a.on { background: var(--bf-primary); color: #fff; }

/* Call us: a person to reach, not a button to obey. */
.bf-call { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; padding: 0.25rem 0.5rem; border-radius: 12px; }
.bf-call:hover { background: #eef3f6; }
.bf-call-ic {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bf-accent) 13%, #fff); color: var(--bf-accent);
}
.bf-call-txt { display: flex; flex-direction: column; line-height: 1.15; }
.bf-call-txt em { font-style: normal; font-size: 0.7rem; color: #677a85; }
.bf-call-txt strong { font-size: 0.9rem; color: var(--ink); white-space: nowrap; }

.bf-burger {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 9px; margin-left: 0.1rem;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.bf-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
.bf-burger.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bf-burger.on span:nth-child(2) { opacity: 0; }
.bf-burger.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.bf-body { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.4rem 1.2rem 2.4rem; }
/* The storefront runs its own full-width bands; the frame gets out of the way. */
.bf-body-flush { max-width: none; padding: 0; margin: 0; }

/* Footer: the brand's dark ground, in columns. */
.bf-foot { background: var(--bf-primary); color: rgba(255, 255, 255, 0.85); }
.bf-foot a { color: #fff; text-decoration: none; }
.bf-foot a:hover { text-decoration: underline; }
.bf-foot-inner {
  max-width: 1180px; margin: 0 auto; padding: 2.6rem 1.2rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
}
.bf-foot-brand { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; }
.bf-foot-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }
.bf-foot-name { font-size: 1.15rem; font-weight: 800; color: #fff; }
.bf-foot-tag { margin: 0; font-size: 0.9rem; opacity: 0.8; }
.bf-foot-note { margin: 0; font-size: 0.82rem; opacity: 0.65; max-width: 44ch; line-height: 1.6; }
.bf-foot-contact { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; }
.bf-foot-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.bf-foot-social a {
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  padding: 0.28rem 0.85rem; font-size: 0.8rem; font-weight: 600;
}
.bf-foot-social a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.bf-foot-col h4 { margin: 0 0 0.7rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); }
.bf-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; }
.bf-foot-bar { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.bf-foot-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.78rem; opacity: 0.65;
}
.bf-attr { margin-left: auto; }

/* ── Storefront layout: containers, hero, bands ───────────────────────── */
.sf-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.2rem; }

.sf-hero {
  position: relative; color: #fff;
  background: linear-gradient(135deg, var(--bf-primary), var(--bf-accent));
  background-size: cover; background-position: center;
}
.sf-hero-inner { padding-top: clamp(3.4rem, 8vw, 6rem); padding-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.sf-hero-kicker { margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.85; }
.sf-hero h1 { margin: 0 0 0.9rem; max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; color: #fff; }
.sf-hero-accent { color: var(--bf-accent); filter: brightness(1.5) saturate(1.15); }
.sf-hero-strap { margin: 0 0 0.5rem; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); font-weight: 700; letter-spacing: 0.01em; }
.sf-hero-sub { margin: 0; max-width: 56ch; font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem); line-height: 1.6; opacity: 0.88; }
.sf-hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }

/* Facts along the hero's floor, the numbers separated by hairlines. */
.sf-hero-stats {
  display: flex; flex-wrap: wrap; gap: 1rem 0;
  margin-top: clamp(2.2rem, 5vw, 3.6rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.sf-hero-stat { flex: 1 1 160px; display: flex; flex-direction: column; gap: 0.1rem; padding: 0 1.4rem; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.sf-hero-stat:first-child { border-left: none; padding-left: 0; }
.sf-hero-stat strong { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; }
.sf-hero-stat span { font-size: 0.85rem; opacity: 0.8; }

.sf-band { padding: clamp(2.6rem, 6vw, 4.2rem) 0; background: #fbfcfd; }
.sf-band-tint { background: #f2f6f8; }
.sf-band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.6rem; }
.sf-eyebrow { margin: 0 0 0.45rem; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--bf-accent); }
.sf-h1 { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); letter-spacing: -0.02em; color: var(--ink); }
.sf-h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -0.018em; color: var(--ink); }
.sf-lede { margin: 0; color: #5b6f7a; font-size: 0.98rem; line-height: 1.6; max-width: 60ch; }
.sf-more { color: var(--bf-accent); font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap; padding-bottom: 0.15rem; }
.sf-more:hover { text-decoration: underline; }
.sf-pagehead { background: linear-gradient(180deg, #edf3f6, #fbfcfd); padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.2rem; }

/* A destination with hero photos gets the dark overlay and light type; several
   photos crossfade on a shared clock (6s a slide), keyframes per slide count. */
.sf-pagehead { position: relative; }
.sf-pagehead-img { overflow: hidden; background: #12293a; }
.sf-pagehead-img .sf-inner { position: relative; z-index: 2; }
.sf-pagehead-img .sf-h1, .sf-pagehead-img .sf-lede { color: #fff; }
.sf-pagehead-img .sf-lede { opacity: 0.9; }
.sf-pagehead-img .sf-eyebrow { color: #fff; opacity: 0.85; }
.sf-slides, .sf-slides-overlay { position: absolute; inset: 0; }
.sf-slides-overlay { z-index: 1; background: linear-gradient(rgba(9, 22, 30, 0.5), rgba(9, 22, 30, 0.66)); }
.sf-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation-timing-function: linear; animation-iteration-count: infinite; }
.sf-slide-static { opacity: 1; }
.sf-slides[data-count="2"] .sf-slide { animation-name: sf-fade-2; }
.sf-slides[data-count="3"] .sf-slide { animation-name: sf-fade-3; }
.sf-slides[data-count="4"] .sf-slide { animation-name: sf-fade-4; }
.sf-slides[data-count="5"] .sf-slide { animation-name: sf-fade-5; }
/* Visible for its share of the cycle, with a beat of crossfade either side. */
@keyframes sf-fade-2 { 0% { opacity: 0; } 10% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-fade-3 { 0% { opacity: 0; } 7% { opacity: 1; } 33.3% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-fade-4 { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-fade-5 { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sf-slide { animation: none; }
  .sf-slide:first-child { opacity: 1; }
}

/* Destination pages keep one sub-section per kind — the no-mixing rule travels. */
.sf-kindgroup { margin-top: 2.4rem; }
.sf-kindgroup:first-of-type { margin-top: 0; }
.sf-kindgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sf-h3 { margin: 0; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--ink); }

.sf-search {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end;
  background: #fff; border: 1px solid #e3eaee; border-radius: 14px; padding: 0.9rem 1rem;
  margin-bottom: 1.4rem; box-shadow: 0 2px 10px -6px rgba(14, 32, 41, 0.18);
}
.sf-search label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.78rem; font-weight: 600; color: #41505a; }
.sf-search input, .sf-search select { padding: 0.45rem 0.55rem; border: 1px solid #cdd8df; border-radius: 8px; font-size: 0.93rem; background: #fff; }
.sf-btn {
  display: inline-block; background: var(--bf-accent); color: #fff; border: none;
  border-radius: 999px; padding: 0.5rem 1.15rem; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .15s ease, transform .15s ease;
}
.sf-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.sf-btn:disabled { opacity: 0.6; cursor: default; }
.sf-btn-lg { padding: 0.7rem 1.5rem; font-size: 0.98rem; }
.sf-btn-ghost { background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.65); }
.sf-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.sf-count { color: #5c6b75; font-size: 0.88rem; margin: 0 0 0.8rem; }
.sf-onreq { font-size: 0.84rem; color: #4d6b26; font-weight: 600; }
.sf-muted { color: #5c6b75; }
.sf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.sf-card {
  background: #fff; border: 1px solid #e3eaee; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(14, 32, 41, 0.04);
}
.sf-media { aspect-ratio: 16 / 10; background: #eef2f4; }
.sf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-media-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 700; color: #b9c6ce; background: linear-gradient(135deg, #eef2f4, #dfe7ec); }
.sf-card-body { padding: 0.85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.sf-card-body h2 { margin: 0 0 0.15rem; font-size: 1.02rem; color: #16323f; }
.sf-meta { margin: 0 0 0.35rem; color: #5c6b75; font-size: 0.84rem; }
.sf-stars { color: #d99a2b; margin-left: 0.3rem; }
.sf-amenities { margin: 0 0 0.7rem; color: #8b98a4; font-size: 0.8rem; }
.sf-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.8rem; }
.sf-price { display: flex; flex-direction: column; line-height: 1.2; }
.sf-price em { font-style: normal; font-size: 0.72rem; color: #8b98a4; }
.sf-price strong { font-size: 1.15rem; color: #16323f; }
.sf-soldout { font-size: 0.82rem; color: #b3261e; }


/* ── Public tour page ────────────────────────────────────────────────── */
/* Hero: the cover photo (or the brand gradient) opens the page with colour. */
.pt-hero {
  position: relative; border-radius: 18px; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, var(--bf-primary), var(--bf-accent));
  background-size: cover; background-position: center;
  margin-bottom: 1.6rem; box-shadow: 0 18px 40px -22px rgba(14, 32, 41, 0.5);
}
.pt-hero-body { padding: clamp(1.8rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 2.4rem); max-width: 46rem; }
.pt-chip {
  display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--bf-accent); color: #fff; margin-bottom: 0.9rem;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.5);
}
.pt-title { margin: 0 0 0.8rem; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.pt-facts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.9rem; }
.pt-fact {
  font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.85rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
}
.pt-summary { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, 0.92); line-height: 1.55; }

.pt-h2 { font-size: 1.2rem; letter-spacing: -0.015em; margin: 2rem 0 0.8rem; color: var(--ink); }
.pt-departures { display: flex; flex-direction: column; gap: 0.7rem; }
.pt-datepick { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end; margin: 0.6rem 0 0.9rem; }
.pt-datepick label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; font-weight: 600; }
.pt-datepick input { padding: 0.5rem 0.7rem; border: 1px solid #cfd9df; border-radius: 8px; font-weight: 400; }
/* Departure cards double as the date picker — tap one and the form fills. */
.pt-dep {
  background: #fff; border: 1.5px solid #e3eaee; border-radius: 14px; padding: 0.85rem 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; justify-content: space-between;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pt-dep-pick { cursor: pointer; }
.pt-dep-pick:hover { border-color: var(--bf-accent); transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(14, 32, 41, 0.45); }
.pt-dep.on { border-color: var(--bf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bf-accent) 18%, transparent); }
.pt-dep-off { opacity: 0.65; }
.pt-dep-when { display: flex; flex-direction: column; line-height: 1.35; }
.pt-dep-when strong { color: var(--ink); font-size: 1.02rem; }
.pt-dep-when span { color: #5c6b75; font-size: 0.85rem; }
.pt-dep-when em {
  font-style: normal; font-size: 0.72rem; font-weight: 700; margin-top: 0.3rem;
  align-self: flex-start; padding: 0.14rem 0.55rem; border-radius: 999px;
  background: #e9f5ee; color: #17643a;
}
.pt-dep-when em.pt-full { background: #fbe9e7; color: #b3261e; }
.pt-dep-prices { text-align: right; }
.pt-price-lead { display: flex; flex-direction: column; line-height: 1.25; }
.pt-price-lead s { color: #9aa7b0; font-size: 0.82rem; }
.pt-price-lead strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bf-accent); }
.pt-price-lead em { font-style: normal; font-size: 0.75rem; color: #8b98a4; }
.pt-price-others { display: block; font-size: 0.78rem; color: #8b98a4; margin-top: 0.25rem; }
.pt-enquire {
  background: #fff; border: 1px solid #e3eaee; border-radius: 16px;
  border-top: 4px solid var(--bf-accent);
  padding: 1.2rem 1.3rem 1.3rem; margin-top: 1.6rem;
  box-shadow: 0 14px 34px -24px rgba(14, 32, 41, 0.4);
}
.pt-enquire p { margin: 0 0 0.8rem; color: #5c6b75; font-size: 0.9rem; }
.pt-enquire .pt-h2 { margin-top: 0; }
.pt-transport { margin: 0 0 1.1rem; padding: 0.9rem 1rem; background: #f6f9fb;
  border: 1px solid #e4ebef; border-radius: 10px; }
.pt-transport h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.pt-vehicles { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.pt-vehicle { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; background: #fff;
  border: 1px solid #dde5ea; border-radius: 9px; padding: 0.6rem 0.85rem; }
.pt-vehicle.on { border-color: #16606b; box-shadow: inset 3px 0 0 #16606b; }
.pt-vehicle span { display: flex; flex-direction: column; }
.pt-vehicle strong { font-size: 0.92rem; }
.pt-vehicle em { font-size: 0.79rem; color: #6b7c86; font-style: normal; }
.pt-blocked { margin: 0.4rem 0 0; padding: 0.7rem 0.9rem; border-radius: 8px;
  background: #fdecea; border: 1px solid #f3cdc8; color: #8f2e25; font-size: 0.88rem; line-height: 1.5; }
.pt-blocked strong { display: block; color: #7a2620; }
.pt-enquire-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pt-btn-alt { background: #fff; color: var(--bf-accent); border: 1px solid var(--bf-accent); }
.pt-btn-alt:hover { background: #f2f8f9; color: var(--bf-accent); }
/* Day by day: a timeline — numbered accent dots on a rail, a card per day. */
.pt-days { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.pt-days li { position: relative; display: flex; gap: 0.9rem; padding-bottom: 1rem; }
.pt-days li::before {
  content: ""; position: absolute; left: 17px; top: 36px; bottom: -2px;
  width: 2px; background: color-mix(in srgb, var(--bf-accent) 30%, #e3eaee);
}
.pt-days li:last-child::before { display: none; }
.pt-day-dot {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--bf-accent); color: #fff; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 6px 14px -7px var(--bf-accent);
}
.pt-day-card {
  flex: 1; background: #fff; border: 1px solid #e3eaee; border-radius: 12px;
  padding: 0.7rem 0.95rem; font-size: 0.92rem; color: #33424c;
}
.pt-day-card strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.pt-day-plan { display: block; color: #41505a; font-size: 0.88rem; font-weight: 600; }
.pt-day-city, .pt-day-line { display: block; color: #5c6b75; font-size: 0.85rem; }
.pt-day-city { color: var(--bf-accent); font-weight: 600; }
.pt-day-about { margin: 0.5rem 0 0; color: #41505a; font-size: 0.88rem; line-height: 1.6; white-space: pre-line; }

/* What's arranged that day — stays, rides and extras as tinted chips. */
.pt-day-facts { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.pt-day-fact { font-size: 0.76rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 999px; }
.pt-fact-stay { background: #e9f0fb; color: #2a5399; }
.pt-fact-ride { background: #fdf0e3; color: #935a15; }
.pt-fact-extra { background: #eaf4ec; color: #276b3d; }
.pt-trip-services { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pt-trip-services .pt-day-fact { font-size: 0.82rem; padding: 0.32rem 0.8rem; }

/* The day's written itinerary blocks — the actual story of the day. */
.pt-day-secs { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pt-day-sec { border-left: 3px solid color-mix(in srgb, var(--bf-accent) 45%, #e3eaee); padding-left: 0.75rem; }
.pt-day-sec h4 { margin: 0 0 0.15rem; font-size: 0.85rem; color: var(--ink); }
.pt-day-sec h4 em { display: block; font-style: normal; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #8b98a4; }
.pt-day-sec p { margin: 0; font-size: 0.86rem; line-height: 1.6; color: #41505a; white-space: pre-line; }

/* Included / not included: a tinted card each, ticks and crosses doing the talking. */
.pt-incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 0.4rem; }
.pt-incl-card { border-radius: 14px; padding: 1rem 1.2rem 1.1rem; }
.pt-incl-card .pt-h2 { margin: 0 0 0.7rem; font-size: 1.05rem; }
.pt-incl-in { background: #eef7f1; border: 1px solid #d3e9dc; }
.pt-incl-out { background: #f6f7f8; border: 1px solid #e4e8ea; }
.pt-list { margin: 0; padding: 0; list-style: none; color: #33424c; font-size: 0.9rem; }
.pt-list li { margin-bottom: 0.35rem; padding-left: 1.5rem; position: relative; }
.pt-list li::before { content: "✓"; position: absolute; left: 0; color: #1f7a43; font-weight: 800; }
.pt-list-out li { color: #66757f; }
.pt-list-out li::before { content: "✕"; color: #a9b4bc; }


/* Cancellation & modification: the slabs as calm rows, not fine print. */
.pt-policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 0.4rem; }
.pt-policy { background: #fff; border: 1px solid #e3eaee; border-radius: 14px; padding: 1rem 1.2rem 1.1rem; }
.pt-policy h3 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--ink); }
.pt-policy-about { margin: 0 0 0.7rem; font-size: 0.85rem; color: #5c6b75; line-height: 1.55; }
.pt-policy-slabs { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.pt-policy-slabs td { padding: 0.45rem 0; border-top: 1px solid #eef2f5; color: #41505a; }
.pt-policy-slabs tr:first-child td { border-top: none; }
.pt-policy-slabs td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pt-policy-slabs td em { font-style: normal; font-weight: 500; font-size: 0.75rem; color: #8b98a4; margin-left: 0.3rem; }

/* Room plans: tappable cards, price on each, best value called out. */
.pt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.7rem; }
.pt-plan {
  position: relative; text-align: left; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; gap: 0.15rem;
  background: #fff; border: 1.5px solid #dbe4ea; border-radius: 12px; padding: 0.8rem 0.9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-plan:hover:not(:disabled) { border-color: var(--bf-accent); }
.pt-plan.on { border-color: var(--bf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bf-accent) 18%, transparent); }
.pt-plan:disabled { cursor: default; opacity: 0.55; }
.pt-plan strong { font-size: 0.98rem; color: var(--ink); }
.pt-plan span { font-size: 0.8rem; color: #5c6b75; line-height: 1.4; }
.pt-plan em { font-style: normal; font-size: 1.02rem; font-weight: 800; color: var(--bf-accent); margin-top: 0.25rem; }
.pt-plan-badge {
  position: absolute; top: -9px; right: 10px; font-style: normal;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  background: #1f7a43; color: #fff; border-radius: 999px; padding: 0.14rem 0.55rem;
}
.pt-plan-no { background: #b3261e; }
.pt-form-note { margin: 0; font-size: 0.85rem; color: #5c6b75; }

/* Public tour booking form: the date, then who travels, then how to reach you —
   each group its own labelled card, fields on an even grid instead of a wrap. */
.pt-form-dep { margin-bottom: 0.9rem; }
.pt-form-dep label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: #41505a; max-width: 340px; }
.pt-form-group { border: 1px solid #eef2f5; background: #fafcfd; border-radius: 12px; padding: 0.8rem 0.95rem 0.95rem; margin-bottom: 0.9rem; }
.pt-form-legend { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #7a8a94; margin-bottom: 0.6rem; }
.pt-form-grid { display: grid; gap: 0.7rem 0.9rem; }
.pt-form-nums { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.pt-form-contact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pt-form-grid label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.76rem; font-weight: 600; color: #41505a; min-width: 0; }
.pt-form-dep input, .pt-form-dep select,
.pt-form-grid input { padding: 0.5rem 0.6rem; border: 1px solid #cdd8df; border-radius: 8px; font-size: 0.92rem; background: #fff; width: 100%; }
.pt-form-dep select { padding: 0.5rem 0.6rem; border: 1px solid #cdd8df; border-radius: 8px; font-size: 0.92rem; background: #fff; }
.pt-total { font-size: 1rem; color: #16323f; margin: 0.3rem 0 0.8rem; }
.pt-total strong { font-size: 1.2rem; }
.pt-total em { font-style: normal; font-size: 0.78rem; color: #8b98a4; margin-left: 0.4rem; }
.pt-done { background: #fff; border: 1px solid #cfe6d6; border-radius: 12px; padding: 1.4rem 1.2rem; margin-top: 1.4rem; text-align: center; }
.pt-done h2 { margin: 0 0 0.6rem; font-size: 1.2rem; color: #0d6e5f; }
.pt-done p { margin: 0.25rem 0; color: #33424c; }
.pt-done-amount { font-size: 1.1rem; margin-top: 0.6rem !important; }
.pt-done-note { font-size: 0.82rem; color: #5c6b75; margin-top: 0.8rem !important; }


/* ── Small screens ───────────────────────────────────────────────────── */
/* The header nav used to run off the right edge on a phone (My Bookings,
   Wallet, Documents and Sign out were unreachable). Below the breakpoint it
   collapses behind a hamburger and stacks under the brand. */
.nav-toggle { display: none; }

/* ── Touch and small screens ─────────────────────────────────────────── */
@media (max-width: 820px) {
  /* iOS zooms the page whenever a focused control is under 16px. Every input in
     the portal was 15px, so tapping any field yanked the layout sideways. */
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
  input[type="number"], input[type="date"], input[type="search"], select, textarea {
    font-size: 16px;
    padding: 0.6rem 0.7rem;
  }

  /* Comfortable thumb targets. 44px is the smallest reliable one. */
  .btn-book, .sf-btn, .agent-signout { min-height: 44px; padding-left: 1.1rem; padding-right: 1.1rem; }
  .btn-link { min-height: 40px; }
  .bkw-stepper button { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
  .bkw-stepper div { gap: 1rem; }
  .bkw-option { padding: 0.8rem 0.9rem; }
  .pkg-tab { min-height: 42px; }

  /* The type tabs stay on one line and swipe, rather than wrapping to three rows. */
  .pkg-tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin-left: -1rem; margin-right: -1rem;
    padding-left: 1rem; padding-right: 1rem;
  }
  .pkg-tabs::-webkit-scrollbar { display: none; }
  .pkg-tab { flex: 0 0 auto; }

  /* Home */
  .hm-hero { padding: 1.2rem 1.1rem; border-radius: 14px; }
  .hm-hero h1 { font-size: 1.35rem; }
  .hm-wallet { width: 100%; min-width: 0; }
  .hm-grid { grid-template-columns: 1fr; }

  /* Page headers stack rather than squeezing the link card. */
  .pg-head { flex-direction: column; gap: 0.9rem; }
  .pg-head-link { width: 100%; }

  /* Booking: the summary must not sit below a screenful of itinerary. */
  .bk-layout { display: flex; flex-direction: column; }
  .bk-aside { order: -1; position: static; }
  .bk-head h1 { font-size: 1.3rem; }
  .bk-day-bar { padding: 0.65rem 0.8rem; gap: 0.6rem; }
  .bk-day-body { padding: 0.75rem 0.8rem 0.85rem; }
  .bk-policies { grid-template-columns: 1fr; }
  .pkg-book-grid label.wide { flex: 1 1 100%; }

  /* Customer links: six columns is a spreadsheet on a phone. */
  .cl-table { display: block; border: none; background: none; }
  .cl-table thead { display: none; }
  .cl-table tbody, .cl-table tr, .cl-table td { display: block; width: 100%; }
  .cl-table tr {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 0.85rem 1rem; margin-bottom: 0.8rem; box-shadow: var(--shadow-1);
  }
  .cl-table td { border: none; padding: 0.3rem 0; }
  .cl-adjust { width: 100%; }
  .cl-table .btn-book { width: 100%; }

  /* Package cards */
  .pkg-head { flex-direction: column; gap: 0.7rem; }
  .pkg-from { text-align: left; }
  .pkg-from-money { justify-content: flex-start; }
  .pkg-datepick { padding: 0.8rem; }
  .pkg-datepick label, .pkg-datepick input, .pkg-datepick .btn-book { width: 100%; }
  .pkg-datepick-note { flex: 1 1 100%; }

  .agent-header { flex-wrap: wrap; padding: 0.6rem 1rem; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle:active { background: rgba(255, 255, 255, 0.12); }

  /* Three bars from one element: the middle is the box, the outer two are
     its before/after. */
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    content: "";
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -7px; }
  .nav-toggle-bars::after { position: absolute; top: 7px; }

  .agent-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .agent-nav.open { display: flex; }
  .agent-links { flex-direction: column; align-items: stretch; gap: 0; }
  .agent-links a {
    display: flex; align-items: center; min-height: 46px;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.95rem;
  }
  .agent-links a.active { border-bottom-color: transparent; }
  /* The account row wraps under the links rather than squeezing beside them. */
  .agent-account {
    flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 0.2rem 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 0.35rem;
  }
  .agent-user { max-width: none; flex: 1; }
  .agent-account-link { min-height: 40px; display: flex; align-items: center; }
  /* A long menu on a short phone must scroll, not push the page off-screen. */
  .agent-header { max-height: 100vh; overflow-y: auto; }

  h1 { font-size: 1.4rem; }
  .agent-main { padding: 1.15rem 1rem 2rem; }

  .auth-card { margin: 1.2rem auto; padding: 1.4rem 1.2rem; }
  .auth-card .links { flex-direction: column; gap: 0.5rem; }

  /* Packages / bookings */
  .pkg-card { padding: 0.9rem 1rem; }
  .pkg-head { flex-wrap: wrap; }
  .pkg-from { text-align: left; }
  .pkg-book-grid input:not([type=checkbox]),
  .pkg-book-grid label.wide input { width: 100%; max-width: 100%; }
  .pkg-book-grid label { flex: 1 1 8rem; }
  .pkg-book-foot { flex-wrap: wrap; gap: 0.7rem; }

  /* Booking widget: side-by-side panels stack */
  .bkw { flex-direction: column; gap: 0.9rem; }
  .bkw-summary { min-width: 0; width: 100%; }

  /* Wallet + documents */
  .wal-balance { padding: 0.9rem 1rem; }
  .wal-topup { flex-wrap: wrap; }
  .wal-topup input:not([type=checkbox]),
  .wal-payrow input:not([type=checkbox]) { width: 100%; max-width: 100%; }
  .wal-payrow label:has(> input[type=checkbox]) { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 0.45rem; }
  .wal-topup label, .wal-payrow label { flex: 1 1 8rem; }
  .doc-grid { grid-template-columns: 1fr; }

  .pt-title { font-size: 1.3rem; }
  .pt-dep { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .pt-dep-prices { text-align: left; }
  .pt-price-others { font-size: 0.76rem; }
  .pt-enquire-actions .sf-btn { flex: 1 1 100%; text-align: center; }
  .pt-incl { grid-template-columns: 1fr; gap: 0.4rem; }

  .pt-book label, .pt-book label.pt-book-wide { flex: 1 1 100%; }

  /* Branded customer pages */
  .bf-head-inner { padding: 0.55rem 0.9rem; gap: 0.5rem; }
  .bf-name { font-size: 1rem; }
  .bf-call { margin-left: auto; padding: 0.2rem; }
  .bf-call-txt { display: none; }
  .bf-body { padding: 1rem 0.9rem 2rem; }
  .bf-body-flush { padding: 0; }
  /* The menu folds into the burger; groups lie flat inside the panel. */
  .bf-nav { display: none; }
  .bf-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 0.6rem 0.9rem 1rem; background: #fff;
    border-bottom: 1px solid rgba(14, 32, 41, 0.1);
    box-shadow: 0 22px 34px -22px rgba(14, 32, 41, 0.4);
  }
  .bf-nav.open .bf-dd-btn { width: 100%; pointer-events: none; color: #94a5ae; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; padding-bottom: 0.15rem; }
  .bf-nav.open .bf-dd-btn.on { background: none; }
  .bf-nav.open .bf-caret { display: none; }
  .bf-nav.open .bf-dd-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0; border: none; box-shadow: none; border-radius: 0;
  }
  .bf-burger { display: flex; }
  .bf-foot-inner { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem 0.9rem 1.6rem; }
  .bf-foot-bar-inner { padding: 0.8rem 0.9rem; }
  .bf-attr { margin-left: 0; }
  .sf-band-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .sf-search { padding: 0.8rem 0.9rem; }
  .sf-search label { flex: 1 1 100%; }
  .sf-search input, .sf-search select, .sf-search .sf-btn { width: 100%; }
  .sf-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .sf-card-foot { flex-wrap: wrap; }
  .sf-card-foot .sf-btn { width: 100%; text-align: center; }
  /* One swipeable row per axis beats a block of chips pushing the trips off-screen. */
  .sf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem; }
  .sf-chips::-webkit-scrollbar { display: none; }

  /* Brand page: preview leads, then the form. */
  .brand-layout { grid-template-columns: 1fr; gap: 1rem; }
  .brand-preview-wrap { position: static; order: -1; }
  .brand-slug-prefix { font-size: 0.78rem; padding: 0.5rem 0.45rem; }
  .brand-row > .brand-field { flex: 1 1 100%; }
  .brand-publish .btn-book { width: 100%; }

  /* Hotel toolbar: one control per row, nothing clipped. */
  .htl-search { padding: 0.8rem 0.9rem; gap: 0.6rem; }
  .htl-search label { flex: 1 1 100%; }
  .htl-search select, .htl-search input { width: 100%; min-width: 0; }
  .htl-search .btn-book { width: 100%; }
  .htl-w-md, .htl-link-url { width: 100%; }

  /* Wide tables read as stacked cards rather than a sideways scroll: each
     cell carries its column name in data-label. */
  .tbl-stack { display: block; white-space: normal; overflow-x: visible; border: none; background: none; }
  .tbl-stack thead { display: none; }
  .tbl-stack tbody, .tbl-stack tr, .tbl-stack td { display: block; width: 100%; }
  .tbl-stack tr {
    background: #fff; border: 1px solid #dde5ea; border-radius: 10px;
    padding: 0.55rem 0.8rem; margin-bottom: 0.7rem;
  }
  .tbl-stack td {
    border: none; padding: 0.28rem 0; text-align: right;
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  }
  .tbl-stack td::before {
    content: attr(data-label);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: #5c6b75; text-align: left; flex: 0 0 auto;
  }
  .tbl-stack td.num { text-align: right; }
  .tbl-stack td:not([data-label]) { display: block; text-align: left; }
  .tbl-stack td:not([data-label])::before { content: none; }
  .tbl-stack td:not([data-label]):empty { display: none; }
  .tbl-stack td.pkg-bookform { margin: 0.4rem -0.8rem -0.55rem; padding: 0.6rem 0.8rem; border-radius: 0 0 10px 10px; }

  /* A stacked row IS the price table, so the lead fare needs to look like it. */
  .tbl-stack td.pkg-lead-price { border-top: 1px solid var(--line-2); margin-top: 0.2rem; padding-top: 0.45rem; }
  .tbl-stack td.pkg-lead-price strong { font-size: 1.1rem; }
  .tbl-stack .btn-book { width: 100%; margin-top: 0.5rem; }
}

@media (max-width: 560px) {
  .agent-main { padding: 0.9rem 0.75rem 2rem; }
  .agent-header { padding: 0.55rem 0.75rem; }
  .agent-brand { font-size: 0.98rem; }
  h1 { font-size: 1.25rem; }
  .pkg-card { padding: 0.85rem 0.9rem; border-radius: 12px; }
  .bk-panel { padding: 0.9rem 0.95rem 1rem; }
  .bkw-summary { padding: 0.85rem 0.9rem; }
  .bkw-steppers { gap: 0.7rem 1rem; }
  .bkw-stepper { flex: 1 1 45%; }
  /* Room option: label above, price below, so neither is squeezed to two words. */
  .bkw-option { flex-wrap: wrap; }
  .bkw-option-price { width: 100%; text-align: right; }
  .bk-facts { gap: 0.3rem; }
  .bk-fact { font-size: 0.76rem; padding: 0.2rem 0.55rem; }
  .bk-day-num { min-width: 2.6rem; }
  .hm-wallet-amount { font-size: 1.3rem; }
  .auth-card { margin: 1rem auto; padding: 1.3rem 1.1rem; border-radius: 14px; }
}
.htl-storefront-note { color: #5c6b75; font-size: 0.88rem; margin: -0.4rem 0 1rem; max-width: 640px; }

/* ── Trip card ────────────────────────────────────────────────────────────
   Photo-led: the picture is the pitch, and everything under it answers the
   four questions a traveller asks — where, how long, when, how much. */
.sf-tc { transition: box-shadow .18s ease, transform .18s ease; }
.sf-tc:hover { box-shadow: 0 10px 26px rgba(16, 40, 55, 0.13); transform: translateY(-2px); }
.sf-tc-media {
  position: relative; display: block; aspect-ratio: 16 / 10;
  background: #eef2f4; overflow: hidden;
}
.sf-tc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-tc:hover .sf-tc-media img { transform: scale(1.035); }
.sf-tc-media img { transition: transform .35s ease; }
.sf-tc-media .sf-media-empty { position: absolute; inset: 0; }

/* Badges sit on the photo, so they need their own contrast rather than the
   page's — a pale chip over a bright sky is unreadable. */
.sf-tc-tags { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.sf-tc-flash {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.14rem 0.5rem; border-radius: 999px; white-space: nowrap;
  background: #d9432f; color: #fff; box-shadow: 0 1px 4px rgba(9, 24, 33, 0.28);
}
.sf-tc-dur {
  position: absolute; right: 0.6rem; bottom: 0.6rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem; border-radius: 7px; white-space: nowrap;
  background: rgba(9, 24, 33, 0.74); color: #fff; backdrop-filter: blur(2px);
}
.sf-tc-title { margin: 0 0 0.2rem; font-size: 1.04rem; line-height: 1.3; }
.sf-tc-title a { color: #16323f; text-decoration: none; }
.sf-tc-title a:hover { color: var(--bf-accent); }
.sf-dot { margin: 0 0.35rem; color: #b9c6ce; }
.sf-tc-when { margin: 0 0 0.5rem; font-size: 0.84rem; color: #41505a; }
.sf-tc-season { font-weight: 600; color: #16323f; }
.sf-tc-summary {
  margin-bottom: 0.8rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Trip filters ─────────────────────────────────────────────────────── */
.sf-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; }
.sf-chip {
  font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer;
  padding: 0.34rem 0.85rem; border-radius: 999px; white-space: nowrap;
  background: #fff; color: #41505a; border: 1px solid #dde5ea;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.sf-chip:hover { border-color: var(--bf-accent); color: var(--bf-accent); }
.sf-chip.on { background: var(--bf-accent); border-color: var(--bf-accent); color: #fff; }
.sf-chips-month .sf-chip { font-weight: 600; }

/* Tour share-link panel on the Packages page */
.pkg-sharelink { background: #f4f8fa; border: 1px solid #dfe8ec; border-radius: 8px; padding: 0.7rem 0.9rem 0.4rem; margin: 0.8rem 0 0.6rem; }
.pkg-sharelink-lede { margin: 0 0 0.5rem; font-size: 0.85rem; color: #41505a; }
.pkg-sharelink-active { align-self: center; }
.pkg-sharelink-hint { color: #5c6b75; font-size: 0.78rem; align-self: center; }

/* ── Storefront subscription ─────────────────────────────────────────── */
.sub-banner { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; justify-content: space-between;
  border-radius: 12px; padding: 0.8rem 1.1rem; margin-bottom: 1.1rem; max-width: 1100px; font-size: 0.9rem; }
.sub-live { background: #e9f5ee; border: 1px solid #cfe6d6; color: #17643a; }
.sub-off { background: #fdf3e2; border: 1px solid #f0dcb4; color: #8a5a13; }
.sub-banner strong { display: inline-block; margin-right: 0.3rem; }
.sub-banner span { color: inherit; opacity: 0.9; }
.sub-warn { display: block; font-style: normal; font-weight: 600; margin-top: 0.15rem; }
.sub-banner .btn-plain { color: inherit; font-weight: 600; text-decoration: underline; background: none; border: none; cursor: pointer; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.3rem; max-width: 1100px; }
.plan-card { background: #fff; border: 1px solid #dde5ea; border-radius: 12px; padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; }
.plan-current { border-color: #16606b; box-shadow: inset 0 3px 0 #16606b; }
.plan-card h3 { margin: 0 0 0.2rem; font-size: 1.05rem; color: #16323f; }
.plan-desc { margin: 0 0 0.5rem; font-size: 0.84rem; color: #5c6b75; }
.plan-price { margin: 0.2rem 0 0; }
.plan-price strong { font-size: 1.5rem; color: #16323f; }
.plan-price em { font-style: normal; font-size: 0.8rem; color: #8b98a4; margin-left: 0.25rem; }
.plan-setup { margin: 0.1rem 0 0.7rem; font-size: 0.8rem; color: #8b98a4; }
.plan-feats { list-style: none; margin: 0 0 0.9rem; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.plan-feats li { padding-left: 1.3rem; position: relative; color: #33424c; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: #1f7a43; font-weight: 700; }
.plan-feats li.no { color: #a8b3bb; }
.plan-feats li.no::before { content: "—"; color: #c3ccd2; }
.plan-card .btn-book { margin-top: auto; width: 100%; padding: 0.5rem; }
.plan-wallet { margin-top: 0.45rem; font-size: 0.82rem; color: #2a5b77; background: none; border: none; cursor: pointer; }

/* Plan & billing */
.plan-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem;
  margin-bottom: 1rem; max-width: 900px; }
.plan-summary-item { background: #fff; border: 1px solid #e2e9ee; border-radius: 10px; padding: 0.7rem 0.9rem; }
.plan-summary-item span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #7c8b95; }
.plan-summary-item strong { font-size: 1.1rem; color: #15303f; }
.plan-feats-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-bottom: 1.3rem; font-size: 0.85rem; }
.plan-feats-row span { padding-left: 1.3rem; position: relative; color: #33424c; }
.plan-feats-row span::before { content: "✓"; position: absolute; left: 0; color: #1f7a43; font-weight: 700; }
.plan-feats-row span.no { color: #a8b3bb; }
.plan-feats-row span.no::before { content: "—"; color: #c3ccd2; }

.bill-card { max-width: 1100px; }
.bill-scroll { overflow-x: auto; }
.bill-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bill-table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: #7c8b95; padding: 0 0.6rem 0.5rem 0; border-bottom: 1px solid #e2e9ee; white-space: nowrap; }
.bill-table td { padding: 0.6rem 0.6rem 0.6rem 0; border-bottom: 1px solid #eef3f6; vertical-align: middle; }
.bill-table .num { text-align: right; }
.bill-table th.num { padding-right: 0; }
.bill-unpaid td { color: #8a949b; }
.bill-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: #6b7a85;
  word-break: break-all; }
.bill-status { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600; }
.bill-paid { background: #e6f4ec; color: #1f7a43; }
.bill-pending { background: #fbf1dd; color: #8a5a12; }
.bill-failed { background: #fbe9e9; color: #a32b2b; }
.bill-test { margin-left: 0.4rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: #eef3f6;
  color: #6b7a85; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Phones: the table becomes one stacked card per payment, labelled from data-label. */
@media (max-width: 640px) {
  .bill-table, .bill-table tbody, .bill-table tr, .bill-table td { display: block; width: 100%; }
  .bill-table thead { display: none; }
  .bill-table tr { border: 1px solid #e2e9ee; border-radius: 10px; padding: 0.5rem 0.7rem; margin-bottom: 0.6rem; }
  .bill-table td { border: none; padding: 0.22rem 0; display: flex; justify-content: space-between; gap: 1rem; }
  .bill-table td::before { content: attr(data-label); color: #7c8b95; font-size: 0.78rem; flex: none; }
  .bill-table .num { text-align: right; }
}

/* Payments are not real — say so where nobody can miss it. */
.mode-banner {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem;
  background: repeating-linear-gradient(45deg, #fdf3e2, #fdf3e2 12px, #fbecd0 12px, #fbecd0 24px);
  border: 1px solid #edd9ab; border-radius: 10px;
  padding: 0.55rem 0.9rem; margin-bottom: 1rem; font-size: 0.85rem; color: #7a4f12;
}
.mode-banner strong { letter-spacing: 0.06em; }

/* ══ Storefront blocks ═══════════════════════════════════════════════════
   An agent's site is assembled from these. Everything keys off the two brand
   colours the frame sets, so a block is on-brand without knowing the brand. */

.sb { padding: 4.5rem 1.5rem; }
.sb-inner { max-width: 1140px; margin: 0 auto; }
.sb-inner-narrow { max-width: 760px; }
.sb-light { background: #fff; color: #16232b; }
.sb-tint  { background: #f4f7f9; color: #16232b; }
.sb-dark  { background: var(--bf-primary, #0d2530); color: #eef5f7; }
.sb-dark .sb-lede, .sb-dark .sb-body { color: #c3d6dd; }
/* The page's global heading ink must not win inside a dark band. */
.sb-dark .sb-h2, .sb-dark .sb-h3 { color: #fff; }

.sb-h2 {
  font-family: var(--bf-heading, inherit);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: -0.025em; margin: 0 0 0.5rem; line-height: 1.15;
}
.sb-lede { margin: 0 0 2rem; font-size: 1.02rem; color: #5b6f7a; max-width: 62ch; line-height: 1.6; }
.sb-body { margin: 0; font-size: 1rem; line-height: 1.75; color: #3d4f5a; max-width: 68ch; white-space: pre-line; }
.sb-empty { color: #8b9aa3; font-style: italic; }

/* Hero ─────────────────────────────────────────────────────────────────── */
.sb-hero {
  background-size: cover; background-position: center; color: #fff;
  padding: clamp(4rem, 3rem + 9vw, 9rem) 1.5rem;
  position: relative; text-align: center; overflow: hidden;
}
.sb-hero .sb-hero-inner { position: relative; z-index: 2; }
.sb-hero.sb-light { background-color: #f4f7f9; color: #16232b; }
.sb-hero.sb-dark  { background-color: var(--bf-primary, #0d2530); }
/* A hero photo always carries the dark overlay, so its type is always light —
   whatever tone the block was set to before the image was chosen. */
.sb-hero-img { color: #fff; }
.sb-hero-inner { max-width: 860px; margin: 0 auto; }
.sb-hero h1 {
  /* the section sets the type colour per tone; the page's global h1 ink must not win */
  color: inherit;
  font-family: var(--bf-heading, inherit);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 1rem; font-weight: 750;
}
.sb-hero-sub { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.55; margin: 0 auto; max-width: 56ch; opacity: .92; }
.sb-hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 2rem; }

.sb-btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: 0.8rem 1.75rem; font-weight: 650; font-size: 0.95rem;
  background: var(--bf-accent, #16606b); color: #fff;
  transition: transform .12s ease, filter .12s ease;
}
.sb-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.sb-btn-ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.sb-btn-ghost:hover { background: rgba(255,255,255,.14); color: inherit; }

/* Cards laid out by a block ────────────────────────────────────────────── */
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }

/* One kind of trip per sub-section — kinds are never mixed into one grid. */
.sb-kindgroup { margin-top: 2.4rem; }
.sb-kindgroup:first-of-type { margin-top: 0; }
.sb-kindgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sb-h3 { margin: 0; font-size: 1.18rem; letter-spacing: -0.01em; }
.sb-more { color: var(--bf-accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.sb-more:hover { text-decoration: underline; }
.sb-dark .sb-more { color: #fff; }

/* Features ─────────────────────────────────────────────────────────────── */
.sb-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.sb-feature { display: flex; flex-direction: column; gap: 0.35rem; }
.sb-feature-icon { font-size: 1.75rem; line-height: 1; }
.sb-feature strong { font-size: 1.02rem; letter-spacing: -0.01em; }
.sb-feature span:last-child { color: #5b6f7a; font-size: 0.93rem; line-height: 1.6; }
.sb-dark .sb-feature span:last-child { color: #b9d0d8; }

/* Stats ────────────────────────────────────────────────────────────────── */
.sb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.6rem; text-align: center; }
.sb-stat strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 750;
  letter-spacing: -0.03em; color: var(--bf-accent, #16606b); line-height: 1; }
.sb-dark .sb-stat strong { color: #8fd6dd; }
.sb-stat span { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: #5b6f7a; }
.sb-dark .sb-stat span { color: #b9d0d8; }

/* Gallery ──────────────────────────────────────────────────────────────── */
.sb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; }
.sb-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #e8eef1; position: relative; }
.sb-shot img { display: block; width: 100%; height: 220px; object-fit: cover;
  transition: transform .4s ease; }
.sb-shot:hover img { transform: scale(1.04); }
.sb-shot figcaption { position: absolute; inset: auto 0 0 0; padding: 0.6rem 0.8rem;
  background: linear-gradient(transparent, rgba(8,20,26,.82)); color: #fff; font-size: 0.85rem; }

/* Testimonials ─────────────────────────────────────────────────────────── */
.sb-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.sb-quote { margin: 0; background: #fff; border: 1px solid #e3eaee; border-radius: 16px;
  padding: 1.4rem 1.5rem; box-shadow: 0 1px 2px rgba(16,42,56,.05); }
.sb-tint .sb-quote { background: #fff; }
.sb-dark .sb-quote { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.sb-quote p { margin: 0 0 0.9rem; font-size: 1rem; line-height: 1.65; color: #2c3d47; }
.sb-dark .sb-quote p { color: #e2eef1; }
.sb-quote p::before { content: "“"; font-size: 2rem; line-height: 0; vertical-align: -0.35rem;
  margin-right: 0.15rem; color: var(--bf-accent, #16606b); }
.sb-quote footer { font-size: 0.85rem; font-weight: 650; color: #5b6f7a; }
.sb-dark .sb-quote footer { color: #a7c4cd; }

/* FAQ ──────────────────────────────────────────────────────────────────── */
.sb-faq { display: flex; flex-direction: column; gap: 0.5rem; }
.sb-faq-item { border: 1px solid #e3eaee; border-radius: 12px; background: #fff; overflow: hidden; }
.sb-dark .sb-faq-item { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.sb-faq-item summary { cursor: pointer; padding: 0.95rem 1.15rem; font-weight: 650; font-size: 0.97rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sb-faq-item summary::-webkit-details-marker { display: none; }
.sb-faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--bf-accent, #16606b); line-height: 1; }
.sb-faq-item[open] summary::after { content: "−"; }
.sb-faq-item p { margin: 0; padding: 0 1.15rem 1.1rem; color: #5b6f7a; line-height: 1.65; font-size: 0.94rem; }
.sb-dark .sb-faq-item p { color: #b9d0d8; }

/* Call to action ───────────────────────────────────────────────────────── */
.sb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sb-cta .sb-lede { margin-bottom: 0; }

/* Contact ──────────────────────────────────────────────────────────────── */
.sb-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.sb-contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.sb-contact-item strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: #8b9aa3; }
.sb-contact-item a { color: var(--bf-accent, #16606b); text-decoration: none; font-size: 1.02rem; font-weight: 600; }
.sb-contact-item a:hover { text-decoration: underline; }

/* Logos ────────────────────────────────────────────────────────────────── */
.sb-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.2rem; }
.sb-logos img { height: 38px; width: auto; opacity: .65; filter: grayscale(1); transition: opacity .15s, filter .15s; }
.sb-logos img:hover { opacity: 1; filter: none; }
.sb-logo-name { font-weight: 650; color: #8b9aa3; letter-spacing: 0.02em; }


@media (max-width: 820px) {
  .sb { padding: 3rem 1.1rem; }
  .sb-hero { padding: 4rem 1.1rem; }
  .sb-grid { grid-template-columns: 1fr; }
  .sb-hero-actions .sb-btn { flex: 1 1 100%; text-align: center; }
  .sb-cta-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* ══ Site editor ═════════════════════════════════════════════════════════ */
.site-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.site-pages { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem; box-shadow: var(--shadow-1); position: sticky; top: 1rem; }
.site-pages-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }
.site-pages-head h2 { margin: 0; font-size: 0.98rem; }
.site-newpage { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.8rem;
  padding: 0.7rem; background: var(--brand-tint); border-radius: var(--radius-sm); }
.site-newpage label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #3d6a70; }
.site-page-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.site-page-list li { display: flex; align-items: center; gap: 0.4rem; }
.site-page-list button { flex: 1; text-align: left; background: none; border: none; cursor: pointer;
  padding: 0.5rem 0.6rem; border-radius: 8px; display: flex; flex-direction: column; gap: 0.1rem; }
.site-page-list button:hover { background: #f2f6f8; }
.site-page-list li.on button { background: var(--brand-tint); }
.site-page-list strong { font-size: 0.92rem; color: var(--ink); }
.site-page-list span { font-size: 0.76rem; color: var(--ink-4); }
.site-draft { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: #fdf3e2; color: #8a5a13; border-radius: 999px; padding: 0.1rem 0.4rem; }

.site-editor { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.site-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem 1.1rem; box-shadow: var(--shadow-1); }
.site-card h2 { margin: 0 0 0.7rem; font-size: 1rem; }
.site-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end; }
.site-row label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-4); flex: 1 1 12rem; }
.site-row label.wide { flex: 1 1 100%; }
.site-row input, .site-row select, .site-row textarea { font-weight: 400; text-transform: none; letter-spacing: 0; }
.site-check { flex-direction: row !important; align-items: center; gap: 0.45rem !important;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important;
  color: var(--ink-2) !important; flex: 0 0 auto !important; }

.site-blocks-head { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
.site-blocks-head h2 { margin: 0; font-size: 1rem; flex: 1; }

.site-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); overflow: hidden; }
.site-block.off { opacity: .6; }
.site-block-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem;
  background: #f6f9fb; border-bottom: 1px solid var(--line-2); }
.site-block-kind { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brand); }
.site-block-hint { font-size: 0.8rem; color: var(--ink-4); flex: 1; }
.site-block-tools { display: flex; gap: 0.5rem; }
.site-block-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.site-block-body > label.wide { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.76rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-4); }
.site-block-body textarea { font-weight: 400; text-transform: none; letter-spacing: 0; resize: vertical; }
.site-block-foot { border-top: 1px dashed var(--line); padding-top: 0.75rem; }
.site-saved { color: var(--brand); font-size: 0.84rem; font-weight: 600; }

.site-items { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.8rem; }
.site-items-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;
  font-size: 0.8rem; }
.site-item { display: flex; gap: 0.45rem; align-items: center; margin-bottom: 0.4rem; }
.site-item input { flex: 1; min-width: 0; }
.site-item-icon { flex: 0 0 3.2rem !important; text-align: center; }

@media (max-width: 900px) {
  .site-layout { grid-template-columns: 1fr; }
  .site-pages { position: static; }
}

/* Shown in place of the site and brand editors when we maintain the site for them. */
.managed-note { max-width: 640px; }
.managed-note p { color: var(--ink-2); margin: 0 0 0.8rem; }
.managed-note p:last-child { margin-bottom: 0; }
.managed-note .btn-book { display: inline-block; text-decoration: none; }

/* ── Destination settings (site editor) ─────────────────────────────────── */
/* Each destination is its own card: who it is on one line, its presentation in a
   tidy three-column grid beneath — nothing shares a baseline with something taller. */
.site-dest { margin-top: 1.2rem; }
.site-dest-lede { margin: 0 0 0.4rem; font-size: 0.88rem; color: #5c6b75; max-width: 72ch; line-height: 1.55; }
.site-dest-empty { color: #8b98a4; font-style: italic; }
.site-dest-row {
  display: flex; flex-direction: column; gap: 0.9rem;
  border: 1px solid #e2eaee; border-radius: 12px; background: #fbfcfd;
  padding: 0.85rem 1.1rem 1.1rem; margin-top: 0.8rem;
}
.site-dest-row.off { opacity: 0.6; background: #f4f6f8; }
.site-dest-head { display: flex; align-items: center; gap: 0.8rem; }
.site-dest-order { display: flex; gap: 4px; }
.site-dest-order button {
  border: 1px solid #cdd8df; background: #fff; border-radius: 7px;
  width: 28px; height: 26px; line-height: 1; cursor: pointer; font-size: 0.8rem; color: #41505a;
}
.site-dest-order button:hover:not(:disabled) { border-color: #9fb2bc; }
.site-dest-order button:disabled { opacity: 0.35; cursor: default; }
.site-dest-name { display: flex; align-items: baseline; gap: 0.5rem; }
.site-dest-name strong { font-size: 1rem; }
.site-dest-name span { font-size: 0.78rem; color: #8b98a4; }
.site-dest-listed { margin-left: auto; }
.site-dest-fields {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.6fr) minmax(230px, 1.2fr);
  gap: 1.1rem; align-items: start;
}
.site-dest-fields > label {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #7a8a94;
}
.site-dest-fields input {
  font-weight: 400; text-transform: none; letter-spacing: 0;
  padding: 0.45rem 0.6rem; border: 1px solid #c6d0d7; border-radius: 7px; font-size: 0.9rem; color: #16232b; background: #fff;
}
@media (max-width: 1000px) {
  .site-dest-fields { grid-template-columns: 1fr; }
}

/* ── Site image upload field ────────────────────────────────────────────── */
.siu { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.siu-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #7a8a94; }
.siu-preview { display: flex; align-items: center; gap: 0.7rem; }
.siu-preview img { height: 52px; max-width: 130px; object-fit: cover; border-radius: 8px; border: 1px solid #dde5ea; background: #f4f7f9; }
.siu-remove { background: none; border: none; color: #b3261e; font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 0; text-align: left; }
.siu-remove:hover { text-decoration: underline; }
.siu input[type="file"] { font-size: 0.8rem; max-width: 240px; }
.siu-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.siu-list-item { position: relative; }
.siu-list-item img { height: 52px; width: 92px; object-fit: cover; border-radius: 8px; border: 1px solid #dde5ea; background: #f4f7f9; display: block; }
.siu-list-item .siu-remove {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; line-height: 1;
  border-radius: 50%; border: 1px solid #dde5ea; background: #fff; color: #b3261e;
  font-size: 0.85rem; cursor: pointer; text-align: center; padding: 0;
}
.siu-hint { font-size: 0.72rem; color: #8b98a4; }
.siu-error { color: #b3261e; }

.site-headerpick select { padding: 0.3rem 0.45rem; border: 1px solid #c6d0d7; border-radius: 7px; font-size: 0.85rem; background: #fff; }

.site-page-list li { position: relative; }
.site-page-order { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
.site-page-order button { border: 1px solid #cdd8df; background: #fff; border-radius: 5px; width: 22px; height: 18px; line-height: 1; cursor: pointer; font-size: 0.65rem; color: #41505a; padding: 0; }
.site-page-order button:disabled { opacity: 0.3; cursor: default; }

/* ── Floating WhatsApp button ───────────────────────────────────────────── */
.bf-wa {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 24px -6px rgba(18, 140, 76, 0.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bf-wa:hover { transform: scale(1.08); box-shadow: 0 12px 30px -6px rgba(18, 140, 76, 0.7); color: #fff; }
@media (max-width: 820px) {
  .bf-wa { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
}

.bf-foot-address { color: rgba(255, 255, 255, 0.75); max-width: 40ch; line-height: 1.5; }

/* ── Page-loading skeleton ──────────────────────────────────────────────── */
.pl { min-height: 60vh; background: #fbfcfd; }
.pl-sk {
  display: block; border-radius: 10px;
  background: linear-gradient(90deg, #eef2f5 25%, #e3e9ee 37%, #eef2f5 63%);
  background-size: 960px 100%; animation: pl-shimmer 1.3s linear infinite;
}
@keyframes pl-shimmer { from { background-position: -960px 0; } to { background-position: 960px 0; } }
.pl-bar {
  height: 63px; background: #fff; border-bottom: 1px solid rgba(14, 32, 41, 0.08);
  display: flex; align-items: center; gap: 0.8rem; padding: 0 1.2rem;
  max-width: 1180px; margin: 0 auto;
}
.pl-logo { width: 150px; height: 20px; }
.pl-pill { width: 86px; height: 16px; border-radius: 999px; }
.pl-call { width: 130px; height: 34px; border-radius: 999px; margin-left: auto; }
.pl-body { max-width: 1180px; margin: 0 auto; padding: 1.6rem 1.2rem; }
.pl-hero { height: 240px; border-radius: 18px; margin-bottom: 1.6rem; }
.pl-line { height: 16px; margin-bottom: 0.8rem; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.pl-card { height: 210px; border-radius: 16px; }
@media (max-width: 700px) { .pl-hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .pl-sk { animation: none; } }

/* ── Price breakup ─────────────────────────────────────────────────────── */
.pt-breakup { border: 1px solid #eef2f5; background: #fafcfd; border-radius: 12px; padding: 0.8rem 0.95rem 0.6rem; margin-bottom: 0.9rem; max-width: 560px; }
.pt-breakup-rows { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pt-breakup-rows td { padding: 0.42rem 0; border-top: 1px solid #eef2f5; color: #41505a; }
.pt-breakup-rows tbody tr:first-child td { border-top: none; }
.pt-breakup-calc { text-align: right; color: #8b98a4; font-size: 0.8rem; white-space: nowrap; padding-right: 1rem !important; }
.pt-breakup-amt { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pt-breakup-rows tfoot td { border-top: 2px solid #e3eaee; padding-top: 0.55rem; font-weight: 700; color: var(--ink); }
.pt-breakup-rows tfoot .pt-breakup-amt { font-size: 1.1rem; color: var(--bf-accent); }
.pt-breakup-rows tfoot em { font-style: normal; font-weight: 500; font-size: 0.76rem; color: #8b98a4; margin-left: 0.4rem; }

/* ── Date cards in the booking form ─────────────────────────────────────── */
.pt-dates { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pt-date {
  font: inherit; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: 0.05rem; min-width: 108px;
  background: #fff; border: 1.5px solid #dbe4ea; border-radius: 12px; padding: 0.6rem 0.9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-date:hover { border-color: var(--bf-accent); }
.pt-date.on { border-color: var(--bf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bf-accent) 18%, transparent); }
.pt-date strong { font-size: 1rem; color: var(--ink); }
.pt-date span { font-size: 0.72rem; color: #8b98a4; }
.pt-date em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--bf-accent); margin-top: 0.2rem; }

/* ── Custom-tour "starts at" price presentation ─────────────────────────── */
.pkg-startsat { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding: 0.55rem 0.75rem; }
.startsat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.startsat-price { font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.startsat-per { font-size: 0.82rem; color: #5c6b75; }
.startsat-chip {
  font-size: 0.78rem; font-weight: 600; color: #7a4c10;
  background: #fdf1dc; border: 1px solid #f3ddb4; border-radius: 999px; padding: 0.25rem 0.7rem;
}

/* ── Package details: modern colourful timeline ─────────────────────────── */
.pkg-detail {
  background: linear-gradient(180deg, #f6fafb, #fbfdfe);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 1.2rem 1.3rem; margin-top: 0.9rem;
}
.pkg-about { margin: 0 0 1rem; font-size: 0.92rem; color: #41505a; max-width: 72ch; }

.pkg-timeline { display: flex; flex-direction: column; }
.pkg-tl-day { display: flex; gap: 0.9rem; }
.pkg-tl-rail { display: flex; flex-direction: column; align-items: center; }
.pkg-tl-badge {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #2a8fa3);
  color: #fff; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(22, 96, 107, 0.35);
}
.pkg-tl-rail::after {
  content: ""; flex: 1; width: 3px; margin: 4px 0;
  background: linear-gradient(180deg, rgba(22,96,107,.35), rgba(22,96,107,.08));
  border-radius: 999px;
}
.pkg-tl-day:last-child .pkg-tl-rail::after { display: none; }
.pkg-tl-body { flex: 1; padding-bottom: 1.1rem; min-width: 0; }
.pkg-tl-title { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.pkg-tl-title strong { font-size: 0.95rem; color: var(--ink); }
.pkg-tl-night {
  font-size: 0.75rem; font-weight: 600; color: #4c3a7a;
  background: #efeafc; border: 1px solid #ddd2f5; border-radius: 999px; padding: 0.15rem 0.6rem;
}
.pkg-tl-text { margin: 0.3rem 0 0; font-size: 0.86rem; color: #4d5c66; max-width: 72ch; }
.pkg-tl-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.pkg-tag {
  font-size: 0.8rem; font-weight: 600; border-radius: 999px; padding: 0.28rem 0.7rem;
  border: 1px solid transparent; white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.tag-stay { background: #e7f2f3; border-color: #cfe4e6; color: #0f4c55; }
.tag-ride { background: #e8f0fb; border-color: #d2e2f5; color: #1d4f91; }
.tag-fun  { background: #fdf1dc; border-color: #f3ddb4; color: #7a4c10; }

.pkg-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem; margin-top: 0.6rem;
}
.pkg-detail-card {
  border-radius: 12px; padding: 0.9rem 1.05rem; font-size: 0.86rem;
  border: 1px solid var(--line-2); background: #fff;
}
.pkg-detail-card h4 { margin: 0 0 0.5rem; font-size: 0.85rem; letter-spacing: 0.02em; }
.pkg-detail-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; color: #41505a; }
.card-included { background: #f0faf2; border-color: #d5eeda; }
.card-included h4 { color: #1d7a35; }
.card-excluded { background: #fdf2f1; border-color: #f5d9d6; }
.card-excluded h4 { color: #b3372c; }
.card-policy { background: #f4f6fd; border-color: #dee4f7; }
.card-policy h4 { color: #33509b; }
.card-policy p { margin: 0 0 0.4rem; color: #4d5c66; }

.pkg-detail-loading { margin: 0.6rem 0 0; font-size: 0.85rem; color: #5c6b75; }

@media (max-width: 640px) {
  .pkg-startsat { padding: 0.4rem 0; }
  .pkg-tl-body { padding-bottom: 0.9rem; }
}

/* ── Journey ribbon: the whole route at a glance ────────────────────────── */
.pkg-ribbon {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  margin: 0 0 1.1rem; padding: 0.65rem 0.9rem;
  background: linear-gradient(90deg, rgba(22,96,107,.08), rgba(42,143,163,.04));
  border: 1px solid rgba(22, 96, 107, 0.14); border-radius: 999px;
}
.pkg-ribbon-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--brand), #2a8fa3);
  border-radius: 999px; padding: 0.3rem 0.75rem; margin-right: 0.3rem;
}
.pkg-ribbon-stop {
  font-size: 0.86rem; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.pkg-ribbon-stop::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #2a8fa3);
  box-shadow: 0 0 0 3px rgba(22, 96, 107, 0.15);
}
.pkg-ribbon-line {
  flex: 0 0 1.6rem; height: 2px; border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(22,96,107,.45) 0 6px, transparent 6px 11px);
}

/* Compact timeline line: city + hotel, nothing else */
.pkg-tl-line { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; min-height: 2.1rem; }
.pkg-tl-cityname { font-size: 0.95rem; color: var(--ink); letter-spacing: -0.01em; }
.pkg-tl-muted { font-size: 0.85rem; color: #7b8a94; }
.pkg-tl-day .pkg-tl-body { padding-bottom: 0.7rem; }

/* ── Stay strip: where the client sleeps, shown before a date is priced ── */
.pkg-staystrip { display: flex; align-items: stretch; gap: 0.6rem; flex-wrap: wrap; margin: 0.75rem 0 0.3rem; }
.staystrip-title {
  align-self: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand); margin-right: 0.2rem;
}
.staycard {
  display: flex; flex-direction: column; gap: 0.1rem;
  background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 0.45rem 0.8rem;
  box-shadow: 0 1px 3px rgba(14, 32, 41, 0.06);
}
.staycard small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #7b8a94; }
.staycard strong { font-size: 0.86rem; color: var(--ink); }

/* ── Journey bar: arrival → stops → departure, godmode edition ──────────── */
.jy { display: flex; align-items: center; flex-wrap: nowrap; overflow-x: auto; padding: 0.55rem 2px 0.35rem; margin: 0.5rem 0 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.jy-end {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; color: #33424c;
  background: linear-gradient(180deg, #f2f7f9, #e9f1f4);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 0.28rem 0.7rem;
}
.jy-link {
  flex: 0 0 1.3rem; height: 2px; margin: 0 0.35rem; border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(22, 96, 107, 0.45) 0 7px, transparent 7px 13px);
  animation: jy-dash 16s linear infinite;
}
@keyframes jy-dash { to { background-position: 260px 0; } }

.jy-card {
  --jy: var(--brand);
  position: relative; display: flex; flex-direction: column; gap: 0.05rem; flex: 0 0 auto; white-space: nowrap;
  background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--jy);
  border-radius: 10px; padding: 0.38rem 0.7rem 0.34rem;
  box-shadow: 0 2px 8px rgba(14, 32, 41, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.jy-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(14, 32, 41, 0.14); }
.jy-h0 { --jy: #16606b; }
.jy-h1 { --jy: #2e7d46; }
.jy-h2 { --jy: #4650a0; }
.jy-h3 { --jy: #a3542a; }
.jy-boat { --jy: #c77f0a; background: linear-gradient(180deg, #fffaf0, #fff); }

.jy-nights {
  position: absolute; top: -0.6rem; right: 0.55rem;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--jy); border-radius: 999px; padding: 0.12rem 0.45rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.jy-city { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jy); }
.jy-hotel { font-size: 0.82rem; color: var(--ink); letter-spacing: -0.01em; }
.jy-detail { font-size: 0.68rem; color: #7b8a94; }

@media (max-width: 720px) {
  .jy-end { display: none; }
}

/* ── Booking detail panel ───────────────────────────────────────────────── */
.bk-detailcell { background: #f6fafb; padding: 1rem 1.1rem !important; }
.bk-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; }
.bk-d-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.85rem 1rem; font-size: 0.85rem;
  border-top: 3px solid var(--brand);
}
.bk-d-trip { border-top-color: #16606b; }
.bk-d-price { border-top-color: #2e7d46; }
.bk-d-pay { border-top-color: #4650a0; }
.bk-d-status { border-top-color: #a3542a; }
.bk-d-card h4 { margin: 0 0 0.55rem; font-size: 0.8rem; letter-spacing: 0.03em; color: #33424c; }
.bk-d-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.7rem; }
.bk-d-card dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #8b98a4; align-self: baseline; }
.bk-d-card dd { margin: 0; color: #33424c; }
.bk-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--brand); }
.bk-d-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.bk-d-chip { font-size: 0.75rem; font-weight: 600; background: #e7f2f3; border: 1px solid #cfe4e6; color: #0f4c55; border-radius: 999px; padding: 0.2rem 0.6rem; }
.bk-d-table { width: 100%; border-collapse: collapse; }
.bk-d-table td { padding: 0.28rem 0; border-bottom: 1px dashed var(--line-2); }
.bk-d-table .muted { color: #8b98a4; font-size: 0.78rem; }
.bk-d-table .num { text-align: right; }
.bk-d-discount td { color: #2e7d46; font-weight: 600; }
.bk-d-total td { border-bottom: 0; font-weight: 700; padding-top: 0.45rem; }
.bk-d-paybar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.55rem; }
.bk-d-paybar .paid { background: #f0faf2; border: 1px solid #d5eeda; color: #1d7a35; border-radius: 999px; padding: 0.2rem 0.65rem; font-weight: 700; font-size: 0.78rem; }
.bk-d-paybar .due { background: #fdf2f1; border: 1px solid #f5d9d6; color: #b3372c; border-radius: 999px; padding: 0.2rem 0.65rem; font-weight: 700; font-size: 0.78rem; }
.bk-d-schedule, .bk-d-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.bk-d-schedule li, .bk-d-timeline li { display: flex; align-items: baseline; gap: 0.45rem; color: #33424c; }
.bk-d-schedule li small, .bk-d-timeline li small { color: #8b98a4; }
.bk-d-schedule li.done { color: #1d7a35; }
.bk-d-timeline li.done span { color: #1d7a35; }
.bk-d-timeline li.bad { color: #b3372c; }

/* ── Booking voucher layout ─────────────────────────────────────────────── */
.bkv { display: flex; flex-direction: column; gap: 0.9rem; }
.bkv-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(120deg, #143441, #0d2530 70%);
  border-radius: 12px; padding: 0.95rem 1.2rem; color: #fff;
}
.bkv-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: #7fb4c4; }
.bkv-hero h3 { margin: 0.15rem 0 0.35rem; font-size: 1.15rem; letter-spacing: -0.01em; }
.bkv-hero-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.bkv-hero-meta span {
  font-size: 0.74rem; font-weight: 600; color: #d7e4ea;
  background: rgba(255, 255, 255, 0.09); border-radius: 999px; padding: 0.18rem 0.6rem;
}
.bkv-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.9rem; align-items: start; }
.bkv-main { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 0.95rem 1.1rem; }
.bkv-main .jy { margin-top: 0.1rem; }
.bkv-timeline { margin-top: 0.7rem; }
.bkv-daydate {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; color: var(--brand);
  background: var(--brand-tint, #e6f1f2); border-radius: 6px; padding: 0.15rem 0.45rem; text-transform: uppercase;
}
.bkv-dayroute { font-size: 0.88rem; color: var(--ink); }
.bkv-notes { margin: 0.7rem 0 0; font-size: 0.84rem; color: #5c6b75; background: #fdf7ea; border: 1px solid #f3e5c0; border-radius: 8px; padding: 0.5rem 0.75rem; }
.bkv-side { display: flex; flex-direction: column; gap: 0.9rem; }
.bk-d-total td { white-space: nowrap; }
@media (max-width: 900px) { .bkv-grid { grid-template-columns: 1fr; } }

/* ── Booking voucher, simplified ────────────────────────────────────────── */
.bkv-hero h3 { color: #fff; }
.bkv-days { display: flex; flex-direction: column; }
.bkv-day {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line-2);
}
.bkv-day:last-child { border-bottom: 0; }
.bkv-day .bkv-daydate {
  flex: 0 0 3.4rem; background: none; padding: 0; border-radius: 0;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: #8b98a4; text-transform: uppercase;
}
.bkv-daytext { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.bkv-daytext strong { font-size: 0.88rem; color: var(--ink); font-weight: 600; }
.bkv-dayhotel { font-size: 0.8rem; color: #7b8a94; }

/* Quiet the side cards: one clean style, no colour coding, no emoji weight */
.bk-d-card, .bk-d-trip, .bk-d-price, .bk-d-pay, .bk-d-status { border-top: 1px solid var(--line-2); }
.bk-d-card h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #8b98a4; }

/* ── Home: upcoming group departures board ──────────────────────────────── */
.hm-updep { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.hm-updep-row {
  display: flex; align-items: center; gap: 1.3rem;
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px;
  padding: 0.9rem 1.1rem 0.9rem 0.9rem; box-shadow: var(--shadow-1);
}
.hm-updep-date {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  background: #eef2f5; border-radius: 14px; padding: 0.7rem 1rem; min-width: 9.5rem;
}
.hm-updep-date strong { font-size: 1.35rem; color: #0f3b45; letter-spacing: -0.01em; line-height: 1.1; }
.hm-updep-date span { font-size: 0.82rem; color: #667a85; }
.hm-updep-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1.3rem; border-left: 1px solid var(--line-2); }
.hm-updep-title > strong { font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.hm-updep-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.92rem; color: #4f626d; }
.hm-updep-meta > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hm-updep-meta svg { font-size: 1.1rem; color: #3d4f5a; }
.hm-updep-price { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 0.1rem; }
.hm-updep-price strong { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-updep-price span { font-size: 0.82rem; color: #667a85; }
.hm-book {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.45rem;
  background: linear-gradient(180deg, #f9a825, #ef8f14); color: #fff; text-decoration: none;
  font-weight: 750; font-size: 1.05rem; border-radius: 999px; padding: 0.7rem 1.5rem;
  box-shadow: 0 8px 18px -10px rgba(239,143,20,.9); transition: transform .12s ease, filter .12s ease;
}
.hm-book:hover { filter: brightness(1.05); transform: translateY(-1px); color: #fff; text-decoration: none; }
@media (max-width: 720px) {
  .hm-updep-row { flex-wrap: wrap; gap: 0.7rem 1rem; }
  .hm-updep-title { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .hm-updep-price { margin-left: auto; }
}

/* ── Modern split login ─────────────────────────────────────────────────── */
.auth-split { display: flex; min-height: 100vh; }

.auth-brand {
  flex: 0 0 44%;
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  padding: 3rem 3.4rem;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(127, 180, 196, 0.16), transparent 60%),
    linear-gradient(150deg, #143441, #0d2530 65%);
  color: #d7e4ea;
}
.auth-logo { width: min(280px, 70%); height: auto; }
.auth-brand h2 { margin: 0.4rem 0 0; font-size: 1.5rem; letter-spacing: -0.01em; color: #fff; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.auth-points li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; color: #a9c1cd; }
.auth-points li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(22, 96, 107, 0.35);
}
.auth-foot { margin-top: 1.2rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7fb4c4; }

.auth-pane {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: var(--canvas, #f2f5f7); padding: 2.5rem 1.5rem;
}
.auth-modern { margin: 0; width: 100%; max-width: 420px; border-radius: 18px; padding: 2.3rem 2.4rem; }
.auth-modern h1 { font-size: 1.45rem; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.auth-sub { margin: 0 0 1.4rem; font-size: 0.9rem; color: #5c6b75; }
.auth-modern .field input {
  border-radius: 10px; padding: 0.7rem 0.85rem; font-size: 0.95rem;
}
.auth-modern .btn { width: 100%; padding: 0.75rem; border-radius: 10px; font-size: 0.98rem; margin-top: 0.3rem; }
.auth-modern .links { display: flex; justify-content: space-between; margin-top: 1.1rem; }

@media (max-width: 860px) {
  .auth-split { flex-direction: column; }
  .auth-brand { flex: none; padding: 2rem 1.6rem 1.6rem; gap: 0.7rem; }
  .auth-brand h2 { font-size: 1.15rem; }
  .auth-points, .auth-foot { display: none; }
  .auth-logo { width: 200px; }
  .auth-pane { align-items: flex-start; padding-top: 1.6rem; }
}

/* ── Quote: a secondary action beside Book & pay, and the document it leads to ── */
.btn-quote {
  display: block; text-align: center; background: var(--surface); color: var(--brand);
  border: 1px solid var(--brand); border-radius: 999px; font-weight: 650; text-decoration: none;
  margin-top: 0.9rem;
}
.btn-quote:hover { background: var(--brand-tint); color: var(--brand-deep); text-decoration: none; }

.qt-tools { margin-bottom: 1rem; }
.qt-controls {
  display: flex; flex-wrap: wrap; align-items: end; gap: 0.8rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem;
}
.qt-controls label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; color: var(--ink-2); }
.qt-controls label.qt-check { flex-direction: row; align-items: center; gap: 0.4rem; padding-bottom: 0.45rem; }
.qt-field { display: inline-flex; align-items: center; gap: 0.35rem; }
.qt-field input { width: 5.5rem; }
.qt-field em { font-style: normal; color: var(--ink-3); }
.qt-controls .btn-book { margin-left: auto; padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.qt-hint { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--ink-3); line-height: 1.5; }

.qt-doc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 2rem 2.2rem; max-width: 860px; color: var(--ink); line-height: 1.5;
}
.qt-doc h2, .qt-doc h3 { letter-spacing: -0.01em; }
.qt-doc h3 { font-size: 0.98rem; margin: 0 0 0.6rem; }
.qt-doc section { margin-top: 1.5rem; }
.qt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.qt-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.qt-brand img { display: block; width: auto; height: auto; max-height: 110px; max-width: 300px; object-fit: contain; object-position: left center; }
.qt-brand-name { font-size: 1.35rem; }
.qt-brand-tag { font-size: 0.85rem; color: var(--ink-3); }
.qt-meta { text-align: right; }
.qt-meta h1 { margin: 0 0 0.4rem; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.qt-meta p { margin: 0.1rem 0; font-size: 0.86rem; display: flex; justify-content: flex-end; gap: 0.8rem; }
.qt-meta p span { color: var(--ink-3); }
.qt-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.qt-parties div { display: flex; flex-direction: column; font-size: 0.9rem; }
.qt-parties em { font-style: normal; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 0.2rem; }
.qt-parties span { color: var(--ink-2); font-size: 0.86rem; }
.qt-trip h2 { margin: 0 0 0.6rem; font-size: 1.3rem; }
.qt-lede { margin: 0.8rem 0 0; color: var(--ink-2); font-size: 0.92rem; }
.qt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; margin: 1rem 0 0; }
.qt-facts div { border-left: 3px solid var(--brand-tint); padding-left: 0.7rem; }
.qt-facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.qt-facts dd { margin: 0.1rem 0 0; font-size: 0.92rem; font-weight: 600; }
.qt-facts dd small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.qt-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.qt-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--line-2); }
.qt-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qt-table tfoot td { border-top: 2px solid var(--ink); border-bottom: none; font-weight: 750; font-size: 1.02rem; padding-top: 0.7rem; }
.qt-terms { margin: 0.8rem 0 0; font-size: 0.84rem; color: var(--ink-2); }
.qt-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.qt-incl ul { margin: 0; }
.qt-days ol { list-style: none; margin: 0; padding: 0; }
.qt-days li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; }
.qt-days li:last-child { border-bottom: none; }
.qt-day-num { font-size: 0.78rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 0.15rem; }
.qt-day-body { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.9rem; }
.qt-day-body em { font-style: normal; color: var(--ink-3); font-size: 0.84rem; }
.qt-day-body p { margin: 0.2rem 0 0; color: var(--ink-2); font-size: 0.86rem; }
.qt-day-body small { color: var(--ink-3); font-size: 0.8rem; }
.qt-policies h4 { margin: 0 0 0.3rem; font-size: 0.9rem; }
.qt-policies h4 span { font-weight: 400; color: var(--ink-3); }
.qt-notes p { margin: 0; font-size: 0.9rem; color: var(--ink-2); white-space: pre-line; }
.qt-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }
.qt-foot p { margin: 0.2rem 0; }

@media (max-width: 640px) {
  .qt-doc { padding: 1.2rem 1rem; }
  .qt-head, .qt-parties, .qt-facts, .qt-incl { grid-template-columns: 1fr; display: grid; }
  .qt-meta { text-align: left; }
  .qt-meta p { justify-content: flex-start; }
  .qt-controls .btn-book { margin-left: 0; width: 100%; }
}

/* The printed quote is the customer's document: no portal chrome, no controls, no banner. */
@media print {
  @page { margin: 14mm; }
  body, .agent-shell { background: #fff; }
  .agent-header, .mode-banner, .no-print, .bk-back { display: none !important; }
  .agent-main { padding: 0; max-width: none; }
  .qt-doc { border: none; box-shadow: none; padding: 0; max-width: none; border-radius: 0; }
  .qt-doc section { break-inside: avoid; }
  .qt-doc a { color: inherit; text-decoration: none; }
}

/* ── Saved quotes: the form, the list, the customer's page ── */
.btn-quote-secondary {
  display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--brand);
  border: 1px solid var(--brand); border-radius: 999px; font-weight: 650; text-decoration: none; cursor: pointer;
  padding: 0.5rem 1.1rem; font-size: 0.9rem; font-family: inherit;
}
.btn-quote-secondary:hover { background: var(--brand-tint); color: var(--brand-deep); text-decoration: none; }
.qt-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.qt-form-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: end; }
.qt-form-row label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; color: var(--ink-2); min-width: 9rem; }
.qt-form-row label.qt-grow { flex: 1 1 18rem; }
.qt-form-row label.qt-check { flex-direction: row; align-items: center; gap: 0.4rem; padding-bottom: 0.45rem; min-width: 0; }
.qt-form-row input[type="text"], .qt-form-row input[type="tel"], .qt-form-row input[type="email"], .qt-form-row input[type="date"] { width: 100%; }
.qt-optional { font-style: normal; color: var(--ink-4); font-weight: 400; }
.qt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }
.qt-actions .qt-hint { margin: 0; flex: 1 1 16rem; }
.qt-actions-send { margin-top: 0.8rem; }
.qt-actions .btn-book { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.qt-book { border-style: dashed; }
.qt-delete { color: #b3261e; margin-left: auto; }
.qt-delete:hover { color: #8f1d17; }
.qt-topbar { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.qt-topbar .bk-back { margin-bottom: 0; }
.qt-saved { font-size: 0.85rem; color: #1f7a43; font-weight: 600; }
.qt-status { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 99px; font-size: 0.78rem; font-weight: 650; white-space: nowrap; }
.qt-status-draft { background: var(--line-2); color: var(--ink-2); }
.qt-status-sent { background: #e8f0fb; color: #2b5aa8; }
.qt-status-viewed { background: #fdf3e2; color: #8a5a13; }
.qt-status-accepted { background: #e3f4e8; color: #1f7a43; }
.qt-status-booked { background: var(--brand-tint); color: var(--brand-deep); }
.qt-status-expired { background: #fdecea; color: #b3261e; margin-left: 0.3rem; }
.qt-timeline { list-style: none; margin: 0 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.82rem; color: var(--ink-3); }
.qt-timeline strong { color: var(--ink-2); font-weight: 650; }
.qt-timeline .qt-seen strong { color: #8a5a13; }
.qt-timeline .qt-accepted strong { color: #1f7a43; }
.qt-timeline .qt-expired-note { color: #b3261e; }
.qt-edit { margin-top: 0.9rem; }
.qt-edit > summary { cursor: pointer; font-size: 0.88rem; font-weight: 650; color: var(--brand); margin-bottom: 0.5rem; }
.pkg-chip-group { background: #fff4e0; color: #8a5a00; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.74rem; }
.qt-group { background: #fff8ea; border: 1.5px solid #f0c97a; border-left: 5px solid #d98c00; border-radius: 0 var(--radius) var(--radius) 0; padding: 0.9rem 1.1rem; }
.qt-group h3 { margin: 0; font-size: 1.02rem; color: #6e4700; }
.qt-group-lede { margin: 0.35rem 0 0.7rem; font-size: 0.9rem; color: var(--ink-2); }
.qt-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.qt-group li { font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); padding-left: 1.2rem; position: relative; }
.qt-group li::before { content: "•"; position: absolute; left: 0.2rem; color: #d98c00; font-weight: 800; }
.qt-group li strong { color: var(--ink); margin-right: 0.35rem; }
.qt-message { background: var(--brand-tint); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.8rem 1rem; }
.qt-message p { margin: 0; font-size: 0.95rem; color: var(--ink); white-space: pre-line; }
.qt-message em { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--ink-3); }
.qt-stamp { display: inline-block; margin-top: 0.4rem; padding: 0.15rem 0.7rem; border: 2px solid; border-radius: 6px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.qt-stamp-expired { color: #b3261e; border-color: #b3261e; }
.qt-stamp-accepted { color: #1f7a43; border-color: #1f7a43; }
.qt-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.8rem; }
.qt-filter { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.84rem; cursor: pointer; color: var(--ink-2); font-family: inherit; }
.qt-filter span { color: var(--ink-4); margin-left: 0.3rem; }
.qt-filter.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.qt-filter.on span { color: rgba(255,255,255,0.75); }
.qt-search { margin-left: auto; min-width: 14rem; }
.qt-list td.num, .qt-list th.num { text-align: right; }
.qt-row { cursor: pointer; }
.qt-row:hover td { background: var(--canvas); }
.pq { max-width: 900px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.pq-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.pq-lede { margin: 0; flex: 1 1 20rem; font-size: 0.95rem; color: var(--ink-2); }
.pq-contact { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pq-accept { margin-top: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pq-accept h2 { margin: 0; font-size: 1.15rem; }
.pq-accept p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.pq-accept label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: var(--ink-2); }
.pq-accept label em { font-style: normal; color: var(--ink-4); }
.pq-accept textarea { width: 100%; font-family: inherit; }
.pq-accept-done { border-color: #1f7a43; background: #e3f4e8; }
@media (max-width: 640px) {
  .qt-search { margin-left: 0; width: 100%; }
  .qt-delete { margin-left: 0; }
}
@media print {
  .pq { padding: 0; max-width: none; }
  .bf-head, .bf-foot { display: none !important; }
}

/* Margin kind toggle and the earnings readout */
.qt-margin { gap: 0.4rem; }
.qt-margin input { width: 7rem; }
.qt-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qt-seg button { background: var(--surface); border: none; padding: 0.35rem 0.7rem; font-size: 0.8rem; font-weight: 650; color: var(--ink-2); cursor: pointer; font-family: inherit; }
.qt-seg button.on { background: var(--brand); color: #fff; }
.qt-earn { color: #1f7a43; }
.qt-earnline { flex-basis: 100%; font-size: 0.9rem; color: var(--ink-2); }
.qt-earnline strong { color: #1f7a43; }

/* My Agency */
.ag-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; margin-top: 1rem; max-width: 900px; }
.ag-panel { display: flex; flex-direction: column; gap: 0.7rem; }
.ag-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: var(--ink-2); }
.ag-field em { font-style: normal; color: var(--ink-4); }
.ag-field input { width: 100%; }
.ag-status { margin: 0; font-size: 0.86rem; color: var(--ink-2); padding: 0.6rem 0.8rem; border-radius: var(--radius); background: var(--line-2); }
.ag-status-pending { background: #fdf3e2; color: #8a5a13; }
.ag-status-approved { background: #e3f4e8; color: #1f7a43; }
.ag-status-rejected { background: #fdecea; color: #b3261e; }

/* Price breakup — partner-only workings under the quote */
.qt-breakup { margin: 0 0 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 1rem; max-width: 100%; }
.qt-breakup > summary { cursor: pointer; font-weight: 650; color: var(--brand); font-size: 0.92rem; }
.qt-breakup > summary span { font-weight: 400; color: var(--ink-3); font-size: 0.82rem; }
.qb { margin-top: 0.8rem; overflow-x: auto; }
.qb h4 { margin: 1rem 0 0.4rem; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.qb-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.qb-table th, .qb-table td { padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.qb-table thead th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); background: var(--canvas); white-space: nowrap; }
.qb-table td.num, .qb-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qb-table tfoot td { border-top: 2px solid var(--ink); border-bottom: none; font-weight: 650; background: var(--canvas); }
.qb-table tfoot tr.qb-margin td { border-top: none; font-weight: 500; color: #1f7a43; }
.qb-table tfoot tr.qb-customer td { border-top: 1px solid var(--line); }
.qb-day { white-space: nowrap; }
.qb-day small { display: block; color: var(--ink-3); font-size: 0.74rem; }
.qb-line { display: flex; flex-direction: column; margin-bottom: 0.25rem; }
.qb-line small { color: var(--ink-3); font-size: 0.74rem; }
.qb-muted { color: var(--ink-4); }
.qb-notes { margin: 0.7rem 0 0; padding-left: 1.1rem; font-size: 0.8rem; color: var(--ink-3); }
.qb-statement { max-width: 34rem; }
.qb-statement tr.qb-sub td { font-weight: 650; border-top: 1px solid var(--line); background: var(--canvas); }
.qb-table tfoot tr.qb-strike td { border-top: none; font-weight: 400; color: var(--ink-3); font-size: 0.78rem; }
.qt-was { color: var(--ink-4); font-weight: 400; margin-right: 0.5rem; font-size: 0.86em; }
.qt-table tfoot tr.qt-saving td { border-top: none; font-weight: 600; font-size: 0.86rem; color: #1f7a43; padding-top: 0.2rem; }
.qt-address { white-space: pre-line; }
.qt-status-trade { background: #efe7fb; color: #5b3aa3; margin-left: 0.3rem; }
.qt-agencies { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin: 0.6rem 0 0; font-size: 0.84rem; color: var(--ink-2); }
.qt-agency { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; }
.qt-agency em { font-style: normal; color: var(--ink-3); font-size: 0.78rem; }

/* ── Page-level error (from the layout's error boundary) ─────────────────── */
.page-error { display: flex; flex-direction: column; gap: 0.4rem; margin: 1rem 0; padding: 0.9rem 1.1rem; border: 1px solid #f1c6c0; border-radius: 10px; background: #fff5f4; color: #7a1f17; }
.page-error-detail { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; word-break: break-word; color: #9a3b32; }
.page-error .btn-link { align-self: flex-start; }
.bk-more-layouts { margin-top: 0.5rem; }
.bkw-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Booking summary: installment schedule ───────────────────────────────── */
.bkw-schedule { margin: 0.5rem 0 0.3rem; padding: 0.55rem 0.7rem; border: 1px solid #e3eaee; border-radius: 10px; background: #f8fafc; }
.bkw-schedule-head { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #6a7f8c; margin-bottom: 0.3rem; }
.bkw-step { padding: 0.2rem 0 !important; }
.bkw-step > span:first-child { display: flex; flex-direction: column; gap: 0.05rem; }
.bkw-step > span:first-child strong { margin-right: 0.3rem; }
.bkw-step em { font-style: normal; font-size: 0.76rem; color: #5d7180; }
.bkw-step.now > span:first-child { color: #1d3340; }
.bkw-due { border-top: 1px solid #e3eaee; margin-top: 0.4rem; padding-top: 0.5rem !important; }

/* ── Sold-out departures ─────────────────────────────────────────────────── */
.pkg-soldout { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: #fdecec; color: #a3261e; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.pkg-soldout-btn { padding: 0.42rem 1rem; }
.hm-soldout { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0.6rem 1.3rem; border-radius: 999px; background: #fdecec; color: #a3261e; font-weight: 750; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hm-soldout-meta { color: #a3261e; font-weight: 600; }

/* ── Departure sales tags and scarcity ───────────────────────────────────── */
.dep-badge { display: inline-block; vertical-align: middle; margin-left: 0.45rem; padding: 0.12rem 0.55rem; border-radius: 999px; background: linear-gradient(180deg, #fff1c2, #ffe08a); color: #7a4b00; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.hm-seats-low, .pkg-seats-low, .pt-seats-low { color: #b45309; font-weight: 650; }

/* ── Group requests ──────────────────────────────────────────────────────── */
.gr-new { align-self: center; white-space: nowrap; }
.gr-empty { text-align: center; padding: 2.5rem 1rem; }
.gr-empty-icon { font-size: 2.4rem; display: block; margin-bottom: 0.4rem; }
.gr-list { display: flex; flex-direction: column; gap: 0.7rem; }
.gr-card { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 0.95rem 1.1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .12s ease, box-shadow .12s ease; }
.gr-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); text-decoration: none; }
.gr-card.gr-unread { border-color: #f4b400; }
.gr-card-main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.gr-card-title { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.gr-card-title strong { font-size: 1.05rem; color: var(--ink); }
.gr-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: var(--ink-3); background: #eef2f5; border-radius: 6px; padding: 0.1rem 0.45rem; }
.gr-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #f4b400; }
.gr-card-sub { font-size: 0.86rem; color: var(--ink-3); }
.gr-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; text-align: right; flex: 0 0 auto; }
.gr-card-side small { color: var(--ink-4); font-size: 0.76rem; }
.gr-price { font-size: 1.05rem; color: var(--ink); } .gr-price small { font-weight: 500; color: var(--ink-3); }
.gr-status { display: inline-block; padding: 0.16rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.gr-status-1 { background: #e6f1f2; color: #16606b; } .gr-status-2 { background: #fff4d6; color: #8a5a13; } .gr-status-3 { background: #e8f7ee; color: #14733d; }
.gr-status-4 { background: #dff5e7; color: #0f5a30; } .gr-status-5 { background: #fdecec; color: #a3261e; } .gr-status-6, .gr-status-7 { background: #eef2f5; color: #6a7f8c; }
.gr-wizard { max-width: 980px; margin: 0 auto; }
.gr-wizard-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.5rem 0 1rem; }
.gr-wizard-head h1 { margin: 0; }
.gr-steps { display: flex; gap: 0.3rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.gr-steps li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--ink-4); padding: 0.3rem 0.7rem; border-radius: 999px; }
.gr-steps li span { width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e2eaee; color: var(--ink-3); font-weight: 700; font-size: 0.74rem; }
.gr-steps li.on { color: var(--ink); background: #e6f1f2; font-weight: 600; } .gr-steps li.on span { background: var(--brand); color: #fff; }
.gr-steps li.done span { background: #1fa757; color: #fff; }
.gr-panel { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow-1); margin-bottom: 1rem; }
.gr-panel h2 { margin: 0 0 0.3rem; font-size: 1.2rem; } .gr-panel h3 { margin: 0.9rem 0 0.4rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.gr-help { color: var(--ink-3); font-size: 0.9rem; margin: 0 0 0.9rem; }
.gr-pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.7rem; }
.gr-pkg { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.2rem; }
.gr-pkg:hover { border-color: var(--brand); } .gr-pkg.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,96,107,.15); background: #f3f9fa; }
.gr-pkg strong { color: var(--ink); } .gr-pkg span { font-size: 0.84rem; color: var(--ink-3); } .gr-pkg small { font-size: 0.78rem; color: var(--ink-4); }
.gr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
.gr-grid-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gr-grid label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.gr-grid label em { font-weight: 400; color: var(--ink-4); font-style: normal; } .gr-grid label small { font-weight: 400; color: var(--ink-4); }
.gr-grid input, .gr-grid select, .gr-stay-pick input, .gr-stay-pick select, .gr-special textarea, .gr-compose textarea, .gr-add-row input { border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem; font: inherit; }
.gr-check { flex-direction: row !important; align-items: center; }
.gr-stays { display: flex; flex-direction: column; gap: 0.8rem; }
.gr-stay { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.gr-stay-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.9rem; background: #f4f8fa; }
.gr-stay-day { font-size: 0.72rem; font-weight: 700; color: #14607f; background: #e1eef5; border-radius: 999px; padding: 0.1rem 0.5rem; white-space: nowrap; }
.gr-stay-nights { margin-left: auto; font-size: 0.82rem; color: var(--ink-3); }
.gr-stay-body { padding: 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.gr-radio { display: flex; gap: 0.6rem; align-items: center; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.gr-radio.on { border-color: var(--brand); background: #f3f9fa; } .gr-radio small { color: var(--ink-3); margin-left: 0.3rem; }
.gr-stay-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.7rem; }
.gr-stay-pick label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.gr-stay-pick label em { font-weight: 400; color: var(--ink-4); font-style: normal; }
.gr-incl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gr-incl { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.35rem 0; font-size: 0.92rem; } .gr-incl.off span { text-decoration: line-through; color: var(--ink-4); }
.gr-excl { margin: 0.2rem 0; font-size: 0.9rem; color: var(--ink-3); }
.gr-added { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.3rem 0; font-size: 0.92rem; }
.gr-add-row { display: flex; gap: 0.5rem; margin-top: 0.4rem; } .gr-add-row input { flex: 1; }
.gr-special { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1rem; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.gr-special em { font-weight: 400; color: var(--ink-4); font-style: normal; }
.gr-review { display: flex; flex-direction: column; gap: 0.9rem; }
.gr-review-block p { margin: 0.2rem 0; } .gr-review-block ul { margin: 0.2rem 0 0; padding-left: 1.1rem; } .gr-review-block li { margin: 0.2rem 0; }
.gr-wizard-foot { display: flex; align-items: center; gap: 0.8rem; margin: 0.4rem 0 2rem; } .gr-foot-space { flex: 1; }
.gr-detail { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.2rem; align-items: start; }
.gr-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.8rem; }
.gr-detail-head h1 { margin: 0 0 0.2rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.gr-sent { margin-bottom: 0.8rem; }
.gr-timeline { display: flex; gap: 0; margin: 0 0 1rem; padding: 0; list-style: none; }
.gr-timeline li { flex: 1; position: relative; padding: 0.5rem 0.6rem 0.5rem 1.2rem; border-top: 3px solid #e2eaee; font-size: 0.82rem; color: var(--ink-4); }
.gr-timeline li b { display: block; color: inherit; } .gr-timeline li small { font-size: 0.72rem; }
.gr-timeline li::before { content: ""; position: absolute; left: 0; top: -0.5rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #e2eaee; }
.gr-timeline li.done { border-top-color: #1fa757; color: var(--ink); } .gr-timeline li.done::before { background: #1fa757; }
.gr-quote { background: linear-gradient(135deg, #e6f1f2, #f6fbfb); border: 1px solid #cfe3e6; border-radius: 18px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.gr-quote-figures { display: flex; flex-wrap: wrap; gap: 1.6rem; } .gr-quote-figures div { display: flex; flex-direction: column; }
.gr-quote-figures span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); } .gr-quote-figures strong { font-size: 1.5rem; color: var(--ink); }
.gr-quote-note { margin: 0.7rem 0 0; color: var(--ink-2); }
.gr-quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 0.9rem; } .gr-quote-actions .gr-help { margin: 0; }
.gr-declined { background: #fff5f4; border-color: #f1c6c0; }
.gr-thread { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--shadow-1); }
.gr-thread h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.gr-msgs { display: flex; flex-direction: column; gap: 0.6rem; max-height: 28rem; overflow: auto; }
.gr-msg { padding: 0.55rem 0.75rem; border-radius: 12px; max-width: 92%; } .gr-msg p { margin: 0.15rem 0 0; white-space: pre-wrap; } .gr-msg small { color: var(--ink-4); font-size: 0.72rem; }
.gr-msg.mine { align-self: flex-end; background: #e6f1f2; } .gr-msg.theirs { align-self: flex-start; background: #f4f8fa; }
.gr-compose { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; } .gr-compose .btn-book { align-self: flex-end; }
.gr-withdraw { margin-top: 0.8rem; }
@media (max-width: 860px) { .gr-detail { grid-template-columns: 1fr; } .gr-incl-cols { grid-template-columns: 1fr; } .gr-timeline { flex-wrap: wrap; } .gr-timeline li { flex-basis: 50%; } }
.gr-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1rem; }
.gr-mode { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.25rem; }
.gr-mode strong { color: var(--ink); font-size: 1rem; } .gr-mode span { font-size: 0.86rem; color: var(--ink-3); }
.gr-mode.on { border-color: var(--brand); background: #f3f9fa; box-shadow: 0 0 0 3px rgba(22,96,107,.15); }
.gr-upload { border: 2px dashed var(--line); border-radius: 14px; padding: 1.2rem; text-align: center; }
.gr-upload input { font: inherit; }
.gr-file { margin: 0.6rem 0 0; }
@media (max-width: 640px) { .gr-modes { grid-template-columns: 1fr; } }

/* ── Home: group request feature banner ──────────────────────────────────── */
.hm-feature { display: flex; align-items: center; gap: 1.3rem; margin: 0 0 2rem; padding: 1.3rem 1.6rem; border-radius: 20px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, #1f3d8a 0%, #2c5cc5 55%, #3a7be0 100%); box-shadow: 0 22px 44px -28px rgba(31,61,138,.9); border: 1px solid rgba(255,255,255,.14);
  transition: transform .14s ease, box-shadow .14s ease; }
.hm-feature:hover { transform: translateY(-2px); box-shadow: 0 26px 48px -26px rgba(31,61,138,.95); color: #fff; text-decoration: none; }
.hm-feature-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 2.1rem; color: #fff; }
.hm-feature-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.hm-feature-kicker { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: #ffd54a; color: #1e2a12; border-radius: 999px; padding: 0.12rem 0.55rem; }
.hm-feature-body strong { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
.hm-feature-body > span:last-child { font-size: 0.95rem; color: #dfe8ff; line-height: 1.5; }
.hm-feature-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.45rem; background: #fff; color: #1f3d8a; font-weight: 750; font-size: 1.02rem; border-radius: 999px; padding: 0.7rem 1.4rem; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
@media (max-width: 720px) { .hm-feature { flex-wrap: wrap; padding: 1.1rem 1.2rem; } .hm-feature-cta { width: 100%; justify-content: center; } }

/* ── Group request detail (partner) ─────────────────────────────────────── */
.grd-layout { display: grid; grid-template-columns: 1.75fr 1fr; gap: 1.2rem; align-items: start; }
.grd-card { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 1.2rem 1.4rem; box-shadow: var(--shadow-1); }
.grd-back { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--brand); font-weight: 600; text-decoration: none; font-size: 0.86rem; margin-bottom: 0.5rem; }
.grd-title-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.grd-title-row h1 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.grd-status { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.grd-status svg { font-size: 1.1rem; }
.grd-status-1 { background: #e6f1f2; color: #16606b; } .grd-status-2 { background: #fff4d6; color: #8a5a13; } .grd-status-3 { background: #e3f6ea; color: #1a7f45; }
.grd-status-4 { background: #dff5e7; color: #0f5a30; } .grd-status-5 { background: #fdecec; color: #a3261e; } .grd-status-6, .grd-status-7 { background: #eef2f5; color: #6a7f8c; }
.grd-sent { margin: 0.6rem 0 0; }
.grd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin: 0.7rem 0 1rem; color: var(--ink-2); font-size: 0.86rem; }
.grd-meta span { display: inline-flex; align-items: center; gap: 0.45rem; } .grd-meta svg { color: var(--ink-3); font-size: 1.1rem; } .grd-meta i { color: #c8d3da; font-style: normal; }
.grd-timeline { display: flex; margin: 0; padding: 0; list-style: none; }
.grd-timeline li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; padding-top: 2.4rem; }
.grd-timeline li b { position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; border-radius: 50%; background: #e2eaee; color: #8b98a4; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; z-index: 1; }
.grd-timeline li::after { content: ""; position: absolute; top: 1rem; left: 2rem; right: 0; height: 3px; background: #e2eaee; }
.grd-timeline li:last-child::after { display: none; }
.grd-timeline li.done b { background: #1fa757; color: #fff; } .grd-timeline li.done::after { background: #1fa757; }
.grd-timeline li strong { font-size: 0.86rem; color: var(--ink); } .grd-timeline li small { font-size: 0.76rem; color: var(--ink-4); }
.grd-quote { margin-top: 1rem; background: #fff5e8; border: 1px solid #fbd9ae; border-radius: 18px; padding: 1.1rem 1.3rem; }
.grd-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.grd-figures > div { display: flex; align-items: center; gap: 0.8rem; padding-right: 1rem; border-right: 1px solid #f3d8b6; }
.grd-figures > div:last-child { border-right: 0; }
.grd-figures > div > div { display: flex; flex-direction: column; }
.grd-fig-icon { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #ffe6c7; color: #e07b12; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.grd-figures small { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a5a13; font-weight: 700; }
.grd-figures strong { font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.grd-rates { width: 100%; margin: 0.9rem 0 0; border-collapse: collapse; font-size: 0.84rem; background: #fff; border-radius: 12px; overflow: hidden; }
.grd-rates th, .grd-rates td { padding: 0.5rem 0.7rem; text-align: right; border-bottom: 1px solid #fbe6cc; } .grd-rates th:first-child, .grd-rates td:first-child { text-align: left; }
.grd-rates th { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8a5a13; background: #fff0dc; }
.grd-rates td { font-weight: 650; font-variant-numeric: tabular-nums; }
.grd-quote-note { margin: 0.8rem 0 0; color: var(--ink-2); }
.grd-quote-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.8rem; margin-top: 1rem; }
.grd-accept { display: inline-flex; align-items: center; gap: 0.6rem; background: #ff6a13; color: #fff; font-weight: 750; font-size: 0.95rem; border: 0; border-radius: 10px; padding: 0.65rem 1.2rem; cursor: pointer; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(255,106,19,.9); }
.grd-accept:hover { filter: brightness(1.05); color: #fff; text-decoration: none; } .grd-accept:disabled { opacity: 0.6; }
.grd-info { flex: 1; display: inline-flex; align-items: center; gap: 0.5rem; background: #fff0dc; color: #7a4b00; border-radius: 10px; padding: 0.5rem 0.8rem; font-size: 0.84rem; } .grd-info svg { color: #e07b12; flex: 0 0 auto; }
.grd-declined { background: #fff5f4; border-color: #f1c6c0; }
.grd-section { margin-top: 0.8rem; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-1); }
.grd-section summary { list-style: none; display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; cursor: pointer; }
.grd-section summary::-webkit-details-marker { display: none; }
.grd-section summary > div { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; } .grd-section summary strong { font-size: 0.95rem; color: var(--ink); } .grd-section summary span { font-size: 0.8rem; color: var(--ink-3); }
.grd-sec-icon { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: #f1f4f6; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.grd-chev { color: var(--ink-3); font-size: 1.2rem; transition: transform .15s ease; } .grd-section[open] .grd-chev { transform: rotate(180deg); }
.grd-sec-body { padding: 0 1.2rem 1rem 4.5rem; font-size: 0.86rem; } .grd-sec-body p { margin: 0.3rem 0; }
.grd-file { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.grd-pdf { display: inline-block; background: #e53935; color: #fff; font-size: 0.6rem; font-weight: 800; padding: 0.15rem 0.35rem; border-radius: 4px; letter-spacing: 0.05em; }
.grd-list { margin: 0; padding-left: 1rem; } .grd-list li { margin: 0.25rem 0; }
.grd-thread h2 { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.8rem; font-size: 1rem; } .grd-thread .grd-sec-icon { background: #fff0dc; color: #e07b12; }
.grd-msgs { display: flex; flex-direction: column; gap: 0.7rem; max-height: 30rem; overflow: auto; }
.grd-msg { display: flex; gap: 0.5rem; align-items: flex-start; max-width: 92%; } .grd-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.grd-avatar { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; background: #fff0dc; color: #e07b12; }
.grd-msg.mine .grd-avatar { background: #dff5e7; color: #1a7f45; }
.grd-bubble { background: #f4f8fa; border-radius: 12px; padding: 0.5rem 0.75rem; font-size: 0.88rem; } .grd-msg.mine .grd-bubble { background: #e6f5ee; }
.grd-bubble small { color: var(--ink-4); font-size: 0.72rem; } .grd-bubble p { margin: 0.15rem 0 0; white-space: pre-wrap; }
.grd-compose { margin-top: 0.9rem; border: 1px solid var(--line); border-radius: 12px; padding: 0.6rem; }
.grd-compose textarea { width: 100%; border: 0; resize: vertical; font: inherit; padding: 0.3rem; outline: none; }
.grd-compose-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: 0.3rem; }
.grd-compose-hint { font-size: 0.78rem; color: var(--ink-4); }
.grd-send { display: inline-flex; align-items: center; gap: 0.5rem; background: #ff6a13; color: #fff; border: 0; border-radius: 10px; padding: 0.5rem 1.05rem; font-weight: 750; font-size: 0.9rem; cursor: pointer; } .grd-send:disabled { opacity: 0.5; cursor: default; }
.grd-withdraw { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; font-size: 0.86rem; }
@media (max-width: 900px) { .grd-layout { grid-template-columns: 1fr; } .grd-timeline { flex-wrap: wrap; } .grd-timeline li { flex-basis: 50%; margin-bottom: 0.6rem; } .grd-sec-body { padding-left: 1.2rem; } }
.grd-compose textarea { font-size: 0.9rem; }
.grd-card { padding: 1.05rem 1.2rem; }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.25rem; margin-left: 0.4rem; padding: 0 0.35rem; border-radius: 999px; background: #ff6a13; color: #fff; font-size: 0.68rem; font-weight: 800; line-height: 1; vertical-align: middle; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }

/* ── Notifications bell ──────────────────────────────────────────────────── */
.ntf { position: relative; display: inline-flex; margin-right: 0.4rem; }
.ntf-bell { position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #dfe8ec; border-radius: 50%; width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ntf-bell:hover { background: rgba(255,255,255,.16); color: #fff; }
.ntf-count { position: absolute; top: -0.35rem; right: -0.35rem; min-width: 1.1rem; height: 1.1rem; padding: 0 0.3rem; border-radius: 999px; background: #ff6a13; color: #fff; font-size: 0.64rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--shell, #0d2530); }
.ntf-backdrop { position: fixed; inset: 0; z-index: 60; }
.ntf-panel { position: absolute; right: 0; top: 2.8rem; width: min(24rem, 92vw); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); z-index: 61; overflow: hidden; }
.ntf-head { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line-2); }
.ntf-head strong { font-size: 0.95rem; }
.ntf-list { max-height: 24rem; overflow: auto; display: flex; flex-direction: column; }
.ntf-empty { margin: 0; padding: 1rem 0.9rem; font-size: 0.86rem; color: var(--ink-3); }
.ntf-item { display: flex; gap: 0.7rem; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line-2); padding: 0.7rem 0.9rem; cursor: pointer; font: inherit; color: inherit; }
.ntf-item:hover { background: #f4f8fa; } .ntf-item.unread { background: #fff8f2; }
.ntf-icon { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; background: #eef2f5; color: var(--ink-2); }
.ntf-icon-group-request { background: #fff0dc; color: #e07b12; } .ntf-icon-message { background: #e6f1f2; color: #16606b; } .ntf-icon-booking { background: #e8f7ee; color: #14733d; }
.ntf-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.ntf-body strong { font-size: 0.88rem; } .ntf-body > span { font-size: 0.8rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .ntf-body small { font-size: 0.72rem; color: var(--ink-4); }
.ntf-dot { flex: 0 0 auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ff6a13; margin-top: 0.5rem; }

/* ── Package card redesign ───────────────────────────────────────────────── */
.cx-kind { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.cx-kind-1 { background: #e6f1f2; color: #16606b; } .cx-kind-2 { background: #fbe9e0; color: #a2512a; } .cx-kind-3 { background: #e4f5dc; color: #2e7d32; }
.cx-title { margin: 0 0 0.35rem; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.cx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--ink-2); }
.cx-meta span { display: inline-flex; align-items: center; gap: 0.4rem; } .cx-meta svg { color: #ff6a13; font-size: 1.1rem; } .cx-meta i { color: #c8d3da; font-style: normal; }
.cx-summary { margin: 0 0 0.9rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.cx-panel { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; align-items: end; background: #f2f6f8; border: 1px solid #e3eaee; border-radius: 14px; padding: 0.9rem 1rem; margin: 0.4rem 0 1rem; }
.cx-field { display: flex; flex-direction: column; gap: 0.35rem; padding: 0 1rem 0 0; margin-right: 1rem; border-right: 1px solid #dfe7ec; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.cx-field + .cx-field { padding-left: 0; }
.cx-field input, .cx-field select { border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.8rem; font: inherit; font-weight: 500; background: #fff; }
.cx-check { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; background: linear-gradient(90deg, #ff5a1f, #ff7a1a); color: #fff; border: 0; border-radius: 12px; padding: 0.85rem 2.2rem; font-weight: 800; font-size: 1.15rem; cursor: pointer; min-width: 16rem; box-shadow: 0 12px 24px -14px rgba(255,90,31,.9); }
.cx-check:hover:not(:disabled) { filter: brightness(1.05); } .cx-check:disabled { opacity: 0.45; cursor: default; }
.cx-stops { display: flex; flex-wrap: wrap; gap: 0.6rem 0; margin: 0.3rem 0 1rem; padding: 0.4rem 0.8rem; list-style: none; }
.cx-stops li { display: flex; align-items: center; gap: 0.7rem; flex: 1 1 0; min-width: 12rem; }
.cx-stops li:last-child { flex: 0 1 auto; }
.cx-num { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; }
.cx-num-0 { background: #ffe8d6; color: #e8590c; } .cx-num-1 { background: #e6f5df; color: #2f9e44; } .cx-num-2 { background: #e2edff; color: #1c64f2; } .cx-num-3 { background: #f3e6fb; color: #9c36b5; } .cx-num-4 { background: #ffe3e6; color: #e03131; }
.cx-stop-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.cx-stop-body strong { font-size: 0.98rem; color: var(--ink); } .cx-stop-body span { font-size: 0.84rem; color: var(--ink-3); line-height: 1.3; }
.cx-dash { flex: 1; height: 0; border-top: 2px dashed #d5dde3; margin: 0 0.3rem; min-width: 1.2rem; }
.cx-chev { color: #8b98a4; font-size: 1.1rem; margin-right: 0.6rem; }
.cx-itin { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 0; padding: 0.3rem 0; color: #ff6a13; font-weight: 700; font-size: 1.02rem; cursor: pointer; }
.cx-itin svg:first-child { font-size: 1.35rem; } .cx-itin:hover { text-decoration: underline; }
@media (max-width: 720px) { .cx-panel { grid-template-columns: 1fr; gap: 0.7rem; } .cx-field { border-right: 0; margin-right: 0; padding-right: 0; } .cx-check { width: 100%; min-width: 0; } .cx-stops li { min-width: 100%; } .cx-dash, .cx-chev { display: none; } .cx-title { font-size: 1.4rem; } }
