/* LeaseCloser — design system from claude.html (Cormorant + DM Sans, warm neutrals + gold) */
/* Fonts load via <link> in base templates so this file parses immediately (no @import blocking). */

:root {
  --ink: #181a1b;
  --ink-soft: #3a3d40;
  --ink-muted: #6b7075;
  --surface: #f4f3f0;
  --surface-raised: #ffffff;
  --surface-deep: #eceae5;
  --border: #e0ddd8;
  --border-strong: #c8c4bc;
  --gold: #b49a6a;
  --gold-light: #d4bc90;
  --gold-faint: #f0ead8;
  --blue-slate: #2c3e50;
  --blue-muted: #4a6278;
  --blue-faint: #e8eef4;
  --shadow-sm: 0 1px 3px rgba(24, 26, 27, 0.06), 0 1px 2px rgba(24, 26, 27, 0.04);
  --shadow-md: 0 4px 12px rgba(24, 26, 27, 0.08), 0 2px 6px rgba(24, 26, 27, 0.05);
  --shadow-lg: 0 12px 32px rgba(24, 26, 27, 0.1), 0 4px 12px rgba(24, 26, 27, 0.06);
  --shadow-xl: 0 24px 60px rgba(24, 26, 27, 0.13), 0 8px 20px rgba(24, 26, 27, 0.07);
  --r: 10px;
  --r-lg: 16px;
  /* legacy aliases used in templates */
  --bg: var(--surface);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --primary: var(--ink);
  --card: var(--surface-raised);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--blue-muted);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--ink); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.btn:hover {
  background: #0f1112;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(24, 26, 27, 0.03);
  color: var(--ink);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(180, 154, 106, 0.28);
}
.btn-gold:hover {
  background: #a38a5a;
  color: #fff;
  box-shadow: 0 6px 22px rgba(180, 154, 106, 0.38);
}

/* ---- Public nav (marketing) — also mirrored in css/public.css for faster / and /pricing ---- */
.lc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 243, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.lc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.lc-nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface-raised);
  cursor: pointer;
  flex-shrink: 0;
}
.lc-nav-menu-btn:hover {
  background: var(--surface-deep);
  border-color: var(--ink-soft);
}
.lc-nav-menu-btn .lc-hamburger {
  background: var(--ink);
  box-shadow: 0 -6px 0 0 var(--ink), 0 6px 0 0 var(--ink);
}
.lc-nav-panel {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.lc-nav-panel .lc-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lc-nav-panel .lc-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lc-nav-backdrop {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(24, 26, 27, 0.45);
  z-index: 140;
}
body.lc-public-nav-open .lc-nav-backdrop {
  display: block;
}
.lc-nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lc-nav-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
}
.lc-nav-links a:hover { color: var(--ink); }
.lc-nav-cta .btn { padding: 9px 20px; font-size: 13px; }
.lc-nav-cta .btn-ghost { padding: 8px 18px; font-size: 13px; }

.lc-public-main {
  padding-top: 64px;
  min-height: 100vh;
}

/* ---- Public footer ---- */
.lc-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0;
  margin-top: 0;
}
.lc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lc-footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lc-footer-logo span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.25); }
.lc-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lc-footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.lc-footer-links a:hover { color: rgba(255, 255, 255, 0.6); }

/* ---- Landing: hero ---- */
.lc-hero {
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.lc-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(180, 154, 106, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.lc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lc-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-faint);
  border: 1px solid rgba(180, 154, 106, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}
.lc-hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-hero-label span { font-size: 12px; color: var(--gold); font-weight: 500; }
.lc-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 22px;
}
.lc-hero h1 em {
  font-style: italic;
  color: var(--blue-muted);
}
.lc-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 300;
}
.lc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.lc-mock-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.lc-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.lc-stat-cell {
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.lc-stat-val {
  font-size: 18px;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
}
.lc-stat-label {
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trust strip */
.lc-trust-strip {
  background: var(--ink);
  padding: 18px 0;
}
.lc-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.lc-trust-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}
.lc-trust-item strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.lc-trust-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.15); }

