/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --sterling-forest: #1B3A2D;
  --sterling-forest-deep: #0e1a14;
  --sterling-forest-soft: #142c20;
  --sterling-gold: #C9A84C;
  --sterling-gold-soft: #B89538;
  --sterling-cream: #F5EFE2;
  --sterling-light: #EAE4D4;
  --sterling-muted: #6B7C70;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--sterling-forest-deep);
  color: var(--sterling-cream);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; }
textarea, input, select { font-family: inherit; }

/* Universal focus ring — gold, subtle, accessible */
:focus-visible {
  outline: 2px solid var(--sterling-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Strip default focus for buttons that have their own focus styling */
button:focus { outline: none; }

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

/* Cleaner selection color */
::selection {
  background: rgba(201,168,76,0.35);
  color: var(--sterling-cream);
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.top-bar {
  background: var(--sterling-forest-deep);
  border-bottom: 0.5px solid rgba(201,168,76,0.25);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-area { display: flex; align-items: center; gap: 12px; }

.logo-icon {
  width: 34px; height: 34px;
  background: var(--sterling-gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
  color: var(--sterling-forest-deep);
  font-family: 'Cormorant Garamond', serif;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--sterling-cream);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 10px;
  color: var(--sterling-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex; gap: 24px;
  font-size: 12px;
  color: rgba(245,239,226,0.6);
  letter-spacing: 0.06em;
}
.nav-links span { cursor: pointer; transition: color 0.15s; }
.nav-links span:hover { color: var(--sterling-gold); }

.btn-member {
  background: transparent;
  border: 0.5px solid var(--sterling-gold);
  color: var(--sterling-gold);
  font-size: 11px;
  padding: 7px 16px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.split-area {
  display: flex;
  flex: 1 1;
  min-height: calc(100vh - 60px);
}

/* ── Left pane ──────────────────────────────────────────────────────── */
.left-pane {
  flex: 1.15 1;
  display: flex;
  flex-direction: column;
  background: var(--sterling-forest-deep);
  position: relative;
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-bg {
  width: 100%; height: 100%; min-height: 230px;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(201,168,76,0.05) 0%, transparent 40%),
    linear-gradient(135deg, var(--sterling-forest) 0%, var(--sterling-forest-deep) 40%, var(--sterling-forest-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.hero-content { position: relative; z-index: 2; text-align: center; padding: 28px 24px; max-width: 540px; }

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--sterling-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--sterling-cream);
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: var(--sterling-gold); }

.hero-sub {
  font-size: 13px;
  color: rgba(245,239,226,0.6);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 18px;
}

.ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 0.5px solid rgba(201,168,76,0.35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  color: var(--sterling-gold);
  letter-spacing: 0.06em;
}
.ai-pulse {
  width: 6px; height: 6px;
  background: var(--sterling-gold);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.chat-section {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding: 0 24px 20px;
  min-height: 0; /* allow inner scroll */
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.55);
  padding: 14px 0 12px;
  border-bottom: 0.5px solid rgba(201,168,76,0.1);
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.chip {
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  font-size: 11px;
  color: rgba(245,239,226,0.7);
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.chip:hover {
  background: rgba(201,168,76,0.18);
  color: var(--sterling-gold);
  border-color: rgba(201,168,76,0.45);
}

.chat-messages {
  flex: 1 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 4px 4px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.2) transparent;
}

.msg-user {
  align-self: flex-end;
  background: rgba(201,168,76,0.16);
  border: 0.5px solid rgba(201,168,76,0.3);
  border-radius: 14px 14px 2px 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sterling-cream);
  max-width: 85%;
  line-height: 1.55;
}

.msg-ai { align-self: flex-start; max-width: 92%; display: flex; gap: 10px; align-items: flex-start; }

.ai-avatar {
  width: 26px; height: 26px;
  background: var(--sterling-gold);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--sterling-forest-deep);
  margin-top: 2px;
  font-family: 'Cormorant Garamond', serif;
}

.ai-bubble {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 2px 14px 14px 14px;
  padding: 11px 15px;
  font-size: 13.5px;
  color: rgba(245,239,226,0.9);
  line-height: 1.65;
  white-space: pre-wrap;
}
.ai-bubble strong { color: var(--sterling-gold); font-weight: 500; }
.ai-bubble code {
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.props-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.prop-card {
  background: rgba(27,58,45,0.55);
  border: 0.5px solid rgba(201,168,76,0.22);
  border-radius: 10px;
  padding: 0;
  display: flex;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  overflow: hidden;
}
.prop-card:hover { border-color: rgba(201,168,76,0.55); transform: translateY(-1px); }
.prop-card.selected { border-color: var(--sterling-gold); background: rgba(201,168,76,0.08); }

.prop-thumb {
  width: 110px; height: 96px; flex-shrink: 0;
  background-size: cover; background-position: center;
  position: relative;
  background-color: var(--sterling-forest);
}
.prop-thumb-fallback {
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,76,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--sterling-forest) 0%, var(--sterling-forest-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,168,76,0.04) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(245,239,226,0.025) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.prop-thumb-mark {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--sterling-gold);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.prop-info { flex: 1 1; padding: 10px 14px; display: flex; flex-direction: column; }
.prop-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--sterling-cream);
  margin-bottom: 3px;
  letter-spacing: 0.005em;
}
.prop-location { font-size: 10.5px; color: rgba(245,239,226,0.45); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 5px; }
.prop-why { font-size: 11.5px; color: rgba(245,239,226,0.65); line-height: 1.45; margin-bottom: 6px; }

.prop-meta { display: flex; gap: 6px; margin-top: auto; align-items: center; flex-wrap: wrap; }
.prop-tag { font-size: 10px; padding: 2px 8px; border-radius: 10px; background: rgba(201,168,76,0.12); color: var(--sterling-gold); letter-spacing: 0.04em; }
.prop-price { font-size: 11px; color: rgba(245,239,226,0.55); margin-left: auto; font-weight: 500; }

.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 8px 0; }
.typing-indicator span {
  width: 5px; height: 5px;
  background: var(--sterling-gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: bounce 1.2s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* ── Image attachment + drag overlay ────────────────────────────────── */
.drag-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,26,20,0.92);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--sterling-gold);
  border-radius: 12px;
  pointer-events: none;
}
.drag-overlay-inner {
  text-align: center;
  color: var(--sterling-gold);
}

.attachment-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,211,238,0.06);
  border: 0.5px solid rgba(34,211,238,0.35);
  border-radius: 10px;
  padding: 8px;
  margin-top: 10px;
}
.attachment-pill img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.attachment-info { flex: 1 1; min-width: 0; }
.attachment-name {
  font-size: 12px;
  color: #67e8f9;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.attachment-size {
  font-size: 10.5px;
  color: rgba(245,239,226,0.5);
  margin-top: 2px;
}
.attachment-remove {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.15);
  color: rgba(245,239,226,0.6);
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.attachment-remove:hover {
  color: var(--sterling-cream);
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
}

.msg-user-wrap {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
}
.msg-user-wrap.has-image .msg-user { max-width: 100%; }

.msg-user-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-width: 360px;
  border: 0.5px solid rgba(34,211,238,0.35);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 4px rgba(34,211,238,0.06);
  animation: imageReveal 0.5s ease-out;
}
@keyframes imageReveal {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.msg-user-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}
.msg-user-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 100%);
  font-size: 11px;
  color: rgba(245,239,226,0.95);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.msg-user-image-icon {
  color: #67e8f9;
  font-size: 10px;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── Vision Analysis Card ─────────────────────────────────────────────── */
.vision-card {
  background: linear-gradient(135deg, rgba(34,211,238,0.10) 0%, rgba(201,168,76,0.08) 100%);
  border: 0.5px solid rgba(34,211,238,0.32);
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  animation: visionFadeIn 0.5s ease-out;
}
@keyframes visionFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(34,211,238,0.15) 0%, transparent 45%);
  pointer-events: none;
}

