html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, #dbeafe 0%, #eef2ff 32%, #ffffff 70%);
}

body:has(.builder-lux-breakout),
body:has(.bpd-desk) {
  background: #f5f3ef;
}

body:has(.builder-dashboard-page) {
  background: #dce5f0;
}

/* Create/Edit project sticky wizard bar must not cover the site footer */
body:has(.builder-create-actions-bar) main {
  padding-bottom: 5.25rem !important;
}

.site-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* —— Global page loading bar (shown on form submit & in-app navigation) —— */
.page-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10050;
  pointer-events: none;
  overflow: hidden;
  background: rgba(37, 99, 235, 0.12);
}

.page-loading-bar[hidden] {
  display: none !important;
}

.page-loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(42%, 280px);
  background: linear-gradient(90deg, #1d4ed8, #7c3aed, #2563eb);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
  animation: pageLoadingIndeterminate 0.95s ease-in-out infinite;
}

@keyframes pageLoadingIndeterminate {
  0% {
    transform: translateX(-102%);
  }
  100% {
    transform: translateX(calc(100vw + 102%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loading-bar::after {
    animation: none;
    width: 100%;
    transform: none;
    opacity: 0.85;
    background: linear-gradient(90deg, #1d4ed8, #7c3aed);
  }
}

/* Forms that are posting: dim slightly while the loading bar runs */
form.form-busy {
  cursor: wait;
  pointer-events: none;
}

form.form-busy button:not([type="button"]):not([type="reset"]),
form.form-busy input[type="submit"] {
  cursor: wait;
}

/* Session flash (e.g. verify email) — fixed toast, auto-hide via Bootstrap */
.site-toast-container {
  top: 4.35rem;
  right: 0;
  left: auto;
  max-width: 100%;
  z-index: 1085;
  pointer-events: none;
}

.site-toast-container .toast {
  pointer-events: auto;
}

.site-login-toast {
  min-width: min(22rem, calc(100vw - 2rem));
  max-width: min(28rem, calc(100vw - 2rem));
  background: linear-gradient(165deg, #e0f2fe 0%, #f0f9ff 48%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;

  transform-origin: 90% 0%;
  will-change: transform, opacity;

  /* Starts hidden; Bootstrap adds .show when the toast is displayed. */
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.site-login-toast__body {
  padding: 0.85rem 0.25rem 0.85rem 1rem !important;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-login-toast__icon {
  color: #0369a1;
  vertical-align: -0.08em;
}

.site-login-toast.show {
  animation: siteLoginToastPopup 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes siteLoginToastPopup {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* App-wide TempData / flash toasts (auto-hide) */
.site-flash-toast-container {
  top: 4.35rem;
  right: 0;
  left: auto;
  z-index: 1090;
  max-width: min(26rem, calc(100vw - 1.25rem));
  pointer-events: none;
}

.site-flash-toast-container .toast {
  pointer-events: auto;
  min-width: min(22rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.08);
}

.site-flash-toast {
  --flash-accent: #0f766e;
  --flash-bg: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%);
  --flash-icon: #0f766e;
  background: var(--flash-bg);
  color: #0f172a;
}

.site-flash-toast--success {
  --flash-accent: #0f766e;
  --flash-bg: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%);
  --flash-icon: #0f766e;
}

.site-flash-toast--error {
  --flash-accent: #b91c1c;
  --flash-bg: linear-gradient(160deg, #fef2f2 0%, #fff1f2 55%, #ffffff 100%);
  --flash-icon: #b91c1c;
}

.site-flash-toast--warning {
  --flash-accent: #b45309;
  --flash-bg: linear-gradient(160deg, #fffbeb 0%, #fef3c7 55%, #ffffff 100%);
  --flash-icon: #b45309;
}

.site-flash-toast--info {
  --flash-accent: #0369a1;
  --flash-bg: linear-gradient(160deg, #e0f2fe 0%, #f0f9ff 55%, #ffffff 100%);
  --flash-icon: #0369a1;
}

.site-flash-toast__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0.85rem 0.9rem 1rem;
  border-left: 4px solid var(--flash-accent);
}

.site-flash-toast__icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--flash-icon);
  font-size: 1rem;
}

.site-flash-toast__body {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 550;
  padding-top: 0.15rem;
}

.site-flash-toast__close {
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.55;
}

.site-flash-toast.show {
  animation: siteFlashToastIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes siteFlashToastIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-flash-toast.show {
    animation: none !important;
  }

  .site-login-toast {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .site-login-toast.show {
    animation: none !important;
  }
}

/* —— Test mode strip (development / sandbox) —— */
.site-maintenance-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  display: none;
  background: linear-gradient(90deg, #b45309 0%, #d97706 45%, #b45309 100%);
  color: #fffbeb;
  box-shadow: 0 4px 16px rgba(120, 53, 15, 0.28);
}

.site-maintenance-banner.is-visible {
  display: block;
}

.site-maintenance-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.55rem var(--portal-gutter);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.site-maintenance-banner__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1rem;
  opacity: 0.95;
}

.site-maintenance-banner__text {
  flex: 1 1 auto;
  white-space: pre-wrap;
  word-break: break-word;
}

body.site-maintenance-active .site-top-bar {
  top: var(--site-maintenance-offset, 0);
}

.site-top-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-test-mode-badge {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.35rem 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #422006;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 55%, #f59e0b 100%);
  border: 1px solid rgba(120, 53, 15, 0.28);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.28);
  pointer-events: auto;
}

.site-test-mode-badge.is-dismissed {
  display: none;
}

.site-test-mode-badge__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
  padding-right: 0.15rem;
}

.site-test-mode-badge__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(120, 53, 15, 0.12);
  color: #78350f;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-test-mode-badge__close:hover,
.site-test-mode-badge__close:focus-visible {
  background: rgba(120, 53, 15, 0.22);
  color: #451a03;
  outline: none;
}

.site-test-mode-badge__close .bi {
  font-size: 0.72rem;
}

.site-test-mode-badge--inline {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  flex-shrink: 0;
  margin: 0 0.35rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.3rem 0.28rem 0.5rem;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.2);
}

@media (max-width: 1199.98px) {
  .site-header-user-rail .site-test-mode-badge--inline {
    position: fixed;
    top: 0.45rem;
    /* Clear the hamburger toggler on the right */
    right: 3.35rem;
    z-index: 9999;
    margin: 0;
  }
}

.site-header-notice {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
}

.site-header-notice.is-dismissed {
  display: none;
}

.site-header-notice__inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.site-header-notice__icon {
  flex-shrink: 0;
  color: #b45309;
  font-size: 1rem;
}

.site-header-notice__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  color: #78350f;
}

.site-header-notice__email {
  max-width: 14rem;
  font-weight: 600;
  color: #92400e;
}

.site-header-notice__action {
  flex-shrink: 0;
}

.site-header-notice__btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: #78350f;
  border-color: rgba(180, 83, 9, 0.35);
  background: #fff;
}

.site-header-notice__btn:hover {
  background: #fff7ed;
  border-color: #d97706;
  color: #92400e;
}

.site-header-notice__dismiss {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #92400e;
  cursor: pointer;
}

.site-header-notice__dismiss:hover,
.site-header-notice__dismiss:focus-visible {
  background: rgba(180, 83, 9, 0.12);
  outline: none;
}

.site-header-account-dropdown .dropdown-toggle::after {
  display: none;
}

.site-header-profile.dropdown-toggle {
  cursor: pointer;
}

.site-header-account-menu {
  min-width: 17rem;
  max-width: 22rem;
  padding: 0.45rem;
  border-radius: 14px;
}

.site-header-account-menu__identity {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-bottom: 0.35rem;
}

.site-header-account-menu__name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.site-header-account-menu__email {
  font-size: 0.72rem;
  color: #64748b;
  max-width: 100%;
}

.site-header-account-menu__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.site-header-account-menu__status--ok {
  color: #047857;
}

.site-header-account-menu__usage {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0.35rem;
}

.site-header-account-menu .essential-credits-menu {
  margin: 0;
  padding: 0.55rem 0.65rem;
}

.site-header-account-menu .dropdown-item {
  font-size: 0.8rem;
  border-radius: 8px;
}

.site-header-account-menu .dropdown-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
}

@media (min-width: 1200px) {
  .site-header-user-rail {
    align-items: center;
    gap: 0.35rem;
  }

  .site-header-profile {
    align-items: center;
  }
}

/* —— Site header: layered accent + premium nav (distinct from page body) —— */
.site-header {
  position: static;
  z-index: 1;
  margin: 0;
  padding: 0;
  isolation: isolate;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    0 20px 50px rgba(15, 23, 42, 0.38);
}

/* Soft ambient glow — sits behind nav content */
.site-header::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 140% at 50% -30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
}

/* Top accent: muted brass band + hairline shine (not loud gold) */
.site-header-accent {
  position: relative;
  z-index: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    #16131a 0%,
    #2a231c 18%,
    #4a3f34 42%,
    #5c4d40 50%,
    #4a3f34 58%,
    #2a231c 82%,
    #16131a 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.site-header-accent::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 184, 138, 0.25) 35%,
    rgba(232, 208, 168, 0.45) 50%,
    rgba(212, 184, 138, 0.25) 65%,
    transparent 100%
  );
  pointer-events: none;
}

/* Main nav: single cohesive bar (no dot grid) — items align on one baseline */
.site-header-nav {
  position: relative;
  z-index: 1;
  --bs-navbar-padding-y: 0.35rem;
  min-height: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  background-color: #0f172a;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 52%, #0b1220 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  align-items: center;
}

