
/* ==========================================================================
   DEALCENTRAL MASTER DESIGN SYSTEM & ALIGNMENT SUITE
   ========================================================================== */

:root {
  --dc-bg-main: #081B2D;
  --dc-bg-card: #132A40;
  --dc-bg-surface: #0B1928;
  --dc-border-main: #28506D;
  --dc-border-subtle: #1F2937;
  --dc-primary-blue: #1D4ED8;
  --dc-primary-hover: #1E40AF;
  --dc-accent-cyan: #38BDF8;
  --dc-accent-orange: #F97316;
  --dc-accent-green: #22C55E;
  --dc-text-primary: #FFFFFF;
  --dc-text-secondary: #CBD5E1;
  --dc-text-muted: #94A3B8;
  --dc-max-width: 1280px;
}

/* 1. Global Reset & Base Uniformity */
html, body {
  background-color: #081B2D !important;
  color: #FFFFFF !important;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
}

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

/* 2. Container Standard Alignment */
.container,
.dc-hero-inner,
.dc-switch-inner,
.dc-steps-inner,
.site-navbar,
.footer-grid,
.footer-bottom {
  width: 100% !important;
  max-width: var(--dc-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* 3. Header & Navigation Precision Alignment */
.header, #main-header, .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 74px !important;
  background: #081B2D !important;
  border-bottom: 1px solid #1F2937 !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

.header .container.navbar,
.site-header .container.navbar,
.site-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.nav-menu, .site-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.nav-link, .site-nav-link {
  color: #CBD5E1 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.nav-link:hover, .nav-link.active, .site-nav-link:hover, .site-nav-link.active {
  color: #FFFFFF !important;
}

.nav-auth-btn {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 9px 20px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(29,78,216,0.35) !important;
  transition: all 0.2s ease !important;
}

.nav-auth-btn:hover {
  background: #1E40AF !important;
  transform: translateY(-1px) !important;
}

/* 4. Sections Vertical Rhythm & Alignment */
.main-content {
  margin-top: 74px !important;
}

section {
  background-color: #081B2D !important;
  color: #CBD5E1 !important;
}

/* Headings Alignment */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
}

/* 5. Symmetrical Cards & Grid Alignment */
.card,
.dc-step,
.county-plan-card,
.lead-type-card,
.public-card,
.stat-card,
.property-card,
.dc-deal-card {
  background: #132A40 !important;
  border: 1px solid #28506D !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  box-sizing: border-box !important;
}

/* Hero Choice Cards Alignment */
.dc-hero-choice {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.dc-hero-side {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #132A40 !important;
  border: 1px solid #28506D !important;
  border-radius: 16px !important;
  padding: 36px 32px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
}

/* Steps Grid Alignment */
.dc-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.dc-step {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 28px !important;
}

/* 6. Button Uniformity */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-primary {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(29,78,216,0.35) !important;
}

.btn-primary:hover {
  background: #1E40AF !important;
  transform: translateY(-1px) !important;
}

.btn-secondary, .btn-outline {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid #28506D !important;
  color: #FFFFFF !important;
}

.btn-secondary:hover, .btn-outline:hover {
  background: #1A3854 !important;
  border-color: #38BDF8 !important;
}

/* 7. Modal Centering & Viewport Lock */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 27, 45, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.modal-content {
  margin: auto !important;
  max-width: 520px !important;
  width: 100% !important;
  background: #0B1928 !important;
  border: 1px solid #28506D !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6) !important;
  color: #FFFFFF !important;
}

/* 8. Form Inputs Alignment */
input, select, textarea, .glass-input, .input-field {
  background-color: #0B1928 !important;
  border: 1px solid #28506D !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
}

input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
}


/* ==========================================
   DESIGN TOKENS & VARIABLES (Light Theme)
   ========================================== */

:root {
  --font-body: 'Inter', system-ui, sans-serif;
  --font-header: 'Plus Jakarta Sans', system-ui, sans-serif;
  --primary: #0F172A;
  --primary-dark: #0B1120;
  --color-accent: #10B981;
  --accent-blue: #3B82F6;
  --accent-hover: #059669;
  
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --color-danger: #EF4444;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --glass-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(11, 31, 58, 0.02) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(245,158,11, 0.01) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Live indicator pulse animation */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #D9E0DA;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #7C8A82;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text-main);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--text-main);
}

p {
  color: var(--text-secondary);
}

/* ==========================================
   APP SHELL / LAYOUT
   ========================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex-grow: 1;
  padding-top: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section spacing */
.section {
  padding: 80px 0;
  position: relative;
}

/* Header Navbar */
.header {
  position: fixed!important;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #111827 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 76px;
  background-color: #111827 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  -webkit-text-fill-color: white;
  box-shadow: var(--glow-shadow-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

/* Ensure navigation links inside the dark navy header are always highly visible (white) */
.header .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: #ffffff !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-header);
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #1a1a1a; /* Dark charcoal text for contract on gold */
  box-shadow: var(--glow-shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(184, 134, 11, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-blue-gradient);
  color: white;
  box-shadow: var(--glow-shadow-blue);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.3);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ==========================================
   PAGE / VIEW PANELS (Tab Routing)
   ========================================== */
.view-panel {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   HOME VIEW
   ========================================== */

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-header);
  color: var(--text-main);
}

.hero-feature-item svg {
  color: var(--primary);
}

/* Trusted Partner Section */
.trusted-partner {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
}

.partner-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

/* Cluster UI Layout */
.cluster-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .cluster-split {
    grid-template-columns: 1fr;
  }
}
.cluster-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}
.cluster-acq {
  border-top: 4px solid var(--accent);
}
.cluster-dispo {
  border-top: 4px solid #7C3AED; /* Purple for dispo */
}
.cluster-panel h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cluster-acq h3 {
  color: var(--accent-hover);
}
.cluster-dispo h3 {
  color: #7C3AED;
}
.cluster-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.cluster-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cluster-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cluster-acq .cluster-icon {
  background: rgba(29, 158, 117, 0.1);
  color: var(--accent);
}
.cluster-dispo .cluster-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}
.cluster-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.cluster-item-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Services Cards */
.card-glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card-glass:hover {
  transform: translateY(-5px);
  background: var(--bg-surface);
  border-color: var(--border-color-glow);
  box-shadow: var(--glass-shadow);
}

.card-glass:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.card-glass:hover .card-icon {
  background: var(--primary);
  color: white;
}

.card-glass h3 {
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-glass p {
  font-size: 0.95rem;
}

/* Why Choose Section & Badges */
.badge-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.badge-icon {
  color: var(--color-performing);
  flex-shrink: 0;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.process-card:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: var(--glass-shadow);
}

.process-step-num {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.01) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 16px;
  right: 24px;
}