/* How it works */
.lc-how {
  padding: 100px 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lc-section-header { text-align: center; margin-bottom: 64px; }
.lc-section-header h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; margin-bottom: 0; }
.lc-section-header p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.lc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.lc-step {
  padding: 40px 36px;
  background: var(--surface-raised);
  transition: background 0.2s;
}
.lc-step + .lc-step { border-left: 1px solid var(--border); }
.lc-step:hover { background: var(--surface); }
.lc-step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.lc-step h3 { font-size: 22px; margin: 0 0 10px; }
.lc-step p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; font-weight: 300; margin: 0; }

/* Value / features grid */
.lc-value {
  padding: 100px 0;
  background: var(--surface);
}
.lc-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.lc-feature-card {
  padding: 28px 30px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.lc-feature-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.lc-feature-card h3 { font-size: 20px; margin: 0 0 10px; }
.lc-feature-card p { font-size: 14.5px; color: var(--ink-muted); font-weight: 300; margin: 0; }

/* Preview stats */
.lc-preview {
  padding: 80px 0;
  background: var(--surface-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Pricing teaser */
.lc-pricing-teaser {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.lc-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 48px auto 0;
}
.lc-pricing-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lc-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lc-pricing-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-xl);
}
.lc-pricing-card.featured h3,
.lc-pricing-card.featured .price { color: #fff; }
.lc-pricing-card.featured p { color: rgba(255, 255, 255, 0.55); }

/* FAQ */
.lc-faq { padding: 80px 0; background: var(--surface-raised); border-top: 1px solid var(--border); }
.lc-faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.lc-faq summary {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq details p {
  font-size: 14.5px;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 12px 0 0;
  line-height: 1.7;
}

/* Final CTA */
.lc-final-cta {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lc-final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(180, 154, 106, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.lc-final-cta-inner { position: relative; z-index: 1; }
.lc-final-cta .eyebrow { margin-bottom: 16px; }
.lc-final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin: 0 auto 18px;
  max-width: 640px;
}
.lc-final-cta p { font-size: 16px; color: rgba(255, 255, 255, 0.45); font-weight: 300; margin-bottom: 32px; }
.lc-final-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lc-final-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.lc-final-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ---- App shell (dashboard chrome) ---- */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.lc-app-topbar {
  background: var(--ink);
  padding: 10px 20px 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 500;
  min-height: 48px;
}
.lc-app-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
}
.lc-app-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lc-hamburger {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 -6px 0 0 rgba(255, 255, 255, 0.92),
    0 6px 0 0 rgba(255, 255, 255, 0.92);
}
.lc-app-menu-backdrop {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 26, 27, 0.45);
  z-index: 400;
}
.lc-app-menu-backdrop[hidden] {
  display: none !important;
}
.lc-app-topbar-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-family: "DM Sans", sans-serif;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lc-app-topbar-title--account {
  text-transform: none;
  letter-spacing: normal;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.lc-app-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex: 1;
  min-height: 0;
}
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  padding: 8px 20px 6px;
  margin: 0;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin: 0 12px 2px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.sidebar a:hover {
  background: var(--surface-raised);
  color: var(--ink);
}
.sidebar a.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding: 8px 12px;
}
.sidebar a.logo span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Sidebar: Account collapses on desktop (default closed); mobile stays a flat list */
.lc-sidebar-account {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lc-sidebar-account-label-mobile {
  display: none;
}
.lc-sidebar-account-toggle {
  display: none;
}
.lc-sidebar-account-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 901px) {
  .lc-sidebar-account-label-mobile {
    display: none;
  }
  .lc-sidebar-account-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 24px);
    margin: 0 12px 2px;
    padding: 8px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 500;
    text-align: left;
    transition: background 0.15s, color 0.15s;
  }
  .lc-sidebar-account-toggle:hover {
    background: var(--surface-raised);
    color: var(--ink);
  }
  .lc-sidebar-account-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .lc-sidebar-account-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--ink-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-left: 8px;
  }
  .lc-sidebar-account--expanded .lc-sidebar-account-chevron {
    transform: rotate(180deg);
  }
  .lc-sidebar-account-links {
    display: none;
  }
  .lc-sidebar-account--expanded .lc-sidebar-account-links {
    display: flex;
  }
}
@media (max-width: 900px) {
  .lc-sidebar-account-label-mobile {
    display: block;
  }
  .lc-sidebar-account-toggle {
    display: none !important;
  }
}

