/* ==========================================================================
   Chốn Nhỏ — Minimalist Enterprise Design System
   ========================================================================== */

:root {
  --abnb-bg: #ffffff;
  --abnb-wash: #f5f4ef;
  --abnb-circle-bg: #f2f1ec;
  --abnb-circle-hover: #e8e6df;
  --abnb-ink: #080a09;
  --abnb-muted: #545a5c;
  --abnb-border: #dcdad3;
  --abnb-hairline: #eae8e2;
  --abnb-coral: #11161c;
  --abnb-coral-hover: #080a09;
  --abnb-coral-tint: #f2f1ec;
  --brand-ink: #080a09;
  --brand-obsidian: #11161c;
  --brand-accent: #7c5d36;
  --brand-champagne: #d6c29d;
  --brand-green: #11161c;
  --brand-green-hover: #080a09;
  --brand-sage: #d6c29d;
  --brand-cream: #faf6ee;
  --abnb-ok: #008a05;
  --abnb-ok-bg: #eefaf0;
  --abnb-warn: #92400e;
  --abnb-warn-bg: #fef7e6;
  --abnb-warn-border: #f2d388;
  --abnb-sim: #1e40af;
  --abnb-sim-bg: #eff6ff;
  --abnb-sim-border: #bfdbfe;
  --abnb-pill-shadow: 0 3px 14px 0 rgba(0, 0, 0, 0.09), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --abnb-card-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  --abnb-pin-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  background-color: var(--abnb-bg);
  color: var(--abnb-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

::selection {
  background-color: var(--abnb-coral-tint);
  color: var(--abnb-coral-hover);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.abnb-main-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 48px;
}

/* ---------- Corn Revolution / Centella-Inspired SVG Stroke Preloader ---------- */
html[data-skip-intro] #intro-overlay {
  display: none !important;
}

html.is-preloading,
html.is-preloading body {
  overflow: hidden;
  overscroll-behavior: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 950;
  width: 100vw;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.8vh, 28px);
  padding: 24px;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s cubic-bezier(0.215, 0.61, 0.355, 1), visibility 0.55s;
}

.preloader-bg {
  position: absolute;
  inset: 0;
  background: #000000;
  pointer-events: none;
}

.preloader.is-exiting {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.52s cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-container {
  position: relative;
  z-index: 2;
  width: min(390px, 27vw);
  min-width: 260px;
  transform: translateY(-1.5vh);
}

.logo-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 813 / 186;
  will-change: transform, opacity;
}

.logo-inner svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.logo-inner svg.out path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.logo-inner svg.animated {
  opacity: 0;
}

.logo-inner svg.animated path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.1px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.logo-inner svg.fill {
  opacity: 0;
}

.progress-container {
  position: relative;
  z-index: 2;
  transform: translateY(-1.5vh);
  width: min(460px, 86vw);
  text-align: center;
  pointer-events: none;
}

.progress-container p.label {
  margin: 0;
  font-family: 'Newsreader', 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
}

.preloader-skip {
  position: absolute;
  z-index: 3;
  top: max(20px, env(safe-area-inset-top, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.preloader.is-exiting .preloader-skip {
  opacity: 0;
  pointer-events: none;
}

.preloader-skip:hover,
.preloader-skip:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  outline-color: #ffffff;
}

@media (max-width: 640px) {
  .logo-container {
    width: min(300px, 74vw);
    min-width: 0;
    transform: translateY(-2vh);
  }

  .progress-container {
    transform: translateY(-2vh);
  }
}

/* ---------- Minimalist Sticky Top Header & Floating Pill ---------- */
.abnb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 22, 28, 0.09);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.is-home-view .abnb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.is-home-view.is-scrolled .abnb-header {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(17, 22, 28, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

body.is-home-view:not(.is-scrolled) .abnb-header-btn {
  background-color: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.1);
}

body.is-home-view:not(.is-scrolled) .abnb-header-btn:hover {
  background-color: #ffffff;
}

.abnb-header-top {
  max-width: 1440px;
  margin-inline: auto;
  height: 54px;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.abnb-brand {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 2px 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.abnb-brand:hover {
  opacity: 0.72;
}

.abnb-brand-lockup {
  height: 31px;
  width: auto;
  display: block;
}

.header-quick-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding-inline: 11px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #4b5551;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.header-nav-link:hover {
  color: #11161c;
  background-color: rgba(17, 22, 28, 0.07);
}

.header-nav-link.is-active {
  color: #11161c;
  background-color: #f2f1ec;
  font-weight: 600;
}

@media (max-width: 640px) {
  .abnb-brand-lockup {
    height: 26px;
  }
}

.abnb-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.abnb-host-link {
  height: 38px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 0;
  background-color: transparent;
  color: var(--abnb-ink);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s cubic-bezier(0.2, 0, 0, 1), transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.abnb-host-link:hover {
  background-color: rgba(0, 0, 0, 0.055);
}

.abnb-host-link.is-active {
  background-color: var(--abnb-coral-tint);
  color: var(--brand-green);
  font-weight: 600;
}

.abnb-circle-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background-color: #f2f2f2;
  color: var(--abnb-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.abnb-circle-btn:hover {
  background-color: #e6e6e6;
  transform: scale(1.04);
}

.abnb-circle-btn.is-active {
  background-color: #11161c;
  color: #ffffff;
}

body.is-home-view:not(.is-scrolled) .abnb-circle-btn {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

body.is-home-view:not(.is-scrolled) .abnb-circle-btn:hover {
  background-color: #ffffff;
}

body.is-home-view:not(.is-scrolled) .abnb-host-link:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.circle-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  background-color: #11161c;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Header Menu Popover */
.header-menu-wrap {
  position: relative;
}

.header-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 244px;
  background-color: #ffffff;
  border: 1px solid #e2e8e5;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(12, 16, 22, 0.13);
  padding: 6px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-pop-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--abnb-ink);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.menu-pop-item svg {
  color: #4c5254;
  flex-shrink: 0;
  transition: color 0.14s ease;
}

.menu-pop-item:hover {
  background-color: #f2f1ec;
  color: #11161c;
}

.menu-pop-item:hover svg {
  color: #11161c;
}

.menu-mobile-nav-only,
.menu-mobile-host-only {
  display: none;
}

@media (max-width: 1024px) {
  .menu-mobile-nav-only {
    display: flex;
  }
}

@media (max-width: 767px) {
  .menu-mobile-host-only {
    display: flex;
  }
}

.menu-pop-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.menu-pop-sub {
  font-size: 11.5px;
  color: var(--abnb-coral-hover);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-pop-sub.menu-pop-sub-muted {
  color: var(--abnb-muted);
  font-weight: 500;
}

.menu-pop-divider {
  height: 1px;
  background-color: var(--abnb-hairline);
  margin: 4px 6px;
}

/* ---------- Melius-Inspired Orbital Hero + Ultra-Clean Compact Search Pill ---------- */
.hero-orbit-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(670px, 100svh, 860px);
  padding-top: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ececea;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero-orbit-section.is-dragging {
  cursor: grabbing;
}

.hero-orbit-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 82%, #ffffff 100%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'15'%20height%3D'15'%3E%3Crect%20x%3D'6.5'%20y%3D'6.5'%20width%3D'2'%20height%3D'2'%20rx%3D'1'%20ry%3D'1'%20fill%3D'rgb(0%2C0%2C0)'%20fill-opacity%3D'0.085'%2F%3E%3C%2Fsvg%3E");
  background-size: 100% 100%, 15px 15px;
  background-repeat: no-repeat, repeat;
}

.hero-dot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-cycle-wrap {
  display: inline-grid;
  vertical-align: baseline;
  overflow: hidden;
  padding: 0.24em 0.18em 0.14em 0.08em;
  margin: -0.24em -0.18em -0.14em -0.08em;
}

.hero-cycle-word {
  display: inline-block;
  color: var(--brand-accent);
  font-style: italic;
  letter-spacing: -0.01em;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.hero-cycle-word.is-exiting {
  opacity: 0;
  transform: translateY(-38%);
}

.hero-cycle-word.is-entering {
  opacity: 0;
  transform: translateY(38%);
  transition: none;
}

.hero-orbit-ring {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 0;
  height: 0;
  z-index: 10;
  pointer-events: none;
}

.orbit-card {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

.orbit-card--portrait {
  width: 108px;
  height: 138px;
  margin-left: -54px;
  margin-top: -69px;
}

.orbit-card--square {
  width: 108px;
  height: 108px;
  margin-left: -54px;
  margin-top: -54px;
}

.orbit-card--landscape {
  width: 160px;
  height: 92px;
  margin-left: -80px;
  margin-top: -46px;
}

.orbit-card-label {
  position: absolute;
  top: -26px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  color: #363c3a;
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.orbit-card:hover .orbit-card-label {
  color: #0e0e0e;
}

.orbit-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #d9d9d5;
  box-shadow: 0 14px 34px rgba(26, 22, 22, 0.14);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.orbit-card:hover .orbit-card-media,
.orbit-card:focus-visible .orbit-card-media {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 42px rgba(26, 22, 22, 0.2);
}

.orbit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.orbit-card-chip {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: rgba(14, 14, 14, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(26, 22, 22, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.orbit-card:hover .orbit-card-chip,
.orbit-card:focus-visible .orbit-card-chip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-orbit-center {
  position: relative;
  z-index: 400;
  width: min(860px, 92vw);
  margin-inline: auto;
  text-align: center;
  pointer-events: none;
  transform: translateY(-28px);
}

.home-hero-title {
  margin: 0 0 14px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #0e0e0e;
  text-align: center;
  text-wrap: balance;
}

.home-hero-sub {
  margin: 0 auto 24px;
  max-width: 440px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #363634;
  text-wrap: balance;
}

.hero-pill-slot {
  position: relative;
  pointer-events: auto;
}

/* ---------- Unified AI Chat Bar (Home Hero) ---------- */
.abnb-pill-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
}

#header-pill-slot .abnb-pill-wrap {
  max-width: 720px;
  padding: 6px 24px 12px;
}

.abnb-search-pill {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  height: 60px;
  padding: 6px 7px 6px 20px;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid rgba(16, 22, 20, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(12, 16, 22, 0.1), 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.abnb-search-pill:focus-within {
  border-color: rgba(17, 22, 28, 0.45);
  box-shadow: 0 10px 32px rgba(17, 22, 28, 0.14), 0 0 0 4px rgba(17, 22, 28, 0.08);
}

.ai-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #11161c;
  flex-shrink: 0;
}

.ai-chat-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--abnb-ink);
  outline: none;
  text-overflow: ellipsis;
}

.ai-chat-input::placeholder {
  color: #595f61;
}

.pill-right-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pill-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background-color: transparent;
  color: #545a5c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pill-mic-btn:hover {
  background-color: #f2f1ec;
  color: #11161c;
}

.abnb-search-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background-color: #11161c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.abnb-search-circle-btn:hover {
  background-color: #080a09;
}

.abnb-search-circle-btn:active {
  transform: scale(0.95);
}

/* Search Pill Floating Popovers */
.pill-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 56%;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 32px));
  background-color: #ffffff;
  border: 1px solid var(--abnb-hairline);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  padding: 20px 24px;
  z-index: 450;
  text-align: left;
}

.pill-popover-right {
  left: auto;
  right: 0;
  transform: none;
}

.popover-block + .popover-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--abnb-hairline);
}

.popover-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--abnb-ink);
  margin-bottom: 10px;
}