.process-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.process-card p {
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Industries We Serve Section */
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tag-bubble {
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.tag-bubble:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================
   MARKETPLACE VIEW
   ========================================== */
.marketplace-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Filters */
.marketplace-filters {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 104px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-label {
  display: block;
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 40px;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-select {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* Custom Range Slider */
.slider-container {
  padding-top: 10px;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #D9E0DA;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
  transition: transform var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Listings Grid */
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.listings-count {
  font-weight: 600;
  font-family: var(--font-header);
}

.listings-count span {
  color: var(--primary);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Note Card Details */
.note-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--glass-shadow);
}

.note-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.note-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.note-badge.performing {
  background: rgba(5, 150, 105, 0.08);
  color: var(--color-performing);
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.note-badge.non-performing {
  background: rgba(217, 119, 6, 0.08);
  color: var(--color-non-performing);
  border: 1px solid rgba(217, 119, 6, 0.15);
}

.note-badge.sold {
  background: rgba(220, 38, 38, 0.1);
  color: #B3372C;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* Sold listings stay visible but are clearly marked and de-emphasised */
.note-card.sold-card {
  opacity: 0.72;
}
.note-card.sold-card .btn-sold {
  background: rgba(220, 38, 38, 0.1);
  color: #B3372C;
  border: 1px solid rgba(220, 38, 38, 0.25);
  cursor: default;
  font-weight: 700;
}

.note-location {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.1rem;
}

.note-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.note-metrics {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(15, 23, 42, 0.01);
  flex-grow: 1;
}

.metric-box {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-value.highlight {
  color: var(--primary);
}

/* Document Checklist */
.note-docs-status {
  padding: 12px 24px;
  border-top: 1px solid var(--border-color);
  background: #F1F4F1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-dots {
  display: flex;
  gap: 6px;
}

.doc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9E0DA;
  position: relative;
}

.doc-dot.active {
  background: var(--color-performing);
}

.doc-dot[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: #24312B;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 5;
}

.doc-dot:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.docs-count-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Card Actions */
.note-card-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.note-card-actions button {
  flex: 1;
}

/* Empty Marketplace State */
.no-results {
  text-align: center;
  padding: 60px 0;
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.no-results-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================
   NOTE CALCULATOR VIEW
   ========================================== */
.calc-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

.calc-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.calc-panel h3 {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.input-suffix {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.input-field {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
}

.input-group .input-field {
  padding-left: 28px;
}

.input-group.has-suffix .input-field {
  padding-right: 32px;
}

/* Solve Mode Switcher */
.solve-switch {
  display: flex;
  background: #EDF2EE;
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.solve-btn {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.solve-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--glow-shadow-blue);
}

/* Calculator Results Display */
.calc-results {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.result-card {
  background: #F1F4F1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.result-card .value {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}

.result-card .value.blue {
  color: var(--accent-blue);
}

/* Visualization Graph (SVG representation) */
.visualization-box {
  background: #F1F4F1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.visual-title {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.chart-placeholder {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-top: 20px;
}

.chart-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.85));
  border-radius: 4px 4px 0 0;
  transition: height var(--transition-slow);
}

.chart-bar.interest {
  background: linear-gradient(to top, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.85));
}

.chart-bar-container:hover .chart-bar {
  opacity: 0.9;
}

.chart-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 5px);
  background: #24312B;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.chart-bar-container:hover .chart-bar-tooltip {
  opacity: 1;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

/* ==========================================
   SELL OPPORTUNITY WIZARD VIEW
   ========================================== */
.wizard-layout {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

/* Progress Tracker */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 48px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #D9E0DA;
  z-index: 1;
}

.wizard-progress-bar {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  z-index: 2;
  transition: width var(--transition-normal);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid #D9E0DA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-header);
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  white-space: nowrap;
  transition: color var(--transition-normal);
}

.progress-step.active .step-circle {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow-shadow-blue);
  background: var(--bg-surface);
}

.progress-step.active .step-label {
  color: var(--primary);
}

.progress-step.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.progress-step.completed .step-label {
  color: var(--text-main);
}

/* Wizard Form Sections */
.wizard-section {
  display: none;
}

.wizard-section.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.wizard-section h3 {
  margin-bottom: 24px;
}

/* File Upload Box */
.file-upload-drag {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  background: #F1F4F1;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 24px;
}

.file-upload-drag:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.02);
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.file-list {
  margin-top: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F4F1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.file-remove {
  color: var(--color-danger);
  cursor: pointer;
}

/* Wizard Actions Buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* Success Wizard State */
.wizard-success {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-performing);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  box-shadow: var(--glow-shadow-emerald);
}

.success-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ==========================================
   CONTACT VIEW
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-item-content p {
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.contact-form textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #111827;
  color: #7C8A82;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p {
  margin-bottom: 24px;
  max-width: 320px;
  color: #D9E0DA;
}

.footer-heading {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #55635B;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================
   MODAL WINDOWS
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-main);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

/* Bidding Dialog inside Modal */
.bidding-box {
  display: flex;
  flex-direction: column;
  height: 350px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 24px;
  background: #F1F4F1;
}

.bidding-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.message-bubble.broker {
  background: #ffffff;
  color: #24312B;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #D9E0DA;
}

.message-bubble.user {
  background: #fef08a; /* Soft light gold */
  color: #C98218; /* Deep golden text */
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  border: 1px solid rgba(245,158,11, 0.3);
}

.message-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.bidding-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border-color);
  gap: 10px;
}

.bidding-input-area input {
  flex-grow: 1;
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .marketplace-layout {
    grid-template-columns: 1fr;
  }
  .marketplace-filters {
    position: static;
    margin-bottom: 24px;
  }
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta button {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .process-steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .wizard-layout {
    padding: 24px;
  }
  .wizard-progress {
    margin-bottom: 32px;
  }
  .step-label {
    display: none;
  }
}

/* ==========================================
   TOAST NOTIFICATION STYLES
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  background: #24312B;
  color: white;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-size: 0.9rem;
}

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-title {
  font-weight: 700;
  font-family: var(--font-header);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg {
  color: #7C8A82;
  line-height: 1.4;
}

.toast-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 4px;
  align-self: flex-start;
  font-size: 0.85rem;
}

.toast-link:hover {
  color: #7dd3fc;
}

/* ==========================================
   ADMIN CONSOLE DASHBOARD STYLES (Paperstac Inspired)
   ========================================== */
.admin-dashboard-container {
  display: flex;
  height: calc(100vh - 80px);
  min-height: 600px;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.admin-sidebar {
  width: 360px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.admin-sidebar-header h3 {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
}
.admin-sidebar-header p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.admin-feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(0,0,0,0.01);
}
.feed-tab {
  flex: 1;
  padding: 14px 6px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.feed-tab:hover {
  color: var(--text-main);
}
.feed-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.admin-feed-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.feed-item-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.feed-item-card.active {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.03);
  box-shadow: 0 0 0 1px var(--primary);
}

.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.feed-card-address {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.feed-card-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}
.feed-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.admin-workspace {
  flex-grow: 1;
  overflow-y: auto;
  background-color: #F1F4F1;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.workspace-empty-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  text-align: center;
  padding: 40px;
}
.workspace-empty-state h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.workspace-empty-state p {
  max-width: 400px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.workspace-detail-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.workspace-header-title h2 {
  font-family: var(--font-header);
  font-size: 1.35rem;
  font-weight: 700;
}
.workspace-header-title p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.workspace-detail-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
}
.workspace-tab {
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}
.workspace-tab:hover {
  color: var(--text-main);
}
.workspace-tab.active {
  color: var(--text-main);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

/* Closing terms metadata table */
.closing-breakdown {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}
.closing-breakdown th, .closing-breakdown td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.closing-breakdown th {
  color: var(--text-secondary);
  font-weight: 600;
}
.closing-breakdown tr.total-row td {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  border-top: 2px solid var(--border-color);
}

.transaction-id-box {
  background-color: #EDF2EE;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-main);
  border: 1px dashed var(--border-color);
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.date-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
}
.date-box-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.date-box-value {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}

/* ==========================================
   USER PORTAL / DASHBOARD SYSTEM
   ========================================== */
.portal-metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.portal-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.portal-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-header);
  color: var(--primary);
  margin-top: 8px;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.88rem;
}
.portal-table th, .portal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.portal-table th {
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-main);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}
.portal-table tbody tr:hover {
  background-color: rgba(29, 78, 216, 0.02);
}
.portal-status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.portal-status-badge.active { background-color: rgba(29, 158, 117, 0.1); color: var(--color-performing); }
.portal-status-badge.pending { background-color: rgba(186, 117, 23, 0.1); color: #C98218; }
.portal-status-badge.negotiating { background-color: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.portal-status-badge.closed { background-color: rgba(107, 114, 128, 0.1); color: var(--text-secondary); }
.portal-status-badge.sold { background-color: rgba(220, 38, 38, 0.12); color: #B3372C; }

@media (max-width: 900px) {
  .portal-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .portal-workspace-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Pricing SaaS Cards */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow);
}
.recommended-plan {
  border: 2px solid var(--primary) !important;
}
.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-header {
  margin-bottom: 24px;
}
.plan-header h3 {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}
.price-amount span:first-child {
  font-size: 1.5rem;
  font-weight: 600;
}
.price-amount span:last-child {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.plan-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.plan-features {
  margin-bottom: 32px;
}
.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: left;
}
.plan-features li svg {
  color: var(--color-performing);
  flex-shrink: 0;
}
.plan-features li.muted-feature {
  color: var(--text-muted);
  text-decoration: line-through;
}
.plan-features li.muted-feature svg {
  color: var(--color-danger);
}
.btn-pricing {
  width: 100%;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 14px !important;
  }
  .nav-link {
    font-size: 0.9rem !important;
  }
  .nav-cta {
    gap: 12px !important;
  }
}
@media (max-width: 1100px) {
  .nav-menu {
    gap: 10px !important;
  }
  .nav-link {
    font-size: 0.85rem !important;
  }
  .nav-cta {
    gap: 8px !important;
  }
  .nav-cta button {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* Statistics Section */
.stats-section {
  background-color: var(--primary);
  padding: 40px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-section {
    padding: 30px 0;
    margin-top: 0;
  }
  .stat-number {
    font-size: 2.5rem;
  }
}


/* Deal-status aliases retained for backward compatibility. */
.note-badge.available { background: rgba(5, 150, 105, 0.12); color: var(--color-performing); border-color: rgba(5,150,105,0.2); }
.note-badge.under-review { background: rgba(217, 119, 6, 0.12); color: var(--color-non-performing); border-color: rgba(217,119,6,0.2); }
@media (max-width: 700px) {
  #wizard-step-2 > div[style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}


/* ==========================================
   DISPO CENTRAL PROFESSIONAL EXPERIENCE
   ========================================== */
.live-deal-ticker{position:fixed;inset:0 0 auto 0;height:36px;background:#0A1811;color:#fff;z-index:1100;border-bottom:1px solid rgba(255,255,255,.08);overflow:hidden}
.ticker-shell{height:100%;display:flex;align-items:center;max-width:100vw;margin:auto}
.ticker-status{height:100%;padding:0 22px;display:flex;align-items:center;gap:8px;color:#d7dee9;background:#111827;border-right:1px solid rgba(255,255,255,.08);font-size:.72rem;letter-spacing:.12em;flex:0 0 auto}
.ticker-live-dot{width:7px;height:7px;border-radius:50%;background:#10B981;box-shadow:0 0 0 4px rgba(16,185,129,.12);animation:pulse-dot 1.4s infinite}
.ticker-viewport{overflow:hidden;min-width:0;flex:1;mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent)}
.ticker-track{display:flex;align-items:center;width:max-content;animation:dealTicker 42s linear infinite;will-change:transform}
.ticker-track:hover{animation-play-state:paused}
.ticker-track span{font-family:var(--font-header);font-size:.72rem;font-weight:700;white-space:nowrap;color:#E7ECE7;padding:0 22px}
.ticker-track em{font-style:normal;color:#7f8a9a;font-weight:500;margin:0 4px}
.ticker-track i{width:1px;height:14px;background:rgba(255,255,255,.11)}
@keyframes dealTicker{to{transform:translateX(-50%)}}

.brand-logo{gap:9px!important;color:#fff;min-width:235px}
.brand-mark{width:44px;height:38px;color:#E4622E;filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
.brand-copy{display:inline-flex;align-items:flex-end;line-height:1;white-space:nowrap}
.brand-main{font-family:var(--font-header);font-size:1.02rem;font-weight:400;letter-spacing:.11em;color:#fff}
.brand-dotcom{font-family:var(--font-body);font-size:.56rem;font-weight:500;color:#E4622E;margin:0 0 -5px 4px;letter-spacing:.04em}
.header{box-shadow:0 8px 30px rgba(3,10,20,.12)}
.header.scrolled{top:36px}

.eyebrow{display:inline-block;color:var(--primary);font-family:var(--font-header);font-weight:800;font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.section-heading{max-width:700px;margin-bottom:34px}
.split-heading{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:40px}
.split-heading>p,.split-heading>div>p{max-width:560px;color:var(--text-secondary)}

.market-map-section{padding:72px 0;background:linear-gradient(180deg,#0A1811 0%,#111827 100%);position: relative;overflow:hidden}
.market-map-section:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(245,158,11,.10);filter:blur(90px);right:-180px;top:-200px}
.map-panel{position: relative;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:48px;align-items:center;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:50px;box-shadow:0 28px 70px rgba(0,0,0,.24)}
.map-copy h2{background:none;-webkit-text-fill-color:initial;color:#fff;font-size:clamp(2rem,4vw,3.4rem);margin-bottom:14px}
.map-copy>p{color:#b7c2d3;max-width:520px}
.selected-market-card{margin:28px 0 22px;padding:20px 22px;border-radius:16px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}
.selected-market-label{font-size:.68rem;color:#93a3b8;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.selected-market-card strong{font-family:var(--font-header);color:#fff;font-size:1.72rem;letter-spacing:.04em;margin:3px 0}
.selected-market-card>span:last-child{color:#a9b6c8;font-size:.84rem}
.map-actions{display:flex;flex-wrap:wrap;gap:10px}.map-actions .btn-secondary{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.04)}
.map-legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:20px;color:#7C8A82;font-size:.72rem}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#53657a;margin-right:6px}.legend-dot.active{background:#E4622E;box-shadow:0 0 0 4px rgba(245,158,11,.12)}
.map-stage{min-width:0;position:relative}.usa-map-svg{display:block;width:100%;height:auto;overflow:visible}
.us-state{fill:#e1e8f0;stroke:#fff;stroke-width:1.4;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .2s ease,transform .2s ease,filter .2s ease;transform-box:fill-box;transform-origin:center}
.us-state:hover{fill:#f0cd5f;filter:drop-shadow(0 5px 6px rgba(0,0,0,.24));transform:translateY(-2px)}
.us-state.selected{fill:#E4622E;filter:drop-shadow(0 8px 9px rgba(0,0,0,.3))}
.map-deal-marker{cursor:pointer;pointer-events:auto}.map-deal-marker circle{fill:#111827;stroke:#E4622E;stroke-width:4;vector-effect:non-scaling-stroke}.map-deal-marker text{fill:#fff;font-size:9px;font-family:var(--font-header);font-weight:800;text-anchor:middle;pointer-events:none}.map-deal-marker:hover circle{fill:#E4622E}.map-deal-marker:hover text{fill:#0A1811}

.buyer-intelligence-section{padding:76px 0;background:#fff;border-bottom:1px solid var(--border-color)}
.intelligence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.intelligence-card{display:flex;gap:20px;padding:28px;border:1px solid var(--border-color);border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.055);transition:.25s ease}
.intelligence-card:hover{transform:translateY(-5px);border-color:rgba(245,158,11,.4);box-shadow:0 20px 44px rgba(15,23,42,.1)}
.intelligence-icon{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#111827,#374151);display:grid;place-items:center;flex:0 0 auto;box-shadow:0 9px 22px rgba(11,31,58,.2)}
.intelligence-icon svg{width:27px;height:27px;fill:none;stroke:#E4622E;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.intelligence-card h3{font-size:1.08rem;margin-bottom:6px}.intelligence-card p{font-size:.86rem;color:var(--text-secondary)}

.reviews-section{padding:82px 0 96px;background:linear-gradient(180deg,#F1F4F1,#eef3f8);overflow:hidden;border-top:1px solid var(--border-color)}
.reviews-heading{text-align:center;max-width:700px}.reviews-heading p{color:var(--text-secondary)}
.reviews-viewport{overflow:hidden;margin-top:35px;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent)}
.reviews-track{display:flex;gap:22px;width:max-content;padding:10px 0 28px;animation:reviewScroll 58s linear infinite}
.reviews-track:hover{animation-play-state:paused}
@keyframes reviewScroll{to{transform:translateX(-50%)}}
.review-card{width:345px;min-height:260px;padding:27px;border-radius:18px;border:1px solid rgba(15,23,42,.09);background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.065);display:flex;flex-direction:column}
.review-top{display:flex;align-items:center;justify-content:space-between}.review-stars{color:#e2a716;letter-spacing:2px;font-size:.86rem}.review-verified{font-size:.65rem;color:#10B981;background:#ecfdf5;border-radius:999px;padding:4px 8px;font-weight:700}.review-card h3{font-size:1.05rem;margin:18px 0 10px}.review-card p{font-size:.87rem;color:var(--text-secondary);flex:1}.review-person{display:flex;flex-direction:column;border-top:1px solid var(--border-color);padding-top:15px;margin-top:19px}.review-person span{font-weight:700;font-size:.85rem}.review-person small{color:var(--text-muted);font-size:.72rem}

.sold-hero{padding:92px 0 68px;background:linear-gradient(135deg,#0A1811,#111827);color:#fff;position: relative;overflow:hidden}.sold-hero:after{content:"";position:absolute;right:-100px;bottom:-270px;width:520px;height:520px;border-radius:50%;background:rgba(245,158,11,.13);filter:blur(50px)}.sold-hero h1{color:#fff;font-size:clamp(2.6rem,6vw,4.4rem)}.sold-hero p{color:#b8c4d4;max-width:650px;font-size:1.05rem}.sold-hero-stats{display:flex;flex-wrap:wrap;gap:30px;margin-top:32px}.sold-hero-stats span{color:#aab6c7;font-size:.8rem}.sold-hero-stats strong{color:#E4622E;font-family:var(--font-header);font-size:1.15rem;margin-right:5px}
.sold-properties-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.sold-property-card{overflow:hidden;border:1px solid var(--border-color);border-radius:20px;background:#fff;box-shadow:var(--glass-shadow);transition:.25s ease}.sold-property-card:hover{transform:translateY(-6px);box-shadow:0 24px 55px rgba(15,23,42,.13)}.sold-property-image{height:220px;position: relative;overflow:hidden;background:#D9E0DA}.sold-property-image img{width:100%;height:100%;object-fit:cover;transition:.45s ease}.sold-property-card:hover img{transform:scale(1.035)}.sold-ribbon{position:absolute;top:16px;left:16px;background:#111827;color:#E4622E;font-size:.7rem;font-weight:800;letter-spacing:.12em;padding:8px 12px;border-radius:999px;box-shadow:0 7px 18px rgba(0,0,0,.2)}.sold-property-body{padding:22px}.sold-card-title{display:flex;justify-content:space-between;gap:12px}.sold-card-title h3{font-size:1.15rem}.sold-card-title p{font-size:.78rem;color:var(--text-muted)}.sold-close-time{height:fit-content;background:#ecfdf5;color:#10B981;padding:5px 9px;border-radius:999px;font-size:.65rem;font-weight:700;white-space:nowrap}.sold-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.sold-numbers div{padding:13px;background:#F1F4F1;border-radius:11px}.sold-numbers span{display:block;color:var(--text-muted);font-size:.66rem;text-transform:uppercase;letter-spacing:.07em}.sold-numbers strong{font-size:.91rem}.sold-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border-color);padding-top:15px;color:var(--text-muted);font-size:.72rem}.sold-footer button{color:#111827;font-weight:800}.sold-cta{margin-top:60px;padding:38px 42px;border-radius:22px;background:linear-gradient(135deg,#111827,#374151);display:flex;align-items:center;justify-content:space-between;gap:30px}.sold-cta h2{background:none;-webkit-text-fill-color:initial;color:#fff;margin:0;max-width:720px}

.share-modal-content{max-width:600px!important;padding:34px!important}.share-link-row{display:flex;gap:10px;margin:24px 0}.share-link-row input{font-size:.78rem;background:#F1F4F1}.share-options{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.share-options button{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--border-color);border-radius:12px;background:#fff;font-size:.8rem;font-weight:700;transition:.2s ease}.share-options button:hover{border-color:#E4622E;background:#fffaf0;transform:translateY(-2px)}.share-options button span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#E4622E;font-weight:800}.share-tip{margin-top:18px;padding:12px 14px;border-radius:10px;background:#F1F4F1;color:var(--text-muted);font-size:.72rem}.btn-share{display:inline-flex;align-items:center;gap:6px}

.note-card{position: relative;overflow:hidden}.note-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#111827,#E4622E);opacity:.8}.note-card-actions{flex-wrap:wrap}.note-card-actions .btn{flex:1;min-width:100px}

@media(max-width:1100px){.map-panel{grid-template-columns:1fr;padding:38px}.map-stage{max-width:820px;margin:auto}.intelligence-grid{grid-template-columns:1fr}.sold-properties-grid{grid-template-columns:repeat(2,1fr)}.brand-logo{min-width:auto}.brand-main{font-size:.9rem}.nav-menu{gap:12px}}
@media(max-width:700px){.main-content{padding-top: 0px}.live-deal-ticker{height:32px}.header,.header.scrolled{top:32px}.ticker-status{padding:0 12px}.ticker-track span{padding:0 14px}.map-panel{padding:25px 18px;border-radius:20px}.map-copy h2{font-size:2.15rem}.map-actions{flex-direction:column}.map-actions .btn{width:100%}.split-heading{display:block}.split-heading>p{margin-top:10px}.sold-properties-grid{grid-template-columns:1fr}.sold-property-image{height:230px}.sold-cta{padding:28px 22px;display:block}.sold-cta .btn{margin-top:20px;width:100%}.sold-hero-stats{gap:14px;flex-direction:column}.share-link-row{flex-direction:column}.share-options{grid-template-columns:repeat(2,1fr)}.review-card{width:290px;min-height:280px}.brand-mark{width:36px}.brand-main{font-size:.78rem}.brand-dotcom{display:none}}
@media(prefers-reduced-motion:reduce){.ticker-track,.reviews-track{animation:none}.ticker-viewport,.reviews-viewport{overflow-x:auto;mask-image:none}}


/* ===== Complete Revision: Pictures, Map Label & Favorites ===== */
.map-stage{position: relative;isolation:isolate}.map-selected-overlay{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:3;pointer-events:none;max-width:88%;text-align:center;color:#fff;font-family:var(--font-header);font-size:clamp(2rem,5.5vw,4.8rem);font-weight:900;letter-spacing:.025em;text-shadow:0 4px 22px rgba(5,16,30,.72),0 1px 2px rgba(5,16,30,.9);line-height:.95;opacity:.94;white-space:nowrap}.map-selected-overlay.pulse{animation:mapNamePulse .55s ease}@keyframes mapNamePulse{0%{opacity:0;transform:translate(-50%,-44%) scale(.94)}100%{opacity:.94;transform:translate(-50%,-50%) scale(1)}}
.nav-favorites-link{align-items:center;gap:6px;white-space:nowrap}.nav-favorites-link>span{color:#E4622E;font-size:1.15rem}.favorites-count-badge{min-width:20px;height:20px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:#E4622E;color:#111827;font-size:.66rem;line-height:1;font-weight:900}
.wizard-progress-five .progress-step, .wizard-progress-six .progress-step{min-width:0}.wizard-progress-five .step-label, .wizard-progress-six .step-label{font-size:.68rem}.wizard-step-intro{margin-bottom:20px;max-width:760px}.property-photo-drop{border:2px dashed #9fb0c5;border-radius:16px;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;cursor:pointer;background:linear-gradient(180deg,#fbfdff,#f4f8fc);transition:.2s ease;color:var(--text-secondary)}.property-photo-drop:hover,.property-photo-drop.dragging{border-color:var(--primary);background:#eef5ff;box-shadow:0 0 0 4px rgba(245,158,11,.12)}.property-photo-drop strong{color:var(--text-main);font-size:1rem;margin:8px 0 4px}.property-photo-drop span{font-size:.86rem}.property-photo-drop small{margin-top:10px;color:var(--text-muted)}.property-photo-toolbar{display:flex;justify-content:space-between;align-items:center;margin:16px 0 10px;font-size:.78rem;color:var(--text-secondary)}.photo-clear-btn{border:0;background:none;color:#B3372C;font-weight:700;cursor:pointer}.property-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.photo-empty-state{grid-column:1/-1;min-height:130px;border:1px solid var(--border-color);border-radius:14px;background:#F1F4F1;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--text-muted);gap:8px}.photo-empty-state span{font-size:1.7rem}.property-photo-card{position: relative;border-radius:14px;overflow:hidden;background:#111827;aspect-ratio:4/3;border:2px solid transparent;box-shadow:0 6px 16px rgba(15,23,42,.12)}.property-photo-card.cover{border-color:#E4622E;box-shadow:0 0 0 3px rgba(245,158,11,.18),0 8px 22px rgba(15,23,42,.16)}.property-photo-card>img{width:100%;height:100%;object-fit:cover;display:block}.photo-card-top{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:8px;background:linear-gradient(180deg,rgba(4,12,24,.78),transparent);color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.05em}.photo-card-top button{width:26px;height:26px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#B3372C;font-size:1.1rem;cursor:pointer}.photo-card-actions{position:absolute;left:7px;right:7px;bottom:7px;display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-card-actions button{border:0;border-radius:7px;padding:6px 8px;background:rgba(255,255,255,.94);color:#111827;font-size:.66rem;font-weight:800;cursor:pointer}.photo-card-actions button:disabled{opacity:.5;cursor:default}.photo-card-actions span{display:flex;gap:4px}.photo-upload-note{margin-top:15px;padding:13px 15px;border-radius:11px;background:#fff8df;border:1px solid #f0d27a;color:#5c4a12;font-size:.76rem}
.note-card{overflow:hidden}.note-card-media{height:168px;margin:-1px -1px 18px;position: relative;overflow:hidden;background:linear-gradient(135deg,#111827,#294564)}.note-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.note-card:hover .note-card-media img{transform:scale(1.035)}.note-card-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(245,158,11,.28),transparent 30%),linear-gradient(145deg,#111827,#1d3b5d)}.note-card-placeholder span{font:900 2.4rem var(--font-header);letter-spacing:.05em}.note-card-placeholder small{letter-spacing:.14em;opacity:.75}.favorite-heart{position:absolute;right:12px;top:12px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;font-size:1.45rem;color:#374151;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.18);transition:.2s}.favorite-heart:hover{transform:scale(1.06)}.favorite-heart.active{background:#E4622E;color:#111827;border-color:#E4622E}
.detail-gallery{grid-template-columns:minmax(0,1fr) 94px;gap:10px;margin:0 0 22px}.detail-gallery-main{height:270px;border-radius:14px;overflow:hidden;background:#e9eef4}.detail-gallery-main img{width:100%;height:100%;object-fit:cover}.detail-gallery-thumbs{display:flex;flex-direction:column;gap:7px;max-height:270px;overflow:auto}.detail-gallery-thumbs button{border:2px solid transparent;padding:0;border-radius:8px;overflow:hidden;background:none;cursor:pointer;min-height:57px}.detail-gallery-thumbs button.active{border-color:#E4622E}.detail-gallery-thumbs img{width:100%;height:57px;object-fit:cover;display:block}
.favorites-hero{background:linear-gradient(135deg,#0A1811,#111827 65%,#374151);color:#fff;padding:58px 0}.favorites-hero h1{color:#fff;font-size:clamp(2.1rem,5vw,3.6rem);margin:.2rem 0 .7rem}.favorites-hero p{color:#b9c6d7;max-width:700px}.favorites-hero-inner{display:grid;grid-template-columns:1fr 240px;gap:40px;align-items:center}.favorites-summary-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:22px;display:flex;flex-direction:column}.favorites-summary-card span{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#E4622E;font-weight:800}.favorites-summary-card strong{font-size:3.2rem;line-height:1.1}.favorites-summary-card small{color:#b9c6d7}.favorites-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.favorites-toolbar p{margin:4px 0 0}.favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.favorite-property-card{background:#fff;border:1px solid var(--border-color);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.08);transition:.2s}.favorite-property-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(15,23,42,.13)}.favorite-property-media{height:190px;position: relative;background:#111827}.favorite-property-media>img{width:100%;height:100%;object-fit:cover}.favorite-property-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;background:radial-gradient(circle at 70% 25%,rgba(245,158,11,.3),transparent 32%),linear-gradient(145deg,#111827,#374151)}.favorite-property-placeholder b{font-size:2.4rem}.favorite-property-placeholder span{font-size:.66rem;letter-spacing:.14em}.favorite-property-media>button{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:#E4622E;color:#111827;font-size:1.35rem;cursor:pointer}.favorite-status{position:absolute;left:12px;top:13px;border-radius:20px;padding:6px 10px;background:#fff;color:#111827;font-size:.65rem;font-weight:900;text-transform:uppercase}.favorite-status.sold{background:#B3372C;color:#fff}.favorite-property-body{padding:20px}.favorite-location{font-size:.7rem;color:#E4622E;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.favorite-property-body h3{font-size:1.08rem;margin:5px 0}.favorite-property-body p{font-size:.78rem}.favorite-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.favorite-metrics span{padding:11px;background:#f5f7fa;border-radius:10px}.favorite-metrics small{display:block;color:var(--text-muted);font-size:.6rem}.favorite-metrics strong{font-size:.95rem}.favorite-actions{display:flex;gap:8px}.favorite-actions .btn{flex:1;justify-content:center}.favorites-empty{grid-column:1/-1;text-align:center;padding:80px 24px;border:1px dashed #bac6d4;border-radius:20px;background:#F1F4F1}.favorites-empty-icon{font-size:4rem;color:#E4622E;line-height:1}.favorites-empty h3{margin:12px 0 6px}.favorites-empty p{margin-bottom:20px}
@media(max-width:1024px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-selected-overlay{font-size:clamp(1.8rem,6vw,3.7rem)}}
@media(max-width:700px){.wizard-progress-five .step-label, .wizard-progress-six .step-label{display:none}.property-photo-grid{grid-template-columns:1fr 1fr}.favorites-hero-inner{grid-template-columns:1fr}.favorites-summary-card{max-width:240px}.favorites-toolbar{align-items:flex-start;gap:15px;flex-direction:column}.favorites-grid{grid-template-columns:1fr}.detail-gallery{grid-template-columns:1fr}.detail-gallery-main{height:220px}.detail-gallery-thumbs{flex-direction:row;max-height:none;overflow-x:auto}.detail-gallery-thumbs button{min-width:75px}.map-selected-overlay{top:44%;font-size:clamp(1.5rem,8vw,2.5rem);white-space:normal}.nav-favorites-link{margin-right:8px!important}.note-card-media{height:190px}}

/* ========================================================================
   DISPO CENTRAL PROFESSIONAL ACCOUNT EXPERIENCE
   ======================================================================== */
.nav-account-actions{display:flex;align-items:stretch;gap:4px;margin-left:auto;height:72px}
.account-icon-action{position: relative;min-width:64px;border:0;background:transparent;color:#eef5ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 7px;cursor:pointer;border-radius:10px;font-family:var(--font-header);transition:background .2s,transform .2s,opacity .2s}
.account-icon-action:hover{background:rgba(255,255,255,.09);transform:translateY(-1px)}
.account-icon-action small{font-size:.69rem;font-weight:650;line-height:1;color:inherit}
.account-icon-wrap{position: relative;width:26px;height:26px;display:grid;place-items:center}
.account-icon-wrap svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-count{display:none;position:absolute;right:-9px;top:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#B3372C;color:white;font-size:.62rem;line-height:18px;text-align:center;box-shadow:0 0 0 2px #111827}
.account-icon-action.is-locked{opacity:.48;cursor:not-allowed}
.account-icon-action.is-locked:after{content:'•';position:absolute;right:11px;top:9px;color:#f2c94c;font-size:1.25rem}
.account-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#e6b31e,#fff0a5);border:2px solid rgba(255,255,255,.9);color:#111827;font-weight:800;display:grid;place-items:center;font-size:.8rem;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.account-icon-action.is-signed-in .account-avatar{background:linear-gradient(135deg,#fff,#dce9f6)}
.profile-panel{display:none;position:fixed;right:26px;top:118px;width:330px;max-height:calc(100vh - 138px);overflow:auto;background:#fff;border:1px solid #D9E0DA;border-radius:12px;box-shadow:0 20px 55px rgba(7,25,49,.25);z-index:3100;color:#24312B}
.profile-panel.open{display:block;animation:profilePanelIn .18s ease-out}
@keyframes profilePanelIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.profile-panel-head{display:flex;gap:12px;align-items:center;padding:18px;border-bottom:1px solid #D9E0DA}
.profile-panel-head>div:nth-child(2){min-width:0;flex:1}
.profile-panel-head strong,.profile-panel-head span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-panel-head strong{font-size:1.05rem}.profile-panel-head span{font-size:.78rem;color:#55635B;margin-top:3px}
.profile-panel-head>button{border:0;background:transparent;font-size:1.45rem;color:#55635B;cursor:pointer}
.profile-large-avatar{width:52px;height:52px;flex:none;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#E4622E,#fff0a2);color:#111827;font-weight:850;border:2px solid #fff;box-shadow:0 0 0 2px #E4622E}
.profile-edit-cta{display:block;width:calc(100% - 32px);margin:14px 16px;background:#374151;color:#fff;border:0;border-radius:6px;padding:12px;font-weight:750;cursor:pointer}
.profile-verification-strip{margin:0 14px 10px;border:1px solid #f2d56f;background:#fff8d4;border-radius:8px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;cursor:pointer}
.profile-verification-strip>span{color:#374151;font-size:1.25rem}.profile-verification-strip strong,.profile-verification-strip small{display:block}.profile-verification-strip strong{font-size:.75rem}.profile-verification-strip small{font-size:.66rem;color:#55635B;margin-top:2px}.profile-verification-strip>b{font-size:.68rem;color:#374151;text-align:right}
.profile-verification-strip.is-verified{background:#eaf9f1;border-color:#90d8b1}.profile-verification-strip.is-verified>b{color:#10B981}
.profile-menu-list{padding:5px 0 10px}
.profile-menu-list button{width:100%;border:0;background:#fff;display:flex;gap:13px;align-items:center;padding:12px 19px;font-size:.91rem;color:#24312B;cursor:pointer;text-align:left}
.profile-menu-list button:hover{background:#eaf3fc}.profile-menu-list button span{width:22px;font-size:1.05rem}.profile-menu-list .profile-logout{border-top:1px solid #D9E0DA;margin-top:4px;color:#B3372C}

#marketplace-view{position: relative;min-height:760px}
.marketplace-lock{display:none;position:absolute;inset:0;z-index:60;align-items:flex-start;justify-content:center;padding:120px 18px 50px;background:rgba(247,250,253,.32);backdrop-filter:blur(1px)}
body.is-guest #marketplace-view.active>.container.section{filter:blur(7px);opacity:.62;pointer-events:none;user-select:none}
body.is-guest #marketplace-view.active .marketplace-lock{display:flex}
.marketplace-lock-card{max-width:560px;text-align:center;background:rgba(255,255,255,.96);border:1px solid #D9E0DA;border-radius:18px;padding:34px;box-shadow:0 25px 70px rgba(9,30,58,.22)}
.marketplace-lock-card h2{font-size:1.8rem;margin:9px 0}.marketplace-lock-card p{color:#55635B;line-height:1.65}.lock-emblem{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#111827;font-size:1.45rem;box-shadow:0 0 0 7px #e8eff7}.lock-actions{display:flex;justify-content:center;gap:12px;margin:22px 0 14px}.marketplace-lock-card small{color:#55635B}

#dashboard-view>.container.section{display:none!important}
.pro-dashboard{padding:38px 0 70px;background:#F1F4F1;min-height:720px}.pro-dashboard-inner{max-width:1370px}
.dashboard-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.dashboard-title-row h1{font-size:2.3rem;margin:3px 0}.dashboard-title-row p{color:#55635B}
.dashboard-promos{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.dashboard-promo{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center;background:#fff;border:1px solid #D9E0DA;border-radius:12px;padding:18px 20px;box-shadow:0 6px 18px rgba(20,45,75,.05)}.dashboard-promo h3{font-size:1.05rem;margin:0 0 3px}.dashboard-promo p{font-size:.83rem;color:#55635B}.promo-icon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:#e7f2ff;color:#374151;font-size:1.45rem}.package-promo .promo-icon{background:#fff4cf;color:#E4622E}
.dashboard-usage-card{background:#102846;color:#fff;border-radius:12px;padding:17px 20px;display:grid;grid-template-columns:220px 1fr auto;gap:18px;align-items:center;margin-bottom:24px}.dashboard-usage-card span,.dashboard-usage-card strong{display:block}.dashboard-usage-card span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#a8bad0}.dashboard-usage-card strong{margin-top:4px}.dashboard-usage-card small{color:#d1dce8}.usage-meter{height:9px;border-radius:7px;background:rgba(255,255,255,.16);overflow:hidden}.usage-meter i{display:block;height:100%;width:0;background:#e1b321;border-radius:7px;transition:width .3s}
.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 15px}.dashboard-search{width:300px;display:flex;align-items:center;border:1px solid #cfd9e4;background:#fff;border-radius:8px;padding:0 12px}.dashboard-search input{border:0;outline:0;width:100%;padding:12px;background:transparent}.dashboard-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.dashboard-filter-tabs button{border:1px solid #9daabd;border-radius:20px;background:#fff;padding:8px 13px;cursor:pointer;font-weight:650;color:#27374c}.dashboard-filter-tabs button.active{background:#E6F0EA;border-color:#E6F0EA;color:#0b4d94}.dashboard-filter-tabs b{font-size:.7rem;margin-left:4px}
.dashboard-deal-list{display:flex;flex-direction:column;gap:13px}.dashboard-listing-row{display:grid;grid-template-columns:150px 1fr 135px 145px 185px;gap:18px;align-items:center;background:#fff;border:1px solid #D9E0DA;border-left:5px solid #1682d4;border-radius:8px;padding:12px 15px;box-shadow:0 4px 14px rgba(20,45,75,.04)}.dashboard-listing-row.status-sold{border-left-color:#10B981}.dashboard-listing-row.status-inactive{border-left-color:#B3372C}.dashboard-listing-row.status-under-review{border-left-color:#db9c00}.dashboard-listing-row img{width:150px;height:92px;object-fit:cover;border-radius:6px}.dashboard-listing-main h3{font-size:1rem;margin-bottom:5px}.dashboard-listing-main p,.dashboard-listing-main small{display:block;color:#6b7c90;font-size:.78rem}.dashboard-listing-stat span,.dashboard-listing-stat strong{display:block}.dashboard-listing-stat span{font-size:.68rem;color:#75859a;text-transform:uppercase;letter-spacing:.06em}.dashboard-listing-stat strong{font-size:.92rem;margin-top:4px}.listing-status-pill{display:inline-flex;padding:6px 10px;border-radius:18px;background:#e8f7ef;color:#087344;font-size:.7rem;font-weight:800;text-transform:uppercase}.listing-row-actions{display:flex;gap:7px;flex-wrap:wrap}.listing-row-actions button{border:1px solid #aebac8;background:#fff;border-radius:6px;padding:7px 9px;cursor:pointer;font-size:.72rem}.listing-row-actions button.primary{border-color:#374151;color:#374151;font-weight:700}.dashboard-empty{background:#fff;border:1px dashed #bdc8d5;border-radius:12px;padding:55px;text-align:center;color:#6b7b8e}

.chat-page-shell{padding-top:34px;padding-bottom:60px;max-width:1470px}.chat-page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.chat-page-heading h1{font-size:2.1rem}.chat-security-note{font-size:.78rem;color:#617188;background:#edf4fb;padding:9px 12px;border-radius:7px}.chat-workspace{height:690px;border:1px solid #d6dce4;background:#fff;display:grid;grid-template-columns:420px 1fr;box-shadow:0 15px 38px rgba(10,30,55,.09);overflow:hidden}.chat-inbox-panel{border-right:1px solid #d6dce4;display:flex;min-width:0;flex-direction:column}.chat-inbox-head{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e1e6ec}.chat-inbox-head h2{font-size:1.25rem}.chat-inbox-head h2 b{font-size:.7rem;background:#374151;color:#fff;border-radius:12px;padding:4px 8px;margin-left:6px}.chat-inbox-head button,.chat-header-actions button{border:0;background:transparent;font-size:1.2rem;cursor:pointer;padding:4px}.chat-role-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dce2e8}.chat-role-tabs button{padding:13px;border:0;background:#f5f7fa;font-weight:800;cursor:pointer}.chat-role-tabs button.active{background:#fff;color:#374151;border-bottom:3px solid #374151}.chat-role-help{padding:9px 15px;background:#fff9dc;color:#6f5a0a;font-size:.72rem}.chat-search{display:flex;align-items:center;margin:12px 15px 7px;border:1px solid #cdd6e0;border-radius:7px;padding:0 10px}.chat-search input{width:100%;border:0;outline:0;padding:10px;background:transparent}.chat-quick-filters{display:flex;gap:7px;padding:4px 15px 12px;overflow:auto}.chat-quick-filters button{white-space:nowrap;border:1px solid #8290a2;border-radius:18px;background:#fff;padding:7px 11px;font-size:.72rem;cursor:pointer}.chat-quick-filters button.active{background:#E6F0EA;border-color:#E6F0EA}.chat-list{overflow:auto;flex:1;border-top:1px solid #e4e9ee}.chat-list-item{display:grid;grid-template-columns:48px 1fr auto;gap:11px;padding:15px;border-bottom:1px solid #e1e6eb;cursor:pointer}.chat-list-item:hover,.chat-list-item.active{background:#f1f6fb}.chat-list-item img{width:48px;height:48px;border-radius:7px;object-fit:cover}.chat-list-item strong,.chat-list-item span,.chat-list-item small{display:block}.chat-list-item strong{font-size:.88rem}.chat-list-item span{font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.chat-list-item small{font-size:.69rem;color:#6f7f92;margin-top:4px}.chat-list-meta{text-align:right}.chat-list-meta time{font-size:.65rem;color:#7b8999}.chat-list-meta b{display:block;margin-top:10px;width:18px;height:18px;border-radius:50%;background:#374151;color:#fff;line-height:18px;font-size:.62rem;text-align:center}.chat-conversation-panel{position: relative;min-width:0;display:flex;flex-direction:column}.chat-empty-state{margin:auto;text-align:center;color:#6d7d90}.chat-empty-state>div{font-size:4rem}.chat-empty-state h3{color:#17263b;margin:8px}.chat-active{height:100%;display:flex;flex-direction:column}.chat-active[hidden]{display:none}.chat-active-header{display:flex;align-items:center;padding:12px 17px;border-bottom:1px solid #dde3ea;gap:11px}.chat-active-header img{width:48px;height:48px;border-radius:6px;object-fit:cover}.chat-active-header>div:nth-child(2){flex:1;min-width:0}.chat-active-header strong,.chat-active-header span{display:block}.chat-active-header span{font-size:.74rem;color:#637388;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.chat-header-actions{display:flex;gap:10px}.chat-deal-strip{display:flex;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #e3e7ec;font-size:.84rem}.chat-verified-strip{display:flex;gap:8px;align-items:center;background:#fff7cc;padding:10px 17px;color:#18293d;font-size:.78rem}.chat-verified-strip span{margin-left:auto;color:#0758a4}.chat-message-stream{flex:1;overflow:auto;background:#f6f7f9;padding:18px;display:flex;flex-direction:column;gap:9px}.chat-day-divider{text-align:center;font-size:.65rem;color:#778598;font-weight:800;margin:6px}.chat-bubble{max-width:72%;padding:9px 12px;border-radius:7px;background:#e4e7eb;align-self:flex-start;font-size:.82rem;line-height:1.45}.chat-bubble.mine{background:#E6F0EA;align-self:flex-end}.chat-bubble small{display:block;text-align:right;color:#6c7988;font-size:.6rem;margin-top:4px}.chat-mode-tabs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #bbc5d1;border-bottom:1px solid #cad3dd}.chat-mode-tabs button{background:#fff;border:0;padding:13px;font-weight:800;color:#818892;cursor:pointer}.chat-mode-tabs button.active{color:#0b1f39;border-bottom:3px solid #0759aa}.quick-replies{display:flex;gap:9px;padding:12px 15px;overflow:auto}.quick-replies button{white-space:nowrap;border:1px solid #374151;background:#fff;color:#064c91;border-radius:5px;padding:8px 12px;cursor:pointer}.chat-input-row{display:flex;align-items:center;border-top:1px solid #dbe2e9;padding:10px 14px;gap:9px}.chat-input-row input{flex:1;border:0;outline:0;padding:10px}.chat-input-row>button:first-child{border:0;background:transparent}.chat-send-btn{border:0;border-radius:6px;background:#374151;color:#fff;padding:10px 19px;font-weight:750;cursor:pointer}.chat-offer-mode{padding:18px 22px;background:#fff;overflow:auto}.chat-offer-mode label{display:flex;align-items:center;gap:12px;font-weight:700;margin:13px 0}.chat-offer-mode input{max-width:250px;border:1px solid #c8d1dd;border-radius:6px;padding:10px}.offer-suggestions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.offer-suggestions button{border:1px solid #6f8498;background:#fff;border-radius:18px;padding:7px 12px;cursor:pointer}.chat-offer-mode small{display:block;margin-top:10px;color:#65768b}

.account-page,.packages-page{padding-top:50px;padding-bottom:70px;max-width:1150px}.account-page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.account-page-head h1,.packages-heading h1{font-size:2.2rem}.account-page-head p,.packages-heading p{color:#62748a;margin-top:5px}.profile-status-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #dbe3eb;border-radius:11px;padding:13px 18px}.profile-status-card strong,.profile-status-card small{display:block}.profile-status-card small{color:#68788d;margin-top:3px}.profile-edit-form{background:#fff;border:1px solid #dce4ec;border-radius:14px;padding:27px;box-shadow:0 10px 30px rgba(15,40,70,.06)}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.profile-edit-form label{display:flex;flex-direction:column;gap:7px;font-size:.78rem;font-weight:700;color:#314158}.profile-edit-form input,.profile-edit-form textarea{border:1px solid #D9E0DA;border-radius:7px;padding:11px 12px;font:inherit;color:#24312B;background:#fbfcfe}.profile-edit-form>label{margin-top:17px}.profile-form-actions{display:flex;gap:12px;margin-top:22px}
.verification-page{padding:46px 0 75px;background:#f6f9fc;min-height:720px}.verification-shell{max-width:720px}.verification-hero-card{background:#e2f0ff;text-align:center;padding:30px;border-radius:14px 14px 0 0;border:1px solid #c7dced}.verification-shield{width:70px;height:70px;margin:0 auto 10px;display:grid;place-items:center;background:#0e69ce;color:#fff;font-size:2rem;font-weight:900;clip-path:polygon(50% 0,92% 15%,86% 72%,50% 100%,14% 72%,8% 15%)}.verification-hero-card h1{font-size:1.8rem;color:#0758aa}.verification-hero-card p{color:#49647f}.verification-benefits{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:17px;font-size:.76rem;color:#087447}.verification-plan-card{background:#fff;border:1px solid #d8e0e8;border-top:0;border-radius:0 0 14px 14px;padding:24px}.verification-plan-card h2{font-size:1.2rem;margin-bottom:15px}.verification-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid #d5dde6;border-radius:8px;padding:18px;margin:10px 0;cursor:pointer}.verification-option:has(input:checked){border-color:#0b63bb;background:#f2f8ff;box-shadow:0 0 0 2px rgba(11,99,187,.08)}.verification-option input{width:19px;height:19px}.verification-option strong,.verification-option small{display:block}.verification-option small{color:#55635B;margin-top:4px}.verification-option b{font-size:1.1rem}.verification-buy-btn{width:100%;margin-top:18px}.local-payment-note{background:#fff7d8;border:1px solid #f0d575;border-radius:7px;padding:10px 12px;color:#6e5908;font-size:.72rem;margin-top:14px}.local-payment-note.centered{text-align:center;max-width:800px;margin:28px auto 0}
.packages-heading{text-align:center;max-width:700px;margin:0 auto 32px}.package-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.package-cards article{background:#fff;border:1px solid #dce3eb;border-radius:15px;padding:28px;box-shadow:0 9px 28px rgba(15,40,70,.06);position:relative}.package-cards article.featured{border:2px solid #d6a80e;transform:translateY(-8px)}.package-cards article>span{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:#a17700;font-weight:800}.package-cards h2{font-size:1.45rem;margin:11px 0}.package-cards article>strong{display:block;font-size:2rem;color:#0d294b}.package-cards article>p{color:#687a90;margin:4px 0 17px}.package-cards ul{list-style:none;padding:0;margin:0 0 22px}.package-cards li{padding:8px 0;border-bottom:1px solid #edf0f4;font-size:.82rem}.package-cards li:before{content:'✓';color:#0b8a56;margin-right:8px;font-weight:900}.package-cards .btn{width:100%}

@media(max-width:1180px){.nav-menu{gap:18px}.account-icon-action{min-width:55px}.chat-workspace{grid-template-columns:360px 1fr}.dashboard-listing-row{grid-template-columns:125px 1fr 120px 170px}.dashboard-listing-row img{width:125px}.dashboard-listing-stat:nth-of-type(2){display:none}}
@media(max-width:900px){.nav-account-actions{height:62px}.account-icon-action{min-width:50px}.account-icon-action small{display:none}.profile-panel{right:10px;top:105px}.dashboard-promos,.package-cards{grid-template-columns:1fr}.dashboard-usage-card{grid-template-columns:1fr}.dashboard-toolbar{align-items:stretch;flex-direction:column}.dashboard-search{width:100%}.dashboard-filter-tabs{justify-content:flex-start}.dashboard-listing-row{grid-template-columns:100px 1fr}.dashboard-listing-row img{width:100px;height:80px}.dashboard-listing-stat,.listing-row-actions{grid-column:2}.chat-workspace{height:auto;min-height:730px;grid-template-columns:1fr}.chat-inbox-panel{border-right:0;max-height:340px;border-bottom:1px solid #d6dce4}.chat-conversation-panel{min-height:520px}.profile-form-grid{grid-template-columns:1fr}.account-page-head{align-items:flex-start;gap:20px;flex-direction:column}.package-cards article.featured{transform:none}}
@media(max-width:620px){.nav-account-actions{gap:0}.account-icon-action{min-width:42px;padding:6px 4px}.account-avatar{width:29px;height:29px}.account-count{right:-5px}.profile-panel{width:calc(100vw - 20px)}.lock-actions{flex-direction:column}.marketplace-lock-card{padding:25px 20px}.dashboard-title-row{align-items:flex-start;flex-direction:column}.dashboard-promo{grid-template-columns:auto 1fr}.dashboard-promo .btn{grid-column:1/-1;width:100%}.dashboard-listing-row{grid-template-columns:1fr}.dashboard-listing-row img{width:100%;height:190px}.dashboard-listing-main,.dashboard-listing-stat,.listing-row-actions{grid-column:1}.chat-page-heading{align-items:flex-start;flex-direction:column;gap:10px}.chat-workspace{margin-left:-12px;margin-right:-12px}.chat-inbox-panel{max-height:320px}.chat-active-header{padding:9px}.quick-replies{padding:8px}.chat-bubble{max-width:88%}.package-cards{grid-template-columns:1fr}}
#nav-notif-bell,#nav-login-btn,#nav-browse-btn,#nav-favorites-btn{display:none!important}


/* =========================================================
   FINAL DASHBOARD + CENTERED NAVIGATION REVISION
   ========================================================= */
@media (min-width: 1025px) {
  .navbar {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    justify-content: initial;
    column-gap: 22px;
  }
  .brand-logo { justify-self: start; }
  .nav-menu { justify-self: center; margin: 0; }
  .nav-account-actions { justify-self: end; margin-left: 0; }
}

.dashboard-section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 28px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dce4ec;
}
.dashboard-section-heading span {
  color: #111827;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.dashboard-section-heading small { color: #55635B; }

.dashboard-deal-list { gap: 15px; }
.dashboard-listing-row {
  grid-template-columns: 112px 104px minmax(230px, 1fr) 135px 130px minmax(220px, 1.25fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-left-width: 5px;
  min-height: 132px;
}
.dashboard-date-block,
.dashboard-listing-row > img,
.dashboard-listing-main,
.dashboard-listing-stat,
.dashboard-listing-message {
  padding: 18px 16px;
  border-right: 1px solid #e4e9ef;
}
.dashboard-date-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  color: #55635B;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.35;
}
.dashboard-listing-row > img {
  width: 104px;
  height: 100%;
  min-height: 132px;
  padding: 0;
  object-fit: cover;
  border-radius: 0;
}
.dashboard-listing-main { display: flex; flex-direction: column; justify-content: center; }
.dashboard-listing-main h3 { margin: 0 0 6px; font-size: .95rem; }
.dashboard-listing-main p { margin: 0 0 5px; }
.dashboard-listing-engagement {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 13px;
  color: #7a8797;
  font-size: .69rem;
}
.dashboard-listing-stat { display: flex; flex-direction: column; justify-content: center; }
.dashboard-listing-message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-right: 0;
  background: #fbfcfe;
}
.dashboard-listing-message p {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid #d5a50d;
  color: #43536a;
  font-size: .73rem;
  line-height: 1.45;
}
.dashboard-listing-row.status-inactive .dashboard-listing-message p { border-left-color: #B3372C; }
.dashboard-listing-row.status-sold .dashboard-listing-message p { border-left-color: #10B981; }
.listing-row-actions { justify-content: flex-end; align-items: center; }

@media (max-width: 1280px) and (min-width: 901px) {
  .navbar { grid-template-columns: auto 1fr auto; column-gap: 14px; }
  .nav-menu { gap: 13px; }
  .header .nav-link { font-size: .82rem; }
  .dashboard-listing-row { grid-template-columns: 95px 90px minmax(190px,1fr) 120px 115px minmax(190px,1fr); }
  .dashboard-listing-row > img { width: 90px; }
}
@media (max-width: 900px) {
  .navbar { display: flex; }
  .dashboard-listing-row { grid-template-columns: 105px 1fr; }
  .dashboard-date-block { grid-column: 1; grid-row: 1; }
  .dashboard-listing-row > img { grid-column: 1; width: 105px; min-height: 100px; }
  .dashboard-listing-main { grid-column: 2; grid-row: 1 / span 2; }
  .dashboard-listing-stat, .dashboard-listing-message { grid-column: 1 / -1; border-top: 1px solid #e4e9ef; border-right: 0; }
}
@media (max-width: 620px) {
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .dashboard-listing-row { display: block; }
  .dashboard-listing-row > img { width: 100%; height: 205px; min-height: 205px; }
  .dashboard-date-block, .dashboard-listing-main, .dashboard-listing-stat, .dashboard-listing-message { border-right: 0; border-top: 1px solid #e4e9ef; }
}


/* ========================================================================
   DISPO CENTRAL — APPROVED NAVY / STEEL BLUE / PROPERTY GOLD PALETTE
   ======================================================================== */
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background-light);
  color: var(--color-text-primary);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(47, 98, 142, 0.055) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(245,158,11, 0.035) 0%, transparent 40%);
}

.header,
.header.scrolled {
  background: var(--color-primary) !important;
  border-bottom-color: rgba(255,255,255,.10) !important;
}

.live-deal-ticker {
  background: var(--color-background-dark) !important;
}
.ticker-status {
  background: var(--color-primary) !important;
  color: var(--color-text-on-dark) !important;
}
.ticker-live-dot { background: var(--color-success) !important; }

.header .nav-link { color: rgba(255,255,255,.82) !important; }
.header .nav-link:hover,
.header .nav-link.active { color: #FFFFFF !important; }
.header .nav-link::after,
.nav-link.active::after,
.nav-link:hover::after { background: var(--color-accent) !important; }

.brand-mark,
.brand-dotcom,
.logo .brand-dotcom { color: var(--color-accent) !important; }

h1, h2, h3, h4, h5, h6,
.dashboard-title-row h1,
.pro-dashboard h1,
.pro-dashboard h2,
.pro-dashboard h3,
.dashboard-section-title,
.admin-workspace h1,
.admin-workspace h2,
.admin-workspace h3 {
  color: var(--color-primary);
}
h2 {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}
p, .muted, .text-muted { color: var(--color-text-secondary); }

.btn-primary,
.primary-button,
.profile-edit-cta,
.dashboard-primary-action,
.marketplace-lock-card .btn-primary {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--color-primary) !important;
  box-shadow: 0 8px 20px rgba(18,48,74,.17) !important;
}
.btn-primary:hover,
.primary-button:hover,
.profile-edit-cta:hover,
.dashboard-primary-action:hover {
  background: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  color: #FFFFFF !important;
}

.btn-accent,
.accent-button,
.featured-cta,
.package-card.featured .btn,
.dashboard-promo.package-promo .btn {
  background: var(--color-accent) !important;
  color: #17212B !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 8px 20px rgba(245,158,11,.18) !important;
}
.btn-accent:hover,
.accent-button:hover,
.featured-cta:hover {
  background: var(--color-accent-hover) !important;
  border-color: var(--color-accent-hover) !important;
}

.btn-secondary {
  background: var(--color-surface) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-border) !important;
}
.btn-secondary:hover {
  background: #EAF0F4 !important;
  border-color: var(--color-secondary) !important;
}

.card,
.card-glass,
.note-card,
.sold-property-card,
.favorite-property-card,
.public-card,
.dashboard-promo,
.dashboard-listing-row,
.profile-panel,
.modal-content,
.auth-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

input, select, textarea,
.form-control,
.search-input {
  background: var(--color-surface);
  border-color: var(--color-border) !important;
  color: var(--color-text-primary);
}
input:focus, select:focus, textarea:focus,
.form-control:focus {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 0 3px rgba(47,98,142,.14) !important;
  outline: none;
}

.market-map-section,
.favorites-hero,
.public-deal-hero,
.sold-cta,
.admin-sidebar,
.important-section {
  background: linear-gradient(135deg, var(--color-background-dark), var(--color-primary)) !important;
}
.market-map-section::before { background: rgba(245,158,11,.09) !important; }
.us-state.selected,
.legend-dot.active,
.active-market,
.premium-highlight { background-color: var(--color-accent) !important; fill: var(--color-accent) !important; }
.map-deal-marker circle { fill: var(--color-primary) !important; stroke: var(--color-accent) !important; }
.map-deal-marker:hover circle { fill: var(--color-accent) !important; }

.account-icon-action { color: #FFFFFF; }
.account-icon-action:hover { background: rgba(255,255,255,.10); }
.account-count { background: var(--color-error) !important; box-shadow: 0 0 0 2px var(--color-primary) !important; }
.profile-large-avatar,
.account-avatar { color: var(--color-primary) !important; }
.profile-menu-list button { color: var(--color-text-primary); }
.profile-menu-list button:hover { background: #EAF0F4; }

.pro-dashboard { background: var(--color-background-light) !important; }
.dashboard-title-row,
.dashboard-toolbar,
.dashboard-tabs,
.dashboard-listing-row { border-color: var(--color-border) !important; }
.dashboard-filter.active,
.dashboard-tab.active,
.admin-feed-tab.active {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-primary) !important;
}
.dashboard-promo.package-promo,
.package-card.featured,
.verified-plan.selected {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 2px rgba(245,158,11,.14), 0 12px 28px rgba(18,48,74,.08) !important;
}
.package-promo .promo-icon,
.premium-package .package-icon {
  background: rgba(245,158,11,.16) !important;
  color: var(--color-accent-hover) !important;
}

.note-badge.available,
.status-success,
.sold-close-time {
  background: rgba(46,125,90,.11) !important;
  color: var(--color-success) !important;
  border-color: rgba(46,125,90,.25) !important;
}
.note-badge.under-review,
.status-warning {
  background: rgba(201,130,24,.11) !important;
  color: var(--color-warning) !important;
  border-color: rgba(201,130,24,.25) !important;
}
.status-error,
.favorite-status.sold,
.account-count {
  background: var(--color-error) !important;
  color: #FFFFFF !important;
}

.sold-ribbon {
  background: var(--color-primary) !important;
  color: var(--color-accent) !important;
}
.share-options button span,
.favorite-property-media > button {
  background: var(--color-primary) !important;
  color: var(--color-accent) !important;
}
.review-stars,
.eyebrow,
.favorite-location,
.favorites-summary-card span {
  color: var(--color-accent) !important;
}

.marketplace-lock-card {
  border-color: var(--color-border) !important;
}
.lock-emblem {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 7px #EAF0F4 !important;
}

::-webkit-scrollbar-track { background: var(--color-background-light); }
::-webkit-scrollbar-thumb { background: var(--color-border); }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }


/* ========================================================================
   HOME HERO + DASHBOARD LAYOUT REFINEMENT (APPROVED PALETTE PRESERVED)
   ======================================================================== */
.navbar{max-width:1540px;display:grid;grid-template-columns:minmax(210px,auto) 1fr minmax(250px,auto);gap:24px;align-items:center}
.nav-menu{justify-self:center;justify-content:center;gap:clamp(12px,1.55vw,25px);white-space:nowrap}
.nav-account-actions{justify-self:end}
.header .nav-link{font-size:clamp(.78rem,.92vw,.94rem)}

.dc-home-hero{position: relative;overflow:hidden;background:linear-gradient(135deg,var(--color-background-dark) 0%,var(--color-primary) 62%,#153b58 100%);color:#fff;border-bottom:1px solid rgba(255,255,255,.1)}
.dc-home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 40%,rgba(245,158,11,.13),transparent 35%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:auto,42px 42px,42px 42px;pointer-events:none}
.dc-hero-grid{position: relative;z-index:1;display:grid;grid-template-columns:minmax(420px,.86fr) minmax(520px,1.14fr);gap:36px;align-items:center;min-height:590px;padding-top:72px;padding-bottom:72px}
.dc-hero-copy{max-width:650px}
.dc-hero-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--color-accent);font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.11em;margin-bottom:19px}
.dc-hero-kicker:before{content:"";width:28px;height:2px;background:var(--color-accent)}
.dc-hero-copy h1{color:#fff;font-size:clamp(2.75rem,4.8vw,5rem);line-height:1.04;letter-spacing:-.045em;margin:0 0 24px;max-width:740px}
.dc-hero-copy p{color:#d5e0e8;font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.65;max-width:610px;margin:0 0 31px}
.dc-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.dc-outline-light{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.72)!important;box-shadow:none!important}
.dc-outline-light:hover{background:rgba(255,255,255,.1)!important;border-color:#fff!important;transform:translateY(-2px)}
.dc-hero-proof{display:flex;gap:28px;margin-top:42px;padding-top:24px;border-top:1px solid rgba(255,255,255,.13);max-width:620px}
.dc-hero-proof div{display:flex;flex-direction:column;gap:2px}.dc-hero-proof strong{color:var(--color-accent);font:800 1.15rem/1.1 var(--font-header)}.dc-hero-proof span{color:#b8c7d3;font-size:.72rem}
.dc-hero-map-wrap{position: relative;min-height:480px;display:flex;align-items:center;justify-content:center;isolation:isolate}
.dc-hero-map-image{position: relative;z-index:3;width:min(100%,790px);height:auto;filter:drop-shadow(0 22px 28px rgba(0,0,0,.24));transform:translateY(-4px)}
.dc-map-orbit{position:absolute;border:1px solid rgba(245,158,11,.14);border-radius:50%;transform:rotate(-12deg);z-index:1}.dc-map-orbit-one{width:89%;height:62%}.dc-map-orbit-two{width:72%;height:47%;border-color:rgba(47,98,142,.45)}
.dc-map-pin{position:absolute;z-index:4;color:var(--color-accent);font-size:1.1rem;text-shadow:0 0 12px rgba(245,158,11,.8);animation:dcPinPulse 2.2s ease-in-out infinite}.dc-pin-west{left:22%;top:42%}.dc-pin-south{left:50%;top:67%;animation-delay:.4s}.dc-pin-east{right:18%;top:40%;animation-delay:.8s}
@keyframes dcPinPulse{0%,100%{transform:scale(.8);opacity:.75}50%{transform:scale(1.35);opacity:1}}
.dc-map-caption{position:absolute;right:5%;bottom:5%;z-index:5;background:rgba(11,31,48,.84);backdrop-filter:blur(10px);border:1px solid rgba(245,158,11,.35);border-radius:13px;padding:13px 16px;display:flex;flex-direction:column;box-shadow:0 16px 35px rgba(0,0,0,.25)}
.dc-map-caption strong{color:#fff;font-size:.82rem}.dc-map-caption span{color:#b9c8d4;font-size:.67rem;margin-top:2px}

.dc-dashboard-frame{max-width:1540px;margin:0 auto;display:grid;grid-template-columns:240px minmax(0,1fr)!important;background:#fff;border:1px solid var(--color-border);border-radius:15px;overflow:hidden;box-shadow:0 14px 38px rgba(18,48,74,.08);min-height:760px}
.dc-dashboard-sidebar{background:linear-gradient(180deg,var(--color-primary),var(--color-background-dark));color:#fff;padding:24px 15px;display:flex;flex-direction:column;min-height:100%;width:240px!important;min-width:240px;max-width:240px;box-sizing:border-box!important;flex-shrink:0}
.dc-dashboard-brand{display:flex;gap:10px;align-items:center;padding:2px 8px 25px;border-bottom:1px solid rgba(255,255,255,.1)}
.dc-dashboard-brand-mark{width:34px;height:34px;border:1px solid var(--color-accent);color:var(--color-accent);display:grid;place-items:center;border-radius:8px;font-size:1.3rem}.dc-dashboard-brand strong{display:block;color:#fff;font-size:.78rem;letter-spacing:.04em}.dc-dashboard-brand small{display:block;color:#aebdca;font-size:.58rem;margin-top:2px}
.dc-dashboard-side-nav{display:flex;flex-direction:column;gap:5px;padding-top:19px}.dc-dashboard-side-nav button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;color:#dce6ed;padding:11px 12px;border-radius:7px;text-align:left;font:650 .79rem/1 var(--font-header);cursor:pointer;transition:.18s}.dc-dashboard-side-nav button span{width:20px;text-align:center;font-size:1rem}.dc-dashboard-side-nav button:hover,.dc-dashboard-side-nav button.active{background:var(--color-secondary);color:#fff}
.dc-dashboard-side-card{margin-top:auto;padding:15px 13px;border-radius:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.dc-dashboard-side-card>span{display:block;color:#adbecb;font-size:.58rem;letter-spacing:.1em}.dc-dashboard-side-card>strong{display:block;color:#fff;font-size:1.25rem;margin:4px 0}.dc-dashboard-side-card>small{display:block;color:#c5d2dc;font-size:.66rem;margin-bottom:10px}.dc-dashboard-side-card .usage-meter{background:rgba(255,255,255,.18)}.dc-dashboard-side-card button{width:100%;border:1px solid rgba(255,255,255,.28);background:transparent;color:#fff;border-radius:6px;padding:8px;margin-top:12px;cursor:pointer;font-weight:700;font-size:.7rem}
.dc-dashboard-main{background:var(--color-background-light);padding:27px 24px 42px;min-width:0}
.dc-dashboard-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.dc-dashboard-header h1{font-size:1.75rem;margin:2px 0 4px}.dc-dashboard-header p{font-size:.82rem}.dc-dashboard-user{display:flex;align-items:center;gap:11px;color:var(--color-text-secondary);font-size:.75rem}.dc-dashboard-user b{color:var(--color-primary)}
.dc-dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.dc-dashboard-stat-grid article{background:#fff;border:1px solid var(--color-border);border-radius:9px;padding:15px 14px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 14px rgba(18,48,74,.04)}.dc-dashboard-stat-grid span{display:block;color:var(--color-text-secondary);font-size:.67rem}.dc-dashboard-stat-grid strong{display:block;color:var(--color-text-primary);font-size:1.42rem;margin:3px 0}.dc-dashboard-stat-grid small{display:block;color:var(--color-success);font-size:.57rem}.dc-dashboard-stat-grid i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef4f8;color:var(--color-secondary);font-style:normal;font-size:1.22rem}.dc-dashboard-stat-grid article:nth-child(2) i{background:rgba(245,158,11,.14);color:var(--color-warning)}.dc-dashboard-stat-grid article:nth-child(3) i{background:rgba(201,130,24,.12);color:var(--color-warning)}.dc-dashboard-stat-grid article:nth-child(4) i{background:rgba(46,125,90,.12);color:var(--color-success)}
.dc-dashboard-overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:15px;margin-bottom:22px}.dc-dashboard-panel{background:#fff;border:1px solid var(--color-border);border-radius:10px;overflow:hidden;box-shadow:0 5px 16px rgba(18,48,74,.04)}.dc-panel-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid var(--color-border)}.dc-panel-heading h2{font-size:.86rem;margin:0}.dc-panel-heading p{font-size:.6rem;margin-top:2px}.dc-panel-heading button{background:transparent;border:0;color:var(--color-secondary);font-weight:800;font-size:.63rem;cursor:pointer}.dc-panel-heading select{font-size:.62rem;border:1px solid var(--color-border);border-radius:5px;padding:5px 8px;color:var(--color-text-primary)}
.dc-recent-table-wrap{overflow:auto;max-height:260px}.dc-recent-table{width:100%;border-collapse:collapse;font-size:.64rem}.dc-recent-table th,.dc-recent-table td{padding:10px 13px;text-align:left;border-bottom:1px solid #edf1f4;white-space:nowrap}.dc-recent-table th{color:var(--color-text-secondary);font-weight:750;font-size:.58rem}.dc-recent-table td:first-child{font-weight:700;color:var(--color-text-primary);max-width:160px;overflow:hidden;text-overflow:ellipsis}.dc-recent-table .dc-status{display:inline-flex;padding:4px 7px;border-radius:12px;background:rgba(46,125,90,.1);color:var(--color-success);font-weight:800;text-transform:capitalize}.dc-recent-table .dc-status.review{background:rgba(201,130,24,.11);color:var(--color-warning)}.dc-recent-table .dc-status.sold{background:rgba(47,98,142,.12);color:var(--color-secondary)}
.dc-chart-wrap{position: relative;padding:15px 18px 12px 42px;height:250px}.dc-chart-y{position:absolute;left:14px;top:19px;bottom:35px;display:flex;flex-direction:column;justify-content:space-between;color:#8a99a8;font-size:.54rem}.dc-chart-wrap svg{width:100%;height:190px;overflow:visible}.dc-chart-grid line{stroke:#e4eaf0;stroke-width:1;vector-effect:non-scaling-stroke}.dc-chart-wrap polyline{fill:none;stroke:var(--color-secondary);stroke-width:3;vector-effect:non-scaling-stroke}.dc-chart-wrap path{fill:rgba(47,98,142,.08);stroke:none}.dc-chart-wrap circle{fill:#fff;stroke:var(--color-secondary);stroke-width:2;vector-effect:non-scaling-stroke}.dc-chart-x{display:flex;justify-content:space-between;color:#8a99a8;font-size:.52rem;margin-top:0}
.dc-dashboard-management{scroll-margin-top:140px;background:#fff;border:1px solid var(--color-border);border-radius:11px;padding:20px}.dc-dashboard-management-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.dc-dashboard-management-head h2{font-size:1.25rem;margin:2px 0}.dc-dashboard-management-head p{font-size:.75rem}.dc-dashboard-management .dashboard-promos{margin-bottom:14px}.dc-dashboard-management .dashboard-toolbar{margin:16px 0 13px}

@media(max-width:1320px){.navbar{grid-template-columns:auto 1fr auto;gap:14px}.nav-menu{gap:12px}.header .nav-link{font-size:.76rem}.dc-hero-grid{grid-template-columns:.92fr 1.08fr}.dc-dashboard-frame{margin:0 14px}.dc-dashboard-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1080px){.navbar{display:flex}.nav-menu{justify-self:auto}.dc-hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:70px;text-align:center}.dc-hero-copy{margin:0 auto}.dc-hero-proof,.dc-hero-actions{justify-content:center;margin-left:auto;margin-right:auto}.dc-hero-map-wrap{min-height:360px}.dc-dashboard-frame{grid-template-columns:190px minmax(0,1fr)}.dc-dashboard-overview-grid{grid-template-columns:1fr}}
@media(max-width:760px){.dc-hero-grid{padding-top:54px;padding-bottom:42px}.dc-hero-copy h1{font-size:2.45rem}.dc-hero-proof{gap:15px;justify-content:space-between}.dc-hero-map-wrap{min-height:275px}.dc-map-caption{right:2%;bottom:0}.dc-dashboard-frame{display:block;margin:0;border-radius:0}.dc-dashboard-sidebar{min-height:auto}.dc-dashboard-brand{padding-bottom:14px}.dc-dashboard-side-nav{display:grid;grid-template-columns:1fr 1fr;padding-top:12px}.dc-dashboard-side-card{margin-top:14px}.dc-dashboard-main{padding:22px 14px 34px}.dc-dashboard-header{align-items:flex-start;flex-direction:column}.dc-dashboard-stat-grid{grid-template-columns:1fr 1fr}.dc-dashboard-overview-grid{grid-template-columns:1fr}.dc-dashboard-management{padding:14px}.dc-dashboard-management-head{align-items:flex-start;flex-direction:column}.dc-dashboard-management-head .btn{width:100%}.dashboard-promos{grid-template-columns:1fr}}
@media(max-width:460px){.dc-hero-actions .btn{width:100%}.dc-hero-proof{flex-direction:column;text-align:left}.dc-hero-map-wrap{min-height:230px}.dc-map-caption{display:none}.dc-dashboard-stat-grid{grid-template-columns:1fr}.dc-dashboard-side-nav{grid-template-columns:1fr}.dc-chart-wrap{height:225px}.dc-recent-table{min-width:610px}}


/* =========================================================
   FINAL CLIENT REVISION — compact header, gated deal cards,
   dashboard tab separation, and accessible statistics
   ========================================================= */
.header,
.header.scrolled {
  height: 72px !important;
  background: rgba(18,48,74,.98) !important;
  border-bottom-color: rgba(215,224,231,.22) !important;
}
.main-content { padding-top: 0px !important; }
.navbar { min-height: 72px; }
.brand-logo { min-width: 250px; gap: 9px !important; }
.brand-copy { display:flex !important; flex-direction:column; align-items:flex-start !important; justify-content:center; gap:3px; }
.brand-title-row { display:flex; align-items:flex-end; line-height:1; }
.brand-main { font-size:.94rem !important; font-weight:750 !important; letter-spacing:.055em !important; }
.brand-dotcom { margin:0 0 -3px 4px !important; }
.brand-tagline { display:block; color:rgba(255,255,255,.72); font-size:.51rem; line-height:1; letter-spacing:.015em; white-space:nowrap; }
.nav-account-actions { height:64px !important; }
.account-icon-action { min-width:67px; padding-top:6px; padding-bottom:6px; }
.header .nav-link { font-size:clamp(.75rem,.82vw,.88rem) !important; }

/* Removed interactive map section must never leave layout space. */
.market-map-section { display:none !important; }

/* Statistics on the navy band remain clearly readable. */
.stats-section { background:var(--color-primary) !important; }
.stats-section .stat-number { color:var(--color-accent) !important; text-shadow:0 2px 10px rgba(0,0,0,.16); }
.stats-section .stat-label { color:#FFFFFF !important; opacity:.92; }

/* Member-only marketplace uses clear per-card previews rather than one full-page blur. */
body.is-guest #marketplace-view.active > .container.section {
  filter:none !important;
  opacity:1 !important;
  pointer-events:auto !important;
  user-select:auto !important;
}
.marketplace-lock { display:none !important; }
.guest-deal-card { border-radius:15px !important; overflow:hidden; background:#fff; transform:none !important; box-shadow:0 5px 16px rgba(18,48,74,.06); }
.guest-deal-card::before { display:none !important; }
.guest-deal-topline { min-height:50px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 20px; background:#F6F8FA; border-bottom:1px solid var(--color-border); }
.guest-strategy { display:inline-flex; align-items:center; gap:10px; color:var(--color-text-primary); font:800 .72rem/1 var(--font-header); text-transform:uppercase; letter-spacing:.015em; }
.guest-strategy i { width:8px; height:8px; border-radius:50%; background:var(--color-secondary); }
.guest-status { border:1px solid var(--color-border); border-radius:999px; padding:4px 9px; font:700 .62rem/1 var(--font-header); background:#fff; }
.guest-status.active { color:var(--color-success); border-color:rgba(46,125,90,.28); background:rgba(46,125,90,.07); }
.guest-status.review { color:var(--color-warning); border-color:rgba(201,130,24,.32); background:rgba(201,130,24,.07); }
.guest-status.sold { color:var(--color-error); border-color:rgba(185,67,67,.25); background:rgba(185,67,67,.06); }
.guest-deal-main { padding:18px 20px 22px; }
.guest-location-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.guest-location-row strong { color:var(--color-text-primary); font-size:.93rem; }
.guest-location-row small { color:#A0ADBA; font-size:.69rem; white-space:nowrap; }
.guest-preview-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.guest-ask-box,.guest-locked-box { min-height:84px; border-radius:10px; background:#F4F6F8; padding:13px 15px; display:flex; flex-direction:column; justify-content:center; }
.guest-ask-box span,.guest-locked-box span { color:#A0ADBA; font:750 .67rem/1 var(--font-header); letter-spacing:.025em; }
.guest-ask-box strong { color:#111827; font-size:1.45rem; margin-top:9px; }
.guest-locked-box { opacity:.53; }
.guest-locked-box strong { color:#9AA7B5; margin-top:10px; font-size:.86rem; }
.guest-package-row,.guest-access-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; border-top:1px solid var(--color-border); font-size:.72rem; }
.guest-package-row { background:#F7F9FB; color:#7E8E9E; }
.guest-package-row button { color:#1556C0; font-weight:800; white-space:nowrap; }
.guest-access-row { color:#A0ADBA; font-weight:650; }
.guest-access-row button { border:1px solid #BCD0EF; color:#1556C0; background:#F4F8FF; border-radius:6px; padding:7px 11px; font-weight:800; white-space:nowrap; }
.guest-package-row button:hover,.guest-access-row button:hover { text-decoration:underline; }

/* Submitted inventory is a dedicated sidebar view, not part of dashboard overview. */
#dashboard-submitted-section[hidden],#dashboard-overview-content[hidden] { display:none !important; }
#dashboard-submitted-section:not([hidden]) { display:block; }

@media (max-width: 1180px) {
  .brand-logo { min-width:205px; }
  .brand-tagline { display:none; }
  .nav-account-actions { gap:0; }
  .account-icon-action { min-width:56px; }
}
@media (max-width: 700px) {
  .main-content { padding-top: 0px !important; }
  .header,.header.scrolled { height:72px !important; }
  .brand-logo { min-width:auto; }
  .guest-preview-grid { grid-template-columns:1fr; }
  .guest-package-row,.guest-access-row,.guest-location-row { align-items:flex-start; flex-direction:column; }
}

/* ========================================================================
   FINAL PROFESSIONAL EXPERIENCE — DISPO CENTRAL
   ======================================================================== */
:root{
  --font-header:"Segoe UI Variable Display","Aptos Display","Segoe UI",Arial,sans-serif;
  --font-body:"Segoe UI Variable Text","Aptos","Segoe UI",Arial,sans-serif;
  --shadow-sm:0 6px 18px rgba(18,48,74,.06);
  --shadow-md:0 14px 38px rgba(18,48,74,.10);
}
body{font-family:var(--font-body);font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility}
h1,h2,h3,h4,h5,h6{font-family:var(--font-header);letter-spacing:-.025em}
h2{background:none!important;-webkit-background-clip:initial!important;-webkit-text-fill-color:initial!important;color:var(--color-primary)}
.btn,.nav-link,.account-icon-action,.dc-dashboard-side-nav button{font-family:var(--font-header)}
.btn{border-radius:8px;font-weight:750;letter-spacing:-.005em;box-shadow:0 7px 18px rgba(18,48,74,.10)}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,48,74,.16)}
.btn-primary{background:#1D4ED8!important;border-color:#1D4ED8!important;color:#fff!important}.btn-primary:hover{background:#374151!important}
.btn-accent{background:var(--color-accent)!important;border-color:var(--color-accent)!important;color:#17212B!important}.btn-accent:hover{background:var(--color-accent-hover)!important}

/* Precise, visible active navigation states. */
.header .nav-link{padding:10px 4px!important;border-radius:5px;font-weight:650!important;transition:color .2s ease,background .2s ease}
.header .nav-link::after{height:3px!important;background:var(--color-accent)!important;border-radius:999px;bottom:2px!important}
.header .nav-link:hover{background:rgba(255,255,255,.055)}
.header .nav-link.active{color:#fff!important}
.account-icon-action.is-active{background:rgba(245,158,11,.14)!important;color:#fff!important;box-shadow:inset 0 -3px 0 var(--color-accent)}
.dc-dashboard-side-nav button.active{background:linear-gradient(135deg,var(--color-secondary),#376f9f)!important;box-shadow:0 7px 17px rgba(0,0,0,.15);font-weight:800}

/* Interactive hero map. */
.dc-interactive-map{display:block;max-width:790px;cursor:default}
.dc-interactive-map .hero-usa-svg{display:block;width:100%;height:auto;overflow:visible}
.dc-interactive-map .us-state{cursor:pointer;transition:fill .2s ease,fill-opacity .2s ease,stroke-width .2s ease,filter .2s ease;transform-box:fill-box;transform-origin:center}
.dc-interactive-map .us-state:hover{fill:var(--color-accent)!important;fill-opacity:.50!important;stroke:#F8E3AF!important;stroke-width:2!important;filter:drop-shadow(0 5px 10px rgba(245,158,11,.24))}
.dc-interactive-map .us-state.is-selected{fill:var(--color-accent)!important;fill-opacity:.88!important;stroke:#fff!important;stroke-width:2.4!important;filter:drop-shadow(0 9px 16px rgba(245,158,11,.38))}
.dc-interactive-map .map-deal-marker{cursor:pointer}.dc-interactive-map .map-deal-marker.is-selected circle{fill:#fff!important;stroke:var(--color-accent)!important;stroke-width:4!important}.dc-interactive-map .map-deal-marker.is-selected text{fill:var(--color-primary)!important}
.dc-map-caption{min-width:225px;transition:transform .2s ease,border-color .2s ease}.dc-map-caption.state-selected{transform:translateY(-3px);border-color:var(--color-accent);box-shadow:0 18px 42px rgba(0,0,0,.28)}
.dc-map-caption strong{font-size:.92rem!important}.dc-map-caption span{font-size:.7rem!important}

/* Deal discovery journey section. */
.deal-journey-section{background:#fff;padding:88px 0;border-bottom:1px solid var(--color-border)}
.deal-journey-grid{display:grid;grid-template-columns:minmax(380px,.92fr) minmax(560px,1.08fr);gap:70px;align-items:center}
.deal-journey-copy{max-width:620px}.deal-journey-copy h2{font-size:clamp(2rem,3.5vw,3.15rem);line-height:1.08;margin:12px 0 20px}.deal-journey-copy>p{font-size:1rem;line-height:1.75;margin-bottom:28px}
.deal-journey-points{display:grid;gap:14px;margin:0 0 28px}.deal-journey-points article{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;padding:14px 0;border-bottom:1px solid #E6ECF0}.deal-journey-points article:last-child{border-bottom:0}.deal-journey-points article>span{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#EDF2EE;color:var(--color-secondary);font:800 .72rem/1 var(--font-header)}.deal-journey-points h3{font-size:1rem;margin-bottom:4px}.deal-journey-points p{font-size:.82rem;line-height:1.55}
.deal-route-visual{position: relative;min-height:570px;border:1px solid var(--color-border);border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#F7F9F7,#EDF3F7);box-shadow:var(--shadow-md)}
.route-map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(47,98,142,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(47,98,142,.07) 1px,transparent 1px),radial-gradient(circle at 76% 21%,rgba(245,158,11,.16),transparent 28%);background-size:42px 42px,42px 42px,auto}
.route-line{position:absolute;inset:0;width:100%;height:100%}.route-line path{fill:none;stroke:var(--color-secondary);stroke-width:11;stroke-linecap:round;filter:drop-shadow(0 6px 7px rgba(47,98,142,.22))}.route-line circle{fill:#fff;stroke:var(--color-accent);stroke-width:7}
.route-property-card{position:absolute;width:270px;background:#fff;border:1px solid var(--color-border);border-radius:13px;overflow:hidden;display:grid;grid-template-columns:100px 1fr;box-shadow:0 16px 38px rgba(18,48,74,.16);z-index:3}.route-property-card img{width:100%;height:112px;object-fit:cover}.route-property-card div{padding:14px 13px;display:flex;flex-direction:column;justify-content:center}.route-property-card small{color:var(--color-success);font:800 .62rem/1 var(--font-header);text-transform:uppercase;letter-spacing:.05em}.route-property-card strong{font-size:.9rem;margin:7px 0 3px}.route-property-card span{color:var(--color-text-secondary);font-size:.72rem}.route-card-one{left:5%;bottom:8%}.route-card-two{right:4%;top:8%}
.route-progress{position:absolute;left:38%;top:38%;width:102px;height:102px;border-radius:50%;background:conic-gradient(var(--color-success) 0 80%,#DDE5EA 80% 100%);display:grid;place-items:center;z-index:4;box-shadow:0 12px 30px rgba(18,48,74,.16)}.route-progress:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.route-progress strong,.route-progress span{position: relative;z-index:1}.route-progress strong{font-size:1.25rem;color:var(--color-primary)}.route-progress span{position:absolute;top:59px;font-size:.58rem;color:var(--color-text-secondary)}
.route-destination{position:absolute;right:7%;bottom:7%;z-index:4;background:var(--color-primary);color:#fff;border:1px solid rgba(245,158,11,.5);border-radius:12px;padding:13px 15px;display:flex;align-items:center;gap:11px;box-shadow:0 14px 32px rgba(11,31,48,.25)}.route-destination>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--color-accent);color:var(--color-primary);font-weight:900}.route-destination strong{display:block;font-size:.78rem}.route-destination small{display:block;color:#C8D5DE;font-size:.63rem;margin-top:2px}

/* Dashboard uses one shell and swaps only its main content. */
#dashboard-view{background:var(--color-background-light)}
.dc-dashboard-frame{margin-top:20px;margin-bottom:36px;min-height:690px}
.dc-dashboard-main{position: relative;overflow:visible}
.dc-dashboard-dynamic{background:#fff;border:1px solid var(--color-border);border-radius:11px;padding:20px;min-height:590px;box-shadow:var(--shadow-sm)}
.dc-dashboard-dynamic-head{padding-bottom:14px;border-bottom:1px solid var(--color-border);margin-bottom:18px!important}
#dashboard-mounted-content{min-width:0}.dashboard-embedded-content{max-width:none!important;width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important}.dashboard-embedded-content.favorites-hero{display:none!important}.dashboard-embedded-content.favorites-section{padding-top:0!important;padding-bottom:0!important}.dashboard-embedded-content.chat-page-shell{padding:0!important}.dashboard-embedded-content.account-page{padding:0!important}.dashboard-embedded-content .chat-page-heading,.dashboard-embedded-content .account-page-head{margin-top:0}
#dashboard-dynamic-section .chat-workspace{height:620px;border-radius:10px}#dashboard-dynamic-section .chat-page-heading{display:none}#dashboard-dynamic-section .favorites-toolbar{margin-top:0}
.dc-dashboard-header h1,.dc-dashboard-management-head h2{color:var(--color-primary)}

/* Rich professional chat composer. */
.chat-composer-shell{border-top:1px solid var(--color-border);background:#fff;padding:12px 14px 10px;position:relative}.chat-composer-shell textarea{display:block;width:100%;min-height:64px;max-height:130px;resize:vertical;border:1px solid var(--color-border);border-radius:9px;padding:12px 13px;outline:none;font:500 .82rem/1.45 var(--font-body);background:#FBFCFD}.chat-composer-shell textarea:focus{border-color:var(--color-secondary);box-shadow:0 0 0 3px rgba(47,98,142,.10);background:#fff}.chat-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.chat-tool-group{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.chat-tool-button{position: relative;display:inline-flex;align-items:center;gap:5px;padding:7px 8px;border-radius:7px;color:var(--color-primary);background:transparent;border:0;cursor:pointer;font-weight:700}.chat-tool-button:hover{background:#EDF2EE}.chat-tool-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.chat-tool-button span{font-size:1rem}.chat-tool-button small{font-size:.59rem;color:var(--color-text-secondary)}.chat-composer-actions{display:flex;align-items:center;gap:8px}.chat-make-offer{border:1px solid var(--color-primary);border-radius:7px;padding:8px 13px;color:var(--color-primary);background:#fff;font:800 .7rem/1 var(--font-header)}.chat-make-offer:hover{background:#EDF2EE}.chat-send-btn{width:38px;height:36px;display:grid;place-items:center;border-radius:8px!important;background:var(--color-primary)!important;color:#fff!important;font-size:1rem}.chat-attachment-preview{margin-top:8px;padding:8px 10px;background:#EEF4F8;border:1px solid #D8E2E9;border-radius:7px;display:flex;align-items:center;justify-content:space-between}.chat-attachment-preview span{display:flex;gap:8px;align-items:center;font-size:.7rem;color:var(--color-text-primary)}.chat-attachment-preview b{text-transform:uppercase;color:var(--color-secondary);font-size:.58rem}.chat-attachment-preview button{font-size:1.2rem;color:var(--color-error)}.chat-emoji-picker{position:absolute;left:14px;bottom:58px;z-index:8;padding:8px;background:#fff;border:1px solid var(--color-border);border-radius:9px;box-shadow:var(--shadow-md);display:flex;gap:3px}.chat-emoji-picker button{width:34px;height:34px;border-radius:6px;font-size:1rem}.chat-emoji-picker button:hover{background:#EDF2EE}.chat-message-attachment{display:flex;flex-direction:column;margin-top:7px;padding:8px 10px;border-radius:7px;background:rgba(255,255,255,.65);border:1px solid rgba(18,48,74,.12);font-size:.68rem}.chat-message-attachment b{text-transform:uppercase;font-size:.56rem;color:var(--color-secondary);margin-bottom:2px}.chat-bubble.mine .chat-message-attachment{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25)}.chat-bubble.mine .chat-message-attachment b{color:#F5D77F}

/* Better marketplace card contrast and authenticated state. */
body.is-authenticated .guest-deal-card{display:none!important}.note-card{border:1px solid var(--color-border);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.note-card:hover{transform:translateY(-4px);border-color:rgba(47,98,142,.35);box-shadow:var(--shadow-md)}

/* Remove legacy .com treatment globally if any hidden copy remains. */
.brand-dotcom{display:none!important}

@media(max-width:1180px){.deal-journey-grid{grid-template-columns:1fr;gap:42px}.deal-journey-copy{max-width:760px}.deal-route-visual{max-width:820px;width:100%;margin:0 auto}.chat-tool-button small{display:none}}
@media(max-width:760px){.deal-journey-section{padding:58px 0}.deal-route-visual{min-height:500px}.route-property-card{width:235px;grid-template-columns:82px 1fr}.route-card-two{right:2%}.route-card-one{left:2%}.route-progress{left:34%}.chat-composer-toolbar{align-items:flex-start;flex-direction:column}.chat-composer-actions{width:100%;justify-content:flex-end}.dc-dashboard-dynamic{padding:13px}.dc-interactive-map{max-width:100%}}
@media(max-width:520px){.route-property-card{width:205px;grid-template-columns:70px 1fr}.route-property-card img{height:100px}.route-progress{width:84px;height:84px;left:35%;top:42%}.route-progress:before{inset:9px}.route-progress span{top:49px}.route-destination{left:6%;right:6%;bottom:4%}.deal-route-visual{min-height:470px}}
.footer-brand-lockup{display:flex;align-items:center;gap:11px;margin-bottom:16px;color:var(--color-accent)}.footer-brand-lockup .brand-mark{width:42px;height:34px}.footer-brand-lockup strong{display:block;color:#fff;font:800 .95rem/1 var(--font-header);letter-spacing:.08em}.footer-brand-lockup small{display:block;color:#B9C7D2;font-size:.58rem;margin-top:5px}

/* =========================================================
   FINAL INTERACTIVE PROFESSIONAL UPDATE
   ========================================================= */
:root{
  --font-header: "Segoe UI Variable Display","Segoe UI",Arial,sans-serif;
  --font-body: "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
}

/* Hero map: selected state label and accessibility */
.dc-hero-map-image{isolation:isolate}
.hero-map-state-overlay{
  position:absolute;
  left:50%;
  top:48%;
  z-index:8;
  transform:translate(-50%,-50%) scale(.96);
  max-width:92%;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  color:#fff;
  font-family:var(--font-header);
  font-size:clamp(2.25rem,5.7vw,5.5rem);
  font-weight:850;
  line-height:.94;
  letter-spacing:.025em;
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
  text-shadow:0 7px 26px rgba(11,31,48,.84),0 2px 2px rgba(11,31,48,.9);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.hero-map-state-overlay.is-visible{opacity:.96;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.hero-map-state-overlay.pulse{animation:heroSelectedStatePulse .5s cubic-bezier(.2,.7,.2,1)}
@keyframes heroSelectedStatePulse{0%{opacity:0;transform:translate(-50%,-43%) scale(.92)}100%{opacity:.96;transform:translate(-50%,-50%) scale(1)}}
.dc-interactive-map .us-state:focus-visible,.dc-interactive-map .map-deal-marker:focus-visible{outline:3px solid #fff;outline-offset:3px}
.dc-interactive-map .map-deal-marker{cursor:pointer}
.dc-interactive-map .map-deal-marker.is-selected circle{fill:#fff;stroke:var(--color-accent);stroke-width:4;filter:drop-shadow(0 5px 10px rgba(245,158,11,.45))}
.dc-map-caption.state-selected{border-color:rgba(245,158,11,.72);box-shadow:0 12px 28px rgba(5,17,29,.3)}

/* Header recent-chat dropdown */
.header-chat-dropdown{
  position:fixed;
  top:116px;
  right:max(18px,calc((100vw - 1500px)/2 + 88px));
  z-index:2100;
  width:min(390px,calc(100vw - 24px));
  max-height:560px;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  box-shadow:0 24px 58px rgba(11,31,48,.22);
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px) scale(.985);
  transform-origin:top right;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  overflow:hidden;
}
.header-chat-dropdown.open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.header-chat-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:16px 17px;border-bottom:1px solid var(--color-border);background:#F7F9F7}
.header-chat-dropdown-head span,.header-chat-dropdown-head strong{display:block}
.header-chat-dropdown-head span{font-size:.66rem;color:var(--color-text-secondary);font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.header-chat-dropdown-head strong{font:800 1rem/1.25 var(--font-header);color:var(--color-primary);margin-top:3px}
.header-chat-dropdown-head button{width:30px;height:30px;border-radius:7px;color:var(--color-text-secondary);font-size:1.35rem}
.header-chat-dropdown-head button:hover{background:#EAF0F4;color:var(--color-primary)}
.header-chat-preview-list{overflow:auto;max-height:410px;background:#fff}
.header-chat-preview-item{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 15px;border-bottom:1px solid #E6EBEF;text-align:left;background:#fff;transition:background .18s ease}
.header-chat-preview-item:hover{background:#F3F7FA}
.header-chat-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#E9EFF4;color:var(--color-primary);font:800 .9rem/1 var(--font-header);border:1px solid #D5DFE7}
.header-chat-preview-copy{min-width:0}
.header-chat-preview-copy strong,.header-chat-preview-copy small,.header-chat-preview-copy em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-chat-preview-copy strong{color:var(--color-text-primary);font:750 .78rem/1.25 var(--font-header)}
.header-chat-preview-copy strong i{margin-left:4px;color:var(--color-success);font-style:normal}
.header-chat-preview-copy small{color:var(--color-text-primary);font-size:.72rem;margin-top:3px}
.header-chat-preview-copy em{color:var(--color-text-secondary);font-size:.61rem;font-style:normal;margin-top:3px}
.header-chat-preview-meta{align-self:start;display:flex;flex-direction:column;align-items:flex-end;gap:7px;color:var(--color-text-secondary);font-size:.59rem}
.header-chat-preview-meta b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--color-secondary);color:#fff;font-size:.58rem}
.header-chat-preview-empty{padding:40px 22px;text-align:center;color:var(--color-text-secondary);font-size:.76rem}
.header-chat-preview-empty strong,.header-chat-preview-empty span{display:block}.header-chat-preview-empty strong{color:var(--color-primary);font-size:.86rem}.header-chat-preview-empty span{margin-top:4px}
.header-chat-see-all{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 17px;border-top:1px solid var(--color-border);background:#F7F9F7;color:var(--color-secondary);font:800 .72rem/1 var(--font-header)}
.header-chat-see-all:hover{background:#EEF4F8;color:var(--color-primary)}

/* Compact marketplace chat composer based on the selected reference */
.compact-chat-compose{border-top:1px solid var(--color-border);background:#fff}
.compact-chat-composer{padding:10px 16px 12px;border-top:0}
.compact-chat-composer textarea{min-height:46px;max-height:100px;border:1px solid #D9E0E6;border-radius:5px;background:#fff;padding:11px 13px;font-size:.82rem;resize:vertical}
.compact-chat-composer textarea:focus{border-color:var(--color-secondary);box-shadow:0 0 0 3px rgba(47,98,142,.08)}
.compact-chat-composer .chat-composer-toolbar{margin-top:7px;min-height:36px}
.compact-chat-composer .chat-tool-group{gap:0}
.chat-tool-button.icon-only{width:38px;height:34px;justify-content:center;padding:6px;border-radius:5px;border-right:1px solid #E2E7EB;color:#273746}
.chat-tool-button.icon-only:last-child{border-right:0}
.chat-tool-button.icon-only svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-tool-button.icon-only small{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.compact-chat-composer .chat-make-offer{height:34px;padding:0 15px;border-radius:7px;background:#fff;color:var(--color-primary);border:1px solid var(--color-primary);font-size:.7rem}
.compact-chat-composer .chat-send-btn{width:36px;height:34px;padding:0!important;background:transparent!important;color:#8A949E!important;border-radius:5px!important}
.compact-chat-composer .chat-send-btn:hover{background:#EDF2EE!important;color:var(--color-primary)!important}
.compact-chat-composer .chat-send-btn svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.chat-more-btn{width:26px;height:34px;color:#6C7884;font-size:1rem;border-radius:5px}
.chat-more-btn:hover{background:#EDF2EE;color:var(--color-primary)}
.chat-composer-menu{position:absolute;right:14px;bottom:54px;z-index:12;width:220px;padding:7px;background:#fff;border:1px solid var(--color-border);border-radius:9px;box-shadow:0 16px 35px rgba(18,48,74,.18)}
.chat-composer-menu button{display:block;width:100%;padding:9px 10px;text-align:left;border-radius:6px;font-size:.7rem;color:var(--color-text-primary)}
.chat-composer-menu button:hover{background:#EDF2EE;color:var(--color-primary)}
.offer-mode-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.offer-mode-heading>button{color:var(--color-secondary);font-weight:750;font-size:.7rem;padding-top:3px}.offer-mode-heading strong{display:block;font:800 1rem/1.2 var(--font-header);color:var(--color-primary)}.offer-mode-heading p{font-size:.7rem;margin-top:3px}

/* Professional active state consistency */
.nav-link.active,.nav-link[aria-current="page"]{color:#fff!important;position:relative}
.nav-link.active::after,.nav-link[aria-current="page"]::after{content:"";position:absolute;left:10%;right:10%;bottom:-10px;height:3px;border-radius:99px;background:var(--color-accent)}
.dc-dashboard-side-nav button.active{background:linear-gradient(90deg,var(--color-secondary),#3974A6);color:#fff;box-shadow:0 8px 18px rgba(47,98,142,.2)}

@media(max-width:900px){
  .header-chat-dropdown{top:105px;right:10px}
  .hero-map-state-overlay{font-size:clamp(1.7rem,8vw,3.4rem);white-space:normal}
}
@media(max-width:620px){
  .header-chat-dropdown{top:99px;width:calc(100vw - 20px)}
  .compact-chat-composer .chat-composer-toolbar{align-items:center;flex-direction:row}
  .compact-chat-composer .chat-tool-group{max-width:205px;overflow-x:auto;flex-wrap:nowrap}
  .chat-tool-button.icon-only{min-width:36px}
  .compact-chat-composer .chat-make-offer{padding:0 10px;font-size:.62rem}
}


/* ===== Latest professional usability refinements ===== */
/* Wide, horizontally oriented recent-conversation panel with its own scroll. */
.header-chat-dropdown{
  width:min(590px,calc(100vw - 32px));
  max-height:500px;
  border-radius:10px;
}
.header-chat-preview-list{
  min-height:190px;
  max-height:335px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--color-secondary) #E8EEF3;
}
.header-chat-preview-list::-webkit-scrollbar{width:9px}
.header-chat-preview-list::-webkit-scrollbar-track{background:#E8EEF3}
.header-chat-preview-list::-webkit-scrollbar-thumb{background:var(--color-secondary);border:2px solid #E8EEF3;border-radius:999px}
.header-chat-preview-item{grid-template-columns:48px minmax(0,1fr) 64px;padding:14px 17px}
.header-chat-preview-copy small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}

/* The removed floating reaction tray must never reappear from legacy JS. */
.chat-emoji-picker{display:none!important}

/* Marketplace route changes always begin at the page heading. */
#marketplace-view{scroll-margin-top:0}

@media(max-width:720px){
  .header-chat-dropdown{width:calc(100vw - 20px);right:10px;max-height:72vh}
  .header-chat-preview-list{max-height:52vh}
  .header-chat-preview-item{grid-template-columns:42px minmax(0,1fr) 50px;padding:12px}
}

/* ===== Buyer / Seller dual-workspace experience ===== */
.workspace-switch{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:4px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(7,25,45,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  white-space:nowrap;
}
.workspace-switch[hidden]{display:none!important}
.workspace-switch button{
  min-width:96px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:0;
  border-radius:999px;
  padding:0 13px;
  background:transparent;
  color:#C7D4DE;
  font:750 .68rem/1 var(--font-header);
  cursor:pointer;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.workspace-switch button:hover{color:#fff;background:rgba(255,255,255,.08)}
.workspace-switch button.active{background:#fff;color:var(--color-primary);box-shadow:0 5px 14px rgba(3,15,28,.22)}
.workspace-switch button.active span{color:var(--color-accent-hover)}
.workspace-switch button:focus-visible{outline:3px solid rgba(245,158,11,.42);outline-offset:2px}

.profile-workspace-switch{padding:14px 17px;border-bottom:1px solid var(--color-border);background:#F7FAFC}
.profile-workspace-switch>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}
.profile-workspace-switch strong{font:800 .78rem/1.2 var(--font-header);color:var(--color-primary)}
.profile-workspace-switch small{font-size:.61rem;color:var(--color-text-secondary)}
.profile-workspace-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.profile-workspace-buttons button,.dashboard-workspace-switch button{border:1px solid var(--color-border);background:#fff;color:var(--color-text-secondary);border-radius:7px;padding:8px 10px;font:750 .68rem/1 var(--font-header);cursor:pointer}
.profile-workspace-buttons button.active,.dashboard-workspace-switch button.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:0 6px 14px rgba(18,48,74,.16)}

.dashboard-workspace-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 5px 17px;border-bottom:1px solid rgba(255,255,255,.13)}
.dashboard-workspace-switch button{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);color:#D7E2EA;padding:10px 8px}
.dashboard-workspace-switch button.active{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-primary);box-shadow:none}
.buyer-focus-card{display:none}
.buyer-focus-card strong{font-size:1rem!important;line-height:1.3}.buyer-focus-card small{line-height:1.5}

.workspace-offer-grid{display:grid;gap:12px}
.workspace-offer-card{display:grid;grid-template-columns:86px minmax(0,1fr) 150px auto;gap:16px;align-items:center;padding:13px;border:1px solid var(--color-border);border-radius:10px;background:#fff;box-shadow:0 5px 16px rgba(18,48,74,.06)}
.workspace-offer-card img{width:86px;height:68px;object-fit:cover;border-radius:7px}
.workspace-offer-copy{min-width:0}.workspace-offer-copy>span,.workspace-offer-value>span{display:block;color:var(--color-text-secondary);font:750 .61rem/1 var(--font-header);text-transform:uppercase;letter-spacing:.06em}
.workspace-offer-copy h3{font-size:.88rem;margin:6px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-offer-copy p{font-size:.7rem;color:var(--color-text-secondary)}
.workspace-offer-value strong{display:block;color:var(--color-primary);font:850 1.05rem/1.2 var(--font-header);margin:5px 0}.workspace-offer-value small{color:var(--color-success);font-size:.65rem}
.workspace-offer-card>button{border:1px solid var(--color-primary);background:#fff;color:var(--color-primary);border-radius:7px;padding:9px 12px;font:800 .66rem/1 var(--font-header);cursor:pointer}.workspace-offer-card>button:hover{background:var(--color-primary);color:#fff}
.dashboard-clickable-row{cursor:pointer}.dashboard-clickable-row:hover td{background:#F2F7FA}
.role-mode-help{display:block;margin-top:7px;color:var(--color-text-secondary);font-size:.67rem;line-height:1.4}

/* Buyer mode exposes acquisition tools; Seller mode exposes disposition tools. */
.workspace-buyer #chat-role-buyers{display:none!important}
.workspace-seller #chat-role-sellers{display:none!important}
.workspace-buyer .chat-role-tabs,.workspace-seller .chat-role-tabs{grid-template-columns:1fr}
.workspace-buyer .chat-role-tabs #chat-role-sellers,.workspace-seller .chat-role-tabs #chat-role-buyers{pointer-events:none}

@media(min-width:1181px){
  .navbar{grid-template-columns:minmax(210px,auto) minmax(390px,1fr) auto minmax(220px,auto)!important;gap:16px!important}
  .workspace-switch{justify-self:end}
  .nav-account-actions{min-width:220px}
}
@media(max-width:1320px) and (min-width:901px){
  .workspace-switch button{min-width:72px;padding:0 9px;font-size:.61rem}
  .workspace-switch button span{display:none}
  .navbar{gap:9px!important}
  .nav-menu{gap:10px!important}
}
@media(max-width:1080px) and (min-width:901px){
  .workspace-switch{position:absolute;right:225px;bottom:5px;transform:scale(.86);transform-origin:right bottom}
}
@media(max-width:900px){
  .workspace-switch{margin-left:auto;margin-right:5px;padding:3px}
  .workspace-switch button{min-width:58px;height:30px;padding:0 7px;font-size:.56rem}
  .workspace-switch button span{display:none}
  .workspace-offer-card{grid-template-columns:70px minmax(0,1fr);gap:11px}
  .workspace-offer-card img{width:70px;height:60px}.workspace-offer-value,.workspace-offer-card>button{grid-column:2}
}
@media(max-width:760px){
  .dashboard-workspace-switch{max-width:290px;margin:0 auto}
  .workspace-switch{order:2}
  .nav-account-actions{order:3}
}
@media(max-width:620px){
  .workspace-switch button{min-width:48px;font-size:.5rem}
  .workspace-offer-card{grid-template-columns:1fr}.workspace-offer-card img{width:100%;height:170px}.workspace-offer-value,.workspace-offer-card>button{grid-column:1}
}

/* Mode-specific information density keeps each workspace focused. */
.workspace-buyer .deal-journey-section{display:none}
.workspace-seller .buyer-intelligence-section{display:none}

/* ===== Final Buyer/Seller workspace refinement ===== */
/* Balanced desktop header: logo left, navigation centered, role switch and account tools right. */
@media (min-width:1181px){
  .header .container.navbar{
    width:100%;
    max-width:1920px;
    padding-left:46px;
    padding-right:46px;
    display:grid!important;
    grid-template-columns:minmax(245px,1fr) auto auto minmax(225px,1fr)!important;
    column-gap:30px!important;
    align-items:center;
  }
  .brand-logo{justify-self:start;min-width:230px}
  .nav-menu{justify-self:center!important;justify-content:center;gap:clamp(24px,2.2vw,46px)!important;margin:0!important}
  .workspace-switch{justify-self:end!important;margin:0!important}
  .nav-account-actions{justify-self:end!important;margin:0!important;min-width:210px;justify-content:flex-end}
}
@media (min-width:901px) and (max-width:1180px){
  .header .container.navbar{padding-left:24px;padding-right:24px}
  .nav-menu{margin-left:auto;margin-right:auto}
}

/* Profile-shaped recent-message panel: compact, vertical, and anchored below Chat. */
.header-chat-dropdown{
  position:fixed;
  top:118px;
  right:72px;
  width:350px;
  max-height:calc(100vh - 138px);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 55px rgba(7,25,49,.25);
}
.header-chat-dropdown::before{
  content:"";
  position:absolute;
  top:-9px;
  right:55px;
  width:18px;
  height:18px;
  background:#F7F9F7;
  border-left:1px solid var(--color-border);
  border-top:1px solid var(--color-border);
  transform:rotate(45deg);
}
.header-chat-dropdown-head{padding:15px 17px;min-height:78px;background:#F7F9F7}
.header-chat-preview-list{min-height:0;max-height:340px;overflow-y:auto}
.header-chat-preview-item{grid-template-columns:48px minmax(0,1fr) 45px;padding:15px 17px;gap:12px}
.header-chat-preview-copy strong{font-size:.76rem}
.header-chat-preview-copy span{font-size:.69rem;line-height:1.42}
.header-chat-preview-copy small{font-size:.62rem;-webkit-line-clamp:1}
.header-chat-see-all{min-height:54px;padding:0 18px}
@media(max-width:900px){
  .header-chat-dropdown{top:105px;right:10px;width:min(350px,calc(100vw - 20px));max-height:72vh}
  .header-chat-dropdown::before{display:none}
}

/* First-time role activation terms. */
.workspace-terms-card{max-width:640px;padding:30px;border-radius:16px;background:var(--color-surface);box-shadow:0 28px 70px rgba(7,25,49,.30)}
.workspace-terms-eyebrow{display:block;color:var(--color-accent-hover);font:850 .68rem/1 var(--font-header);text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px}
.workspace-terms-card h3{font:850 1.55rem/1.2 var(--font-header);color:var(--color-primary);margin:0 40px 8px 0}
.workspace-terms-card>p{color:var(--color-text-secondary);font-size:.84rem;line-height:1.55;margin-bottom:18px}
.workspace-terms-scroll{max-height:310px;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px;border:1px solid var(--color-border);border-radius:11px;background:var(--color-background-light);scrollbar-width:thin;scrollbar-color:var(--color-secondary) #E4EBF0}
.workspace-terms-scroll h4{font:800 .94rem/1.25 var(--font-header);color:var(--color-primary);margin:0 0 12px}
.workspace-terms-scroll ol{display:flex;flex-direction:column;gap:10px;margin:0;padding-left:20px;color:var(--color-text-primary);font-size:.78rem;line-height:1.55}
.workspace-terms-check{display:flex;align-items:flex-start;gap:11px;margin:17px 0 8px;padding:13px 14px;border:1px solid var(--color-border);border-radius:9px;background:#fff;cursor:pointer}
.workspace-terms-check input{width:18px;height:18px;margin-top:1px;accent-color:var(--color-primary)}
.workspace-terms-check span{font-size:.78rem;line-height:1.45;color:var(--color-text-primary)}
.workspace-terms-version{margin:0 0 17px!important;font-size:.65rem!important;color:var(--color-text-secondary)!important}
.workspace-terms-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.workspace-terms-actions .btn{min-height:43px}
@media(max-width:620px){
  .workspace-terms-card{width:calc(100vw - 22px);padding:24px 18px}
  .workspace-terms-actions{grid-template-columns:1fr}
  .workspace-terms-scroll{max-height:260px}
}


/* ========================================================================
   FINAL ROLE-AWARE HEADER ALIGNMENT
   Guest: logo left / menu centered / Wishlist-Chat-Login right.
   Member: logo left / menu centered / workspace switch / account tools right.
   Admin: logo left / admin menu centered / account tools right.
   ======================================================================== */
@media (min-width: 1181px) {
  .header .container.navbar {
    width: 100% !important;
    max-width: none !important;
    min-height: 72px;
    padding-left: 36px !important;
    padding-right: 36px !important;
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
  }

  .header .brand-logo {
    flex-shrink: 0;
    margin: 0 !important;
  }

  .header .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  body.is-standard-user .header .workspace-switch {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  body.is-guest .header .workspace-switch,
  body.is-admin .header .workspace-switch {
    display: none !important;
  }

  .header .nav-account-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 0 !important;
    flex-shrink: 0;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .header .container.navbar {
    width: 100% !important;
    max-width: none !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: 14px !important;
  }

  body.is-guest .header .container.navbar,
  body.is-admin .header .container.navbar,
  body.is-standard-user .header .container.navbar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
  }

  .header .brand-logo { grid-column: 1; justify-self: start !important; }
  .header .nav-menu { grid-column: 2; justify-self: center !important; margin: 0 !important; gap: 12px !important; }
  .header .nav-account-actions { grid-column: 3; justify-self: end !important; margin: 0 !important; }
}

/* ======================================================================
   BUY BOX + SMART MATCH UPDATE
   ====================================================================== */
.dc-dashboard-profile-card{display:flex;align-items:center;gap:12px;margin:14px 4px 18px;padding:14px 12px;border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.10)}
.dc-dashboard-profile-avatar{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:linear-gradient(145deg,#6f77e8,#8f67df);color:#fff;font:800 1rem/1 var(--font-header);box-shadow:0 8px 20px rgba(0,0,0,.18);border:2px solid rgba(255,255,255,.25)}
.dc-dashboard-profile-card>div{display:flex;flex-direction:column;min-width:0}.dc-dashboard-profile-card strong{color:#fff;font:800 .82rem/1.2 var(--font-header);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-dashboard-profile-card small{color:#c8d5df;font-size:.67rem;margin-top:3px}.dc-dashboard-profile-card em{font-style:normal;color:#b9e6ca;font-size:.61rem;margin-top:5px}.dc-dashboard-profile-card em i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#37bd78;margin-right:5px}
.sidebar-unread-badge{margin-left:auto!important;min-width:20px;height:20px;display:none;place-items:center;border-radius:999px;background:var(--color-error);color:#fff!important;font:800 .6rem/1 var(--font-header)!important}
.dc-dashboard-side-nav button{position:relative}.dc-dashboard-side-nav button .sidebar-unread-badge:not(:empty){display:grid}

.smart-match-control{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:13px 16px;background:#fff;border:1px solid var(--color-border);border-radius:12px;box-shadow:0 6px 18px rgba(18,48,74,.055)}
.smart-match-control-copy{display:flex;align-items:center;gap:12px;min-width:0}.smart-match-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(245,158,11,.15);color:var(--color-accent-hover);font-size:1rem}.smart-match-control-copy div{display:flex;flex-direction:column}.smart-match-control-copy strong{font:800 .78rem/1.2 var(--font-header);color:var(--color-primary)}.smart-match-control-copy small{margin-top:3px;color:var(--color-text-secondary);font-size:.66rem}
.smart-match-switch{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none}.smart-match-switch input{position:absolute;opacity:0;pointer-events:none}.smart-match-switch span{position: relative;width:42px;height:23px;border-radius:999px;background:#cfd9e1;transition:.2s}.smart-match-switch span:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.smart-match-switch input:checked+span{background:var(--color-success)}.smart-match-switch input:checked+span:after{transform:translateX(19px)}.smart-match-switch b{font:800 .62rem/1 var(--font-header);color:var(--color-text-secondary);min-width:22px}
.smart-match-dashboard-panel,.buyer-activity-dashboard-panel{margin-bottom:18px}.smart-dashboard-card,.buyer-dashboard-off-card{background:#fff;border:1px solid var(--color-border);border-radius:13px;box-shadow:0 8px 24px rgba(18,48,74,.06);overflow:hidden}.smart-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid var(--color-border)}.smart-dashboard-head h2{font:850 1rem/1.2 var(--font-header);color:var(--color-primary);margin:0}.smart-dashboard-head p{margin:4px 0 0;color:var(--color-text-secondary);font-size:.7rem}.smart-dashboard-head button{border:0;background:transparent;color:var(--color-secondary);font:800 .67rem/1 var(--font-header);cursor:pointer}.smart-dashboard-list{display:flex;flex-direction:column}.smart-dashboard-deal{display:grid;grid-template-columns:80px minmax(0,1.4fr) minmax(90px,.6fr) 80px auto;gap:14px;align-items:center;padding:12px 18px;border-bottom:1px solid #e8edf1}.smart-dashboard-deal:last-child{border-bottom:0}.smart-dashboard-deal img{width:80px;height:58px;object-fit:cover;border-radius:8px}.smart-dashboard-deal h3{margin:0;color:var(--color-primary);font:800 .76rem/1.25 var(--font-header)}.smart-dashboard-deal p{margin:4px 0 0;color:var(--color-text-secondary);font-size:.65rem}.smart-dashboard-price span{display:block;color:var(--color-text-secondary);font-size:.58rem;text-transform:uppercase}.smart-dashboard-price strong{display:block;margin-top:4px;color:var(--color-text-primary);font:800 .8rem/1 var(--font-header)}.smart-score{display:grid;place-items:center;width:55px;height:48px;border-radius:10px;background:#e8f6ed;color:var(--color-success);font:850 .78rem/1 var(--font-header)}.smart-dashboard-deal button{border:1px solid var(--color-border);background:#fff;color:var(--color-primary);border-radius:7px;padding:8px 11px;font:800 .62rem/1 var(--font-header);cursor:pointer}.smart-empty{padding:45px 25px;text-align:center;color:var(--color-text-secondary)}.smart-empty h3{color:var(--color-primary);font:800 1rem/1.2 var(--font-header);margin:0 0 8px}.buyer-off-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.buyer-off-panel{background:#fff;border:1px solid var(--color-border);border-radius:13px;box-shadow:0 8px 24px rgba(18,48,74,.06);overflow:hidden}.buyer-off-panel header{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid var(--color-border)}.buyer-off-panel h2{margin:0;font:850 .92rem/1.2 var(--font-header);color:var(--color-primary)}.buyer-off-panel header button{border:0;background:transparent;color:var(--color-secondary);font:800 .65rem/1 var(--font-header);cursor:pointer}.buyer-activity-list,.buyer-conversation-list{display:flex;flex-direction:column}.buyer-activity-item,.buyer-conversation-item{display:flex;align-items:center;gap:12px;padding:13px 17px;border-bottom:1px solid #e8edf1}.buyer-activity-item:last-child,.buyer-conversation-item:last-child{border-bottom:0}.buyer-activity-item>span,.buyer-conversation-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eef4f8;color:var(--color-primary);font-weight:800}.buyer-activity-item div,.buyer-conversation-item div{min-width:0;flex:1}.buyer-activity-item strong,.buyer-conversation-item strong{display:block;color:var(--color-primary);font:800 .72rem/1.25 var(--font-header)}.buyer-activity-item small,.buyer-conversation-item small{display:block;color:var(--color-text-secondary);font-size:.63rem;margin-top:3px}.buyer-conversation-item{cursor:pointer}.buyer-conversation-item:hover{background:#f7fafc}

/* Marketplace smart matching */
.market-smart-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--color-border);border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(18,48,74,.05)}.market-smart-bar>div{display:flex;align-items:center;gap:10px}.market-smart-bar strong{font:800 .75rem/1.2 var(--font-header);color:var(--color-primary)}.market-smart-bar small{display:block;margin-top:3px;color:var(--color-text-secondary);font-size:.62rem}.market-smart-bar button{border:0;background:transparent;color:var(--color-secondary);font:800 .64rem/1 var(--font-header);cursor:pointer}.deal-section-divider{grid-column:1/-1;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:8px 2px 3px}.deal-section-divider h2{margin:0;color:var(--color-primary);font:850 1rem/1.2 var(--font-header)}.deal-section-divider p{margin:3px 0 0;color:var(--color-text-secondary);font-size:.68rem}.deal-section-divider span{color:var(--color-success);font:800 .67rem/1 var(--font-header);background:#e8f6ed;border-radius:999px;padding:7px 10px}.note-card.smart-match-card{border-color:rgba(46,125,90,.38);box-shadow:0 10px 26px rgba(46,125,90,.10)}.smart-match-ribbon{position:absolute;left:12px;top:12px;z-index:3;padding:7px 10px;border-radius:999px;background:var(--color-success);color:#fff;font:850 .62rem/1 var(--font-header);box-shadow:0 5px 15px rgba(46,125,90,.24)}.smart-match-reasons{grid-column:1/-1;margin:-4px 0 10px;padding:9px 11px;border-radius:8px;background:#f1f8f4;color:#34664f;font-size:.64rem;line-height:1.4}.note-card-media{position:relative}

/* Buy Box modal */
.buy-box-modal{max-width:980px!important;width:min(980px,calc(100vw - 28px))!important;max-height:92vh;overflow-y:auto;padding:0!important;border-radius:17px!important;background:var(--color-surface);box-shadow:0 32px 80px rgba(5,24,42,.34)}.buy-box-modal-head{display:flex;gap:15px;align-items:flex-start;padding:27px 30px 20px;border-bottom:1px solid var(--color-border);background:linear-gradient(135deg,#f9fbfc,#f1f5f8)}.buy-box-head-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:12px;background:var(--color-primary);color:var(--color-accent);font-size:1.25rem}.buy-box-modal-head h3{margin:5px 0 6px;color:var(--color-primary);font:850 1.45rem/1.2 var(--font-header)}.buy-box-modal-head p{margin:0;color:var(--color-text-secondary);font-size:.78rem;line-height:1.5}.buy-box-progress{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 25px;border-bottom:1px solid var(--color-border);background:#fff}.buy-box-progress span{display:flex;align-items:center;gap:6px;color:var(--color-text-secondary);font:750 .62rem/1 var(--font-header)}.buy-box-progress span:first-letter{font-weight:900}.buy-box-progress span.active{color:var(--color-primary)}.buy-box-progress span b{font-weight:800}.buy-box-progress i{width:55px;height:1px;background:var(--color-border)}.buy-box-modal form{padding:22px 30px 28px}.buy-box-form-section{padding:18px 0;border-bottom:1px solid var(--color-border)}.buy-box-form-section:first-child{padding-top:0}.buy-box-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:14px}.buy-box-section-title>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--color-primary);color:#fff;font:800 .68rem/1 var(--font-header)}.buy-box-section-title h4{margin:1px 0 3px;color:var(--color-primary);font:850 .9rem/1.2 var(--font-header)}.buy-box-section-title p{margin:0;color:var(--color-text-secondary);font-size:.68rem}.location-mode-toggle{display:inline-flex;padding:3px;border:1px solid var(--color-border);border-radius:8px;background:#f6f8fa;margin-bottom:14px}.location-mode-toggle button{border:0;background:transparent;color:var(--color-text-secondary);padding:8px 13px;border-radius:6px;font:800 .65rem/1 var(--font-header);cursor:pointer}.location-mode-toggle button.active{background:var(--color-primary);color:#fff}.buy-box-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.buy-box-state-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:180px;overflow:auto;padding:10px;border:1px solid var(--color-border);border-radius:9px;background:#f9fbfc}.buy-box-state-selector label,.buy-box-county-selector label{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:6px;color:var(--color-text-primary);font-size:.65rem;cursor:pointer}.buy-box-state-selector label:hover,.buy-box-county-selector label:hover{background:#edf3f7}.buy-box-state-selector input,.buy-box-county-selector input,.buy-box-check-grid input,.buy-box-frequency input{accent-color:var(--color-primary)}.buy-box-county-selector{max-height:142px;overflow:auto;margin-top:8px;padding:8px;border:1px solid var(--color-border);border-radius:9px;background:#f9fbfc}.buy-box-county-selector p{margin:12px;color:var(--color-text-secondary);font-size:.68rem}.buy-box-select-all{border:0;background:transparent;color:var(--color-secondary);font:800 .61rem/1 var(--font-header);padding:8px 0;cursor:pointer}.buy-box-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.buy-box-tags span{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;background:#eaf1f6;color:var(--color-primary);font:750 .59rem/1 var(--font-header)}.buy-box-tags button{border:0;background:transparent;color:inherit;font-size:.75rem;cursor:pointer;padding:0}.buy-box-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.buy-box-check-grid.compact{grid-template-columns:repeat(5,1fr)}.buy-box-check-grid label{display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:var(--color-text-primary);font-size:.66rem;cursor:pointer}.buy-box-check-grid label:has(input:checked){border-color:var(--color-secondary);background:#eef5fa}.buy-box-budget-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.buy-box-budget-grid>label,.buy-box-name-label{color:var(--color-text-secondary);font:750 .63rem/1.2 var(--font-header)}.money-input{display:flex;align-items:center;margin-top:7px;border:1px solid var(--color-border);border-radius:8px;overflow:hidden;background:#fff}.money-input span{padding:0 9px;color:var(--color-text-secondary);font-weight:800}.money-input input{min-width:0;width:100%;border:0;outline:0;padding:10px 8px;color:var(--color-text-primary);font:750 .72rem/1 var(--font-header)}.buy-box-frequency{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}.buy-box-frequency label{position: relative;padding:12px;border:1px solid var(--color-border);border-radius:9px;cursor:pointer;background:#fff}.buy-box-frequency label:has(input:checked){border-color:var(--color-secondary);background:#eef5fa}.buy-box-frequency input{position:absolute;right:10px;top:10px}.buy-box-frequency strong{display:block;color:var(--color-primary);font:800 .69rem/1.2 var(--font-header)}.buy-box-frequency small{display:block;margin-top:5px;color:var(--color-text-secondary);font-size:.59rem;line-height:1.35}.buy-box-name-label{display:block}.buy-box-name-label input{margin-top:7px}.buy-box-saved-banner{margin-top:14px;padding:10px 13px;border-radius:8px;background:#e8f6ed;border:1px solid #a7d6b9;color:var(--color-success);font:800 .69rem/1.2 var(--font-header)}.buy-box-actions{display:flex;justify-content:flex-end;gap:11px;padding-top:18px}.buy-box-actions .btn{min-width:180px}.buy-box-modal.required-onboarding #buy-box-close-btn,.buy-box-modal.required-onboarding #buy-box-cancel-btn{display:none}

.buybox-dashboard-shell{background:#fff;border:1px solid var(--color-border);border-radius:13px;padding:20px;box-shadow:0 8px 24px rgba(18,48,74,.06)}.buybox-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.buybox-dashboard-head h3{margin:0;color:var(--color-primary);font:850 1rem/1.2 var(--font-header)}.buybox-dashboard-head p{margin:4px 0 0;color:var(--color-text-secondary);font-size:.7rem}.buybox-card{border:1px solid var(--color-border);border-radius:11px;overflow:hidden}.buybox-card-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f6f9fb;border-bottom:1px solid var(--color-border)}.buybox-card-top strong{font:850 .82rem/1.2 var(--font-header);color:var(--color-primary)}.buybox-card-top span{padding:6px 9px;border-radius:999px;background:#e8f6ed;color:var(--color-success);font:800 .58rem/1 var(--font-header)}.buybox-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:16px}.buybox-card-grid div span{display:block;color:var(--color-text-secondary);font-size:.57rem;text-transform:uppercase}.buybox-card-grid div strong{display:block;margin-top:5px;color:var(--color-text-primary);font:750 .68rem/1.35 var(--font-header)}.buybox-card-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 16px;border-top:1px solid var(--color-border)}

@media(max-width:900px){.buy-box-location-grid,.buyer-off-grid{grid-template-columns:1fr}.buy-box-state-selector{grid-template-columns:repeat(3,1fr)}.buy-box-check-grid,.buy-box-check-grid.compact{grid-template-columns:repeat(2,1fr)}.buy-box-budget-grid,.buy-box-frequency{grid-template-columns:repeat(2,1fr)}.smart-dashboard-deal{grid-template-columns:68px minmax(0,1fr) 70px}.smart-dashboard-deal img{width:68px}.smart-dashboard-price{display:none}.smart-dashboard-deal button{grid-column:2/-1}.buybox-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.smart-match-control{align-items:flex-start}.buy-box-modal-head{padding:23px 18px 17px}.buy-box-progress{overflow:auto;justify-content:flex-start}.buy-box-progress i{width:25px}.buy-box-modal form{padding:18px}.buy-box-state-selector{grid-template-columns:repeat(2,1fr)}.buy-box-budget-grid,.buy-box-frequency{grid-template-columns:1fr}.buy-box-actions{flex-direction:column}.buy-box-actions .btn{width:100%;min-width:0}.smart-dashboard-deal{grid-template-columns:58px minmax(0,1fr) 54px;padding:11px}.smart-dashboard-deal img{width:58px;height:52px}.buyer-off-grid{grid-template-columns:1fr}.buybox-card-grid{grid-template-columns:1fr}}


/* ===== Seller command center and final workflow refinements ===== */
.dispo-promo-ticker{height:34px;overflow:hidden;background:linear-gradient(90deg,#E4622E,#efcc78,#E4622E);color:#0A1811;border-bottom:1px solid rgba(11,31,48,.24);position: relative;z-index:60}
.dispo-promo-track{display:flex;width:max-content;min-width:200%;height:100%;align-items:center;gap:72px;animation:dispoPromoScroll 26s linear infinite;font:750 .72rem/1 var(--font-header);letter-spacing:.025em;white-space:nowrap}.dispo-promo-track span{display:inline-flex;align-items:center;gap:7px}.dispo-promo-track b{font-weight:900;letter-spacing:.09em}.dispo-promo-track strong{background:#111827;color:#fff;padding:5px 10px;border-radius:999px;letter-spacing:.1em}
@keyframes dispoPromoScroll{to{transform:translateX(-50%)}}
.field-help{display:block;margin-top:7px;color:var(--color-text-secondary);font-size:.7rem}.seller-relationship-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.seller-relationship-options label{display:flex;gap:10px;align-items:flex-start;padding:15px;border:1px solid var(--color-border);border-radius:12px;background:#fff;cursor:pointer;transition:.2s}.seller-relationship-options label:has(input:checked){border-color:var(--color-accent);box-shadow:0 0 0 3px rgba(245,158,11,.14);background:#fffaf0}.seller-relationship-options input{margin-top:3px;accent-color:var(--color-primary)}.seller-relationship-options span{display:flex;flex-direction:column;gap:3px}.seller-relationship-options b{font-size:.82rem;color:var(--color-primary)}.seller-relationship-options small{font-size:.69rem;color:var(--color-text-secondary);line-height:1.35}.wizard-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wizard-location-row,.wizard-three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.promo-code-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;margin-bottom:20px;border:1px solid rgba(245,158,11,.7);border-radius:14px;background:linear-gradient(110deg,#fff9e9,#fff);box-shadow:0 12px 28px rgba(18,48,74,.08)}.promo-code-banner>div{display:flex;flex-direction:column;gap:3px}.promo-code-banner span{font:850 .64rem/1 var(--font-header);letter-spacing:.12em;color:#C44E1F}.promo-code-banner strong{font:850 1.08rem/1.2 var(--font-header);color:var(--color-primary)}.promo-code-banner small{color:var(--color-text-secondary)}.promo-code-banner button{border:0;border-radius:9px;background:var(--color-accent);color:#17212b;padding:10px 16px;font-weight:850;cursor:pointer}.promo-code-banner.applied{border-color:var(--color-success);background:#eef8f2}.promo-code-banner.applied button{background:var(--color-success);color:white}.sale-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sale-plan-card{position: relative;display:flex;flex-direction:column;min-height:340px;padding:24px;border:1px solid var(--color-border);border-radius:17px;background:#fff;box-shadow:0 12px 34px rgba(18,48,74,.08);cursor:pointer;transition:.22s}.sale-plan-card input{position:absolute;opacity:0;pointer-events:none}.sale-plan-card:hover{transform:translateY(-2px);box-shadow:0 17px 42px rgba(18,48,74,.13)}.sale-plan-card.selected{border:2px solid var(--color-accent);box-shadow:0 0 0 4px rgba(245,158,11,.13),0 18px 45px rgba(18,48,74,.12)}.sale-plan-card.featured:before{content:'PREMIUM SUPPORT';position:absolute;right:18px;top:19px;color:#C44E1F;font:850 .58rem/1 var(--font-header);letter-spacing:.1em}.sale-plan-badge{font:850 .62rem/1 var(--font-header);letter-spacing:.1em;color:var(--color-secondary)}.sale-plan-card h4{margin:12px 0 8px;font:850 1.45rem/1.15 var(--font-header);color:var(--color-primary)}.sale-plan-price{display:flex;align-items:baseline;gap:8px;margin-bottom:17px}.sale-plan-price strong{font:900 1.7rem/1 var(--font-header);color:var(--color-primary)}.sale-plan-price small{font-size:.68rem;color:var(--color-text-secondary)}.sale-plan-card ul{display:flex;flex-direction:column;gap:10px;margin:0 0 22px;padding:0;list-style:none;color:var(--color-text-secondary);font-size:.75rem;line-height:1.45}.sale-plan-card li{position: relative;padding-left:20px}.sale-plan-card li:before{content:'✓';position:absolute;left:0;color:var(--color-success);font-weight:900}.sale-plan-select{margin-top:auto;text-align:center;padding:10px;border-radius:9px;background:#f0f4f7;color:var(--color-primary);font-weight:850;font-size:.74rem}.sale-plan-card.selected .sale-plan-select{background:var(--color-primary);color:white}.payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;padding:14px;border:1px solid var(--color-border);border-radius:13px;background:var(--color-background-light)}.payment-summary>div{display:flex;flex-direction:column;gap:4px}.payment-summary span{font-size:.64rem;text-transform:uppercase;letter-spacing:.07em;color:var(--color-text-secondary)}.payment-summary strong{font-size:.82rem;color:var(--color-primary)}.assisted-terms-check{display:flex;gap:11px;align-items:flex-start;margin-top:15px;padding:14px;border:1px solid #e7c36b;border-radius:11px;background:#fff9e9;font-size:.73rem;line-height:1.45}.assisted-terms-check input{margin-top:2px;accent-color:var(--color-primary)}
.dc-dashboard-profile-card>div{display:grid;grid-template-columns:auto auto;column-gap:9px;align-items:center}.dc-dashboard-profile-card>div strong{grid-column:1/-1}.dc-dashboard-profile-card>div small{display:inline;margin:0}.dc-dashboard-profile-card>div em{display:inline-flex;align-items:center;margin:0;font-style:normal;font-size:.67rem;color:#9ce6bc}.dc-dashboard-profile-card>div em i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#10B981;margin-right:5px}
.seller-command-head{align-items:center}.seller-command-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 16px}.seller-command-stats article{padding:19px;border:1px solid var(--color-border);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(18,48,74,.06)}.seller-command-stats span,.seller-command-card>span{display:block;color:var(--color-text-secondary);font:800 .64rem/1 var(--font-header);letter-spacing:.09em}.seller-command-stats strong{display:block;margin:9px 0 5px;font:900 1.85rem/1 var(--font-header);color:var(--color-primary)}.seller-command-stats small{color:var(--color-success);font-size:.67rem}.seller-command-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}.seller-command-card{padding:22px;border:1px solid var(--color-border);border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(18,48,74,.06)}.seller-command-card header{display:flex;justify-content:space-between;gap:15px}.seller-command-card h3{margin:7px 0 11px;font:850 1.05rem/1.2 var(--font-header);color:var(--color-primary)}.seller-command-card header>b{font:900 2rem/1 var(--font-header);color:var(--color-accent)}.seller-command-card p{color:var(--color-text-secondary);font-size:.74rem;line-height:1.55}.readiness-meter{height:9px;margin:14px 0;background:#e8eef2;border-radius:99px;overflow:hidden}.readiness-meter i{display:block;height:100%;background:linear-gradient(90deg,var(--color-secondary),var(--color-accent));border-radius:99px}.seller-command-card button{border:0;background:none;color:var(--color-secondary);font-weight:850;cursor:pointer;padding:10px 0}.seller-mini-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.seller-mini-breakdown span{padding:10px;border-radius:9px;background:var(--color-background-light);font-size:.65rem;color:var(--color-text-secondary)}.seller-mini-breakdown b{display:block;color:var(--color-primary);font-size:.92rem}.seller-pipeline{display:grid;grid-template-columns:repeat(5,1fr);position: relative;margin-top:24px}.seller-pipeline:before{content:'';position:absolute;left:9%;right:9%;top:8px;height:2px;background:#D9E0DA}.seller-pipeline>div{position: relative;z-index:1;text-align:center}.seller-pipeline i{display:block;width:17px;height:17px;margin:0 auto 9px;border-radius:50%;background:#D9E0DA;border:4px solid white;box-shadow:0 0 0 1px #b6c3cc}.seller-pipeline .done i{background:var(--color-accent);box-shadow:0 0 0 1px var(--color-accent)}.seller-pipeline b{display:block;font-size:.67rem;color:var(--color-primary)}.seller-pipeline small{color:var(--color-text-secondary)}.next-actions ul{display:flex;flex-direction:column;gap:9px;padding-left:18px;color:var(--color-text-secondary);font-size:.73rem}.next-actions li b{color:var(--color-primary)}.next-actions>div{display:flex;gap:12px}.next-actions>div button{padding:9px 13px;border:1px solid var(--color-border);border-radius:8px}.next-actions>div button:first-child{background:var(--color-primary);color:#fff}
/* Chat fits in dashboard; only lists and messages scroll. */
.dashboard-chat-open{overflow:auto}.chat-fit-frame{height:calc(100vh - 124px);min-height:560px;overflow:hidden}.chat-fit-frame .dc-dashboard-main{height:100%;overflow:hidden}.chat-fit-frame #dashboard-dynamic-section{height:100%;overflow:hidden;padding-bottom:10px}.chat-fit-frame #dashboard-mounted-content{height:calc(100% - 88px);overflow:hidden}.chat-fit-frame .chat-page-shell.dashboard-embedded-content{height:100%;max-height:100%;overflow:hidden;margin:0}.chat-fit-frame .chat-shell,.chat-fit-frame .chat-inbox-shell,.chat-fit-frame .chat-layout,.chat-fit-frame .chat-workspace{height:100%!important;max-height:100%!important;overflow:hidden}.chat-fit-frame .chat-conversation-list,.chat-fit-frame .chat-message-stream,.chat-fit-frame .chat-thread,.chat-fit-frame #chat-list,.chat-fit-frame #chat-messages{overflow-y:auto;overscroll-behavior:contain}.chat-fit-frame .chat-message-composer{flex:0 0 auto}
@media(max-width:900px){.seller-relationship-options,.wizard-two-col,.wizard-location-row,.wizard-three-col,.sale-plan-grid,.seller-command-stats,.seller-command-grid{grid-template-columns:1fr}.payment-summary{grid-template-columns:1fr}.dispo-promo-ticker{height:31px}.seller-mini-breakdown{grid-template-columns:1fr}.dashboard-chat-open{overflow:auto}.chat-fit-frame{height:auto;overflow:visible}}
.property-service-status{justify-content:space-between}.sale-service-chip{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eaf0f5;color:#111827;font-size:.66rem;font-weight:850}.sale-service-chip.assisted{background:#fff2cf;color:#C44E1F;border:1px solid #e3bd5d}

/* ========================================================================
   PERFORMANCE + LAYOUT CLEANUP (July 2026)
   Keeps the approved visual design while removing dead space and ensuring
   only chat lists/threads scroll inside the dashboard message workspace.
   ======================================================================== */
:root{
  --dc-live-height:36px;
  --dc-promo-height:34px;
  --dc-header-height:80px;
  --dc-shell-offset:calc(var(--dc-live-height) + var(--dc-promo-height) + var(--dc-header-height));
}

/* The promotional ticker now occupies a real fixed slot instead of creating
   an invisible block in normal document flow underneath the fixed header. */
.live-deal-ticker{top:0!important;height:var(--dc-live-height)!important;contain:layout paint}
.dispo-promo-ticker{
  position: fixed!important;
  top:var(--dc-live-height)!important;
  left:0;
  right:0;
  width:100%;
  height:var(--dc-promo-height)!important;
  z-index:1090!important;
  margin:0!important;
  contain:layout paint;
}
.header,.header.scrolled{
  top:calc(var(--dc-live-height) + var(--dc-promo-height))!important;
  height:var(--dc-header-height)!important;
  transition:background-color .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.main-content{
  padding-top:var(--dc-shell-offset)!important;
  min-height:100dvh;
}

/* Remove unnecessary blank bands before key workspaces. */

.dc-dashboard-frame{margin-top:0!important;margin-bottom:24px!important}
#marketplace-view>.container.section{padding-top:34px!important}
#wizard-view .wizard-container{margin-top:0!important}

/* Retired account monetization/verification UI is force-hidden as a safety
   net for stale browser state or cached markup. */
.profile-verification-strip,
#seller-listing-allowance,
.dashboard-promos,
.verification-page,
.verification-shell,
.packages-page,
.chat-verified-strip{display:none!important}

/* Lighter route changes reduce layout work and visual stutter. */
.view-panel{animation:none!important}
.ticker-track,.dispo-promo-track{
  backface-visibility:hidden;
  transform:translate3d(0,0,0);
}
img{content-visibility:auto}

/* Dashboard chat: the frame stays in place; only the inbox and thread move. */
.dashboard-chat-open{overflow:auto!important}
.dashboard-chat-open .main-content{
  height:auto;
  min-height:100dvh;
  overflow:visible!important;
}

.chat-fit-frame{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
  overflow:hidden!important;
}
.chat-fit-frame .dc-dashboard-sidebar,
.chat-fit-frame .dc-dashboard-main,
.chat-fit-frame #dashboard-dynamic-section,
.chat-fit-frame #dashboard-mounted-content,
.chat-fit-frame .chat-page-shell.dashboard-embedded-content,
.chat-fit-frame .chat-workspace,
.chat-fit-frame .chat-inbox-panel,
.chat-fit-frame .chat-conversation-panel,
.chat-fit-frame .chat-active{
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
}
.chat-fit-frame .dc-dashboard-main{display:flex;flex-direction:column}
.chat-fit-frame #dashboard-dynamic-section{display:flex;flex-direction:column;padding-bottom:10px!important}
.chat-fit-frame #dashboard-mounted-content{flex:1}
.chat-fit-frame .chat-page-shell.dashboard-embedded-content{display:flex;flex-direction:column}
.chat-fit-frame .chat-workspace{flex:1}
.chat-fit-frame .chat-list,
.chat-fit-frame #chat-list,
.chat-fit-frame .chat-message-stream,
.chat-fit-frame #chat-message-stream,
.chat-fit-frame .chat-thread,
.chat-fit-frame #chat-messages{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.chat-fit-frame .chat-inbox-head,
.chat-fit-frame .chat-role-tabs,
.chat-fit-frame .chat-role-help,
.chat-fit-frame .chat-search,
.chat-fit-frame .chat-quick-filters,
.chat-fit-frame .chat-active-header,
.chat-fit-frame .chat-deal-strip,
.chat-fit-frame .chat-compose-mode,
.chat-fit-frame .chat-offer-mode{
  flex:0 0 auto;
}

@media(max-width:700px){
  :root{
    --dc-live-height:32px;
    --dc-promo-height:31px;
    --dc-header-height:72px;
  }
  .main-content{padding-top:0!important}
  .pro-dashboard{padding-top:0!important}
  #marketplace-view>.container.section{padding-top:24px!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ticker-track,.dispo-promo-track{animation-duration:80s!important}
  *,*::before,*::after{transition-duration:.01ms!important}
}

/* ========================================================================
   SIMPLE PROPERTY CHAT + PROMOTION TICKER REMOVAL (July 2026)
   ======================================================================== */
:root{
  --dc-promo-height:0px!important;
  --dc-shell-offset:calc(var(--dc-live-height) + var(--dc-header-height))!important;
}
.dispo-promo-ticker{display:none!important}
.header,.header.scrolled{top:var(--dc-live-height)!important}
.main-content{padding-top:0!important}

.chat-fit-frame #dashboard-dynamic-section{
  padding:12px 16px 14px!important;
}
.chat-fit-frame .chat-page-shell.dashboard-embedded-content{
  flex:1 1 auto!important;
  min-height:0!important;
}
.chat-fit-frame .chat-workspace.chat-workspace-simple{
  min-height:0!important;
  height:100%!important;
  border-radius:16px!important;
  box-shadow:0 18px 45px rgba(18,48,74,.10)!important;
}
.chat-fit-frame .chat-list,
.chat-fit-frame .chat-message-stream{
  scrollbar-width:thin;
  scrollbar-color:#9fb2c3 transparent;
}
.chat-fit-frame .chat-list::-webkit-scrollbar,
.chat-fit-frame .chat-message-stream::-webkit-scrollbar{width:8px}
.chat-fit-frame .chat-list::-webkit-scrollbar-thumb,
.chat-fit-frame .chat-message-stream::-webkit-scrollbar-thumb{background:#a9bac8;border-radius:99px;border:2px solid transparent;background-clip:padding-box}

/* Coupon is intentionally placed after the two service choices. */
#dispo-promo-control{margin:18px 0 0}
#dispo-promo-control button{min-width:132px;transition:transform .16s ease,background-color .16s ease,color .16s ease}
#dispo-promo-control button:active{transform:scale(.98)}
#dispo-promo-control.applied strong:after{content:'  ✓';color:var(--color-success)}
#dispo-promo-control.applied button{box-shadow:0 8px 20px rgba(46,125,90,.18)}

@media(max-width:900px){
  .chat-fit-frame #dashboard-dynamic-section{padding:8px!important}
  #dispo-promo-control{align-items:flex-start;flex-direction:column}
  #dispo-promo-control button{width:100%}
}

/* =========================================================
   July 2026 reliability and messaging corrections
   ========================================================= */
.detail-modal-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.detail-modal-actions .btn{width:100%;min-width:0}

/* Browse Deals must retain its filter rail after route changes, back/forward
   navigation, and Smart Match re-renders. */
#marketplace-view.active .marketplace-layout{
  display:grid!important;
  grid-template-columns:280px minmax(0,1fr)!important;
  align-items:start!important;
}
#marketplace-view.active .marketplace-filters{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0;
  align-self:start;
}
#dashboard-view.active .dc-dashboard-sidebar{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}

.chat-header-menu-wrap{position: relative;display:inline-flex}
.chat-header-menu{
  position:absolute;
  z-index:40;
  top:calc(100% + 8px);
  right:0;
  width:180px;
  padding:7px;
  border:1px solid #D9E0DA;
  border-radius:10px;
  background:#fff;
  box-shadow:0 14px 32px rgba(18,48,74,.18);
}
.chat-header-menu[hidden]{display:none!important}
.chat-header-menu button{
  width:100%!important;
  height:auto!important;
  padding:10px 11px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#22384e!important;
  text-align:left;
  font:800 .7rem/1.2 var(--font-header);
  cursor:pointer;
}
.chat-header-menu button:hover{background:#f1f5f8!important}
.chat-header-menu button.danger{color:#B3372C!important}
.chat-header-menu button:disabled{opacity:.55;cursor:not-allowed}
.chat-blocked-banner{
  flex:0 0 auto;
  margin:10px 18px 0;
  padding:10px 13px;
  border:1px solid #edb5b5;
  border-radius:9px;
  background:#fff1f1;
  color:#9f2e2e;
  font-size:.7rem;
  font-weight:750;
  line-height:1.4;
}
.chat-blocked-banner[hidden]{display:none!important}
.chat-system-message{
  align-self:center;
  max-width:78%;
  margin:2px auto;
  padding:6px 11px;
  border-radius:999px;
  background:#edf1f4;
  color:#55635B;
  font-size:.62rem;
  text-align:center;
}
.chat-tool-button.disabled,
.chat-send-btn:disabled,
.chat-make-offer:disabled,
#chat-offer-submit-btn:disabled,
#offer-suggestions button:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
  pointer-events:none;
}

@media(max-width:1024px){
  #marketplace-view.active .marketplace-layout{grid-template-columns:1fr!important}
  #marketplace-view.active .marketplace-filters{position:static!important;width:100%!important;margin-bottom:24px}
  .detail-modal-actions{grid-template-columns:1fr}
}

/* ========================================================================
   FINAL ROUTING / SHELL RELIABILITY CORRECTIONS
   ======================================================================== */
:root{
  --dc-live-height:0px;
  --dc-promo-height:0px;
  --dc-header-height:80px;
  --dc-shell-offset:80px;
}
.dispo-promo-ticker{display:none!important}
.live-deal-ticker{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
  top:0!important;
  height:var(--dc-live-height)!important;
  z-index:1100!important;
}
.header,.header.scrolled{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
  top:var(--dc-live-height)!important;
  height:var(--dc-header-height)!important;
  z-index:1000!important;
}
.main-content{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  padding-top:var(--dc-shell-offset)!important;
}
.app-container{display:flex!important;visibility:visible!important;opacity:1!important}

/* Verification dots and Files Verified copy were retired from every deal card. */
#listings-container .note-docs-status{display:none!important}
#listings-container .note-card-actions{margin-top:0;border-top:1px solid var(--border-color)}

.dashboard-route-loading{
  min-height:420px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  color:var(--color-primary);
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  font:800 .78rem/1.2 var(--font-header);
}
.dashboard-route-loading span{
  width:28px;
  height:28px;
  border:3px solid #dbe4ea;
  border-top-color:var(--color-secondary);
  border-radius:50%;
  animation:dcRouteSpin .7s linear infinite;
}
@keyframes dcRouteSpin{to{transform:rotate(360deg)}}

@media(max-width:700px){
  :root{--dc-live-height:0px;--dc-header-height:72px;--dc-shell-offset:72px}
  .header,.header.scrolled{top:var(--dc-live-height)!important}
  .main-content{padding-top:0!important}
}

/* =========================================================
   SEGMENTED WORKSPACE TOGGLE & NAVBAR ALIGNMENT
   ========================================================= */
.segmented-toggle-bar {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(11, 31, 58, 0.85) !important;
  border: 1px solid rgba(245,158,11, 0.35) !important;
  border-radius: 999px !important;
  padding: 3px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  gap: 2px !important;
  white-space: nowrap !important;
}

.segmented-toggle-bar .toggle-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-family: var(--font-header) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.segmented-toggle-bar .toggle-pill-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.segmented-toggle-bar .toggle-pill-btn.active {
  background: linear-gradient(135deg, #1E3A8A 0%, #0B1120 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #E4622E !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(245,158,11, 0.3) !important;
}

.segmented-toggle-bar .toggle-pill-btn span {
  font-size: 0.85rem !important;
  color: #E4622E !important;
}

.header .navbar {
  align-items: center !important;
  gap: 16px !important;
}

.nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.nav-account-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* =========================================================
   PROPWIRE & DEALMACHINE PLATFORM STYLES
   ========================================================= */

/* AI Copilot Search Bar */
.copilot-search-box {
  background: linear-gradient(135deg, #0B1120 0%, #111827 100%);
  border: 1px solid rgba(245,158,11, 0.4);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.25);
}

.copilot-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 8px 6px 16px;
}

.copilot-sparkle {
  font-family: var(--font-header);
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  font-size: 0.95rem;
}

.copilot-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #24312B;
}

.copilot-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.copilot-suggestions small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.copilot-suggestions button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.copilot-suggestions button:hover {
  background: rgba(245,158,11, 0.25);
  border-color: #E4622E;
}

/* Lead Builder Filter Pills */
.lead-type-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.lead-pill {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #D9E0DA;
  color: #4B5563;
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lead-pill:hover {
  background: #F1F4F1;
  border-color: #111827;
  color: #111827;
}

.lead-pill.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 4px 12px rgba(18, 48, 74, 0.2);
}

/* Lead Results Grid */
.lead-builder-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.lead-card {
  background: #ffffff;
  border: 1px solid #D9E0DA;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(18, 48, 74, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 48, 74, 0.12);
}

.lead-card-media {
  position: relative;
  height: 180px;
}

.lead-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-badge-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lead-tag {
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.ai-score-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #E4622E;
  color: #0B1120;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.lead-card-body {
  padding: 20px;
}

.lead-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #111827;
}

.lead-card-body .lead-sub {
  font-size: 0.82rem;
  color: #55635B;
  margin-bottom: 16px;
}

.lead-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #F7F9F7;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.lead-metric-item small {
  display: block;
  font-size: 0.68rem;
  color: #55635B;
  text-transform: uppercase;
  font-weight: 700;
}

.lead-metric-item strong {
  font-size: 0.95rem;
  color: #111827;
}

.lead-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Interactive Map Panel */
.interactive-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #D9E0DA;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map-canvas-sim {
  background: #24312B;
  position: relative;
  overflow: hidden;
}

.map-property-drawer {
  background: #ffffff;
  padding: 20px;
  overflow-y: auto;
  border-left: 1px solid #E7ECE7;
}

.map-layer-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-layer-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #BEC9C0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #24312B;
  cursor: pointer;
}

.map-layer-btn.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Driving for Dollars Panel */
.driving-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.driving-card {
  background: #ffffff;
  border: 1px solid #D9E0DA;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(18, 48, 74, 0.06);
}

.gps-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #F7F9F7;
  padding: 16px;
  border-radius: 14px;
}

.gps-stat small {
  display: block;
  font-size: 0.72rem;
  color: #55635B;
  text-transform: uppercase;
  font-weight: 700;
}

.gps-stat strong {
  font-size: 1.25rem;
  color: #111827;
}

.driving-status-tag {
  background: #E7ECE7;
  color: #24312B;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.driving-status-tag.active {
  background: #DCFCE7;
  color: #166534;
}

.virtual-streetview-preview {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.virtual-streetview-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-overlay-box {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.vision-score-badge {
  background: rgba(15, 23, 42, 0.9);
  color: #E4622E;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid #E4622E;
}

.ai-vision-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #F7F9F7;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.8rem;
}

/* Investor CRM Kanban Board */
.crm-kanban-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(240px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-column {
  background: #EDF2EE;
  border-radius: 16px;
  padding: 16px;
  min-height: 500px;
}

.kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.kanban-column-header h4 {
  font-size: 0.9rem;
  color: #24312B;
  margin: 0;
}

.kanban-count {
  background: #BEC9C0;
  color: #24312B;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.kanban-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #E7ECE7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: grab;
}

.kanban-card h5 {
  font-size: 0.88rem;
  color: #111827;
  margin-bottom: 4px;
}

.kanban-card p {
  font-size: 0.76rem;
  color: #55635B;
  margin-bottom: 10px;
}

@media(max-width: 1024px) {
  .driving-dashboard-layout,
  .interactive-map-wrapper {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HERO HUB SELECTOR GRID (Acquisitions vs Disposition)
   ========================================================= */
.hero-hub-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.hero-hub-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(6, 182, 212, 0.35);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-hub-card:hover {
  transform: translateY(-8px);
  border-color: #4F46E5;
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.3);
}

.hub-acquisitions:hover {
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hub-disposition:hover {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hub-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid #4F46E5;
  color: #4F46E5;
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.hero-hub-card h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: var(--font-header);
}

.hero-hub-card p {
  color: #BEC9C0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hub-tag-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hub-tag-pills span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E7ECE7;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-action-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
}

@media(max-width: 768px) {
  .hero-hub-selector-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ACQUISITIONS SUB-NAV TABS & HIGH CONTRAST HERO TYPOGRAPHY
   ========================================================= */
.acquisitions-subnav-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid #D9E0DA;
}

.subnav-tab {
  padding: 8px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #BEC9C0;
  color: #24312B;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.subnav-tab:hover {
  background: #EDF2EE;
  color: #111827;
}

.subnav-tab.active {
  background: #0B1120;
  color: #ffffff;
  border-color: #0B1120;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.2);
}

/* High Contrast Title Styling for Landing Hero */
#dc-home-title,
.dc-home-hero h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
}

#dc-home-copy,
.dc-home-hero p {
  color: #E7ECE7 !important;
  -webkit-text-fill-color: #E7ECE7 !important;
}

/* =========================================================
   3D SPATIAL & ISOMETRIC CARD STYLING & PERSPECTIVE UTILITIES
   ========================================================= */

/* Global 3D Spatial Canvas */
.view-panel {
  perspective: 1200px;
}

/* 3D Property Lead Card */
.lead-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-3d-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.lead-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-2deg) translateZ(15px);
  box-shadow: var(--shadow-3d-card-hover);
  border-color: rgba(37, 99, 235, 0.5);
}

.lead-card-media {
  position: relative;
  transform-style: preserve-3d;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.lead-card-media img {
  transition: transform 0.5s ease;
}

.lead-card:hover .lead-card-media img {
  transform: scale(1.08) translateZ(10px);
}

/* Floating 3D AI Score & Badges */
.ai-score-pill {
  transform: translateZ(25px);
  box-shadow: 0 8px 20px rgba(29, 158, 117, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 800;
}

.lead-tag {
  transform: translateZ(20px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

/* 3D Interactive Hub Cards */
.hero-hub-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, border-color 0.4s ease;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.96) 100%);
  border: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.hero-hub-card:hover {
  transform: translateY(-12px) rotateX(6deg) rotateY(-4deg) translateZ(25px);
  border-color: #374151;
  box-shadow: 0 35px 70px -15px rgba(37, 99, 235, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hub-icon-wrap {
  transform: translateZ(30px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

/* 3D Button Extrusion */
.btn-primary,
.btn-accent,
.btn-secondary {
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-accent:hover {
  transform: translateY(-3px) translateZ(10px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:active,
.btn-accent:active {
  transform: translateY(1px) translateZ(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 3D Map Pin Pulse Rings */
.map-canvas-sim {
  perspective: 1000px;
}

.map-pin-3d {
  transform-style: preserve-3d;
  animation: float3d 3s ease-in-out infinite alternate;
  box-shadow: 0 12px 25px rgba(29, 158, 117, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@keyframes float3d {
  0% { transform: translateY(0px) rotateX(0deg); }
  100% { transform: translateY(-8px) rotateX(10deg); }
}

/* Investorlift Cluster Pins & Split Screen Layout */
.cluster-pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #B3372C 0%, #B3372C 100%);
  border: 3px solid #ffffff;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cluster-pin:hover {
  transform: scale(1.15) translateZ(10px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.6);
}

.cluster-pin.blue {
  background: radial-gradient(circle, #374151 0%, #1D4ED8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.cluster-pin.orange {
  background: radial-gradient(circle, #E4622E 0%, #C44E1F 100%);
  box-shadow: 0 8px 20px rgba(186, 117, 23, 0.4);
}

/* Disposition Overhaul Styles */
.il-filter-box {
  display: flex;
  flex-direction: column;
  border: 1px solid #BEC9C0;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  background: #fff;
  min-width: 160px;
}
.il-filter-box label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #55635B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.il-filter-box select, .il-filter-box input {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
  outline: none;
  width: 100%;
}
.il-filter-box select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  padding-right: 20px;
}
.btn-ghost {
  background: #fff;
  border: 1px solid #BEC9C0;
  color: #55635B;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.btn-ghost:hover {
  background: #EDF2EE;
}
.btn-green-solid {
  background: #374151;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-green-solid:hover {
  background: #059669;
}
.map-bg-grid {
  background-color: #EDF2EE;
  background-image: linear-gradient(#E7ECE7 1px, transparent 1px), linear-gradient(90deg, #E7ECE7 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pill {
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-pill .dot {
  width: 8px;
  height: 8px;
  background: #374151;
  border-radius: 50%;
}
.cluster-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid #fff;
}
.cluster-pin.red {
  background: #B3372C;
}
.cluster-pin.orange {
  background: #E4622E;
}
.cluster-pin.blue {
  background: #374151;
}
.cluster-pin-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #333;
  white-space: nowrap;
}
.legend-panel {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #24312B;
  color: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  width: 250px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #BEC9C0;
}
.legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.card-metric-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #EDF2EE;
  padding-top: 12px;
  margin-top: 12px;
}
.card-metric {
  display: flex;
  flex-direction: column;
}
.card-metric span:first-child {
  font-size: 0.65rem;
  color: #7C8A82;
  font-weight: 800;
  text-transform: uppercase;
}
.card-metric span:last-child {
  font-size: 0.85rem;
  color: #111827;
  font-weight: 800;
}




/* Wall Street Theme Secondary Buttons */
.btn-secondary { background: #FFFFFF !important; border-color: #1D4ED8 !important; color: #1D4ED8 !important; }
.btn-secondary:hover { background: #F3F4F6 !important; }

/* ==========================================
   PREMIUM UI OVERHAUL (GLASSMORPHISM & ANIMATIONS)
   ========================================== */
:root {
  --color-primary: #0A192F;
  --color-primary-hover: #112240;
  --bg-main: #0B132B;
  --bg-surface: rgba(17, 34, 64, 0.7);
  --text-main: #E7ECE7;
  --text-secondary: #7C8A82;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glow-primary: 0 0 20px rgba(37, 99, 235, 0.4);
}

body {
  background: radial-gradient(circle at top right, #112240, #0B132B);
  color: var(--text-main);
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Animated Gradient Buttons */
.btn-animated {
  background: linear-gradient(270deg, #374151, #374151, #374151, #374151);
  background-size: 800% 800%;
  animation: gradientShift 6s ease infinite;
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-animated::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-animated:hover::before { opacity: 1; }

@keyframes gradientShift {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* Scroll Reveals */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section Depth */
.hero-hub-card {
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(20px);
  color: #fff !important;
}
.hero-hub-card h2 {
  background: linear-gradient(135deg, #60A5FA 0%, #374151 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.hub-tag-pills span {
  background: rgba(37,99,235,0.15) !important;
  border: 1px solid rgba(37,99,235,0.3) !important;
  color: #93C5FD !important;
}

/* Override existing h2 for dark mode */
h2 {
  background: linear-gradient(135deg, #F7F9F7 0%, #7C8A82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.deal-journey-copy p, .section p {
  color: #7C8A82;
}

/* ==========================================
   LANDING PAGE REDESIGN STYLES
   ========================================== */

/* Split Hero Section */
.split-hero-section { padding: 120px 20px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background-color: #111827 !important; }
.split-hero-content {
  text-align: left;
}
.split-hero-content .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.split-hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; color: #FFFFFF; font-weight: 600; margin-bottom: 24px; text-shadow: none; background: none; -webkit-text-fill-color: #FFFFFF; }
.split-hero-content p { font-size: 1.15rem; color: #7C8A82; line-height: 1.6; margin-bottom: 40px; max-width: 500px; }
.split-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}
.split-hero-actions .btn {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 8px;
}
.split-hero-actions .btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.split-hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}
.split-hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-avatars {
  display: flex;
}
.trust-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #0B1120;
  margin-left: -12px;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-text {
  font-size: 0.85rem;
  color: #7C8A82;
}
.trust-stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* High-Fidelity CSS Dashboard Mockup */
.css-dashboard-mockup {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  height: 540px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border: 1px solid rgba(255,255,255,0.1);
}
.dash-sidebar {
  width: 70px;
  background: #F7F9F7;
  border-right: 1px solid #E7ECE7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  gap: 20px;
}
.dash-logo {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}
.dash-logo svg {
  width: 100%;
  height: 100%;
}
.dash-menu .menu-item {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #E7ECE7;
}
.dash-menu .menu-item.active {
  background: rgba(212, 175, 55, 0.15); /* Accent Gold Light */
  border: 1px solid var(--color-accent);
}
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #FFFFFF;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.dash-header h4 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: #0B1120; /* Brand Dark */
}
.dash-header p {
  margin: 0;
  font-size: 0.85rem;
  color: #55635B;
}
.dash-dropdown {
  background: #F7F9F7;
  border: 1px solid #E7ECE7;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #24312B;
  font-weight: 500;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: #F7F9F7;
  border: 1px solid #E7ECE7;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.stat-card span {
  font-size: 0.8rem;
  color: #55635B;
  margin-bottom: 8px;
}
.stat-card strong {
  font-size: 1.8rem;
  color: #0B1120;
  margin-bottom: 4px;
}
.stat-card small {
  font-size: 0.75rem;
  font-weight: 600;
}
.stat-card small.positive { color: #374151; }
.stat-card small.neutral { color: var(--color-accent); }
.dash-content {
  display: flex;
  gap: 20px;
  flex: 1;
}
.dash-table {
  flex: 2;
  background: #FFFFFF;
  border: 1px solid #E7ECE7;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.dash-table .table-header {
  display: flex;
  padding: 12px 16px;
  background: #F7F9F7;
  border-bottom: 1px solid #E7ECE7;
  font-size: 0.75rem;
  font-weight: 600;
  color: #55635B;
  text-transform: uppercase;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.dash-table .table-row {
  display: flex;
  padding: 16px;
  border-bottom: 1px solid #E7ECE7;
  font-size: 0.85rem;
  color: #24312B;
  align-items: center;
}
.dash-table .table-row:last-child { border-bottom: none; }
.dash-table .table-row strong { color: #0B1120; }
.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}
.badge-vacant { background: rgba(212, 175, 55, 0.15); color: #B48B1B; }
.badge-probate { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.badge-equity { background: rgba(29, 158, 117, 0.1); color: #374151; }
.dash-map-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-placeholder {
  flex: 1;
  background: #F7F9F7;
  border: 1px solid #E7ECE7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23CBD5E1"/></svg>') repeat;
  opacity: 0.5;
}
.map-icon { width: 40px; height: 40px; position: relative; z-index: 2; }

/* Features Section */
.features-section {
  background: #F7F9F7;
  padding: 100px 20px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(212, 175, 55, 0.1); /* Gold tint */
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--color-accent); fill: none; stroke-width: 2; }
.feature-card h3 {
  font-size: 1.4rem;
  color: #0B1120;
  margin-bottom: 16px;
  background: none;
  -webkit-text-fill-color: #0B1120;
}
.feature-card p {
  color: #55635B;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.feature-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #24312B;
}
.feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--color-accent);
}
.feature-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-accent);
}
.feature-link:hover { text-decoration: underline; }

/* Pricing Section */
.pricing-section {
  background: #fff;
  padding: 100px 20px;
  text-align: center;
}
.pricing-header h2 {
  font-size: 2.2rem;
  color: #0B1120;
  margin-bottom: 16px;
  background: none;
  -webkit-text-fill-color: #0B1120;
}
.pricing-header p { color: #55635B; margin-bottom: 60px; font-size: 1.05rem; }
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #E7ECE7;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
    border: 2px solid #374151 !important;
    box-shadow: 0 8px 24px rgba(42, 111, 214, 0.15) !important;
    transform: translateY(-10px);
  }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #374151;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  background: none;
  color: #0B1120;
}
.tier-label {
  font-size: 0.85rem; 
  color: #55635B;
}
.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: #0B1120;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
}
.pricing-card .price span { font-size: 1rem; color: #55635B; font-weight: 500; margin-left: 4px; }
.pricing-desc { color: #55635B; font-size: 0.9rem; margin-bottom: 24px; line-height: 1.5; min-height: 40px; }
.pricing-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
  flex: 1;
}
.pricing-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #24312B;
}
.pricing-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--color-accent);
}
.pricing-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
}
.pricing-card .btn-outline {
    border: 1px solid #374151 !important;
    color: #374151 !important;
    background: transparent !important;
  }
.pricing-card .btn-outline:hover {
    background: rgba(42, 111, 214, 0.1) !important;
  }

/* Stats Strip */
.stats-strip {
  border-top: 1px solid #E7ECE7;
  padding: 40px 20px;
  background: #fff;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-icon {
  color: var(--color-accent);
}
.stat-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.stat-text strong { display: block; font-size: 1.2rem; color: #0B1120; font-weight: 700; }
.stat-text span { font-size: 0.85rem; color: #55635B; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .split-hero-section { padding: 120px 20px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background-color: #111827 !important; }
  .split-hero-content { text-align: center; }
  .split-hero-content p { font-size: 1.15rem; color: #7C8A82; line-height: 1.6; margin-bottom: 40px; max-width: 500px; }
  .split-hero-actions { justify-content: center; }
  .split-hero-trust { justify-content: center; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular {
    border: 2px solid #374151 !important;
    box-shadow: 0 8px 24px rgba(42, 111, 214, 0.15) !important;
    transform: translateY(-10px);
  }
  /* .css-dashboard-mockup { display: none; } removed for mobile preview */ /* Hide on mobile so it doesn't take too much space */
}

/* Dashboard Hardening Fix */
#dashboard-view.active{display:block!important;visibility:visible!important;opacity:1!important}

#dashboard-view.active .dc-dashboard-frame{visibility:visible!important;opacity:1!important}
#dashboard-view.active .dc-dashboard-sidebar,#dashboard-view.active .dc-dashboard-main{visibility:visible!important;opacity:1!important}


/* =========================================================================
   DEALCENTRAL V2 PREMIUM SAAS REDESIGN OVERRIDE
   =========================================================================
   This section overrides earlier styles to provide a modern, glassmorphic,
   high-end UI without modifying the underlying structural CSS.
*/

:root {
  /* Modern SaaS Color Palette */
  --color-background-dark: #111827 !important;      /* Slate 900 */
  --color-primary: #24312B !important;              /* Slate 800 */
  --color-primary-hover: #24312B !important;        /* Slate 700 */
  --color-surface: #24312B !important;              
  --color-border: rgba(255, 255, 255, 0.1) !important;
  
  --color-accent: #374151 !important;               /* Indigo 500 */
  --color-accent-hover: #111827 !important;         /* Indigo 600 */
  --color-accent-blue: #374151 !important;          /* Blue 500 */
  --color-success: #374151 !important;              /* Emerald 500 */
  --color-warning: #E4622E !important;              /* Amber 500 */
  --color-error: #B3372C !important;                /* Red 500 */
  
  --text-main: #F7F9F7 !important;                  /* Slate 50 */
  --text-secondary: #7C8A82 !important;             /* Slate 400 */
  --text-muted: #55635B !important;                 /* Slate 500 */
  
  --font-header: 'Outfit', sans-serif !important;
  --font-body: 'Inter', sans-serif !important;
  
  /* Elevated Glassmorphism */
  --glass-bg: rgba(30, 41, 59, 0.7) !important;
  --glass-border: rgba(255, 255, 255, 0.08) !important;
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
  
  --radius-sm: 6px !important;
  --radius-md: 12px !important;
  --radius-lg: 20px !important;
  
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--color-background-dark) !important;
  color: var(--text-main) !important;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

/* Navbar */
.nav-bar, .app-header {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.nav-logo-text {
  font-family: var(--font-header) !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #F7F9F7, #7C8A82) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.nav-link {
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  transition: color var(--transition-normal) !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent) !important;
}

/* Buttons */
.btn {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-normal) !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4) !important;
}

/* Dashboard Sidebar */
.dc-dashboard-sidebar {
  background: var(--color-primary) !important;
  border-right: 1px solid var(--color-border) !important;
}

.dc-sidebar-nav-item {
  border-radius: var(--radius-sm) !important;
  margin: 4px 12px !important;
  padding: 10px 16px !important;
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
  transition: all var(--transition-normal) !important;
}

.dc-sidebar-nav-item:hover, .dc-sidebar-nav-item.active {
  background: rgba(99, 102, 241, 0.1) !important;
  color: var(--color-accent) !important;
}

.dc-sidebar-nav-item.active {
  border-left: 3px solid var(--color-accent) !important;
}

/* Property Cards */
.property-card, .dc-deal-card {
  background: var(--color-primary) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--glass-shadow) !important;
  transition: all var(--transition-normal) !important;
  overflow: hidden !important;
}

.property-card:hover, .dc-deal-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.property-card-image img {
  border-bottom: 1px solid var(--color-border) !important;
}

.property-card-details {
  padding: 16px !important;
}

.property-card-price {
  color: var(--color-success) !important;
  font-family: var(--font-header) !important;
  font-weight: 700 !important;
}

/* Forms & Inputs */
input, select, textarea, .form-control {
  background-color: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  padding: 12px 16px !important;
  font-family: var(--font-body) !important;
  transition: all var(--transition-normal) !important;
}

input:focus, select:focus, textarea:focus, .form-control:focus {
  outline: none !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Modals */
.modal-content, .auth-container {
  background: var(--color-primary) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.modal-header {
  border-bottom: 1px solid var(--color-border) !important;
}

.modal-footer {
  border-top: 1px solid var(--color-border) !important;
}

/* Badges */
.badge, .dc-badge {
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.badge-success { background: rgba(29, 158, 117, 0.1) !important; color: var(--color-success) !important; border: 1px solid rgba(29, 158, 117, 0.2) !important; }
.badge-warning { background: rgba(186, 117, 23, 0.1) !important; color: var(--color-warning) !important; border: 1px solid rgba(186, 117, 23, 0.2) !important; }
.badge-danger { background: rgba(239, 68, 68, 0.1) !important; color: var(--color-error) !important; border: 1px solid rgba(239, 68, 68, 0.2) !important; }
.badge-info { background: rgba(59, 130, 246, 0.1) !important; color: var(--color-accent-blue) !important; border: 1px solid rgba(59, 130, 246, 0.2) !important; }

/* Dashboard Widgets */
.dc-widget-card, .dc-stat-card {
  background: var(--color-primary) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
}

.dc-stat-value {
  font-family: var(--font-header) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

::-webkit-scrollbar-track {
  background: var(--color-background-dark) !important;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-hover) !important;
  border-radius: var(--radius-full) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted) !important;
}



/* Dashboard Background Fix */





/* Mobile Dashboard Mockup Redesign */
@media (max-width: 767px) {
  .css-dashboard-mockup {
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    height: 60px;
    flex-direction: row;
    padding: 0 20px;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid #E7ECE7;
  }
  .dash-logo { margin-bottom: 0; margin-right: auto; }
  .dash-menu { display: flex; gap: 10px; flex-direction: row; }
  
  .dash-main { padding: 16px; width: 100%; box-sizing: border-box; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-dropdown { width: 100%; text-align: center; }
  
  .dash-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-card {
    min-height: 100px;
    padding: 16px;
  }
  .stat-card span {
    font-size: 14px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  
  .dash-content { flex-direction: column; }
  .dash-map-panel {
    display: none;
  }
  
  .split-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .split-hero-actions .btn {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
  }
}

.pricing-card .btn-primary {
    background: #374151 !important;
    color: #ffffff !important;
    border: none !important;
}
.pricing-card .btn-primary:hover {
    background: #111827 !important;
}

/* CTA Standardization overrides */
.btn {
    text-transform: none !important; /* Enforce sentence case by removing uppercase */
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 8px;
    padding: 0 24px;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: #374151 !important;
    color: #ffffff !important;
    border: none !important;
}
.btn-primary:hover {
    background-color: #111827 !important;
}
.btn-outline {
    background-color: transparent !important;
    color: #374151 !important;
    border: 1px solid #374151 !important;
}
.btn-outline:hover {
    background-color: rgba(42, 111, 214, 0.1) !important;
    border-color: #111827 !important;
    color: #111827 !important;
}
.btn-text {
    background: transparent !important;
    border: none !important;
    color: #374151 !important;
    padding: 0 !important;
    height: auto !important;
}
.btn-text:hover {
    text-decoration: underline !important;
    background: transparent !important;
}

/* Loading state */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}
.btn.loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .btn {
        width: 100% !important;
    }
    .btn-text {
        width: auto !important; /* Keep text buttons normal width or center them */
    }
}

#dashboard-view { margin: 0 !important; padding: 0 !important; }
.pro-dashboard { margin: 0 !important; padding: 0 !important; min-height: auto !important; height: auto !important; }
.dc-dashboard-frame { margin-top: 0 !important; padding-top: 0 !important; }


/* =========================================================================
   ACQUISITION & DISPOSITION OVERRIDE - V3
   ========================================================================= */

:root {
  /* Modern Real Estate Acq/Dispo Palette */
  --color-background-dark: #0F172A !important;      /* Deep Navy/Slate */
  --color-primary: #1E293B !important;              
  --color-primary-hover: #334155 !important;        
  --color-surface: #1E293B !important;              
  
  --color-border: rgba(255, 255, 255, 0.1) !important;
  
  --color-accent: #10B981 !important;               /* Emerald/Forest Green */
  --color-accent-hover: #059669 !important;         
  --color-accent-blue: #3B82F6 !important;          
  --color-success: #10B981 !important;              
  --color-warning: #F59E0B !important;              
  --color-error: #EF4444 !important;                
  
  --text-main: #F8FAFC !important;                  /* Off-White / Crisp Gray */
  --text-secondary: #94A3B8 !important;             
  --text-muted: #64748B !important;                 
}

/* Acq / Dispo Hero Section */
.hero-content-inner {
  max-width: 500px;
}

@media (max-width: 900px) {
  }

/* =========================================================================
   WIZARD FUNNEL
   ========================================================================= */

.wizard-step.active div {
  background: #10B981 !important;
  color: white !important;
  border-color: #D1FAE5 !important;
}

.wizard-step.active span {
  color: #0F172A !important;
}

/* Container */
.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

@media (max-width: 900px) {
  .hero-split-container {
    grid-template-columns: 1fr;
  }
}

/* Unified Dual Cards */
.hero-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-card h1, .hero-card h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 0;
}

.hero-card p {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Badges */
.badge-seller {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  width: fit-content;
}

.badge-buyer {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  width: fit-content;
}

/* Buttons */
.btn-seller {
  background: #10B981;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}
.btn-seller:hover {
  background: #059669;
}

.btn-buyer {
  background: #F97316;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}
.btn-buyer:hover {
  background: #EA580C;
}

.partner-logo-svg {
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
  fill: #94A3B8;
}
.partner-logo-svg:hover {
  opacity: 1.0;
  fill: #F8FAFC;
}

/* Card Headings - High Contrast White */
.hero-card h1,
.hero-card h2,
.hero-card .hero-title {
  color: #FFFFFF !important;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.25rem 0 0.75rem 0;
}

/* Card Body Text - Readable Slate Gray */
.hero-card p,
.hero-card .hero-description {
  color: #CBD5E1 !important;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Ensure the card background stays distinct */
.hero-card {
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px;
  padding: 2.5rem;
}

/* Partner Section Text Fix */
.partners-section,
.trusted-network {
  background: transparent !important;
  text-align: center;
  padding: 2rem 1rem;
}

.partners-section .title {
  color: #64748B !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-logos,
.partner-names {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.partner-logos span,
.partner-logos a {
  color: #94A3B8 !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.partner-logos span:hover {
  color: #FFFFFF !important;
  opacity: 1;
}

/* Remove bottom white bar */
.frontend-body, .frontend-body main {
  background-color: #0B132B !important;
}

/* Footer Fixes */
footer {
  background: transparent !important;
  color: #94A3B8 !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

footer h3, footer h4 {
  color: #FFFFFF !important;
}

footer a {
  color: #CBD5E1 !important;
}
footer a:hover {
  color: #10B981 !important;
}

.acq-page-hero .subnav-tab {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}
.acq-page-hero .subnav-tab:hover {
    background: rgba(255,255,255,0.2);
}
.acq-page-hero .subnav-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}


/* Modern Dark Navy Profile Panel */
.profile-panel {
  display: none;
  position: fixed;
  right: 24px;
  top: 84px;
  width: 320px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #0B1928 !important;
  border: 1px solid #28506D !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75) !important;
  z-index: 99999 !important;
  color: #FFFFFF !important;
}

.profile-panel.open {
  display: block !important;
  animation: profilePanelIn 0.18s ease-out;
}

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

.profile-panel-head {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 18px 20px !important;
  background: #081B2D !important;
  border-bottom: 1px solid #1F2937 !important;
}

.profile-panel-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.profile-panel-head strong,
.profile-panel-head span {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.profile-panel-head strong {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
}

.profile-panel-head span {
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
  margin-top: 3px !important;
}

.profile-panel-head > button {
  border: 0 !important;
  background: transparent !important;
  font-size: 1.5rem !important;
  color: #94A3B8 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 4px !important;
  transition: color 0.2s !important;
}

.profile-panel-head > button:hover {
  color: #FFFFFF !important;
}

.profile-large-avatar {
  width: 46px !important;
  height: 46px !important;
  flex: none !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #F97316, #EA580C) !important;
  color: #FFFFFF !important;
  font-weight: 850 !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4) !important;
  font-size: 1.1rem !important;
}

.profile-edit-cta {
  display: block !important;
  width: calc(100% - 36px) !important;
  margin: 14px 18px 8px !important;
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-weight: 750 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35) !important;
  transition: background 0.2s ease !important;
}

.profile-edit-cta:hover {
  background: #1E40AF !important;
}

.profile-menu-list {
  padding: 6px 0 10px !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
}

.profile-menu-list button {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 20px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #CBD5E1 !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
}

.profile-menu-list button:hover {
  background: #132A40 !important;
  color: #38BDF8 !important;
  padding-left: 24px !important;
}

.profile-menu-list button span {
  width: 22px !important;
  font-size: 1.1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.profile-menu-list .profile-logout {
  border-top: 1px solid #1F2937 !important;
  margin-top: 6px !important;
  padding-top: 14px !important;
  color: #F87171 !important;
  font-weight: 700 !important;
}

.profile-menu-list .profile-logout:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #EF4444 !important;
}



/* Tighten Home Hero Spacing */
#home-view .dc-hero, .dc-hero { padding-top: 14px !important; }
