:root {
  --blue-950: #032f3a;
  --blue-900: #064e5a;
  --blue-800: #086a78;
  --blue-700: #0a8292;
  --gold: #d3a63c;
  --gold-dark: #8c641a;
  --gold-light: #f0d37a;
  --ivory: #f4f8f6;
  --green: #25d366;
  --ink: #12343b;
  --muted: #5d7478;
  --line: #d4e4e1;
  --surface: #edf7f5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 73, 84, 0.18);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

.network-status {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(430px, calc(100vw - 36px));
  padding: 14px 18px;
  border-left: 4px solid #e2b33b;
  background: #082f3a;
  box-shadow: 0 16px 38px rgba(0, 35, 45, 0.28);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.network-status.is-online {
  border-color: #44b678;
  background: #145b43;
}

.network-status svg {
  width: 20px;
  flex: 0 0 auto;
}

.app-release {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.system-health-panel,
.admin-activity-panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d7e2e4;
}

.system-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.system-health-item {
  min-height: 116px;
  padding: 16px;
  border: 1px solid #d8e4e6;
  background: #f7faf9;
}

.system-health-item span,
.system-health-item small {
  display: block;
  color: var(--muted);
}

.system-health-item strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.system-health-item.is-ok {
  border-top: 3px solid #198754;
}

.system-health-item.is-warning {
  border-top: 3px solid #d99a1b;
}

.admin-activity-list {
  max-height: 420px;
  overflow: auto;
}

.active-admin-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 11px 13px;
  border-left: 3px solid var(--gold);
  background: #fff8e7;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.active-admin-filter button {
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.activity-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e0e8e9;
}

.activity-row p,
.activity-row small {
  margin: 3px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .system-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .system-health-grid {
    grid-template-columns: 1fr;
  }
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

i[data-lucide] {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

i[data-lucide] svg {
  width: 100%;
  height: 100%;
}

[hidden] {
  display: none !important;
}

.content-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

body[data-page="seo"] .home-only,
body[data-page="property"] .home-only {
  display: none !important;
}

.main-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 26px 0;
  color: var(--white);
  transform: translateY(0);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.main-header.is-hidden {
  transform: translateY(-108%);
}

.main-header.is-sticky {
  padding: 10px 22px 12px;
  background: rgba(0, 55, 88, 0.92);
  box-shadow: 0 12px 30px rgba(0, 24, 42, 0.18);
  backdrop-filter: blur(14px);
}

.main-header.is-sticky .brand-mark {
  width: 54px;
  height: 54px;
}

.main-header.is-sticky .brand-copy {
  font-size: 1.45rem;
}

.main-header.is-sticky .main-nav {
  margin-top: 10px;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  min-width: 0;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  transition: width 220ms ease, height 220ms ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.34));
}

.brand-copy {
  display: grid;
  gap: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  transition: font-size 220ms ease;
}

.header-tools {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.currency-control {
  display: grid;
  gap: 4px;
  background: #0097ad;
  color: var(--white);
  padding: 6px 12px 10px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.currency-control select {
  min-width: 126px;
  border: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.language-toggle,
.menu-toggle {
  color: var(--white);
  border: 0;
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav > a,
.main-nav > button,
.nav-item > button {
  color: var(--white);
  border: 0;
  background: transparent;
  padding: 9px 0;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.login-link {
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  padding: 7px 13px !important;
}

.phone-link {
  font-size: 1rem;
}

.nav-item {
  position: relative;
}

.nav-item > button::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 0.8rem;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 250px;
  padding: 0;
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.wide-menu {
  min-width: 316px;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.menu-columns > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.hero {
  min-height: 82vh;
  padding: 184px 20px 92px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0, 34, 62, 0.42), rgba(0, 24, 42, 0.18) 42%, rgba(0, 0, 0, 0.34)),
    url("/assets/cancun-hotel-zone-hero-1920.webp") center / cover;
  color: var(--white);
}

.hero-content {
  width: min(820px, calc(100% - 20px));
  margin: 0 auto;
  text-align: center;
  animation: heroRise 520ms ease-out both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 28px 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.85rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  max-width: 780px;
  margin: -8px auto 24px;
  font-size: 1.02rem;
  font-weight: 600;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-actions a,
.search-panel,
.property-card,
.zone-card,
.type-tile,
.resource-grid a,
.panel-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-actions a:hover,
.property-card:hover,
.zone-card:hover,
.type-tile:hover,
.resource-grid a:hover {
  transform: translateY(-2px);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 28px;
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--muted);
  padding: 0 16px;
  min-height: 52px;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  min-height: 52px;
}

.accent-button,
.primary-button,
.outline-button,
.ghost-button,
.outline-light,
.ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.accent-button {
  background: var(--gold);
  color: #111;
}

.accent-button:hover {
  background: var(--gold-dark);
}

.primary-button {
  background: var(--blue-700);
  color: var(--white);
}

.primary-button:hover {
  background: var(--blue-900);
}

.outline-button {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.ghost-button {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
}

.outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.ghost-light {
  background: transparent;
  color: var(--white);
  border: 0;
  padding-left: 0;
}

.contact-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 32px;
  border: 1px solid var(--line);
  text-align: center;
}

.contact-strip h2 {
  margin: 0;
  padding: 16px 18px;
  color: var(--white);
  background: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.45rem;
  font-weight: 600;
}

.contact-numbers {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-numbers a {
  padding: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  text-align: center;
}

.section-kicker,
.seo-eyebrow {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-home-section,
.ai-validation-home,
.audience-section,
.resource-section {
  padding: 58px 0;
}

.ai-home-grid,
.validation-grid,
.audience-grid,
.seo-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.ai-home-grid h2,
.validation-grid h2,
.audience-grid h2,
.seo-page h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.45rem;
  line-height: 1.12;
  font-weight: 600;
}

.ai-home-grid p,
.validation-grid p,
.audience-grid p,
.seo-page p {
  margin-top: 0;
}

.ai-note-card,
.audience-grid article,
.quick-answer,
.trust-block,
.ai-validation-cta,
.comparative-report-block,
.ai-recommendation-block,
.seo-form-block,
.service-card,
.zone-info-card,
.prompt-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0, 85, 98, 0.06);
}

.ai-note-card {
  background: #eef8fc;
  border-color: #cfe4ef;
}

.ai-note-card h3,
.service-card h3,
.zone-info-card h3,
.prompt-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.ai-validation-home,
.resource-section {
  background: var(--surface);
}

.resource-section .center-heading {
  margin-bottom: 24px;
}

.resource-section .center-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.seo-form {
  display: grid;
  gap: 14px;
}

.resource-grid,
.seo-grid,
.zone-info-grid,
.prompt-grid,
.factor-grid {
  display: grid;
  gap: 14px;
}

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

.resource-grid a,
.internal-links-block a,
.service-card a,
.faq-section a,
.zone-info-card a {
  display: inline-flex;
  align-items: center;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resource-grid a {
  min-height: 108px;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(0, 85, 98, 0.06);
  text-decoration: none;
  line-height: 1.35;
}

.resource-grid a:hover {
  border-color: rgba(8, 118, 173, 0.34);
  box-shadow: 0 16px 34px rgba(0, 85, 98, 0.11);
}

.resource-grid a i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: #eef8fc;
  color: var(--blue-800);
}

.resource-grid a span {
  min-width: 0;
}

.seo-page-hero {
  padding: 196px 0 74px;
  background:
    linear-gradient(180deg, rgba(0, 43, 72, 0.86), rgba(0, 74, 112, 0.72)),
    url("/assets/cancun-hotel-zone-hero-1920.webp") center / cover;
  color: var(--white);
}

.seo-page-hero .seo-eyebrow {
  color: var(--gold);
}

.seo-page-hero h1 {
  max-width: 980px;
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.seo-page-hero p {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: 1.08rem;
  font-weight: 600;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-page-content {
  display: grid;
  gap: 28px;
  padding: 58px 0;
}

.quick-answer {
  border-left: 5px solid var(--gold);
}

.quick-answer > span {
  color: var(--blue-700);
  font-weight: 800;
  text-transform: uppercase;
}

.seo-grid {
  grid-template-columns: repeat(4, 1fr);
}

.seo-columns ul {
  margin: 0;
  padding-left: 20px;
}

.ai-validation-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #eef8fc;
}

.factor-grid {
  grid-template-columns: repeat(5, 1fr);
}

.factor-grid span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 10px;
  background: #eef3f7;
  color: var(--blue-900);
  font-weight: 800;
  text-align: center;
}

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

.prompt-card pre {
  max-height: 260px;
  overflow: auto;
  margin: 0 0 12px;
  padding: 14px;
  background: #071426;
  color: var(--white);
  white-space: pre-wrap;
}

.zone-info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.zone-info-card dl {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}

.zone-info-card dt {
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.zone-info-card dd {
  margin: 0 0 8px;
  color: var(--muted);
}

.faq-section {
  display: grid;
  gap: 10px;
}

.faq-section details {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 16px 18px;
}

.faq-section summary {
  color: var(--blue-900);
  cursor: pointer;
  font-weight: 800;
}

.internal-links-block {
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.internal-links-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.placeholder-note,
.last-updated {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.zones-band {
  background: var(--blue-900);
  color: var(--white);
  padding: 54px 0 48px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.section-heading h2,
.center-heading h2,
.welcome-section h2,
.properties-section h2,
.team-section h2,
.sell-cta h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 600;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.zone-card,
.type-tile,
.more-grid button {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #0b2940;
  text-align: left;
}

.zone-card img,
.type-tile img,
.more-grid img {
  width: 100%;
  height: 214px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.zone-card::after,
.more-grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
}

.zone-card span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.zone-card:hover img,
.type-tile:hover img,
.more-grid button:hover img {
  transform: scale(1.04);
}

.welcome-section,
.type-section,
.properties-section,
.more-section,
.team-section {
  padding: 64px 0;
}

.welcome-section h2 {
  margin-bottom: 20px;
}

.welcome-section p {
  max-width: 1120px;
  margin: 0 0 34px;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--surface);
  margin-top: 42px;
}

.feature-split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: 48px 40px;
}

.feature-copy h3,
.presale-feature h3 {
  margin: 0 0 20px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1.1;
  font-weight: 600;
}

.feature-copy h3::after,
.presale-feature h3::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 18px;
  background: var(--blue-700);
}

.feature-copy p,
.presale-feature p {
  margin: 0 0 20px;
}

.center-heading {
  margin-bottom: 36px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.type-tile {
  color: var(--blue-900);
  background: transparent;
}

.type-tile span {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.type-tile img {
  height: 270px;
}

.presale-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-top: 48px;
  background: var(--surface);
}

.presale-feature > div {
  display: grid;
  align-content: center;
  padding: 44px 40px;
}

.presale-feature img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.properties-section {
  background: #fbfbfb;
}

.category-page {
  padding: 72px 0 38px;
  background:
    linear-gradient(180deg, rgba(0, 51, 84, 0.84), rgba(0, 81, 124, 0.72)),
    url("/assets/cancun-hotel-zone-hero-1280.webp") center / cover;
  color: var(--white);
}

.category-page[hidden] {
  display: none;
}

.category-page .content-wrap {
  display: grid;
  gap: 16px;
}

.breadcrumb {
  margin: 0;
  font-weight: 800;
}

.category-page h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.category-page p:not(.breadcrumb) {
  max-width: 920px;
  margin: 0;
  font-size: 1rem;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.properties-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.active-filter-summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.home-catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 5px solid var(--gold);
  background: #edf5f4;
}

.home-catalog-cta[hidden] {
  display: none;
}

.home-catalog-cta strong {
  display: block;
  color: var(--blue-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.home-catalog-cta p {
  margin: 5px 0 0;
  color: var(--muted);
}

.home-catalog-cta .primary-button {
  flex: 0 0 auto;
}

.property-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #f0f2f4;
}

.filter-controls,
.sort-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.property-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}

.property-toolbar select {
  border: 1px solid var(--blue-700);
  background: var(--white);
  color: var(--blue-900);
  padding: 8px 12px;
  min-width: 150px;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 14px;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.property-card:hover {
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 85, 98, 0.1);
}

.property-image {
  position: relative;
  height: 216px;
  overflow: hidden;
  background: var(--surface);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-row {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  background: var(--blue-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.gold {
  background: var(--gold);
  color: #111;
}

.property-body {
  padding: 16px 18px 18px;
}

.property-price {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 500;
}

.property-title {
  margin: 4px 0 2px;
  color: #071426;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.35;
}

.property-location {
  margin: 4px 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.property-meta {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 4.2em;
  line-height: 1.55;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: normal;
}

.mini-button.primary {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 14px;
}

.more-grid button {
  color: var(--ink);
  background: transparent;
}

.more-grid span {
  display: block;
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.more-grid img {
  height: 122px;
}

.more-grid button::after {
  top: auto;
  height: 122px;
  background: rgba(0, 0, 0, 0.16);
}

.team-section {
  padding-top: 26px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-grid article {
  border: 1px solid var(--line);
  background: var(--white);
}

.team-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 24%;
}

.team-grid h3 {
  margin: 16px 16px 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.team-grid p {
  margin: 0 16px 18px;
  color: var(--muted);
}

.sell-cta {
  background: var(--surface);
  padding: 42px 0;
}

.sell-cta .content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sell-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.sell-cta p {
  margin: 0;
  max-width: 710px;
}

.footer {
  background: var(--blue-900);
  color: var(--white);
  padding: 38px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.2fr 1.1fr 1.5fr;
  gap: 28px;
}

.footer .brand-mark {
  width: 62px;
  height: 62px;
}

.footer .brand-copy {
  font-size: 1.45rem;
}

.footer h3 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer a,
.footer button {
  display: block;
  margin: 0 0 10px;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
  font-size: 0.83rem;
}

.footer-location {
  margin-top: 24px !important;
}

.footer-note {
  margin-top: 38px;
  display: grid;
  gap: 18px;
}

.footer-note p:first-child {
  max-width: 950px;
}

.whatsapp-float {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #222;
}

.whatsapp-float span {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  padding: 8px 12px;
}

.whatsapp-float svg {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  stroke-width: 2.5;
}

.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 18, 31, 0.62);
}

.auth-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.auth-modal h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.property-detail-backdrop {
  align-items: center;
  justify-items: center;
}

.property-detail-modal {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: detailIn 180ms ease-out both;
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1fr);
  min-height: 520px;
}

.property-detail-image {
  position: relative;
  min-height: 420px;
  background: var(--surface);
}

.property-detail-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.property-detail-slide {
  flex: 0 0 100%;
  height: 100%;
  min-height: 420px;
  margin: 0;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  background: #eef3f7;
}

.property-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 9px;
  background: rgba(0, 43, 72, 0.82);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
}

.property-detail-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 44px 42px;
}

.property-detail-copy h2 {
  margin: 0;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.property-detail-price {
  margin: 0;
  color: #071426;
  font-size: 1.3rem;
  font-weight: 800;
}

.property-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.property-detail-meta span {
  display: inline-flex;
  padding: 6px 9px;
  background: #edf4f8;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.property-detail-description {
  max-height: 270px;
  overflow: auto;
  padding-right: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.property-detail-description p {
  margin: 0 0 12px;
}

.property-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.modal-tabs button {
  min-height: 44px;
  border: 0;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 800;
  text-transform: uppercase;
}

.modal-tabs button.active {
  background: var(--blue-900);
  color: var(--white);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 14px;
}

.auth-form h3,
.auth-form > div p {
  margin: 0;
}

.auth-form > div p {
  margin-top: 6px;
  color: var(--muted);
}

/* Intelligence layer: scoped additions that preserve the existing visual system. */
.intelligent-search-label {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intelligent-search-label svg {
  width: 15px;
  height: 15px;
}

.intelligent-search-status {
  margin-top: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue-950);
  box-shadow: 0 6px 20px rgba(3, 47, 58, 0.14);
  font-size: 0.83rem;
}

.intelligent-search-status strong {
  display: block;
  margin-bottom: 6px;
}

.intelligent-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intelligent-filter-chips span {
  padding: 4px 7px;
  border: 1px solid rgba(3, 88, 101, 0.18);
  background: #eef7f6;
  font-size: 0.68rem;
  font-weight: 700;
}

body.admin-session .whatsapp-float {
  display: none !important;
}

.admin-global-tools {
  position: relative;
  z-index: 12;
  margin-bottom: 14px;
}

.admin-global-search-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
}

.admin-global-search-trigger span {
  flex: 1;
}

.admin-global-search-trigger kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: #f2f7f7;
  font-family: inherit;
  font-size: 0.65rem;
}

.admin-global-search {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--gold);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(3, 47, 58, 0.2);
}

.admin-global-search label,
.admin-global-search input {
  width: 100%;
}

.admin-global-search input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.admin-global-results {
  grid-column: 1 / -1;
  max-height: 380px;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.admin-global-results > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
}

.admin-global-results > button:hover,
.admin-global-results > button:focus-visible {
  background: #eef7f6;
}

.admin-global-results > button span {
  flex: 1;
  min-width: 0;
}

.admin-global-results small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.intelligence-summary,
.quality-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.quality-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intelligence-summary article,
.quality-summary-grid article {
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: #fbfdfd;
}

.intelligence-summary span,
.quality-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intelligence-summary strong,
.quality-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-950);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.intelligence-action-list,
#adminIntegrations {
  display: grid;
  gap: 10px;
}

.intelligence-action,
.integration-health-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid #77a39e;
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
}

.intelligence-action > span,
.integration-health-item > div,
.integration-health-item > div span {
  flex: 1;
  min-width: 0;
}

.intelligence-action small,
.integration-health-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
}

.intelligence-action.severity-critical,
.intelligence-action.severity-high,
.integration-health-item.status-error {
  border-left-color: #a43a34;
}

.intelligence-action.severity-medium,
.integration-health-item.status-pending,
.integration-health-item.status-action_required {
  border-left-color: var(--gold-dark);
}

.integration-health-item.status-connected,
.integration-health-item.status-configured {
  border-left-color: #27806f;
}

.integration-health-item > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.integration-health-item svg {
  width: 22px;
  height: 22px;
}

.integration-health-item {
  display: grid;
  align-items: stretch;
}

.integration-health-heading {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
}

.integration-test-recipient {
  display: grid;
  gap: 6px;
  padding-left: 40px;
  font-size: 0.8rem;
  font-weight: 800;
}

.integration-test-recipient input {
  width: min(100%, 440px);
}

.integration-test-footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  margin-left: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.integration-test-footer > span {
  min-width: 0;
}

.data-quality-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.data-quality-columns section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fbfdfd;
}

.data-quality-columns section > button,
.data-quality-columns section > article {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
}

.data-quality-columns section > button span,
.data-quality-columns section > article span {
  flex: 1;
  min-width: 0;
}

.data-quality-columns small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.copilot-context {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.copilot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.copilot-suggestions button,
.copilot-message button {
  padding: 8px 10px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--blue-950);
  font-weight: 700;
}

.copilot-conversation {
  max-height: 440px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f3f8f7;
}

.copilot-message {
  width: min(82%, 720px);
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.copilot-message.user {
  margin-left: auto;
  border-color: var(--blue-700);
  background: var(--blue-950);
  color: var(--white);
}

.copilot-message p {
  margin: 5px 0 0;
}

.copilot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
  align-items: end;
}

.copilot-form textarea {
  width: 100%;
  resize: vertical;
}

@media (max-width: 900px) {
  .intelligence-summary,
  .quality-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-quality-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .intelligence-summary,
  .quality-summary-grid,
  .copilot-form {
    grid-template-columns: 1fr;
  }

  .admin-global-search-trigger kbd {
    display: none;
  }

  .copilot-message {
    width: 94%;
  }

  .integration-health-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Seller intake and document sharing */
.seller-panel-nav {
  position: sticky;
  top: 14px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 12px 28px rgba(9, 45, 54, 0.1);
}

.seller-panel-nav button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--white);
  color: var(--blue-950);
  font: 800 0.72rem/1.2 "Montserrat", Arial, sans-serif;
  cursor: pointer;
}

