:root {
  --brand: #d81e06;
  --brand-strong: #b3170a;
  --brand-soft: #fdecea;
  --ink: #17201d;
  --ink-soft: #3f4c47;
  --muted: #6d7974;
  --line: #dce2df;
  --line-strong: #c9d1cd;
  --paper: #f3f5f4;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --green: #2d6b52;
  --green-soft: #eaf4ef;
  --blue: #376d7a;
  --amber: #94631e;
  --shadow: 0 14px 32px rgba(24, 35, 31, 0.08);
  --header-height: 68px;
  --content-width: 1240px;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(55, 109, 122, 0.28);
  outline-offset: 2px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.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 {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 226, 223, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  width: min(var(--content-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--brand);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  justify-self: center;
  align-items: stretch;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 0 2px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-strong);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.saved-button {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
}

.saved-button:hover,
.saved-button[aria-pressed="true"] {
  border-color: #e0aaa3;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.saved-button svg {
  width: 17px;
  height: 17px;
}

.saved-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.saved-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  line-height: 1;
}

.search-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.search-inner {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.search-heading {
  max-width: 640px;
}

.search-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 750;
}

.search-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
}

.search-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.search-heading h1 {
  margin: 0;
  color: #111916;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  text-shadow: none;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.search-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.search-form {
  display: flex;
  width: min(760px, 100%);
  gap: 10px;
  margin-top: 24px;
}

.search-input-wrap {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(28, 41, 36, 0.05);
}

.search-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(55, 109, 122, 0.12);
}

.search-input-wrap svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--muted);
}

.search-input-wrap input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 0 0 11px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.search-input-wrap input::placeholder {
  color: #8a9691;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 7px;
  font-weight: 700;
}

.primary-button {
  padding: 0 21px;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}

.primary-button:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.primary-button svg,
.secondary-button svg {
  width: 18px;
  height: 18px;
}

.search-submit {
  min-width: 130px;
  height: 52px;
}

.quick-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
}

.quick-search > span {
  color: var(--ink-soft);
  font-weight: 650;
}

.quick-search button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
}

.quick-search button:hover {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-shell {
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.mobile-category-scroller {
  display: none;
}

.filter-toolbar {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.filter-panel {
  display: flex;
  align-items: end;
  gap: 12px;
}

.select-field {
  display: grid;
  min-width: 148px;
  gap: 6px;
}

.select-field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.select-field select,
.sort-field select {
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-soft);
  background-color: var(--surface);
  font-size: 13px;
}

.select-field select:hover,
.sort-field select:hover {
  border-color: var(--line-strong);
}

.select-field select:disabled,
.sort-field option:disabled {
  color: #9aa39f;
}

.reset-button,
.mobile-filter-toggle,
.banner-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.reset-button {
  margin-left: auto;
  padding: 0 4px;
}

.reset-button:hover,
.banner-retry:hover {
  color: var(--brand-strong);
}

.reset-button svg,
.mobile-filter-toggle svg,
.banner-retry svg {
  width: 16px;
  height: 16px;
}

.mobile-filter-toggle {
  display: none;
}

.source-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid #e9cfaa;
  border-radius: 7px;
  color: #6e501f;
  background: #fff8eb;
  font-size: 12px;
}

.source-banner.is-partial {
  border-color: #c8dcdf;
  color: #315c66;
  background: #eff7f8;
}

.source-banner-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.source-banner-copy svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.banner-retry {
  height: 30px;
  flex: 0 0 auto;
  color: inherit;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 18px;
}

.catalog-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.catalog-heading .eyebrow {
  margin-bottom: 5px;
}

.result-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-field select {
  min-width: 138px;
}

.view-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 38px);
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-soft);
  background: var(--surface);
}

.icon-button:hover {
  border-color: var(--line-strong);
  color: var(--brand-strong);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.view-switch .icon-button {
  width: 38px;
  height: 36px;
  border: 0;
  border-radius: 0;
}

.view-switch .icon-button + .icon-button {
  border-left: 1px solid var(--line);
}

.view-switch .icon-button.is-active {
  color: #fff;
  background: var(--ink);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.property-card:hover {
  border-color: #c8d0cc;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6ebe8;
}

.property-media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(17, 24, 21, 0.34), transparent);
  pointer-events: none;
  content: "";
}

.property-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.property-image-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.property-card:hover .property-media img {
  transform: scale(1.025);
}

.property-type,
.demo-label {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 750;
}

.property-type {
  left: 12px;
  color: #fff;
  background: rgba(23, 32, 29, 0.82);
  backdrop-filter: blur(6px);
}

.demo-label {
  left: 64px;
  color: #6e501f;
  background: #fff3d8;
}

.card-favorite {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #fff;
  background: rgba(23, 32, 29, 0.58);
  backdrop-filter: blur(6px);
}

.card-favorite:hover,
.card-favorite.is-saved {
  color: #fff;
  background: var(--brand);
}

.card-favorite.is-saved svg {
  fill: currentColor;
}