.popover-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pop-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: var(--abnb-ink);
}

.pop-chip:hover {
  border-color: var(--abnb-ink);
}

.pop-chip.is-active {
  background-color: var(--abnb-ink);
  border-color: var(--abnb-ink);
  color: #ffffff;
}

.popover-stepper-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--abnb-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stepper-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #b0b0b0;
  background-color: #ffffff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stepper-btn:hover {
  border-color: var(--abnb-ink);
}

/* Home-only Quick Prompt Strip below Pill */
.abnb-ai-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: auto;
}

.ai-strip-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #555552;
}

.ai-strip-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-prompt-chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--abnb-ink);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.ai-prompt-chip:hover {
  border-color: var(--abnb-ink);
  background-color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- MODE 1: Clean 4-Column Home Discovery Grids ---------- */
#home-discovery-view {
  padding-top: 0;
  padding-bottom: 56px;
}

#home-shelves-container {
  padding-top: 36px;
}

/* Scroll-triggered reveal transitions */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1), transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Section 1: Airbnb-Style Square Category Strip */
.home-cat-section {
  margin-bottom: 44px;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.home-cat-card {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.home-cat-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--abnb-circle-bg);
}

.home-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.home-cat-card:hover .home-cat-thumb img {
  transform: scale(1.05);
}

.home-cat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--abnb-ink);
  line-height: 1.25;
}

.home-cat-sub {
  font-size: 12.5px;
  color: var(--abnb-muted);
}

/* Shelf Header with Right Carousel Controls */
.abnb-shelf-section {
  margin-bottom: 46px;
}

.abnb-shelf-section:last-child {
  margin-bottom: 0;
}

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

.shelf-title-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}

.shelf-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--abnb-ink);
}

.shelf-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--abnb-circle-bg);
  color: var(--abnb-ink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.shelf-title-btn:hover .shelf-arrow-circle {
  background-color: #11161c;
  color: #ffffff;
  transform: translateX(3px);
}

.shelf-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shelf-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: var(--abnb-ink);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), background-color 0.2s ease, border-color 0.2s ease;
}

.shelf-nav-arrow:hover:not(:disabled) {
  background-color: #f2f2f2;
  border-color: rgba(0, 0, 0, 0.22);
  transform: scale(1.06);
}

.shelf-nav-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Airbnb Image-3 Quick Stats 3-Column Strip */
.quick-stats-section {
  margin-block: 50px;
  padding: 28px 0;
  border-top: 1px solid var(--abnb-hairline);
  border-bottom: 1px solid var(--abnb-hairline);
}

.quick-stats-heading {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--abnb-ink);
}

.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.quick-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.quick-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #f2f1ec;
  color: #11161c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-stat-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--abnb-ink);
}

.quick-stat-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--abnb-muted);
}

/* Airbnb Image-2 5-Column Popular Amenities Showcase */
.amenities-showcase-section {
  margin-top: 46px;
}

.amenities-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.amenity-showcase-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 24px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.amenity-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 22, 28, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.amenity-showcase-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: #f2f1ec;
  color: #11161c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), background-color 0.2s ease;
}

.amenity-showcase-card:hover .amenity-showcase-icon {
  transform: scale(1.08);
  background-color: #11161c;
  color: #f7f6ee;
}

.amenity-showcase-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--abnb-ink);
}

/* ---------- Borderless Listing Card ---------- */
.abnb-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-width: 0;
}

.abnb-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--abnb-circle-bg);
}

.abnb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.abnb-card:hover .abnb-card-img {
  transform: scale(1.03);
}

.abnb-card-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #ffffff;
  color: var(--abnb-ink);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  max-width: calc(100% - 54px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abnb-card-pill.is-caution {
  background-color: rgba(254, 247, 230, 0.97);
  border-color: #fde68a;
  color: var(--abnb-warn);
}

.abnb-heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.abnb-heart-btn:hover {
  transform: scale(1.12);
}

.abnb-heart-btn svg {
  width: 24px;
  height: 24px;
  fill: rgba(0, 0, 0, 0.45);
  stroke: #ffffff;
  stroke-width: 2;
  transition: fill 0.2s ease, transform 0.28s cubic-bezier(0.2, 0, 0, 1);
}

.abnb-heart-btn.is-saved svg {
  fill: var(--abnb-coral);
  stroke: #ffffff;
  animation: heartPop 0.34s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.26); }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.card-img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--abnb-ink);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.abnb-card-media:hover .card-img-arrow {
  opacity: 1;
}

.card-img-prev {
  left: 8px;
}

.card-img-next {
  right: 8px;
}

.card-dots {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  pointer-events: none;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.62);
}

.card-dot.is-active {
  background-color: #ffffff;
  transform: scale(1.15);
}

.abnb-card-info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.abnb-card-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--abnb-ink);
  line-height: 1.32;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abnb-card-sub {
  font-size: 13px;
  color: var(--abnb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abnb-card-price-row {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--abnb-muted);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.abnb-card-price-strong {
  color: var(--abnb-ink);
  font-weight: 600;
}

.abnb-card-caution {
  margin-top: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  background-color: var(--abnb-warn-bg);
  color: var(--abnb-warn);
  font-size: 12px;
  line-height: 1.35;
}

.abnb-card-actions-inline {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.abnb-card-actions-inline > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abnb-compare-mini {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  color: var(--abnb-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.abnb-compare-mini.is-selected {
  background-color: var(--abnb-ink);
  border-color: var(--abnb-ink);
  color: #ffffff;
}

/* ---------- MODE 2: Search Results + Compact AI Bar + Sticky Map ---------- */
.search-filter-bar {
  border-bottom: 1px solid var(--abnb-hairline);
  background-color: #ffffff;
}

.search-filter-inner {
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-filter-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.abnb-filter-pill {
  height: 36px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: var(--abnb-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.abnb-filter-pill:hover {
  border-color: var(--abnb-ink);
}

.abnb-filter-pill.is-strong {
  font-weight: 600;
}

.abnb-filter-pill.has-filters {
  border-color: var(--abnb-ink);
  background-color: var(--abnb-wash);
}

.filter-btn-count {
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: 999px;
  background-color: var(--abnb-ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-sort-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.abnb-sort-select {
  height: 36px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: var(--abnb-ink);
}

.search-body-wrap {
  padding-top: 14px;
  padding-bottom: 64px;
}

.active-chips-bar {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 11px;
  border-radius: 999px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-border);
  font-size: 12.5px;
  font-weight: 500;
}

.filter-chip-remove {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background-color: #e0e0e0;
  color: var(--abnb-ink);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-chip-remove:hover {
  background-color: var(--abnb-ink);
  color: #ffffff;
}

/* Compact Single-Bar AI Assistant Panel */
.abnb-ai-card {
  margin-bottom: 16px;
  border: 1px solid var(--abnb-border);
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.ai-card-head {
  padding: 6px 14px;
  background-color: var(--abnb-wash);
  border-bottom: 1px solid var(--abnb-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-card-head-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.ai-spark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--abnb-coral);
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ai-spark-dot.is-thinking {
  animation: aiDotPulse 1.1s ease-in-out infinite;
}

@keyframes aiDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.45;
  }
}

.ai-engine-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--abnb-coral);
  background-color: var(--abnb-coral-tint);
  border: 1px solid #d6d2c7;
}

.ai-engine-badge.is-local {
  color: var(--abnb-muted);
  background-color: #ffffff;
  border-color: var(--abnb-border);
}

.ai-rec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ai-rec-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--abnb-muted);
}

.ai-rec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d6d2c7;
  background-color: var(--abnb-coral-tint);
  color: var(--abnb-coral);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.ai-rec-chip:hover {
  background-color: #e8e6df;
  border-color: var(--abnb-coral);
}

.ai-followup-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 8px 14px;
  border-top: 1px solid var(--abnb-hairline);
  background-color: #fafbf9;
}

.ai-followup-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--abnb-ink);
  outline: none;
}

.ai-followup-input::placeholder {
  color: #7c8480;
}

.ai-followup-mic-btn,
.ai-followup-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ai-followup-mic-btn {
  background-color: transparent;
  color: #545a5c;
}

.ai-followup-mic-btn:hover {
  background-color: #e8f1ed;
  color: #11161c;
}

.ai-followup-send-btn {
  background-color: #11161c;
  color: #ffffff;
}

.ai-followup-send-btn:hover {
  background-color: #080a09;
}

.ai-followup-send-btn:active {
  transform: scale(0.95);
}

.ai-card-head-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.abnb-mini-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: var(--abnb-ink);
  white-space: nowrap;
}

.abnb-mini-btn:hover {
  border-color: var(--abnb-ink);
}

.ai-card-messages {
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-compact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.ai-compact-line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--abnb-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.ai-compact-summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--abnb-ink);
}

.ai-compact-followup {
  margin: 0;
  font-size: 13px;
  line-height: 1.42;
  color: var(--abnb-muted);
}

.ai-history-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 2px;
}