.seller-panel-nav button:hover,
.seller-panel-nav button:focus-visible,
.seller-panel-nav button.active {
  background: var(--blue-950);
  color: var(--white);
}

.seller-panel-nav svg {
  width: 18px;
  height: 18px;
}

.seller-options-modal,
.guest-sale-modal,
.pdf-share-modal {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  color: var(--blue-950);
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 70px rgba(2, 18, 31, 0.28);
  overscroll-behavior: contain;
}

.seller-options-modal h2,
.guest-sale-modal h2,
.pdf-share-modal h2 {
  max-width: 760px;
  margin: 8px 48px 12px 0;
  color: var(--blue-950);
  font: 700 clamp(2rem, 4vw, 3.15rem)/1.02 "Cormorant Garamond", Georgia, serif;
}

.seller-options-modal .modal-close,
.guest-sale-modal .modal-close,
.pdf-share-modal .modal-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  margin: -10px -10px 0 16px;
  background: var(--white);
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.seller-options-modal > p,
.guest-sale-modal section > p,
.pdf-share-modal > p {
  max-width: 720px;
  color: var(--muted);
}

.seller-option-grid,
.seller-entry-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.seller-option-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-700);
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seller-option-card:hover,
.seller-option-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue-700);
  box-shadow: 0 14px 32px rgba(9, 45, 54, 0.12);
}

.seller-option-card.featured {
  border-top-color: var(--gold);
  background: #f5fbfa;
}

.seller-option-card svg {
  width: 28px;
  height: 28px;
  color: var(--blue-700);
}

.seller-option-card strong {
  font: 700 1.25rem/1.25 "Cormorant Garamond", Georgia, serif;
}

.seller-option-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.seller-option-benefits {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--blue-900);
  font-size: 0.78rem;
  line-height: 1.42;
}

.seller-option-card .seller-option-benefits > span {
  position: relative;
  padding-left: 15px;
  color: var(--blue-900);
  font-size: inherit;
}

.seller-option-benefits > span::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.guest-consent-field {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.guest-consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.guest-consent-field span {
  min-width: 0;
  line-height: 1.45;
}

.contact-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.contact-method-options label {
  cursor: pointer;
}

.contact-method-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-method-options span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-method-options input:checked + span {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
  background: #f4fbfa;
}

.pdf-share-trigger {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #0b74c8;
  background: #0b74c8;
  color: #fff;
  cursor: pointer;
}

.pdf-share-trigger.mini {
  width: 36px;
  min-width: 36px;
  height: 36px;
}

.pdf-share-trigger:hover,
.pdf-share-trigger:focus-visible {
  background: #075b9e;
  border-color: #075b9e;
}

.pdf-share-trigger svg {
  width: 18px;
  height: 18px;
}

.share-mode-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f5faf9;
}

.share-mode-toggle span {
  display: grid;
  gap: 4px;
}

.share-mode-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue-700);
}

.share-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.share-channel-grid button {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  font-weight: 800;
  cursor: pointer;
}

.share-channel-grid button:hover,
.share-channel-grid button:focus-visible {
  border-color: #0b74c8;
  color: #0b74c8;
}

.share-channel-grid button:first-child {
  border-color: #1ca766;
  color: #117a49;
}

.guest-sale-request .request-thumb {
  width: 100%;
  height: clamp(180px, 24vw, 300px);
  object-fit: contain;
  border: 1px solid var(--line);
  background: #eef5f3;
}

.guest-sale-request .request-description {
  white-space: pre-line;
}

.guest-contact-entry .status {
  background: #e7f3f1;
  color: var(--blue-800);
}

.whatsapp-action {
  border-color: #1ca766 !important;
  background: #1ca766 !important;
  color: #fff !important;
}

.seller-entry-choices {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 40px;
  align-items: center;
}

.seller-onboarding-quick {
  border-top: 3px solid var(--gold);
}

@media (max-width: 980px) {
  .seller-panel-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: static;
  }

  .seller-option-grid,
  .seller-entry-choice-grid,
  .seller-entry-choices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .seller-panel-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-panel-nav button {
    min-height: 58px;
    padding: 8px;
  }

  .contact-method-options,
  .share-channel-grid {
    grid-template-columns: 1fr;
  }

  .seller-option-card {
    min-height: auto;
  }
}

.contact-intelligence-modal {
  width: min(1120px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  overflow: auto;
}

.contact-intelligence-hero,
.contact-intelligence-heading,
.contact-timeline li > div > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-intelligence-hero {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-intelligence-hero h3 {
  margin: 8px 0 4px;
  font-family: Georgia, serif;
  font-size: 1.75rem;
}

.contact-intelligence-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.contact-intelligence-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
}

.contact-intelligence-layout > section {
  min-width: 0;
}

.contact-intelligence-heading {
  align-items: baseline;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.contact-intelligence-heading > span {
  color: var(--blue-900);
  font-size: .78rem;
  font-weight: 800;
}

.contact-intelligence-heading small {
  color: var(--muted);
  text-align: right;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-facts > div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-facts dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.inference-panel {
  min-height: 100%;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
}

.inference-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-activity-kpis {
  display: grid;
  grid-template-columns: repeat(8, minmax(86px, 1fr));
  gap: 1px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-activity-kpis > div {
  min-width: 86px;
  padding: 14px 10px;
  background: var(--white);
  text-align: center;
}

.contact-activity-kpis strong,
.contact-activity-kpis span {
  display: block;
}

.contact-activity-kpis strong {
  color: var(--blue-900);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.contact-activity-kpis span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.contact-timeline-section {
  margin-top: 26px;
}

.contact-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-timeline li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  padding: 0 0 20px;
}

.contact-timeline li::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: var(--line);
}

.contact-timeline li:last-child::before {
  display: none;
}

.contact-timeline li > svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
}

.contact-timeline li p {
  margin: 4px 0 6px;
  color: var(--muted);
}

.contact-timeline time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .75rem;
}

.loading-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
}

@media (max-width: 760px) {
  .contact-intelligence-hero,
  .contact-intelligence-heading,
  .contact-timeline li > div > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-intelligence-actions {
    justify-content: flex-start;
  }

  .contact-intelligence-layout,
  .contact-facts {
    grid-template-columns: 1fr;
  }

  .contact-intelligence-heading small {
    text-align: left;
  }
}

/* Completion workflows: account library, brochure review, image analysis and Copilot actions. */
.seller-account-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}

.seller-account-tools > :last-child {
  grid-column: 1 / -1;
}

.seller-property-list,
.saved-search-list,
.seller-tour-list,
.admin-tour-list {
  display: grid;
  gap: 12px;
}

