:root {
  color-scheme: light;
  --ink: #101722;
  --deep: #07111d;
  --muted: #637083;
  --quiet: #98a3b3;
  --line: #d9e3eb;
  --paper: #eef4f5;
  --surface: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.72);
  --green: #00785c;
  --green-dark: #074a3c;
  --cyan: #6ec9d4;
  --coral: #ef6658;
  --coral-dark: #bb423c;
  --amber: #dba83c;
  --violet: #5867c9;
  --focus: #f2c14e;
  --shadow: 0 24px 60px rgba(7, 17, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(118deg, rgba(110, 201, 212, 0.34), rgba(238, 244, 245, 0.95) 34%, rgba(255, 247, 234, 0.86) 68%, rgba(239, 102, 88, 0.16)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 29, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18));
}

a {
  color: inherit;
}

.portal-topbar {
  width: min(1380px, calc(100% - 24px));
  min-height: 150px;
  margin: 14px auto 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(420px, auto) minmax(420px, 1fr) minmax(190px, auto);
  align-items: center;
  gap: 18px;
  overflow: visible;
  position: sticky;
  top: 10px;
  z-index: 20;
  border: 1px solid rgba(201, 216, 226, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 253, 0.94) 48%, rgba(255, 252, 244, 0.94));
  box-shadow:
    0 18px 46px rgba(7, 17, 29, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.portal-topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber), var(--coral));
}

.portal-topbar::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 180px;
  right: 18%;
  top: -112px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(110, 201, 212, 0.2), rgba(110, 201, 212, 0));
  pointer-events: none;
}

