:root {
  --ink: #15251e;
  --ink-soft: #53625b;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --forest: #174f3a;
  --forest-dark: #10392a;
  --sage: #dce8cf;
  --lime: #c8e56f;
  --line: #d9ddd7;
  --danger: #a63232;
  --warning: #7a5016;
  --warning-bg: #fff3d8;
  --shadow: 0 22px 60px rgb(23 79 58 / 12%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgb(200 229 111 / 16%), transparent 30rem),
    var(--paper);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgb(247 244 237 / 88%);
  backdrop-filter: blur(16px);
}

.public-header {
  color: #1a1a2e;
  border-bottom-color: #e8e6f0;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--forest);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.brand-light {
  color: white;
}

.brand-light .brand-mark {
  color: var(--forest-dark);
  background: var(--lime);
}

.wordmark {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.wordmark span {
  color: #6b3fa0;
}

.menu-button {
  border: 0;
  color: #6b6880;
  background: transparent;
  font-size: 1.1rem;
}

.public-menu {
  position: relative;
}

.public-menu summary {
  list-style: none;
}

.public-menu summary::-webkit-details-marker {
  display: none;
}

.public-menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 210px;
  overflow: hidden;
  border: 1px solid #e8e6f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgb(61 31 107 / 14%);
}

.public-menu-panel p {
  margin: 0;
  padding: 12px 15px 8px;
  color: #6b3fa0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-menu-panel a {
  padding: 13px 15px;
  color: #1a1a2e;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.public-menu-panel a {
  border-top: 1px solid #e8e6f0;
}

.public-menu-panel a:hover {
  color: #3d1f6b;
  background: #ede8f8;
}

.header-link,
.back-link {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.hero,
.search-shell,
.empty-state,
.admin-main {
  width: min(1120px, 88vw);
  margin-inline: auto;
}

.hero {
  padding: 96px 0 64px;
}

.hero h1,
.auth-intro h1,
.admin-main h1,
.empty-state h1 {
  max-width: 780px;
  margin: 8px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero > p:last-child,
.auth-intro p,
.empty-state p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--lime);
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-v2 {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: #1a1a2e;
  background: #ffffff;
}

.home-v2 .site-header,
.home-v2 .public-main,
.home-v2 .public-main > section {
  width: 100%;
  max-width: 100%;
}

.home-v2 .site-header {
  min-height: 58px;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
}

.home-v2 .brand-logo {
  display: block;
  width: auto;
  height: 46px;
}

.home-v2 .public-main {
  min-height: calc(100vh - 58px);
  padding: 0;
  color: #1a1a2e;
  background: #ffffff;
}

.home-v2 .public-hero {
  padding: 40px max(20px, 5vw) 34px;
  text-align: center;
  background-image:
    linear-gradient(
      135deg,
      rgb(248 244 255 / 72%) 0%,
      rgb(237 232 248 / 66%) 48%,
      rgb(240 247 255 / 58%) 100%
    ),
    radial-gradient(
      circle at center 34%,
      rgb(255 255 255 / 76%) 0%,
      rgb(255 255 255 / 48%) 38%,
      rgb(255 255 255 / 18%) 72%
    ),
    url("/assets/images/home-hero-family.jpg");
  background-position: center 46%;
  background-size: cover;
}

.home-v2 .hero-content {
  max-width: 680px;
  margin-inline: auto;
}

.home-v2 .location-pill {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: #6b3fa0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-v2 .public-hero h1 {
  margin: 0;
  color: #1a1a2e;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-v2 .public-hero h1 span {
  color: #6b3fa0;
}

.home-v2 .hero-subtitle {
  margin: 12px 0 0;
  color: #6b6880;
  font-size: 0.92rem;
}

.home-v2 .property-search,
.home-v2 .public-main > .property-results,
.home-v2 .public-main > .stats-bar,
.home-v2 .public-main > .why-section {
  min-width: 0;
  width: min(calc(100% - 40px), 780px);
  margin-inline: auto;
}

.home-v2 .property-search {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(107, 63, 160, 0.08);
}

.home-v2 .operation-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  margin: 0 0 16px;
  border: 0;
  border-radius: 9px;
  background: #f4f0fa;
}