.property-body {
  padding: 16px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.property-location svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.property-title {
  min-height: 48px;
  margin: 8px 0 5px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0;
}

.property-title button {
  display: -webkit-box;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-title button:hover {
  color: var(--brand-strong);
}

.property-address {
  min-height: 20px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-community {
  display: flex;
  min-width: 0;
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.property-community span {
  flex: 0 0 auto;
}

.property-community strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-number {
  min-height: 17px;
  margin: 4px 0 0;
  overflow: hidden;
  color: #75807c;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-facts {
  display: flex;
  min-height: 23px;
  align-items: center;
  gap: 0;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.property-facts span {
  position: relative;
  padding-right: 10px;
}

.property-facts span + span {
  padding-left: 10px;
}

.property-facts span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--line);
  content: "";
  transform: translateY(-50%);
}

.property-tags {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.property-tag {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid #d5e5dd;
  border-radius: 4px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
}

.property-footer {
  display: flex;
  min-height: 47px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #edf0ee;
}

.property-price {
  min-width: 0;
  color: var(--brand-strong);
}

.property-price strong {
  font-size: 21px;
  line-height: 1.1;
}

.property-price small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.detail-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.detail-link:hover {
  color: var(--brand-strong);
}

.detail-link svg {
  width: 14px;
  height: 14px;
}

.listing-grid.is-list {
  grid-template-columns: 1fr;
}

.listing-grid.is-list .property-card {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  min-height: 250px;
}

.listing-grid.is-list .property-media {
  height: 100%;
  min-height: 250px;
  aspect-ratio: auto;
}

.listing-grid.is-list .property-body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto auto 1fr;
  column-gap: 24px;
  padding: 22px;
}

.listing-grid.is-list .property-location,
.listing-grid.is-list .property-title,
.listing-grid.is-list .property-community,
.listing-grid.is-list .property-address,
.listing-grid.is-list .property-number,
.listing-grid.is-list .property-listed,
.listing-grid.is-list .property-facts,
.listing-grid.is-list .property-tags,
.listing-grid.is-list .property-agent {
  grid-column: 1;
}

.listing-grid.is-list .property-title {
  min-height: 0;
  margin-top: 10px;
  font-size: 20px;
}

.listing-grid.is-list .property-footer {
  grid-column: 2;
  grid-row: 1 / -1;
  min-width: 180px;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0;
  padding: 0 0 2px 22px;
  border-top: 0;
  border-left: 1px solid #edf0ee;
}

.listing-grid.is-list .property-price strong {
  font-size: 25px;
}

.map-view {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e7ece9;
}

.property-map {
  width: 100%;
  height: 660px;
  min-height: 560px;
  background: #e7ece9;
}

.property-map.leaflet-container {
  color: var(--ink);
  font-family: inherit;
}

.property-map .leaflet-control-zoom,
.property-map .leaflet-control-attribution {
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(23, 32, 29, 0.12);
}

.property-map .leaflet-control-zoom a {
  color: var(--ink-soft);
}

.property-map-marker {
  border: 0;
  background: transparent;
}

.property-map-marker span {
  position: relative;
  display: grid;
  width: 92px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 5px 14px rgba(23, 32, 29, 0.24);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-map-marker::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: var(--brand);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.property-map .leaflet-popup-content-wrapper {
  border-radius: 7px;
}

.property-map .leaflet-popup-content {
  margin: 12px 14px;
}

.map-popup {
  display: grid;
  width: 100%;
  min-width: 190px;
  gap: 5px;
  padding: 0 22px 0 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.map-popup strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-popup span {
  color: var(--muted);
  font-size: 11px;
}

.map-popup b {
  color: var(--brand-strong);
  font-size: 13px;
}

.map-status {
  position: absolute;
  z-index: 500;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(23, 32, 29, 0.16);
  border-radius: 6px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(23, 32, 29, 0.1);
  font-size: 11px;
}

.skeleton-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.skeleton-media,
.skeleton-line {
  position: relative;
  overflow: hidden;
  background: #e7ebe9;
}

.skeleton-media::after,
.skeleton-line::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  content: "";
  transform: translateX(-100%);
  animation: shimmer 1.25s infinite;
}

.skeleton-media {
  aspect-ratio: 4 / 3;
}

.skeleton-body {
  display: grid;
  gap: 12px;
  padding: 17px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
}

.skeleton-line.medium {
  width: 64%;
}

.skeleton-line.short {
  width: 38%;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 48px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.empty-state-inner {
  max-width: 360px;
}

.empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #e8f1f3;
}

.empty-icon svg {
  width: 24px;
  height: 24px;
}

.empty-state h3 {
  margin: 0;
  font-size: 18px;
}

.empty-state p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.page-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

.page-button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.page-button.is-active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.page-button svg {
  width: 17px;
  height: 17px;
}

.page-ellipsis {
  display: inline-grid;
  width: 28px;
  height: 40px;
  place-items: center;
  color: var(--muted);
}

.secondary-button {
  min-width: 160px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--content-width), calc(100% - 48px));
  min-height: 112px;
  margin: 0 auto;
  padding: 22px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark-small {
  width: 32px;
  height: 32px;
  font-size: 15px;
}

.footer-brand > div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.footer-meta {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

.detail-dialog {
  width: min(980px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(12, 20, 17, 0.28);
}

.detail-dialog::backdrop {
  background: rgba(18, 27, 23, 0.62);
  backdrop-filter: blur(3px);
}

.detail-shell {
  display: flex;
  max-height: calc(100dvh - 48px);
  flex-direction: column;
}

.detail-toolbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: flex-end;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.detail-toolbar-actions {
  display: flex;
  gap: 6px;
}

.detail-toolbar .icon-button {
  width: 38px;
  height: 38px;
  border: 0;
}

.detail-toolbar .icon-button.is-saved {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.detail-toolbar .icon-button.is-saved svg {
  fill: currentColor;
}

.detail-content {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-loading {
  display: grid;
  min-height: 480px;
  place-items: center;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.detail-gallery {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.detail-media-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.detail-media-tab {
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.detail-media-tab svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.detail-media-tab.is-active {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.detail-media-panel[hidden] {
  display: none;
}

.detail-main-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  background: #e5eae7;
}

.detail-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  max-height: 224px;
  overflow-y: auto;
  padding-right: 2px;
}

.detail-thumbnail {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #e5eae7;
}

.detail-thumbnail.is-active {
  border-color: var(--brand);
}

.detail-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-video-list,
.detail-layout-list {
  display: grid;
  gap: 10px;
}

.detail-video-item,
.detail-layout-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.detail-video-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.detail-video-item figcaption,
.detail-layout-item figcaption {
  padding: 9px 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.detail-layout-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-layout-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.detail-layout-item figcaption strong,
.detail-layout-item figcaption span {
  display: block;
}

.detail-layout-item figcaption span {
  margin-top: 3px;
  color: var(--muted);
}

.detail-info {
  padding: 26px 24px 30px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.detail-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 750;
}

.detail-badge svg {
  width: 13px;
  height: 13px;
  margin-right: 4px;
  flex: 0 0 auto;
}

.detail-badge.demo {
  color: #6e501f;
  background: #fff3d8;
}

.detail-badge.number {
  color: #56615d;
  background: #edf1ef;
  font-variant-numeric: tabular-nums;
}

.detail-info h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}

.detail-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.detail-address svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.detail-price {
  margin-top: 22px;
  color: var(--brand-strong);
}

.detail-price strong {
  font-size: 31px;
  line-height: 1;
}

.detail-price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-fact {
  min-width: 0;
  padding: 15px 10px 15px 0;
}

.detail-fact + .detail-fact {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.detail-fact span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-fact strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-section {
  margin-top: 22px;
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.detail-ai-copy {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ai-copy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.ai-copy-heading h3 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.ai-copy-heading h3 svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.ai-copy-status {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 10px;
  line-height: 1.5;
}

.ai-copy-status.is-ready {
  border-color: #bcd5c8;
  color: var(--green);
  background: var(--green-soft);
}

.ai-copy-status.is-generating {
  border-color: #ead5b5;
  color: var(--amber);
  background: #fff9ee;
}

.ai-copy-body {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.72;
}

.ai-copy-hook {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.ai-copy-summary,
.ai-copy-recommendation {
  margin: 0;
}

.ai-copy-recommendation {
  margin-top: 9px;
  color: var(--muted);
}

.ai-copy-bullets {
  display: grid;
  gap: 4px;
  margin: 9px 0 0;
  padding-left: 17px;
}

.ai-copy-bullets li::marker {
  color: var(--brand);
}

.ai-copy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ai-copy-tags span {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
}

.ai-copy-risk {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.ai-copy-risk svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.ai-copy-loading {
  display: grid;
  gap: 7px;
  min-height: 54px;
  align-content: center;
}

.ai-copy-loading span {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: 3px;
  background: var(--line);
  animation: ai-copy-pulse 1.2s ease-in-out infinite alternate;
}

.ai-copy-loading span:nth-child(2) {
  width: 82%;
  animation-delay: 120ms;
}

.ai-copy-loading span:nth-child(3) {
  width: 64%;
  animation-delay: 240ms;
}

@keyframes ai-copy-pulse {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-tag-list .property-tag {
  font-size: 11px;
}

.detail-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  padding: 11px;
  border: 1px solid #ead5b5;
  border-radius: 6px;
  color: #73551f;
  background: #fff9ee;
  font-size: 11px;
}

.detail-notice svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.detail-cta {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.detail-cta .primary-button,
.detail-cta .secondary-button {
  flex: 1 1 0;
  text-decoration: none;
}

.detail-cta .is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.toast {
  position: fixed;
  z-index: 120;
  bottom: 28px;
  left: 50%;
  max-width: min(420px, calc(100% - 32px));
  padding: 11px 15px;
  border-radius: 7px;
  color: #fff;
  background: rgba(23, 32, 29, 0.94);
  box-shadow: 0 10px 28px rgba(12, 20, 17, 0.2);
  font-size: 12px;
  text-align: center;
  transform: translateX(-50%);
}

.noscript-message {
  position: fixed;
  z-index: 200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  border: 1px solid #e0aaa3;
  border-radius: 7px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  text-align: center;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 190px 1fr auto;
  }

  .desktop-nav {
    gap: 18px;
  }

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .header-inner,
  .search-inner,
  .catalog-shell,
  .footer-inner {
    width: min(100% - 32px, var(--content-width));
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .desktop-nav {
    position: absolute;
    z-index: 60;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(24, 35, 31, 0.12);
  }

  .site-header.nav-open .desktop-nav {
    display: flex;
  }

  .desktop-nav .nav-link {
    height: 42px;
    padding: 0 10px;
    border-radius: 6px;
    text-align: left;
  }

  .desktop-nav .nav-link::after {
    display: none;
  }

  .desktop-nav .nav-link.is-active {
    color: var(--brand-strong);
    background: var(--brand-soft);
  }

  .search-inner {
    padding: 32px 0 28px;
  }

  .search-heading h1 {
    font-size: 30px;
  }

  .catalog-shell {
    padding-top: 0;
  }

  .mobile-category-scroller {
    display: flex;
    gap: 24px;
    margin: 0 -16px 18px;
    padding: 0 16px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    scrollbar-width: none;
  }

  .mobile-category-scroller::-webkit-scrollbar {
    display: none;
  }

  .category-tab {
    position: relative;
    height: 50px;
    flex: 0 0 auto;
    padding: 0 1px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 13px;
    font-weight: 650;
  }

  .category-tab::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--brand);
    content: "";
    opacity: 0;
  }

  .category-tab.is-active {
    color: var(--brand-strong);
  }

  .category-tab.is-active::after {
    opacity: 1;
  }

  .filter-toolbar {
    padding-bottom: 14px;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink-soft);
    background: var(--surface);
  }

  .filter-count {
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--brand);
    font-size: 10px;
  }

  .filter-panel {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    margin-top: 13px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
  }

  .filter-toolbar.is-open .filter-panel {
    display: grid;
  }

  .select-field {
    min-width: 0;
  }

  .select-field select {
    width: 100%;
  }

  .reset-button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
  }

  .listing-grid.is-list .property-card {
    grid-template-columns: minmax(220px, 38%) 1fr;
  }

  .listing-grid.is-list .property-body {
    display: block;
    padding: 18px;
  }

  .listing-grid.is-list .property-footer {
    min-width: 0;
    flex-direction: row;
    align-items: flex-end;
    margin-top: 14px;
    padding: 13px 0 0;
    border-top: 1px solid #edf0ee;
    border-left: 0;
  }

  .detail-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  .detail-shell {
    max-height: calc(100dvh - 24px);
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .header-inner,
  .search-inner,
  .catalog-shell,
  .footer-inner {
    width: min(100% - 24px, var(--content-width));
  }

  .brand-copy small,
  .saved-button > span:not(.saved-count) {
    display: none;
  }

  .pagination-wrap {
    flex-wrap: wrap;
    gap: 5px;
  }

  .page-button {
    width: 36px;
    height: 36px;
  }

  .saved-button {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .saved-count {
    position: absolute;
    top: 10px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 9px;
  }

  .search-inner {
    padding: 26px 0 24px;
  }

  .search-heading h1 {
    font-size: 27px;
  }

  .search-heading > p:last-child {
    max-width: 25em;
    font-size: 13px;
  }

  .search-form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
    margin-top: 20px;
  }

  .search-input-wrap {
    height: 48px;
    padding: 0 13px;
  }

  .search-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
  }

  .search-submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .quick-search {
    gap: 10px;
  }

  .quick-search > span,
  .quick-search button:nth-of-type(n + 4) {
    display: none;
  }

  .mobile-category-scroller {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .reset-button {
    grid-column: auto;
  }

  .source-banner {
    align-items: flex-start;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .catalog-heading h2 {
    font-size: 21px;
  }

  .catalog-actions {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .sort-field select {
    width: 120px;
    min-width: 0;
    padding-right: 28px;
  }

  .view-switch {
    display: inline-grid;
    flex: 0 0 auto;
  }

  .listing-grid,
  .listing-grid.is-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .map-view,
  .property-map {
    min-height: 460px;
  }

  .property-map {
    height: calc(100svh - 220px);
    max-height: 620px;
  }

  .listing-grid.is-list .property-card {
    display: block;
    min-height: 0;
  }

  .listing-grid.is-list .property-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .property-title {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 26px 0;
  }

  .footer-meta {
    width: 100%;
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .detail-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .detail-shell {
    height: 100dvh;
    max-height: 100dvh;
  }

  .detail-gallery {
    padding: 12px;
  }

  .detail-media-tab {
    min-height: 32px;
    padding: 0 5px;
    font-size: 10px;
  }

  .detail-layout-list {
    grid-template-columns: 1fr;
  }

  .detail-info {
    padding: 22px 18px 32px;
  }

  .detail-info h2 {
    font-size: 22px;
  }

  .detail-price strong {
    font-size: 27px;
  }

  .detail-cta {
    flex-direction: column;
  }

  .toast {
    bottom: 18px;
  }
}

@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;
  }
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-logo-small {
  height: 34px;
}

.mobile-menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-soft);
  background: var(--surface);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 821px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.page-panel {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 60px;
}

.panel-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.panel-head h2 {
  margin: 6px 0 8px;
  font-size: 28px;
  line-height: 1.3;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-submit {
  justify-self: start;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.contact-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.contact-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.contact-list strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.contact-cta {
  margin-top: 18px;
}

.contact-cta .secondary-button {
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.feature-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 7px;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.franchise-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.franchise-block h3 {
  margin: 0 0 13px;
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
}

.check-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--green);
}

.step-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-list > li > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.step-list strong {
  display: block;
  font-size: 13px;
}

.step-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.franchise-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.franchise-form h3 {
  margin: 0 0 15px;
  font-size: 16px;
}

.franchise-form .form-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.footer-nav button:hover {
  color: var(--brand-strong);
}

@media (max-width: 820px) {
  .page-panel {
    width: min(100% - 32px, var(--content-width));
    padding: 32px 0 48px;
  }

  .panel-head h2 {
    font-size: 24px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .franchise-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-panel {
    width: min(100% - 24px, var(--content-width));
    padding: 26px 0 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: 14px;
  }
}

/* Unit price + listing date + advisor contact */
.property-listed {
  min-height: 16px;
  margin: 2px 0 0;
  overflow: hidden;
  color: #75807c;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-agent {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 8px 0;
  border-top: 1px solid #edf0ee;
}

.property-agent-avatar,
.detail-agent-avatar {
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: #e7f1ec;
  color: var(--green);
}

.property-agent-avatar {
  width: 36px;
  height: 36px;
}

.property-agent-avatar img,
.detail-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-agent-avatar i {
  width: 18px;
  height: 18px;
}

.property-agent-info {
  min-width: 0;
}

.property-agent-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.property-agent-name strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-agent-role {
  display: inline-flex;
  flex: none;
  align-items: center;
  margin-top: 0;
  padding: 2px 5px;
  border-radius: 3px;
  background: #e7f1ec;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.property-agent-name strong i {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--green);
}

.property-agent-info > span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #75807c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-agent-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 6px;
  align-items: center;
}

.property-agent-actions .agent-contact {
  flex: 1 1 118px;
}

.property-agent-actions .agent-online-consult {
  flex: 0 1 72px;
  justify-content: center;
}

.property-agent-actions .agent-contact-reveal,
.property-agent-actions .agent-contact-call {
  width: 100%;
  justify-content: center;
}

.property-agent-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.property-agent-call:hover {
  color: var(--brand-strong);
}

.property-agent-call i {
  width: 15px;
  height: 15px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 7px 12px;
  border: 1px solid var(--brand, #1f7a5a);
  border-radius: 999px;
  background: transparent;
  color: var(--brand, #1f7a5a);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-link:hover {
  background: var(--brand, #1f7a5a);
  color: #fff;
}

.contact-link i {
  width: 15px;
  height: 15px;
}

/* Agent contact reveal (masked phone -> verified full phone) */
.agent-contact {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.agent-contact-reveal,
.agent-contact-call,
.agent-online-consult {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.agent-contact-reveal {
  border: 1px dashed var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.agent-contact-reveal:hover:not(:disabled) {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.agent-contact-reveal:disabled {
  cursor: wait;
  opacity: 0.6;
}

.agent-contact-call {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
}

.agent-contact-call:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.agent-online-consult {
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}

.agent-online-consult:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.agent-contact-reveal i,
.agent-contact-call i,
.agent-online-consult i {
  width: 14px;
  height: 14px;
}

.detail-unit-price {
  margin-top: 4px;
  color: var(--ink-soft, #5c6b64);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.detail-contact {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line, #e4e9e6);
  border-radius: 8px;
  background: var(--surface-soft, #f5f8f6);
}

.detail-contact-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #1c2a24);
}

.detail-contact-note {
  margin: 6px 0 0;
  color: var(--ink-soft, #5c6b64);
  font-size: 12.5px;
  line-height: 1.5;
}

.detail-agent-list {
  margin-top: 14px;
  border-top: 1px solid var(--line, #e4e9e6);
}

.detail-agent {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #e4e9e6);
}

.detail-agent-avatar {
  width: 52px;
  height: 52px;
}

.detail-agent-avatar i {
  width: 22px;
  height: 22px;
}

.detail-agent-info {
  min-width: 0;
}

.detail-agent-name {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.detail-agent-name strong {
  color: var(--ink);
  font-size: 14px;
}

.detail-agent-name i {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.detail-agent-name span {
  padding: 2px 5px;
  border-radius: 3px;
  background: #e7f1ec;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.detail-agent-info p {
  margin: 4px 0 0;
  color: var(--ink-soft, #5c6b64);
  font-size: 12px;
  line-height: 1.45;
}

.detail-agent-service {
  color: var(--ink-soft, #5c6b64);
}

.detail-agent-meta {
  color: #7a8781;
}

.detail-agent-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.detail-agent-actions .agent-contact-reveal,
.detail-agent-actions .agent-contact-call,
.detail-agent-actions .agent-online-consult {
  min-height: 34px;
  justify-content: center;
}

.detail-agent-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line, #d7dfda);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.detail-agent-call.is-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.detail-agent-call i {
  width: 15px;
  height: 15px;
}

.detail-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.detail-contact-actions .primary-button,
.detail-contact-actions .secondary-button {
  white-space: nowrap;
}

.primary-button.ghost {
  background: transparent;
  color: var(--brand, #1f7a5a);
  border: 1px solid var(--brand, #1f7a5a);
}

@media (max-width: 640px) {
  .property-agent {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .property-agent .property-agent-actions {
    grid-column: 1 / -1;
  }
  .property-agent-call {
    grid-column: 1 / -1;
    justify-content: center;
    border: 1px solid var(--line, #d7dfda);
    border-radius: 4px;
  }
  .detail-agent {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .detail-agent-avatar {
    width: 42px;
    height: 42px;
  }
  .detail-agent-call {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .detail-agent-actions {
    gap: 6px;
  }
  .detail-agent-actions .agent-contact,
  .detail-agent-actions .agent-online-consult {
    flex: 1 1 120px;
  }
  .detail-agent-actions .agent-contact-reveal,
  .detail-agent-actions .agent-contact-call,
  .detail-agent-actions .agent-online-consult {
    width: 100%;
  }
  .detail-contact-actions .primary-button,
  .detail-contact-actions .secondary-button {
    flex: 1;
    justify-content: center;
  }
}

/* Floating property intelligence workspace */
.detail-dialog {
  position: relative;
  width: min(1480px, calc(100% - 36px));
  height: min(900px, calc(100dvh - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 146, 137, 0.55);
  border-radius: 8px;
  background: #eef2f0;
  box-shadow: 0 34px 96px rgba(8, 15, 12, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

.detail-dialog[open] {
  animation: detail-float-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.detail-dialog::after {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 92px;
  height: 3px;
  background: var(--brand);
  content: "";
  pointer-events: none;
}

.detail-dialog::backdrop {
  background: rgba(10, 16, 13, 0.6);
  backdrop-filter: blur(8px) saturate(0.82);
}

@keyframes detail-float-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.986);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-shell {
  display: flex;
  height: 100%;
  max-height: none;
  flex-direction: column;
}

.detail-toolbar {
  position: relative;
  display: grid;
  min-height: 64px;
  flex: 0 0 64px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid #cfd7d3;
  background: rgba(250, 252, 251, 0.98);
}

.detail-toolbar-brand,
.assistant-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.detail-toolbar-icon,
.assistant-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.detail-toolbar-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd6d1;
  border-radius: 5px;
  color: var(--brand-strong);
  background: #fff;
}

.detail-toolbar-icon svg,
.assistant-icon svg {
  width: 18px;
  height: 18px;
}

.detail-toolbar-copy,
.assistant-title {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.detail-toolbar-copy small,
.assistant-title small {
  overflow: hidden;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-toolbar-copy small {
  color: #708079;
}

.detail-toolbar-copy strong {
  overflow: hidden;
  color: #18231f;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-toolbar-status,
.assistant-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.detail-toolbar-status {
  color: #426452;
}

.detail-status-dot,
.assistant-ready > span {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #35aa72;
  box-shadow: 0 0 0 4px rgba(53, 170, 114, 0.13);
}

.detail-toolbar-actions {
  display: flex;
  gap: 5px;
}

.detail-toolbar .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #405049;
  background: #edf1ef;
}

.detail-toolbar .icon-button:hover {
  border-color: #cbd4d0;
  color: var(--brand-strong);
  background: #fff;
}

.detail-toolbar .detail-close-button {
  color: #fff;
  background: #18231f;
}

.detail-toolbar .detail-close-button:hover {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.detail-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.detail-workspace {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 12px minmax(360px, 410px);
  background: #fff;
}

.detail-workspace.is-property-closed,
.detail-workspace.is-assistant-closed {
  grid-template-columns: minmax(0, 1fr);
}

.detail-workspace.is-property-closed .assistant-cabin-header,
.detail-workspace.is-property-closed .assistant-cabin-body,
.detail-workspace.is-property-closed .detail-cta {
  width: min(860px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.detail-property-pane {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-color: #aebbb5 transparent;
  scrollbar-width: thin;
}

.detail-gallery {
  min-width: 0;
  padding: 18px 22px 22px;
  border: 0;
  border-bottom: 1px solid #d6ded9;
  background: #fff;
}

.detail-gallery-heading,
.assistant-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-gallery-heading {
  min-height: 24px;
  margin-bottom: 10px;
  color: #3c4d45;
}

.detail-gallery-heading span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 750;
}

.detail-gallery-heading svg {
  width: 15px;
  height: 15px;
  color: var(--brand-strong);
}

.detail-gallery-heading small {
  color: #708079;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.detail-pane-heading-actions,
.assistant-cabin-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.detail-pane-close-button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  place-items: center;
  border: 1px solid #d8e0dc;
  border-radius: 4px;
  color: #53635c;
  background: #f5f7f6;
}

.detail-pane-close-button:hover {
  border-color: #bdcbc5;
  color: #fff;
  background: #25332d;
}

.detail-pane-close-button svg {
  width: 15px;
  height: 15px;
}

.detail-flow-divider {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 1px 0 rgba(24, 35, 31, 0.08), inset -1px 0 rgba(24, 35, 31, 0.08);
}

.detail-flow-divider::before {
  position: absolute;
  inset: -280px 2px;
  background: linear-gradient(
    180deg,
    #ff245f 0%,
    #ffb21c 20%,
    #31d79b 40%,
    #00b7ff 60%,
    #7657ff 80%,
    #ff245f 100%
  );
  background-size: 100% 280px;
  box-shadow: 0 0 12px rgba(0, 183, 255, 0.42), 0 0 18px rgba(255, 36, 95, 0.24);
  content: "";
  animation: detail-divider-flow 3.2s linear infinite;
}

.detail-flow-divider::after {
  position: absolute;
  top: -24%;
  bottom: auto;
  left: 4px;
  width: 4px;
  height: 24%;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  content: "";
  animation: detail-divider-glint 2.1s ease-in-out infinite;
}

@keyframes detail-divider-flow {
  to { background-position: 0 280px; }
}

@keyframes detail-divider-glint {
  0% { top: -24%; opacity: 0; }
  18% { opacity: 0.9; }
  82% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

.detail-media-tabs {
  width: min(440px, 100%);
  margin-bottom: 10px;
  border-color: #cdd7d2;
  border-radius: 5px;
  background: #f8faf9;
}

.detail-media-tab {
  border-radius: 3px;
}

.detail-media-tab.is-active {
  color: #fff;
  background: #26342e;
}

.detail-main-image {
  position: relative;
  min-height: 360px;
  max-height: 590px;
  aspect-ratio: 16 / 9;
  border: 1px solid #cbd4d0;
  border-radius: 6px;
  background: #dce3df;
}

.detail-main-image img {
  object-position: center;
}

.detail-thumbnails {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: 210px;
  gap: 7px;
  margin-top: 9px;
}

.detail-thumbnail {
  border-radius: 4px;
}

.detail-thumbnail.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(216, 30, 6, 0.18);
}

.detail-video-item,
.detail-layout-item {
  border-radius: 5px;
}

.detail-info {
  padding: 26px 30px 38px;
  background: #fff;
}

.detail-property-header {
  display: grid;
}

.detail-info h2 {
  max-width: 34em;
  font-size: 27px;
  line-height: 1.34;
}

.detail-price {
  margin-top: 18px;
}

.detail-price strong {
  font-size: 32px;
}

.detail-facts {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-top: 24px;
}

.detail-fact {
  padding: 15px 12px;
}

.detail-fact:first-child {
  padding-left: 0;
}

.detail-information-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-information-grid .detail-section {
  margin: 0;
  padding: 20px 22px 22px 0;
}

.detail-information-grid .detail-overview {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.detail-description {
  max-width: 72em;
}

.detail-assistant-cabin {
  --cabin-line: rgba(203, 226, 215, 0.14);
  --cabin-muted: #96aaa1;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid #24332d;
  color: #ecf4f0;
  background: #111916;
  flex-direction: column;
}

.assistant-cabin-header {
  display: flex;
  min-height: 78px;
  flex: 0 0 78px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  border-bottom: 1px solid var(--cabin-line);
  background: #151f1b;
}

.assistant-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(126, 208, 174, 0.35);
  border-radius: 6px;
  color: #8de0bd;
  background: #1b2a24;
}

.assistant-title small {
  color: #7fa092;
}

.assistant-title strong {
  color: #f4f8f6;
  font-size: 15px;
}

.assistant-ready {
  padding: 5px 7px;
  border: 1px solid rgba(126, 208, 174, 0.25);
  border-radius: 4px;
  color: #9be2c4;
  background: rgba(126, 208, 174, 0.07);
}

.assistant-ready > span {
  animation: assistant-ready-pulse 1.8s ease-in-out infinite;
  background: #69d19f;
  box-shadow: 0 0 0 3px rgba(105, 209, 159, 0.12);
}

@keyframes assistant-ready-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.assistant-cabin-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #41574d transparent;
  scrollbar-width: thin;
}

.assistant-snapshot,
.detail-assistant-cabin .detail-ai-copy,
.detail-assistant-cabin .detail-contact {
  margin: 0;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid var(--cabin-line);
  border-radius: 0;
  background: transparent;
}

.assistant-section-heading strong {
  color: #eef5f1;
  font-size: 13px;
}

.assistant-section-heading small {
  color: #6f8f81;
  font-size: 9px;
  font-weight: 700;
}

.assistant-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 13px 0 0;
  border-top: 1px solid var(--cabin-line);
  border-left: 1px solid var(--cabin-line);
}

.assistant-metrics > div {
  min-width: 0;
  min-height: 66px;
  padding: 11px 12px;
  border-right: 1px solid var(--cabin-line);
  border-bottom: 1px solid var(--cabin-line);
}

.assistant-metrics dt {
  color: #789185;
  font-size: 9px;
}

.assistant-metrics dd {
  margin: 5px 0 0;
  overflow: hidden;
  color: #f4f8f6;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-metrics dd small {
  margin-left: 3px;
  color: var(--cabin-muted);
  font-size: 9px;
  font-weight: 500;
}

.detail-assistant-cabin .ai-copy-heading {
  margin-bottom: 13px;
}

.detail-assistant-cabin .ai-copy-heading h3 {
  color: #eef5f1;
  font-size: 13px;
}

.detail-assistant-cabin .ai-copy-heading h3 svg {
  color: #88dcb8;
}

.detail-assistant-cabin .ai-copy-status {
  border-color: var(--cabin-line);
  color: var(--cabin-muted);
  background: #19231f;
}

.detail-assistant-cabin .ai-copy-status.is-ready {
  border-color: rgba(126, 208, 174, 0.3);
  color: #93dfbf;
  background: rgba(126, 208, 174, 0.08);
}

.detail-assistant-cabin .ai-copy-status.is-generating {
  border-color: rgba(240, 194, 105, 0.3);
  color: #f0c269;
  background: rgba(240, 194, 105, 0.08);
}

.detail-assistant-cabin .ai-copy-body {
  color: #c6d2cc;
  font-size: 12px;
}

.detail-assistant-cabin .ai-copy-hook {
  color: #f4f8f6;
}

.detail-assistant-cabin .ai-copy-recommendation,
.detail-assistant-cabin .ai-copy-risk {
  color: var(--cabin-muted);
}

.detail-assistant-cabin .ai-copy-bullets li::marker {
  color: #e15745;
}

.detail-assistant-cabin .ai-copy-tags span {
  color: #9ae0c2;
  background: #1c3027;
}

.detail-assistant-cabin .ai-copy-loading span {
  background: #2a3a33;
}

.detail-assistant-cabin .detail-contact-title {
  color: #eef5f1;
  font-size: 13px;
}

.detail-assistant-cabin .detail-contact-title svg {
  width: 16px;
  height: 16px;
  color: #8de0bd;
}

.detail-assistant-cabin .detail-contact-note,
.detail-assistant-cabin .detail-agent-info p {
  color: var(--cabin-muted);
}

.detail-assistant-cabin .detail-agent-list {
  border-top-color: var(--cabin-line);
}

.detail-assistant-cabin .detail-agent {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  border-bottom-color: var(--cabin-line);
}

.detail-assistant-cabin .detail-agent-avatar {
  width: 52px;
  height: 52px;
  color: #87d5b4;
  background: #20332a;
}

.detail-assistant-cabin .detail-agent-name strong {
  color: #edf5f1;
}

.detail-assistant-cabin .detail-agent-name span {
  color: #8dd7b8;
  background: #20352b;
}

.detail-assistant-cabin .detail-agent-call {
  min-width: 38px;
  border-color: rgba(126, 208, 174, 0.28);
  color: #a3e3c8;
  background: transparent;
}

.detail-assistant-cabin .detail-agent-call.is-primary {
  border-color: #72c9a5;
  color: #102019;
  background: #8ad8b8;
}

.detail-assistant-cabin .detail-contact-actions {
  justify-content: stretch;
}

.detail-assistant-cabin .detail-contact-actions .primary-button,
.detail-assistant-cabin .detail-contact-actions .secondary-button,
.detail-assistant-cabin .detail-contact > .primary-button {
  width: 100%;
}

.detail-assistant-cabin .detail-cta {
  display: grid;
  min-height: 70px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--cabin-line);
  background: #151f1b;
}

.detail-assistant-cabin .detail-cta > :only-child {
  grid-column: 1 / -1;
}

.detail-assistant-cabin .detail-cta .primary-button,
.detail-assistant-cabin .detail-cta .secondary-button {
  min-height: 44px;
  border-radius: 5px;
}

.detail-assistant-cabin .primary-button.ghost {
  border-color: rgba(220, 234, 227, 0.28);
  color: #dce9e3;
  background: transparent;
}

.detail-assistant-cabin .primary-button.ghost:hover {
  border-color: #dce9e3;
  color: #111916;
  background: #dce9e3;
}

.detail-assistant-cabin .detail-cta .secondary-button {
  border: 1px solid #8ad8b8;
  color: #102019;
  background: #8ad8b8;
}

.detail-assistant-cabin .detail-cta .secondary-button:hover {
  border-color: #a5e5ca;
  background: #a5e5ca;
}

@media (max-width: 1120px) {
  .detail-dialog {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .detail-workspace {
    grid-template-columns: minmax(0, 1fr) 12px 350px;
  }

  .detail-workspace.is-property-closed,
  .detail-workspace.is-assistant-closed {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-gallery {
    padding-right: 16px;
    padding-left: 16px;
  }

  .detail-main-image {
    min-height: 300px;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .detail-info {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 860px) {
  .detail-content {
    overflow-y: auto;
  }

  .detail-workspace {
    display: block;
    height: auto;
  }

  .detail-flow-divider {
    width: 100%;
    height: 10px;
    min-height: 10px;
    box-shadow: inset 0 1px rgba(24, 35, 31, 0.08), inset 0 -1px rgba(24, 35, 31, 0.08);
  }

  .detail-flow-divider::before {
    inset: 2px -280px;
    background: linear-gradient(90deg, #ff245f 0%, #ffb21c 20%, #31d79b 40%, #00b7ff 60%, #7657ff 80%, #ff245f 100%);
    background-size: 280px 100%;
    animation-name: detail-divider-flow-horizontal;
  }

  .detail-flow-divider::after {
    display: none;
  }

  @keyframes detail-divider-flow-horizontal {
    to { background-position: 280px 0; }
  }

  .detail-property-pane,
  .assistant-cabin-body {
    overflow: visible;
  }

  .detail-assistant-cabin {
    overflow: visible;
    border-top: 1px solid #24332d;
    border-left: 0;
  }

  .assistant-cabin-header {
    min-height: 72px;
    flex-basis: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-flow-divider::before,
  .detail-flow-divider::after,
  .assistant-ready > span {
    animation: none;
  }
}

@media (max-width: 620px) {
  .detail-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .detail-toolbar {
    min-height: 58px;
    flex-basis: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 8px 0 10px;
  }

  .detail-toolbar-icon {
    width: 34px;
    height: 34px;
  }

  .detail-toolbar-copy small,
  .detail-toolbar-status {
    display: none;
  }

  .detail-toolbar-actions {
    gap: 2px;
  }

  .detail-toolbar .icon-button {
    width: 36px;
    height: 36px;
  }

  .detail-gallery {
    padding: 11px 10px 13px;
  }

  .detail-gallery-heading {
    margin-bottom: 8px;
  }

  .detail-main-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 180px;
  }

  .detail-info {
    padding: 20px 16px 30px;
  }

  .detail-info h2 {
    font-size: 22px;
  }

  .detail-price strong {
    font-size: 28px;
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-fact,
  .detail-fact:first-child,
  .detail-fact + .detail-fact {
    padding: 12px 10px;
    border-left: 0;
  }

  .detail-fact:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .detail-information-grid {
    grid-template-columns: 1fr;
  }

  .detail-information-grid .detail-section,
  .detail-information-grid .detail-overview {
    padding: 17px 0;
    border-left: 0;
  }

  .detail-information-grid .detail-overview {
    border-top: 1px solid var(--line);
  }

  .assistant-cabin-header,
  .assistant-snapshot,
  .detail-assistant-cabin .detail-ai-copy,
  .detail-assistant-cabin .detail-contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .assistant-ready {
    font-size: 9px;
  }

  .detail-assistant-cabin .detail-agent {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .detail-assistant-cabin .detail-agent-call {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* White dual cabins */
.detail-property-pane {
  scrollbar-color: #a4b0aa #f2f5f3;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.detail-property-pane::-webkit-scrollbar {
  width: 8px;
}

.detail-property-pane::-webkit-scrollbar-track {
  background: #f2f5f3;
}

.detail-property-pane::-webkit-scrollbar-thumb {
  border: 2px solid #f2f5f3;
  border-radius: 5px;
  background: #9daaa4;
}

.detail-property-pane::-webkit-scrollbar-thumb:hover {
  background: #718078;
}

.detail-property-pane::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.detail-assistant-cabin {
  --cabin-line: #e1e7e4;
  --cabin-muted: #68766f;
  position: relative;
  border-left: 0;
  color: #1b2521;
  background: #fff;
  box-shadow: none;
}

.assistant-cabin-header {
  border-bottom-color: var(--cabin-line);
  background: #fff;
}

.detail-toolbar .detail-pane-restore-button {
  border-color: #b9ddce;
  color: #267657;
  background: #eef8f3;
}

.detail-toolbar .detail-pane-restore-button:hover {
  border-color: #2f8c66;
  color: #fff;
  background: #2f8c66;
}

.assistant-icon {
  border-color: #b9ddce;
  color: #267657;
  background: #eef8f3;
}

.assistant-title small {
  color: #78867f;
}

.assistant-title strong,
.assistant-section-heading strong,
.detail-assistant-cabin .ai-copy-heading h3,
.detail-assistant-cabin .ai-copy-hook,
.detail-assistant-cabin .detail-contact-title,
.detail-assistant-cabin .detail-agent-name strong {
  color: #1b2521;
}

.assistant-ready {
  border-color: #b9ddce;
  color: #267657;
  background: #eef8f3;
}

.assistant-ready > span {
  background: #35aa72;
  box-shadow: 0 0 0 3px rgba(53, 170, 114, 0.13);
}

.assistant-cabin-body {
  scrollbar-color: #aab7b1 #f4f6f5;
}

.assistant-cabin-body::-webkit-scrollbar {
  width: 7px;
}

.assistant-cabin-body::-webkit-scrollbar-track {
  background: #f4f6f5;
}

.assistant-cabin-body::-webkit-scrollbar-thumb {
  border: 2px solid #f4f6f5;
  border-radius: 5px;
  background: #9aa9a2;
}

.assistant-snapshot,
.detail-assistant-cabin .detail-ai-copy,
.detail-assistant-cabin .detail-contact {
  border-bottom-color: var(--cabin-line);
  background: #fff;
}

.assistant-section-heading small {
  color: #3e8fa2;
}

.assistant-metrics {
  border-top-color: #dce4e0;
  border-left-color: #dce4e0;
  background: #fbfcfb;
}

.assistant-metrics > div {
  border-right-color: #dce4e0;
  border-bottom-color: #dce4e0;
}

.assistant-metrics dt {
  color: #74817b;
}

.assistant-metrics dd {
  color: #1b2521;
}

.assistant-metrics > div:first-child dd {
  color: var(--brand-strong);
}

.assistant-metrics > div:nth-child(3) dd {
  color: #2f7585;
}

.assistant-metrics > div:nth-child(4) dd {
  color: #2d7758;
}

.assistant-metrics dd small {
  color: #6f7c76;
}

.detail-assistant-cabin .ai-copy-heading h3 svg,
.detail-assistant-cabin .detail-contact-title svg {
  color: #2f8c66;
}

.detail-assistant-cabin .ai-copy-status {
  border-color: #dce4e0;
  color: #68766f;
  background: #f5f7f6;
}

.detail-assistant-cabin .ai-copy-status.is-ready {
  border-color: #b9ddce;
  color: #267657;
  background: #eef8f3;
}

.detail-assistant-cabin .ai-copy-status.is-generating {
  border-color: #ead2aa;
  color: #8a5b19;
  background: #fff8eb;
}

.detail-assistant-cabin .ai-copy-body {
  color: #405049;
}

.detail-assistant-cabin .ai-copy-recommendation,
.detail-assistant-cabin .ai-copy-risk,
.detail-assistant-cabin .detail-contact-note,
.detail-assistant-cabin .detail-agent-info p {
  color: #68766f;
}

.detail-assistant-cabin .ai-copy-tags span {
  color: #267657;
  background: #eaf5f0;
}

.detail-assistant-cabin .ai-copy-tags span:nth-child(4n + 2) {
  color: #8b5c19;
  background: #fff3df;
}

.detail-assistant-cabin .ai-copy-tags span:nth-child(4n + 3) {
  color: #2f7585;
  background: #eaf4f6;
}

.detail-assistant-cabin .ai-copy-tags span:nth-child(4n) {
  color: #9e3024;
  background: #fcecea;
}

.detail-assistant-cabin .ai-copy-loading span {
  background: #dfe6e2;
}

.detail-assistant-cabin .detail-agent-list,
.detail-assistant-cabin .detail-agent {
  border-color: var(--cabin-line);
}

.detail-assistant-cabin .detail-agent-avatar {
  color: #267657;
  background: #eaf5f0;
}

.detail-assistant-cabin .detail-agent-name span {
  color: #267657;
  background: #eaf5f0;
}

.detail-assistant-cabin .detail-agent-call {
  border-color: #bfd9ce;
  color: #267657;
  background: #fff;
}

.detail-assistant-cabin .detail-agent-call.is-primary {
  border-color: #2f8c66;
  color: #fff;
  background: #2f8c66;
}

.detail-assistant-cabin .detail-cta {
  border-top-color: var(--cabin-line);
  background: #fafcfb;
}

.detail-assistant-cabin .primary-button.ghost {
  border-color: #c9d3ce;
  color: #34433c;
  background: #fff;
}

.detail-assistant-cabin .primary-button.ghost:hover {
  border-color: #34433c;
  color: #fff;
  background: #34433c;
}

.detail-assistant-cabin .detail-cta .secondary-button {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.detail-assistant-cabin .detail-cta .secondary-button:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

@media (max-width: 860px) {
  .detail-property-pane {
    scrollbar-width: none;
  }

  .detail-property-pane::-webkit-scrollbar {
    display: none;
  }

  .detail-assistant-cabin {
    border-top: 0;
    box-shadow: none;
  }
}

/* Property detail command center */
.detail-dialog {
  width: min(1440px, calc(100% - 32px));
  height: min(920px, calc(100dvh - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid #cfd6d2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(18, 27, 23, 0.28);
}

.detail-dialog::after {
  display: none;
}

.detail-dialog::backdrop {
  background: rgba(24, 31, 28, 0.64);
  backdrop-filter: blur(5px);
}

.detail-toolbar {
  min-height: 64px;
  flex-basis: 64px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid #dfe4e1;
  background: #fff;
}

.detail-toolbar-icon {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
}

.detail-toolbar-copy {
  gap: 2px;
}

.detail-toolbar-copy strong {
  color: #17201d;
  font-size: 15px;
  line-height: 1.2;
}

.detail-toolbar-copy small {
  color: #7a8580;
  font-size: 10px;
  line-height: 1.2;
  order: 2;
}

.detail-toolbar-status {
  color: #4e655a;
  font-size: 11px;
  font-weight: 600;
}

.detail-toolbar .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e5e2;
  border-radius: 6px;
  color: #45534d;
  background: #f7f9f8;
}

.detail-toolbar .icon-button:hover {
  border-color: #bbc6c0;
  color: #17201d;
  background: #fff;
}

.detail-toolbar .detail-close-button,
.detail-toolbar .detail-close-button:hover {
  border-color: #17201d;
  color: #fff;
  background: #17201d;
}

.detail-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.detail-workspace {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  background: #fff;
}

.detail-mobile-switch {
  display: none;
}

.detail-property-pane {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-color: #aab4af #f3f5f4;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.detail-property-header {
  display: block;
  padding: 26px 30px 20px;
  border-bottom: 1px solid #e4e8e6;
  background: #fff;
}

.detail-property-header .detail-badges {
  margin-bottom: 10px;
}

.detail-property-header h2 {
  max-width: 34em;
  margin: 0;
  color: #17201d;
  font-size: 27px;
  line-height: 1.35;
}

.detail-property-header .detail-address {
  margin-top: 9px;
  color: #68746f;
  font-size: 13px;
}

.detail-gallery {
  padding: 20px 30px 24px;
  border: 0;
  border-bottom: 1px solid #e1e6e3;
  background: #f5f7f6;
}

.detail-gallery-heading {
  min-height: 24px;
  margin-bottom: 12px;
  color: #46534d;
}

.detail-gallery-heading span {
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.detail-gallery-heading svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.detail-gallery-heading small {
  color: #7a8580;
  font-size: 11px;
}

.detail-media-tabs {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid #d7deda;
  border-radius: 6px;
  background: #fff;
}

.detail-media-tab {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  color: #5f6c66;
  font-size: 12px;
}

.detail-media-tab.is-active {
  color: #fff;
  background: #24302b;
}

.detail-main-image {
  min-height: 360px;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d1d8d4;
  border-radius: 6px;
  background: #e3e7e5;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.detail-thumbnails {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-height: 210px;
  margin-top: 10px;
}

.detail-thumbnail {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
}

.detail-thumbnail.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(216, 30, 6, 0.15);
}

.detail-info {
  padding: 0 30px 42px;
  background: #fff;
}

.detail-facts {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  margin-top: 0;
  border-bottom: 1px solid #e1e6e3;
}

.detail-fact,
.detail-fact:first-child,
.detail-fact + .detail-fact {
  min-width: 0;
  padding: 18px 16px;
  border-left: 1px solid #e1e6e3;
}

.detail-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.detail-fact span {
  color: #7b8681;
  font-size: 11px;
}

.detail-fact strong {
  margin-top: 5px;
  overflow: hidden;
  color: #26312d;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-information-grid {
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr);
  margin-top: 24px;
  border-top: 1px solid #e1e6e3;
  border-bottom: 1px solid #e1e6e3;
}

.detail-information-grid .detail-section {
  padding: 22px 24px 24px 0;
}

.detail-information-grid .detail-overview {
  padding-left: 24px;
  border-left: 1px solid #e1e6e3;
}

.detail-section h3 {
  color: #26312d;
  font-size: 14px;
}

.detail-description {
  max-width: 70em;
  color: #606c66;
  font-size: 13px;
  line-height: 1.75;
}

.detail-command-center {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid #dbe1de;
  color: #1e2924;
  background: #f6f8f7;
  flex-direction: column;
}

.command-center-header {
  display: flex;
  min-height: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  border-bottom: 1px solid #dfe4e1;
  background: #fff;
}

.command-center-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.command-center-identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.command-center-identity strong {
  color: #17201d;
  font-size: 15px;
  line-height: 1.25;
}

.command-center-identity small {
  overflow: hidden;
  color: #75807b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-center-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid #c7d9d1;
  border-radius: 6px;
  color: #23694e;
  background: #eef6f2;
}

.command-center-icon svg {
  width: 18px;
  height: 18px;
}

.command-center-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid #cce1d7;
  border-radius: 4px;
  color: #23694e;
  background: #f0f8f4;
  font-size: 10px;
  font-weight: 700;
}

.command-center-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2aa36c;
}

.command-center-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #aab4af #eef1ef;
  scrollbar-width: thin;
}

.command-price-panel,
.command-section,
.detail-command-center .detail-ai-copy,
.detail-command-center .detail-contact {
  margin: 0;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid #dfe4e1;
  border-radius: 0;
  background: #fff;
}

.command-section-label {
  display: block;
  margin-bottom: 3px;
  color: #727e78;
  font-size: 11px;
  font-weight: 650;
}

.command-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.command-price strong {
  color: var(--brand);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.command-price small {
  color: #9b2d21;
  font-size: 13px;
  font-weight: 700;
}

.command-price-panel > p {
  margin: 4px 0 0;
  color: #5f6c66;
  font-size: 12px;
}

.command-primary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 8px;
  margin-top: 18px;
}

.command-primary-actions .primary-button,
.command-primary-actions .secondary-button {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 12px;
}

.command-primary-actions .primary-button {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.command-primary-actions .secondary-button {
  border-color: #ccd5d0;
  color: #34413b;
  background: #fff;
}

.command-primary-actions .command-favorite.is-saved {
  border-color: #dfaaa3;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.command-primary-actions .command-favorite.is-saved svg {
  fill: currentColor;
}

.command-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.command-section-heading strong {
  color: #26312d;
  font-size: 13px;
}

.command-section-heading small {
  color: #7b8681;
  font-size: 10px;
}

.command-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 0;
  border-top: 1px solid #e0e5e2;
  border-left: 1px solid #e0e5e2;
  background: #fafbfa;
}

.command-metrics > div {
  min-width: 0;
  min-height: 66px;
  padding: 11px 12px;
  border-right: 1px solid #e0e5e2;
  border-bottom: 1px solid #e0e5e2;
}

.command-metrics dt {
  color: #7a8580;
  font-size: 10px;
}

.command-metrics dd {
  margin: 5px 0 0;
  overflow: hidden;
  color: #26312d;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-command-center .ai-copy-heading {
  margin-bottom: 12px;
}

.detail-command-center .ai-copy-heading h3 {
  color: #26312d;
  font-size: 13px;
}

.detail-command-center .ai-copy-heading h3 svg {
  color: #2d7758;
}

.detail-command-center .ai-copy-body {
  color: #4f5d56;
  font-size: 12px;
}

.detail-command-center .ai-copy-hook {
  color: #1e2924;
}

.detail-command-center .ai-copy-status.is-ready {
  border-color: #bedbce;
  color: #256f52;
  background: #eef7f3;
}

.detail-command-center .ai-copy-tags span {
  color: #256f52;
  background: #edf6f2;
}

.command-service-note {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  background: #f8faf9;
}

.command-service-note > svg {
  width: 18px;
  height: 18px;
  color: #497466;
}

.command-service-note strong {
  display: block;
  color: #36443d;
  font-size: 12px;
}

.command-service-note p {
  margin: 4px 0 0;
  color: #75807b;
  font-size: 11px;
  line-height: 1.65;
}

.command-center-footer {
  display: grid;
  min-height: 68px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #dce2df;
  background: #fff;
}

.command-center-footer > :only-child {
  grid-column: 1 / -1;
}

.command-center-footer .primary-button,
.command-center-footer .secondary-button {
  min-width: 0;
  min-height: 42px;
  justify-content: center;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
}

.command-center-footer .primary-button {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.command-center-footer .secondary-button {
  border-color: #cbd4d0;
  color: #34413b;
  background: #fff;
}

@media (max-width: 1120px) {
  .detail-dialog {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .detail-workspace {
    grid-template-columns: minmax(0, 1fr) 370px;
  }

  .detail-property-header,
  .detail-gallery {
    padding-right: 22px;
    padding-left: 22px;
  }

  .detail-info {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 860px) {
  .detail-content {
    overflow: hidden;
  }

  .detail-workspace {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
  }

  .detail-mobile-switch {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 46px;
    flex: 0 0 46px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 5px;
    border-bottom: 1px solid #dde3e0;
    background: #f4f6f5;
  }

  .detail-mobile-switch button {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    color: #64706a;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
  }

  .detail-mobile-switch button.is-active {
    color: #17201d;
    background: #fff;
    box-shadow: 0 1px 3px rgba(30, 42, 36, 0.1);
  }

  .detail-mobile-switch svg {
    width: 15px;
    height: 15px;
  }

  .detail-property-pane,
  .detail-command-center {
    min-height: 0;
    flex: 1 1 auto;
  }

  .detail-command-center {
    display: none;
    border-left: 0;
  }

  .detail-workspace.is-mobile-command .detail-property-pane {
    display: none;
  }

  .detail-workspace.is-mobile-command .detail-command-center {
    display: flex;
  }
}

@media (max-width: 620px) {
  .detail-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .detail-toolbar {
    min-height: 58px;
    flex-basis: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 8px 0 10px;
  }

  .detail-toolbar-status {
    display: none;
  }

  .detail-toolbar-actions {
    gap: 3px;
  }

  .detail-toolbar .icon-button {
    width: 36px;
    height: 36px;
  }

  .detail-toolbar-icon {
    width: 34px;
    height: 34px;
  }

  .detail-property-header {
    padding: 20px 16px 16px;
  }

  .detail-property-header h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .detail-property-header .detail-address {
    font-size: 12px;
  }

  .detail-gallery {
    padding: 14px 10px 16px;
  }

  .detail-main-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-info {
    padding: 0 16px 30px;
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-fact,
  .detail-fact:first-child,
  .detail-fact + .detail-fact {
    padding: 14px 10px;
    border-left: 0;
  }

  .detail-fact:nth-child(even) {
    border-left: 1px solid #e1e6e3;
  }

  .detail-information-grid {
    grid-template-columns: 1fr;
  }

  .detail-information-grid .detail-section,
  .detail-information-grid .detail-overview {
    padding: 18px 0;
    border-left: 0;
  }

  .detail-information-grid .detail-overview {
    border-top: 1px solid #e1e6e3;
  }

  .command-center-header {
    min-height: 64px;
    flex-basis: 64px;
    padding: 0 16px;
  }

  .command-center-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .command-price-panel,
  .command-section,
  .detail-command-center .detail-ai-copy,
  .detail-command-center .detail-contact {
    padding: 20px 16px;
  }

  .command-price strong {
    font-size: 32px;
  }

  .command-primary-actions {
    grid-template-columns: 1fr;
  }

  .command-center-footer {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-dialog[open] {
    animation: none;
  }
}


/* 2026 gray-white liquid glass theme */
:root {
  --content-width: 1240px;
  --header-height: 72px;
  --brand: #b42318;
  --brand-strong: #8f1d15;
  --brand-soft: rgba(180, 35, 24, 0.1);
  --ink: #191b1e;
  --ink-soft: #3f444a;
  --muted: #666b72;
  --line: rgba(38, 43, 49, 0.14);
  --line-strong: rgba(38, 43, 49, 0.24);
  --paper: #eef0f2;
  --surface: #ffffff;
  --surface-soft: #f7f8f9;
  --green: #53645e;
  --green-soft: rgba(83, 100, 94, 0.1);
  --blue: #53616b;
  --amber: #866b45;
  --shadow: 0 18px 46px rgba(29, 33, 38, 0.1);
  --glass-blur: 18px;
  --glass-saturation: 0.82;
  --glass-alpha: 0.72;
  --glass-edge: rgba(255, 255, 255, 0.76);
  --glass-highlight: rgba(255, 255, 255, 0.92);
  --dashboard-bg-image: url("dashboard-glass-bg.webp");
  color-scheme: light;
}

html,
body {
  background: var(--paper);
}

body.liquid-glass-theme {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--dashboard-bg-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

body.liquid-glass-theme::before,
body.liquid-glass-theme::after {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body.liquid-glass-theme::before {
  inset: 0;
  background: rgba(238, 240, 242, 0.88);
  filter: grayscale(1) saturate(0.35);
}

body.liquid-glass-theme::after {
  inset: -40%;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.42) 46%, transparent 58%);
  opacity: 0.48;
  transform: translate3d(-16%, 0, 0) rotate(-5deg);
  animation: gray-glass-drift 24s linear infinite;
}

.liquid-glass-theme,
.liquid-glass-theme button,
.liquid-glass-theme input,
.liquid-glass-theme select,
.liquid-glass-theme textarea {
  font-synthesis: none;
}

.liquid-glass-theme button:focus-visible,
.liquid-glass-theme input:focus-visible,
.liquid-glass-theme select:focus-visible,
.liquid-glass-theme textarea:focus-visible,
.liquid-glass-theme a:focus-visible {
  outline: 3px solid rgba(180, 35, 24, 0.24);
  outline-offset: 3px;
}

.liquid-glass-theme .site-header {
  border-bottom-color: rgba(38, 43, 49, 0.11);
  background: rgba(249, 250, 251, 0.68);
  box-shadow: 0 8px 28px rgba(29, 33, 38, 0.07);
  backdrop-filter: blur(22px) saturate(0.86);
}

.liquid-glass-theme .header-inner,
.liquid-glass-theme .search-inner,
.liquid-glass-theme .catalog-shell,
.liquid-glass-theme .page-panel,
.liquid-glass-theme .footer-inner {
  width: min(var(--content-width), calc(100% - 40px));
}

.liquid-glass-theme .brand {
  gap: 11px;
}

.liquid-glass-theme .brand-logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(29, 33, 38, 0.1);
}

.liquid-glass-theme .brand-copy strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.liquid-glass-theme .brand-copy small {
  color: var(--muted);
  font-size: 10px;
}

.liquid-glass-theme .desktop-nav {
  gap: 22px;
}

.liquid-glass-theme .nav-link {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.liquid-glass-theme .nav-link::after {
  height: 2px;
  background: var(--brand);
}

.liquid-glass-theme .nav-link:hover,
.liquid-glass-theme .nav-link.is-active {
  color: var(--brand);
}

.liquid-glass-theme .saved-button,
.liquid-glass-theme .mobile-menu-toggle {
  min-height: 40px;
  border-color: var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 6px 16px rgba(29, 33, 38, 0.05);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .saved-button:hover,
.liquid-glass-theme .saved-button[aria-pressed="true"] {
  border-color: rgba(180, 35, 24, 0.28);
  color: var(--brand);
  background: rgba(255, 246, 244, 0.78);
}

.liquid-glass-theme .saved-count {
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .mobile-menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
}

.liquid-glass-theme .search-band {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid rgba(38, 43, 49, 0.1);
  background: transparent;
}

.liquid-glass-theme .search-inner {
  padding: 44px 0 30px;
}

.liquid-glass-theme .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.liquid-glass-theme .hero-copy-column {
  max-width: 900px;
  padding-top: 8px;
}

.liquid-glass-theme .search-kicker,
.liquid-glass-theme .eyebrow {
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.liquid-glass-theme .search-kicker span {
  width: 8px;
  height: 8px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.liquid-glass-theme .search-heading h1 {
  max-width: none;
  margin-top: 10px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
}

.liquid-glass-theme .search-heading > p:last-child {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.liquid-glass-theme .search-form {
  width: min(820px, 100%);
  gap: 12px;
  margin-top: 26px;
}

.liquid-glass-theme .search-input-wrap {
  height: 56px;
  padding: 0 17px;
  border-color: var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 10px 24px rgba(29, 33, 38, 0.08);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .search-input-wrap:focus-within {
  border-color: rgba(180, 35, 24, 0.55);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 0 0 4px rgba(180, 35, 24, 0.1), 0 14px 28px rgba(29, 33, 38, 0.1);
}

.liquid-glass-theme .search-input-wrap svg {
  color: var(--brand);
}

.liquid-glass-theme .search-input-wrap input {
  color: var(--ink);
  font-size: 15px;
}

.liquid-glass-theme .search-input-wrap input::placeholder {
  color: #8b9097;
}

.liquid-glass-theme .primary-button,
.liquid-glass-theme .agent-online-consult {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(180, 35, 24, 0.14);
}

.liquid-glass-theme .primary-button:hover,
.liquid-glass-theme .agent-online-consult:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  box-shadow: 0 12px 24px rgba(180, 35, 24, 0.18);
}

.liquid-glass-theme .search-submit {
  min-width: 132px;
  height: 56px;
  border-radius: 10px;
}

.liquid-glass-theme .secondary-button {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.liquid-glass-theme .secondary-button:hover,
.liquid-glass-theme .text-button:hover {
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--brand);
  background: rgba(255, 247, 245, 0.74);
}

.liquid-glass-theme .quick-search {
  gap: 15px;
  margin-top: 14px;
  color: var(--muted);
}

.liquid-glass-theme .quick-search > span {
  color: var(--ink-soft);
}

.liquid-glass-theme .quick-search button:hover {
  color: var(--brand);
}

.liquid-glass-theme .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.liquid-glass-theme .hero-stat-card,
.liquid-glass-theme .hero-stat-card.is-primary {
  position: relative;
  min-height: 82px;
  padding: 16px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .hero-stat-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--stat-accent, var(--brand));
  content: "";
}

.liquid-glass-theme .hero-stat-card:nth-child(1) { --stat-accent: var(--brand); }
.liquid-glass-theme .hero-stat-card:nth-child(2) { --stat-accent: #5d6670; }
.liquid-glass-theme .hero-stat-card:nth-child(3) { --stat-accent: #7c858d; }
.liquid-glass-theme .hero-stat-card:nth-child(4) { --stat-accent: #9a7d5a; }

.liquid-glass-theme .hero-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.liquid-glass-theme .hero-stat-head svg {
  width: 16px;
  height: 16px;
  color: var(--stat-accent, var(--brand));
}

.liquid-glass-theme .hero-stat-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.liquid-glass-theme .hero-stat-card.is-verification > strong {
  font-size: 20px;
  letter-spacing: 0;
}

.liquid-glass-theme .hero-stat-note,
.liquid-glass-theme .dashboard-source-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.liquid-glass-theme .hero-stat-note {
  display: block;
  margin-top: 6px;
}

.liquid-glass-theme .dashboard-source-note {
  margin: 10px 0 0;
}

.liquid-glass-theme .dashboard-drawer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.liquid-glass-theme .dashboard-drawer > summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}

.liquid-glass-theme .dashboard-drawer > summary::-webkit-details-marker {
  display: none;
}

.liquid-glass-theme .dashboard-drawer-title,
.liquid-glass-theme .dashboard-drawer-status {
  display: flex;
  min-width: 0;
  align-items: center;
}

.liquid-glass-theme .dashboard-drawer-title {
  gap: 8px;
}

.liquid-glass-theme .dashboard-drawer-title > svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.liquid-glass-theme .dashboard-drawer-title strong {
  color: var(--ink);
  font-size: 13px;
}

.liquid-glass-theme .dashboard-drawer-title small {
  color: var(--muted);
  font-size: 10px;
}

.liquid-glass-theme .dashboard-drawer-status {
  flex: 0 0 auto;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.liquid-glass-theme .dashboard-drawer-chevron {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.liquid-glass-theme .dashboard-drawer[open] .dashboard-drawer-chevron {
  transform: rotate(180deg);
}

.liquid-glass-theme .dashboard-drawer-content {
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
}

.liquid-glass-theme .dashboard-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.liquid-glass-theme .dashboard-card,
.liquid-glass-theme .glass-surface {
  position: relative;
  min-width: 0;
  min-height: 220px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .dashboard-card::after,
.liquid-glass-theme .property-card::after,
.liquid-glass-theme .page-panel .lead-form::after,
.liquid-glass-theme .page-panel .contact-card::after,
.liquid-glass-theme .page-panel .feature-card::after,
.liquid-glass-theme .page-panel .franchise-form::after {
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  height: 1px;
  background: rgba(255, 255, 255, 0.94);
  content: "";
  pointer-events: none;
}

.liquid-glass-theme .dashboard-card-bars { grid-column: span 4; }
.liquid-glass-theme .dashboard-card-energy { grid-column: span 5; }
.liquid-glass-theme .dashboard-card-rings { grid-column: span 3; }
.liquid-glass-theme .dashboard-card-signal { grid-column: span 7; }
.liquid-glass-theme .dashboard-card-progress { grid-column: span 5; }
.liquid-glass-theme .dashboard-card-events { grid-column: span 7; }
.liquid-glass-theme .dashboard-card-map { grid-column: span 5; }

.liquid-glass-theme .dashboard-card-heading {
  display: flex;
  min-height: 42px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.liquid-glass-theme .dashboard-card-heading .eyebrow {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.liquid-glass-theme .dashboard-card-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.liquid-glass-theme .dashboard-card-kpi {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.liquid-glass-theme .dashboard-card-kpi.is-accent {
  color: var(--brand);
}

.liquid-glass-theme .dashboard-bars {
  display: grid;
  height: 142px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
  margin-top: 18px;
  padding: 0 4px 20px;
  border-bottom: 1px solid var(--line);
}

.liquid-glass-theme .dashboard-bar-item {
  position: relative;
  display: flex;
  height: 100%;
  align-items: end;
  justify-content: center;
}

.liquid-glass-theme .dashboard-bar-item::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  color: var(--muted);
  content: attr(data-label);
  font-size: 10px;
  text-align: center;
}

.liquid-glass-theme .dashboard-bar {
  display: block;
  width: min(24px, 76%);
  height: 100%;
  min-height: 5px;
}

.liquid-glass-theme .dashboard-bar rect {
  fill: #b3b8bd;
  transition: fill 180ms ease;
}

.liquid-glass-theme .dashboard-bar.is-peak rect {
  fill: var(--brand);
}

.liquid-glass-theme .dashboard-bar-value {
  position: absolute;
  top: -18px;
  color: var(--ink-soft);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.liquid-glass-theme .dashboard-chart {
  min-height: 154px;
  margin-top: 10px;
}

.liquid-glass-theme .dashboard-signal-chart {
  position: relative;
}

.liquid-glass-theme .dashboard-chart svg {
  display: block;
  width: 100%;
  height: 154px;
  overflow: visible;
}

.liquid-glass-theme .dashboard-chart-gridline {
  stroke: rgba(38, 43, 49, 0.1);
  stroke-width: 1;
}

.liquid-glass-theme .dashboard-area-fill {
  fill: rgba(83, 100, 94, 0.14);
}

.liquid-glass-theme .dashboard-area-line,
.liquid-glass-theme .dashboard-signal-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.liquid-glass-theme .dashboard-area-line {
  stroke: #66746e;
}

.liquid-glass-theme .dashboard-signal-line {
  stroke: var(--brand);
}

.liquid-glass-theme .dashboard-chart-point {
  fill: #fff;
  stroke: #66746e;
  stroke-width: 2;
  cursor: crosshair;
}

.liquid-glass-theme .dashboard-chart-point.is-signal {
  stroke: var(--brand);
}

.liquid-glass-theme .dashboard-chart-point:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.liquid-glass-theme .dashboard-chart-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(29, 33, 38, 0.14);
  font-size: 11px;
  pointer-events: none;
  transform: translateX(-50%);
}

.liquid-glass-theme .dashboard-chart-tooltip strong,
.liquid-glass-theme .dashboard-chart-tooltip span {
  display: block;
}

.liquid-glass-theme .dashboard-chart-tooltip span {
  margin-top: 2px;
  color: var(--muted);
}

.liquid-glass-theme .dashboard-chart-crosshair {
  position: absolute;
  z-index: 2;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(180, 35, 24, 0.28);
  pointer-events: none;
  transform: translateX(-50%);
}

.liquid-glass-theme .dashboard-rings {
  display: flex;
  min-height: 164px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.liquid-glass-theme .dashboard-ring {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
}

.liquid-glass-theme .dashboard-ring > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.liquid-glass-theme .dashboard-ring-track,
.liquid-glass-theme .dashboard-ring-value {
  fill: none;
  stroke-width: 3;
}

.liquid-glass-theme .dashboard-ring-track {
  stroke: rgba(38, 43, 49, 0.1);
}

.liquid-glass-theme .dashboard-ring-value {
  stroke-linecap: round;
}

.liquid-glass-theme .dashboard-ring.is-new .dashboard-ring-value {
  stroke: #66746e;
}

.liquid-glass-theme .dashboard-ring.is-rental .dashboard-ring-value {
  stroke: var(--brand);
}

.liquid-glass-theme .dashboard-ring::after {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  content: "";
}

.liquid-glass-theme .dashboard-ring-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.liquid-glass-theme .dashboard-ring-content strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
}

.liquid-glass-theme .dashboard-ring-content span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.liquid-glass-theme .dashboard-progress-list {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.liquid-glass-theme .dashboard-progress-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 9px;
}

.liquid-glass-theme .dashboard-progress-row > span:first-child,
.liquid-glass-theme .dashboard-progress-row > strong {
  color: var(--muted);
  font-size: 11px;
}

.liquid-glass-theme .dashboard-progress-row > strong {
  color: var(--ink-soft);
  font-size: 10px;
  text-align: right;
}

.liquid-glass-theme .dashboard-progress-track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background: transparent;
}

.liquid-glass-theme .dashboard-progress-track::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(38, 43, 49, 0.1);
}

.liquid-glass-theme .dashboard-progress-track::-webkit-progress-value,
.liquid-glass-theme .dashboard-progress-track::-moz-progress-bar {
  border-radius: 999px;
  background: #66746e;
}

.liquid-glass-theme .dashboard-events {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.liquid-glass-theme .dashboard-event {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
}

.liquid-glass-theme .dashboard-event:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.liquid-glass-theme .dashboard-event i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.liquid-glass-theme .dashboard-event strong,
.liquid-glass-theme .dashboard-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liquid-glass-theme .dashboard-event strong {
  color: var(--ink-soft);
  font-size: 11px;
}

.liquid-glass-theme .dashboard-event span {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.liquid-glass-theme .dashboard-districts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.liquid-glass-theme .dashboard-district {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.28);
}

.liquid-glass-theme .dashboard-district strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liquid-glass-theme .dashboard-district span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.liquid-glass-theme .catalog-shell {
  min-height: 660px;
  padding-top: 28px;
  padding-bottom: 64px;
}

.liquid-glass-theme .mobile-category-scroller {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.liquid-glass-theme .category-tab {
  color: var(--muted);
}

.liquid-glass-theme .category-tab.is-active {
  color: var(--brand);
}

.liquid-glass-theme .category-tab::after {
  background: var(--brand);
}

.liquid-glass-theme .filter-toolbar {
  position: sticky;
  z-index: 20;
  top: calc(var(--header-height) + 10px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 12px 28px rgba(29, 33, 38, 0.08);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .filter-panel {
  display: flex;
  align-items: end;
  gap: 10px;
}

.liquid-glass-theme .select-field {
  min-width: 136px;
  flex: 1 1 136px;
}

.liquid-glass-theme .select-field > span {
  color: var(--muted);
}

.liquid-glass-theme .select-field select,
.liquid-glass-theme .sort-field select {
  border-color: var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.68);
}

.liquid-glass-theme .select-field select:focus,
.liquid-glass-theme .sort-field select:focus {
  border-color: rgba(180, 35, 24, 0.5);
}

.liquid-glass-theme .reset-button,
.liquid-glass-theme .mobile-filter-toggle,
.liquid-glass-theme .banner-retry {
  color: var(--muted);
}

.liquid-glass-theme .reset-button:hover,
.liquid-glass-theme .banner-retry:hover {
  color: var(--brand);
}

.liquid-glass-theme .mobile-filter-toggle {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.64);
}

.liquid-glass-theme .filter-count {
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .source-banner {
  border-color: rgba(134, 107, 69, 0.24);
  border-radius: 8px;
  color: #735d3e;
  background: rgba(255, 249, 238, 0.72);
}

.liquid-glass-theme .source-banner.is-partial {
  border-color: rgba(83, 97, 107, 0.24);
  color: #53616b;
  background: rgba(244, 247, 249, 0.74);
}

.liquid-glass-theme .catalog-heading {
  margin-top: 28px;
}

.liquid-glass-theme .catalog-heading h2 {
  color: var(--ink);
  font-size: 26px;
}

.liquid-glass-theme .result-meta {
  color: var(--muted);
}

.liquid-glass-theme .sort-field select,
.liquid-glass-theme .view-switch,
.liquid-glass-theme .view-switch .icon-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.liquid-glass-theme .view-switch .icon-button.is-active {
  color: #fff;
  background: var(--ink);
}

.liquid-glass-theme .listing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.liquid-glass-theme .property-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 12px 26px rgba(29, 33, 38, 0.08);
  backdrop-filter: blur(12px) saturate(var(--glass-saturation));
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.liquid-glass-theme .property-card:hover {
  border-color: rgba(180, 35, 24, 0.32);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 20px 38px rgba(29, 33, 38, 0.14);
  transform: translateY(-3px);
}

.liquid-glass-theme .property-media {
  aspect-ratio: 4 / 3;
  background: #dfe3e6;
}

.liquid-glass-theme .property-media::after {
  height: 38%;
  background: linear-gradient(to top, rgba(18, 20, 23, 0.3), transparent);
}

.liquid-glass-theme .property-media img {
  transition: transform 240ms ease, filter 240ms ease;
}

.liquid-glass-theme .property-card:hover .property-media img {
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.035);
}

.liquid-glass-theme .property-type,
.liquid-glass-theme .card-favorite {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(0.82);
}

.liquid-glass-theme .property-type {
  color: var(--ink-soft);
}

.liquid-glass-theme .card-favorite {
  border-radius: 50%;
}

.liquid-glass-theme .card-favorite:hover,
.liquid-glass-theme .card-favorite.is-saved {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .property-body {
  padding: 14px;
}

.liquid-glass-theme .property-location {
  color: var(--muted);
}

.liquid-glass-theme .property-location svg {
  color: var(--brand);
}

.liquid-glass-theme .property-title,
.liquid-glass-theme .property-title button {
  color: var(--ink);
  text-shadow: none;
}

.liquid-glass-theme .property-title {
  min-height: 46px;
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.42;
}

.liquid-glass-theme .property-title button:hover {
  color: var(--brand);
}

.liquid-glass-theme .property-community,
.liquid-glass-theme .property-address,
.liquid-glass-theme .property-number,
.liquid-glass-theme .property-listed {
  color: var(--muted);
}

.liquid-glass-theme .property-community strong {
  color: var(--ink-soft);
}

.liquid-glass-theme .property-facts {
  color: var(--ink-soft);
}

.liquid-glass-theme .property-facts span + span::before {
  background: var(--line);
}

.liquid-glass-theme .property-tags {
  min-height: 24px;
}

.liquid-glass-theme .property-tag {
  border-color: rgba(83, 100, 94, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
}

.liquid-glass-theme .property-footer {
  border-top-color: var(--line);
}

.liquid-glass-theme .property-price,
.liquid-glass-theme .property-price strong,
.liquid-glass-theme .detail-price,
.liquid-glass-theme .detail-price strong,
.liquid-glass-theme .command-price strong {
  color: var(--brand);
}

.liquid-glass-theme .property-price strong {
  font-size: 20px;
}

.liquid-glass-theme .property-price small {
  color: var(--muted);
}

.liquid-glass-theme .detail-link {
  color: var(--ink-soft);
}

.liquid-glass-theme .detail-link:hover {
  color: var(--brand);
}

.liquid-glass-theme .property-agent {
  border-top-color: var(--line);
}

.liquid-glass-theme .property-agent-avatar,
.liquid-glass-theme .detail-agent-avatar {
  color: var(--green);
  background: rgba(83, 100, 94, 0.12);
}

.liquid-glass-theme .property-agent-name strong,
.liquid-glass-theme .detail-agent-name strong {
  color: var(--ink);
}

.liquid-glass-theme .property-agent-role,
.liquid-glass-theme .detail-agent-name span {
  color: var(--green);
  background: var(--green-soft);
}

.liquid-glass-theme .property-agent-name strong i,
.liquid-glass-theme .detail-agent-name i {
  color: var(--green);
}

.liquid-glass-theme .property-agent-info > span,
.liquid-glass-theme .property-agent-call,
.liquid-glass-theme .detail-agent-info p,
.liquid-glass-theme .detail-agent-meta {
  color: var(--muted);
}

.liquid-glass-theme .agent-contact-reveal {
  border-color: rgba(83, 100, 94, 0.24);
  color: var(--green);
  background: rgba(83, 100, 94, 0.08);
}

.liquid-glass-theme .agent-contact-reveal:hover:not(:disabled) {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.liquid-glass-theme .agent-contact-call,
.liquid-glass-theme .detail-agent-call.is-primary {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.liquid-glass-theme .agent-contact-call:hover,
.liquid-glass-theme .detail-agent-call.is-primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.liquid-glass-theme .listing-grid.is-list {
  grid-template-columns: 1fr;
}

.liquid-glass-theme .listing-grid.is-list .property-card {
  grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
}

.liquid-glass-theme .listing-grid.is-list .property-media {
  min-height: 250px;
}

.liquid-glass-theme .listing-grid.is-list .property-title {
  font-size: 19px;
}

.liquid-glass-theme .property-map,
.liquid-glass-theme .map-view {
  border-color: var(--line);
  border-radius: 8px;
  background: #e1e5e8;
}

.liquid-glass-theme .map-view.is-tile-degraded .property-map {
  background-color: #e1e5e8;
  background-image:
    linear-gradient(rgba(102, 107, 114, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 107, 114, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

.liquid-glass-theme .property-map .leaflet-tile.is-tile-error {
  opacity: 0;
}

.liquid-glass-theme .property-map-marker span {
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(29, 33, 38, 0.18);
}

.liquid-glass-theme .property-map-marker::after {
  background: var(--brand);
}

.liquid-glass-theme .map-status {
  border-color: var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.liquid-glass-theme .map-view.is-tile-degraded .map-status {
  border-color: rgba(180, 35, 24, 0.24);
  color: var(--ink);
}

.liquid-glass-theme .empty-state {
  min-height: 360px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.liquid-glass-theme .empty-icon {
  color: var(--brand);
  background: rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .empty-state-inner h3 {
  color: var(--ink);
}

.liquid-glass-theme .empty-state-inner p {
  color: var(--muted);
}

.liquid-glass-theme .pagination-wrap {
  margin-top: 24px;
}

.liquid-glass-theme .page-button {
  border-color: var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
}

.liquid-glass-theme .page-button:hover:not(:disabled),
.liquid-glass-theme .page-button.is-active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .page-button:disabled {
  opacity: 0.42;
}

.liquid-glass-theme .page-panel {
  padding-top: 48px;
  padding-bottom: 72px;
}

.liquid-glass-theme .panel-head {
  max-width: 760px;
}

.liquid-glass-theme .panel-head h2 {
  color: var(--ink);
  font-size: 32px;
}

.liquid-glass-theme .panel-head p {
  color: var(--muted);
}

.liquid-glass-theme .page-panel .lead-form,
.liquid-glass-theme .page-panel .contact-card,
.liquid-glass-theme .page-panel .feature-card,
.liquid-glass-theme .page-panel .franchise-form {
  position: relative;
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.liquid-glass-theme .form-field > span,
.liquid-glass-theme .form-note,
.liquid-glass-theme .contact-list span,
.liquid-glass-theme .step-list p {
  color: var(--muted);
}

.liquid-glass-theme .form-field input,
.liquid-glass-theme .form-field select,
.liquid-glass-theme .form-field textarea {
  border-color: var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.liquid-glass-theme .form-field input:focus,
.liquid-glass-theme .form-field select:focus,
.liquid-glass-theme .form-field textarea:focus {
  border-color: rgba(180, 35, 24, 0.5);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .contact-card h3,
.liquid-glass-theme .contact-list strong,
.liquid-glass-theme .feature-card h3,
.liquid-glass-theme .franchise-block h3,
.liquid-glass-theme .franchise-form h3 {
  color: var(--ink);
}

.liquid-glass-theme .contact-list svg,
.liquid-glass-theme .feature-icon,
.liquid-glass-theme .check-list svg {
  color: var(--brand);
}

.liquid-glass-theme .feature-icon {
  border: 1px solid rgba(180, 35, 24, 0.12);
  background: rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .franchise-block {
  border-left-color: var(--brand);
}

.liquid-glass-theme .step-list > li > span {
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .site-footer {
  border-top-color: var(--line);
  color: var(--ink);
  background: rgba(248, 249, 250, 0.7);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(20px) saturate(0.84);
}

.liquid-glass-theme .footer-brand strong {
  color: var(--ink);
}

.liquid-glass-theme .footer-brand span,
.liquid-glass-theme .footer-nav button,
.liquid-glass-theme .footer-meta {
  color: var(--muted);
}

.liquid-glass-theme .footer-nav button:hover,
.liquid-glass-theme .footer-links a:hover {
  color: var(--brand);
}

.liquid-glass-theme .detail-dialog {
  position: fixed;
  inset: 0;
  width: min(1440px, calc(100% - 32px));
  height: min(920px, calc(100dvh - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  border: 1px solid rgba(38, 43, 49, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(248, 249, 250, 0.9);
  box-shadow: 0 34px 96px rgba(29, 33, 38, 0.28), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(24px) saturate(0.86);
}

.liquid-glass-theme .detail-dialog::backdrop {
  background: rgba(21, 24, 27, 0.42);
  backdrop-filter: blur(9px) grayscale(0.25);
}

.liquid-glass-theme .detail-toolbar {
  min-height: 64px;
  flex-basis: 64px;
  border-bottom-color: var(--line);
  background: rgba(250, 251, 252, 0.72);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(0.86);
}

.liquid-glass-theme .detail-toolbar-icon {
  border-color: rgba(180, 35, 24, 0.18);
  border-radius: 10px;
  color: var(--brand);
  background: rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .detail-toolbar-copy strong,
.liquid-glass-theme .detail-property-header h2,
.liquid-glass-theme .detail-fact strong,
.liquid-glass-theme .detail-section h3,
.liquid-glass-theme .command-center-identity strong,
.liquid-glass-theme .command-metrics dd,
.liquid-glass-theme .command-section-heading strong,
.liquid-glass-theme .command-service-note strong {
  color: var(--ink);
}

.liquid-glass-theme .detail-toolbar-copy small,
.liquid-glass-theme .detail-toolbar-status,
.liquid-glass-theme .detail-property-header .detail-address,
.liquid-glass-theme .detail-gallery-heading,
.liquid-glass-theme .detail-gallery-heading small,
.liquid-glass-theme .detail-fact span,
.liquid-glass-theme .detail-description,
.liquid-glass-theme .command-center-identity small,
.liquid-glass-theme .command-section-label,
.liquid-glass-theme .command-price-panel > p,
.liquid-glass-theme .command-section-heading small,
.liquid-glass-theme .command-metrics dt,
.liquid-glass-theme .command-service-note p {
  color: var(--muted);
}

.liquid-glass-theme .detail-toolbar .icon-button {
  border-color: var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
}

.liquid-glass-theme .detail-toolbar .icon-button:hover {
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--brand);
  background: rgba(255, 246, 244, 0.72);
}

.liquid-glass-theme .detail-toolbar .detail-close-button,
.liquid-glass-theme .detail-toolbar .detail-close-button:hover {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.liquid-glass-theme .detail-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 410px);
  background: rgba(244, 246, 247, 0.72);
}

.liquid-glass-theme .detail-property-pane {
  background: rgba(255, 255, 255, 0.52);
}

.liquid-glass-theme .detail-property-header {
  padding: 28px 30px 22px;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.liquid-glass-theme .detail-badge {
  border: 1px solid rgba(180, 35, 24, 0.14);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .detail-badge.number {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.liquid-glass-theme .detail-gallery {
  padding: 20px 30px 24px;
  border-bottom-color: var(--line);
  background: rgba(237, 240, 242, 0.68);
}

.liquid-glass-theme .detail-gallery-heading svg {
  color: var(--brand);
}

.liquid-glass-theme .detail-media-tabs,
.liquid-glass-theme .detail-main-image,
.liquid-glass-theme .detail-thumbnail {
  border-color: var(--line);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.liquid-glass-theme .detail-media-tabs {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.liquid-glass-theme .detail-media-tab {
  border-radius: 999px;
  color: var(--muted);
}

.liquid-glass-theme .detail-media-tab.is-active,
.liquid-glass-theme .detail-mobile-switch button.is-active {
  color: #fff;
  background: var(--ink);
}

.liquid-glass-theme .detail-main-image {
  border-radius: 10px;
  background: #dfe3e6;
}

.liquid-glass-theme .detail-thumbnail {
  border-radius: 6px;
}

.liquid-glass-theme .detail-thumbnail.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}

.liquid-glass-theme .detail-info {
  padding: 0 30px 42px;
  background: rgba(255, 255, 255, 0.45);
}

.liquid-glass-theme .detail-facts,
.liquid-glass-theme .detail-information-grid,
.liquid-glass-theme .detail-information-grid .detail-overview,
.liquid-glass-theme .detail-fact,
.liquid-glass-theme .detail-fact + .detail-fact {
  border-color: var(--line);
}

.liquid-glass-theme .detail-command-center {
  border-left-color: var(--line);
  color: var(--ink);
  background: rgba(247, 248, 249, 0.72);
}

.liquid-glass-theme .command-center-header,
.liquid-glass-theme .command-center-footer {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(0.86);
}

.liquid-glass-theme .command-center-icon {
  border-color: rgba(180, 35, 24, 0.16);
  border-radius: 10px;
  color: var(--brand);
  background: rgba(180, 35, 24, 0.08);
}

.liquid-glass-theme .command-center-status {
  border-color: rgba(83, 100, 94, 0.22);
  color: var(--green);
  background: rgba(83, 100, 94, 0.08);
}

.liquid-glass-theme .command-center-status > span {
  background: var(--green);
}

.liquid-glass-theme .command-price-panel,
.liquid-glass-theme .command-section,
.liquid-glass-theme .detail-command-center .detail-ai-copy,
.liquid-glass-theme .detail-command-center .detail-contact {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.liquid-glass-theme .command-price-panel {
  border-left: 3px solid var(--brand);
}

.liquid-glass-theme .command-price strong {
  font-size: 32px;
}

.liquid-glass-theme .command-primary-actions .primary-button,
.liquid-glass-theme .command-center-footer .primary-button {
  border-color: var(--brand);
  background: var(--brand);
}

.liquid-glass-theme .command-primary-actions .secondary-button,
.liquid-glass-theme .command-center-footer .secondary-button {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
}

.liquid-glass-theme .command-metrics {
  border-color: var(--line);
}

.liquid-glass-theme .command-metrics > div {
  border-color: var(--line);
}

.liquid-glass-theme .detail-command-center .ai-copy-heading h3 svg,
.liquid-glass-theme .command-service-note > svg {
  color: var(--brand);
}

.liquid-glass-theme .detail-command-center .ai-copy-status.is-ready,
.liquid-glass-theme .detail-command-center .ai-copy-tags span {
  border-color: rgba(83, 100, 94, 0.2);
  color: var(--green);
  background: var(--green-soft);
}

.liquid-glass-theme .command-service-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.liquid-glass-theme .detail-alternative-agents .detail-agent {
  border-color: var(--line);
}

.liquid-glass-theme .detail-alternative-agents .detail-agent-avatar {
  color: var(--green);
  background: var(--green-soft);
}

.liquid-glass-theme .detail-alternative-agents .agent-contact-reveal,
.liquid-glass-theme .detail-alternative-agents .agent-contact-call {
  border-color: var(--green);
}

.detail-command-center .detail-alternative-agents {
  margin: 0;
}

.liquid-glass-theme .search-band.is-listing-focus .dashboard-drawer {
  display: none;
}

.liquid-glass-theme .detail-mobile-switch {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.liquid-glass-theme .toast {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(25, 27, 30, 0.92);
  box-shadow: 0 12px 28px rgba(29, 33, 38, 0.22);
}

.liquid-glass-theme .noscript-message {
  border-color: rgba(180, 35, 24, 0.24);
  border-radius: 8px;
  color: var(--brand-strong);
  background: rgba(255, 246, 244, 0.92);
}

@supports not (backdrop-filter: blur(1px)) {
  .liquid-glass-theme .site-header,
  .liquid-glass-theme .saved-button,
  .liquid-glass-theme .mobile-menu-toggle,
  .liquid-glass-theme .search-input-wrap,
  .liquid-glass-theme .hero-stat-card,
  .liquid-glass-theme .dashboard-card,
  .liquid-glass-theme .filter-toolbar,
  .liquid-glass-theme .property-card,
  .liquid-glass-theme .page-panel .lead-form,
  .liquid-glass-theme .page-panel .contact-card,
  .liquid-glass-theme .page-panel .feature-card,
  .liquid-glass-theme .page-panel .franchise-form,
  .liquid-glass-theme .detail-dialog,
  .liquid-glass-theme .detail-toolbar {
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (min-width: 1100px) {
  .liquid-glass-theme .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 821px) and (max-width: 1099px) {
  .liquid-glass-theme .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .liquid-glass-theme .dashboard-card-bars,
  .liquid-glass-theme .dashboard-card-rings,
  .liquid-glass-theme .dashboard-card-energy {
    grid-column: span 4;
  }

  .liquid-glass-theme .dashboard-card-signal,
  .liquid-glass-theme .dashboard-card-progress,
  .liquid-glass-theme .dashboard-card-events,
  .liquid-glass-theme .dashboard-card-map {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  body.liquid-glass-theme {
    background-attachment: scroll;
  }

  body.liquid-glass-theme::after {
    animation: none;
    opacity: 0.24;
  }

  .liquid-glass-theme .mobile-menu-toggle,
  .liquid-glass-theme .saved-button,
  .liquid-glass-theme .mobile-filter-toggle,
  .liquid-glass-theme .desktop-nav .nav-link,
  .liquid-glass-theme .select-field select,
  .liquid-glass-theme .sort-field select,
  .liquid-glass-theme .reset-button,
  .liquid-glass-theme .quick-search button,
  .liquid-glass-theme .property-title button,
  .liquid-glass-theme .detail-link,
  .liquid-glass-theme .detail-toolbar .icon-button,
  .liquid-glass-theme .detail-mobile-switch button,
  .liquid-glass-theme .property-agent-actions button {
    min-height: 44px;
  }

  .liquid-glass-theme .mobile-menu-toggle,
  .liquid-glass-theme .saved-button,
  .liquid-glass-theme .detail-toolbar .icon-button {
    min-width: 44px;
  }

  .liquid-glass-theme .brand,
  .liquid-glass-theme .quick-search button,
  .liquid-glass-theme .category-tab,
  .liquid-glass-theme .page-button,
  .liquid-glass-theme .dashboard-event,
  .liquid-glass-theme .footer-nav button,
  .liquid-glass-theme .footer-links a {
    min-height: 44px;
  }

  .liquid-glass-theme .quick-search button,
  .liquid-glass-theme .category-tab,
  .liquid-glass-theme .page-button,
  .liquid-glass-theme .footer-nav button {
    min-width: 44px;
  }

  .liquid-glass-theme .quick-search button,
  .liquid-glass-theme .footer-nav button,
  .liquid-glass-theme .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .liquid-glass-theme .quick-search button {
    padding: 0 4px;
  }

  .liquid-glass-theme .category-tab {
    padding-right: 10px;
    padding-left: 10px;
  }

  .liquid-glass-theme .page-button {
    width: 44px;
    height: 44px;
  }

  .liquid-glass-theme .card-favorite {
    width: 44px;
    height: 44px;
  }

  .liquid-glass-theme .view-switch {
    height: 46px;
    grid-template-columns: repeat(3, 44px);
  }

  .liquid-glass-theme .view-switch .icon-button {
    width: 44px;
    height: 44px;
  }

  .liquid-glass-theme .catalog-actions .sort-field select {
    height: 46px;
  }

  .liquid-glass-theme .header-inner,
  .liquid-glass-theme .search-inner,
  .liquid-glass-theme .catalog-shell,
  .liquid-glass-theme .page-panel,
  .liquid-glass-theme .footer-inner {
    width: min(100% - 32px, var(--content-width));
  }

  .liquid-glass-theme .desktop-nav {
    gap: 16px;
  }

  .liquid-glass-theme .search-heading h1 {
    font-size: 38px;
  }

  .liquid-glass-theme .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquid-glass-theme .filter-toolbar {
    position: static;
  }

  .liquid-glass-theme .filter-panel {
    display: none;
    flex-wrap: wrap;
  }

  .liquid-glass-theme .filter-toolbar.is-open .filter-panel {
    display: flex;
  }

  .liquid-glass-theme .select-field {
    flex-basis: calc(50% - 5px);
  }

  .liquid-glass-theme .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquid-glass-theme .dashboard-card,
  .liquid-glass-theme .dashboard-card-bars,
  .liquid-glass-theme .dashboard-card-energy,
  .liquid-glass-theme .dashboard-card-rings,
  .liquid-glass-theme .dashboard-card-signal,
  .liquid-glass-theme .dashboard-card-progress,
  .liquid-glass-theme .dashboard-card-events,
  .liquid-glass-theme .dashboard-card-map {
    grid-column: 1 / -1;
  }

  .liquid-glass-theme .detail-dialog {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }

  .liquid-glass-theme .detail-workspace {
    display: block;
    height: auto;
  }

  .liquid-glass-theme .detail-content {
    overflow-y: auto;
  }

  .liquid-glass-theme .detail-mobile-switch {
    position: sticky;
    z-index: 6;
    top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 12px 16px 0;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 249, 250, 0.9);
    box-shadow: 0 8px 20px rgba(29, 33, 38, 0.1);
    backdrop-filter: blur(16px) saturate(0.86);
  }

  .liquid-glass-theme .detail-mobile-switch button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
  }

  .liquid-glass-theme .detail-media-tab,
  .liquid-glass-theme .command-primary-actions .primary-button,
  .liquid-glass-theme .command-primary-actions .secondary-button,
  .liquid-glass-theme .command-center-footer .primary-button,
  .liquid-glass-theme .command-center-footer .secondary-button,
  .liquid-glass-theme .detail-agent-actions .agent-contact-reveal,
  .liquid-glass-theme .detail-agent-actions .agent-contact-call,
  .liquid-glass-theme .detail-agent-actions .agent-online-consult {
    min-height: 44px;
  }

  .liquid-glass-theme .detail-workspace.is-mobile-command .detail-property-pane,
  .liquid-glass-theme .detail-workspace:not(.is-mobile-command) .detail-command-center {
    display: none;
  }

  .liquid-glass-theme .detail-command-center {
    min-height: 0;
    border-left: 0;
  }

  .liquid-glass-theme .detail-property-header,
  .liquid-glass-theme .detail-gallery,
  .liquid-glass-theme .detail-info {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 620px) {
  .liquid-glass-theme .header-inner,
  .liquid-glass-theme .search-inner,
  .liquid-glass-theme .catalog-shell,
  .liquid-glass-theme .page-panel,
  .liquid-glass-theme .footer-inner {
    width: min(100% - 24px, var(--content-width));
  }

  .liquid-glass-theme .site-header {
    height: 64px;
  }

  .liquid-glass-theme .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .liquid-glass-theme .brand-copy strong {
    font-size: 14px;
  }

  .liquid-glass-theme .brand-copy small,
  .liquid-glass-theme .saved-button > span:not(.saved-count) {
    display: none;
  }

  .liquid-glass-theme .search-inner {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .liquid-glass-theme .search-heading h1 {
    font-size: 30px;
  }

  .liquid-glass-theme .search-heading > p:last-child {
    font-size: 13px;
  }

  .liquid-glass-theme .search-form {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .liquid-glass-theme .search-submit {
    width: 100%;
  }

  .liquid-glass-theme .hero-stats {
    gap: 8px;
  }

  .liquid-glass-theme .search-band.is-listing-focus .hero-stats {
    display: none;
  }

  .liquid-glass-theme .hero-stat-card,
  .liquid-glass-theme .hero-stat-card.is-primary {
    min-height: 74px;
    padding: 13px;
  }

  .liquid-glass-theme .hero-stat-card > strong {
    font-size: 21px;
  }

  .liquid-glass-theme .hero-stat-card.is-verification > strong {
    font-size: 18px;
  }

  .liquid-glass-theme .dashboard-drawer-status > span:not(.hero-live-dot) {
    display: none;
  }

  .liquid-glass-theme .mobile-category-scroller {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .liquid-glass-theme .mobile-category-scroller::-webkit-scrollbar {
    display: none;
  }

  .liquid-glass-theme .category-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .liquid-glass-theme .quick-search button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .liquid-glass-theme .category-tab.is-active {
    color: #fff;
    background: var(--ink);
  }

  .liquid-glass-theme .filter-toolbar {
    margin-top: 12px;
    padding: 8px;
  }

  .liquid-glass-theme .mobile-filter-toggle {
    display: inline-flex;
    width: 100%;
  }

  .liquid-glass-theme .filter-panel {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .liquid-glass-theme .filter-toolbar.is-open .filter-panel {
    display: flex;
  }

  .liquid-glass-theme .select-field {
    flex-basis: 100%;
  }

  .liquid-glass-theme .reset-button {
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
  }

  .liquid-glass-theme .catalog-heading {
    display: grid;
    align-items: start;
    gap: 14px;
    margin: 22px 0 14px;
  }

  .liquid-glass-theme .catalog-actions {
    justify-content: space-between;
  }

  .liquid-glass-theme .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .liquid-glass-theme .property-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .liquid-glass-theme .property-media {
    aspect-ratio: 4 / 3;
  }

  .liquid-glass-theme .property-type {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 60px);
    padding: 4px 6px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .liquid-glass-theme .card-favorite {
    top: 6px;
    right: 6px;
  }

  .liquid-glass-theme .property-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 10px;
  }

  .liquid-glass-theme .property-location {
    min-height: 16px;
    font-size: 10px;
  }

  .liquid-glass-theme .property-location svg {
    width: 12px;
    height: 12px;
  }

  .liquid-glass-theme .property-title {
    min-height: 42px;
    margin: 5px 0 3px;
    font-size: 14px;
    line-height: 1.45;
  }

  .liquid-glass-theme .property-title button {
    min-height: 42px;
  }

  .liquid-glass-theme .property-community,
  .liquid-glass-theme .property-address {
    min-height: 17px;
    font-size: 10px;
    line-height: 1.7;
  }

  .liquid-glass-theme .property-number,
  .liquid-glass-theme .property-listed,
  .liquid-glass-theme .property-agent {
    display: none;
  }

  .liquid-glass-theme .property-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 42px;
    gap: 3px 6px;
    margin-top: 8px;
    font-size: 10px;
  }

  .liquid-glass-theme .property-facts span,
  .liquid-glass-theme .property-facts span + span {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .liquid-glass-theme .property-facts span + span::before {
    display: none;
  }

  .liquid-glass-theme .property-tags {
    min-height: 21px;
    margin-top: 7px;
  }

  .liquid-glass-theme .property-tag {
    max-width: 100%;
    padding: 3px 5px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .liquid-glass-theme .property-tags .property-tag:nth-child(n + 2) {
    display: none;
  }

  .liquid-glass-theme .property-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 44px;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 9px;
  }

  .liquid-glass-theme .property-price strong {
    font-size: 17px;
  }

  .liquid-glass-theme .property-price small {
    display: block;
    margin: 2px 0 0;
    font-size: 9px;
  }

  .liquid-glass-theme .detail-link {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .liquid-glass-theme .detail-link > span {
    display: none;
  }

  .liquid-glass-theme .listing-grid.is-list .property-card {
    display: block;
  }

  .liquid-glass-theme .listing-grid.is-list .property-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .liquid-glass-theme .listing-grid.is-list .property-body {
    display: block;
    padding: 14px;
  }

  .liquid-glass-theme .listing-grid.is-list .property-number,
  .liquid-glass-theme .listing-grid.is-list .property-listed,
  .liquid-glass-theme .listing-grid.is-list .property-agent {
    display: grid;
  }

  .liquid-glass-theme .listing-grid.is-list .property-facts {
    display: flex;
    min-height: 23px;
    gap: 0;
    margin-top: 12px;
    font-size: 12px;
  }

  .liquid-glass-theme .listing-grid.is-list .property-facts span,
  .liquid-glass-theme .listing-grid.is-list .property-facts span + span {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .liquid-glass-theme .listing-grid.is-list .property-facts span:first-child {
    padding-left: 0;
  }

  .liquid-glass-theme .listing-grid.is-list .property-facts span + span::before {
    display: block;
  }

  .liquid-glass-theme .listing-grid.is-list .property-tags .property-tag:nth-child(n + 2) {
    display: inline-flex;
  }

  .liquid-glass-theme .listing-grid.is-list .property-footer {
    display: flex;
    min-width: 0;
    min-height: 47px;
    margin-top: 14px;
    padding: 13px 0 0;
  }

  .liquid-glass-theme .listing-grid.is-list .detail-link {
    width: auto;
    min-width: 44px;
  }

  .liquid-glass-theme .listing-grid.is-list .detail-link > span {
    display: inline;
  }

  .liquid-glass-theme .listing-grid.is-list .property-footer {
    min-width: 0;
    margin-top: 14px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .liquid-glass-theme .page-panel {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .liquid-glass-theme .panel-head h2 {
    font-size: 26px;
  }

  .liquid-glass-theme .page-panel .lead-form,
  .liquid-glass-theme .page-panel .contact-card,
  .liquid-glass-theme .page-panel .feature-card,
  .liquid-glass-theme .page-panel .franchise-form {
    padding: 16px;
  }

  .liquid-glass-theme .detail-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .liquid-glass-theme .detail-toolbar {
    min-height: 58px;
    flex-basis: 58px;
    padding-right: 8px;
    padding-left: 10px;
  }

  .liquid-glass-theme .detail-toolbar-status,
  .liquid-glass-theme .detail-toolbar-copy small {
    display: none;
  }

  .liquid-glass-theme .detail-main-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .liquid-glass-theme .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .liquid-glass-theme .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquid-glass-theme .detail-information-grid {
    grid-template-columns: 1fr;
  }

  .liquid-glass-theme .detail-information-grid .detail-section,
  .liquid-glass-theme .detail-information-grid .detail-overview {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .liquid-glass-theme .detail-information-grid .detail-overview {
    border-top: 1px solid var(--line);
  }

  .liquid-glass-theme .footer-inner {
    display: grid;
    gap: 16px;
    justify-items: start;
  }

  .liquid-glass-theme .footer-meta {
    text-align: left;
  }

  .liquid-glass-theme .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.liquid-glass-theme::after,
  .liquid-glass-theme .property-card,
  .liquid-glass-theme .property-media img,
  .liquid-glass-theme .dashboard-bar rect,
  .liquid-glass-theme .dashboard-drawer-chevron,
  .liquid-glass-theme .detail-dialog {
    animation: none !important;
    transition: none !important;
  }
}

/* Property detail brochure layout */
.liquid-glass-theme .detail-dialog {
  width: min(1320px, calc(100% - 32px));
  height: min(940px, calc(100dvh - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  border: 1px solid #cfd6d2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(18, 27, 23, 0.28);
  backdrop-filter: none;
}

.liquid-glass-theme .detail-dialog::backdrop {
  background: rgba(24, 31, 28, 0.64);
  backdrop-filter: blur(5px);
}

.liquid-glass-theme .detail-toolbar {
  min-height: 62px;
  flex-basis: 62px;
  gap: 18px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid #dfe4e1;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.liquid-glass-theme .detail-toolbar-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--brand);
}

.liquid-glass-theme .detail-toolbar-copy {
  gap: 2px;
}

.liquid-glass-theme .detail-toolbar-copy strong {
  color: #17201d;
  font-size: 15px;
}

.liquid-glass-theme .detail-toolbar-copy small,
.liquid-glass-theme .detail-toolbar-status {
  color: #737d78;
  font-size: 10px;
}

.liquid-glass-theme .detail-toolbar .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #dfe4e1;
  border-radius: 5px;
  color: #45534d;
  background: #fafbfa;
  box-shadow: none;
}

.liquid-glass-theme .detail-toolbar .icon-button:hover {
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--brand);
  background: #fff7f5;
}

.liquid-glass-theme .detail-toolbar .detail-close-button,
.liquid-glass-theme .detail-toolbar .detail-close-button:hover {
  border-color: #17201d;
  color: #fff;
  background: #17201d;
}

.liquid-glass-theme .detail-content {
  min-height: 0;
  overflow: hidden;
}

.liquid-glass-theme .detail-workspace {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
  background: #fff;
}

.liquid-glass-theme .detail-mobile-switch {
  display: none !important;
}

.liquid-glass-theme .detail-property-pane {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-color: #aab4af #f3f5f4;
  scrollbar-width: thin;
}

.liquid-glass-theme .detail-property-header {
  display: block;
  padding: 24px 30px 20px;
  border-bottom: 1px solid #e1e5e2;
  background: #fff;
}

.liquid-glass-theme .detail-property-header .detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.liquid-glass-theme .detail-property-header h2 {
  max-width: 34em;
  margin: 0;
  color: #18304f;
  font-family: SimSun, "Songti SC", serif;
  font-size: 28px;
  line-height: 1.35;
}

.liquid-glass-theme .detail-property-header .detail-address {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 9px;
  color: #68746f;
  font-size: 12px;
  line-height: 1.6;
}

.liquid-glass-theme .detail-property-header .detail-address svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--brand);
}

.liquid-glass-theme .detail-badge {
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #d9ddda;
  border-radius: 4px;
  color: #626b67;
  background: #fafbfa;
  font-size: 10px;
  font-weight: 700;
}

.liquid-glass-theme .detail-badge:first-child {
  border-color: rgba(180, 35, 24, 0.22);
  color: var(--brand);
  background: #fff3f1;
}

.liquid-glass-theme .detail-badge.number {
  border-color: #d9ddda;
  color: #626b67;
  background: #fafbfa;
}

.liquid-glass-theme .detail-gallery {
  padding: 20px 30px 24px;
  border: 0;
  border-bottom: 1px solid #e1e5e2;
  background: #fff;
}

.liquid-glass-theme .detail-gallery-heading {
  min-height: 24px;
  margin-bottom: 11px;
  color: #46534d;
}

.liquid-glass-theme .detail-gallery-heading span {
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.liquid-glass-theme .detail-gallery-heading svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.liquid-glass-theme .detail-gallery-heading small {
  color: #7a8580;
  font-size: 10px;
}

.liquid-glass-theme .detail-media-tabs {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid #d7deda;
  border-radius: 5px;
  background: #fafbfa;
  box-shadow: none;
}

.liquid-glass-theme .detail-media-tab {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 3px;
  color: #68746f;
  font-size: 11px;
}

.liquid-glass-theme .detail-media-tab.is-active {
  color: #fff;
  background: #18304f;
}

.liquid-glass-theme .detail-media-panel,
.liquid-glass-theme .detail-main-image {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.liquid-glass-theme .detail-main-image {
  min-height: 340px;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d1d8d4;
  border-radius: 4px;
  background: #dfe3e1;
  box-shadow: none;
}

.liquid-glass-theme .detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.liquid-glass-theme .detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-height: 170px;
  margin-top: 10px;
  overflow-y: auto;
}

.liquid-glass-theme .detail-thumbnail {
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #e4e6e4;
}

.liquid-glass-theme .detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liquid-glass-theme .detail-thumbnail.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.15);
}

.liquid-glass-theme .detail-brochure-info {
  padding: 0 30px 42px;
  background: #fff;
}

.liquid-glass-theme .detail-brochure-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #e1e5e2;
}

.liquid-glass-theme .detail-brochure-facts .detail-fact {
  min-width: 0;
  padding: 18px 14px;
  border-left: 1px solid #e1e5e2;
  text-align: center;
}

.liquid-glass-theme .detail-brochure-facts .detail-fact:first-child {
  border-left: 0;
}

.liquid-glass-theme .detail-brochure-facts .detail-fact strong {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  color: #18304f;
  font-family: SimSun, "Songti SC", serif;
  font-size: 20px;
  line-height: 1.28;
  text-overflow: clip;
  white-space: normal;
}

.liquid-glass-theme .detail-brochure-facts .detail-fact-price strong {
  color: var(--brand);
}

.liquid-glass-theme .detail-brochure-facts .detail-fact span {
  display: block;
  margin-top: 5px;
  color: #7b8681;
  font-size: 10px;
}

.liquid-glass-theme .detail-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.96fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid #e1e5e2;
}

.liquid-glass-theme .detail-section-heading {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.liquid-glass-theme .detail-section-heading h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #18304f;
  font-family: SimSun, "Songti SC", serif;
  font-size: 21px;
  line-height: 1.28;
}

.liquid-glass-theme .detail-section-heading h3 svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.liquid-glass-theme .detail-section-heading small {
  color: #7a8580;
  font-size: 10px;
}

.liquid-glass-theme .detail-description-section,
.liquid-glass-theme .detail-location-section {
  min-width: 0;
  padding: 0;
  border: 0;
}

.liquid-glass-theme .detail-description {
  max-width: none;
  margin: 0 0 17px;
  color: #4d5652;
  font-size: 12px;
  line-height: 1.85;
}

.liquid-glass-theme .detail-copy-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.liquid-glass-theme .detail-copy-list > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
}

.liquid-glass-theme .detail-copy-list dt {
  position: relative;
  padding-left: 12px;
  color: #2b322f;
  font-size: 11px;
  font-weight: 800;
}

.liquid-glass-theme .detail-copy-list dt::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.liquid-glass-theme .detail-copy-list dd {
  margin: 0;
  color: #68746f;
  font-size: 11px;
  line-height: 1.65;
}

.liquid-glass-theme .detail-location-card {
  overflow: hidden;
  border: 1px solid #d9ddda;
  border-radius: 4px;
  background: #e9ebe9;
}

.liquid-glass-theme .detail-location-map {
  height: 255px;
}

.liquid-glass-theme .detail-location-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #d9ddda;
  background: #fff;
  color: #68746f;
  font-size: 10px;
  line-height: 1.55;
}

.liquid-glass-theme .detail-location-caption svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.liquid-glass-theme .detail-location-caption strong {
  display: block;
  margin-bottom: 2px;
  color: #2b322f;
  font-size: 11px;
}

.liquid-glass-theme .detail-location-empty {
  display: grid;
  min-height: 255px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: #68746f;
  text-align: center;
}

.liquid-glass-theme .detail-location-empty svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.liquid-glass-theme .detail-location-empty strong {
  color: #2b322f;
  font-size: 13px;
}

.liquid-glass-theme .detail-location-empty span {
  max-width: 250px;
  font-size: 11px;
  line-height: 1.6;
}

.liquid-glass-theme .detail-location-marker-wrap {
  border: 0;
  background: transparent;
}

.liquid-glass-theme .detail-location-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 3px;
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(16, 35, 61, 0.26);
  transform: rotate(-45deg);
}

.liquid-glass-theme .detail-location-marker i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.liquid-glass-theme .detail-ai-copy {
  margin-top: 26px;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid #e1e5e2;
  border-radius: 0;
  background: transparent;
}

.liquid-glass-theme .detail-ai-copy .ai-copy-heading h3 {
  color: #18304f;
  font-size: 18px;
}

.liquid-glass-theme .detail-ai-copy .ai-copy-body {
  color: #68746f;
  font-size: 12px;
  line-height: 1.75;
}

.liquid-glass-theme .detail-notice {
  margin-top: 18px;
  border-color: #e1e5e2;
  border-radius: 4px;
  color: #68746f;
  background: #fafbfa;
}

.liquid-glass-theme .detail-floor-plan {
  padding: 28px 30px 42px;
  border-top: 1px solid #e1e5e2;
  background: #fff;
}

.liquid-glass-theme .detail-floor-plan-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: center;
}

.liquid-glass-theme .detail-floor-plan-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.liquid-glass-theme .detail-floor-plan-figure {
  margin: 0;
  padding: 14px;
  border: 1px solid #d9ddda;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

.liquid-glass-theme .detail-floor-plan-figure img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.liquid-glass-theme .detail-floor-plan-figure figcaption {
  margin-top: 8px;
  color: #68746f;
  font-size: 10px;
  line-height: 1.5;
}

.liquid-glass-theme .detail-floor-plan-copy {
  color: #68746f;
  font-size: 12px;
  line-height: 1.75;
}

.liquid-glass-theme .detail-floor-plan-copy p {
  margin: 0 0 16px;
}

.liquid-glass-theme .detail-floor-plan-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #d9ddda;
  border-left: 1px solid #d9ddda;
}

.liquid-glass-theme .detail-floor-plan-copy dl > div {
  min-width: 0;
  padding: 12px 13px;
  border-right: 1px solid #d9ddda;
  border-bottom: 1px solid #d9ddda;
}

.liquid-glass-theme .detail-floor-plan-copy dt {
  color: #7b8681;
  font-size: 10px;
}

.liquid-glass-theme .detail-floor-plan-copy dd {
  margin: 4px 0 0;
  color: #18304f;
  font-size: 12px;
  font-weight: 800;
}

.liquid-glass-theme .detail-agent-rail {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  border-left: 1px solid #dbe1de;
  background: #f8f7f3;
  scrollbar-color: #bdb9ad #f1f0eb;
  scrollbar-width: thin;
}

.liquid-glass-theme .detail-command-center .detail-alternative-agents {
  margin: 20px 18px 0;
  overflow: hidden;
  border: 1px solid #d8d7d1;
  border-radius: 6px;
  background: #fff;
}

.liquid-glass-theme .detail-agent-card-profile {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 18px 16px 15px;
  text-align: center;
}

.liquid-glass-theme .detail-command-center .detail-agent-avatar {
  display: grid;
  width: 104px;
  height: 124px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9ddda;
  border-radius: 5px;
  color: #2f7257;
  background: #eef4ef;
}

.liquid-glass-theme .detail-command-center .detail-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liquid-glass-theme .detail-command-center .detail-agent-info {
  min-width: 0;
}

.liquid-glass-theme .detail-command-center .detail-agent-name {
  justify-content: center;
}

.liquid-glass-theme .detail-command-center .detail-agent-name strong {
  color: #18304f;
  font-family: SimSun, "Songti SC", serif;
  font-size: 20px;
}

.liquid-glass-theme .detail-command-center .detail-agent-name span {
  display: none;
}

.liquid-glass-theme .detail-command-center .detail-agent-name i {
  width: 14px;
  height: 14px;
  color: #2f7257;
}

.liquid-glass-theme .detail-command-center .detail-agent-info p {
  margin: 4px 0 0;
  color: #68746f;
  font-size: 10px;
  line-height: 1.5;
}

.liquid-glass-theme .detail-command-center .detail-agent-phone {
  color: #7b8681 !important;
}

.liquid-glass-theme .detail-command-center .detail-agent-list {
  margin: 0;
  border-top: 1px solid #e2e0da;
}

.liquid-glass-theme .detail-command-center .detail-agent {
  display: block;
  padding: 13px 14px 14px;
  border: 0;
}

.liquid-glass-theme .detail-command-center .detail-agent-service {
  margin: 0 0 10px;
  color: #68746f;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.liquid-glass-theme .detail-command-center .detail-agent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.liquid-glass-theme .detail-command-center .detail-agent-actions .agent-contact,
.liquid-glass-theme .detail-command-center .detail-agent-actions .agent-online-consult {
  min-width: 0;
  min-height: 39px;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
}

.liquid-glass-theme .detail-command-center .detail-agent-actions .agent-contact-reveal,
.liquid-glass-theme .detail-command-center .detail-agent-actions .agent-contact-call {
  width: 100%;
  min-height: 39px;
  justify-content: center;
}

.liquid-glass-theme .detail-service-card {
  margin: 16px 18px 0;
  padding: 18px 16px 16px;
  border: 1px solid #d8d7d1;
  border-radius: 6px;
  background: #fff;
}

.liquid-glass-theme .detail-service-heading {
  margin-bottom: 13px;
  text-align: center;
}

.liquid-glass-theme .detail-service-heading h3 {
  margin: 0;
  color: #18304f;
  font-family: SimSun, "Songti SC", serif;
  font-size: 18px;
}

.liquid-glass-theme .detail-service-heading p {
  margin: 5px 0 0;
  color: #7b8681;
  font-size: 10px;
  line-height: 1.5;
}

.liquid-glass-theme .detail-viewing-form {
  display: grid;
  gap: 10px;
}

.liquid-glass-theme .detail-viewing-form label {
  display: grid;
  gap: 5px;
  color: #4f5753;
  font-size: 10px;
  font-weight: 700;
}

.liquid-glass-theme .detail-viewing-form input,
.liquid-glass-theme .detail-viewing-form select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d5d6d1;
  border-radius: 4px;
  color: #2b322f;
  background: #fff;
}

.liquid-glass-theme .detail-viewing-form input:focus,
.liquid-glass-theme .detail-viewing-form select:focus {
  border-color: #18304f;
  box-shadow: 0 0 0 2px rgba(24, 48, 79, 0.1);
  outline: 0;
}

.liquid-glass-theme .detail-viewing-form [aria-invalid="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.1);
}

.liquid-glass-theme .detail-viewing-form .primary-button {
  min-height: 41px;
  justify-content: center;
  margin-top: 2px;
  border-color: var(--brand);
  border-radius: 4px;
  background: var(--brand);
}

.liquid-glass-theme .detail-viewing-form .primary-button:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.liquid-glass-theme .detail-rail-actions {
  display: grid;
  gap: 8px;
  margin: 16px 18px 0;
}

.liquid-glass-theme .detail-rail-actions .primary-button,
.liquid-glass-theme .detail-rail-actions .secondary-button {
  min-height: 40px;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
  text-decoration: none;
}

.liquid-glass-theme .detail-rail-actions .secondary-button {
  border-color: #c8cbc7;
  color: #45534d;
  background: #fff;
}

.liquid-glass-theme .detail-rail-actions .secondary-button:hover {
  border-color: #18304f;
  color: #18304f;
  background: #f4f6f7;
}

.liquid-glass-theme .detail-rail-note {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  margin: 16px 18px 20px;
  padding-top: 14px;
  border-top: 1px solid #dedcd5;
  color: #7b817c;
  font-size: 10px;
  line-height: 1.6;
}

.liquid-glass-theme .detail-rail-note svg {
  width: 16px;
  height: 16px;
  color: #2f7257;
}

@media (max-width: 1120px) {
  .liquid-glass-theme .detail-dialog {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .liquid-glass-theme .detail-workspace {
    grid-template-columns: minmax(0, 1fr) 296px;
  }

  .liquid-glass-theme .detail-property-header,
  .liquid-glass-theme .detail-gallery,
  .liquid-glass-theme .detail-brochure-info,
  .liquid-glass-theme .detail-floor-plan {
    padding-right: 22px;
    padding-left: 22px;
  }

  .liquid-glass-theme .detail-main-image {
    min-height: 0;
  }

  .liquid-glass-theme .detail-brochure-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquid-glass-theme .detail-brochure-facts .detail-fact:nth-child(3) {
    border-top: 1px solid #e1e5e2;
    border-left: 0;
  }

  .liquid-glass-theme .detail-brochure-facts .detail-fact:nth-child(4) {
    border-top: 1px solid #e1e5e2;
  }

  .liquid-glass-theme .detail-story-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .liquid-glass-theme .detail-dialog {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .liquid-glass-theme .detail-content {
    overflow-y: auto;
  }

  .liquid-glass-theme .detail-workspace {
    display: block;
    height: auto;
  }

  .liquid-glass-theme .detail-property-pane {
    overflow: visible;
  }

  .liquid-glass-theme .detail-command-center {
    min-height: 0;
    overflow: visible;
    border-top: 1px solid #dbe1de;
    border-left: 0;
  }

  /* The brochure layout keeps the agent rail in the mobile document flow. */
  .liquid-glass-theme .detail-workspace:not(.is-mobile-command) .detail-command-center {
    display: flex;
    flex-direction: column;
  }

  .liquid-glass-theme .detail-story-grid,
  .liquid-glass-theme .detail-floor-plan-grid {
    grid-template-columns: 1fr;
  }

  .liquid-glass-theme .detail-floor-plan-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .liquid-glass-theme .detail-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .liquid-glass-theme .detail-toolbar {
    min-height: 58px;
    flex-basis: 58px;
    padding-right: 8px;
    padding-left: 10px;
  }

  .liquid-glass-theme .detail-toolbar-status,
  .liquid-glass-theme .detail-toolbar-copy small {
    display: none;
  }

  .liquid-glass-theme .detail-property-header,
  .liquid-glass-theme .detail-gallery,
  .liquid-glass-theme .detail-brochure-info,
  .liquid-glass-theme .detail-floor-plan {
    padding-right: 16px;
    padding-left: 16px;
  }

  .liquid-glass-theme .detail-property-header {
    padding-top: 20px;
    padding-bottom: 17px;
  }

  .liquid-glass-theme .detail-property-header h2 {
    font-size: 23px;
  }

  .liquid-glass-theme .detail-main-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .liquid-glass-theme .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 115px;
  }

  .liquid-glass-theme .detail-story-grid {
    gap: 26px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .liquid-glass-theme .detail-section-heading h3 {
    font-size: 20px;
  }

  .liquid-glass-theme .detail-location-map,
  .liquid-glass-theme .detail-location-empty {
    min-height: 0;
    height: 235px;
  }

  .liquid-glass-theme .detail-floor-plan {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .liquid-glass-theme .detail-floor-plan-media {
    grid-template-columns: 1fr;
  }

  .liquid-glass-theme .detail-floor-plan-figure img {
    height: 300px;
  }

  .liquid-glass-theme .detail-command-center .detail-alternative-agents,
  .liquid-glass-theme .detail-service-card {
    margin-right: 16px;
    margin-left: 16px;
  }

  .liquid-glass-theme .detail-command-center .detail-agent-avatar {
    width: 88px;
    height: 106px;
  }
}