.site-header-nav > .container-fluid {
  align-items: center;
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.site-header-toggler {
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header-toggler:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.site-header .navbar-brand,
.site-header-brand {
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 0;
}

.site-header-brand-title {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-header-brand-title--indic {
  display: block;
  font-family: "Noto Sans Devanagari", "Noto Sans", "Mangal", "Kokila", "Arial Unicode MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: #f1f5f9;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

html[lang="mr"] .site-header-brand-tagline,
html[lang="mr"] .premium-footer__name {
  font-family: "Noto Sans Devanagari", "Noto Sans", "Mangal", "Kokila", sans-serif;
  letter-spacing: 0;
}

.site-header-brand-title--wave {
  animation: site-header-brand-title-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header-brand-char {
  display: inline-block;
  --wave-step: 0.14s;
  color: #f1f5f9;
  animation: site-header-brand-char-shine 3.2s ease-in-out infinite;
  animation-delay: calc(var(--char-i, 0) * var(--wave-step));
}

.site-header-brand-char--space {
  width: 0.28rem;
}

.site-header-brand--animated {
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-brand--animated:hover,
.site-header-brand--animated:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.site-header-brand--animated:hover .site-header-brand-char,
.site-header-brand--animated:focus-visible .site-header-brand-char {
  animation-duration: 2.4s;
}

.site-header-brand__mark-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: site-header-brand-mark-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header-brand__mark-ring {
  position: absolute;
  inset: -3px;
  border-radius: 0.55rem;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(251, 191, 36, 0.15) 40deg,
    rgba(252, 211, 77, 0.85) 120deg,
    rgba(251, 191, 36, 0.2) 200deg,
    transparent 280deg,
    rgba(252, 211, 77, 0.55) 320deg,
    transparent 360deg
  );
  animation: site-header-brand-ring-rotate 5s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}

.site-header-brand__mark-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 0.65rem;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.28), transparent 68%);
  animation: site-header-brand-glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.site-header-brand--animated .brand-mark {
  position: relative;
  z-index: 1;
  animation: site-header-brand-mark-float 4s ease-in-out infinite;
}

.site-header-brand__copy {
  animation: site-header-brand-copy-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.site-header-brand-tagline {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.site-header-brand-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 211, 77, 0.65), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: site-header-brand-tagline-sweep 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

@keyframes site-header-brand-title-in {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Gold highlight travels T → … → S, then resets */
@keyframes site-header-brand-char-shine {
  0%,
  36%,
  100% {
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transform: translateY(0) scale(1);
  }

  14% {
    color: #fffbeb;
    text-shadow:
      0 0 12px rgba(251, 191, 36, 0.45),
      0 0 24px rgba(251, 191, 36, 0.2);
    transform: translateY(-1px) scale(1.06);
  }

  20% {
    color: #fbbf24;
    text-shadow:
      0 0 16px rgba(252, 211, 77, 0.75),
      0 0 28px rgba(251, 191, 36, 0.35);
    transform: translateY(-1px) scale(1.08);
  }
}

@keyframes site-header-brand-mark-in {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes site-header-brand-mark-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.25),
      0 8px 20px rgba(251, 191, 36, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

@keyframes site-header-brand-ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes site-header-brand-glow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

@keyframes site-header-brand-copy-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes site-header-brand-tagline-sweep {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-brand-title--wave,
  .site-header-brand-char,
  .site-header-brand__mark-wrap,
  .site-header-brand--animated .brand-mark,
  .site-header-brand__copy,
  .site-header-brand__mark-ring,
  .site-header-brand__mark-wrap::after {
    animation: none !important;
  }

  .site-header-brand-char {
    color: #f8fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transform: none;
  }

  .site-header-brand-tagline::after {
    transform: scaleX(1);
    animation: none;
  }
}

.site-header-brand-sub {
  font-size: 0.62rem;
  line-height: 1.15;
  margin-top: 0.12rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.site-header-brand-tagline {
  font-size: 0.68rem;
  line-height: 1.2;
  margin-top: 0.08rem;
  opacity: 0.85;
  position: relative;
  display: inline-block;
}

@media (min-width: 1200px) {
  .site-header-brand-sub {
    font-size: 0.65rem;
  }
}

.site-header .brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.62rem;
  border-radius: 0.4rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff8e8;
  background:
    linear-gradient(155deg, rgba(251, 191, 36, 0.42) 0%, rgba(15, 23, 42, 0.15) 48%, rgba(15, 23, 42, 0.55) 100%);
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

/* Golden medallion logo (same mark as the mobile app) replacing the "TF" lockup. */
.site-header .brand-mark--logo {
  background: none;
  border: none;
  border-radius: 50% !important;
  object-fit: contain;
  padding: 0;
  font-size: 0;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(251, 191, 36, 0.25);
}

.site-header .brand-text {
  vertical-align: middle;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* —— Header nav layout: primary strip + user toolbar —— */
.site-header-nav-rows {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

/* Base (all widths) — was previously trapped inside the min-width:992px block below,
   so on mobile the inactive language button had no color/background and fell back to
   an unstyled link (unreadable against the dark header) while .is-active (set
   unconditionally in brand-theme.css) still rendered its gold pill. */
.site-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.site-lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(248, 250, 252, 0.78);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-lang-switch__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-lang-switch__btn.is-active {
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

@media (min-width: 1200px) {
  .site-header-nav-rows {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    min-height: 2.75rem;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .site-header-nav-main {
    flex: 1 1 auto;
    padding-right: 0.45rem;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    width: auto;
  }

  .site-header-user-rail {
    flex: 0 0 auto;
    margin-left: 0;
    padding: 0.22rem 0.5rem 0.22rem 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    max-width: none;
  }

  .site-header-user-rail .site-header-nav-user {
    flex-direction: row;
    align-items: center;
    gap: 0.18rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-header-user-rail .site-header-nav-user > .nav-item {
    display: flex;
    align-items: center;
  }

  .site-header-email-nav-item {
    margin-left: auto;
    padding-left: 0.65rem;
    flex: 0 0 auto;
  }
}

@media (max-width: 1199.98px) {
  .site-header-user-rail {
    padding-top: 0.35rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .site-lang-switch {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }

  .site-header-user-rail .site-header-nav-user .nav-item {
    width: 100%;
  }

  .site-header-user-rail .nav-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .site-header-profile {
    width: 100%;
    justify-content: flex-start;
  }
}

.site-header-userchip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header-userchip__icon {
  font-size: 1.05rem;
  color: rgba(253, 224, 138, 0.88);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.2));
}

.site-header-userchip__text {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header-userchip--verified {
  color: #dcfce7;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.22) 0%, rgba(22, 163, 74, 0.18) 100%);
  border: 1px solid rgba(134, 239, 172, 0.5);
}

.site-header-userchip--email {
  min-height: 2rem;
  max-width: min(17rem, 32vw);
  padding-top: 0.16rem;
  padding-bottom: 0.16rem;
}

.site-header-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.9rem;
  max-width: min(18rem, 32vw);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.42);
  color: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-decoration: none;
  line-height: 1;
}

button.site-header-email-pill {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.site-header-email-pill--verified {
  border-color: rgba(74, 222, 128, 0.38);
  background: rgba(20, 83, 45, 0.28);
}

.site-header-email-pill--pending {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(120, 53, 15, 0.22);
}

.site-header-email-pill--pending:hover,
.site-header-email-pill--pending:focus {
  border-color: rgba(251, 191, 36, 0.62);
  background: rgba(120, 53, 15, 0.32);
}

.site-header-email-pill__icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.site-header-email-pill--verified .site-header-email-pill__icon {
  color: #86efac;
}

.site-header-email-pill--pending .site-header-email-pill__icon {
  color: #fbbf24;
}

.site-header-userchip__icon--verified {
  color: #86efac;
  filter: drop-shadow(0 0 8px rgba(134, 239, 172, 0.35));
}

/* Profile block (initials + name) */
.site-header-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.5) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: min(16rem, 42vw);
}

.site-header-profile__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fffbeb;
  background: linear-gradient(145deg, #d4a574 0%, #92400e 100%);
  border: 1px solid rgba(253, 224, 171, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.site-header-profile__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.site-header-profile__greeting {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.site-header-profile__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-email-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  min-width: 0;
}

.site-header-email-pill--compact {
  max-width: none;
  padding-inline: 0.5rem;
}

.site-header-email-pill--compact .site-header-email-chip {
  gap: 0.25rem;
}

.site-header-email-nav-item--compact {
  max-width: 5.5rem;
}

@media (min-width: 1200px) {
  .site-header-email-nav-item--compact {
    margin-left: 0.35rem;
    padding-left: 0.35rem;
  }
}

.site-header-email-chip__address {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 10.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-email-status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.06rem 0.34rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 1px solid transparent;
}

.site-header-email-status--verified {
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.32);
  border-color: rgba(134, 239, 172, 0.48);
}

.site-header-email-status--pending {
  color: #fef3c7;
  background: rgba(217, 119, 6, 0.3);
  border-color: rgba(253, 186, 116, 0.55);
}

.site-header .btn-link.nav-pill {
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
  line-height: 1.2;
}

/* Nav pills: default “glass chip” */
.nav-pill {
  border-radius: 999px;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.95) !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-pill--icon {
  display: inline-flex !important;
  align-items: center;
  gap: 0.38rem;
}

.nav-pill--icon-only {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0 !important;
  justify-content: center;
}

.nav-pill__icon {
  font-size: 1rem;
  opacity: 0.88;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

/* Header nav icons — soft semantic tints (readable on dark bar) */
.site-header .site-header-icon-tone--home {
  color: #7dd3fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--post {
  color: #86efac !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--dashboard {
  color: #c4b5fd !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--payments {
  color: #fcd34d !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--essential {
  color: #6ee7b7 !important;
  opacity: 1;
}

/* Header: seeker plan credits (remaining, not used) */
.site-header .essential-credits-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.18rem;
  min-width: 5.25rem;
  padding: 0.32rem 0.6rem 0.34rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.7rem;
  line-height: 1.15;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.site-header .essential-credits-chip:hover,
.site-header .essential-credits-chip:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.site-header .essential-credits-chip__meter {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.site-header .essential-credits-chip__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.85;
}

.site-header .essential-credits-chip__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.12rem 0.2rem;
  color: inherit;
}

.site-header .essential-credits-chip__pct {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-header .essential-credits-chip__pct-label {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.88;
  text-transform: lowercase;
}

.site-header .essential-credits-chip__sep {
  opacity: 0.45;
  font-size: 0.7rem;
}

.site-header .essential-credits-chip__count {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header .essential-credits-chip__of {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.88;
  text-transform: lowercase;
}

.site-header .essential-credits-chip--ok {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(110, 231, 183, 0.45);
}

.site-header .essential-credits-chip--ok:hover,
.site-header .essential-credits-chip--ok:focus-visible {
  background: rgba(16, 185, 129, 0.38);
  color: #fff;
}

.site-header .essential-credits-chip--moderate {
  color: #fffbeb;
  background: rgba(245, 158, 11, 0.32);
  border-color: rgba(252, 211, 77, 0.5);
}

.site-header .essential-credits-chip--moderate:hover,
.site-header .essential-credits-chip--moderate:focus-visible {
  background: rgba(245, 158, 11, 0.42);
  color: #fff;
}

.site-header .essential-credits-chip--critical {
  color: #fef2f2;
  background: rgba(239, 68, 68, 0.34);
  border-color: rgba(252, 165, 165, 0.55);
}

.site-header .essential-credits-chip--critical:hover,
.site-header .essential-credits-chip--critical:focus-visible {
  background: rgba(239, 68, 68, 0.44);
  color: #fff;
}

.site-header .essential-credits-chip--expired {
  border-color: rgba(252, 165, 165, 0.65);
}

.site-header .essential-credits-chip__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header .essential-credits-chip__status--expired {
  color: #fef2f2;
}

.essential-credits-menu {
  margin: 0.35rem 0 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.essential-credits-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.essential-credits-menu__title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
}

.essential-credits-menu__hint {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
}

.essential-credits-menu__meter {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.essential-credits-menu__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.essential-credits-menu__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  font-size: 0.78rem;
  color: #475569;
}

.essential-credits-menu__stats strong {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.essential-credits-menu__stats-sub {
  flex: 1 1 100%;
  font-size: 0.7rem;
  color: #64748b;
}

.essential-credits-menu--moderate .essential-credits-menu__meter-fill {
  background: #f59e0b;
}

.essential-credits-menu--critical .essential-credits-menu__meter-fill {
  background: #ef4444;
}

.essential-credits-menu__expiry {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #64748b;
}

.essential-credits-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0d9488;
  text-decoration: none;
}

.essential-credits-menu__cta:hover {
  color: #0f766e;
  text-decoration: underline;
}

.site-header .site-header-icon-tone--users {
  color: #fdba74 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--supportdesk {
  color: #67e8f9 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--login {
  color: #cbd5e1 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--support {
  color: #7dd3fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--chats {
  color: #a5b4fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--verify {
  color: #92400e !important;
  opacity: 1;
}

.site-header .nav-pill--verify:hover .site-header-icon-tone--verify,
.site-header .nav-pill--verify:focus .site-header-icon-tone--verify {
  color: #78350f !important;
}

.site-header .site-header-icon-tone--logout {
  color: #fca5a5 !important;
  opacity: 1;
}

.site-header .nav-pill--ghost:hover .site-header-icon-tone--logout,
.site-header .nav-pill--ghost:focus .site-header-icon-tone--logout {
  color: #fecaca !important;
}

.nav-pill__label {
  line-height: 1.2;
  white-space: nowrap;
}

/* Medium-density header nav (readable tap targets; still shorter labels) */
.site-header-nav-main--compact {
  gap: 0.32rem !important;
  row-gap: 0.35rem !important;
}

.site-header-nav-user--compact {
  gap: 0.28rem !important;
}

.site-header .nav-pill--compact {
  padding: 0.28rem 0.65rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  border-width: 1px;
  min-height: 2.15rem;
  box-sizing: border-box;
}

.site-header .nav-pill--compact.nav-pill--icon {
  gap: 0.34rem;
}

.site-header .nav-pill--compact .nav-pill__icon {
  font-size: 0.92rem;
}

.site-header .nav-pill--compact.nav-pill--icon-only {
  width: 2.1rem;
  height: 2.1rem;
  min-height: 0;
  padding: 0 !important;
}

.site-header .nav-pill--compact.nav-pill--icon-only .nav-pill__icon {
  font-size: 0.98rem;
}

.site-header-chat-link {
  position: relative;
}

.site-header-chat-link__badge {
  position: absolute;
  top: 0.02rem;
  right: 0.02rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  border: 2px solid #0f172a;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}

@media (min-width: 1200px) {
  .site-header-nav-rows {
    min-height: 2.75rem;
    gap: 0.5rem;
  }

  .site-header-user-rail {
    padding: 0.2rem 0.42rem 0.2rem 0.48rem;
    border-radius: 11px;
  }

  .site-header-profile {
    padding: 0.26rem 0.58rem 0.26rem 0.34rem;
    gap: 0.48rem;
  }

  .site-header-profile__avatar {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.78rem;
  }

  .site-header-profile__name {
    font-size: 0.8rem;
  }
}

/* Crowded xl band: Plans / Payment details / Support as icon-only until xxl */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .site-header-nav-pill--secondary {
    width: 2.1rem;
    height: 2.1rem;
    min-height: 0;
    padding: 0 !important;
    justify-content: center;
    gap: 0;
  }

  .site-header .site-header-nav-pill--secondary .nav-pill__label {
    display: none;
  }

  .site-header .site-header-nav-pill--secondary .nav-pill__icon {
    font-size: 0.98rem;
    margin: 0;
  }
}

.site-header .nav-pill:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost),
.site-header .nav-pill:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-header .nav-pill:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__label,
.site-header .nav-pill:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__label {
  color: #fff !important;
}

.site-header .nav-pill--icon:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__icon,
.site-header .nav-pill--icon:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__icon {
  opacity: 1;
  transform: translateY(-0.5px);
  filter: brightness(1.12);
}

.nav-pill:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 2px;
}

/* “Verify user” — high-visibility CTA (email verification) */
@keyframes headerVerifyGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.22),
      0 0 12px rgba(245, 158, 11, 0.22),
      0 2px 10px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(253, 224, 171, 0.38),
      0 0 16px rgba(251, 191, 36, 0.32),
      0 3px 12px rgba(0, 0, 0, 0.2);
  }
}

.nav-pill--verify {
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, rgba(254, 243, 199, 0.28) 0%, rgba(251, 191, 36, 0.35) 42%, rgba(217, 119, 6, 0.28) 100%) !important;
  border: 1px solid rgba(253, 224, 171, 0.75) !important;
  color: #fffbeb !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: headerVerifyGlow 2.2s ease-in-out infinite;
}

.site-header .nav-pill--verify:hover,
.site-header .nav-pill--verify:focus {
  background: linear-gradient(155deg, rgba(254, 249, 195, 0.4) 0%, rgba(251, 191, 36, 0.5) 45%, rgba(245, 158, 11, 0.38) 100%) !important;
  border-color: #fde68a !important;
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(254, 240, 138, 0.45),
    0 0 18px rgba(251, 191, 36, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.22);
  animation: none;
  transform: translateY(-1px);
}

.nav-pill--verify:focus-visible {
  outline: 2px solid #fde047;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-pill--verify {
    animation: none;
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.35),
      0 0 10px rgba(245, 158, 11, 0.28),
      0 2px 10px rgba(0, 0, 0, 0.18);
  }
}

/* Logout: quiet outline */
.nav-pill--ghost {
  background: transparent !important;
  border-color: rgba(248, 250, 252, 0.14) !important;
  color: rgba(248, 250, 252, 0.88) !important;
}

.site-header .nav-pill--ghost:hover,
.site-header .nav-pill--ghost:focus {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(252, 165, 165, 0.35) !important;
  color: #fecaca !important;
}

.site-header-logout-form {
  display: flex;
  align-items: center;
}

.site-header-logout-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.site-header-logout-btn:focus-visible {
  outline: 2px solid rgba(252, 165, 165, 0.65);
  outline-offset: 2px;
}

@media (max-width: 1199.98px) {
  .site-header-nav-user--signed-in {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
  }

  .site-header-nav-user--signed-in .site-header-logout-item,
  .site-header-nav-user--signed-in .site-header-account-dropdown {
    width: auto !important;
    flex: 0 0 auto;
  }

  .site-header-nav-user--signed-in .site-header-account-dropdown {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.nav-pill--accent {
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%) !important;
  border: 1px solid rgba(30, 41, 59, 0.12) !important;
  color: #1e293b !important;
  font-weight: 600;
}

.nav-pill--accent .nav-pill__icon {
  color: #0f172a;
  opacity: 1;
}

.nav-pill--accent:hover {
  background: linear-gradient(135deg, #ddb83a 0%, #f0d48f 45%, #e0b44f 100%) !important;
  color: #0f172a !important;
  transform: translateY(-1px);
}

.nav-pill--accent:hover .nav-pill__icon {
  color: #0f172a;
}

/* Chats link + badge in header */
.site-header .site-header-chat-link .message-badge-count {
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 1.15rem;
  padding: 0.18em 0.42em;
  line-height: 1.2;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35);
}

.site-header .site-header-chat-link .message-badge-zero {
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.55) !important;
}

.site-header .site-header-chat-link.nav-pill--compact .message-badge-count {
  font-size: 0.6rem;
  min-width: 1.08rem;
  padding: 0.14em 0.38em;
}

.site-header .site-header-chat-link .message-badge-count--wide {
  min-width: 1.35rem;
  padding-left: 0.42em;
  padding-right: 0.42em;
}

.site-header .site-header-chat-link.nav-pill--compact .message-badge-zero {
  font-size: 0.64rem;
  padding: 0.08rem 0.32rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,64,175,.9), rgba(79,70,229,.75), rgba(16,185,129,.75));
  background-size: 200% 200%;
  animation: shift 12s ease infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

@keyframes shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-hero {
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 55%, #7c3aed);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.auth-hero-content {
  padding: 1.4rem 1.5rem;
}

.auth-form {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.create-section {
  border-radius: 16px;
  border: 1px solid #dbeafe;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.06);
}

.create-section h5 {
  font-weight: 700;
  margin-bottom: .9rem;
}

.create-section .input-group-text {
  min-width: 44px;
  justify-content: center;
  background: #ffffff;
  border-color: #cbd5e1;
}

.section-basic {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}

/* Property Create: sticky submit row + richer basic block */
.property-create-sticky-actions {
  position: sticky;
  z-index: 1015;
  top: 3.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 575.98px) {
  .property-create-sticky-actions {
    top: 0.35rem;
  }
}

.property-create-basic {
  background: linear-gradient(125deg, #e0f0fb 0%, #eef6ff 38%, #f8fbff 72%, #ffffff 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.08) !important;
}

.property-create-basic .form-select {
  border-color: #cbd5e1;
}

.section-price {
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.section-media {
  background: linear-gradient(180deg, #faf5ff, #ffffff);
}

.section-location {
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.section-actions {
  background: linear-gradient(180deg, #e0f2fe, #ffffff);
}

.icon-input .input-group-text {
  min-width: 46px;
  justify-content: center;
  background: #eef2ff;
  border-color: #dbeafe;
}

.icon-input .form-control,
.icon-input .form-select {
  border-color: #dbeafe;
}

.owner-card {
  border-radius: 14px;
  border: 1px solid #dbeafe;
  transition: transform .2s ease, box-shadow .2s ease;
}

.owner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15) !important;
}

.chat-panel {
  max-height: 440px;
  overflow: auto;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 0.75rem;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.55rem;
}

.chat-row--other {
  justify-content: flex-start;
}

.chat-row--self {
  justify-content: flex-end;
}

.chat-row__avatar {
  flex-shrink: 0;
}

.chat-row__avatar--spacer {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.chat-row__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: min(78%, 24rem);
  min-width: 0;
}

.chat-row--self .chat-row__content {
  align-items: flex-end;
}

.chat-row--continued {
  margin-top: -0.2rem;
  margin-bottom: 0.35rem;
}

.chat-row--continued .chat-meta {
  display: none;
}

.chat-bubble {
  max-width: 100%;
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.chat-row--continued .chat-bubble--other {
  border-top-left-radius: 8px;
}

.chat-row--continued .chat-bubble--self {
  border-top-right-radius: 8px;
}

.chat-bubble--other {
  border-color: #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.chat-bubble--self {
  border-color: #99f6e4;
  background: linear-gradient(145deg, #ecfeff, #ccfbf1);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.chat-text {
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.45;
}

.chat-meta {
  padding: 0 0.15rem;
}

.chat-meta__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.chat-row--self .chat-meta__name {
  color: #0f766e;
}

.chat-time {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  padding: 0 0.2rem;
}

.chat-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.1rem;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 0.72rem;
}

.chat-status--sent {
  color: #94a3b8;
}

.chat-status--read {
  color: #38bdf8;
}

.chat-row--self .chat-status--sent {
  color: rgba(248, 250, 252, 0.78);
}

.chat-row--self .chat-status--read {
  color: #93c5fd;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.chat-avatar--0 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.chat-avatar--1 { background: linear-gradient(135deg, #34d399, #059669); }
.chat-avatar--2 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.chat-avatar--3 { background: linear-gradient(135deg, #f472b6, #db2777); }
.chat-avatar--4 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.chat-avatar--5 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.chat-avatar--6 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.chat-avatar--7 { background: linear-gradient(135deg, #94a3b8, #475569); }

.message-badge-icon svg {
  opacity: 0.95;
}

.message-badge-count {
  font-size: 0.65rem;
  min-width: 1.25rem;
  padding: 0.2em 0.45em;
}

.message-badge-zero {
  font-size: 0.75rem;
}

.site-floating-actions {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1025;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.site-floating-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0.45rem;
  border-radius: 999px;
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.94));
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  overflow: visible;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    padding 0.22s ease,
    gap 0.22s ease;
}

.site-floating-action__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.site-floating-action__icon {
  font-size: 1.12rem;
  line-height: 1;
  display: block;
}

.site-floating-action__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-right: 0;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width 0.22s ease, opacity 0.16s ease, padding 0.22s ease;
}

.site-floating-action__badge {
  position: absolute;
  top: -0.12rem;
  right: -0.08rem;
  z-index: 2;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(145deg, #ef4444, #dc2626);
  border: 1.5px solid rgba(15, 23, 42, 0.92);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
  pointer-events: none;
}

.site-floating-action__badge--wide {
  min-width: 1.28rem;
  height: 1rem;
  padding: 0 0.16rem;
  font-size: 0.5rem;
  right: -0.18rem;
}

.site-floating-action__badge--chat {
  border-color: rgba(76, 29, 149, 0.95);
}

.site-floating-action--support {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(145deg, rgba(12, 74, 110, 0.97), rgba(15, 23, 42, 0.95));
}

.site-floating-action--support .site-floating-action__icon {
  color: #7dd3fc;
}

.site-floating-action--chat {
  border-color: rgba(167, 139, 250, 0.4);
  background: linear-gradient(145deg, rgba(76, 29, 149, 0.96), rgba(30, 27, 75, 0.96));
}

.site-floating-action--chat .site-floating-action__icon {
  color: #ddd6fe;
}

.site-floating-action:hover,
.site-floating-action:focus {
  transform: translateY(-2px);
  color: #fff !important;
}

.site-floating-action--support:hover,
.site-floating-action--support:focus {
  border-color: rgba(125, 211, 252, 0.58);
  box-shadow: 0 14px 30px rgba(14, 116, 144, 0.35);
}

.site-floating-action--chat:hover,
.site-floating-action--chat:focus {
  border-color: rgba(196, 181, 253, 0.62);
  box-shadow: 0 14px 30px rgba(91, 33, 182, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .site-floating-action:hover,
  .site-floating-action:focus-visible {
    gap: 0.55rem;
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
    justify-content: flex-start;
  }

  .site-floating-action:hover .site-floating-action__label,
  .site-floating-action:focus-visible .site-floating-action__label {
    max-width: 7.5rem;
    opacity: 1;
    padding-right: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-floating-action,
  .site-floating-action__label {
    transition: none;
  }
}

.site-message-toast-container {
  top: 4.75rem;
  left: 1rem;
  right: auto;
  bottom: auto;
  z-index: 1085;
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.site-message-toast-container .toast {
  pointer-events: auto;
}

.site-message-toast {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(199, 210, 254, 0.85) !important;
}

.site-message-toast__inner {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
}

.site-message-toast__icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #5b21b6;
  background: linear-gradient(145deg, #ede9fe, #f5f3ff);
}

.site-message-toast__body {
  flex: 1;
  min-width: 0;
}

.site-message-toast__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.site-message-toast__title {
  font-size: 0.88rem;
  color: #0f172a;
}

.site-message-toast__close {
  flex-shrink: 0;
  margin: -0.15rem -0.1rem 0 0;
  opacity: 0.55;
}

.site-message-toast__from {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.site-message-toast__sender {
  font-weight: 700;
  color: #334155;
}

.site-message-toast__property {
  font-weight: 600;
  color: #4f46e5;
}

.site-message-toast__preview {
  font-size: 0.82rem;
  color: #1e293b;
  line-height: 1.4;
}

.site-message-toast__meta {
  font-size: 0.72rem;
  color: #64748b;
}

.site-message-toast__action {
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.78rem;
}

@media (max-width: 575.98px) {
  .site-floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
    gap: 0.5rem;
  }

  .site-floating-action {
    padding: 0.5rem;
  }

  .site-message-toast-container {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
}

.listing-plan-card {
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.listing-plan-card:hover {
  border-color: rgba(37, 99, 235, 0.45) !important;
}

.chat-form .form-control {
  border-color: #c7d2fe;
  min-height: 44px;
}

.property-card-link {
  cursor: pointer;
  border-radius: 16px;
}

.property-card-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.property-card {
  border-radius: 14px;
  border: 1px solid rgba(219, 234, 254, 0.9);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  will-change: transform;
}

.property-card-media {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #e2e8f0;
}

.property-card-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.property-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  background-size: 220% 220%;
  background-position: 100% 50%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.property-card-title {
  transition: color 0.25s ease;
}

.property-card-cta {
  color: #2563eb;
  transition: color 0.25s ease, transform 0.3s ease;
}

.property-card-cta-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card-link:hover .property-card {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(30, 64, 175, 0.18),
    0 8px 16px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(96, 165, 250, 0.65);
}

.property-card-link:hover .property-card-img {
  transform: scale(1.1);
}

.property-card-link:hover .property-card-shine {
  opacity: 1;
  animation: property-card-shimmer 1.2s ease forwards;
}

.property-card-link:hover .property-card-title {
  color: #1d4ed8;
}

.property-card-link:hover .property-card-cta {
  color: #1d4ed8;
}

.property-card-link:hover .property-card-cta-arrow {
  transform: translateX(6px);
}

@keyframes property-card-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

/* Cards not wrapped in .property-card-link (e.g. admin review) */
.card.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(30, 64, 175, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .property-card,
  .property-card-img,
  .property-card-cta,
  .property-card-cta-arrow,
  .property-card-cta-arrow-icon {
    transition: none;
  }

  .property-card-link:hover .property-card {
    transform: none;
  }

  .property-card-link:hover .property-card-img {
    transform: none;
  }

  .property-card-link:hover .property-card-shine {
    animation: none;
    opacity: 0.2;
  }

  .card.property-card:hover {
    transform: none;
  }
}

.detail-panel {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #fff;
}

.detail-main-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.detail-thumb {
  height: 80px;
  width: 120px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.detail-grid p {
  margin-bottom: .5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.chip-rent {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.chip-sale {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.chip-pg {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #5b21b6;
}

.chip-neutral {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.info-icon {
  display: inline-block;
  width: 1.2rem;
}

/* —— Simple admin review desk —— */
.admin-main {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.admin-review-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.admin-review-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.admin-review-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% 42%;
  height: 15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
  transform: rotate(-10deg);
  z-index: -1;
}

.admin-review-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-review-hero__copy {
  max-width: 46rem;
}

.admin-review-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-review-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-review-subtitle {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
}

.admin-review-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-review-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.admin-review-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 14px;
  font-size: 1.15rem;
}

.admin-review-stat__icon--total {
  color: #1d4ed8;
  background: #dbeafe;
}

.admin-review-stat__icon--pending {
  color: #92400e;
  background: #fef3c7;
}

.admin-review-stat__icon--approved {
  color: #166534;
  background: #dcfce7;
}

.admin-review-stat__icon--rejected {
  color: #991b1b;
  background: #fee2e2;
}

.admin-review-stat__meta {
  min-width: 0;
}

.admin-review-stat__value {
  display: block;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.05;
}

.admin-review-stat__label {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-review-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-review-toolbar--bulk {
  align-items: center;
  padding: 0.85rem 1.15rem;
}

.admin-review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-review-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.admin-review-filter:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
}

.admin-review-filter.is-active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.admin-review-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-review-filter.is-active .admin-review-filter__count {
  background: rgba(255, 255, 255, 0.22);
}

.admin-review-filter-empty {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-weight: 600;
}

.admin-review-bulk {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-review-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-review-select-all:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}

.admin-review-selected-count {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.admin-review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.admin-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.62);
  box-shadow: 0 18px 38px rgba(30, 64, 175, 0.14);
}

.admin-review-card--selected {
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 18px 38px rgba(30, 64, 175, 0.14);
}

.admin-review-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #dbeafe);
}

.admin-review-card__select {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.admin-review-card__select .form-check-input {
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}

.admin-review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-review-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #64748b;
  font-size: 2rem;
}

.admin-review-status {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.admin-review-status--pending {
  color: #713f12;
  background: #fef3c7;
  border: 2px solid #f59e0b;
}

.admin-review-status--approved {
  color: #14532d;
  background: #dcfce7;
  border: 2px solid #22c55e;
}

.admin-review-status--rejected {
  color: #7f1d1d;
  background: #fee2e2;
  border: 2px solid #ef4444;
}

.admin-review-status--neutral {
  color: #334155;
  background: #f8fafc;
}

.admin-review-status--awaiting {
  color: #0c4a6e;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
}

.admin-review-status--inprogress {
  color: #1e40af;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.admin-review-card--pending {
  border: 2px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}

.admin-review-card--inprogress {
  border: 2px solid rgba(59, 130, 246, 0.45);
}

.admin-review-card--awaiting {
  border: 2px solid rgba(56, 189, 248, 0.5);
}

.admin-review-card--approved {
  border: 2px solid rgba(34, 197, 94, 0.4);
}

.admin-review-card--rejected {
  border: 2px solid rgba(239, 68, 68, 0.45);
}

.admin-review-card--expired {
  border: 2px solid rgba(100, 116, 139, 0.45);
}

.admin-review-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 17rem;
  padding: 1rem 1.05rem 1.05rem;
}

.admin-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-review-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.admin-review-card__id {
  flex: 0 0 auto;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-review-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.admin-review-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.admin-review-meta div {
  display: grid;
  grid-template-columns: minmax(5.3rem, 0.45fr) 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.admin-review-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-review-meta dd {
  margin: 0;
  min-width: 0;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.admin-review-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.admin-review-card__actions form {
  margin: 0;
}

.admin-review-card__closed {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-review-empty {
  text-align: center;
  padding: 2.4rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.admin-review-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.8rem;
  border-radius: 20px;
  color: #2563eb;
  background: #dbeafe;
  font-size: 1.8rem;
}

/* Admin desk: users, pricing (shared with review hero/stats) */
.admin-desk-page {
  padding-bottom: 1rem;
}

.admin-desk-panel {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.admin-desk-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.admin-desk-panel__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-desk-panel__hint {
  color: #64748b;
  font-size: 0.82rem;
}

.admin-desk-panel__body {
  padding: 1rem 1.15rem 1.15rem;
}

.admin-desk-panel__body--flush {
  padding: 0;
}

.admin-desk-panel__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  background: #f8fafc;
}

.admin-desk-filter-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 2fr) repeat(3, minmax(7rem, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
}

.admin-desk-field--wide {
  grid-column: span 1;
}

.admin-desk-field--action {
  min-width: 7.5rem;
}

.admin-desk-table-wrap {
  overflow-x: auto;
}

.admin-desk-table {
  margin: 0;
  --bs-table-bg: transparent;
}

.admin-desk-table thead th {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-desk-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-desk-table tbody tr:hover {
  background: #f8fafc;
}

.admin-desk-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.admin-desk-user__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-desk-user__name {
  display: block;
  color: #0f172a;
  font-weight: 750;
  line-height: 1.2;
}

.admin-desk-user__id {
  display: block;
  margin-top: 0.15rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.admin-desk-contact {
  display: grid;
  gap: 0.2rem;
  font-size: 0.84rem;
  color: #334155;
}

.admin-desk-contact i {
  color: #94a3b8;
}

.admin-role-badge {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-role--user {
  color: #1e40af;
  background: #dbeafe;
}

.admin-role--owner {
  color: #14532d;
  background: #dcfce7;
}

.admin-role--admin {
  color: #7c2d12;
  background: #ffedd5;
}

.admin-desk-verify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-desk-verify__pill {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-desk-verify__pill.is-ok {
  background: #dcfce7;
  color: #166534;
}

.admin-desk-pagination .page-link {
  border-radius: 999px;
  margin-inline: 0.15rem;
}

.admin-review-hero__actions .btn.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.admin-pricing-page {
  padding-bottom: 5rem;
}

.admin-pricing-general {
  display: grid;
  gap: 1.25rem;
}

.admin-pricing-toggle {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.admin-pricing-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-pricing-field-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-pricing-field-grid__wide {
  grid-column: 1 / -1;
}

.admin-pricing-subtitle {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-pricing-plan-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-pricing-plan-grid__head,
.admin-pricing-plan-grid__row {
  display: grid;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.65rem 1rem;
}

.admin-pricing-plan-grid__head {
  display: none;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-pricing-plan-grid__row {
  border-bottom: 1px solid #f1f5f9;
}

.admin-pricing-plan-grid__row:last-child {
  border-bottom: 0;
}

.admin-pricing-plan-grid__row:hover {
  background: #fafbfc;
}

.admin-pricing-plan-grid__cell--check {
  display: flex;
  align-items: center;
}

.admin-pricing-plan-grid--owner .admin-pricing-plan-grid__head,
.admin-pricing-plan-grid--owner .admin-pricing-plan-grid__row {
  grid-template-columns: 1fr 1fr 0.75fr 0.75fr 5.5rem 1.5fr;
}

.admin-pricing-plan-grid--essential .admin-pricing-plan-grid__head,
.admin-pricing-plan-grid--essential .admin-pricing-plan-grid__row {
  grid-template-columns: 1fr 1fr 0.75fr 0.75fr 2fr;
}

.admin-pricing-plan-grid--promo .admin-pricing-plan-grid__head,
.admin-pricing-plan-grid--promo .admin-pricing-plan-grid__row {
  grid-template-columns: 1fr 1.2fr 0.75fr 1fr 1fr 1.5fr;
}

.admin-pricing-plan-grid--sub .admin-pricing-plan-grid__head,
.admin-pricing-plan-grid--sub .admin-pricing-plan-grid__row {
  grid-template-columns: 0.9fr 1.2fr 0.7fr 0.7fr 5.5rem 1fr 0.8fr 1.4fr;
}

.admin-pricing-savebar {
  position: sticky;
  bottom: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.admin-pricing-savebar__hint {
  color: #64748b;
  font-size: 0.84rem;
}

@media (min-width: 768px) {
  .admin-pricing-plan-grid__head {
    display: grid;
  }

  .admin-pricing-plan-grid__cell .form-label.d-md-none {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .admin-desk-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-desk-field--wide {
    grid-column: 1 / -1;
  }

  .admin-desk-field--action {
    grid-column: 1 / -1;
  }

  .admin-pricing-field-grid,
  .admin-pricing-field-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .admin-pricing-plan-grid__row {
    grid-template-columns: 1fr 1fr !important;
    padding: 0.85rem 1rem;
  }

  .admin-pricing-plan-grid__cell--check {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .admin-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .admin-review-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-review-filters {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .admin-review-hero__actions {
    justify-content: stretch;
    width: 100%;
  }

  .admin-review-hero__actions .btn,
  .admin-review-hero__actions form {
    flex: 1 1 auto;
  }

  .admin-review-hero__actions .btn {
    width: 100%;
  }

  .admin-review-stats {
    grid-template-columns: 1fr;
  }

  .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-filters {
    width: 100%;
  }

  .admin-review-filter {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }

  .admin-review-bulk {
    justify-content: stretch;
    width: 100%;
  }

  .admin-review-bulk .btn {
    flex: 1 1 auto;
  }

  .admin-review-card__media {
    height: 170px;
  }
}

.premium-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: linear-gradient(90deg, #111827, #172033);
  border-top: none;
  padding: 0.3rem 0;
  font-size: 0.72rem;
}

.premium-footer > .container-fluid {
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.premium-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  min-height: 0;
}

.premium-footer__brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.premium-footer__name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.premium-footer__tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}

.premium-footer__tagline::before {
  content: "·";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.premium-footer__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}

.premium-footer__copy::before {
  content: "·";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.premium-footer__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.premium-footer__contact,
.premium-footer__hours {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.82);
}

.premium-footer__contact {
  text-decoration: none;
}

.premium-footer__contact:hover {
  color: #ffffff;
  text-decoration: underline;
}

.premium-footer__hours {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.premium-footer__hours .bi {
  font-size: 0.72rem;
}

.premium-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.6rem;
}

.premium-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.68rem;
}

.premium-footer__links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .premium-footer {
    padding: 0.35rem 0;
  }

  .premium-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .premium-footer__hours {
    display: none;
  }

  .premium-footer__links {
    gap: 0.25rem 0.5rem;
  }
}

.builder-project-title {
  color: #0f4c81;
}

.builder-project-name-input {
  color: #0f4c81;
  font-weight: 700;
}

.builder-dashboard-page {
  --builder-navy: #0f172a;
  --builder-blue: #2563eb;
  --builder-teal: #0f766e;
  --builder-green: #059669;
  --builder-amber: #d97706;
  --builder-purple: #7c3aed;
  --builder-soft-border: #dbeafe;
}

.builder-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 15%, rgba(34, 211, 238, 0.22), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(59, 130, 246, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #0f4c81 46%, #0f766e 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.builder-dashboard-hero__content {
  max-width: 720px;
}

.builder-dashboard-eyebrow {
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.builder-dashboard-eyebrow--dark {
  color: #2563eb;
}

.builder-dashboard-hero__title {
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.builder-dashboard-hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

.builder-dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.builder-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.builder-dashboard-stat {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-height: 122px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(219, 234, 254, 0.95);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.builder-dashboard-stat__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.builder-dashboard-stat__label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-dashboard-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.builder-dashboard-stat small {
  display: -webkit-box;
  color: #64748b;
  font-size: 0.78rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.builder-dashboard-stat--blue .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #2563eb, #0f4c81);
}

.builder-dashboard-stat--green .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.builder-dashboard-stat--amber .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.builder-dashboard-stat--purple .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.builder-growth-card,
.builder-empty-card,
.builder-dashboard-project-card {
  border-radius: 22px;
}

.builder-secure-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
}

.builder-growth-option {
  height: 100%;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.builder-growth-option__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border-radius: 13px;
  color: #ffffff;
}

.builder-growth-option--blue .builder-growth-option__icon {
  background: linear-gradient(135deg, #2563eb, #0f4c81);
}

.builder-growth-option--green .builder-growth-option__icon {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.builder-growth-option--gold .builder-growth-option__icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.builder-promo-list {
  display: grid;
  gap: 0.55rem;
}

.builder-promo-row,
.builder-subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.builder-promo-row span,
.builder-subscription-card .small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
}

.builder-empty-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  font-size: 1.75rem;
}

.builder-dashboard-project-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--builder-soft-border);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.builder-dashboard-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.14);
}

.builder-dashboard-project-card__media {
  position: relative;
  height: 178px;
  background: #e2e8f0;
}

.builder-dashboard-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-dashboard-project-card__badges {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.builder-dashboard-project-card__body {
  padding: 1rem;
}

.builder-dashboard-project-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.2;
}

.builder-dashboard-project-card__meta {
  color: #64748b;
  font-size: 0.82rem;
}

.builder-dashboard-project-card__desc {
  min-height: 2.65rem;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.builder-dashboard-project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.builder-dashboard-project-facts div {
  padding: 0.6rem 0.55rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.builder-dashboard-project-facts span {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.builder-dashboard-project-facts strong {
  color: #0f172a;
  font-size: 1.02rem;
}

.builder-dashboard-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #0f4c81;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-weight: 700;
}

.builder-dashboard-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* —— Builder dashboard (light UI, consistent with property pages / site body) —— */
.site-page > .container {
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.portal-layout-fluid {
  max-width: none;
  width: 100%;
  padding-left: var(--portal-gutter) !important;
  padding-right: var(--portal-gutter) !important;
}

.builder-lux-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  margin-top: -1rem;
  margin-bottom: -2rem;
}

.builder-lux-dash {
  --lux-panel: #ffffff;
  --lux-panel-2: #f8fafc;
  --lux-border: #e2e8f0;
  --lux-text: #0f172a;
  --lux-muted: #64748b;
  --lux-radius: 16px;
  --lux-accent: #2563eb;
  --lux-accent-2: #1d4ed8;
  --lux-teal: #0d9488;
  --lux-violet: #7c3aed;
  /* the builder portal's actual brand accent — matches the navy+gold hero
     and tools hub. Was previously mapped to blue (#2563eb) by mistake, which
     made every "gold" tag/button on the page render blue right next to
     genuinely gold UI, the main source of the clashing look. */
  --lux-gold: #e8c96a;
  --lux-gold-2: #c9a227;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 56px;
  min-height: calc(100vh - 120px);
  /* transparent on purpose: this sits directly inside .builder-dashboard-page,
     whose warm gold-tinted background was being fully painted over by this
     div's own opaque cool blue-gray gradient, so it never actually showed. */
  background: transparent;
  color: var(--lux-text);
  /* Headings and body both use DM Sans for a professional UI typeface. */
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.builder-lux-serif {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.builder-lux-muted {
  color: var(--lux-muted) !important;
}

.builder-lux-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--lux-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.builder-lux-sidebar__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--lux-teal) 0%, var(--lux-accent) 52%, var(--lux-violet) 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  text-decoration: none;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.builder-lux-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  width: 100%;
}

.builder-lux-sidebar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  color: var(--lux-muted);
  text-decoration: none;
  font-size: 0.58rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.builder-lux-sidebar__link i {
  font-size: 1.1rem;
}

.builder-lux-sidebar__link:hover,
.builder-lux-sidebar__link.is-active {
  color: var(--lux-accent-2);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(37, 99, 235, 0.12));
}

.builder-lux-sidebar__link.is-active {
  color: #1e3a8a;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.builder-lux-sidebar__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.builder-lux-sidebar__add {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lux-accent);
  border: 2px dashed rgba(37, 99, 235, 0.45);
  text-decoration: none;
  margin-top: 0.5rem;
}

.builder-lux-main {
  padding: 1.25rem 0 2rem;
  min-width: 0;
}

.builder-lux-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.builder-lux-header__greet {
  color: var(--lux-muted);
  font-size: 0.85rem;
}

.builder-lux-header__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lux-text);
}

.builder-lux-header__tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 240px;
}

.builder-lux-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 420px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--lux-border);
  color: var(--lux-muted);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.builder-lux-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--lux-text);
  font-size: 0.85rem;
  outline: none;
}

.builder-lux-search__input::placeholder {
  color: #94a3b8;
}

.builder-lux-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lux-muted);
  background: #ffffff;
  border: 1px solid var(--lux-border);
  text-decoration: none;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.builder-lux-icon-btn:hover {
  color: var(--lux-accent-2);
  border-color: rgba(37, 99, 235, 0.45);
}

.builder-lux-icon-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.builder-lux-alert {
  background: linear-gradient(135deg, #ecfdf5 0%, #e0f2fe 100%);
  color: #0f172a;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.agent-status-banner {
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(12, 18, 34, 0.04);
}

.agent-status-banner--compact .agent-status-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
}

.agent-status-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.agent-status-banner--compact .agent-status-banner__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 1rem;
}

.agent-status-banner__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.agent-status-banner--compact .agent-status-banner__body {
  flex: 1;
  min-width: 0;
}

.agent-status-banner--compact .agent-status-banner__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.1rem;
}

.agent-status-banner--compact .agent-status-banner__title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.agent-status-banner--compact .agent-status-banner__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.agent-status-banner--compact .agent-status-banner__message {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #475569;
}

.agent-status-banner--compact .agent-status-banner__detail {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #64748b;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agent-status-banner--compact .agent-status-banner__cta {
  flex-shrink: 0;
  margin: 0;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

.agent-status-banner__title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.agent-status-banner__message,
.agent-status-banner__detail {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .agent-status-banner--compact .agent-status-banner__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .agent-status-banner--compact .agent-status-banner__cta {
    width: 100%;
    text-align: center;
  }
}

.agent-status-banner--pending {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}

.agent-status-banner--pending .agent-status-banner__icon {
  background: #fde68a;
  color: #b45309;
}

.agent-status-banner--rejected {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fca5a5;
}

.agent-status-banner--rejected .agent-status-banner__icon {
  background: #fecaca;
  color: #b91c1c;
}

.agent-status-banner--approvedneedsplan {
  background: #f0f7fa;
  border-color: #c5e4ef;
}

.agent-status-banner--approvedneedsplan .agent-status-banner__icon {
  background: #e8f4f8;
  color: #0b4f6c;
}

.agent-status-banner--approvedready {
  background: #f0faf6;
  border-color: #b8e6d4;
}

.agent-status-banner--approvedready .agent-status-banner__icon {
  background: #e8f6f1;
  color: #0d7a5c;
}

.portal-badge-agent,
.portal-badge-agent-detail {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
}

.portal-badge-agent {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.portal-badge-agent-detail {
  padding: 0.35rem 0.65rem;
}

.agent-login-hint {
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfeff 100%);
}

.agent-status-banner__cta {
  font-weight: 600;
}

.agent-status-banner--pending .agent-status-banner__pill {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.2);
}

.agent-status-banner--rejected .agent-status-banner__pill {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.2);
}

.agent-status-banner--approvedneedsplan .agent-status-banner__pill {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.2);
}

.agent-status-banner--approvedready .agent-status-banner__pill {
  background: rgba(4, 120, 87, 0.1);
  color: #047857;
  border-color: rgba(4, 120, 87, 0.2);
}

.agent-status-banner--approvedneedsplan .agent-status-banner__cta,
.agent-status-banner--approvedready .agent-status-banner__cta,
.agent-status-banner--pending .agent-status-banner__cta {
  background: #0b4f6c;
  border-color: #0b4f6c;
  color: #fff;
}

.agent-status-banner--rejected .agent-status-banner__cta {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.register-agent-inline {
  align-items: flex-end;
}

@media (min-width: 992px) {
  /* Allow wrapping based on Bootstrap columns (avoid forcing everything on one line). */
  .register-agent-inline {
    overflow-x: visible;
    flex-wrap: wrap !important;
  }

  .register-agent-inline .register-premium-label {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .register-agent-inline .register-premium-input {
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .register-agent-inline {
    overflow-x: visible;
    flex-wrap: wrap !important;
    padding-bottom: 0;
  }
}

.builder-lux-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.builder-lux-grid--full {
  grid-column: 1 / -1;
}

.builder-lux-panel {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5ff 100%);
  border: 1px solid var(--lux-border);
  border-radius: var(--lux-radius);
  padding: 1rem;
  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(37, 99, 235, 0.04);
}

.builder-lux-panel__head {
  margin-bottom: 0.85rem;
}

.builder-lux-panel__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.builder-lux-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lux-text);
}

.builder-lux-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--lux-text);
  border: 1px solid var(--lux-border);
}

.builder-lux-tag--gold {
  background: linear-gradient(135deg, var(--lux-gold) 0%, var(--lux-gold-2) 100%);
  color: #1a1208 !important;
  border: none;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.builder-lux-btn-gold {
  background: linear-gradient(135deg, var(--lux-gold) 0%, var(--lux-gold-2) 100%);
  color: #1a1208 !important;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35);
}

.builder-lux-btn-gold:hover {
  filter: brightness(1.06);
  color: #1a1208 !important;
}

/* Glass outline button for use on the dark builder hero. Matches the height of
   .builder-lux-btn-gold (padding reduced by 1px to offset the 1px border). */
.builder-lux-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
  border-radius: 10px;
  padding: calc(0.55rem - 1px) calc(1.1rem - 1px);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.builder-lux-btn-outline:hover,
.builder-lux-btn-outline:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff !important;
}

.builder-lux-btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.builder-lux-btn-ghost {
  background: #ffffff;
  color: var(--lux-muted) !important;
  border: 1px solid var(--lux-border);
  border-radius: 10px;
}

.builder-lux-btn-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--lux-teal) 0%, var(--lux-accent) 52%, var(--lux-violet) 100%);
  color: #ffffff !important;
  border: none;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.builder-lux-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0;
  overflow: hidden;
}

.builder-lux-featured--banner {
  display: flex !important;
  flex-direction: column;
  grid-template-columns: unset;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.builder-lux-featured--banner .builder-project-banner {
  width: 100%;
  flex: 0 0 auto;
}

.builder-lux-featured--banner .builder-lux-featured__footer {
  position: relative;
  z-index: 2;
  padding: 0.85rem 1.15rem;
  width: 100%;
  background: #fff;
  margin-top: -18px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 22px rgba(15, 23, 42, 0.07);
}

.builder-project-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.builder-project-banner__media {
  position: relative;
  width: 100%;
  height: clamp(210px, 26vw, 300px);
  overflow: hidden;
  isolation: isolate;
  background: #0b1220;
}

.builder-project-banner__backdrop {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(24px) saturate(1.1) brightness(0.82);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.builder-project-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  z-index: 1;
}

.builder-project-banner--flush .builder-project-banner__image,
.builder-project-banner--flush .builder-project-banner__backdrop {
  border-radius: 0;
}

.builder-project-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.35) 0%, rgba(8, 14, 28, 0.15) 35%, rgba(8, 14, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 14, 28, 0.78) 0%, rgba(8, 14, 28, 0.35) 55%, rgba(8, 14, 28, 0.2) 100%);
  pointer-events: none;
}

.builder-project-banner__content {
  position: absolute;
  z-index: 3;
  left: clamp(0.9rem, 2vw, 1.4rem);
  right: clamp(0.9rem, 2vw, 1.4rem);
  top: clamp(0.7rem, 1.4vw, 1rem);
  bottom: clamp(0.7rem, 1.4vw, 1rem);
  color: #ffffff;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
}

.builder-project-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8e7b8;
  /* frosted DARK glass, not white — a light frost barely tints a bright photo
     (like a daytime sky shot), so text on top loses contrast. Dark frost
     reads reliably no matter what's behind it. */
  background: rgba(8, 14, 28, 0.55);
  border: 1px solid rgba(248, 231, 184, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  margin-bottom: 0.3rem;
}

.builder-project-banner__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  line-height: 1.15;
  margin-bottom: 0.2rem !important;
}

.builder-project-banner__lead {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.builder-project-banner__tags .builder-lux-tag {
  background: rgba(8, 14, 28, 0.55);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

/* the dark-glass rule above has higher specificity than .builder-lux-tag--gold
   alone, so it was winning and turning the "Live" status tag into dark-on-dark
   (near-invisible). Re-assert gold explicitly at matching specificity. */
.builder-project-banner__tags .builder-lux-tag--gold {
  background: linear-gradient(135deg, var(--lux-gold, #e8c96a) 0%, var(--lux-gold-2, #c9a227) 100%);
  color: #1a1208;
  border-color: transparent;
}

.builder-project-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.builder-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.builder-banner-btn i {
  font-size: 1rem;
  line-height: 1;
}

.builder-banner-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

/* Primary CTA on dark hero — white fill + dark ink (high contrast) */
.builder-banner-btn--primary,
.builder-project-banner__actions .builder-banner-btn--primary,
.builder-project-banner__actions .builder-banner-btn--primary i,
.builder-project-banner__actions .builder-banner-btn--primary span {
  color: #0f172a !important;
}

.builder-banner-btn--primary {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.builder-banner-btn--primary:hover,
.builder-banner-btn--primary:focus {
  color: #0f172a !important;
  background: #f8fafc;
  border-color: #f8fafc;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

/* Amber CTA — force dark text (fixes low-contrast yellow-on-orange) */
.builder-banner-btn--gold,
.builder-project-banner__actions .builder-banner-btn--gold,
.builder-project-banner__actions .builder-banner-btn--gold i,
.builder-project-banner__actions .builder-banner-btn--gold span {
  color: #0f172a !important;
}

.builder-banner-btn--gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  border-color: rgba(255, 255, 255, 0.45);
}

.builder-banner-btn--gold:hover,
.builder-banner-btn--gold:focus {
  color: #0f172a !important;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.builder-banner-btn--solid,
.builder-project-banner__actions .builder-banner-btn--solid,
.builder-project-banner__actions .builder-banner-btn--solid i,
.builder-project-banner__actions .builder-banner-btn--solid span {
  color: #0f172a !important;
}

.builder-banner-btn--solid {
  background: #ffffff;
  border-color: #ffffff;
}

.builder-banner-btn--solid:hover,
.builder-banner-btn--solid:focus {
  color: #7c4a1a !important;
  background: #fffbeb;
  border-color: #fde68a;
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.35);
}

.builder-banner-btn--glass,
.builder-project-banner__actions .builder-banner-btn--glass,
.builder-project-banner__actions .builder-banner-btn--glass i,
.builder-project-banner__actions .builder-banner-btn--glass span {
  color: #ffffff !important;
}

.builder-banner-btn--glass {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.builder-banner-btn--glass:hover,
.builder-banner-btn--glass:focus {
  color: #ffffff !important;
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.builder-banner-btn.is-active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #7c3aed 100%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  pointer-events: none;
  cursor: default;
}

.builder-banner-btn.is-active:hover {
  transform: none;
}

/* Keep address chip tight to content on spotlight banners */
.builder-project-banner__content .listing-address-highlight {
  display: inline-flex;
  max-width: min(100%, 36rem);
  width: auto;
}

.builder-project-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.builder-project-banner__actions form {
  margin: 0;
}

.builder-lux-featured__media {
  position: relative;
  min-height: 260px;
}

.builder-lux-featured__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.builder-lux-featured__tags {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.builder-lux-featured__body {
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
}

.builder-lux-featured__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--lux-text);
  margin-bottom: 0.35rem;
}

.builder-lux-featured__loc {
  color: var(--lux-muted);
  font-size: 0.85rem;
}


.builder-lux-featured__desc-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.builder-lux-featured__desc {
  font-size: 0.82rem;
  line-height: 1.5;
  flex-grow: 1;
}

.builder-lux-featured__agents {
  display: flex;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.builder-lux-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--lux-teal) 0%, var(--lux-accent) 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.builder-lux-avatar--alt {
  background: #e2e8f0;
  color: var(--lux-muted);
  margin-left: -10px;
}

.builder-lux-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.builder-lux-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.builder-lux-side-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem !important;
  text-decoration: none;
  color: var(--lux-text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.builder-lux-side-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateX(2px);
  color: var(--lux-text);
}

.builder-lux-side-card__img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.builder-lux-side-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lux-text);
}

.builder-lux-side-card__price {
  font-size: 0.75rem;
  color: var(--lux-accent-2);
  font-weight: 600;
}

.builder-lux-side-card__chev {
  color: var(--lux-muted);
}

.builder-lux-side-card--cta {
  justify-content: center;
  color: var(--lux-accent);
  border-style: dashed !important;
}

.builder-lux-activity__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.builder-lux-activity__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--lux-border);
}

.builder-lux-activity__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.builder-lux-activity__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lux-text);
}

.builder-lux-activity__time {
  font-size: 0.68rem;
  color: var(--lux-muted);
  white-space: nowrap;
}

.builder-lux-portfolio__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.builder-lux-donut {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.builder-lux-donut__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--lux-accent) calc(var(--donut-pct, 0) * 1%),
    #e2e8f0 0
  );
}

.builder-lux-donut__ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #ffffff;
}

.builder-lux-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 1;
}

.builder-lux-donut__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lux-accent-2);
  line-height: 1.1;
}

.builder-lux-donut__label {
  font-size: 0.62rem;
  color: var(--lux-muted);
  margin-top: 0.15rem;
}

.builder-lux-donut__delta {
  font-size: 0.68rem;
  color: var(--lux-teal);
  font-weight: 600;
  margin-top: 0.25rem;
}

.builder-lux-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  min-width: 200px;
}

.builder-lux-metric {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--lux-border);
}

.builder-lux-metric i {
  color: var(--lux-accent);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.builder-lux-metric strong {
  display: block;
  font-size: 1.05rem;
  color: var(--lux-text);
}

.builder-lux-metric span {
  display: block;
  font-size: 0.75rem;
  color: var(--lux-muted);
}

.builder-lux-metric small {
  font-size: 0.68rem;
  color: #6b7280;
}

.builder-lux-inquiry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.builder-lux-inquiry__main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.builder-lux-inquiry__thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.builder-lux-inquiry__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lux-text);
}

.builder-lux-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  min-width: 220px;
}