.chat-turn {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-turn.is-user {
  align-items: flex-end;
}

.chat-bubble {
  max-width: 88%;
  padding: 8px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.chat-turn.is-user .chat-bubble {
  background-color: var(--abnb-ink);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-turn.is-ai .chat-bubble {
  background-color: var(--abnb-wash);
  color: var(--abnb-ink);
  border-bottom-left-radius: 4px;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble p + p {
  margin-top: 5px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reply-pill-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--abnb-coral);
  background-color: var(--abnb-coral-tint);
  color: var(--abnb-coral-hover);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.reply-pill-btn:hover {
  background-color: var(--abnb-coral);
  color: #ffffff;
}

/* Split Layout */
.abnb-split {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.abnb-split.is-map-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.abnb-split.is-map-hidden .abnb-map-col {
  display: none;
}

.abnb-split.is-map-expanded {
  grid-template-columns: minmax(0, 1fr);
}

.abnb-split.is-map-expanded .abnb-listings-col {
  display: none;
}

.abnb-card.is-map-hovered .abnb-card-media {
  box-shadow: 0 0 0 2.5px #11161c, 0 12px 26px rgba(12, 16, 22, 0.14);
}

.results-count-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.results-count-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--abnb-ink);
}

.results-count-note {
  font-size: 13px;
  color: var(--abnb-muted);
}

.abnb-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.abnb-split.is-map-hidden .abnb-search-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.abnb-empty-state {
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid var(--abnb-border);
  background-color: var(--abnb-wash);
}

.abnb-empty-state h3 {
  margin: 0;
  font-size: 17px;
}

.abnb-empty-state p {
  margin: 8px 0 0;
  color: var(--abnb-muted);
}

.relax-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.relax-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.relax-btn:hover {
  border-color: var(--abnb-ink);
}

.relax-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--abnb-coral-hover);
  flex-shrink: 0;
}

/* Sticky Map Column (MapLibre Real HCMC Interactive Map) */
.abnb-map-sticky {
  position: sticky;
  top: 158px;
  height: calc(100vh - 178px);
  min-height: 520px;
  max-height: 760px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--abnb-hairline);
  background-color: #f4f3ee;
  box-shadow: 0 4px 20px rgba(12, 16, 22, 0.06);
}

.abnb-map-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.abnb-map-canvas .maplibregl-ctrl-attrib {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.cn-map-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--abnb-muted);
}

.sim-pill {
  background-color: var(--abnb-sim-bg);
  color: var(--abnb-sim);
  border: 1px solid var(--abnb-sim-border);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

/* Floating Map Toolbar (Top-Left) */
.cn-map-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 58px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}

.cn-map-toolbar > * {
  pointer-events: auto;
}

.cn-map-seg {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(12, 16, 22, 0.12);
  border-radius: 999px;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(12, 16, 22, 0.1);
}

.cn-map-seg-btn {
  border: 0;
  background: transparent;
  color: var(--abnb-muted);
  font-size: 12px;
  font-weight: 600;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cn-map-seg-btn.is-active {
  background: #11161c;
  color: #f7f6ee;
}

.cn-map-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 16, 22, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--abnb-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(12, 16, 22, 0.1);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cn-map-pill-btn:hover {
  border-color: #11161c;
}

.cn-map-pill-btn.is-active {
  background: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
}

.cn-metro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11161c;
  display: inline-block;
}

.cn-map-pill-btn.is-active .cn-metro-dot {
  background: #d6c29d;
}

/* Commute Popover */
.cn-map-commute-wrap {
  position: relative;
}

.cn-commute-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 224px;
  background: #ffffff;
  border: 1px solid var(--abnb-hairline);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(12, 16, 22, 0.16);
  padding: 10px;
  z-index: 60;
}

.cn-commute-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--abnb-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px 8px;
}

.cn-commute-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cn-commute-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--abnb-ink);
  text-align: left;
  cursor: pointer;
}

.cn-commute-item:hover {
  background: #f2f1ec;
}

.cn-commute-item.is-active {
  background: #e2ebe5;
  color: #080a09;
  font-weight: 600;
}

.cn-commute-check {
  color: #11161c;
  font-weight: 700;
}

.cn-commute-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--abnb-hairline);
}

.cn-commute-action-btn {
  width: 100%;
  border: 1px solid var(--abnb-border);
  background: #fafbf7;
  color: var(--abnb-ink);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.cn-commute-action-btn:hover {
  border-color: #11161c;
  background: #f2f1ec;
}

.cn-commute-action-btn.is-danger {
  border-color: rgba(198, 65, 55, 0.25);
  color: #b4362c;
  background: #fff7f6;
}

/* Search This Area & Pick Mode Floating Banners */
.cn-map-search-area-btn {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 46;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(12, 16, 22, 0.14);
  background: #ffffff;
  color: #0d1115;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(12, 16, 22, 0.16);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cn-map-search-area-btn:hover {
  background: #11161c;
  color: #f7f6ee;
  transform: translateX(-50%) scale(1.03);
}

.cn-map-pick-banner {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d1115;
  color: #f7f6ee;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cn-map-pick-banner button {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Right Control Stack (+, -, GPS, Expand) */
.cn-map-ctrl-stack {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cn-map-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(12, 16, 22, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--abnb-ink);
  font-size: 17px;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(12, 16, 22, 0.1);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cn-map-icon-btn:hover {
  border-color: #11161c;
  color: #11161c;
}

.cn-map-icon-btn.is-active {
  background: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
}

/* MapLibre Custom HTML Markers */
.cn-map-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(12, 16, 22, 0.16);
  background: #ffffff;
  color: #0d1115;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(12, 16, 22, 0.18);
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cn-map-pin.is-viewed {
  background: #f5f5f0;
  color: #545a5c;
  border-color: rgba(17, 22, 28, 0.2);
}

.cn-map-pin:hover,
.cn-map-pin.is-hovered,
.cn-map-pin.is-selected {
  background: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
  transform: scale(1.1);
}

.cn-map-pin.is-selected {
  box-shadow: 0 0 0 3px rgba(17, 22, 28, 0.24), 0 6px 16px rgba(12, 16, 22, 0.28);
}

.cn-pin-saved-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e14b4b;
  display: inline-block;
}

.cn-map-cluster {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  background: #11161c;
  color: #f7f6ee;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 16, 22, 0.28);
  transition: transform 0.15s ease;
}

.cn-map-cluster strong {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f7f6ee;
  color: #11161c;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
}

.cn-map-cluster:hover {
  transform: scale(1.08);
}

.cn-commute-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0d1115;
  color: #f7f6ee;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.cn-commute-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97745;
  box-shadow: 0 0 0 2px rgba(217, 119, 69, 0.35);
}

.cn-metro-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.cn-metro-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #11161c;
  color: #11161c;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(12, 16, 22, 0.18);
}

