:root {
  --green: #0F4C45;
  --green-dark: #0A3530;
  --green-ink: #0F2F2B;
  --green-mid: #0F6B5F;
  --green-soft: #E3F1EC;
  --green-line: #9CC5BB;
  --wa: #1A7A43;
  --ground: #F6F8F7;
  --ground-2: #EEF3EF;
  --white: #FFFFFF;
  --ink: #17211F;
  --muted: #4A5A56;
  --line: #E3E8E5;
  --line-2: #C9D3CF;
  --bad: #A32D2D;
  --font: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-mid); }
.kicker.light { color: #BFE0D8; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .field { flex: 1 1 160px; }

/* Buttons */
.btn { min-height: 48px; padding: 0 20px; border-radius: 24px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; background: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--green-dark); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); min-height: 52px; border-radius: 26px; }
.btn-wa:hover { background: #156537; color: var(--white); }
.btn-link { color: var(--green); font-weight: 600; font-size: 14px; text-decoration: underline; min-height: 44px; }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 13px; border-color: var(--green); color: var(--green); background: var(--white); }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
:focus-visible { outline: 3px solid #5FB3A2; outline-offset: 2px; }

/* Form fields */
.field { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); padding: 10px 14px; background: var(--white); width: 100%; font-size: 16px; }
textarea.field { resize: vertical; min-height: 88px; }
.field.small { width: 110px; flex: 0 0 110px; }
.label { font-weight: 700; font-size: 14px; margin-top: 4px; }

/* Operator bar */
.op-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 20px; background: var(--green); color: var(--white); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.op-name { font-weight: 700; }
.op-sub { font-size: 12.5px; color: var(--muted); }

