:root {
  --bg-page: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-subtle: #edf2f7;
  --bg-navy: #0b192c;
  --bg-navy-light: #132a46;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --accent-aegean: #0284c7;
  --accent-aegean-dark: #0369a1;
  --accent-gold: #d97706;
  --accent-gold-bg: #fef3c7;
  --whatsapp-green: #075e54;
  --whatsapp-teal: #128c7e;
  --whatsapp-bright: #25d366;
  --whatsapp-chat-bg: #efeae2;
  --whatsapp-out: #d9fdd3;
  --status-success: #16a34a;
  --status-success-bg: #dcfce7;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
}

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

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Ensure grid and flex items never force horizontal overflow */
.simulator-grid > *,
.kpi-grid > *,
.dashboard-split > *,
.setup-grid > *,
.memory-grid > *,
.integrations-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Topbar */
.topbar {
  background: var(--bg-navy);
  color: #ffffff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.brand-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.domain-pill {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.property-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-tab {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-tab.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.live-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  background: rgba(22, 163, 74, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

/* Main Container */
.main-container {
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 24px 36px;
}

.tab-panel {
  display: none;
  width: 100%;
}

.tab-panel.active {
  display: block;
}

/* Scenario Launcher Bar */
.scenario-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.scenario-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.scenario-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 4px;
}

.scenario-btn {
  background: var(--bg-subtle);
  border: 1px solid #cbd5e1;
  color: var(--text-primary);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-align: left;
}

.scenario-btn:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0369a1;
}

.scenario-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.scenario-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tts-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.tts-btn.enabled {
  background: #dcfce7;
  border-color: #22c55e;
  color: #15803d;
}

/* 3-Column Simulator Grid */
.simulator-grid {
  display: grid;
  grid-template-columns: 370px 430px 1fr;
  gap: 18px;
  align-items: start;
  width: 100%;
}

/* Column 1: Live Phone Call Handset */
.phone-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 24px;
  padding: 18px;
  border: 3px solid #1e293b;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 690px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.phone-notch {
  width: 96px;
  height: 18px;
  background: #020617;
  border-radius: 999px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #94a3b8;
}

.call-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.call-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.call-hotel-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
}

.call-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Waveform Bar */
.waveform-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: #bae6fd;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  flex-shrink: 0;
}

.wave-bars span {
  display: inline-block;
  width: 3px;
  background: #38bdf8;
  border-radius: 2px;
  animation: waveBounce 1.1s infinite ease-in-out;
}

.wave-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wave-bars span:nth-child(2) { height: 14px; animation-delay: 0.25s; }
.wave-bars span:nth-child(3) { height: 10px; animation-delay: 0.4s; }
.wave-bars span:nth-child(4) { height: 16px; animation-delay: 0.15s; }
.wave-bars span:nth-child(5) { height: 8px; animation-delay: 0.35s; }

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.15); }
}

/* Transcript Stream */
.call-transcript {
  flex: 1;
  overflow-y: auto;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transcript-turn {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.42;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.transcript-turn.ai {
  background: rgba(2, 132, 199, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #f0f9ff;
}

.transcript-turn.guest {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.turn-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.transcript-turn.guest .turn-meta {
  color: #cbd5e1;
}

.call-input-area {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.call-input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.call-input::placeholder {
  color: #94a3b8;
}

.call-send-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Column 2: WhatsApp Business Handoff & Concierge */
.whatsapp-card {
  background: var(--whatsapp-chat-bg);
  border-radius: 24px;
  border: 3px solid #1e293b;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 690px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.wa-header {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.wa-title {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.wa-verified {
  background: #25d366;
  color: #052e16;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 999px;
  font-weight: 800;
}

.wa-subtitle {
  font-size: 0.72rem;
  color: #d1fae5;
}

.wa-handoff-banner {
  background: #dcfce7;
  color: #14532d;
  padding: 6px 12px;
  font-size: 0.73rem;
  font-weight: 600;
  border-bottom: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.wa-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 95%;
  font-size: 0.82rem;
  color: #111827;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wa-bubble.guest {
  background: var(--whatsapp-out);
  align-self: flex-end;
}

.wa-room-img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.wa-room-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
}

.wa-room-sub {
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 6px;
}

.wa-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.wa-perk-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}

.wa-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.wa-price-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.wa-price-ota {
  font-size: 0.72rem;
  color: #64748b;
  text-decoration: line-through;
}

.wa-savings-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.wa-pay-btn {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, background 0.15s ease;
  margin-top: 6px;
  text-align: center;
}

.wa-pay-btn:hover {
  background: #1e293b;
}

.wa-pay-btn.paid {
  background: #16a34a;
  cursor: default;
}

/* Concierge Addon Buttons inside WhatsApp */
.wa-addons-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.wa-addon-btn {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #14532d;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: all 0.15s ease;
}

.wa-addon-btn:hover {
  background: #dcfce7;
  border-color: #22c55e;
}

.wa-addon-price {
  background: #16a34a;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Column 3: Under-the-Hood Brain & PMS Log */
.brain-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  height: 690px;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.brain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.brain-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.latency-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.latency-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Unified Guest Memory State Card */
.memory-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}

.memory-card-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.memory-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 6px 8px;
}

.memory-item-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.memory-item-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-word;
}

/* Execution Logs List */
.logs-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.log-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.78rem;
  border-left: 4px solid #38bdf8;
  max-width: 100%;
}