.home-v2 .operation-switch label {
  display: block;
  min-width: 0;
}

.home-v2 .operation-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  opacity: 0;
}

.home-v2 .operation-switch span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #6b6880;
  font-weight: 750;
  cursor: pointer;
}

.home-v2 .operation-switch input:checked + span {
  color: white;
  background: #6b3fa0;
}

.home-v2 .filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
}

.home-v2 .filter-grid label {
  min-width: 0;
  gap: 5px;
  color: #9b97a8;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.home-v2 .filter-grid input,
.home-v2 .filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #e8e6f0;
  border-radius: 7px;
  color: #1a1a2e;
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  outline: none;
}

.home-v2 .filter-grid input::placeholder {
  color: #9b97a8;
}

.home-v2 .filter-grid input:focus,
.home-v2 .filter-grid select:focus {
  border-color: #6b3fa0;
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.12);
}

.home-v2 .search-button {
  width: 100%;
  margin-top: 14px;
  gap: 7px;
  border-color: #6b3fa0;
  color: white;
  background: #6b3fa0;
}

.home-v2 .search-button:hover {
  background: #3d1f6b;
}

.home-v2 .stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px max(20px, 5vw);
  border-bottom: 1px solid #e8e6f0;
  background: #ffffff;
  text-align: center;
}

.home-v2 .stats-bar div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.home-v2 .stats-bar strong {
  color: #6b3fa0;
  font-size: 1.25rem;
}

.home-v2 .stats-bar span {
  color: #6b6880;
  font-size: 0.72rem;
}

.home-v2 .property-results {
  padding: 24px max(20px, 5vw) 30px;
}

.home-v2 .results-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-v2 .results-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.home-v2 .results-heading span {
  color: #6b3fa0;
  font-size: 0.84rem;
}

.home-v2 .property-grid {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 14px;
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
}

.home-v2 .property-card {
  min-width: min(78vw, 280px);
  overflow: hidden;
  border: 1px solid #e8e6f0;
  border-radius: 10px;
  background: #ffffff;
  scroll-snap-align: start;
}

.home-v2 .property-card-link {
  color: inherit;
  text-decoration: none;
}

.home-v2 .property-media {
  position: relative;
  display: grid;
  min-height: 132px;
  place-items: center;
  background: #e5dcf5;
}

.home-v2 .property-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.home-v2 .property-operation,
.home-v2 .honest-badge {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.home-v2 .property-operation {
  left: 10px;
  color: #3d1f6b;
  background: #ede8f8;
}

.home-v2 .honest-badge {
  right: 10px;
  border: 1px solid #6b3fa0;
  color: #3d1f6b;
  background: #ffffff;
}

.home-v2 .property-placeholder {
  display: grid;
  gap: 6px;
  place-items: center;
  color: #b9a8d7;
}

.home-v2 .property-placeholder span {
  font-size: 2.5rem;
}

.home-v2 .property-card-body {
  padding: 16px;
}

.home-v2 .property-price {
  margin: 0;
  font-size: 1.35rem;
}

.home-v2 .property-price-alt,
.home-v2 .property-location,
.home-v2 .property-facts {
  margin: 5px 0 0;
  color: #6b6880;
  font-size: 0.82rem;
}

.home-v2 .property-honest-notes {
  margin: 12px 0 0;
  padding: 10px;
  border-radius: 9px;
  color: #7a5c00;
  background: #faeeda;
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-v2 .public-empty-state {
  margin-top: 12px;
  padding: 46px 24px;
  border: 1px dashed #d6d0e2;
  border-radius: 10px;
  color: #6b6880;
  text-align: center;
}

.home-v2 .public-empty-state[hidden] {
  display: none;
}

.home-v2 .public-empty-state > span {
  font-size: 2.2rem;
}

.home-v2 .public-empty-state h3 {
  margin: 12px 0 6px;
  color: #1a1a2e;
}

.home-v2 .public-empty-state p {
  max-width: 430px;
  margin: 0 auto;
  font-size: 0.88rem;
  line-height: 1.55;
}

.home-v2 .why-section {
  padding: 30px max(20px, 5vw) 38px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f0f7ff 100%);
}

.home-v2 .why-section h2 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  text-align: center;
}

