/* ═══════════════════════════════════════════════════════════════════════════
   PropVault Design System v5 — White & Clean Edition
   Palette: #346739 · #79AE6F · #9FCB98 · #F2EDC2
   Style: Editorial Minimalism · Kinetic Typography · Crisp White
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --pv-brand:   #346739;
  --pv-mid:     #79AE6F;
  --pv-sage:    #9FCB98;
  --pv-cream:   #F2EDC2;
  /* Section backgrounds */
  --bg-white:   #FFFFFF;
  --bg-off:     #F4F7F4;    /* barely-there off-white with green tint */
  --bg-cream:   #F2EDC2;    /* warm cream — How It Works */
  --bg-dark:    #0A1F0D;    /* Mission section */
  --bg-dark-2:  #060D08;
  --bg-cta:     #2D5128;    /* CTA section — deep green */
  --bg-footer:  #060D08;    /* Footer */
  /* Text */
  --pv-text1:   #142C14;    /* headings */
  --pv-text2:   #2D4A35;    /* body */
  --pv-text3:   #6B8C75;    /* muted */
  /* Compat aliases (dark sections + legacy references) */
  --pv-dark:    #060D08;
  --pv-dark-2:  #0A1F0D;
  --pv-dark-3:  #0F2214;
  --pv-pale:    rgba(52,103,57,0.07); /* subtle green tint — role pills, avatars */
  --pv-gray:    #F4F7F4;              /* image placeholder bg */
  --pv-light:   #F4F7F4;             /* key facts panel bg */
  --pv-gold:    #F2EDC2;             /* brand SVG accent (cream) */
  --pv-gold-lt: #FEF9E7;             /* audit status pending bg */
  /* Borders */
  --pv-border:       rgba(52,103,57,0.13);
  --pv-border-dark:  rgba(242,237,194,0.12);
  --pv-border-cream: rgba(52,103,57,0.18);
  /* Shadows */
  --pv-shadow:    rgba(52,103,57,0.10);
  --pv-shadow-lg: rgba(52,103,57,0.18);
  /* Radii */
  --r-xs:  6px;  --r-sm: 10px;  --r-md: 16px;
  --r-lg: 24px;  --r-xl: 36px;  --r-2xl: 48px;
  --r-card: clamp(20px,2.5vw,40px);
  /* Layout */
  --nav-h: 76px;
  --max-w: 1320px;
  /* Fonts */
  --f-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  /* Money/number font — has the ₦ (U+20A6) glyph that Plus Jakarta Sans renders poorly */
  --f-money: 'Inter', 'Segoe UI', system-ui, sans-serif;
  /* Easing */
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-out:    cubic-bezier(0,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --trans:       220ms var(--ease);
  --trans-slow:  480ms var(--ease);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html { overflow-x: hidden; }
body {
  font-family: var(--f-body);
  color: var(--pv-text1);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pv-brand); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--pv-mid); }
button { font-family: var(--f-body); cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Gradient text — ON DARK backgrounds ──────────────────────────────── */
.pv-grad-text {
  background: linear-gradient(180deg, #9FCB98 0%, #F2EDC2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
/* Gradient text — ON LIGHT/WHITE backgrounds */
.pv-grad-text-green {
  background: linear-gradient(180deg, #142C14 0%, #346739 55%, #537B2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ── Display / Mega headings ───────────────────────────────────────────── */
.pv-display {
  font-family: var(--f-head);
  font-size: clamp(3.5rem, 14vw, 160px);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.035em; text-transform: uppercase;
}
.pv-display-sm {
  font-family: var(--f-head);
  font-size: clamp(2.5rem, 8vw, 100px);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.pv-display-xs {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 5vw, 60px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em; text-transform: uppercase;
}

/* ── Section curves ────────────────────────────────────────────────────── */
.curve-top-dark  { border-radius: clamp(32px,5vw,64px) clamp(32px,5vw,64px) 0 0; margin-top:-1px; background: var(--bg-white); }
.curve-top-light { border-radius: clamp(32px,5vw,64px) clamp(32px,5vw,64px) 0 0; margin-top:-1px; background: var(--bg-cream); }
.curve-top-off   { border-radius: clamp(32px,5vw,64px) clamp(32px,5vw,64px) 0 0; margin-top:-1px; background: var(--bg-off); }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION — White / Light
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background var(--trans-slow), box-shadow var(--trans-slow);
}
.pv-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(52,103,57,0.1);
}
.pv-nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; align-items: center;
}
/* Brand */
.pv-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; margin-right: 48px;
}
.pv-brand-icon { width: 36px; height: 36px; flex-shrink: 0; }
.pv-brand-icon svg { width: 100%; height: 100%; }
.pv-brand-wordmark {
  font-family: var(--f-head); font-size: 1.1rem;
  font-weight: 500; color: var(--pv-text1);
  letter-spacing: -0.01em; transition: color var(--trans-slow);
}
.pv-brand-wordmark strong { font-weight: 800; }

/* Desktop nav links */
.pv-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.pv-nl {
  padding: 8px 15px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500;
  color: rgba(20,44,20,0.6);
  text-decoration: none; transition: all var(--trans);
  letter-spacing: 0.01em; white-space: nowrap;
}
.pv-nl:hover { color: var(--pv-brand); background: rgba(52,103,57,0.06); }
.pv-nl.active { color: var(--pv-brand); font-weight: 600; }

/* Auth buttons */
.pv-nav-auth { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pv-btn-signin {
  padding: 9px 22px; border-radius: var(--r-md);
  font-family: var(--f-head); font-size: 0.85rem; font-weight: 700;
  color: var(--pv-brand);
  border: 1.5px solid rgba(52,103,57,0.3);
  text-decoration: none; transition: all var(--trans); white-space: nowrap;
}
.pv-btn-signin:hover { color: var(--pv-brand); border-color: var(--pv-brand); background: rgba(52,103,57,0.05); }
.pv-btn-getstarted {
  padding: 9px 22px; border-radius: var(--r-md);
  font-family: var(--f-head); font-size: 0.85rem; font-weight: 700;
  background: var(--pv-brand); color: #FFFFFF;
  text-decoration: none; transition: all var(--trans); white-space: nowrap;
  box-shadow: 0 2px 16px rgba(52,103,57,0.25);
}
.pv-btn-getstarted:hover { background: #2D5128; color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 4px 24px rgba(52,103,57,0.35); }

/* User menu */
.pv-user-menu { position: relative; }
.pv-user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 50px;
  background: rgba(52,103,57,0.06);
  border: 1px solid rgba(52,103,57,0.15);
  color: var(--pv-text1); transition: all var(--trans);
}
.pv-user-btn:hover { background: rgba(52,103,57,0.10); }
.pv-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--pv-brand); color: #fff;
  font-family: var(--f-head); font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pv-user-name { font-size: 0.85rem; font-weight: 600; color: var(--pv-text1); }
.pv-chevron-icon { opacity: 0.4; transition: transform var(--trans); color: var(--pv-text1); }
.pv-user-btn[aria-expanded="true"] .pv-chevron-icon { transform: rotate(180deg); }

.pv-user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 220px; background: #FFFFFF;
  border-radius: var(--r-md); border: 1px solid rgba(52,103,57,0.1);
  box-shadow: 0 16px 48px rgba(52,103,57,0.12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--trans); z-index: 100; overflow: hidden;
}
.pv-user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.pv-ud-header { padding: 14px 16px; border-bottom: 1px solid rgba(52,103,57,0.08); }
.pv-ud-header strong { display: block; font-size: 0.88rem; color: var(--pv-text1); }
.pv-ud-header span { font-size: 0.75rem; color: var(--pv-text3); }
.pv-ud-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 0.85rem; font-weight: 500;
  color: var(--pv-text2); transition: all var(--trans);
  width: 100%; text-align: left;
}
.pv-ud-link:hover { background: rgba(52,103,57,0.05); color: var(--pv-brand); }
.pv-ud-divider { height: 1px; background: rgba(52,103,57,0.08); margin: 4px 0; }
.pv-ud-logout:hover { background: rgba(220,38,38,0.06); color: #DC2626; }

/* Hamburger */
.pv-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 42px; height: 42px; gap: 5px;
  border-radius: var(--r-sm); transition: all var(--trans);
  background: rgba(52,103,57,0.06);
  border: 1px solid rgba(52,103,57,0.15);
}
.pv-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--pv-text1); border-radius: 2px;
  transition: all 0.3s var(--ease); transform-origin: center;
}
.pv-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pv-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pv-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay + drawer */
.pv-mobile-overlay {
  position: fixed; inset: 0; z-index: 1099;
  background: rgba(20,44,20,0.4); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all var(--trans-slow);
}
.pv-mobile-overlay.show { opacity: 1; visibility: visible; }
.pv-mobile-menu {
  position: fixed; top: 0; right: -100%; z-index: 1100;
  width: min(340px,90vw); height: 100dvh;
  background: #FFFFFF;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 48px rgba(52,103,57,0.15);
  transition: right var(--trans-slow); overflow-y: auto;
  border-left: 1px solid rgba(52,103,57,0.1);
}
.pv-mobile-menu.open { right: 0; }
.pv-mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(52,103,57,0.08);
}
.pv-mm-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); color: var(--pv-text3);
  transition: all var(--trans);
}
.pv-mm-close:hover { background: rgba(52,103,57,0.06); color: var(--pv-brand); }
.pv-mm-nav { padding: 20px 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pv-mm-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--r-md);
  font-size: 0.95rem; font-weight: 500; color: rgba(20,44,20,0.55);
  text-decoration: none; transition: all var(--trans);
}
.pv-mm-link svg { opacity: 0.4; flex-shrink: 0; }
.pv-mm-link:hover { background: rgba(52,103,57,0.06); color: var(--pv-brand); }
.pv-mm-link:hover svg, .pv-mm-link.active svg { opacity: 1; }
.pv-mm-link.active { background: rgba(52,103,57,0.08); color: var(--pv-brand); font-weight: 600; }
.pv-mm-footer { padding: 20px 24px; border-top: 1px solid rgba(52,103,57,0.08); display: flex; flex-direction: column; gap: 10px; }
.pv-mm-btn-solid, .pv-mm-btn-outline {
  display: block; text-align: center; padding: 13px 20px;
  border-radius: var(--r-md); font-family: var(--f-head); font-size: 0.9rem; font-weight: 700;
  transition: all var(--trans); text-decoration: none; border: none; cursor: pointer; width: 100%;
}
.pv-mm-btn-solid { background: var(--pv-brand); color: #fff; }
.pv-mm-btn-solid:hover { background: #2D5128; color: #fff; }
.pv-mm-btn-outline { border: 1.5px solid rgba(52,103,57,0.3); color: var(--pv-brand); background: transparent; }
.pv-mm-btn-outline:hover { background: rgba(52,103,57,0.06); color: var(--pv-brand); }

@media (max-width: 1023px) {
  .pv-nav-links, .pv-nav-auth .pv-btn-signin,
  .pv-nav-auth .pv-btn-getstarted, .pv-user-menu { display: none; }
  .pv-burger { display: flex; margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — White Background, Dark Green Mega Typography
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-hero {
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(24px,4vw,56px)) clamp(20px,4vw,40px) clamp(56px,7vw,88px);
}
/* Subtle dot grid texture */
.pv-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(52,103,57,0.05) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ── Hero grid: content (left) + visual (right) ── */
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px,5vw,72px); align-items: center;
  min-height: calc(100svh - var(--nav-h) - clamp(80px,12vw,144px));
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px,2.4vw,26px); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 50px;
  background: var(--pv-pale); border: 1px solid var(--pv-border);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--pv-brand);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pv-brand);
  box-shadow: 0 0 0 3px rgba(52,103,57,0.15); animation: pulse 2s ease-in-out infinite;
}
.hero-h1 {
  font-family: var(--f-head);
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  font-weight: 800; line-height: 0.94;
  letter-spacing: -0.035em; text-transform: uppercase;
  margin: 0;
  background: linear-gradient(180deg, #142C14 0%, #346739 55%, #537B2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: clamp(0.95rem,1.25vw,1.1rem);
  color: var(--pv-text2); font-weight: 400;
  line-height: 1.65; max-width: 480px;
}
.hero-cta-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Magnetic CTA Buttons ─────────────────────────────────────────────── */
.btn-magnetic {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(12px,1.5vw,18px) clamp(24px,3vw,44px);
  border-radius: 100px; font-family: var(--f-head);
  font-size: clamp(0.78rem,1.1vw,0.95rem); font-weight: 700;
  text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; will-change: transform;
  transition: transform 0.6s cubic-bezier(0,0,0.2,1), box-shadow var(--trans), background var(--trans);
}
.btn-mag-primary {
  background: var(--pv-brand); color: #FFFFFF;
  box-shadow: 0 4px 32px rgba(52,103,57,0.25);
}
.btn-mag-primary:hover { color: #FFFFFF; background: #2D5128; box-shadow: 0 8px 40px rgba(52,103,57,0.35); }
.btn-mag-outline {
  color: var(--pv-brand); background: transparent;
  border: 1.5px solid rgba(52,103,57,0.3);
}
.btn-mag-outline:hover { color: var(--pv-brand); border-color: var(--pv-brand); background: rgba(52,103,57,0.05); }

/* Context overrides for CTA dark-green section */
.pv-cta-section .btn-mag-primary {
  background: var(--pv-cream); color: var(--pv-text1);
  box-shadow: 0 4px 32px rgba(242,237,194,0.2);
}
.pv-cta-section .btn-mag-primary:hover { background: #e8e3b4; color: var(--pv-text1); }
.pv-cta-section .btn-mag-outline {
  border-color: rgba(242,237,194,0.4); color: var(--pv-cream);
}
.pv-cta-section .btn-mag-outline:hover { background: rgba(242,237,194,0.08); color: var(--pv-cream); }

/* ── Hero stat strip — bordered, divided ── */
.hero-stats-bar {
  display: flex; align-items: stretch; flex-wrap: wrap;
  margin-top: clamp(8px,1.5vw,16px);
  border: 1px solid var(--pv-border); border-radius: var(--r-md);
  background: var(--bg-off); overflow: hidden; max-width: 100%;
}
.hero-stat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px clamp(16px,2vw,28px);
  border-right: 1px solid var(--pv-border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--f-head); font-size: clamp(1.05rem,1.6vw,1.45rem);
  font-weight: 800; color: var(--pv-text1); line-height: 1;
}
.hero-stat-lbl { font-size: 0.64rem; color: var(--pv-text3); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Hero visual frame (right column) ── */
.hero-visual { position: relative; width: 100%; }
.hero-visual-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(52,103,57,0.18), 0 2px 0 rgba(52,103,57,0.05);
}
.hero-visual-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-vis-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-radius: var(--r-sm); padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}
.hero-vis-badge-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--pv-brand);
  box-shadow: 0 0 0 4px rgba(52,103,57,0.15); flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.hero-vis-badge-text { font-size: 0.85rem; font-weight: 700; color: var(--pv-text1); }