.vision-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}
.vision-card-icon {
  width: 42px; height: 42px;
  background: rgba(34,211,238,0.15);
  border: 0.5px solid rgba(34,211,238,0.4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.vision-card-titles { flex: 1 1; min-width: 0; }
.vision-card-eyebrow {
  font-size: 9.5px;
  color: #67e8f9;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3px;
}
.vision-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--sterling-cream);
  text-transform: capitalize;
  line-height: 1.15;
}
.vision-mood {
  font-style: italic;
  color: rgba(245,239,226,0.7);
  font-weight: 400;
  font-size: 16px;
}
.vision-provider {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(103,232,249,0.7);
  background: rgba(34,211,238,0.06);
  border: 0.5px solid rgba(34,211,238,0.2);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.vision-section { position: relative; margin-bottom: 10px; }
.vision-section-label {
  font-size: 9.5px;
  color: rgba(245,239,226,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vision-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.vision-feature-chip {
  background: rgba(245,239,226,0.07);
  border: 0.5px solid rgba(245,239,226,0.15);
  color: rgba(245,239,226,0.85);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.vision-palette {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vision-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.vision-swatch {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  position: relative;
}
.vision-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.vision-swatch-label {
  font-size: 9.5px;
  color: rgba(245,239,226,0.55);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  max-width: 56px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vision-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 8px;
  flex-wrap: wrap;
}
.vision-meta {
  font-size: 11px;
  color: rgba(245,239,226,0.55);
  letter-spacing: 0.02em;
}
.vision-confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: rgba(245,239,226,0.55);
  margin-left: auto;
}
.vision-confidence-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: rgba(245,239,226,0.42);
}
.vision-confidence-bar {
  width: 60px; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.vision-confidence-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #67e8f9, #C9A84C);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.vision-confidence-num {
  font-family: 'JetBrains Mono', monospace;
  color: #67e8f9;
  font-weight: 500;
}

.vision-query {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(34,211,238,0.18);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.vision-query-arrow {
  color: #67e8f9;
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}
.vision-query-text {
  flex: 1 1;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(245,239,226,0.7);
}
.vision-query-label {
  color: rgba(103,232,249,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 9.5px;
  font-weight: 500;
}
.vision-query-text em {
  color: var(--sterling-cream);
  font-style: italic;
}

/* ── Clarification Chips ──────────────────────────────────────────────── */
.clarification-card {
  margin-top: 14px;
  padding: 14px 14px 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(201,168,76,0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.015) 100%);
  border: 0.5px solid rgba(201,168,76,0.3);
  border-radius: 14px;
  animation: clarificationIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  position: relative;
  overflow: hidden;
}
@keyframes clarificationIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.clarification-card.consumed {
  opacity: 0.55;
  filter: saturate(0.65);
}
.clarification-card.consumed .clarification-chip {
  cursor: default;
}

.clarification-header {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 11px;
}
.clarification-spark {
  color: var(--sterling-gold);
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  animation: sparkPulse 2.4s ease-in-out infinite;
}
@keyframes sparkPulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.85; }
  50%      { transform: rotate(180deg) scale(1.15); opacity: 1; }
}
.clarification-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--sterling-cream);
  line-height: 1.3;
  letter-spacing: 0.005em;
}