.brand-lockup {
  min-width: 0;
  min-height: 114px;
  padding: 10px 12px 10px 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(217, 227, 235, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 251, 0.78));
  box-shadow:
    0 12px 28px rgba(7, 17, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-mark {
  width: 286px;
  height: 98px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(201, 216, 226, 0.62);
  overflow: hidden;
}

.brand-mark img {
  width: 270px;
  max-height: 92px;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  text-align: left;
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-lockup strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-lockup div > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 820;
}

.portal-nav {
  width: min(760px, 100%);
  justify-self: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(201, 216, 226, 0.82);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 248, 0.84));
  box-shadow:
    0 12px 28px rgba(7, 17, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.portal-nav a {
  min-height: 54px;
  min-width: 0;
  padding: 12px 18px;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 920;
  line-height: 1.1;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.portal-nav a:hover,
.portal-nav a:focus-visible {
  background: rgba(7, 17, 29, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.portal-nav a.is-active {
  background:
    linear-gradient(135deg, var(--deep), #0f3d48 56%, var(--green-dark));
  color: #ffffff;
  box-shadow:
    0 14px 28px rgba(7, 17, 29, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.view-browse .investor-calculator {
  display: none;
}

body.view-compare .results-panel,
body.view-compare .market-showcase,
body.view-compare .finance-services {
  display: none;
}

.language-control {
  justify-self: end;
  min-width: 210px;
  min-height: 90px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(217, 227, 235, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 252, 253, 0.78));
  box-shadow:
    0 12px 28px rgba(7, 17, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-control::before {
  content: "EN / AF";
  position: absolute;
  right: 12px;
  top: 11px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(232, 250, 255, 0.9);
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.language-control label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-control select {
  min-height: 48px;
  padding: 0 42px 0 14px;
  border-color: rgba(201, 216, 226, 0.9);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 930;
  box-shadow:
    0 10px 22px rgba(7, 17, 29, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.app-shell {
  width: min(1380px, calc(100% - 24px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.search-panel,
.results-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.search-panel {
  grid-column: 1 / -1;
  position: static;
  z-index: 2;
  padding: 0;
}

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

h1 {
  margin: 0;
  color: inherit;
  font-size: 38px;
  line-height: 1.02;
}

form {
  display: grid;
  gap: 11px;
  padding: 20px 22px 22px;
  width: 100%;
}

.smart-search-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 120, 92, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 120, 92, 0.08), rgba(110, 201, 212, 0.12)),
    rgba(255, 255, 255, 0.82);
}

.smart-search-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 780;
}

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.intent-chips button {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 120, 92, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 950;
  box-shadow: none;
  white-space: normal;
}

.intent-chips button:hover,
.intent-chips button.is-active {
  background: var(--green-dark);
  color: #ffffff;
}

.intent-chips button.is-active {
  border-color: rgba(7, 17, 29, 0.14);
  box-shadow: 0 9px 18px rgba(0, 120, 92, 0.2);
}

.intent-chips .clear-intent {
  border-color: rgba(187, 66, 60, 0.22);
  background: #fff0ed;
  color: var(--coral-dark);
}

.intent-chips .clear-intent[hidden] {
  display: none;
}

.section-label {
  margin: 8px 0 0;
  padding-top: 9px;
  border-top: 1px solid rgba(217, 227, 235, 0.82);
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.location-command {
  padding: 15px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(217, 227, 235, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 0%, rgba(110, 201, 212, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 244, 245, 0.82));
  box-shadow: 0 18px 34px rgba(7, 17, 29, 0.07);
  overflow: hidden;
}

.location-command-header {
  padding: 4px 2px 2px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.location-command-header strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.location-command-header span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.location-pill-flow {
  display: grid;
  gap: 10px;
  align-items: start;
}

.location-pill-group {
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(201, 216, 226, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  overflow: visible;
}

.location-pill-group[hidden] {
  display: none;
}

.location-pill-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.location-pill-heading strong {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.location-pill-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.location-pill-list {
  max-height: 158px;
  padding: 3px 2px 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: auto;
  scrollbar-width: thin;
}

.location-pill {
  width: auto;
  min-height: 35px;
  margin: 0;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 120, 92, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 255, 253, 0.92));
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 930;
  text-align: center;
  box-shadow: 0 8px 16px rgba(7, 17, 29, 0.045);
}

.suburb-curation-pill {
  min-height: 50px;
  padding: 9px 13px;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
}

.location-pill-name,
.location-pill-metric {
  display: block;
  max-width: 100%;
}

.location-pill-metric {
  color: rgba(91, 106, 128, 0.88);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
}

.location-pill:hover,
.location-pill.is-active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
}

.location-pill:hover .location-pill-metric,
.location-pill.is-active .location-pill-metric {
  color: rgba(255, 255, 255, 0.84);
}

.location-pill.is-active {
  border-color: rgba(7, 17, 29, 0.12);
  box-shadow: 0 10px 20px rgba(0, 120, 92, 0.18);
}

.province-golf-estate-cta {
  width: 100%;
  min-height: 92px;
  margin: 6px 0 2px;
  padding: 15px 17px;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: start;
  border: 1px solid rgba(219, 168, 60, 0.46);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 231, 157, 0.88), transparent 38%),
    linear-gradient(135deg, #07111d, #0c4f45 54%, #00785c);
  color: #ffffff;
  text-align: left;
  overflow: visible;
  box-shadow:
    0 18px 34px rgba(0, 120, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.province-golf-estate-cta span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #d5fbff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.province-golf-estate-cta strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.16;
  white-space: normal;
  overflow-wrap: anywhere;
}

.province-golf-estate-cta:hover,
.province-golf-estate-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(0, 120, 92, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.province-golf-estate-cta.is-security-estate-cta {
  border-color: rgba(239, 102, 88, 0.38);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 208, 216, 0.78), transparent 38%),
    linear-gradient(135deg, #07111d, #174d5c 52%, #00785c);
}

.province-golf-estate-cta.is-security-estate-cta span {
  background: rgba(255, 255, 255, 0.16);
  color: #ffe1e5;
}

.location-state-fields {
  display: none;
}

.map-search-command {
  position: relative;
  z-index: 1;
  padding: 18px;
  gap: 14px;
  border-color: rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at 0% 0%, rgba(162, 229, 255, 0.38), transparent 31%),
    radial-gradient(circle at 100% 8%, rgba(255, 205, 232, 0.34), transparent 30%),
    radial-gradient(circle at 74% 100%, rgba(255, 236, 178, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 253, 253, 0.9));
  box-shadow: 0 22px 54px rgba(7, 17, 29, 0.18);
  backdrop-filter: blur(22px);
}

.map-search-command .location-command-header {
  padding: 0;
}

.map-search-command .location-command-header strong {
  color: var(--green-dark);
}

.location-command-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.reset-location-search {
  width: auto;
  min-height: 30px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(239, 102, 88, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #fff1f4);
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(7, 17, 29, 0.05);
}

.reset-location-search[hidden] {
  display: none;
}

.reset-location-search:hover,
.reset-location-search:focus-visible {
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
}

.map-search-command .location-pill-flow {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.map-search-command .location-pill-group {
  min-width: 0;
  padding: 14px;
  border-color: rgba(99, 181, 196, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 245, 248, 0.72), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 253, 250, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(7, 17, 29, 0.045);
}

.map-search-command .location-pill-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 216, 226, 0.55);
}

.map-search-command .location-pill-list {
  max-height: none;
  flex-wrap: wrap;
  overflow: visible;
  align-content: start;
}

.map-search-command [data-location-pill-group="region"] .location-pill-list,
.map-search-command [data-location-pill-group="city"] .location-pill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
}

.map-search-command [data-location-pill-group="region"] .location-pill,
.map-search-command [data-location-pill-group="city"] .location-pill {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
}

.map-search-command .province-golf-estate-cta {
  flex: 1 0 100%;
}

.map-search-command [data-location-pill-group="estate"] {
  grid-column: 1 / -1;
}

.estate-path-group {
  border-color: rgba(0, 120, 92, 0.22);
}

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

.estate-path-pills .province-golf-estate-cta {
  min-height: 116px;
  margin: 0;
  padding: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.estate-path-pills .province-golf-estate-cta::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.estate-path-pills .province-golf-estate-cta::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 58%);
  opacity: 0.9;
}

.estate-path-pills .province-golf-estate-cta span {
  padding: 6px 9px;
}

.estate-path-pills .province-golf-estate-cta strong {
  max-width: 82%;
  font-size: 20px;
  line-height: 1.12;
}

.map-search-command [data-location-pill-group="suburb"] {
  grid-column: 1 / -1;
}

.map-search-command [data-location-pill-group="suburb"] .location-pill-list {
  max-height: none;
  overflow: visible;
}

.suburb-curation-group {
  width: 100%;
  padding: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(201, 216, 226, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 253, 251, 0.72));
}

.suburb-curation-group.is-premium {
  border-color: rgba(219, 168, 60, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 231, 157, 0.48), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 255, 248, 0.78));
}

.suburb-curation-group.is-review,
.suburb-curation-group.is-commercial {
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 251, 0.82));
}

.suburb-curation-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.suburb-curation-heading span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.suburb-curation-heading strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
}

.suburb-curation-heading em {
  max-width: 82ch;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 790;
  line-height: 1.35;
}

.suburb-curation-heading b {
  min-width: 30px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(232, 250, 255, 0.9);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.suburb-curation-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suburb-curation-pill[data-suburb-tier="review"],
.suburb-curation-pill[data-suburb-tier="commercial"] {
  opacity: 0.88;
}

.show-broader-suburbs {
  width: 100%;
  min-height: 66px;
  margin: 2px 0 0;
  padding: 13px 15px;
  display: grid;
  gap: 4px;
  justify-items: start;
  border: 1px dashed rgba(99, 112, 131, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 249, 250, 0.78));
  color: var(--ink);
  text-align: left;
}

.show-broader-suburbs span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.show-broader-suburbs strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.18;
}

.map-search-command .location-pill {
  flex: 0 1 auto;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 120, 92, 0.1);
  background:
    linear-gradient(135deg, #ffffff, #ecfbf7);
  color: #064237;
  font-size: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 9px 18px rgba(7, 17, 29, 0.06);
}

.map-search-command .location-pill:nth-child(4n + 1) {
  background: linear-gradient(135deg, #ffffff, #eaf8ff);
  border-color: rgba(110, 201, 212, 0.26);
}

.map-search-command .location-pill:nth-child(4n + 2) {
  background: linear-gradient(135deg, #ffffff, #f5f0ff);
  border-color: rgba(151, 129, 255, 0.2);
}

.map-search-command .location-pill:nth-child(4n + 3) {
  background: linear-gradient(135deg, #ffffff, #fff1f4);
  border-color: rgba(239, 102, 88, 0.18);
}

.map-search-command .location-pill:nth-child(4n + 4) {
  background: linear-gradient(135deg, #ffffff, #fff8dc);
  border-color: rgba(219, 168, 60, 0.2);
}

.map-search-command .location-pill:hover,
.map-search-command .location-pill.is-active {
  border-color: rgba(7, 17, 29, 0.16);
  background:
    linear-gradient(135deg, #00a47c, #0b5767 48%, #273469);
  color: #ffffff;
  transform: translateY(-1px);
}

.map-search-command .radius-slider-card {
  margin-top: 0;
  padding: 10px;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(0, 120, 92, 0.09), rgba(255, 255, 255, 0.8));
}

.buyer-brief-cta {
  min-height: 54px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(135deg, #08a783, #0d6474 46%, #102033);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 34px rgba(7, 17, 29, 0.2);
}

.map-search-command .radius-slider-header {
  display: grid;
  justify-content: start;
  gap: 4px;
}

.map-search-command .radius-slider-header output {
  width: fit-content;
}

.map-search-command input[type="range"] {
  display: none;
}

.radius-option-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.radius-option-grid button {
  min-height: 36px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(0, 120, 92, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #f3fbf9);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.05);
}

.radius-option-grid button:hover,
.radius-option-grid button.is-active {
  background: linear-gradient(135deg, #00a47c, #0b5767 48%, #273469);
  color: #ffffff;
}

.radius-slider-card {
  margin-top: 2px;
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 120, 92, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 120, 92, 0.08), rgba(110, 201, 212, 0.14)),
    rgba(255, 255, 255, 0.82);
}

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

.radius-slider-header label {
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.radius-slider-header output {
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.06);
}

input[type="range"] {
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  accent-color: var(--green-dark);
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -7px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.22);
  appearance: none;
}

input[type="range"]::-moz-range-track {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.22);
}

.radius-ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #152233;
  font-size: 13px;
  font-weight: 880;
}

.optional-label {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e9f7f2;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  vertical-align: middle;
}

input,
select,
button,
textarea {
  width: 100%;
  min-height: 49px;
  border-radius: 8px;
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid #c9d8e2;
  padding: 0 42px 0 14px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(7, 17, 29, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #102235 50%),
    linear-gradient(135deg, #102235 50%, transparent 50%),
    linear-gradient(135deg, rgba(0, 120, 92, 0.12), rgba(110, 201, 212, 0.16));
  background-position:
    calc(100% - 22px) 21px,
    calc(100% - 16px) 21px,
    calc(100% - 40px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    30px 30px;
  background-repeat: no-repeat;
}

input {
  background-image: linear-gradient(135deg, rgba(0, 120, 92, 0.08), rgba(110, 201, 212, 0.14));
  background-position: calc(100% - 40px) 50%;
  background-size: 30px 30px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 118px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.4;
}

input.price-input {
  padding-left: 38px;
  background-image:
    linear-gradient(135deg, rgba(0, 120, 92, 0.08), rgba(110, 201, 212, 0.14));
}

input.price-input::placeholder {
  color: var(--quiet);
}

.filter-grid > div {
  position: relative;
}

.filter-grid > div:has(.price-input)::before {
  content: "R";
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 950;
  pointer-events: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(0, 120, 92, 0.42);
  background-color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 12px 22px rgba(7, 17, 29, 0.07);
}

select:disabled {
  background: rgba(241, 245, 248, 0.82);
  color: var(--quiet);
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background-color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(0, 120, 92, 0.2),
    0 14px 28px rgba(0, 120, 92, 0.12);
}

button {
  margin-top: 10px;
  border: 0;
  background:
    linear-gradient(135deg, #00a47c, #103d4a 48%, #111827);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 120, 92, 0.28);
}

button:hover {
  filter: brightness(0.96) saturate(1.08);
}

.launch-exp-cta {
  width: 100%;
  min-height: 49px;
  margin-top: 10px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #00a47c, #103d4a 48%, #111827);
  color: #ffffff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(0, 120, 92, 0.28);
}

.launch-exp-cta:hover,
.launch-exp-cta:focus-visible {
  filter: brightness(0.96) saturate(1.08);
}

.launch-exp-cta[aria-disabled="true"] {
  opacity: 0.72;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.filter-grid label {
  font-size: 12px;
}

.results-panel {
  grid-column: 1 / -1;
  min-height: 700px;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
}

.results-panel .search-panel {
  margin: 18px;
  border-color: rgba(110, 201, 212, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 201, 212, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 253, 252, 0.88));
  box-shadow: 0 18px 42px rgba(7, 17, 29, 0.08);
}

.results-panel .search-panel form {
  padding: 22px;
}

.map-preview {
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(7, 17, 29, 0.9), rgba(12, 68, 76, 0.82) 38%, rgba(238, 244, 245, 0.64) 39%),
    #dcecef;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.map-card {
  width: 100%;
  display: grid;
  gap: 14px;
}

.map-stage {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.map-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  text-align: left;
  color: #ffffff;
}

.map-kicker {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.map-header h2 {
  margin: 0;
  color: inherit;
  font-size: 34px;
  line-height: 1.05;
}

.sa-map {
  width: 100%;
  height: min(76vh, 760px);
  min-height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(110, 201, 212, 0.24), transparent 28%),
    linear-gradient(135deg, #c8d6d9, #dfe9e9 52%, #c7d5d8);
  box-shadow:
    0 32px 70px rgba(7, 17, 29, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.leaflet-container {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(135deg, #c8d6d9, #dfe9e9 52%, #c7d5d8);
  color: var(--ink);
  font: inherit;
}

.map-stage .leaflet-top {
  top: auto;
  bottom: 20px;
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(7, 17, 29, 0.18);
}

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

.leaflet-control-attribution {
  display: none !important;
}

.province-tooltip {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.16);
  font-size: 12px;
  font-weight: 950;
}

.province-tooltip::before,
.city-map-label::before {
  display: none;
}

.city-map-label {
  border: 0;
  background: transparent;
  color: rgba(7, 17, 29, 0.88);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    1px 0 0 rgba(255, 255, 255, 0.95),
    -1px 0 0 rgba(255, 255, 255, 0.95),
    0 -1px 0 rgba(255, 255, 255, 0.95);
}

.map-layer-legend {
  min-width: 160px;
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 253, 252, 0.86));
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(7, 17, 29, 0.18);
  text-align: left;
  backdrop-filter: blur(14px);
}

.map-layer-legend strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-layer-legend span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 860;
}

.map-layer-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(7, 17, 29, 0.18);
}

.legend-province {
  background: #67e8f9;
}

.legend-region {
  background: #facc15;
}

.legend-town {
  background: #14b8a6;
}

.legend-suburb {
  background: #fb7185;
}

.map-point-label {
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(7, 17, 29, 0.84);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 17, 29, 0.22);
  font-size: 11px;
  font-weight: 950;
}

.map-point-label::before {
  display: none;
}

.map-point-label-region {
  background: rgba(120, 80, 12, 0.86);
}

.map-point-label-town {
  background: rgba(6, 78, 59, 0.88);
}

.map-point-label-suburb {
  background: rgba(136, 19, 55, 0.88);
}

.map-layer-point {
  filter: drop-shadow(0 8px 14px rgba(7, 17, 29, 0.22));
}

.investment-signals {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}

.signal-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(7, 17, 29, 0.08);
}

.investment-signals dt {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.investment-signals dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 730;
}

.result-strip {
  margin: 18px 18px 0;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(110, 201, 212, 0.38), transparent 31%),
    radial-gradient(circle at 92% 15%, rgba(255, 209, 102, 0.42), transparent 30%),
    linear-gradient(135deg, #07111d, #0b4450 48%, #00785c);
  color: #ffffff;
  box-shadow: 0 24px 52px rgba(7, 17, 29, 0.22);
  scroll-margin-top: 18px;
}

.result-strip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.result-strip div {
  display: grid;
  gap: 6px;
}

.result-strip span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-strip strong {
  max-width: 680px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
}

.result-strip small {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.selection-summary {
  margin: 14px 18px 0;
  padding: 15px 18px;
  border: 1px solid rgba(110, 201, 212, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(110, 201, 212, 0.16), rgba(255, 255, 255, 0.82));
  color: var(--deep);
  font-size: 15px;
  font-weight: 880;
  box-shadow: 0 12px 28px rgba(7, 17, 29, 0.06);
}

.area-intelligence {
  padding: 16px 18px 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.area-score-card {
  min-height: 132px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(110, 201, 212, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 209, 102, 0.14), transparent 38%),
    linear-gradient(135deg, #ffffff, #f6fcfb);
  box-shadow: 0 16px 32px rgba(7, 17, 29, 0.08);
}

.area-score-card span {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.area-score-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.area-score-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.city-source-link {
  padding: 0 20px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.city-source-link a {
  color: var(--green-dark);
  font-weight: 920;
  text-decoration: none;
}

.city-source-link a:hover {
  text-decoration: underline;
}

.buyer-brief-share {
  margin: 14px 18px 0;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid rgba(217, 227, 235, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 248, 0.8));
  box-shadow: 0 18px 42px rgba(7, 17, 29, 0.08);
}

.buyer-brief-share[hidden] {
  display: none;
}

.buyer-brief-share a {
  min-height: 44px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(217, 227, 235, 0.82);
  background: #eef4f5;
  color: var(--deep);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(7, 17, 29, 0.05);
}

.buyer-brief-share a.exp-route-link {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(135deg, #00a47c, #0b5767 48%, #273469);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(0, 120, 92, 0.2);
}

.buyer-brief-share a:hover,
.buyer-brief-share a:focus-visible {
  filter: brightness(0.96) saturate(1.05);
}

.results-list {
  margin: 0;
  padding: 14px 18px 22px;
  display: grid;
  gap: 10px;
  list-style: none;
}

.results-list:empty::before {
  content: "Select a city or suburb, then use the button above to prepare your search links.";
  padding: 18px;
  border: 1px dashed rgba(99, 112, 131, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 760;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(217, 227, 235, 0.96);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7fbfb);
  box-shadow: 0 12px 26px rgba(7, 17, 29, 0.07);
}

.result-card > div {
  min-width: 0;
}

.result-card.is-primary-result {
  border-color: rgba(0, 120, 92, 0.32);
  background:
    linear-gradient(135deg, #ffffff, #effbf7);
}

.result-card.is-secondary-result {
  border-color: rgba(110, 201, 212, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 201, 212, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5fcff);
}

.result-card.is-town-result {
  border-color: rgba(219, 168, 60, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(219, 168, 60, 0.2), transparent 34%),
    linear-gradient(135deg, #ffffff, #fffaf0);
}

.result-option-group-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border-color: rgba(110, 201, 212, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(226, 243, 255, 0.92), transparent 38%),
    linear-gradient(135deg, #ffffff, #effbf7);
}

.result-option-group-card.is-town-group {
  border-color: rgba(219, 168, 60, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 231, 173, 0.76), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(110, 201, 212, 0.2), transparent 34%),
    linear-gradient(135deg, #ffffff, #fffaf0);
}

.result-option-group summary {
  min-height: 76px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.result-option-group summary::-webkit-details-marker {
  display: none;
}

.result-option-group summary span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.result-option-group summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.result-option-group summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.result-option-group summary b {
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--deep));
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 22px rgba(0, 120, 92, 0.18);
}

.result-option-group[open] summary {
  border-bottom: 1px solid rgba(110, 201, 212, 0.26);
}

.result-option-list {
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.same-town-option-link {
  min-height: 58px;
  padding: 11px 12px;
  display: grid;
  gap: 3px;
  align-content: center;
  border: 1px solid rgba(110, 201, 212, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  text-decoration: none;
}

.nearby-town-option-button {
  width: 100%;
  margin: 0;
  text-align: left;
  appearance: none;
  cursor: pointer;
  border-color: rgba(219, 168, 60, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 240, 0.9));
}

.nearby-town-option-button::after {
  content: "Choose town";
  width: fit-content;
  margin-top: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--deep));
  color: #ffffff;
  font-size: 10px;
  font-weight: 950;
}

.same-town-option-link:hover,
.same-town-option-link:focus-visible {
  border-color: rgba(0, 120, 92, 0.36);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 120, 92, 0.1);
}

.same-town-option-link span {
  font-size: 13px;
  font-weight: 950;
}

.same-town-option-link small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.result-badge {
  width: fit-content;
  margin-bottom: 6px;
  padding: 3px 7px;
  display: block;
  border-radius: 999px;
  background: #e9f7f2;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.is-secondary-result .result-badge {
  background: #eaf8ff;
  color: #0b5767;
}

.is-town-result .result-badge {
  background: #fff3cd;
  color: #765417;
}

.result-name {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.result-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.result-insight {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 8px;
  display: block;
  border-radius: 999px;
  background: #eef4f5;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
}

.result-link {
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  box-shadow: 0 12px 22px rgba(239, 102, 88, 0.22);
}

.result-link:hover {
  background: linear-gradient(135deg, var(--coral-dark), #a33642);
}

.market-showcase {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.showcase-heading {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.96), rgba(15, 68, 76, 0.94) 54%, rgba(0, 120, 92, 0.9));
  color: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-heading h2,
.showcase-row-heading h3,
.property-day-card h3,
.estate-card h3,
.suburb-invest-card h3 {
  margin: 0;
  color: inherit;
  line-height: 1.05;
}

.showcase-heading h2 {
  font-size: 34px;
}

.showcase-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 760;
}

.property-day-card,
.estate-card,
.suburb-invest-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.property-day-card {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  min-height: 480px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #07111d, #0f3d48 52%, #00785c);
}

.showcase-image-wrap,
.suburb-image-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.showcase-image-wrap {
  min-height: 480px;
  height: 100%;
}

.showcase-image-wrap::after,
.suburb-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.04), rgba(7, 17, 29, 0.22));
  pointer-events: none;
}

.showcase-image-wrap img,
.estate-card > img,
.suburb-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-day-content {
  min-width: 0;
  padding: clamp(26px, 3.3vw, 44px);
  display: grid;
  align-content: center;
  gap: 15px;
  overflow: visible;
}

.showcase-pill {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(110, 201, 212, 0.18);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.property-day-card h3 {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.feature-meta,
.feature-summary {
  margin: 0;
}

.feature-meta {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.feature-summary {
  color: rgba(255, 255, 255, 0.7);
  max-width: 760px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.45;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-stats span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  white-space: normal;
}

.showcase-cta {
  width: fit-content;
  min-height: 46px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(239, 102, 88, 0.24);
}

.showcase-cta:hover,
.showcase-cta:focus-visible {
  background: linear-gradient(135deg, var(--coral-dark), #a33642);
}

.showcase-row-heading {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.showcase-row-heading h3 {
  font-size: 24px;
}

.showcase-row-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.estate-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.estate-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 190px auto;
  min-height: 0;
  background: #ffffff;
}

.estate-card-content,
.suburb-invest-content {
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.estate-card .showcase-pill {
  background: #e9f7f2;
  color: var(--green-dark);
}

.estate-card h3,
.suburb-invest-card h3 {
  color: var(--ink);
  font-size: 24px;
}

.estate-card .feature-meta,
.suburb-invest-card .feature-meta {
  color: var(--green-dark);
}

.estate-card .feature-summary,
.suburb-invest-card .feature-summary {
  color: var(--muted);
}

.golf-estate-search {
  display: grid;
  gap: 18px;
}

.golf-estate-search[hidden] {
  display: none;
}

.golf-estate-hero {
  min-height: 320px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  grid-template-areas:
    "copy summary"
    "stats stats";
  gap: 22px;
  align-items: end;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.92) 0%, rgba(7, 54, 58, 0.76) 44%, rgba(10, 126, 102, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.16), rgba(7, 17, 29, 0.76)),
    url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1800&q=82") center 42% / cover;
  color: #ffffff;
  box-shadow: 0 28px 72px rgba(7, 17, 29, 0.22);
}

.golf-estate-hero::before,
.golf-estate-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.golf-estate-hero::before {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.golf-estate-hero::after {
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #7adfbb, #7bd7f0, #f4ce69, #ff877d);
}

.golf-estate-hero > div:first-child {
  grid-area: copy;
  position: relative;
  z-index: 1;
}

.golf-estate-hero h2 {
  margin: 0;
  max-width: 760px;
  color: inherit;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
}

.golf-estate-hero > p {
  grid-area: summary;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.46;
  font-weight: 820;
  backdrop-filter: blur(16px);
}

.golf-estate-hero-stats {
  grid-area: stats;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.golf-estate-hero-stats span {
  min-height: 68px;
  padding: 13px 15px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.golf-estate-hero-stats strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.golf-estate-browser {
  padding: 22px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(110, 201, 212, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 240, 237, 0.9), transparent 32%),
    radial-gradient(circle at 0% 4%, rgba(232, 250, 255, 0.94), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 255, 248, 0.78));
  box-shadow: 0 18px 44px rgba(7, 17, 29, 0.08);
}

.golf-estate-controls {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: end;
}

.golf-estate-current {
  min-height: 120px;
  padding: 18px;
  display: grid;
  gap: 7px;
  align-content: center;
  border: 1px solid rgba(110, 201, 212, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(232, 250, 255, 0.74));
}

.golf-estate-count {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--deep));
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.golf-estate-controls strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.golf-estate-current p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 820;
}

.golf-estate-query {
  min-height: 120px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: center;
  border: 1px solid rgba(217, 227, 235, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(7, 17, 29, 0.05);
}

.golf-estate-query span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.golf-estate-query input {
  min-height: 50px;
  border-color: rgba(110, 201, 212, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 253, 0.88));
  box-shadow: 0 12px 28px rgba(7, 17, 29, 0.06);
}

.golf-estate-feature-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.golf-estate-feature-panel div {
  min-height: 118px;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(190, 231, 214, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 255, 246, 0.76));
}

.golf-estate-feature-panel span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8fbf1;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
}

.golf-estate-feature-panel strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.golf-estate-feature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 760;
}

.golf-estate-province-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(110, 201, 212, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(244, 255, 253, 0.58));
}

.golf-estate-province-pill {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px 9px 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(110, 201, 212, 0.4);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 255, 0.84));
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(7, 17, 29, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.golf-estate-province-pill:nth-child(3n) {
  border-color: rgba(239, 102, 88, 0.28);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, #ffffff, #fff2f5);
}

.golf-estate-province-pill:nth-child(3n + 1) {
  border-color: rgba(219, 168, 60, 0.34);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, #ffffff, #fff8df);
}

.golf-estate-province-pill span {
  min-width: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(217, 227, 235, 0.54);
}

.golf-estate-province-pill.is-active {
  border-color: rgba(255, 255, 255, 0.56);
  background:
    radial-gradient(circle at 18% 12%, rgba(122, 223, 187, 0.46), transparent 28%),
    linear-gradient(135deg, var(--green), var(--deep));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(0, 120, 92, 0.24),
    0 0 0 4px rgba(110, 201, 212, 0.12);
}

.golf-estate-province-pill.is-active span {
  color: var(--green-dark);
}

.golf-estate-province-pill:hover,
.golf-estate-province-pill:focus-visible {
  border-color: rgba(0, 120, 92, 0.34);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(7, 17, 29, 0.08);
}

.estate-selection-indicator {
  min-height: 104px;
  padding: clamp(18px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 201, 212, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 206, 105, 0.34), transparent 30%),
    radial-gradient(circle at 4% 20%, rgba(122, 223, 187, 0.36), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 252, 249, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(7, 17, 29, 0.08);
}

.estate-selection-indicator::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #7adfbb, #7bd7f0, #f4ce69);
}

.estate-selection-indicator > div:first-child {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.estate-selection-indicator span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0, 120, 92, 0.1);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.estate-selection-indicator strong {
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.04;
}

.estate-selection-indicator p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 820;
}