.builder-lux-pipeline__step {
  font-size: 0.68rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--lux-muted);
  border: 1px solid var(--lux-border);
}

.builder-lux-pipeline__step.is-done {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(37, 99, 235, 0.15));
  color: var(--lux-accent-2);
  border-color: rgba(37, 99, 235, 0.35);
}

.builder-lux-project-card {
  height: 100%;
  border-radius: var(--lux-radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--lux-border);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.builder-lux-project-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.builder-lux-project-card__media {
  position: relative;
  height: 140px;
}

.builder-lux-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-lux-project-card__media .builder-lux-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.builder-lux-project-card__body {
  padding: 0.85rem;
}

.builder-lux-project-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lux-text);
  margin-bottom: 0.25rem;
}

.builder-lux-project-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.72rem;
  color: var(--lux-muted);
  margin-bottom: 0.65rem;
}

.builder-lux-project-card__stats strong {
  color: var(--lux-accent-2);
}

.builder-lux-project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.builder-lux-chip-btn {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--lux-muted);
  border: 1px solid var(--lux-border);
  background: #ffffff;
}

.builder-lux-chip-btn:hover {
  color: var(--lux-accent-2);
  border-color: rgba(37, 99, 235, 0.45);
}

.builder-lux-chip-btn--gold {
  color: #1a1208 !important;
  background: linear-gradient(135deg, var(--lux-gold) 0%, var(--lux-gold-2) 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.builder-lux-pricing-card {
  height: 100%;
  padding: 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--lux-border);
}

.builder-lux-pricing-card i {
  display: block;
  font-size: 1.25rem;
  color: var(--lux-accent);
  margin-bottom: 0.5rem;
}

.builder-lux-pricing-card strong {
  display: block;
  color: var(--lux-text);
  margin-bottom: 0.35rem;
}

.builder-lux-pricing-card__price {
  color: var(--lux-accent-2);
  font-weight: 700;
}

.builder-lux-empty__icon {
  width: 72px;
  height: 72px;
  margin-inline: auto;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--lux-accent);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.builder-lux-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.35rem;
  border-left: 1px solid var(--lux-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.builder-lux-rail__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--lux-teal) 0%, var(--lux-accent) 100%);
  color: #ffffff;
  margin-bottom: 0.35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.builder-lux-rail__label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lux-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 0.5rem;
}

.builder-lux-rail__thumb {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  display: block;
  transition: border-color 0.15s ease;
}

.builder-lux-rail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-lux-rail__thumb:hover {
  border-color: var(--lux-accent);
}

.builder-lux-rail__thumb--add {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lux-accent);
  border: 2px dashed rgba(37, 99, 235, 0.45);
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  .builder-lux-dash {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .builder-lux-rail {
    display: none;
  }

  .builder-lux-grid {
    grid-template-columns: 1fr;
  }

  .builder-lux-featured {
    grid-template-columns: 1fr;
  }

  .builder-lux-featured__body {
    padding: 0 1rem 1rem;
  }
}

/* —— Builder dashboard: tabbed layout (no side rail) —— */
.builder-lux-dash--tabbed {
  grid-template-columns: 1fr !important;
  min-height: auto;
}

.builder-dash-welcome--compact {
  margin-bottom: 0.85rem;
  border-radius: 16px;
}

.builder-dash-welcome--compact .builder-dash-welcome__orb {
  display: none;
}

.builder-dash-welcome__body--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.5rem;
  align-items: center;
}

.builder-dash-welcome__intro--compact {
  gap: 0;
}

.builder-dash-welcome--compact .builder-dash-welcome__pill {
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
}

.builder-dash-welcome--compact .builder-dash-welcome__title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin-bottom: 0 !important;
}

.builder-dash-welcome__profile--compact {
  min-width: 140px;
}

.builder-dash-welcome__profile-card--compact {
  padding: 0.5rem;
  border-radius: 12px;
}

.builder-dash-welcome--compact .builder-dash-welcome__stats {
  padding: 0 0.75rem 0.75rem;
  gap: 0.5rem;
}

.builder-dash-welcome--compact .builder-dash-welcome__stat {
  padding: 0.45rem 0.5rem;
}

.builder-dash-welcome--compact .builder-dash-welcome__stat-val {
  font-size: 1.15rem;
}

.builder-lux-dash--tabbed .builder-lux-sidebar,
.builder-lux-dash--tabbed .builder-lux-rail {
  display: none !important;
}

.builder-lux-dash--tabbed .builder-lux-main {
  max-width: none;
  margin-inline: 0;
  width: 100%;
  padding: 0.85rem 0 2.5rem;
}

.builder-dash-welcome {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(125deg, #0f172a 0%, #1e3a5f 38%, #1d4ed8 68%, #6d28d9 100%);
  box-shadow:
    0 22px 50px rgba(30, 64, 175, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.builder-dash-welcome__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.builder-dash-welcome__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.builder-dash-welcome__orb--1 {
  width: 220px;
  height: 220px;
  top: -80px;
  right: 12%;
  background: #22d3ee;
}

.builder-dash-welcome__orb--2 {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: 8%;
  background: #a78bfa;
}

.builder-dash-welcome__orb--3 {
  width: 140px;
  height: 140px;
  top: 40%;
  right: 38%;
  background: #fbbf24;
  opacity: 0.35;
}

.builder-dash-welcome__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.25rem;
  padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1.15rem, 3vw, 1.65rem) 1rem;
  align-items: start;
}

.builder-dash-welcome__intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.builder-dash-welcome__icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.builder-dash-welcome__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.65rem;
}

.builder-dash-welcome__title {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.45rem !important;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.builder-dash-welcome__lead {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  max-width: 34rem;
}

.builder-dash-welcome__profile-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.builder-dash-welcome__profile-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.builder-dash-welcome__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #7c3aed 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.builder-dash-welcome__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.2;
  word-break: break-word;
}

.builder-dash-welcome__role {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.builder-dash-welcome__role i {
  color: #2563eb;
}

.builder-dash-welcome__cta {
  border-radius: 12px !important;
  font-weight: 700;
  padding: 0.55rem 1rem;
}

.builder-dash-welcome__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.builder-dash-welcome__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.builder-dash-welcome__stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 0.15rem;
}

.builder-dash-welcome__stat-icon--live {
  background: rgba(34, 197, 94, 0.35);
}

.builder-dash-welcome__stat-icon--leads {
  background: rgba(248, 113, 113, 0.35);
}

.builder-dash-welcome__stat-icon--units {
  background: rgba(251, 191, 36, 0.35);
}

.builder-dash-welcome__stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.builder-dash-welcome__stat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.builder-dash-controls-panel {
  padding: 1rem 1.15rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.builder-dash-controls-panel__search {
  padding-top: 0.15rem;
  border-top: 1px solid var(--lux-border);
}

@media (max-width: 991.98px) {
  .builder-dash-welcome__body {
    grid-template-columns: 1fr;
  }

  .builder-dash-welcome__profile {
    max-width: 340px;
  }
}

@media (max-width: 575.98px) {
  .builder-dash-welcome__intro {
    flex-direction: column;
  }

  .builder-dash-welcome__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-dash-welcome__profile {
    max-width: none;
  }
}

@media (max-width: 1199.98px) {
  .builder-lux-dash--tabbed {
    grid-template-columns: 1fr !important;
  }
}

.builder-dash-tabnav {
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.builder-dash-tabnav .nav-link {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--lux-muted);
  border: 1px solid transparent;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.builder-dash-tabnav .nav-link:hover {
  color: var(--lux-accent-2);
  background: rgba(37, 99, 235, 0.08);
}

.builder-dash-tabnav .nav-link.active,
.builder-dash-tabnav .nav-link.active:hover,
.builder-dash-tabnav .nav-link.active:focus,
.builder-dash-tabnav .nav-link.active:focus-visible {
  /* was a !important teal→blue→violet gradient — same copy-paste-gone-wrong
     pattern as the "gold" classes, except this one had !important so it
     silently beat the correctly-gold-branded rule in builder-dashboard.css
     regardless of selector specificity. */
  color: #1a1208 !important;
  background: linear-gradient(135deg, var(--lux-gold, #e8c96a) 0%, var(--lux-gold-2, #c9a227) 100%) !important;
  background-color: var(--lux-gold-2, #c9a227) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

.builder-dash-tabnav .nav-link.active i {
  color: #1a1208;
}

.builder-dash-tabnav .nav-link.active .badge {
  background: rgba(26, 18, 8, 0.14) !important;
  color: #1a1208 !important;
  border-color: rgba(26, 18, 8, 0.22) !important;
}

.builder-dash-tabnav .badge {
  font-size: 0.65rem;
  vertical-align: middle;
}

.builder-units-flash {
  border-radius: 12px;
  font-size: 0.95rem;
}

.builder-units-flash--success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7 !important;
  color: #065f46;
}

.builder-units-flash--success .builder-units-flash__title {
  color: #047857;
  font-weight: 700;
}

.builder-units-flash--error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fca5a5 !important;
  color: #991b1b;
}

.builder-pay-hero {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.builder-pay-hero__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #7c3aed 100%);
  flex-shrink: 0;
}

.builder-pay-hero__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.builder-pay-hero__lead {
  color: #64748b;
  font-size: 0.95rem;
}

.builder-pay-balance {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.builder-pay-balance--leads {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.builder-pay-balance__lbl {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
}

.builder-pay-balance__val {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.builder-pay-balance__hint {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.builder-pay-card--primary {
  border: 1px solid #bae6fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.builder-pay-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d4ed8;
}

.agent-pay-slider {
  margin-bottom: 1.25rem;
}

.agent-pay-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.agent-pay-slider__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.agent-pay-slider__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}

.agent-pay-slider__value--leads {
  color: #0f766e;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
}

.agent-pay-slider__range--leads::-webkit-slider-thumb {
  background: linear-gradient(145deg, #0d9488 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45);
}

.agent-pay-slider__range--leads::-moz-range-thumb {
  background: linear-gradient(145deg, #0d9488 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45);
}

.agent-pay-slider__track-wrap {
  padding: 0.15rem 0.1rem;
}

.agent-pay-slider__range {
  display: block;
  width: 100%;
  height: 0.55rem;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1 0%, #e2e8f0 100%);
  cursor: pointer;
  touch-action: pan-x;
}

.agent-pay-slider__range:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.agent-pay-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, #2563eb 0%, #0d9488 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.agent-pay-slider__range::-moz-range-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, #2563eb 0%, #0d9488 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.agent-pay-slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
}

.agent-pay-slider__hint {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.agent-pay-starter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  margin-bottom: 1rem;
}

.builder-lux-pricing-card--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 100%;
}

.builder-dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.builder-dash-stat-card {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--lux-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.builder-dash-stat-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--lux-teal), var(--lux-accent));
  margin-bottom: 0.35rem;
}

.builder-dash-stat-card__val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lux-text);
  line-height: 1.2;
}

.builder-dash-stat-card__lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lux-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.builder-dash-lead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--lux-border);
  background: #fff;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.builder-dash-lead-row:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
}

.builder-dash-tools-card {
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px dashed rgba(37, 99, 235, 0.35);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
}

@media (max-width: 767.98px) {
  .builder-lux-dash {
    grid-template-columns: 1fr;
  }

  .builder-lux-dash--tabbed .builder-lux-sidebar {
    display: none !important;
  }

  .builder-lux-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.65rem;
    border-right: none;
    border-bottom: 1px solid var(--lux-border);
  }

  .builder-lux-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .builder-lux-sidebar__link span {
    display: none;
  }

  .builder-lux-sidebar__add {
    margin-top: 0;
  }

  .builder-lux-main {
    padding: 1rem 0;
  }

  .builder-lux-header__tools {
    width: 100%;
    justify-content: stretch;
  }

  .builder-lux-search {
    max-width: none;
  }
}

/* —— Builder: create project (rich stepped form) —— */
.builder-create-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  margin-top: -1rem;
  margin-bottom: -2rem;
}

.builder-create-page {
  --lux-muted: #64748b;
  --lux-accent: #2563eb;
  --lux-accent-2: #1d4ed8;
  --lux-teal: #0d9488;
  --lux-violet: #7c3aed;
  position: relative;
  min-height: calc(100vh - 120px);
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 38%, #f1f5f9 100%);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.builder-create-page::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 12% -5%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(13, 148, 136, 0.1), transparent 50%);
}

.builder-create-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.builder-create-breadcrumb {
  font-size: 0.875rem;
}

.builder-create-breadcrumb__link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.builder-create-breadcrumb__link:hover {
  text-decoration: underline;
}

.builder-create-breadcrumb__sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.builder-create-hero {
  padding: 1.35rem 1.5rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%) padding-box,
    linear-gradient(135deg, #0d9488 0%, #2563eb 50%, #7c3aed 100%) border-box;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.12);
}

.builder-create-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e40af;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 0.65rem;
}

.builder-create-hero__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.builder-create-hero__lead {
  font-size: 0.95rem;
  color: #475569;
  max-width: 52rem;
  line-height: 1.55;
}

.builder-create-quicklinks .btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.builder-create-steps {
  margin-bottom: 0;
}

.builder-create-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.builder-create-step.is-active {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.builder-create-step__num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(145deg, #0d9488, #2563eb);
  flex-shrink: 0;
}

.builder-create-step:not(.is-active) .builder-create-step__num {
  background: #e2e8f0;
  color: #64748b;
}

.builder-create-step__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

/* Horizontal wizard progress: Story → Location → Specs → Publish */
.builder-wizard-track {
  padding: 1rem 0.5rem 0.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.builder-wizard-track__rail {
  position: relative;
  padding: 0 0.5rem;
}

.builder-wizard-track__line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 1.35rem;
  height: 4px;
  border-radius: 999px;
  background: #99f6e4;
  z-index: 0;
  overflow: hidden;
}

.builder-wizard-track__line-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6 0%, #14b8a6 70%, #2563eb 100%);
  transition: width 0.4s ease;
}

.builder-wizard-track__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
  z-index: 1;
  margin: 0;
}

.builder-wizard-track__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.builder-wizard-track__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}

.builder-wizard-track__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  background: #fff;
  border: 3px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.builder-wizard-track__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.builder-wizard-track__item.is-done .builder-wizard-track__num {
  color: #fff;
  border-color: #14b8a6;
  background: #14b8a6;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.builder-wizard-track__item.is-done .builder-wizard-track__label {
  color: #334155;
  font-weight: 600;
}