/* Home */
.home { background: var(--ground-2); }
.home-main { max-width: 720px; margin: 0 auto; padding: 72px 20px; display: flex; flex-direction: column; gap: 18px; }
.home-main h1 { font-family: var(--display); font-size: clamp(32px, 7vw, 52px); line-height: 1.06; color: var(--green-ink); }
.home-lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.home-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Chat */
.chat-shell { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--ground); display: flex; flex-direction: column; }
.chat-shell .op-bar { position: sticky; top: 0; z-index: 2; }
.chat { flex: 1; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; white-space: pre-wrap; }
.bubble.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--green); color: var(--white); border-bottom-right-radius: 6px; }
.bubble.typing { color: #6B4A12; background: #FFF6E6; border-color: #F0D9AE; font-weight: 600; }
.composer { position: sticky; bottom: 0; padding: 12px 16px 18px; background: var(--white); border-top: 1px solid var(--line); }
.composer:empty { display: none; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper-label { flex: 1; font-weight: 600; }
.stepper-value { min-width: 28px; text-align: center; font-weight: 700; font-size: 18px; }
.round { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }

/* Quote */
.quote { max-width: 560px; margin: 0 auto; background: var(--ground); min-height: 100vh; }
.hero { background: var(--green); color: var(--white); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.hero h1 { font-family: var(--display); font-size: 30px; line-height: 1.12; }
.hero-meta { color: #DCEDE8; font-size: 14.5px; }
.price-card { margin-top: 8px; padding: 16px; border-radius: 16px; background: var(--white); color: var(--ink); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.price-big { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--green-ink); }
.price-mid { font-weight: 700; font-size: 16px; color: var(--green-ink); }
.price-total { text-align: right; }
.section { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.section.white { background: var(--white); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 18px; }
.route { list-style: none; margin: 0; padding: 0; }
.route li { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding-left: 28px; }
.route li::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--green-line); }
.route li:first-child::before { top: 50%; }
.route li:last-child::before { bottom: 50%; }
.route .dot { position: absolute; left: 1px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 6px; background: var(--green); }
.route li.end .dot { background: var(--white); border: 2px solid var(--green); }
.days { display: flex; flex-direction: column; gap: 10px; }
.day-card { padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; break-inside: avoid; }
.day-head { display: flex; align-items: center; gap: 10px; }
.day-head h3 { font-size: 15.5px; }
.day-badge { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; }
.day-card p { font-size: 14.5px; }
.card { padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; }
.line-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.list-card { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.list-card hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.list-title { font-size: 13px; font-weight: 700; color: var(--muted); }
.list-title.ok { color: var(--green-mid); }
.li { display: flex; gap: 10px; align-items: flex-start; }
.li svg { flex: 0 0 16px; margin-top: 3px; }
.li.ok svg { color: var(--green-mid); }
.li.no svg { color: #7A8985; }
.actions { padding-top: 8px; }
.quote-foot { padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; font-size: 12.5px; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }
.quote-foot .brand { font-weight: 700; color: var(--green); }

/* Dashboard */
.dash { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.dash-head { padding: 20px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.dash-title h1 { font-family: var(--display); font-size: 28px; color: var(--green-ink); }
.brand-mark { font-size: 13px; font-weight: 700; color: var(--green-mid); }
.link-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); flex-wrap: wrap; }
.link-url { flex: 1 1 200px; font-weight: 600; word-break: break-all; }
.demo-note { padding: 10px 12px; border-radius: 12px; background: #FFF6E6; border: 1px solid #F0D9AE; color: #6B4A12; font-size: 13.5px; }
.tabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ground); z-index: 2; overflow-x: auto; }
.tab { min-height: 48px; padding: 0 14px; border: 0; background: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
.tab[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.dash-main { padding: 16px; }
.dash-main h2 { font-size: 17px; }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.count { padding: 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.count-n { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--green-ink); }
.lead { display: flex; flex-direction: column; gap: 6px; }
.lead-top, .lead-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status { width: auto; min-height: 40px; padding: 6px 10px; }
.empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rate-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px; gap: 8px; align-items: center; }
.rate-head { align-items: end; }
.rate-head span { text-align: center; font-weight: 700; }
.field.rate { text-align: center; padding: 8px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.mode { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; }
.mode:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.mode input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0; background: var(--ground); }
.sticky-save .btn { width: 100%; }
.login { max-width: 420px; margin: 0 auto; padding: 56px 20px; display: flex; flex-direction: column; gap: 12px; }
.login h1 { font-family: var(--display); font-size: 30px; color: var(--green-ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--green-ink); color: var(--white); padding: 10px 18px; border-radius: 22px; font-weight: 600; z-index: 10; max-width: calc(100% - 32px); }
.toast.bad { background: var(--bad); }

@media print {
  body, .quote { background: #fff; }
  .no-print { display: none !important; }
  .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .quote { max-width: none; }
}

/* Photos */
.btn-light { background: var(--white); color: var(--green-ink); }
.btn-light:hover { background: var(--green-soft); color: var(--green-ink); }
.btn-ghost { border-color: rgba(255,255,255,0.85); color: var(--white); background: rgba(0,0,0,0.15); }
.btn-ghost:hover { background: rgba(0,0,0,0.3); color: var(--white); }

.home-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; background-color: var(--green-ink); background-size: cover; background-position: center 35%; color: var(--white); }
.home-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,32,0.15) 0%, rgba(10,35,32,0.55) 45%, rgba(10,35,32,0.9) 100%); }
.home-hero-inner { position: relative; max-width: 760px; margin: 0 auto; width: 100%; padding: 96px 20px 64px; display: flex; flex-direction: column; gap: 18px; }
.home-hero h1 { font-family: var(--display); font-size: clamp(34px, 7vw, 58px); line-height: 1.05; color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.home-hero .home-lead { color: #E6F0EC; }
.photo-credit { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; color: rgba(255,255,255,0.8); text-decoration: none; }
.photo-credit:hover { color: var(--white); text-decoration: underline; }
.home-main { padding-top: 48px; }
.home-section { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.home-section h2 { font-family: var(--display); font-size: 28px; line-height: 1.15; color: var(--green-ink); }
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.place-tile { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background-color: var(--green-soft); background-size: cover; background-position: center; }
.place-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,35,32,0.75)); }
.place-tile figcaption { position: absolute; left: 12px; bottom: 10px; z-index: 1; color: var(--white); font-weight: 700; font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.steps > div { padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.steps h3 { font-size: 16px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.step-n { width: 32px; height: 32px; border-radius: 16px; background: var(--green); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.home-foot { text-align: center; padding: 8px 20px 32px; font-size: 13px; }
.credits-title { font-family: var(--display); font-size: 34px; color: var(--green-ink); }
.credits { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.credits li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

.chat-cover { position: relative; height: 150px; background-color: var(--green); background-size: cover; background-position: center 40%; display: flex; align-items: flex-end; }
.chat-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,32,0.05), rgba(10,35,32,0.8)); }
.chat-cover-text { position: relative; padding: 14px 16px; color: var(--white); }
.chat-cover-title { font-family: var(--display); font-size: 22px; font-weight: 700; }
.chat-cover-sub { font-size: 13.5px; color: #E6F0EC; }

.place-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.place-pick { position: relative; height: 84px; border-radius: 12px; border: 0; padding: 0; overflow: hidden; cursor: pointer; background-color: var(--green-mid); background-size: cover; background-position: center; text-align: left; }
.place-pick::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,32,0.05), rgba(10,35,32,0.78)); }
.place-name { position: absolute; left: 8px; right: 8px; bottom: 6px; color: var(--white); font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.place-pick[aria-pressed="true"] { outline: 3px solid var(--green); outline-offset: 2px; }
.place-pick[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 12px; background: var(--green); color: var(--white); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

.hero { background-color: var(--green); background-image: linear-gradient(180deg, rgba(15,76,69,0.55) 0%, rgba(10,35,32,0.92) 70%), var(--hero-img, none); background-size: cover; background-position: center 35%; padding-top: 72px; }
.photo-strip { display: flex; gap: 8px; padding: 12px 20px; overflow-x: auto; background: var(--white); scroll-snap-type: x mandatory; }
.strip-tile { position: relative; flex: 0 0 132px; height: 96px; margin: 0; border-radius: 12px; overflow: hidden; background-color: var(--green-soft); background-size: cover; background-position: center; scroll-snap-align: start; }
.strip-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,35,32,0.8)); }
.strip-tile figcaption { position: absolute; left: 8px; bottom: 6px; z-index: 1; color: var(--white); font-weight: 700; font-size: 13.5px; display: flex; flex-direction: column; }
.strip-tile figcaption span { font-weight: 500; font-size: 11.5px; color: #E6F0EC; }
.quote-foot a { color: var(--muted); }
@media print { .photo-strip { display: none; } }
.photo-strip { scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.qr-card { width: 100%; max-width: 300px; border-radius: 14px; align-self: center; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.share-qr .row { justify-content: center; }
.extra-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); }
.extra-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.extra-line .btn-small { justify-self: end; }

/* ---------- Photo backdrop: a slow slideshow of iconic places ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; background: var(--green-ink); overflow: hidden; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,32,0.25), rgba(10,35,32,0.55)); }
.bd-slide { position: absolute; inset: -2%; background-size: cover; background-position: center; opacity: 0; animation: bd-fade calc(var(--n) * 8s) infinite; }
.bd-slide:first-child { opacity: 1; }
.backdrop[style*="--n:1"] .bd-slide { animation: none; opacity: 1; }
@keyframes bd-fade {
  0% { opacity: 0; transform: scale(1); }
  4% { opacity: 1; }
  16% { opacity: 1; }
  22% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-slide { animation: none; opacity: 0; }
  .bd-slide:first-child { opacity: 1; }
}
body.chat-body, body.quote-body, body.dash-body { background: var(--green-ink); }

/* Chat over the photos */
.chat-body .chat-shell { background: transparent; box-shadow: 0 0 40px rgba(0,0,0,0.25); }
.chat-body .chat { background: linear-gradient(180deg, rgba(246,248,247,0.10), rgba(246,248,247,0.22)); }
.chat-body .bubble.bot { box-shadow: 0 2px 10px rgba(0,0,0,0.12); border-color: transparent; }
.chat-body .bubble.me { box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.chat-body .composer { box-shadow: 0 -6px 20px rgba(0,0,0,0.12); }

/* Quote over the photos */
.quote-body .quote { box-shadow: 0 0 40px rgba(0,0,0,0.3); }
.day-card.has-photo { padding-top: 0; overflow: hidden; }
.day-photo { position: relative; height: 130px; margin: 0 -16px 6px; background-color: var(--green-soft); background-size: cover; background-position: center; }
.day-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,35,32,0.7)); }
.day-photo span { position: absolute; left: 14px; bottom: 10px; z-index: 1; color: var(--white); font-weight: 700; font-size: 15px; }
.photo-band { position: relative; margin: 0; height: 200px; background-color: var(--green); background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.photo-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,32,0.05), rgba(10,35,32,0.75)); }
.photo-band figcaption { position: relative; padding: 18px 20px; color: var(--white); display: flex; flex-direction: column; font-size: 14px; color: #E6F0EC; }
.band-big { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--white); }

