/* Full-page /vero — production AI shell (Claude-clean, travel-branded).
   Additive overlay: keeps React hooks; does not restyle booking components. */

.vero-shell {
  --vero-ink: #141414;
  --vero-muted: #6f6f6f;
  --vero-subtle: #8a8a8a;
  --vero-line: rgba(20, 20, 20, 0.08);
  --vero-line-strong: rgba(20, 20, 20, 0.12);
  --vero-surface: #ffffff;
  --vero-bg: #fafafa;
  --vero-sidebar: #f4f4f5;
  --vero-sidebar-text: #141414;
  --vero-sidebar-muted: #71717a;
  --vero-sidebar-hover: #e4e4e7;
  --vero-sidebar-active: #e4e4e7;
  --vero-brand: #f97211;
  --vero-brand-soft: rgba(249, 114, 17, 0.1);
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  background: var(--vero-bg) !important;
  color: var(--vero-ink);
}

/* ── Sidebar: soft, calm (not harsh black) ── */
.vero-sidebar {
  background: var(--vero-sidebar) !important;
  border-right: 1px solid var(--vero-line) !important;
  backdrop-filter: none !important;
  padding: 14px 12px 12px !important;
  width: var(--vero-nav-width, 272px);
}

.vero-sidebar__brand {
  border-bottom: 1px solid var(--vero-line) !important;
  margin-bottom: 12px !important;
  padding: 2px 4px 14px !important;
  gap: 12px !important;
}

.vero-sidebar__brand-mark {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100%;
}

/* Desktop: always show the topbar sidebar control */
.vero-page__menu-btn {
  display: grid !important;
  place-items: center !important;
}

.vero-sidebar__collapse {
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid var(--vero-line);
  border-radius: 10px;
  background: var(--vero-surface);
  color: var(--vero-sidebar-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vero-sidebar__collapse:hover {
  background: var(--vero-sidebar-hover);
  color: var(--vero-ink);
  border-color: var(--vero-line-strong);
}

@media (min-width: 769px) {
  .vero-sidebar__collapse {
    display: grid;
  }

  .vero-shell {
    --vero-nav-width: 272px;
  }

  .vero-sidebar {
    transition:
      width 0.22s ease,
      opacity 0.18s ease,
      padding 0.22s ease,
      border-color 0.22s ease,
      margin 0.22s ease;
    overflow: hidden !important;
  }

  .vero-shell--nav-collapsed .vero-sidebar {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    border-right-color: transparent !important;
    opacity: 0;
    pointer-events: none;
  }

  .vero-shell--nav-collapsed .vero-page__menu-btn {
    color: var(--vero-ink) !important;
    background: #efefef !important;
  }
}

.vero-sidebar__logo {
  filter: none !important;
  opacity: 1 !important;
  max-width: 108px !important;
  height: 22px !important;
}

/* Vero product chip — always a clear face + name */
.vero-sidebar__vero-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--vero-surface) !important;
  border: 1px solid var(--vero-line) !important;
  border-radius: 999px !important;
  padding: 4px 10px 4px 4px !important;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04) !important;
}

.vero-sidebar__vero-chip > span:not(.vero-sidebar__cs-badge) {
  color: var(--vero-ink) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
}

.vero-sidebar__avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #fff4eb !important;
  border: 1px solid rgba(249, 114, 17, 0.2);
}

.vero-sidebar__cs-badge {
  display: inline-flex !important;
  color: #15803d !important;
  background: rgba(22, 163, 74, 0.12) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 2px 7px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.vero-sidebar__tagline,
.vero-sidebar__brand [data-vero-credits] {
  display: none !important;
}

.vero-sidebar__new {
  background: var(--vero-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  min-height: 42px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: -0.01em !important;
}

.vero-sidebar__new:hover {
  background: #2a2a2a !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.vero-sidebar__new:active {
  transform: none !important;
}

.vero-sidebar__new--active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(20, 20, 20, 0.2) !important;
}

.vero-sidebar__new-icon {
  background: rgba(255, 255, 255, 0.16) !important;
  border-radius: 7px !important;
}

.vero-sidebar__chats-label {
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--vero-sidebar-muted) !important;
}