/* ── Hero responsive ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: clamp(28px,5vw,40px); }
  .hero-visual-frame { aspect-ratio: 16 / 10; }
  .hero-tagline { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-stat { flex: 1 1 50%; border-bottom: 1px solid var(--pv-border); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH BAR — Clean White Card (expertlisting-style)
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-search-wrap {
  background: var(--bg-white); padding: 0 clamp(16px,4vw,32px);
  position: relative; z-index: 10; margin-top: -56px;
}
.pv-searchbar {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(52,103,57,0.12), 0 0 0 1px rgba(52,103,57,0.08);
  padding: clamp(20px,3vw,28px) clamp(20px,3vw,32px);
  max-width: 1100px; margin: 0 auto;
}
/* Tabs — centered pill group */
.search-tabs {
  display: flex; gap: 4px; margin-bottom: 20px;
  justify-content: center; flex-wrap: wrap;
  background: rgba(52,103,57,0.06); border-radius: 50px;
  padding: 4px; width: fit-content; margin-left: auto; margin-right: auto; margin-bottom: 20px;
}
.search-tab {
  padding: 8px 24px; border-radius: 50px;
  font-family: var(--f-head); font-size: 0.82rem; font-weight: 600;
  background: transparent; color: rgba(20,44,20,0.55);
  transition: all var(--trans); border: none; cursor: pointer;
}
.search-tab.active { background: var(--pv-brand); color: #fff; box-shadow: 0 2px 12px rgba(52,103,57,0.2); }
.search-tab:hover:not(.active) { color: var(--pv-brand); background: rgba(52,103,57,0.08); }

/* Search fields row */
.search-fields {
  display: flex; align-items: stretch; gap: 0;
  border: 1.5px solid rgba(52,103,57,0.14); border-radius: var(--r-lg);
  background: #fff;
}
.search-field {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  position: relative; background: transparent; padding: 10px 14px;
  border-radius: var(--r-md); transition: background var(--trans);
}
.search-field:hover { background: rgba(52,103,57,0.04); }
.sf-label {
  font-size: 0.64rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--pv-mid); padding-left: 26px;
}
.sf-control { position: relative; display: flex; align-items: center; }
.search-field input,
.search-field select {
  width: 100%; padding: 2px 4px 2px 26px;
  border: none; outline: none; background: transparent;
  font-family: var(--f-body); font-size: 0.92rem; font-weight: 600; color: var(--pv-text1);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.search-field select { padding-right: 16px; }
.search-field input::placeholder { color: var(--pv-text3); font-weight: 500; }
.sf-icon {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  color: var(--pv-sage); pointer-events: none; display: flex; align-items: center;
}
.sf-divider {
  width: 1px; align-self: center; height: 38px; background: rgba(52,103,57,0.12); flex-shrink: 0;
}
.search-btn-wrap {
  padding: 8px; flex-shrink: 0; display: flex; align-items: center;
}
.search-submit {
  height: 100%; min-height: 52px; border-radius: var(--r-md); padding: 0 26px;
  background: var(--pv-brand); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-head); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: all var(--trans);
  box-shadow: 0 4px 16px rgba(52,103,57,0.3); white-space: nowrap;
}
.search-submit:hover { background: #2D5128; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(52,103,57,0.38); }

[x-cloak] { display: none !important; }
/* Suggestions dropdown — only render when it actually holds suggestion items */
.search-suggestions:not(:has(li)) { display: none; }
.search-suggestions {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-md);
  list-style: none; padding: 6px 0; margin: 0; z-index: 100;
  box-shadow: 0 8px 24px rgba(52,103,57,0.10);
}
.search-suggestions li {
  padding: 10px 16px; font-size: 0.875rem; color: var(--pv-text2);
  cursor: pointer; transition: background var(--trans);
}
.search-suggestions li:hover { background: var(--pv-pale); color: var(--pv-brand); }

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .search-fields { flex-direction: column; align-items: stretch; border-radius: var(--r-md); padding: 6px; }
  .search-field { padding: 8px 12px; }
  .sf-divider { width: 100%; height: 1px; align-self: stretch; margin: 0; }
  .search-btn-wrap { width: 100%; padding: 8px 6px 6px; }
  .search-submit { width: 100%; min-height: 48px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST BAR — Brand Green (stays bold)
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-trust-bar { background: var(--pv-brand); padding: 20px 32px; }
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px,4vw,56px); flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(242,237,194,0.85); font-size: 0.85rem; font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--pv-cream); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   MARQUEE — Light Off-White
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-marquee-section {
  background: var(--bg-off);
  padding: clamp(48px,8vw,100px) 0 clamp(32px,5vw,72px);
  overflow: hidden;
}
.marquee-row-wrap { overflow: visible; margin-bottom: 14px; }
.marquee-row {
  display: flex; gap: 14px;
  will-change: transform; transform: translateX(-200px);
}
.marquee-tile {
  flex-shrink: 0;
  width: clamp(260px,26vw,400px);
  height: clamp(160px,17vw,250px);
  border-radius: clamp(10px,1.2vw,18px);
  overflow: hidden;
  background: rgba(52,103,57,0.06);
  box-shadow: 0 4px 20px rgba(52,103,57,0.08);
}
.marquee-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.marquee-tile:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════════════════════
   MISSION — THE ONE DARK SECTION (stays dark for drama)
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-mission-section {
  background: var(--bg-dark);
  padding: clamp(80px,10vw,140px) 32px;
  text-align: center;
}
.mission-inner { max-width: var(--max-w); margin: 0 auto; }
.mission-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pv-mid);
  margin-bottom: clamp(20px,3vw,40px);
}
.mission-heading { margin-bottom: clamp(40px,6vw,80px); }
.pv-char-text {
  font-size: clamp(1.05rem,2vw,1.45rem);
  font-weight: 400; line-height: 1.8;
  color: var(--pv-cream); max-width: 820px; margin: 0 auto;
}
.pv-char { display: inline; opacity: 0.12; }
.pv-char.space { display: inline; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — Cream (warm contrast)
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-hiw-section { background: var(--bg-cream); padding: clamp(60px,8vw,120px) 32px; }
.hiw-inner { max-width: var(--max-w); margin: 0 auto; }
.hiw-heading {
  font-family: var(--f-head);
  font-size: clamp(3rem,12vw,140px);
  font-weight: 800; line-height: 0.92; letter-spacing: -0.035em;
  text-transform: uppercase; color: var(--pv-brand);
  margin-bottom: clamp(40px,6vw,80px); text-align: center;
}
.hiw-list { display: flex; flex-direction: column; }
.hiw-item {
  display: flex; align-items: flex-start; gap: clamp(20px,4vw,60px);
  padding: clamp(24px,3.5vw,48px) 0;
  border-bottom: 1px solid rgba(52,103,57,0.12);
  transition: background var(--trans);
}
.hiw-item:first-child { border-top: 1px solid rgba(52,103,57,0.12); }
.hiw-num {
  font-family: var(--f-head); font-size: clamp(3rem,8vw,100px);
  font-weight: 800; line-height: 1; color: var(--pv-brand);
  flex-shrink: 0; min-width: clamp(60px,10vw,140px); opacity: 0.2;
}
.hiw-content { flex: 1; padding-top: clamp(6px,1vw,16px); }
.hiw-title {
  font-family: var(--f-head); font-size: clamp(1.1rem,2.5vw,2.2rem);
  font-weight: 700; text-transform: uppercase; color: var(--pv-brand);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.hiw-desc {
  font-size: clamp(0.88rem,1.4vw,1.05rem);
  color: var(--pv-text2); line-height: 1.8; max-width: 620px;
}
.hiw-icon {
  width: clamp(40px,5vw,64px); height: clamp(40px,5vw,64px);
  flex-shrink: 0; margin-left: auto;
  background: rgba(52,103,57,0.08); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--pv-brand);
}
@media (max-width: 640px) { .hiw-icon { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED PROPERTIES — White, Sticky Stacking Cards
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-feat-section { background: var(--bg-white); padding: clamp(60px,8vw,100px) 32px; }
.feat-inner { max-width: var(--max-w); margin: 0 auto; }
.feat-heading { margin-bottom: clamp(48px,6vw,80px); }

/* ── Featured product-card grid ── */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px,2.5vw,32px);
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

.prop-card {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid var(--pv-border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(52,103,57,0.15);
  border-color: rgba(52,103,57,0.25);
}

.prop-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-off); }
.prop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.prop-card:hover .prop-card-media img { transform: scale(1.06); }

.prop-card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 13px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #fff; backdrop-filter: blur(4px);
}
.prop-badge-sale  { background: var(--pv-brand); }
.prop-badge-rent  { background: #2D5128; }
.prop-badge-lease { background: #537B2F; }
.prop-badge-comm  { background: #1f4a2a; }

.prop-card-audit {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 50px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--pv-brand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.prop-card-audit svg { color: var(--pv-brand); }

.prop-card-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px,2vw,24px); }
.prop-card-price {
  font-family: var(--f-head); font-size: clamp(1.3rem,2vw,1.6rem);
  font-weight: 800; color: var(--pv-brand); line-height: 1;
}
.prop-card-price small { font-size: 0.72rem; font-weight: 600; color: var(--pv-text3); }
.prop-card-title {
  font-family: var(--f-head); font-size: 1.05rem; font-weight: 700;
  color: var(--pv-text1); line-height: 1.3; margin: 0;
}
.prop-card-loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--pv-text3);
}
.prop-card-loc svg { color: var(--pv-mid); flex-shrink: 0; }

.prop-card-feats {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; margin-top: 2px;
  border-top: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border);
}
.prop-feat {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--pv-text2);
}
.prop-feat svg { color: var(--pv-mid); flex-shrink: 0; }

.prop-card-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--pv-pale); color: var(--pv-brand);
  font-family: var(--f-head); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none; transition: all var(--trans);
}
.prop-card-btn:hover { background: var(--pv-brand); color: #fff; }
.prop-card-btn svg { transition: transform var(--trans); }
.prop-card-btn:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════════════
   LGA COVERAGE — Light Off-White
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-lga-section { background: var(--bg-off); padding: clamp(60px,8vw,120px) 32px; }
.lga-inner { max-width: var(--max-w); margin: 0 auto; }
.lga-head { margin-bottom: clamp(36px,5vw,64px); }
.lga-heading {
  font-family: var(--f-head);
  font-size: clamp(3rem,11vw,130px);
  font-weight: 800; line-height: 0.93; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--pv-brand);
}
.lga-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
}
@media (max-width: 1100px) { .lga-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .lga-grid { grid-template-columns: repeat(2,1fr); } }
.lga-card {
  position: relative; border-radius: clamp(14px,1.8vw,22px); overflow: hidden;
  aspect-ratio: 3/4; display: flex; align-items: flex-end;
  text-decoration: none; transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid rgba(52,103,57,0.1);
}
.lga-card:hover { transform: scale(1.03); box-shadow: 0 16px 48px rgba(52,103,57,0.18); }
.lga-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s var(--ease); }
.lga-card:hover .lga-bg { transform: scale(1.06); }
.lga-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,44,20,0.88) 0%, rgba(20,44,20,0.1) 55%); }
.lga-body { position: relative; z-index: 2; padding: 14px 16px; width: 100%; }
.lga-name { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.lga-count { font-size: 0.72rem; color: rgba(242,237,194,0.7); }

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS — Off-White
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-testi-section { background: var(--bg-white); padding: clamp(60px,8vw,120px) 32px; }
.testi-inner { max-width: var(--max-w); margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--bg-off); border: 1px solid rgba(52,103,57,0.08);
  border-radius: var(--r-lg); padding: 28px;
  transition: all var(--trans);
}
.testi-card:hover { border-color: rgba(52,103,57,0.2); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(52,103,57,0.1); }
.testi-stars { display: flex; gap: 3px; color: var(--pv-mid); margin-bottom: 16px; }
.testi-quote { font-size: 0.93rem; color: var(--pv-text2); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pv-brand); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 0.95rem; font-weight: 700;
}
.testi-name { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; color: var(--pv-text1); }
.testi-role { font-size: 0.78rem; color: var(--pv-text3); }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION — Deep Green (second drama moment)
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-cta-section {
  background: var(--bg-cta);
  padding: clamp(80px,10vw,140px) 32px;
  text-align: center; position: relative; overflow: hidden;
}
.pv-cta-section::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(121,174,111,0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.cta-title {
  font-family: var(--f-head); font-size: clamp(2.5rem,8vw,100px);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; margin-bottom: clamp(20px,3vw,32px);
}
.cta-sub {
  font-size: clamp(0.95rem,1.6vw,1.15rem); color: rgba(242,237,194,0.55);
  line-height: 1.8; margin-bottom: clamp(36px,5vw,56px);
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.pv-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.65);
}

/* Top section */
.footer-top {
  padding: clamp(48px,7vw,80px) clamp(20px,4vw,40px) clamp(36px,5vw,56px);
  max-width: var(--max-w); margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px,4vw,56px);
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Brand column */
.footer-brand-link { margin-bottom: 16px; display: inline-flex; }
.footer-brand-link .pv-brand-wordmark { color: #fff; }
.footer-tagline {
  font-size: 0.85rem; line-height: 1.7;
  color: rgba(255,255,255,0.5); margin: 0 0 24px;
  max-width: 280px;
}

/* Footer stats */
.footer-stats { display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-stat-num {
  font-family: var(--f-head); font-size: 1.2rem; font-weight: 800;
  color: var(--pv-sage); line-height: 1;
}
.footer-stat-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px; }

/* Socials */
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: all var(--trans);
}
.footer-social:hover { background: var(--pv-brand); border-color: var(--pv-brand); color: #fff; }

/* Column headings */
.footer-col-heading {
  font-family: var(--f-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9); margin: 0 0 16px;
}

/* Link lists */
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem; color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--pv-sage); }