.log-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.log-stage {
  font-weight: 700;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
}

.log-latency {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.log-summary {
  color: #f8fafc;
  margin-bottom: 6px;
  word-break: break-word;
}

.log-json {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* Tab 2: Hotelier Dashboard */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 18px;
  width: 100%;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}

.kpi-delta {
  font-size: 0.75rem;
  color: var(--status-success);
  font-weight: 600;
}

.dashboard-split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  width: 100%;
}

.section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.81rem;
}

.data-table th {
  text-align: left;
  padding: 9px 10px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.73rem;
  text-transform: uppercase;
}

.data-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.code-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.status-confirmed {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  white-space: nowrap;
}

/* Inventory & Integrations Cards */
.inv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.inv-item:last-child {
  border-bottom: none;
}

.inv-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inv-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.integration-card {
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 10px 12px;
  background: #f8fafc;
}

.int-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.int-name {
  font-weight: 700;
  font-size: 0.84rem;
}

.int-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}

.int-status.connected {
  background: #dcfce7;
  color: #15803d;
}

.int-status.paused {
  background: #fee2e2;
  color: #b91c1c;
}

/* Tab 3: Setup Guide */
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.5;
  margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Vertical-Only Layout)
   ========================================================================== */

@media (max-width: 1200px) {
  .simulator-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brain-panel {
    grid-column: 1 / -1;
    height: auto;
    max-height: 620px;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .setup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    position: relative;
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .brand-cluster {
    justify-content: space-between;
    width: 100%;
  }

  .property-badge {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.76rem;
  }

  .nav-tabs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .nav-tab {
    width: 100%;
    justify-content: flex-start;
    padding: 9px 12px;
    font-size: 0.83rem;
  }

  .live-status-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
  }

  .main-container {
    padding: 12px 12px 28px;
  }

  .scenario-bar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .scenario-bar-left {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .scenario-btn {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .scenario-bar-right {
    width: 100%;
  }

  .tts-btn {
    width: 100%;
    text-align: center;
  }

  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .phone-card,
  .whatsapp-card,
  .brain-panel {
    grid-column: 1 / -1;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px;
    border-radius: 18px;
  }

  .whatsapp-card {
    padding: 0;
  }

  .call-transcript {
    max-height: 360px;
  }

  .wa-messages {
    max-height: 440px;
  }

  .logs-list {
    max-height: 380px;
  }

  .call-input {
    font-size: 16px; /* Prevents iOS Safari auto-zoom on focus */
  }

  .memory-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .kpi-value {
    font-size: 1.35rem;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  /* Convert 7-column reservation table into stacked vertical cards on mobile */
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #f8fafc;
  }

  .data-table tr:last-child {
    margin-bottom: 0;
  }

  .data-table td {
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  .data-table td:last-child {
    border-bottom: none;
  }

  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding: 14px 12px;
  }

  .code-block {
    padding: 10px;
    font-size: 0.72rem;
  }
}


.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
  background: #f6f1eb;
  flex-shrink: 0;
}

.wa-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: #f6f1eb;
  flex-shrink: 0;
}

.logo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.logo-gallery-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 0;
}

.logo-gallery-item.active {
  border: 2px solid #0284c7;
  background: #f0f9ff;
}

.logo-gallery-item img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #f6f1eb;
}

.logo-gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.76rem;
}

.logo-gallery-caption span {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .logo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .logo-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Brand Tagline, Topbar Logo Switcher & Full Lockup Drawer */
.brand-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  line-height: 1.25;
}

.logo-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px;
  border-radius: 999px;
  flex-wrap: wrap;
  max-width: 100%;
}

.logo-switch-btn,
.logo-drawer-trigger {
  background: transparent;
  color: #cbd5e1;
  border: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.logo-switch-btn:hover,
.logo-drawer-trigger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.logo-switch-btn.active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 1px 6px rgba(14, 165, 233, 0.4);
}