.home-v2 .benefit-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-v2 .benefit-card {
  min-width: 0;
  min-height: 122px;
  padding: 13px;
  border: 1px solid #e8e6f0;
  border-radius: 9px;
  background: #ffffff;
}

.home-v2 .benefit-icon {
  color: #6b3fa0;
  font-size: 1.5rem;
}

.home-v2 .benefit-card h3 {
  margin: 9px 0 3px;
  font-size: 0.82rem;
}

.home-v2 .benefit-card p {
  margin: 0;
  color: #6b6880;
  font-size: 0.75rem;
  line-height: 1.4;
}

.home-v2 .owner-cta {
  padding: 30px 20px 34px;
  color: #ffffff;
  background: #6b3fa0;
  text-align: center;
}

.home-v2 .owner-cta h2 {
  margin: 0;
  font-size: 1.25rem;
}

.home-v2 .owner-cta p {
  max-width: 360px;
  margin: 7px auto 18px;
  color: #ede8f8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.home-v2 .whatsapp-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 9px;
  color: #ffffff;
  background: #25d366;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.search-shell h2,
.auth-card h2 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.muted {
  color: var(--ink-soft);
  line-height: 1.65;
}

.auth-page {
  color: #1a1a2e;
  background: #f8f4ff;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 48px 7vw 64px;
  color: white;
  background:
    radial-gradient(circle at 10% 0%, rgb(255 255 255 / 18%), transparent 24rem),
    linear-gradient(145deg, #3d1f6b 0%, #6b3fa0 58%, #8154b5 100%);
}

.auth-brand-logo {
  display: block;
  width: auto;
  height: 72px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #ffffff;
}

.auth-intro h1 {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
}

.auth-intro p {
  color: rgb(255 255 255 / 72%);
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px;
  background: linear-gradient(135deg, #f8f4ff 0%, #ede8f8 50%, #f0f7ff 100%);
}

.auth-card {
  width: min(100%, 460px);
  padding: 38px;
  border: 1px solid #e8e6f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgb(61 31 107 / 12%);
}

.auth-page .eyebrow {
  color: #6b3fa0;
}

.auth-page .eyebrow-light {
  color: #ede8f8;
}

.auth-page .auth-card h2 {
  color: #1a1a2e;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 800;
}

.auth-page .muted {
  color: #6b6880;
}

.auth-page input {
  border-color: #e8e6f0;
  color: #1a1a2e;
}

.auth-page input:focus {
  border-color: #6b3fa0;
  box-shadow: 0 0 0 3px rgb(107 63 160 / 12%);
}

.auth-page .button-primary {
  background: #6b3fa0;
}

.auth-page .button-primary:hover:not(:disabled) {
  background: #3d1f6b;
}

.auth-page .back-link {
  color: #6b3fa0;
}

.callback-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f8f4ff 0%, #ede8f8 50%, #f0f7ff 100%);
}

.callback-card {
  width: min(100%, 460px);
  padding: 38px;
  border: 1px solid #e8e6f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgb(61 31 107 / 12%);
  text-align: center;
}

.callback-logo {
  display: block;
  width: auto;
  height: 74px;
  margin: 0 auto 24px;
}

.callback-card h1 {
  margin: 8px 0 12px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.05;
}

.callback-card .muted {
  margin-bottom: 22px;
}

.callback-card .form-message[data-type="error"],
.callback-card [data-type="error"] {
  color: var(--danger);
}

.form-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #bdc7c0;
  border-radius: 12px;
  color: var(--ink);
  background: white;
  outline: none;
}

input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgb(23 79 58 / 12%);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.button-primary {
  color: white;
  background: #6b3fa0;
}

.button-primary:hover:not(:disabled) {
  background: #3d1f6b;
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.notice {
  margin: 18px 0;
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: #edf1ee;
}

.notice-warning {
  color: var(--warning);
  background: var(--warning-bg);
}

.form-message {
  min-height: 24px;
  margin: 16px 0;
  font-size: 0.9rem;
}

.form-message[data-type="error"] {
  color: var(--danger);
}

.form-message[data-type="success"] {
  color: #2f6a3f;
}

.invitation-button {
  width: 100%;
  margin-top: 6px;
}

.advisor-page .admin-main h1 span {
  color: #6b3fa0;
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

.admin-page {
  min-height: 100vh;
  color: #1a1a2e;
  background:
    radial-gradient(circle at 0% 0%, rgb(107 63 160 / 8%), transparent 28rem),
    #f8f7fc;
}

.admin-page .admin-header {
  min-height: 72px;
  border-bottom-color: #e8e6f0;
  background: rgb(255 255 255 / 94%);
}

.admin-brand {
  min-width: 0;
}

.admin-brand-logo {
  display: block;
  width: auto;
  height: 50px;
}

.admin-brand > span {
  padding-left: 14px;
  border-left: 1px solid #e8e6f0;
  color: #6b6880;
  font-size: 0.86rem;
}

.admin-page .button-secondary {
  border-color: #e8e6f0;
  color: #3d1f6b;
  background: #ffffff;
}

.admin-page .button-secondary:hover:not(:disabled) {
  border-color: #6b3fa0;
  background: #f8f4ff;
}

.admin-page .notice {
  border: 1px solid #e8e6f0;
  color: #6b6880;
  background: #ffffff;
}

.admin-page .admin-main {
  padding: 64px 0 90px;
}

.admin-page .eyebrow {
  color: #6b3fa0;
}

.admin-page .admin-main h1 {
  margin-bottom: 20px;
  color: #1a1a2e;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
}

.admin-page .admin-main h1 span {
  color: #6b3fa0;
}

.admin-page .muted {
  max-width: 720px;
  color: #6b6880;
}

.admin-page .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.admin-page .dashboard-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 38px rgb(61 31 107 / 8%);
}

.admin-page .dashboard-card h2 {
  margin: 16px 0 8px;
  color: #1a1a2e;
}

.admin-page .dashboard-card p {
  color: #6b6880;
  line-height: 1.55;
}

.admin-page .dashboard-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: #3d1f6b;
  background: #ede8f8;
  font-size: 1.3rem;
  font-weight: 900;
}

.admin-module {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid #e8e6f0;
}

.admin-module-heading h2 {
  margin: 6px 0 10px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.advisor-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.advisor-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.advisor-admin-card {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border: 1px solid #e8e6f0;
  border-radius: 16px;
  background: #ffffff;
}

.advisor-admin-identity {
  min-width: 0;
}

.advisor-admin-identity h3 {
  margin: 0 0 4px;
  color: #1a1a2e;
}

.advisor-admin-identity p {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  color: #6b6880;
}

.admin-review-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.admin-review-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.admin-review-media {
  display: grid;
  min-height: 210px;
  place-items: center;
  color: #6b6880;
  background: linear-gradient(135deg, #ede8f8, #f0f7ff);
  font-weight: 800;
}

.admin-review-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-review-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.admin-review-heading h3 {
  margin: 0 0 6px;
  color: #1a1a2e;
  font-size: 1.25rem;
}

.admin-review-heading p,
.admin-review-body > p {
  margin: 0;
  color: #6b6880;
  line-height: 1.5;
}

.admin-review-body blockquote {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #7a5c00;
  background: #faeeda;
  line-height: 1.45;
}

.admin-review-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

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

.admin-review-detail-group {
  padding: 12px;
  border: 1px solid #e8e6f0;
  border-radius: 14px;
  background: #fbfaff;
}

.admin-review-detail-group h4 {
  margin: 0 0 8px;
  color: #3d1f6b;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-review-detail-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #5d5a70;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-review-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #3d1f6b;
  background: #ede8f8;
  font-size: 0.76rem;
  font-weight: 800;
}

.advisor-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #7a5c00;
  background: #faeeda;
  font-size: 0.75rem;
  font-weight: 800;
}

.advisor-status-active {
  color: #2f6a3f;
  background: #e8f5df;
}

.advisor-status-draft {
  color: #3d1f6b;
  background: #ede8f8;
}

.manual-invitation-link {
  display: inline-block;
  margin-top: 8px;
  color: #6b3fa0;
  font-weight: 800;
}

.empty-state {
  padding: 110px 0;
}

.empty-state .button {
  margin-top: 20px;
}

.advisor-property-module {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid #e8e6f0;
}

.advisor-property-module .admin-module-heading h2 {
  margin: 6px 0 10px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.advisor-property-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.advisor-property-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #1a1a2e;
  font-size: 0.82rem;
  font-weight: 800;
}

.advisor-property-form input,
.advisor-property-form select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d8d5df;
  border-radius: 10px;
  color: #1a1a2e;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.advisor-property-form input:focus,
.advisor-property-form select:focus {
  border-color: #6b3fa0;
  box-shadow: 0 0 0 3px rgb(107 63 160 / 12%);
}

.advisor-property-title-field,
.advisor-property-actions {
  grid-column: 1 / -1;
}

.advisor-property-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}

.advisor-property-actions p {
  margin: 0;
  color: #6b6880;
  font-size: 0.78rem;
  line-height: 1.5;
}

.advisor-property-message {
  margin-top: 14px;
}

.advisor-property-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.advisor-property-list > .notice {
  grid-column: 1 / -1;
}

.advisor-property-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 180px;
  padding: 20px;
  border: 1px solid #e8e6f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(61 31 107 / 6%);
}