/* Contact items */
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color var(--trans); line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--pv-sage); }
.footer-contact-item:hover { color: rgba(255,255,255,0.8); }
a.footer-contact-item:hover { color: var(--pv-sage); }

/* Trust bar */
.footer-trust {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px clamp(20px,4vw,40px);
  background: rgba(255,255,255,0.02);
}
.footer-trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.footer-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.footer-trust-item svg { color: var(--pv-sage); flex-shrink: 0; }
.footer-trust-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.1); }
@media (max-width: 768px) { .footer-trust-sep { display: none; } }

/* Bottom bar */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 20px clamp(20px,4vw,40px);
  max-width: var(--max-w); margin: 0 auto;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 0; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.78rem; color: rgba(255,255,255,0.3); text-decoration: none;
  transition: color var(--trans);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HERO — Inner pages (About / Services / Contact)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--bg-off) 0%, var(--bg-white) 100%);
  padding: calc(var(--nav-h) + clamp(44px,6vw,80px)) clamp(20px,4vw,40px) clamp(52px,6vw,80px);
  border-bottom: 1px solid var(--pv-border);
}
/* Soft brand glow behind the heading */
.page-hero::before {
  content: ''; position: absolute; top: -42%; left: 50%; transform: translateX(-50%);
  width: min(880px, 92%); height: 520px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(121,174,111,0.20) 0%, rgba(121,174,111,0) 70%);
}
/* Dot-grid texture */
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(52,103,57,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pv-brand);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(52,103,57,0.18);
  backdrop-filter: blur(6px);
  padding: 7px 16px; border-radius: 50px; margin-bottom: clamp(18px,2.5vw,28px);
}
.page-hero-h1 {
  font-family: var(--f-head);
  font-size: clamp(2.3rem, 5.5vw, 68px);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--pv-text1);
  margin: 0 0 clamp(16px,2vw,22px);
}
.page-hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem); color: var(--pv-text3);
  line-height: 1.75; max-width: 620px; margin: 0 auto;
}

/* ── Page stat strip ──────────────────────────────────────────────────── */
.stats-strip {
  background: var(--pv-brand); padding: 32px;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center;
}
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2,1fr); } }
.stat-num {
  font-family: var(--f-head); font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 800; color: var(--pv-cream); line-height: 1;
}
.stat-lbl { font-size: 0.78rem; color: rgba(242,237,194,0.55); margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Page sections (for inner pages) ────────────────────────────────── */
.pv-page-section { padding: clamp(60px,8vw,100px) 32px; }
.pv-page-section.bg-white  { background: var(--bg-white); }
.pv-page-section.bg-off    { background: var(--bg-off); }
.pv-page-section.bg-cream  { background: var(--bg-cream); }
.pv-page-section.bg-dark   { background: var(--bg-dark); }
.section-container { max-width: var(--max-w); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .section-container { padding-left: 18px; padding-right: 18px; } }
.section-eyebrow-green {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 50px;
  color: var(--pv-brand); background: rgba(52,103,57,0.07); border: 1px solid rgba(52,103,57,0.15);
  margin-bottom: 16px;
}
.section-title-xl {
  font-family: var(--f-head); font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.025em;
  color: var(--pv-text1); margin-bottom: 16px;
}
.section-body {
  font-size: clamp(0.9rem,1.4vw,1.05rem); color: var(--pv-text2);
  line-height: 1.8; max-width: 600px;
}

/* Service / feature cards */
.feat-card {
  background: var(--bg-white); border: 1px solid var(--pv-border);
  border-radius: var(--r-lg); padding: 28px 28px 32px;
  transition: all var(--trans); position: relative; overflow: hidden;
}
.feat-card:hover { border-color: rgba(52,103,57,0.25); box-shadow: 0 12px 40px rgba(52,103,57,0.1); transform: translateY(-3px); }
.feat-card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: rgba(52,103,57,0.08); display: flex; align-items: center;
  justify-content: center; color: var(--pv-brand); margin-bottom: 18px;
}
.feat-card-title { font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; color: var(--pv-text1); margin-bottom: 10px; }
.feat-card-desc { font-size: 0.88rem; color: var(--pv-text3); line-height: 1.75; }

/* Value list (checkmarks) */
.value-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.value-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: var(--pv-text2); }
.value-list li::before {
  content: ''; flex-shrink: 0; margin-top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52,103,57,0.1); border: 1.5px solid var(--pv-brand);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23346739' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px 9px; background-repeat: no-repeat; background-position: center;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-input-group { display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-size: 0.82rem; font-weight: 600; color: var(--pv-text2); }
.contact-input, .contact-select, .contact-textarea {
  padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--pv-border); background: var(--bg-white);
  font-family: var(--f-body); font-size: 0.9rem; color: var(--pv-text1);
  transition: border-color var(--trans), box-shadow var(--trans); outline: none;
  appearance: none; -webkit-appearance: none;
}
.contact-input:focus, .contact-select:focus, .contact-textarea:focus {
  border-color: var(--pv-brand); box-shadow: 0 0 0 3px rgba(52,103,57,0.12);
}
.contact-input::placeholder, .contact-textarea::placeholder { color: rgba(20,44,20,0.3); }
.contact-textarea { resize: vertical; min-height: 140px; }

/* Contact info card */
.contact-info-card {
  background: var(--pv-brand); border-radius: var(--r-lg);
  padding: 36px; color: rgba(242,237,194,0.85);
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: rgba(242,237,194,0.12); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--pv-cream);
}
.contact-info-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(242,237,194,0.5); margin-bottom: 4px; }
.contact-info-val { font-size: 0.95rem; font-weight: 600; color: var(--pv-cream); }

/* ── Reusable responsive grids (About / Services sections) ── */
.pv-grid-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px,6vw,80px); align-items: center;
}
.pv-grid-split.align-start { align-items: start; }
@media (max-width: 860px) { .pv-grid-split { grid-template-columns: 1fr; gap: 40px; } }

.pv-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { .pv-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pv-grid-3 { grid-template-columns: 1fr; } }

.pv-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .pv-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .pv-grid-4 { grid-template-columns: 1fr; } }

/* ── Contact page responsive grids ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px,6vw,80px); align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .contact-name-row { grid-template-columns: 1fr; } }

/* ── Team member cards ── */
.team-card {
  background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; text-align: left;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(52,103,57,0.15);
  border-color: rgba(52,103,57,0.25);
}
.team-card-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-off); }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover .team-card-photo img { transform: scale(1.05); }
.team-card-body { padding: 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.team-card-name { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); margin: 0; line-height: 1.2; }
.team-card-role { font-size: 0.7rem; font-weight: 700; color: var(--pv-brand); text-transform: uppercase; letter-spacing: 0.08em; }
.team-card-bio { font-size: 0.83rem; color: var(--pv-text3); line-height: 1.6; margin: 4px 0 0; }
.team-card-socials { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.team-social {
  width: 32px; height: 32px; border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  background: var(--pv-pale); color: var(--pv-brand); border: 1px solid var(--pv-border);
  transition: all var(--trans);
}
.team-social:hover { background: var(--pv-brand); color: #fff; border-color: var(--pv-brand); }

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL & ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity:1; }
  50%       { transform: translateY(8px); opacity:0.4; }
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes fadeSlideDown {
  from { opacity:0; transform:translateY(-16px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes pulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.2); opacity:0.8; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GENERAL BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn-pv {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-md);
  background: var(--pv-brand); color: #fff;
  font-family: var(--f-head); font-size: 0.88rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--trans); white-space: nowrap;
}
.btn-pv:hover { background: #2D5128; color: #fff; transform: translateY(-1px); }
.btn-pv-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-md);
  background: transparent; color: var(--pv-brand);
  font-family: var(--f-head); font-size: 0.88rem; font-weight: 700;
  border: 2px solid var(--pv-brand); cursor: pointer;
  text-decoration: none; transition: all var(--trans);
}
.btn-pv-outline:hover { background: var(--pv-brand); color: #fff; }
.btn-pv-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: var(--r-lg); }
.btn-pv-sm { padding: 7px 16px; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */
.container-pv { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.text-brand { color: var(--pv-brand); }
.text-mid   { color: var(--pv-mid); }
.text-muted { color: var(--pv-text3); }

/* Flash messages */
.pv-flash {
  position: fixed; top: calc(var(--nav-h) + 12px); right: 16px; z-index: 9999;
  min-width: 280px; max-width: 400px; padding: 14px 18px;
  border-radius: var(--r-md); font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(52,103,57,0.15);
  animation: fadeSlideDown 0.4s var(--ease);
  background: #fff; border: 1px solid var(--pv-border);
  display: flex; align-items: center; gap: 12px;
}
.pv-flash.success { border-left: 3px solid var(--pv-brand); color: var(--pv-brand); }
.pv-flash.error   { border-left: 3px solid #DC2626; color: #DC2626; }
.pv-flash.info    { border-left: 3px solid var(--pv-mid); color: var(--pv-text2); }
.pv-flash-close { margin-left: auto; opacity: 0.4; cursor: pointer; }

/* Form inputs */
.pv-input, .pv-select, .pv-textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--pv-border); background: #fff;
  font-family: var(--f-body); font-size: 0.9rem; color: var(--pv-text1);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none; appearance: none; -webkit-appearance: none;
}
.pv-input:focus, .pv-select:focus, .pv-textarea:focus {
  border-color: var(--pv-brand); box-shadow: 0 0 0 3px rgba(52,103,57,0.1);
}
.pv-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--pv-text2); margin-bottom: 6px; }
.pv-field-error { font-size: 0.78rem; color: #DC2626; margin-top: 5px; }
.pv-error-msg   { font-size: 0.78rem; color: #DC2626; margin-top: 5px; }
.pv-form-group  { margin-bottom: 18px; }
.pv-input.error { border-color: #DC2626; }

/* Flash / Alert banners */
.pv-alert { display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:var(--r-sm); font-size:0.875rem; font-weight:500; margin-bottom:16px; }
.pv-alert-success { background:rgba(52,103,57,0.08); color:var(--pv-brand); border:1px solid rgba(52,103,57,0.2); }
.pv-alert-error   { background:rgba(220,38,38,0.07); color:#DC2626; border:1px solid rgba(220,38,38,0.2); }
.pv-alert-warning { background:rgba(234,179,8,0.08); color:#92620A; border:1px solid rgba(234,179,8,0.2); }

/* ── Auth Pages (login / register) ─────────────────────────────────────── */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
}
.auth-panel-left {
  background: linear-gradient(160deg, var(--pv-brand) 0%, #1A3D1E 60%, #0A1F0D 100%);
  padding: clamp(40px,7vw,80px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  min-height: 100%;
}
@media (max-width: 900px) { .auth-panel-left { display: none; } }
.auth-panel-right {
  background: #fff;
  padding: clamp(32px,6vw,72px) clamp(24px,5vw,64px);
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100dvh - var(--nav-h));
}
/* Brand variant on dark bg (auth left panel) */
.pv-brand-light .pv-brand-wordmark,
.pv-brand-text { color: #fff; font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; }
.pv-brand-text span { font-weight: 800; }

/* Prop cards (property listing pages) */
.prop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1100px) { .prop-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .prop-grid { grid-template-columns: 1fr; } }

/* Empty state */
.prop-empty {
  text-align: center; max-width: 480px; margin: 0 auto;
  padding: clamp(40px,6vw,72px) 24px;
  display: flex; flex-direction: column; align-items: center;
}
.prop-empty-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pv-pale); color: var(--pv-brand);
  border: 1px solid var(--pv-border); margin-bottom: 22px;
}
.prop-empty-title {
  font-family: var(--f-head); font-size: 1.5rem; font-weight: 800;
  color: var(--pv-text1); margin-bottom: 10px; letter-spacing: -0.02em;
}
.prop-empty-text { color: var(--pv-text3); font-size: 0.95rem; line-height: 1.7; margin-bottom: 26px; }
.prop-empty-text a { color: var(--pv-brand); font-weight: 600; }

/* ══ Premium property card (unified for index, my-listings, lister profile) ══ */
.prop-card {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--pv-border); overflow: hidden;
  position: relative; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(20,44,20,0.04);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -14px rgba(20,44,20,0.22); border-color: var(--pv-sage); }

/* Media (both .prop-card-media and legacy .prop-card-img) */
.prop-card-media, .prop-card-img, .prop-img-wrap {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pv-pale);
}
.prop-card-media img, .prop-card-img img, .prop-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease);
}
.prop-card:hover .prop-card-media img,
.prop-card:hover .prop-card-img img,
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }
.prop-card-media::after, .prop-card-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,44,20,0.30), transparent 42%);
  opacity: .55; transition: opacity .4s var(--ease);
}
.prop-card:hover .prop-card-media::after, .prop-card:hover .prop-card-img::after { opacity: .9; }