.builder-wizard-track__item.is-current .builder-wizard-track__num,
.builder-wizard-track__step.is-active .builder-wizard-track__num {
  color: #fff;
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.builder-wizard-track__item.is-current .builder-wizard-track__label {
  color: #0f172a;
  font-weight: 700;
}

.builder-wizard-track__step:hover .builder-wizard-track__num {
  transform: scale(1.04);
}

.builder-wizard-track__step:focus-visible .builder-wizard-track__num {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.builder-publish-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(105deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
}

.builder-publish-status-bar__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.builder-publish-status-bar__value {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.builder-publish-status-bar__value.is-ok { color: #0d9488; }
.builder-publish-status-bar__value.is-warn { color: #b45309; }

.builder-publish-status-bar__badge {
  margin-left: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
}

.builder-publish-status-bar__badge--ok {
  background: #ecfdf5;
  color: #047857;
}

.builder-publish-pay-spot {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%);
  border-color: #fde68a !important;
}

.builder-publish-pay-spot__plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

.builder-publish-pay-spot__plan.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.builder-create-panel {
  border-radius: 18px;
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.builder-create-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(105deg, #ecfdf5 0%, #e0f2fe 42%, #ede9fe 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.builder-create-panel__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 52%, #6d28d9 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.builder-create-panel__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.15rem;
}

.builder-create-panel__hint {
  font-size: 0.82rem;
  color: #64748b;
}

.builder-create-panel__body {
  padding: 1.25rem 1.25rem 1.35rem;
}

.builder-form-validation-summary.validation-summary-valid {
  display: none;
}

.builder-form-validation-summary.validation-summary-errors {
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.builder-form-validation-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.builder-bulk-units-modal {
  z-index: 1060;
}

.builder-bulk-units-modal .modal-dialog {
  z-index: 1061;
}

.builder-bulk-units-modal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.2);
}

.builder-bulk-units-modal .modal-header {
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.25rem 0.5rem;
  border-bottom: 0;
}

.builder-bulk-units-modal__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.35rem;
  color: #b45309;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.builder-bulk-units-modal .modal-body {
  padding: 0.5rem 1.25rem 1.25rem;
}

.builder-bulk-units-modal__lead {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.5;
}

.builder-bulk-units-modal__summary {
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.builder-bulk-units-modal__notice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.builder-bulk-units-modal__notice .bi {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #d97706;
}

.builder-bulk-units-modal .modal-footer {
  gap: 0.5rem;
  padding: 0 1.25rem 1.25rem;
  border-top: 0;
}

.builder-create-panel .form-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: #334155;
}

.builder-create-panel .input-group-text {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

.builder-create-panel .form-control,
.builder-create-panel .form-select {
  border-color: #e2e8f0;
}

.builder-create-panel .form-control:focus,
.builder-create-panel .form-select:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.builder-create-location-search .input-group-text {
  font-size: 1.1rem;
}

.builder-create-publish-card {
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 100%);
  border-color: #e2e8f0 !important;
}

.builder-create-publish-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(145deg, #0d9488, #2563eb);
  color: #fff;
  font-size: 1.2rem;
}

.builder-create-publish-switch .form-check-input {
  width: 2.85rem;
  height: 1.45rem;
  cursor: pointer;
}

.builder-create-publish-switch .form-check-input:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.builder-create-submit {
  font-weight: 700;
  border: none;
  color: #fff !important;
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 52%, #6d28d9 100%);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  border-radius: 12px;
}

.builder-create-submit:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.builder-create-submit:disabled,
.builder-create-submit.is-busy {
  opacity: 0.65;
  cursor: progress;
  filter: none;
}

@media (max-width: 575.98px) {
  .builder-create-actions {
    flex-direction: column-reverse;
    align-items: stretch !important;
  }

  .builder-create-actions .btn {
    width: 100%;
  }
}

.builder-list-page {
  --builder-card-border: #dbeafe;
}

.builder-list-page.builder-list-shell,
.builder-list-page-inner > .builder-list-shell {
  max-width: none;
  margin-inline: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.builder-list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.35rem;
  align-items: start;
}

@media (min-width: 992px) {
  .builder-list-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  }

  .builder-list-filters__toggle {
    display: none !important;
  }

  .builder-list-filters__panel {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    max-height: none !important;
  }
}

.builder-list-filters__panel {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.builder-list-filters__panel.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  max-height: none;
  overflow: visible;
  animation: builderFilterSlide 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes builderFilterSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.builder-list-filters__card {
  position: sticky;
  top: 5.25rem;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 6rem);
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
  background:
    radial-gradient(420px 180px at 100% -10%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(320px 160px at 0% 100%, rgba(16, 185, 129, 0.1), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(30, 64, 175, 0.1);
}

.builder-list-filters__hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(125deg, #0f172a 0%, #1e3a5f 48%, #0f766e 100%);
  color: #fff;
  overflow: hidden;
}

.builder-list-filters__hero-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -30px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
  pointer-events: none;
}

.builder-list-filters__hero-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #38bdf8, #34d399);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.builder-list-filters__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.78);
}

.builder-list-filters__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.builder-list-filters__clear {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

.builder-list-filters__body {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.85rem 0.9rem 0.35rem;
  scrollbar-width: thin;
  min-width: 0;
}

.builder-list-filters__block {
  margin-bottom: 0.95rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  min-width: 0;
  overflow: hidden;
}

.builder-list-filters__block:last-child {
  border-bottom: 0;
  margin-bottom: 0.35rem;
  padding-bottom: 0;
}

.builder-list-filters__block-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}

.builder-list-filters__icon {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.builder-list-filters__icon--sky { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.builder-list-filters__icon--rose { background: linear-gradient(145deg, #fb7185, #e11d48); }
.builder-list-filters__icon--blue { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.builder-list-filters__icon--amber { background: linear-gradient(145deg, #fbbf24, #d97706); }
.builder-list-filters__icon--emerald { background: linear-gradient(145deg, #34d399, #059669); }
.builder-list-filters__icon--indigo { background: linear-gradient(145deg, #22d3ee, #0284c7); }
.builder-list-filters__icon--teal { background: linear-gradient(145deg, #2dd4bf, #0f766e); }

.builder-list-filters__search {
  position: relative;
  display: flex;
  align-items: center;
}

.builder-list-filters__search > i {
  position: absolute;
  left: 0.75rem;
  color: #0284c7;
  pointer-events: none;
}

.builder-list-filters__search input {
  width: 100%;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.55rem 0.75rem 0.55rem 2.15rem;
  font-size: 0.84rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__search input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: #fff;
}

.builder-list-filters__area {
  position: relative;
  display: grid;
  gap: 0.55rem;
}

.builder-list-filters__area-search {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.builder-list-filters__area-search > i {
  position: absolute;
  left: 0.75rem;
  color: #e11d48;
  pointer-events: none;
  font-size: 0.95rem;
}

.builder-list-filters__area-search input {
  width: 100%;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff;
  padding: 0.58rem 2.35rem 0.58rem 2.15rem;
  font-size: 0.84rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__area-search input:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.16);
}

.builder-list-filters__area-clear {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0.2rem;
  line-height: 1;
  cursor: pointer;
}

.builder-list-filters__area-clear:hover {
  color: #64748b;
}

.builder-list-filters__area-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: min(18rem, 52vh);
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.builder-list-filters__area-suggestions--portal {
  position: fixed !important;
}

.builder-list-filters__area-suggestions[hidden] {
  display: none !important;
}

.builder-list-filters__area-item.property-search-suggestions__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}

.builder-list-filters__area-item.property-search-suggestions__item:hover,
.builder-list-filters__area-item.property-search-suggestions__item.is-active {
  background: #fff1f2;
}

.builder-list-filters__area-hint {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.builder-list-filters__area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.builder-list-filters__area-chip {
  border: 1px solid #fecdd3;
  background: #fff;
  color: #9f1239;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.builder-list-filters__area-chip:hover {
  background: #fff1f2;
  border-color: #fb7185;
}

.builder-list-filters__area-chip.is-active {
  background: linear-gradient(135deg, #fb7185, #e11d48);
  border-color: transparent;
  color: #fff;
}

.builder-list-filters__price {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  overflow: hidden;
}

.builder-list-filters__price-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.builder-list-filters__price-pill {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.38rem 0.5rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.builder-list-filters__price-pill-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 0.1rem;
}

.builder-list-filters__price-pill strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #064e3b;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-list-filters__price-sep {
  color: #94a3b8;
  font-weight: 700;
  flex-shrink: 0;
}

.builder-list-filters__price-slider {
  position: relative;
  height: 1.65rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.builder-list-filters__price-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.42rem;
  border-radius: 999px;
  background: #e2e8f0;
  pointer-events: none;
}

.builder-list-filters__price-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #059669);
}

.builder-list-filters__price-range {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  height: 1.65rem;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.builder-list-filters__price-range::-webkit-slider-runnable-track {
  height: 0.42rem;
  background: transparent;
}

.builder-list-filters__price-range::-moz-range-track {
  height: 0.42rem;
  background: transparent;
  border: 0;
}

.builder-list-filters__price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: -0.44rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, #34d399, #047857);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
  cursor: grab;
}

.builder-list-filters__price-range::-moz-range-thumb {
  pointer-events: auto;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, #34d399, #047857);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
  cursor: grab;
}

.builder-list-filters__price-range:focus {
  outline: none;
}

.builder-list-filters__price-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28), 0 4px 12px rgba(4, 120, 87, 0.35);
}

.builder-list-filters__price-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28), 0 4px 12px rgba(4, 120, 87, 0.35);
}

.builder-list-filters__price-range--min {
  z-index: 3;
}

.builder-list-filters__price-range--max {
  z-index: 4;
}

.builder-list-filters__price-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.15rem;
  font-size: 0.58rem;
  font-weight: 650;
  color: #94a3b8;
  margin-top: -0.15rem;
}

.builder-list-filters__price-hint {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.3;
}

.builder-list-filters__price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.builder-list-filters__price-presets .builder-list-filters__area-chip.is-active {
  background: linear-gradient(135deg, #34d399, #059669);
  border-color: transparent;
  color: #fff;
}

.builder-list-filters__price-presets .builder-list-filters__area-chip {
  border-color: #a7f3d0;
  color: #047857;
}

.builder-list-filters__price-presets .builder-list-filters__area-chip:hover {
  background: #ecfdf5;
  border-color: #34d399;
}

.builder-list-filters__select-wrap {
  position: relative;
}

.builder-list-filters__select-wrap > i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  font-size: 0.8rem;
}

.builder-list-filters__select {
  width: 100%;
  appearance: none;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  background: #fff7f8;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.builder-list-filters__select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
  background: #fff;
}

.builder-list-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.builder-list-filters__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-list-filters__chip i {
  font-size: 0.85rem;
}

.builder-list-filters__chip:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.builder-list-filters__chip.is-active {
  color: #0f172a;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.builder-list-filters__chip--neutral.is-active { background: #f1f5f9; border-color: #94a3b8; }
.builder-list-filters__chip--green.is-active,
.builder-list-filters__chip--green.is-active i { background: #d1fae5; border-color: #34d399; color: #047857; }
.builder-list-filters__chip--blue.is-active,
.builder-list-filters__chip--blue.is-active i { background: #dbeafe; border-color: #60a5fa; color: #1d4ed8; }
.builder-list-filters__chip--amber.is-active,
.builder-list-filters__chip--amber.is-active i { background: #fef3c7; border-color: #fbbf24; color: #b45309; }
.builder-list-filters__chip--teal.is-active,
.builder-list-filters__chip--teal.is-active i { background: #ccfbf1; border-color: #2dd4bf; color: #0f766e; }
.builder-list-filters__chip--sky.is-active,
.builder-list-filters__chip--sky.is-active i { background: #e0f2fe; border-color: #38bdf8; color: #0369a1; }
.builder-list-filters__chip--violet.is-active,
.builder-list-filters__chip--violet.is-active i { background: #ede9fe; border-color: #a78bfa; color: #6d28d9; }
.builder-list-filters__chip--mint.is-active,
.builder-list-filters__chip--mint.is-active i { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }

.builder-list-filters__seg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}

.builder-list-filters__seg-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0e7490;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__seg-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-list-filters__seg-item.is-active {
  background: #fff;
  color: #155e75;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.14);
}

.builder-list-filters__toggles {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  overflow: hidden;
}

.builder-list-filters__toggle-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.builder-list-filters__toggle-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-list-filters__toggle-tile.is-on {
  border-color: #6ee7b7;
  background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.1);
}

.builder-list-filters__toggle-tile-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 11px;
  color: #fff;
  font-size: 0.95rem;
}

.builder-list-filters__toggle-tile-icon--money { background: linear-gradient(145deg, #34d399, #059669); }
.builder-list-filters__toggle-tile-icon--rera { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.builder-list-filters__toggle-tile-icon--loan { background: linear-gradient(145deg, #fbbf24, #d97706); }

.builder-list-filters__toggle-tile-copy strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-list-filters__switch {
  width: 2.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.builder-list-filters__switch::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.builder-list-filters__toggle-tile.is-on .builder-list-filters__switch {
  background: #10b981;
}

.builder-list-filters__toggle-tile.is-on .builder-list-filters__switch::after {
  transform: translateX(1rem);
}

.builder-list-filters__footer {
  padding: 0.75rem 0.9rem 0.95rem;
  border-top: 1px solid rgba(191, 219, 254, 0.7);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), #fff);
}

.builder-list-filters__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #2563eb 0%, #0ea5e9 55%, #10b981 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.builder-list-filters__apply:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.34);
}

.builder-list-filters__apply em {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
}

.builder-list-filters__toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.builder-list-filters__toggle-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #06b6d4);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.builder-list-filters__toggle-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.builder-list-filters__toggle-text strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.builder-list-filters__toggle-text small {
  font-size: 0.72rem;
  color: #64748b;
}

.builder-list-filters__toggle-chevron {
  color: #64748b;
  transition: transform 0.2s ease;
}

.builder-list-filters__toggle[aria-expanded="true"] .builder-list-filters__toggle-chevron {
  transform: rotate(180deg);
}

.builder-list-filters__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .builder-list-filters__panel.is-open .builder-list-filters__card {
    max-height: min(78vh, calc(100dvh - 5.5rem));
  }

  .builder-list-filters__hero {
    padding: 0.75rem 0.85rem;
  }

  .builder-list-filters__title {
    font-size: 0.95rem;
  }

  .builder-list-filters__body {
    padding: 0.65rem 0.75rem 0.25rem;
  }

  .builder-list-filters__block {
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .builder-list-filters__block-head {
    margin-bottom: 0.4rem;
    font-size: 0.74rem;
  }

  .builder-list-filters__price {
    gap: 0.4rem;
  }

  .builder-list-filters__price-hint {
    display: none;
  }

  .builder-list-filters__price-presets {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    margin: 0 -0.1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .builder-list-filters__price-presets::-webkit-scrollbar {
    display: none;
  }

  .builder-list-filters__price-presets .builder-list-filters__area-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .builder-list-filters__seg-item {
    padding: 0.42rem 0.55rem;
    font-size: 0.74rem;
  }

  .builder-list-filters__toggle-tile {
    padding: 0.48rem 0.55rem;
    gap: 0.45rem;
  }

  .builder-list-filters__toggle-tile-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }

  .builder-list-filters__footer {
    padding: 0.55rem 0.75rem 0.75rem;
  }

  .builder-list-filters__apply {
    padding: 0.62rem 0.85rem;
    font-size: 0.84rem;
  }
}

/* Builder directory — AI suggest (left menu) */
.builder-list-filters__ai {
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid #a5f3fc;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(100% 70% at 100% 0%, rgba(56, 189, 248, 0.16), transparent 50%),
    linear-gradient(165deg, #f0fdfa 0%, #ecfeff 48%, #f8fafc 100%);
  overflow: hidden;
}

.builder-list-filters__ai::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 65%);
  pointer-events: none;
}

.builder-list-filters__ai.is-busy {
  opacity: 0.82;
  pointer-events: none;
}

.builder-list-filters__ai-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.builder-list-filters__ai-badge {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0ea5e9, #14b8a6);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.28);
  font-size: 1rem;
  flex-shrink: 0;
  animation: builderDirAiPulse 2.8s ease-in-out infinite;
}

.builder-list-filters__ai-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e7490;
}

.builder-list-filters__ai-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.builder-list-filters__ai-lead {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #475569;
}

.builder-list-filters__ai-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.builder-list-filters__ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #99f6e4;
  background: rgba(255, 255, 255, 0.85);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.builder-list-filters__ai-chip i {
  font-size: 0.85rem;
  color: #0891b2;
}

.builder-list-filters__ai-chip:hover,
.builder-list-filters__ai-chip.is-active {
  border-color: #22d3ee;
  background: #cffafe;
  color: #155e75;
  transform: translateY(-1px);
}

.builder-list-filters__ai-ask {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}

.builder-list-filters__ai-ask input {
  flex: 1;
  min-width: 0;
  border: 1px solid #a5f3fc;
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  background: #fff;
  color: #0f172a;
}

.builder-list-filters__ai-ask input:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.builder-list-filters__ai-ask-btn {
  display: grid;
  place-items: center;
  width: 2.45rem;
  border-radius: 12px;
  border: none;
  color: #fff;
  background: linear-gradient(145deg, #0891b2, #0d9488);
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.28);
}

.builder-list-filters__ai-ask-btn:hover {
  filter: brightness(1.05);
}

.builder-list-filters__ai-result {
  margin-top: 0.7rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid #99f6e4;
  background: rgba(255, 255, 255, 0.92);
  animation: builderDirAiIn 0.35s ease;
}

.builder-list-filters__ai-summary {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #134e4a;
  line-height: 1.35;
}

.builder-list-filters__ai-tips {
  margin: 0 0 0.55rem;
  padding-left: 1.05rem;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.4;
}

.builder-list-filters__ai-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.22);
}

.builder-list-filters__ai-apply:hover {
  filter: brightness(1.04);
}

.builder-list-filters__ai-disclaimer {
  margin: 0.45rem 0 0;
  font-size: 0.65rem;
  line-height: 1.35;
  color: #64748b;
}

.builder-list-filters__ai-status {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: #0e7490;
}

.builder-list-filters__ai-status.is-error {
  color: #b91c1c;
}

@keyframes builderDirAiPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 16px rgba(14, 165, 233, 0.28); }
  50% { transform: scale(1.04); box-shadow: 0 10px 20px rgba(20, 184, 166, 0.35); }
}

@keyframes builderDirAiIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .builder-list-filters__panel,
  .builder-list-filters__panel.is-open,
  .builder-list-filters__chip,
  .builder-list-filters__apply,
  .builder-list-filters__clear,
  .builder-list-filters__ai-badge,
  .builder-list-filters__ai-result,
  .builder-list-filters__ai-chip {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Builder projects landing —— */
.builder-list-page-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
}

.builder-list-page-bg {
  position: relative;
  min-height: 100%;
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 42%, #f1f5f9 100%);
}

.builder-list-page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 0%, rgba(5, 150, 105, 0.08), transparent 50%);
  pointer-events: none;
}

.builder-list-page-inner {
  position: relative;
  z-index: 1;
}

.builder-list-hero {
  position: relative;
  border-radius: 18px !important;
  --builder-list-hero-image: url("../Images/Bg3.png");
  background-color: #0f172a;
  color: #fff;
  overflow: hidden;
  min-height: 0;
  isolation: isolate;
  animation: builderHeroReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 32px rgba(15, 23, 42, 0.22) !important;
}

.builder-list-hero__media {
  position: absolute;
  inset: -6% -4% -6% -8%;
  z-index: 0;
  background-color: #0f172a;
  background-image: var(--builder-list-hero-image);
  background-size: cover;
  background-position: 78% 42%;
  background-repeat: no-repeat;
  transform-origin: 72% 42%;
  will-change: transform;
  animation: builderHeroKenBurns 26s ease-in-out infinite alternate;
  pointer-events: none;
  filter: contrast(1.05) saturate(1.1);
}

.builder-list-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8, 15, 30, 0.94) 0%,
      rgba(8, 15, 30, 0.88) 32%,
      rgba(15, 23, 42, 0.52) 52%,
      rgba(15, 23, 42, 0.18) 72%,
      rgba(15, 23, 42, 0.06) 100%),
    linear-gradient(180deg, rgba(8, 15, 30, 0.12) 0%, transparent 42%, rgba(8, 15, 30, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.builder-list-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(22px);
  opacity: 0.55;
}

.builder-list-hero__orb--1 {
  width: 5rem;
  height: 5rem;
  top: -1.5rem;
  right: 8%;
  background: rgba(14, 165, 233, 0.12);
  opacity: 0.35;
}

.builder-list-hero__orb--2 {
  width: 6rem;
  height: 6rem;
  bottom: -2rem;
  left: 10%;
  background: rgba(212, 175, 55, 0.14);
}

.builder-list-hero .card-body,
.builder-list-hero__body {
  position: relative;
  z-index: 2;
  padding: 0.95rem 1.1rem 1rem !important;
}

.builder-list-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(13.5rem, 0.72fr);
  gap: 0.75rem 1rem;
  align-items: center;
}

.builder-list-hero__copy {
  min-width: 0;
}

.builder-list-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  padding: 0.18rem 0.55rem 0.18rem 0.28rem;
  border-radius: 999px;
  color: #e0f2fe;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.58rem;
  font-weight: 800;
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.35);
  animation: builderHeroReveal 0.5s ease-out 0.08s both;
}

.builder-list-eyebrow__icon {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  color: #fff;
  font-size: 0.65rem;
}

.builder-list-hero__title {
  color: #fff;
  letter-spacing: -0.025em;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.25rem !important;
  max-width: 24ch;
  text-wrap: balance;
}

.builder-list-hero__lead {
  color: rgba(248, 250, 252, 0.8) !important;
  max-width: 34rem;
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0 0 0.55rem !important;
}

.builder-list-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.builder-list-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 2rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.builder-list-hero__btn--primary {
  color: #0f172a !important;
  background: linear-gradient(135deg, #f6e7b8 0%, #d4af37 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.22);
}

.builder-list-hero__btn--primary:hover,
.builder-list-hero__btn--primary:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
  color: #0f172a !important;
}

.builder-list-hero__btn--ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.builder-list-hero__btn--ghost:hover,
.builder-list-hero__btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
  transform: translateY(-1px);
}

.builder-list-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.builder-list-hero .builder-list-stat {
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.5rem 0.55rem;
  background: rgba(8, 15, 30, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 14px rgba(8, 15, 30, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.builder-list-hero .builder-list-stat__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(8, 15, 30, 0.18);
}

.builder-list-hero .builder-list-stat__value {
  font-size: 1.15rem;
}

.builder-list-hero .builder-list-stat__label {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.builder-list-hero .builder-list-stat__copy {
  gap: 0.05rem;
}

.builder-list-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.builder-list-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 16px;
  padding: 0.95rem 0.95rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(8, 15, 30, 0.18);
  animation: builderStatPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.builder-list-stat:nth-child(1) { animation-delay: 0.26s; }
.builder-list-stat:nth-child(2) { animation-delay: 0.36s; }
.builder-list-stat:nth-child(3) { animation-delay: 0.46s; }

.builder-list-stat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 28px rgba(8, 15, 30, 0.28);
}

.builder-list-stat--live .builder-list-stat__icon {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  color: #fff;
}

.builder-list-stat--price .builder-list-stat__icon {
  background: linear-gradient(145deg, #f6e7b8, #d4af37);
  color: #1a1208;
}

.builder-list-stat__icon {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(8, 15, 30, 0.22);
}

.builder-list-stat__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.builder-list-stat__value {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.builder-list-stat__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 250, 252, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-list-dashboard-btn {
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

/* Builder list hero: light sweep over animated photo */
.builder-list-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-130%) skewX(-12deg);
  animation: builderHeroSheen 1.9s ease-out 0.45s both;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .builder-list-hero__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .builder-list-hero__title {
    max-width: none;
  }

  .builder-list-hero__metrics {
    max-width: 22rem;
  }
}

@media (max-width: 575.98px) {
  .builder-list-hero .card-body,
  .builder-list-hero__body {
    padding: 0.8rem 0.85rem 0.85rem !important;
  }

  .builder-list-hero__lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .builder-list-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .builder-list-hero__btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@keyframes builderHeroReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes builderStatPop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes builderHeroSheen {
  to { transform: translateX(260%) skewX(-12deg); }
}

@keyframes builderHeroKenBurns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    background-position: 74% 44%;
  }
  50% {
    transform: scale(1.04) translate3d(-0.8%, -0.5%, 0);
    background-position: 82% 38%;
  }
  100% {
    transform: scale(1.07) translate3d(0.6%, -0.8%, 0);
    background-position: 88% 36%;
  }
}

/* Highlighted RERA verification badge on project cards */
.builder-project-card__rera {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.6rem 0.28rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.builder-project-card__rera > i {
  font-size: 0.9rem;
  color: #16a34a;
}

.builder-project-card__rera-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #16a34a;
  color: #fff;
  padding: 0.08rem 0.4rem;
  border-radius: 6px;
  font-size: 0.62rem;
}

.builder-project-card__rera-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* MahaRERA Order (Apr 2025): prominent reg. no. + website + QR */
.maharera-disclosure--agent .maharera-disclosure__company {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.15rem;
}

.maharera-disclosure--sale-listing {
  margin-top: 0.75rem;
}

.maharera-disclosure {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
  color: #0f172a;
  border: 1px solid #c5ddd0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.maharera-disclosure__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.maharera-disclosure__eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
}

.maharera-disclosure__number {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.2;
  word-break: break-word;
}

.maharera-disclosure__number:hover {
  color: #166534;
  text-decoration: underline;
}

.maharera-disclosure__site {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  word-break: break-all;
}

.maharera-disclosure__site:hover {
  color: #0f172a;
  text-decoration: underline;
}

.maharera-disclosure__verify {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  text-decoration: none;
  align-self: flex-start;
}

.maharera-disclosure__verify:hover {
  color: #166534;
  text-decoration: underline;
}

.maharera-disclosure__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.maharera-disclosure__qr {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.maharera-disclosure__qr-caption {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.maharera-disclosure--compact {
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.55rem;
  gap: 0.5rem;
  border-radius: 10px;
}

.maharera-disclosure--compact .maharera-disclosure__number {
  font-size: 0.82rem;
}

.maharera-disclosure--compact .maharera-disclosure__site {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
}

.maharera-disclosure--compact .maharera-disclosure__qr {
  width: 56px;
  height: 56px;
  padding: 3px;
}

.builder-detail-hero__maharera {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  max-width: min(420px, calc(100% - 1.5rem));
}

.builder-detail-hero__maharera .maharera-disclosure {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 246, 0.94) 100%);
  backdrop-filter: blur(8px);
  border-color: rgba(197, 221, 208, 0.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 767.98px) {
  .builder-detail-hero__maharera {
    position: static;
    max-width: none;
    margin: 0.75rem 0.75rem 0;
  }

  .maharera-disclosure {
    align-items: center;
  }

  .maharera-disclosure__qr {
    width: 88px;
    height: 88px;
  }
}

.builder-project-card:hover .builder-project-card__rera {
  border-color: rgba(22, 163, 74, 0.65);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .builder-list-hero,
  .builder-list-hero__media,
  .builder-list-hero::before,
  .builder-list-eyebrow,
  .builder-list-stat,
  .builder-project-card__img {
    animation: none !important;
    transition: none !important;
  }

  .builder-list-hero,
  .builder-list-eyebrow,
  .builder-list-stat {
    opacity: 1 !important;
    transform: none !important;
  }

  .builder-list-hero__media {
    inset: 0;
    transform: none !important;
  }

  .builder-list-hero__orb {
    display: none;
  }

  .property-card-link:hover .builder-project-card__img {
    transform: none !important;
  }
}

.builder-list-toolbar {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.builder-list-search .input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #2563eb;
}

.builder-list-search .form-control {
  border-color: #cbd5e1;
}

.builder-list-search .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.builder-list-empty {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.builder-list-empty__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #2563eb;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.builder-project-card {
  border-radius: 16px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.builder-project-card__media {
  overflow: hidden;
}

.builder-project-card__img {
  height: 190px !important;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.property-card-link:hover .builder-project-card__img,
.builder-project-card:hover .builder-project-card__img {
  transform: scale(1.07);
}

.builder-project-card__status {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-weight: 700;
  font-size: 0.68rem;
  z-index: 2;
}

.builder-project-card__status.builder-status--construction {
  background: rgba(37, 99, 235, 0.95) !important;
}

.builder-project-card__status.builder-status--ready {
  background: rgba(5, 150, 105, 0.95) !important;
}

.builder-project-card__status.builder-status--default {
  background: rgba(30, 41, 59, 0.9) !important;
}

.builder-project-card__avail {
  position: absolute;
  top: 3.1rem;
  right: 0.65rem;
  font-weight: 700;
  font-size: 0.68rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0;
}

.builder-project-card__title {
  font-size: 1rem !important;
}

.builder-project-card__meta {
  line-height: 1.35;
}

.builder-project-card__facts {
  grid-template-columns: 1fr;
}

.builder-project-card__chip {
  font-weight: 600;
  font-size: 0.68rem;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.property-card-link:hover .builder-project-card {
  border-color: #93c5fd !important;
}

.builder-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 0.65rem;
}

.builder-compact-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.65rem;
  border: 1px solid var(--builder-card-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.builder-compact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

.builder-compact-card__image {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.builder-compact-card__body {
  min-width: 0;
}

.builder-compact-card__title {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
}

.builder-compact-card__meta {
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-compact-card__desc {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.32;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.builder-compact-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.6rem;
  color: #64748b;
  font-size: 0.74rem;
}

.builder-compact-card__action {
  display: flex;
  align-items: center;
  padding-left: 0.15rem;
}

.builder-detail-hero {
  border-radius: 20px;
}

.builder-detail-hero__media {
  position: relative;
  min-height: 320px;
  background: #0f172a;
}

.builder-detail-hero__image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.builder-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.08));
}

.builder-detail-hero__content {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  color: #fff;
  max-width: 760px;
}

.builder-detail-hero__title {
  color: #ffffff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.builder-detail-hero__subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.builder-detail-stat {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 0.85rem;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.builder-detail-stat__icon {
  color: #2563eb;
  font-size: 1.1rem;
}

.builder-detail-stat__value {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.builder-detail-stat__label {
  color: #64748b;
  font-size: 0.78rem;
}

/* Builder detail — prominent project KPI strip */
.builder-detail-kpi-panel {
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 48%, #eef2ff 100%);
  border: 1px solid #bfdbfe;
  box-shadow:
    0 16px 40px rgba(37, 99, 235, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.builder-detail-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.builder-detail-kpi-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 0.9rem;
  min-height: 118px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.builder-detail-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.builder-detail-kpi-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  font-size: 1.15rem;
  color: #ffffff;
}

.builder-detail-kpi-card--towers .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.builder-detail-kpi-card--units .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}

.builder-detail-kpi-card--available .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.builder-detail-kpi-card--price .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.builder-detail-kpi-card--possession .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.builder-detail-kpi-card--rating .builder-detail-kpi-card__icon-wrap {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #422006;
}

.builder-detail-kpi-card__value {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.builder-detail-kpi-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  white-space: nowrap;
}

.builder-detail-kpi-meta__rera {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  text-decoration: none;
}

.builder-detail-kpi-meta__rera:hover {
  color: #14532d;
  background: #dcfce7;
}

@media (max-width: 1199.98px) {
  .builder-detail-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .builder-detail-kpi-panel {
    padding: 0.9rem;
  }

  .builder-detail-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .builder-detail-kpi-card {
    min-height: 104px;
    padding: 0.75rem 0.65rem;
  }

  .builder-detail-kpi-card__value {
    font-size: 1.25rem;
  }
}

.builder-section-heading {
  color: #0f172a;
}

.builder-media-tile {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.builder-media-tile__image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.builder-media-tile figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: #64748b;
}

.builder-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dbeafe;
  background: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.builder-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.builder-progress-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.builder-enquiry-card {
  border-radius: 18px;
}

/* —— Builder project details (premium, mirrors property detail) —— */
.builder-detail-page-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
}

.builder-detail-page-bg {
  position: relative;
  min-height: 100%;
  --builder-hero-image: none;
}

.builder-detail-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--builder-hero-image);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  filter: saturate(1.05) brightness(0.55);
}

.builder-detail-page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.91) 0%, rgba(248, 250, 252, 0.96) 35%, #f1f5f9 100%);
  pointer-events: none;
}

.builder-detail-page-inner {
  position: relative;
  z-index: 2;
}

.builder-detail-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.builder-detail-toolbar .btn-outline-secondary {
  border-radius: 999px;
  font-weight: 600;
}

.builder-detail-hero-card {
  border-radius: 20px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.builder-detail-hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #059669);
  z-index: 3;
}

.builder-detail-panel {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.builder-detail-panel .builder-section-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.builder-detail-collapse-toggle[aria-expanded="true"] .builder-detail-collapse-chevron {
  transform: rotate(180deg);
}

.builder-detail-collapse-chevron {
  transition: transform 0.2s ease;
  color: #64748b;
  font-size: 1.1rem;
}

.builder-inventory-table-wrap {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.builder-inventory-table thead {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.builder-inventory-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.builder-enquiry-card--premium {
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
}

.builder-enquiry-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.builder-enquiry-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #1d4ed8;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.builder-enquiry-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.builder-enquiry-card__subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.builder-enquiry-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: #334155;
}

.builder-enquiry-input-group .input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #2563eb;
}

.builder-enquiry-input-group .form-control {
  border-color: #cbd5e1;
}

.builder-enquiry-input-group .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.builder-enquiry-textarea {
  border-radius: 12px;
  border-color: #cbd5e1;
}

.builder-enquiry-submit {
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #059669 0%, #047857 45%, #065f46 100%);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.builder-enquiry-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.42);
}

.builder-enquiry-submit:disabled {
  opacity: 0.85;
}

.builder-enquiry-submit__content,
.builder-enquiry-submit__busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.builder-detail-alert {
  border-radius: 12px !important;
}

.builder-progress-card {
  border-color: #dbeafe !important;
}

@media (max-width: 767.98px) {
  .builder-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 20px;
  }

  .builder-dashboard-hero__actions {
    justify-content: flex-start;
    width: 100%;
  }

  .builder-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-dashboard-stat {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .builder-dashboard-project-card__media {
    height: 150px;
  }

  .builder-dashboard-project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-promo-row,
  .builder-subscription-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-compact-grid {
    grid-template-columns: 1fr;
  }

  .builder-compact-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .builder-compact-card__image {
    width: 74px;
    height: 74px;
  }

  .builder-compact-card__action {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-left: 0;
  }

  .builder-list-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .builder-list-hero .builder-list-stat {
    padding: 0.45rem 0.5rem;
  }

  .builder-list-hero .builder-list-stat__value {
    font-size: 1.05rem;
  }

  .builder-list-hero .builder-list-stat__label {
    font-size: 0.54rem;
    white-space: normal;
  }

  .builder-list-hero__title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
    max-width: none;
  }

  html[lang="mr"] .builder-list-hero__title {
    line-height: 1.22;
    letter-spacing: 0;
  }

  .builder-project-card__img {
    height: 168px !important;
  }

  .builder-detail-hero__image {
    height: 280px;
  }

  .builder-detail-hero__overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.86));
  }

  .essential-pay-btn {
    width: 100%;
    min-width: 0;
  }
}

.btn {
  border-radius: 10px;
}

/* —— Landing: full-bleed image banner (breaks out of .container) —— */
.landing-page-softbg {
  position: relative;
  isolation: isolate;
}

.landing-page-softbg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.94) 100%),
    url("/Images/hero-banner.jpg") center top / cover no-repeat;
  opacity: 0.2;
  filter: saturate(0.75) blur(1px);
}

.landing-hero-fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.landing-hero-banner {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.landing-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05) brightness(0.88);
  transform: scale(1.015);
  transition: opacity 0.65s ease, transform 8s ease;
}

.landing-hero-bg-img--fade {
  opacity: 0.15;
}

.landing-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 95% 65% at 15% 22%, rgba(201, 162, 39, 0.22), transparent 55%),
    linear-gradient(108deg, rgba(7, 15, 28, 0.9) 0%, rgba(15, 23, 42, 0.62) 42%, rgba(30, 58, 95, 0.4) 100%),
    linear-gradient(0deg, rgba(7, 15, 28, 0.65) 0%, rgba(7, 15, 28, 0.18) 45%, transparent 78%);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.landing-hero-panel {
  max-width: 52rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8c87a;
  margin-bottom: 0.35rem;
}

.landing-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.landing-hero-lead {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.78);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 0.4rem;
}

.landing-search-form {
  max-width: 100%;
}

.landing-hero-search-bar {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-hero-search-icon {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #e8c87a !important;
  padding-left: 1rem;
  padding-right: 0.75rem;
  font-size: 1.15rem;
}

.landing-hero-input {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  font-size: 0.9375rem;
}

.landing-hero-input::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.landing-hero-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(232, 200, 122, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 200, 122, 0.12) !important;
}

.landing-hero-search-btn {
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%);
  color: #1e293b !important;
  border: none;
  border-radius: 0 11px 11px 0;
}

.landing-hero-search-btn:hover {
  background: linear-gradient(135deg, #ddb83a 0%, #f0d48f 45%, #e0b44f 100%);
  color: #0f172a !important;
}

.landing-howto-rich {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.landing-howto-title {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

a.landing-howto-pill {
    cursor: pointer;
}

a.landing-howto-pill:hover {
    opacity: 0.9;
}

.builder-media-tile__open {
    cursor: zoom-in;
}

.builder-media-tile__open .builder-media-tile__image {
    transition: transform 0.2s ease;
}

.builder-media-tile__open:hover .builder-media-tile__image {
    transform: scale(1.02);
}

.landing-howto-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: #1d4ed8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-howto-list {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.landing-howto-footnote {
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.landing-hero-trust {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.landing-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c87a, #c9a227);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(232, 200, 122, 0.25);
}

.landing-hero-microcopy {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.52);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-value-strip {
  margin-top: 0.25rem;
}

.landing-value-card {
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-value-card:hover {
  border-color: rgba(30, 64, 175, 0.2);
  box-shadow: 0 14px 40px rgba(30, 64, 175, 0.08);
}

.landing-value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.landing-value-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.landing-bottom-suite {
  position: relative;
  border-radius: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f4f6f9 100%);
  border: 1px solid rgba(201, 151, 26, 0.16);
  box-shadow:
    0 20px 48px rgba(7, 11, 18, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.landing-bottom-suite::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 151, 26, 0.35) 12%,
    #f5b83d 50%,
    rgba(201, 151, 26, 0.35) 88%,
    transparent 100%
  );
}

.landing-bottom-suite-inner {
  position: relative;
  z-index: 1;
}

.landing-bottom-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a67c14;
  padding: 0.28rem 0.65rem;
  border-radius: 0;
  background: rgba(245, 184, 61, 0.12);
  border: 1px solid rgba(201, 151, 26, 0.28);
}

.landing-bottom-eyebrow--actions {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.22);
}

.landing-bottom-heading {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a0e1a;
}

.landing-bottom-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #5c6d7e;
  max-width: 44rem;
}

.landing-bottom-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.landing-bottom-lead {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1rem;
}

.landing-about-panel {
  border-radius: 0;
  padding: 1.35rem 1.35rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.landing-about-ai-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(201, 151, 26, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.landing-about-ai-banner__badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #1a1208;
  background: linear-gradient(135deg, #f7c14a 0%, #e8a82e 52%, #c9971a 100%);
  border: 1px solid rgba(166, 124, 20, 0.35);
}

.landing-about-ai-banner__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0e1a;
  margin-bottom: 0.2rem;
}

.landing-about-ai-banner__text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5c6d7e;
}

.landing-about-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing-about-features--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .landing-about-features--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.landing-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0 !important;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  min-height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.landing-about-feature:hover {
  border-color: rgba(201, 151, 26, 0.35);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.landing-about-feature--ai {
  background: linear-gradient(180deg, #fffdf8 0%, #fafbfc 100%);
  border-color: rgba(201, 151, 26, 0.2);
}

.landing-about-feature__icon {
  position: relative;
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a0e1a 0%, #1a2438 100%);
  border: 1px solid rgba(245, 184, 61, 0.35);
  color: #f5b83d;
  perspective: 520px;
  transform-style: preserve-3d;
  transform-origin: center center;
  line-height: 0;
  overflow: visible;
}

.landing-about-feature__icon > i {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 !important;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1 !important;
  color: #f5b83d !important;
  vertical-align: middle;
}

.landing-about-feature__icon > i::before {
  display: block;
  line-height: 1;
  width: 1em;
  height: 1em;
}

.landing-about-feature__icon.is-flipping {
  animation: landing-about-icon-flip 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}

@keyframes landing-about-icon-flip {
  0% {
    transform: rotateY(0deg);
  }

  45% {
    transform: rotateY(-180deg);
  }

  55% {
    transform: rotateY(-180deg);
  }

  100% {
    transform: rotateY(-360deg);
  }
}

.landing-about-feature__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(135deg, #f7c14a, #e8a82e);
  padding: 0.1rem 0.35rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  border-radius: 0 !important;
}

.landing-about-feature strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.landing-about-feature span:not(.landing-about-feature__tag) {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.landing-contact-card {
  border-radius: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.landing-contact-card--premium {
  padding: 1.35rem 1.45rem;
  background: linear-gradient(160deg, #0a0e1a 0%, #121a2a 48%, #1a1208 100%);
  border: 1px solid rgba(245, 184, 61, 0.22);
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  color: #fff;
  gap: 0;
}

.landing-contact-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 184, 61, 0.18);
}

.landing-contact-card--premium .landing-bottom-subheading {
  color: #fff;
}

.landing-contact-card__badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #1a1208;
  background: linear-gradient(135deg, #f7c14a 0%, #e8a82e 100%);
  border: 1px solid rgba(253, 230, 138, 0.4);
}

.landing-contact-card__badge > i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.2rem;
  color: #1a1208;
}

.landing-contact-card__hint {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.7);
}

.landing-contact-list--rich {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0 !important;
}

.landing-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-contact-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #f5b83d;
  background: rgba(245, 184, 61, 0.12);
  border: 1px solid rgba(245, 184, 61, 0.22);
  line-height: 0;
}

.landing-contact-item__icon > i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: #f5b83d;
}

.landing-contact-list li + li {
  margin-top: 0;
}

.landing-contact-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

/* Feature pointers fill remaining height of contact card */
.landing-contact-pointers {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 184, 61, 0.16);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-contact-pointers__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5b83d;
}

.landing-contact-pointers__title i {
  font-size: 1rem;
}

.landing-contact-pointers__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.landing-contact-pointers__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.86);
}

.landing-contact-pointers__dot {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 184, 61, 0.12);
  border: 1px solid rgba(245, 184, 61, 0.28);
  color: #f5b83d;
  font-size: 0.72rem;
  line-height: 0;
}

.landing-contact-pointers__dot > i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #f5b83d;
}

.landing-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.95rem;
}

.landing-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #fde68a;
  background: rgba(245, 184, 61, 0.1);
  border: 1px solid rgba(245, 184, 61, 0.28);
  white-space: nowrap;
}

.landing-contact-chip i {
  font-size: 0.75rem;
  color: #f5b83d;
}

.landing-contact-ai-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(245, 184, 61, 0.16);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.78);
}

.landing-contact-ai-note i {
  color: #f5b83d;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .landing-about-feature__icon.is-flipping {
    animation: none !important;
  }
}

.landing-contact-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fde68a;
  text-decoration: none;
  word-break: break-word;
}

.landing-contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

.landing-contact-static {
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 500;
}

.landing-bottom-actions-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.landing-bottom-link-pill {
  border-radius: 999px;
  font-weight: 600;
  color: #1d4ed8 !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.4rem 0.9rem;
}

.landing-bottom-link-pill:hover {
  background: #dbeafe;
  color: #1e40af !important;
}

.landing-cta-card {
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.landing-cta-card--premium {
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-cta-card--premium:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.12);
}

.landing-cta-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.landing-cta-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.landing-cta-icon-wrap--blue {
  color: #1d4ed8;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid #bfdbfe;
}

.landing-cta-icon-wrap--teal {
  color: #047857;
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  border: 1px solid #a7f3d0;
}

.landing-cta-step {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.landing-cta-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.landing-cta-icon .bi {
  font-size: 1.35rem;
  color: #2563eb;
}

.landing-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.landing-cta-text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #64748b;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.landing-cta-footnote {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}

.landing-cta-footnote a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.landing-cta-footnote a:hover {
  text-decoration: underline;
}

.landing-cta-btn-primary {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border: none;
  color: #fff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.landing-cta-btn-primary:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.landing-cta-btn {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%);
  color: #1e293b !important;
  border: 1px solid rgba(30, 41, 59, 0.1);
}

.landing-cta-btn:hover {
  filter: brightness(1.05);
  color: #0f172a !important;
}

.landing-cta-btn-outline {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(29, 78, 216, 0.35);
  color: #1d4ed8 !important;
  background: rgba(239, 246, 255, 0.85);
}

.landing-cta-btn-outline:hover {
  background: rgba(219, 234, 254, 0.95);
  color: #1e40af !important;
}

.landing-cta-btn-ghost {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #334155 !important;
  background: rgba(248, 250, 252, 0.9);
}

.landing-cta-btn-ghost:hover {
  background: #f1f5f9;
  color: #0f172a !important;
}

/* —— Property search page (background only — same soft treatment as landing) —— */
.property-search-page.landing-page-softbg {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 2.5rem;
  min-height: calc(100vh - 5rem);
}

.property-search-page.landing-page-softbg::before {
  opacity: 0.16;
  filter: saturate(0.82) blur(4px);
}

.property-search-page.landing-page-softbg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.9) 38%, rgba(241, 245, 249, 0.94) 100%);
}

.property-search-page {
  padding-top: 0;
}

.portal-search-hero--compact {
  position: sticky;
  top: 3.45rem;
  z-index: 1018;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.65rem !important;
  padding: 0.4rem 0.6rem 0.45rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

@media (min-width: 576px) {
  .portal-search-hero--compact {
    margin-left: 0;
    margin-right: 0;
    padding: 0.45rem 0.85rem 0.5rem;
    border-radius: 10px;
  }

}

.portal-search-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .portal-search-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

.portal-breadcrumb {
  --bs-breadcrumb-divider: "›";
  font-size: 0.8125rem;
}

.portal-breadcrumb--compact {
  font-size: 0.6875rem;
  line-height: 1.2;
  padding: 0.15rem 0;
}

.portal-breadcrumb--compact .breadcrumb-item {
  padding-top: 0;
  padding-bottom: 0;
}

.portal-breadcrumb-link {
  color: #0d9488;
  font-weight: 600;
}

.portal-breadcrumb-link:hover {
  color: #0f766e;
}

.portal-search-input-shell {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #fff;
  min-height: 2.25rem;
}

.portal-search-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  flex-shrink: 0;
  background: #f8fafc;
  color: #0d9488;
  font-size: 1rem;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.portal-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  box-shadow: none !important;
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
  line-height: 1.35;
  min-height: 0;
}

.portal-search-input:focus {
  box-shadow: none !important;
}

.portal-search-input-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.portal-search-input-clear:hover,
.portal-search-input-clear:focus-visible {
  color: #64748b;
}

.portal-search-input-clear[hidden] {
  display: none;
}

.portal-search-input-shell--pro {
  position: relative;
  overflow: visible;
}