.saved-search-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.alert-capability-status {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--accent, #d1a94b);
  background: color-mix(in srgb, var(--surface, #fff) 92%, var(--accent, #d1a94b));
  color: var(--muted-text, #52666b);
  font-size: 0.86rem;
  line-height: 1.5;
}

.inventory-freshness.needs-review {
  border-color: #c27b36;
  background: #fff4e8;
  color: #8a431b;
}

.quality-review-modal {
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: clamp(22px, 4vw, 40px);
}

.quality-score-display {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line, #d9e1e3);
  background: var(--soft-surface, #f5f9f9);
}

.quality-score-display strong {
  color: var(--primary, #005c67);
  font-family: var(--display-font, Georgia, serif);
  font-size: 2.2rem;
}

.quality-review-modal section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #d9e1e3);
}

.quality-review-modal ul {
  display: grid;
  gap: 7px;
  padding-left: 22px;
}

.quality-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #17643b;
}

.quality-review-note {
  margin-top: 22px;
  color: var(--muted-text, #52666b);
}

.property-version-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.property-version-list article {
  display: grid;
  grid-template-columns: 130px minmax(150px, 0.6fr) 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line, #d9e1e3);
}

@media (max-width: 620px) {
  .property-version-list article {
    grid-template-columns: 1fr;
  }
}

.seller-property-row,
.saved-search-row,
.seller-tour-row,
.admin-tour-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-property-row {
  grid-template-columns: 150px minmax(0, 1fr);
}

.seller-property-row img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.seller-property-row h3,
.saved-search-row h3,
.seller-tour-row h3,
.admin-tour-row h3 {
  margin: 4px 0;
  font-size: 1rem;
}

.seller-property-row p,
.saved-search-row p,
.seller-tour-row p,
.admin-tour-row p,
.seller-property-row small,
.saved-search-row small,
.seller-tour-row small,
.admin-tour-row small {
  margin: 0;
  color: var(--muted);
}

.action-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 140px;
  padding: 24px;
  border: 1px dashed var(--line);
}

.action-empty svg {
  width: 28px;
  height: 28px;
  color: var(--blue-700);
}

.tour-request-modal {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.tour-request-modal > h2 {
  margin: 6px 0 0;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.tour-request-modal > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.admin-tour-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.admin-tour-row label {
  min-width: 180px;
}

.brochure-importer,
.image-analysis-panel,
.copilot-actions-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: #f7fbfa;
}

.brochure-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.brochure-review {
  margin-top: 20px;
}

.brochure-field-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.brochure-field-row {
  display: grid;
  grid-template-columns: auto minmax(150px, 0.4fr) minmax(240px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.brochure-field-row > input {
  margin-top: 8px;
}

.brochure-field-row span {
  display: grid;
}

.brochure-field-row small {
  color: var(--muted);
}

.brochure-field-row textarea {
  width: 100%;
  resize: vertical;
}

.brochure-field-row.is-empty {
  opacity: 0.58;
}

.image-analysis-panel {
  margin-top: 14px;
}

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

.image-analysis-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.image-analysis-row.has-warning {
  border-left: 4px solid #d99d2b;
}

.image-analysis-row img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-analysis-row p,
.image-analysis-row small {
  margin: 3px 0;
  color: var(--muted);
}

.image-analysis-row .keyword-chips {
  margin-top: 7px;
}

.image-analysis-row .keyword-chips span {
  padding: 3px 7px;
  background: var(--surface);
  font-size: 0.66rem;
}

.copilot-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.copilot-feedback button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  cursor: pointer;
}

.copilot-feedback button.active {
  border-color: var(--blue-700);
  background: var(--surface);
}

.copilot-feedback-summary {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
}

.copilot-actions-panel {
  margin-top: 16px;
}

.copilot-actions-panel > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
}

.copilot-actions-panel > p {
  color: var(--muted);
}

.copilot-action-preview {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--gold);
  background: var(--white);
}

.copilot-change {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.copilot-change del {
  color: #8d4343;
}

.copilot-change ins {
  color: #176848;
  text-decoration: none;
  font-weight: 700;
}

.command-palette-label {
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-global-results button > svg {
  width: 19px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .seller-account-tools,
  .image-analysis-grid {
    grid-template-columns: 1fr;
  }

  .seller-account-tools > :last-child {
    grid-column: auto;
  }

  .brochure-field-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .brochure-field-row textarea {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .seller-property-row,
  .saved-search-row,
  .seller-tour-row,
  .admin-tour-row,
  .brochure-upload-row,
  .image-analysis-row {
    grid-template-columns: 1fr;
  }

  .seller-property-row img,
  .image-analysis-row img {
    width: 100%;
    max-height: 240px;
  }

  .brochure-field-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .copilot-change {
    grid-template-columns: 1fr;
  }

  .copilot-change svg {
    transform: rotate(90deg);
  }
}

.phone-registration-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.phone-registration-field legend {
  margin-bottom: 7px;
  font-weight: 700;
}

.phone-registration-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1.4fr);
  gap: 10px;
}

.phone-registration-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .phone-registration-grid {
    grid-template-columns: 1fr;
  }
}

.password-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.password-input-wrap > input {
  width: 100%;
  padding-right: 52px;
}

.password-visibility-button {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-800);
  transform: translateY(-50%);
}

.password-visibility-button:hover,
.password-visibility-button:focus-visible {
  background: #edf5f4;
  color: var(--blue-950);
}

.password-visibility-button svg {
  width: 21px;
  height: 21px;
}

.google-auth-box {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.google-auth-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stacked-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-row:has(> label:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline-color: var(--blue-700);
}

input[type="file"] {
  padding: 10px;
  background: #f7fafc;
}

.file-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.form-section {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 16px;
  margin: 0;
  background: #f7fafc;
}

.form-section legend {
  padding: 0 8px;
  color: var(--blue-900);
  font-weight: 800;
  text-transform: uppercase;
}

.seller-guide {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #cfe4ef;
  background: #f0f8fc;
}

.seller-guide h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1rem;
  text-transform: uppercase;
}

.seller-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.seller-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.seller-help-card h2 {
  margin-bottom: 6px;
}

.seller-help-card p {
  margin: 0;
  color: var(--muted);
}

.map-picker {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.map-picker-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.map-picker h3 {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.map-picker p {
  margin: 0;
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.map-picker iframe,
.google-map-canvas,
.interactive-map-canvas {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  background: #edf3f6;
}

.interactive-map-canvas.leaflet-container {
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 260px;
  background: #dce7ec;
}

.interactive-map-canvas.leaflet-container img,
.interactive-map-canvas.leaflet-container .leaflet-tile {
  width: 256px !important;
  max-width: none !important;
  height: 256px !important;
  max-height: none !important;
}

.map-picker.is-loading-map iframe,
.map-picker.has-interactive-map iframe {
  display: none;
}

.map-picker.map-load-failed .interactive-map-canvas {
  display: none;
}

.map-picker.has-google-map iframe {
  display: none;
}

.draggable-map-pin {
  position: relative;
  border: 0;
  background: transparent;
}

.draggable-map-pin span {
  display: block;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #b42318;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: rotate(-45deg);
}

.draggable-map-pin span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.coordinate-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-help {
  font-size: 0.82rem;
}

.map-help.is-error {
  color: #a52a22;
}

.image-preview {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f7fafc;
}

.image-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.image-preview-header-actions,
.instagram-connection {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.location-quick-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
  padding: 10px 12px;
  border: 1px dashed #b8cbd2;
  background: #f6faf9;
  color: var(--muted);
  font-size: 0.84rem;
}

.image-preview span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.image-preview img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #eef3f7;
}

.image-preview-item {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: grab;
}

.image-preview-item.is-dragging {
  opacity: 0.45;
}

.image-preview-item .image-order {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 3px 6px;
  color: #fff;
  background: var(--blue-900);
  font-size: 0.65rem;
}

.image-preview-actions {
  display: grid;
  grid-template-columns: repeat(3, 30px);
  justify-content: center;
  gap: 5px;
}

.image-preview-actions button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
}

.image-preview-actions button:disabled {
  opacity: 0.35;
  cursor: default;
}

.image-preview-actions button.danger {
  color: #a52a22;
}

.image-preview-actions svg {
  width: 15px;
  height: 15px;
}

.image-caption-field {
  display: grid;
  gap: 4px;
  margin: 0;
}

.image-caption-field span {
  color: var(--blue-900);
  font-size: 0.68rem;
  line-height: 1.3;
  text-transform: none;
}

.image-caption-field textarea {
  width: 100%;
  min-height: 58px;
  padding: 7px 8px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
}

.property-detail-slide figcaption {
  padding: 10px 12px;
  background: #f6f8f8;
  color: var(--muted);
  font-size: 0.86rem;
}

.whatsapp-share-button {
  border-color: #128c4a;
  background: #128c4a;
  color: #fff;
}

.whatsapp-share-button:hover {
  background: #0d733c;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.form-message {
  margin: 0;
  color: var(--blue-900);
  font-weight: 700;
}

.form-message.error {
  color: #b42318;
}

.text-button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  padding: 4px 0;
  font-weight: 800;
}

.text-button.danger {
  color: #b42318;
}

.panel-view {
  min-height: 100vh;
  background: #eef2f5;
}

.panel-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 32px min(5vw, 70px) 44px;
  background:
    linear-gradient(180deg, rgba(0, 47, 76, 0.9), rgba(0, 73, 112, 0.86)),
    url("/assets/cancun-hotel-zone-hero-1920.webp") center / cover;
  color: var(--white);
}

.panel-badge {
  display: inline-flex;
  margin: 18px 0 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
}

.panel-hero h1,
.panel-hero h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1.1;
}

.panel-hero p {
  max-width: 800px;
  margin: 0;
}

.dashboard {
  width: min(1280px, calc(100% - 40px));
  margin: -22px auto 0;
  padding-bottom: 60px;
}

#adminPanel.dashboard {
  width: min(1600px, calc(100% - 28px));
  max-width: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 14px;
  z-index: 12;
  max-height: calc(100vh - 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, var(--blue-900), #007385);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 85, 98, 0.18);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-sidebar-brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.admin-sidebar-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.admin-sidebar-identity img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.28));
}

.sidebar-collapsed .admin-sidebar-identity img {
  width: 36px;
  height: 36px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: inherit;
}

.admin-sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 12px;
  max-height: calc(100vh - 106px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.08);
}

.admin-sidebar-nav button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  padding: 9px 10px;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.admin-sidebar-nav button.active,
.admin-sidebar-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.admin-sidebar-nav b {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  text-align: center;
  font-size: 0.7rem;
}

.admin-main {
  min-width: 0;
  width: 100%;
}

.admin-main [hidden],
#adminOperationsGrid[hidden] {
  display: none !important;
}

.sidebar-collapsed .admin-shell {
  grid-template-columns: 76px minmax(0, 1fr);
}

.sidebar-collapsed .admin-sidebar-brand strong,
.sidebar-collapsed .admin-sidebar-nav span {
  display: none;
}

.sidebar-collapsed .admin-sidebar-nav button {
  grid-template-columns: 1fr;
  justify-items: center;
}

.admin-command-bar {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(0, 85, 98, 0.08);
  backdrop-filter: blur(10px);
}

.admin-command-bar h2 {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.admin-command-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-command-actions .ghost-button,
.admin-command-actions .primary-button {
  min-height: 40px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.admin-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-prompts-card {
  margin-bottom: 22px;
}

.admin-leads-card {
  margin-bottom: 22px;
}

.admin-contacts-card {
  margin-bottom: 22px;
}

.admin-catalogs-card {
  margin-bottom: 22px;
}

.admin-prompts-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-prompts-heading p {
  max-width: 780px;
  margin: -8px 0 0;
  color: var(--muted);
}

.admin-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-prompt-grid details {
  border: 1px solid var(--line);
  background: #fbfcfd;
  padding: 14px;
}

.admin-prompt-grid summary {
  cursor: pointer;
  color: var(--blue-900);
  font-weight: 800;
}

.admin-prompt-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.catalog-page-heading {
  align-items: flex-start;
  gap: 24px;
}

.catalog-page-heading .primary-button {
  flex: 0 0 auto;
}

.catalog-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.catalog-summary article {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #d8e4e7;
  background: #f7fafb;
}

.catalog-summary svg {
  width: 22px;
  color: var(--blue-700);
}

.catalog-summary article div {
  display: grid;
  gap: 2px;
}

.catalog-summary strong {
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.catalog-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  min-width: 0;
}

.catalog-explorer,
.catalog-editor {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 0.32fr) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f4f8f9;
}

.catalog-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--blue-900);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-search-control {
  position: relative;
}

.catalog-search-control svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-search-control input {
  width: 100%;
  padding-left: 42px;
  background: #fff;
}

.catalog-clear-button {
  min-height: 44px;
}

.catalog-level-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-level-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d7e2e5;
  background: #fff;
  color: var(--blue-900);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.catalog-level-tabs button b {
  min-width: 24px;
  padding: 2px 6px;
  background: #e8f0f2;
  color: var(--blue-700);
  font-size: 0.7rem;
}

.catalog-level-tabs button.is-active {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: #fff;
}

.catalog-level-tabs button.is-active b {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.catalog-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.catalog-results-heading > div {
  display: grid;
  gap: 3px;
}

.catalog-results-heading strong {
  color: var(--blue-900);
  font-size: 1rem;
}

.catalog-results-heading small {
  color: var(--muted);
}

.location-catalog-list {
  max-height: 720px;
  overflow-y: auto;
}

.catalog-entry {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1fr) minmax(125px, auto) auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease, box-shadow 150ms ease;
}

.catalog-entry:hover {
  background: #f8fbfb;
}

.catalog-entry.is-editing {
  background: #f1f8f8;
  box-shadow: inset 4px 0 var(--blue-700);
}

.catalog-entry.is-inactive {
  opacity: 0.62;
}

.catalog-entry-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #eaf3f4;
  color: var(--blue-700);
}

.catalog-entry-icon svg {
  width: 19px;
}

.catalog-entry-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.catalog-entry-name {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.catalog-entry-name strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.catalog-entry-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-type-badge,
.catalog-status-badge {
  padding: 3px 6px;
  background: #edf3f4;
  color: var(--blue-700);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-status-badge {
  background: #fff1e9;
  color: #a64016;
}

.catalog-entry-metrics {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-entry-metrics b {
  color: var(--ink);
}

.catalog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.catalog-child-button,
.catalog-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #d3e0e3;
  background: #fff;
  color: var(--blue-700);
  font-weight: 800;
  cursor: pointer;
}

.catalog-child-button {
  gap: 6px;
  padding: 7px 9px;
  font-size: 0.7rem;
}

.catalog-icon-button {
  width: 34px;
  padding: 0;
}

.catalog-child-button svg,
.catalog-icon-button svg {
  width: 15px;
}

.catalog-icon-button.danger {
  color: #b42318;
}

.catalog-editor {
  position: sticky;
  top: 18px;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(5, 49, 62, 0.08);
}

.catalog-editor.is-editing {
  border-color: var(--blue-700);
  box-shadow: 0 14px 34px rgba(5, 92, 105, 0.15);
}

.catalog-editor-heading h3 {
  margin: 6px 0;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.catalog-editor-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.catalog-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.catalog-form > label,
.catalog-advanced-fields label {
  display: grid;
  gap: 6px;
}

.catalog-form label > span,
.catalog-advanced-fields summary {
  color: var(--blue-900);
  font-size: 0.75rem;
  font-weight: 900;
}

.catalog-active-row {
  display: flex !important;
  align-items: center;
  min-height: 40px;
}

.catalog-advanced-fields {
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #f8fafb;
}

.catalog-advanced-fields summary {
  cursor: pointer;
}

.catalog-advanced-fields[open] {
  display: grid;
  gap: 12px;
}

.catalog-form-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.catalog-form-actions button {
  min-height: 44px;
}

.catalog-editor-tip {
  display: flex;
  gap: 9px;
  margin-top: 16px;
  padding: 11px;
  background: #edf6f6;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.catalog-editor-tip svg {
  flex: 0 0 auto;
  width: 17px;
  color: var(--gold);
}

.catalog-empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 56px 24px;
  text-align: center;
}

.catalog-empty-state svg {
  width: 34px;
  color: var(--muted);
}

.catalog-empty-state h3,
.catalog-empty-state p {
  margin: 0;
}

.catalog-empty-state p {
  max-width: 420px;
  color: var(--muted);
}

.listing-excerpt,
.listing-more p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.listing-more summary {
  cursor: pointer;
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card {
  min-height: 142px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 85, 98, 0.06);
}

.insight-card.priority {
  border-color: rgba(8, 118, 173, 0.36);
  background: linear-gradient(180deg, #ffffff, #eef8fc);
}

.insight-card > span,
.panel-card-subhead span,
.detail-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  margin: 6px 0;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.zone-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 10px;
}

.zone-pill-row small,
.listing-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
  background: #eef3f7;
  color: var(--blue-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.dashboard-grid.admin-layout {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 85, 98, 0.08);
}

#adminPanel .panel-card {
  padding: clamp(22px, 2.2vw, 34px);
}

.panel-card h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.panel-card-subhead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel-card-subhead span:last-child {
  color: #697586;
  text-transform: none;
}

.listings-subhead {
  margin-top: 22px;
}

.request-list,
.lead-list,
.contact-list,
.admin-listings {
  display: grid;
  gap: 12px;
}

.admin-requests-card .request-list,
.admin-leads-card .lead-list,
.admin-contacts-card .contact-list,
.admin-listings-card .admin-listings {
  max-height: 720px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-700) #edf2f6;
}

