:root {
  --ink: #17211f;
  --muted: #66736f;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dbe2df;
  --teal: #006d77;
  --teal-dark: #00545c;
  --coral: #ef5b45;
  --gold: #c8902f;
  --aqua: #daf4ef;
  --shadow: 0 20px 60px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a {
  touch-action: manipulation;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 76px;
  padding: 10px clamp(16px, 2.6vw, 42px);
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid rgba(219, 226, 223, 0.54);
  box-shadow: 0 14px 42px rgba(23, 33, 31, 0.06);
  backdrop-filter: blur(22px) saturate(1.14);
  isolation: isolate;
}

.site-header::after {
  content: "";
  position: absolute;
  right: clamp(16px, 2.6vw, 42px);
  bottom: 0;
  left: clamp(16px, 2.6vw, 42px);
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 124, 130, 0), rgba(0, 124, 130, 0.18), rgba(200, 144, 47, 0.16), rgba(0, 124, 130, 0));
  pointer-events: none;
}

.brand,
.brand-cluster,
.header-actions {
  display: flex;
  align-items: center;
}

.brand-cluster {
  gap: 14px;
  min-width: 244px;
}

.brand {
  gap: 12px;
  min-width: 218px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-symbol {
  width: 54px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  gap: 1px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name strong {
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 900;
  white-space: nowrap;
}

.brand-name small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

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

.header-actions {
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: nowrap;
  padding: 5px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(219, 226, 223, 0.78);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.07);
  backdrop-filter: blur(16px) saturate(1.1);
}

.header-actions .utility-link,
.header-actions .secondary-link,
.header-actions .primary-link {
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
}

.secondary-button,
.utility-link,
.secondary-link,
.primary-link,
.search-button,
.publish-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.primary-link,
.utility-link,
.secondary-link,
.secondary-button,
.search-button,
.publish-button {
  min-height: 42px;
  border-radius: 999px;
  text-decoration: none;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  padding: 0 13px;
  background: linear-gradient(135deg, #f47863, #e95c47);
  color: white;
  box-shadow: 0 12px 24px rgba(233, 92, 71, 0.22);
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(219, 226, 223, 0.88);
  color: var(--ink);
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(219, 226, 223, 0.88);
  color: var(--ink);
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: linear-gradient(135deg, #f5816f, #ee644e);
  box-shadow: 0 16px 28px rgba(233, 92, 71, 0.27);
  transform: translateY(-1px);
}

.utility-link:hover,
.utility-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible {
  background: white;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
  transform: translateY(-1px);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  width: auto;
  min-height: 42px;
  padding: 0;
  background: transparent;
}

.language-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid rgba(219, 226, 223, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  background: white;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
  transform: translateY(-1px);
}

.flag-icon {
  position: relative;
  display: block;
  width: 23px;
  height: 16px;
  overflow: hidden;
  border-radius: 2px;
}

.flag-icon.flag-ch {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.flag-en {
  background:
    linear-gradient(29deg, transparent 0 43%, #fff 43% 47%, #c8102e 47% 53%, #fff 53% 57%, transparent 57% 100%),
    linear-gradient(151deg, transparent 0 43%, #fff 43% 47%, #c8102e 47% 53%, #fff 53% 57%, transparent 57% 100%),
    linear-gradient(to bottom, transparent 0 34%, #fff 34% 42%, #c8102e 42% 58%, #fff 58% 66%, transparent 66% 100%),
    linear-gradient(to right, transparent 0 34%, #fff 34% 42%, #c8102e 42% 58%, #fff 58% 66%, transparent 66% 100%),
    #012169;
}

.flag-th {
  background: linear-gradient(
    to bottom,
    #a51931 0 16%,
    #f4f5f8 16% 32%,
    #2d2a4a 32% 68%,
    #f4f5f8 68% 84%,
    #a51931 84% 100%
  );
}

.flag-de {
  background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.flag-ch {
  background:
    linear-gradient(#fff 0 0) center / 64% 28% no-repeat,
    linear-gradient(#fff 0 0) center / 28% 64% no-repeat,
    #d52b1e;
}

.flag-at {
  background: linear-gradient(to bottom, #ed2939 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66% 100%);
}

.flag-us {
  background:
    linear-gradient(#3c3b6e 0 54%, transparent 54% 100%) 0 0 / 45% 54% no-repeat,
    repeating-linear-gradient(to bottom, #b22234 0 7.7%, #fff 7.7% 15.4%);
}

.flag-au {
  background:
    radial-gradient(circle at 72% 55%, #fff 0 9%, transparent 10%),
    #012169;
}

.flag-nz {
  background:
    radial-gradient(circle at 72% 34%, #cc142b 0 7%, #fff 8% 10%, transparent 11%),
    radial-gradient(circle at 81% 57%, #cc142b 0 6%, #fff 7% 9%, transparent 10%),
    #00247d;
}

.flag-sg {
  background:
    radial-gradient(circle at 23% 27%, #fff 0 10%, transparent 11%),
    linear-gradient(to bottom, #ef3340 0 50%, #fff 50% 100%);
}

.flag-my {
  background:
    linear-gradient(#010066 0 55%, transparent 55% 100%) 0 0 / 45% 55% no-repeat,
    repeating-linear-gradient(to bottom, #cc0001 0 8%, #fff 8% 16%);
}

.flag-jp {
  background: radial-gradient(circle, #bc002d 0 28%, transparent 29%), #fff;
}

.flag-kr {
  background:
    radial-gradient(circle at 50% 50%, #cd2e3a 0 17%, #0047a0 18% 30%, transparent 31%),
    #fff;
}

.flag-cn {
  background: radial-gradient(circle at 28% 30%, #ffde00 0 10%, transparent 11%), #de2910;
}

.flag-in {
  background:
    radial-gradient(circle, #06038d 0 8%, transparent 9%),
    linear-gradient(to bottom, #ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66% 100%);
}

.flag-fr {
  background: linear-gradient(to right, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.flag-it {
  background: linear-gradient(to right, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66% 100%);
}

.flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag-nl {
  background: linear-gradient(to bottom, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.flag-be {
  background: linear-gradient(to right, #000 0 33.33%, #fae042 33.33% 66.66%, #ed2939 66.66% 100%);
}

.flag-se {
  background:
    linear-gradient(to right, transparent 0 30%, #fecc00 30% 42%, transparent 42% 100%),
    linear-gradient(to bottom, transparent 0 38%, #fecc00 38% 58%, transparent 58% 100%),
    #006aa7;
}

.flag-no {
  background:
    linear-gradient(to right, transparent 0 28%, #fff 28% 46%, transparent 46% 100%),
    linear-gradient(to bottom, transparent 0 33%, #fff 33% 62%, transparent 62% 100%),
    linear-gradient(to right, transparent 0 33%, #00205b 33% 41%, transparent 41% 100%),
    linear-gradient(to bottom, transparent 0 42%, #00205b 42% 53%, transparent 53% 100%),
    #ba0c2f;
}

.flag-dk {
  background:
    linear-gradient(to right, transparent 0 30%, #fff 30% 42%, transparent 42% 100%),
    linear-gradient(to bottom, transparent 0 40%, #fff 40% 55%, transparent 55% 100%),
    #c60c30;
}

.flag-fi {
  background:
    linear-gradient(to right, transparent 0 31%, #002f6c 31% 44%, transparent 44% 100%),
    linear-gradient(to bottom, transparent 0 38%, #002f6c 38% 58%, transparent 58% 100%),
    #fff;
}

.flag-ru {
  background: linear-gradient(to bottom, #fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.flag-hk {
  background: radial-gradient(circle at 50% 50%, #fff 0 13%, transparent 14%), #de2910;
}

.flag-tw {
  background:
    radial-gradient(circle at 23% 28%, #fff 0 8%, transparent 9%),
    linear-gradient(#000095 0 50%, transparent 50% 100%) 0 0 / 45% 55% no-repeat,
    #fe0000;
}

.flag-ae {
  background:
    linear-gradient(to right, #ff0000 0 25%, transparent 25% 100%),
    linear-gradient(to bottom, #009739 0 33.33%, #fff 33.33% 66.66%, #000 66.66% 100%);
}

.flag-id {
  background: linear-gradient(to bottom, #ce1126 0 50%, #fff 50% 100%);
}

.flag-ph {
  background:
    linear-gradient(30deg, #fff 0 32%, transparent 33% 100%),
    linear-gradient(to bottom, #0038a8 0 50%, #ce1126 50% 100%);
}

.flag-vn {
  background: radial-gradient(circle at 50% 50%, #ffcd00 0 13%, transparent 14%), #da251d;
}

.flag-kh {
  background: linear-gradient(to bottom, #032ea1 0 25%, #e00025 25% 75%, #032ea1 75% 100%);
}

.flag-pt {
  background:
    radial-gradient(circle at 42% 50%, #ffcc00 0 9%, transparent 10%),
    linear-gradient(to right, #006600 0 40%, #ff0000 40% 100%);
}

.flag-il {
  background:
    linear-gradient(to bottom, #0038b8 0 14%, #fff 14% 40%, #0038b8 40% 54%, #fff 54% 86%, #0038b8 86% 100%),
    #fff;
}

.flag-za {
  background:
    linear-gradient(32deg, transparent 0 41%, #ffb81c 41% 46%, #007a4d 46% 54%, #fff 54% 59%, transparent 59% 100%),
    linear-gradient(to bottom, #de3831 0 50%, #002395 50% 100%);
}

.language-switch button.active {
  background: white;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.08) contrast(0.98) brightness(1.04);
  transition: opacity 1200ms ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 22, 20, 0.5), rgba(4, 22, 20, 0.25) 38%, rgba(4, 22, 20, 0.04) 72%, rgba(255, 253, 249, 0.04)),
    radial-gradient(circle at 28% 48%, rgba(0, 109, 119, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(5, 26, 24, 0.16));
}

.hero-content {
  width: min(1080px, calc(100% - 36px));
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 62px 0 76px;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 14px;
  color: #dcc18d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-content > .eyebrow,
.hero-subcopy,
.hero .slogan-ticker {
  display: none;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 860px;
  margin: 0 0 28px;
  font-size: clamp(39px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.02;
  font-weight: 850;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.search-panel {
  width: min(980px, 100%);
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-subcopy {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.slogan-ticker {
  display: grid;
  gap: 7px;
  width: min(660px, 100%);
  min-height: 0;
  margin: 0 0 22px;
  padding: 16px 18px 17px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(5, 28, 27, 0.16);
  backdrop-filter: blur(18px) saturate(1.12);
}

.slogan-ticker span {
  width: max-content;
  padding: 0;
  color: #8e7139;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border-radius: 0;
}

.slogan-ticker strong {
  display: block;
  color: #16231f;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.16;
  transition: opacity 180ms ease, transform 180ms ease;
}

.slogan-ticker.is-changing strong {
  opacity: 0.18;
  transform: translateY(2px);
}

.mode-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  overflow-x: auto;
}

.mode-tab {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.mode-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.search-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) minmax(118px, auto);
  gap: 10px;
}

.search-field,
.select-field,
.field-grid label,
.wide-field {
  display: grid;
  gap: 6px;
}

.search-field span,
.select-field span,
.field-grid span,
.wide-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-field input,
.select-field select,
.field-grid input,
.field-grid select,
.wide-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.wide-field textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.search-field input:focus,
.select-field select:focus,
.field-grid input:focus,
.field-grid select:focus,
.wide-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

.search-button,
.publish-button {
  align-self: end;
  padding: 0 24px;
  background: var(--coral);
  color: white;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-filters button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.quick-filters button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.map-layer-toggles {
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.map-layer-toggles legend {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.map-layer-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.map-layer-options label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  user-select: none;
}

.map-layer-options label:hover,
.map-layer-options label:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.map-layer-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.map-layer-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #9aaba8;
  border-radius: 4px;
  background: white;
  color: white;
}

.map-layer-options input:checked + .map-layer-check {
  border-color: var(--teal);
  background: var(--teal);
}

.map-layer-options input:checked + .map-layer-check::after {
  content: "\2713";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.map-layer-options label small {
  display: grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 6px;
  background: #eef4f2;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
}

.map-layer-options p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.property-map-band {
  position: relative;
  z-index: 0;
  scroll-margin-top: 92px;
  background: #f2f6f4;
  border-bottom: 1px solid var(--line);
}

.property-map-inner {
  position: relative;
  z-index: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.property-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.property-map-heading > div:first-child {
  display: grid;
  gap: 9px;
  max-width: 760px;
}

.property-map-heading p {
  margin: 0;
}

.property-map-heading > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.property-map-summary {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 180px;
}

.property-map-summary strong {
  color: var(--teal-dark);
  font-size: 16px;
}

.property-map-summary button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.property-map-tool {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  height: 680px;
  contain: layout paint;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(23, 33, 31, 0.09);
}

.map-result-list {
  min-width: 0;
  border-left: 1px solid var(--line);
  background: white;
  overflow: hidden;
}

.map-search-panel {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(23, 33, 31, 0.07);
}

.map-result-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.map-result-list-header strong {
  font-size: 14px;
}

.map-result-list-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.map-result-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100% - 62px);
  padding: 12px 26px 12px 12px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.map-result-card {
  display: grid;
  flex: 0 0 auto;
  grid-template-rows: 208px minmax(0, auto);
  gap: 0;
  width: 100%;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.map-result-card--marker {
  grid-template-rows: 168px auto;
  width: 300px;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.map-result-card:hover,
.map-result-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.map-result-card--marker:hover,
.map-result-card--marker:focus-visible {
  border-color: transparent;
  box-shadow: none;
}

.map-result-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px 13px;
}

.map-result-card--marker .map-result-body {
  gap: 7px;
  padding: 10px 11px 11px;
}

.map-result-card--marker .map-result-heading-row,
.map-result-card--marker .map-result-summary-row,
.map-result-card--marker .map-result-card-actions {
  gap: 8px;
}

.map-result-card--marker .map-result-heading-row {
  align-items: center;
}

.map-result-card--marker .map-result-title-block {
  gap: 3px;
}

.map-result-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.map-result-title-block {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.map-result-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-result-card--marker .map-result-title {
  font-size: 14px;
  line-height: 1.16;
  -webkit-line-clamp: 1;
}

.map-result-type {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6f3;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-result-card--marker .map-result-type {
  min-height: 20px;
  padding: 3px 7px;
  font-size: 9px;
}

.map-result-summary-row,
.map-result-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
}

.map-result-summary-row {
  align-items: start;
  padding-top: 2px;
}

.map-result-card-actions {
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-result-card--marker .map-result-card-actions {
  display: grid;
  padding-top: 7px;
  font-size: 10px;
}

.map-result-card-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}

.map-result-card-actions span:last-child {
  justify-content: flex-end;
}

.map-result-location {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-result-card--marker .map-result-location {
  font-size: 9.5px;
}

.map-listing-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #e6efec;
  touch-action: pan-y;
}

.map-result-gallery {
  width: 100%;
  max-width: 100%;
}

.map-result-gallery::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(180deg, rgba(17, 31, 28, 0), rgba(17, 31, 28, 0.72));
  content: "";
  pointer-events: none;
}

.map-gallery-button {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.2);
  pointer-events: auto;
  user-select: none;
}

.map-gallery-button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  content: "";
  transform-origin: center;
}

.map-gallery-button-prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.map-gallery-button-next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.map-gallery-button:hover,
.map-gallery-button:focus-visible {
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.14);
}

.map-gallery-button-prev {
  left: 10px;
}

.map-gallery-button-next {
  right: 10px;
}

.map-result-gallery .map-gallery-button-prev {
  left: 18px;
}

.map-result-gallery .map-gallery-button-next {
  right: 26px;
}

.map-result-gallery .map-gallery-button {
  background: rgba(255, 255, 255, 0.96);
}

.map-gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  min-width: 48px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(17, 31, 28, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.map-result-gallery .map-gallery-count {
  right: 22px;
  bottom: 10px;
}

.map-marker-gallery .map-status-stack {
  top: 8px;
  left: 8px;
}

.map-marker-gallery .map-status-label {
  min-height: 19px;
  padding: 3px 7px;
  font-size: 8.5px;
}

.map-status-stack {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: grid;
  justify-items: start;
  gap: 3px;
}

.map-status-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  background: #071512;
  color: white;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(17, 31, 28, 0.28);
}

.map-status-label--available {
  background: #168a4a;
}

.map-status-label--unavailable {
  background: #c9362f;
}

.map-result-save {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(17, 31, 28, 0.22);
}

.map-availability-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(17, 31, 28, 0.22);
}

.map-availability-badge--available {
  background: #168a4a;
}

.map-availability-badge--unavailable {
  background: #c9362f;
}

.map-result-specs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.map-result-specs em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef6f3;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.map-result-specs em span {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.map-result-card--marker .map-result-specs {
  gap: 3px;
}

.map-result-card--marker .map-result-specs em {
  min-height: 17px;
  padding: 2px 5px;
  font-size: 8px;
}

.map-result-price {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 104px;
  text-align: right;
}

.map-result-price b {
  color: var(--coral);
  font-size: 18px;
}

.map-result-card--marker .map-result-price b {
  font-size: 13px;
}

.map-result-card--marker .map-result-price {
  min-width: 84px;
}

.map-result-estimate {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.18;
}

.map-result-card--marker .map-result-estimate {
  font-size: 8.5px;
}

.map-empty-result {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 240px;
  padding: 48px 32px;
  color: var(--muted);
  text-align: center;
}

.map-empty-result strong {
  color: var(--ink);
}

.map-empty-result span {
  display: block;
  width: min(100%, 260px);
  margin-inline: auto;
  line-height: 1.5;
}

.listing-map-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

.listing-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #dfe9e5;
}

.map-poi-floating-card {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  width: min(260px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(219, 226, 223, 0.9);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(23, 33, 31, 0.2);
  pointer-events: auto;
}

.map-poi-floating-card.is-anchored {
  top: 14px;
  right: auto;
}

/* Leaflet layout fallback keeps the map usable if its CDN stylesheet is delayed. */
.leaflet-container {
  position: relative;
  overflow: hidden;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane {
  position: absolute;
  inset: 0;
}

.leaflet-map-pane {
  z-index: 200;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.listing-map .leaflet-map-pane {
  z-index: 1;
}

.listing-map .leaflet-tile-pane {
  z-index: 1;
}

.listing-map .leaflet-overlay-pane {
  z-index: 2;
}

.listing-map .leaflet-shadow-pane {
  z-index: 3;
}

.listing-map .leaflet-marker-pane {
  z-index: 4;
}

.listing-map .leaflet-tooltip-pane {
  z-index: 5;
  pointer-events: none;
}

.listing-map .leaflet-popup-pane {
  z-index: 6;
  pointer-events: none;
}

.leaflet-zoom-animated {
  transform-origin: 0 0;
}

.leaflet-container .leaflet-tile,
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-interactive {
  cursor: pointer;
}

.leaflet-pane > svg path.leaflet-interactive {
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.listing-map .leaflet-top,
.listing-map .leaflet-bottom {
  z-index: 8;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  float: left;
  clear: both;
  pointer-events: auto;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 12px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 12px;
}

.leaflet-right .leaflet-control {
  margin-right: 12px;
}

.leaflet-bar {
  overflow: hidden;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 7px;
  box-shadow: 0 4px 16px rgba(23, 33, 31, 0.14);
}

.leaflet-bar a {
  display: block;
  width: 34px;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
}

.leaflet-bar a:last-child {
  border-bottom: 0;
}

.leaflet-control-attribution {
  padding: 1px 4px;
  border-radius: 4px 0 0 0;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 7px;
  line-height: 1.2;
  opacity: 0.38;
  transform: scale(0.86);
  transform-origin: right bottom;
  transition: opacity 0.15s ease;
}

.leaflet-control-attribution:hover {
  opacity: 0.75;
}

.leaflet-control-attribution a {
  color: var(--teal-dark);
}

.leaflet-tooltip {
  position: absolute;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.map-unavailable {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 24px;
  background: #e8efec;
  color: var(--muted);
  text-align: center;
}

.map-unavailable[hidden] {
  display: none;
}

.map-unavailable strong {
  color: var(--ink);
}

.property-marker-shell {
  background: transparent;
  border: 0;
}

.property-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 109, 119, 0.32);
  border-radius: 50%;
  background: #ffffff;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(23, 33, 31, 0.2);
  transform: none;
}

.map-location-label-shell,
.beach-name-label-shell {
  background: transparent;
  border: 0;
}

.map-location-label {
  display: grid;
  place-items: center;
  width: max-content;
  max-width: 130px;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 109, 119, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 5px 14px rgba(23, 33, 31, 0.12);
  pointer-events: none;
}

.beach-coastline-highlight {
  filter: drop-shadow(0 1px 2px rgba(201, 117, 12, 0.18));
  cursor: pointer;
}

.beach-name-label {
  display: block;
  width: 150px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(27, 44, 42, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 6px 16px rgba(23, 33, 31, 0.18);
}

.beach-map-tooltip {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 36px rgba(23, 33, 31, 0.25);
}

.beach-map-tooltip::before {
  border-top-color: white;
}

.beach-map-preview {
  width: 300px;
  background: white;
  color: var(--ink);
}

.beach-map-preview header {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
}

.beach-map-preview header strong {
  font-size: 15px;
}

.beach-map-preview header span,
.beach-map-preview > small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.beach-preview-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  height: 112px;
}

.beach-preview-photos img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.beach-map-preview > small {
  display: block;
  padding: 7px 10px 9px;
  line-height: 1.35;
}

.beach-map-popup .leaflet-popup-content {
  margin: 0;
}

.map-poi-marker-shell {
  border: 0;
  background: transparent;
  overflow: visible;
}

.map-poi-marker-shell.is-poi-preview-active,
.map-poi-marker-shell.is-poi-preview-pinned {
  z-index: 900 !important;
}

.map-poi-marker {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1.5px solid white;
  border-radius: 50%;
  background: #2e767c;
  color: white;
  box-shadow: 0 3px 8px rgba(23, 33, 31, 0.18);
}

.map-poi-marker svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
  stroke: none;
}

.map-poi-marker-airport .map-poi-marker,
.map-poi-marker-oldTown .map-poi-marker {
  background: #172320;
  box-shadow: 0 6px 16px rgba(23, 33, 31, 0.24);
}

.map-poi-marker-beaches .map-poi-marker {
  background: #167f9b;
}

.map-poi-marker-schools .map-poi-marker {
  background: #356287;
}

.map-poi-marker-malls .map-poi-marker {
  background: #b36e14;
}

.map-poi-marker-label {
  position: absolute;
  left: 50%;
  top: -4px;
  display: block;
  width: max-content;
  max-width: 140px;
  padding: 3px 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(23, 35, 32, 0.86);
  color: white;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(23, 33, 31, 0.15);
  transform: translate(10px, -1px);
  pointer-events: none;
}

.map-poi-marker-card {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  z-index: 40;
  display: none;
  width: 238px;
  transform: translateY(-50%);
  pointer-events: auto;
}

.map-poi-marker-shell.is-poi-preview-active .map-poi-marker-card,
.map-poi-marker-shell.is-poi-preview-pinned .map-poi-marker-card {
  display: block;
}

.map-poi-marker-card .map-poi-preview {
  border: 1px solid rgba(219, 226, 223, 0.95);
  box-shadow: 0 16px 36px rgba(23, 33, 31, 0.22);
}

.map-poi-marker:hover ~ .map-poi-marker-card {
  display: block;
}

.map-poi-marker-shell.is-poi-preview-pinned .map-poi-marker {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.86),
    0 0 0 5px rgba(0, 121, 128, 0.46),
    0 10px 22px rgba(23, 33, 31, 0.26);
}

.map-poi-tooltip {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(23, 33, 31, 0.22);
  pointer-events: auto;
}

.map-poi-tooltip::before {
  border-top-color: white;
}

.map-poi-preview {
  display: grid;
  width: 100%;
  background: white;
  color: var(--ink);
}

.map-poi-preview-image-link {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.map-poi-preview-image-link.is-logo {
  display: grid;
  min-height: 116px;
  place-items: center;
  background: linear-gradient(135deg, #f6faf8, #eaf4f1);
}

.map-poi-preview-photo {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.map-poi-preview-logo {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 20px rgba(23, 33, 31, 0.12);
  object-fit: contain;
}

.map-poi-preview > div {
  display: grid;
  gap: 3px;
  padding: 10px 11px 11px;
}

.map-poi-preview > div > small:first-child {
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-poi-preview strong {
  font-size: 14px;
  line-height: 1.25;
}

.map-poi-preview span,
.map-poi-photo-credit {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.map-poi-preview > div > a {
  width: max-content;
  margin-top: 3px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-poi-popup .leaflet-popup-content {
  margin: 0;
}

.map-floating-preview {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 7;
  width: min(300px, calc(100% - 24px));
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.12s ease;
  will-change: transform;
}

.map-floating-preview[hidden] {
  display: none;
}

.map-floating-preview.is-visible {
  opacity: 1;
}

.map-floating-preview .map-result-card--marker {
  width: 100%;
  border: 1px solid rgba(219, 226, 223, 0.92);
  box-shadow: 0 16px 34px rgba(23, 33, 31, 0.22);
}

.map-floating-preview.is-pinned .map-result-card--marker {
  box-shadow:
    0 0 0 2px rgba(0, 109, 119, 0.18),
    0 16px 34px rgba(23, 33, 31, 0.24);
}

.map-marker-gallery {
  width: 100%;
  max-width: 100%;
  height: 168px;
  min-height: 168px;
  aspect-ratio: 16 / 9;
  background: white;
}

.map-marker-gallery .map-gallery-button {
  width: 26px;
  height: 26px;
  font-size: 0;
}

.map-marker-gallery .map-gallery-count {
  right: 8px;
  bottom: 8px;
  font-size: 10px;
}

.listing-map .leaflet-control-zoom a {
  color: var(--ink);
}

.listing-map .leaflet-control-attribution {
  display: none;
}

.audience-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(960px, 100%);
  margin-top: 0;
}

.audience-card {
  position: relative;
  display: block;
  min-height: 148px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 22px 54px rgba(5, 28, 27, 0.14);
  backdrop-filter: blur(18px) saturate(1.08);
  isolation: isolate;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98), rgba(255, 253, 249, 0.92) 54%, rgba(255, 253, 249, 0.32) 78%, rgba(255, 253, 249, 0.08)),
    radial-gradient(circle at 12% 16%, rgba(0, 124, 130, 0.12), transparent 32%);
  pointer-events: none;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.audience-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  width: 45%;
  opacity: 0.64;
}

.audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(0.96);
  transition: transform 420ms ease, filter 420ms ease;
}

.audience-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: 8px;
  width: min(70%, 260px);
  min-height: 148px;
  padding: 18px 18px 18px 20px;
}

.audience-card:hover,
.audience-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px rgba(5, 28, 27, 0.2);
  transform: translateY(-2px);
}

.audience-card:hover .audience-image img,
.audience-card:focus-visible .audience-image img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.07);
}

.audience-kicker {
  width: max-content;
  padding: 5px 9px;
  color: #006c70;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 124, 130, 0.1);
  border: 1px solid rgba(0, 124, 130, 0.12);
  border-radius: 999px;
}

.audience-copy strong {
  color: #14211e;
  font-size: 19px;
  line-height: 1.12;
  text-shadow: none;
}

.audience-copy small {
  max-width: 31ch;
  color: rgba(20, 33, 30, 0.72);
  line-height: 1.42;
}

.agent-card {
  border-color: rgba(239, 91, 69, 0.34);
}

.owner-card {
  border-color: rgba(200, 144, 47, 0.34);
}

.listing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 44px rgba(23, 33, 31, 0.08);
}

.stat-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon number"
    "icon label";
  column-gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-house {
  grid-area: icon;
  position: relative;
  width: 42px;
  height: 34px;
}

.stat-house::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 42%, 86% 42%, 86% 100%, 14% 100%, 14% 42%, 0 42%);
}

.stat-house::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 8px;
  height: 12px;
  background: var(--surface);
}

.stat-item strong {
  grid-area: number;
  font-size: 30px;
  line-height: 1;
}

.stat-item span:last-child {
  grid-area: label;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.content-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 48px;
}

.audience-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.owner-cta {
  background:
    linear-gradient(135deg, rgba(218, 244, 239, 0.78), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.agent-cta {
  margin-bottom: 84px;
  background:
    linear-gradient(135deg, rgba(255, 231, 224, 0.66), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.audience-cta-copy {
  display: grid;
  gap: 12px;
}

.audience-cta-copy p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.audience-cta-actions {
  display: grid;
  gap: 10px;
  align-content: center;
}

.audience-primary-action,
.audience-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.audience-primary-action {
  background: var(--teal);
  color: white;
}

.audience-secondary-action {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.agent-listing-action {
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(244, 90, 71, 0.2);
}

.audience-cta-actions span {
  color: var(--muted);
  font-size: 13px;
}

.section-heading,
.agent-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.secondary-button {
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.section-count {
  min-width: max-content;
  padding: 10px 13px;
  background: #eef3f1;
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

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

.listing-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.08);
}

.listing-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.listing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.listing-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.listing-price {
  color: var(--coral);
  font-size: 21px;
  font-weight: 900;
}

.listing-location {
  position: absolute;
  left: 14px;
  right: 54px;
  bottom: 14px;
  color: white;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.listing-label-stack {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 5px;
  margin: 0;
}

.listing-label {
  width: max-content;
  max-width: 260px;
  padding: 5px 8px;
  background: #050706;
  color: white;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.listing-label--available {
  background: #0f9f6e;
  color: white;
  border: 1px solid rgba(15, 159, 110, 0.35);
}

.listing-label--rented {
  background: #c93b2f;
  color: white;
  border: 1px solid rgba(201, 59, 47, 0.35);
}

.gallery-button,
.expand-button,
.favorite-button {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(23, 33, 31, 0.12);
}

.gallery-button {
  top: 50%;
  width: 34px;
  height: 42px;
  transform: translateY(-50%);
  font-size: 28px;
  opacity: 0.82;
  transition: opacity 160ms ease;
}

.listing-card:hover .gallery-button,
.listing-card:focus-within .gallery-button {
  opacity: 1;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.expand-button {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  font-size: 20px;
}

.favorite-button {
  right: 14px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  font-size: 25px;
}

.listing-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-code {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.muted-row {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.listing-meta,
.listing-agent {
  color: var(--muted);
  font-size: 13px;
}

.listing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.request-button,
.details-button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.details-button {
  text-align: right;
}

.listing-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.all-listings-button {
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(23, 33, 31, 0.18);
}

.agent-workspace {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.sync-pill {
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.listing-form {
  display: grid;
  gap: 16px;
}

.form-card,
.phone-shell,
.publish-log {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.08);
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed #a7b5b1;
  border-radius: 8px;
  background: #f4f7f5;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}

.drop-zone input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.drop-zone small {
  color: var(--muted);
}

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

.upload-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

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

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

.publish-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}

.publish-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.phone-preview {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.phone-shell {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 14px;
  background: #111815;
}

.phone-bar {
  width: 76px;
  height: 5px;
  margin: 0 auto 14px;
  background: #34413d;
  border-radius: 999px;
}

.mobile-card {
  overflow: hidden;
  background: var(--surface);
  border-radius: 8px;
}

.app-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.app-brand img {
  width: 31px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.app-brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
  color: var(--ink);
  line-height: 1;
}

.app-brand strong {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.app-brand small {
  color: var(--ink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.3em;
}

.app-preview-header > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mobile-card > img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.mobile-copy {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.mobile-copy span,
.mobile-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mobile-copy strong {
  color: var(--coral);
  font-size: 22px;
}

.publish-log {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.publish-log p,
.publish-log ul {
  margin: 0;
  color: var(--muted);
}

.publish-log ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(400px, 460px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-logo {
  min-width: 0;
  gap: 10px;
}

.footer-logo .brand-symbol {
  width: 38px;
  height: 40px;
}

.footer-logo .brand-name strong {
  font-size: 23px;
}

.footer-logo .brand-name small {
  font-size: 10px;
}

.footer-brand p {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #4e5a56;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: white;
  border-color: currentColor;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.09);
  transform: translateY(-1px);
}

.social-facebook:hover,
.social-facebook:focus-visible {
  color: #1877f2;
}

.social-instagram:hover,
.social-instagram:focus-visible {
  color: #c13584;
}

.social-youtube:hover,
.social-youtube:focus-visible {
  color: #ff0033;
}

.footer-contact-text {
  display: flex;
  justify-content: end;
}

.footer-contact-card {
  display: grid;
  gap: 12px;
  width: min(100%, 460px);
  padding: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.footer-contact-card-copy {
  display: grid;
  gap: 4px;
}

.footer-contact-card-copy strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.15;
}

.footer-contact-card-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer-contact-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  grid-template-areas:
    "email whatsapp"
    "phone whatsapp";
  gap: 10px 14px;
  align-content: start;
  padding: 4px 0 4px 16px;
  border-left: 1px solid var(--line);
}

.footer-contact-text p {
  display: grid;
  gap: 4px;
  margin: 0;
  min-width: 0;
}

.footer-contact-text p > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-contact-text a,
.footer-contact-text strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}

.footer-contact-text a:hover,
.footer-contact-text a:focus-visible {
  color: var(--teal);
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.contact-qr-item {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--ink);
  text-decoration: none;
}

.contact-agent-item {
  width: 112px;
}

.contact-agent-photo {
  display: block;
  width: 112px;
  height: 126px;
  border-radius: 6px;
  object-fit: cover;
  object-position: 50% 34%;
}

.footer-contact-stack p:first-child {
  grid-area: email;
}

.footer-contact-stack p:nth-child(2) {
  grid-area: phone;
}

.contact-whatsapp-item {
  grid-area: whatsapp;
  align-self: start;
}

.contact-whatsapp-item img {
  display: block;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: white;
}

.contact-agent-name {
  display: grid;
  gap: 2px;
  max-width: 112px;
  color: var(--ink);
  line-height: 1.2;
  text-align: center;
}

.contact-agent-name strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-agent-name small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.contact-whatsapp-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

@media (max-width: 980px) {
  .footer-contact-text {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .footer-contact-row {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-agent-item,
  .contact-agent-photo {
    width: 90px;
  }

  .contact-agent-photo {
    height: 104px;
  }

  .contact-agent-name {
    max-width: 90px;
  }

  .footer-contact-stack {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 8px 10px;
    padding-left: 12px;
  }

  .contact-whatsapp-item img {
    width: 68px;
    height: 68px;
  }
}

body.wizard-open,
body.account-open {
  overflow: hidden;
}

.account-portal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.account-portal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.account-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 18, 17, 0.58);
  backdrop-filter: blur(12px);
}

.account-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(90svh, 820px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(219, 226, 223, 0.8);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.account-brand {
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.account-brand .brand-symbol {
  width: 34px;
  height: 36px;
}

.account-brand .brand-name strong {
  font-size: 17px;
}

.account-brand .brand-name small {
  font-size: 9px;
}

.account-close {
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.account-auth-view {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(440px, 1.35fr);
  min-height: 610px;
  max-height: calc(min(90svh, 820px) - 70px);
  overflow: auto;
}

.account-side {
  padding: 54px 38px;
  background:
    linear-gradient(145deg, rgba(218, 244, 239, 0.96), rgba(255, 255, 255, 0.92)),
    var(--aqua);
  border-right: 1px solid var(--line);
}

.account-side h2 {
  max-width: 360px;
  margin: 10px 0 30px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.account-side-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-side-list div {
  padding: 17px 0;
  border-top: 1px solid rgba(0, 109, 119, 0.17);
}

.account-side-list dt {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-side-list dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.account-security-note {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.account-main {
  width: min(100%, 590px);
  margin-inline: auto;
  padding: 36px 44px 40px;
}

.account-auth-intro {
  margin: -6px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.account-toast {
  position: fixed;
  z-index: 180;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 13px 17px;
  border-radius: 10px;
  background: #071914;
  color: white;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.account-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.account-toast[data-tone="error"] {
  background: #7e2b23;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 46px;
  margin-bottom: 20px;
  padding: 4px;
  background: #eef3f1;
  border-radius: 7px;
}

.account-tabs button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.account-tabs button.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(23, 33, 31, 0.08);
}

.account-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-social button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.account-provider-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.account-social button:hover,
.account-social button:focus-visible {
  border-color: rgba(0, 109, 119, 0.35);
  box-shadow: 0 5px 18px rgba(23, 33, 31, 0.08);
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 19px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.account-form,
.dashboard-profile-form {
  display: grid;
  gap: 15px;
}

.account-form label,
.dashboard-profile-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-form input,
.account-form select,
.dashboard-profile-form input,
.dashboard-profile-form select,
.security-row input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.account-phone-input {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
}

.account-country-code {
  position: relative;
  min-width: 0;
  min-height: 44px;
}

.account-country-code select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.account-country-face {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  padding: 9px 24px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.account-country-code select:focus-visible + .account-country-face {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.account-country-code::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.account-country-picker {
  position: relative;
  min-width: 0;
}

.account-country-button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.account-country-button:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
  outline: none;
}

.account-country-flag {
  flex: 0 0 23px;
  box-shadow: 0 0 0 1px rgba(23, 33, 31, 0.1);
}

.account-country-chevron {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.account-country-menu {
  position: absolute;
  z-index: 180;
  top: calc(100% + 6px);
  left: 0;
  width: min(270px, 72vw);
  max-height: 260px;
  padding: 6px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(23, 33, 31, 0.18);
}

.account-country-menu[hidden] {
  display: none;
}

.account-country-menu button {
  display: grid;
  grid-template-columns: 26px 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.account-country-menu button:hover,
.account-country-menu button:focus-visible,
.account-country-menu button[aria-selected="true"] {
  background: #eef9f7;
  outline: none;
}

.account-country-menu strong {
  font-size: 13px;
}

.account-country-menu small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-form input:focus,
.account-form select:focus,
.dashboard-profile-form input:focus,
.dashboard-profile-form select:focus,
.security-row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.account-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.account-form-actions {
  align-items: center;
  margin-top: 3px;
}

.account-primary {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--home-teal, #08796c);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(8, 121, 108, 0.2);
}

.account-submit-wide {
  width: 100%;
}

.account-text-button {
  width: max-content;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.account-role-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.account-role-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-role-picker label {
  position: relative;
}

.account-role-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-role-picker span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.account-role-picker input:checked + span {
  border-color: var(--teal);
  background: #eef9f7;
  color: var(--teal-dark);
}

.account-form .account-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  line-height: 1.45;
}

.account-consent input {
  width: 17px;
  min-height: 17px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.account-verification {
  padding-top: 34px;
}

.account-verification h3 {
  margin: 8px 0;
  font-size: 27px;
}

.account-code-input {
  max-width: 220px;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em;
  text-align: center;
}

.account-message {
  min-height: 20px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.account-message[data-tone="error"] {
  color: #a33a2b;
}

.account-message[data-tone="success"] {
  color: var(--teal-dark);
}

.account-dashboard {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  height: min(750px, calc(90svh - 70px));
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  border-right: 1px solid var(--line);
  background: #f3f7f5;
}

.dashboard-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 7px 24px;
  border-bottom: 1px solid var(--line);
}

.dashboard-person > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.dashboard-person div {
  display: grid;
  min-width: 0;
}

.dashboard-person strong,
.dashboard-person small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-person small {
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}

.dashboard-nav nav {
  display: grid;
  gap: 4px;
  padding-top: 22px;
}

.dashboard-nav nav button,
.dashboard-signout {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.dashboard-nav nav button.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(23, 33, 31, 0.07);
}

.dashboard-signout {
  margin-top: auto;
  color: #9d3d31;
}

.dashboard-content {
  min-width: 0;
  overflow: auto;
  padding: 38px 42px 50px;
}

.dashboard-content h2 {
  margin: 7px 0 5px;
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: 0;
}

.dashboard-content h3 {
  margin: 0;
  font-size: 18px;
}

.dashboard-heading,
.dashboard-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-heading > div > p {
  margin: 0;
  color: var(--muted);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 32px 0;
  border-block: 1px solid var(--line);
}

.dashboard-stats div {
  display: grid;
  gap: 2px;
  padding: 20px 15px;
  border-right: 1px solid var(--line);
}

.dashboard-stats div:last-child {
  border-right: 0;
}

.dashboard-stats strong {
  font-size: 25px;
}

.dashboard-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-listing-section {
  margin-top: 26px;
}

.dashboard-section-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dashboard-section-heading button {
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.dashboard-empty {
  padding: 42px 10px;
  text-align: center;
}

.dashboard-empty strong {
  display: block;
  font-size: 17px;
}

.dashboard-empty p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-listing-list {
  display: grid;
}

.dashboard-listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.dashboard-listing-row > div {
  display: grid;
  min-width: 0;
}

.dashboard-listing-row span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-listing-row .dashboard-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3f1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-status.status-published {
  background: var(--aqua);
  color: var(--teal-dark);
}

.dashboard-filter-row {
  display: flex;
  gap: 6px;
  margin: 28px 0 6px;
  overflow-x: auto;
}

.dashboard-filter-row button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-filter-row button.is-active {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.dashboard-profile-form {
  max-width: 680px;
  margin-top: 30px;
}

.dashboard-profile-form > .account-primary {
  width: max-content;
  margin-top: 8px;
}

.dashboard-profile-form input:disabled {
  background: #f2f4f3;
  color: var(--muted);
}

.security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 690px;
  min-height: 78px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.security-row > div {
  display: grid;
  gap: 3px;
  flex: 1;
}

.security-row span {
  color: var(--muted);
  font-size: 12px;
}

.security-row input {
  max-width: 300px;
  margin-top: 7px;
}

.security-row button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.dashboard-message {
  position: sticky;
  bottom: 0;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
}

.listing-wizard {
  position: fixed;
  inset: 76px 0 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px 24px 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.listing-wizard[aria-hidden="false"],
.listing-wizard:target {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.wizard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 17, 0.58);
  backdrop-filter: blur(12px);
  cursor: default;
}

.wizard-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto 5px minmax(0, 1fr);
  width: min(1080px, 100%);
  height: min(80svh, 760px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(219, 226, 223, 0.75);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.wizard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.wizard-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wizard-title-block img {
  width: 36px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

.wizard-title-block span {
  display: block;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wizard-title-block h2 {
  margin: 0;
  font-size: 24px;
}

.wizard-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.wizard-save,
.wizard-close,
.wizard-secondary,
.wizard-primary {
  min-height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.wizard-save,
.wizard-secondary {
  padding: 0 14px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.wizard-close {
  width: 40px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
}

.wizard-progress {
  height: 5px;
  background: #dfe6e3;
}

.wizard-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--teal);
  transition: width 220ms ease;
}

.wizard-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.wizard-steps {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: #f2f5f3;
  border-right: 1px solid var(--line);
}

.wizard-steps button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.wizard-steps button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  color: var(--teal-dark);
  font-size: 11px;
}

.wizard-steps button.is-active {
  background: white;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.08);
}

.wizard-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.wizard-step {
  display: none;
  align-content: start;
  gap: 18px;
  min-height: 0;
  min-width: 0;
  padding: 34px 34px 48px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--teal) #dfe6e3;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.wizard-step::-webkit-scrollbar {
  width: 12px;
}

.wizard-step::-webkit-scrollbar-track {
  background: #dfe6e3;
}

.wizard-step::-webkit-scrollbar-thumb {
  border: 3px solid #dfe6e3;
  border-radius: 8px;
  background: var(--teal);
}

.wizard-step.is-active {
  display: grid;
}

.wizard-step h3 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.04;
}

.wizard-help {
  max-width: 720px;
  margin: -8px 0 4px;
  color: var(--muted);
}

.choice-stack {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
}

.choice-stack legend,
.wizard-field-grid label > span,
.wizard-feature-grid label > span,
.wizard-description-field > span,
.wizard-followup label > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.choice-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.choice-row span {
  display: grid;
  gap: 2px;
}

.choice-row strong {
  color: var(--ink);
}

.choice-row:has(input:checked) {
  border-color: var(--teal);
  background: #f2fbf8;
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.choice-row.compact {
  min-height: 46px;
  align-items: center;
}

.wizard-followup {
  display: grid;
  gap: 10px;
}

.wizard-followup[hidden] {
  display: none;
}

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

.wizard-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-field-grid label,
.wizard-feature-grid label,
.wizard-followup label,
.wizard-description-field {
  display: grid;
  min-width: 0;
}

.wizard-detail-section {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.wizard-detail-section h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

.wizard-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 940px;
}

.wizard-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wizard-checkbox-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 180px));
}

.wizard-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.wizard-checkbox-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

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

.choice-stack.compact-choice-stack .choice-row {
  display: flex;
  min-height: 44px;
  padding: 10px 14px;
}

.choice-stack.compact-choice-stack .choice-row input {
  margin-top: 0;
}

.choice-stack.compact-choice-stack .choice-row span {
  display: block;
  margin: 0;
}

.choice-stack.compact-choice-stack .choice-row strong {
  font-size: 14px;
}

.wizard-field-grid input,
.wizard-field-grid select,
.wizard-feature-grid input,
.wizard-followup select,
.wizard-description-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}

.wizard-feature-grid label > span {
  margin-bottom: 5px;
  font-size: 12px;
}

.wizard-feature-grid input {
  min-height: 38px;
  padding: 0 10px;
  font-size: 14px;
}

.wizard-description-field textarea {
  min-height: 190px;
  padding: 12px 13px;
  resize: vertical;
}

.wizard-field-grid input:focus,
.wizard-field-grid select:focus,
.wizard-feature-grid input:focus,
.wizard-followup select:focus,
.wizard-description-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

.wizard-upload {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 138px;
  padding: 22px;
  border: 1px dashed #9cacaa;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-align: center;
}

.wizard-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wizard-upload strong {
  color: var(--teal-dark);
  font-size: 20px;
}

.wizard-upload span {
  color: var(--muted);
}

.wizard-upload.is-error {
  border-color: rgba(239, 91, 69, 0.72);
  background: #fff8f5;
}

.wizard-upload.is-error span {
  color: #a83a2a;
  font-weight: 850;
}

.photo-manager {
  display: grid;
  gap: 14px;
}

.photo-manager[hidden] {
  display: none;
}

.photo-manager > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.photo-manager > header div {
  display: grid;
  gap: 3px;
}

.photo-manager > header span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-manager > header strong {
  font-size: 20px;
}

.photo-manager > header p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.wizard-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.photo-order-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: grab;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.photo-order-card.is-cover {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.09);
}

.photo-order-card.is-dragging {
  opacity: 0.45;
}

.photo-order-card.is-drop-target {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239, 91, 69, 0.12);
}

.photo-order-card > img {
  width: 100%;
  height: 112px;
  border-radius: 5px;
  object-fit: cover;
}

.photo-order-card figcaption {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.photo-order-card figcaption span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.photo-order-card figcaption .cover-photo-label {
  color: var(--teal-dark);
}

.photo-order-card figcaption small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-position-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 4px 5px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9f8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.photo-position-control input {
  width: 54px;
  min-height: 28px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.photo-position-control:focus-within {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.photo-scroll-button {
  position: absolute;
  right: 26px;
  bottom: 78px;
  z-index: 8;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 65, 71, 0.28);
  font-size: 24px;
  font-weight: 900;
}

.photo-scroll-button[hidden] {
  display: none;
}

.photo-scroll-button:hover,
.photo-scroll-button:focus-visible {
  background: var(--teal-dark);
}

.photo-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 2px;
}

.photo-pagination[hidden] {
  display: none;
}

.photo-pagination button {
  min-width: 88px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.photo-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.photo-pagination span {
  min-width: 88px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

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

.template-grid button,
.channel-grid label {
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.template-grid button {
  cursor: pointer;
  text-align: left;
}

.template-grid button.is-active {
  border-color: var(--teal);
  background: #f2fbf8;
  color: var(--teal-dark);
}

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

.channel-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.post-preview {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.post-preview[hidden] {
  display: none;
}

.post-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 17, 0.7);
  backdrop-filter: blur(10px);
}

.post-preview-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 100%);
  height: min(92svh, 900px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #f1f4f2;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
}

.post-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.post-preview-topbar > div {
  display: grid;
  gap: 2px;
}

.post-preview-topbar span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-preview-topbar strong {
  color: var(--muted);
  font-size: 12px;
}

.post-preview-topbar button {
  width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.post-preview-scroll {
  overflow: auto;
  padding: 24px;
}

.website-listing-preview {
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.1);
}

.preview-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  align-items: stretch;
  gap: 3px;
  height: 420px;
  background: #e8eeeb;
}

.preview-gallery-layout.is-single {
  grid-template-columns: 1fr;
}

.preview-cover-frame {
  position: relative;
  overflow: hidden;
  background: #edf3f1;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.preview-cover-frame::before,
.preview-gallery-side button::before,
.preview-thumbnail-strip button::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(237, 243, 241, 0.58);
  backdrop-filter: blur(14px);
  content: "";
}

.preview-cover-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-cover-frame img[hidden],
.preview-photo-empty[hidden] {
  display: none;
}

.preview-photo-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-weight: 850;
}

.preview-photo-count {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(16, 24, 22, 0.82);
  color: white;
  font-size: 12px;
}

.preview-gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
}

.preview-gallery-side[hidden] {
  display: none;
}

.preview-gallery-side button {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #edf3f1;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  cursor: pointer;
}

.preview-gallery-side img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.preview-gallery-side button:hover img,
.preview-gallery-side button:focus-visible img {
  opacity: 0.86;
}

.preview-thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.preview-thumbnail-strip:empty {
  display: none;
}

.preview-thumbnail-strip button {
  position: relative;
  flex: 0 0 76px;
  height: 54px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: white;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  cursor: pointer;
}

.preview-thumbnail-strip button.is-active {
  border-color: var(--teal);
}

.preview-thumbnail-strip img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-property-content {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.preview-property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

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

.preview-property-heading > div {
  display: grid;
  gap: 3px;
}

.preview-property-heading span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-preview h4 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.preview-price-block {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.preview-price-block > strong {
  color: var(--ink);
  font-size: 20px;
}

.preview-price-block > small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  white-space: pre-line;
}

.post-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.post-preview .preview-property-description {
  color: var(--ink);
}

.preview-property-meta {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.preview-description-section,
.preview-facts-section,
.preview-facilities-section {
  display: grid;
  gap: 8px;
}

.preview-description-section h5,
.preview-facts-section h5,
.preview-facilities-section h5 {
  margin: 0;
  font-size: 17px;
}

.preview-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
}

.preview-detail-grid div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f9f8;
}

.preview-detail-grid dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-detail-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.preview-key-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preview-facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-facility-list li {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f9f8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.preview-facility-list li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--teal-dark);
  font-weight: 900;
}

.preview-facility-list li.is-muted {
  color: var(--muted);
}

.preview-facility-list li.is-muted::before {
  content: "";
  margin: 0;
}

.preview-inquiry-panel {
  display: grid;
  gap: 10px;
  margin: 26px 26px 26px 0;
  padding: 20px;
  border-radius: 8px;
  background: #101816;
  color: white;
}

.preview-inquiry-panel img {
  width: min(156px, 100%);
  height: auto;
  object-fit: contain;
  filter: invert(1);
}

.preview-inquiry-panel > span,
.preview-inquiry-panel small {
  color: #a9bdb7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-inquiry-panel > strong {
  font-size: 20px;
  line-height: 1.2;
}

.preview-inquiry-panel p {
  color: #c8d5d1;
  font-size: 13px;
}

.preview-inquiry-panel button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--coral);
  color: white;
  font-weight: 900;
}

.wizard-result {
  min-height: 22px;
  color: var(--teal-dark);
  font-weight: 850;
}

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 30px;
  background: white;
  border-top: 1px solid var(--line);
}

.wizard-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.wizard-primary {
  min-width: 124px;
  padding: 0 18px;
  border: 0;
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 24px rgba(239, 91, 69, 0.2);
}

.wizard-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 1320px) {
  .site-header {
    align-items: flex-start;
  }

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

  .header-actions {
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 980px) {
  .account-dialog {
    width: min(760px, 100%);
  }

  .account-auth-view {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .account-side {
    padding: 38px 24px;
  }

  .account-side h2 {
    font-size: 27px;
  }

  .account-main {
    padding: 30px 28px 36px;
  }

  .account-dashboard {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dashboard-content {
    padding-inline: 28px;
  }

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

  .dashboard-stats div:nth-child(2) {
    border-right: 0;
  }

  .dashboard-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .search-row,
  .workspace-grid,
  .audience-cta,
  .audience-panel {
    grid-template-columns: 1fr;
  }

  .property-map-heading {
    align-items: start;
    flex-direction: column;
  }

  .property-map-summary {
    justify-items: start;
  }

  .property-map-tool {
    grid-template-columns: 1fr;
    height: auto;
  }

  .map-result-list {
    max-height: 300px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .map-result-items {
    max-height: 238px;
  }

  .listing-map-wrap,
  .listing-map {
    height: 460px;
  }

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

  .listing-stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .site-footer,
  .footer-contact-text {
    grid-template-columns: 1fr;
  }

  .wizard-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .template-grid,
  .wizard-feature-grid,
  .wizard-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-gallery-layout {
    height: 360px;
  }

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

  .phone-preview {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
    gap: 10px;
    align-items: center;
    background: rgba(255, 253, 249, 0.94);
  }

  .brand-cluster {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    min-width: 180px;
    gap: 9px;
    flex: 1 1 auto;
  }

  .brand-symbol {
    width: 38px;
    height: 40px;
  }

  .brand-name strong {
    font-size: 17px;
  }

  .brand-name small {
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .header-actions {
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 7px;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-link,
  .utility-link,
  .secondary-link {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .primary-link {
    width: 132px;
  }

  .secondary-link {
    width: 164px;
  }

  .utility-link {
    width: 92px;
  }

  .language-switch {
    gap: 7px;
    width: auto;
    min-height: 38px;
    flex: 0 0 auto;
  }

  .language-switch button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 11px;
  }

  .flag-icon {
    width: 23px;
    height: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 26, 24, 0.34), rgba(5, 26, 24, 0.5) 46%, rgba(5, 26, 24, 0.34)),
      radial-gradient(circle at 50% 38%, rgba(0, 109, 119, 0.18), transparent 48%);
  }

  .hero-content {
    align-items: center;
    min-height: auto;
    padding: 52px 0 46px;
    text-align: center;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    max-width: 13.5ch;
    margin-bottom: 16px;
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.03;
  }

  .hero-subcopy {
    max-width: 34rem;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .search-panel {
    padding: 12px;
  }

  .property-map-inner {
    padding: 50px 0;
  }

  .property-map-heading h2 {
    font-size: 30px;
  }

  .listing-map-wrap,
  .listing-map {
    height: 410px;
  }

  .map-result-card {
    grid-template-rows: none;
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 138px;
  }

  .map-result-gallery {
    width: 110px;
    height: 100%;
    min-height: 138px;
    aspect-ratio: auto;
  }

  .audience-panel,
  .footer-contact-text,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 162px;
    text-align: left;
  }

  .slogan-ticker {
    align-items: flex-start;
    width: 100%;
    max-width: 430px;
    gap: 8px;
    min-height: 0;
    padding: 15px 16px;
    border-radius: 16px;
    text-align: left;
  }

  .slogan-ticker strong {
    font-size: 21px;
  }

  .audience-panel {
    max-width: 430px;
    gap: 12px;
  }

  .audience-card {
    min-height: 136px;
    border-radius: 16px;
  }

  .audience-image {
    width: 40%;
    opacity: 0.5;
  }

  .audience-copy {
    width: min(74%, 290px);
    min-height: 136px;
    padding: 16px;
  }

  .audience-copy strong {
    font-size: 18px;
  }

  .site-footer {
    padding: 32px 0 40px;
  }

  .audience-cta {
    margin-top: 22px;
  }

  .account-portal {
    padding: 0;
  }

  .account-dialog {
    width: 100%;
    height: 100svh;
    max-height: none;
    border-radius: 0;
  }

  .account-topbar {
    min-height: 62px;
    padding: 10px 14px;
  }

  .account-auth-view {
    display: block;
    min-height: 0;
    max-height: calc(100svh - 62px);
  }

  .account-side {
    display: none;
  }

  .account-main {
    width: 100%;
    padding: 24px 18px 40px;
  }

  .account-social,
  .account-form-row {
    grid-template-columns: 1fr;
  }

  .account-role-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-form-actions {
    display: flex;
    justify-content: space-between;
  }

  .account-dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100svh - 62px);
  }

  .dashboard-nav {
    display: block;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    white-space: nowrap;
  }

  .dashboard-person {
    display: none;
  }

  .dashboard-nav nav {
    display: flex;
    gap: 5px;
    padding: 0;
  }

  .dashboard-nav nav button {
    flex: 0 0 auto;
    min-height: 36px;
    padding-inline: 10px;
  }

  .dashboard-signout {
    display: none;
  }

  .dashboard-content {
    padding: 25px 18px 42px;
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-content h2 {
    font-size: 24px;
  }

  .dashboard-stats {
    margin-block: 24px;
  }

  .security-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-wizard {
    inset: 66px 0 0;
    padding: 0;
  }

  .wizard-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .wizard-topbar {
    align-items: start;
    padding: 14px;
  }

  .wizard-title-block img {
    width: 30px;
    height: 32px;
  }

  .wizard-title-block h2 {
    font-size: 20px;
  }

  .wizard-save {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .wizard-close {
    width: 36px;
    min-height: 36px;
  }

  .wizard-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  .wizard-steps {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .wizard-steps button {
    min-height: 36px;
    white-space: nowrap;
  }

  .wizard-step {
    padding: 24px 16px;
  }

  .wizard-step h3 {
    font-size: 29px;
  }

  .wizard-field-grid,
  .wizard-field-grid.two,
  .wizard-feature-grid,
  .wizard-checkbox-grid,
  .wizard-checkbox-grid.compact,
  .template-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

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

  .photo-scroll-button {
    right: 14px;
    bottom: 72px;
  }

  .photo-manager > header,
  .preview-property-heading {
    align-items: start;
    flex-direction: column;
  }

  .preview-price-block {
    justify-items: start;
    text-align: left;
  }

  .photo-manager > header p {
    text-align: left;
  }

  .post-preview {
    padding: 0;
  }

  .post-preview-dialog {
    width: 100%;
    height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .post-preview-scroll {
    padding: 12px;
  }

  .preview-gallery-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .preview-cover-frame {
    aspect-ratio: 4 / 3;
  }

  .preview-gallery-side {
    height: 176px;
  }

  .preview-property-layout {
    grid-template-columns: 1fr;
  }

  .preview-property-content {
    padding: 16px;
  }

  .preview-inquiry-panel {
    margin: 0 16px 16px;
  }

  .wizard-footer {
    padding: 12px 16px;
  }

  .wizard-primary,
  .wizard-secondary {
    flex: 1;
  }

  .listing-grid,
  .field-grid,
  .publish-options {
    grid-template-columns: 1fr;
  }

  .listing-stats {
    width: min(100% - 32px, 420px);
    margin-top: 0;
  }

  .stat-item {
    min-height: 78px;
    padding: 14px 16px;
  }

  .listing-label {
    max-width: 230px;
  }

  .gallery-button {
    opacity: 1;
  }

  .listing-main-row,
  .listing-actions {
    align-items: start;
  }

  .section-heading,
  .agent-header {
    align-items: start;
    flex-direction: column;
  }

  .content-band {
    padding: 58px 0;
  }

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