.portal-search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1200;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  max-height: 280px;
  overflow-y: auto;
}

.portal-search-suggestions__item {
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  color: #1e293b;
  cursor: pointer;
}

.portal-search-suggestions__item.property-search-suggestions__item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 0.65rem;
  animation: propertySuggestIn 0.32s ease both;
  animation-delay: var(--suggest-delay, 0s);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.portal-search-suggestions__item:hover,
.portal-search-suggestions__item.is-active,
.portal-search-suggestions__item.property-search-suggestions__item:hover,
.portal-search-suggestions__item.property-search-suggestions__item.is-active {
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  transform: translateX(2px);
}

/* Rich Google Places suggestions (landing + search) */
.property-search-suggestions__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem 0.35rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  pointer-events: none;
}

.property-search-suggestions__header-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(184, 137, 90, 0.2));
  color: #0f766e;
}

.property-search-suggestions__header-pill {
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.62rem;
  font-weight: 800;
  color: #475569;
}

.property-search-suggestions__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.12), rgba(15, 23, 42, 0.04));
  color: #0f766e;
  font-size: 0.95rem;
}

.property-search-suggestions__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.1rem;
}

.property-search-suggestions__main {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: inherit;
  text-align: left;
  width: 100%;
}

.property-search-suggestions__secondary {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  width: 100%;
}

.property-search-suggestions__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem 0.45rem;
  margin-top: 0.15rem;
  width: 100%;
}

.property-search-suggestions__meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 100%;
}

.property-search-suggestions__meta-chip .bi {
  font-size: 0.72rem;
  color: #0f766e;
  flex-shrink: 0;
}

.property-search-suggestions__meta-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-search-suggestions__tag {
  flex-shrink: 0;
  margin-top: 0.1rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(184, 137, 90, 0.14);
  color: #8b5e34;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-search-suggestions__mark {
  padding: 0 0.1rem;
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.45);
  color: inherit;
}

.property-search-suggestions__status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.84rem;
  color: #64748b;
}

.property-search-suggestions__status--empty {
  color: #94a3b8;
}

.property-search-suggestions__spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.2);
  border-top-color: #0f766e;
  animation: propertySuggestSpin 0.7s linear infinite;
}

.property-search-suggestions.is-loading .property-search-suggestions__header {
  opacity: 0.85;
}

@keyframes propertySuggestIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes propertySuggestSpin {
  to {
    transform: rotate(360deg);
  }
}

.portal-search-page .pac-container,
.portal-search-hero .pac-container {
  display: none !important;
}

.pac-container {
  z-index: 1100;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.portal-search-submit {
  border: none;
  border-radius: 0 !important;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  color: #fff !important;
  padding: 0.35rem 0.85rem;
  white-space: nowrap;
}

.portal-search-submit:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.property-search-results {
  /* Lift results toward top of viewport */
  margin-top: 0;
}

/* Filter sidebar */
.portal-filter-card {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  /* Below sticky nav + compact search bar */
  top: 6rem;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.portal-filter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem 0.65rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 3px solid #0d9488;
  background: linear-gradient(90deg, rgba(240, 253, 250, 0.5) 0%, #ffffff 100%);
}

.portal-filter-head-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d9488, #0f766e);
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.portal-filter-head-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.portal-filter-head-sub {
  font-size: 0.72rem;
  line-height: 1.25;
}

.portal-filter-reset {
  font-size: 0.74rem !important;
  font-weight: 600;
  color: #64748b !important;
}

.portal-filter-reset:hover {
  color: #0d9488 !important;
}

.portal-filter-section {
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.portal-filter-section--last {
  border-bottom: none;
}

.portal-filter-label {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.portal-filter-label-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0d9488;
  font-size: 0.82rem;
}

.portal-filter-help {
  margin-top: -0.05rem;
  margin-bottom: 0.35rem !important;
  font-size: 0.68rem;
}

.portal-bhk-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portal-bhk-grid .portal-bhk-item {
  flex: 0 0 auto;
}

@media (min-width: 1200px) {
  .portal-bhk-grid {
    gap: 0.5rem;
  }
}

.portal-bhk-label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  padding: 0.375rem 0.75rem !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.portal-bhk-label:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.portal-bhk-item .btn-check:checked + .portal-bhk-label {
  background: rgba(13, 148, 136, 0.12) !important;
  border-color: #0d9488 !important;
  color: #0f766e !important;
  font-weight: 700 !important;
}

.portal-select-wrap {
  position: relative;
}

.portal-select-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0d9488;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.portal-select {
  padding-left: 2.35rem;
  border-radius: 8px;
  border-color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: calc(1.5em + 0.55rem + 2px);
}

.portal-select:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
}

.portal-range-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.18rem;
}

.portal-input-group .input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
  font-size: 0.78rem;
  padding: 0.28rem 0.5rem;
}

.portal-input-group .form-control {
  border-color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.28rem 0.45rem;
}

.portal-input-group .form-control:focus {
  border-color: #0d9488;
  box-shadow: none;
}

.portal-filter-actions {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  margin-top: 0.15rem;
  padding-top: 0.72rem !important;
}

.portal-btn-apply {
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  color: #fff !important;
}

.portal-btn-apply:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.portal-btn-secondary {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45rem 0.8rem;
}

/* Results strip — compact so listings dominate the viewport */
.portal-results-section {
  padding-top: 0.1rem;
}

.portal-results-section .row.g-3 {
  --bs-gutter-x: 0.8rem;
  --bs-gutter-y: 0.8rem;
}

.portal-results-header .card-body {
  padding: 0.55rem 1rem;
}

.portal-results-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.portal-results-pill {
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.portal-page-size-form {
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.portal-page-size-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.portal-page-size-select-wrap {
  position: relative;
}

.portal-page-size-select {
  min-width: 4.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding-right: 1.8rem;
}

.portal-page-size-select:focus {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(13, 148, 136, 0.14);
}

.portal-empty-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #94a3b8;
}

/* Listing cards on search page */
.portal-listing-card {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
}

.portal-listing-card .card-body {
  padding: 0.75rem 0.8rem 0.7rem !important;
}

.portal-listing-card .property-card-media {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.portal-listing-card .property-card-img {
  height: 168px;
  object-fit: cover;
}

.portal-listing-card .property-card-title {
  font-size: 0.9rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem !important;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-listing-desc {
  line-height: 1.35;
  font-size: 0.76rem;
  margin-bottom: 0.55rem !important;
  color: #64748b !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-pill-bhk {
  font-weight: 600;
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

.portal-badge-new {
  position: absolute;
  top: 0.85rem;
  left: -2.15rem;
  z-index: 2;
  width: 6.5rem;
  padding: 0.22rem 0;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #15803d 0%, #4ade80 55%, #22c55e 100%);
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.55);
  transform: rotate(-45deg);
  transform-origin: center;
  pointer-events: none;
}

.portal-badge-negotiable {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

.portal-tenant-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.portal-tenant-chip--pg {
  background: #fdf4ff;
  color: #7e22ce;
  border-color: #e9d5ff;
}

.portal-listing-card--has-alt .property-card-media {
  background: #0f172a;
  min-height: 168px;
}

.portal-listing-card--has-alt .property-card-img--primary,
.portal-listing-card--has-alt .property-card-img--alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 168px;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.portal-listing-card--has-alt .property-card-img--alt {
  opacity: 0;
}

.portal-listing-card--has-alt:hover .property-card-img--primary {
  opacity: 0;
}

.portal-listing-card--has-alt:hover .property-card-img--alt {
  opacity: 1;
}

.detail-badge-negotiable {
  background: #dbeafe !important;
  color: #1e40af !important;
  font-weight: 600;
}

.detail-stat-tile[disabled] {
  opacity: 0.65;
  cursor: default;
}

.detail-page-inner > .container,
.detail-page-container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

main:has(.detail-page-breakout) {
  padding-top: 0;
}

.detail-page-container {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

.property-search-page > .container,
.property-search-page .container-lg {
  max-width: none;
}

.portal-listing-footer--no-rating {
  justify-content: flex-end !important;
}

.portal-listing-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 0.55rem;
  margin-bottom: 0.55rem !important;
}

.portal-fact-line {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #475569;
  font-size: 0.74rem;
  min-width: 0;
  line-height: 1.3;
}

.portal-fact-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-fact-line i {
  margin-top: 0;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.portal-listing-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.45rem !important;
}

.portal-lock-note {
  font-size: 0.72rem !important;
  line-height: 1.35;
}

.portal-rating-pill {
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem !important;
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.property-card-cta {
  font-size: 0.75rem !important;
}

.property-card-cta-arrow-icon {
  font-size: 1rem;
  line-height: 1;
  vertical-align: -0.15em;
  transition: transform 0.2s ease;
}

.property-card-link:hover .property-card-cta-arrow-icon {
  transform: translateX(4px);
}

.portal-pagination-bar {
  margin-top: 0.95rem !important;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.portal-pagination-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.portal-pagination-page-pill,
.portal-pagination-count-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
}

.portal-pagination-page-pill {
  color: #0f172a;
  background: #ffffff;
}

.portal-pagination-count-pill {
  color: #334155;
  background: #f8fafc;
}

.portal-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.portal-page-nav-btn {
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
}

.portal-page-nav-btn:disabled {
  opacity: 0.52;
}

@media (max-width: 575.98px) {
  .portal-results-section .row.g-3 {
    --bs-gutter-y: 0.6rem;
  }

  .portal-listing-card .property-card-img {
    height: 152px;
  }

  .portal-listing-card .card-body {
    padding: 0.66rem 0.68rem 0.62rem !important;
  }

  .portal-listing-facts {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .portal-listing-desc {
    -webkit-line-clamp: 1;
  }

  .portal-search-hero--compact {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    top: 3.35rem;
  }

  .portal-search-input {
    font-size: 0.85rem;
    min-width: 0;
  }

  .portal-search-submit {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-size: 0.8rem;
  }

  .portal-page-size-form {
    padding: 0.2rem 0.35rem;
  }

  .portal-page-size-label {
    font-size: 0.68rem;
  }

  .portal-page-size-select {
    min-width: 3.95rem;
    font-size: 0.76rem;
  }

  .portal-filter-card {
    top: 5.5rem;
  }

  .portal-pagination-bar {
    padding: 0.6rem 0.65rem;
  }

  .portal-pagination-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* —— Legacy filter class (sticky offset) —— */
.property-search-filters {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  top: 4.5rem;
  z-index: 1000;
}

.property-search-filters .card-header {
  border-radius: 16px 16px 0 0 !important;
}

.property-search-filters .form-check-label {
  font-size: 0.9rem;
}

/* —— Property details (portal-style) —— */
.detail-page-breakout {
  width: 100%;
  position: relative;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
}

.detail-page-bg {
  position: relative;
  min-height: 100%;
  --detail-hero-image: none;
}

.detail-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--detail-hero-image);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  filter: saturate(1.05) brightness(0.55);
}

.detail-page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.91) 0%, rgba(248, 250, 252, 0.96) 35%, #f1f5f9 100%);
  pointer-events: none;
}

.detail-page-inner {
  position: relative;
  z-index: 2;
}

.detail-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.detail-hero-card {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.detail-price-lg {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.detail-title {
  color: #0f172a;
}

.detail-rera-banner {
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.detail-tabs .nav-link {
  color: #64748b;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.65rem 1rem;
}

.detail-tabs .nav-link:hover {
  color: #2563eb;
}

.detail-tabs .nav-link.active {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
  background: transparent;
}

.detail-tab-panels {
  border-color: #e2e8f0 !important;
  border-radius: 0 0 12px 12px !important;
}

.detail-spec-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.detail-spec-grid .detail-spec-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.detail-spec-grid .detail-spec-row:last-child {
  border-bottom: none;
}

.detail-spec-grid dt {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.detail-spec-grid dd {
  margin: 0;
  color: #0f172a;
}

.detail-place-pill {
  background: #eff6ff !important;
  color: #1e40af !important;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid #bfdbfe;
}

.detail-highlights {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.detail-check-item {
  font-size: 0.875rem;
  color: #1e3a5f;
}

.detail-furn-yes {
  color: #166534;
}

.detail-furn-no {
  color: #94a3b8;
}

.detail-feature-cell {
  padding: 0.35rem 0;
  color: #334155;
}

.detail-mini-stat {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}

.detail-actions {
  border-radius: 14px !important;
}

/* —— Property details (premium UI refresh) —— */
.detail-breadcrumb-pill {
  background: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.detail-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.1) !important;
}

.detail-hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #0d9488 0%, #2563eb 55%, #c9a227 100%);
  border-radius: 16px 0 0 16px;
}

.detail-price-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.detail-price-lg--rent {
  color: #0f766e !important;
}

.detail-emi-note {
  color: #475569;
  border-left: 3px solid #c9a227;
  padding-left: 0.65rem;
  margin-top: 0.5rem !important;
}

.detail-page-h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.25;
}

.detail-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 500;
  color: #0f172a;
  line-height: 1.45;
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
  border: 1px solid #bae6fd;
}

.detail-address .bi {
  color: #0891b2;
  font-size: 1.1rem;
  margin-top: 0.05rem;
}

.detail-badge-bhk {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600;
  border: 1px solid #e2e8f0 !important;
}

.detail-badge-soft {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
  font-weight: 600;
}

.detail-badge-possession {
  background: linear-gradient(135deg, #ccfbf1, #d1fae5) !important;
  color: #134e4a !important;
  border: 1px solid #5eead4 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.45em 0.85em !important;
}

.detail-possession-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #134e4a;
  background: linear-gradient(135deg, #ccfbf1, #d1fae5);
  border: 1px solid #5eead4;
}

.listing-location-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0c4a6e;
  background: linear-gradient(135deg, #e0f2fe, #ecfeff);
  border: 1px solid #7dd3fc;
  line-height: 1.3;
  max-width: 100%;
}

.listing-location-highlight .bi {
  color: #0891b2;
  flex-shrink: 0;
}

.listing-location-highlight--on-dark {
  background: rgba(8, 14, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.listing-location-highlight--on-dark .bi {
  color: #67e8f9;
}

.listing-address-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.45;
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
  border: 1px solid #bae6fd;
}

.listing-address-highlight .bi,
.listing-address-highlight__icon {
  flex-shrink: 0;
  color: #0891b2;
  font-size: 1.05rem;
  margin-top: 0.05rem;
}

.listing-address-highlight--compact {
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 10px;
}

.listing-address-highlight--compact .bi,
.listing-address-highlight--compact .listing-address-highlight__icon {
  font-size: 0.92rem;
}

.listing-address-highlight--on-dark {
  background: rgba(8, 14, 28, 0.55);
  border-color: rgba(186, 230, 253, 0.35);
  color: #f8fafc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.listing-address-highlight--on-dark .bi,
.listing-address-highlight--on-dark .listing-address-highlight__icon {
  color: #67e8f9;
}

.listing-address-highlight__text {
  min-width: 0;
  word-break: break-word;
}

.listing-possession-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #134e4a;
  background: linear-gradient(135deg, #ccfbf1, #d1fae5);
  border: 1px solid #5eead4;
  line-height: 1.3;
}

.listing-possession-badge .bi {
  color: #0d9488;
  flex-shrink: 0;
}

.listing-possession-badge__label {
  font-weight: 600;
  color: #0d9488;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.listing-possession-badge__value {
  font-weight: 800;
  color: #134e4a;
  white-space: nowrap;
  flex-shrink: 0;
}

.listing-possession-badge.is-pending {
  color: #92400e;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fbbf24;
}

.listing-possession-badge.is-pending .bi,
.listing-possession-badge.is-pending .listing-possession-badge__label {
  color: #b45309;
}

.listing-possession-badge.is-pending .listing-possession-badge__value {
  color: #92400e;
}

.listing-possession-badge--on-dark {
  background: rgba(6, 27, 26, 0.6);
  border-color: rgba(94, 234, 212, 0.45);
  color: #ecfdf5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.listing-possession-badge--on-dark .bi,
.listing-possession-badge--on-dark .listing-possession-badge__label {
  color: #99f6e4;
}

.listing-possession-badge--on-dark .listing-possession-badge__value {
  color: #fff;
}

.listing-highlights-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.detail-quick-stats {
  margin-left: -0.15rem;
  margin-right: -0.15rem;
}

.detail-stat-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.detail-stat-tile--wide .detail-stat-value {
  display: block;
  font-size: 0.9rem;
}

.detail-stat-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.detail-stat-value {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-stat-label {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

.detail-rera-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-weight: 500;
}

.detail-tabs--premium {
  border: none !important;
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-tabs--premium::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.detail-tabs--premium .nav-link {
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: -1px;
  white-space: nowrap;
}

.detail-tab-panels--premium {
  border-radius: 0 14px 14px 14px !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06) !important;
  overflow: visible;
  max-height: none;
}

.detail-overview-pane,
.detail-overview-pane > .row,
.detail-overview-pane .col-lg-5,
.detail-overview-pane .col-lg-7 {
  overflow: visible;
  max-height: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-tab-panels--premium::-webkit-scrollbar,
.detail-overview-pane::-webkit-scrollbar,
.detail-overview-pane ::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.detail-about-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.detail-about-text {
  color: #334155;
  line-height: 1.65;
}

.detail-gallery-card {
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.detail-gallery-main-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.detail-gallery-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.72) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.detail-gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 480px);
  background: #0f172a;
}

.detail-gallery-main-wrap .detail-main-image {
  border-radius: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(52vh, 480px);
  object-fit: cover;
}

.detail-gallery-stage .detail-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.48s ease,
    transform 0.48s ease;
  pointer-events: none;
}

.detail-gallery-stage .detail-main-image.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
  pointer-events: auto;
}

.detail-gallery-stage .detail-main-image.is-leaving {
  opacity: 0;
  transform: scale(1.02);
}

.detail-gallery-stage .detail-main-image.is-entering.is-slide-next {
  transform: translateX(1.25rem) scale(1.02);
}

.detail-gallery-stage .detail-main-image.is-entering.is-slide-prev {
  transform: translateX(-1.25rem) scale(1.02);
}

.detail-gallery-stage .detail-main-image.is-visible.is-entering {
  transform: translateX(0) scale(1);
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.detail-gallery-nav:hover {
  background: rgba(13, 148, 136, 0.88);
  transform: translateY(-50%) scale(1.06);
}

.detail-gallery-nav--prev {
  left: 0.65rem;
}

.detail-gallery-nav--next {
  right: 0.65rem;
}

.detail-gallery-position {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  background: rgba(15, 23, 42, 0.72) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem !important;
  border-radius: 999px;
}

.detail-thumb-btn {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 8px;
  line-height: 0;
}

.detail-thumb-btn.is-active .detail-thumb {
  border-color: #0d9488;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.35);
}

.detail-thumb {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  opacity: 0.92;
}

.detail-thumb:hover {
  border-color: #0d9488;
  opacity: 1;
  transform: translateY(-2px);
}

.detail-section-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.detail-alert {
  border-radius: 12px !important;
}

.detail-actions-head {
  background: linear-gradient(120deg, #0f172a 0%, #1e3a5f 45%, #1d4ed8 100%);
}

.detail-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: 0.65rem;
}

.detail-cta-grid .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.62rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.2;
  min-height: 2.75rem;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.detail-cta-grid .btn > .bi {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  width: 1.2rem;
  text-align: center;
}

.detail-cta-grid .btn > span {
  min-width: 0;
}

.detail-btn-cta {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

.detail-btn-cta--success {
  background: linear-gradient(180deg, #059669, #047857) !important;
  border: none !important;
  color: #fff !important;
  grid-column: span 1;
}

.detail-btn-cta--primary {
  background: linear-gradient(180deg, #4f46e5, #4338ca) !important;
  border: none !important;
  color: #fff !important;
}

.detail-btn-cta--warning {
  background: #fff !important;
  border: 1px solid #f59e0b !important;
  color: #92400e !important;
}

.detail-btn-cta--outline {
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  background: #f8fafc !important;
}

.detail-btn-cta--dark {
  background: #1e293b !important;
  border: none !important;
  color: #fff !important;
}

.detail-btn-cta:disabled,
.detail-btn-cta.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.35);
  box-shadow: none;
}

.detail-btn-cta:hover {
  filter: brightness(1.06);
  color: inherit;
}

.detail-visit-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem 1.1rem;
}

.detail-visit-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.detail-visit-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e2e8f0;
  color: #0f172a;
  flex-shrink: 0;
}

.detail-visit-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.detail-visit-card__badge {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.detail-visit-status--pending .detail-visit-card__badge {
  background: #fef3c7;
  color: #92400e;
}

.detail-visit-status--approved .detail-visit-card__badge {
  background: #dcfce7;
  color: #166534;
}

.detail-visit-status--declined .detail-visit-card__badge {
  background: #e2e8f0;
  color: #475569;
}

.detail-visit-status--pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.detail-visit-status--approved {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.detail-visit-status--declined {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.detail-visit-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin: 0 0 0.85rem;
}

.detail-visit-card__meta dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.detail-visit-card__meta dd {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-visit-card__wide {
  grid-column: 1 / -1;
}

.detail-visit-card__owner-note dd {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.detail-visit-card__action {
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
}

@media (max-width: 575.98px) {
  .detail-visit-card__meta {
    grid-template-columns: 1fr;
  }
}

.detail-rating-card {
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.detail-rating-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.35rem 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.22), transparent 42%),
    linear-gradient(120deg, #0f172a 0%, #1e3a5f 48%, #1d4ed8 100%);
  color: #fff;
}

.detail-rating-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.detail-rating-card__title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.detail-rating-card__lead {
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.detail-rating-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.7rem;
  max-width: 38rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.28);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.detail-rating-disclaimer .bi {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #7dd3fc;
}

.detail-rating-summary {
  min-width: 9.5rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  text-align: center;
}

.detail-rating-summary__score {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fde68a;
}

.detail-rating-summary__stars {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  margin: 0.45rem 0 0.35rem;
}

.detail-rating-summary__star {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
}

.detail-rating-summary__star.is-filled,
.detail-rating-summary__star.is-half {
  color: #fbbf24;
}

.detail-rating-summary__meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.detail-rating-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.detail-rating-form {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}

.detail-rating-form__block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.detail-rating-form__block--grow {
  min-width: 0;
}

.detail-rating-form__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.detail-star-picker {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffbeb, #ffffff);
  border: 1px solid #fde68a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.detail-star-picker__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.detail-star-picker__btn:hover,
.detail-star-picker__btn.is-active {
  color: #f59e0b;
  background: rgba(251, 191, 36, 0.14);
  transform: translateY(-1px);
}

.detail-star-picker__btn.is-active {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.18);
}

.detail-star-picker__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.detail-rating-form__hint {
  font-size: 0.84rem;
  color: #64748b;
}

.detail-rating-form__hint strong {
  color: #b45309;
}

.detail-rating-form__textarea {
  min-height: 6.5rem;
  resize: vertical;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.detail-rating-form__textarea:focus {
  background: #fff;
  border-color: #93c5fd !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.detail-rating-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.detail-rating-form__counter {
  font-size: 0.78rem;
  color: #94a3b8;
}

.detail-rating-form__submit {
  border: none;
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.detail-rating-form__submit:hover {
  color: #fff !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.32);
}

.detail-rating-card--saved {
  border: 2px solid #22c55e !important;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.14),
    0 18px 40px rgba(34, 197, 94, 0.16) !important;
}

.detail-rating-success {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 2px solid #22c55e;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.12);
  animation: detail-rating-success-in 0.45s ease-out;
}

.detail-rating-success--dismissed {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.35s ease,
    margin 0.35s ease,
    padding 0.35s ease,
    border-width 0.35s ease;
}

.detail-rating-success__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.detail-rating-success__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.detail-rating-success__title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #14532d;
  letter-spacing: -0.02em;
}

.detail-rating-success__detail {
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.45;
}

.detail-rating-form__feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.detail-rating-form__feedback--success {
  color: #166534;
  background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
  border: 1px solid #86efac;
}

.detail-rating-form__feedback--error {
  color: #991b1b;
  background: linear-gradient(180deg, #fef2f2, #fff1f2);
  border: 1px solid #fca5a5;
}

.detail-rating-form__feedback--info {
  color: #155e75;
  background: linear-gradient(180deg, #ecfeff, #f0f9ff);
  border: 1px solid #a5f3fc;
}

.detail-rating-form__submit--saved {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%) !important;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.32) !important;
}

.detail-rating-form__submit--saved:hover {
  filter: brightness(1.03);
  transform: none;
}

@keyframes detail-rating-success-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-rating-success {
    animation: none;
  }

  .detail-rating-success--dismissed {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .detail-rating-card__head {
    padding: 1.15rem 1.1rem;
  }

  .detail-rating-summary {
    width: 100%;
  }

  .detail-rating-card__body {
    padding: 1.1rem;
  }

  .detail-rating-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-rating-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-rating-form__submit {
    width: 100%;
  }
}

/* —— Login (property / Thane theme) —— */
.login-page-root {
  padding-bottom: 1.5rem;
  overflow-x: clip;
  max-width: 100%;
}

.login-page-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  margin-left: 0;
  margin-right: 0;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: stretch;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 20, 40, 0.14);
}

.login-hero-side {
  flex: 1.15;
  min-height: 520px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.login-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.login-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: loginHeroSlide 12s ease-in-out infinite;
}

/* Slide A: optional photo + navy overlay (fallback if image missing) */
.login-hero-slide--1 {
  background-image:
    linear-gradient(145deg, rgba(12, 25, 48, 0.88), rgba(30, 64, 120, 0.55)),
    url("/Images/hero-banner.jpg");
  background-color: #0c1829;
}

.login-hero-slide--2 {
  background-image: linear-gradient(160deg, #0f2847 0%, #1a4d6e 48%, #0c4c6e 100%);
  animation-delay: -4s;
}

.login-hero-slide--3 {
  background-image: linear-gradient(155deg, #1c1917 0%, #334155 42%, #0e7490 100%);
  animation-delay: -8s;
}

@keyframes loginHeroSlide {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }
  6% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  38% {
    opacity: 0;
    transform: scale(1.03);
  }
  100% {
    opacity: 0;
  }
}

.login-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 15% 25%, rgba(201, 162, 39, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.2) 0%, rgba(7, 15, 28, 0.88) 100%);
}

.login-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 2rem 2.25rem;
  max-width: 620px;
  width: 100%;
  color: #f8fafc;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
}

.login-hero-coverage {
  width: 100%;
  max-width: 100%;
  margin-top: 1.35rem;
  animation: loginFadeUp 0.9s ease-out 0.34s both;
}

.login-hero-coverage__head {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 0.15rem;
}

.login-hero-coverage__line {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fcd34d, #0d9488, transparent);
  background-size: 200% 100%;
  animation: loginCoverageLineShine 3.2s ease-in-out infinite;
}

.login-hero-coverage__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fde68a;
}

.login-hero-coverage__title .bi {
  font-size: 0.88rem;
  color: #fcd34d;
}

.login-hero-coverage__subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.72);
}

.login-hero-coverage__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  height: 9.5rem;
  overflow: hidden;
  border-radius: 14px;
  padding: 0.55rem 0.5rem;
  background: rgba(7, 15, 28, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.login-hero-coverage__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(252, 211, 77, 0.85),
    transparent
  );
  opacity: 0.65;
  animation: loginCoverageScan 4.5s ease-in-out infinite;
}

.login-hero-coverage__column {
  overflow: hidden;
  min-width: 0;
}

.login-hero-coverage__track {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  will-change: transform;
}

.login-hero-coverage__column--a .login-hero-coverage__track {
  animation: loginCoverageScrollDown 38s linear infinite;
}

.login-hero-coverage__column--b .login-hero-coverage__track {
  animation: loginCoverageScrollDown 46s linear infinite reverse;
}

.login-hero-coverage__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-hero-coverage__chip .bi {
  flex-shrink: 0;
  font-size: 0.68rem;
  color: #fcd34d;
}

@keyframes loginCoverageLineShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes loginCoverageScan {
  0% {
    top: 0;
    opacity: 0;
  }
  8% {
    opacity: 0.7;
  }
  92% {
    opacity: 0.7;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes loginCoverageScrollDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-hero-coverage__track,
  .login-hero-coverage__scan,
  .login-hero-coverage__line {
    animation: none;
  }
}

.login-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  animation: loginFadeUp 0.75s ease-out both;
}

.login-hero-badge-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(145deg, #e8c96b, #c9a227);
  color: #0c1829;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.login-hero-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.login-hero-title {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  animation: loginFadeUp 0.78s ease-out 0.08s both;
}

.login-hero-accent {
  color: #fcd34d;
  text-shadow: 0 2px 28px rgba(252, 211, 77, 0.35);
}

.login-hero-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  animation: loginFadeUp 0.78s ease-out 0.14s both;
}

.login-hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  animation: loginFadeUp 0.78s ease-out 0.2s both;
}

.login-hero-features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.login-hero-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-hero-icon .bi {
  font-size: 1.05rem;
  color: #fde68a;
}

.login-hero-location {
  margin-top: auto;
  padding-top: 1.2rem;
  margin-bottom: 0;
  font-size: 0.74rem;
  opacity: 0.88;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}

.login-hero-location-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #fde68a;
}

.login-hero-location-value {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-form-side {
  flex: 1;
  min-width: min(100%, 440px);
  background: linear-gradient(168deg, #faf8f5 0%, #f1f5f9 50%, #e8edf4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.login-form-side::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 0;
  width: 4px;
  height: 42%;
  border-radius: 4px;
  background: linear-gradient(180deg, #c9a227, rgba(201, 162, 39, 0.15));
}

.login-form-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 2.15rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 22px 48px rgba(15, 23, 42, 0.09);
  animation: loginCardIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loginCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-form-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #64748b;
}

.login-form-title {
  color: #0f172a;
  letter-spacing: -0.02em;
}

.login-tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.25rem;
  border-radius: 0.85rem;
  background: #f1f5f9;
}

.login-tabs__btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.login-tabs__btn.is-active {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.login-tab-panel[hidden] {
  display: none !important;
}

.login-input-wrap--phone {
  display: flex;
  align-items: stretch;
}

.login-input-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 0.65rem 0 0 0.65rem;
}

.login-input--phone {
  border-radius: 0 0.65rem 0.65rem 0 !important;
}

/* SMS OTP login form */
.login-otp-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.login-otp-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-otp-hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.login-phone-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-phone-field:focus-within {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.login-phone-field__cc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 3.25rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  user-select: none;
}

.login-phone-field__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.7rem 0.9rem !important;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #0f172a;
  background: transparent;
}

.login-phone-field__input:focus {
  outline: none;
  box-shadow: none !important;
}

.login-phone-field__input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: normal;
}

.login-otp-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.72rem 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.login-otp-send-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #93c5fd;
  color: #1e40af;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.login-otp-send-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.login-otp-send-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.login-otp-send-btn.is-loading {
  pointer-events: none;
}

.login-otp-send-btn .bi {
  font-size: 1rem;
}

.login-input--otp {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-align: center;
  padding-left: 2.55rem !important;
  padding-right: 0.75rem !important;
}

.login-otp-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.login-otp-alert--error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.login-otp-alert--success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.login-otp-actions {
  margin-top: 0.15rem;
}

.login-otp-form .login-recaptcha-wrap {
  margin: 0;
}

.phone-otp-gate {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
}

.phone-otp-gate--verified {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}

.phone-otp-gate__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 1.15rem;
}

.phone-otp-gate__icon--ok {
  background: #dcfce7;
  color: #15803d;
}

.phone-otp-gate__body {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-otp-gate__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #92400e;
}

.phone-otp-gate__title--ok {
  color: #166534;
}

.phone-otp-gate__lead,
.phone-otp-gate__hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #78350f;
}

.phone-otp-gate--verified .phone-otp-gate__lead {
  color: #166534;
}

.phone-otp-gate__hint a {
  font-weight: 600;
}

.phone-otp-gate__alert {
  margin-top: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
}

.phone-otp-gate__alert--error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.phone-otp-gate__alert--success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.phone-otp-gate__actions {
  margin-top: 0.85rem;
  max-width: 20rem;
}

.phone-otp-gate__code-wrap {
  margin-top: 1rem;
  max-width: 22rem;
}

.create-property-page--phone-locked #createPropertyForm {
  opacity: 0.55;
  pointer-events: none;
}

.create-property-page--phone-locked #createPropertyForm[data-phone-verified="true"] {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 575.98px) {
  .login-phone-field__input {
    font-size: 16px;
  }
}

.login-form-card--register {
  max-width: 480px;
}

/* Compact register (single column, no hero) */
.register-page--compact .register-compact-wrap {
  width: 100%;
  max-width: 560px;
  margin: 1.25rem auto 2rem;
  padding: 0 0.75rem;
}