/* Badge ribbon overlaid on the image */
.card-ribbon, .prop-badges {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2;
  display: flex; gap: 7px; flex-wrap: wrap; align-items: flex-start;
}
.prop-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-head); font-size: 0.66rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--pv-brand); backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(20,44,20,0.12);
}
.prop-badge-sale { color: var(--pv-brand); }
.prop-badge-comm { color: #92620A; }

/* Body */
.prop-card-body, .prop-body { display: flex; flex-direction: column; padding: 18px 20px 20px; flex: 1; }
.prop-card-price, .prop-price {
  font-family: var(--f-head); font-size: 1.35rem; font-weight: 800; color: var(--pv-text1);
  letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 8px;
}
.prop-card-price span, .prop-card-price small, .prop-price-period {
  font-size: 0.78rem; font-weight: 600; color: var(--pv-text3); letter-spacing: 0;
}
/* ══ Detailed search bar ══ */
.search-bar { background: #fff; border-bottom: 1px solid var(--pv-border); position: sticky; top: var(--nav-h); z-index: 50; box-shadow: 0 4px 20px -12px rgba(20,44,20,0.18); }
.search-form { padding: 16px 0; }
.search-grid { display: grid; grid-template-columns: 1.1fr 1.5fr 1.5fr 0.85fr 1.5fr 1.4fr auto; gap: 12px; align-items: end; }
.search-bar .search-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.search-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-text3); }
.search-input {
  width: 100%; padding: 10px 13px; font-size: 0.86rem; font-family: var(--f-body);
  border: 1px solid var(--pv-border); border-radius: 11px; background: #fff; color: var(--pv-text1);
  transition: border-color .18s ease, box-shadow .18s ease; appearance: none;
}
.search-input:focus { outline: none; border-color: var(--pv-brand); box-shadow: 0 0 0 3px rgba(83,123,47,0.14); }
select.search-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23537B2F' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-left: 11px; padding-right: 26px; cursor: pointer; text-overflow: ellipsis; }
.search-input-icon { position: relative; display: flex; align-items: center; }
.search-input-icon svg { position: absolute; left: 12px; color: var(--pv-mid); pointer-events: none; }
.search-input-icon .search-input { padding-left: 34px; }
.search-price { display: flex; align-items: center; gap: 6px; }
.search-price .search-input { padding-left: 11px; padding-right: 11px; }
.search-price-dash { color: var(--pv-text3); flex: 0 0 auto; }
.search-actions { display: flex; gap: 8px; align-items: end; }
.search-bar .search-submit { width: auto; height: auto; border-radius: var(--r-md); padding: 10px 22px; font-size: 0.88rem; white-space: nowrap; }
.search-clear { display: inline-flex; align-items: center; padding: 10px 14px; font-size: 0.84rem; font-weight: 600; color: var(--pv-text3); border: 1px solid var(--pv-border); border-radius: 11px; text-decoration: none; transition: all .18s ease; }
.search-clear:hover { color: #9a2828; border-color: #e7b7b7; background: #fdf6f6; }
@media (max-width: 1100px) {
  .search-grid { grid-template-columns: 1fr 1fr 1fr; }
  .search-field-loc { grid-column: span 2; }
  .search-actions { grid-column: span 1; }
  .search-bar .search-submit { width: 100%; }
}
@media (max-width: 600px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-field-loc, .search-field-price, .search-actions { grid-column: span 2; }
}

/* ── Property detail: key facts ── */
.prop-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px;
  margin-bottom: 32px; background: linear-gradient(180deg, var(--pv-light), #fff);
  border: 1px solid var(--pv-border); border-radius: var(--r-lg); padding: 8px;
}
.prop-fact {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 16px 10px; border-radius: var(--r-md); transition: background .18s ease;
}
.prop-fact:hover { background: rgba(141, 167, 80, 0.1); }
.prop-fact-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--pv-brand);
  background: var(--pv-pale); flex-shrink: 0;
}
.prop-fact-val { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); line-height: 1; }
.prop-fact-lbl { font-size: 0.7rem; color: var(--pv-text3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* ── Property detail: quick meta strip ── */
.prop-meta-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.prop-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--pv-mid);
  background: var(--pv-light); border: 1px solid var(--pv-border);
  padding: 6px 12px; border-radius: 50px;
}
.prop-meta-item svg { color: var(--pv-sage); flex-shrink: 0; }
.prop-meta-ref { margin-left: auto; color: var(--pv-text3); font-family: var(--f-head); letter-spacing: 0.02em; }
button.prop-meta-ref { font-size: 0.8rem; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
button.prop-meta-ref:hover { border-color: var(--pv-sage); color: var(--pv-mid); background: var(--pv-pale); }
@media (max-width: 600px) { .prop-meta-ref { margin-left: 0; } }

/* ── Property detail: pricing & move-in costs ── */
.prop-costs {
  border: 1px solid var(--pv-border); border-radius: var(--r-lg);
  overflow: hidden; background: #fff;
}
.prop-cost-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--pv-border);
}
.prop-cost-row:last-child { border-bottom: 0; }
.prop-cost-lbl { font-size: 0.88rem; color: var(--pv-text2); }
.prop-cost-val { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--pv-text1); white-space: nowrap; }
.prop-cost-total { background: var(--pv-pale); }
.prop-cost-total .prop-cost-lbl { font-weight: 700; color: var(--pv-brand); }
.prop-cost-total .prop-cost-val { color: var(--pv-brand); font-size: 1.1rem; }
.prop-cost-note {
  display: flex; align-items: flex-start; gap: 7px; margin: 12px 2px 0;
  font-size: 0.78rem; color: var(--pv-text3); line-height: 1.5;
}
.prop-cost-note svg { color: var(--pv-sage); flex-shrink: 0; margin-top: 2px; }

/* ── Property detail: features list ── */
.prop-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.prop-feature {
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--pv-text2);
  padding: 10px 14px; background: var(--pv-light); border: 1px solid var(--pv-border);
  border-radius: var(--r-md); transition: border-color .18s ease, background .18s ease;
}
.prop-feature:hover { border-color: var(--pv-sage); background: #fff; }
.prop-feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--pv-pale);
  color: var(--pv-brand); flex-shrink: 0;
}

.prop-card-title, .prop-title {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: var(--pv-text1);
  margin: 0 0 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.prop-card-loc, .prop-card-address, .prop-location {
  display: flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--pv-text3); margin-bottom: 14px;
}
.prop-card-loc svg, .prop-card-address svg, .prop-location svg { color: var(--pv-mid); flex-shrink: 0; }

/* Feature chips with SVG icons */
.prop-card-feats, .prop-features {
  display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 14px;
  padding: 10px 0; border-top: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border);
}
.prop-feat {
  display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--pv-text2); font-weight: 600;
  padding: 0 14px;
}
.prop-feat:first-child { padding-left: 0; }
.prop-feat + .prop-feat { border-left: 1px solid var(--pv-border); }
.prop-feat svg { color: var(--pv-brand); flex-shrink: 0; }

