/* HartAI Chat Widget — Premium Dark Design */

/* ── Trigger ── */
.ha-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, #11233D 0%, #0C1A2C 100%);
  color: #fff;
  border: 1px solid rgba(27,77,255,0.3);
  border-radius: 56px;
  padding: 12px 20px 12px 14px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(27,77,255,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
  font-family: 'Schibsted Grotesk', sans-serif;
  white-space: nowrap;
}
.ha-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(27,77,255,0.2), 0 0 0 1px rgba(27,77,255,0.2);
}
.ha-trigger:active { transform: translateY(-1px) scale(0.99); }

.ha-trigger-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #11233D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ha-trigger-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(27,77,255,0.4);
  animation: haRing 2.5s ease-in-out infinite;
}
@keyframes haRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 0; }
}

.ha-trigger-info { display: flex; flex-direction: column; gap: 1px; }
.ha-trigger-name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.ha-trigger-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,0.6); }
.ha-trigger-dot {
  width: 6px; height: 6px;
  background: #5FE0A8;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
}

.ha-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0C1A2C;
  animation: haPopIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.ha-badge[hidden] { display: none; }

@keyframes haPopIn {
  from { transform: scale(0) rotate(-15deg); }
  to   { transform: scale(1) rotate(0deg); }
}

/* ── Panel ── */
.ha-panel {
  position: fixed;
  bottom: 94px;
  right: 28px;
  z-index: 9001;
  width: 390px;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  background: #0A1422;
  border-radius: 22px;
  border: 1px solid rgba(27,77,255,0.18);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 60px rgba(27,77,255,0.06);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.88) translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34,1.3,0.64,1), opacity 0.22s ease;
}
.ha-panel.is-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Accent bar top ── */
.ha-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6E93FF, #11233D, #6E93FF);
  background-size: 200% 100%;
  animation: haShift 4s linear infinite;
  z-index: 1;
}
@keyframes haShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ── Header ── */
.ha-header {
  background: linear-gradient(145deg, #08111D 0%, #0C1A2C 55%, #0A1422 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ha-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -25%;
  width: 150%; height: 220%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(27,77,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(27,77,255,0.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.ha-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.15) 1px, transparent 1px),
    radial-gradient(circle at 72% 14%, rgba(255,255,255,0.10) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(27,77,255,0.12) 1px, transparent 1px),
    radial-gradient(circle at 88% 55%, rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle at 8% 82%, rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle at 60% 35%, rgba(27,77,255,0.06) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}
.ha-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 12px 18px;
  position: relative;
  z-index: 1;
}
.ha-header-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(27,77,255,0.12);
  padding: 6px 18px 8px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(27,77,255,0.40);
  text-transform: uppercase;
  text-align: center;
}

.ha-header-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #11233D;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 2px #6E93FF, 0 0 16px rgba(27,77,255,0.4);
}
.ha-header-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: #5FE0A8;
  border: 2px solid #0C1A2C;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
}

.ha-header-info { flex: 1; min-width: 0; }
.ha-header-role {
  font-size: 9.5px;
  color: rgba(27,77,255,0.75);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 2px 0 5px;
}
.ha-header-name {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
  line-height: 1;
}
.ha-header-status {
  color: rgba(255,255,255,0.45);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ha-status-live {
  color: #6E93FF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ha-status-live::before {
  content: '';
  width: 5px; height: 5px;
  background: #6E93FF;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #6E93FF;
}

.ha-close,
.ha-tour-trigger {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  width: 30px; height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.ha-close:hover,
.ha-tour-trigger:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.ha-tour-trigger { font-size: 16px; }

/* ── Messages ── */
.ha-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(27,77,255,0.04) 0%, transparent 60%),
    #0A1422;
}
.ha-messages::-webkit-scrollbar { width: 3px; }
.ha-messages::-webkit-scrollbar-track { background: transparent; }
.ha-messages::-webkit-scrollbar-thumb { background: rgba(27,77,255,0.2); border-radius: 2px; }

/* ── Bubbles ── */
.ha-msg {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  animation: haFadeUp 0.28s ease;
}
.ha-msg--user { flex-direction: row-reverse; }