.register-page--compact .register-compact-card {
  max-width: none;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.register-compact-head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.register-compact-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
}

.register-compact-brand:hover {
  color: #0f766e;
}

.register-compact-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.register-compact-form .login-input {
  padding-left: 0.65rem;
  min-height: 2.35rem;
}

.register-compact-form select.login-input {
  padding-left: 0.65rem;
}

.register-compact-form .form-text {
  line-height: 1.25;
}

.register-compact-form .alert:empty {
  display: none;
}

/* Premium register (split hero + form) */
.register-page--premium {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: clip;
  max-width: 100%;
}

.register-premium-breakout {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  margin-left: 0;
  margin-right: 0;
}

.register-premium-hero {
  flex: 1.15;
  min-height: 520px;
  overflow: hidden;
}

.register-premium-hero__overlay {
  background:
    radial-gradient(ellipse 90% 60% at 20% 20%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 85% 75%, rgba(20, 184, 166, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.15) 0%, rgba(7, 15, 28, 0.92) 100%);
}

.register-premium-hero__inner {
  padding: 2.25rem 2rem 1.75rem 2.25rem;
  max-width: 620px;
  justify-content: flex-start;
}

.register-premium-brand {
  margin-bottom: 1.1rem;
}

.register-premium-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  animation: loginFadeUp 0.78s ease-out 0.08s both;
}

.register-premium-hero__lead {
  animation: loginFadeUp 0.78s ease-out 0.14s both;
}

.register-premium-features {
  animation: loginFadeUp 0.78s ease-out 0.2s both;
}

.register-premium-coverage {
  margin-top: 0.85rem;
  animation: loginFadeUp 0.9s ease-out 0.28s both;
}

.register-premium-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 0.65rem;
  animation: loginFadeUp 0.78s ease-out 0.34s both;
}

.register-premium-trust__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.95);
}

.register-premium-trust__pill .bi {
  font-size: 0.82rem;
  color: #fde68a;
}

.register-premium-panel {
  flex: 1;
  min-width: min(100%, 480px);
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.75rem 2.5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.register-premium-panel::before {
  background: linear-gradient(180deg, #c9a227, rgba(201, 162, 39, 0.15));
}

.register-premium-card {
  width: 100%;
  max-width: 600px;
  padding: 1.85rem 1.85rem 1.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(203, 213, 225, 0.75);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.09);
  animation: loginCardIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.register-premium-card__head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}

.register-premium-card__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #b8860b;
  margin-bottom: 0.35rem;
}

.register-premium-card__title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.register-premium-card__sub {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.register-premium-fieldset--flush {
  margin-bottom: 0;
}

.register-premium-fieldset--last {
  margin-bottom: 0;
}

/* Registration step progress */
.register-steps {
  margin-bottom: 1.5rem;
  position: relative;
}

.register-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.register-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.register-steps__dot {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #e2e8f0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.register-steps__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.register-steps__item.is-active .register-steps__dot,
.register-steps__item.is-done .register-steps__dot {
  background: linear-gradient(145deg, #c9a227, #d4a84b);
  color: #1c1917;
  border-color: #b8860b;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.32);
}

.register-steps__item.is-active .register-steps__label,
.register-steps__item.is-done .register-steps__label {
  color: #92400e;
}

.register-steps__item.is-active .register-steps__dot {
  transform: scale(1.08);
}

.register-steps__track {
  position: absolute;
  top: 0.92rem;
  left: 16%;
  right: 16%;
  height: 3px;
  background: #e2e8f0;
  border-radius: 999px;
  z-index: 0;
}

.register-steps__track-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #d4a84b);
  transition: width 0.35s ease;
}

.register-steps__item.is-clickable {
  cursor: pointer;
}

.register-steps__item.is-clickable .register-steps__dot {
  cursor: pointer;
}

/* Wizard — one step visible at a time */
.register-premium-form .register-step-card {
  display: none;
  margin-bottom: 0;
  animation: registerStepIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.register-premium-form[data-register-current-step="1"] #registerStepRole,
.register-premium-form[data-register-current-step="2"] #registerStepDetails,
.register-premium-form[data-register-current-step="3"] #registerStepSecurity {
  display: block;
}

@keyframes registerStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-step-card {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8edf4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.register-step-card:focus-within,
.register-step-card.is-focused {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.register-step-card--last {
  margin-bottom: 0.85rem;
}

.register-step-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.register-step-card__badge {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1c1917;
  background: linear-gradient(145deg, #d4a84b, #c9a227);
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.28);
}

.register-step-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.register-step-card__sub {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.register-required {
  color: #dc2626;
  font-weight: 700;
}

.register-required-note {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0 0 1rem;
}

/* Phone with +91 prefix */
.register-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-phone-wrap:focus-within {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.register-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.register-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 0.85rem !important;
  min-height: 2.5rem;
}

/* Password show/hide */
.register-password-wrap {
  position: relative;
}

.register-password-wrap .register-premium-input,
.login-input-wrap.register-password-wrap .login-input {
  padding-right: 2.75rem !important;
}

.register-password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.register-password-toggle:hover,
.register-password-toggle:focus {
  color: var(--tf-gold-600, #c9971a);
  background: rgba(201, 151, 26, 0.1);
  outline: none;
}

.register-password-wrap .login-input::-ms-reveal,
.register-password-wrap .login-input::-ms-clear {
  display: none;
}

.register-password-rules {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.register-password-rules li {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.register-password-rules li.is-met {
  color: #0f766e;
  font-weight: 600;
}

.register-password-rules li.is-met .bi {
  color: #14b8a6;
}

.register-password-rules li .bi-check-circle-fill {
  display: none;
}

.register-password-rules li.is-met .bi-circle {
  display: none;
}

.register-password-rules li.is-met .bi-check-circle-fill {
  display: inline-block;
}

/* Agent callout */
.register-agent-callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.register-agent-callout__icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0284c7;
  color: #fff;
  font-size: 1.1rem;
}

.register-agent-callout__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 0.2rem;
}

.register-agent-callout__text {
  font-size: 0.78rem;
  color: #0369a1;
  margin: 0;
  line-height: 1.5;
}

.register-agent-grid .register-premium-input {
  padding-left: 0.85rem !important;
}

.register-premium-fieldset {
  border: 0;
  margin: 0 0 1.35rem;
  padding: 0;
}

.register-premium-fieldset--last {
  margin-bottom: 1.1rem;
}

.register-premium-legend {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.75rem;
  width: 100%;
}

.register-premium-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}

.register-premium-label__opt {
  font-weight: 500;
  color: #94a3b8;
}

.register-premium-input {
  min-height: 2.5rem;
}

.register-premium-form select.register-premium-input {
  padding-left: 2.55rem !important;
}

.register-role-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr));
  gap: 0.55rem;
}

.register-role-card {
  --role-accent: #2563eb;
  --role-accent-soft: #dbeafe;
  --role-accent-mid: #3b82f6;
  --role-glow: rgba(37, 99, 235, 0.28);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.9rem 0.4rem 0.85rem;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: linear-gradient(168deg, #ffffff 0%, #f8fafc 100%);
  color: #475569;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  font: inherit;
  text-align: center;
}

.register-role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--role-accent-soft) 0%, transparent 68%);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.register-role-card--seeker {
  --role-accent: #2563eb;
  --role-accent-soft: #dbeafe;
  --role-accent-mid: #3b82f6;
  --role-glow: rgba(37, 99, 235, 0.32);
}

.register-role-card--owner {
  --role-accent: #0f766e;
  --role-accent-soft: #ccfbf1;
  --role-accent-mid: #14b8a6;
  --role-glow: rgba(15, 118, 110, 0.32);
}

.register-role-card--builder {
  --role-accent: #7c3aed;
  --role-accent-soft: #ede9fe;
  --role-accent-mid: #8b5cf6;
  --role-glow: rgba(124, 58, 237, 0.32);
}

.register-role-card--agent {
  --role-accent: #0369a1;
  --role-accent-soft: #e0f2fe;
  --role-accent-mid: #0284c7;
  --role-glow: rgba(3, 105, 161, 0.32);
}

.register-role-card__icon {
  position: relative;
  z-index: 1;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--role-accent-soft) 0%, #fff 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.register-role-card__icon .bi {
  font-size: 1.28rem;
  color: var(--role-accent);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.28s ease;
}

.register-role-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.register-role-card__title {
  font-size: clamp(0.72rem, 1.5vw, 0.84rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  transition: color 0.28s ease;
}

.register-role-card__hint {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.25;
  transition: color 0.28s ease;
}

.register-role-card__check {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--role-accent);
  color: #fff;
  font-size: 0.72rem;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.25s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px var(--role-glow);
}

.register-role-card:hover {
  border-color: var(--role-accent-mid);
  background: linear-gradient(168deg, #ffffff 0%, var(--role-accent-soft) 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 28px var(--role-glow),
    0 4px 10px rgba(15, 23, 42, 0.06);
}

.register-role-card:hover::before {
  opacity: 1;
}

.register-role-card:hover .register-role-card__icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px var(--role-glow);
  background: linear-gradient(145deg, var(--role-accent-mid) 0%, var(--role-accent-soft) 100%);
}

.register-role-card:hover .register-role-card__icon .bi {
  color: #fff;
  transform: scale(1.05);
}

.register-role-card:hover .register-role-card__title {
  color: var(--role-accent);
}

.register-role-card:hover .register-role-card__hint {
  color: #475569;
}

.register-role-card:focus-visible {
  outline: none;
  border-color: var(--role-accent);
  box-shadow:
    0 0 0 3px var(--role-accent-soft),
    0 12px 28px var(--role-glow);
}

.register-role-card.is-active {
  border-color: var(--role-accent);
  background: linear-gradient(165deg, #ffffff 0%, var(--role-accent-soft) 55%, #fff 100%);
  box-shadow:
    0 10px 32px var(--role-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.register-role-card.is-active::before {
  opacity: 0.85;
}

.register-role-card.is-active .register-role-card__icon {
  background: linear-gradient(145deg, var(--role-accent-mid) 0%, var(--role-accent) 100%);
  box-shadow: 0 8px 22px var(--role-glow);
  transform: scale(1.04);
}

.register-role-card.is-active .register-role-card__icon .bi {
  color: #fff;
}

.register-role-card.is-active .register-role-card__title {
  color: var(--role-accent);
}

.register-role-card.is-active .register-role-card__hint {
  color: #475569;
}

.register-role-card.is-active .register-role-card__check {
  opacity: 1;
  transform: scale(1);
}

.register-premium-hint {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.35;
  color: #64748b;
}

.register-premium-hint--success {
  color: #059669;
}

.register-premium-hint--danger {
  color: #dc2626;
}

.register-phone-actions {
  margin-top: 0.45rem;
}

.register-phone-actions__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}

.register-phone-actions__link:hover {
  color: #1e40af;
  text-decoration: underline;
}

.register-username-suggestions {
  margin-top: 0.55rem;
}

.register-username-suggestions__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.register-username-suggestions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.register-username-chip {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.register-username-chip:hover {
  border-color: #0f766e;
  background: #f0fdfa;
  color: #0f766e;
}

.register-username-chip.is-selected {
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
}

.register-premium-error {
  font-size: 0.75rem;
  color: #dc2626;
  display: block;
  margin-top: 0.2rem;
}

.register-premium-alert {
  border-radius: 12px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.register-premium-alert.validation-summary-valid {
  display: none;
}

.register-premium-alert.validation-summary-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.65rem 0.85rem;
}

.register-premium-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.register-premium-actions {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.register-wizard-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.register-wizard-back {
  min-height: 2.65rem;
  padding-inline: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
}

.register-wizard-next,
.register-wizard-submit {
  flex: 1 1 auto;
  min-height: 2.75rem;
  border-radius: 12px;
  font-weight: 700;
}

.register-wizard-submit[hidden],
.register-wizard-next[hidden],
.register-wizard-back[hidden] {
  display: none !important;
}

.register-premium-submit {
  margin-bottom: 0;
}

.register-premium-form {
  position: relative;
}

.register-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
}

.register-loading-overlay[hidden] {
  display: none !important;
}

.register-loading-overlay__panel {
  width: min(100%, 320px);
  text-align: center;
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.register-loading-overlay__spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: registerSpin 0.75s linear infinite;
}

@keyframes registerSpin {
  to {
    transform: rotate(360deg);
  }
}

.register-loading-overlay__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.register-loading-overlay__message {
  font-size: 0.8rem;
  color: #64748b;
}

.register-loading-overlay__bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.register-loading-overlay__bar-fill {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0f766e);
  transition: width 0.35s ease;
}

.register-loading-overlay__bar-fill.is-step-1 { width: 28%; }
.register-loading-overlay__bar-fill.is-step-2 { width: 52%; }
.register-loading-overlay__bar-fill.is-step-3 { width: 76%; }
.register-loading-overlay__bar-fill.is-step-4 { width: 100%; }

.register-submit-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.register-submit-status[hidden] {
  display: none !important;
}

.register-premium-form.is-submitting .register-premium-input,
.register-premium-form.is-submitting .register-role-card {
  pointer-events: none;
  opacity: 0.72;
}

.register-premium-submit.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.register-premium-footnote {
  font-size: 0.84rem;
  color: #64748b;
}

.register-premium-link {
  color: #0f766e !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.register-premium-link:hover {
  color: #115e59 !important;
  border-bottom-color: #c9a227;
}

.register-premium-link--muted {
  font-weight: 500;
  color: #64748b !important;
  border-bottom-color: rgba(100, 116, 139, 0.35);
}

.register-premium-link--muted:hover {
  color: #334155 !important;
}

@media (min-width: 992px) {
  .login-form-card--register {
    max-width: 520px;
  }

  .register-premium-card {
    max-width: 680px;
  }
}

.login-form-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #64748b;
}

.login-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.login-input-icon .bi {
  font-size: 0.95rem;
  color: #64748b;
}

.login-input {
  padding-left: 2.55rem !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input:focus {
  border-color: #c9a227 !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
}

.login-recaptcha-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.login-recaptcha-wrap .g-recaptcha {
  transform-origin: 0 0;
}

@media (max-width: 400px) {
  .login-recaptcha-wrap .g-recaptcha {
    transform: scale(0.92);
  }
}

.btn-login-primary {
  position: relative;
  overflow: hidden;
  border: none !important;
  background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 52%, #0f172a 100%) !important;
  color: #fff !important;
  padding-top: 0.72rem !important;
  padding-bottom: 0.72rem !important;
  box-shadow: 0 10px 28px rgba(30, 64, 175, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(30, 64, 175, 0.45);
  color: #fff !important;
}

.btn-login-primary:active {
  transform: translateY(0);
}

.login-btn-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
  animation: loginBtnShine 3.8s ease-in-out infinite;
}

@keyframes loginBtnShine {
  0%,
  45% {
    transform: translateX(-130%);
  }
  60% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.login-link-register {
  color: #1d4ed8 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.login-link-register:hover {
  border-bottom-color: #c9a227;
  color: #1e3a8a !important;
}

.login-alert-shimmer {
  animation: loginAlertPulse 2.2s ease-in-out infinite;
}

@keyframes loginAlertPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(59, 130, 246, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-hero-slide {
    animation: none !important;
    opacity: 0.35;
  }

  .login-hero-slide--1 {
    opacity: 1;
  }

  .login-hero-slide--2,
  .login-hero-slide--3 {
    display: none;
  }

  .login-form-card,
  .register-premium-card,
  .register-premium-brand,
  .register-premium-hero__title,
  .register-premium-hero__lead,
  .register-premium-features,
  .register-premium-trust,
  .login-hero-badge,
  .login-hero-title,
  .login-hero-lead,
  .login-hero-features {
    animation: none !important;
  }

  .login-btn-shine {
    display: none;
  }

  .login-alert-shimmer {
    animation: none;
  }

  .register-role-card,
  .register-role-card__icon,
  .register-role-card__icon .bi,
  .register-role-card__check {
    transition-duration: 0.01ms;
  }

  .register-role-card:hover,
  .register-role-card.is-active {
    transform: none;
  }

  .register-role-card:hover .register-role-card__icon,
  .register-role-card.is-active .register-role-card__icon {
    transform: none;
  }

  .register-loading-overlay__spinner {
    animation: none;
    border-top-color: #94a3b8;
  }
}

@media (max-width: 768px) {
  .landing-hero-banner {
    min-height: min(58vh, 520px);
    border-radius: 0;
  }

  .landing-hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    align-items: flex-end;
  }

  .landing-hero-panel {
    max-width: none;
    width: 100%;
    padding: 1.25rem 1rem;
  }

  .landing-hero-lead {
    font-size: 0.78rem;
  }

  .hero-content {
    padding: 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .auth-hero-content {
    padding: 1rem;
  }

  .chat-panel {
    max-height: 340px;
  }

  .detail-thumb {
    width: 92px;
    height: 68px;
  }

  .login-page-breakout,
  .register-premium-breakout {
    flex-direction: column;
    min-height: auto;
  }

  .register-premium-hero {
    min-height: min(48vh, 380px);
    flex: none;
  }

  .register-premium-hero__inner {
    padding: 1.4rem 1.2rem 1.25rem;
    max-width: none;
  }

  .register-premium-hero__title {
    font-size: 1.32rem;
  }

  .register-premium-coverage {
    display: none;
  }

  .register-premium-features {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }

  .register-premium-trust {
    margin-top: 0.75rem;
  }

  .register-premium-panel {
    padding: 1.35rem 1rem 2rem;
  }

  .register-premium-panel::before {
    display: none;
  }

  .register-premium-card {
    padding: 1.5rem 1.25rem 1.65rem;
    border-radius: 18px;
  }

  .register-steps__label {
    font-size: 0.62rem;
  }

  .register-role-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .register-role-card {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 0.75rem 0.9rem;
    gap: 0.75rem;
  }

  .register-role-card__icon {
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
  }

  .register-role-card__body {
    flex: 1;
    align-items: flex-start;
    text-align: left;
  }

  .register-role-card__check {
    position: static;
    margin-left: auto;
    flex-shrink: 0;
  }

  .register-role-card.is-active .register-role-card__check {
    opacity: 1;
    transform: scale(1);
  }

  .login-hero-side {
    min-height: min(52vh, 420px);
    flex: none;
  }

  .login-hero-inner {
    padding: 1.35rem 1.15rem 1.25rem;
    max-width: none;
  }

  .login-hero-coverage__stage {
    grid-template-columns: 1fr;
    height: 7.5rem;
  }

  .login-hero-coverage__column--b {
    display: none;
  }

  .login-form-side {
    padding: 1.35rem 1rem 1.75rem;
  }

  .login-hero-title {
    font-size: 1.28rem;
  }

  .login-hero-lead {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .login-hero-features {
    font-size: 0.78rem;
    gap: 0.45rem;
  }

  .login-hero-features li {
    padding: 0.4rem 0.45rem;
  }

  .login-form-side::before {
    display: none;
  }

  .login-form-card {
    padding: 1.65rem 1.35rem;
  }

  .detail-page-bg::before {
    background-attachment: scroll;
  }
}

/* —— Property Create page (professional redesign) —— */
.create-property-page {
  --create-border: #dbe4f0;
  --create-bg-soft: #f5f8fd;
  --create-title: #0f172a;
  --create-text: #475569;
  --create-primary: #0d6efd;
  --create-gold: #f59e0b;
}

.create-property-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.create-property-page .create-section {
  border: 1px solid var(--create-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #fcfdff);
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  animation: createFadeInUp .42s ease both;
}

.create-property-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .95rem;
  color: var(--create-title);
}

.create-property-page .section-heading-main {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.create-property-page .section-heading i {
  width: 2rem;
  height: 2rem;
  border-radius: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--create-bg-soft);
  color: var(--create-primary);
  font-size: 1rem;
}

.create-property-page .section-heading h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.create-property-page .section-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  font-size: .8rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  padding: 0 .5rem;
}

.create-property-page .create-step-panel:not(.is-active) {
  display: none !important;
}

.create-property-page .create-step-panel.is-active {
  display: block !important;
}

.create-milestone {
  border: 1px solid #d7e2ef;
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.65rem 0.5rem 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.create-milestone__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.create-milestone__li:not(.create-milestone__li--rail) {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.create-milestone__li--rail {
  flex: 1 1 0;
  min-width: 0.5rem;
  max-width: none;
  align-self: flex-start;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.create-milestone__rail {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.create-milestone__rail-fill {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
  transition: width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.create-milestone__li--rail.is-done .create-milestone__rail-fill {
  width: 100%;
}

.create-milestone__btn {
  width: 100%;
  max-width: 6.5rem;
  margin: 0 auto;
  border: none;
  background: transparent;
  padding: 0.2rem 0.15rem 0;
  cursor: pointer;
  text-align: center;
  border-radius: 0.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.create-milestone__btn:hover {
  background: #f1f5f9;
}

.create-milestone__btn:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.create-milestone__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0 auto 0.25rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  background: #e2e8f0;
  border: 2px solid #cbd5e1;
  transition: all 0.22s ease;
}

.create-milestone__lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  line-height: 1.2;
}

.create-milestone__btn.is-pending .create-milestone__num {
  opacity: 0.75;
}

.create-milestone__btn.is-active .create-milestone__num {
  background: linear-gradient(135deg, #2563eb, #0d6efd);
  color: #fff;
  border-color: #1d4ed8;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.create-milestone__btn.is-active .create-milestone__lbl {
  color: #1d4ed8;
}

.create-milestone__btn.is-done .create-milestone__num {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

.create-milestone__btn.is-done .create-milestone__lbl {
  color: #047857;
}

.create-milestone-meta {
  padding-left: 0.15rem;
}

.create-property-page .create-wizard-footer .btn-success {
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
}

@media (max-width: 575.98px) {
  .create-milestone__lbl {
    font-size: 0.55rem;
  }

  .create-milestone__num {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.78rem;
  }

  .create-milestone__li--rail {
    min-width: 0.35rem;
    padding-top: 0.82rem;
  }

  .create-milestone__rail {
    height: 3px;
  }
}

.create-property-page .create-progress {
  border: 1px solid #d7e2ef;
  background: #fff;
  border-radius: .95rem;
  padding: .65rem .75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.create-property-page .create-progress-chip {
  font-size: .78rem;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-weight: 600;
  transition: all .2s ease;
}

.create-property-page .create-progress-chip:hover {
  background: #eaf1ff;
  border-color: #c0d6ff;
  color: #1e3a8a;
}

.create-property-page .section-note {
  color: var(--create-text);
  font-size: .9rem;
  margin-bottom: .9rem;
}

.create-property-page .form-hint {
  margin-top: .28rem;
  color: #64748b;
  font-size: .78rem;
}

.create-property-page .create-alert {
  border: 1px solid transparent;
  border-radius: .9rem;
  padding: .72rem .85rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.create-property-page .create-alert i {
  margin-top: .05rem;
  font-size: 1rem;
}

.create-property-page .create-alert--success {
  background: linear-gradient(180deg, #ecfdf3, #ffffff);
  border-color: #a7f3d0;
  color: #065f46;
}

.create-property-page .create-alert--error {
  background: linear-gradient(180deg, #fff1f2, #ffffff);
  border-color: #fecdd3;
  color: #9f1239;
}

.create-property-page .input-group-text {
  background: #f8fafc;
  border-color: #d7e2ef;
  color: #334155;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.create-property-page .form-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: .35rem;
}

.create-property-page .form-control,
.create-property-page .form-select {
  border-color: #d6e0ed;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.create-property-page .form-control:focus,
.create-property-page .form-select:focus {
  border-color: #8cb4ff;
  box-shadow: 0 0 0 .24rem rgba(13, 110, 253, 0.16);
}

.create-property-page .form-control:focus + .input-group-text,
.create-property-page .form-select:focus + .input-group-text {
  border-color: #8cb4ff;
}

.create-property-page .input-group:focus-within .input-group-text {
  border-color: #8cb4ff;
  color: #1d4ed8;
  background: #eef4ff;
}

.create-property-page .listing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  min-height: 6.75rem;
  transition: all .2s ease;
  border: 1px solid #d7e2ef !important;
  background: #fff;
  border-radius: .9rem !important;
}

.create-property-page .listing-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.create-property-page .listing-plan-card:has(.plan-radio:checked) {
  border: 2px solid var(--create-primary) !important;
  background: #f8fbff;
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.12);
}

.create-property-page .listing-plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.create-property-page .listing-plan-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.create-property-page .listing-plan-card__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.create-property-page .listing-plan-card--premium .listing-plan-card__price {
  color: #b45309;
}

.create-property-page .listing-plan-card__name {
  font-size: 0.92rem;
  font-weight: 650;
  color: #1e293b;
  line-height: 1.35;
}

.create-property-page .listing-plan-card__meta {
  margin-top: auto;
  line-height: 1.35;
}

.create-property-page .payment-summary-card {
  border: 1px solid #bfdbfe;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 100%);
  border-radius: .9rem;
  padding: .9rem 1rem;
}

.create-property-page .payment-amount-input {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.create-property-page .property-create-sticky-actions {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #cfe0f5;
  border-radius: .95rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: .75rem .85rem;
}

.create-property-page .create-file-picker__preview {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.create-property-page .create-file-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .55rem;
  border-radius: .55rem;
  border: 1px solid #dbe5f2;
  background: #f8fafc;
  font-size: .8rem;
  color: #334155;
  max-width: 100%;
}

.create-property-page .create-file-chip__thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: .35rem;
  border: 1px solid #e2e8f0;
}

.create-property-page .create-file-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 12rem;
}

.create-property-page .create-file-chip i {
  font-size: 1.25rem;
  color: #b45309;
}

.create-property-page .btn:focus-visible,
.create-property-page .plan-radio:focus-visible {
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, 0.22);
}

.create-property-page .create-section:nth-of-type(1) { animation-delay: .02s; }
.create-property-page .create-section:nth-of-type(2) { animation-delay: .06s; }
.create-property-page .create-section:nth-of-type(3) { animation-delay: .10s; }
.create-property-page .create-section:nth-of-type(4) { animation-delay: .14s; }
.create-property-page .create-section:nth-of-type(5) { animation-delay: .18s; }
.create-property-page .create-section:nth-of-type(6) { animation-delay: .22s; }

@keyframes createFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .create-property-page .create-section,
  .create-property-page .listing-plan-card,
  .create-property-page .create-progress-chip,
  .create-milestone__btn,
  .create-milestone__num,
  .create-milestone__rail-fill {
    animation: none !important;
    transition: none !important;
  }

  .create-property-page .owner-dash-animate {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 991.98px) {
  .create-property-page .create-progress {
    padding: .55rem .6rem;
    gap: .35rem !important;
  }

  .create-property-page .create-progress-chip {
    font-size: .72rem;
    padding: .22rem .5rem;
  }

  .create-property-page .create-section {
    padding: .95rem .9rem 1rem;
    border-radius: .9rem;
  }

  .create-property-page .section-heading h5 {
    font-size: .98rem;
  }

  .create-property-page .section-step {
    height: 1.8rem;
    min-width: 1.8rem;
    font-size: .74rem;
  }
}

@media (max-width: 767.98px) {
  .create-property-page {
    padding-bottom: 6.1rem;
  }

  .create-property-page .property-create-form {
    gap: .7rem 0 !important;
  }

  .create-property-page .create-section {
    padding: .85rem .8rem .9rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  }

  .create-property-page .section-heading {
    margin-bottom: .7rem;
  }

  .create-property-page .section-note {
    font-size: .84rem;
    margin-bottom: .75rem;
  }

  .create-property-page .form-label {
    font-size: .88rem;
    margin-bottom: .3rem;
  }

  .create-property-page .property-create-sticky-actions {
    position: fixed;
    left: .7rem;
    right: .7rem;
    bottom: .65rem;
    z-index: 1040;
    margin: 0 !important;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.96);
  }

  .create-property-page .property-create-sticky-actions > span {
    display: none !important;
  }

  .create-property-page .property-create-sticky-actions .d-flex.flex-wrap.gap-2.ms-sm-auto {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1.45fr;
    gap: .5rem !important;
    margin-left: 0 !important;
  }

  .create-property-page .property-create-sticky-actions .btn {
    width: 100%;
    font-size: .9rem;
    padding: .6rem .55rem !important;
    white-space: nowrap;
  }

  .create-property-page .create-alert {
    padding: .62rem .72rem;
    margin-bottom: .75rem;
  }
}

.create-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
}

.create-submit-overlay[hidden] {
  display: none !important;
}

.create-submit-overlay__panel {
  width: min(100%, 22rem);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.create-submit-overlay__spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto .85rem;
  border: 3px solid rgba(37, 99, 235, 0.18);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: createSubmitSpin .75s linear infinite;
}

.create-submit-overlay__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.create-submit-overlay__message {
  font-size: .9rem;
  color: #64748b;
}

.property-create-form.is-submitting {
  pointer-events: none;
}

.property-create-form.is-submitting .property-create-sticky-actions {
  opacity: .72;
}

@keyframes createSubmitSpin {
  to { transform: rotate(360deg); }
}

/* —— Plan payment (compact, icon-led, animated) —— */
.essential-service-page {
  max-width: 920px;
  margin-inline: auto;
}

@keyframes essentialFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes essentialShimmer {
  0% { background-position: 120% 50%; }
  100% { background-position: -20% 50%; }
}

.essential-service-page .essential-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.essential-service-page .essential-animate:nth-of-type(1) { animation-delay: 0.02s; }
.essential-service-page .essential-animate:nth-of-type(2) { animation-delay: 0.07s; }
.essential-service-page .essential-animate:nth-of-type(3) { animation-delay: 0.12s; }
.essential-service-page .essential-animate:nth-of-type(4) { animation-delay: 0.17s; }
.essential-service-page .essential-animate:nth-of-type(5) { animation-delay: 0.22s; }

.essential-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #0369a1 0%, #2563eb 48%, #4f46e5 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
  margin-bottom: 0.65rem;
}

.essential-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.essential-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.essential-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.94;
}

.essential-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.essential-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.essential-perks li i {
  color: #2563eb;
  font-size: 0.85rem;
}

.essential-alert {
  border-radius: 12px !important;
}

.essential-status-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.essential-status-card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.essential-status--ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(165deg, rgba(240, 253, 244, 0.65) 0%, #ffffff 55%);
}

.essential-status--warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(165deg, rgba(254, 252, 232, 0.75) 0%, #ffffff 55%);
}

.essential-status--expired {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(165deg, rgba(254, 242, 242, 0.75) 0%, #ffffff 55%);
}

.essential-status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.essential-status-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.essential-status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25em 0.65em;
}

.essential-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 768px) {
  .essential-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.essential-stat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  min-height: 2.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.essential-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.45);
}

.essential-stat__icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: #3b82f6;
  opacity: 0.92;
}

.essential-stat__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.essential-stat__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.essential-stat__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.essential-stat__muted {
  font-weight: 600;
  color: #94a3b8;
}

.essential-purchase {
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem 0.85rem 0.85rem;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.06);
}

.essential-plans-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.essential-plans-head__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
}

.essential-plans-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 576px) {
  .essential-plans-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.essential-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.essential-plan-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) .essential-plan-card__shine {
  opacity: 1;
  animation: essentialShimmer 0.9s ease forwards;
}

.essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 130, 246, 0.45);
}

.essential-plan-card:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.55);
}

.essential-plan-card--selected:not(.essential-plan-card--current) {
  border: 2px solid #2563eb;
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 72%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.essential-plan-card--current {
  opacity: 1;
  cursor: not-allowed;
  border: 2px solid #16a34a;
  background: linear-gradient(165deg, #ecfdf5 0%, #ffffff 74%);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.15);
}

.essential-plan-card--locked {
  opacity: 0.56;
  cursor: not-allowed;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
}

.essential-plan-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.02em;
}

.essential-plan-card__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  margin-top: 0.1rem;
}

.essential-plan-card__meta,
.essential-plan-card__days {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
}

.essential-plan-card__badge {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2em 0.45em;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.essential-plan-card--current .essential-plan-card__badge {
  background: #dcfce7;
  color: #15803d;
}

.essential-plan-card__active-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #0f766e);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
  font-size: 1.05rem;
  z-index: 1;
}