.advisor-property-card h3,
.advisor-property-card p {
  margin: 0;
}

.advisor-property-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.advisor-property-card p,
.advisor-property-card small {
  color: #6b6880;
}

.advisor-property-card .advisor-status {
  justify-self: start;
}

.advisor-property-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.advisor-property-edit-link {
  color: #6b3fa0;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.advisor-property-edit-link:hover {
  text-decoration: underline;
}

.advisor-review-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.advisor-property-editor {
  max-width: 940px;
}

.property-editor-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #e8e6f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(61 31 107 / 6%);
}

.property-editor-summary h2 {
  margin: 10px 0 5px;
  font-size: 1.35rem;
}

.property-editor-summary p {
  margin: 0;
  color: #6b6880;
}

.property-editor-form {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.property-editor-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.property-editor-form legend {
  padding: 0 8px;
  color: #3d1f6b;
  font-size: 1rem;
  font-weight: 900;
}

.property-editor-form label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
  color: #1a1a2e;
  font-size: 0.82rem;
  font-weight: 800;
}

.property-editor-form input,
.property-editor-form select,
.property-editor-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #d8d5df;
  border-radius: 10px;
  color: #1a1a2e;
  background: #ffffff;
  font: inherit;
  line-height: 1.5;
  outline: none;
}