/* Footer */
.prop-card-footer, .prop-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto; padding-top: 14px;
}
.prop-card-agent, .prop-agent { display: flex; align-items: center; gap: 9px; min-width: 0; }
.prop-card-avatar, .prop-agent-av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--pv-brand); color: #fff;
  font-family: var(--f-head); font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prop-agent-name { font-size: 0.82rem; font-weight: 600; color: var(--pv-text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-view-link { font-size: 0.8rem; font-weight: 700; color: var(--pv-brand); display: flex; align-items: center; gap: 3px; transition: gap var(--trans); }
.prop-view-link:hover { color: #2D5128; gap: 6px; }

/* Badges */
.pv-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--f-head); font-size: 0.66rem; font-weight: 800;
  padding: 5px 11px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(20,44,20,0.10); backdrop-filter: blur(4px);
}
.badge-verified { background: rgba(255,255,255,0.94); color: var(--pv-brand); }
.badge-gold     { background: linear-gradient(135deg,#E4EB9C,#cdd47f); color: #5a5212; }
.badge-pending  { background: rgba(234,179,8,0.92); color: #5c3d04; }
.badge-new      { background: var(--pv-brand); color: #fff; }
.badge-hot      { background: rgba(220,38,38,0.92); color: #fff; }
.badge-sale     { background: rgba(255,255,255,0.94); color: var(--pv-brand); }
.badge-rent     { background: rgba(255,255,255,0.94); color: #2563EB; }

/* ── Pagination ───────────────────────────────────────────────────────── */
.pv-pagination { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pv-pagination a,
.pv-pagination span {
  display:flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 8px;
  border-radius:var(--r-sm); font-family:var(--f-head); font-size:0.85rem; font-weight:600;
  border:1px solid var(--pv-border); text-decoration:none; transition:all var(--trans);
  color:var(--pv-text2);
}
.pv-pagination a:hover { background:var(--pv-brand); color:#fff; border-color:var(--pv-brand); }
.pv-pagination span.current { background:var(--pv-brand); color:#fff; border-color:var(--pv-brand); }
.pv-pagination span.dots { border:none; color:var(--pv-text3); cursor:default; }

/* Loading shimmer */
.shimmer {
  background: linear-gradient(90deg, var(--bg-off) 25%, #e8eee8 50%, var(--bg-off) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}

/* Dividers */
.divider-light { height: 1px; background: var(--pv-border); }
.divider-dark  { height: 1px; background: rgba(242,237,194,0.08); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .pv-char { opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD SHELL (SaaS layout — sidebar + topbar)
   ═══════════════════════════════════════════════════════════════════════════ */
/* Modernize-inspired light SaaS shell, re-themed to PropVault green. */
.pv-dash-body { background: #f3f6f3; }
.dash-shell { display: flex; height: 100dvh; overflow: hidden; }

/* ── Sidebar (light) ── */
.dash-sidebar {
  width: 264px; flex-shrink: 0;
  background: #ffffff; color: var(--pv-text2);
  display: flex; flex-direction: column;
  height: 100dvh;
  border-right: 1px solid #e9eee9;
}
.dash-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 14px; }
.dash-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.dash-brand-icon { width: 34px; height: 34px; display: block; }
.dash-brand-icon svg { width: 100%; height: 100%; }
.dash-brand-word { font-family: var(--f-head); font-weight: 800; font-size: 1.18rem; color: var(--pv-text1); }
.dash-brand-word strong { color: var(--pv-brand); }
.dash-close { display: none; background: none; border: none; color: var(--pv-text3); cursor: pointer; }

.dash-nav { flex: 1; padding: 8px 14px; overflow-y: auto; }
.dash-nav-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pv-text3); padding: 16px 10px 8px; font-weight: 700; }
.dash-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 9px; margin-bottom: 3px;
  color: var(--pv-text2); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: background var(--trans), color var(--trans);
}
.dash-nav-link:hover { background: rgba(52,103,57,0.07); color: var(--pv-brand); }
.dash-nav-link.active { background: var(--pv-brand); color: #fff; box-shadow: 0 7px 16px -4px rgba(52,103,57,0.45); }
.dash-nav-link.active .dash-nav-icon { color: #fff; }
.dash-nav-icon { display: flex; flex-shrink: 0; color: var(--pv-text3); }
.dash-nav-link:hover .dash-nav-icon { color: var(--pv-brand); }
.dash-nav-text { flex: 1; }
.dash-nav-link.is-soon { opacity: 0.55; cursor: default; }
.dash-nav-link.is-soon:hover { background: transparent; color: var(--pv-text3); }
.dash-soon { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 50px; background: var(--pv-pale); color: var(--pv-mid); }

.dash-sidebar-foot { padding: 14px; border-top: 1px solid #e9eee9; }
.dash-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 8px; border-radius: 10px; background: #f3f6f3; }
.dash-user-av { width: 38px; height: 38px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); flex-shrink: 0; }
.dash-user-name { font-size: 0.85rem; font-weight: 700; color: var(--pv-text1); line-height: 1.2; }
.dash-user-role { font-size: 0.72rem; color: var(--pv-text3); }
.dash-signout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; border-radius: 8px; background: #fff; border: 1px solid var(--pv-border); color: var(--pv-text2); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--trans); }
.dash-signout:hover { background: #fdf2f2; border-color: #e7b7b7; color: #9a2828; }

/* ── Main ── (the only vertical scroll container) */
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100dvh; overflow-y: auto; }
.dash-topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 13px clamp(16px,3vw,32px);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(20,44,20,0.05), 0 4px 16px -10px rgba(20,44,20,0.18);
}
.dash-burger { display: none; background: none; border: none; color: var(--pv-text1); cursor: pointer; }
.dash-topbar-title { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; color: var(--pv-text1); }
.dash-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.dash-topbar-link { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--pv-text2); text-decoration: none; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--pv-border); transition: all var(--trans); }
.dash-topbar-link:hover { background: var(--pv-pale); color: var(--pv-brand); }
.dash-topbar-av { width: 34px; height: 34px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); font-size: 0.85rem; }

.dash-content { padding: clamp(20px,3vw,32px); flex: 1 0 auto; width: 100%; max-width: 1440px; margin: 0 auto; }

.dash-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,13,0.5); z-index: 40; }

@media (max-width: 1023px) {
  .dash-sidebar { position: fixed; left: 0; top: 0; z-index: 50; transform: translateX(-100%); transition: transform 0.3s var(--ease); }
  .dash-sidebar.open { transform: translateX(0); box-shadow: 0 0 60px rgba(0,0,0,0.4); }
  .dash-close, .dash-burger { display: block; }
  .dash-overlay.show { display: block; }
}

/* ── Dashboard content ── */
.dash-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(20px,3vw,28px); }
.dash-h1 { font-family: var(--f-head); font-size: clamp(1.3rem,2.4vw,1.7rem); font-weight: 800; color: var(--pv-text1); margin: 0 0 4px; }
.dash-sub { font-size: 0.9rem; color: var(--pv-text3); margin: 0; }
.dash-role-chip { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-brand); background: var(--pv-pale); border: 1px solid var(--pv-border); padding: 6px 14px; border-radius: 50px; white-space: nowrap; }

.dash-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: clamp(20px,3vw,28px); }
@media (max-width: 1100px) { .dash-stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .dash-stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .dash-stat-grid { grid-template-columns: 1fr; } }

.dash-stat { background: #fff; border: none; border-radius: 14px; padding: 20px; box-shadow: 0 2px 6px rgba(20,44,20,0.05), 0 0 0 1px rgba(20,44,20,0.04); transition: transform var(--trans), box-shadow var(--trans); }
.dash-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -8px rgba(52,103,57,0.20); }
.dash-stat-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.dash-stat-ico.tone-brand { background: rgba(52,103,57,0.10); color: var(--pv-brand); }
.dash-stat-ico.tone-mid   { background: rgba(121,174,111,0.16); color: #4a7a3f; }
.dash-stat-ico.tone-sage  { background: rgba(159,203,152,0.20); color: #4a7a3f; }
.dash-stat-ico.tone-amber { background: rgba(217,164,6,0.14); color: #B8860B; }
.dash-stat-ico.tone-red   { background: rgba(220,38,38,0.12); color: #DC2626; }
.dash-stat-num { font-family: var(--f-head); font-size: 1.9rem; font-weight: 800; color: var(--pv-text1); line-height: 1; }
.dash-stat-lbl { font-size: 0.8rem; color: var(--pv-text3); margin-top: 5px; }

.dash-card { background: #fff; border: none; border-radius: 14px; padding: clamp(18px,2.5vw,26px); box-shadow: 0 2px 6px rgba(20,44,20,0.05), 0 0 0 1px rgba(20,44,20,0.04); }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-card-title { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); margin: 0; }
.dash-card-meta { font-size: 0.78rem; color: var(--pv-text3); }

.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; min-width: 640px; }
.dash-table thead th { text-align: left; padding: 10px 14px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-text3); border-bottom: 1px solid var(--pv-border); }
.dash-table tbody td { padding: 13px 14px; border-bottom: 1px solid var(--pv-border); color: var(--pv-text2); vertical-align: middle; }
.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-table tbody tr { transition: background var(--trans); }
.dash-table tbody tr:hover { background: var(--bg-off); }
.dash-td-user { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--pv-text1); }
.dash-td-av { width: 30px; height: 30px; border-radius: 50%; background: var(--pv-pale); color: var(--pv-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.78rem; font-family: var(--f-head); flex-shrink: 0; }
.dash-td-muted { color: var(--pv-text3); }
.dash-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 4px 11px; border-radius: 50px; }
.dash-pill.pill-role { background: var(--pv-pale); color: var(--pv-brand); }
.dash-pill.pill-ok   { background: rgba(52,103,57,0.12); color: var(--pv-brand); }
.dash-pill.pill-wait { background: rgba(217,164,6,0.14); color: #B8860B; }
.dash-pill.pill-off  { background: rgba(220,38,38,0.10); color: #DC2626; }
.dash-empty { text-align: center; color: var(--pv-text3); padding: 32px; font-size: 0.9rem; }
/* Money/number formatting — global so every page renders ₦ correctly with tabular figures */
.money { font-family: var(--f-money); font-variant-numeric: tabular-nums; }
.dash-table tbody td { font-variant-numeric: tabular-nums; }
.dash-table .num, .dash-table td.money { font-family: var(--f-money); text-align: right; white-space: nowrap; }

/* ── Dashboard: flash, forms, modules, permissions (User mgmt) ── */
.dash-flash { padding: 12px 16px; border-radius: var(--r-sm); font-size: 0.88rem; font-weight: 500; margin-bottom: 14px; }
.dash-flash-ok  { background: rgba(52,103,57,0.10); color: var(--pv-brand); border: 1px solid rgba(52,103,57,0.22); }
.dash-flash-err { background: rgba(220,38,38,0.08); color: #B91C1C; border: 1px solid rgba(220,38,38,0.25); }

.dash-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 600; color: var(--pv-text3); text-decoration: none; margin-bottom: 16px; transition: color var(--trans); }
.dash-back:hover { color: var(--pv-brand); }

.dash-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dash-filter-search { position: relative; flex: 1; min-width: 200px; display: flex; align-items: center; }
.dash-filter-search svg { position: absolute; left: 12px; color: var(--pv-text3); pointer-events: none; }
.dash-filter-search input { width: 100%; padding: 10px 14px 10px 36px; border: 1px solid var(--pv-border); border-radius: var(--r-sm); font-family: var(--f-body); font-size: 0.88rem; color: var(--pv-text1); background: #fff; }
.dash-filter-search input:focus { outline: none; border-color: var(--pv-brand); }
.dash-filter .pv-select { max-width: 200px; }
.dash-filter-clear { font-size: 0.82rem; color: var(--pv-text3); text-decoration: none; }
.dash-filter-clear:hover { color: var(--pv-brand); }

.dash-action-link { font-size: 0.82rem; font-weight: 700; color: var(--pv-brand); text-decoration: none; padding: 6px 12px; border-radius: var(--r-xs); border: 1px solid var(--pv-border); transition: all var(--trans); }
.dash-action-link:hover { background: var(--pv-pale); }

.dash-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.dash-pagination a { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-xs); border: 1px solid var(--pv-border); font-size: 0.83rem; font-weight: 600; color: var(--pv-text2); text-decoration: none; padding: 0 8px; }
.dash-pagination a:hover { background: var(--pv-pale); color: var(--pv-brand); }
.dash-pagination a.current { background: var(--pv-brand); color: #fff; border-color: var(--pv-brand); }

.dash-form-card { max-width: 100%; }
.dash-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .dash-form-row { grid-template-columns: 1fr; } }
.dash-form-group { margin-bottom: 16px; }
.dash-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--pv-text2); margin-bottom: 6px; }
.dash-label .req { color: #DC2626; }
.dash-hint { font-size: 0.76rem; font-weight: 500; color: var(--pv-text3); }
.dash-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .dash-grid-2 { grid-template-columns: 1fr; } }

.dash-user-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-user-head-av { width: 54px; height: 54px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.dash-user-head-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.dash-action-stack { display: flex; flex-direction: column; gap: 10px; }
.dash-action-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--pv-border); background: #fff; font-family: var(--f-body); font-size: 0.86rem; font-weight: 600; color: var(--pv-text1); cursor: pointer; transition: all var(--trans); }
.dash-action-btn:hover { background: var(--bg-off); }
.dash-action-btn.warn:hover  { border-color: rgba(217,164,6,0.5); color: #B8860B; }
.dash-action-btn.danger:hover{ border-color: rgba(220,38,38,0.5); color: #DC2626; }
.dash-action-btn.ok { border-color: rgba(52,103,57,0.4); color: var(--pv-brand); }
.dash-action-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.dash-module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.dash-module-chip { display: block; padding: 14px; border: 1px solid var(--pv-border); border-radius: var(--r-md); cursor: pointer; transition: all var(--trans); position: relative; }
.dash-module-chip:hover { border-color: rgba(52,103,57,0.35); background: var(--bg-off); }
.dash-module-chip input { position: absolute; top: 14px; right: 14px; width: 17px; height: 17px; accent-color: var(--pv-brand); cursor: pointer; }
.dash-module-chip:has(input:checked) { border-color: var(--pv-brand); background: var(--pv-pale); }
.dash-module-name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 0.9rem; color: var(--pv-text1); padding-right: 24px; }
.dash-module-desc { display: block; font-size: 0.78rem; color: var(--pv-text3); margin-top: 3px; line-height: 1.4; }

.dash-perm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dash-perm-tag { font-size: 0.72rem; font-weight: 600; font-family: var(--f-mono, monospace); padding: 4px 9px; border-radius: var(--r-xs); background: var(--pv-pale); color: var(--pv-brand); }

.dash-perm-group { border: 1px solid var(--pv-border); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.dash-perm-group-title { background: var(--bg-off); padding: 9px 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-text2); }
.dash-perm-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-top: 1px solid var(--pv-border); flex-wrap: wrap; }
.dash-perm-label { font-size: 0.86rem; font-weight: 600; color: var(--pv-text1); }
.dash-perm-key { font-size: 0.72rem; color: var(--pv-text3); font-family: var(--f-mono, monospace); }
.dash-perm-radios { display: flex; gap: 6px; }
.dash-radio { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 50px; border: 1px solid var(--pv-border); font-size: 0.76rem; font-weight: 600; color: var(--pv-text3); cursor: pointer; }
.dash-radio input { accent-color: var(--pv-brand); }
.dash-radio:has(input:checked).r-grant { background: rgba(52,103,57,0.12); color: var(--pv-brand); border-color: rgba(52,103,57,0.3); }
.dash-radio:has(input:checked).r-deny  { background: rgba(220,38,38,0.1); color: #DC2626; border-color: rgba(220,38,38,0.3); }
.dash-radio:has(input:checked).r-none  { background: var(--bg-off); color: var(--pv-text2); }

/* ── Detail list (key/value) ── */
.dash-detail-list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.dash-detail { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--pv-border); font-size: 0.88rem; }
.dash-detail:last-child { border-bottom: none; }
.dash-detail span { color: var(--pv-text3); }
.dash-detail strong { color: var(--pv-text1); font-weight: 700; text-align: right; }

/* ── Toggle switch ── */
.dash-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.dash-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.dash-toggle-track { width: 44px; height: 25px; border-radius: 50px; background: var(--pv-border); position: relative; flex-shrink: 0; transition: background var(--trans); }
.dash-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform var(--trans); }
.dash-toggle input:checked + .dash-toggle-track { background: var(--pv-brand); }
.dash-toggle input:checked + .dash-toggle-track .dash-toggle-thumb { transform: translateX(19px); }
.dash-toggle .dash-hint { display: block; }

/* ── Approvals inbox ── */
.appr-list { display: flex; flex-direction: column; gap: 12px; }
.appr-card { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-lg); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; transition: box-shadow var(--trans); }
.appr-card:hover { box-shadow: 0 8px 24px rgba(52,103,57,0.08); }
.appr-card-main { flex: 1; min-width: 240px; }
.appr-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.appr-step { font-size: 0.72rem; font-weight: 600; color: var(--pv-text3); text-transform: uppercase; letter-spacing: 0.04em; }
.appr-card-title { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: var(--pv-text1); margin-bottom: 4px; }
.appr-card-meta { font-size: 0.82rem; color: var(--pv-text3); }
.appr-card-meta strong { color: var(--pv-text2); }
.appr-mono { font-family: var(--f-mono, monospace); font-size: 0.75rem; }
.appr-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.appr-comment { width: 180px; padding: 9px 12px; font-size: 0.82rem; }
.appr-reject { padding: 9px 16px; border-radius: var(--r-sm); background: #fff; border: 1px solid rgba(220,38,38,0.4); color: #DC2626; font-family: var(--f-head); font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all var(--trans); }
.appr-reject:hover { background: rgba(220,38,38,0.08); }

/* ── Admin team management ── */
.team-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .team-admin-grid { grid-template-columns: 1fr; } }
.team-admin-head { display: flex; align-items: center; gap: 12px; }
.team-admin-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--pv-pale); color: var(--pv-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); flex-shrink: 0; }
.team-admin-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-admin-name { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); }
.team-admin-role { font-size: 0.8rem; color: var(--pv-text3); }
.team-admin-edit { margin-top: 12px; border-top: 1px solid var(--pv-border); padding-top: 10px; }
.team-admin-edit summary { cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--pv-brand); list-style: none; }
.team-admin-edit summary::-webkit-details-marker { display: none; }
.team-admin-edit summary::before { content: '✎ '; }

/* ── Roles & Access ── */
.acc-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: rgba(52,103,57,0.06); border-radius: 50px; padding: 4px; width: fit-content; }
.acc-tab { padding: 8px 20px; border-radius: 50px; font-family: var(--f-head); font-size: 0.84rem; font-weight: 600; color: var(--pv-text2); background: transparent; cursor: pointer; transition: all var(--trans); }
.acc-tab.active { background: var(--pv-brand); color: #fff; }
.acc-mod-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.acc-perm-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.acc-perm-group-name { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pv-text3); margin-bottom: 8px; }
.acc-perm { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.84rem; color: var(--pv-text2); cursor: pointer; }
.acc-perm input { width: 16px; height: 16px; accent-color: var(--pv-brand); flex-shrink: 0; }
.acc-chain { display: flex; flex-direction: column; gap: 10px; }
.acc-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--pv-border); border-radius: var(--r-md); background: var(--bg-off); }
.acc-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--f-head); font-size: 0.85rem; flex-shrink: 0; }
.acc-step-body { flex: 1; }
.acc-step-label { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); margin-bottom: 8px; }
.acc-step-controls { display: flex; gap: 16px; flex-wrap: wrap; }
.acc-step-controls label { display: flex; flex-direction: column; gap: 4px; font-size: 0.74rem; font-weight: 600; color: var(--pv-text3); text-transform: uppercase; letter-spacing: 0.04em; }
.acc-step-controls .pv-select, .acc-step-controls .pv-input { font-size: 0.84rem; }

/* ── Listing form + map ── */
.listing-form { display: flex; flex-direction: column; gap: 18px; }
.lf-card { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-lg); padding: clamp(18px,2.5vw,26px); }
.lf-h2 { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); margin: 0 0 14px; }
.lf-hint { font-size: 0.82rem; color: var(--pv-text3); margin: 0 0 12px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .lf-row, .lf-row-4 { grid-template-columns: 1fr 1fr; } }
.lf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.lf-label { font-size: 0.8rem; font-weight: 700; color: var(--pv-text2); }
.lf-label .req { color: #DC2626; }
.listing-map { width: 100%; height: 320px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--pv-border); z-index: 1; }
.lf-coords { margin-top: 10px; font-size: 0.82rem; font-weight: 600; color: var(--pv-brand); }

/* ── File-upload dropzone (listings + team) ── */
.lf-upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; cursor: pointer;
  padding: 28px 20px; border: 2px dashed var(--pv-border); border-radius: var(--r-md);
  background: var(--pv-pale); color: var(--pv-sage);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.lf-upload:hover, .lf-upload.is-drag { border-color: var(--pv-brand); color: var(--pv-brand); background: #fff; }
.lf-upload-main { font-weight: 700; font-size: 0.95rem; color: var(--pv-text1); }
.lf-upload-sub  { font-size: 0.8rem; color: var(--pv-text3); }
.lf-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.lf-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--pv-border); background: var(--pv-pale); }
.lf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-thumb-cover {
  position: absolute; left: 6px; top: 6px; font-size: 0.62rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 999px; color: #fff; background: var(--pv-brand);
}

/* ── Tenant saved-property cards ── */
.dash-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dash-saved-card { display: block; border: 1px solid var(--pv-border); border-radius: var(--r-md); overflow: hidden; background: #fff; text-decoration: none; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.dash-saved-card:hover { box-shadow: 0 8px 22px var(--pv-shadow); border-color: var(--pv-sage); transform: translateY(-2px); }
.dash-saved-media { aspect-ratio: 16 / 10; background: var(--pv-pale); overflow: hidden; }
.dash-saved-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-saved-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--pv-sage); }
.dash-saved-body { padding: 12px 14px 14px; }
.dash-saved-price { font-family: var(--f-head); font-weight: 800; color: var(--pv-brand); font-size: 1.02rem; }
.dash-saved-title { font-weight: 600; color: var(--pv-text1); font-size: 0.9rem; margin-top: 2px; }
.dash-saved-loc { font-size: 0.78rem; color: var(--pv-text3); margin-top: 3px; }