.essential-plan-card__badge--locked {
  background: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.essential-pay-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.essential-pay-panel__amount {
  flex: 0 0 auto;
  min-width: 6.5rem;
}

.essential-pay-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.essential-pay-input {
  font-weight: 700;
  max-width: 8rem;
  border-radius: 10px;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.essential-pay-panel__note {
  flex: 1 1 160px;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
  padding-bottom: 0.15rem;
}

.essential-pay-panel__actions {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .essential-pay-panel__actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .essential-pay-panel__note {
    flex: 1 1 200px;
    max-width: 280px;
  }
}

.essential-pay-btn {
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  min-width: 12.5rem;
  padding: 0.85rem 1.6rem;
}

.essential-pay-btn--secure {
  border: 0;
  background: linear-gradient(135deg, #059669 0%, #0f766e 52%, #2563eb 100%);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.essential-pay-btn--secure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.24) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.essential-pay-btn--secure:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857 0%, #0f766e 52%, #1d4ed8 100%);
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.34);
  transform: translateY(-1px);
}

.essential-pay-btn--secure:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.essential-pay-btn--secure:disabled {
  background: #94a3b8;
  box-shadow: none;
}

.essential-pay-link {
  color: #2563eb !important;
  font-weight: 600;
}

.essential-success-page {
  max-width: 920px;
  margin-inline: auto;
}

.essential-success-card {
  border-radius: 24px;
}

.essential-success-card__hero {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 50%, #2563eb 100%);
  color: #ffffff;
}

.essential-success-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.9rem;
}

.essential-success-stat {
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.essential-success-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.essential-success-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.02rem;
}

.essential-success-stat small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
}

.essential-success-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.essential-success-reference code {
  color: #0f766e;
  word-break: break-all;
}

@media (prefers-reduced-motion: reduce) {
  .essential-service-page .essential-animate,
  .essential-plan-card,
  .essential-stat,
  .essential-plan-card__shine {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) .essential-plan-card__shine {
    animation: none;
    opacity: 0.12;
  }

  .essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) {
    transform: none;
  }

  .essential-stat:hover {
    transform: none;
  }

  .owner-dashboard-page .owner-dash-animate,
  .owner-dash-listing,
  .owner-dash-listing__shine,
  .owner-plan-stat {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .owner-dash-listing:hover .owner-dash-listing__shine {
    animation: none;
    opacity: 0.1;
  }

  .owner-dash-listing:hover {
    transform: none;
  }

  .owner-plan-stat:hover {
    transform: none;
  }

  .my-chats-page .my-chats-animate,
  .my-chats-thread,
  .my-chats-thread__shine {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .my-chats-thread-link:hover .my-chats-thread {
    transform: none;
  }

  .my-chats-thread-link:hover .my-chats-thread__shine {
    animation: none;
    opacity: 0.1;
  }

  .property-chat-page.property-chat-animate,
  .property-chat-row--pop {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .property-inquiries-page .owner-dash-animate,
  .property-mypayments-page .owner-dash-animate {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Owner dashboard (aligned with plan payment polish) —— */
.owner-dashboard-page {
  --owner-teal: #0f766e;
  --owner-teal-mid: #0d9488;
  --owner-teal-soft: #ecfdf5;
  --owner-slate-900: #0f172a;
  --owner-slate-700: #334155;
  --owner-slate-500: #64748b;
  --owner-slate-200: #e2e8f0;
  --owner-slate-100: #f1f5f9;
  --owner-slate-50: #f8fafc;
  --owner-card-radius: 14px;
  --owner-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  --owner-shadow-hover: 0 10px 28px rgba(15, 118, 110, 0.12);
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-bottom: 1rem;
}

.owner-dashboard-page--compact {
  --owner-card-radius: 13px;
}

.owner-dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.owner-dash-toolbar .owner-dash-hero {
  flex: 1 1 min(100%, 240px);
  margin-bottom: 0;
}

.owner-dash-toolbar .owner-dash-perks {
  flex: 1 1 min(100%, 200px);
  margin-bottom: 0;
  align-content: center;
}

.owner-dashboard-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.owner-dash-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.65);
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
}

.owner-dash-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

/* Compact density: owner dashboard only (toolbar groups hero + tips) */
.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-hero {
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.18);
  margin-bottom: 0;
}

.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-hero__icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  font-size: 1.05rem;
}

.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-hero__title {
  font-size: 1.05rem;
  margin: 0 0 0.1rem;
}

.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-hero__subtitle {
  font-size: 0.74rem;
  line-height: 1.3;
}

.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-perks {
  margin: 0;
  padding: 0.3rem 0.45rem;
  gap: 0.25rem 0.55rem;
  border-radius: 10px;
}

.owner-dashboard-page--compact .owner-dash-toolbar .owner-dash-perks li {
  gap: 0.28rem;
  font-size: 0.68rem;
}

.owner-dash-perks li i {
  color: #0d9488;
  font-size: 0.85rem;
}

.owner-dash-alert {
  border-radius: 12px !important;
}

.owner-plan-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.owner-plan-card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.owner-plan-card--ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(165deg, rgba(240, 253, 244, 0.55) 0%, #ffffff 55%);
}

.owner-plan-card--warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(165deg, rgba(254, 252, 232, 0.75) 0%, #ffffff 55%);
}

.owner-plan-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.owner-plan-stat__value--link {
  font-size: 0.9rem;
  font-weight: 700;
}

.owner-plan-stat__value--link a {
  color: #0f766e;
}

.owner-plan-stat__value--link a:hover {
  text-decoration: underline !important;
}

.owner-plan-card--expired {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(165deg, rgba(254, 242, 242, 0.75) 0%, #ffffff 55%);
}

.owner-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.owner-plan-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.owner-plan-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25em 0.65em;
}

.owner-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.owner-plan-stat--wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .owner-plan-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .owner-plan-stat--wide {
    grid-column: span 1;
  }
}

.owner-plan-stat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  min-height: 2.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.owner-plan-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.45);
}

.owner-plan-stat__icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: #0d9488;
  opacity: 0.92;
}

.owner-plan-stat__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.owner-plan-stat__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.owner-plan-stat__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-plan-stat__muted {
  font-weight: 600;
  color: #94a3b8;
}

.detail-tabs--premium .nav-link {
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.detail-tabs--premium .nav-link:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.07);
}

.detail-tabs--premium .nav-link.active {
  color: #1e3a8a;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  border-bottom-color: transparent !important;
  box-shadow:
    inset 0 -3px 0 0 #2563eb,
    0 6px 18px rgba(37, 99, 235, 0.12);
}

.detail-tabs--premium .nav-link.detail-tab-overview:hover:not(.active) {
  color: #1d4ed8;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.7) 0%, rgba(204, 251, 241, 0.4) 100%);
}

.detail-tabs--premium .nav-link.detail-tab-overview.active {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 45%, #7c3aed 100%) !important;
  border-color: transparent !important;
  box-shadow:
    inset 0 -3px 0 0 rgba(255, 255, 255, 0.38),
    0 10px 30px rgba(37, 99, 235, 0.32) !important;
}

.owner-dash-empty {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.owner-dash-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
}

.detail-overview-pane {
  position: relative;
  isolation: isolate;
}

.detail-overview-pane::before {
  content: "";
  position: absolute;
  inset: -0.75rem -0.85rem 0.5rem;
  z-index: -1;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 72% 52% at 10% 6%, rgba(13, 148, 136, 0.22), transparent 52%),
    radial-gradient(ellipse 58% 48% at 92% 10%, rgba(37, 99, 235, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(124, 58, 237, 0.12), transparent 58%);
  pointer-events: none;
}

.detail-overview-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 1.05rem 1.3rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%) padding-box,
    linear-gradient(125deg, #14b8a6 0%, #3b82f6 50%, #a855f7 100%) border-box;
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.14),
    0 4px 16px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.detail-overview-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .detail-overview-head::after {
    animation: detail-overview-head-sheen 10s ease-in-out infinite;
  }
}

@keyframes detail-overview-head-sheen {
  0%,
  82%,
  100% {
    opacity: 0;
    transform: translateX(-30%);
  }

  88% {
    opacity: 1;
    transform: translateX(30%);
  }
}

.detail-overview-head__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 42%, #7c3aed 100%);
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.detail-overview-head__title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
}

.detail-overview-head__lead {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.detail-overview-head__text {
  flex: 1 1 12rem;
  min-width: 0;
}

.detail-gallery-card {
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.detail-gallery-card--vivid {
  border: solid 2px transparent;
  background:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f1f5ff 100%) padding-box,
    linear-gradient(135deg, #0d9488 0%, #2563eb 50%, #9333ea 100%) border-box;
  border-radius: 16px;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 16px 44px rgba(37, 99, 235, 0.14),
    0 6px 18px rgba(13, 148, 136, 0.1);
}

.detail-gallery-card--vivid .detail-gallery-count {
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #6d28d9 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.detail-gallery-card--vivid .detail-thumb:hover {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.detail-spec-card--vivid {
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: clip;
  resize: none;
  background: linear-gradient(185deg, #ffffff 0%, #f8fafc 55%, #faf5ff 100%);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.22),
    0 22px 52px rgba(124, 58, 237, 0.14),
    0 10px 26px rgba(13, 148, 136, 0.12);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-spec-card--vivid::-webkit-scrollbar,
.detail-spec-card--vivid *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.detail-spec-card--vivid::after,
.detail-spec-card--vivid .detail-spec-heading::after,
.detail-spec-card--vivid .detail-spec-heading span::after {
  content: none !important;
  display: none !important;
}

.detail-spec-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.25rem;
  color: #0f172a;
  background: linear-gradient(105deg, #ecfdf5 0%, #e0f2fe 42%, #ede9fe 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.detail-spec-heading i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff !important;
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 52%, #6d28d9 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
}

.detail-spec-card--vivid .detail-spec-heading {
  position: relative;
  overflow: visible;
  resize: none;
  padding-bottom: 1.2rem;
  background: linear-gradient(112deg, #ccfbf1 0%, #bae6fd 30%, #ddd6fe 58%, #fef9c3 100%);
  border-bottom: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.detail-spec-card--vivid .detail-spec-heading i ~ i {
  display: none !important;
}

.detail-spec-card--vivid .detail-spec-heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #0d9488, #2563eb, #7c3aed, #ea580c);
}

.detail-spec-card--vivid .detail-spec-heading i {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  font-size: 1.2rem;
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid {
  padding: 1rem 1.25rem 1.35rem;
  overflow: visible;
  max-height: none;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row {
  grid-template-columns: minmax(5.5rem, 7.75rem) 1fr;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  border-bottom: none;
  background: linear-gradient(90deg, rgba(241, 245, 249, 0.98) 0%, rgba(255, 255, 255, 0.88) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(odd) {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.65) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(191, 219, 254, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 1) {
  box-shadow: inset 4px 0 0 0 #0f766e;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 2) {
  box-shadow: inset 4px 0 0 0 #1d4ed8;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n) {
  box-shadow: inset 4px 0 0 0 #6d28d9;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow:
    inset 4px 0 0 0 rgba(37, 99, 235, 0.85),
    0 12px 30px rgba(15, 23, 42, 0.1);
}

.detail-spec-grid--vivid.detail-spec-grid dt {
  color: #3730a3;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  border: 1px solid rgba(129, 140, 248, 0.4);
  line-height: 1.25;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 1) dt {
  color: #0f766e;
  background: linear-gradient(135deg, #ecfdf5, #ccfbf1);
  border-color: rgba(45, 212, 191, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 2) dt {
  color: #1e40af;
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
  border-color: rgba(59, 130, 246, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n) dt {
  color: #5b21b6;
  background: linear-gradient(135deg, #faf5ff, #e9d5ff);
  border-color: rgba(167, 139, 250, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:last-child {
  margin-bottom: 0;
}

.detail-spec-grid--vivid.detail-spec-grid dd {
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
  overflow-wrap: anywhere;
}

.owner-dash-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.5rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--owner-slate-200);
  box-shadow: var(--owner-shadow);
}

.owner-dash-filters__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--owner-slate-700);
  flex-shrink: 0;
}

.owner-dash-filters__label i {
  color: var(--owner-teal-mid);
}

.owner-dash-filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1 1 auto;
}

.owner-dash-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--owner-slate-200);
  background: var(--owner-slate-50);
  color: var(--owner-slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.owner-dash-filter:hover {
  border-color: var(--owner-teal-mid);
  color: var(--owner-teal);
  background: var(--owner-teal-soft);
}

.owner-dash-filter.is-active {
  background: linear-gradient(135deg, var(--owner-teal) 0%, var(--owner-teal-mid) 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.owner-dash-filter--alert.is-active {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.owner-dash-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.05em 0.35em;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.owner-dash-filter:not(.is-active) .owner-dash-filter__count {
  background: #ffffff;
  color: var(--owner-slate-700);
  border: 1px solid var(--owner-slate-200);
}

.owner-dash-filter-summary {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--owner-slate-500);
}

.owner-dash-filter-summary strong {
  color: var(--owner-slate-900);
}

.owner-dash-filter-empty {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px dashed var(--owner-slate-200);
  background: var(--owner-slate-50);
  color: var(--owner-slate-500);
}

.owner-dash-filter-empty i {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.45;
}

.owner-dash-listing-cell--hidden {
  display: none !important;
}

.owner-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .owner-dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.owner-dash-listing {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--owner-card-radius);
  border: 1px solid var(--owner-slate-200);
  background: #ffffff;
  box-shadow: var(--owner-shadow);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.2s ease;
}

.owner-dash-listing--closed {
  border-color: rgba(148, 163, 184, 0.75);
  background: linear-gradient(180deg, var(--owner-slate-50) 0%, #ffffff 100%);
}

.owner-dash-listing--status-pending {
  border: 2px solid rgba(245, 158, 11, 0.65);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.1);
}

.owner-dash-listing--status-pending .owner-dash-listing__accent {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 55%, #fcd34d 100%);
}

.owner-dash-listing--status-inprogress {
  border: 2px solid rgba(59, 130, 246, 0.55);
}

.owner-dash-listing--status-inprogress .owner-dash-listing__accent {
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
}

.owner-dash-listing--status-awaiting {
  border: 2px solid rgba(14, 165, 233, 0.55);
}

.owner-dash-listing--status-awaiting .owner-dash-listing__accent {
  background: linear-gradient(90deg, #0284c7 0%, #0ea5e9 55%, #38bdf8 100%);
}

.owner-dash-listing--status-approved {
  border: 2px solid rgba(34, 197, 94, 0.5);
}

.owner-dash-listing--status-approved .owner-dash-listing__accent {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 55%, #4ade80 100%);
}

.owner-dash-listing--status-rejected {
  border: 2px solid rgba(239, 68, 68, 0.55);
}

.owner-dash-listing--status-rejected .owner-dash-listing__accent {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 55%, #f87171 100%);
}

.owner-dash-listing--status-expired {
  border: 2px solid rgba(100, 116, 139, 0.55);
}

.owner-dash-listing--status-expired .owner-dash-listing__accent {
  background: linear-gradient(90deg, #475569 0%, #64748b 55%, #94a3b8 100%);
}

.owner-dash-listing--status-inactive {
  border: 2px solid rgba(100, 116, 139, 0.45);
}

.owner-dash-listing--status-inactive .owner-dash-listing__accent {
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 55%, #cbd5e1 100%);
}

.owner-dash-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid transparent;
}

.owner-dash-status--pending {
  color: #92400e;
  background: #fef3c7;
  border-color: #f59e0b;
}

.owner-dash-status--inprogress {
  color: #1e40af;
  background: #dbeafe;
  border-color: #3b82f6;
}

.owner-dash-status--awaiting {
  color: #0c4a6e;
  background: #e0f2fe;
  border-color: #0ea5e9;
}

.owner-dash-status--approved {
  color: #166534;
  background: #dcfce7;
  border-color: #22c55e;
}

.owner-dash-status--rejected {
  color: #991b1b;
  background: #fee2e2;
  border-color: #ef4444;
}

.owner-dash-status--expired {
  color: #334155;
  background: #f1f5f9;
  border-color: #94a3b8;
}

.owner-dash-status--inactive {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.owner-dash-filter[data-filter="pending"].is-active {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.owner-dash-filter[data-filter="in-progress"].is-active,
.owner-dash-filter[data-filter="under-review"].is-active {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1e40af;
}

.owner-dash-filter[data-filter="approved"].is-active {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #166534;
}

.owner-dash-filter[data-filter="live"].is-active {
  border-color: #0d9488;
  background: #ccfbf1;
  color: #0f766e;
}

.owner-dash-filter[data-filter="hidden"].is-active {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #334155;
}

.owner-dash-filter[data-filter="rejected"].is-active {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.owner-dash-listing__accent {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--owner-teal) 0%, var(--owner-teal-mid) 55%, #38bdf8 100%);
}

.owner-dash-listing__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.owner-dash-listing:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.14);
  border-color: rgba(13, 148, 136, 0.35);
}

.owner-dash-listing:hover .owner-dash-listing__shine {
  opacity: 1;
  animation: essentialShimmer 0.9s ease forwards;
}

.owner-dash-listing__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  background: linear-gradient(180deg, var(--owner-slate-50) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--owner-slate-200);
}

.owner-dash-listing__header-main {
  flex: 1 1 auto;
  min-width: 0;
}

.owner-dash-listing__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--owner-teal-mid);
  margin: 0;
}

.owner-dash-listing__title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.28;
  color: var(--owner-slate-900);
  letter-spacing: -0.03em;
}

.owner-dash-status {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.4em 0.7em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.owner-dash-listing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.owner-dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22em 0.55em;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.owner-dash-chip--rent {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
}

.owner-dash-chip--sale {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}

.owner-dash-chip--pg {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #6d28d9;
}

.owner-dash-chip--featured {
  background: #fef9c3;
  border-color: #facc15;
  color: #a16207;
}

.owner-dash-chip--expired {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.owner-dash-chip--expiry {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.owner-dash-chip--hidden {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

/* Compact summary row — replaces always-open Details/Activity/Manage panels with a
   one-glance strip, so the dashboard doesn't force a full scroll per listing. */
.owner-dash-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 1.1rem;
  border-top: 1px solid var(--owner-slate-200);
  border-bottom: 1px solid var(--owner-slate-200);
  background: var(--owner-slate-50);
}

.owner-dash-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  min-width: 0;
}

.owner-dash-summary__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--owner-slate-500);
  white-space: nowrap;
}

.owner-dash-summary__fact i {
  color: var(--owner-teal-mid);
  font-size: 0.82rem;
}

.owner-dash-summary__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.owner-dash-summary__reply {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.owner-dash-summary__reply em {
  font-style: normal;
  font-weight: 800;
}

.owner-dash-summary__reply:hover {
  background: #fde68a;
  color: #78350f;
}

.owner-dash-summary__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--owner-slate-200);
  background: #fff;
  color: var(--owner-slate-700);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.owner-dash-summary__toggle:hover {
  border-color: var(--owner-teal-mid);
  color: var(--owner-teal-mid);
}

.owner-dash-summary__toggle i {
  transition: transform 0.2s ease;
}

.owner-dash-summary__toggle.is-open i {
  transform: rotate(180deg);
}

.owner-dash-more[hidden] {
  display: none;
}

.owner-dash-panel {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--owner-slate-200);
}

.owner-dash-panel:last-of-type {
  border-bottom: none;
}

.owner-dash-panel__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--owner-slate-700);
}

.owner-dash-panel__title i {
  color: var(--owner-teal-mid);
  font-size: 0.95rem;
}

.owner-dash-panel__lead {
  margin: -0.35rem 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--owner-slate-500);
}

.owner-dash-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .owner-dash-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-dash-info__tile--highlight {
    grid-column: 1 / -1;
  }
}

.owner-dash-info__tile {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: var(--owner-slate-50);
  border: 1px solid var(--owner-slate-200);
  min-height: 3.25rem;
}

.owner-dash-info__tile--highlight {
  background: linear-gradient(135deg, var(--owner-teal-soft) 0%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.35);
}

.owner-dash-info__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  color: var(--owner-teal);
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(15, 118, 110, 0.12);
}

.owner-dash-info__tile--highlight .owner-dash-info__icon {
  background: var(--owner-teal);
  color: #ffffff;
}

.owner-dash-info__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.owner-dash-info__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--owner-slate-500);
}

.owner-dash-info__value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--owner-slate-900);
  line-height: 1.35;
}

.owner-dash-info__sub {
  font-size: 0.68rem;
  color: var(--owner-slate-500);
  line-height: 1.3;
}

.owner-dash-info__badge {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--owner-teal);
  background: rgba(13, 148, 136, 0.12);
}

.owner-dash-panel--activity {
  background: linear-gradient(180deg, #ffffff 0%, var(--owner-slate-50) 100%);
}

/* Seeker inquiry KPIs */
.owner-dash-kpi {
  margin: 0;
  padding: 0.65rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--owner-slate-200);
}

.owner-dash-kpi__head {
  margin-bottom: 0.55rem;
}

.owner-dash-kpi__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.owner-dash-kpi__title i {
  color: #0d9488;
  font-size: 1rem;
}

.owner-dash-kpi__lead {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #64748b;
}

.owner-dash-kpi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.owner-dash-kpi__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.owner-dash-kpi__grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
  .owner-dash-kpi__grid--4,
  .owner-dash-kpi__grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .owner-dash-kpi__grid {
    grid-template-columns: 1fr;
  }
}

.owner-dash-kpi-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  border-radius: 11px;
  background: var(--owner-slate-50);
  border: 1px solid var(--owner-slate-200);
  border-top: 3px solid var(--owner-slate-300);
  min-height: 4.75rem;
}

.owner-dash-kpi-card--all {
  border-top-color: var(--owner-teal-mid);
  background: linear-gradient(180deg, var(--owner-teal-soft) 0%, #ffffff 100%);
}

.owner-dash-kpi-card--views {
  border-top-color: #6366f1;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
}

.owner-dash-kpi-card--pending {
  border-top-color: #94a3b8;
}

.owner-dash-kpi-card--pending.owner-dash-kpi-card--alert {
  border-top-color: #d97706;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3);
}

.owner-dash-kpi-card--done {
  border-top-color: #16a34a;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.owner-dash-kpi-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  background: rgba(240, 253, 250, 0.95);
  color: #0f766e;
}

.owner-dash-kpi-card--pending .owner-dash-kpi-card__icon {
  background: rgba(248, 250, 252, 0.95);
  color: #64748b;
}

.owner-dash-kpi-card--pending.owner-dash-kpi-card--alert .owner-dash-kpi-card__icon {
  background: rgba(254, 243, 199, 0.95);
  color: #b45309;
}

.owner-dash-kpi-card--done .owner-dash-kpi-card__icon {
  background: rgba(240, 253, 244, 0.95);
  color: #15803d;
}

.owner-dash-kpi-card__value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.owner-dash-kpi-card--alert .owner-dash-kpi-card__value {
  color: #b45309;
}

.owner-dash-kpi-card__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.owner-dash-kpi-card__hint {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.3;
}

.owner-dash-kpi__bar {
  position: relative;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.95);
  overflow: hidden;
}

.owner-dash-kpi__bar-pending {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  min-width: 0;
  transition: width 0.35s ease;
}

.owner-dash-kpi__footnote {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
}

.owner-dash-kpi__footnote--empty {
  color: #94a3b8;
  font-style: italic;
}

.owner-dash-panel--actions {
  background: var(--owner-slate-50);
}

.owner-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.owner-dash-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.owner-dash-actions__btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.owner-dash-actions__btn--primary {
  background: linear-gradient(135deg, var(--owner-teal) 0%, var(--owner-teal-mid) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.owner-dash-actions__btn--primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.45);
}

.owner-dash-actions__btn--urgent {
  animation: owner-dash-pulse 2s ease-in-out infinite;
}

@keyframes owner-dash-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35); }
  50% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45); }
}

.owner-dash-actions__count {
  font-style: normal;
  font-weight: 800;
  opacity: 0.95;
}

.owner-dash-actions__btn--secondary {
  background: #ffffff;
  border-color: var(--owner-teal-mid);
  color: var(--owner-teal);
}

.owner-dash-actions__btn--secondary:hover {
  background: var(--owner-teal-soft);
  color: var(--owner-teal);
}

.owner-dash-actions__btn--ghost {
  background: #ffffff;
  border-color: var(--owner-slate-200);
  color: var(--owner-slate-700);
}

.owner-dash-actions__btn--ghost:hover {
  background: var(--owner-slate-100);
  color: var(--owner-slate-900);
}

.owner-dash-panel--manage {
  background: #ffffff;
}

.owner-dash-closeout {
  margin: 0;
  padding: 0;
  border: none;
}

.owner-dash-closeout__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
}

.owner-dash-closeout__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.owner-dash-closeout .form-select {
  max-width: 12rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-color: var(--owner-slate-200);
  color: var(--owner-slate-900);
}