.request-admin-entry {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.request-admin-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lead-admin-entry {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  padding: 16px;
}

.lead-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.lead-filter-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-filter-tabs button.active {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
}

.lead-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.lead-header h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 1.05rem;
}

.lead-header p,
.lead-header small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.lead-header > strong {
  color: var(--blue-900);
  white-space: nowrap;
}

.lead-contact-grid,
.lead-payload {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lead-contact-grid > div,
.lead-payload > div {
  min-width: 0;
  padding: 10px;
  background: #f4f7f9;
}

.lead-contact-grid span,
.lead-payload span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-contact-grid strong,
.lead-payload strong {
  display: block;
  min-width: 0;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
}

.lead-more summary {
  cursor: pointer;
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-actions a {
  text-decoration: none;
}

.contact-entry {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  padding: 16px;
}

.contact-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.contact-main h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.contact-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-main > strong {
  color: var(--blue-900);
  overflow-wrap: anywhere;
}

.request-item,
.listing-item,
.stat-card {
  border: 1px solid var(--line);
  background: #fbfcfd;
  padding: 14px;
}

.detailed-request,
.detailed-listing {
  background: var(--white);
}

.request-item-header,
.listing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.request-item-header > strong,
.listing-heading > strong {
  color: var(--blue-900);
  font-size: 0.98rem;
  text-align: right;
  white-space: nowrap;
}

.request-thumb {
  width: 100%;
  height: 170px;
  margin: 0 0 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.detail-grid > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  background: #f4f7f9;
}

.detail-grid strong,
.detail-grid small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.request-description {
  margin-top: 12px !important;
}

.request-date {
  font-weight: 800;
}

.detailed-listing {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.detailed-listing > img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: contain;
  background: #eef3f7;
}

.listing-content {
  min-width: 0;
}

.listing-heading {
  margin-bottom: 6px;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
}

.request-item h3,
.listing-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.request-item p,
.listing-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-institutional-button {
  border-color: #c9a84f;
  color: #003f5c;
  background: #fff8df;
}

.pdf-neutral-button {
  border-color: #9eacb3;
  color: #344b57;
  background: #f7f9fa;
}

.admin-module-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-module-heading h2 {
  margin-bottom: 8px;
}

.admin-module-heading p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
}

.valuation-form,
.task-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: #f7fafc;
}

.task-form {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.task-reminder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px !important;
  color: var(--blue-700) !important;
  font-weight: 700;
}

.task-reminder svg {
  width: 16px;
  height: 16px;
}

.wide-data-list {
  display: grid;
  gap: 12px;
}

.wide-row {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.wide-row-main {
  min-width: 0;
}

.wide-row-main h3 {
  margin: 6px 0 4px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.wide-row-main p,
.wide-row > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wide-row-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wide-row-metrics div {
  padding: 10px;
  background: #eef3f7;
}

.wide-row-metrics span,
.operation-card span,
.analytics-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wide-row-metrics strong,
.operation-card strong,
.analytics-card strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
}

.compact-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.smart-map-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.smart-map-grid iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
}

.analytics-grid,
.operation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.analytics-grid {
  grid-template-columns: 1fr;
}

.analytics-summary-grid,
.analytics-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.analytics-summary-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--caribbean, #00a2b8);
  background: #fff;
}

.analytics-summary-card i {
  color: #0c739d;
}

.analytics-summary-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.analytics-summary-card strong {
  color: var(--blue-900);
  font: 700 1.65rem/1 "Playfair Display", Georgia, serif;
}

.analytics-card,
.operation-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.analytics-card h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
}

.analytics-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.analytics-funnel-card,
.analytics-property-card {
  margin-top: 14px;
}

.analytics-note {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.analytics-funnel {
  display: grid !important;
  gap: 10px;
}

.analytics-funnel-row {
  display: grid !important;
  grid-template-columns: minmax(160px, 0.38fr) minmax(180px, 1fr) 50px;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
  border: 0 !important;
}

.analytics-funnel-row > div {
  height: 12px;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  background: #e7eff2;
}

.analytics-funnel-row > div i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #006c83, #00a9b7);
}

.analytics-table-wrap {
  display: block !important;
  overflow-x: auto;
  padding: 0 !important;
  border: 0 !important;
}

.analytics-property-card td:first-child {
  min-width: 260px;
}

.analytics-property-card td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.analytics-breakdown-grid {
  margin-top: 14px;
}

.operation-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.operation-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.quality-missing {
  margin: 8px 0 !important;
  color: #8a5b00 !important;
  font-weight: 700;
}

.listing-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.listing-metrics-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keyword-editor {
  display: grid;
  gap: 8px;
}

.keyword-editor > label {
  font-weight: 700;
}

.keyword-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.keyword-chips,
.listing-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.keyword-chips button,
.listing-keywords span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #d6c38d;
  color: #594313;
  background: #fbf5e4;
  font-size: 0.76rem;
  font-weight: 800;
}

.keyword-chips svg {
  width: 14px;
  height: 14px;
}

.character-counter {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  text-align: right;
}

.admin-listing-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(5, minmax(125px, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f5f8f9;
}

.admin-listing-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-input-with-icon {
  position: relative;
}

.search-input-with-icon svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #58707d;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input-with-icon input {
  width: 100%;
  padding-left: 40px;
}

.listing-keywords {
  margin: 8px 0 10px;
}

button[aria-busy="true"]::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-block;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -3px;
  animation: saving-spinner 700ms linear infinite;
}

@keyframes saving-spinner {
  to { transform: rotate(360deg); }
}

.listing-side-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.listing-side-panel article {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f7fafc;
}

.listing-side-panel span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-side-panel strong {
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.listing-side-panel p {
  margin: 0;
  color: var(--muted);
}

.status {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #e8eef4;
  color: var(--blue-900);
}

.status.pending {
  background: #fff4cf;
  color: #7b5a00;
}

.status.approved {
  background: #dcfce7;
  color: #166534;
}

.status.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status.new {
  background: #e0f2fe;
  color: #075985;
}

.status.contacted {
  background: #dcfce7;
  color: #166534;
}

.status.closed {
  background: #e5e7eb;
  color: #374151;
}

.status.status-active,
.status.score-hot {
  background: #dcfce7;
  color: #166534;
}

.status.status-disabled,
.status.status-archived,
.status.score-cold {
  background: #e5e7eb;
  color: #374151;
}

.status.status-draft,
.status.status-pending,
.status.score-warm {
  background: #fff4cf;
  color: #7b5a00;
}

.status.status-sold,
.status.status-rented,
.status.score-premium,
.status.priority-premium,
.status.priority-urgent {
  background: var(--gold);
  color: #111;
}

.status.priority-high {
  background: #fee2e2;
  color: #991b1b;
}

.status.priority-medium {
  background: #e0f2fe;
  color: #075985;
}

.status.priority-low {
  background: #eef3f7;
  color: var(--muted);
}

.mini-button.danger {
  border-color: #fecaca;
  color: #991b1b;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  background: var(--white);
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.stat-card:hover,
.stat-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 85, 98, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.stat-card strong {
  display: block;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card small {
  display: block;
  margin-top: 10px;
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-help-card-top {
  margin-bottom: 22px;
}

.seller-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.seller-action-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 85, 98, 0.06);
}

.seller-action-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
}

.seller-action-card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
}

.seller-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1160px) {
  .main-nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .brand-copy {
    font-size: 1.65rem;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 980px) {
  .main-header {
    padding: 14px 16px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-tools {
    align-items: center;
  }

  .currency-control {
    font-size: 0.72rem;
    padding: 5px 8px 8px;
  }

  .language-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .main-nav {
    display: none;
    margin-top: 14px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(0, 79, 123, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .main-nav > button,
  .nav-item > button {
    width: 100%;
    text-align: left;
    padding: 12px !important;
  }

  .nav-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    background: rgba(0, 55, 86, 0.95);
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: block;
  }

  .hero {
    min-height: 78vh;
    padding: 160px 20px 70px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-kicker {
    font-size: 1.25rem;
  }

  .section-heading,
  .properties-title-row,
  .home-catalog-cta,
  .sell-cta .content-wrap,
  .admin-command-bar,
  .panel-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-catalog-cta .primary-button {
    width: 100%;
    text-align: center;
  }

  .property-grid,
  .zone-grid,
  .type-grid,
  .team-grid,
  .seller-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .filter-controls,
  .sort-controls {
    align-items: stretch;
  }

  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-detail-image {
    min-height: 320px;
  }

  .property-detail-slide {
    min-height: 320px;
  }

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

  .feature-split,
  .presale-feature,
  .dashboard-grid,
  .dashboard-grid.admin-layout,
  .admin-shell,
  .listing-workspace,
  .ai-home-grid,
  .validation-grid,
  .audience-grid,
  .seo-columns {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .seo-grid,
  .zone-info-grid,
  .factor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-prompt-grid {
    grid-template-columns: 1fr;
  }

  .catalog-form,
  .location-catalog-list,
  .valuation-form,
  .task-form,
  .smart-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-row-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar {
    position: static;
    max-height: none;
  }

  .admin-sidebar-nav {
    max-height: 58vh;
  }

  .sidebar-collapsed .admin-sidebar-nav {
    display: none;
  }

  .sidebar-collapsed .admin-sidebar-brand strong {
    display: block;
  }

  .sidebar-collapsed .admin-sidebar {
    max-height: none;
  }

  #adminPanel.sidebar-collapsed .admin-shell {
    grid-template-columns: 1fr;
  }

  #adminPanel.sidebar-collapsed .admin-sidebar {
    width: 100%;
  }

  .admin-command-actions {
    justify-content: flex-start;
  }

  .admin-requests-card .request-list,
  .admin-leads-card .lead-list,
  .admin-contacts-card .contact-list,
  .admin-listings-card .admin-listings {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

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

@media (max-width: 680px) {
  .content-wrap,
  .dashboard,
  .contact-strip {
    width: min(100% - 24px, 1180px);
  }

  .brand-row {
    align-items: center;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy {
    font-size: 1.1rem;
  }

  .header-tools {
    gap: 6px;
  }

  .currency-control {
    max-width: 150px;
  }

  .currency-control select {
    min-width: 0;
    width: 100%;
  }

  .hero {
    min-height: 74vh;
    padding: 132px 12px 42px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .ai-validation-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .accent-button,
  .hero-actions .outline-button,
  .ai-validation-cta .primary-button {
    width: 100%;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .contact-strip h2,
  .section-heading h2,
  .center-heading h2,
  .welcome-section h2,
  .properties-section h2,
  .sell-cta h2 {
    font-size: 2.05rem;
  }

  .contact-numbers,
  .property-grid,
  .zone-grid,
  .type-grid,
  .team-grid,
  .seller-action-grid,
  .more-grid,
  .catalog-form,
  .location-catalog-list,
  .valuation-form,
  .task-form,
  .smart-map-grid,
  .wide-row-metrics,
  .compact-row,
  .admin-shell,
  .listing-workspace,
  .resource-grid,
  .admin-insights,
  .stats-grid,
  .footer-grid,
  .form-row,
  .form-row:has(> label:nth-child(3)),
  .detail-grid,
  .lead-contact-grid,
  .lead-payload,
  .detailed-listing,
  .seo-grid,
  .zone-info-grid,
  .prompt-grid,
  .resource-grid,
  .factor-grid {
    grid-template-columns: 1fr;
  }

  .seo-page-hero {
    padding: 136px 0 50px;
  }

  .ai-home-grid h2,
  .validation-grid h2,
  .audience-grid h2,
  .seo-page h2 {
    font-size: 2rem;
  }

  .admin-command-bar {
    position: static;
    padding: 16px;
  }

  #adminPanel.dashboard {
    width: min(100% - 20px, 100%);
  }

  .smart-map-grid iframe {
    min-height: 360px;
  }

  .admin-command-actions {
    width: 100%;
  }

  .admin-command-actions .ghost-button,
  .admin-command-actions .primary-button {
    width: 100%;
  }

  .panel-card-subhead {
    flex-direction: column;
  }

  .detailed-listing > img {
    height: 190px;
  }

  .request-item-header,
  .listing-heading,
  .lead-header,
  .contact-main,
  .map-picker-copy,
  .seller-help-card {
    flex-direction: column;
  }

  .map-actions,
  .seller-help-card .primary-button {
    width: 100%;
  }

  .map-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .request-item-header > strong,
  .listing-heading > strong {
    text-align: left;
  }

  .contact-numbers a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
  }

  .contact-numbers a:last-child {
    border-bottom: 0;
  }

  .welcome-section,
  .type-section,
  .properties-section,
  .more-section,
  .team-section {
    padding: 42px 0;
  }

  .feature-copy,
  .presale-feature > div,
  .panel-card,
  .auth-modal {
    padding: 20px;
  }

  .feature-copy h3,
  .presale-feature h3 {
    font-size: 2rem;
  }

  .property-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .property-toolbar label,
  .filter-controls,
  .sort-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .property-toolbar select {
    min-width: 0;
  }

  .property-detail-copy {
    padding: 28px 20px;
  }

  .property-detail-image {
    min-height: 260px;
  }

  .property-detail-slide {
    min-height: 260px;
  }

  .property-detail-description {
    max-height: none;
  }

  .image-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-hero h1 {
    font-size: 2.25rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float span {
    display: none;
  }
}
/* Operational admin platform */
.panel-hero-actions,
.inline-actions,
.form-actions,
.drawer-heading,
.table-heading,
.library-filters,
.buyer-filters,
.analytics-filters,
.followup-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(0, 44, 67, 0.32);
  cursor: pointer;
}

.notification-button b {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #002f46;
  background: #ffd000;
  font: 700 11px/1 Arial, sans-serif;
}

.seller-notification-drawer,
.admin-notification-drawer {
  position: fixed;
  z-index: 1500;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100dvh;
  padding: 28px;
  overflow: auto;
  background: #fff;
  border-left: 1px solid #d7e0e5;
  box-shadow: -18px 0 48px rgba(0, 43, 65, 0.18);
}

.notification-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.notification-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e2e7;
  background: #fff;
}

.notification-item.unread {
  border-left: 4px solid #00a2b8;
  background: #f3f9fc;
}

.notification-item i {
  color: #0c739d;
}

.notification-item h3,
.notification-item p {
  margin: 0;
}

.notification-item p,
.notification-item time {
  color: #607386;
  font-size: 13px;
}

.seller-action-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.seller-action-card .text-button {
  width: max-content;
  margin-top: auto;
}

.seller-service-card {
  margin-bottom: 20px;
}

.module-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.module-form-grid > h3 {
  margin: 0;
}

.listing-mode-intro {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
}

.listing-mode-intro h3,
.listing-mode-intro p {
  margin: 4px 0 0;
}

.listing-mode-intro p {
  max-width: 900px;
  color: var(--muted);
}

.module-form-grid label,
.media-toolbar label,
.analytics-filters label {
  display: grid;
  align-content: start;
  gap: 7px;
  font-weight: 700;
}

.span-2 {
  grid-column: 1 / -1;
}

.compact-form {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #d8e2e7;
  background: #f8fafb;
}

.inline-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.inline-actions input {
  min-width: 260px;
}

.buyer-filters,
.library-filters,
.analytics-filters {
  margin: 18px 0;
  padding: 12px;
  background: #f4f7f9;
  border: 1px solid #dce4e8;
}

.buyer-filters input,
.library-filters input {
  flex: 1;
}

.seller-readiness-legend {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #405a69;
  background: #edf5f8;
  border-left: 4px solid #00a2b8;
}

.ai-workspace,
.pdf-workspace,
.module-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.35fr);
  gap: 24px;
}

.pdf-workspace {
  grid-template-columns: minmax(400px, 1.05fr) minmax(340px, 1.25fr);
}

.ai-tool-sidebar,
.ai-result-panel,
.pdf-preview,
.module-split > form,
.module-split > section {
  padding: 22px;
  border: 1px solid #d7e1e6;
  background: #fff;
}

.ai-tool-sidebar {
  display: grid;
  gap: 15px;
  align-content: start;
  background: #f6f9fa;
}

.ai-tool-sidebar label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.ai-result-panel textarea {
  width: 100%;
  margin: 18px 0;
  font-family: inherit;
}

.prompt-reference {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #d7e1e6;
}

.prompt-reference summary {
  cursor: pointer;
  font-weight: 800;
  color: #005b83;
}

.analytics-filters {
  justify-content: flex-end;
}

.analytics-filters label {
  min-width: 180px;
}

.marketing-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.instagram-workspace {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid #dec9d8;
  background: linear-gradient(135deg, #fff 0%, #fff7fb 54%, #f6f3ff 100%);
}

.instagram-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.instagram-heading h3 {
  margin: 5px 0 6px;
  color: var(--blue-900);
  font-size: 1.3rem;
}

.instagram-heading p {
  margin: 0;
  color: var(--muted);
}

.module-split > form {
  align-content: start;
  background: #f8fafb;
}

.pdf-preview {
  min-height: 390px;
  background: #fdfdfd;
  box-shadow: 0 10px 24px rgba(0, 44, 67, 0.08);
}

.pdf-preview h3 {
  margin: 22px 0 8px;
  font-size: 30px;
}

.pdf-preview .preview-price {
  margin: 18px 0;
  color: #006d99;
  font-size: 24px;
  font-weight: 800;
}

.table-heading {
  justify-content: space-between;
  margin: 28px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce4e8;
}

.media-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #f5f8fa;
  border: 1px solid #d9e3e8;
}

.media-library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-card {
  min-width: 0;
  border: 1px solid #d8e1e6;
  background: #fff;
}

.media-card-preview {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #0b719b;
  background: #edf4f7;
}

.media-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-card-body {
  padding: 13px;
}

.media-card-body strong,
.media-card-body span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card-body span {
  margin-top: 4px;
  color: #637584;
  font-size: 12px;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d7e1e6;
}

.settings-tabs button {
  padding: 12px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #526776;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.settings-tabs button.active {
  color: #005c83;
  border-color: #00a2b8;
}

.settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8e1e6;
}

.permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.response-modal-backdrop {
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
}

.response-modal {
  display: flex;
  flex-direction: column;
  width: min(1160px, 96vw);
  height: min(880px, calc(100dvh - 44px));
  max-height: calc(100dvh - 44px);
  min-height: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 31, 47, 0.32);
}

.response-modal-header {
  position: relative;
  flex: 0 0 auto;
  padding: 24px 64px 20px 28px;
  color: #fff;
  background: #00788a;
}

.response-modal-header h2,
.response-modal-header p {
  margin: 0;
}

.static-close {
  top: 18px;
  right: 18px;
}

.response-modal-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  min-height: 0;
  overflow: hidden;
}