.clarification-chips {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.clarification-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.025) 100%);
  border: 0.5px solid rgba(201,168,76,0.28);
  border-radius: 10px;
  color: var(--sterling-cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.clarification-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.clarification-chip:hover:not(:disabled) {
  border-color: rgba(201,168,76,0.6);
  background: linear-gradient(180deg, rgba(201,168,76,0.14) 0%, rgba(201,168,76,0.06) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.clarification-chip:hover:not(:disabled)::before {
  transform: translateX(100%);
}
.clarification-chip:active:not(:disabled) {
  transform: translateY(0);
}
.clarification-chip:disabled {
  cursor: default;
  opacity: 0.7;
}

.clarification-chip-icon {
  font-size: 17px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(201,168,76,0.1);
  border: 0.5px solid rgba(201,168,76,0.18);
  flex-shrink: 0;
}
.clarification-chip-label {
  flex: 1 1;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245,239,226,0.92);
}
.clarification-chip-arrow {
  color: rgba(201,168,76,0.55);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.clarification-chip:hover:not(:disabled) .clarification-chip-arrow {
  color: var(--sterling-gold);
  transform: translateX(2px);
}

/* ── Property Showcase (inline rooms card) ───────────────────────────── */
.property-showcase {
  margin-top: 12px;
  border: 0.5px solid rgba(201,168,76,0.25);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(27,58,45,0.4);
  animation: visionFadeIn 0.45s ease-out;
}
.ps-hero {
  padding: 18px 18px 16px;
  background-color: #1B3A2D;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
}
.ps-hero-overlay { position: relative; z-index: 1; }
.ps-eyebrow {
  font-size: 10px;
  color: var(--sterling-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.ps-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--sterling-cream);
  line-height: 1.1;
  margin-bottom: 6px;
}
.ps-tagline {
  font-size: 12px;
  color: rgba(245,239,226,0.78);
  line-height: 1.45;
  margin-bottom: 10px;
  max-width: 480px;
}
.ps-quick-row { display: flex; gap: 6px; flex-wrap: wrap; }
.ps-quick-badge {
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: rgba(245,239,226,0.85);
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.ps-quick-badge.gold {
  background: rgba(201,168,76,0.22);
  color: #f4d77a;
  font-weight: 500;
}

.ps-section { padding: 12px 16px; border-top: 0.5px solid rgba(201,168,76,0.12); }
.ps-section-label {
  font-size: 10px;
  color: rgba(245,239,226,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-amenities { display: flex; flex-wrap: wrap; gap: 5px; }
.ps-amenity-chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 11px;
  background: rgba(201,168,76,0.07);
  border: 0.5px solid rgba(201,168,76,0.16);
  color: rgba(245,239,226,0.78);
}

/* Availability strip */
.ps-strip-legend {
  font-size: 9.5px;
  color: rgba(245,239,226,0.45);
  letter-spacing: 0.04em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ps-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ps-dot.high { background: #4ade80; }
.ps-dot.mid { background: #facc15; }
.ps-dot.low { background: #f87171; }

.ps-availability-strip {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-gap: 4px;
  gap: 4px;
}
.ps-day {
  background: rgba(255,255,255,0.025);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 2px;
  text-align: center;
  cursor: default;
  transition: transform 0.15s;
}
.ps-day:hover { transform: translateY(-1px); border-color: rgba(201,168,76,0.4); }
.ps-day.weekend { background: rgba(255,255,255,0.04); }
.ps-day-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(245,239,226,0.9);
  font-weight: 500;
  line-height: 1;
}
.ps-day-month {
  font-size: 8.5px;
  color: rgba(245,239,226,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.ps-day-pip {
  width: 5px; height: 5px;
  border-radius: 50%;
  margin: 4px auto 0;
}
.ps-day-high .ps-day-pip { background: #4ade80; }
.ps-day-mid  .ps-day-pip { background: #facc15; }
.ps-day-low  .ps-day-pip { background: #f87171; }

/* Rooms list */
.ps-rooms { display: flex; flex-direction: column; gap: 7px; }
.ps-room {
  background: rgba(255,255,255,0.025);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.18s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: inherit;
  display: block;
  width: 100%;
  position: relative;
}
.ps-room:hover { border-color: rgba(201,168,76,0.45); background: rgba(201,168,76,0.04); }
.ps-room.selected {
  border-color: var(--sterling-gold);
  background: linear-gradient(180deg, rgba(201,168,76,0.10) 0%, rgba(201,168,76,0.05) 100%);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.18), 0 8px 24px rgba(0,0,0,0.25);
}
.ps-room:focus-visible { outline: 2px solid var(--sterling-gold); outline-offset: 2px; }

.ps-room-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ps-room-name-wrap { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.ps-room-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--sterling-cream);
}
.ps-room-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(74,222,128,0.12);
  color: #86efac;
  border: 0.5px solid rgba(74,222,128,0.3);
  padding: 2px 7px;
  border-radius: 9px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.ps-room-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sterling-gold);
  color: var(--sterling-forest-deep);
  font-size: 11px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.ps-room-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--sterling-gold);
  font-weight: 500;
  flex-shrink: 0;
}
.ps-room-price span { font-size: 10px; color: rgba(201,168,76,0.6); margin-left: 2px; }
.ps-room-meta {
  font-size: 11px;
  color: rgba(245,239,226,0.55);
  margin: 4px 0 8px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.ps-room-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, var(--sterling-gold) 0%, var(--sterling-gold-soft) 100%);
  color: var(--sterling-forest-deep);
  border: none;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.18s;
}
.ps-room-book:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.ps-room-book svg { transition: transform 0.18s; }
.ps-room-book:hover svg { transform: translateX(2px); }

/* Month-start divider in availability strip */
.ps-day.month-start {
  position: relative;
}
.ps-day.month-start::before {
  content: "";
  position: absolute;
  left: -2px; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--sterling-gold);
  opacity: 0.6;
}

.ps-distances { padding-bottom: 14px; }
.ps-distances-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 6px;
  gap: 6px;
}
.ps-distance {
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 6px 9px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ps-distance-place { font-size: 11px; color: rgba(245,239,226,0.65); }
.ps-distance-km {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--sterling-gold);
  font-weight: 500;
}

/* ── BookingSummary CTA ──────────────────────────────────────────────── */
.booking-summary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 14px;
  background: linear-gradient(180deg, var(--sterling-gold) 0%, var(--sterling-gold-soft) 100%);
  border: none;
  border-radius: 9px;
  color: var(--sterling-forest-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s;
}
.booking-summary-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.booking-summary-cta-arrow { font-size: 14px; transition: transform 0.18s; }
.booking-summary-cta:hover .booking-summary-cta-arrow { transform: translateX(2px); }

/* ══════════════════════════════════════════════════════════════════════ */
/* Booking Page — standalone checkout                                      */
/* ══════════════════════════════════════════════════════════════════════ */

.booking-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(201,168,76,0.07) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(27,58,45,0.7) 0%, transparent 60%),
    var(--sterling-forest-deep);
  color: var(--sterling-cream);
  font-family: 'DM Sans', sans-serif;
}

.booking-topbar {
  background: rgba(14,26,20,0.85);
  border-bottom: 0.5px solid rgba(201,168,76,0.18);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.booking-back {
  color: rgba(245,239,226,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s;
}
.booking-back:hover { color: var(--sterling-gold); }
.booking-topbar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--sterling-cream);
  margin: 0 auto;
  letter-spacing: 0.02em;
}
.booking-topbar-spacer { flex: 0 0 100px; }

.booking-empty {
  text-align: center;
  padding: 80px 24px;
  color: rgba(245,239,226,0.55);
  font-size: 14px;
}
.booking-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--sterling-cream);
  margin-bottom: 8px;
}
.booking-empty-sub { margin-bottom: 22px; }
.booking-empty-link {
  color: var(--sterling-gold);
  text-decoration: none;
  font-weight: 500;
}

.booking-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 22px 60px;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  grid-gap: 24px;
  gap: 24px;
}
@media (max-width: 800px) {
  .booking-grid { grid-template-columns: 1fr; padding: 18px; }
}