.estate-selection-count {
  min-width: 128px;
  min-height: 92px;
  padding: 16px 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 29, 0.96), rgba(0, 120, 92, 0.9));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(7, 17, 29, 0.16);
}

.estate-selection-count b {
  font-size: 34px;
  line-height: 0.95;
}

.estate-selection-count small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.golf-estate-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.golf-estate-card {
  min-height: 360px;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-rows: 118px auto auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(217, 227, 235, 0.82);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f8ffff);
  box-shadow: 0 14px 30px rgba(7, 17, 29, 0.08);
}

.golf-estate-card-visual {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(145deg, rgba(26, 115, 83, 0.74), rgba(138, 204, 121, 0.56) 50%, rgba(244, 206, 105, 0.72)),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.12) 0 8px, rgba(255, 255, 255, 0) 8px 22px);
}

.golf-estate-card-visual span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.golf-estate-card-top {
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.golf-estate-card-top span,
.golf-estate-card-top b {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.golf-estate-card-top span {
  background: #e9f7f2;
  color: var(--green-dark);
}

.golf-estate-card-top b {
  background: #fff3cd;
  color: #765417;
}

.golf-estate-card h3 {
  padding: 0 18px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.08;
}

.golf-estate-card p {
  padding: 0 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.golf-estate-metrics {
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.golf-estate-metrics span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(238, 244, 245, 0.86);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.golf-estate-actions {
  padding: 0 18px 18px;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.golf-estate-actions a {
  min-height: 42px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(239, 102, 88, 0.2);
}

.golf-estate-actions a:last-child {
  background: linear-gradient(135deg, var(--green), var(--deep));
  box-shadow: 0 12px 22px rgba(0, 120, 92, 0.16);
}

.golf-estate-more {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(110, 201, 212, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.security-estate-search {
  display: grid;
  gap: 18px;
}

.security-estate-search[hidden] {
  display: none;
}

.security-estate-hero {
  min-height: 318px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  grid-template-areas:
    "copy summary"
    "stats stats";
  gap: 22px;
  align-items: end;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.9), rgba(14, 57, 77, 0.76) 45%, rgba(239, 102, 88, 0.16)),
    linear-gradient(180deg, rgba(7, 17, 29, 0.1), rgba(7, 17, 29, 0.72)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=82") center 48% / cover;
  color: #ffffff;
  box-shadow: 0 28px 72px rgba(7, 17, 29, 0.23);
}

.security-estate-hero::before,
.security-estate-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.security-estate-hero::before {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.security-estate-hero::after {
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #7bd7f0, #d4bbff, #f4ce69, #ff877d);
}

.security-estate-hero > div:first-child {
  grid-area: copy;
  position: relative;
  z-index: 1;
}

.security-estate-hero h2 {
  margin: 0;
  max-width: 780px;
  color: inherit;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
}

.security-estate-hero > p {
  grid-area: summary;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.46;
  font-weight: 820;
  backdrop-filter: blur(16px);
}

.security-estate-hero-stats {
  grid-area: stats;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.security-estate-hero-stats span {
  min-height: 68px;
  padding: 13px 15px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.security-estate-hero-stats strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.security-estate-browser {
  padding: 22px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(149, 203, 219, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 98% 0%, rgba(255, 235, 240, 0.9), transparent 34%),
    radial-gradient(circle at 0% 0%, rgba(232, 250, 255, 0.94), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.91), rgba(244, 248, 255, 0.78));
  box-shadow: 0 18px 44px rgba(7, 17, 29, 0.08);
}

.security-estate-controls,
.security-estate-feature-panel,
.security-estate-filter-row {
  display: grid;
  gap: 14px;
}

.security-estate-controls {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  align-items: end;
}

.security-estate-current,
.security-estate-query,
.security-estate-feature-panel div,
.security-estate-filter-row > div,
.security-estate-empty {
  border: 1px solid rgba(217, 227, 235, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 250, 253, 0.76));
  box-shadow: 0 14px 34px rgba(7, 17, 29, 0.05);
}

.security-estate-current,
.security-estate-query,
.security-estate-empty {
  min-height: 120px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: center;
}

.security-estate-count {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--deep), #174d5c 54%, var(--green));
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.security-estate-controls strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.security-estate-current p,
.security-estate-empty span,
.security-estate-feature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 800;
}

.security-estate-query span,
.security-estate-filter-row > div > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.security-estate-query input {
  min-height: 50px;
  border-color: rgba(149, 203, 219, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 253, 0.9));
  box-shadow: 0 12px 28px rgba(7, 17, 29, 0.06);
}

.security-estate-feature-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-estate-feature-panel div,
.security-estate-filter-row > div {
  padding: 16px;
}

.security-estate-feature-panel div {
  min-height: 118px;
  align-content: start;
}

.security-estate-feature-panel span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf4ff;
  color: #174d5c;
  font-size: 10px;
  font-weight: 950;
}

.security-estate-feature-panel strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.security-estate-filter-row {
  grid-template-columns: 1fr;
}

.security-estate-filter-row > div {
  display: grid;
  gap: 10px;
}

.security-estate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.security-estate-pill {
  width: auto;
  min-height: 39px;
  margin: 0;
  padding: 8px 11px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(110, 201, 212, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #eefcff);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 930;
  box-shadow: none;
}

.security-estate-pill:nth-child(3n) {
  border-color: rgba(239, 102, 88, 0.24);
  background: linear-gradient(135deg, #ffffff, #fff2f4);
}

.security-estate-pill:nth-child(3n + 1) {
  border-color: rgba(219, 168, 60, 0.3);
  background: linear-gradient(135deg, #ffffff, #fff8e7);
}

.security-estate-pill small {
  min-width: 24px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.security-estate-pill.is-active {
  border-color: rgba(0, 120, 92, 0.32);
  background: linear-gradient(135deg, var(--green), var(--deep));
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(0, 120, 92, 0.18);
}

.security-estate-pill.is-active small {
  color: var(--green-dark);
}

.security-estate-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.security-estate-card {
  min-height: 370px;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-rows: 118px auto auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(217, 227, 235, 0.82);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f9fdff);
  box-shadow: 0 14px 30px rgba(7, 17, 29, 0.08);
}

.security-estate-card-visual {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(145deg, rgba(7, 17, 29, 0.8), rgba(23, 77, 92, 0.68) 54%, rgba(239, 102, 88, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.security-estate-card-visual span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.security-estate-card-top {
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.security-estate-card-top span,
.security-estate-card-top b {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.security-estate-card-top span {
  background: #e9f7f2;
  color: var(--green-dark);
}

.security-estate-card-top b {
  background: #fff3cd;
  color: #765417;
}

.security-estate-card h3 {
  padding: 0 18px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.08;
}

.security-estate-card p {
  padding: 0 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.security-estate-metrics {
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.security-estate-metrics span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(238, 244, 245, 0.86);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.security-estate-actions {
  padding: 0 18px 18px;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.security-estate-actions a {
  min-height: 42px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(239, 102, 88, 0.2);
}

.security-estate-actions a:last-child {
  background: linear-gradient(135deg, var(--green), var(--deep));
  box-shadow: 0 12px 22px rgba(0, 120, 92, 0.16);
}

.security-estate-more {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(110, 201, 212, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

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

.suburb-invest-card {
  display: grid;
  grid-template-rows: 190px auto;
  background: #ffffff;
}

.investor-calculator {
  grid-column: 1 / -1;
  gap: 16px;
}

body.view-compare .investor-calculator {
  display: grid;
}

.calculator-heading {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #07111d, #123747 46%, #5867c9);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.calculator-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 34px;
  line-height: 1.05;
}

.calculator-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 760;
}

.comparison-toolbar {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.comparison-toolbar span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-mode {
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(0, 89, 70, 0.16);
  border-radius: 999px;
  background: #eef4f5;
  color: var(--green-dark);
  font-size: 12px;
  box-shadow: none;
}

.comparison-mode:hover,
.comparison-mode:focus-visible {
  background: #e9f7f2;
}

.comparison-mode.is-active {
  border-color: rgba(0, 120, 92, 0.32);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
}

.calculator-assumptions {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(110, 201, 212, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 245, 0.82));
  box-shadow: var(--shadow);
}

.assumption-copy {
  display: grid;
  gap: 5px;
}

.assumption-copy span {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.assumption-copy strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.08;
}

.assumption-scale,
.calc-scale-field {
  display: grid;
  gap: 9px;
}

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

.scale-label-row label,
.calc-scale-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.scale-label-row output,
.calc-scale-value {
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.06);
}

.scale-ticks,
.calc-scale-ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.calculator-grid {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.calculator-card {
  padding: 20px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow);
}

.calculator-tag {
  width: fit-content;
  margin-bottom: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9f7f2;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.calculator-card input {
  min-height: 44px;
  padding-right: 14px;
  background-image: none;
}

.calculator-card input[type="range"],
.assumption-scale input[type="range"],
.calc-scale-field input[type="range"] {
  min-height: 28px;
}

.calc-scale-field {
  padding: 12px;
  border: 1px solid rgba(201, 216, 226, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 244, 245, 0.58), rgba(255, 255, 255, 0.82));
}

.calc-scale-field > input:not([type="range"]) {
  min-height: 40px;
  padding: 0 12px;
  border-color: rgba(201, 216, 226, 0.92);
  background: #ffffff;
  font-size: 14px;
  font-weight: 820;
}

.calc-scale-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.calculator-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calculator-winner {
  min-height: 84px;
  padding: 18px 20px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(0, 120, 92, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 120, 92, 0.11), rgba(110, 201, 212, 0.16)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(7, 17, 29, 0.09);
}

.calculator-winner span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.calculator-winner strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.calculator-winner em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.calculator-result-card {
  padding: 18px;
  border: 1px solid rgba(217, 227, 235, 0.96);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 17, 29, 0.08);
}

.calculator-result-card.is-best {
  border-color: rgba(239, 102, 88, 0.42);
  box-shadow: 0 18px 42px rgba(239, 102, 88, 0.13);
}

.calculator-result-header {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.calculator-result-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.calculator-result-badge {
  padding: 5px 7px;
  border-radius: 999px;
  background: #eef4f5;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.is-best .calculator-result-badge {
  background: #fff0ed;
  color: var(--coral-dark);
}

.calculator-metrics {
  margin: 0;
  display: grid;
  gap: 8px;
}

.calculator-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 227, 235, 0.78);
}

.calculator-metrics div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.calculator-metrics div.is-comparison-focus {
  padding: 9px 10px;
  border: 1px solid rgba(0, 120, 92, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #effbf7, #f8ffff);
}

.calculator-metrics dt,
.calculator-metrics dd {
  margin: 0;
  font-size: 13px;
}

.calculator-metrics dt {
  color: var(--muted);
  font-weight: 800;
}

.calculator-metrics dd {
  color: var(--ink);
  font-weight: 950;
  text-align: right;
}

.finance-services {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.finance-heading {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #07111d, #0f3d48 48%, #dba83c);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.finance-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 34px;
  line-height: 1.05;
}

.finance-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 760;
}

.finance-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: 16px;
  align-items: stretch;
}

.finance-service-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.finance-service-card,
.finance-request-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.finance-service-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(280px, 1fr);
  grid-template-areas:
    "tag list"
    "title list"
    "copy list";
  column-gap: 22px;
  row-gap: 12px;
  align-content: start;
  align-items: start;
  overflow: hidden;
  position: relative;
}

.finance-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

.planning-card::before {
  background: linear-gradient(90deg, var(--violet), var(--coral), var(--amber));
}

.finance-service-tag {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9f7f2;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  grid-area: tag;
}

.planning-card .finance-service-tag {
  background: #f0f1ff;
  color: #3844a6;
}

.finance-service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
  grid-area: title;
}

.finance-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 740;
  grid-area: copy;
}

.finance-service-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  grid-area: list;
  align-self: center;
}

.finance-service-card li {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(238, 244, 245, 0.78);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.finance-request-form {
  display: grid;
  gap: 14px;
  align-content: stretch;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 201, 212, 0.18), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(219, 168, 60, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.finance-request-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--deep));
}

.finance-request-head {
  display: grid;
  gap: 7px;
  padding-bottom: 4px;
}

.finance-request-head strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
}

.finance-request-head p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 760;
}

.finance-field,
.finance-field-row {
  min-width: 0;
}

.finance-field {
  display: grid;
  gap: 7px;
}

.finance-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.finance-request-form textarea {
  min-height: 132px;
  resize: vertical;
}

.finance-request-form button {
  margin-top: 6px;
  min-height: 54px;
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 120, 92, 0.18);
}

.finance-request-form input,
.finance-request-form select,
.finance-request-form textarea {
  width: 100%;
  min-height: 48px;
  border-color: rgba(201, 216, 226, 0.92);
  background-image: none;
  box-shadow: 0 10px 22px rgba(7, 17, 29, 0.04);
}

.finance-request-form textarea {
  padding-top: 14px;
}

.finance-request-link {
  min-height: 48px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #d94952);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(239, 102, 88, 0.24);
}

.finance-request-link[hidden] {
  display: none;
}

.finance-request-link:hover,
.finance-request-link:focus-visible {
  background: linear-gradient(135deg, var(--coral-dark), #a33642);
}

.compliance-signature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(110, 201, 212, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 223, 187, 0.22), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(244, 206, 105, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 253, 252, 0.82));
  box-shadow: 0 22px 48px rgba(7, 17, 29, 0.08);
}

.compliance-signature-copy {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.compliance-signature-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
}

.compliance-signature-copy p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 820;
}

.compliance-signature-card {
  margin: 0;
  padding: clamp(10px, 1.2vw, 14px);
  border: 1px solid rgba(217, 227, 235, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 18px 38px rgba(7, 17, 29, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.compliance-signature-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

@media (max-width: 1120px) and (min-width: 901px) {
  .estate-highlights,
  .investment-suburbs {
    grid-template-columns: 1fr;
  }

  .finance-service-grid {
    grid-template-columns: 1fr;
  }

  .finance-service-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "copy"
      "list";
  }

  .property-day-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .showcase-image-wrap {
    min-height: 420px;
  }

  .suburb-invest-card {
    grid-template-rows: 220px auto;
  }

  .finance-request-form {
    grid-column: auto;
  }

  .compliance-signature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal-topbar {
    min-height: 0;
    align-items: stretch;
    grid-template-columns: 1fr;
    position: static;
  }

  .portal-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portal-nav a {
    flex: 0 0 auto;
    text-align: center;
  }

  .language-control {
    justify-self: stretch;
    width: 100%;
    min-height: 0;
  }

  .app-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .market-showcase,
  .investor-calculator,
  .finance-services {
    grid-column: 1 / -1;
  }

  .search-panel {
    grid-template-columns: 1fr;
    position: static;
  }

  .showcase-heading,
  .calculator-heading,
  .calculator-assumptions,
  .finance-heading,
  .golf-estate-hero,
  .security-estate-hero,
  .golf-estate-controls,
  .security-estate-controls,
  .golf-estate-feature-panel,
  .security-estate-feature-panel,
  .golf-estate-hero-stats,
  .security-estate-hero-stats,
  .property-day-card,
  .estate-highlights,
  .estate-card,
  .investment-suburbs,
  .calculator-grid,
  .calculator-results,
  .finance-service-grid {
    grid-template-columns: 1fr;
  }

  .finance-service-stack {
    grid-template-rows: none;
  }

  .finance-service-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "copy"
      "list";
  }

  .finance-field-row {
    grid-template-columns: 1fr;
  }

  .property-day-card {
    min-height: 0;
  }

  .showcase-image-wrap {
    min-height: 330px;
  }

  .golf-estate-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .security-estate-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .map-preview {
    min-height: 0;
  }

  .map-stage {
    display: grid;
    gap: 12px;
  }

  .map-search-command {
    position: static;
  }

  .map-search-command .location-pill-flow {
    grid-template-columns: 1fr;
  }

  .estate-path-pills {
    grid-template-columns: 1fr;
  }

  .map-search-command .radius-slider-card {
    grid-template-columns: 1fr;
  }

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

  .sa-map {
    min-height: 470px;
    height: 62vh;
  }
}

@media (max-width: 760px) {
  .portal-topbar {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 14px;
  }

  .brand-lockup {
    width: 100%;
    min-height: 0;
    align-items: center;
  }

  .brand-mark {
    width: 156px;
    height: 72px;
  }

  .brand-mark img {
    width: 144px;
    max-height: 66px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .brand-lockup div > span {
    font-size: 11px;
  }

  .app-shell {
    padding: 12px;
  }

  h1 {
    font-size: 31px;
  }

  .filter-grid,
  .location-picker-grid,
  .investment-signals,
  .area-intelligence {
    grid-template-columns: 1fr;
  }

  .location-command-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-preview {
    min-height: 360px;
    padding: 12px;
  }

  .map-header {
    display: block;
  }

  .map-header h2 {
    font-size: 27px;
  }

  .sa-map {
    height: 390px;
    min-height: 390px;
  }

  .result-strip,
  .result-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .result-strip {
    margin-inline: 12px;
    padding: 18px;
  }

  .result-strip small {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .selection-summary,
  .buyer-brief-share {
    margin-inline: 12px;
  }

  .result-link {
    width: 100%;
  }

  .golf-estate-browser {
    padding: 14px;
  }

  .security-estate-browser {
    padding: 14px;
  }

  .golf-estate-hero {
    padding: 22px;
  }

  .security-estate-hero {
    padding: 22px;
  }

  .golf-estate-hero h2 {
    font-size: 28px;
  }

  .security-estate-hero h2 {
    font-size: 28px;
  }

  .golf-estate-actions {
    grid-template-columns: 1fr;
  }

  .security-estate-actions {
    grid-template-columns: 1fr;
  }

  .buyer-brief-share a {
    width: 100%;
  }

  .showcase-heading,
  .calculator-heading,
  .finance-heading,
  .property-day-content,
  .estate-card-content,
  .suburb-invest-content {
    padding: 20px;
  }

  .showcase-heading h2,
  .calculator-heading h2,
  .finance-heading h2,
  .property-day-card h3 {
    font-size: 29px;
  }

  .showcase-row-heading {
    display: grid;
  }

  .showcase-row-heading h3,
  .estate-card h3,
  .suburb-invest-card h3 {
    font-size: 22px;
  }

  .showcase-image-wrap {
    min-height: 260px;
  }

  .suburb-invest-card {
    grid-template-rows: 190px auto;
  }

  .showcase-cta {
    width: 100%;
  }

  .calculator-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(145deg, rgba(221, 249, 252, 0.92), rgba(248, 253, 253, 0.98) 42%, rgba(255, 248, 237, 0.92)),
      var(--paper);
  }

  body::before {
    background-size: 32px 32px;
  }

  .portal-topbar {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 10px;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(7, 17, 29, 0.12);
  }

  .portal-topbar::after {
    display: none;
  }

  .brand-lockup {
    padding: 7px;
    gap: 10px;
  }

  .brand-mark {
    width: 126px;
    height: 60px;
  }

  .brand-mark img {
    width: 116px;
    max-height: 54px;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-kicker {
    font-size: 9px;
    line-height: 1.12;
  }

  .brand-lockup strong {
    font-size: 15px;
  }

  .brand-lockup div > span {
    font-size: 10px;
    line-height: 1.2;
  }

  .portal-nav {
    padding: 5px;
    gap: 5px;
    border-radius: 8px;
    scroll-snap-type: x mandatory;
  }

  .portal-nav a {
    min-width: 196px;
    min-height: 44px;
    padding: 10px 12px;
    scroll-snap-align: start;
    font-size: 12px;
  }

  .language-control {
    min-width: 0;
    padding: 8px;
  }

  .language-control select {
    width: 100%;
    min-height: 44px;
  }

  .app-shell {
    width: 100%;
    padding: 10px 8px 24px;
    gap: 12px;
  }

  .results-panel,
  .search-panel,
  .market-showcase,
  .investor-calculator,
  .finance-services {
    border-radius: 8px;
  }

  .map-card {
    gap: 10px;
    padding: 10px;
  }

  .map-preview {
    padding: 8px;
  }

  .map-header h2 {
    font-size: 23px;
    line-height: 1.05;
  }

  .map-kicker,
  .section-label,
  .eyebrow {
    font-size: 10px;
  }

  .map-search-command {
    padding: 10px;
    gap: 9px;
  }

  .estate-path-pills .province-golf-estate-cta {
    min-height: 94px;
    padding: 16px;
  }

  .estate-path-pills .province-golf-estate-cta strong {
    max-width: 100%;
    font-size: 17px;
  }

  .location-command-actions {
    width: 100%;
    justify-content: space-between;
  }

  .location-command-actions span {
    max-width: 100%;
    line-height: 1.3;
  }

  .location-pill-group {
    padding: 10px;
  }

  .location-pill-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .location-pill-list,
  .suburb-curation-pill-list,
  .golf-estate-province-pills,
  .security-estate-pills,
  .intent-chips {
    gap: 7px;
  }

  .location-pill,
  .intent-chips button,
  .golf-estate-province-pill,
  .security-estate-pill {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .suburb-curation-heading,
  .result-option-group summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .suburb-curation-heading b,
  .result-option-group summary b {
    align-self: flex-start;
  }

  .radius-slider-card {
    padding: 10px;
  }

  .radius-option-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .radius-option-grid button {
    min-height: 42px;
  }

  .launch-exp-cta,
  .buyer-brief-cta,
  button,
  .result-link,
  .showcase-cta,
  .finance-request-link {
    min-height: 46px;
  }

  .sa-map {
    height: 330px;
    min-height: 330px;
    border-radius: 8px;
  }

  .investment-signals {
    gap: 8px;
  }

  form {
    padding: 14px;
    gap: 10px;
  }

  .filter-grid {
    gap: 10px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .result-strip,
  .selection-summary,
  .buyer-brief-share,
  #results {
    margin-inline: 8px;
  }

  .buyer-brief-share {
    grid-template-columns: 1fr;
  }

  .result-card {
    padding: 13px;
    gap: 12px;
  }

  .result-option-list {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .same-town-option-link {
    min-height: 64px;
  }

  .showcase-heading,
  .calculator-heading,
  .finance-heading {
    padding: 18px;
    gap: 10px;
  }

  .showcase-heading h2,
  .calculator-heading h2,
  .finance-heading h2,
  .property-day-card h3,
  .golf-estate-hero h2,
  .security-estate-hero h2 {
    font-size: 25px;
  }

  .property-day-card,
  .estate-card,
  .suburb-invest-card,
  .calculator-card,
  .calculator-result-card,
  .finance-service-card,
  .finance-request-form,
  .security-estate-card {
    border-radius: 8px;
  }

  .property-day-content,
  .estate-card-content,
  .suburb-invest-content,
  .calculator-card,
  .calculator-result-card,
  .finance-service-card,
  .finance-request-form,
  .security-estate-current,
  .security-estate-query,
  .security-estate-feature-panel div,
  .security-estate-filter-row > div {
    padding: 16px;
  }

  .showcase-image-wrap {
    min-height: 220px;
  }

  .estate-card,
  .suburb-invest-card {
    grid-template-rows: 180px auto;
  }

  .golf-estate-hero {
    min-height: 0;
    padding: 18px;
    gap: 14px;
  }

  .security-estate-hero {
    min-height: 0;
    padding: 18px;
    gap: 14px;
  }

  .golf-estate-hero > p {
    padding: 14px;
    font-size: 13px;
  }

  .security-estate-hero > p {
    padding: 14px;
    font-size: 13px;
  }

  .golf-estate-hero-stats span {
    min-height: 58px;
    padding: 11px;
  }

  .security-estate-hero-stats span {
    min-height: 58px;
    padding: 11px;
  }

  .golf-estate-browser,
  .golf-estate-current,
  .golf-estate-query,
  .security-estate-browser,
  .security-estate-current,
  .security-estate-query {
    padding: 14px;
  }

  .golf-estate-card {
    min-height: 0;
    grid-template-rows: 96px auto auto 1fr auto;
  }

  .security-estate-card {
    min-height: 0;
    grid-template-rows: 96px auto auto 1fr auto;
  }

  .golf-estate-card-visual {
    min-height: 96px;
  }

  .security-estate-card-visual {
    min-height: 96px;
  }

  .golf-estate-card h3 {
    font-size: 19px;
  }

  .security-estate-card h3 {
    font-size: 19px;
  }

  .calculator-assumptions {
    padding: 16px;
    gap: 14px;
  }

  .calculator-card input[type="range"] {
    min-height: 34px;
  }

  .calculator-metrics div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .finance-service-grid {
    gap: 12px;
  }

  .compliance-signature {
    padding: 14px;
    gap: 12px;
  }

  .compliance-signature-copy h2 {
    font-size: 24px;
  }

  .compliance-signature-card {
    padding: 8px;
  }
}