@keyframes haFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ha-msg-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #11233D;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  overflow: hidden;
  box-shadow: 0 0 0 2px #6E93FF;
}

.ha-msg-bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
}

.ha-msg--agent .ha-msg-bubble {
  background: rgba(255,255,255,0.06);
  color: #d4dce8;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px 18px 18px 18px;
}
.ha-msg--user .ha-msg-bubble {
  background: linear-gradient(135deg, #11233D 0%, #1e4a6e 100%);
  color: #fff;
  border: 1px solid rgba(27,77,255,0.2);
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 16px rgba(27,54,93,0.4);
}

.ha-msg-bubble strong { font-weight: 700; color: #6E93FF; }
.ha-msg--user .ha-msg-bubble strong { color: #AFC6FF; }

/* ── Typing ── */
.ha-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px 18px 18px 18px;
  width: fit-content;
}
.ha-typing span {
  width: 6px; height: 6px;
  background: #6E93FF;
  border-radius: 50%;
  display: block;
  animation: haBounce 1.3s ease-in-out infinite;
}
.ha-typing span:nth-child(2) { animation-delay: 0.18s; }
.ha-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes haBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-7px); opacity: 1; }
}

/* ── Quick Actions ── */
.ha-quick-actions {
  padding: 6px 14px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #0A1422;
}
.ha-quick-actions[hidden] { display: none; }

.ha-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(27,77,255,0.2);
  color: rgba(255,255,255,0.75);
  border-radius: 20px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: 'Schibsted Grotesk', sans-serif;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}
.ha-chip:hover {
  background: rgba(27,77,255,0.12);
  border-color: rgba(27,77,255,0.5);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,77,255,0.15);
}
.ha-chip:active { transform: translateY(0); }

/* ── Input Area ── */
.ha-input-area {
  padding: 12px 14px 14px;
  background: #0C1A2C;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 9px;
  align-items: flex-end;
  flex-shrink: 0;
}

.ha-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Schibsted Grotesk', sans-serif;
  color: #d4dce8;
  resize: none;
  outline: none;
  line-height: 1.5;
  max-height: 96px;
  overflow-y: auto;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.ha-input:focus {
  border-color: rgba(27,77,255,0.5);
  background: rgba(27,77,255,0.04);
  box-shadow: 0 0 0 3px rgba(27,77,255,0.08);
}
.ha-input::placeholder { color: rgba(255,255,255,0.25); }

