/* ============================================================
   SHARED STYLES — Hazel Wong (index.html + planner.html)
   Nav, contact section components, contact modal, footer
   disclaimer, floating WhatsApp button, a11y helpers.
   Page-specific layout stays inside each page's <style> block.
   ============================================================ */

:root {
  --navy: #1F3D2E;
  --navy-mid: #2B5342;
  --gold: #35664C;
  --gold-light: #DCEBDD;
  /* Darker gold for TEXT on light backgrounds — passes WCAG AA (4.5:1+).
     --gold stays for borders, icons and large/bold accents. */
  --gold-text: #2B5342;
  --cream: #FFFFFF;
  --cream-dark: #E8EFEA;
  --text: #333333;
  --text-muted: #5a6b60;
  --border: rgba(31,61,46,0.12);
  --linkedin: #0A66C2;
  --uni: #2563EB;
  --wedding: #BE185D;
  --property: #065F46;
  --grands: #7C3AED;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  background: var(--navy);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- TOP NAV (used by both pages) ---------- */
.top-nav {
  background: rgba(11, 28, 63, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem clamp(0.75rem, 3.5vw, 1.75rem);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(200, 149, 42, 0.2);
}
.top-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.top-nav .nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.top-nav .nav-brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.top-nav .nav-brand-title {
  font-family: 'Roboto', Arial, sans-serif;
  color: white;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  white-space: nowrap;
}
.nav-tagline-badge {
  color: var(--gold-light);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(200, 149, 42, 0.16);
  border: 1px solid rgba(200, 149, 42, 0.28);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
}
.top-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.top-nav .nav-contact-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.top-nav .nav-contact-link:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}
.top-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #2B5342 100%);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.825rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(200, 149, 42, 0.28);
}
.top-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(200, 149, 42, 0.45);
}
@media (max-width: 680px) {
  .top-nav .nav-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .top-nav .nav-brand-title {
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .top-nav .nav-tagline-badge {
    font-size: 0.6rem;
    padding: 1.5px 6px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-block;
  }
  .top-nav .nav-actions { gap: 6px; }
  .top-nav .nav-contact-link {
    padding: 0.35rem 0.55rem;
    font-size: 0.775rem;
  }
  .top-nav .nav-cta {
    padding: 0.38rem 0.85rem;
    font-size: 0.775rem;
  }
}
@media (max-width: 480px) {
  .top-nav .nav-contact-link { display: none; }
  .top-nav .nav-tagline-badge {
    display: inline-block;
    font-size: 0.55rem;
    padding: 1.5px 5px;
  }
  .top-nav .nav-brand-title { font-size: 1rem; }
  .top-nav .nav-cta-arrow { display: none; }
}

/* ---------- CONTACT SECTION COMPONENTS ----------
   (outer .contact-section margins/padding differ per page and
   stay in each page's own <style> block) */
.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.4rem;
}
.contact-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.contact-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.contact-card-wrap {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(11,28,63,0.07);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .contact-card-wrap { grid-template-columns: 320px 1fr; }
}
.contact-info-col {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-advisor-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.contact-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.contact-advisor-name {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: white;
  line-height: 1.2;
  margin-bottom: 2px;
}
.contact-advisor-sub {
  font-size: 0.725rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-advisor-firm {
  font-size: 0.725rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.contact-info-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.contact-detail-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: var(--gold-light);
  margin-top: 2px;
}
.contact-detail-item a {
  color: var(--gold-light);
  text-decoration: none;
  word-break: break-all;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-detail-item a:hover {
  color: white;
  text-decoration: underline;
}
.contact-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  margin-top: auto;
}
.contact-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  color: rgba(255,255,255,0.78);
}
.contact-trust-badge span.tb-icon { font-size: 0.95rem; }
.contact-direct-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(220,235,221,0.18);
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  margin-top: 1rem;
}
.contact-direct-cta:hover {
  background: var(--gold);
  color: white;
}
.contact-form-col {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: white;
}
.contact-form-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.contact-form-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 580px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-group label span.opt {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(11,28,63,0.08);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 6L9 1' stroke='%236B6B80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-textarea {
  resize: vertical;
  min-height: 95px;
}
.contact-submit-btn {
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.92rem 1.85rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.contact-submit-btn:hover:not(:disabled) {
  background: #1eb857;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}
.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.contact-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  line-height: 1.4;
}
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-status.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-status.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-status.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.contact-modal-link {
  font-size: 0.8rem;
  color: var(--navy);
  text-decoration: underline;
  margin-top: 8px;
  font-weight: 500;
  cursor: pointer;
}
.contact-modal-link:hover { color: var(--gold-text); }

/* ---------- FOOTER DISCLAIMER BOX ---------- */
.disclaimer-box {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.disclaimer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 10px;
}
.disclaimer-box p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}
.disclaimer-box p:last-child { margin-bottom: 0; }

/* ---------- 5-MIN CONTACT MODAL ---------- */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 63, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-modal-overlay.active { opacity: 1; }
.contact-modal-card {
  background: white;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(11, 28, 63, 0.25);
  border: 1.5px solid rgba(200, 149, 42, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.contact-modal-overlay.active .contact-modal-card {
  transform: translateY(0) scale(1);
}
.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #5a6b60;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.contact-modal-close:hover {
  background: #E8EFEA;
  color: #1F3D2E;
}
.contact-modal-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #DCEBDD;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  margin: 0 auto 1rem;
  display: block;
}
.contact-modal-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 6px;
}
.contact-modal-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.5rem;
  color: #1F3D2E;
  line-height: 1.25;
  margin-bottom: 8px;
}
.contact-modal-desc {
  font-size: 0.92rem;
  color: #5a6b60;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.contact-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25D366;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.contact-modal-cta:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.contact-modal-cta svg { flex-shrink: 0; }
.contact-modal-later {
  display: inline-block;
  background: none;
  border: none;
  color: #5a6b60;
  font-size: 0.825rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.contact-modal-later:hover { color: #1F3D2E; }

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom));
  right: 24px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.whatsapp-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.whatsapp-floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(11, 28, 63, 0.94);
  color: white;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.whatsapp-floating-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 600px) {
  .whatsapp-floating-btn {
    width: 48px;
    height: 48px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    right: 18px;
  }
  .whatsapp-floating-btn svg {
    width: 26px;
    height: 26px;
  }
  .wa-tooltip { display: none; }
}