.cn-metro-name {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1115;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.cn-metro-pin.show-label .cn-metro-name {
  display: inline-block;
}

/* Floating Preview Card (Bottom-Left / Compact, Never Blocks All South) */
.cn-map-preview-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 50;
  width: min(360px, calc(100% - 28px));
  background: #ffffff;
  border: 1px solid rgba(12, 16, 22, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(12, 16, 22, 0.18);
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 11px;
}

.cn-preview-media {
  position: relative;
  width: 110px;
  min-height: 94px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e9ece8;
}

.cn-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cn-preview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0d1115;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cn-preview-media:hover .cn-preview-arrow {
  opacity: 1;
}

.cn-preview-arrow.is-prev {
  left: 5px;
}

.cn-preview-arrow.is-next {
  right: 5px;
}

.cn-preview-heart {
  top: 5px !important;
  right: 5px !important;
  width: 26px !important;
  height: 26px !important;
}

.cn-preview-heart svg {
  width: 17px !important;
  height: 17px !important;
}

.cn-preview-close {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(12, 16, 22, 0.72);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cn-preview-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
}

.cn-preview-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--abnb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cn-preview-tags {
  margin: 0;
  font-size: 11.5px;
  color: var(--abnb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cn-preview-price {
  margin: 0;
  font-size: 12.5px;
  color: var(--abnb-muted);
}

.cn-preview-price strong {
  color: var(--abnb-ink);
}

.cn-preview-commute {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #11161c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cn-preview-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.abnb-mobile-map-pill {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 65;
  height: 44px;
  padding-inline: 20px;
  border-radius: 999px;
  border: 0;
  background-color: var(--abnb-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  align-items: center;
  gap: 8px;
}

body.has-compare-tray .abnb-mobile-map-pill {
  bottom: 88px;
}

/* ---------- MODE 3: Listing Detail View ---------- */
.abnb-detail-view {
  padding-block: 24px 64px;
}

.pdp-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 40px;
}

.pdp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pdp-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pdp-title {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.26;
}

.pdp-actions-inline {
  display: flex;
  gap: 10px;
}

.pdp-text-action {
  background: none;
  border: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-text-action:hover {
  background-color: var(--abnb-wash);
}

.pdp-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 8px;
  border-radius: 14px;
  overflow: hidden;
  height: 410px;
  margin-bottom: 30px;
}

.pdp-gallery.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.pdp-gallery.is-pair .pdp-gallery-side {
  grid-template-rows: 1fr;
}

.pdp-gallery-sub {
  position: relative;
  overflow: hidden;
}

.pdp-gallery-more {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 36, 32, 0.78);
  color: #f7f6ee;
  font-size: 12px;
  font-weight: 600;
}

.pdp-gallery-main {
  height: 100%;
  overflow: hidden;
}

.pdp-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.pdp-gallery-sub {
  overflow: hidden;
}

.pdp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-gallery-360-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  height: 38px;
  padding-inline: 16px;
  border-radius: 10px;
  border: 1px solid var(--abnb-ink);
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--abnb-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pdp-gallery-360-btn:hover {
  background-color: var(--abnb-wash);
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: start;
}

.pdp-section {
  padding-block: 22px;
  border-bottom: 1px solid var(--abnb-hairline);
}

.pdp-section:first-child {
  padding-top: 0;
}

.pdp-section:last-child {
  border-bottom: 0;
}

.pdp-subtitle {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.pdp-specs-line {
  margin: 5px 0 0;
  font-size: 15px;
  color: var(--abnb-muted);
}

.pdp-match-banner {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--abnb-border);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pdp-host-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.host-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--abnb-ink);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-highlights-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.pdp-highlight-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--abnb-ink);
}

.pdp-tour-box {
  padding: 16px 18px;
  border-radius: 12px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-border);
}

.pdp-tour-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.amenity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.amenity-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}

.amenity-tag.is-yes {
  background-color: var(--abnb-ok-bg);
  color: var(--abnb-ok);
}

.amenity-tag.is-warn {
  background-color: var(--abnb-warn-bg);
  color: var(--abnb-warn);
}

.amenity-tag.is-no {
  background-color: var(--abnb-circle-bg);
  color: var(--abnb-muted);
}

/* Sticky Booking & Compact Cost Summary Card */
.pdp-sticky-card {
  position: sticky;
  top: 166px;
  padding: 24px;
  border: 1px solid var(--abnb-border);
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: var(--abnb-card-shadow);
}

.pdp-price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.pdp-price-main {
  font-size: 22px;
  font-weight: 700;
}

.pdp-cost-summary-box {
  padding: 12px 14px;
  border-radius: 10px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pdp-cost-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}

.pdp-cost-summary-row.is-sub {
  font-size: 12.5px;
  color: var(--abnb-muted);
}

.cost-calc-details {
  border: 1px solid var(--abnb-border);
  border-radius: 10px;
  padding: 10px 12px;
  background-color: #ffffff;
}

.cost-calc-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--abnb-ink);
  cursor: pointer;
}

.cost-calc-summary::-webkit-details-marker {
  display: none;
}

.cost-calc-summary::after {
  content: '▾';
  font-size: 12px;
  color: var(--abnb-muted);
  transition: transform 0.15s ease;
}

.cost-calc-details[open] .cost-calc-summary::after {
  transform: rotate(180deg);
}

.cost-calc-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--abnb-hairline);
}

.abnb-grouped-inputs {
  border: 1px solid #b0b0b0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.abnb-input-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #b0b0b0;
}

.abnb-cell {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.abnb-input-row-2 .abnb-cell:first-child {
  border-right: 1px solid #b0b0b0;
}

.abnb-cell label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--abnb-ink);
}

.abnb-cell select,
.abnb-cell input {
  border: 0;
  background: transparent;
  padding: 2px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--abnb-ink);
  outline: none;
  width: 100%;
}

.abnb-primary-btn {
  height: 46px;
  padding-inline: 20px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #11161c 0%, #080a09 100%);
  color: #f7f6ee;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.16s ease, transform 0.12s ease;
}

.abnb-primary-btn:hover {
  filter: brightness(1.06);
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ledger-table td {
  padding: 5px 0;
  color: var(--abnb-ink);
}

.ledger-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ledger-total td {
  padding-top: 10px;
  border-top: 1px solid var(--abnb-hairline);
  font-size: 14.5px;
  font-weight: 700;
}

.pdp-booking-divider {
  margin: 18px 0 14px;
  border: 0;
  border-top: 1px solid var(--abnb-hairline);
}

.booking-preview-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: var(--abnb-sim-bg);
  border: 1px solid var(--abnb-sim-border);
  font-size: 13px;
}

/* ---------- Compare Sticky Tray ---------- */
.compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background-color: #ffffff;
  border-top: 1px solid var(--abnb-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding-block: 10px;
}

.compare-tray-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-tray-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-tray-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.compare-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-border);
  font-size: 12.5px;
}

.compare-tray-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ---------- Forest-Green Brand Footer ---------- */
.abnb-footer {
  background-color: #11161c;
  border-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.footer-inspiration {
  padding-bottom: 36px;
}

.footer-insp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 22, 28, 0.12);
}

.footer-insp-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0d1115;
}

.footer-insp-sub {
  margin: 0;
  font-size: 13px;
  color: #545a5c;
}

.footer-insp-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.footer-insp-tabs::-webkit-scrollbar {
  display: none;
}

.footer-tab-btn {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 22, 28, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #464c4e;
  position: relative;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-tab-btn:hover {
  color: #11161c;
  border-color: rgba(17, 22, 28, 0.35);
  background-color: #ffffff;
}

.footer-tab-btn.is-active {
  background-color: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
  font-weight: 600;
}

.footer-insp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footer-insp-item {
  background: #ffffff;
  border: 1px solid rgba(17, 22, 28, 0.1);
  border-radius: 14px;
  padding: 8px 10px 8px 8px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.footer-insp-item:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 22, 28, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.footer-insp-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #e4e8e5;
  flex-shrink: 0;
}

.footer-insp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.footer-insp-item:hover .footer-insp-thumb img {
  transform: scale(1.06);
}

.footer-insp-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-insp-item strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #0d1115;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-insp-item:hover strong {
  color: #11161c;
}

.footer-insp-subtext {
  font-size: 12px;
  color: #565c5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-insp-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: #11161c;
  margin-top: 1px;
}

.footer-brand-band {
  background-color: #0d1115;
  color: #faf6ee;
  padding-block: 20px;
}

.footer-bottom {
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(247, 246, 238, 0.86);
}

.footer-brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: rgba(247, 246, 238, 0.14);
  border: 1px solid rgba(214, 194, 157, 0.32);
  color: #f7f6ee;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-copy {
  font-weight: 600;
  color: #f7f6ee;
}

.footer-brand-note {
  font-size: 12px;
  color: #d8d4c8;
  margin-top: 2px;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-about-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #f7f6ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-about-link:hover {
  color: #d6c29d;
}