.property-editor-form input,
.property-editor-form select {
  min-height: 48px;
}

.property-editor-form textarea {
  resize: vertical;
}

.property-editor-form input:focus,
.property-editor-form select:focus,
.property-editor-form textarea:focus {
  border-color: #6b3fa0;
  box-shadow: 0 0 0 3px rgb(107 63 160 / 12%);
}

.property-editor-form label small {
  color: #8b8799;
  font-weight: 500;
  line-height: 1.45;
}

.property-editor-location-help {
  grid-column: 1 / -1;
  margin: 0;
  color: #6b6880;
  font-size: 0.82rem;
  line-height: 1.45;
}

.property-editor-full-field {
  grid-column: 1 / -1;
}

.property-editor-checkbox {
  display: flex !important;
  align-items: center;
  align-self: end;
  min-height: 48px;
  grid-template-columns: auto 1fr;
  padding: 0 4px;
}

.property-editor-checkbox input {
  width: 20px;
  min-height: auto;
  height: 20px;
  accent-color: #6b3fa0;
}

.property-editor-choice-title {
  margin: 0 0 10px;
  color: #1a1a2e;
  font-size: 0.88rem;
  font-weight: 900;
}

.property-editor-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.property-editor-check-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e8e6f0;
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

.property-editor-check-grid input {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: #6b3fa0;
}