/* Dashboard: photos only behind the login and setup screens */
.dash-body .backdrop { display: none; }
.dash-body:has(.login) .backdrop { display: block; }
.dash-body:not(:has(.login)) { background: var(--ground); }
.dash-body .login { background: rgba(255,255,255,0.97); border-radius: 20px; margin: 40px auto; padding: 32px 22px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); width: calc(100% - 32px); }
.dash-body .dash { background: var(--ground); min-height: 100vh; }
.dash-body:has(.login) .dash { background: transparent; }

/* Admin */
.qr-box { width: 220px; max-width: 100%; margin: 4px auto; background: var(--white); padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.qr-box svg { display: block; width: 100%; height: auto; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 12px; background: var(--ground-2); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--green-soft); color: var(--green); }

@media print {
  .backdrop, .photo-band, .day-photo { display: none !important; }
  body.quote-body { background: #fff; }
  .day-card.has-photo { padding-top: 14px; }
  .quote-body .quote { box-shadow: none; }
}
.admin .dash-main { display: flex; flex-direction: column; gap: 14px; }

/* Follow-ups */
.card.follow { border: 1.5px solid #F0D9AE; background: #FFFBF2; }
.follow-title { display: flex; flex-direction: column; gap: 2px; }
.follow-row { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid #F0E3C8; }
.follow-row:first-of-type { border-top: 0; }
.follow-row.done { opacity: 0.5; }
.follow-info { display: flex; flex-direction: column; gap: 4px; }
.follow-msg { font-size: 13.5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; color: var(--muted); }
.btn-sm-wa { min-height: 40px; font-size: 14px; padding: 0 16px; }

/* Plan & payment */
.bill-banner { margin: 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--green-soft); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-weight: 600; font-size: 14px; }
.bill-banner.warn { background: #FFF3DC; color: #6B4A12; }
.bill-banner.bad { background: #FBE4E4; color: var(--bad); }
.bill-status.active { border-color: var(--green-line); }
.bill-status.expired, .bill-status.grace { border-color: #E8B4B4; }
.policy h2 { font-size: 20px; margin-top: 8px; color: var(--green-ink); }
.policy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.policy p { color: var(--ink); }
.home-foot a { margin: 0 2px; }
.tabs { overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tab { white-space: nowrap; flex: 0 0 auto; }

/* =====================================================================
   Design v2: bright, colourful, 3D icons (matches the approved mockup)
   ===================================================================== */
:root {
  --green: #16A34A;
  --green-dark: #12873D;
  --green-mid: #15803D;
  --green-soft: #E7F8EC;
  --green-line: #A7E3BA;
  --green-ink: #10233F;
  --wa: #16A34A;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EAF2FF;
  --ink: #12233D;
  --muted: #5B6B82;
  --line: #E6ECF3;
  --line-2: #D3DCE7;
  --ground: #F4F8FC;
  --ground-2: #EEF4FB;
  --shadow: 0 8px 24px rgba(17, 38, 74, 0.10);
  --shadow-sm: 0 3px 10px rgba(17, 38, 74, 0.08);
  --script: 'Kaushan Script', cursive;
}
.i3d { display: inline-block; vertical-align: -0.3em; object-fit: contain; flex: 0 0 auto; }

/* Buttons: glossy gradient pills */
.btn-primary { background: linear-gradient(180deg, #22C55E, #15A047); box-shadow: 0 8px 18px rgba(22, 163, 74, 0.32); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(180deg, #1FB757, #128A3D); }
.btn-wa { background: linear-gradient(180deg, #22C55E, #15A047); box-shadow: 0 10px 22px rgba(22, 163, 74, 0.35); min-height: 56px; border-radius: 28px; font-size: 16px; }
.btn-wa:hover { background: linear-gradient(180deg, #1FB757, #128A3D); }
.btn-outline { border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-small { border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.chip { border-color: var(--line); box-shadow: var(--shadow-sm); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.field { border-color: var(--line-2); border-radius: 14px; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
:focus-visible { outline-color: #60A5FA; }

/* Page grounds: light and airy; the photo slideshow only on wide screens */
body.chat-body, body.quote-body { background: linear-gradient(180deg, #DDEEFF 0%, #F6FAFF 40%, #FFF7EA 100%); }
body.chat-body .backdrop, body.quote-body .backdrop { display: none; }
@media (min-width: 700px) {
  body.chat-body .backdrop, body.quote-body .backdrop { display: block; }
  .chat-body .chat-shell, .quote-body .quote { margin-top: 24px; margin-bottom: 24px; border-radius: 34px; overflow: hidden; min-height: calc(100vh - 48px); }
}

/* ---------- Chat ---------- */
.chat-body .chat-shell { background: linear-gradient(180deg, #F7FBFF, #FFF9F0); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.chat-shell .op-bar { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 0; box-shadow: var(--shadow-sm); padding: 12px 18px; }
.avatar { background: linear-gradient(135deg, #22C55E, #0EA5E9); box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3); width: 46px; height: 46px; flex-basis: 46px; border-radius: 50%; border: 3px solid #fff; font-size: 16px; }
.op-name { font-size: 17px; color: var(--ink); }
.chat-hero { position: relative; height: 230px; background-color: #F59E0B; background-size: cover; background-position: center 38%; border-radius: 0 0 34px 34px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 22px; overflow: hidden; }
.chat-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10, 20, 40, 0.65)); }
.chat-hero-title { position: relative; display: flex; flex-direction: column; color: #fff; font-family: var(--script); line-height: 1.05; text-shadow: 0 3px 12px rgba(0,0,0,0.45); transform: rotate(-4deg); transform-origin: left bottom; }
.chat-hero-title span { font-size: 30px; }
.chat-hero-title .big { font-size: 40px; }
.chat-hero-title em { font-style: normal; color: #FDE047; }
.chat-hero-sub { position: relative; margin-top: 10px; color: #fff; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 6px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.chat-body .chat { background: none; padding: 20px 16px 10px; gap: 12px; }
.bot-row { display: flex; gap: 8px; align-items: flex-end; align-self: flex-start; max-width: 90%; }
.bot-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: linear-gradient(135deg, #22C55E, #0EA5E9); color: #fff; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.bot-row .bubble { max-width: none; }
.chat-body .bubble.bot { background: #fff; border: 0; border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow); color: var(--ink); font-size: 15.5px; }
.bubble-time { font-size: 11px; color: #8A97AB; margin-top: 4px; }
.chat-body .bubble.me { background: linear-gradient(135deg, #2563EB, #3B82F6); border-radius: 20px 20px 6px 20px; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3); }
.chat-body .bubble.typing { background: #FFF7E6; color: #8A5A00; }
.chat-body .composer { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px rgba(17, 38, 74, 0.10); padding: 16px 16px 20px; }
.composer .btn-primary { min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 27px; }
.composer .row > .btn-primary:only-child, .composer .row .btn-primary:last-child { flex: 1 1 140px; }
.place-picker { gap: 10px; max-height: 50vh; }
.place-pick { height: 112px; border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .12s ease; }
.place-pick:active { transform: scale(0.97); }
.place-pick .place-name { font-size: 16px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.place-pick[aria-pressed="true"] { outline: 3px solid #22C55E; outline-offset: 0; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35); }
.place-pick[aria-pressed="true"]::after { background: #22C55E; border: 2px solid #fff; width: 28px; height: 28px; border-radius: 50%; top: 8px; right: 8px; }
.stepper { background: #fff; border-radius: 16px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
.round { border-color: var(--line); box-shadow: var(--shadow-sm); }

/* ---------- Quote ---------- */
.quote-body .quote { background: linear-gradient(180deg, #F7FBFF, #FFF9F0); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.quote .op-bar { border-bottom: 0; }
.hero { position: relative; min-height: 330px; justify-content: flex-end; padding: 18px 22px 64px; background-image: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.0) 35%, rgba(8, 18, 36, 0.75) 100%), var(--hero-img, none); background-color: #2E6B4E; }
.hero-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.hero-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 13.5px; }
.hero h1 { font-size: 32px; text-shadow: 0 3px 14px rgba(0,0,0,0.45); }
.hero .kicker.light { color: #FDE68A; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #fff; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.price-wrap { position: relative; z-index: 1; margin: -46px 16px 0; }
.price-card { margin: 0; padding: 18px 20px; border-radius: 24px; box-shadow: 0 14px 34px rgba(17, 38, 74, 0.16); align-items: center; }
.price-big { font-size: 40px; color: var(--green); font-family: var(--display); }
.price-sub { color: var(--muted); font-size: 14px; font-weight: 600; }
.price-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 20px; background: #FEF9C3; color: #854D0E; font-weight: 800; font-size: 13px; white-space: nowrap; }
.photo-strip { background: none; padding: 18px 16px 6px; gap: 12px; }
.strip-tile { flex: 0 0 128px; height: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.strip-tile::after { display: none; }
.strip-img { height: 92px; background-size: cover; background-position: center; background-color: var(--green-soft); }
.strip-tile figcaption { position: static; color: var(--ink); padding: 8px 10px 10px; font-size: 14.5px; }
.strip-tile figcaption span { color: var(--muted); font-size: 12.5px; }
.section h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; color: var(--ink); }
.section.white { background: none; border-bottom: 0; }
.route { background: #fff; border-radius: 20px; padding: 10px 18px; box-shadow: var(--shadow-sm); }
.route .dot { background: var(--blue); }
.route li.end .dot { border-color: var(--blue); }
.route li::before { background: #BFD3F5; }
.days { gap: 12px; }
.day-card { flex-direction: row; gap: 12px; padding: 10px; border: 0; border-radius: 20px; box-shadow: var(--shadow-sm); align-items: flex-start; }
.day-thumb { flex: 0 0 92px; height: 92px; border-radius: 14px; background-size: cover; background-position: center; background-color: var(--green-soft); }
.day-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 2px 4px 4px 0; }
.day-head { gap: 8px; }
.day-badge { background: var(--green); color: #fff; border-radius: 10px; padding: 3px 9px; }
.day-card h3 { font-size: 16px; color: var(--ink); }
.day-travel { font-size: 12.5px; color: var(--blue-dark); font-weight: 600; }
.day-card p { font-size: 14px; color: var(--muted); }
.card { border: 0; border-radius: 20px; box-shadow: var(--shadow-sm); }
.list-title.ok { color: var(--green); }
.li.ok svg { color: var(--green); }
.photo-band { margin: 6px 16px; border-radius: 24px; overflow: hidden; }
.quote-foot { background: none; border-top: 0; }
.quote-foot .brand { color: var(--blue); }

/* ---------- Dashboard ---------- */
.dash-body:not(:has(.login)) { background: var(--ground); }
.dash-body .dash { background: var(--ground); }
.dash-head { background: linear-gradient(135deg, #1E40AF 0%, #2563EB 55%, #38BDF8 100%); color: #fff; padding: 22px 16px 18px; border-radius: 0 0 30px 30px; gap: 16px; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25); }
.dash-title { display: flex; align-items: center; gap: 12px; }
.dash-avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: linear-gradient(135deg, #FDE047, #F97316); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; border: 3px solid rgba(255,255,255,0.9); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
.dash-name { flex: 1; min-width: 0; }
.dash-title h1 { color: #fff; font-size: 24px; line-height: 1.15; }
.dash-sub { color: #DBEAFE; font-size: 13.5px; font-weight: 600; }
.bell { position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.18); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bell-n { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #EF4444; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.link-box { background: #fff; border-radius: 30px; padding: 6px 6px 6px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); border: 0; }
.link-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.btn-copy { min-height: 42px; padding: 0 20px; border-radius: 22px; background: var(--blue); color: #fff; font-size: 15px; }
.btn-copy:hover { background: var(--blue-dark); color: #fff; }
.dash-head .demo-note { color: #1E3A8A; }
.tabs { position: static; background: none; border-bottom: 0; padding: 16px 12px 4px; gap: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); overflow: visible; }
.tab { min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border-bottom: 0; color: var(--ink); font-size: 12.5px; padding: 6px 2px; white-space: nowrap; }
.tab[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); box-shadow: inset 0 -3px 0 var(--blue), var(--shadow-sm); }
.bill-banner { margin: 12px 16px 0; }
.dash-main { padding: 14px 16px; }
.card.follow { background: linear-gradient(135deg, #ECFDF3, #F0FDF4 60%, #FEFCE8); border: 1.5px solid #BBF7D0; border-radius: 24px; }
.follow-title h2 { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.follow-row { border-top-color: #D1FADF; }
.follow-top { display: flex; gap: 12px; align-items: center; }
.follow-name { font-weight: 800; font-size: 18px; color: var(--ink); }
.meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.follow-msg-box summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; font-size: 13.5px; }
.follow-msg-box .follow-msg { margin-top: 8px; }
.btn-follow { flex: 1 1 100%; min-height: 50px; }
.person { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #FEF3C7, #DBEAFE); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 2px solid #fff; }
.lead .person { width: 50px; height: 50px; }
.counts { gap: 10px; }
.count { background: #fff; border: 0; border-radius: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; }
.count-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.count-n { font-family: var(--display); font-size: 26px; font-weight: 800; }
.c-new .count-n { color: var(--blue); }
.c-contacted .count-n { color: #7C3AED; }
.c-booked .count-n { color: var(--green); }
.c-lost .count-n { color: #EF4444; }
.leads-title { font-size: 19px; margin-top: 6px; }
.card.lead { border-radius: 20px; }
.lead-top { display: flex; align-items: center; gap: 12px; }
.lead-who { flex: 1; min-width: 0; }
.field.status { width: auto; min-height: 36px; padding: 4px 30px 4px 12px; border-radius: 18px; font-size: 13px; font-weight: 800; border: 0; }
.st-new { background-color: #DBEAFE; color: #1D4ED8; }
.st-contacted { background-color: #EDE9FE; color: #6D28D9; }
.st-booked { background-color: #DCFCE7; color: #15803D; }
.st-lost { background-color: #FEE2E2; color: #B91C1C; }
.mode:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.mode input { accent-color: var(--blue); }
.dash-body .login { border-radius: 28px; }
.link-box { flex-wrap: nowrap; }
.place-pick .place-name { font-size: 14.5px; overflow-wrap: anywhere; line-height: 1.15; }
.lead-bottom { align-items: flex-end; }
.lead-bottom .strong { font-size: 18px; color: var(--green); font-family: var(--display); }
.lead-bottom .row { justify-content: flex-end; }
.lead-bottom a { text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 7px 12px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-dark); }
.lead-bottom a[href^="https://wa.me"] { background: #DCFCE7; color: #15803D; }
@media print { .day-thumb, .hero-top, .price-badge { display: none !important; } .hero { min-height: 0; padding-bottom: 20px; } .price-wrap { margin-top: 12px; } }

/* =====================================================================
   Design v3: iconic photos behind every page, on phones too
   ===================================================================== */
body.chat-body .backdrop, body.quote-body .backdrop, body.dash-body .backdrop { display: block; }
body.chat-body, body.quote-body, body.dash-body, .dash-body:not(:has(.login)) { background: #0F2A3A; }
.backdrop::after { background: linear-gradient(180deg, rgba(8, 20, 40, 0.10) 0%, rgba(8, 20, 40, 0.30) 100%); }

/* Chat: photos show through between the bubbles */
.chat-body .chat-shell { background: transparent; box-shadow: none; }
.chat-body .chat { background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.28)); }
.chat-shell .op-bar { background: rgba(255,255,255,0.88); }
.chat-hero { margin: 10px 12px 0; border-radius: 30px; height: 220px; box-shadow: 0 12px 30px rgba(0,0,0,0.30); border: 3px solid rgba(255,255,255,0.85); }
.chat-body .bubble.bot { box-shadow: 0 8px 22px rgba(0,0,0,0.20); }
.chat-body .bubble.typing { background: #FFF7E6; }
@media (min-width: 700px) {
  .chat-body .chat-shell { background: rgba(255,255,255,0.08); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); box-shadow: 0 20px 60px rgba(0,0,0,0.30); }
}

/* Quote: cards float over the photos; headings in white */
.quote-body .quote { background: linear-gradient(180deg, rgba(8,20,40,0) 0%, rgba(8,20,40,0.18) 40%, rgba(8,20,40,0.30) 100%); box-shadow: none; }
.quote .op-bar { background: rgba(255,255,255,0.90); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.quote .hero { margin: 10px 12px 0; border-radius: 30px; border: 3px solid rgba(255,255,255,0.85); box-shadow: 0 12px 30px rgba(0,0,0,0.30); }
.price-wrap { margin: -46px 24px 0; }
.quote .section h2 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.quote .section > .muted, .quote .section > p { color: #fff; }
.quote-foot { color: #F1F5F9; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.quote-foot a, .quote-foot .brand { color: #FDE68A; }
.quote .btn-link { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.quote .btn-outline { border-color: #fff; }
@media (min-width: 700px) {
  .quote-body .quote { background: rgba(255,255,255,0.08); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); box-shadow: 0 20px 60px rgba(0,0,0,0.30); }
}

/* Dashboard: panorama photo on top, soft photo background below */
.dash-body .dash, .dash-body:has(.login) .dash { background: transparent; }
.dash-head { background: linear-gradient(180deg, rgba(10, 25, 60, 0.15) 0%, rgba(10, 25, 60, 0.35) 55%, rgba(10, 25, 60, 0.75) 100%), url('/public/brand/panorama.jpg') center 40% / cover; box-shadow: 0 12px 34px rgba(0,0,0,0.35); }
.dash-title h1, .dash-sub { text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.dash-sub { color: #F8FAFC; }
.dash-main { background: rgba(244, 248, 252, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 26px; margin: 14px 10px 0; }
.tabs { padding: 14px 10px 4px; }
.tab { background: rgba(255,255,255,0.94); }
.tab[aria-current="page"] { background: #fff; }
.bill-banner { box-shadow: var(--shadow-sm); }
.dash-body .login { background: rgba(255,255,255,0.95); }
.btn-open { min-height: 42px; padding: 0 16px; border-radius: 22px; background: linear-gradient(180deg, #22C55E, #15A047); color: #fff; font-size: 15px; text-decoration: none; }
.btn-open:hover { color: #fff; background: linear-gradient(180deg, #1FB757, #128A3D); }
.link-box { gap: 8px; }
@media (max-width: 380px) { .link-box .i3d { display: none; } .btn-open, .btn-copy { padding: 0 13px; } }

/* =====================================================================
   TourReply Stays: hotels, villas, guesthouses
   ===================================================================== */
.gallery { display: flex; gap: 10px; padding: 14px 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 auto; width: 148px; height: 110px; border: 3px solid rgba(255,255,255,0.9); border-radius: 18px; background-size: cover; background-position: center; background-color: #CBD5E1; box-shadow: 0 6px 16px rgba(0,0,0,0.22); cursor: zoom-in; scroll-snap-align: start; padding: 0; }
.gal-item:first-child { width: 200px; }
.stay-intro { margin: 10px 12px 0; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,0.93); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.stay-intro p { font-size: 14.5px; color: var(--ink); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; color: var(--ink); }
.stay-intro .amenity { background: var(--ground); box-shadow: none; }
.stay-hero .chat-hero-title .big { font-size: 34px; }

.room-picker { display: flex; flex-direction: column; gap: 12px; max-height: 58vh; overflow-y: auto; padding: 2px; }
.room-pick { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); cursor: pointer; transition: transform .12s ease; }
.room-pick:active { transform: scale(0.98); }
.room-pick:disabled { opacity: 0.55; cursor: not-allowed; }
.room-pick-img { height: 150px; background-size: cover; background-position: center; background-color: var(--blue-soft); }
.room-pick-img.empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #DBEAFE, #FEF3C7); }
.room-pick-body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.room-pick-name { font-weight: 800; font-size: 17px; color: var(--ink); }
.room-from { margin-top: 4px; font-size: 14px; color: var(--muted); }
.room-from strong { font-family: var(--display); font-size: 20px; color: var(--green); }
.room-full { color: var(--bad); font-weight: 700; font-size: 13px; }
.meal-pick { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; text-align: left; }
.meal-pick:hover { box-shadow: 0 0 0 2px var(--green), var(--shadow-sm); }
.meal-name { flex: 1; font-weight: 700; color: var(--ink); }
.meal-price { font-size: 13px; font-weight: 700; color: var(--green); white-space: nowrap; }
.extra-chip { height: auto; min-height: 44px; padding: 8px 14px; }
.extra-price { font-weight: 800; color: var(--green); }
.extra-chip[aria-pressed="true"] .extra-price { color: #fff; }

.price-big small { font-size: 16px; color: var(--muted); font-weight: 700; }
.quote .gallery { padding-top: 18px; }
.room-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.room-photo { height: 190px; border: 0; padding: 0; background-size: cover; background-position: center; cursor: zoom-in; }
.room-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.room-body h3 { font-size: 18px; color: var(--ink); }
.stay-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stay-facts > div { display: flex; flex-direction: column; gap: 2px; }
.stay-facts strong { font-size: 14.5px; color: var(--ink); }
.quote .amenities { margin-top: 4px; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5, 10, 20, 0.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,0.16); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #E2E8F0; font-weight: 700; font-size: 14px; }
@media print { .gallery, .lightbox { display: none !important; } .room-photo { display: none; } }

/* Stays: owner editor */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-title { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.grid2, .grid3 { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini .label { font-size: 12.5px; margin: 0; }
.mini .field { width: 100%; flex: none; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ground-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-btn { position: absolute; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ph-del { right: 6px; }
.ph-star { left: 6px; font-size: 15px; }
.ph-cover { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 10px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; }
.ph-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--line-2); background: #fff; cursor: pointer; font-weight: 700; font-size: 13px; color: var(--blue-dark); }
.room-edit { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--ground); border: 1px solid var(--line); }
.room-edit-head { display: flex; align-items: center; gap: 8px; }
.room-edit-head strong { flex: 1; font-size: 16px; }
.meal-edit { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.meal-edit:last-child { border-bottom: 0; }
.meal-edit-price { display: flex; align-items: center; gap: 8px; }
.meal-edit-price .field { width: 110px; }
.blocked-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.kind-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 18px; border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: center; }
.kind-opt strong { font-size: 14.5px; color: var(--ink); }
.kind-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.ph-add img { width: 34px; height: 34px; object-fit: contain; }
.grid2, .grid3 { align-items: end; }

/* Video tours */
.video-wrap { margin: 12px 12px 0; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 10px 26px rgba(0,0,0,0.3); border: 3px solid rgba(255,255,255,0.9); }
.video.vertical { aspect-ratio: 9 / 16; max-height: 72vh; width: auto; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster, .video-link { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 0; cursor: pointer; background-color: #0F2A3A; background-size: cover; background-position: center; color: #fff; text-decoration: none; }
.video-link { position: relative; min-height: 180px; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,0.3); border: 3px solid rgba(255,255,255,0.9); }
.video-poster::before, .video-link::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.55)); }
.play { position: relative; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,0.95); color: #E11D48; font-size: 28px; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.video-title { position: relative; font-weight: 800; font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.room-body .video, .room-body .video-link { margin-top: 8px; border-width: 0; box-shadow: none; }
@media print { .video-wrap, .video, .video-link { display: none !important; } }

/* Referral rewards */
.card.earn { background: linear-gradient(135deg, #FEF9C3 0%, #FFFFFF 55%, #DCFCE7 100%); border: 1.5px solid #FDE68A; }
.earn-head { display: flex; gap: 12px; align-items: center; }
.earn-head h2 { font-size: 22px; font-family: var(--display); color: #854D0E; }
.earn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.earn-stats > div { background: #fff; border-radius: 14px; padding: 10px 6px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.earn-stats strong { font-family: var(--display); font-size: 18px; color: var(--green); }
.earn-stats span { font-size: 12px; color: var(--muted); font-weight: 600; }
.earn .link-box { box-shadow: var(--shadow-sm); }
.earn-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.payout summary { cursor: pointer; font-weight: 700; color: var(--blue-dark); padding: 6px 0; }
.payout form { margin-top: 8px; }
.invite h1 { font-size: 26px; }
.invite-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.invite-points > div { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12.5px; font-weight: 700; background: var(--ground); border-radius: 14px; padding: 10px 4px; }

/* Language pills on tourist pages */
.lang-pick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.lang-pick::-webkit-scrollbar { display: none; }
.lang-pick a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--green-ink, #0F4C45); background: #fff; border: 1px solid var(--line, #e3e8e6); text-decoration: none; }
.lang-pick a.on { background: var(--green, #0F766E); color: #fff; border-color: transparent; }
:lang(zh) body, :lang(zh-CN) body, body:lang(zh-CN) { font-family: var(--sans, 'Manrope'), 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; }

/* Tour operators' own photos on the quote */
.moments .gallery { padding: 4px 0 6px; }
.moments .gal-item { width: 230px; height: 170px; }
.moments .gal-item:first-child { width: 260px; }
.moments .video-wrap { margin: 12px 0 0; }

/* Mixing room types */
div.room-pick { cursor: default; }
button.room-pick-img { display: block; width: 100%; height: 150px; flex: 0 0 150px; border: 0; padding: 0; cursor: pointer; }
.room-picker > .room-pick { flex-shrink: 0; }
button.room-pick-name { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: inherit; }
.room-count { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line, #e5e7eb); }
.room-count .round { width: 40px; height: 40px; }
.room-status { font-weight: 700; font-size: 14px; min-height: 18px; }
.room-status.ok { color: var(--green, #16a34a); }
.room-status.bad { color: #B45309; }

/* Explore note in the dashboard */
.explore-note { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; border: 1px solid #BBF7D0; background: linear-gradient(135deg, #F0FDF4, #ECFEFF); }
.kind-pick { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
.x-backlink { display: block; padding: 8px 16px; font-weight: 800; font-size: 13.5px; color: #0E5E5A; text-decoration: none; background: rgba(255,255,255,.9); }
[hidden] { display: none !important; }
/* Arabic (right to left) on chat and quote pages */
[dir="rtl"] .x-backlink { text-align: right; }
[dir="rtl"] .day-card, [dir="rtl"] .lead-top { direction: rtl; }

/* "Complete your trip": nearby businesses from AllTravelLanka on a quote */
.nearby .nb-sub { margin: -4px 0 12px; color: var(--muted, #5b6b78); font-size: 15px; }
.nb-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.nb-track::-webkit-scrollbar { display: none; }
.nb-card { flex: 0 0 min(230px, 72%); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(15, 35, 72, .12); border: 1px solid rgba(15, 35, 72, .06); transition: transform .2s ease; }
.nb-card:hover { transform: translateY(-3px); }
.nb-img { position: relative; height: 130px; background-size: cover; background-position: center; }
.nb-chip { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 16px); padding: 4px 9px 4px 6px; border-radius: 999px; background: rgba(15, 35, 72, .72); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.nb-body b { font-size: 15.5px; line-height: 1.25; }
.nb-body small { color: var(--muted, #5b6b78); font-weight: 600; }
.nb-price { margin-top: 4px; font-weight: 800; font-size: 14px; color: #0F2348; }
.nb-more { display: inline-block; margin-top: 4px; font-weight: 800; text-decoration: none; color: #0F2348; background: #DDF36B; padding: 10px 16px; border-radius: 999px; }
[dir="rtl"] .nb-chip { left: auto; right: 8px; }
