@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #173d34;
  --green: #164f40;
  --lime: #d9ee91;
  --cream: #f6f7f2;
  --line: #dfe5dc;
  --muted: #6a7971;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px "DM Sans",
    Arial,
    sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: Manrope, Arial, sans-serif;
}
h1 {
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.09;
  letter-spacing: -2.8px;
  margin: 20px 0;
}
h2 {
  font-size: 30px;
  letter-spacing: -1px;
}
h3 {
  font-size: 19px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 12px 19px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
button:hover,
.button:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.danger {
  color: #a33c32;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 25px;
}
.brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brandmark {
  width: 33px;
  height: 34px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  font-size: 25px;
  padding-left: 8px;
  position: relative;
}
.brandmark span {
  font-size: 18px;
  position: absolute;
  top: 1px;
  right: 3px;
  color: var(--lime);
}
.branddot {
  color: #81a553;
  margin-left: -10px;
}
nav,
.header-end {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-weight: 500;
  font-size: 14px;
}
.header-end > a:first-child {
  font-size: 26px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 470px;
  padding: 48px 4.5% 76px;
  gap: 50px;
  background: #eef2e9;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 390px;
}
.hero-art {
  position: relative;
  border-radius: 140px 18px 18px 18px;
  background: linear-gradient(145deg, #a7b4a0, #698b77);
  overflow: hidden;
  min-height: 370px;
}
.hero-art svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.art-note {
  position: absolute;
  left: 24px;
  bottom: 22px;
  background: #ffffffed;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 6px 20px #0001;
}
.art-note small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.search-shell {
  max-width: 1160px;
  margin: -43px auto 0;
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 30px #1f38230d;
  padding: 20px 26px;
  border: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}
.tabs button {
  padding: 5px 0 10px;
  background: none;
  border: 0;
  border-radius: 0;
}
.tabs .active {
  border-bottom: 3px solid var(--green);
}
.search-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px;
  color: var(--ink);
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #164f4015;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.section {
  padding: 40px 4.5%;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.muted {
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.property-art {
  height: 210px;
  position: relative;
  background: #e3e9df;
  overflow: hidden;
}
.property-art svg,
.property-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag {
  display: inline-flex;
  align-items: center;
  background: #eff5e5;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
}
.property-art > .tag {
  position: absolute;
  left: 15px;
  top: 15px;
  background: white;
}
.heart {
  position: absolute;
  right: 13px;
  top: 13px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  padding: 0;
  font-size: 22px;
}
.cardbody {
  padding: 20px;
}
.cardbody h3 {
  margin: 10px 0;
}
.price {
  font-size: 21px;
  font-weight: 700;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.facts {
  display: flex;
  gap: 20px;
  font-size: 13px;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
}
.cta {
  margin: 30px 4.5% 60px;
  padding: 36px;
  border-radius: 16px;
  background: var(--green);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta p {
  color: #cbdcd1;
}
.page {
  max-width: 1200px;
  margin: auto;
  padding: 40px 25px 70px;
  min-height: 65vh;
}
.page.narrow {
  max-width: 800px;
}
.page-title {
  font-size: 38px;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 4.5%;
  background: white;
  border-bottom: 1px solid var(--line);
}
.filters input,
.filters select {
  width: 160px;
}
.results-layout {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 680px;
}
.results-list {
  padding: 25px;
}
.results-list .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.results-list .property-art {
  height: 160px;
}
#map {
  height: calc(100vh - 200px);
  min-height: 540px;
  position: sticky;
  top: 0;
  z-index: 1;
}
.map-wrap {
  position: relative;
}
.map-toolbar {
  position: absolute;
  z-index: 500;
  top: 12px;
  left: 55px;
  right: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.map-toolbar button {
  font-size: 11px;
  padding: 9px;
}
.map-price {
  background: var(--green);
  color: white;
  border: 2px solid white;
  padding: 6px 10px;
  border-radius: 18px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 7px #0003;
  width: max-content !important;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  border: 1px dashed #cbd7c8;
  border-radius: 12px;
  background: #fff;
}
.empty h3 {
  font-size: 23px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wide {
  grid-column: 1/-1;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.panel h3 {
  margin-top: 0;
}
.checks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.checks label {
  flex-direction: row;
  align-items: center;
}
.checks input {
  width: auto;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.subnav button.active {
  background: var(--green);
  color: white;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
td button {
  font-size: 11px;
  padding: 7px;
}
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 12px;
}
.stat strong {
  font-size: 31px;
  display: block;
  margin-top: 8px;
}
.detailgrid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 30px;
}
.gallery {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin: 25px 0;
}
.gallery img {
  height: 350px;
  max-width: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.gallery .property-art {
  height: 350px;
  width: 100%;
  border-radius: 14px;
}
.detailtext {
  line-height: 1.8;
  white-space: pre-line;
}
.plan {
  padding: 30px;
}
.plan ul {
  padding-left: 18px;
  line-height: 2;
}
.plan .price {
  font-size: 38px;
}
.notice {
  padding: 14px 18px;
  background: #fff4dd;
  border-radius: 9px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.6;
}
.success {
  background: #e4f1dd;
}
.email {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.email pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px monospace;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
}
.split {
  display: flex;
  gap: 16px;
  align-items: center;
}
.map-picker {
  height: 250px;
  border-radius: 10px;
}
.upload-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.upload-preview img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
}
footer {
  padding: 35px 4.5%;
  border-top: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 12px;
}
footer small {
  width: 100%;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  width: min(600px, 95vw);
  max-height: 90vh;
}
dialog::backdrop {
  background: #153b3466;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #153b34;
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  z-index: 2000;
  display: none;
  max-width: 90vw;
}
.close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 24px;
  padding: 0 5px;
}
.mobile-only {
  display: none;
}
:focus-visible {
  outline: 3px solid #93ba55;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hero {
    gap: 20px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-shell {
    margin: -35px 20px 0;
  }
  .results-layout {
    grid-template-columns: 1fr;
  }
  .results-list .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #map {
    height: 420px;
    min-height: 420px;
  }
  .statgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  header {
    padding: 0 18px;
    height: 74px;
  }
  .brand {
    font-size: 23px;
  }
  .header-end {
    gap: 12px;
  }
  .header-end > .button {
    display: none;
  }
  .hero {
    padding: 32px 22px 60px;
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 240px;
    border-top-left-radius: 90px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .search-row {
    grid-template-columns: 1fr 1fr;
  }
  .search-row > label:first-child {
    grid-column: 1/-1;
  }
  .search-row > .button {
    grid-column: 1/-1;
  }
  .grid,
  .results-list .grid,
  .detailgrid,
  .formgrid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 30px 20px;
  }
  .section-top {
    align-items: start;
  }
  .section-top h2 {
    font-size: 25px;
  }
  .cta {
    padding: 24px;
    display: block;
  }
  .page {
    padding: 25px 18px;
  }
  .filters {
    padding: 15px;
    gap: 8px;
  }
  .filters input,
  .filters select {
    width: calc(50% - 5px);
  }
  .results-list {
    padding: 20px;
  }
  .gallery img {
    height: 260px;
  }
  .statgrid {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .map-toolbar {
    left: 48px;
  }
  .wide {
    grid-column: auto;
  }
  footer {
    gap: 18px;
  }
  .page-title {
    font-size: 32px;
  }
}

[hidden] {
  display: none !important;
}
.auth-alternatives{display:grid;gap:14px;margin-top:24px;padding-top:24px;border-top:1px solid #dce4de;text-align:center}.auth-alternatives .button{width:100%}.auth-alternatives button:disabled{opacity:.55;cursor:not-allowed}.google-login{background:#fff;color:#202b25;border:1px solid #cbd5ce}
.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:24px 0}.spec-grid>div{padding:14px 0;border-bottom:1px solid var(--line)}.spec-grid dt{color:var(--muted);font-size:13px}.spec-grid dd{margin:5px 0 0;font-weight:600;overflow-wrap:anywhere}.profile-avatar{width:96px;height:96px;object-fit:cover;border-radius:50%}.agency-logo{max-width:200px;max-height:100px;object-fit:contain}@media(max-width:600px){.spec-grid{grid-template-columns:1fr}}