.property-editor-honest-fieldset {
  border-color: #f1d9a2 !important;
  background: #fffaf0 !important;
}

.property-editor-honest-fieldset legend {
  color: #7a5c00;
}

.property-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-editor-actions p {
  margin: 0;
  color: #6b6880;
  font-size: 0.8rem;
}

.property-editor-message {
  margin-top: 14px;
}

.property-photo-module {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid #e8e6f0;
}

.property-photo-module .admin-module-heading h2 {
  margin: 6px 0 10px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.property-photo-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.property-photo-upload-form label,
.property-photo-card label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
  color: #1a1a2e;
  font-size: 0.8rem;
  font-weight: 800;
}

.property-photo-upload-form input,
.property-photo-upload-form select,
.property-photo-card input,
.property-photo-card select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d8d5df;
  border-radius: 9px;
  color: #1a1a2e;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.property-photo-upload-form input:focus,
.property-photo-upload-form select:focus,
.property-photo-card input:focus,
.property-photo-card select:focus {
  border-color: #6b3fa0;
  box-shadow: 0 0 0 3px rgb(107 63 160 / 12%);
}

.property-photo-upload-form input[type="file"] {
  padding: 10px;
}

.property-photo-upload-form label small {
  color: #8b8799;
  font-weight: 500;
}

.property-photo-file-field,
.property-photo-alt-field,
.property-photo-upload-actions {
  grid-column: 1 / -1;
}

.property-photo-upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-photo-upload-actions p {
  margin: 0;
  color: #6b6880;
  font-size: 0.78rem;
}

.property-photo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.property-photo-list > .notice {
  grid-column: 1 / -1;
}

.property-photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e6f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(61 31 107 / 6%);
}

.property-photo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ede8f8;
}

.property-photo-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.property-photo-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6b6880;
  font-size: 0.76rem;
}

.property-photo-card-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 8px;
}

.property-photo-card-actions [data-photo-save] {
  grid-column: 1 / -1;
}

.property-photo-card-actions .button {
  min-height: 40px;
  padding-inline: 11px;
  font-size: 0.76rem;
}

.property-detail-page {
  overflow-x: hidden;
  color: #1a1a2e;
  background: #f8f7fb;
}

.property-detail-page .site-header {
  min-height: 64px;
}

.property-brand-logo {
  display: block;
  width: auto;
  height: 50px;
}

.property-back-link {
  color: #6b3fa0;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.property-detail-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.demo-notice {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid #dfd7ed;
  border-radius: 10px;
  color: #6b6880;
  background: #f4f0fa;
  font-size: 0.78rem;
  text-align: center;
}