/* Left: property card */
.booking-property {
  position: -webkit-sticky;
  position: sticky;
  top: 76px;
  align-self: flex-start;
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .booking-property { position: relative; top: 0; }
}
.booking-property-hero {
  padding: 22px 18px;
  background-color: var(--sterling-forest);
  background-size: cover;
  background-position: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.booking-property-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(201,168,76,0.10) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(201,168,76,0.025) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.booking-property-hero > * { position: relative; z-index: 1; }
.booking-property-eyebrow {
  font-size: 10px;
  color: var(--sterling-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.booking-property-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--sterling-cream);
  line-height: 1.1;
  margin-bottom: 6px;
}
.booking-property-tagline {
  font-size: 12px;
  color: rgba(245,239,226,0.85);
  line-height: 1.5;
}

.booking-property-body { padding: 16px 16px 18px; }
.booking-section-label {
  font-size: 10px;
  color: rgba(245,239,226,0.42);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.booking-room-summary {
  background: rgba(201,168,76,0.05);
  border: 0.5px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 11px 13px;
}
.booking-room-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--sterling-cream);
  margin-bottom: 4px;
}
.booking-room-meta {
  font-size: 11.5px;
  color: rgba(245,239,226,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.booking-amenities { display: flex; flex-wrap: wrap; gap: 5px; }
.booking-amenity {
  font-size: 10.5px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  color: rgba(245,239,226,0.7);
  padding: 3px 9px;
  border-radius: 11px;
}
.booking-accessible-tag {
  margin-top: 16px;
  background: rgba(103,232,249,0.06);
  border: 0.5px solid rgba(103,232,249,0.3);
  color: #67e8f9;
  font-size: 11.5px;
  padding: 7px 11px;
  border-radius: 8px;
}

/* Right: forms */
.booking-main { display: flex; flex-direction: column; gap: 16px; }

.booking-card {
  background: rgba(255,255,255,0.025);
  border: 0.5px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  padding: 18px 20px;
}
.booking-card-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--sterling-cream);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.booking-card-sub {
  font-size: 11.5px;
  color: rgba(245,239,226,0.5);
  margin-bottom: 14px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}
.booking-form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) {
  .booking-form-grid { grid-template-columns: 1fr 1fr; }
  .booking-form-grid.two { grid-template-columns: 1fr 1fr; }
}
.booking-form-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

