:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-soft: #f7f7f6;
  --text: #1f2933;
  --muted: #667085;
  --line: #e5e7eb;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #dcefe7;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f2eb 0%, #f8fafc 40%, #ffffff 100%);
}
.has-mobile-nav {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select {
  font: inherit;
}
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 235, 0.84);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #0ea5a1);
  color: white;
  font-weight: 800;
}
.nav-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-tab {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}
.nav-tab.is-active {
  background: var(--text);
  color: white;
}
.header-note {
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero {
  padding: 44px 0 28px;
}
.hero-grid {
  display: grid;
  gap: 20px;
}
.hero-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}
.search-panel {
  margin-top: 24px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 16px;
}
.search-row {
  display: grid;
  gap: 12px;
}
.input, .select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 18px;
  min-height: 56px;
  padding: 0 16px;
}
.button {
  min-height: 56px;
  border: none;
  border-radius: 18px;
  padding: 0 20px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary {
  background: #0f172a;
}
.mobile-ux-note {
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 700;
}
.quick-filters, .section-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.chip {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}
.section {
  padding: 10px 0 48px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.03em;
}
.section-copy {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 60ch;
}
.results-layout {
  display: grid;
  gap: 18px;
}
.listings-grid {
  display: grid;
  gap: 16px;
}
.card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.listing-card {
  display: grid;
}
.listing-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.listing-body {
  padding: 18px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #eef2ff;
  color: #4338ca;
}
.badge.neutral {
  background: #f3f4f6;
  color: #334155;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.price {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.address {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}
.meta, .agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.96rem;
}
.lifestyle {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 700;
}
.panel {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.map-panel {
  min-height: 280px;
  background: linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
}
.map-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.map-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 700;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.12);
}
.agent-grid {
  display: grid;
  gap: 16px;
}
.agent-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}
.agent-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 24px;
}
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}
.inline-list li {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer {
  padding: 30px 0 50px;
  color: var(--muted);
  font-size: 0.92rem;
}
.detail-hero {
  padding: 28px 0 12px;
}
.breadcrumbs {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.detail-grid {
  display: grid;
  gap: 18px;
}
.detail-grid-top,
.detail-grid-sections {
  margin-bottom: 24px;
}
.gallery-main {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--shadow);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.thumb-row img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.detail-card {
  padding: 24px;
}
.detail-summary-card {
  display: grid;
  gap: 14px;
  align-content: start;
}
.detail-kicker {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.detail-price {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}
.detail-address {
  font-size: 1.15rem;
  margin: 10px 0;
  font-weight: 700;
}
.detail-meta {
  margin-bottom: 6px;
}
.detail-lead {
  margin: 0;
}
.detail-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.detail-fact-card {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.detail-fact-card strong {
  display: block;
  font-size: 0.95rem;
}
.detail-primary-actions {
  flex-wrap: wrap;
}
.detail-section {
  padding-top: 8px;
}
.detail-section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.feature-list li strong,
.feature-list li span {
  display: block;
}
.feature-list li span {
  margin-top: 4px;
  color: var(--muted);
}
.detail-section-panel h2,
.detail-enhancement-panel h2,
.detail-handoff-panel h2 {
  margin-top: 0;
  margin-bottom: 10px;
}
.detail-enhancement-panel {
  margin-bottom: 24px;
}
.detail-enhancement-header {
  margin-bottom: 18px;
}
.detail-enhancement-grid {
  display: grid;
  gap: 16px;
}
.detail-enhancement-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.detail-enhancement-card h3 {
  margin: 0 0 10px;
}
.detail-enhancement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.detail-enhancement-status {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  font-size: 0.82rem;
}
.detail-enhancement-disclosure {
  margin: 16px 0 0;
  color: var(--muted);
}
.compliance {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  color: var(--muted);
}
.mobile-sticky {
  position: sticky;
  bottom: 10px;
  z-index: 15;
  margin-top: 18px;
}
.mobile-sticky .button {
  width: 100%;
  box-shadow: var(--shadow);
}
.hidden {
  display: none !important;
}
@media (min-width: 720px) {
  .header-note { display: block; }
  .search-row { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) auto; }
  .hero-grid { grid-template-columns: 1.45fr 0.9fr; }
  .results-layout { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr); align-items: start; }
  .listing-card { grid-template-columns: 280px 1fr; }
  .agent-card { grid-template-columns: 88px 1fr auto; align-items: center; }
  .detail-grid { grid-template-columns: 1.2fr 0.9fr; align-items: start; }
  .detail-enhancement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.landing-page {
  background: #edf1f7;
}
.signed-out-home .landing-header {
  position: absolute;
}
.signed-in-home .landing-header {
  position: absolute;
}
.signed-in-home .signed-out-panel {
  display: none !important;
}
.welcome-back-line {
  font-size: clamp(2.4rem, 8vw, 3rem);
  font-weight: 800;
  font-family: Nunito, sans-serif;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  color: #1f2933;
}
.welcome-back-email {
  font-size: clamp(0.85rem, 3vw, 1.1rem);
  color: #667085;
  margin: 0;
  word-break: break-all;
}
.landing-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding-top: 8px;
}
.landing-header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  width: 100%;
  padding: 0 24px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
}
.home-logo {
  width: 210px;
  max-width: 100%;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  align-self: start;
}
.landing-signin,
.landing-join,
.landing-signout {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.landing-signin,
.landing-join,
.landing-signout {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}
.landing-join {
  background: #ffffff;
  color: #10213a;
  border-color: #ffffff;
}
.landing-signout {
  border: 0;
  cursor: pointer;
}
.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 0 56px;
  text-align: center;
}
.auth-landing-inner {
  justify-content: center;
}
.auth-landing-card {
  width: min(100%, 440px);
  padding: 34px 28px 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  color: #10213a;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  text-align: center;
  backdrop-filter: blur(12px);
}
.auth-landing-mark {
  margin-bottom: 16px;
  font-family: "Nunito", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}
.auth-landing-card .landing-subcopy {
  margin: 0 auto 24px;
  max-width: 24rem;
  color: #516072;
  text-shadow: none;
  font-size: 1.05rem;
  line-height: 1.45;
}
.auth-landing-card h1 {
  color: #10213a;
  text-shadow: none;
  margin-bottom: 16px;
}
.auth-landing-actions {
  display: grid;
  gap: 12px;
}
.auth-landing-primary,
.auth-landing-secondary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
}
.auth-landing-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}
.auth-landing-secondary {
  background: #fff;
  color: #10213a;
  border: 1px solid #d7dde8;
}
.landing-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  text-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.landing-subcopy {
  margin: 0 0 20px;
  max-width: 32rem;
  color: rgba(255,255,255,0.92);
  font-family: "Nunito", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 24px rgba(0,0,0,0.24);
}
.landing-auth-flash {
  margin: 0 0 18px;
}
.landing-search {
  width: min(100%, 820px);
}
.landing-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,0.96);
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
.landing-search-row input {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0 16px;
  color: #10213a;
  font-size: 1rem;
}
.landing-search-row input:focus {
  outline: none;
}
.landing-search-row button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  cursor: pointer;
}
.landing-search-submit {
  background: #2563eb !important;
}
.filter-button {
  background: #eef2f7 !important;
  color: #10213a !important;
  border: 1px solid #d7dde8 !important;
}
.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.landing-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  color: #10213a;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}
.landing-cta.secondary {
  background: rgba(10, 22, 40, 0.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}
.mobile-bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}
.mobile-bottom-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.mobile-bottom-link.is-active {
  background: #10213a;
  color: #fff;
}
@media (max-width: 720px) {
  .site-header .nav-tabs,
  .header-note {
    display: none;
  }
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }
  .hero {
    padding-top: 20px;
  }
  .hero-card,
  .panel {
    border-radius: 24px;
    padding: 20px;
  }
  .landing-header-inner {
    min-height: 76px;
    align-items: flex-start;
    padding: 16px 16px 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .landing-actions {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .landing-signin,
  .landing-join {
    padding: 10px 14px;
    font-size: 0.92rem;
  }
  .landing-hero-inner {
    align-items: stretch;
    text-align: left;
    padding-top: 126px;
  }
  .auth-landing-card {
    width: 100%;
    padding: 28px 20px 20px;
    border-radius: 24px;
    text-align: left;
  }
  .auth-landing-card .landing-subcopy {
    margin-left: 0;
  }
  .landing-search-row {
    grid-template-columns: 1fr;
  }
  .landing-search-row button,
  .landing-search-row input {
    width: 100%;
  }
  .landing-cta-row {
    width: 100%;
    justify-content: stretch;
  }
  .landing-cta {
    width: 100%;
  }
}
.app-home-shell {
  min-height: 100vh;
  background: #ece8e1;
  color: #1c2430;
}
.app-home {
  position: relative;
  min-height: 100vh;
  width: min(100%, 430px);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 33, 58, 0.18);
  overflow: hidden;
}
.app-home-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-start;
}
.app-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 38%, rgba(255,255,255,0.78) 68%, #ffffff 100%);
  z-index: 1;
  pointer-events: none;
}
.app-home-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) brightness(1.12);
}
.app-home-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: max(18px, env(safe-area-inset-top, 0px)) 24px 24px;
}
.app-home-logo .home-logo {
  width: 180px;
}
.app-home-tagline {
  margin: 160px auto 0;
  max-width: none;
  width: 100%;
  color: #111111;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.95rem, 7.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 6px 18px rgba(255,255,255,0.18);
}
.app-home-panel {
  position: relative;
  z-index: 3;
  margin-top: -120px;
  min-height: calc(38vh + 120px);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0, #ffffff 88px, #ffffff 100%);
  border-radius: 0;
}
.app-home-panel-inner {
  padding: 108px 22px 150px;
}
.personalise-card {
  margin-bottom: 18px;
  text-align: center;
}
.personalise-card h1,
.signed-in-topline h1 {
  margin: 0;
  color: #18202d;
  font-size: clamp(1.7rem, 7vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.personalise-note {
  margin: 12px auto 0;
  max-width: 30ch;
  color: #66758a;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}
.signed-in-home-copy .personalise-note {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.app-search-form {
  display: grid;
  gap: 12px;
}
.app-search-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #d7dde8;
  border-radius: 18px;
  background: #ffffff;
}
.app-search-icon {
  color: #7a8698;
  font-size: 1.1rem;
  text-align: center;
}
.app-search-row input {
  border: 0;
  padding: 0;
  min-height: 56px;
  color: #1c2430;
  font-size: 1rem;
  background: transparent;
}
.app-search-row input:focus {
  outline: none;
}
.app-search-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app-filter-button,
.app-search-submit,
.auth-cta-primary,
.auth-cta-secondary {
  min-height: 54px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
}
.app-filter-button {
  border: 1px solid #d7dde8;
  background: #ffffff;
  color: #18202d;
}
.app-search-submit,
.auth-cta-primary {
  border: 0;
  background: #0EA800;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(14, 168, 0, 0.20);
}
.persistent-auth-cta {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100vw - 28px), 386px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.signed-in-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 386px;
  margin: 20px auto 0;
  position: static;
  z-index: 30;
}
/* Hide sign in/join buttons when user is authenticated */
.signed-in .persistent-auth-cta {
  display: none !important;
}
/* Also handle index.html's signed-in-home class pattern */
.signed-in-home .persistent-auth-cta {
  display: none !important;
}

.guest-cta-visible .app-screen-body,
.guest-cta-visible .search-panel-shell,
.guest-cta-visible .account-overview-body,
.guest-cta-visible .legal-body,
.guest-cta-visible .feedback-body,
.guest-cta-visible .clean-data-body {
  padding-bottom: 190px;
}
.auth-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0EA800;
  background: #ffffff;
  color: #0EA800;
}
.auth-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.signed-in-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.app-account-actions {
  gap: 8px;
}
.app-account-actions .landing-signin,
.app-account-actions .landing-signout {
  padding: 10px 14px;
  color: #18202d;
  background: #f6f7fa;
  border: 1px solid #d7dde8;
}
.app-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.98);
  border-top: 1px solid rgba(16, 33, 58, 0.08);
  z-index: 35;
}
.app-bottom-link {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #6c7788;
  font-size: 0.7rem;
  font-weight: 700;
}
.app-bottom-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.app-bottom-link.is-active {
  color: #0EA800;
}
.app-bottom-link.has-dot {
  position: relative;
}
.app-bottom-link.has-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0EA800;
}
.signed-in-home-copy {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 100px;
}
.home-dashboard-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
.home-dashboard-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #ffffff;
  color: #10213a;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(16, 33, 58, 0.08);
}
.home-dashboard-link strong,
.home-dashboard-link small {
  display: block;
}
.home-dashboard-link strong {
  font-size: 0.95rem;
}
.home-dashboard-link small {
  margin-top: 0.22rem;
  color: #5f6f86;
}
.app-screen-page {
  background: #ece8e1;
}
.search-page-shell {
  background: #f4f2ee;
}
.app-screen {
  display: flex;
  flex-direction: column;
}
.search-screen {
  background: linear-gradient(180deg, #f7f3ee 0%, #f4f2ee 100%);
}
.search-hero {
  position: relative;
  min-height: 24vh;
  overflow: hidden;
}
.search-hero-compact {
  min-height: 24vh;
}
.search-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.search-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 24vh;
  padding: max(18px, env(safe-area-inset-top, 0px)) 22px 14px;
}
.search-hero-logo {
  justify-self: center;
  margin-top: 2px;
}
.search-hero-top-spacer {
  display: block;
  min-height: 26px;
}
.search-hero-form {
  position: relative;
  margin-top: auto;
}
.search-hero-input-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 16px 34px rgba(16, 33, 58, 0.16);
}
.search-hero-icon {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1;
}
.search-hero-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 0.97rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.search-hero-input-wrap input::placeholder {
  color: #8a93a3;
}
.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 18px 38px rgba(16, 33, 58, 0.18);
}
.search-suggestion-row {
  width: 100%;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  text-align: left;
  font: inherit;
  font-size: 0.92rem;
}
.search-suggestion-icon {
  color: #8a93a3;
  font-size: 0.95rem;
  line-height: 1;
}
.search-panel-shell {
  flex: 1;
  margin-top: 0;
  padding: 0 22px 120px;
  background: linear-gradient(180deg, rgba(244,242,238,0) 0%, #f4f2ee 12%, #f4f2ee 100%);
}
.search-panel-shell-raised {
  margin-top: 10px;
}
.search-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.search-toggle-button {
  min-height: 40px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #66758a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.search-toggle-button.is-active {
  background: #0EA800;
  border-color: #0EA800;
  color: #fff;
}
.search-list-panel {
  display: grid;
  gap: 10px;
}
.search-history-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  color: inherit;
  text-align: left;
  font: inherit;
  overflow: hidden;
}
.search-history-row-inline {
  min-height: 50px;
}
.search-history-main {
  width: 100%;
  display: grid;
  padding: 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
}
.search-history-main-inline {
  padding: 0 16px;
  min-height: 50px;
  align-items: center;
}
.search-history-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.search-history-copy-inline {
  display: block;
}
.search-history-copy strong {
  color: #111827;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-history-copy small {
  color: #66758a;
  font-size: 0.84rem;
  line-height: 1.45;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.search-history-arrow {
  color: #98a2b3;
  font-size: 1.22rem;
}
.search-star-button {
  align-self: stretch;
  min-width: 52px;
  border: 0;
  border-left: 1px solid rgba(16, 33, 58, 0.08);
  background: #fff;
  color: #d7dde8;
  font-size: 1.25rem;
  line-height: 1;
}
.search-star-button.is-saved {
  color: #0EA800;
}
.search-empty-state {
  padding: 28px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  text-align: center;
}
.search-empty-state h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.1rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.search-empty-state p {
  margin: 0;
  color: #66758a;
  font-size: 0.9rem;
  line-height: 1.5;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.recently-viewed-block {
  margin-top: 24px;
}
.recently-viewed-header h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.recently-viewed-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.recently-viewed-rail::-webkit-scrollbar {
  display: none;
}
.recently-viewed-card {
  display: grid;
  gap: 10px;
  scroll-snap-align: start;
}
.recently-viewed-card-static {
  cursor: default;
}
.search-see-all-button {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #0EA800;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.recently-viewed-image {
  display: block;
  aspect-ratio: 1.18 / 1;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.10);
}
.recently-viewed-info strong {
  display: block;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.recently-viewed-info small {
  display: block;
  margin-top: 4px;
  color: #66758a;
  font-size: 0.84rem;
  line-height: 1.4;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.app-screen-header {
  padding: max(18px, env(safe-area-inset-top, 0px)) 22px 18px;
  background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ee 100%);
  border-bottom: 1px solid rgba(16, 33, 58, 0.06);
}
.app-screen-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.notifications-header-row {
  justify-content: flex-end;
}
.notifications-header-spacer {
  width: 42px;
  height: 42px;
}
.app-screen-title-row {
  padding-top: 24px;
  text-align: center;
}
.app-screen-title {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 8vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  text-align: center;
}
.app-screen-subtitle {
  margin: 10px 0 0;
  color: #66758a;
  line-height: 1.45;
  font-size: 0.95rem;
  text-align: center;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.screen-gear-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dde8;
  background: #fff;
  color: #005837;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(16, 33, 58, 0.06);
}
.screen-back-link {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
}
.app-screen-body {
  flex: 1;
  padding: 18px 22px 120px;
}
.notification-list {
  display: grid;
  gap: 14px;
}
.notification-card {
  position: relative;
  padding: 18px 18px 18px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.notification-card.unread {
  border-color: rgba(14, 168, 0, 0.24);
  box-shadow: 0 14px 30px rgba(14, 168, 0, 0.08);
}
.notification-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 28px;
}
.notification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef9ec;
  color: #005837;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.notification-card time {
  color: #8b95a7;
  font-size: 0.82rem;
  white-space: nowrap;
}
.notification-card h2 {
  margin: 14px 0 8px;
  color: #111827;
  font-size: 1.05rem;
  line-height: 1.2;
}
.notification-card p {
  margin: 0;
  color: #5b6473;
  font-size: 0.94rem;
  line-height: 1.5;
}
.notification-dismiss {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #f4f6f8;
  color: #7c8797;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.notification-dismiss:hover {
  background: #e9edf2;
  color: #344054;
}
.settings-group {
  display: grid;
  gap: 14px;
}
.settings-group-label {
  color: #66758a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.settings-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.settings-card-dual {
  align-items: flex-start;
}
.settings-copy {
  min-width: 0;
}
.settings-copy h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.02rem;
  line-height: 1.2;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.settings-copy p {
  margin: 0;
  color: #5b6473;
  font-size: 0.93rem;
  line-height: 1.5;
}
.settings-toggle-stack {
  min-width: 116px;
  display: grid;
  gap: 10px;
}
.settings-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  min-width: 54px;
  height: 32px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d7dde8;
  transition: 0.2s ease;
}
.switch-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}
.switch input:checked + .switch-slider {
  background: #0EA800;
}
.switch input:checked + .switch-slider::before {
  transform: translateX(22px);
}
.profile-screen-header {
  padding-bottom: 10px;
}
.profile-header-row {
  justify-content: flex-start;
}
.profile-screen-body {
  padding-top: 8px;
}
.profile-screen-reset {
  padding-top: 20px;
}
.profile-screen-reset-body {
  padding-top: 0;
}
.profile-list-reset {
  gap: 14px;
}
.profile-hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  margin-bottom: 18px;
}
.profile-hero-link {
  justify-content: space-between;
}
.profile-hero-link .profile-hero-copy {
  flex: 1;
}
.profile-hero-chevron {
  font-size: 1.35rem;
}
.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef9ec;
  color: #0EA800;
  font-size: 1.4rem;
}
.profile-hero-copy h1 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-hero-copy p {
  margin: 0;
  color: #66758a;
  font-size: 0.92rem;
  line-height: 1.45;
}
.profile-list {
  display: grid;
  gap: 12px;
}
.profile-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  color: inherit;
  text-align: left;
}
.profile-row-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.profile-row-primary {
  padding-top: 20px;
  padding-bottom: 20px;
}
.profile-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f8;
  color: #0EA800;
  font-size: 1rem;
}
.profile-row-icon-avatar {
  width: 44px;
  height: 44px;
  background: #eef9ec;
  font-size: 1.15rem;
}
.profile-row-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.profile-row-copy strong {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-row-copy small {
  color: #66758a;
  font-size: 0.84rem;
  line-height: 1.45;
}
.profile-row-chevron {
  color: #98a2b3;
  font-size: 1.2rem;
}
.profile-signout-wrap {
  margin-top: 18px;
  padding-bottom: 110px;
}
.profile-signout-wrap-reset {
  margin-top: 22px;
}
.profile-signout-button {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid #d7dde8;
  background: #fff;
  color: #111827;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.overview-screen-header {
  padding-bottom: 8px;
}
.overview-header-row {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
}
.overview-back-link {
  color: #111827;
  font-size: 2rem;
  line-height: 1;
  justify-self: start;
}
.overview-title {
  margin: 0;
  text-align: center;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
}
.overview-spacer {
  width: 32px;
  height: 1px;
}
.profile-static-row {
  cursor: default;
}
.overview-edit-link {
  color: #005837;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  white-space: nowrap;
}
.profile-edit-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.profile-edit-field {
  display: grid;
  gap: 8px;
}
.profile-edit-field span {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-edit-field input {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid #d7dde8;
  background: #fff;
  color: #111827;
  padding: 0 16px;
  font: inherit;
}
.profile-edit-save {
  width: 100%;
  margin-top: 4px;
}
.profile-shot-screen {
  background: #f6f2ec;
}
.profile-shot-header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  padding: max(18px, env(safe-area-inset-top, 0px)) 18px 10px;
}
.profile-shot-back {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 1.45rem;
  line-height: 1;
  padding: 0;
}
.profile-shot-title {
  margin: 0;
  text-align: center;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-shot-spacer {
  width: 36px;
  height: 1px;
}
.profile-shot-body {
  display: grid;
  gap: 10px;
  padding: 4px 16px 120px;
}
.profile-shot-section-label {
  padding: 10px 6px 2px;
  color: #8a93a3;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-shot-card {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16, 33, 58, 0.04);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 33, 58, 0.05);
  color: inherit;
  text-align: left;
  font: inherit;
}
.profile-shot-card-primary {
  margin-bottom: 4px;
}
.profile-shot-avatar,
.profile-shot-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f7;
  color: #8c96a6;
  font-size: 1rem;
}
.profile-shot-avatar {
  background: #eef1f4;
}
.profile-shot-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.profile-shot-copy strong {
  color: #101828;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.24;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.profile-shot-copy small {
  color: #8a93a3;
  font-size: 0.83rem;
  line-height: 1.35;
}
.profile-shot-chevron {
  color: #b0b8c5;
  font-size: 1.18rem;
  justify-self: end;
}
.profile-shot-signout {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 1px solid rgba(16, 33, 58, 0.05);
  border-radius: 18px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(16, 33, 58, 0.05);
}
.account-settings-screen {
  background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ee 100%);
}
.account-settings-header {
  background: transparent;
  border-bottom: 0;
  padding-bottom: 6px;
}
.account-settings-body {
  padding-top: 2px;
}
.account-settings-section {
  margin-top: 22px;
}
.account-settings-section:first-child {
  margin-top: 0;
}
.account-settings-heading {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.account-settings-group {
  display: grid;
  gap: 12px;
}
.account-settings-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  color: inherit;
  text-align: left;
  font: inherit;
}
button.account-settings-row {
  cursor: pointer;
}
.account-settings-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.account-settings-copy strong {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.account-settings-copy small {
  color: #66758a;
  font-size: 0.84rem;
  line-height: 1.45;
}
.account-settings-chevron {
  color: #98a2b3;
  font-size: 1.22rem;
  flex-shrink: 0;
}
.account-settings-signout-wrap {
  margin-top: 22px;
  padding-bottom: 110px;
}
.account-settings-signout {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid #d7dde8;
  background: #fff;
  color: #111827;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.account-overview-screen {
  background: #fff;
}
.account-overview-topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 22px 12px;
  border-bottom: 1px solid rgba(16, 33, 58, 0.08);
}
.account-overview-back {
  color: #31343c;
  font-size: 2rem;
  line-height: 1;
}
.account-overview-logo-link {
  display: flex;
  justify-content: center;
}
.account-overview-topbar-center {
  display: block;
  min-height: 1px;
}
.account-overview-topbar-logo {
  width: 158px;
  height: auto;
}
.account-overview-topbar-spacer {
  width: 44px;
  height: 1px;
}
.account-overview-body {
  padding: 28px 30px 120px;
}
.account-overview-title {
  margin: 0 0 34px;
  color: #30323a;
  font-size: 2.05rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.account-overview-section {
  margin-bottom: 36px;
}
.account-overview-section h3 {
  margin: 0 0 20px;
  color: #30323a;
  font-size: 1.18rem;
  font-weight: 700;
}
.account-overview-section p {
  margin: 0;
  color: #767a87;
  font-size: 1rem;
  line-height: 1.6;
}
.account-overview-email-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.account-overview-email-icon {
  color: #4d5360;
  font-size: 1.45rem;
  line-height: 1;
}
.account-overview-email {
  color: #4b4f59;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.account-overview-edit {
  color: #0EA800;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}
.account-overview-verified {
  margin-top: 22px;
  margin-left: 54px;
  color: #31a266;
  font-size: 1rem;
  font-weight: 500;
}
.account-overview-outline-button {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  border: 1.5px solid #a5a7ae;
  border-radius: 18px;
  background: #fff;
  color: #30323a;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}
.account-overview-delete {
  width: 100%;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: #b55421;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.clean-data-body {
  padding-top: 14px;
}
.clean-data-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  text-align: center;
}
.clean-data-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef9ec;
  color: #0EA800;
  font-size: 1.35rem;
}
.clean-data-card h2 {
  margin: 0;
  color: #111827;
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.clean-data-card p {
  margin: 0;
  color: #66758a;
  font-size: 0.93rem;
  line-height: 1.5;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.clean-data-actions {
  margin-top: 18px;
  padding-bottom: 110px;
}
.legal-screen {
  background: #f8f6f2;
}
.legal-body {
  padding: 20px 22px 120px;
}
.legal-card {
  padding: 24px 22px 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.legal-card h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.15;
}
.legal-card h2 {
  margin: 24px 0 10px;
  color: #111827;
  font-size: 1.02rem;
  line-height: 1.3;
}
.legal-card p {
  margin: 0;
  color: #5b6473;
  font-size: 0.94rem;
  line-height: 1.6;
}
.feedback-screen {
  background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ee 100%);
}
.feedback-body {
  padding-top: 14px;
}
.feedback-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  text-align: center;
}
.feedback-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef9ec;
  color: #0EA800;
  font-size: 1.35rem;
}
.feedback-card h1 {
  margin: 0;
  color: #111827;
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.feedback-card p {
  margin: 0;
  color: #66758a;
  font-size: 0.95rem;
  line-height: 1.55;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.feedback-email-link {
  color: #005837;
  font-size: 1rem;
  font-weight: 700;
}
.feedback-actions {
  margin-top: 18px;
  padding-bottom: 110px;
}
.feedback-compose-button {
  width: min(100%, 220px);
  min-height: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  margin: 2px auto;
  font-size: 0.93rem;
  line-height: 1;
  border-radius: 12px;
}
.collections-page-shell {
  background: #f4f2ee;
}
.collections-screen {
  background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ee 100%);
}
.collections-body {
  padding-top: 8px;
}
.collections-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.collections-card h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.collections-card p {
  margin: 0;
  color: #66758a;
  font-size: 0.94rem;
  line-height: 1.55;
}
.collections-preview-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.collections-preview-card {
  display: grid;
  gap: 4px;
  padding: 4px 0 14px;
}
.collections-preview-card + .collections-preview-card {
  border-top: 1px solid rgba(16, 33, 58, 0.06);
  padding-top: 18px;
}
.collections-preview-card strong {
  color: #111827;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.collections-preview-card small {
  color: #66758a;
  font-size: 0.84rem;
  line-height: 1.45;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.collections-entry-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.collections-entry-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.collections-entry-main strong,
.collections-entry-main small {
  display: block;
}
.collections-entry-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.collections-entry-remove {
  min-width: 104px;
  padding: 10px 12px;
  border-radius: 999px;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.collections-entry-remove[disabled] {
  opacity: 0.7;
}
.results-page-shell {
  background: #f3f0ea;
}
.results-screen {
  background: linear-gradient(180deg, #f7f3ee 0%, #f3f0ea 100%);
}
.results-topbar {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 18px 12px;
}
.results-back,
.results-save-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 1.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.results-save-toggle {
  color: #d7dde8;
}
.results-save-toggle.is-saved {
  color: #0EA800;
}
.results-location-wrap {
  min-width: 0;
  text-align: center;
}
.results-location {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.results-subline {
  margin: 3px 0 0;
  color: #6c7888;
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-toolbar-row {
  padding: 0 18px 14px;
}
.results-toolbar-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.results-toolbar-group {
  position: relative;
}
.results-toolbar-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.results-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 220px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(16, 33, 58, 0.18);
  z-index: 20;
}
.results-sort-menu button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-body {
  padding: 0 18px 120px;
}
.listing-story-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 33, 58, 0.10);
}
.listing-story-media {
  position: relative;
  min-height: 68vh;
  background: #111;
}
.listing-story-carousel {
  position: absolute;
  inset: 0;
}
.listing-story-slide {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  opacity: 0;
  background: transparent;
  transition: opacity 0.2s ease;
}
.listing-story-slide.is-active {
  opacity: 1;
}
.listing-story-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: #111827;
  font-size: 1.4rem;
  z-index: 3;
}
.listing-story-prev { left: 10px; }
.listing-story-next { right: 10px; }
.listing-story-progress {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  z-index: 3;
}
.listing-story-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
}
.listing-story-dot.is-active {
  background: rgba(255,255,255,0.95);
}
.listing-story-index-badge {
  position: absolute;
  right: 14px;
  top: 48px;
  z-index: 3;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17,17,17,0.54);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.listing-story-header,
.listing-story-footer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.listing-story-header {
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(17,17,17,0.62) 0%, rgba(17,17,17,0.12) 100%);
  color: #fff;
}
.listing-agent-block {
  display: flex;
  gap: 12px;
  min-width: 0;
}
.listing-agent-headshot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.88);
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
}
.listing-agent-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.listing-agent-copy strong,
.listing-agent-copy a,
.listing-mls-block strong,
.listing-mls-block span {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
}
.listing-agent-copy a {
  text-decoration: none;
}
.listing-mls-block {
  text-align: right;
  display: grid;
  gap: 2px;
}
.listing-story-footer {
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(17,17,17,0.08) 0%, rgba(17,17,17,0.78) 100%);
  color: #fff;
}
.listing-price-block,
.listing-stats-block,
.listing-links-block,
.listing-actions-block {
  display: grid;
  gap: 4px;
}
.listing-price-block strong {
  font-size: 1.08rem;
  line-height: 1.1;
}
.listing-price-block span,
.listing-stats-block small,
.listing-links-block a,
.listing-actions-block a {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #fff;
}
.listing-stats-block span {
  display: grid;
  justify-items: center;
}
.listing-stats-block strong {
  font-size: 1rem;
}
.listing-links-block a,
.listing-actions-block a {
  text-decoration: none;
}
.listing-inline-save {
  border: 0;
  background: transparent;
  color: #d7dde8;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  text-align: left;
}
.listing-inline-save.is-saved {
  color: #0EA800;
}
.results-map-view {
  padding-top: 8px;
}
.results-map-card {
  display: grid;
  gap: 18px;
}
.results-map-surface {
  min-height: 68vh;
  border-radius: 28px;
  background: linear-gradient(180deg, #dfe8da 0%, #c8d7c2 100%);
  color: #005837;
  overflow: hidden;
}
.results-map-grid {
  position: relative;
  min-height: 68vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.results-map-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}
.results-map-overlay-top {
  align-items: flex-start;
}
.results-map-overlay-bottom {
  align-items: flex-end;
}
.results-map-chip-group,
.results-map-actions,
.results-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.results-map-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: #1f2933;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.12);
}
.results-map-chip-strong {
  background: rgba(17,24,39,0.92);
  color: #fff;
}
.results-map-status {
  min-width: 64px;
  justify-content: center;
}
.results-map-viewport {
  position: relative;
  overflow: hidden;
  margin: 0 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, #cfe4ec 0%, #e7efe1 34%, #d8e3d1 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  touch-action: none;
}
.results-map-canvas {
  position: relative;
  width: 1000px;
  height: 1000px;
  transform-origin: center center;
  will-change: transform;
}
.results-map-water,
.results-map-land,
.results-map-road,
.results-map-road-label,
.results-map-neighbourhood-layer,
.results-map-marker-layer {
  position: absolute;
}
.results-map-water {
  inset: 0;
  background: radial-gradient(circle at 8% 84%, rgba(123, 181, 212, 0.96) 0, rgba(123, 181, 212, 0.96) 22%, rgba(123, 181, 212, 0) 26%),
    radial-gradient(circle at 14% 94%, rgba(123, 181, 212, 0.96) 0, rgba(123, 181, 212, 0.96) 17%, rgba(123, 181, 212, 0) 21%),
    linear-gradient(180deg, rgba(211, 233, 241, 0.72) 0%, rgba(211, 233, 241, 0.08) 30%, rgba(211, 233, 241, 0) 60%);
}
.results-map-land {
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.3) 0 12%, rgba(255,255,255,0) 13%),
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.1) 0 14px, rgba(255,255,255,0) 14px 32px);
}
.results-map-road {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 4px 12px rgba(31, 41, 51, 0.08);
}
.results-map-road::after {
  content: "";
  position: absolute;
  inset: 50% 12px auto;
  border-top: 2px dashed rgba(71, 115, 94, 0.22);
}
.results-map-road-dallas {
  left: -20px;
  right: 160px;
  bottom: 160px;
  height: 34px;
  transform: rotate(-8deg);
}
.results-map-road-cook {
  top: 160px;
  bottom: 120px;
  left: 300px;
  width: 30px;
}
.results-map-road-fairfield {
  left: 180px;
  right: 72px;
  top: 344px;
  height: 30px;
  transform: rotate(-8deg);
}
.results-map-road-moss {
  top: 120px;
  bottom: 260px;
  left: 632px;
  width: 24px;
  transform: rotate(8deg);
}
.results-map-road-label {
  color: rgba(16, 33, 58, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  letter-spacing: 0.02em;
}
.results-map-label-dallas { left: 150px; bottom: 132px; }
.results-map-label-cook { left: 328px; top: 428px; transform: rotate(90deg); transform-origin: left top; }
.results-map-label-fairfield { left: 454px; top: 304px; }
.results-map-label-beacon { left: 112px; top: 114px; }
.results-map-neighbourhood-layer {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.results-map-neighbourhood {
  fill: rgba(244, 246, 238, 0.45);
  stroke: rgba(16, 33, 58, 0.14);
  stroke-width: 4;
}
.results-map-neighbourhood-selected {
  fill: rgba(14, 168, 0, 0.12);
  stroke: #0EA800;
  stroke-width: 8;
}
.results-map-marker-layer {
  inset: 0;
  z-index: 2;
}
.results-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  background: #0EA800;
  color: #ffffff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(14, 168, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-map-marker.is-viewed {
  background: #111827;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}
.results-map-marker.is-active {
  transform: translate(-50%, -50%) scale(1.08);
}
.results-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 2px);
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: inherit;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.results-map-legend {
  color: #30404f;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
}
.results-map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0EA800;
}
.results-map-legend-dot.is-viewed {
  background: #111827;
}
.results-map-zoom-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.12);
}
.results-map-sheet {
  display: grid;
  gap: 12px;
  padding: 0 2px;
}
.results-map-sheet-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
}
.results-map-sheet-header strong {
  font-size: 0.95rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-map-sheet-header span {
  color: #66758a;
  font-size: 0.78rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-map-sheet-list {
  display: grid;
  gap: 10px;
}
.results-map-sheet-card {
  width: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
  text-align: left;
}
.results-map-sheet-card.is-active {
  border-color: rgba(14, 168, 0, 0.28);
  box-shadow: 0 18px 34px rgba(14, 168, 0, 0.10);
}
.results-map-sheet-thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}
.results-map-sheet-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.results-map-sheet-copy strong,
.results-map-sheet-copy span,
.results-map-sheet-copy small {
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-map-sheet-copy strong {
  color: #111827;
  font-size: 0.95rem;
}
.results-map-sheet-copy span {
  color: #111827;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.results-map-sheet-copy small {
  color: #66758a;
  font-size: 0.76rem;
}
.results-map-sheet-status {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0EA800;
  box-shadow: 0 0 0 8px rgba(14, 168, 0, 0.08);
}
.results-map-sheet-status.is-viewed {
  background: #111827;
  box-shadow: 0 0 0 8px rgba(17, 24, 39, 0.06);
}
.results-map-list-button {
  min-height: 44px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.listing-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 20px;
}
.listing-fullscreen:not([hidden]) {
  display: grid;
  background: rgba(0,0,0,0.92);
  place-items: center;
}
.listing-fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.listing-fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}
.results-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  padding: 20px;
}
.results-confirm-overlay:not([hidden]) {
  display: grid;
  background: rgba(17,17,17,0.42);
  place-items: end center;
}
.results-confirm-card {
  width: min(100%, 420px);
  padding: 22px 18px 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(16, 33, 58, 0.22);
}
.results-confirm-card h2 {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-confirm-card p {
  margin: 8px 0 0;
  color: #66758a;
  font-size: 0.88rem;
  line-height: 1.45;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.results-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.results-confirm-button {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.results-confirm-button-secondary {
  background: #fff;
  color: #111827;
}
.results-confirm-button-primary {
  border-color: #0EA800;
  background: #0EA800;
  color: #fff;
}
@media (max-width: 420px) {
  .results-map-overlay {
    padding: 12px;
  }
  .results-map-viewport {
    margin: 0 12px;
  }
  .results-map-sheet-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }
  .results-map-sheet-thumb {
    width: 64px;
    height: 64px;
  }
}
.filters-screen {
  background: linear-gradient(180deg, #f7f3ee 0%, #f3f0ea 100%);
}
.filters-topbar {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 18px 10px;
}
.filters-topbar-spacer {
  display: block;
  width: 36px;
  height: 36px;
}
.filters-body {
  padding: 4px 18px 132px;
  display: grid;
  gap: 16px;
}
.filters-group {
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.06);
}
.filters-group h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.filters-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 58, 0.10);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.filters-chip.is-active {
  border-color: #0EA800;
  background: rgba(14, 168, 0, 0.08);
  color: #0b6b00;
}
.filters-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  padding: 0 18px;
}
.filters-apply-button {
  width: 100%;
}
@media (min-width: 721px) {
  .app-home-shell {
    padding: 18px;
  }
  .app-home {
    min-height: calc(100vh - 36px);
    border-radius: 34px;
  }
  .app-home-panel {
    margin-top: -128px;
    min-height: calc(38vh + 128px);
  }
  .app-home-panel-inner {
    padding-top: 116px;
  }
  .app-bottom-nav {
    bottom: 18px;
    border-radius: 22px 22px 28px 28px;
    width: min(430px, calc(100vw - 36px));
    box-shadow: 0 18px 40px rgba(16, 33, 58, 0.12);
  }
  .persistent-auth-cta {
    width: min(386px, calc(100vw - 64px));
    bottom: 100px;
  }
}
@media (max-width: 720px) {
  .app-home {
    width: 100%;
    box-shadow: none;
  }
  .app-home-panel-inner {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 104px;
  }
  .app-home-tagline {
    margin-top: 158px;
    font-size: clamp(1.95rem, 7.8vw, 2.35rem);
  }
  .app-screen-header {
    padding-left: 18px;
    padding-right: 18px;
  }
  .app-screen-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .personalise-note {
    font-size: 0.76rem;
  }
}
@media (min-width: 721px) {
  .auth-page-mobile {
    padding: 18px;
  }
  .auth-mobile-frame {
    min-height: calc(100vh - 36px);
    border-radius: 34px;
  }
}
.auth-page {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.auth-page-mobile {
  background: #ece8e1;
}
.auth-mobile-shell {
  min-height: 100vh;
  padding: 0;
}
.auth-mobile-frame {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 33, 58, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-mobile-hero {
  min-height: 38vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.auth-mobile-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.72) 62%, #ffffff 100%);
}
.auth-mobile-logo-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: max(18px, env(safe-area-inset-top, 0px)) 24px 0;
}
.auth-mobile-logo {
  width: 133px;
  max-width: 100%;
}
.auth-mobile-panel {
  position: relative;
  z-index: 2;
  margin-top: -32px;
  padding: 0 22px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.auth-mobile-content {
  padding-top: 42px;
}
.auth-mobile-back {
  position: absolute;
  top: max(18px, env(safe-area-inset-top, 0px));
  right: 22px;
  z-index: 2;
  display: inline-flex;
  color: #005837;
  font-weight: 700;
}
.auth-mobile-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 8vw, 2.55rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  text-align: center;
}
.auth-mobile-intro {
  margin: 0 auto 18px;
  width: 100%;
  max-width: 100%;
  color: #66758a;
  line-height: 1.35;
  font-size: 0.78rem;
  text-align: center;
  white-space: nowrap;
}
.auth-mobile-form {
  gap: 12px;
}
.auth-mobile-footer-link {
  margin-top: 20px;
}
.auth-mobile-legal {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  color: #667085;
  line-height: 1.55;
  font-size: 0.88rem;
  text-align: center;
}
.auth-mobile-legal a {
  color: #005837;
  font-weight: 700;
}
.verify-mobile-frame {
  background: #f7f5f2;
}
.verify-mobile-panel {
  margin-top: -18px;
  padding-bottom: 28px;
}
.verify-mobile-content {
  padding-top: 32px;
}
.verify-mobile-intro {
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  white-space: normal;
  font-size: 0.9rem;
}
.verify-mobile-panel .auth-mobile-title {
  display: block;
  width: 100%;
  margin: 0 auto 10px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(1.45rem, 5.4vw, 1.95rem);
}
.verify-email-card {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #cfd6df;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 18px;
}
.verify-email-icon {
  color: #475467;
  font-size: 1rem;
}
.verify-email-text {
  min-width: 0;
  color: #475467;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.verify-email-edit,
.verify-resend {
  color: #005837;
  font-weight: 700;
}
.verify-email-edit {
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}
.verify-code-label {
  margin: 0 0 -4px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 700;
}
.verify-code-shell {
  position: relative;
  min-height: 104px;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #2c3440;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.verify-lock-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  line-height: 1;
}
.verify-code-input {
  min-height: 72px;
  width: 100%;
  max-width: 230px;
  border: 0 !important;
  padding: 0 !important;
  font-size: 1.55rem !important;
  letter-spacing: 0.22em;
  color: #2c3440;
  background: transparent;
  box-sizing: border-box;
  text-align: center;
}
.verify-code-input::placeholder {
  color: #98a2b3;
  letter-spacing: 0.18em;
}
.verify-code-input:focus {
  outline: none;
}
.verify-bottom-copy {
  margin-top: auto;
  padding-top: 20px;
  color: #667085;
  text-align: center;
  line-height: 1.55;
  font-size: 0.92rem;
}
.verify-resend {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
}
.auth-shell {
  min-height: 100vh;
  padding: 22px;
}
.auth-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.auth-logo {
  width: 147px;
  max-width: 100%;
}
.auth-layout {
  display: grid;
  gap: 20px;
  min-height: calc(100vh - 90px);
}
.auth-visual {
  position: relative;
  min-height: 280px;
  border-radius: 28px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.auth-visual-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #fff;
}
.auth-visual-copy h1 {
  margin: 10px 0 10px;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.auth-visual-copy p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}
.auth-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-layout-single {
  grid-template-columns: 1fr;
}
.auth-card {
  width: min(100%, 520px);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.auth-card-compact {
  width: min(100%, 660px);
  padding: 20px 0 0;
  overflow: hidden;
}
.auth-card-brand {
  display: flex;
  justify-content: center;
  padding: 8px 32px 0;
}
.auth-card-brand-back {
  justify-content: flex-start;
  padding: 4px 0 0;
}
.auth-back-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  transition: background 0.15s;
}
.auth-back-arrow:hover {
  background: #e2e8f0;
}
.auth-back-arrow svg {
  display: block;
}
.auth-card-logo {
  width: 155px;
  max-width: 100%;
}
.auth-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}
.auth-card-title {
  text-align: center;
  margin: 26px 0 10px !important;
}
.auth-card-subtitle {
  text-align: center;
  margin: 0 32px 24px;
  color: #475467;
  line-height: 1.5;
  font-size: 0.92rem;
}
.auth-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}
.social-stack {
  display: grid;
  gap: 12px;
  padding: 0 60px 28px;
}
.social-button {
  width: 100%;
  min-height: 60px;
  border-radius: 14px;
  border: 1px solid #aeb5c0;
  background: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: #101828;
  cursor: pointer;
}
.social-button:hover {
  background: #f8fafc;
}
.social-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.social-mark.google {
  background: #fff3f0;
  color: #db4437;
}
.social-mark.facebook {
  background: #eff4ff;
  color: #1877f2;
}
.social-mark.apple {
  background: #111827;
  color: #fff;
}
.auth-divider {
  position: relative;
  text-align: center;
  margin: 18px 0 22px;
  padding: 0 60px;
}
.auth-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid var(--line);
}
.auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255,255,255,0.96);
  color: #10213a;
  font-weight: 700;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form-simple {
  padding: 0 60px;
}
.auth-form label {
  display: grid;
  gap: 8px;
}
.auth-form span {
  font-weight: 600;
  color: #344054;
}
.field-with-icon {
  position: relative;
}
.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #111827;
  font-size: 1.15rem;
}
.auth-form input {
  min-height: 60px;
  border-radius: 14px;
  border: 1px solid #8d95a3;
  background: #fff;
  padding: 0 16px 0 52px;
  font-size: 1rem;
}
.field-without-icon input {
  padding-left: 16px;
}
.field-with-password-toggle input {
  padding-right: 84px;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 8px;
}
.password-toggle:hover {
  color: #1e40af;
}
.auth-password-hint {
  margin-top: -2px;
  color: #667085;
  font-size: 0.85rem;
  line-height: 1.45;
}
.auth-card-intro {
  margin: 8px 60px 18px;
  color: #475467;
  line-height: 1.6;
  text-align: center;
}
.auth-code-note {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}
.auth-code-note strong {
  color: #10213a;
}
.auth-code-tip {
  margin-top: -4px;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.5;
}
.auth-submit {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: #0EA800;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.auth-submit-accent {
  background: #0EA800;
}
.auth-inline-message {
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #1f2933;
  line-height: 1.5;
  font-size: 0.94rem;
}
.auth-inline-message.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}
.auth-inline-message.success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}
.auth-inline-message.info {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.auth-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #475467;
  line-height: 1.6;
}
.auth-note-footer {
  margin-top: 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fbfbfc;
  padding: 22px 28px;
  text-align: center;
  color: #667085;
}
.agent-note-inline {
  margin-top: 10px;
}
.auth-note a,
.auth-footer-link a,
.auth-provider-copy a {
  color: #005837;
  font-weight: 700;
}
.auth-footer-link {
  margin-top: 18px;
  color: #667085;
  text-align: center;
}
.auth-footer-inline {
  margin: 22px 0 0;
}
.provider-pill {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 700;
  color: #10213a;
}
.auth-provider-card {
  width: min(100%, 620px);
}
.account-shell {
  padding-bottom: 120px;
}
.account-wrap {
  display: grid;
  gap: 18px;
}
.account-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.account-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.account-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-section-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
}
.account-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.account-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.account-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.account-danger-panel {
  border-color: #fecaca;
}
.danger-button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.account-signout-button {
  min-width: 120px;
}
.auth-footer-reset {
  margin-top: 12px;
}
.auth-provider-copy {
  padding: 0 40px 12px;
  color: #667085;
  text-align: center;
  line-height: 1.6;
}
.auth-provider-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 40px 28px;
}
.auth-submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 180px;
}
.link-button-plain {
  border: 0;
  background: transparent;
  padding: 0;
  justify-content: center;
}
.legal-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.legal-date {
  color: #667085;
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.legal-section {
  margin: 0 0 24px;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1f2933;
}
.legal-section p {
  margin: 0 0 8px;
  line-height: 1.6;
  color: #475467;
}
.legal-section ul {
  margin: 0 0 8px;
  padding: 0 0 0 20px;
}
.legal-section li {
  margin: 0 0 4px;
  line-height: 1.5;
  color: #475467;
}
@media (max-width: 720px) {
  .auth-page {
    background: #ffffff;
  }
  .auth-shell {
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .auth-card {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: #ffffff;
    padding: 20px 0 0;
    width: 100%;
  }
  .auth-card-compact {
    width: 100%;
    padding-top: 0;
  }
  .auth-card-brand {
    padding: 32px 20px 0;
  }
  .auth-layout {
    min-height: auto;
  }
  .auth-form-simple {
    padding: 0 20px;
  }
  .social-stack,
  .auth-divider,
  .auth-provider-copy,
  .auth-provider-actions,
  .auth-card-intro {
    padding-left: 20px;
    padding-right: 20px;
  }
  .auth-mobile-frame {
    width: 100%;
    box-shadow: none;
  }
  .auth-mobile-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .auth-mobile-content {
    padding-top: 52px;
  }
  .auth-mobile-back {
    right: 18px;
  }
  .auth-mobile-intro {
    margin-left: auto;
    width: 100%;
    max-width: 100%;
    font-size: 0.72rem;
  }
  .verify-mobile-content {
    padding-top: 30px;
  }
  .verify-mobile-intro {
    font-size: 0.86rem;
  }
  .verify-code-input {
    max-width: 210px;
    font-size: 1.32rem !important;
    letter-spacing: 0.14em;
  }

  .auth-provider-actions {
    flex-direction: column;
  }
  .account-hero {
    display: grid;
    grid-template-columns: 1fr;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-hero-actions {
    width: 100%;
  }
  .danger-button,
  .account-signout-button {
    width: 100%;
  }
}
@media (min-width: 900px) {
  .auth-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
  .auth-layout.auth-layout-single {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .auth-layout.auth-layout-single .auth-card-wrap {
    width: 100%;
  }
  .auth-visual {
    min-height: 720px;
  }
}
@media (min-width: 721px) {
  .has-mobile-nav {
    padding-bottom: 0;
  }
  .mobile-bottom-nav {
    display: none;
  }
}
@media (min-width: 960px) {
  .container { width: min(calc(100% - 48px), var(--max)); }
}

.viewer-results-screen {
  background: linear-gradient(180deg, #f7f3ee 0%, #f3f0ea 100%);
}
.viewer-results-body {
  display: grid;
  gap: 12px;
}
.viewer-story-media {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.08), rgba(17,17,17,0.18)),
    linear-gradient(135deg, rgba(223, 232, 218, 0.88) 0%, rgba(200, 215, 194, 0.72) 42%, rgba(71, 115, 94, 0.55) 100%);
}
.viewer-notes {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 33, 58, 0.08);
}
.viewer-notes p {
  margin: 0;
  color: #6c7888;
  font-size: 0.84rem;
  line-height: 1.4;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.search-intake-page-shell,
.filters-page-shell-v2 {
  background: linear-gradient(180deg, #f4efe8 0%, #fbfcfd 42%, #ffffff 100%);
}

.search-intake-screen,
.filters-screen-v2 {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 18px 16px 24px;
}

.search-intake-topbar {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.search-toggle-compact {
  width: 100%;
  justify-content: center;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.search-intake-card,
.filters-panel,
.filters-footer-actions,
.filters-search-shell {
  width: 100%;
}

.search-intake-form {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

.search-intake-row,
.filters-search-card-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  border-radius: 22px;
  padding: 0 14px;
  background: #f7f7f6;
  border: 1px solid #e7e7e5;
}

.search-intake-icon {
  font-size: 1rem;
  color: #52606d;
}

.search-intake-row input {
  border: none;
  background: transparent;
  min-width: 0;
  padding: 0;
  outline: none;
  color: var(--text);
  font-size: 0.98rem;
}

.search-intake-row input::placeholder {
  color: #7b8794;
}

.search-intake-cancel,
.filters-search-cancel {
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.92rem;
}

.search-intake-location-toggle {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #dce7e2;
  background: #f5fbf7;
  color: #1f5132;
  min-height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 700;
}

.search-intake-toggle-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid #b7c9bf;
  background: white;
  box-shadow: inset 0 0 0 3px white;
}

.search-intake-location-toggle.is-checked .search-intake-toggle-check {
  background: #0ea800;
  border-color: #0ea800;
}

.search-intake-summary {
  margin-top: 14px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f7faf8;
  border: 1px solid #e2ebe6;
}

.search-intake-summary strong {
  color: #10213a;
  font-size: 0.9rem;
  line-height: 1.25;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.search-intake-summary span {
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.4;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.search-intake-helper {
  margin: 10px 4px 0;
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.search-intake-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.search-intake-section-title {
  margin: 0 4px 2px;
  color: #52606d;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-intake-history-row,
.search-intake-suggestion-row {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.search-intake-history-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  align-items: center;
}

.search-intake-history-main,
.search-intake-suggestion-row {
  text-align: left;
  border: none;
  background: transparent;
  color: inherit;
}

.search-intake-history-main {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.search-intake-history-main strong,
.search-intake-suggestion-row span:last-child {
  font-size: 0.98rem;
  line-height: 1.25;
}

.search-intake-history-main small {
  color: #667085;
}

.search-intake-suggestion-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}

.search-intake-suggestion-icon {
  color: #94a3b8;
}

.search-intake-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.search-intake-done[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* Recently viewed on search page */
.recently-viewed-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 33, 58, 0.06);
}
.recently-viewed-header {
  margin-bottom: 10px;
}
.recently-viewed-title {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.recently-viewed-grid {
  display: grid;
  gap: 8px;
}
.recently-viewed-grid-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(16, 33, 58, 0.08);
  text-decoration: none;
}
.recently-viewed-grid-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: #e5e7eb;
}
.recently-viewed-grid-info {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.rv-address {
  color: #111827;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-price {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 700;
}
.rv-meta {
  color: #66758a;
  font-size: 0.76rem;
}

.filters-search-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.filters-search-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.filters-search-location {
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filters-search-caption {
  margin: 8px 4px 0 42px;
  color: #667085;
  font-size: 0.8rem;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.filters-search-submit {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #10213a;
  color: white;
  box-shadow: 0 16px 32px rgba(16, 33, 58, 0.18);
  font-size: 1.05rem;
}

.filters-panel {
  display: grid;
  gap: 14px;
}

.filters-section-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.filters-section-heading h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.filters-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters-choice-pill {
  border: 1px solid #dde3ea;
  background: #f8fafc;
  color: #334155;
  min-height: 42px;
  border-radius: 16px;
  padding: 0 14px;
  font-weight: 700;
}

.filters-choice-pill.is-active {
  background: #0EA800;
  border-color: #0EA800;
  color: white;
}

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

.filters-select-field {
  display: grid;
  gap: 8px;
  color: #52606d;
  font-weight: 700;
  font-size: 0.84rem;
}

.filters-select-field select {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #dde3ea;
  background: #f8fafc;
  color: #1f2933;
  padding: 0 14px;
}

.filters-footer-actions {
  position: sticky;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.filters-reset-notice {
  display: none;
}

.filters-reset-text.is-flash {
  color: #0EA800;
  background: transparent;
  border-radius: 0;
  transition: color 180ms ease;
}

.filters-reset-text {
  transition: background 180ms ease, color 180ms ease;
}

@media (max-width: 420px) {
  .filters-range-grid,
  .filters-footer-actions {
    grid-template-columns: 1fr;
  }

  .filters-range-grid-inline-mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.search-intake-row-multi {
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 12px;
}

.search-intake-field-stack {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.search-intake-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.search-intake-token {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #10213a;
  font-size: 0.92rem;
  font-weight: 500;
}

.search-intake-token-label {
  white-space: nowrap;
}

.search-intake-token button {
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.65;
}

.search-intake-token-remove {
  transform: translateY(-1px);
}

.search-intake-token-separator {
  opacity: 0.6;
}

.app-home-hero-copy-no-logo {
  align-items: center;
  justify-content: center;
}

.auth-mobile-logo-link-centered {
  position: absolute;
  top: max(18px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.auth-mobile-back-left {
  left: 22px;
  right: auto;
  min-width: 24px;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.auth-mobile-back-long {
  min-width: 44px;
}

.auth-mobile-back-glyph {
  display: inline-block;
  font-size: 1.7rem;
  line-height: 1;
  transform: scaleX(1.35);
  transform-origin: left center;
}

.viewer-review-page,
.viewer-review-page .results-screen {
  background: #ffffff;
}

.viewer-review-page .results-body {
  padding-bottom: 120px;
}

.viewer-toolbar-row {
  padding-top: 2px;
}

.viewer-toolbar-buttons {
  background: #ffffff;
  gap: 18px;
}

.viewer-toolbar-button {
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: auto;
  justify-self: center;
  padding: 0;
  font-weight: 700;
}

.viewer-sort-count {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1;
}

.viewer-review-page .listing-story-card {
  background: #ffffff;
  box-shadow: none;
}

.viewer-review-page .listing-story-header,
.viewer-review-page .listing-story-footer {
  background: #ffffff;
  color: #111827;
}

.viewer-review-page .listing-story-header {
  top: auto;
  bottom: 120px;
  align-items: start;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.viewer-review-page .listing-story-footer {
  bottom: 0;
  align-items: start;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.viewer-review-page .listing-agent-copy strong,
.viewer-review-page .listing-agent-copy a,
.viewer-review-page .listing-mls-block strong,
.viewer-review-page .listing-mls-block span,
.viewer-review-page .listing-price-block span,
.viewer-review-page .listing-stats-block small,
.viewer-review-page .listing-links-block a,
.viewer-review-page .listing-actions-block a {
  color: #111827;
}

.viewer-review-page .listing-agent-headshot {
  background: #eef2f7;
  color: #111827;
}

.viewer-review-page .listing-story-media {
  background: #ffffff;
}

.viewer-review-page .listing-story-carousel {
  inset: 0 0 240px 0;
}

.viewer-review-page .listing-story-slide img {
  border-radius: 28px 28px 0 0;
}

.viewer-review-page .listing-story-index-badge {
  background: rgba(17,17,17,0.82);
}

.viewer-review-page .results-topbar {
  padding-bottom: 8px;
}

.viewer-review-page .results-location-wrap {
  min-height: 24px;
}

.viewer-review-page .listing-story-card {
  border-radius: 0;
  overflow: visible;
}

.viewer-review-page .listing-story-media {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.viewer-review-page .viewer-band {
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  padding: 16px 18px;
  background: #ffffff;
  color: #111827;
}

.viewer-review-page .viewer-band-top {
  top: auto;
  bottom: auto;
  border-top: 1.5px solid #111827;
}

.viewer-review-page .viewer-band-bottom {
  bottom: auto;
  border-bottom: 1.5px solid #111827;
}

.viewer-review-page .listing-story-carousel {
  position: relative;
  inset: auto;
  width: 100vw;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.viewer-review-page .listing-story-slide,
.viewer-review-page .listing-story-slide.is-active {
  position: absolute;
  inset: 0;
}

.viewer-review-page .listing-story-slide img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.viewer-review-page .listing-story-nav {
  top: calc(50% + 24px);
}

.viewer-review-page .listing-story-progress {
  top: auto;
  bottom: 18px;
}

.viewer-review-page .listing-story-index-badge {
  top: auto;
  bottom: 42px;
}

.viewer-review-page .listing-story-footer {
  grid-template-columns: minmax(0, 1.3fr) auto auto auto;
}

.viewer-story-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.viewer-review-page .viewer-story-card .viewer-band-top {
  border-top: 1.5px solid #111827;
  border-bottom: 1.5px solid #111827;
}

.viewer-review-page .viewer-story-card .listing-story-media {
  display: block;
  min-height: auto;
}

.viewer-review-page .viewer-story-card .listing-story-carousel {
  display: block;
}

.viewer-review-page .results-body {
  padding: 0 0 120px;
}

.viewer-review-page .viewer-story-card {
  width: 100%;
  margin-top: 14px;
}

.viewer-review-page .viewer-story-card .viewer-band,
.viewer-review-page .viewer-story-card .listing-story-carousel,
.viewer-review-page .viewer-story-card .listing-story-media {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.viewer-review-page .listing-story-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
}

.viewer-realtor-header {
  display: grid;
  grid-template-columns: minmax(72px, 20%) minmax(0, 1fr) minmax(72px, 20%);
  align-items: center;
  gap: 12px;
}

.viewer-brokerage-block {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: start;
  text-align: left;
}

.viewer-brokerage-block strong,
.viewer-brokerage-block span {
  color: #111827;
  font-size: 0.64rem;
  line-height: 1.15;
}

.viewer-realtor-copy-block {
  min-width: 0;
}

.viewer-realtor-copy-block .listing-agent-copy {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.viewer-realtor-copy-block .listing-agent-copy strong,
.viewer-realtor-copy-block .listing-agent-copy a {
  color: #111827;
  font-size: 0.76rem;
  line-height: 1.02;
  text-align: left;
}

.viewer-headshot-block {
  display: flex;
  justify-content: flex-end;
}

.viewer-agent-headshot {
  width: 68px;
  height: 68px;
  font-size: 1.15rem;
  font-weight: 800;
}

.viewer-review-page .viewer-story-card .viewer-band-top {
  overflow: visible;
  align-items: start;
  padding-top: 4px;
  padding-bottom: 1px;
}

.viewer-realtor-copy-block {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.viewer-realtor-copy-block .listing-agent-copy {
  justify-items: end;
}

.viewer-realtor-copy-block .listing-agent-copy strong,
.viewer-realtor-copy-block .listing-agent-copy a {
  text-align: right;
}

.viewer-headshot-block {
  align-self: end;
  margin-bottom: -44px;
  position: relative;
  z-index: 4;
}

.viewer-agent-headshot {
  width: 104px;
  height: 104px;
  font-size: 1.58rem;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.viewer-review-page .listing-story-index-badge {
  display: none;
}

.viewer-review-page .listing-price-block-with-stats {
  gap: 6px;
}

.listing-stats-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.listing-stats-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.listing-stats-inline strong {
  font-size: 0.82rem;
  line-height: 1;
  color: #111827;
}

.listing-stat-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.viewer-review-page .listing-story-footer {
  grid-template-columns: minmax(0, 1.6fr) auto auto;
}

.viewer-review-page .listing-stats-block {
  display: none;
}

.listing-stats-inline .listing-stat-icon {
  font-size: 1rem;
}

.listing-stats-inline span:first-child .listing-stat-icon {
  font-size: 1.15rem;
}

.viewer-review-page .listing-links-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.viewer-review-page .listing-links-block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.listing-actions-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing-actions-inline .listing-inline-save {
  order: 2;
}


.listing-stats-inline span:last-child .listing-stat-icon {
  color: #0EA800;
}

.listing-stat-icon-car {
  display: inline-flex;
  width: 18px;
  height: 12px;
  color: #0EA800;
  line-height: 1;
}

.listing-stat-icon-car svg {
  display: block;
  width: 100%;
  height: 100%;
}

.search-toggle-inline {
  margin-top: 14px;
}


.search-intake-location-toggle {
  border: 0;
  background: transparent;
  min-height: 34px;
  border-radius: 0;
  padding: 0;
  justify-content: flex-start;
}

.search-intake-actions {
  position: sticky;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  margin-top: 22px;
  display: block;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(244,242,238,0) 0%, rgba(244,242,238,0.92) 32%, #f4f2ee 100%);
}

.search-intake-actions .search-intake-done {
  width: 100%;
  min-height: 54px;
}


.search-intake-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.search-intake-location-toggle {
  margin-top: 0;
  color: #1f5132;
}

.search-intake-location-toggle-secondary {
  justify-content: flex-end;
  color: #1f5132;
}

.search-intake-done.results-confirm-button-primary {
  background: #0EA800;
}


.search-intake-location-row {
  gap: 10px;
}

.search-intake-location-toggle {
  font-size: 0.82rem;
  white-space: nowrap;
}

.search-intake-done.results-confirm-button-primary {
  background: #0EA800 !important;
}


.search-intake-row-multi {
  align-items: center;
}

.search-intake-field-stack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-intake-field-stack .search-intake-chip-list:empty {
  display: none;
}

.search-intake-field-stack input {
  flex: 1 1 auto;
}

.filters-search-intake-card {
  margin-bottom: 16px;
}

.filters-search-intake-form {
  gap: 0;
}

.filters-location-display {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
}

.filters-choice-grid-single-line {
  display: grid;
  gap: 8px;
}

.filters-choice-grid-property {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.filters-choice-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.filters-choice-grid-beds {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.filters-choice-grid-single-line .filters-choice-pill {
  min-width: 0;
  min-height: 38px;
  padding: 0 6px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.filters-choice-grid-beds .filters-choice-pill-studio {
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filters-choice-grid-single-line .filters-choice-pill[data-filter-value="townhouse"] {
  min-width: 0;
  padding: 0 6px;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filters-price-slider-block {
  display: grid;
  gap: 12px;
}

.filters-price-values {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
  font-size: 0.84rem;
  font-weight: 700;
}

.filters-price-slider-stack {
  position: relative;
  display: grid;
  gap: 10px;
}

.filters-price-slider-stack::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: #d8dee6;
  border-radius: 999px;
}

.filters-price-slider-stack input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: calc(100% - 24px);
  margin: 0 12px;
  height: 22px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.filters-price-slider-stack input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.filters-price-slider-stack input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0EA800;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(14, 168, 0, 0.22);
  margin-top: -9px;
}

.filters-price-slider-stack input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

.filters-price-slider-stack input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #0EA800;
  box-shadow: 0 4px 12px rgba(14, 168, 0, 0.22);
}

.filters-footer-actions {
  align-items: center;
}

.filters-reset-text {
  border: 0;
  background: transparent;
  padding: 0;
  color: #667085;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: lowercase;

.listing-story-open-house-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 28px;
  user-select: none;
  white-space: nowrap;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
}
  text-align: left;
  justify-self: start;
}

.filters-search-button {
  width: 100%;
}

.filters-screen-v2 {
  padding-bottom: 160px;
}

.filters-footer-actions {
  position: sticky;
  bottom: calc(-12px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.filters-reset-text {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
}

.filters-search-button {
  min-height: 52px;
  display: inline-flex;
}

@media (max-width: 420px) {
  .filters-footer-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Similar listings grid ────────────────────────────────── */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/* ── Mortgage estimate on listing detail ── */
.mortgage-estimate {
  min-height: 60px;
}
.mortgage-loading {
  color: #888;
  font-size: 14px;
  margin: 12px 0;
}
.mortgage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.mortgage-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mortgage-amount {
  font-size: 22px;
  font-weight: 600;
  color: #10213a;
}
.mortgage-total {
  font-size: 26px;
  color: #0a6;
}
.mortgage-label {
  font-size: 13px;
  color: #666;
}
.mortgage-details {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.similar-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-raised, #fff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.similar-card:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.similar-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fill-muted, #f1f5f9);
}

.similar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.similar-price {
  font-size: 0.95rem;
  color: var(--text-emphasis, #0f172a);
}

.similar-details {
  font-size: 0.82rem;
  color: var(--text-secondary, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-address {
  font-size: 0.78rem;
  color: var(--text-tertiary, #94a3b8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Listing inquiry form */
.inquiry-form .form-row {
  margin-bottom: 14px;
}
.inquiry-form .input {
  width: 100%;
}
.inquiry-status {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.inquiry-form textarea.input {
  padding-top: 16px;
  resize: vertical;
  min-height: 80px;
}

/* ── Compare button on listing story cards ─────────────────────── */
.listing-compare-btn {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.listing-compare-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}
.listing-compare-btn.is-compared {
  background: #0EA800;
  border-color: #0EA800;
  color: #fff;
}

/* ── Floating compare bar ──────────────────────────────────────── */
.results-compare-bar {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1f2933;
  color: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
  font-size: 0.88rem;
}
.results-compare-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.results-compare-count {
  font-weight: 700;
  font-size: 1.05rem;
}
.results-compare-label {
  color: #b0b9c6;
}
.results-compare-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.results-compare-actions .button {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 20px;
}
.results-compare-actions .button:disabled {
  opacity: 0.5;
}
.results-compare-actions .button-small {
  padding: 4px 10px;
  font-size: 0.78rem;
}

/* ── Compare page improvements ─────────────────────────────────── */
.compare-table-wrap table th:first-child {
  background: #f8fafa;
  border-right: 2px solid #e5e7eb;
}
.compare-table-wrap table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.88rem;
}
.compare-table-wrap table tbody tr:not(:first-child) th {
  font-size: 0.82rem;
  color: #667085;
}
