/* Design variables – overridden by Trip Assistant → Design settings */
:root {
  --tlpta-primary: #152C5B; --tlpta-accent: #FFC600; --tlpta-heading: #152C5B; --tlpta-text: #333333; --tlpta-bg: #FFFFFF;
  --tlpta-green: #15C586; --tlpta-orange: #DD7038; --tlpta-btn-bg: #152C5B; --tlpta-btn-text: #FFFFFF;
  --tlpta-size: 16px; --tlpta-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
/* Tour Leaders Peru – AI Trip Planner
   Brand: navy var(--tlpta-primary) · gold var(--tlpta-accent) · text #333 on #FFF · green var(--tlpta-green) · orange var(--tlpta-orange) */

/* ---------- floating launcher ---------- */
.tlpta-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 2147483000;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tlpta-btn-bg); color: var(--tlpta-btn-text); border: 0; border-radius: 14px;
  padding: 14px 20px; font: 800 15px/1 var(--tlpta-font);
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 10px 28px rgba(21, 44, 91, .35); transition: transform .15s, box-shadow .15s;
}
.tlpta-launcher svg { color: var(--tlpta-accent); }
.tlpta-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 44, 91, .42); }
/* admin preview badge */
.tlpta-badge { position: absolute; top: -11px; right: -8px; display: inline-flex; align-items: center; gap: 5px; background: var(--tlpta-green); color: #fff; font: 700 11px/1 var(--tlpta-font); font-style: normal; letter-spacing: .02em; padding: 5px 8px; border-radius: 999px; text-transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.tlpta-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tlpta-pulse 1.8s infinite; }
@keyframes tlpta-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.9); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
/* greeting bubble */
.tlpta-greet { position: fixed; right: 22px; bottom: 92px; z-index: 2147483001; max-width: 290px; animation: tlpta-pop .35s ease-out; }
.tlpta-greet[hidden] { display: none; }
@keyframes tlpta-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.tlpta-greet-body { display: block; width: 100%; text-align: left; background: #fff; color: #333; border: 0; border-radius: 16px 16px 4px 16px; padding: 14px 16px; font: 500 14.5px/1.45 var(--tlpta-font); box-shadow: 0 10px 30px rgba(21,44,91,.22); cursor: pointer; border-left: 4px solid var(--tlpta-accent); }
.tlpta-greet-body:hover { background: #FFFDF3; }
.tlpta-greet-x { position: absolute; top: -10px; left: -10px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--tlpta-primary); color: #fff; font: 700 15px/1 var(--tlpta-font); cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
html.tlpta-lock .tlpta-greet { display: none; }
.tlpta-preview-note { position: fixed; left: 12px; bottom: 12px; z-index: 2147482999; background: #fff8e1; color: #6b4e00; border: 1px solid var(--tlpta-accent); border-radius: 8px; padding: 6px 10px; font: 12px/1.3 var(--tlpta-font); max-width: 260px; }
html.tlpta-lock .tlpta-preview-note { display: none; }
html.tlpta-lock, html.tlpta-lock body { overflow: hidden !important; }
html.tlpta-lock .tlpta-launcher { display: none; }

/* ---------- overlay ---------- */
.tlpta-overlay { position: fixed; inset: 0; z-index: 2147483600; background: rgba(10, 20, 45, .55); padding: 14px; }
.tlpta-overlay[hidden] { display: none; }

/* ---------- planner shell ---------- */
.tlpta-shell {
  --tl-navy: var(--tlpta-primary); --tl-gold: var(--tlpta-accent); --tl-text: var(--tlpta-text); --tl-green: var(--tlpta-green); --tl-orange: var(--tlpta-orange); --tl-head: var(--tlpta-heading);
  --tl-line: #E6E9F0; --tl-soft: #F6F7FA;
  position: relative; display: grid; grid-template-columns: 220px minmax(420px, 1fr) minmax(300px, 40%);
  background: var(--tlpta-bg); color: var(--tl-text); overflow: hidden; box-sizing: border-box;
  font-family: var(--tlpta-font); font-size: var(--tlpta-size); line-height: 1.6;
}
.tlpta-shell *, .tlpta-shell *::before, .tlpta-shell *::after { box-sizing: border-box; }
.tlpta-full { height: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.tlpta-inline { height: 760px; border: 1px solid var(--tl-line); border-radius: 18px; box-shadow: 0 12px 34px rgba(21, 44, 91, .08); }
.tlpta-shell button { font: inherit; }
.tlpta-shell svg { display: block; }

/* sidebar */
.tlpta-side { display: flex; flex-direction: column; border-right: 1px solid var(--tl-line); background: var(--tlpta-bg); padding: 18px 14px; min-height: 0; }
.tlpta-brand { display: flex; align-items: center; gap: 10px; margin: 0 4px 18px; }
.tlpta-brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--tl-navy); color: var(--tl-gold); display: grid; place-items: center; }
.tlpta-brand strong { display: block; color: var(--tl-head); font-size: 15px; line-height: 1.2; }
.tlpta-brand small { color: #888; font-size: 12.5px; }
.tlpta-newchat { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; border-radius: 999px; border: 0; background: var(--tl-soft); color: var(--tl-navy); font-weight: 700; cursor: pointer; }
.tlpta-newchat:hover { background: #EDF0F6; }
.tlpta-side-label { display: flex; align-items: center; gap: 8px; margin: 22px 6px 8px; font-weight: 700; color: var(--tl-navy); font-size: 14px; }
.tlpta-chatlist { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.tlpta-chatitem { width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; color: #444; font-size: 14px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlpta-chatitem:hover { background: var(--tl-soft); }
.tlpta-chatitem.is-active { background: #EEF1F8; color: var(--tl-navy); font-weight: 600; }
.tlpta-empty { color: #999; font-size: 13px; padding: 6px 10px; }
.tlpta-side-foot { border-top: 1px solid var(--tl-line); padding-top: 12px; font-size: 12.5px; color: #888; }
.tlpta-side-foot a { color: var(--tl-navy); text-decoration: none; }
.tlpta-side-foot p { margin: 4px 0 0; }
.tlpta-scrim { display: none; }

/* main */
.tlpta-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tlpta-top { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--tl-line); }
.tlpta-chips { display: flex; flex-wrap: nowrap; gap: 0; border: 1px solid var(--tl-line); border-radius: 999px; overflow-x: auto; overflow-y: hidden; min-width: 0; flex: 0 1 auto; scrollbar-width: none; }
.tlpta-chips::-webkit-scrollbar { display: none; }
.tlpta-chip { flex: none; }
.tlpta-chip { position: relative; margin: 0; }
.tlpta-chip + .tlpta-chip { border-left: 1px solid var(--tl-line); }
.tlpta-chip select {
  appearance: none; -webkit-appearance: none; border: 0; background: #fff; color: #888; cursor: pointer;
  padding: 7px 12px; font: inherit; font-size: 14px; max-width: 150px; text-overflow: ellipsis; margin: 0; height: auto; box-shadow: none;
}
.tlpta-chip.is-set select { color: var(--tl-navy); font-weight: 600; background: #F4F6FB; }
.tlpta-chip select:focus { outline: 2px solid var(--tl-gold); outline-offset: -2px; }
.tlpta-top-actions { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; }
.tlpta-create { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--tl-navy); color: #fff; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tlpta-create svg { color: var(--tl-gold); }
.tlpta-create-short { display: none; }
.tlpta-create:hover { filter: brightness(1.2); }
.tlpta-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--tl-line); background: #fff; color: var(--tl-navy); cursor: pointer; padding: 0; }
.tlpta-iconbtn:hover { background: var(--tl-soft); }
.tlpta-close { background: var(--tl-navy); color: #fff; border-color: var(--tl-navy); }
.tlpta-close:hover { filter: brightness(1.2); }
.tlpta-menu, .tlpta-mapbtn { display: none; }

.tlpta-thread { flex: 1; overflow-y: auto; padding: 24px 28px 8px; min-height: 0; }
.tlpta-hello h2 { margin: 0 0 16px; color: var(--tl-head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 800; padding: 0; }
.tlpta-msg { display: flex; gap: 10px; margin: 0 0 18px; }
.tlpta-avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tl-navy); color: var(--tl-gold); display: grid; place-items: center; margin-top: 2px; font-weight: 800; font-size: 14px; }
.tlpta-bubble { min-width: 0; max-width: 100%; }
.tlpta-bubble > :first-child { margin-top: 0; }
.tlpta-bubble > :last-child { margin-bottom: 0; }
.tlpta-bubble p { margin: 0 0 10px; padding: 0; }
.tlpta-bubble ul, .tlpta-bubble ol { margin: 0 0 10px 20px; padding: 0; }
.tlpta-bubble li { margin-bottom: 4px; }
.tlpta-bubble h3, .tlpta-bubble h4, .tlpta-bubble h5, .tlpta-bubble h6 { color: var(--tl-head); margin: 16px 0 6px; font-size: 16.5px; line-height: 1.3; padding: 0; }
.tlpta-bubble a { color: var(--tl-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tl-gold); text-underline-offset: 3px; }
.tlpta-bubble code { background: var(--tl-soft); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.tlpta-bubble hr { border: 0; border-top: 1px solid var(--tl-line); margin: 12px 0; }
.tlpta-me { justify-content: flex-end; }
.tlpta-me .tlpta-bubble { background: var(--tl-navy); color: #fff; padding: 10px 16px; border-radius: 18px 18px 4px 18px; max-width: 80%; }
.tlpta-bot .tlpta-bubble { padding-top: 2px; }
.tlpta-bot.is-plan .tlpta-bubble { background: #FFFDF3; border: 1px solid #F3E3A6; border-radius: 14px; padding: 16px 18px; }
.tlpta-table { overflow-x: auto; margin: 6px 0 12px; }
.tlpta-table table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--tl-line); }
.tlpta-table th { background: var(--tl-navy); color: #fff; text-align: left; font-weight: 600; padding: 7px 10px; }
.tlpta-table td { padding: 7px 10px; border-top: 1px solid var(--tl-line); vertical-align: top; }
.tlpta-placechips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tlpta-placechip { border: 1px solid var(--tl-line); background: #fff; color: var(--tl-navy); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; }
.tlpta-placechip:hover { border-color: var(--tl-green); }
.tlpta-planbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #EBD98F; }
.tlpta-btn-gold { border: 0; border-radius: 10px; background: var(--tl-gold); color: var(--tl-navy); font-weight: 800; padding: 10px 16px; cursor: pointer; }
.tlpta-btn-gold:hover { filter: brightness(.96); }
.tlpta-btn-gold:disabled { opacity: .6; cursor: wait; }
.tlpta-btn-ghost { border: 1px solid var(--tl-line); border-radius: 10px; background: #fff; color: var(--tl-navy); font-weight: 600; padding: 10px 14px; cursor: pointer; }
.tlpta-error .tlpta-avatar { background: var(--tl-orange); color: #fff; }
.tlpta-admin-note { font-size: 13px; color: #8a3b14; background: #FFF4EC; border-radius: 8px; padding: 8px 10px; }
.tlpta-dots { display: inline-flex; gap: 4px; margin-right: 6px; vertical-align: middle; }
.tlpta-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tl-green); animation: tlpta-b 1.2s infinite ease-in-out; }
.tlpta-dots i:nth-child(2) { animation-delay: .15s; }
.tlpta-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tlpta-b { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.tlpta-wait .tlpta-bubble { color: #777; }

.tlpta-suggest { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 6px 28px 10px; }
.tlpta-suggest[hidden] { display: none; }
.tlpta-sugg { border: 0; background: var(--tl-soft); color: #333; border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.tlpta-sugg:hover { background: #EDF0F6; color: var(--tl-navy); }

.tlpta-composer { margin: 0 22px; border: 1px solid #DADFE8; border-radius: 18px; padding: 10px 10px 8px 16px; display: flex; flex-direction: column; gap: 4px; background: #fff; box-shadow: 0 2px 10px rgba(21, 44, 91, .05); }
.tlpta-composer:focus-within { border-color: var(--tl-navy); box-shadow: 0 0 0 3px rgba(21, 44, 91, .1); }
.tlpta-shell .tlpta-input { border: 0; resize: none; outline: none; font: inherit; font-size: var(--tlpta-size); color: var(--tl-text); background: transparent; padding: 4px 0; margin: 0; min-height: 28px; max-height: 160px; box-shadow: none; width: 100%; }
.tlpta-composer-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.tlpta-mic { width: 34px; height: 34px; border: 0; }
.tlpta-mic.is-on { color: #fff; background: var(--tl-orange); }
.tlpta-send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tl-navy); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.tlpta-shell.is-busy .tlpta-send, .tlpta-shell.is-busy .tlpta-create { opacity: .5; cursor: wait; }
.tlpta-disclaimer { margin: 6px 22px 12px; text-align: center; font-size: 12px; color: #999; padding: 0; }

/* map */
.tlpta-mapwrap { position: relative; border-left: 1px solid var(--tl-line); min-height: 0; background: #EEF1F4; }
.tlpta-map { position: absolute; inset: 0; z-index: 0; }
.tlpta-legend { position: absolute; left: 12px; bottom: 26px; z-index: 500; display: flex; flex-wrap: wrap; gap: 10px; background: rgba(255, 255, 255, .94); border-radius: 10px; padding: 6px 10px; font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.tlpta-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tlpta-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.tlpta-shell .leaflet-tooltip { font: 600 12.5px/1.3 var(--tlpta-font); color: var(--tlpta-primary); }

/* lead modal */
.tlpta-modal { position: absolute; inset: 0; z-index: 1000; background: rgba(10, 20, 45, .45); display: grid; place-items: center; padding: 16px; }
.tlpta-modal[hidden] { display: none; }
.tlpta-leadform { position: relative; width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto; background: #fff; border-radius: 16px; padding: 26px 24px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.tlpta-leadform h3 { margin: 0 0 6px; color: var(--tl-head); font-size: 21px; padding: 0; }
.tlpta-leadform > p { margin: 0 0 16px; color: #666; font-size: 14px; }
.tlpta-leadform label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 10px; flex: 1; }
.tlpta-leadform input, .tlpta-leadform textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid #DADFE8; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15px; font-weight: 400; color: #333; background: #fff; }
.tlpta-leadform input:focus, .tlpta-leadform textarea:focus { outline: none; border-color: var(--tl-navy); }
.tlpta-row { display: flex; gap: 10px; }
.tlpta-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tlpta-formerr { color: #b3471c; font-size: 13.5px; margin: 0 0 10px; }
.tlpta-wide { width: 100%; padding: 13px; font-size: 16px; }
.tlpta-modal-x { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; }

/* embed wrapper */
.tlpta-embed { max-width: 1240px; margin: 0 auto; }
.tlpta-embed-head { margin-bottom: 18px; }
.tlpta-eyebrow { margin: 0 0 6px; color: var(--tlpta-orange); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 0; }
.tlpta-embed .tlpta-embed-title { margin: 0 0 10px; color: var(--tlpta-primary); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; padding: 0; }
.tlpta-embed-sub { margin: 0; max-width: 640px; font-size: 17px; color: #555; padding: 0; }
.tlpta-credit { margin: 12px 4px 0; font-size: 13px; color: #777; padding: 0; }
.tlpta-credit a { color: var(--tlpta-primary); }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1100px) {
  .tlpta-shell { grid-template-columns: minmax(0, 1fr) minmax(300px, 42%); }
  .tlpta-side { position: absolute; z-index: 1200; top: 0; bottom: 0; left: 0; width: 270px; transform: translateX(-105%); transition: transform .2s; box-shadow: 8px 0 30px rgba(0, 0, 0, .15); }
  .tlpta-shell.show-side .tlpta-side { transform: none; }
  .tlpta-shell.show-side .tlpta-scrim { display: block; position: absolute; inset: 0; z-index: 1100; background: rgba(10, 20, 45, .3); }
  .tlpta-menu { display: inline-grid; }
}
@media (max-width: 760px) {
  .tlpta-overlay { padding: 0; }
  .tlpta-full { border-radius: 0; }
  .tlpta-shell { grid-template-columns: minmax(0, 1fr); }
  .tlpta-inline { height: 82vh; min-height: 560px; }
  .tlpta-mapwrap { position: absolute; z-index: 900; top: 112px; left: 0; right: 0; bottom: 0; display: none; border-left: 0; }
  .tlpta-shell.show-map .tlpta-mapwrap { display: block; }
  .tlpta-mapbtn { display: inline-grid; }
  .tlpta-shell.show-map .tlpta-mapbtn { background: var(--tl-navy); color: #fff; }
  .tlpta-top { flex-wrap: wrap; padding: 10px 12px; }
  .tlpta-chips { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .tlpta-chip select { padding: 7px 11px; font-size: 13.5px; }
  .tlpta-create { padding: 8px 12px; font-size: 13.5px; gap: 6px; }
  .tlpta-create-long { display: none; }
  .tlpta-create-short { display: inline; }
  .tlpta-thread { padding: 18px 14px 6px; }
  .tlpta-suggest { padding: 4px 12px 8px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .tlpta-suggest::-webkit-scrollbar { display: none; }
  .tlpta-sugg { flex: none; white-space: nowrap; font-size: 13.5px; }
  .tlpta-composer { margin: 0 12px; }
  .tlpta-me .tlpta-bubble { max-width: 90%; }
  .tlpta-row { flex-direction: column; gap: 0; }
  .tlpta-launcher { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 12px 16px; font-size: 13.5px; }
  .tlpta-greet { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); max-width: 250px; }
  .tlpta-greet-body { font-size: 14px; }
  /* 16px text stops iPhone from zooming in when a field is tapped */
  .tlpta-shell .tlpta-input, .tlpta-leadform input, .tlpta-leadform textarea, .tlpta-chip select { font-size: 16px; }
  .tlpta-disclaimer { margin-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tlpta-top-actions { gap: 6px; }
  .tlpta-iconbtn { width: 36px; height: 36px; }
  .tlpta-planbar > * { flex: 1 1 auto; justify-content: center; text-align: center; }
  .tlpta-leadform { padding: 22px 18px 18px; }
  .tlpta-modal { place-items: end center; padding: 0; }
  .tlpta-leadform { border-radius: 18px 18px 0 0; max-height: 92%; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* WhatsApp */
.tlpta-wa-top { color: #fff; background: #1FAF5A; border-color: #1FAF5A; }
.tlpta-wa-top:hover { background: #18964C; }
.tlpta-wa-side { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 12px; white-space: nowrap; padding: 9px 10px; border-radius: 999px; background: #1FAF5A; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.tlpta-wa-side:hover { background: #18964C; }
.tlpta-btn-wa { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; background: #1FAF5A; color: #fff !important; font-weight: 700; padding: 10px 14px; text-decoration: none !important; }
.tlpta-btn-wa:hover { background: #18964C; }
.tlpta-wa-alt { margin: 12px 0 0; text-align: center; font-size: 14px; color: #666; }
.tlpta-wa-alt a { color: #18964C; font-weight: 700; }

/* Welcome form (before chatting) */
.tlpta-gate { position: absolute; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 16px; background: rgba(10, 20, 45, .55); backdrop-filter: blur(3px); }
.tlpta-gateform { position: relative; width: 100%; max-width: 500px; max-height: 100%; overflow-y: auto; background: var(--tlpta-bg); border-radius: 18px; padding: 24px 24px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); border-top: 5px solid var(--tlpta-accent); }
.tlpta-gate-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tlpta-gate-top .tlpta-avatar { width: 38px; height: 38px; margin: 0; }
.tlpta-gate-top strong { display: block; color: var(--tlpta-heading); font-size: 16px; line-height: 1.2; }
.tlpta-gate-top small { color: #888; font-size: 12.5px; }
.tlpta-gateform h3 { margin: 0 0 6px; color: var(--tlpta-heading); font-size: 22px; line-height: 1.25; padding: 0; }
.tlpta-gateform > p { margin: 0 0 14px; color: #666; font-size: 14.5px; }
.tlpta-gateform label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 10px; flex: 1; }
.tlpta-gateform input, .tlpta-gateform textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid #DADFE8; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15px; font-weight: 400; color: var(--tlpta-text); background: #fff; }
.tlpta-gateform input:focus, .tlpta-gateform textarea:focus { outline: none; border-color: var(--tlpta-primary); box-shadow: 0 0 0 3px rgba(21, 44, 91, .1); }
.tlpta-gateform .tlpta-gate-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #888; }
.tlpta-gateform .tlpta-gate-note a { color: #18964C; font-weight: 700; }
@media (max-width: 760px) {
  .tlpta-gate { place-items: end center; padding: 0; }
  .tlpta-gateform { border-radius: 18px 18px 0 0; max-height: 96%; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .tlpta-gateform input, .tlpta-gateform textarea { font-size: 16px; }
}

/* Keep the open planner above theme headers (Divi #main-header uses z-index 99999) */
html.tlpta-lock #wpadminbar { z-index: 1 !important; }
/* Move Divi's "back to top" arrow above the Cesar button so they don't overlap */
body .et_pb_scroll_top { bottom: 96px !important; }
@media (max-width: 760px) { body .et_pb_scroll_top { bottom: 84px !important; } }

.tlpta-gateform > p.tlpta-formerr { color: #b3471c; font-weight: 600; background: #FFF4EC; border-radius: 8px; padding: 8px 10px; }

/* =====================================================================
   v3.1 PRO THEME
   ===================================================================== */

/* ---------- overlay: centered panel, 90% wide, max 1500px ---------- */
.tlpta-overlay { padding: 0; display: grid; place-items: center; background: rgba(8, 16, 38, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tlpta-overlay[hidden] { display: none; }
.tlpta-full { width: min(90vw, 1500px); height: min(90vh, 980px); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); animation: tlpta-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes tlpta-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (min-width: 1101px) { .tlpta-shell { grid-template-columns: 270px minmax(440px, 1fr) minmax(320px, 40%); } }

/* ---------- avatar ---------- */
.tlpta-shell .tlpta-avatar, .tlpta-launcher-av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: none; display: block; padding: 0; overflow: visible; }
.tlpta-shell .tlpta-avatar svg, .tlpta-shell .tlpta-avatar img, .tlpta-launcher-av svg, .tlpta-launcher-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.tlpta-shell .tlpta-avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--tlpta-accent); margin-top: 0; }
.tlpta-shell .tlpta-avatar-lg { width: 42px; height: 42px; }
.tlpta-shell .tlpta-avatar-xl { width: 60px; height: 60px; box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 0 0 5px var(--tlpta-accent), 0 8px 20px rgba(0,0,0,.25); }
.tlpta-error .tlpta-avatar { display: grid; place-items: center; background: var(--tlpta-orange); color: #fff; font-weight: 800; }
.tlpta-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22d37a; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(34, 211, 122, .7); animation: tlpta-live 2s infinite; }
@keyframes tlpta-live { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 122, .7); } 70% { box-shadow: 0 0 0 7px rgba(34, 211, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 122, 0); } }

/* ---------- sidebar: branded navy ---------- */
.tlpta-shell .tlpta-side { background: linear-gradient(180deg, var(--tlpta-primary) 0%, #0b1a3d 100%); color: #fff; border-right: 0; padding: 22px 16px 18px; }
.tlpta-shell .tlpta-brand { margin: 0 2px 6px; gap: 12px; }
.tlpta-shell .tlpta-brand strong { color: #fff; font-size: 17px; letter-spacing: .01em; }
.tlpta-shell .tlpta-brand small { color: rgba(255,255,255,.72); font-size: 12.5px; }
.tlpta-by { margin: 0 4px 18px; font-size: 11.5px; color: rgba(255,255,255,.55); padding: 0; }
.tlpta-shell .tlpta-newchat { background: var(--tlpta-accent); color: var(--tlpta-primary); font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tlpta-shell .tlpta-newchat:hover { filter: brightness(1.05); background: var(--tlpta-accent); }
.tlpta-shell .tlpta-side-label { color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.tlpta-shell .tlpta-chatitem { color: rgba(255,255,255,.85); }
.tlpta-shell .tlpta-chatitem:hover { background: rgba(255,255,255,.08); }
.tlpta-shell .tlpta-chatitem.is-active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--tlpta-accent); }
.tlpta-shell .tlpta-empty { color: rgba(255,255,255,.5); }
.tlpta-shell .tlpta-side-foot { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.tlpta-shell .tlpta-side-foot a { color: #fff; }

/* ---------- top bar ---------- */
.tlpta-shell .tlpta-top { padding: 14px 22px; gap: 12px; background: var(--tlpta-bg); box-shadow: 0 1px 0 var(--tl-line); border-bottom: 0; position: relative; z-index: 2; }
.tlpta-shell .tlpta-chips { border: 1px solid #DCE1EA; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(21, 44, 91, .06); }
.tlpta-shell .tlpta-chip { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; cursor: pointer; }
.tlpta-shell .tlpta-chip + .tlpta-chip { border-left: 1px solid #E6E9F0; }
.tlpta-chip-ic { color: var(--tlpta-orange); display: flex; }
.tlpta-chip-chev { color: #9aa3b5; display: flex; margin-left: -2px; pointer-events: none; }
.tlpta-shell .tlpta-chip select { padding: 10px 2px; background: transparent; color: #5b6475; font-weight: 500; max-width: 175px; }
.tlpta-shell .tlpta-chip.is-set { background: #F4F7FD; }
.tlpta-shell .tlpta-chip.is-set select { background: transparent; color: var(--tlpta-primary); font-weight: 700; }
.tlpta-shell .tlpta-chip.is-set .tlpta-chip-ic { color: var(--tlpta-green); }
.tlpta-shell .tlpta-create { background: linear-gradient(135deg, #FFD54A 0%, var(--tlpta-accent) 55%, #F2B300 100%); color: var(--tlpta-primary); font-weight: 800; padding: 11px 18px; border-radius: 12px; box-shadow: 0 8px 20px rgba(255, 198, 0, .35); }
.tlpta-shell .tlpta-create svg { color: var(--tlpta-primary); }
.tlpta-shell .tlpta-create:hover { filter: brightness(1.04); transform: translateY(-1px); }
.tlpta-shell .tlpta-iconbtn { width: 40px; height: 40px; }

/* ---------- conversation ---------- */
.tlpta-shell .tlpta-thread { padding: 26px 34px 10px; background: linear-gradient(180deg, #F7F9FC 0%, var(--tlpta-bg) 320px); }
.tlpta-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px 22px; margin-bottom: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 198, 0, .22) 0%, rgba(255, 198, 0, 0) 45%), linear-gradient(135deg, var(--tlpta-primary) 0%, #20438a 100%);
  box-shadow: 0 16px 36px rgba(21, 44, 91, .25); }
.tlpta-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; opacity: .14; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 80 L120 30 L210 75 L330 10 L450 70 L560 35 L680 85 L800 20 L930 70 L1040 40 L1200 90 L1200 120 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.tlpta-hero-id { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; position: relative; z-index: 1; }
.tlpta-hero-name { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; }
.tlpta-hero-role { display: block; font-size: 13px; color: rgba(255,255,255,.78); }
.tlpta-shell .tlpta-hero h2 { color: #fff; font-size: clamp(24px, 2.3vw, 34px); margin: 0 0 10px; letter-spacing: -.01em; position: relative; z-index: 1; }
.tlpta-hero-msg { color: rgba(255,255,255,.9); max-width: 760px; position: relative; z-index: 1; }
.tlpta-hero-msg p { margin: 0 0 8px; }
.tlpta-hero-msg a { color: var(--tlpta-accent); }
.tlpta-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; position: relative; z-index: 1; }
.tlpta-trust li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: #fff; }

.tlpta-shell .tlpta-msg { gap: 12px; margin-bottom: 20px; }
.tlpta-shell .tlpta-bot .tlpta-bubble { background: #fff; border: 1px solid #E6EAF2; border-radius: 4px 18px 18px 18px; padding: 14px 18px; box-shadow: 0 4px 14px rgba(21, 44, 91, .06); }
.tlpta-shell .tlpta-bot.is-plan .tlpta-bubble { background: #FFFDF5; border-color: #F3E3A6; }
.tlpta-shell .tlpta-me .tlpta-bubble { background: linear-gradient(135deg, var(--tlpta-primary), #24478f); border-radius: 18px 18px 4px 18px; padding: 12px 18px; box-shadow: 0 6px 16px rgba(21, 44, 91, .2); }
.tlpta-shell .tlpta-wait .tlpta-bubble { color: #6b7385; }

/* starter questions as cards */
.tlpta-shell .tlpta-suggest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 34px 14px; }
.tlpta-shell .tlpta-suggest[hidden] { display: none; }
.tlpta-shell .tlpta-sugg { display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 1px solid #E3E8F1; border-radius: 14px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--tlpta-text); box-shadow: 0 2px 8px rgba(21, 44, 91, .05); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tlpta-shell .tlpta-sugg:hover { transform: translateY(-2px); border-color: var(--tlpta-accent); box-shadow: 0 10px 22px rgba(21, 44, 91, .1); background: #fff; }
.tlpta-sugg-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #FFF6D6; color: var(--tlpta-orange); }
.tlpta-sugg span:nth-child(2) { flex: 1; }
.tlpta-sugg-go { color: #A5AEC0; display: flex; }
.tlpta-shell .tlpta-sugg:hover .tlpta-sugg-go { color: var(--tlpta-primary); }

/* composer */
.tlpta-shell .tlpta-composer { position: relative; margin: 0 34px; border: 1.5px solid #D5DCE8; border-radius: 20px; padding: 14px 12px 10px 18px; box-shadow: 0 10px 30px rgba(21, 44, 91, .1); }
.tlpta-shell .tlpta-composer:focus-within { border-color: var(--tlpta-primary); box-shadow: 0 0 0 4px rgba(21, 44, 91, .08), 0 10px 30px rgba(21, 44, 91, .1); }
.tlpta-shell .tlpta-send { width: 42px; height: 42px; background: var(--tlpta-accent); color: var(--tlpta-primary); box-shadow: 0 6px 14px rgba(255, 198, 0, .4); }
.tlpta-shell .tlpta-mic { width: 40px; height: 40px; background: #F2F5FA; color: var(--tlpta-primary); border: 0; }
.tlpta-shell .tlpta-mic.is-on { background: #E5383B; color: #fff; animation: tlpta-mic 1.2s infinite; }
@keyframes tlpta-mic { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .55); } 70% { box-shadow: 0 0 0 12px rgba(229, 56, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, 0); } }
.tlpta-shell .tlpta-composer.is-listening { border-color: #E5383B; }
.tlpta-mictip { position: absolute; left: 14px; right: 14px; bottom: calc(100% + 10px); background: var(--tlpta-primary); color: #fff; font-size: 13.5px; line-height: 1.4; padding: 10px 14px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.tlpta-mictip[hidden] { display: none; }
.tlpta-shell .tlpta-disclaimer { margin: 8px 34px 14px; }

/* map */
.tlpta-shell .tlpta-mapwrap { border-left: 1px solid #E3E8F1; }
.tlpta-shell .tlpta-legend { border-radius: 12px; padding: 8px 12px; font-weight: 600; }

/* ---------- floating launcher: pro pill ---------- */
.tlpta-launcher { padding: 8px 18px 8px 8px; gap: 12px; border-radius: 999px; text-transform: none; letter-spacing: 0;
  background: linear-gradient(135deg, var(--tlpta-btn-bg) 0%, #24478f 100%); box-shadow: 0 14px 34px rgba(21, 44, 91, .45), 0 0 0 1px rgba(255,255,255,.08) inset; }
.tlpta-launcher::before { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--tlpta-accent); opacity: 0; animation: tlpta-halo 3.2s ease-out infinite; pointer-events: none; }
@keyframes tlpta-halo { 0% { opacity: .75; transform: scale(.96); } 70% { opacity: 0; transform: scale(1.08); } 100% { opacity: 0; } }
.tlpta-launcher-av { width: 46px; height: 46px; box-shadow: 0 0 0 2px var(--tlpta-accent); border-radius: 50%; }
.tlpta-launcher-av .tlpta-online { position: absolute; right: -1px; bottom: 1px; width: 11px; height: 11px; margin: 0; border: 2px solid var(--tlpta-btn-bg); }
.tlpta-launcher-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.tlpta-launcher-txt strong { font-size: 16px; font-weight: 800; color: var(--tlpta-btn-text); }
.tlpta-launcher-txt small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); margin-top: 3px; }
.tlpta-launcher-spark { color: var(--tlpta-accent); flex: none; }
.tlpta-launcher:hover { transform: translateY(-3px); }
.tlpta-launcher .tlpta-badge { top: -12px; right: 10px; }
.tlpta-greet { bottom: 104px; }

/* ---------- tablet & phone ---------- */
@media (max-width: 1100px) {
  .tlpta-full { width: 94vw; height: 92vh; }
  .tlpta-shell .tlpta-side { width: 290px; }
}
@media (max-width: 760px) {
  .tlpta-full { width: 100%; height: 100%; border-radius: 0; animation: none; }
  .tlpta-shell .tlpta-top { padding: 10px 12px; }
  .tlpta-shell .tlpta-chips { border-radius: 12px; }
  .tlpta-shell .tlpta-chip { padding: 0 8px 0 10px; }
  .tlpta-shell .tlpta-chip select { padding: 9px 2px; }
  .tlpta-shell .tlpta-thread { padding: 14px 12px 6px; }
  .tlpta-hero { padding: 18px 16px 16px; border-radius: 16px; margin-bottom: 16px; }
  .tlpta-shell .tlpta-avatar-xl { width: 48px; height: 48px; }
  .tlpta-hero-name { font-size: 17px; }
  .tlpta-shell .tlpta-hero h2 { font-size: 22px; }
  .tlpta-trust li { font-size: 12px; padding: 4px 10px; }
  .tlpta-shell .tlpta-suggest { display: flex; grid-template-columns: none; padding: 4px 12px 8px; }
  .tlpta-shell .tlpta-sugg { flex: none; max-width: 78vw; white-space: normal; font-size: 13.5px; padding: 10px 12px; }
  .tlpta-shell .tlpta-composer { margin: 0 10px; padding: 10px 10px 8px 14px; border-radius: 18px; }
  .tlpta-shell .tlpta-disclaimer { margin: 6px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tlpta-shell .tlpta-mapwrap { top: 118px; }
  .tlpta-launcher { padding: 6px 14px 6px 6px; gap: 10px; }
  .tlpta-launcher-av { width: 40px; height: 40px; }
  .tlpta-launcher-txt strong { font-size: 14.5px; }
  .tlpta-launcher-txt small { display: none; }
  .tlpta-greet { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .tlpta-launcher::before, .tlpta-online, .tlpta-full { animation: none; }
}

/* v3.1 layout: trip pills on their own full-width row */
.tlpta-shell .tlpta-top { flex-wrap: wrap; row-gap: 12px; }
.tlpta-top-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tlpta-top-title strong { color: var(--tlpta-heading); font-size: 16px; font-weight: 800; }
.tlpta-top-title small { color: #7a8396; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlpta-shell .tlpta-chips { order: 5; flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.tlpta-shell .tlpta-chip { min-width: 0; }
.tlpta-shell .tlpta-chip select { flex: 1; min-width: 0; max-width: none; width: 100%; text-overflow: ellipsis; }
.tlpta-shell .tlpta-top-actions { margin-left: auto; }
@media (min-width: 1101px) { .tlpta-shell { grid-template-columns: 250px minmax(480px, 1fr) minmax(300px, 34%); } }
.tlpta-shell .tlpta-thread > .tlpta-suggest { padding: 0 0 14px; }
@media (max-width: 760px) {
  .tlpta-top-title { display: none; }
  .tlpta-shell .tlpta-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tlpta-shell .tlpta-chip:nth-child(3) { border-left: 0; }
  .tlpta-shell .tlpta-chip:nth-child(n+3) { border-top: 1px solid #E6E9F0; }
  .tlpta-shell .tlpta-mapwrap { top: 164px; }
  .tlpta-shell .tlpta-thread > .tlpta-suggest { display: flex; flex-direction: column; gap: 8px; padding: 0 0 10px; overflow: visible; }
  .tlpta-shell .tlpta-thread > .tlpta-suggest[hidden] { display: none; }
  .tlpta-shell .tlpta-thread > .tlpta-suggest .tlpta-sugg { max-width: none; }
}

/* =====================================================================
   v3.2 MINDTRIP-STYLE: near full screen, menu, pages
   ===================================================================== */
.tlpta-full { width: calc(100vw - 32px); height: calc(100vh - 32px); max-width: none; }
@media (min-width: 1101px) { .tlpta-shell { grid-template-columns: 250px minmax(520px, 1fr) minmax(360px, 38%); } }

/* global close (top-right corner, like Mindtrip) */
.tlpta-shell .tlpta-close-global { position: absolute; top: 14px; right: 14px; z-index: 1500; width: 40px; height: 40px; background: #111827; border-color: #111827; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tlpta-shell .tlpta-close-global:hover { filter: none; background: #000; }
.tlpta-shell:not(.is-page) .tlpta-top-actions { margin-right: 0; }
@media (min-width: 761px) { .tlpta-shell:not(.is-page) .tlpta-mapwrap .leaflet-top.leaflet-left { top: 0; } }

/* sidebar menu */
.tlpta-nav { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 14px; }
.tlpta-navbtn { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: rgba(255,255,255,.88); padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; }
.tlpta-navbtn svg { flex: none; opacity: .9; }
.tlpta-navbtn:hover { background: rgba(255,255,255,.08); color: #fff; }
.tlpta-navbtn.is-active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--tlpta-accent); }
.tlpta-navbtn.is-active svg { color: var(--tlpta-accent); opacity: 1; }
.tlpta-navcount { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--tlpta-primary); background: var(--tlpta-accent); border-radius: 999px; padding: 1px 7px; line-height: 1.5; }
.tlpta-navcount:empty { display: none; }
.tlpta-shell .tlpta-side-label { margin-top: 18px; }

/* page mode (Trips / Saved / Updates / Inspiration) */
.tlpta-page { display: none; }
.tlpta-shell.is-page .tlpta-main, .tlpta-shell.is-page .tlpta-mapwrap { display: none; }
.tlpta-shell.is-page .tlpta-page { display: block; grid-column: 2 / -1; overflow-y: auto; min-height: 0; padding: 46px 64px 40px; background: var(--tlpta-bg); }
.tlpta-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 56px 26px 0; }
.tlpta-page-head h2 { margin: 0; color: var(--tlpta-heading); font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.02em; padding: 0; }
.tlpta-page-head p { margin: 6px 0 0; color: #6b7385; font-size: 15px; }
.tlpta-page-sub { margin: 0 0 14px; color: var(--tlpta-heading); font-size: 19px; font-weight: 800; padding: 0; }
.tlpta-btn-dark { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: #111827; color: #fff; font-weight: 700; padding: 12px 20px; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.tlpta-btn-dark:hover { background: #000; }
.tlpta-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tlpta-tripcard { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: left; background: #111; box-shadow: 0 10px 26px rgba(21, 44, 91, .16); transition: transform .18s, box-shadow .18s; }
.tlpta-tripcard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(21, 44, 91, .24); }
.tlpta-cover { position: relative; height: 230px; overflow: hidden; }
.tlpta-cover-art { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; }
.tlpta-tripcard-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); display: flex; flex-direction: column; gap: 4px; }
.tlpta-tripcard-txt strong { font-size: 19px; font-weight: 800; line-height: 1.2; }
.tlpta-tripcard-txt span { font-size: 14px; opacity: .92; }
.tlpta-tripcard-txt em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--tlpta-accent); margin-top: 4px; }
.tlpta-ideacard .tlpta-cover { height: 250px; }
.tlpta-backlink { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--tlpta-primary); font-weight: 700; cursor: pointer; padding: 0; margin-bottom: 16px; }
.tlpta-trip-hero { position: relative; border-radius: 20px; overflow: hidden; margin: 0 56px 20px 0; }
.tlpta-trip-hero .tlpta-cover { height: 200px; }
.tlpta-trip-hero-txt { position: absolute; left: 0; bottom: 0; padding: 20px 26px; color: #fff; }
.tlpta-trip-hero-txt h2 { margin: 0; font-size: 30px; color: #fff; font-weight: 800; padding: 0; }
.tlpta-trip-hero-txt p { margin: 4px 0 0; opacity: .9; }
.tlpta-trip-body { max-width: 900px; background: #fff; border: 1px solid #E6EAF2; border-radius: 18px; padding: 22px 26px; box-shadow: 0 6px 18px rgba(21,44,91,.06); }
.tlpta-danger { color: #b3471c !important; }
.tlpta-danger.is-confirm { background: #FFF1EA; border-color: #f2b9a0; }
.tlpta-btn-ghost { display: inline-flex; align-items: center; gap: 6px; }
.tlpta-empty-state { text-align: center; max-width: 440px; margin: 60px auto; color: #6b7385; }
.tlpta-empty-state h3 { color: var(--tlpta-heading); margin: 12px 0 6px; font-size: 21px; padding: 0; }
.tlpta-empty-state p { margin: 0 0 18px; }
.tlpta-empty-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #FFF6D6; color: var(--tlpta-orange); }
.tlpta-empty-ic svg { width: 30px; height: 30px; }
.tlpta-savedlist { display: grid; gap: 16px; max-width: 900px; }
.tlpta-saveditem { background: #fff; border: 1px solid #E6EAF2; border-radius: 16px; padding: 16px 20px; box-shadow: 0 4px 14px rgba(21,44,91,.05); }
.tlpta-saveditem-top span { display: flex; align-items: center; gap: 8px; color: #6b7385; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.tlpta-saveditem-top .tlpta-avatar { width: 24px; height: 24px; }
.tlpta-saved-body { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tlpta-saveditem-acts { display: flex; gap: 8px; margin-top: 10px; }
.tlpta-updates { display: grid; gap: 14px; max-width: 900px; }
.tlpta-update { display: flex; gap: 16px; background: #fff; border: 1px solid #E6EAF2; border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(21,44,91,.05); }
.tlpta-update-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #E8F9F1; color: #0f8a5f; }
.tlpta-update h3 { margin: 0 0 4px; color: var(--tlpta-heading); font-size: 17px; padding: 0; }
.tlpta-update p { margin: 0 0 10px; color: #4b5363; }

/* save (heart) button on answers */
.tlpta-shell .tlpta-bot .tlpta-bubble { position: relative; }
.tlpta-heartbtn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: #a3acbd; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .15s, color .15s; padding: 0; }
.tlpta-heartbtn svg { width: 18px; height: 18px; }
.tlpta-msg:hover .tlpta-heartbtn, .tlpta-heartbtn.is-on, .tlpta-heartbtn:focus { opacity: 1; }
.tlpta-heartbtn:hover { color: #e5383b; background: #FFF0F0; }
.tlpta-heartbtn.is-on { color: #e5383b; }
@media (hover: none) { .tlpta-heartbtn { opacity: .7; } }
.tlpta-shell .tlpta-bot .tlpta-bubble > p:first-child { padding-right: 26px; }

@media (max-width: 1100px) {
  .tlpta-full { width: 100vw; height: 100vh; border-radius: 0; }
  .tlpta-shell.is-page .tlpta-page { grid-column: 1 / -1; padding: 70px 28px 30px; }
  .tlpta-shell .tlpta-menu { position: relative; }
}
@media (max-width: 760px) {
  .tlpta-shell .tlpta-close-global { top: 10px; right: 10px; width: 36px; height: 36px; }
  .tlpta-shell .tlpta-top { padding-right: 56px; }
  .tlpta-shell.is-page .tlpta-page { padding: 64px 14px 24px; }
  .tlpta-page-head { flex-direction: column; margin-right: 0; }
  .tlpta-trip-hero { margin-right: 0; }
  .tlpta-cards { grid-template-columns: 1fr; gap: 14px; }
  .tlpta-cover { height: 180px; }
  .tlpta-trip-body { padding: 16px; }
}
/* page-mode menu button for phones/tablets */
.tlpta-pagemenu { display: none; }
@media (max-width: 1100px) { .tlpta-shell.is-page .tlpta-pagemenu { display: inline-grid; position: absolute; top: 12px; left: 12px; z-index: 1400; } }

/* collapse menu, traveler profile */
@media (min-width: 1101px) { .tlpta-shell .tlpta-side { position: relative; } }
.tlpta-collapse { position: absolute; top: 24px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.tlpta-collapse:hover { background: rgba(255,255,255,.2); }
.tlpta-shell .tlpta-brand { padding-right: 34px; }
.tlpta-profile { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 6px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.tlpta-shell .tlpta-chatlist { flex: 1 1 auto; }
.tlpta-profile + .tlpta-side-foot, .tlpta-wa-side + .tlpta-profile { margin-top: 10px; }
.tlpta-profile-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #DDF7EC; color: #0f6b4f; font-weight: 800; }
.tlpta-profile-name { display: flex; flex-direction: column; color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlpta-profile-name small { color: rgba(255,255,255,.6); font-weight: 500; font-size: 12px; }
.tlpta-profile-more { margin-left: auto; border: 0; background: none; color: rgba(255,255,255,.6); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.tlpta-shell .tlpta-side-foot { margin-top: 8px; }
/* collapsed (icon-only) menu on desktop */
@media (min-width: 1101px) {
  .tlpta-shell.side-mini { grid-template-columns: 76px minmax(520px, 1fr) minmax(360px, 40%); }
  .tlpta-shell.side-mini .tlpta-side { padding: 22px 10px 16px; }
  .tlpta-shell.side-mini .tlpta-brand > div, .tlpta-shell.side-mini .tlpta-by, .tlpta-shell.side-mini .tlpta-navbtn span, .tlpta-shell.side-mini .tlpta-navcount,
  .tlpta-shell.side-mini .tlpta-newchat span, .tlpta-shell.side-mini .tlpta-side-label, .tlpta-shell.side-mini .tlpta-chatlist, .tlpta-shell.side-mini .tlpta-wa-side span,
  .tlpta-shell.side-mini .tlpta-profile-name, .tlpta-shell.side-mini .tlpta-profile-more, .tlpta-shell.side-mini .tlpta-side-foot { display: none; }
  .tlpta-shell.side-mini .tlpta-brand { justify-content: center; padding: 0; margin-bottom: 40px; }
  .tlpta-shell.side-mini .tlpta-collapse { top: 72px; right: 22px; transform: rotate(180deg); }
  .tlpta-shell.side-mini .tlpta-navbtn { justify-content: center; padding: 12px 0; }
  .tlpta-shell.side-mini .tlpta-newchat, .tlpta-shell.side-mini .tlpta-wa-side { padding: 10px 0; }
  .tlpta-shell.side-mini .tlpta-profile { justify-content: center; }
}
@media (max-width: 1100px) { .tlpta-collapse { display: none; } }

/* fixes: scrollable menu on phones, round sun on covers */
.tlpta-shell .tlpta-side { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
@media (max-width: 1100px) { .tlpta-shell .tlpta-chatlist { flex: 0 0 auto; overflow: visible; } .tlpta-profile { margin-top: 16px; } }
.tlpta-cover-sun { position: absolute; right: 16%; top: 20%; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 198, 0, .9); box-shadow: 0 0 30px rgba(255, 198, 0, .55); }
.tlpta-cover.is-small .tlpta-cover-sun { width: 26px; height: 26px; }

/* =====================================================================
   v3.3 MATTE BLACK THEME – monochrome, one gold accent (the AI sparkle)
   ===================================================================== */
:root { --tlpta-ink: #141414; --tlpta-ink-2: #1c1c1c; --tlpta-line-2: #E7E7E7; --tlpta-soft-2: #F5F5F4; }

/* launcher */
.tlpta-launcher { background: linear-gradient(180deg, #1e1e1e 0%, #0f0f0f 100%); box-shadow: 0 14px 34px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.tlpta-launcher::before { border-color: rgba(255,255,255,.55); }
.tlpta-launcher-av { box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.tlpta-launcher-av .tlpta-online { border-color: #141414; }
.tlpta-launcher .tlpta-badge { background: #fff; color: #141414; }
.tlpta-launcher .tlpta-badge i { background: #16A34A; box-shadow: none; animation: none; }
.tlpta-greet-body { border-left-color: #141414; }
.tlpta-greet-x { background: #141414; }
.tlpta-preview-note { background: #F5F5F4; color: #333; border-color: #141414; }

/* sidebar */
.tlpta-shell .tlpta-side { background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%); }
.tlpta-shell .tlpta-newchat { background: #fff; color: #141414; box-shadow: none; }
.tlpta-shell .tlpta-newchat:hover { background: #ECECEC; filter: none; }
.tlpta-navbtn.is-active, .tlpta-shell .tlpta-chatitem.is-active { box-shadow: inset 3px 0 0 #fff; }
.tlpta-navbtn.is-active svg { color: #fff; }
.tlpta-navcount { background: #fff; color: #141414; }
.tlpta-profile-ic { background: #fff; color: #141414; }
.tlpta-shell .tlpta-avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #D4D4D4; }
.tlpta-shell .tlpta-side .tlpta-avatar, .tlpta-shell .tlpta-avatar-xl { box-shadow: 0 0 0 2px rgba(255,255,255,.22); }

/* top bar & pills */
.tlpta-chip-ic, .tlpta-shell .tlpta-chip.is-set .tlpta-chip-ic { color: #141414; }
.tlpta-shell .tlpta-chip.is-set { background: var(--tlpta-soft-2); }
.tlpta-shell .tlpta-chip.is-set select { color: #141414; }
.tlpta-shell .tlpta-chips { border-color: var(--tlpta-line-2); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.tlpta-shell .tlpta-create { background: #141414; color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.tlpta-shell .tlpta-create svg { color: #FFC600; }
.tlpta-shell .tlpta-create:hover { background: #000; filter: none; }

/* hero */
.tlpta-hero { background: linear-gradient(160deg, #1f1f1f 0%, #0f0f0f 100%); box-shadow: 0 16px 36px rgba(0,0,0,.22); }
.tlpta-hero::after { opacity: .06; }
.tlpta-trust li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.tlpta-hero-msg a { color: #fff; }

/* conversation */
.tlpta-shell .tlpta-thread { background: linear-gradient(180deg, #FAFAF9 0%, var(--tlpta-bg) 320px); }
.tlpta-shell .tlpta-me .tlpta-bubble { background: #141414; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.tlpta-shell .tlpta-bot .tlpta-bubble { border-color: var(--tlpta-line-2); box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.tlpta-shell .tlpta-bot.is-plan .tlpta-bubble { background: #FAFAF9; border-color: #E2E2E0; }
.tlpta-shell .tlpta-bubble a { color: #141414; text-decoration-color: #A3A3A3; }
.tlpta-table th { background: #141414; }
.tlpta-sugg-ic { background: var(--tlpta-soft-2); color: #141414; }
.tlpta-shell .tlpta-sugg:hover { border-color: #141414; box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.tlpta-shell .tlpta-sugg:hover .tlpta-sugg-go { color: #141414; }
.tlpta-placechip:hover { border-color: #141414; }
.tlpta-dots i { background: #141414; }
.tlpta-planbar { border-top-color: #E2E2E0; }
.tlpta-btn-gold, .tlpta-shell .tlpta-btn-gold { background: #141414; color: #fff; }
.tlpta-btn-gold:hover { background: #000; filter: none; }
.tlpta-shell .tlpta-send { background: #141414; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.tlpta-shell .tlpta-mic { background: var(--tlpta-soft-2); color: #141414; }
.tlpta-shell .tlpta-composer { border-color: #D9D9D6; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.tlpta-shell .tlpta-composer:focus-within { border-color: #141414; box-shadow: 0 0 0 4px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.07); }
.tlpta-mictip { background: #141414; }

/* map: monochrome, no color legend */
.tlpta-shell .tlpta-legend { display: none; }

/* pages & cards */
.tlpta-cover-sun { background: rgba(255,255,255,.14); box-shadow: none; }
.tlpta-cover-art path:first-child { fill: rgba(255,255,255,.07); }
.tlpta-cover-art path:last-child { fill: rgba(255,255,255,.11); }
.tlpta-tripcard { background: #0e0e0e; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.tlpta-tripcard-txt em { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tlpta-empty-ic, .tlpta-update-ic { background: var(--tlpta-soft-2); color: #141414; }
.tlpta-backlink { color: #141414; }

/* forms */
.tlpta-gateform { border-top-color: #141414; }
.tlpta-gateform input:focus, .tlpta-gateform textarea:focus, .tlpta-leadform input:focus, .tlpta-leadform textarea:focus { border-color: #141414; box-shadow: 0 0 0 3px rgba(0,0,0,.07); }
.tlpta-eyebrow { color: #6B7280; }

.tlpta-cover-sun { display: none; }
.tlpta-shell .tlpta-close-global { background: #141414; border-color: #141414; }

/* v3.3.1: chat and map share the space 50/50; map always fills its area */
@media (min-width: 1101px) {
  .tlpta-shell { grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr); }
  .tlpta-shell.side-mini { grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .tlpta-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.tlpta-shell .tlpta-mapwrap { position: relative; min-height: 0; overflow: hidden; }
.tlpta-shell .tlpta-map { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .tlpta-shell .tlpta-mapwrap { position: absolute; } }