.response-modal-body > * {
  min-width: 0;
}

.request-context-panel,
.response-form {
  min-height: 0;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.request-context-panel {
  background: #f4f7f9;
  border-right: 1px solid #d7e0e5;
}

.request-context-panel h3 {
  margin-top: 26px;
}

.response-form {
  display: grid;
  gap: 15px;
  align-content: start;
}

.response-form .form-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  margin: 0 -4px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.response-form > label,
.followup-fields label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.message-timeline {
  display: grid;
  gap: 12px;
}

.timeline-message {
  padding: 12px 14px;
  border-left: 3px solid #9cb1bc;
  background: #fff;
}

.timeline-message.admin {
  border-color: #0b84b5;
}

.timeline-message p,
.timeline-message small {
  margin: 0;
}

.confirm-modal {
  width: min(440px, 92vw);
  padding: 30px;
  text-align: center;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 31, 47, 0.3);
}

.confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #9a4000;
  background: #fff0dd;
  border-radius: 50%;
}

.confirm-modal .form-actions {
  justify-content: center;
}

.danger-button {
  padding: 12px 18px;
  border: 1px solid #a52b2b;
  color: #fff;
  background: #a52b2b;
  font-weight: 800;
  cursor: pointer;
}

.admin-whatsapp-card {
  min-height: 680px;
  margin-bottom: 22px;
  overflow: hidden;
}

.module-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-module-heading {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.whatsapp-module-heading h2 {
  margin-bottom: 4px;
}

.whatsapp-status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 6px 0 14px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.whatsapp-status-line .icon-button {
  color: var(--blue-900);
  border-color: transparent;
}

.whatsapp-connection-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8ca0a4;
  box-shadow: 0 0 0 4px rgba(93, 116, 120, 0.12);
}

.whatsapp-connection-dot.connected {
  background: #168b55;
  box-shadow: 0 0 0 4px rgba(22, 139, 85, 0.14);
}

.whatsapp-connection-dot.pending {
  background: #d3a63c;
  box-shadow: 0 0 0 4px rgba(211, 166, 60, 0.16);
}

.whatsapp-connection-dot.error {
  background: #a52b2b;
  box-shadow: 0 0 0 4px rgba(165, 43, 43, 0.13);
}

.whatsapp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}

.whatsapp-kpis > div {
  display: grid;
  gap: 3px;
  min-height: 82px;
  align-content: center;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.whatsapp-kpis > div:last-child {
  border-right: 0;
}

.whatsapp-kpis span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-kpis strong {
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.whatsapp-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}

.whatsapp-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.whatsapp-tabs button:last-child {
  border-right: 0;
}

.whatsapp-tabs button.active {
  color: var(--white);
  background: var(--blue-900);
}

.whatsapp-tab-panel {
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}

.whatsapp-connection-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: 510px;
  padding: clamp(26px, 4vw, 54px);
}

.whatsapp-qr-stage {
  display: grid;
  place-items: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
  justify-self: center;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10, 130, 146, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(10, 130, 146, 0.06) 1px, transparent 1px),
    #f8fbfa;
  background-size: 24px 24px;
}

.whatsapp-qr-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.whatsapp-qr-placeholder {
  display: grid;
  place-items: center;
  gap: 13px;
  max-width: 220px;
  color: var(--muted);
  text-align: center;
}

.whatsapp-qr-placeholder i[data-lucide] {
  width: 62px;
  height: 62px;
  color: var(--blue-700);
}

.whatsapp-connection-copy h3,
.whatsapp-chatbot-intro h3,
.whatsapp-leads-heading h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.whatsapp-connection-copy > p,
.whatsapp-chatbot-intro > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.whatsapp-account-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.whatsapp-account-data div {
  min-width: 0;
  padding: 14px 13px;
  border-right: 1px solid var(--line);
}

.whatsapp-account-data div:last-child {
  border-right: 0;
}

.whatsapp-account-data dt {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-account-data dd {
  margin: 4px 0 0;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-connection-actions {
  flex-wrap: wrap;
}

.whatsapp-chatbot-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: 520px;
  padding: clamp(26px, 4vw, 54px);
}

.whatsapp-ai-state {
  margin-top: 22px;
  padding: 14px;
  border-left: 3px solid var(--blue-700);
  background: var(--surface);
  color: var(--muted);
}

.whatsapp-ai-state strong {
  display: block;
  color: var(--blue-900);
}

.whatsapp-chatbot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.whatsapp-chatbot-form label:not(.toggle-row) {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.whatsapp-chatbot-form input,
.whatsapp-chatbot-form textarea,
.whatsapp-chat-search input,
.whatsapp-message-composer textarea,
.whatsapp-leads-heading select,
.whatsapp-lead-row input,
.whatsapp-lead-row select,
.whatsapp-lead-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
}

.whatsapp-chatbot-form input:focus,
.whatsapp-chatbot-form textarea:focus,
.whatsapp-chat-search input:focus,
.whatsapp-message-composer textarea:focus,
.whatsapp-lead-row input:focus,
.whatsapp-lead-row select:focus,
.whatsapp-lead-row textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(10, 130, 146, 0.12);
}

.toggle-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.toggle-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.toggle-row span {
  display: grid;
  gap: 2px;
}

.toggle-row small {
  color: var(--muted);
}

.whatsapp-chat-workspace {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  height: min(700px, calc(100vh - 190px));
  min-height: 560px;
  padding: 0;
}

.whatsapp-chat-list-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #f8fbfa;
}

.whatsapp-chat-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 14px;
  padding-left: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.whatsapp-chat-search input {
  border: 0;
  padding-left: 0;
}

.whatsapp-chat-list {
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.whatsapp-chat-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.whatsapp-chat-item:hover,
.whatsapp-chat-item.active {
  background: #fff;
}

.whatsapp-chat-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-900);
  color: #fff;
  font-weight: 800;
}

.whatsapp-chat-copy {
  min-width: 0;
}

.whatsapp-chat-copy strong,
.whatsapp-chat-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-chat-copy span,
.whatsapp-chat-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.whatsapp-chat-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.whatsapp-unread-badge {
  min-width: 21px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--green);
  color: #063c24;
  font-weight: 900;
  text-align: center;
}

.whatsapp-conversation-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-width: 0;
  min-height: 0;
  background: #f3f8f7;
}

.whatsapp-conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.whatsapp-conversation-header > div:first-child {
  display: grid;
}

.whatsapp-conversation-header span {
  color: var(--muted);
  font-size: 0.78rem;
}

.whatsapp-message-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  padding: 22px;
  overflow-y: auto;
  background-color: #edf7f5;
  background-image: radial-gradient(rgba(6, 78, 90, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

.whatsapp-message {
  width: fit-content;
  max-width: min(78%, 680px);
  padding: 9px 12px 7px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 12px rgba(3, 47, 58, 0.06);
}

.whatsapp-message.outgoing {
  align-self: flex-end;
  border-color: #b9ddd6;
  background: #dff3ed;
}

.whatsapp-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.whatsapp-message small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  text-align: right;
}

.whatsapp-message-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.whatsapp-message-composer textarea {
  min-height: 54px;
  max-height: 130px;
  resize: vertical;
}

.whatsapp-message-composer button {
  min-width: 110px;
}

#whatsappMessageFormMessage {
  min-height: 0;
  margin: 0;
  padding: 0 14px 8px;
  background: #fff;
}