.owner-dash-closeout .form-select:focus {
  border-color: var(--owner-teal-mid);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Solid gold CTA — owner & agent "Make premium" (outline-warning was nearly invisible) */
.owner-dash-premium-cta,
button.owner-dash-premium-cta.owner-dash-activate-featured {
  --premium-gold: #c9970a;
  --premium-gold-deep: #9a7408;
  --premium-gold-shine: #f0d060;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a1408 !important;
  border: 1px solid var(--premium-gold-deep) !important;
  background: linear-gradient(180deg, var(--premium-gold-shine) 0%, var(--premium-gold) 55%, #b8860b 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 2px 6px rgba(154, 116, 8, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.owner-dash-premium-cta:hover,
.owner-dash-premium-cta:focus-visible,
button.owner-dash-premium-cta.owner-dash-activate-featured:hover,
button.owner-dash-premium-cta.owner-dash-activate-featured:focus-visible {
  color: #120e05 !important;
  border-color: #7a5c06 !important;
  background: linear-gradient(180deg, #f5dc78 0%, #d4a017 50%, #a67c00 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 3px 10px rgba(154, 116, 8, 0.45);
}

.owner-dash-premium-cta:active,
button.owner-dash-premium-cta.owner-dash-activate-featured:active {
  background: linear-gradient(180deg, #b8860b 0%, #9a7408 100%) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}

.owner-dash-premium-cta:disabled,
button.owner-dash-premium-cta.owner-dash-activate-featured:disabled {
  opacity: 0.65;
  box-shadow: none;
}

.owner-dash-closeout__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
}

.owner-dash-hide-switch .form-check-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.owner-dash-closeout__hint {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0.4rem 0 0;
  line-height: 1.35;
}

/* Owner dashboard only: tighter cards & less vertical whitespace */
.owner-dashboard-page--compact .owner-plan-card {
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
}

.owner-dashboard-page--compact .owner-plan-card__head {
  margin-bottom: 0.35rem;
}

.owner-dashboard-page--compact .owner-plan-grid {
  gap: 0.35rem;
}

.owner-dashboard-page--compact .owner-plan-stat {
  padding: 0.28rem 0.38rem;
  min-height: 0;
  border-radius: 8px;
  gap: 0.35rem;
}

.owner-dashboard-page--compact .owner-plan-stat__value {
  font-size: 0.74rem;
}

.owner-dashboard-page--compact .owner-dash-filters {
  padding: 0.45rem 0.55rem;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
}

.owner-dashboard-page--compact .owner-dash-filter {
  padding: 0.26rem 0.52rem;
  font-size: 0.7rem;
}

.owner-dashboard-page--compact .owner-dash-filter__count {
  min-width: 1.2rem;
  font-size: 0.6rem;
}

.owner-dashboard-page--compact .owner-dash-filter-summary {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
}

.owner-dashboard-page--compact .owner-dash-filter-empty {
  padding: 1rem 0.65rem;
  margin-bottom: 0.6rem;
  border-radius: 12px;
}

.owner-dashboard-page--compact .owner-dash-filter-empty i {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.owner-dashboard-page--compact .owner-dash-grid {
  gap: 0.65rem;
}

@media (min-width: 992px) {
  .owner-dashboard-page--compact .owner-dash-grid {
    gap: 0.75rem;
  }
}

.owner-dashboard-page--compact .owner-dash-listing:hover {
  transform: translateY(-2px);
}

.owner-dashboard-page--compact .owner-dash-listing__header {
  padding: 0.55rem 0.75rem 0.48rem;
  gap: 0.5rem;
}

.owner-dashboard-page--compact .owner-dash-listing__title {
  font-size: 1.02rem;
  margin: 0 0 0.28rem;
  line-height: 1.22;
}

.owner-dashboard-page--compact .owner-dash-status {
  font-size: 0.62rem;
  padding: 0.26em 0.52em;
}

.owner-dashboard-page--compact .owner-dash-listing__chips {
  gap: 0.28rem;
}

.owner-dashboard-page--compact .owner-dash-chip {
  padding: 0.14em 0.42em;
  font-size: 0.62rem;
}

.owner-dashboard-page--compact .owner-dash-panel {
  padding: 0.45rem 0.65rem;
}

.owner-dashboard-page--compact .owner-dash-panel__title {
  margin: 0 0 0.32rem;
  font-size: 0.66rem;
  gap: 0.3rem;
}

.owner-dashboard-page--compact .owner-dash-panel__title i {
  font-size: 0.82rem;
}

.owner-dashboard-page--compact .owner-dash-panel__lead {
  margin: -0.15rem 0 0.38rem;
  font-size: 0.66rem;
}

.owner-dashboard-page--compact .owner-dash-info {
  gap: 0.35rem;
}

.owner-dashboard-page--compact .owner-dash-info__tile {
  padding: 0.38rem 0.42rem;
  min-height: 0;
  border-radius: 10px;
  gap: 0.38rem;
}

.owner-dashboard-page--compact .owner-dash-info__icon {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

.owner-dashboard-page--compact .owner-dash-info__value {
  font-size: 0.78rem;
}

.owner-dashboard-page--compact .owner-dash-info__sub {
  font-size: 0.62rem;
}

.owner-dashboard-page--compact .owner-dash-kpi {
  padding: 0.38rem;
  border-radius: 10px;
}

.owner-dashboard-page--compact .owner-dash-kpi__grid {
  gap: 0.3rem;
}

@media (max-width: 575.98px) {
  .owner-dashboard-page--compact .owner-dash-kpi__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.owner-dashboard-page--compact .owner-dash-kpi-card {
  padding: 0.32rem 0.38rem;
  min-height: 0;
  gap: 0.06rem;
  border-radius: 9px;
}

.owner-dashboard-page--compact .owner-dash-kpi-card__icon {
  width: 1.32rem;
  height: 1.32rem;
  font-size: 0.75rem;
  border-radius: 7px;
}

.owner-dashboard-page--compact .owner-dash-kpi-card__value {
  font-size: 1.08rem;
}

.owner-dashboard-page--compact .owner-dash-kpi-card__name {
  font-size: 0.6rem;
  line-height: 1.15;
}

.owner-dashboard-page--compact .owner-dash-kpi-card__hint {
  font-size: 0.55rem;
  line-height: 1.15;
}

.owner-dashboard-page--compact .owner-dash-kpi__bar {
  margin-top: 0.32rem;
  height: 5px;
}

.owner-dashboard-page--compact .owner-dash-kpi__footnote {
  margin-top: 0.26rem;
  font-size: 0.6rem;
}

.owner-dashboard-page--compact .owner-dash-actions {
  gap: 0.3rem;
}

.owner-dashboard-page--compact .owner-dash-actions__btn {
  padding: 0.34rem 0.58rem;
  font-size: 0.71rem;
  border-radius: 8px;
}

.owner-dashboard-page--compact .owner-dash-closeout__row {
  margin-bottom: 0.22rem;
  gap: 0.35rem 0.5rem;
}

.owner-dashboard-page--compact .owner-dash-closeout__tools {
  gap: 0.45rem 0.65rem;
  margin-top: 0.28rem;
}

.owner-dashboard-page--compact .owner-dash-closeout__hint {
  margin: 0.26rem 0 0;
  font-size: 0.62rem;
}

.owner-dashboard-page--compact .owner-dash-empty {
  padding: 1.15rem 0.65rem !important;
}

.owner-dashboard-page--compact .owner-dash-empty__icon {
  font-size: 1.65rem;
}

/* —— Portal page hero (shared professional header) —— */
.portal-page-hero,
.owner-dash-hero,
.my-chats-hero,
.property-chat-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.portal-page-hero--animate,
.my-chats-page .my-chats-animate,
.owner-dashboard-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.portal-page-hero__accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 16px 0 0 16px;
}

.portal-page-hero--chat .portal-page-hero__accent,
.property-chat-hero .portal-page-hero__accent {
  background: linear-gradient(180deg, #0d9488 0%, #0284c7 100%);
}

.portal-page-hero--owner .portal-page-hero__accent,
.owner-dash-hero .portal-page-hero__accent {
  background: linear-gradient(180deg, #0f766e 0%, #2563eb 100%);
}

.portal-page-hero--ai .portal-page-hero__accent {
  background: linear-gradient(180deg, #7c3aed 0%, #db2777 100%);
}

.portal-page-hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.15rem 1.35rem;
}

.owner-dash-hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.15rem 1.35rem;
}

.owner-dash-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0f766e 0%, #2563eb 100%);
  border-radius: 16px 0 0 16px;
}

.portal-page-hero__icon,
.owner-dash-hero__icon,
.my-chats-hero__icon,
.property-chat-hero__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  color: #4338ca;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border: 1px solid #c7d2fe;
}

.portal-page-hero--chat .portal-page-hero__icon,
.property-chat-hero__icon {
  color: #0f766e;
  background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 100%);
  border-color: #99f6e4;
}

.portal-page-hero--owner .portal-page-hero__icon,
.owner-dash-hero__icon {
  color: #0f766e;
  background: linear-gradient(135deg, #f0fdfa 0%, #dbeafe 100%);
  border-color: #99f6e4;
}

.portal-page-hero__copy,
.owner-dash-hero__text,
.my-chats-hero__text,
.property-chat-hero__copy {
  flex: 1;
  min-width: min(100%, 14rem);
}

.portal-page-hero__eyebrow,
.property-chat-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.portal-page-hero__title,
.owner-dash-hero__title,
.my-chats-hero__title,
.property-chat-hero__title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0f172a;
}

.portal-page-hero__lead,
.owner-dash-hero__subtitle,
.my-chats-hero__subtitle,
.property-chat-hero__subtitle {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #64748b;
  max-width: 42rem;
}

.portal-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  align-self: center;
}

.portal-page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.portal-page-hero__pill--alert {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.portal-page-hero__cta {
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* —— My conversations —— */
.my-chats-page {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

.my-chats-empty {
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.my-chats-empty__icon {
  font-size: 2.5rem;
  color: #94a3b8;
}

.my-chats-toolbar {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.my-chats-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.my-chats-search {
  flex: 1 1 16rem;
  min-width: min(100%, 14rem);
}

.my-chats-search .input-group-text {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}

.my-chats-search .form-control {
  border-color: #e2e8f0;
  background: #fff;
  font-size: 0.9rem;
}

.my-chats-search .form-control:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.12);
}

.my-chats-role-group {
  flex-shrink: 0;
}

.my-chats-role-group .btn {
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
}

.my-chats-role-group .btn.active {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4338ca;
}

.my-chats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.my-chats-thread-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.my-chats-thread-link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 14px;
}

.my-chats-thread {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  min-height: 5.5rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.my-chats-thread-link:hover .my-chats-thread {
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.1);
  transform: translateY(-2px);
}

.my-chats-thread-link--unread .my-chats-thread {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}

.my-chats-thread__status {
  width: 0.5rem;
  flex-shrink: 0;
}

.my-chats-thread__unread-dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.my-chats-thread__main {
  min-width: 0;
}

.my-chats-thread__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.my-chats-thread__role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.my-chats-thread__role--buyer {
  color: #1d4ed8;
  background: #eff6ff;
}

.my-chats-thread__role--owner {
  color: #047857;
  background: #ecfdf5;
}

.my-chats-thread__id {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.my-chats-thread__new {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.my-chats-thread__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.3rem;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-chats-thread__meta {
  font-size: 0.78rem;
  color: #64748b;
}

.my-chats-thread__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: #6366f1;
  background: #eef2ff;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.my-chats-thread-link:hover .my-chats-thread__cta {
  background: #6366f1;
  color: #fff;
}

.my-chats-no-match {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
}

.my-chats-no-match .bi {
  font-size: 1.5rem;
  color: #94a3b8;
}

@media (max-width: 991.98px) {
  .my-chats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-page-hero__actions {
    width: 100%;
    margin-left: 0;
    margin-top: 0.25rem;
  }
}

@media (max-width: 767.98px) {
  .my-chats-grid {
    grid-template-columns: 1fr;
  }

  .my-chats-toolbar__filters {
    flex-direction: column;
    align-items: stretch;
  }

  .my-chats-role-group {
    display: flex;
    width: 100%;
  }

  .my-chats-role-group .btn {
    flex: 1;
  }
}

/* —— Property negotiation chat (portal polish, mirrors My conversations) —— */
.property-chat-page {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 11rem);
  padding-bottom: 0.5rem;
}

.property-chat-page.property-chat-animate {
  opacity: 0;
  animation: propertyChatFadeIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes propertyChatFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.property-chat-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(165, 243, 252, 0.9);
  background: linear-gradient(180deg, #ecfeff 0%, #ffffff 100%);
}

.property-chat-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.property-chat-perks li i {
  color: #0d9488;
  font-size: 0.85rem;
}

.property-chat-perks__sep {
  opacity: 0.45;
  margin-inline: 0.15rem;
}

.property-chat-perks__role {
  color: #0f766e;
}

.property-chat-flash {
  margin-bottom: 0.65rem;
  border-radius: 12px;
}

.property-chat-disclaimer {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 55%, #ffffff 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  max-height: 20rem;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease, margin 0.3s ease, border-width 0.3s ease;
}

.property-chat-disclaimer--closed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-width: 0;
  box-shadow: none;
  pointer-events: none;
}

.property-chat-disclaimer__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #92400e;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.property-chat-disclaimer__close:hover,
.property-chat-disclaimer__close:focus-visible {
  background: rgba(146, 64, 14, 0.12);
  color: #78350f;
}

.property-chat-disclaimer__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.property-chat-disclaimer__title {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #92400e;
}

.property-chat-disclaimer__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #78350f;
}

.property-chat-disclaimer__list li + li {
  margin-top: 0.25rem;
}

.property-chat-disclaimer__list strong {
  color: #92400e;
  font-weight: 800;
}

.property-chat-credits {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e9d5ff;
  background: linear-gradient(90deg, #faf5ff, #ffffff);
}

.property-chat-credits--expired {
  border-color: #fecaca;
  background: linear-gradient(90deg, #fef2f2, #ffffff);
}

.property-chat-credits__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.95rem;
}

.property-chat-credits--expired .property-chat-credits__icon {
  background: #fee2e2;
  color: #dc2626;
}

.property-chat-credits__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.property-chat-credits__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7c3aed;
}

.property-chat-credits--expired .property-chat-credits__label {
  color: #dc2626;
}

.property-chat-credits__value {
  font-size: 0.8rem;
  font-weight: 700;
  color: #5b21b6;
}

.property-chat-credits--expired .property-chat-credits__value {
  color: #991b1b;
}

.property-chat-credits__cta {
  flex-shrink: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.75rem;
}

.property-chat-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 16px;
  border: 1px solid rgba(165, 243, 252, 0.85);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.property-chat-shell .property-chat-toolbar {
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: none;
}

.property-chat-shell .property-chat-panel {
  flex: 1 1 auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0 !important;
  /* Fixed pane so long threads scroll inside — not the whole page */
  min-height: 0;
  height: clamp(320px, 52vh, 520px);
  max-height: clamp(320px, 52vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.property-chat-shell .property-chat-composer {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  padding: 0.65rem;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.property-chat-shell .property-chat-composer__inner {
  box-shadow: none;
}

.property-chat-blocked {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #92400e;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
}

.property-chat-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(165, 243, 252, 0.95);
  background: #fff;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-chat-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-chat-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-chat-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-chat-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-chat-page .property-chat-panel {
  position: relative;
  border-radius: 0;
  border: none;
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 45%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(226, 232, 240, 0.5);
  scroll-behavior: smooth;
  padding: 0.85rem 0.9rem 0.75rem;
}

.property-chat-page .property-chat-panel::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 0.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.35), rgba(14, 165, 233, 0.45), rgba(20, 184, 166, 0.2));
  pointer-events: none;
  opacity: 0.85;
}

.property-chat-page .property-chat-panel > * {
  position: relative;
  z-index: 1;
}

.property-chat-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.65);
}

.property-chat-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-chat-empty__title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #334155;
}

.property-chat-empty__text {
  font-size: 0.82rem;
  color: #64748b;
  max-width: 18rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-chat-composer {
  margin: 0;
}

.property-chat-composer__error {
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.property-chat-composer__error[hidden] {
  display: none !important;
}

.property-chat-composer.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.property-chat-composer__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  border: 1px solid rgba(165, 243, 252, 0.95);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-chat-composer__prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.65rem;
  color: #0d9488;
  background: linear-gradient(180deg, #f0fdfa, #ffffff);
  border-right: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 1rem;
}

.property-chat-composer__input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 48px;
  font-size: 0.9rem;
}

.property-chat-composer__input:focus {
  box-shadow: none !important;
}

.property-chat-composer__send {
  border-radius: 0;
  padding-inline: 1rem;
  min-width: 5.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.property-chat-composer__send.is-sending {
  opacity: 0.85;
  pointer-events: none;
}

.property-chat-composer__spinner {
  width: 0.95rem;
  height: 0.95rem;
  border-width: 0.14em;
}

.property-chat-composer__spinner[hidden] {
  display: none !important;
}

.property-chat-composer__send:hover,
.property-chat-composer__send:focus {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.property-chat-composer__send-label {
  font-size: 0.88rem;
}

@media (max-width: 575.98px) {
  .property-chat-composer__send-label {
    display: none;
  }

  .property-chat-composer__send {
    padding-inline: 0.85rem;
  }
}

@keyframes propertyChatRowPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.property-chat-row--pop {
  animation: propertyChatRowPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-chat-page .chat-bubble--self {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(145deg, #ccfbf1, #99f6e4);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

.property-chat-page .chat-bubble--other {
  border-color: #e2e8f0;
  background: #ffffff;
}

.property-chat-page .chat-time {
  display: inline;
  margin-top: 0;
  font-size: 0.64rem;
  color: #94a3b8;
  font-weight: 500;
}

.property-chat-page .chat-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.1rem;
}

.property-chat-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #92400e;
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
}

@media (max-width: 767.98px) {
  .property-chat-shell .property-chat-panel,
  .property-chat-page .property-chat-panel {
    height: min(48vh, 360px);
    max-height: min(48vh, 360px);
    min-height: 200px;
  }

  .property-chat-disclaimer {
    flex-direction: column;
    gap: 0.55rem;
  }

  .property-chat-credits {
    flex-wrap: wrap;
  }

  .property-chat-toolbar__actions {
    width: 100%;
  }
}

/* —— Property inquiries (owner request list; hero aligned with dashboard / Create) —— */
.property-inquiries-page {
  max-width: 960px;
  margin-inline: auto;
}

.property-inquiries-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-inquiries-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-inquiries-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-inquiries-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-inquiries-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-inquiries-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-inquiries-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.property-inquiries-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-inquiries-empty__text {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 22rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-inquiries-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-inquiries-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  border-bottom-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  white-space: nowrap;
}

.property-inquiries-table td {
  font-size: 0.875rem;
  vertical-align: middle;
}

.property-inquiries-table tbody tr:last-child td {
  border-bottom: 0;
}

/* —— My payments (ledger; hero aligned with owner dashboard / Inquiries) —— */
.property-mypayments-page {
  max-width: 960px;
  margin-inline: auto;
}

.property-mypayments-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-mypayments-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-mypayments-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-mypayments-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-mypayments-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-mypayments-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-mypayments-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.property-mypayments-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-mypayments-empty__text {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 24rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-mypayments-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-mypayments-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  border-bottom-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  white-space: nowrap;
}

.property-mypayments-table td {
  font-size: 0.8125rem;
  vertical-align: middle;
}

.property-mypayments-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Email verification result */
.verify-email-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-email-card {
  width: min(100%, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.verify-email-hero {
  position: relative;
  padding: 2.4rem;
  color: #ffffff;
  overflow: hidden;
}

.verify-email-hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.verify-email-hero--success {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #06b6d4 100%);
}

.verify-email-hero--error {
  background: linear-gradient(135deg, #450a0a 0%, #b91c1c 52%, #f97316 100%);
}

.verify-email-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
}

.verify-email-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  color: #1d4ed8;
}

.verify-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  margin-top: 2rem;
  border-radius: 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 2.45rem;
}

.verify-email-hero h1 {
  position: relative;
  margin: 1.25rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.verify-email-hero p {
  position: relative;
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}

.verify-email-body {
  padding: 2rem 2.4rem 2.3rem;
}

.verify-email-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.verify-email-status--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.verify-email-status--error {
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.verify-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.verify-email-help {
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.verify-email-help span {
  color: #1d4ed8;
  font-weight: 700;
}

/* —— Property request (seeker → owner inquiry) —— */
.property-request-page {
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: 1.5rem;
}

.property-request-page .property-request-animate {
  opacity: 0;
  animation: propertyRequestFadeIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes propertyRequestFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.property-request-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #d97706 0%, #f59e0b 42%, #ea580c 100%);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.28);
  margin-bottom: 0.65rem;
}

.property-request-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
}

.property-request-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.property-request-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.95;
}

.property-request-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(253, 230, 138, 0.9);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.property-request-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #92400e;
}

.property-request-perks li i {
  color: #d97706;
}

.property-request-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  margin-bottom: 0.75rem;
}

.property-request-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-request-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-request-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-request-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-request-alert {
  margin-bottom: 0.75rem;
}

.property-request-listing {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.property-request-listing__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.property-request-listing__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-request-listing__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.75rem;
}

.property-request-listing__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.property-request-listing__location {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f766e;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.property-request-listing__address {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}

.property-request-listing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.property-request-chip--rent {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.property-request-chip--sale {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.property-request-chip--pg {
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
}

.property-request-listing__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.property-request-price__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.property-request-price__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.property-request-price__unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.property-request-price--muted .property-request-price__value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.property-request-form {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.property-request-form__section {
  margin-bottom: 1rem;
}

.property-request-form__section--offer {
  padding-top: 1rem;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}

.property-request-form__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.property-request-form__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #dbeafe, #eff6ff);
  color: #2563eb;
  font-size: 1rem;
}

.property-request-form__icon--offer {
  background: linear-gradient(145deg, #fef3c7, #fffbeb);
  color: #d97706;
}

.property-request-form__title {
  font-weight: 700;
}

.property-request-snippets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.property-request-snippets__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #94a3b8;
}

.property-request-snippet {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.property-request-textarea {
  border-radius: 12px;
  resize: vertical;
  min-height: 7.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.property-request-offer-input .input-group-text {
  font-weight: 700;
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.property-request-offer-input .form-control {
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

.property-request-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.property-request-submit {
  font-weight: 700;
  border-radius: 10px;
  color: #422006;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

@media (max-width: 575.98px) {
  .property-request-listing {
    grid-template-columns: 1fr;
  }

  .property-request-listing__media {
    max-height: 160px;
    aspect-ratio: 16 / 9;
  }

  .property-request-actions {
    flex-direction: column-reverse;
  }

  .property-request-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .property-request-page .property-request-animate {
    animation: none !important;
    opacity: 1 !important;
  }
}
.builder-lux-chip-btn--attention {
  border-color: #f87171 !important;
  color: #b91c1c !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.portal-badge-new {
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.property-card-gallery[data-gallery] {
  position: relative;
}

.property-card-gallery[data-gallery] img.property-card-img-primary,
.property-card-gallery[data-gallery] img.property-card-img-hover {
  transition: opacity 0.25s ease;
}

.property-card-gallery[data-gallery]:hover img.property-card-img-primary {
  opacity: 0;
}

.property-card-gallery[data-gallery]:hover img.property-card-img-hover {
  opacity: 1;
}

.property-card-media--slideshow,
.property-card-media--kenburns {
  overflow: hidden;
}

.property-card-kenburns-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #e2e8f0;
}

.property-card-kenburns-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06) translate3d(0, 0, 0);
  will-change: transform, opacity;
  pointer-events: none;
  backface-visibility: hidden;
}

.property-card-kenburns-layer.is-kenburns-visible {
  opacity: 1;
}

.property-card-kenburns-layer.is-kenburns-entering {
  opacity: 0;
  transition: opacity 0.52s ease;
}

.property-card-kenburns-layer.is-kenburns-entering.is-kenburns-visible {
  opacity: 1;
}

.property-card-kenburns-layer.is-kenburns-fading {
  opacity: 0;
  transition: opacity 0.52s ease;
}

@keyframes card-kb-zoom-in-pan-left {
  0% {
    transform: scale(1.05) translate3d(2.5%, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-2.5%, -1%, 0);
  }
}

@keyframes card-kb-zoom-out-pan-right {
  0% {
    transform: scale(1.14) translate3d(-2.5%, 0, 0);
  }
  100% {
    transform: scale(1.05) translate3d(2.5%, 1%, 0);
  }
}

@keyframes card-kb-zoom-in-pan-right {
  0% {
    transform: scale(1.05) translate3d(-2.5%, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(2.5%, -1%, 0);
  }
}

@keyframes card-kb-zoom-out-pan-left {
  0% {
    transform: scale(1.14) translate3d(2.5%, 0, 0);
  }
  100% {
    transform: scale(1.05) translate3d(-2.5%, 1%, 0);
  }
}

.property-card-kenburns-layer.kb-pan-zoom-in-left {
  animation: card-kb-zoom-in-pan-left 4.6s ease-in-out forwards;
}

.property-card-kenburns-layer.kb-pan-zoom-out-right {
  animation: card-kb-zoom-out-pan-right 4.6s ease-in-out forwards;
}

.property-card-kenburns-layer.kb-pan-zoom-in-right {
  animation: card-kb-zoom-in-pan-right 4.6s ease-in-out forwards;
}

.property-card-kenburns-layer.kb-pan-zoom-out-left {
  animation: card-kb-zoom-out-pan-left 4.6s ease-in-out forwards;
}

/* Legacy slideshow fade (kept for older markup) */
.property-card-media--slideshow .property-card-img--primary,
.property-card-media--slideshow .property-card-img--cycle {
  transition: opacity 0.4s ease;
}

.property-card-media--slideshow .property-card-img--cycle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.property-card-media--slideshow .property-card-img--cycle.property-card-img--cycle-visible {
  opacity: 1;
}

.property-card-media--slideshow .property-card-img--primary.property-card-img--fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .detail-gallery-stage .detail-main-image,
  .property-card-media--slideshow .property-card-img--primary,
  .property-card-media--slideshow .property-card-img--cycle,
  .property-card-kenburns-layer {
    transition: none;
    animation: none !important;
    transform: none !important;
  }
}

.search-page-shell {
  max-width: none;
  width: 100%;
}

.search-results-surface {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%);
}

.portal-listing-card-shell {
  isolation: isolate;
}

.listing-favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.listing-favorite-btn__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.listing-favorite-btn__icon {
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.listing-favorite-btn:hover,
.listing-favorite-btn:focus-visible {
  transform: scale(1.05);
  color: #e11d48;
  background: #fff;
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.22);
}

.listing-favorite-btn.is-favorite {
  color: #fff;
  background: linear-gradient(145deg, #fb7185 0%, #e11d48 55%, #be123c 100%);
  border-color: rgba(190, 18, 60, 0.5);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}

.listing-favorite-btn.is-favorite .listing-favorite-btn__icon {
  transform: scale(1.05);
}

.listing-favorite-btn--card {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 20;
  pointer-events: auto;
}

.portal-card-top-actions .listing-favorite-btn--card {
  position: static;
  top: auto;
  right: auto;
}

.listing-favorite-btn--toolbar {
  width: 2rem;
  height: 2rem;
}

.listing-favorite-btn--toolbar .listing-favorite-btn__icon {
  font-size: 0.9rem;
}

.owner-dash-kpi-card--favorites .owner-dash-kpi-card__icon {
  color: #e11d48;
}

/* —— First-visit splash: cinematic real-estate intro (landing page) —— */
body.re-splash-active {
  overflow: hidden;
}

.re-splash {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f8fafc;
  overflow: hidden;
  background: #050a12;
}

.re-splash[hidden] {
  display: none !important;
}

.re-splash.is-playing .re-splash__stage,
.re-splash.is-playing .re-splash__content,
.re-splash.is-playing .re-splash__footer {
  opacity: 1;
}

.re-splash.is-exiting {
  pointer-events: none;
}

.re-splash.is-exiting .re-splash__curtain {
  transform: translateY(0);
}

.re-splash.is-exiting .re-splash__stage {
  opacity: 0.35;
  transition: opacity 0.75s ease;
}

.re-splash.is-exiting .re-splash__content,
.re-splash.is-exiting .re-splash__footer {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.re-splash__curtain {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: linear-gradient(180deg, #050a12 0%, #0f172a 100%);
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
}

.re-splash__stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  contain: layout style paint;
}

.re-splash__slides {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 0);
}

.re-splash__slides-motion {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  animation: reSplashKenBurns 10s linear forwards;
  will-change: transform;
}

.re-splash__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  backface-visibility: hidden;
}

.re-splash__slide.is-active {
  opacity: 1;
}

.re-splash__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 18%, rgba(251, 191, 36, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.35) 0%, rgba(5, 10, 18, 0.55) 38%, rgba(5, 10, 18, 0.92) 72%, #050a12 100%),
    linear-gradient(108deg, rgba(7, 15, 28, 0.72) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(30, 58, 95, 0.25) 100%);
}

.re-splash__grid {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: reSplashGridIn 1.2s ease 0.2s both;
}

.re-splash__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.85), transparent);
  opacity: 0;
  animation: reSplashScanOnce 2.2s ease-in-out 0.6s 1 both;
  pointer-events: none;
}

.re-splash__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.re-splash__particle {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: var(--ps);
  height: var(--ps);
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.45);
  opacity: 0;
  animation: reSplashParticleDrift 5s ease-in-out var(--pd) 2;
}

.re-splash__cityscape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  height: 38%;
  z-index: 2;
  perspective: 900px;
  perspective-origin: 50% 100%;
  pointer-events: none;
}

.re-splash__cityscape-tilt {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(520px, 92vw);
  height: 220px;
  transform-style: preserve-3d;
  transform: translateX(-50%) rotateX(58deg);
  animation: reSplashCityRise 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.re-splash__cityscape-ground {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -8px;
  height: 120px;
  transform: translateZ(-40px);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(2, 6, 23, 0.85)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.06) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
}

.re-splash__block {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--tw);
  height: var(--th);
  margin-left: calc(var(--tw) / -2);
  transform: translate3d(var(--tx), 0, var(--tz));
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #334155 0%, #1e293b 48%, #0f172a 100%);
  box-shadow:
    inset 0 1px 0 rgba(248, 250, 252, 0.1),
    0 16px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: reSplashBlockRise 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d) both;
}

.re-splash__block::before {
  content: "";
  position: absolute;
  inset: 10% 16% auto;
  height: 68%;
  background:
    repeating-linear-gradient(180deg, rgba(251, 191, 36, 0.5) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(90deg, rgba(251, 191, 36, 0.32) 0 2px, transparent 2px 8px);
  opacity: 0.42;
}

.re-splash__hero-tower {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 108px;
  height: 168px;
  margin-left: -54px;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 30px);
  animation: reSplashHeroTowerRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.re-splash__hero-tower-core {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(-12deg);
}

.re-splash__hero-face {
  position: absolute;
  backface-visibility: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.22);
}

.re-splash__hero-face--front,
.re-splash__hero-face--back {
  width: 88px;
  height: 148px;
  left: 10px;
  background:
    linear-gradient(180deg, rgba(251, 191, 36, 0.08), transparent 28%),
    linear-gradient(180deg, #475569 0%, #1e293b 55%, #0f172a 100%);
}

.re-splash__hero-face--front {
  transform: translateZ(44px);
}

.re-splash__hero-face--back {
  transform: rotateY(180deg) translateZ(44px);
}

.re-splash__hero-face--left,
.re-splash__hero-face--right {
  width: 88px;
  height: 148px;
  top: 10px;
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
}

.re-splash__hero-face--left {
  transform: rotateY(-90deg) translateZ(44px);
}

.re-splash__hero-face--right {
  transform: rotateY(90deg) translateZ(44px);
}

.re-splash__hero-face--top {
  width: 88px;
  height: 88px;
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, #64748b, #334155);
  transform: rotateX(90deg) translateZ(74px);
}

.re-splash__hero-face--front::before,
.re-splash__hero-face--back::before,
.re-splash__hero-face--left::before,
.re-splash__hero-face--right::before {
  content: "";
  position: absolute;
  inset: 12% 18% 14%;
  background:
    repeating-linear-gradient(180deg, rgba(253, 230, 138, 0.65) 0 3px, transparent 3px 13px),
    repeating-linear-gradient(90deg, rgba(251, 191, 36, 0.4) 0 3px, transparent 3px 11px);
  opacity: 0.5;
}

.re-splash__hero-antenna {
  position: absolute;
  left: 50%;
  top: -26px;
  width: 3px;
  height: 28px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, #fde68a, #94a3b8);
  transform: translateZ(52px);
}

.re-splash__hero-beacon {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 12px 2px rgba(251, 191, 36, 0.55);
  transform: translateZ(54px);
}

.re-splash__float-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.re-splash__float-card {
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 9.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate3d(0, 20px, 0) rotate(var(--fr, 0deg)) scale(0.94);
  animation: reSplashFloatCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--fd) both;
}

.re-splash__float-card--compact {
  min-width: 7.5rem;
  padding: 0.5rem 0.65rem;
}

.re-splash__float-card-thumb {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.45rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(248, 250, 252, 0.12);
}

.re-splash__float-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  line-height: 1.2;
}

.re-splash__float-card-meta strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f8fafc;
}

.re-splash__float-card-meta em {
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  color: #fde68a;
}

.re-splash__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.re-splash__pin {
  position: absolute;
  left: var(--px);
  top: var(--py);
  color: #fbbf24;
  font-size: 1.35rem;
  transform: translate(-50%, -120%) scale(0);
  animation: reSplashPinDrop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) both;
}

.re-splash__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 88%;
  width: 14px;
  height: 6px;
  margin-left: -7px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.3);
}

.re-splash__content {
  position: relative;
  z-index: 5;
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 5.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.re-splash__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.4) rotate(-12deg);
  animation: reSplashBrandIn 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

.re-splash__brand-ring {
  position: absolute;
  inset: -5px;
  border-radius: 0.85rem;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(251, 191, 36, 0.2),
    rgba(252, 211, 77, 0.9),
    rgba(251, 191, 36, 0.2),
    transparent
  );
}

.re-splash__brand-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.7rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #0f172a;
  background: linear-gradient(145deg, #fde68a, #f59e0b);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.re-splash__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.68);
  opacity: 0;
  transform: translateY(12px);
  animation: reSplashFadeUp 0.7s ease 0.55s both;
}

.re-splash__kicker .bi {
  margin-right: 0.35rem;
  color: #fbbf24;
}

.re-splash__ai-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.28));
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
  opacity: 0;
  transform: translateY(12px);
  animation: reSplashFadeUp 0.7s ease 0.62s both;
}

.re-splash__ai-banner .bi {
  color: #7dd3fc;
}

.re-splash__title {
  margin: 0 0 0.45rem;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.re-splash__title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
}

.re-splash__title-line:nth-child(1) {
  animation: reSplashTitleReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.re-splash__title-line--accent {
  color: #fde68a;
  animation: reSplashTitleReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.92s both;
}

.re-splash__subtitle {
  margin: 0 0 0.55rem;
  font-size: clamp(0.95rem, 2.8vw, 1.08rem);
  color: rgba(248, 250, 252, 0.78);
  opacity: 0;
  animation: reSplashFadeUp 0.7s ease 1.15s both;
}

.re-splash__ai-tagline {
  margin: 0 0 1rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.82rem, 2.4vw, 0.95rem);
  line-height: 1.45;
  color: rgba(186, 230, 253, 0.88);
  opacity: 0;
  animation: reSplashFadeUp 0.7s ease 1.22s both;
}

.re-splash__locator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: reSplashLocatorIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}

.re-splash__locator-icon {
  display: inline-flex;
  color: #fbbf24;
  font-size: 1.1rem;
}

.re-splash__locator-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.re-splash__locator-text.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.re-splash__marquee {
  position: relative;
  width: min(34rem, 100%);
  margin: 0 auto 1.1rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0;
  animation: reSplashFadeUp 0.7s ease 1.5s both;
}

.re-splash__marquee-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  transform: translate3d(0, 0, 0);
  animation: reSplashMarquee 38s linear infinite;
  will-change: transform;
}

.re-splash__chip {
  flex-shrink: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.92);
  background: rgba(30, 58, 95, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.re-splash__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-splash__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
}

.re-splash.is-playing .re-splash__badges li:nth-child(1) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.65s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(2) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.78s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(3) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.91s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(4) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.04s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(5) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.17s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(6) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.3s both; }
.re-splash.is-playing .re-splash__badges li:nth-child(7) { animation: reSplashBadgePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.43s both; }

.re-splash__badges li.re-splash__badge--ai {
  color: #bae6fd;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.22));
  border-color: rgba(125, 211, 252, 0.42);
}

.re-splash__badges li.re-splash__badge--ai .bi {
  color: #7dd3fc;
}

.re-splash__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 1.75rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.re-splash__progress {
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.12);
  overflow: hidden;
}

.re-splash__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fde68a);
  transform: scaleX(0);
  transform-origin: left center;
}

.re-splash.is-playing .re-splash__progress-bar {
  animation: reSplashProgress 9.2s linear forwards;
}

.re-splash__enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0f172a;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 48%, #f59e0b 100%);
  box-shadow: 0 12px 32px rgba(180, 83, 9, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: reSplashFadeUp 0.65s ease 1.85s both;
}

.re-splash__enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(180, 83, 9, 0.42);
}

.re-splash__enter .bi {
  transition: transform 0.25s ease;
}

.re-splash__enter:hover .bi {
  transform: translateX(4px);
}

@keyframes reSplashKenBurns {
  0% { transform: translate3d(0, 0, 0) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes reSplashGridIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reSplashScanOnce {
  0% { top: 10%; opacity: 0; }
  15% { opacity: 0.65; }
  85% { top: 70%; opacity: 0.2; }
  100% { top: 72%; opacity: 0; }
}

@keyframes reSplashParticleDrift {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
  20% { opacity: 0.75; }
  50% { opacity: 0.35; transform: translateY(-18px) scale(1); }
  80% { opacity: 0; }
}

@keyframes reSplashCityRise {
  from { opacity: 0; transform: translateX(-50%) translateY(80px) rotateX(68deg); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) rotateX(58deg); }
}

@keyframes reSplashBlockRise {
  from { opacity: 0; transform: translate3d(var(--tx), 120px, var(--tz)); }
  to { opacity: 1; transform: translate3d(var(--tx), 0, var(--tz)); }
}

@keyframes reSplashHeroTowerRise {
  from { opacity: 0; transform: translate3d(0, 140px, 30px) scale(0.85); }
  to { opacity: 1; transform: translate3d(0, 0, 30px) scale(1); }
}

@keyframes reSplashFloatCardIn {
  from { opacity: 0; transform: translate3d(0, 20px, 0) rotate(var(--fr, 0deg)) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(var(--fr, 0deg)) scale(1); }
}

@keyframes reSplashWindows {
  from { opacity: 0.25; }
  to { opacity: 0.65; }
}

@keyframes reSplashPinDrop {
  0% { transform: translate(-50%, -120%) scale(0); }
  70% { transform: translate(-50%, 0) scale(1.12); }
  100% { transform: translate(-50%, 0) scale(1); }
}

@keyframes reSplashPinPulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes reSplashBrandIn {
  0% { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes reSplashFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reSplashTitleReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes reSplashLocatorIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reSplashMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes reSplashBadgePop {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reSplashProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 575.98px) {
  .re-splash__content {
    padding-bottom: 4.5rem;
  }

  .re-splash__marquee {
    margin-bottom: 0.85rem;
  }

  .re-splash__footer {
    padding-bottom: 1.25rem;
  }

  .re-splash__float-card {
    display: none;
  }

  .re-splash__cityscape {
    height: 30%;
    bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .re-splash__slides-motion,
  .re-splash__slide.is-active,
  .re-splash__grid,
  .re-splash__scan,
  .re-splash__particle,
  .re-splash__cityscape-tilt,
  .re-splash__block,
  .re-splash__hero-tower,
  .re-splash__hero-tower-core,
  .re-splash__float-card,
  .re-splash__pin,
  .re-splash__brand,
  .re-splash__kicker,
  .re-splash__ai-banner,
  .re-splash__title-line,
  .re-splash__subtitle,
  .re-splash__ai-tagline,
  .re-splash__locator,
  .re-splash__marquee,
  .re-splash__badges li,
  .re-splash__enter,
  .re-splash__progress-bar,
  .re-splash__marquee-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .re-splash__cityscape-tilt {
    transform: translateX(-50%) rotateX(58deg);
  }

  .re-splash__slides,
  .re-splash__slides-motion {
    transform: none !important;
  }

  .re-splash__slide {
    opacity: 0 !important;
  }

  .re-splash__slide.is-active {
    opacity: 1 !important;
  }

  .re-splash__progress-bar {
    transform: scaleX(1) !important;
  }

  .re-splash__curtain {
    transition-duration: 0.25s;
  }
}

.support-msg--system {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  border-color: #c4b5fd !important;
  color: #4c1d95;
}