.main-panel {
  padding: 28px 32px;
  background: var(--surface);
  overflow: auto;
}
.main-panel > h1:first-child {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 24px;
}

/* ---- Cards & grids (app) ---- */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.card.nested { margin-bottom: 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Stat cards like dash-stat-card */
.grid-4 > .card span {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.grid-4 > .card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
a.card.lc-stat-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.card.lc-stat-card-link:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
}
a.card.lc-stat-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.title-row h2 { margin: 0; font-size: 22px; }
.card > .title-row {
  margin-bottom: 12px;
}

/* Dashboard: new account, no properties yet */
.lc-dashboard-empty-welcome {
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.08) 0%, var(--surface-raised) 48%);
}
.lc-dashboard-empty-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 8px;
}
.lc-dashboard-empty-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.2;
}
.lc-dashboard-empty-lead {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 42rem;
}
.lc-dashboard-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Property details: prominent CTA before first prospects */
.lc-prospect-search-hero {
  padding: 28px 26px;
  border-color: rgba(201, 162, 39, 0.3);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.1) 0%, var(--surface-raised) 55%);
}
.lc-prospect-search-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lc-prospect-search-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 10px;
}
.lc-prospect-search-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.15;
  max-width: 22ch;
}
.lc-prospect-search-hero-lead {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 40rem;
}
.lc-prospect-search-hero-cta {
  padding: 12px 24px;
  font-size: 15px;
  align-self: flex-start;
}
.lc-prospect-search-hero-hint {
  margin: 14px 0 0;
  font-size: 13px;
  max-width: 40rem;
}

/* ---- Auth: post-signup welcome ---- */
.lc-welcome-hero {
  padding: 26px 26px;
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.10) 0%, var(--surface-raised) 55%);
}
.lc-welcome-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.lc-welcome-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 10px;
}
.lc-welcome-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.1;
}
.lc-welcome-lead {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 52ch;
}
.lc-welcome-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lc-welcome-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lc-welcome-bullet {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.lc-welcome-bullet-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-faint);
  border: 1px solid rgba(180, 154, 106, 0.35);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.lc-welcome-bullet-title {
  margin: 0 0 6px;
  font-size: 14.5px;
}
.lc-welcome-bullet-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
}
.lc-welcome-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lc-welcome-section-sub {
  font-size: 13px;
}
.lc-welcome-step-card {
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}
.lc-welcome-step-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.lc-welcome-step-card p {
  margin: 0 0 12px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-size: 13.5px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .lc-welcome-hero-inner {
    grid-template-columns: 1fr;
  }
}

.title-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.lc-inline-form {
  display: inline;
  margin: 0;
}

.lc-property-card-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.lc-card-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lc-card-section-head h2 {
  margin: 0;
}

/* Property delete confirmation modal */
body.lc-modal-open {
  overflow: hidden;
}
.lc-modal[hidden] {
  display: none !important;
}
.lc-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 5400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.lc-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(24, 26, 27, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.lc-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 26px 26px 22px 28px;
}
.lc-modal-accent {
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  pointer-events: none;
}
.lc-modal-title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lc-modal-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.lc-modal-list {
  margin: 0 0 16px;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.lc-modal-list li {
  margin-bottom: 6px;
}
.lc-modal-list strong {
  color: var(--ink);
  font-weight: 600;
}
.lc-modal-warning {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: #fff7f7;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 14px;
  font-weight: 500;
}
.lc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.muted { color: var(--ink-muted); }
.price { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; font-weight: 700; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
/* Let grid tracks shrink below intrinsic widget width (e.g. Google PlaceAutocompleteElement). */
.form-grid > label,
.form-grid > .full {
  min-width: 0;
}
label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-soft); }
input, select, textarea {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px;
  font: inherit;
  background: var(--surface-raised);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px var(--gold-faint);
}
textarea { min-height: 90px; }
.full { grid-column: 1 / -1; }