.booking-field { display: flex; flex-direction: column; gap: 6px; }
.booking-field-label {
  font-size: 10px;
  color: rgba(245,239,226,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.booking-field input,
.booking-field select {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(245,239,226,0.18);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--sterling-cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s;
}
.booking-field input:focus,
.booking-field select:focus { border-color: var(--sterling-gold); }
.booking-field input::placeholder { color: rgba(245,239,226,0.3); }
.booking-field input[type="date"] { color-scheme: dark; }
.booking-field-readout .booking-nights {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--sterling-gold);
  font-weight: 500;
  padding: 8px 0;
}

/* Price breakdown */
.booking-lines { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.booking-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  grid-gap: 14px;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 0.5px dashed rgba(255,255,255,0.06);
  font-size: 12px;
}
.booking-line:last-child { border-bottom: none; }
.booking-line-date { color: rgba(245,239,226,0.7); }
.booking-line-mult { color: rgba(201,168,76,0.7); font-size: 10.5px; font-style: italic; }
.booking-line-amount {
  font-family: 'JetBrains Mono', monospace;
  color: var(--sterling-cream);
  font-size: 12px;
}
.booking-totals { margin-top: 14px; }
.booking-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12.5px;
  color: rgba(245,239,226,0.75);
}
.booking-total-row.grand {
  border-top: 0.5px solid rgba(201,168,76,0.3);
  margin-top: 4px;
  padding-top: 12px;
  font-size: 16px;
  color: var(--sterling-cream);
}
.booking-total-row.grand span:last-child { color: var(--sterling-gold); font-weight: 500; }

/* Demo banners */
.booking-demo-banner {
  background: rgba(250,204,21,0.08);
  border: 0.5px solid rgba(250,204,21,0.3);
  color: #fde68a;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.02em;
}
.booking-demo-banner.subtle {
  background: rgba(250,204,21,0.04);
  border-color: rgba(250,204,21,0.18);
  color: rgba(253,230,138,0.75);
  font-size: 11px;
  padding: 8px 12px;
}

/* Pay button */
.booking-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--sterling-gold) 0%, var(--sterling-gold-soft) 100%);
  border: none;
  border-radius: 11px;
  color: var(--sterling-forest-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}
.booking-pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.3);
}
.booking-pay-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.booking-pay-btn.submitting { background: rgba(201,168,76,0.5); }
.booking-pay-arrow { font-size: 16px; transition: transform 0.18s; }
.booking-pay-btn:hover:not(:disabled) .booking-pay-arrow { transform: translateX(3px); }
.booking-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(14,26,20,0.25);
  border-top-color: var(--sterling-forest-deep);
  border-radius: 50%;
  animation: bookingSpin 0.7s linear infinite;
}
@keyframes bookingSpin { to { transform: rotate(360deg); } }

/* Success state */
.booking-success {
  max-width: 540px;
  margin: 50px auto;
  padding: 40px 28px 36px;
  background: rgba(255,255,255,0.025);
  border: 0.5px solid rgba(201,168,76,0.25);
  border-radius: 18px;
  text-align: center;
  animation: visionFadeIn 0.6s ease-out;
}
.booking-success-ring {
  width: 78px; height: 78px;
  border: 1.5px solid var(--sterling-gold);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.08);
  position: relative;
}
.booking-success-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.booking-success-tick {
  font-size: 36px;
  color: var(--sterling-gold);
}
.booking-success-eyebrow {
  font-size: 10.5px;
  color: var(--sterling-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.booking-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--sterling-cream);
  margin-bottom: 6px;
}
.booking-success-sub {
  font-size: 13px;
  color: rgba(245,239,226,0.65);
  margin-bottom: 26px;
}

.booking-success-card {
  background: rgba(0,0,0,0.25);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  text-align: left;
}
.booking-success-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(245,239,226,0.75);
}
.booking-success-row .mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.booking-success-row .gold { color: var(--sterling-gold); font-weight: 500; }

.booking-success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-primary {
  background: var(--sterling-gold);
  color: var(--sterling-forest-deep);
  border: none;
}
.btn-primary:hover { background: var(--sterling-gold-soft); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  border: 0.5px solid rgba(245,239,226,0.25);
  color: rgba(245,239,226,0.85);
}
.btn-secondary:hover { border-color: var(--sterling-gold); color: var(--sterling-gold); }