.property-gallery {
  min-width: 0;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #dcd3ec;
  box-shadow: 0 16px 44px rgb(61 31 107 / 12%);
  touch-action: pan-y;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-open img,
.gallery-dialog-stage img {
  display: block;
  width: 100%;
  height: clamp(300px, 56vw, 660px);
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 0 4px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  color: #ffffff;
  background: rgb(26 26 46 / 62%);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-nav-previous {
  left: 14px;
}

.gallery-nav-next {
  right: 14px;
}

.gallery-space-tag,
.gallery-counter,
.gallery-fullscreen {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 999px;
  color: #ffffff;
  background: rgb(26 26 46 / 72%);
  font-size: 0.76rem;
  font-weight: 800;
}

.gallery-space-tag {
  left: 14px;
}

.gallery-counter {
  left: 50%;
  transform: translateX(-50%);
}

.gallery-fullscreen {
  right: 14px;
  cursor: pointer;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  padding: 12px 2px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-thumbnail {
  flex: 0 0 110px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  opacity: 0.68;
  scroll-snap-align: start;
  cursor: pointer;
}

.gallery-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-thumbnail.is-active {
  border-color: #6b3fa0;
  opacity: 1;
  box-shadow: 0 0 0 2px rgb(107 63 160 / 14%);
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.property-main-card,
.property-contact-card {
  border: 1px solid #e8e6f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgb(61 31 107 / 7%);
}

.property-main-card {
  padding: clamp(22px, 4vw, 40px);
}

.property-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.property-detail-operation {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #3d1f6b;
  background: #ede8f8;
  font-size: 0.75rem;
  font-weight: 800;
}

.property-detail-location {
  margin: 8px 0 0;
  color: #6b6880;
  font-size: 0.9rem;
}

.property-share-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d9d2e4;
  border-radius: 9px;
  color: #6b3fa0;
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.property-main-card > h1 {
  max-width: 720px;
  margin: 24px 0 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.property-detail-price {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}

.property-detail-alt-price {
  margin: 4px 0 0;
  color: #6b6880;
}

.property-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.property-fact-grid div {
  padding: 16px 12px;
  border-radius: 12px;
  background: #f8f7fb;
  text-align: center;
}

.property-fact-grid dt {
  color: #6b6880;
  font-size: 0.72rem;
}

.property-fact-grid dd {
  margin: 5px 0 0;
  font-size: 1.12rem;
  font-weight: 900;
}

.honest-detail,
.property-copy {
  margin-top: 32px;
}

.honest-detail {
  padding: 22px;
  border: 1px solid #f1d9a2;
  border-radius: 14px;
  color: #5d4700;
  background: #faeeda;
}

.section-kicker {
  margin: 0 0 7px;
  color: #6b3fa0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.honest-detail .section-kicker {
  color: #7a5c00;
}

.honest-detail h2,
.property-copy h2,
.property-contact-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.honest-detail ul {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  padding-left: 20px;
  line-height: 1.5;
}

.property-copy {
  padding-top: 28px;
  border-top: 1px solid #e8e6f0;
}

.property-copy > p {
  margin: 12px 0 0;
  color: #57546b;
  line-height: 1.7;
}

.property-cost-list,
.property-traffic-list {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.property-cost-list div,
.property-traffic-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeaf3;
}

.property-cost-list dt,
.property-traffic-list dt {
  color: #6b6880;
}

.property-cost-list dd,
.property-traffic-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.property-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.property-chip-list span,
.property-traffic-list span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.property-chip-list span {
  color: #3d1f6b;
  background: #ede8f8;
}

.traffic-light {
  color: #2f6a3f;
  background: #e8f5df;
}

.traffic-moderate {
  color: #7a5c00;
  background: #faeeda;
}

.traffic-heavy {
  color: #9c3030;
  background: #fce4e4;
}

.property-contact-card {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.advisor-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0 22px;
}

.advisor-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: #6b3fa0;
  font-weight: 900;
}

.advisor-summary p {
  margin: 5px 0 0;
  color: #6b6880;
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 14px;
  font: inherit;
  border-radius: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.contact-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-whatsapp {
  color: #ffffff;
  background: #25d366;
}

.contact-secondary {
  border: 1px solid #d9d2e4;
  color: #3d1f6b;
  background: #ffffff;
}

.contact-privacy {
  margin: 18px 0 0;
  color: #8b8799;
  font-size: 0.74rem;
  line-height: 1.5;
}

.gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: rgb(13 12 18 / 96%);
}

.gallery-dialog::backdrop {
  background: rgb(13 12 18 / 88%);
}

.gallery-dialog-shell {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr auto;
  padding: 16px;
}

.gallery-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
}

.gallery-dialog-header div {
  display: grid;
  gap: 3px;
}

.gallery-dialog-header span {
  color: #c9c5d2;
  font-size: 0.78rem;
}

.gallery-dialog-close {
  width: 44px;
  height: 44px;
  border: 1px solid #4e4a5a;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
}

.gallery-dialog-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}

.gallery-dialog-stage img {
  width: min(100%, 1280px);
  height: min(72vh, 800px);
  object-fit: contain;
}

.gallery-dialog-thumbnails {
  max-width: 900px;
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    min-height: auto;
    padding: 24px 20px 32px;
  }

  .auth-intro > div {
    margin-top: 42px;
  }

  .auth-brand-logo {
    height: 58px;
  }

  .auth-panel {
    min-height: auto;
    padding: 24px 18px 42px;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .search-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .admin-header {
    padding-inline: 18px;
  }

  .admin-page .admin-header {
    gap: 14px;
  }

  .admin-brand-logo {
    height: 42px;
  }

  .admin-brand > span {
    display: none;
  }

  .admin-page .admin-header .button {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .admin-page .admin-main {
    width: min(100% - 36px, 1120px);
    padding: 42px 0 64px;
  }

  .admin-page .dashboard-grid {
    margin-top: 30px;
  }

  .admin-module {
    margin-top: 46px;
    padding-top: 32px;
  }

  .advisor-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .advisor-admin-card {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-review-card {
    grid-template-columns: 1fr;
  }

  .admin-review-media {
    min-height: 190px;
  }

  .admin-review-details {
    grid-template-columns: 1fr;
  }

  .advisor-property-module {
    margin-top: 46px;
    padding-top: 32px;
  }

  .advisor-property-form,
  .advisor-property-list {
    grid-template-columns: 1fr;
  }

  .advisor-property-form {
    padding: 18px;
  }

  .advisor-property-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .property-editor-summary,
  .property-editor-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .property-editor-form fieldset {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .property-editor-full-field {
    grid-column: auto;
  }

  .property-photo-module {
    margin-top: 46px;
    padding-top: 32px;
  }

  .property-photo-upload-form,
  .property-photo-list {
    grid-template-columns: 1fr;
  }

  .property-photo-upload-form {
    padding: 18px;
  }

  .property-photo-file-field,
  .property-photo-alt-field,
  .property-photo-upload-actions {
    grid-column: auto;
  }

  .property-photo-upload-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .property-detail-page .site-header {
    min-height: 58px;
  }

  .property-brand-logo {
    height: 44px;
  }

  .property-back-link {
    font-size: 0.76rem;
  }

  .property-detail-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .gallery-stage {
    border-radius: 14px;
  }

  .gallery-open img {
    height: min(66vw, 390px);
    min-height: 260px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-nav-previous {
    left: 8px;
  }

  .gallery-nav-next {
    right: 8px;
  }

  .gallery-space-tag,
  .gallery-counter,
  .gallery-fullscreen {
    bottom: 9px;
    min-height: 30px;
    padding: 7px 9px;
    font-size: 0.67rem;
  }

  .gallery-space-tag {
    left: 9px;
  }

  .gallery-fullscreen {
    right: 9px;
  }

  .property-detail-grid {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .property-main-card {
    padding: 22px 18px;
  }

  .property-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .property-share-button {
    align-self: flex-start;
  }

  .property-main-card > h1 {
    margin-top: 20px;
  }

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

  .property-cost-list div,
  .property-traffic-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .property-cost-list dd,
  .property-traffic-list dd {
    text-align: left;
  }

  .property-contact-card {
    position: static;
  }

  .gallery-dialog-shell {
    padding: 12px;
  }
}

@media (min-width: 821px) {
  .home-v2 .public-hero {
    padding-top: 58px;
    padding-bottom: 46px;
  }

  .home-v2 .property-search {
    max-width: 780px;
    padding: 22px;
  }

  .home-v2 .property-results,
  .home-v2 .why-section {
    padding-inline: 20px;
  }

  .home-v2 .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