.logo-drawer-trigger {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 999px 999px 0;
  color: #7dd3fc;
}

.logo-preview-drawer {
  background: #0f172a;
  border-bottom: 2px solid #0284c7;
  color: #ffffff;
  padding: 16px 24px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.logo-drawer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.logo-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.logo-drawer-header strong {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
}

.logo-drawer-header span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.logo-drawer-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.logo-drawer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.logo-lockup-card {
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 0;
}

.logo-lockup-card:hover {
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.logo-lockup-card.active {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.14);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.2);
}

.logo-lockup-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f1eb;
  flex-shrink: 0;
}

.logo-lockup-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.logo-lockup-badge {
  display: inline-block;
  align-self: flex-start;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.logo-lockup-badge.secondary {
  background: #d97706;
}

.logo-lockup-meta strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.logo-lockup-meta span {
  font-size: 0.76rem;
  color: #cbd5e1;
}

@media (max-width: 820px) {
  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }
  .logo-switcher-pill {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    padding: 4px;
  }
  .logo-drawer-trigger {
    border-left: none;
    border-radius: 999px;
  }
  .logo-preview-drawer {
    padding: 12px;
  }
  .logo-drawer-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .logo-lockup-card {
    flex-direction: column;
    text-align: center;
  }
  .logo-lockup-badge {
    align-self: center;
  }
  .logo-lockup-card img {
    width: 160px;
    height: 160px;
  }
}


/* ==========================================================================
   INTERACTIVE UPGRADES: GUIDED HERO, 4-STEP STEPPER, B2B CUSTOMIZER,
   APPLE PAY SHEET, WHATSAPP QUICK CHIPS, ROI CALCULATOR & MOBILE JUMP BAR
   ========================================================================== */

.guided-hero-banner {
  background: linear-gradient(135deg, #0b192c 0%, #0f2942 60%, #0c4a6e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: 100%;
  max-width: 100%;
}

.guided-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.guided-hero-copy {
  flex: 1;
  min-width: 0;
}

.guided-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  max-width: 100%;
}

.guided-title {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 6px;
}

.guided-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.guided-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.guided-demo-btn {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.guided-demo-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.guided-demo-btn.playing {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.live-mic-hero-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.live-mic-hero-btn:hover,
.live-mic-hero-btn.listening {
  background: #ef4444;
  border-color: #fca5a5;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
}

/* 4-Step StoryStepper Grid */
.story-stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.story-step-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.story-step-card:hover {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.88);
  transform: translateY(-1px);
}

.story-step-card.active {
  background: rgba(14, 165, 233, 0.22);
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.step-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.step-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.story-step-card.active .step-badge {
  background: #38bdf8;
  color: #0f172a;
}

.step-action-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #7dd3fc;
}

.step-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.step-desc {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.38;
}

/* Live Notification Banner */
.live-toast-banner {
  margin-top: 12px;
  background: linear-gradient(90deg, #16a34a, #059669);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  animation: fadeSlideIn 0.25s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hotel B2B Customizer Bar */
.hotel-customizer-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.customizer-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.customizer-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-right: 4px;
}

.preset-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0369a1;
}

.preset-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.customizer-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.customizer-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  min-width: 210px;
  flex: 1;
}

.customizer-rate-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.78rem;
  width: 74px;
}