/* ── Inspection request actions ── */
.dash-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-actions form { margin: 0; }
.dash-btn-ok, .dash-btn-no {
  border: 0; cursor: pointer; font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  transition: filter .15s ease, background .15s ease;
}
.dash-btn-ok { background: var(--pv-brand); color: #fff; }
.dash-btn-ok:hover { filter: brightness(1.08); }
.dash-btn-no { background: var(--pv-pale); color: var(--pv-text2); }
.dash-btn-no:hover { background: #f4d9d9; color: #9a2828; }

/* ── Admin properties console ── */
.adm-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.adm-filter .pv-input { flex: 1 1 240px; min-width: 180px; }
.adm-filter .pv-select { flex: 0 1 160px; }
.adm-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.adm-pager-info { font-size: 0.84rem; color: var(--pv-text3); }

/* ── Tenancy countdown cards ── */
.tenancy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tenancy-cd {
  border: 1px solid var(--pv-border); border-left: 4px solid var(--pv-sage);
  border-radius: var(--r-md); padding: 16px 16px 14px; background: #fff;
}
.tenancy-cd.tone-red   { border-left-color: #c0392b; background: #fdf3f2; }
.tenancy-cd.tone-amber { border-left-color: #c08a1e; background: #fdf9ef; }
.tenancy-cd.tone-sage  { border-left-color: var(--pv-mid); }
.tenancy-cd.tone-mid   { border-left-color: var(--pv-border); background: var(--pv-pale); }
.tenancy-cd-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tenancy-cd-title { font-weight: 700; color: var(--pv-text1); font-size: 0.92rem; }
.tenancy-cd-pill {
  font-size: 0.7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--pv-pale); color: var(--pv-text2);
}
.tenancy-cd-pill.sev-overdue  { background: #c0392b; color: #fff; }
.tenancy-cd-pill.sev-due_soon { background: #c08a1e; color: #fff; }
.tenancy-cd-pill.sev-upcoming { background: var(--pv-pale); color: var(--pv-brand); }
.tenancy-cd-pill.sev-done     { background: #e6e9df; color: var(--pv-text3); }
.tenancy-cd-sub  { font-size: 0.82rem; color: var(--pv-text2); margin-top: 6px; }
.tenancy-cd-date { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--pv-text3); margin-top: 10px; }

/* ── Lease creation summary ── */
.lease-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 14px 16px; background: var(--pv-pale); border-radius: var(--r-md); }
.lease-summary-lbl { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pv-text3); font-weight: 700; margin-bottom: 2px; }
.lease-summary-val { font-weight: 600; color: var(--pv-text1); font-size: 0.92rem; }

/* ── Maintenance tickets ── */
.prio-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: var(--pv-sage); }
.prio-dot.tone-red   { background: #c0392b; }
.prio-dot.tone-amber { background: #c08a1e; }
.prio-dot.tone-sage  { background: var(--pv-mid); }
.prio-dot.tone-mid   { background: var(--pv-text3); }

.ticket-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; align-items: start; }
.ticket-meta > div { display: flex; flex-direction: column; gap: 4px; }

.ticket-thread { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 16px; }
.tmsg { border: 1px solid var(--pv-border); border-radius: var(--r-md); padding: 12px 14px; background: #fff; max-width: 85%; }
.tmsg-mine { align-self: flex-end; background: var(--pv-pale); border-color: transparent; }
.tmsg-internal { background: #fdf9ef; border-color: #e7d9b5; }
.tmsg-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--pv-text3); margin-bottom: 4px; }
.tmsg-head strong { color: var(--pv-text1); }
.tmsg-body { font-size: 0.9rem; color: var(--pv-text1); line-height: 1.5; }
.tmsg-att { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tmsg-att img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--pv-border); }

.ticket-reply { border-top: 1px solid var(--pv-border); padding-top: 14px; }
.ticket-reply-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.ticket-reply-foot .btn-pv { margin-left: auto; }
.ticket-attach { cursor: pointer; font-size: 0.84rem; color: var(--pv-brand); font-weight: 600; }
.ticket-attach:hover { text-decoration: underline; }
.ticket-internal { font-size: 0.82rem; color: var(--pv-text2); display: inline-flex; align-items: center; gap: 5px; }

/* Star rating */
.rate-stars .star { color: #d8d8c8; font-size: 1.3rem; }
.rate-stars .star.on { color: #e0b41e; }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-input input { display: none; }
.rate-input label { font-size: 1.7rem; color: #d8d8c8; cursor: pointer; transition: color .12s ease; }
.rate-input input:checked ~ label,
.rate-input label:hover, .rate-input label:hover ~ label { color: #e0b41e; }

/* ── Notification bell + centre ── */
.dash-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: var(--pv-text2); transition: background .15s ease, color .15s ease; }
.dash-bell:hover { background: var(--pv-pale); color: var(--pv-brand); }
.dash-bell-dot { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 0.62rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.notif-list { list-style: none; margin: 0; padding: 0; }
.notif { border-bottom: 1px solid var(--pv-border); }
.notif:last-child { border-bottom: 0; }
.notif-link { display: flex; gap: 12px; padding: 14px 6px; text-decoration: none; align-items: flex-start; transition: background .12s ease; }
.notif-link:hover { background: var(--pv-pale); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 6px; flex: 0 0 auto; }
.notif-unread .notif-dot { background: var(--pv-brand); }
.notif-unread .notif-link { background: #f3f7ef; }
.notif-body { display: flex; flex-direction: column; gap: 2px; }
.notif-title { font-weight: 700; color: var(--pv-text1); font-size: 0.9rem; }
.notif-text { font-size: 0.85rem; color: var(--pv-text2); }
.notif-time { font-size: 0.74rem; color: var(--pv-text3); margin-top: 2px; }

/* ── KYC status panels ── */
.kyc-state { display: flex; align-items: center; gap: 16px; }
.kyc-state-ico { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.kyc-ok .kyc-state-ico   { background: #e7f0e2; color: var(--pv-brand); }
.kyc-wait .kyc-state-ico { background: #fdf9ef; color: #c08a1e; }
.kyc-state-title { font-family: var(--f-head); font-weight: 800; color: var(--pv-text1); font-size: 1.1rem; margin: 0 0 2px; }
.kyc-state-text { color: var(--pv-text2); font-size: 0.9rem; margin: 0; }

/* ── Escrow ── */
.escrow-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pv-border); }
.escrow-bar-info { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--pv-text2); flex: 1 1 auto; }
.escrow-bar .btn-pv { padding: 9px 16px; font-size: 0.85rem; }
.escrow-amt { text-align: center; padding: 18px; background: var(--pv-pale); border-radius: var(--r-md); margin-bottom: 18px; }
.escrow-amt-lbl { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pv-text3); font-weight: 700; }
.escrow-amt-val { display: block; font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--pv-brand); margin: 4px 0 2px; }
.escrow-amt-sub { font-size: 0.82rem; color: var(--pv-text3); }
.escrow-points { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.escrow-points li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--pv-text2); }
.escrow-points svg { color: var(--pv-brand); flex: 0 0 auto; }

/* ── Tenancy agreement document ── */
.agreement { max-width: 820px; }
.agreement-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--pv-brand); }
.agreement-brand { font-family: var(--f-head); font-size: 1.3rem; color: var(--pv-brand); }
.agreement-meta { font-size: 0.8rem; color: var(--pv-text3); }
.agreement-title { font-family: var(--f-head); font-weight: 800; color: var(--pv-text1); font-size: 1.4rem; margin: 18px 0 8px; }
.agreement-p { color: var(--pv-text2); font-size: 0.92rem; line-height: 1.6; }
.agreement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; padding: 16px; background: var(--pv-pale); border-radius: var(--r-md); }
.agreement-h3 { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); font-size: 1.05rem; margin: 18px 0 8px; }
.agreement-terms { margin: 0; padding-left: 20px; color: var(--pv-text2); font-size: 0.9rem; line-height: 1.7; }
.agreement-terms li { margin-bottom: 6px; }
.agreement-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.agreement-sign { border: 1px dashed var(--pv-border); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 3px; }
.agreement-sign.is-signed { border-style: solid; border-color: var(--pv-mid); background: #f3f7ef; }
.agreement-sign-role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: var(--pv-text3); }
.agreement-sign-name { font-family: var(--f-head); font-size: 1.05rem; color: var(--pv-brand); font-weight: 700; }
.agreement-sign-when { font-size: 0.76rem; color: var(--pv-text3); }
.agreement-sign-pending { font-size: 0.85rem; color: var(--pv-text3); font-style: italic; }

/* ── Property reviews ── */
.rev-agg { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--pv-text2); }
.rate-stars-sm .star { font-size: 0.95rem; }
.rev-form { background: var(--pv-pale); border: 1px solid var(--pv-border); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px; }
.rev-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rev-list { display: flex; flex-direction: column; gap: 14px; }
.rev-card { border: 1px solid var(--pv-border); border-radius: var(--r-md); padding: 14px 16px; background: #fff; }
.rev-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.rev-card-name { font-weight: 700; color: var(--pv-text1); font-size: 0.92rem; }
.rev-verified { font-size: 0.7rem; font-weight: 800; color: var(--pv-brand); background: #e7f0e2; padding: 2px 8px; border-radius: 999px; }
.rev-card-text { color: var(--pv-text2); font-size: 0.9rem; line-height: 1.55; margin: 6px 0; }
.rev-card-date { font-size: 0.75rem; color: var(--pv-text3); }

/* ── Messaging ── */
.chat-threads { list-style: none; margin: 0; padding: 0; }
.chat-threads li { border-bottom: 1px solid var(--pv-border); }
.chat-threads li:last-child { border-bottom: 0; }
.chat-thread-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; transition: background .12s ease; }
.chat-thread-row:hover { background: var(--pv-pale); }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--pv-brand); color: #fff; font-family: var(--f-head); font-weight: 700; }
.chat-thread-main { flex: 1 1 auto; min-width: 0; }
.chat-thread-top { display: flex; justify-content: space-between; gap: 8px; }
.chat-thread-name { font-weight: 700; color: var(--pv-text1); font-size: 0.92rem; }
.chat-thread-time { font-size: 0.74rem; color: var(--pv-text3); flex: 0 0 auto; }
.chat-thread-sub { display: block; font-size: 0.82rem; color: var(--pv-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-prop { color: var(--pv-brand); font-weight: 600; }
.chat-unread { flex: 0 0 auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pv-brand); color: #fff; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.chat-window { display: flex; flex-direction: column; max-height: 70vh; }
.chat-log { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px; min-height: 240px; }
.chat-msg { max-width: 78%; align-self: flex-start; }
.chat-msg-mine { align-self: flex-end; }
.chat-bubble { padding: 10px 14px; border-radius: 14px; background: var(--pv-pale); color: var(--pv-text1); font-size: 0.9rem; line-height: 1.45; border-top-left-radius: 4px; }
.chat-msg-mine .chat-bubble { background: var(--pv-brand); color: #fff; border-top-left-radius: 14px; border-top-right-radius: 4px; }
.chat-msg-meta { font-size: 0.7rem; color: var(--pv-text3); margin-top: 3px; padding: 0 4px; }
.chat-msg-mine .chat-msg-meta { text-align: right; }
.chat-composer { display: flex; gap: 10px; align-items: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pv-border); }
.chat-composer textarea { flex: 1 1 auto; resize: none; }

/* ── Email verification banner ── */
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 18px; margin-bottom: 18px; border-radius: var(--r-md); background: #fdf9ef; border: 1px solid #e7d9b5; color: #8a6d1e; }
.verify-banner-text { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; }
.verify-banner-btn { border: 0; cursor: pointer; background: var(--pv-brand); color: #fff; font-size: 0.82rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; text-decoration: none; display: inline-block; }
.verify-banner-btn:hover { filter: brightness(1.08); }

/* ── Account danger zone ── */
.danger-zone { border: 1px solid #f0c9c9; background: #fdf6f6; }
.danger-list { margin: 8px 0 0; padding-left: 20px; color: #9a2828; font-size: 0.88rem; line-height: 1.6; }

/* ── Saved searches ── */
.save-search-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 18px; margin-bottom: 18px; border-radius: var(--r-md); background: var(--pv-pale); border: 1px solid var(--pv-border); }
.save-search-text { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--pv-text2); }
.save-search-text svg { color: var(--pv-brand); flex: 0 0 auto; }
.saved-search-list { display: flex; flex-direction: column; gap: 8px; }
.saved-search-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--pv-border); border-radius: var(--r-md); background: #fff; }
.saved-search-label { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--pv-text1); font-weight: 600; font-size: 0.9rem; }
.saved-search-label svg { color: var(--pv-brand); }
.saved-search-label:hover { color: var(--pv-brand); }
.saved-search-del { border: 0; background: transparent; color: var(--pv-text3); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.saved-search-del:hover { color: #9a2828; }

/* ── Public lister profile ── */
.lister-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-xl); padding: 26px; box-shadow: 0 2px 10px var(--pv-shadow); }
.lister-avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-size: 2rem; font-weight: 800; }
.lister-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lister-name { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--pv-text1); margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lister-sub { font-size: 0.88rem; color: var(--pv-text3); }
.lister-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 0.88rem; color: var(--pv-text2); align-items: center; }
.lister-stats strong { color: var(--pv-brand); }
.lister-rating { display: inline-flex; align-items: center; gap: 4px; }
.lister-rating .star { color: #d9d9d9; font-size: 0.95rem; }
.lister-rating .star.on { color: #e0b41e; }

/* ── Onboarding checklist ── */
.onboard-card { border-left: 4px solid var(--pv-brand); }
.onboard-bar { height: 7px; border-radius: 999px; background: var(--pv-pale); overflow: hidden; margin: 4px 0 16px; }
.onboard-bar span { display: block; height: 100%; background: var(--pv-brand); border-radius: 999px; transition: width .4s ease; }
.onboard-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.onboard-item { display: flex; align-items: center; gap: 10px; }
.onboard-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pv-border); display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.onboard-item.is-done .onboard-check { background: var(--pv-brand); border-color: var(--pv-brand); }
.onboard-label { color: var(--pv-text1); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
a.onboard-label:hover { color: var(--pv-brand); }
.onboard-item.is-done .onboard-label { color: var(--pv-text3); text-decoration: line-through; }
.notif-prefs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }

/* ── Property comparison ── */
.compare-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-lg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--pv-border); font-size: 0.9rem; vertical-align: middle; }
.compare-label { color: var(--pv-text3); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .03em; width: 130px; }
.compare-card { display: block; text-decoration: none; }
.compare-img { display: block; aspect-ratio: 16/10; border-radius: var(--r-sm); overflow: hidden; background: var(--pv-pale); margin-bottom: 8px; }
.compare-img img { width: 100%; height: 100%; object-fit: cover; }
.compare-img-ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--pv-text3); font-size: 0.8rem; }
.compare-card-title { font-weight: 700; color: var(--pv-text1); font-size: 0.92rem; }
.compare-table tbody tr:hover { background: var(--pv-pale); }
@media print {
  .dash-sidebar, .dash-topbar, .dash-overlay, .no-print, .dash-welcome .btn-pv-outline { display: none !important; }
  .dash-main, .dash-content { margin: 0 !important; padding: 0 !important; }
  .agreement { box-shadow: none; border: 0; max-width: 100%; }
}