/* ---------- Shared Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background-color: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--abnb-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.modal-close-btn:hover {
  background-color: var(--abnb-circle-bg);
}

.modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
}

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

.status-col {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--abnb-border);
}

.status-col.is-real {
  background-color: var(--abnb-ok-bg);
  border-color: #bbf7d0;
}

.status-col.is-sim {
  background-color: var(--abnb-sim-bg);
  border-color: var(--abnb-sim-border);
}

.status-col h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.status-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-credits-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-hairline);
  font-size: 12.5px;
  color: var(--abnb-muted);
  line-height: 1.55;
}

.demo-credits-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--abnb-ink);
  font-size: 13px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--abnb-hairline);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  width: 170px;
  background-color: var(--abnb-wash);
  font-weight: 600;
}

.modal-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-group label {
  font-size: 13px;
  font-weight: 600;
}

.field-group select,
.field-group input,
.field-group textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #b0b0b0;
  background-color: #ffffff;
  font-size: 14px;
}

.voice-modal-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voice-status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background-color: var(--abnb-wash);
  border: 1px solid var(--abnb-border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.voice-status-bar.is-listening {
  background-color: var(--abnb-coral-tint);
  border-color: #d6d2c7;
}

.voice-status-bar.is-error {
  background-color: #fdf3f2;
  border-color: #efc8c3;
}

.voice-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--abnb-muted);
  flex-shrink: 0;
}

.voice-status-bar.is-listening .voice-status-dot {
  background-color: var(--abnb-coral);
  box-shadow: 0 0 0 4px rgba(17, 22, 28, 0.16);
  animation: aiDotPulse 1.15s ease-in-out infinite;
}

.voice-status-bar.is-error .voice-status-dot {
  background-color: #b42318;
}

.voice-status-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voice-status-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--abnb-ink);
}

.voice-status-sub {
  font-size: 12px;
  color: var(--abnb-muted);
}

.voice-meter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 4px;
}

.voice-meter-bar {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--abnb-coral);
  opacity: 0.35;
  transition: height 0.08s linear, opacity 0.12s ease;
}

.voice-status-bar.is-listening .voice-meter-bar {
  opacity: 0.92;
}

.voice-error-banner {
  padding: 10px 12px;
  border-radius: 10px;
  background-color: #fdf3f2;
  border: 1px solid #efc8c3;
  color: #8a241b;
  font-size: 12.5px;
  line-height: 1.45;
}

.voice-interim-line {
  font-size: 12.5px;
  color: var(--abnb-coral);
  min-height: 18px;
  margin-top: 4px;
}

.voice-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voice-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.voice-auto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--abnb-muted);
  cursor: pointer;
}

.voice-samples-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid var(--abnb-hairline);
}

.voice-samples-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--abnb-muted);
}

.voice-sample-btn {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.voice-sample-btn:hover {
  border-color: var(--abnb-coral);
  background-color: var(--abnb-coral-tint);
}

.voice-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1280px) {
  .abnb-main-container,
  .abnb-header-top {
    padding-inline: 28px;
  }

  .abnb-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .home-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amenities-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

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

  .abnb-map-sticky {
    position: relative;
    top: 0;
    height: 500px;
    min-height: 440px;
  }

  .pdp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pdp-sticky-card {
    position: static;
  }

  .footer-insp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-quick-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .abnb-main-container,
  .abnb-header-top,
  .pdp-container {
    padding-inline: 16px;
  }

  .abnb-header-top {
    height: 48px;
    padding-block: 4px;
  }

  .abnb-brand-svg {
    width: 22px;
    height: 22px;
  }

  .abnb-brand-text {
    font-size: 17px;
  }

  .abnb-brand-sub {
    display: none;
  }

  .abnb-header-right {
    gap: 6px;
  }

  .abnb-host-link {
    display: none;
  }

  .abnb-circle-btn {
    width: 34px;
    height: 34px;
  }

  .home-cat-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
  }

  .home-cat-grid::-webkit-scrollbar {
    display: none;
  }

  .home-cat-card {
    flex: 0 0 132px;
  }

  .amenities-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .shelf-nav-group {
    display: none;
  }

  .hero-orbit-section {
    height: auto;
    min-height: 0;
    padding: 84px 0 28px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    cursor: default;
  }

  .hero-orbit-ring {
    position: relative;
    left: auto;
    top: auto;
    order: 2;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    overflow-x: auto;
    padding: 26px 16px 10px;
    pointer-events: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-orbit-ring::-webkit-scrollbar {
    display: none;
  }

  .orbit-card {
    position: relative;
    flex-shrink: 0;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: 1 !important;
    margin: 0 !important;
  }

  .orbit-card--portrait {
    width: 104px;
    height: 138px;
  }

  .orbit-card--square {
    width: 104px;
    height: 104px;
  }

  .orbit-card--landscape {
    width: 146px;
    height: 86px;
  }

  .orbit-card-label {
    font-size: 11px;
    top: -19px;
    opacity: 1 !important;
  }

  .hero-orbit-center {
    order: 1;
    transform: none;
  }

  #header-pill-slot .abnb-pill-wrap {
    padding: 2px 16px 10px;
  }

  .home-hero-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 7.6vw, 38px);
    text-align: center;
  }

  .home-hero-sub {
    margin: 0 auto 18px;
    font-size: 13.5px;
  }

  .abnb-search-pill {
    height: 52px;
    padding: 4px 6px 4px 14px;
    gap: 8px;
  }

  .ai-pill-icon svg {
    width: 16px;
    height: 16px;
  }

  .ai-chat-input {
    font-size: 13.5px;
    padding: 2px 0;
  }

  .pill-mic-btn {
    width: 34px;
    height: 34px;
  }

  .abnb-search-circle-btn {
    width: 38px;
    height: 38px;
  }

  .abnb-ai-strip {
    margin-top: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .abnb-ai-strip::-webkit-scrollbar {
    display: none;
  }

  .ai-strip-label,
  .ai-strip-pills,
  .ai-prompt-chip {
    flex-shrink: 0;
  }

  .ai-strip-pills {
    flex-wrap: nowrap;
  }

  #home-discovery-view {
    padding-top: 0;
    padding-bottom: 40px;
  }

  #home-shelves-container {
    padding-top: 22px;
  }

  .abnb-shelf-section {
    margin-bottom: 30px;
  }

  .shelf-heading {
    font-size: 18px;
  }

  .home-listings-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .desktop-only-btn {
    display: none;
  }

  .search-filter-inner {
    padding-block: 10px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .search-filter-left,
  .search-sort-right {
    gap: 6px;
    min-width: 0;
  }

  .search-sort-right {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .abnb-filter-pill,
  .abnb-sort-select {
    height: 32px;
    font-size: 12px;
  }

  .abnb-filter-pill {
    padding-inline: 10px;
  }

  .abnb-sort-select {
    padding-inline: 9px;
    min-width: 0;
    max-width: 138px;
    flex-shrink: 1;
  }

  .search-body-wrap {
    padding-top: 10px;
    padding-bottom: 108px;
  }

  .active-chips-bar {
    flex-wrap: wrap;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 1px;
  }

  .active-chips-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    font-size: 12px;
    padding: 3px 8px 3px 10px;
  }

  .abnb-ai-card {
    margin-bottom: 12px;
  }

  .ai-card-head {
    padding: 6px 12px;
  }

  .ai-card-messages {
    padding: 8px 12px;
    gap: 6px;
  }

  .ai-compact-summary {
    font-size: 13px;
    line-height: 1.4;
  }

  .ai-compact-followup {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .chat-quick-replies {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 1px;
  }

  .chat-quick-replies::-webkit-scrollbar {
    display: none;
  }

  .reply-pill-btn {
    flex-shrink: 0;
    font-size: 12px;
    padding: 4px 10px;
  }

  .results-count-row {
    margin-bottom: 10px;
  }

  .results-count-note {
    display: none;
  }

  .abnb-listings-col,
  .abnb-map-col {
    padding-bottom: 88px;
  }

  .abnb-search-grid,
  .abnb-split.is-map-hidden .abnb-search-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .abnb-split[data-mobile-active="list"] .abnb-map-col {
    display: none;
  }

  .abnb-split[data-mobile-active="map"] .abnb-listings-col {
    display: none;
  }

  .abnb-split[data-mobile-active="map"] .abnb-map-sticky {
    height: calc(100dvh - 196px);
    min-height: 460px;
    max-height: none;
  }

  .cn-map-toolbar {
    top: 10px;
    left: 10px;
    right: 52px;
    gap: 5px;
  }

  .cn-map-seg-btn {
    padding: 0 9px;
    font-size: 11.5px;
  }

  .cn-map-pill-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 11.5px;
  }

  .cn-map-preview-card {
    left: 10px;
    right: 10px;
    bottom: 62px;
    width: auto;
  }

  .cn-preview-arrow {
    opacity: 1;
  }

  .abnb-mobile-map-pill {
    display: inline-flex;
  }

  .pdp-gallery {
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
    border-radius: 0;
    gap: 8px;
  }

  .pdp-gallery-main {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .pdp-gallery-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
  }

  .pdp-gallery.is-pair .pdp-gallery-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdp-gallery-sub {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .pdp-gallery-360-btn {
    position: static;
    width: 100%;
    height: 40px;
    margin-top: 2px;
    justify-content: center;
    box-shadow: none;
  }

  .amenities-grid,
  .status-grid,
  .modal-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

/* ---------- Task 2: Lazy Interactive 3D / 360° Space Viewer Modal ---------- */
.modal-dialog.is-space-modal {
  max-width: 1320px;
  width: min(1320px, calc(100vw - 24px));
  max-height: 95vh;
}

.modal-dialog.is-space-modal .modal-body {
  padding: 14px 18px 18px;
}