.customizer-apply-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Quick Voice Prompts & Mic Button inside Phone Card */
.call-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.call-chip {
  background: rgba(56, 189, 248, 0.13);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.call-chip:hover {
  background: #0284c7;
  color: #ffffff;
}

.call-mic-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.call-mic-btn.listening {
  background: #ef4444;
  animation: pulseGlow 1s infinite alternate;
}

@keyframes pulseGlow {
  from { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  to { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* WhatsApp Quick-Tap Guest Chips, Typing Indicator & Voice Note Button */
. whatsapp-card {
  position: relative;
}

.wa-quick-chips {
  background: #e2e8f0;
  padding: 6px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid #cbd5e1;
}

.wa-chip {
  background: #ffffff;
  border: 1px solid #94a3b8;
  color: #075e54;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.wa-chip:hover {
  background: #dcfce7;
  border-color: #16a34a;
}

.wa-input-bar {
  background: #f0f2f5;
  padding: 8px 10px;
  margin: 0;
  border-top: 1px solid #cbd5e1;
}

.wa-text-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.wa-vn-btn {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.wa-vn-btn:hover {
  background: #dcfce7;
  border-color: #16a34a;
}

.wa-typing-indicator {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin: 4px 12px 6px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #075e54;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #128c7e;
  border-radius: 50%;
  animation: bounceDot 0.9s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounceDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* Interactive Apple Pay / JCC 3DS Slide-Up Sheet inside WhatsApp Card */
.apple-pay-sheet {
  background: #0f172a;
  color: #ffffff;
  border-top: 2px solid #38bdf8;
  padding: 14px 16px;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.45);
  z-index: 25;
  animation: slideUpSheet 0.22s ease-out;
}

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

.apple-pay-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.apple-pay-logo {
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
}

.apple-pay-cancel {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.apple-pay-sheet-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.apple-pay-merchant strong {
  display: block;
  font-size: 0.86rem;
}

.apple-pay-merchant span {
  font-size: 0.72rem;
  color: #94a3b8;
}

.apple-pay-amount {
  font-size: 1.45rem;
  font-weight: 800;
  color: #38bdf8;
}

.apple-pay-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.faceid-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faceid-ring.verified {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.2);
}

/* Digital Booking Confirmation Pass & QR Code inside WhatsApp */
.wa-booking-pass {
  margin-top: 8px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wa-pass-qr {
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 5px;
  flex-shrink: 0;
}

.wa-pass-qr span {
  background: #0f172a;
  border-radius: 1px;
}

.wa-pass-qr span:nth-child(even) {
  background: #0284c7;
}

/* Interactive ROI & Commission Savings Calculator */
.roi-calculator-card {
  margin-top: 18px;
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
}

.roi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.roi-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.roi-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.roi-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 20px;
  align-items: center;
}

.roi-sliders-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.roi-slider-group {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.roi-slider-label strong {
  color: #38bdf8;
  font-size: 0.9rem;
}

.roi-slider-group input[type="range"] {
  width: 100%;
  accent-color: #38bdf8;
  cursor: pointer;
}

.roi-range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 3px;
}

.roi-results-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.roi-result-box {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}

.roi-result-box.primary {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(22, 163, 74, 0.14);
}

.roi-result-box.total {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.18);
}

.roi-res-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.roi-res-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 4px;
}

.roi-result-box.total .roi-res-value {
  color: #ffffff;
}

.roi-res-note {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Sticky Mobile Quick-Jump Pill Bar */
.mobile-quick-jump {
  display: none;
}

@media (max-width: 1100px) {
  .story-stepper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 64px;
  }

  .guided-hero-banner {
    padding: 14px;
  }

  .guided-title {
    font-size: 1.08rem;
  }

  .guided-cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .guided-demo-btn,
  .live-mic-hero-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  .story-stepper-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hotel-customizer-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }

  .customizer-presets {
    width: 100%;
  }

  .preset-pill {
    width: 100%;
    text-align: left;
  }

  .customizer-form {
    width: 100%;
  }

  .customizer-input {
    min-width: 0;
    width: 100%;
  }

  .roi-calculator-card {
    padding: 16px 14px;
  }

  .roi-results-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-quick-jump {
    display: flex;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 200;
    background: rgba(15, 23, 42, 0.95);
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
  }

  .mjump-btn {
    flex: 1;
    min-width: 0;
    background: transparent;
    color: #cbd5e1;
    border: none;
    padding: 8px 6px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
  }

  .mjump-btn.active {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
  }
}

/* ============================================================================
   Hotelier A/B/C/D Lock-Screen Quick-Approval & Multi-Calendar Layer Badges
   ============================================================================ */
.mv-subcal-strip {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
}

.mv-subcal-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.mv-subcal-pill.ai-layer {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.mv-subcal-pill.busy-read {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.mv-abcd-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 11px 12px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.mv-abcd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.mv-abcd-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38bdf8;
  text-transform: uppercase;
}

.mv-abcd-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}

.mv-abcd-title code {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  padding: 1px 5px;
  border-radius: 4px;
}

.mv-abcd-digest {
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid #38bdf8;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #e2e8f0;
}

.mv-abcd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mv-abcd-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #f8fafc;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.73rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mv-abcd-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.mv-abcd-btn.selected {
  background: #0284c7;
  border-color: #7dd3fc;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.35);
}

.mv-abcd-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: #f59e0b;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.mv-abcd-status {
  font-size: 0.71rem;
  line-height: 1.38;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 6px;
  padding: 5px 8px;
}

.mv-cal-layer-bar {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mv-cal-layer-info {
  font-size: 0.74rem;
  color: #334155;
  line-height: 1.42;
}

.mv-cal-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mv-cal-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.mv-cal-filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.mv-layer-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}

.mv-layer-badge.ai {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.mv-layer-badge.vip {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde047;
}

.mv-layer-badge.desk {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.mv-row-abcd {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.mv-mini-abcd {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  cursor: pointer;
}

.mv-mini-abcd:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}