/* Property address: city / state / ZIP on one row below street lines (desktop); stack on small screens */
.form-address-csz {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: start;
}
.form-address-csz > label {
  min-width: 0;
}
@media (max-width: 640px) {
  .form-address-csz {
    grid-template-columns: 1fr;
  }
}
/* Legacy Places Autocomplete (pac = prediction as you type) */
.pac-container { z-index: 6000; }
/* New PlaceAutocompleteElement (Web Component) */
.lc-property-place-ac {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.lc-property-place-ac > * {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.auth-wrap { max-width: 440px; margin: 48px auto; padding: 0 16px; }
.form-card { display: grid; gap: 14px; }
.form-card h1 { margin: 0 0 8px; }
.form-card .auth-hint { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.45; }
.form-card .auth-secondary { margin: -6px 0 0; font-size: 14px; }

/* Flash */
.flash-stack {
  position: fixed;
  right: 16px;
  top: 80px;
  z-index: 200;
  display: grid;
  gap: 8px;
  max-width: 360px;
}
.lc-app .flash-stack { top: 64px; z-index: 520; }
.flash {
  padding: 12px 14px;
  border-radius: var(--r);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.flash-hide { opacity: 0; transform: translateY(-6px); }
.flash-success { background: #3d7a4a; }
.flash-error { background: #b91c1c; }

/* Pipeline */
.pipeline-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--blue-faint);
  border: 1px solid rgba(74, 98, 120, 0.2);
  color: var(--blue-muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.stage-col {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px;
  min-height: 150px;
}
.stage-col h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}
.prospect-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: box-shadow 0.15s, transform 0.15s;
}
.prospect-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.outreach-box pre {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 14px;
  border-radius: var(--r);
  white-space: pre-wrap;
  font-size: 13px;
}

/* ---- AI generate-outreach modal (prospect details) ---- */
.lc-ai-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.lc-ai-modal:not(.hidden) {
  pointer-events: auto;
}
.lc-ai-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(44, 62, 80, 0.55) 0%, rgba(12, 14, 18, 0.78) 65%, rgba(8, 9, 11, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: lc-ai-backdrop-in 0.45s ease-out both;
}
.lc-ai-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--r-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(165deg, rgba(24, 26, 27, 0.97) 0%, rgba(35, 38, 42, 0.98) 50%, rgba(22, 24, 26, 0.99) 100%);
  border: 1px solid rgba(180, 154, 106, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(180, 154, 106, 0.12);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  overflow: hidden;
  animation: lc-ai-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lc-ai-modal__panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 210deg, transparent 0%, rgba(180, 154, 106, 0.08) 25%, transparent 50%, rgba(180, 154, 106, 0.06) 75%, transparent 100%);
  animation: lc-ai-conic 14s linear infinite;
  pointer-events: none;
}
.lc-ai-modal__orb {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.35rem;
}
.lc-ai-modal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-light);
  border-right-color: rgba(180, 154, 106, 0.25);
  animation: spin 1.15s linear infinite;
}
.lc-ai-modal__ring--inner {
  inset: 12px;
  border-top-color: var(--gold);
  border-right-color: rgba(212, 188, 144, 0.35);
  animation-direction: reverse;
  animation-duration: 0.85s;
}
.lc-ai-modal__core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 248, 235, 0.95) 0%, var(--gold) 38%, #7a6544 100%);
  box-shadow:
    0 0 24px rgba(180, 154, 106, 0.65),
    0 0 48px rgba(180, 154, 106, 0.25);
  animation: lc-ai-core-pulse 2.2s ease-in-out infinite;
}
.lc-ai-modal__eyebrow {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.5rem;
  opacity: 0.95;
}
.lc-ai-modal__title {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: #faf8f4;
  text-shadow: 0 1px 24px rgba(180, 154, 106, 0.35);
}
.lc-ai-modal__msg {
  position: relative;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(230, 226, 218, 0.82);
  font-weight: 400;
}
.lc-ai-modal__shimmer {
  position: relative;
  height: 2px;
  margin: 1.5rem auto 0;
  max-width: 200px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(180, 154, 106, 0.15) 20%,
    rgba(212, 188, 144, 0.85) 50%,
    rgba(180, 154, 106, 0.15) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: lc-ai-shimmer 2.5s ease-in-out infinite;
}
.lc-ai-modal__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  position: relative;
}
.lc-ai-modal__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.35;
  animation: lc-ai-dot 1.2s ease-in-out infinite;
}
.lc-ai-modal__dots span:nth-child(2) { animation-delay: 0.2s; }
.lc-ai-modal__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes lc-ai-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lc-ai-panel-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes lc-ai-conic {
  to { transform: rotate(360deg); }
}
@keyframes lc-ai-core-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(180, 154, 106, 0.55), 0 0 48px rgba(180, 154, 106, 0.2); }
  50% { transform: scale(1.04); box-shadow: 0 0 32px rgba(212, 188, 144, 0.7), 0 0 56px rgba(180, 154, 106, 0.3); }
}
@keyframes lc-ai-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes lc-ai-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* ---- Outreach generate confirmation (prospect details) ---- */
.lc-outreach-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.lc-outreach-confirm-modal:not(.hidden) {
  pointer-events: auto;
}
.lc-outreach-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lc-outreach-confirm-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--r-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.lc-outreach-confirm-modal__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.lc-outreach-confirm-modal__lede {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.lc-outreach-confirm-modal__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.lc-outreach-confirm-modal__check input {
  margin-top: 3px;
  flex-shrink: 0;
}
.lc-outreach-confirm-modal__address {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  line-height: 1.45;
  padding-left: 28px;
}
.lc-outreach-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .lc-ai-modal__backdrop,
  .lc-ai-modal__panel,
  .lc-ai-modal__panel::before,
  .lc-ai-modal__ring,
  .lc-ai-modal__core,
  .lc-ai-modal__shimmer,
  .lc-ai-modal__dots span {
    animation: none !important;
  }
  .lc-ai-modal__panel {
    opacity: 1;
    transform: none;
  }
  .lc-ai-modal__backdrop {
    opacity: 1;
  }
}
.search { width: 100%; margin-bottom: 10px; }