.space-viewer-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.space-viewer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.space-disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--abnb-warn-bg);
  border: 1px solid var(--abnb-warn-border);
  color: var(--abnb-warn);
  font-size: 12px;
  font-weight: 600;
}

.space-toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.space-stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  max-height: 72vh;
  border-radius: 14px;
  overflow: hidden;
  background-color: #e9ece8;
  border: 1px solid rgba(17, 22, 28, 0.14);
}

.space-stage-wrap:fullscreen {
  aspect-ratio: auto;
  max-height: 100vh;
  border-radius: 0;
}

.space-canvas-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.space-stage-hud {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.space-hud-card {
  background: rgba(21, 36, 32, 0.84);
  backdrop-filter: blur(8px);
  color: #f7f6ee;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 440px;
  pointer-events: auto;
}

.space-hud-card.is-minimal {
  padding: 6px 11px;
  border-radius: 8px;
}

.space-hud-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.space-hud-card span {
  display: block;
  font-size: 12px;
  color: rgba(247, 246, 238, 0.8);
  margin-top: 2px;
}

.space-drag-hint {
  background: rgba(255, 255, 255, 0.9);
  color: #0d1115;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.space-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(247, 246, 238, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  color: #11161c;
  font-weight: 600;
}

.space-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(17, 22, 28, 0.2);
  border-top-color: #11161c;
  animation: space-spin 0.8s linear infinite;
}

@keyframes space-spin {
  to {
    transform: rotate(360deg);
  }
}

.space-zones-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.space-zone-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background-color: #ffffff;
  color: var(--abnb-ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.space-zone-btn:hover {
  border-color: #11161c;
  color: #11161c;
}

.space-zone-btn.is-active {
  background-color: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
  font-weight: 600;
}

.space-viewer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--abnb-muted);
}

.space-fallback-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  background-color: var(--abnb-wash);
  color: var(--abnb-ink);
}

/* Integrated Walkthrough 3D Modal Layout */
.modal-dialog.is-space-modal.is-wt-modal {
  max-width: 1560px;
  width: min(96vw, 1560px);
  max-height: 96vh;
}

.abnb-mini-btn.is-active {
  background-color: #11161c;
  border-color: #11161c;
  color: #f7f6ee;
}

.wt-modal-grid {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.wt-modal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f4f5f0;
  border: 1px solid rgba(17, 22, 28, 0.14);
  border-radius: 14px;
  padding: 12px;
}

.wt-side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #52585a;
}

.wt-spaces-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wt-space-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: #ffffff;
  color: var(--abnb-ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.wt-space-btn:hover {
  border-color: rgba(17, 22, 28, 0.35);
}

.wt-space-btn.is-active {
  background: #e2ebe5;
  border-color: #11161c;
  color: #080a09;
  font-weight: 600;
}

.wt-space-num {
  font-size: 10.5px;
  font-weight: 700;
  color: #5a6062;
  min-width: 18px;
}

.wt-space-btn.is-active .wt-space-num {
  color: #11161c;
}

.wt-tour-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid rgba(17, 22, 28, 0.12);
  border-radius: 10px;
}

.wt-tour-pager-counter {
  font-size: 11.5px;
  font-weight: 600;
  color: #52585a;
  white-space: nowrap;
}

.wt-plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #ebede5;
  border: 1px solid rgba(17, 22, 28, 0.14);
  border-radius: 11px;
  overflow: hidden;
}

#space-plan-svg,
.wt-plan-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 148px;
  max-height: 210px;
  cursor: crosshair;
  overflow: hidden;
}

#space-floor-poly polygon,
.wt-floor-poly polygon {
  fill: #fafbf7;
  stroke: none;
}

#space-plan-labels text,
.wt-plan-labels text {
  font-family: var(--font-sans, 'Be Vietnam Pro', sans-serif);
  font-size: 0.25px;
  letter-spacing: 0.01px;
  fill: #5a6062;
  text-anchor: middle;
}

.wt-space-marker {
  cursor: pointer;
}

.wt-space-marker circle {
  fill: #edf1ea;
  stroke: #4a5052;
  stroke-width: 0.065;
}

.wt-space-marker text {
  text-anchor: middle;
  font-size: 0.36px;
  font-weight: 700;
  fill: #11161c;
  pointer-events: none;
}

.wt-space-marker.is-selected circle,
.wt-space-marker:hover circle {
  fill: #11161c;
  stroke: #ffffff;
}

.wt-space-marker.is-selected text,
.wt-space-marker:hover text {
  fill: #ffffff;
}

#space-map-pos,
.wt-map-pos {
  pointer-events: none;
}

.wt-plan-legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: #545a5c;
}

.wt-plan-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wt-plan-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.wt-plan-legend .you-dot {
  background: #ad6037;
}

.wt-plan-legend .space-dot {
  background: #11161c;
}

.wt-map-loc {
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(17, 22, 28, 0.14);
  font-size: 11px;
  font-weight: 500;
  color: #52585a;
}

.wt-modal-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.wt-modal-stage .space-stage-wrap {
  aspect-ratio: 16 / 10;
  min-height: 460px;
  height: clamp(460px, 72vh, 760px);
  max-height: 75vh;
}

.space-mode-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 36, 32, 0.72);
  color: #f7f6ee;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
}

.space-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.space-load-progress {
  width: 170px;
  height: 4px;
  accent-color: #11161c;
}

.space-touch-stick {
  display: none;
}

@media (pointer: coarse) {
  .space-touch-stick {
    display: block;
    position: absolute;
    left: 12px;
    top: 48px;
    z-index: 5;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(16, 22, 15, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.35);
    touch-action: none;
    opacity: 0.48;
    transition: opacity 0.2s ease;
  }

  .space-touch-stick.is-active {
    opacity: 1;
  }

  .space-touch-stick > div {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    background: rgba(247, 246, 238, 0.92);
  }
}

.wt-inline-top-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.wt-inline-top-actions .space-mode-pill {
  position: static;
}

.wt-inline-circle-btns {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.wt-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(246, 245, 239, 0.92);
  color: #1f252c;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.wt-circle-btn:hover {
  background: #ffffff;
}

.wt-status-line {
  font-size: 12px;
  color: var(--abnb-muted);
  min-height: 18px;
}

@media (max-width: 860px) {
  .wt-modal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wt-modal-stage {
    order: -1;
  }

  .wt-modal-stage .space-stage-wrap {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 250px;
    max-height: 46dvh;
  }

  .wt-spaces-list {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }

  .wt-spaces-list::-webkit-scrollbar {
    display: none;
  }

  .wt-space-btn {
    width: auto;
    flex-shrink: 0;
    padding: 7px 11px;
    font-size: 12.5px;
  }
}

@media (max-width: 767px) {
  .modal-dialog.is-space-modal {
    width: calc(100vw - 16px);
    max-height: 94dvh;
  }

  .space-stage-wrap {
    aspect-ratio: 4 / 3;
    min-height: 240px;
    max-height: 48dvh;
  }

  .space-drag-hint {
    display: none;
  }

  .space-zones-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .space-zones-bar::-webkit-scrollbar {
    display: none;
  }

  .space-zone-btn {
    flex-shrink: 0;
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader,
  .logo-inner,
  .logo-inner svg,
  .progress-container p,
  .abnb-card-img {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Dedicated Filter Page (MODE 4) ---------- */
.filters-page-view {
  padding-top: 28px;
  padding-bottom: 56px;
}

.filters-page-container {
  max-width: 1120px;
  margin-inline: auto;
}

.filters-page-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--abnb-hairline);
}

.filters-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-inline: 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid var(--abnb-border);
  background: #ffffff;
  color: var(--abnb-ink);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.filters-back-btn:hover {
  border-color: #11161c;
  background: #f2f1ec;
  color: #11161c;
}

.filters-page-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0d1115;
}

.filters-page-sub {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--abnb-muted);
}

.filters-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.filters-groups-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filters-card-group {
  background: #ffffff;
  border: 1px solid var(--abnb-hairline);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(12, 16, 22, 0.03);
}

.filters-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.filters-group-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0d1115;
}

.filters-group-hint {
  font-size: 12.5px;
  color: var(--abnb-muted);
}

.filters-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filters-option-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #DCE3DF;
  background: #ffffff;
  color: #1f252c;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.filters-option-pill:hover {
  border-color: #11161c;
  background: #F4F9F6;
}

.filters-option-pill.is-selected {
  background: #11161c;
  border-color: #11161c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 22, 28, 0.2);
}

.filters-split-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.filters-sub-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #272e36;
}

.filters-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
  border: 1px solid #DCE3DF;
  border-radius: 999px;
  background: #FAFCFB;
}

.filters-step-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #CFD8D4;
  background: #ffffff;
  color: #0d1115;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.filters-step-btn:hover:not(:disabled) {
  border-color: #11161c;
  color: #11161c;
}

.filters-step-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.filters-step-val {
  min-width: 72px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #0d1115;
}

.filters-toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--abnb-hairline);
}

.filters-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.filters-switch-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #0d1115;
}

.filters-switch-desc {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--abnb-muted);
}

.filters-switch-input {
  width: 18px;
  height: 18px;
  accent-color: #11161c;
  flex-shrink: 0;
  cursor: pointer;
}