/* ---------- CHATBOT WIDGET (Ask Hazel) ----------
   Scripted FAQ chatbot injected by js/shared.js. The launcher
   stacks below the floating WhatsApp button; the panel opens
   above the launcher. z-index: below contact modal (10000). */

.hcb-launcher {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11, 28, 63, 0.45);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hcb-launcher:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 28, 63, 0.55);
}
.hcb-launcher svg { width: 26px; height: 26px; fill: currentColor; }
.hcb-launcher .hcb-ic-close { display: none; }
.hcb-root.hcb-open .hcb-launcher .hcb-ic-chat { display: none; }
.hcb-root.hcb-open .hcb-launcher .hcb-ic-close { display: block; }
.hcb-launcher .hcb-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
  display: none;
}
.hcb-launcher.hcb-unread .hcb-dot { display: block; }
.hcb-launcher.hcb-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: hcbPulse 2s ease-out infinite;
}
@keyframes hcbPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70%, 100% { transform: scale(1.3); opacity: 0; }
}

.hcb-panel {
  position: fixed;
  bottom: calc(92px + env(safe-area-inset-bottom));
  right: 24px;
  width: 372px;
  max-width: calc(100vw - 48px);
  max-height: min(560px, 72vh);
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 28, 63, 0.28);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1500;
  font-family: 'Roboto', Arial, sans-serif;
}
.hcb-root.hcb-open .hcb-panel { display: flex; }

.hcb-header {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: white;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hcb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}
.hcb-head-name {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}
.hcb-head-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.hcb-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  display: inline-block;
  flex-shrink: 0;
}
.hcb-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hcb-close:hover { background: rgba(255, 255, 255, 0.25); }

.hcb-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}
.hcb-msg {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.hcb-msg-bot {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.hcb-msg-user {
  align-self: flex-end;
  background: var(--navy);
  color: white;
  border-bottom-right-radius: 4px;
}
.hcb-msg-bot strong { color: var(--navy); }
.hcb-typing { display: flex; gap: 4px; align-items: center; }
.hcb-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: hcbBlink 1.2s infinite;
}
.hcb-typing span:nth-child(2) { animation-delay: 0.2s; }
.hcb-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes hcbBlink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.hcb-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hcb-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
  border: 1.5px solid var(--gold);
  background: rgba(200, 149, 42, 0.08);
  padding: 5px 11px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.hcb-link:hover { background: var(--gold); color: white; }

.hcb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 2px;
  background: var(--cream);
  flex-shrink: 0;
}
.hcb-chips:empty { display: none; }
.hcb-chip {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(11, 28, 63, 0.18);
  border-radius: 16px;
  padding: 6px 11px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hcb-chip:hover { border-color: var(--gold); background: rgba(200, 149, 42, 0.08); }

.hcb-inputrow {
  display: flex;
  gap: 8px;
  padding: 10px 12px 6px;
  background: white;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.hcb-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(11, 28, 63, 0.18);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  outline: none;
  background: var(--cream);
}
.hcb-input:focus { border-color: var(--gold); }
.hcb-send {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hcb-send:hover { background: var(--gold-light); transform: scale(1.06); }
.hcb-send svg { width: 17px; height: 17px; fill: currentColor; }
.hcb-disclaimer {
  text-align: center;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding: 0 12px 8px;
  background: white;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hcb-launcher {
    width: 48px;
    height: 48px;
    right: 18px;
    bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .hcb-launcher svg { width: 22px; height: 22px; }
  .hcb-panel {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-height: 70vh;
  }
}

@media print {
  .hcb-launcher, .hcb-panel { display: none !important; }
}