.vero-sidebar__chats-count {
  background: transparent !important;
  border: none !important;
  color: var(--vero-sidebar-muted) !important;
}

.vero-sidebar__chat-row {
  border-radius: 10px !important;
}

.vero-sidebar__chat-row:hover {
  background: var(--vero-sidebar-hover) !important;
}

.vero-sidebar__chat-row--active {
  background: var(--vero-surface) !important;
  box-shadow: 0 0 0 1px var(--vero-line) !important;
}

.vero-sidebar__chat {
  color: var(--vero-sidebar-text) !important;
  padding: 9px 10px !important;
}

.vero-sidebar__chat-title {
  color: var(--vero-sidebar-text) !important;
  font-weight: 550 !important;
  font-size: 13px !important;
  -webkit-line-clamp: 1 !important;
}

.vero-sidebar__chat-meta {
  color: var(--vero-sidebar-muted) !important;
  font-size: 11px !important;
}

.vero-sidebar__chat-icon {
  background: transparent !important;
  border: none !important;
  color: var(--vero-sidebar-muted) !important;
  width: 18px !important;
  height: 18px !important;
}

.vero-sidebar__chat-row--active .vero-sidebar__chat-icon {
  color: var(--vero-brand) !important;
  background: transparent !important;
  border: none !important;
}

.vero-sidebar__chat-delete:hover {
  color: #dc2626 !important;
  background: #fef2f2 !important;
}

.vero-sidebar__chats-empty {
  background: transparent !important;
  border: 1px dashed var(--vero-line-strong) !important;
  color: var(--vero-sidebar-muted) !important;
  border-radius: 12px !important;
}

.vero-sidebar__chats-empty p {
  color: var(--vero-sidebar-text) !important;
  font-weight: 550 !important;
}

/* Nav: quiet list, not a boxed explore module */
.vero-sidebar__nav {
  border-top: 1px solid var(--vero-line) !important;
  padding-top: 10px !important;
}

.vero-sidebar__nav-label {
  display: none !important;
}

.vero-sidebar__nav-grid {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2px !important;
  padding: 0 !important;
}

.vero-sidebar__nav-item {
  color: var(--vero-sidebar-muted) !important;
  border-radius: 9px !important;
  min-height: 36px !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  padding: 7px 10px !important;
}

.vero-sidebar__nav-item:hover {
  background: var(--vero-sidebar-hover) !important;
  color: var(--vero-ink) !important;
}

.vero-sidebar__nav-item--wide {
  grid-column: 1 / -1 !important;
}

/* ── Main ── */
.vero-shell-main,
.vero-page {
  background: var(--vero-bg) !important;
  min-width: 0;
  flex: 1 1 auto !important;
}

.vero-page__topbar {
  background: rgba(250, 250, 250, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--vero-line) !important;
  padding: 10px 20px !important;
  min-height: 56px;
}

.vero-page__topbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.vero-page__topbar-title {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  font-weight: 650 !important;
  letter-spacing: -0.03em;
  font-size: 15px !important;
  color: var(--vero-ink) !important;
}

/* Status: tiny green dot + Online — not a loud pill fight */
.vero-page__topbar .vero-badge,
.vero-badge:not(.vero-badge-coming-soon) {
  color: #166534 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 0 14px !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
}

.vero-page__topbar .vero-badge::before,
.vero-badge:not(.vero-badge-coming-soon)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.vero-page__icon-btn {
  border-radius: 10px !important;
  color: var(--vero-subtle) !important;
  width: 36px !important;
  height: 36px !important;
}

.vero-page__icon-btn:hover {
  background: #efefef !important;
  color: var(--vero-ink) !important;
}

.vero-drawer-coming-soon-banner {
  display: none !important;
}

.vero-page__topbar [data-vero-credits] {
  border-radius: 999px !important;
  border: 1px solid var(--vero-line) !important;
  background: var(--vero-surface) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  color: var(--vero-ink) !important;
  padding: 6px 12px !important;
}