.filters-summary-col {
  position: sticky;
  top: 86px;
}

.filters-summary-card {
  background: #ffffff;
  border: 1px solid #DCE5E0;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(12, 16, 22, 0.08);
}

.filters-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2f1ec;
  color: #11161c;
  font-size: 12.5px;
  font-weight: 600;
}

.filters-match-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #11161c;
}

.filters-summary-count {
  margin: 14px 0 4px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d1115;
}

.filters-summary-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--abnb-muted);
}

.filters-active-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--abnb-hairline);
}

.filters-preview-tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: #F4F7F5;
  color: #1f252c;
  font-size: 12.5px;
  font-weight: 500;
}

.filters-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.filters-apply-cta {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: #11161c;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.filters-apply-cta:hover {
  background: #080a09;
  transform: translateY(-1px);
}

.filters-reset-cta {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #DCE3DF;
  background: #ffffff;
  color: #272e36;
  font-size: 13.5px;
  font-weight: 500;
}

.filters-reset-cta:hover {
  border-color: #11161c;
  color: #11161c;
  background: #F7FAF8;
}

@media (max-width: 1024px) {
  .filters-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .filters-summary-col {
    position: static;
  }
}

@media (max-width: 767px) {
  .filters-page-view {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .filters-page-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .filters-card-group {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .filters-split-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   MODE 5: Host Listing & 3D Studio
   ========================================================================== */
.host-studio-view {
  padding-top: 24px;
  padding-bottom: 64px;
  background-color: var(--abnb-wash);
}

.hs-container {
  max-width: 1320px;
}

.hs-topbar {
  margin-bottom: 18px;
}

.hs-saved-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--abnb-border);
}

.hs-saved-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-green);
  white-space: nowrap;
}

.hs-saved-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-saved-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--abnb-border);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.hs-saved-pill.is-active {
  border-color: var(--brand-green);
  background: var(--abnb-coral-tint);
}

.hs-saved-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--abnb-ink);
  max-width: 240px;
}

.hs-saved-pick span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs-saved-pick small {
  font-weight: 500;
  color: var(--abnb-muted);
  white-space: nowrap;
}

.hs-saved-view {
  border: 0;
  border-left: 1px solid var(--abnb-hairline);
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-green);
}

.hs-saved-view:hover {
  background: rgba(17, 22, 28, 0.08);
}

.hs-status-banner {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--abnb-border);
  background: #ffffff;
  color: var(--abnb-ink);
}

.hs-status-banner.is-error {
  border-color: #e2a8a8;
  background: #fdf2f2;
  color: #8f1d1d;
}

.hs-status-banner.is-info {
  border-color: var(--abnb-sim-border);
  background: var(--abnb-sim-bg);
  color: #1e3a8a;
}

.hs-status-banner.is-success {
  border-color: #a9d6b5;
  background: var(--abnb-ok-bg);
  color: #0b6b19;
}

.hs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.hs-form-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.hs-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-photo-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 22px 16px;
  border-radius: 12px;
  border: 1.5px dashed #cfccc2;
  background: #f9fbf9;
  color: var(--brand-green);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.hs-photo-dropzone:hover,
.hs-photo-dropzone.is-dragover {
  border-color: var(--brand-green);
  background: var(--abnb-coral-tint);
}

.hs-photo-dropzone strong {
  font-size: 13.5px;
  color: var(--abnb-ink);
}

.hs-photo-dropzone span {
  font-size: 12px;
  color: var(--abnb-muted);
}

.hs-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.hs-photo-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--abnb-hairline);
  background: #ffffff;
}

.hs-photo-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  overflow: hidden;
  background: var(--abnb-wash);
}

.hs-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-cover-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #f7f6ee;
  font-size: 10.5px;
  font-weight: 700;
}

.hs-photo-del,
.hs-icon-del {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--abnb-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--abnb-ink);
  font-size: 15px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}

.hs-photo-del {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 0;
}

.hs-photo-del:hover,
.hs-icon-del:hover {
  background: #f5e6e6;
  color: #9e1c1c;
}

.hs-photo-alt {
  width: 100%;
  border: 1px solid var(--abnb-border);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12px;
  background: #ffffff;
}

.hs-photo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hs-photo-actions .abnb-mini-btn {
  padding: 4px 8px;
  font-size: 11.5px;
}

.hs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.hs-span-2 {
  grid-column: span 2;
}

.hs-cost-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f7f5;
  border: 1px solid rgba(17, 22, 28, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.hs-cost-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hs-cost-item span {
  font-size: 12px;
  color: var(--abnb-muted);
}

.hs-cost-item strong {
  font-size: 14.5px;
  color: var(--brand-green);
}

.hs-pet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--abnb-hairline);
}

.hs-pet-row > span {
  font-size: 13.5px;
  font-weight: 600;
}

.hs-chip-row,
.hs-amenity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-studio-col {
  min-width: 0;
}

.hs-studio-sticky {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hs-studio-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hs-mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f3ef;
  border: 1px solid rgba(17, 22, 28, 0.1);
}

.hs-mode-tab {
  border: 0;
  background: transparent;
  padding: 8px 6px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #464c4e;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hs-mode-tab.is-active {
  background: #ffffff;
  color: var(--brand-green);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hs-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #e9ece8;
  border: 1px solid rgba(17, 22, 28, 0.14);
}

.hs-preview-canvas {
  position: absolute;
  inset: 0;
}

.hs-preview-empty {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 6px;
  background: #f4f6f3;
}

.hs-preview-empty strong {
  font-size: 14px;
  color: var(--abnb-ink);
}

.hs-preview-empty span {
  font-size: 12.5px;
  color: var(--abnb-muted);
  max-width: 320px;
}

.hs-preview-plan-wrap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  width: 126px;
  padding: 6px;
  border-radius: 9px;
  background: rgba(244, 245, 240, 0.92);
  border: 1px solid rgba(17, 22, 28, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hs-preview-plan-wrap .wt-plan-svg {
  min-height: 76px;
  max-height: 112px;
}

.hs-preview-hint {
  font-size: 12px;
  color: var(--abnb-muted);
}

.hs-studio-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hs-control-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hs-control-label {
  font-size: 12px;
  font-weight: 700;
  color: #464c4e;
}

.hs-range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hs-range-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--abnb-muted);
}

.hs-range-field span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.hs-range-field strong {
  color: var(--abnb-ink);
}

.hs-range-field input[type='range'] {
  width: 100%;
  accent-color: var(--brand-green);
}

.hs-area-sync-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f5f7f5;
  font-size: 12.5px;
}

.hs-area-sync-row strong,
.hs-area-sync-row .abnb-mini-btn {
  white-space: nowrap;
}

.hs-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  font-size: 12.5px;
}

.hs-toggle-grid label,
.hs-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--abnb-ink);
}

.hs-toggle-grid input,
.hs-inline-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand-green);
}

.hs-studio-subactions,
.hs-upload-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hs-helper-note {
  font-size: 12px;
  color: var(--abnb-muted);
  line-height: 1.45;
}

.hs-scan-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f4f7f5;
  border: 1px solid rgba(17, 22, 28, 0.2);
}

.hs-scan-badge strong {
  font-size: 12.5px;
  color: var(--abnb-ink);
  word-break: break-all;
}

.hs-scan-badge span {
  font-size: 11.5px;
  color: var(--brand-green);
  font-weight: 600;
}

.hs-pano-list,
.hs-vp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-pano-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid var(--abnb-hairline);
  background: #ffffff;
  cursor: pointer;
}

.hs-pano-row.is-active {
  border-color: var(--brand-green);
  background: var(--abnb-coral-tint);
}

.hs-pano-row img {
  width: 54px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.hs-pano-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.hs-pano-label-input,
.hs-pano-proj-select,
.hs-vp-item input {
  border: 1px solid var(--abnb-border);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12px;
  background: #ffffff;
  min-width: 0;
}

.hs-viewpoints-box {
  padding-top: 8px;
  border-top: 1px solid var(--abnb-hairline);
}

.hs-viewpoints-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.hs-vp-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.hs-scan-guide {
  padding: 9px 11px;
  border-radius: 9px;
  background: #f7f8f5;
  border: 1px solid var(--abnb-hairline);
  font-size: 12px;
}

.hs-scan-guide summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-green);
}

.hs-scan-guide ol {
  margin: 8px 0 6px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--abnb-ink);
}

.hs-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hs-submit-btn {
  width: 100%;
  height: 44px;
  font-size: 14.5px;
}

.hs-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.hs-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.abnb-mini-btn.is-danger {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .hs-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-studio-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .host-studio-view {
    padding-top: 16px;
    padding-bottom: 42px;
  }

  .hs-form-grid,
  .hs-cost-summary,
  .hs-range-grid,
  .hs-toggle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-span-2 {
    grid-column: span 1;
  }

  .hs-mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-pano-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-area-sync-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hs-preview-plan-wrap {
    width: 84px;
    padding: 4px;
    right: 8px;
    bottom: 8px;
  }

  .hs-preview-plan-wrap .wt-plan-svg {
    min-height: 50px;
    max-height: 70px;
  }
}