.attach-btn {
  background: transparent;
  border: 0.5px solid rgba(201,168,76,0.4);
  color: var(--sterling-gold);
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.attach-btn svg { display: block; }
.attach-btn:hover:not(:disabled) {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.7);
}
.attach-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.chat-input-row { display: flex; gap: 10px; margin-top: 14px; align-items: flex-end; }
.chat-input {
  flex: 1 1;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.5px;
  color: var(--sterling-cream);
  resize: none;
  outline: none;
  line-height: 1.5;
  min-height: 44px;
  max-height: 160px;
}
.chat-input::placeholder { color: rgba(245,239,226,0.32); }
.chat-input:focus { border-color: rgba(201,168,76,0.55); }

.send-btn {
  background: linear-gradient(180deg, var(--sterling-gold) 0%, var(--sterling-gold-soft) 100%);
  border: none;
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sterling-forest-deep);
  flex-shrink: 0;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(201,168,76,0.18);
}
.send-btn svg { display: block; }
.send-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(201,168,76,0.32);
}
.send-btn:active:not(:disabled) { transform: translateY(0); }
.send-btn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* ── Right pane (engine room) ───────────────────────────────────────── */
.right-pane {
  width: 360px;
  flex-shrink: 0;
  background: #060e09;
  border-left: 0.5px solid rgba(201,168,76,0.12);
  display: flex;
  flex-direction: column;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* ── Mobile / tablet — collapsible engine drawer ─────────────────────── */
@media (max-width: 900px) {
  .top-bar { padding: 10px 16px; }
  .top-bar .nav-links { display: none; }
  .logo-text { font-size: 17px; }
  .logo-sub { font-size: 9px; }

  .split-area {
    flex-direction: column;
    min-height: calc(100vh - 56px);
  }
  .left-pane { flex: 1 1 auto; }
  .hero-section { min-height: 180px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 12px; }
  .chat-section { padding: 0 14px 14px; }

  .right-pane {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(92vw, 380px);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
    box-shadow: -16px 0 48px rgba(0,0,0,0.6);
    border-left: 0.5px solid rgba(201,168,76,0.25);
  }
  .right-pane.open { transform: translateX(0); }

  .engine-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.1);
    border: 0.5px solid rgba(201,168,76,0.35);
    color: var(--sterling-gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 18px;
    cursor: pointer;
  }
  .engine-toggle-pulse {
    width: 6px; height: 6px;
    background: var(--sterling-gold);
    border-radius: 50%;
    animation: pulse 1.8s ease-in-out infinite;
  }
  .engine-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .engine-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

  .feat-item { padding: 6px 12px; }
  .feature-strip { padding: 8px 14px; }

  /* PropertyShowcase tighter on mobile */
  .ps-availability-strip { grid-template-columns: repeat(7, 1fr); }
  .ps-distances-row { grid-template-columns: 1fr; }

  /* Vision card */
  .vision-card-icon { width: 36px; height: 36px; font-size: 18px; }
  .vision-card-title { font-size: 17px; }
  .vision-palette { gap: 7px; }
  .vision-swatch { width: 34px; height: 34px; }
}

@media (max-width: 480px) {
  .chip { font-size: 10.5px; padding: 5px 9px; }
  .hero-title { font-size: 26px; }
  .msg-user-image { max-width: 280px; }
  .booking-grid { padding: 14px; gap: 16px; }
  .booking-form-grid { grid-template-columns: 1fr 1fr; }
  .booking-card { padding: 14px 16px; }
  .booking-card-header { font-size: 17px; }
}

/* Hide toggle on desktop */
.engine-toggle { display: none; }

.right-header {
  padding: 14px 16px;
  border-bottom: 0.5px solid rgba(201,168,76,0.12);
  display: flex; align-items: center; gap: 10px;
}
.right-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.55);
  font-family: 'DM Sans', sans-serif;
}
.live-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; margin-left: auto; animation: pulse 2s ease-in-out infinite; }
.live-dot.idle { background: #6B7C70; animation: none; }

.engine-close {
  background: transparent;
  border: none;
  color: rgba(245,239,226,0.55);
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  margin-left: 6px;
  cursor: pointer;
  display: none;
}
@media (max-width: 900px) {
  .engine-close { display: block; }
}
.engine-close:hover { color: var(--sterling-gold); }

/* ── Engine thinking shimmer ─────────────────────────────────────────── */
.engine-thinking {
  padding: 20px 14px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}
.engine-thinking.compact {
  padding: 10px 8px;
  border-top: 0.5px dashed rgba(201,168,76,0.18);
  margin-top: 4px;
  opacity: 0.9;
}
.engine-thinking-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.engine-thinking.compact .engine-thinking-bar { margin-bottom: 6px; }
.engine-thinking-dot {
  width: 7px; height: 7px;
  background: var(--sterling-gold);
  border-radius: 50%;
  animation: thinkingBounce 1.3s ease-in-out infinite;
}
.engine-thinking-dot:nth-child(2) { animation-delay: 0.15s; }
.engine-thinking-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes thinkingBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-5px); opacity: 1; }
}
.engine-thinking-label {
  font-size: 11px;
  color: rgba(245,239,226,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.engine-thinking-hint {
  margin-top: 6px;
  font-size: 10.5px;
  color: rgba(245,239,226,0.4);
  letter-spacing: 0.02em;
  font-style: italic;
}

.engine-tabs { display: flex; border-bottom: 0.5px solid rgba(201,168,76,0.12); }
.etab {
  flex: 1 1;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(245,239,226,0.35);
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  font-family: 'DM Sans', sans-serif;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: all 0.2s;
}
.etab.active { color: var(--sterling-gold); border-bottom-color: var(--sterling-gold); }

.engine-body {
  flex: 1 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.15) transparent;
}

.engine-empty {
  font-size: 11px;
  color: rgba(245,239,226,0.3);
  text-align: center;
  padding: 24px 12px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}

.log-entry {
  border-radius: 6px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.015);
}