.prospect-results-bulk { margin-top: 4px; }
.prospect-bulk-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-raised);
}
.prospect-bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
}
.prospect-bulk-select-all input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.prospect-result-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.prospect-result-card-head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.prospect-pick-label {
  display: flex;
  align-items: center;
  padding-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.prospect-pick-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.prospect-pick-label:has(input:disabled) {
  cursor: default;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 14px; }
.chip-btn {
  border: 1px solid rgba(180, 154, 106, 0.35);
  background: var(--gold-faint);
  color: #6b5a3a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.chip-btn:hover { background: #e8dfc8; }

.pagination-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ajax-toast {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.ajax-toast-success {
  background: #edf7ee;
  border-color: #86c991;
  color: #1e5c2a;
}
.ajax-toast-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.hidden { display: none !important; }

.search-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-raised);
  color: var(--ink-muted);
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.enrich-inline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.enrich-inline-spinner {
  display: flex;
  align-items: center;
}

.batch-form { display: grid; gap: 12px; }
.batch-controls { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.batch-list {
  border: 1px solid var(--border);
  border-radius: var(--r);
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  background: var(--surface-raised);
}
.batch-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
}
.batch-item:hover { background: var(--surface); }
.batch-status {
  border: 1px solid rgba(180, 154, 106, 0.35);
  background: var(--gold-faint);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.activity-list { display: grid; gap: 8px; }
.activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-raised);
}
.activity-title { font-weight: 600; color: var(--ink); font-family: "DM Sans", sans-serif; }
.activity-time { font-size: 0.9rem; color: var(--ink-muted); white-space: nowrap; }

.saved-list { display: grid; gap: 8px; }
.saved-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-raised);
  color: var(--ink);
}
.saved-row:hover { border-color: var(--gold-light); background: var(--gold-faint); }
.saved-name { font-weight: 600; }
.saved-stage { font-size: 0.9rem; color: var(--ink-muted); white-space: nowrap; }

.badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold-faint);
  color: #6b5a3a;
  border: 1px solid rgba(180, 154, 106, 0.25);
  font-family: "DM Sans", sans-serif;
}
.badge-success {
  background: #edf7ee;
  color: #1e5c2a;
  border-color: #86c991;
}
.simple-list { margin: 8px 0 0; padding-left: 18px; }
.paywall-wrap, .confirmation-wrap { max-width: 920px; }
.plan-list { display: grid; gap: 10px; margin-bottom: 12px; }
.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-raised);
}
.badge-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.danger-zone {
  margin-top: 14px;
  border-color: #fecaca;
  background: #fffbfb;
}
.danger-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-danger {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #fff;
  box-shadow: none;
}
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-danger-outline {
  background: #fff;
  color: #dc2626;
  border: 1px solid #dc2626;
  box-shadow: none;
}
.btn-danger-outline:hover { background: #fef2f2; }

/* Legacy public sections */
.hero.container { padding-top: 48px; padding-bottom: 24px; }
.cta-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.mock-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: var(--surface-raised);
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat span { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  display: block;
  margin-top: 6px;
}
.faq h4 { margin-bottom: 6px; font-size: 17px; }
.faq p { margin-top: 0; color: var(--ink-muted); font-weight: 300; }

.site-header, .site-footer { display: none; }

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

@media (max-width: 900px) {
  .lc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lc-steps { grid-template-columns: 1fr; }
  .lc-step + .lc-step { border-left: none; border-top: 1px solid var(--border); }
  .lc-features-grid { grid-template-columns: 1fr; }
  .lc-pricing-cards { grid-template-columns: 1fr; max-width: 440px; }

  .lc-nav-menu-btn { display: flex; }
  .lc-nav-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: var(--surface-raised);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  body.lc-public-nav-open .lc-nav-panel {
    transform: translateX(0);
  }
  .lc-nav-panel .lc-nav-links {
    flex-direction: column;
    gap: 0;
  }
  .lc-nav-panel .lc-nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .lc-nav-panel .lc-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }
  .lc-nav-panel .lc-nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 8px;
  }
  .lc-nav-panel .lc-nav-cta .btn,
  .lc-nav-panel .lc-nav-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .lc-app-menu-toggle { display: flex; }
  /* Block layout so fixed sidebar does not consume a grid row above main content */
  .app-shell .lc-app-body {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: 48px;
    left: 0;
    bottom: 0;
    width: min(288px, 88vw);
    z-index: 410;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    flex-direction: column;
    flex-wrap: nowrap;
    border-right: 1px solid var(--border);
    border-bottom: none;
    box-shadow: var(--shadow-xl);
    padding: 20px 0;
    overflow-y: auto;
  }
  body.lc-app-menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar a { margin: 0 12px 2px; }
  .sidebar a.logo { width: auto; margin-bottom: 12px; }

  .mock-dashboard { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Property documents (S3) ---- */
.lc-file-dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 20px;
  background: var(--surface-deep);
  transition: border-color 0.2s, background 0.2s;
}
.lc-file-dropzone.lc-file-dropzone--active {
  border-color: var(--gold);
  background: var(--gold-faint);
}
.lc-file-dropzone-hint {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-size: 14px;
}
.lc-file-dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.lc-file-dropzone input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.lc-file-dropzone label.lc-file-browse {
  cursor: pointer;
  color: var(--blue-muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lc-file-dropzone label.lc-file-browse:hover {
  color: var(--ink);
}
.lc-file-pending {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.lc-file-pending li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.lc-file-pending li:last-child {
  border-bottom: none;
}
.lc-file-upload-status {
  font-size: 14px;
  margin-top: 8px;
}
.lc-file-upload-status.lc-file-upload-status--error {
  color: #8b2942;
}
.lc-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lc-file-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.lc-file-list li:last-child {
  border-bottom: none;
}
.lc-file-list a {
  font-weight: 500;
}
.lc-file-list .lc-file-meta {
  font-size: 13px;
  color: var(--ink-muted);
}
.lc-file-list form {
  margin-left: auto;
}

/* Collapsible “Add prospect manually” on property details */
.lc-manual-prospect-card .lc-disclosure {
  border: none;
}
.lc-disclosure-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  cursor: pointer;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lc-disclosure-summary::-webkit-details-marker {
  display: none;
}
.lc-disclosure-summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: left;
}
.lc-disclosure-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}
.lc-disclosure-sub {
  font-size: 13px;
  line-height: 1.4;
}
.lc-disclosure-actions {
  flex-shrink: 0;
  pointer-events: none;
}
.lc-disclosure-when-open {
  display: none;
}
details.lc-disclosure[open] .lc-disclosure-when-closed {
  display: none;
}
details.lc-disclosure[open] .lc-disclosure-when-open {
  display: inline-flex;
}
.lc-disclosure-body {
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}