/* ── Golden trust batch (verified listing) ── */
.golden-batch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-family: var(--f-head); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.02em; white-space: nowrap;
  color: #5a4a12;
  background: linear-gradient(135deg, #F2EDC2 0%, #E8DC8E 100%);
  border: 1px solid #d9c969;
  box-shadow: 0 2px 10px rgba(217,201,105,0.4);
}
.golden-batch svg { color: #8a7320; }

/* ── Property engagement ── */
.prop-engage { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 0; margin-bottom: 24px; border-top: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border); }
.prop-engage-stat { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--pv-text3); }
.prop-engage-stat svg { color: var(--pv-mid); }
.prop-engage-stat strong { color: var(--pv-text1); font-weight: 700; }
.prop-like-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 50px; border: 1.5px solid var(--pv-border); background: #fff; color: var(--pv-text2); font-family: var(--f-head); font-size: 0.83rem; font-weight: 700; cursor: pointer; transition: all var(--trans); }
.prop-like-btn svg { color: var(--pv-text3); transition: color var(--trans); }
.prop-like-btn:hover { border-color: #e0738a; color: #d6456a; }
.prop-like-btn:hover svg { color: #d6456a; }
.prop-like-btn.liked { background: #fdecef; border-color: #f3c0cc; color: #d6456a; }
.prop-like-btn.liked svg { color: #e0496e; }

/* Engagement strip on property cards */
.prop-card-engage { display: flex; align-items: center; gap: 14px; padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--pv-border); font-size: 0.76rem; color: var(--pv-text3); }
.prop-card-engage span { display: inline-flex; align-items: center; gap: 5px; }
.prop-card-engage svg { color: var(--pv-mid); }

/* ══════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS (app-style)
═══════════════════════════════════════════════════════════════════ */
.pv-toast-region {
  position: fixed; top: 18px; right: 18px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  max-width: min(380px, calc(100vw - 36px)); pointer-events: none;
}
.pv-toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 11px;
  background: #fff; border: 1px solid var(--pv-border); border-left: 4px solid var(--pv-mid);
  border-radius: 12px; padding: 13px 14px; box-shadow: 0 12px 34px -10px rgba(20,44,20,0.28);
  transform: translateX(120%); opacity: 0; transition: transform .34s var(--ease), opacity .34s var(--ease);
}
.pv-toast.show { transform: translateX(0); opacity: 1; }
.pv-toast.hide { transform: translateX(120%); opacity: 0; }
.pv-toast-ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.pv-toast-body { flex: 1; min-width: 0; }
.pv-toast-title { font-family: var(--f-head); font-size: 0.85rem; font-weight: 700; color: var(--pv-text1); line-height: 1.2; }
.pv-toast-msg { font-size: 0.82rem; color: var(--pv-text2); line-height: 1.45; margin-top: 2px; word-wrap: break-word; }
.pv-toast-x { flex-shrink: 0; background: none; border: none; cursor: pointer; color: var(--pv-text3); padding: 2px; line-height: 0; border-radius: 6px; transition: background .15s, color .15s; }
.pv-toast-x:hover { background: var(--pv-light); color: var(--pv-text1); }
.pv-toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 0 0 0 12px; background: currentColor; opacity: 0.5; animation: pvToastBar linear forwards; }
.pv-toast { position: relative; overflow: hidden; }
@keyframes pvToastBar { from { width: 100%; } to { width: 0%; } }
.pv-toast-success { border-left-color: #2D5128; }
.pv-toast-success .pv-toast-ico { background: #2D5128; }
.pv-toast-success .pv-toast-bar { color: #2D5128; }
.pv-toast-error { border-left-color: #C2410C; }
.pv-toast-error .pv-toast-ico { background: #C2410C; }
.pv-toast-error .pv-toast-bar { color: #C2410C; }
.pv-toast-info { border-left-color: var(--pv-mid); }
.pv-toast-info .pv-toast-ico { background: var(--pv-mid); }
.pv-toast-info .pv-toast-bar { color: var(--pv-mid); }
.pv-toast-warning { border-left-color: #B7791F; }
.pv-toast-warning .pv-toast-ico { background: #B7791F; }
.pv-toast-warning .pv-toast-bar { color: #B7791F; }
@media (max-width: 480px) {
  .pv-toast-region { top: 12px; right: 12px; left: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-toast { transition: opacity .2s; transform: none; }
  .pv-toast.show { transform: none; }
  .pv-toast.hide { transform: none; }
  .pv-toast-bar { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   DASHBOARD — reporting / charts (SaaS overview)
═══════════════════════════════════════════════════════════════════ */
.dash-stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .dash-stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .dash-stat-grid.cols-4 { grid-template-columns: 1fr; } }
.dash-stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .dash-stat-grid.cols-3 { grid-template-columns: 1fr; } }
.dash-charts-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: clamp(20px,3vw,28px); }
.dash-charts-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.dash-charts-grid.cols-1 { grid-template-columns: minmax(0, 560px); }
@media (max-width: 980px) { .dash-charts-grid, .dash-charts-grid.cols-2 { grid-template-columns: 1fr; } }

.dash-chart-card { background: #fff; border: none; border-radius: 14px; padding: 20px 20px 16px; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(20,44,20,0.05), 0 0 0 1px rgba(20,44,20,0.04); }
.dash-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-chart-title { font-family: var(--f-head); font-size: 1rem; font-weight: 800; color: var(--pv-text1); margin: 0; }
.dash-chart-sub { font-size: 0.78rem; color: var(--pv-text3); margin: 2px 0 0; }
.dash-chart-canvas { position: relative; width: 100%; height: 260px; }
.dash-chart-canvas.sm { height: 220px; }
@media (max-width: 560px) { .dash-chart-canvas, .dash-chart-canvas.sm { height: 200px; } }

/* Skeleton shimmer (charts/tables loading state) */
.dash-skeleton { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; background: var(--pv-light); }
.dash-skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent); animation: pvShimmer 1.3s ease-in-out infinite; }
.skel-line { display: block; height: 12px; border-radius: 6px; background: var(--pv-light); position: relative; overflow: hidden; }
.skel-line::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent); animation: pvShimmer 1.3s ease-in-out infinite; }
@keyframes pvShimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .dash-skeleton::after, .skel-line::after { animation: none; } }
.dash-chart-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 14px; }
.dash-chart-leg { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--pv-text2); }
.dash-chart-leg::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--lc, var(--pv-sage)); flex-shrink: 0; }

/* KPI cards with trend delta */
.dash-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dash-stat-ico.tone-violet { background: rgba(120,80,160,0.10); color: #6d4f9c; }
.dash-stat-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 0.74rem; font-weight: 700; padding: 3px 8px; border-radius: 50px; }
.dash-stat-delta.up { color: #2D5128; background: rgba(45,81,40,0.10); }
.dash-stat-delta.down { color: #C2410C; background: rgba(194,65,12,0.10); }
.dash-stat-delta.flat { color: var(--pv-text3); background: var(--pv-light); }
.dash-stat-foot { font-size: 0.74rem; color: var(--pv-text3); margin-top: 6px; }

/* Section heading inside dashboard */
.dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.dash-section-title { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); margin: 0; }
.dash-section-link { font-size: 0.82rem; font-weight: 600; color: var(--pv-brand); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dash-section-link:hover { gap: 7px; }

/* ── Staff & Module Access page ── */
.staff-add-summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--pv-text1); list-style: none; }
.staff-add-summary::-webkit-details-marker { display: none; }
.staff-add-plus { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--pv-pale); color: var(--pv-brand); transition: transform var(--trans); }
details[open] .staff-add-plus { transform: rotate(45deg); }
.staff-add-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 10px; }
.dash-field { display: flex; flex-direction: column; gap: 5px; }
.dash-label { font-size: 0.78rem; font-weight: 700; color: var(--pv-text2); }
.staff-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.staff-id { display: flex; align-items: center; gap: 12px; }
.staff-name { font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--pv-text1); }
.staff-email { font-size: 0.82rem; color: var(--pv-text3); }
.staff-controls { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.staff-role-field { min-width: 190px; }
.staff-save { white-space: nowrap; }
@media (max-width: 560px) { .staff-controls { width: 100%; } .staff-role-field { flex: 1; } }

/* Separation-of-duties warning on staff cards */
.staff-sod { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 11px 13px; border-radius: var(--r-md); background: #FFF7ED; border: 1px solid #F6C77E; color: #92400E; }
.staff-sod svg { flex-shrink: 0; margin-top: 1px; color: #B7791F; }
.staff-sod strong { font-family: var(--f-head); font-size: 0.86rem; }
.staff-sod ul { margin: 4px 0 0; padding-left: 16px; font-size: 0.82rem; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════════
   INVOICES (branded, printable)
═══════════════════════════════════════════════════════════════════ */
.inv-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.inv-actions-right { display: flex; gap: 10px; flex-wrap: wrap; }
.invoice-doc { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--r-lg); padding: clamp(22px,4vw,44px); max-width: 820px; margin: 0 auto; box-shadow: 0 8px 30px rgba(20,44,20,0.06); }
.inv-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 2px solid var(--pv-brand); }
.inv-brand { display: flex; gap: 13px; align-items: center; }
.inv-logo-img { max-height: 56px; max-width: 180px; object-fit: contain; }
.inv-logo-mark svg { display: block; border-radius: 9px; }
.inv-issuer-name { font-family: var(--f-head); font-size: 1.3rem; font-weight: 800; color: var(--pv-text1); line-height: 1.1; }
.inv-issuer-meta { font-size: 0.78rem; color: var(--pv-text3); margin-top: 3px; }
.inv-meta { text-align: right; min-width: 220px; }
.inv-title { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.08em; color: var(--pv-brand); margin-bottom: 8px; }
.inv-meta-tbl { margin-left: auto; font-size: 0.82rem; border-collapse: collapse; }
.inv-meta-tbl td { padding: 2px 0; }
.inv-meta-tbl td:first-child { color: var(--pv-text3); padding-right: 14px; text-align: right; }
.inv-meta-tbl td:last-child { text-align: right; color: var(--pv-text1); }
.inv-parties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 24px 0; }
.inv-party-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pv-text3); margin-bottom: 5px; }
.inv-party-name { font-family: var(--f-head); font-weight: 700; font-size: 0.92rem; color: var(--pv-text1); }
.inv-party-line { font-size: 0.8rem; color: var(--pv-text2); margin-top: 2px; }
.inv-lines { width: 100%; border-collapse: collapse; margin-top: 6px; }
.inv-lines th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-text3); padding: 10px 12px; background: var(--pv-light); border-radius: 8px 8px 0 0; }
.inv-lines th.num, .inv-lines td.num { text-align: right; white-space: nowrap; }
.inv-lines td { padding: 14px 12px; border-bottom: 1px solid var(--pv-border); font-size: 0.9rem; color: var(--pv-text1); vertical-align: top; }
.inv-line-sub { font-size: 0.78rem; color: var(--pv-text3); }
.inv-total td { font-family: var(--f-head); font-size: 1.15rem; font-weight: 800; color: var(--pv-brand); padding-top: 16px; border-bottom: none; }
.inv-notes { font-size: 0.82rem; color: var(--pv-text2); margin-top: 16px; }
.inv-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--pv-border); }
.inv-foot-pay { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--pv-mid); }
.inv-foot-pay svg { color: var(--pv-sage); flex-shrink: 0; }
.inv-foot-powered { font-size: 0.72rem; color: var(--pv-text3); }
@media (max-width: 640px) { .inv-parties { grid-template-columns: 1fr; } .inv-meta { text-align: left; } .inv-meta-tbl { margin-left: 0; } }
@media print {
  body.pv-dash-body { background: #fff; }
  .no-print { display: none !important; }
  .dash-content { padding: 0 !important; max-width: none !important; }
  .invoice-doc { border: none; box-shadow: none; max-width: none; padding: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   SALE WALK-THROUGH (stepper)
═══════════════════════════════════════════════════════════════════ */
.sale-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sale-progress-bar { height: 9px; border-radius: 50px; background: var(--pv-light); overflow: hidden; }
.sale-progress-bar span { display: block; height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--pv-mid), var(--pv-brand)); transition: width .5s var(--ease); }
.sale-progress-bar.mini { height: 6px; width: 90px; }

.sale-steps { list-style: none; margin: 0; padding: 0; }
.sale-step { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.sale-step::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: -4px; width: 2px; background: var(--pv-border); }
.sale-step:last-child::before { display: none; }
.sale-step-dot { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; font-family: var(--f-head); background: var(--pv-light); color: var(--pv-text3); border: 2px solid var(--pv-border); z-index: 1; }
.sale-step.done .sale-step-dot { background: var(--pv-brand); color: #fff; border-color: var(--pv-brand); }
.sale-step.active .sale-step-dot { background: #fff; color: var(--pv-brand); border-color: var(--pv-brand); box-shadow: 0 0 0 4px rgba(52,103,57,0.14); }
.sale-step-body { flex: 1; min-width: 0; padding-top: 2px; }
.sale-step-title { font-family: var(--f-head); font-weight: 700; font-size: 0.95rem; color: var(--pv-text1); }
.sale-step.pending .sale-step-title { color: var(--pv-text3); }
.sale-step-note { font-size: 0.8rem; color: var(--pv-mid); margin: 8px 0 0; background: var(--pv-pale); padding: 8px 11px; border-radius: var(--r-sm); }
.sale-doc-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sale-doc-toggle { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-size: 0.84rem; color: var(--pv-text2); padding: 4px 0; font-family: var(--f-body); }
.sale-doc-toggle:disabled { cursor: default; }
.sale-doc-box { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--pv-border); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .15s ease; }
.sale-doc.on .sale-doc-box { background: var(--pv-brand); border-color: var(--pv-brand); }
.sale-doc.on .sale-doc-toggle { color: var(--pv-text1); }
.sale-advance { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pv-border); }
.sale-complete { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--pv-pale); color: var(--pv-brand); font-weight: 600; font-size: 0.9rem; }
.sale-complete svg { color: var(--pv-brand); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   3D PASTEL STAT TILES (Modernize-style, brand green)
═══════════════════════════════════════════════════════════════════ */
.pv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: clamp(18px,2.5vw,26px); }
.pv-tile { border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; transition: transform var(--trans), box-shadow var(--trans); text-decoration: none; }
.pv-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(20,44,20,0.30); }
.pv-tile-ico { width: 52px; height: 52px; margin-bottom: 8px; }
.pv-tile-ico img { width: 100%; height: 100%; object-fit: contain; }
.pv-tile-label { font-size: 0.86rem; font-weight: 600; color: var(--pv-mid); }
.pv-tile-value { font-family: var(--f-head); font-size: 1.7rem; font-weight: 800; color: var(--pv-text1); line-height: 1.05; }
.pv-tile-foot { font-size: 0.74rem; color: var(--pv-text3); margin-top: 2px; }
/* pastel tone backgrounds (green/cream family) */
.pv-tile.tone-pale  { background: #eaf2e6; }
.pv-tile.tone-cream { background: #f6f8df; }
.pv-tile.tone-sage  { background: #e4ecd4; }
.pv-tile.tone-mint  { background: #e0efe6; }
.pv-tile.tone-sky   { background: #e8f1ec; }
.pv-tile.tone-gold  { background: #f3f4d8; }

/* Finance flow stepper */
.fin-flow { display: flex; gap: 8px; flex-wrap: wrap; }
.fin-flow-step { flex: 1; min-width: 120px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px; background: var(--pv-light); }
.fin-flow-step.active { background: var(--pv-pale); }
.fin-flow-step.done { background: rgba(52,103,57,0.10); }
.fin-flow-dot { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--f-head); font-size: 0.82rem; background: #fff; color: var(--pv-text3); border: 2px solid var(--pv-border); flex-shrink: 0; }
.fin-flow-step.active .fin-flow-dot { border-color: var(--pv-brand); color: var(--pv-brand); }
.fin-flow-step.done .fin-flow-dot { background: var(--pv-brand); color: #fff; border-color: var(--pv-brand); }
.fin-flow-label { font-size: 0.82rem; font-weight: 600; color: var(--pv-text2); }

/* ══════════════════════════════════════════════════════════════════
   CHAT APP (3-column: threads · conversation · info)
═══════════════════════════════════════════════════════════════════ */
.chat-app { display: grid; grid-template-columns: 300px 1fr 260px; background: #fff; border-radius: 14px; box-shadow: 0 2px 6px rgba(20,44,20,0.05), 0 0 0 1px rgba(20,44,20,0.04); overflow: hidden; height: calc(100dvh - var(--nav-h) - clamp(40px,6vw,72px)); min-height: 480px; }
.chat-list { border-right: 1px solid var(--pv-border); display: flex; flex-direction: column; min-height: 0; }
.chat-list-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.chat-list-title { font-family: var(--f-head); font-size: 1.05rem; font-weight: 800; color: var(--pv-text1); margin: 0; }
.chat-list-count { font-size: 0.72rem; font-weight: 700; color: var(--pv-mid); background: var(--pv-pale); padding: 2px 9px; border-radius: 50px; }
.chat-search { position: relative; padding: 0 16px 12px; }
.chat-search svg { position: absolute; left: 28px; top: 9px; color: var(--pv-text3); }
.chat-search input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--pv-border); border-radius: 10px; font-size: 0.85rem; outline: none; }
.chat-search input:focus { border-color: var(--pv-brand); box-shadow: 0 0 0 3px rgba(52,103,57,0.12); }
.chat-threads { flex: 1; overflow-y: auto; padding: 4px 8px 8px; }
.chat-thread { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; text-decoration: none; margin-bottom: 2px; transition: background var(--trans); }
.chat-thread:hover { background: var(--bg-off); }
.chat-thread.active { background: var(--pv-pale); }
.chat-thread-av { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); }
.chat-thread-body { flex: 1; min-width: 0; }
.chat-thread-top { display: flex; justify-content: space-between; gap: 8px; }
.chat-thread-name { font-weight: 700; font-size: 0.88rem; color: var(--pv-text1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-time { font-size: 0.7rem; color: var(--pv-text3); flex-shrink: 0; }
.chat-thread-snippet { display: block; font-size: 0.8rem; color: var(--pv-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.chat-thread-unread { flex-shrink: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 50px; background: var(--pv-brand); color: #fff; font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--pv-border); }
.chat-head-av { width: 40px; height: 40px; border-radius: 50%; background: var(--pv-mid); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); flex-shrink: 0; }
.chat-head-meta { flex: 1; min-width: 0; }
.chat-head-name { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); }
.chat-head-sub { font-size: 0.78rem; color: var(--pv-text3); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-off); }
.chat-msg { display: flex; gap: 9px; max-width: 76%; align-self: flex-start; }
.chat-msg-mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-av { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--pv-sage); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.chat-bubble { background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 0.88rem; color: var(--pv-text1); line-height: 1.45; box-shadow: 0 1px 2px rgba(20,44,20,0.06); }
.chat-msg-mine .chat-bubble { background: var(--pv-brand); color: #fff; }
.chat-msg-meta { font-size: 0.68rem; color: var(--pv-text3); margin-top: 4px; padding: 0 4px; }
.chat-msg-mine .chat-msg-meta { text-align: right; }
.chat-composer { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--pv-border); align-items: flex-end; }
.chat-composer textarea { flex: 1; resize: none; max-height: 120px; }
.chat-composer .btn-pv { padding: 11px 14px; }
.chat-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--pv-text3); gap: 6px; }
.chat-empty-ico { opacity: 0.9; }
.chat-empty h3 { font-family: var(--f-head); color: var(--pv-text2); margin: 8px 0 0; }
.chat-empty p { font-size: 0.86rem; margin: 0; }

.chat-info { border-left: 1px solid var(--pv-border); padding: 24px 18px; text-align: center; overflow-y: auto; }
.chat-info-av { width: 72px; height: 72px; border-radius: 50%; background: var(--pv-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 800; font-family: var(--f-head); margin: 0 auto 12px; }
.chat-info-name { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); }
.chat-info-role { font-size: 0.78rem; color: var(--pv-text3); margin-top: 2px; }
.chat-info-card { margin-top: 18px; padding: 14px; background: var(--bg-off); border-radius: 12px; text-align: left; }
.chat-info-label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pv-text3); }
.chat-info-prop { font-size: 0.85rem; color: var(--pv-text1); margin: 4px 0 8px; }

@media (max-width: 980px) {
  .chat-app { grid-template-columns: 1fr; height: auto; }
  .chat-info { display: none; }
  .chat-list { border-right: none; border-bottom: 1px solid var(--pv-border); max-height: 280px; }
  .chat-log { min-height: 340px; }
}

/* Sidebar count badges */
.dash-nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 50px; background: #C2410C; color: #fff; font-size: 0.68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-nav-link.active .dash-nav-badge { background: rgba(255,255,255,0.28); color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   KANBAN BOARD (support tickets)
═══════════════════════════════════════════════════════════════════ */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.kanban-col { background: #eef2ee; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; min-height: 200px; }
.kanban-col-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; }
.kanban-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.kanban-dot.tone-red { background: #C2410C; } .kanban-dot.tone-amber { background: #B7791F; }
.kanban-dot.tone-sky { background: var(--pv-mid); } .kanban-dot.tone-violet { background: #6d4f9c; }
.kanban-col-title { font-family: var(--f-head); font-weight: 700; font-size: 0.86rem; color: var(--pv-text1); }
.kanban-col-count { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--pv-text3); background: #fff; padding: 1px 9px; border-radius: 50px; }
.kanban-cards { display: flex; flex-direction: column; gap: 10px; }
.kanban-empty { font-size: 0.8rem; color: var(--pv-text3); text-align: center; padding: 16px 0; margin: 0; }
.kanban-card { display: block; background: #fff; border-radius: 11px; padding: 13px; text-decoration: none; box-shadow: 0 1px 3px rgba(20,44,20,0.07); transition: transform var(--trans), box-shadow var(--trans); }
.kanban-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(20,44,20,0.22); }
.kanban-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.kanban-card-cat { font-size: 0.7rem; color: var(--pv-text3); text-transform: capitalize; }
.kanban-card-title { font-weight: 600; font-size: 0.88rem; color: var(--pv-text1); line-height: 1.35; }
.kanban-card-meta { display: flex; align-items: center; gap: 5px; font-size: 0.76rem; color: var(--pv-text3); margin-top: 8px; }
.kanban-card-meta svg { color: var(--pv-sage); flex-shrink: 0; }
.kanban-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--pv-border); font-size: 0.74rem; color: var(--pv-text3); }
.kanban-card-raiser { font-weight: 600; color: var(--pv-text2); }
.kanban-sla-txt { font-size: 0.72rem; }

/* ══════════════════════════════════════════════════════════════════
   INSPECTIONS CALENDAR (month grid)
═══════════════════════════════════════════════════════════════════ */
.cal-nav { display: flex; align-items: center; gap: 12px; }
.cal-nav-title { font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); min-width: 130px; text-align: center; }
.cal-nav-btn { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--pv-border); display: inline-flex; align-items: center; justify-content: center; color: var(--pv-text2); transition: all var(--trans); }
.cal-nav-btn:hover { background: var(--pv-pale); color: var(--pv-brand); border-color: var(--pv-sage); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow-cell { padding: 12px 10px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pv-text3); border-bottom: 1px solid var(--pv-border); }
.cal-cell { min-height: 110px; padding: 7px; border-right: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border); display: flex; flex-direction: column; gap: 4px; }
.cal-cell:nth-child(7n) { border-right: none; }
.cal-empty { background: #fbfcfb; }
.cal-daynum { font-size: 0.78rem; font-weight: 700; color: var(--pv-text2); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cal-today .cal-daynum { background: var(--pv-brand); color: #fff; }
.cal-event { font-size: 0.7rem; font-weight: 600; padding: 3px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 4px; }
.cal-event-time { opacity: 0.75; }
.cal-event.tone-ok { background: var(--pv-pale); color: var(--pv-brand); }
.cal-event.tone-wait { background: #fdf3e0; color: #92400e; }
.cal-event.tone-role { background: #e8f1ec; color: var(--pv-mid); }
.cal-event.tone-off { background: #fdf2f2; color: #9a2828; text-decoration: line-through; }
.cal-more { font-size: 0.68rem; color: var(--pv-text3); padding-left: 4px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.cal-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--pv-text2); }
.cal-leg-dot { width: 10px; height: 10px; border-radius: 3px; }
.cal-leg-dot.tone-ok { background: var(--pv-brand); } .cal-leg-dot.tone-wait { background: #B7791F; }
.cal-leg-dot.tone-role { background: var(--pv-mid); } .cal-leg-dot.tone-off { background: #9a2828; }
@media (max-width: 640px) { .cal-cell { min-height: 76px; } .cal-event { font-size: 0.62rem; } }

/* Topbar Apps mega-menu */
.dash-apps { position: relative; margin-left: 8px; }
.dash-apps-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--pv-border); border-radius: 9px; background: #fff; color: var(--pv-text2); font-size: 0.85rem; font-weight: 600; font-family: var(--f-body); cursor: pointer; transition: all var(--trans); }
.dash-apps-btn:hover, .dash-apps.open .dash-apps-btn { background: var(--pv-pale); color: var(--pv-brand); border-color: var(--pv-sage); }
.dash-apps-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 340px; max-width: calc(100vw - 32px); background: #fff; border-radius: 14px; box-shadow: 0 16px 44px -10px rgba(20,44,20,0.28), 0 0 0 1px rgba(20,44,20,0.05); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s var(--ease); z-index: 60; }
.dash-apps.open .dash-apps-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dash-apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dash-apps-item { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 11px; text-decoration: none; transition: background var(--trans); }
.dash-apps-item:hover { background: var(--bg-off); }
.dash-apps-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--pv-pale); display: flex; align-items: center; justify-content: center; }
.dash-apps-ico img { width: 24px; height: 24px; }
.dash-apps-name { display: block; font-weight: 700; font-size: 0.85rem; color: var(--pv-text1); }
.dash-apps-sub { display: block; font-size: 0.72rem; color: var(--pv-text3); }
@media (max-width: 600px) { .dash-apps-btn span.d-none { display: none; } }

/* Service-apartment booking widget + stay detail */
.stay-book-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stay-book-field { display: flex; flex-direction: column; gap: 4px; }
.stay-book-field span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pv-text3); }
.stay-book-field input { padding: 10px 11px; border: 1px solid var(--pv-border); border-radius: 10px; font-size: 0.85rem; outline: none; }
.stay-book-field input:focus { border-color: var(--pv-brand); box-shadow: 0 0 0 3px rgba(52,103,57,0.12); }
.stay-book-calc { margin-top: 14px; padding: 12px 14px; background: var(--bg-off); border-radius: 12px; }
.stay-book-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: var(--pv-text2); padding: 3px 0; }
.stay-book-total { font-weight: 800; color: var(--pv-text1); border-top: 1px solid var(--pv-border); margin-top: 4px; padding-top: 8px; }
.stay-dates { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-off); border-radius: 12px; }
.stay-date { flex: 1; }
.stay-date-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pv-text3); }
.stay-date-val { display: block; font-family: var(--f-head); font-weight: 700; color: var(--pv-text1); margin-top: 3px; }