.log-header {
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.log-type {
  font-size: 9px;
  padding: 1.5px 6px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.type-intent { background: rgba(167,139,250,0.2); color: #c4b5fd; }
.type-vector { background: rgba(52,211,153,0.2); color: #6ee7b7; }
.type-tool { background: rgba(251,146,60,0.2); color: #fdba74; }
.type-llm { background: rgba(96,165,250,0.2); color: #93c5fd; }
.type-mcp { background: rgba(251,191,36,0.2); color: #fde68a; }
.type-memory { background: rgba(236,72,153,0.2); color: #f9a8d4; }
.type-vision { background: rgba(34,211,238,0.2); color: #67e8f9; }
.type-error { background: rgba(239,68,68,0.2); color: #fca5a5; }

.log-server {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(245,239,226,0.42);
  letter-spacing: 0.02em;
  padding: 1px 5px;
  border: 0.5px solid rgba(245,239,226,0.12);
  border-radius: 3px;
  background: rgba(0,0,0,0.2);
}

.log-title { font-size: 10.5px; color: rgba(245,239,226,0.7); font-family: 'DM Sans', sans-serif; }
.log-time { color: rgba(245,239,226,0.28); font-size: 9.5px; margin-left: auto; font-family: 'JetBrains Mono', monospace; }

.log-body {
  padding: 8px 10px;
  font-size: 10.5px;
  line-height: 1.65;
  color: rgba(245,239,226,0.7);
  background: rgba(0,0,0,0.25);
  font-family: 'JetBrains Mono', monospace;
  white-space: pre-wrap;
  word-break: break-word;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.log-body .k { color: #93c5fd; }
.log-body .s { color: #fde68a; }
.log-body .n { color: #fdba74; }
.log-body .b { color: #c4b5fd; }
.log-body .ok { color: #86efac; }
.log-body .muted { color: rgba(245,239,226,0.4); }

.log-section-label {
  font-size: 9px;
  color: rgba(245,239,226,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 2px;
  font-family: 'DM Sans', sans-serif;
}

/* ── Booking summary ─────────────────────────────────────────────────── */
.booking-summary {
  background: linear-gradient(180deg, rgba(201,168,76,0.1) 0%, rgba(201,168,76,0.04) 100%);
  border: 0.5px solid rgba(201,168,76,0.4);
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
}
.booking-summary h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--sterling-gold);
  margin-bottom: 8px;
}
.booking-row { display: flex; justify-content: space-between; gap: 14px; }
.booking-row .label { color: rgba(245,239,226,0.55); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.booking-row .value { color: var(--sterling-cream); font-weight: 500; }
.booking-total {
  margin-top: 10px; padding-top: 10px;
  border-top: 0.5px solid rgba(201,168,76,0.25);
  display: flex; justify-content: space-between;
}
.booking-total .value { color: var(--sterling-gold); font-size: 16px; }
.demo-payment {
  margin-top: 10px;
  background: rgba(245,239,226,0.06);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 11px;
  color: rgba(201,168,76,0.75);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── Feature strip footer ────────────────────────────────────────────── */
.feature-strip {
  background: #0a1510;
  border-top: 0.5px solid rgba(201,168,76,0.12);
  padding: 12px 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.feature-strip::-webkit-scrollbar { display: none; }
.feat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 18px;
  border-right: 0.5px solid rgba(201,168,76,0.1);
  min-width: max-content;
}
.feat-item:last-child { border-right: none; }
.feat-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--sterling-gold);
}
.feat-label { font-size: 11px; color: rgba(245,239,226,0.55); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════════════
   INTELLIGENCE FEED — Beautiful non-technical Engine Room cards
   ═══════════════════════════════════════════════════════════════════════ */

/* Engine header tweaks */
.engine-title-icon { margin-right: 6px; font-size: 14px; }
.engine-header-right {
  display: flex; align-items: center; gap: 8px;
}
.engine-count-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--sterling-gold);
  background: rgba(201,168,76,0.1);
  border: 0.5px solid rgba(201,168,76,0.25);
  padding: 2px 7px;
  border-radius: 10px;
}

/* Stream container */
.moment-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 12px;
}

/* Individual moment card */
.moment-card {
  background: rgba(255,255,255,0.030);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--card-accent, rgba(201,168,76,0.5));
  border-radius: 8px;
  padding: 10px 12px 8px;
  animation: momentSlideIn 0.22s ease-out;
  transition: background 0.15s;
}
.moment-card:hover {
  background: rgba(255,255,255,0.048);
}
.moment-active {
  background: rgba(255,255,255,0.042);
  border-color: rgba(255,255,255,0.12);
}
.moment-error {
  border-left-color: #f87171;
  background: rgba(248,113,113,0.05);
}
.moment-thinking {
  border-left-color: rgba(201,168,76,0.4);
  border-style: dashed;
}

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

/* Card top row */
.moment-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.moment-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.moment-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sterling-cream);
  letter-spacing: 0.01em;
  flex: 1 1;
  min-width: 0;
}
.moment-server-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Summary line */
.moment-summary {
  font-size: 11.5px;
  color: rgba(245,239,226,0.65);
  line-height: 1.45;
  margin: 2px 0 4px 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.moment-summary-error {
  color: rgba(248,113,113,0.85);
}

/* Animated thinking dots */
.moment-progress {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 4px 0 2px 21px;
}
.moment-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201,168,76,0.6);
  animation: momentBounce 1.2s ease-in-out infinite;
}
.moment-dot:nth-child(2) { animation-delay: 0.15s; }
.moment-dot:nth-child(3) { animation-delay: 0.30s; }

@keyframes momentBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* Card footer */
.moment-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  margin-left: 21px;
}
.moment-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(245,239,226,0.35);
  background: rgba(255,255,255,0.05);
  padding: 1px 5px;
  border-radius: 3px;
}
.moment-ts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(245,239,226,0.28);
  margin-left: auto;
}
.moment-ts-hint {
  font-size: 10px;
  color: rgba(245,239,226,0.3);
  letter-spacing: 0.02em;
}

/* Empty state */
.engine-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 8px;
}
.engine-empty-icon {
  font-size: 28px;
  margin-bottom: 4px;
}
.engine-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--sterling-cream);
  font-weight: 400;
}
.engine-empty-sub {
  font-size: 11.5px;
  color: rgba(245,239,226,0.5);
  line-height: 1.65;
  max-width: 240px;
}
.engine-empty-servers {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--sterling-gold);
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* ─── Architecture tab redesign ─────────────────────────────────────── */
.arch-body {
  font-size: 11.5px;
  color: rgba(245,239,226,0.65);
  line-height: 1.7;
  padding: 4px 0 16px;
}
.arch-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: 9.5px;
  color: var(--sterling-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.arch-section-title:first-child { margin-top: 4px; }
.arch-conn-badge {
  font-size: 9px;
  color: rgba(245,239,226,0.5);
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
}
.arch-stack-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.arch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
/* reuse existing type classes */
.arch-tag.type-llm      { background: rgba(96,165,250,0.15);  color: #60a5fa;  border: 0.5px solid rgba(96,165,250,0.3); }
.arch-tag.type-tool     { background: rgba(167,139,250,0.15); color: #a78bfa;  border: 0.5px solid rgba(167,139,250,0.3); }
.arch-tag.type-vector   { background: rgba(52,211,153,0.15);  color: #34d399;  border: 0.5px solid rgba(52,211,153,0.3); }
.arch-tag.type-vision   { background: rgba(251,146,60,0.15);  color: #fb923c;  border: 0.5px solid rgba(251,146,60,0.3); }
.arch-tag.type-location { background: rgba(163,230,53,0.15);  color: #a3e635;  border: 0.5px solid rgba(163,230,53,0.3); }

.arch-servers { display: flex; flex-direction: column; gap: 8px; }
.arch-server {
  background: rgba(255,255,255,0.024);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  padding: 9px 10px;
  transition: border-color 0.15s;
}
.arch-server.connected { border-color: rgba(74,222,128,0.2); }
.arch-server-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.arch-server-dot { font-size: 10px; }
.arch-server-icon { font-size: 12px; }
.arch-server-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--sterling-cream);
  flex: 1 1;
}
.arch-server-gemini-badge {
  font-size: 8.5px;
  color: #a3e635;
  background: rgba(163,230,53,0.1);
  border: 0.5px solid rgba(163,230,53,0.3);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.arch-server-desc {
  font-size: 10.5px;
  color: rgba(245,239,226,0.45);
  margin-bottom: 6px;
  margin-left: 22px;
}
.arch-server-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: 22px;
}
.arch-tool-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--sterling-gold);
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.18);
  padding: 1px 5px;
  border-radius: 3px;
}
.arch-status-list { display: flex; flex-direction: column; gap: 5px; }
.arch-status-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

/* ─── Location button styles ────────────────────────────────────────── */
.location-btn {
  position: relative;
}
.location-btn.locating {
  color: var(--sterling-gold) !important;
  border-color: rgba(201,168,76,0.5) !important;
}
.location-btn.denied {
  color: #f87171 !important;
  border-color: rgba(248,113,113,0.4) !important;
}
.location-btn .spin {
  animation: spinOnce 1.2s linear infinite;
}
@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Location chip variant */
.chip-location {
  border-color: rgba(74,222,128,0.35) !important;
  color: #4ade80 !important;
}
.chip-location:hover:not(:disabled) {
  background: rgba(74,222,128,0.08) !important;
  border-color: rgba(74,222,128,0.55) !important;
}
.feat-label strong { color: var(--sterling-cream); font-weight: 500; display: block; font-size: 11.5px; }