/* ============================================================================
   CINEMA VIDEO-AS-3D-VIEW ("Nook Maldives" Inspired Minimalist Walkthrough)
   ============================================================================ */

.wt-modal-grid.is-video3d {
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.wt-modal-grid.is-video3d .wt-modal-sidebar {
  gap: 12px;
}

.wt-modal-grid.is-video3d .wt-modal-stage .space-stage-wrap {
  aspect-ratio: 16 / 9;
  min-height: 500px;
  height: clamp(500px, 76vh, 800px);
  max-height: 78vh;
}

.wt-space-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Architectural Top-Down Floorplan inside left sidebar */
.v3d-floorplan-card {
  gap: 8px;
  padding: 10px;
}

.v3d-floorplan-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.v3d-fp-room {
  cursor: pointer;
}

.v3d-fp-room-fill {
  fill: transparent;
  transition: fill 0.18s ease;
}

.v3d-fp-room:hover .v3d-fp-room-fill {
  fill: rgba(17, 22, 28, 0.08);
}

.v3d-fp-room.is-selected .v3d-fp-room-fill {
  fill: rgba(17, 22, 28, 0.13);
}

.v3d-fp-room-label {
  font-family: var(--font-sans, 'Be Vietnam Pro', sans-serif);
  font-size: 6.4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  fill: #505658;
  text-anchor: middle;
  pointer-events: none;
}

.v3d-fp-room.is-selected .v3d-fp-room-label {
  fill: #080a09;
}

.v3d-fp-pin {
  cursor: pointer;
}

.v3d-fp-pin circle {
  fill: #edf1ea;
  stroke: #4a5052;
  stroke-width: 1.4;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

.v3d-fp-pin text {
  text-anchor: middle;
  font-size: 8.5px;
  font-weight: 700;
  fill: #11161c;
  pointer-events: none;
}

.v3d-fp-pin:hover circle,
.v3d-fp-pin.is-selected circle {
  fill: #11161c;
  stroke: #ffffff;
}

.v3d-fp-pin:hover text,
.v3d-fp-pin.is-selected text {
  fill: #ffffff;
}

.v3d-fp-cam {
  pointer-events: none;
  transition: transform 0.08s linear;
}

/* Top-right minimal glass controls floating on video */
.v3d-top-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v3d-glass-btn,
.v3d-glass-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 21, 18, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f7f6ee;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.v3d-glass-btn {
  padding: 0 13px;
}

.v3d-glass-icon-btn {
  width: 34px;
  padding: 0;
  font-size: 15px;
}

.v3d-glass-btn:hover,
.v3d-glass-icon-btn:hover,
.v3d-glass-btn.is-active {
  background: rgba(17, 22, 28, 0.88);
  border-color: rgba(255, 255, 255, 0.36);
}

.space-stage-wrap.is-video3d-stage {
  background: #0e1412;
}

.v3d-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1412;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  outline: none;
}

.v3d-stage.is-dragging {
  cursor: grabbing;
}

.v3d-media-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: scale(1.02) translate3d(0, 0, 0);
}

.v3d-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.v3d-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.18) 0%, rgba(10, 16, 14, 0) 18%, rgba(10, 16, 14, 0) 72%, rgba(10, 16, 14, 0.56) 100%);
}

/* In-scene floating circular door hotspots */
.v3d-hotspots-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.v3d-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7f6ee;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.v3d-stage[data-state='flying-forward'] .v3d-hotspot,
.v3d-stage[data-state='flying-reverse'] .v3d-hotspot,
.v3d-stage.is-dragging .v3d-hotspot {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.v3d-hotspot-ring {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 21, 18, 0.36);
  border: 1.8px solid rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.v3d-hotspot-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  animation: v3d-pulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.v3d-hotspot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.v3d-hotspot-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 18, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: #f7f6ee;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.v3d-hotspot:hover .v3d-hotspot-ring,
.v3d-hotspot:focus-visible .v3d-hotspot-ring {
  transform: scale(1.12);
  background: rgba(17, 22, 28, 0.88);
  border-color: #ffffff;
}

.v3d-hotspot:hover .v3d-hotspot-label,
.v3d-hotspot:focus-visible .v3d-hotspot-label {
  background: rgba(24, 68, 58, 0.94);
  transform: translateX(2px);
}

.v3d-hotspot.is-label-left {
  flex-direction: row-reverse;
}

.v3d-hotspot.is-label-right {
  flex-direction: row;
}

@keyframes v3d-pulse {
  0% {
    opacity: 0.72;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.38);
  }
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

/* Minimalist dark glassmorphic Room HUD card (hides cleanly mid-flight) */
.v3d-room-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 4;
  width: min(332px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 18, 16, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #f7f6ee;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.v3d-stage[data-state='flying-forward'] .v3d-room-card,
.v3d-stage[data-state='flying-reverse'] .v3d-room-card,
.v3d-stage.is-dragging .v3d-room-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.v3d-room-title {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: #f7f6ee;
  letter-spacing: -0.01em;
}

.v3d-room-specs {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(247, 246, 238, 0.78);
}

.v3d-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.v3d-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.v3d-card-btn.is-primary {
  background: #f7f6ee;
  color: #0d1115;
  border: 1px solid #f7f6ee;
}

.v3d-card-btn.is-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.v3d-card-btn.is-ghost {
  background: rgba(255, 255, 255, 0.09);
  color: #f7f6ee;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.v3d-card-btn.is-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Subtle drag-scrub pill */
.v3d-scrub-hud {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(4px);
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 18, 16, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  color: #f7f6ee;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v3d-scrub-hud.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Razor-thin ambient progress hairline along bottom edge */
.v3d-progress-hairline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.v3d-progress-hairline-fill {
  height: 100%;
  width: 0%;
  background: rgba(247, 246, 238, 0.85);
  transition: width 0.06s linear;
}

/* Compact Video 3D preview inside Host Studio */
.v3d-stage.is-compact .v3d-room-card {
  left: 10px;
  bottom: 12px;
  width: min(248px, calc(100% - 20px));
  padding: 10px 12px;
}

.v3d-stage.is-compact .v3d-room-title {
  font-size: 15.5px;
}

.v3d-stage.is-compact .v3d-room-specs {
  display: none;
}

.v3d-stage.is-compact .v3d-room-actions {
  margin-top: 8px;
}

.v3d-stage.is-compact .v3d-card-btn {
  padding: 5px 9px;
  font-size: 11.5px;
}

/* ============================================================================
   SIMPLIFIED HOST STUDIO: VIDEO QUAY PHÒNG -> CHẤM MỐC PHÒNG
   ============================================================================ */

.hs-mode-tabs-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hs-video-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.hs-video-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.hs-video-mode-switch .abnb-mini-btn.is-active {
  background: #11161c;
  border-color: #11161c;
  color: #ffffff;
}

.hs-video-editor-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0e1412;
}

.hs-video-editor-stage.is-placing {
  cursor: crosshair;
}

.hs-editor-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-pin-banner {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(14, 21, 18, 0.86);
  border: 1px solid rgba(214, 194, 157, 0.45);
  color: #f7f6ee;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

.hs-editor-pin-preview {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.hs-scrubber-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f7f4;
  border: 1px solid rgba(17, 22, 28, 0.14);
}

.hs-scrubber-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hs-video-time-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #11161c;
}

.hs-video-scrubber {
  width: 100%;
  accent-color: #11161c;
  cursor: pointer;
}

.hs-add-stop-btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
}

.hs-stop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  max-height: 310px;
  overflow-y: auto;
  padding-right: 2px;
}

.hs-stop-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--abnb-hairline);
}

.hs-stop-card.is-placing {
  border-color: #11161c;
  box-shadow: 0 0 0 2px rgba(17, 22, 28, 0.16);
}

.hs-stop-row-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.hs-stop-time-chip {
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid rgba(17, 22, 28, 0.22);
  background: #eef4f0;
  color: #080a09;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hs-stop-time-chip:hover {
  background: #11161c;
  color: #ffffff;
}

.hs-stop-label-input,
.hs-stop-note-input {
  width: 100%;
  padding: 6px 9px;
  border-radius: 7px;
  border: 1px solid #d9dfd9;
  font-size: 12.5px;
  color: var(--abnb-ink);
  background: #ffffff;
}

.hs-stop-label-input {
  font-weight: 600;
}

.hs-stop-note-input {
  font-size: 12px;
  color: #464c4e;
}

.hs-stop-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hs-stop-mini-act {
  border: 1px solid rgba(17, 22, 28, 0.2);
  background: #f6f8f6;
  color: #1f252c;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.hs-stop-mini-act:hover,
.hs-stop-mini-act.is-active {
  background: #11161c;
  border-color: #11161c;
  color: #ffffff;
}

@media (max-width: 767px) {
  .v3d-room-card {
    left: 10px;
    bottom: 48px;
    width: calc(100% - 20px);
    padding: 11px 13px;
  }

  .v3d-room-title {
    font-size: 17px;
  }

  .v3d-room-specs {
    font-size: 12px;
  }

  .v3d-hotspot-label {
    font-size: 11.5px;
    padding: 5px 9px;
  }

  .v3d-drag-tip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3d-hotspot-ring::after {
    animation: none;
  }
  .v3d-media-layer {
    transform: none !important;
  }
}