.ha-send {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6E93FF 0%, #3A63E0 100%);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  box-shadow: 0 4px 16px rgba(27,77,255,0.4);
}
.ha-send:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(27,77,255,0.55);
}
.ha-send:active { transform: scale(0.95); }
.ha-send:disabled { opacity: 0.35; cursor: default; transform: none; box-shadow: none; }
.ha-send svg { width: 17px; height: 17px; fill: #fff; }

/* ── Streaming cursor ── */
.ha-cursor {
  display: inline-block;
  width: 2px; height: 13px;
  background: #6E93FF;
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: haBlink 0.75s ease-in-out infinite;
}
@keyframes haBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Summary bar ── */
.ha-summary-bar {
  padding: 8px 14px;
  background: rgba(27,77,255,0.06);
  border-top: 1px solid rgba(27,77,255,0.12);
  flex-shrink: 0;
}
.ha-summary-btn {
  width: 100%;
  background: rgba(27,77,255,0.1);
  border: 1px solid rgba(27,77,255,0.25);
  color: #6E93FF;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Schibsted Grotesk', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.18s, border-color 0.18s;
}
.ha-summary-btn:hover {
  background: rgba(27,77,255,0.18);
  border-color: rgba(27,77,255,0.5);
}

/* ── Footer branding ── */
.ha-branding {
  text-align: center;
  padding: 7px 0 9px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.2);
  background: #0C1A2C;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.ha-branding a { color: rgba(27,77,255,0.7); text-decoration: none; font-weight: 600; }
.ha-branding a:hover { color: #6E93FF; }

/* ── Mobile ── */
@media (max-width: 640px) {
  /* Panel — full-width bottom sheet */
  .ha-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%;
    max-height: 90dvh;
    max-height: 90vh; /* fallback */
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
    transform: scale(0.96) translateY(32px);
    border-left: none; border-right: none; border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .ha-panel.is-open {
    transform: scale(1) translateY(0);
  }

  /* Trigger — iets kleiner */
  .ha-trigger {
    bottom: 18px; right: 14px;
    padding: 10px 16px 10px 10px;
    gap: 9px;
  }
  .ha-trigger-icon { width: 40px; height: 40px; }

  /* Header — compacter */
  .ha-header-main {
    padding: 14px 14px 10px 14px;
    gap: 11px;
  }
  .ha-header-avatar { width: 48px; height: 48px; }
  .ha-header-avatar::after {
    width: 9px; height: 9px;
    bottom: 1px; right: 1px;
  }
  .ha-header-name { font-size: 14px; }
  .ha-header-role { font-size: 8.5px; margin: 1px 0 4px; }
  .ha-header-status { font-size: 10.5px; }
  .ha-header-bar { font-size: 7px; padding: 5px 14px 7px; letter-spacing: 0.13em; }
  .ha-close { width: 28px; height: 28px; font-size: 14px; }

  /* Messages */
  .ha-messages { padding: 12px 12px 6px; }
  .ha-msg-bubble { font-size: 13.5px; padding: 10px 13px; max-width: 88%; }

  /* Message avatar */
  .ha-msg-avatar { width: 36px; height: 36px; }

  /* Quick actions — horizontaal scrollen */
  .ha-quick-actions {
    padding: 4px 10px 8px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ha-quick-actions::-webkit-scrollbar { display: none; }
  .ha-chip { white-space: nowrap; flex-shrink: 0; font-size: 11.5px; padding: 7px 12px; }

  /* Input area — keyboard-safe */
  .ha-input-area {
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .ha-input { font-size: 16px; } /* 16px voorkomt auto-zoom op iOS */

  /* Tour offer */
  .ha-tour-offer { margin: 6px 10px 4px; padding: 11px 12px; }
  .ha-tour-offer__btns { flex-direction: column; gap: 7px; }
  .ha-tour-offer__btn { width: 100%; justify-content: center; padding: 10px 14px; font-size: 13px; }

  /* Cards */
  .ha-cards { margin: 6px 10px; }
  .ha-card--nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ha-card--nav .ha-card__btn { align-self: flex-end; margin-top: 2px; }
  .ha-card__pricing-tiers { gap: 6px; }
  .ha-card__tier { padding: 8px 10px; }
  .ha-card__tier-price { font-size: 16px; }
}

/* ── Zeer kleine telefoons (≤ 360px) ── */
@media (max-width: 360px) {
  .ha-trigger-info { display: none; }
  .ha-trigger { padding: 10px; border-radius: 50%; gap: 0; }
  .ha-trigger-icon { width: 44px; height: 44px; }
}

/* ── Desktop Sidebar ── */
@media (min-width: 768px) {
  .ha-panel.ha-sidebar {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 400px;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border-left: 1px solid rgba(27,77,255,0.18);
    border-top: none;
    border-right: none;
    border-bottom: none;
    transform: translateX(110%);
    opacity: 1;
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    transform-origin: right center;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4), -1px 0 0 rgba(27,77,255,0.12);
  }
  .ha-panel.ha-sidebar.is-open {
    transform: translateX(0);
  }
  .ha-panel.ha-sidebar .ha-messages {
    flex: 1;
    min-height: 0;
  }
  .ha-panel.ha-sidebar .ha-header-main {
    padding: 20px 20px 14px;
  }
}

/* ── Cards container ── */
.ha-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 6px 43px;
  animation: haFadeUp 0.3s ease;
}

/* ── Base card ── */
.ha-card {
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 13px;
}

/* ── Nav card ── */
.ha-card--nav {
  background: rgba(27,77,255,0.07);
  border: 1px solid rgba(27,77,255,0.22);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  transition: background 0.15s;
}
.ha-card--nav:hover { background: rgba(27,77,255,0.14); }

.ha-card__icon {
  width: 30px; height: 30px;
  background: rgba(27,77,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ha-card__body { flex: 1; min-width: 0; }
.ha-card__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-card__desc {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-card__btn {
  background: rgba(27,77,255,0.18);
  border: 1px solid rgba(27,77,255,0.32);
  color: #6E93FF;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ha-card__btn:hover { background: rgba(27,77,255,0.32); }

/* ── Pricing card ── */
.ha-card--pricing {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
}
.ha-card__pricing-head {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 11px;
}
.ha-card__pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 11px;
}
.ha-card__tier {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 7px 8px;
  text-align: center;
  position: relative;
}
.ha-card__tier--featured {
  background: rgba(27,77,255,0.1);
  border-color: rgba(27,77,255,0.28);
}
.ha-card__tier-badge {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  background: #6E93FF;
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}
.ha-card__tier-name {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 5px;
}
.ha-card__tier-price {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.ha-card__tier-price span {
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
}
.ha-card__tier-info { font-size: 9px; color: rgba(255,255,255,0.3); line-height: 1.3; }
.ha-card__cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #6E93FF, #3A63E0);
  color: #fff;
  padding: 9px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ha-card__cta:hover { opacity: 0.88; }

/* ── Meeting card ── */
.ha-card--meeting {
  background: linear-gradient(135deg, rgba(27,77,255,0.1), rgba(27,54,93,0.15));
  border: 1px solid rgba(27,77,255,0.25);
  padding: 12px 13px;
}
.ha-card__meet-inner {
  display: flex;
  align-items: center;
  gap: 11px;
}
.ha-card__meet-icon { font-size: 22px; flex-shrink: 0; }
.ha-card__meet-body { flex: 1; }
.ha-card__meet-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.ha-card__meet-desc { font-size: 11px; color: rgba(255,255,255,0.45); }
.ha-card__meet-btn {
  background: #6E93FF;
  color: #fff;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ha-card__meet-btn:hover { background: #4F7BFF; }

/* ── Guided Navigator: Spotlight ── */
.ha-spotlight {
  outline: 2px solid #6E93FF !important;
  outline-offset: 6px;
  box-shadow: 0 0 0 8px rgba(27,77,255,0.08), 0 0 40px rgba(27,77,255,0.18) !important;
  border-radius: 12px;
  animation: ha-spotlight-pulse 1.8s ease-in-out 2;
  position: relative;
  z-index: 2;
  transition: outline 0.3s, box-shadow 0.3s;
}
@keyframes ha-spotlight-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(27,77,255,0.08), 0 0 40px rgba(27,77,255,0.18); }
  50%       { box-shadow: 0 0 0 14px rgba(27,77,255,0.14), 0 0 60px rgba(27,77,255,0.28); }
}

/* ── Guided Navigator: Tour Offer ── */
.ha-tour-offer {
  margin: 8px 12px 4px;
  background: rgba(27,77,255,0.07);
  border: 1px solid rgba(27,77,255,0.2);
  border-radius: 14px;
  padding: 12px 14px;
  animation: haFadeUp 0.3s ease;
}
.ha-tour-offer__text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 10px;
  font-weight: 500;
}
.ha-tour-offer__btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ha-tour-offer__btn {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.ha-tour-offer__btn--yes {
  background: #6E93FF;
  color: #fff;
}
.ha-tour-offer__btn--yes:hover { background: #4F7BFF; }
.ha-tour-offer__btn--no {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
.ha-tour-offer__btn--no:hover { background: rgba(255,255,255,0.13); }


/* coexist with sticky CTA bar (mockup) */
.ha-trigger{transition:bottom .4s cubic-bezier(.22,.61,.36,1)}
body.sticky-on .ha-trigger{bottom:96px}
body.sticky-on .ha-panel{bottom:162px}


/* ============================================================
   LIGHT THEME — in lijn met de site / tour-kaart
   ============================================================ */
.ha-panel{background:#fff!important;border:1px solid #E4E1D8;color:#10151B}
.ha-panel::before{background:linear-gradient(90deg,#1B4DFF,#AFC6FF,#1B4DFF)}
.ha-header{background:#FBFAF7!important;border-bottom:1px solid #E4E1D8}
.ha-header::before,.ha-header::after{display:none!important}
.ha-header-name{color:#10151B}
.ha-header-role{color:#586173}
.ha-header-status{color:#8A93A2}
.ha-status-live{color:#1B4DFF}
.ha-status-live::before{background:#1B4DFF}
.ha-header-bar{background:#F5F5F7;border-top:1px solid #E4E1D8;color:#8A93A2}
.ha-header-avatar{background:#EDEFF2}
.ha-header-avatar::after{background:#168F5E;border-color:#fff}
.ha-close,.ha-tour-trigger{background:#fff;border:1px solid #E4E1D8;color:#586173}
.ha-close:hover,.ha-tour-trigger:hover{background:#F5F5F7;color:#10151B}
.ha-messages{background:#fff}
.ha-messages::-webkit-scrollbar-thumb{background:#E4E1D8}
.ha-msg-avatar{background:#EDEFF2}
.ha-msg--agent .ha-msg-bubble{background:#F1F0EC!important;color:#10151B!important;border:1px solid #E9E7E0!important}
.ha-msg--user .ha-msg-bubble{background:#1B4DFF!important;color:#fff!important;border:none!important}
.ha-msg-bubble strong{color:#1B4DFF}
.ha-msg--user .ha-msg-bubble strong{color:#fff}
.ha-typing span{background:#8A93A2}
.ha-chip{background:#fff!important;border:1px solid #E4E1D8!important;color:#10151B!important}
.ha-chip:hover{background:#F5F5F7!important;border-color:#1B4DFF!important;color:#1B4DFF!important}
.ha-input{background:#F7F6F2!important;border:1px solid #E4E1D8!important;color:#10151B!important}
.ha-input:focus{border-color:#1B4DFF!important;background:#fff!important}
.ha-input::placeholder{color:#8A93A2}
.ha-send{background:#1B4DFF!important}
.ha-send:hover{background:#0E2FB0!important}
.ha-branding{color:#8A93A2}
.ha-branding a{color:#1B4DFF}
.ha-branding a:hover{color:#0E2FB0}
/* cards */
.ha-card,.ha-card--nav{background:#fff;border:1px solid #E4E1D8}
.ha-card--nav:hover{background:#F5F5F7}
.ha-card__title,.ha-card__meet-title,.ha-card__tier-price{color:#10151B}
.ha-card__desc,.ha-card__meet-desc,.ha-card__tier-name,.ha-card__tier-info,.ha-card__pricing-head,.ha-card__tier-price span{color:#586173}
.ha-card__icon{background:rgba(27,77,255,.1)}
.ha-card__btn,.ha-summary-btn{background:rgba(27,77,255,.1);border:1px solid rgba(27,77,255,.25);color:#1B4DFF}
.ha-card__btn:hover{background:rgba(27,77,255,.18)}
.ha-card__tier{background:#F5F5F7;border:1px solid #E4E1D8}
.ha-card__tier--featured{background:rgba(27,77,255,.07);border-color:rgba(27,77,255,.3)}
.ha-card__cta,.ha-card__meet-btn{background:#1B4DFF;color:#fff}
.ha-card__meet-btn:hover{background:#0E2FB0}
/* tour-aanbod in de chat */
.ha-tour-offer{background:#F5F5F7;border:1px solid #E4E1D8}
.ha-tour-offer__text{color:#10151B}
.ha-tour-offer__btn--yes{background:#1B4DFF;color:#fff}
.ha-tour-offer__btn--yes:hover{background:#0E2FB0}
.ha-tour-offer__btn--no{background:#fff;border:1px solid #E4E1D8;color:#586173}
.ha-tour-offer__btn--no:hover{background:#F0F0F3}
/* launcher: ink pill, pops op de lichte pagina */
.ha-trigger{background:#10151B!important}
.ha-trigger-name{color:#fff}
.ha-trigger-status{color:rgba(255,255,255,.65)}
.ha-trigger-icon{background:#11233D}