.whatsapp-leads-heading {
  align-items: end;
  padding: 24px 24px 14px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.whatsapp-leads-heading h3 {
  margin-bottom: 4px;
  font-size: 1.7rem;
}

.whatsapp-lead-list {
  display: grid;
  gap: 10px;
  max-height: 660px;
  padding: 18px;
  overflow-y: auto;
}

.whatsapp-lead-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(130px, 0.8fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fbfdfc;
}

.whatsapp-lead-identity {
  align-self: center;
  min-width: 0;
}

.whatsapp-lead-identity strong,
.whatsapp-lead-identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-lead-identity span {
  color: var(--muted);
  font-size: 0.78rem;
}

.whatsapp-lead-row label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-lead-row .mini-button {
  min-height: 42px;
}

@media (max-width: 1180px) {
  .whatsapp-chat-workspace {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .whatsapp-lead-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .whatsapp-lead-identity {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .whatsapp-module-heading,
  .whatsapp-leads-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-kpis > div:nth-child(2) {
    border-right: 0;
  }

  .whatsapp-kpis > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .whatsapp-connection-layout,
  .whatsapp-chatbot-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-chat-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }

  .whatsapp-chat-list-pane {
    max-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .whatsapp-conversation-pane {
    height: 600px;
  }
}

@media (max-width: 560px) {
  .whatsapp-tabs button {
    min-height: 58px;
    flex-direction: column;
    gap: 3px;
    font-size: 0.7rem;
  }

  .whatsapp-account-data,
  .whatsapp-chatbot-form,
  .whatsapp-lead-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-account-data div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .whatsapp-account-data div:last-child {
    border-bottom: 0;
  }

  .whatsapp-lead-identity {
    grid-column: auto;
  }

  .whatsapp-message {
    max-width: 90%;
  }

  .whatsapp-message-composer {
    grid-template-columns: 1fr;
  }
}

.toast-stack {
  position: fixed;
  z-index: 2400;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.app-toast {
  width: min(390px, calc(100vw - 44px));
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: #fff;
  background: #064c69;
  box-shadow: 0 10px 30px rgba(0, 33, 50, 0.2);
  animation: toast-in 180ms ease-out;
}

.app-toast.error {
  background: #8f2828;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #dbe4e8;
}

.data-table th {
  color: #536876;
  font-size: 11px;
  text-transform: uppercase;
}

.data-table td {
  font-size: 14px;
}

.map-intelligence-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  background: #f4f7f9;
  border: 1px solid #d9e2e7;
}

.map-property-list {
  max-height: 420px;
  margin-top: 14px;
  overflow: auto;
}

.map-result-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.guided-search {
  display: grid;
  grid-template-columns: 1.2fr repeat(6, minmax(110px, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 30px;
  padding: 22px;
  color: #fff;
  background: #00788a;
}

.guided-search h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.guided-search label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.guided-search input,
.guided-search select {
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.35);
}

.property-save-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.property-save-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #00788a;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
}

.property-save-actions button.active {
  color: #fff;
  background: #007daa;
}

.compare-tray {
  position: sticky;
  z-index: 14;
  bottom: 14px;
  margin: 24px 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  color: #fff;
  background: #003e5a;
  box-shadow: 0 12px 32px rgba(0, 35, 52, 0.22);
}

.compare-tray > div:nth-child(2) {
  display: flex;
  gap: 8px;
  overflow: auto;
}

.compare-tray > div:nth-child(2) button {
  width: min(230px, 42vw);
  min-width: 170px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.compare-tray img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.compare-tray span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-alert-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #d8e2e7;
  background: #f4f8fa;
}

.property-alert-form h3,
.property-alert-form p {
  margin: 0;
}

.property-alert-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.property-alert-form .form-message {
  grid-column: 2 / -1;
}

.compare-modal {
  width: min(1100px, 96vw);
  padding: 34px;
}

.compare-table-wrap {
  overflow: auto;
}

.compare-table th {
  min-width: 150px;
}

.compare-table thead th:not(:first-child) {
  min-width: 220px;
}

.compare-table img {
  width: 100%;
  height: 120px;
  margin-bottom: 8px;
  object-fit: cover;
}

@media (max-width: 1050px) {
  .ai-workspace,
  .pdf-workspace,
  .module-split,
  .response-modal-body {
    grid-template-columns: 1fr;
  }

  .response-modal-body {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .request-context-panel,
  .response-form {
    overflow: visible;
  }

  .media-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-library,
  .marketing-kpis,
  .map-intelligence-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guided-search,
  .property-alert-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .module-form-grid,
  .settings-fields,
  .permission-grid,
  .media-toolbar,
  .media-library,
  .marketing-kpis,
  .map-intelligence-toolbar {
    grid-template-columns: 1fr;
  }

  .guided-search,
  .property-alert-form,
  .compare-tray {
    grid-template-columns: 1fr;
  }

  .guided-search > div,
  .property-alert-form > div {
    grid-column: auto;
  }

  .property-alert-form .form-message {
    grid-column: auto;
  }

  .span-2 {
    grid-column: auto;
  }

  .inline-actions,
  .buyer-filters,
  .library-filters,
  .analytics-filters,
  .followup-fields {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-actions input {
    min-width: 0;
    width: 100%;
  }

  .response-modal-backdrop {
    padding: 0;
  }

  .response-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
  }

  .response-modal-body {
    max-height: none;
  }

  .response-modal-header {
    padding: 18px 56px 16px 18px;
  }

  .request-context-panel,
  .response-form {
    padding: 18px;
  }
}

/* 2026 luxury identity and indexable listing pages */
body {
  background: var(--ivory);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.main-header {
  padding: 18px 30px 12px;
  background: linear-gradient(180deg, rgba(3, 47, 58, 0.94), rgba(3, 47, 58, 0.28));
}

.main-header.is-sticky {
  background: rgba(3, 47, 58, 0.97);
  border-bottom: 1px solid rgba(211, 166, 60, 0.46);
}

.brand,
.main-header.is-sticky .brand {
  color: var(--gold-light);
}

.brand-copy {
  background: linear-gradient(180deg, #fff5bd 0%, #f0d16f 20%, #d8a435 45%, #fff0a3 58%, #c88b22 78%, #f0c95f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.45px rgba(255, 240, 163, 0.76);
  text-shadow:
    0 1px 0 rgba(255, 247, 198, 0.32),
    0 2px 1px rgba(72, 42, 4, 0.88),
    0 5px 14px rgba(0, 0, 0, 0.72);
}

.hero h1 {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0 transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
  filter: none;
  animation: none;
}

.form-progress {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  color: var(--blue-900);
  background: #f1f8f7;
  border: 1px solid #cce2df;
}

.form-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  font-weight: 800;
}

.form-progress-track {
  height: 8px;
  overflow: hidden;
  background: #dbe4e8;
}

.form-progress-track span {
  display: block;
  width: 8%;
  height: 100%;
  background: linear-gradient(90deg, #956514, #e5bd59 55%, #fff0a3);
  transition: width 500ms ease;
}

.form-progress small {
  display: block;
  margin-top: 8px;
  color: #5a6d78;
  line-height: 1.4;
}

button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.82;
}

.main-nav > a:hover,
.main-nav > button:hover,
.nav-item > button:hover,
.language-toggle:hover,
.phone-link:hover {
  color: var(--gold-light);
}

.currency-control {
  color: var(--blue-950);
  background: linear-gradient(135deg, #b88927, #fff1a8 52%, #d3a63c);
  border: 1px solid rgba(255, 240, 163, 0.6);
}

.nav-menu {
  background: rgba(6, 78, 90, 0.98);
  border: 1px solid rgba(211, 166, 60, 0.42);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 210px 20px 92px;
  overflow: hidden;
  background: #032f3a;
}

.hero-media,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 50% 43%, rgba(3, 47, 58, 0.66) 0%, rgba(3, 47, 58, 0.38) 44%, transparent 72%),
    linear-gradient(180deg, rgba(3, 47, 58, 0.78), rgba(3, 47, 58, 0.38) 44%, rgba(3, 47, 58, 0.76));
}

.hero-content {
  width: min(920px, calc(100% - 24px));
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: 4.25rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.accent-button {
  color: var(--blue-950);
  background: linear-gradient(135deg, #b88927, #fff1a8 50%, #d3a63c);
  border-color: var(--gold-light);
}

.accent-button:hover {
  color: var(--blue-950);
  background: linear-gradient(135deg, #d3a63c, #fff1a8 58%, #e8c35f);
}

.primary-button,
.mini-button.primary {
  color: #fff;
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.primary-button:hover,
.mini-button.primary:hover {
  background: var(--blue-800);
}

.outline-button {
  border-color: var(--gold-light);
}

.search-panel {
  padding: 18px;
  background: rgba(3, 47, 58, 0.95);
  border: 1px solid rgba(211, 166, 60, 0.58);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.contact-strip {
  background: #fff;
  border-color: rgba(201, 154, 54, 0.46);
}

.contact-strip h2,
.zones-band,
.footer {
  background: #032f3a;
}

.contact-strip h2,
.zones-band h2,
.footer h3 {
  color: var(--gold-light);
}

.section-kicker,
.seo-eyebrow,
.quick-answer > span {
  color: var(--gold-dark);
}

.ai-home-section,
.welcome-section,
.type-section,
.properties-section,
.team-section {
  background: #fff;
}

.resource-section,
.ai-validation-home,
.more-section {
  background: var(--ivory);
}

.ai-home-section,
.ai-validation-home,
.audience-section,
.resource-section,
.welcome-section,
.type-section,
.properties-section,
.more-section,
.team-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

.ai-home-section + .ai-validation-home,
.ai-validation-home + .audience-section,
.audience-section + .resource-section,
.welcome-section + .type-section,
.type-section + .category-page[hidden] + .properties-section,
.properties-section + .more-section,
.more-section + .team-section {
  padding-top: 8px;
}

.feature-split {
  margin-top: 22px;
}

.presale-feature {
  margin-top: 24px;
}

.center-heading {
  margin-bottom: 20px;
  padding: 12px 0;
}

.guided-search {
  margin-bottom: 22px;
}

.property-card,
.service-card,
.zone-info-card,
.quick-answer,
.seo-form-block {
  border-color: #ded9cd;
  box-shadow: 0 14px 36px rgba(0, 85, 98, 0.08);
}

.property-body {
  padding: 22px;
}

.property-title {
  margin-top: 5px;
  line-height: 1.35;
}

.property-description {
  display: -webkit-box;
  min-height: 4.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.property-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.property-actions {
  align-items: center;
}

.mini-button.icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.zone-card,
.type-tile,
.more-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(211, 166, 60, 0.36);
  background: #064e5a;
}

.more-grid a::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(3, 47, 58, 0.84));
}

.more-grid a:hover img,
.zone-card:hover img,
.type-tile:hover img {
  transform: scale(1.035);
}

.more-grid a img,
.zone-card img,
.type-tile img {
  transition: transform 350ms ease;
}

.more-grid a span {
  z-index: 2;
}

.team-statement {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.team-statement h2 {
  margin: 0 0 16px;
}

.outline-dark-button {
  display: inline-flex;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 18px;
  align-items: center;
  color: var(--blue-900);
  border: 1px solid var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.seo-page-hero {
  min-height: 510px;
  padding: 190px 0 74px;
  background: linear-gradient(90deg, rgba(3, 47, 58, 0.94), rgba(3, 47, 58, 0.52)), url("/assets/cancun-hotel-zone-hero-1920.webp") center / cover;
}

.seo-page-hero h1 {
  max-width: 920px;
  font-size: 4.25rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.seo-page-content {
  gap: 42px;
}

.seo-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.seo-property-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #ded9cd;
  box-shadow: 0 14px 34px rgba(0, 85, 98, 0.08);
}

.seo-property-card > div {
  padding: 22px;
}

.seo-property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.seo-property-card h2 {
  margin: 6px 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.seo-property-price,
.property-page-price {
  color: var(--gold-dark);
  font-weight: 800;
}

.text-link {
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.property-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.property-page-gallery {
  min-width: 0;
}

.property-gallery-stage {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: #eef0ef;
  border: 1px solid #ded9cd;
  touch-action: pan-y;
}

.property-gallery-slide {
  display: none;
  margin: 0;
  padding: 10px;
  background: #fff;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

.property-gallery-slide.is-active {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: stretch;
}

.property-gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 640px;
  object-fit: contain;
  background: #eef0ef;
  cursor: zoom-in;
}

.property-gallery-slide figcaption {
  padding: 12px 8px 4px;
  color: #3b5458;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.property-gallery-open {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(3, 47, 58, 0.9);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.property-gallery-open b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #112f36;
  font-size: 0.75rem;
}

.property-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  background: rgba(3, 47, 58, 0.82);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.property-gallery-arrow.previous {
  left: 16px;
}

.property-gallery-arrow.next {
  right: 16px;
}

.property-gallery-counter {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(3, 47, 58, 0.85);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.property-gallery-thumbs,
.property-gallery-modal-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.property-gallery-thumb {
  flex: 0 0 92px;
  height: 64px;
  padding: 3px;
  border: 2px solid transparent;
  background: #fff;
  opacity: 0.72;
  cursor: pointer;
}

.property-gallery-thumb.is-active {
  border-color: var(--gold);
  opacity: 1;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-modal[hidden] {
  display: none;
}

.property-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 18, 23, 0.94);
}

.property-gallery-dialog {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  width: min(1180px, 100%);
  height: min(92vh, 900px);
  padding: 20px;
  background: #071f27;
}

.property-gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 7;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.property-gallery-modal-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.property-gallery-modal-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 180ms ease;
}

.property-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
  color: #fff;
}

.property-gallery-toolbar button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.property-gallery-toolbar span {
  margin-left: 10px;
  font-weight: 800;
}

.property-gallery-modal-thumbs {
  margin: 6px 0 0;
}

.property-gallery-modal-thumbs .property-gallery-thumb {
  background: #0b2d36;
}

.property-page-summary {
  position: static;
  padding: 28px;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 85, 98, 0.11);
}

.property-page-price {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.property-facts span {
  padding: 7px 10px;
  color: var(--blue-900);
  background: #eaf6f4;
  border: 1px solid #cfe3df;
  font-size: 0.82rem;
  font-weight: 700;
}

.property-whatsapp {
  width: 100%;
  margin-top: 20px;
}

.property-amenities {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #ded9cd;
}

.property-amenities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 18px;
}

.property-lead {
  padding: 32px;
  background: #fff;
  border: 1px solid #ded9cd;
}

.seller-onboarding-cta,
.about-areas {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-left: 5px solid var(--gold);
  background: linear-gradient(135deg, #073b46, #0a6974);
  color: #fff;
}

.seller-onboarding-cta h2,
.about-areas h2 {
  margin: 6px 0 10px;
  color: #fff;
}

.seller-onboarding-cta p,
.about-areas p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.seller-onboarding-cta > div > span {
  color: #f0c75e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.seller-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.seller-onboarding-actions .outline-dark-button,
.about-areas .outline-dark-button {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.about-story h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.about-story p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-story img {
  width: 100%;
  min-height: 410px;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: 0 20px 50px rgba(0, 85, 98, 0.15);
}

.about-values {
  padding: 36px 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-values-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid #d8e5e2;
  background: #fff;
}

.about-values-grid article > span {
  color: var(--gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.3rem;
  font-weight: 700;
}

.about-values-grid h3 {
  margin: 16px 0 10px;
}

.about-values-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.about-process {
  padding: 38px;
  background: #eef7f5;
}

.about-process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: about-step;
}

.about-process li {
  position: relative;
  padding: 42px 20px 10px 0;
  counter-increment: about-step;
  border-top: 2px solid #a9cbc5;
  font-weight: 800;
}

.about-process li::before {
  content: counter(about-step);
  position: absolute;
  top: -18px;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
}

.auth-intro {
  margin: -2px 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #f3f8f7;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  border-top: 1px solid rgba(201, 154, 54, 0.45);
}

.whatsapp-float {
  border: 2px solid #fff;
}

.smart-map-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.smart-map-guide > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.smart-map-guide b {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: var(--blue-900);
  color: var(--white);
}

.smart-map-guide strong,
.smart-map-guide span {
  display: block;
}

.smart-map-guide span {
  color: var(--muted);
}

.smart-map-guide strong {
  margin-bottom: 3px;
  color: var(--ink);
}

.smart-map-live-summary {
  margin: 12px 0 0;
  color: var(--blue-900);
  font-weight: 700;
}

@media (max-width: 760px) {
  .smart-map-guide {
    grid-template-columns: 1fr;
  }
}

body[data-page="home"] .hero h1 {
  display: block;
  max-width: 920px;
  margin: 18px auto 20px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0 transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

@media (max-width: 1050px) {
  .seo-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-page-layout {
    grid-template-columns: 1fr;
  }

  .property-page-summary {
    position: static;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-header {
    padding: 10px 14px;
  }

  .hero {
    min-height: 690px;
    padding: 170px 14px 54px;
  }

  .hero h1,
  .seo-page-hero h1 {
    font-size: 2.25rem;
  }

  body[data-page="home"] .hero h1 {
    font-size: 2.25rem;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .seo-page-hero {
    min-height: 470px;
    padding: 170px 0 54px;
  }

  .seo-property-grid {
    grid-template-columns: 1fr;
  }

  .team-statement,
  .property-lead,
  .property-page-summary {
    padding: 24px;
  }

  .property-page-layout {
    gap: 18px;
  }

  .property-gallery-stage,
  .property-gallery-slide {
    min-height: 280px;
  }

  .property-gallery-slide {
    padding: 4px;
  }

  .property-gallery-slide img {
    min-height: 272px;
    max-height: 420px;
  }

  .property-gallery-open {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 78px);
    font-size: 0.74rem;
  }

  .property-gallery-counter {
    right: 12px;
    bottom: 15px;
  }

  .property-gallery-arrow {
    width: 40px;
    height: 48px;
  }

  .property-gallery-arrow.previous {
    left: 8px;
  }

  .property-gallery-arrow.next {
    right: 8px;
  }

  .property-gallery-thumbs {
    display: none;
  }

  .property-gallery-modal {
    padding: 0;
  }

  .property-gallery-dialog {
    width: 100%;
    height: 100dvh;
    padding: 12px;
  }

  .property-gallery-modal-thumbs {
    padding-bottom: 6px;
  }

  .seller-onboarding-cta,
  .about-story,
  .about-areas {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .seller-onboarding-actions {
    justify-content: flex-start;
  }

  .seller-onboarding-actions > *,
  .about-areas .seller-onboarding-actions > * {
    width: 100%;
    text-align: center;
  }

  .about-story img {
    min-height: 240px;
    border-width: 5px;
  }

  .about-values-grid,
  .about-process ol {
    grid-template-columns: 1fr;
  }

  .about-process {
    padding: 24px;
  }

  .about-process li {
    min-height: 82px;
  }

  .brand-row {
    gap: 8px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark,
  .main-header.is-sticky .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy,
  .main-header.is-sticky .brand-copy {
    font-size: 0.92rem;
  }

  .header-tools {
    flex: 0 0 auto;
    gap: 4px;
  }

  .currency-control {
    width: 104px;
    padding: 4px;
  }

  .currency-control > span {
    display: none;
  }

  .currency-control select {
    width: 96px;
    min-width: 0;
    padding: 7px 5px;
    font-size: 0.72rem;
  }

  .hero-actions a {
    padding: 10px 12px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .ai-home-section,
  .ai-validation-home,
  .audience-section,
  .resource-section,
  .welcome-section,
  .type-section,
  .properties-section,
  .more-section,
  .team-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ai-home-section + .ai-validation-home,
  .ai-validation-home + .audience-section,
  .audience-section + .resource-section,
  .welcome-section + .type-section,
  .type-section + .category-page[hidden] + .properties-section,
  .properties-section + .more-section,
  .more-section + .team-section {
    padding-top: 6px;
  }
}

/* 2026-07 multilingual inventory and admin refinements */
.publication-destination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f6fbfa;
}

.publication-destination legend {
  padding: 0 6px;
  color: var(--blue-950);
  font-weight: 800;
}

.publication-destination label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid #b9d5d1;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.map-location-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 14px 0;
  align-items: end;
}

.map-location-search label {
  display: grid;
  gap: 7px;
}

.map-search-field,
.map-search-field .search-input-with-icon {
  position: relative;
  min-width: 0;
}

.map-address-suggestions {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #9bbab8;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 41, 49, 0.2);
  overscroll-behavior: contain;
}

.map-address-suggestion {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 58px;
  align-items: start;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.map-address-suggestion:last-child {
  border-bottom: 0;
}

.map-address-suggestion:hover,
.map-address-suggestion:focus-visible,
.map-address-suggestion.is-active {
  outline: 0;
  background: #e9f5f3;
}

.map-address-suggestion svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--blue-700);
}

.map-address-suggestion span,
.map-address-suggestion strong,
.map-address-suggestion small {
  display: block;
  min-width: 0;
}

.map-address-suggestion strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  line-height: 1.35;
}

.map-address-suggestion small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.property-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.property-image {
  height: auto;
  aspect-ratio: 16 / 10;
}

.property-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.property-title,
.property-location,
.property-meta,
.property-description {
  overflow-wrap: anywhere;
}

.property-description {
  min-height: 0;
  margin-bottom: 16px;
  -webkit-line-clamp: 2;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.whatsapp-card-button,
.seo-whatsapp-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: #128c4b;
  background: #128c4b;
  color: #fff;
  font-weight: 800;
}

.whatsapp-card-button:hover,
.seo-whatsapp-button:hover {
  border-color: #0b6f3a;
  background: #0b6f3a;
  color: #fff;
}

.whatsapp-card-button svg {
  width: 18px;
  height: 18px;
}

.seo-property-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.seo-property-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.seo-property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  align-items: center;
}

.seo-whatsapp-button {
  padding: 9px 12px;
  text-decoration: none;
}

.property-page-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 28px;
}

.property-page-summary {
  min-width: 0;
}

.property-long-description {
  max-height: none;
  overflow: visible;
}

.pdf-checkbox {
  min-height: 48px;
  align-self: end;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.panel-language-toggle {
  white-space: nowrap;
}

.auth-modal .text-button,
.auth-modal [data-auth-tab] {
  color: var(--blue-950);
}

.auth-modal .modal-tabs button.active {
  color: #fff;
}

@media (max-width: 760px) {
  .map-location-search,
  .property-page-layout {
    grid-template-columns: 1fr;
  }

  .map-location-search .ghost-button,
  .whatsapp-card-button {
    width: 100%;
  }
}

/* Privacy, validation and trust surfaces */
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f8fbfa;
  font-size: 0.82rem;
  line-height: 1.45;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.privacy-consent a {
  color: var(--blue-800);
  font-weight: 700;
  text-decoration: underline;
}

.password-strength {
  width: 100%;
  height: 7px;
  margin-top: 8px;
  accent-color: var(--blue-700);
}

.cookie-banner {
  position: fixed;
  z-index: 10020;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  width: min(720px, calc(100vw - 48px));
  padding: 20px;
  border: 1px solid rgba(211, 166, 60, 0.62);
  background: #fff;
  box-shadow: 0 22px 56px rgba(3, 47, 58, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong,
.cookie-banner p {
  display: block;
  margin: 0 0 5px;
}

.cookie-banner a {
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 28px auto 0;
}

.trust-signal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.trust-signal-grid svg {
  width: 24px;
  color: var(--blue-700);
}

.trust-signal-grid h3 {
  margin: 12px 0 6px;
  font-size: 1.15rem;
}

.trust-signal-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.not-found-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 190px 0 110px;
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: var(--blue-700);
  font-family: Georgia, serif;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 0.9;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.loading-state,
.error-state,
.success-state {
  padding: 18px 20px;
  border-left: 4px solid var(--blue-700);
  background: #edf7f5;
  color: var(--ink);
}

.error-state,
.form-message.error {
  border-color: #b43c3c;
  color: #852929;
}

.success-state,
.form-message.success {
  border-color: #258657;
  color: #185f3d;
}

@media (max-width: 760px) {
  .trust-signal-grid,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .cookie-actions,
  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1800px) {
  .catalog-summary {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }

  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-editor {
    position: static;
  }

  .catalog-editor .catalog-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-editor .catalog-form-actions,
  .catalog-editor .catalog-advanced-fields {
    grid-column: 1 / -1;
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-search {
    grid-column: 1 / -1;
  }

  .catalog-entry {
    grid-template-columns: 38px minmax(0, 1fr) minmax(105px, auto);
  }

  .catalog-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 1180px) {
  .admin-listing-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-listing-search {
    grid-column: span 2;
  }

  .catalog-summary {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

}

@media (max-width: 760px) {
  .admin-listing-toolbar,
  .catalog-toolbar,
  .listing-metrics-row,
  .keyword-input-row {
    grid-template-columns: 1fr;
  }

  .instagram-heading,
  .location-quick-help {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-listing-search {
    grid-column: auto;
  }

  .catalog-page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-entry {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .catalog-entry-metrics,
  .catalog-actions {
    grid-column: 2;
  }

  .catalog-entry-metrics {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

  .catalog-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .catalog-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-editor .catalog-form {
    grid-template-columns: 1fr;
  }

  .catalog-editor .catalog-form-actions,
  .catalog-editor .catalog-advanced-fields {
    grid-column: auto;
  }
}

.more-grid a {
  min-height: 170px;
}

.more-grid a span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.more-grid a img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.admin-sidebar-subnav {
  display: grid;
  gap: 2px;
  margin: -2px 10px 5px 42px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 180ms ease, opacity 150ms ease, transform 180ms ease;
}

.admin-sidebar-subnav.is-open {
  max-height: 190px;
  opacity: 1;
  transform: translateY(0);
}

.admin-sidebar-nav > button:has(+ .admin-sidebar-subnav) {
  position: relative;
  padding-right: 34px;
}

.admin-sidebar-nav > button:has(+ .admin-sidebar-subnav)::after {
  position: absolute;
  right: 11px;
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.admin-sidebar-nav > button[aria-expanded="true"]:has(+ .admin-sidebar-subnav)::after {
  content: "-";
}

.admin-sidebar-nav > button:has(+ .admin-sidebar-subnav) b {
  margin-right: 14px;
}

.admin-sidebar-subnav button,
.admin-sidebar-subnav a {
  min-height: 28px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  text-transform: none;
}

.admin-sidebar-subnav button:hover,
.admin-sidebar-subnav a:hover {
  color: #fff;
}

.development-map-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
  padding: 28px;
  border-top: 3px solid var(--blue-700);
  background: #f3f9f7;
}

.development-map-section iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

@media (max-width: 760px) {
  .development-map-section {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.sidebar-collapsed .admin-sidebar-subnav {
  display: none;
}

/* Public inventory cards are concise; the complete copy belongs to the detail page. */
.property-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.property-card .property-image {
  height: auto;
  aspect-ratio: 16 / 10;
}

.property-card .property-body,
.seo-property-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.property-card .property-description {
  display: block;
  min-height: 0;
  margin-bottom: 16px;
  overflow: visible;
  white-space: normal;
}

.property-card .property-actions,
.seo-property-actions {
  margin-top: auto;
}

.whatsapp-card-button,
.seo-whatsapp-button {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}

.whatsapp-card-button:hover,
.seo-whatsapp-button:hover {
  border-color: #1ebe5d;
  background: #1ebe5d;
  color: #fff;
}

.seo-property-description {
  display: block;
  min-height: 4.8em;
  margin: 12px 0 18px;
  overflow: visible;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Type tiles use the image as the whole surface so no empty color bars remain. */
.type-tile {
  position: relative;
  min-height: 270px;
  border: 0;
  background: #eaf4f2;
  color: #fff;
}

.type-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(3, 47, 58, 0.82));
  pointer-events: none;
}

.type-tile span {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.type-tile img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

/* Complete property pages are vertical: gallery, overview, map and full copy. */
.property-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
}

.property-page-gallery {
  width: 100%;
}

.property-gallery-stage,
.property-gallery-slide {
  min-height: 560px;
}

.property-gallery-slide img {
  min-height: 540px;
  max-height: 720px;
}

.property-page-summary {
  width: 100%;
  padding: 38px;
  border-top: 4px solid var(--blue-700);
}

.property-summary-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid #d8e2df;
}

.property-summary-location {
  padding-left: 28px;
  border-left: 1px solid #d8e2df;
}

.property-summary-location .property-address {
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.65;
}

.property-location-map {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #d8e2df;
}

.property-location-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.property-location-map-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.8rem;
}

.property-location-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 1px solid #cfdedb;
  background: #eaf4f2;
}

.property-description-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #d8e2df;
}

.property-description-section h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: 2.35rem;
}

.property-long-description {
  max-width: 92ch;
  max-height: none;
  overflow: visible;
  color: #40565b;
  font-size: 1rem;
  line-height: 1.82;
}

.property-long-description p {
  margin: 0 0 18px;
}

.property-amenities {
  max-width: 920px;
  margin-top: 30px;
}

.property-whatsapp,
.whatsapp-detail-button {
  display: inline-flex;
  width: auto;
  min-width: min(100%, 320px);
  min-height: 50px;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-color: #25d366;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.property-whatsapp:hover,
.whatsapp-detail-button:hover {
  border-color: #1ebe5d;
  background: #1ebe5d;
  color: #fff;
}

@media (max-width: 700px) {
  .zones-band .zone-grid,
  .type-section .type-grid,
  .properties-section .property-grid,
  .team-section .trust-signal-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(278px, 84vw);
    grid-template-columns: none;
    gap: 14px;
    margin-right: -16px;
    padding: 0 16px 14px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .zones-band .zone-card,
  .type-section .type-tile,
  .properties-section .property-card,
  .team-section .trust-signal-grid > article {
    scroll-snap-align: start;
  }

  .zones-band .zone-card,
  .type-section .type-tile {
    min-height: 260px;
  }

  .type-section .type-tile img {
    height: 260px;
  }

  .properties-section .property-card {
    min-height: 0;
  }

  .team-section .trust-signal-grid > article {
    min-height: 250px;
  }

  .search-panel input {
    font-size: 0.82rem;
  }
}

/* Quick view follows the same readable vertical composition. */
.property-detail-layout {
  grid-template-columns: minmax(0, 1fr);
}

.property-detail-image {
  min-height: 0;
}

.property-detail-track {
  height: auto;
}

.property-detail-slide {
  min-height: 420px;
  aspect-ratio: 16 / 9;
}

.property-detail-copy {
  padding: 34px 42px 42px;
}

.property-detail-description {
  max-width: 92ch;
  max-height: none;
  overflow: visible;
}

.property-detail-map-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.property-detail-map-link svg {
  width: 18px;
  height: 18px;
}

/* Admin controls that belong together stay on the same visual row. */
.pdf-display-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-mailing-card .module-split {
  grid-template-columns: minmax(420px, 1.05fr) minmax(330px, 0.95fr);
  align-items: start;
}

.admin-mailing-card .module-split > *,
.admin-mailing-card input,
.admin-mailing-card textarea,
.admin-mailing-card select {
  min-width: 0;
  max-width: 100%;
}

.admin-mailing-card .module-help {
  margin: 6px 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.mailing-recipient-fieldset {
  margin: 2px 0 0;
  padding: 18px;
  border: 1px solid #cbdedb;
  background: #f7fbfa;
}

.mailing-recipient-fieldset legend {
  padding: 0 8px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.mailing-recipient-modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mailing-recipient-modes label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #cbdedb;
  background: #fff;
  cursor: pointer;
}

.mailing-recipient-modes label:has(input:checked) {
  border-color: var(--blue-700);
  background: #eaf6f4;
  box-shadow: inset 3px 0 0 var(--blue-700);
}

.mailing-recipient-modes input,
.mailing-contact-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--blue-700);
}

.mailing-contact-picker {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d8e5e2;
}

.mailing-contact-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.mailing-contact-toolbar > label {
  min-width: 0;
}

.mailing-contact-toolbar .inline-actions {
  justify-content: flex-start;
}

.mailing-contact-toolbar .text-button {
  padding: 8px 0;
  white-space: nowrap;
}

.mailing-recipient-count {
  margin: 12px 0 8px;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.mailing-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 310px;
  overflow: auto;
  padding: 4px 6px 4px 0;
}

.mailing-contact-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #d8e5e2;
  background: #fff;
  cursor: pointer;
}

.mailing-contact-option:has(input:checked) {
  border-color: var(--blue-700);
  background: #edf8f6;
}

.mailing-contact-option span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mailing-contact-option strong,
.mailing-contact-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailing-contact-option small {
  color: var(--muted);
}

.mailing-live-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(4, 55, 66, 0.08);
}

.mailing-live-preview > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.mailing-live-preview h4 {
  margin: 16px 0 10px;
  color: var(--blue-900);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.mailing-live-preview p {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.6;
}

.mailing-live-preview > small:last-child {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  text-align: right;
}

.property-search-matches {
  position: absolute;
  z-index: 25;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(4, 55, 66, 0.16);
}

.module-form-grid label:has(.property-search-matches) {
  position: relative;
}

.property-search-matches button {
  display: grid;
  grid-template-columns: auto 1fr;
  width: 100%;
  gap: 2px 10px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  text-align: left;
}

.property-search-matches button:hover,
.property-search-matches button:focus-visible {
  background: var(--surface);
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.property-search-matches button span,
.property-search-matches button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-search-matches button small {
  grid-column: 2;
  color: var(--muted);
}

.property-search-matches > p {
  margin: 0;
  padding: 14px;
  color: var(--muted);
}

[data-admin-listing-view~="new-property"],
[data-admin-listing-view~="new-development"] {
  margin-top: 8px;
}

.creative-studio {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #b9d8d3;
  background: #f5fbfa;
}

.creative-output {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 20px;
  align-items: start;
}

.creative-output img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid #cbdedb;
  background: #fff;
}

.creative-output textarea {
  width: 100%;
}

.marketing-view-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.marketing-view-tabs button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  background: var(--white);
  color: var(--blue-900);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.marketing-view-tabs button svg {
  width: 19px;
  height: 19px;
}

.marketing-view-tabs button:hover,
.marketing-view-tabs button:focus-visible {
  background: var(--surface);
}

.marketing-view-tabs button.active {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: inset 0 -3px 0 var(--gold-light);
}

.marketing-section-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-700);
  background: #f8fbfa;
}

.marketing-section-panel[hidden] {
  display: none;
}

.instagram-workspace,
.creative-studio,
.marketing-networks-panel {
  padding: 24px;
}

.instagram-workspace {
  background: #f8fbfa;
}

.property-picker-field {
  position: relative;
}

.marketing-property-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #bdd7d4;
  background: var(--white);
}

.marketing-property-preview[hidden] {
  display: none;
}

.marketing-property-preview img {
  width: 180px;
  height: 118px;
  object-fit: cover;
}

.marketing-property-preview strong,
.marketing-property-preview b {
  display: block;
  color: var(--blue-950);
}

.marketing-property-preview strong {
  margin: 3px 0;
  font-size: 1.05rem;
}

.marketing-property-preview p {
  margin: 0 0 6px;
  color: var(--muted);
}

.marketing-copy-output {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.marketing-copy-output[hidden] {
  display: none;
}

.marketing-copy-output label,
.marketing-copy-output textarea {
  width: 100%;
}

.creative-output {
  grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 0.9fr);
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.creative-output-copy {
  align-self: center;
}

.creative-output-copy h3 {
  margin: 6px 0 10px;
  color: var(--blue-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.creative-output-copy p {
  margin: 0 0 20px;
  color: var(--muted);
}

.marketing-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.marketing-network-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.marketing-network-card > svg {
  width: 26px;
  height: 26px;
  color: var(--blue-700);
}

.marketing-network-card h4 {
  margin: 0 0 8px;
  color: var(--blue-950);
  font-size: 1.05rem;
}

.marketing-network-card p {
  margin: 12px 0;
  color: var(--muted);
}

.marketing-network-card .form-actions {
  grid-column: 1 / -1;
  align-self: end;
}

.blog-workspace {
  align-items: start;
}

.blog-admin-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.blog-admin-row > img,
.blog-cover-placeholder {
  width: 128px;
  height: 92px;
  object-fit: cover;
  border: 1px solid #d7e1e6;
  background: #eef5f4;
}

.blog-cover-placeholder {
  display: grid;
  place-items: center;
}

.blog-cover-placeholder svg {
  width: 30px;
  height: 30px;
  color: var(--blue-700);
}

.blog-admin-row h3 {
  margin: 6px 0;
}

.blog-media-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 14px 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: #f7fbfa;
}

.blog-media-fields > div:first-child,
.blog-media-fields > small,
.blog-media-fields > .checkbox-row,
.blog-content-image-preview {
  grid-column: 1 / -1;
}

.blog-media-fields h3,
.blog-media-fields p {
  margin: 4px 0 0;
}

.blog-cover-preview {
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #8ba7a4;
  background: var(--white);
  color: var(--muted);
}

.blog-cover-preview img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.blog-content-image-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.blog-content-image-preview > p {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.blog-content-image-preview figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.blog-content-image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-content-image-preview figcaption {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-content-image-preview button {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(3, 47, 58, 0.9);
  color: var(--white);
}

.blog-content-figure {
  margin: 28px 0;
}

.blog-content-figure img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #edf4f2;
}

.ai-tool-catalog {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f7fbfa;
}

.ai-tool-catalog-heading h3,
.ai-tool-catalog-heading p {
  margin: 4px 0 0;
}

.ai-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.ai-category-tabs button {
  min-height: 40px;
  padding: 9px 10px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--blue-950);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-category-tabs button:last-child {
  border-right: 0;
}

.ai-category-tabs button.active {
  background: var(--blue-950);
  color: var(--white);
}

.ai-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ai-tool-grid[hidden] {
  display: none;
}

.ai-tool-grid button {
  min-height: 86px;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  text-align: left;
}

.ai-tool-grid button:hover,
.ai-tool-grid button:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 7px 18px rgba(3, 47, 58, 0.08);
}

.ai-tool-grid button.active {
  border-color: var(--gold);
  box-shadow: inset 4px 0 0 var(--gold);
  background: #fffdf7;
}

.ai-tool-grid strong,
.ai-tool-grid span {
  display: block;
}

.ai-tool-grid strong {
  margin-bottom: 5px;
  font-size: 0.78rem;
}

.ai-tool-grid span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.ai-selected-tool {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  font-size: 0.75rem;
}

.dashboard-operations,
.dashboard-inventory {
  grid-column: span 4;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.dashboard-operations-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-operations-heading h3 {
  margin: 3px 0 0;
}

.dashboard-health {
  padding: 7px 10px;
  background: #e4f4ec;
  color: #14613e;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-health.warning {
  background: #fff1db;
  color: #8a4f00;
}

.dashboard-priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.dashboard-priority-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f7fbfa;
  color: var(--blue-950);
  text-align: left;
}

.dashboard-priority-item:hover,
.dashboard-priority-item:focus-visible {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.dashboard-priority-item.urgent {
  border-left: 4px solid var(--gold);
}

.dashboard-priority-item > svg {
  width: 20px;
}

.dashboard-priority-item span,
.dashboard-priority-item small {
  display: block;
}

.dashboard-priority-item small {
  margin-top: 2px;
  color: var(--muted);
}

.dashboard-priority-item > strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.dashboard-zone-bars {
  display: grid;
  gap: 13px;
}

.dashboard-zone-bars > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) minmax(120px, 2fr) 32px;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
}

.dashboard-zone-bars > div > div {
  height: 8px;
  overflow: hidden;
  background: #e6efed;
}

.dashboard-zone-bars i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #54b6b1);
}

.match-explainer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.6fr);
  gap: 22px;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: #f7fbfa;
}

.match-explainer h3,
.match-explainer p {
  margin: 4px 0 0;
}

.match-explainer ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-explainer li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.69rem;
}

.match-explainer li > b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--blue-950);
  color: var(--white);
}

.match-explainer li strong,
.match-explainer li span {
  display: block;
}

.match-explainer li strong {
  margin-bottom: 3px;
  color: var(--blue-950);
}

.match-score-legend {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.match-score-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: #bd8b2f;
}

.match-score-legend i.premium { background: #1f8b5c; }
.match-score-legend i.hot { background: #0a8292; }
.match-live-summary { margin: 0 0 12px; color: var(--muted); font-weight: 700; }

@media (max-width: 760px) {
  .blog-media-fields,
  .blog-content-image-preview {
    grid-template-columns: 1fr;
  }

  .ai-tool-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-operations,
  .dashboard-inventory {
    grid-column: 1 / -1;
  }

  .dashboard-priority-list,
  .match-explainer,
  .match-explainer ol {
    grid-template-columns: 1fr;
  }

  .match-score-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .creative-output {
    grid-template-columns: 1fr;
  }
}

/* The account action must remain legible on the dark seller banner. */
.seller-onboarding-actions .outline-dark-button {
  border-color: #fff;
  background: #fff;
  color: #063d48;
}

.seller-onboarding-actions .outline-dark-button:hover {
  border-color: #e7f3f0;
  background: #e7f3f0;
  color: #032f3a;
}

.exchange-rate-request {
  max-width: 920px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #cbdedb;
  background: #f5fbfa;
}

.exchange-rate-request h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.exchange-rate-request form {
  margin-top: 16px;
}

.mortgage-calculator {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 30px;
  align-items: start;
}

.mortgage-calculator form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid #cbdedb;
  background: #fff;
}

.mortgage-calculator form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.mortgage-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.mortgage-results article,
.buyer-requirement-card {
  padding: 18px;
  border: 1px solid #cbdedb;
  background: #fff;
}

.mortgage-results article {
  display: grid;
  gap: 8px;
}

.mortgage-results strong {
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.mortgage-amortization {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid #c7dad7;
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(4, 55, 66, 0.09);
}

.mortgage-amortization-heading {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(420px, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.mortgage-amortization-heading h3 {
  margin: 5px 0 6px;
  color: var(--blue-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.mortgage-amortization-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.mortgage-table-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.mortgage-table-summary div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.mortgage-table-summary div:last-child {
  border-right: 0;
}

.mortgage-table-summary dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mortgage-table-summary dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--blue-950);
  font-weight: 800;
}

.mortgage-table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
}

.mortgage-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.mortgage-table th,
.mortgage-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.mortgage-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--blue-950);
  color: var(--white);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.mortgage-table thead th:first-child,
.mortgage-table tbody th {
  text-align: left;
}

.mortgage-table tbody tr:nth-child(even) {
  background: #f2f8f6;
}

.mortgage-table tbody tr:hover {
  background: #e7f3f0;
}

.mortgage-table tbody th {
  width: 90px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.mortgage-table tbody th span {
  display: none;
}

.mortgage-table tbody td:last-child {
  color: var(--blue-950);
  font-weight: 800;
}

.mortgage-disclaimer {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-left: 4px solid var(--gold);
  background: #faf7ee;
  color: var(--muted);
  font-size: 0.85rem;
}

.public-blog-grid,
.buyer-requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.public-blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #cbdedb;
  background: #fff;
}

.public-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.public-blog-card > div {
  padding: 22px;
}

.public-blog-card h2 {
  margin: 8px 0 12px;
  font-size: 1.45rem;
}

.blog-post-public {
  max-width: 980px;
  margin: 0 auto;
}

.blog-post-cover {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.blog-post-body {
  padding: 36px;
  border: 1px solid #cbdedb;
  background: #fff;
  font-size: 1.05rem;
  line-height: 1.85;
}

.buyer-requirement-card h2 {
  margin: 10px 0 6px;
  font-size: 1.45rem;
}

.buyer-requirement-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 18px 0;
}

.buyer-requirement-card dt {
  color: var(--muted);
}

.buyer-requirement-card dd {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1050px) {
  .admin-mailing-card .module-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .property-summary-heading {
    grid-template-columns: 1fr;
  }

  .property-summary-location {
    padding: 24px 0 0;
    border-top: 1px solid #d8e2df;
    border-left: 0;
  }

  .mortgage-calculator {
    grid-template-columns: 1fr;
  }

  .mortgage-amortization-heading {
    grid-template-columns: 1fr;
  }

  .marketing-network-grid {
    grid-template-columns: 1fr;
  }

  .mortgage-results,
  .public-blog-grid,
  .buyer-requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .guest-sale-modal,
  .seller-options-modal,
  .pdf-share-modal {
    width: 100vw;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 20px 16px 28px;
  }

  .guest-map-picker {
    padding: 12px;
  }

  .guest-map-picker iframe,
  .guest-map-picker .google-map-canvas,
  .guest-map-picker .interactive-map-canvas {
    height: 220px;
    min-height: 220px;
  }

  .admin-mailing-card .module-split > form,
  .admin-mailing-card .module-split > section,
  .mailing-live-preview,
  .mailing-recipient-fieldset {
    padding: 14px;
  }

  .response-form .form-actions {
    position: sticky;
    z-index: 4;
    bottom: 0;
    margin: 0 -24px -24px;
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }

  .mailing-recipient-modes,
  .mailing-contact-list {
    grid-template-columns: 1fr;
  }

  .mailing-contact-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mortgage-calculator form,
  .mortgage-results,
  .public-blog-grid,
  .buyer-requirements-grid {
    grid-template-columns: 1fr;
  }

  .marketing-view-tabs {
    grid-template-columns: 1fr;
  }

  .marketing-view-tabs button {
    justify-content: flex-start;
  }

  .instagram-workspace,
  .creative-studio,
  .marketing-networks-panel,
  .mortgage-amortization {
    padding: 18px;
  }

  .marketing-property-preview {
    grid-template-columns: 1fr;
  }

  .marketing-property-preview img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .mortgage-table-summary {
    grid-template-columns: 1fr;
  }

  .mortgage-table-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mortgage-table-summary div:last-child {
    border-bottom: 0;
  }

  .mortgage-table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
  }

  .mortgage-table,
  .mortgage-table tbody {
    display: grid;
    min-width: 0;
    gap: 10px;
  }

  .mortgage-table thead {
    display: none;
  }

  .mortgage-table tbody tr {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    border: 1px solid var(--line);
    background: var(--white);
  }

  .mortgage-table tbody tr:nth-child(even) {
    background: #f2f8f6;
  }

  .mortgage-table tbody th {
    grid-row: 1 / 4;
    display: grid;
    place-content: center;
    width: auto;
    padding: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: var(--blue-950);
    color: var(--white);
    text-align: center;
  }

  .mortgage-table tbody th span {
    display: block;
    color: var(--gold-light);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .mortgage-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    white-space: normal;
  }

  .mortgage-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .blog-post-body {
    padding: 24px;
  }

  .property-page-summary,
  .property-detail-copy {
    padding: 24px 18px;
  }

  .property-gallery-stage,
  .property-gallery-slide {
    min-height: 280px;
  }

  .property-gallery-slide img {
    min-height: 260px;
    max-height: 430px;
  }

  .property-location-map-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-location-map iframe {
    height: 300px;
  }

  .property-description-section h2 {
    font-size: 1.9rem;
  }

  .property-amenities ul,
  .pdf-display-options {
    grid-template-columns: 1fr;
  }

  .property-whatsapp,
  .whatsapp-detail-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 650px;
    padding: 130px 14px 42px;
  }

  .hero-content {
    width: calc(100% - 12px);
    max-width: 100%;
    min-width: 0;
  }

  body[data-page="home"] .hero h1 {
    max-width: 100%;
    font-size: 2rem;
    overflow-wrap: normal;
  }

  .hero-actions,
  .hero-actions a,
  .search-panel,
  .search-panel label,
  .search-panel input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