/* ── Empty state: one calm composition ── */
.vero-page__thread--empty {
  padding: 0 24px !important;
  min-height: min(70vh, 640px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vero-page__empty {
  gap: 0 !important;
  animation: 0.45s ease vero-page-in-29 both;
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
  align-items: center !important;
  text-align: center !important;
  padding: 8px 0 24px;
}

.vero-page__hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 28px !important;
}

.vero-page__hero-avatar {
  width: 88px !important;
  height: 88px !important;
  box-shadow:
    0 0 0 1px rgba(249, 114, 17, 0.18),
    0 12px 32px rgba(20, 20, 20, 0.08) !important;
  animation: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #fff4eb;
}

/* One status only — topbar already says Online */
.vero-welcome-cs-tag {
  display: none !important;
}

.vero-page__hello {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif !important;
  letter-spacing: -0.04em !important;
  font-size: clamp(1.75rem, 3.4vw, 2.15rem) !important;
  font-weight: 700 !important;
  color: var(--vero-ink) !important;
  margin: 0 !important;
  line-height: 1.15 !important;
}

.vero-page__role {
  display: none !important;
}

.vero-page__hint {
  color: var(--vero-muted) !important;
  max-width: 26rem;
  line-height: 1.55 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  margin: 0 auto !important;
}

/* Suggestion tiles → soft prompt chips (not heavy cards) */
.vero-page__tiles {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto !important;
}

.vero-page .vero-tile {
  background: var(--vero-surface) !important;
  border: 1px solid var(--vero-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.03) !important;
  padding: 14px 16px !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.vero-page .vero-tile:hover {
  background: #fff !important;
  border-color: rgba(249, 114, 17, 0.35) !important;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06) !important;
  transform: translateY(-1px) !important;
}

.vero-page .vero-tile__icon {
  color: var(--vero-brand) !important;
  background: var(--vero-brand-soft) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 0 8px !important;
}

.vero-page .vero-tile__icon svg {
  width: 16px !important;
  height: 16px !important;
}

.vero-page .vero-tile__title {
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
  color: var(--vero-ink) !important;
}

.vero-page .vero-tile__subtitle {
  font-size: 12.5px !important;
  color: var(--vero-muted) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

/* ── Thread ──
   Scroll on the full-width thread (scrollbar at far right of the panel).
   Reading column is created with side padding — never max-width the scroller. */
.vero-page__thread {
  gap: 20px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding-top: 24px !important;
  padding-bottom: 32px !important;
  padding-left: max(20px, calc((100% - 720px) / 2)) !important;
  padding-right: max(20px, calc((100% - 720px) / 2)) !important;
}

.vero-page:not(.is-voice) .vero-page__thread {
  scroll-behavior: smooth;
}

.vero-page .vero-page__bubble {
  animation: 0.3s ease vero-page-in-29 both;
  max-width: min(100%, 680px) !important;
}

.vero-page .vero-m__bubble {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  border-radius: 18px !important;
  box-shadow: none !important;
  border: none !important;
  line-height: 1.55;
  font-size: 15.5px;
  padding: 12px 16px !important;
}

.vero-page .vero-m--user .vero-m__bubble,
.vero-page .vero-page__bubble--user .vero-m__bubble {
  background: #efefef !important;
  color: var(--vero-ink) !important;
  border-radius: 18px 18px 6px 18px !important;
  font-weight: 450;
}

.vero-page .vero-m--bot .vero-m__bubble {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  color: var(--vero-ink) !important;
}

.vero-page .vero-m__avatar {
  box-shadow: none !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid var(--vero-line);
}

.vero-page .vero-page__who,
.vero-page .vero-m__time {
  font-size: 11px !important;
  color: #a1a1aa !important;
  letter-spacing: 0 !important;
}

/* ── Composer ── */
.vero-page__dock {
  background: linear-gradient(
    180deg,
    rgba(250, 250, 250, 0) 0%,
    rgba(250, 250, 250, 0.9) 40%,
    var(--vero-bg) 100%
  ) !important;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
}

.vero-page__composer-shell {
  border: 1px solid var(--vero-line-strong) !important;
  border-radius: 28px !important;
  min-height: 56px !important;
  background: var(--vero-surface) !important;
  box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06) !important;
  max-width: 720px;
  margin: 0 auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vero-page__composer-shell:focus-within {
  border-color: rgba(249, 114, 17, 0.45) !important;
  box-shadow:
    0 0 0 3px rgba(249, 114, 17, 0.1),
    0 8px 28px rgba(20, 20, 20, 0.08) !important;
}

.vero-page__composer-shell:not(.is-disabled) input {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  color: var(--vero-ink);
}

.vero-page__composer-shell:not(.is-disabled) input::placeholder {
  color: #a1a1aa;
}

.vero-page__composer-shell:not(.is-disabled) .vero-page__send {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  background: var(--vero-ink) !important;
  border-radius: 999px !important;
  width: 36px !important;
  height: 36px !important;
  transition: background 0.15s ease, opacity 0.15s ease;
  transform: none !important;
}

.vero-page__composer-shell:not(.is-disabled) .vero-page__send:hover:not(:disabled) {
  background: #2a2a2a !important;
  transform: none !important;
}

.vero-page__composer-shell:not(.is-disabled) .vero-page__send:disabled {
  opacity: 0.25 !important;
  cursor: not-allowed !important;
  background: #141414 !important;
}

.vero-page__composer-tool {
  color: var(--vero-subtle) !important;
  border-radius: 999px !important;
}

.vero-page__composer-tool:hover:not(:disabled) {
  color: var(--vero-brand) !important;
  background: var(--vero-brand-soft) !important;
}

@keyframes vero-page-in-29 {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .vero-page__thread,
  .vero-page__thread--empty {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Keep scroller edge-to-edge on small screens too */
  .vero-page__thread {
    max-width: none !important;
    margin: 0 !important;
  }

  .vero-page__dock {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .vero-page__tiles {
    grid-template-columns: 1fr !important;
    max-width: 22rem;
  }

  .vero-page__hero-avatar {
    width: 76px !important;
    height: 76px !important;
  }

  .vero-sidebar {
    box-shadow: 8px 0 28px rgba(20, 20, 20, 0.12) !important;
  }

  .vero-sidebar__nav-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ChatGPT-smooth stream status (vero-chat-stream-29.js) */
.vero-stream-status {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--vero-muted, #6f6f6f);
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 8px;
  min-height: 1.25em;
}

.vero-stream-status:not([hidden]) {
  animation: vero-stream-pulse-29 1.2s ease-in-out infinite;
}

@keyframes vero-stream-pulse-29 {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vero-page__empty,
  .vero-page .vero-page__bubble,
  .vero-page .vero-tile,
  .vero-sidebar__new,
  .vero-stream-status:not([hidden]) {
    animation: none !important;
    transition: none !important;
  }
}

html.dark .vero-shell,
html.dark .vero-shell-main,
html.dark .vero-page {
  --vero-ink: #f4f4f5;
  --vero-muted: #a1a1aa;
  --vero-subtle: #71717a;
  --vero-line: rgba(255, 255, 255, 0.08);
  --vero-line-strong: rgba(255, 255, 255, 0.12);
  --vero-surface: #18181b;
  --vero-bg: #09090b;
  --vero-sidebar: #09090b;
  --vero-sidebar-text: #f4f4f5;
  --vero-sidebar-muted: #a1a1aa;
  --vero-sidebar-hover: #27272a;
  --vero-sidebar-active: #27272a;
  background: var(--vero-bg) !important;
}

html.dark .vero-sidebar__logo {
  filter: brightness(0) invert(1) !important;
}

html.dark .vero-page__topbar,
html.dark .vero-page__dock {
  background: rgba(9, 9, 11, 0.92) !important;
}

html.dark .vero-page__composer-shell {
  background: #18181b !important;
}

html.dark .vero-page .vero-m--user .vero-m__bubble,
html.dark .vero-page .vero-page__bubble--user .vero-m__bubble {
  background: #27272a !important;
  color: #f4f4f5 !important;
}

html.dark .vero-page .vero-tile {
  background: #18181b !important;
}

html.dark .vero-page .vero-tile:hover {
  background: #1f1f23 !important;
}

html.dark .vero-sidebar__new {
  background: #f4f4f5 !important;
  color: #09090b !important;
}
