@import url("/assets/fonts.css");
:root {
  --ink: #123e37;
  --muted: #49675f;
  --paper: #f4faf5;
  --white: #ffffff;
  --copper: #b83f24;
  --sand: #ffe3a1;
  --line: #cee0d6;
  --green: #087d56;
  --soft: #e3f3e9;
  --shadow: 0 12px 40px #252c460c;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 17px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b8774e;
  outline-offset: 4px;
}
button {
  color: inherit;
}
svg {
  vertical-align: middle;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  margin-bottom: 25px;
}
h2 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
p {
  line-height: 1.65;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
}
.eyebrow:before {
  content: "";
  width: 25px;
  height: 1px;
  background: var(--copper);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 16px;
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  padding: 13px 19px;
  border-radius: 5px;
  background: var(--ink);
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 45px;
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #cbc8c0;
}
.btn.light {
  background: white;
  color: var(--ink);
  border-color: white;
}
.btn.small {
  padding: 8px 12px;
  min-height: 36px;
}
.btn.danger {
  color: #923f38;
  border-color: #e3c7c3;
  background: #fff5f2;
}
.text-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--copper);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  height: 37px;
  width: 37px;
}
.brand-title {
  font-family: Georgia, serif;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.brand-sub {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--muted);
}
.topbar {
  height: 87px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: var(--paper);
}
.nav {
  display: flex;
  gap: 29px;
  height: 100%;
  align-items: center;
}
.nav a {
  font-size: 14px;
  color: var(--muted);
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}
.nav a.active {
  color: var(--ink);
  border-color: var(--copper);
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 33px;
  height: 33px;
  background: var(--sand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
}
.account-nav span {
  font-size: 14px;
}
.preview {
  background: #eae2d3;
  text-align: center;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.3px;
  line-height: 1.5;
}
.preview strong {
  font-weight: 700;
}
.container {
  max-width: 1320px;
  margin: auto;
  padding: 45px 5vw 65px;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.page-top p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: 410px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.hero-copy {
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero-copy p {
  font-size: 17px;
  color: var(--muted);
  max-width: 350px;
  margin-bottom: 26px;
}
.hero-art {
  position: relative;
  background: #dedfce;
  min-height: 360px;
}
.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-caption {
  position: absolute;
  left: 23px;
  bottom: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  background: #fff9;
  padding: 8px 10px;
  border-radius: 3px;
}
.hero-stamp {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 1px solid #54634b66;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-align: center;
  gap: 6px;
  color: #40523e;
}
.hero-stamp .icon {
  height: 23px;
  width: 23px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 24px 0 45px;
  background: var(--white);
}
.stat {
  padding: 22px 27px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 17px;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  font-size: 31px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.stat span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.stat .icon {
  color: var(--copper);
  height: 23px;
  width: 23px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 20px;
}
.section-head h2 {
  font-size: 29px;
  margin: 0;
}
.section-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 25px;
  box-shadow: var(--shadow);
}
.empty {
  padding: 30px 20px;
  border: 1px dashed #cec8bd;
  border-radius: 6px;
  text-align: center;
  background: #f7f5ee;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.empty .icon {
  width: 27px;
  height: 27px;
  color: var(--copper);
}
.empty h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  margin: 0;
}
.empty p {
  font-size: 16px;
  max-width: 390px;
  color: var(--muted);
  margin: 0;
}
.timeline {
  margin: 15px 0;
  padding-left: 8px;
}
.timeline-item {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 0 0 24px 24px;
}
.timeline-item:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--copper);
  border: 4px solid var(--white);
  box-sizing: content-box;
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 0;
}
.timeline-item:last-child {
  padding-bottom: 3px;
}
.timeline-item h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.timeline-item time {
  font-size: 12px;
  color: var(--copper);
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}
.map-teaser {
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.map-teaser h2 {
  font-size: 29px;
  margin-bottom: 9px;
}
.map-teaser p {
  font-size: 14px;
  color: #d9dce4;
  max-width: 240px;
  margin-bottom: 18px;
}
.map-mini {
  height: 140px;
  width: 160px;
  flex-shrink: 0;
  opacity: 0.85;
  transform: rotate(-6deg);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 13px,
      #d2ab7e 14px 21px,
      transparent 22px 28px
    ),
    repeating-linear-gradient(0deg, transparent 0 16px, #252c46 17px 21px);
  background-blend-mode: screen;
  border: 1px solid #d2ab7e;
  clip-path: polygon(0 40%, 100% 0, 100% 80%, 0 100%);
}
.moments-teaser {
  background: #eee8dc;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.moments-teaser h2 {
  font-size: 29px;
}
.moments-teaser p {
  font-size: 14px;
  color: var(--muted);
  max-width: 360px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  max-width: 1450px;
  margin: auto;
}
.footer p {
  font-size: 12px;
  color: var(--muted);
  max-width: 510px;
  margin: 0;
  line-height: 1.7;
}
.footer span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-title {
  max-width: 660px;
  margin-bottom: 35px;
}
.page-title h1 {
  font-size: 49px;
  margin-bottom: 15px;
}
.page-title p {
  font-size: 17px;
  color: var(--muted);
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.post {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}
.post-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.post-body {
  padding: 24px;
}
.tag {
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--soft);
  display: inline-block;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.post h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  margin: 14px 0 10px;
}
.post p {
  font-size: 16px;
  color: var(--muted);
}
.post-meta {
  font-size: 13px;
  color: var(--copper);
  margin: 13px 0;
}
.post-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.auth-layout {
  max-width: 1200px;
  margin: 45px auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  padding: 0 35px;
  gap: 65px;
  align-items: center;
}
.auth-art {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  align-self: stretch;
  background: #e9e3d6;
}
.auth-art > img {
  width: 100%;
  height: 65%;
  object-fit: cover;
}
.auth-art-copy {
  padding: 35px;
}
.auth-art h2 {
  font-size: 39px;
}
.auth-art p {
  font-size: 16px;
  color: var(--muted);
}
.auth-form {
  max-width: 420px;
}
.auth-form h1 {
  font-size: 45px;
}
.auth-form > p {
  font-size: 16px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d4d0c7;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  font-size: 17px;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.field {
  margin-bottom: 19px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}
.check input {
  min-height: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.notice {
  padding: 14px 16px;
  background: #efe9dd;
  border-left: 2px solid var(--copper);
  font-size: 14px;
  line-height: 1.7;
  border-radius: 3px;
  margin: 20px 0;
}
.form-error {
  color: #a44032;
  font-size: 16px;
  line-height: 1.6;
  margin: 15px 0;
}
.auth-form .btn {
  width: 100%;
}
.auth-bottom {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 25px;
  font-size: 14px;
}
.steps {
  display: flex;
  gap: 7px;
  margin-bottom: 25px;
}
.steps span {
  height: 3px;
  background: var(--line);
  flex: 1;
}
.steps span.done {
  background: var(--copper);
}
.auth-supplied-logo {
  background: var(--ink);
  padding: 17px 22px;
  border-radius: 5px;
  margin-top: 24px;
  max-width: 250px;
}
.auth-supplied-logo img {
  width: 100%;
  height: auto;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar input {
  max-width: 220px;
}
.toolbar select {
  max-width: 220px;
}
.map-layout {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 20px;
}
.map-frame {
  background: #f0ecdf;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
  height: 570px;
  position: relative;
}
.map-canvas {
  width: 100%;
  min-width: 660px;
  aspect-ratio: 1191/842;
  position: relative;
  transform-origin: top left;
}
.map-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-canvas .villa {
  fill: #fcfaf3;
  stroke: #bfa98f;
  stroke-width: 0.7;
  cursor: pointer;
  transition: fill 0.15s;
}
.map-canvas .villa:hover,
.map-canvas .villa:focus,
.map-canvas .villa.selected {
  fill: #d3ae83;
  stroke: #543b30;
  stroke-width: 1.6;
  outline: none;
}
.map-canvas .villa.matched {
  fill: #a0b8a0;
}
.map-canvas text {
  font-size: 4.4px;
  pointer-events: none;
  fill: #384134;
  font-family: Arial, sans-serif;
}
.map-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.map-detail h2 {
  font-size: 32px;
}
.status-list {
  margin: 22px 0;
}
.status-line {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.status-line strong {
  font-weight: 400;
  text-transform: capitalize;
  text-align: right;
}
.status-line span {
  color: var(--muted);
}
.legend {
  font-size: 13px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-top: 15px;
}
.dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 2px;
  background: #fcfaf3;
  border: 1px solid #bfa98f;
  margin-right: 5px;
}
.dot.green {
  background: #a0b8a0;
}
.dot.copper {
  background: #d3ae83;
}
.map-original {
  opacity: 0.9;
}
.map-original .villa {
  fill: transparent;
  stroke: transparent;
}
.map-original text {
  display: none;
}
.map-original .villa:hover,
.map-original .villa.selected {
  fill: #d3ae8399;
  stroke: #543b30;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.admin-grid .wide {
  grid-column: 1/-1;
}
.admin-grid h2 {
  font-size: 26px;
}
.admin-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 25px;
  border-radius: 7px;
}
.admin-card p {
  font-size: 16px;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
td .btn {
  margin: 0 5px 5px 0;
}
.config-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pill {
  font-size: 12px;
  border-radius: 20px;
  padding: 4px 8px;
  background: #eee5d7;
  color: #825839;
}
.pill.good {
  background: #e4eee5;
  color: #376245;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 30px;
}
.close {
  background: none;
  border: 0;
  font-size: 25px;
  padding: 0 5px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 820px;
  width: calc(100% - 40px);
  max-height: 90vh;
  padding: 30px;
  background: var(--white);
  color: var(--ink);
}
dialog::backdrop {
  background: #18203899;
  backdrop-filter: blur(4px);
}
dialog p {
  font-size: 17px;
  white-space: pre-wrap;
}
dialog figure {
  margin: 20px 0;
}
dialog figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
  max-width: 90%;
  font-size: 16px;
  z-index: 100;
  display: none;
}
#toast.visible {
  display: block;
}
.skip {
  position: absolute;
  top: -60px;
  left: 10px;
  background: white;
  padding: 15px;
  z-index: 200;
}
.skip:focus {
  top: 10px;
}
.loading {
  min-height: 70vh;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 30px;
}
.mobile-menu {
  display: none;
}
.privacy {
  max-width: 740px;
}
.privacy h2 {
  margin-top: 32px;
  font-size: 26px;
}
.privacy p {
  font-size: 16px;
}
.full {
  grid-column: 1/-1;
}
.activity {
  max-height: 240px;
  overflow: auto;
  font-size: 13px;
}
.activity p {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  margin: 0;
}
.page-reveal {
  animation: reveal 0.5s ease both;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .container {
    padding-left: 35px;
    padding-right: 35px;
  }
}
@media (max-width: 1050px) {
  .nav {
    gap: 17px;
  }
  .hero-copy {
    padding: 35px;
  }
  .stat {
    padding: 20px 16px;
    gap: 10px;
  }
  .stat .icon {
    display: none;
  }
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-nav span {
    display: none;
  }
  .map-mini {
    width: 95px;
  }
  .auth-layout {
    gap: 35px;
  }
  .map-layout {
    grid-template-columns: 1fr 245px;
  }
}
@media (max-width: 760px) {
  h1 {
    font-size: 48px;
  }
  .topbar {
    height: 76px;
    padding: 0 22px;
    flex-wrap: wrap;
  }
  .brand-title {
    font-size: 18px;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
  }
  .nav {
    order: 3;
    width: calc(100% + 44px);
    margin: 0 -22px;
    height: 48px;
    overflow: auto;
    padding: 0 22px;
    gap: 25px;
    flex-shrink: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .topbar:has(.nav) {
    margin-bottom: 48px;
  }
  .nav a {
    white-space: nowrap;
  }
  .container {
    padding: 29px 22px 40px;
  }
  .page-top {
    margin-bottom: 20px;
  }
  .page-top p {
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 35px 28px;
  }
  .hero-copy h1 {
    font-size: 49px;
  }
  .hero-copy p {
    font-size: 16px;
  }
  .hero-art {
    min-height: 245px;
    max-height: 300px;
  }
  .hero-art > img {
    height: 300px;
    object-position: center 58%;
  }
  .hero-stamp {
    height: 65px;
    width: 65px;
    font-size: 7px;
    top: 17px;
    right: 17px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin: 18px 0 32px;
  }
  .stat {
    padding: 18px 20px;
  }
  .stat:nth-child(2) {
    border: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .stat strong {
    font-size: 28px;
  }
  .stat span {
    font-size: 13px;
  }
  .content-grid,
  .lower-grid,
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .section-head .text-link {
    font-size: 13px;
  }
  .lower-grid {
    margin-top: 25px;
  }
  .map-mini {
    width: 120px;
    height: 115px;
  }
  .map-teaser,
  .moments-teaser {
    padding: 25px;
  }
  .footer {
    flex-direction: column;
    padding: 24px 22px;
    gap: 14px;
  }
  .page-title h1 {
    font-size: 42px;
  }
  .page-title {
    margin-bottom: 25px;
  }
  .posts {
    grid-template-columns: 1fr;
  }
  .post-image {
    height: 240px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 0 22px;
    margin: 32px auto 40px;
    gap: 28px;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    max-width: 100%;
  }
  .auth-form h1 {
    font-size: 42px;
  }
  .field-row {
    gap: 12px;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-frame {
    height: 420px;
  }
  .map-detail {
    position: static;
  }
  .map-detail h2 {
    font-size: 26px;
    margin-bottom: 5px;
  }
  .status-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    margin: 15px 0;
  }
  .status-line {
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
  }
  .status-line strong {
    text-align: left;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar input {
    max-width: 100%;
    flex: 1;
    min-width: 140px;
  }
  .toolbar select {
    max-width: 100%;
    flex: 1;
    font-size: 14px;
  }
  .toolbar .btn {
    font-size: 13px;
    padding: 10px;
  }
  .admin-grid .wide {
    grid-column: auto;
  }
  .admin-card {
    padding: 20px;
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  dialog {
    padding: 22px;
  }
  .preview {
    font-size: 12px;
  }
  .page-top .eyebrow {
    font-size: 12px;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
  }
  .stat .icon {
    display: block;
    width: 20px;
  }
  .notice {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.brand-real {
  background: var(--ink);
  padding: 12px 16px 10px;
  border-radius: 5px;
  min-width: 180px;
}
.brand-real img {
  width: 165px;
  height: 31px;
  object-fit: contain;
}
.brand-real .brand-sub {
  font-size: 6px;
  letter-spacing: 1.8px;
  color: #e8d9c7;
  text-align: center;
  margin-top: 5px;
}
@media (max-width: 760px) {
  .brand-real {
    min-width: 160px;
    padding: 9px 13px 8px;
  }
  .brand-real img {
    width: 145px;
    height: 27px;
  }
  .brand-real .brand-sub {
    font-size: 6px;
  }
}

/* Elemental Village: earth, water, sunlight and air. */
:root {
  --water: #087aa0;
  --sun: #ffc84b;
  --earth: #d65a36;
}
body {
  background: var(--paper);
}
h1,
h2,
.serif {
  font-family: Georgia, serif;
  font-weight: 500;
}
h1 em {
  color: #087d56;
}
.topbar {
  background: #fff;
  border-top: 5px solid transparent;
  border-image: linear-gradient(
      90deg,
      #087d56 0 25%,
      #078bb1 25% 50%,
      #ffc84b 50% 75%,
      #df6340 75%
    )
    1;
}
.brand-real {
  background: #075843;
  border-radius: 16px 4px 16px 4px;
}
.nav a {
  font-size: 15px;
  font-weight: 600;
}
.nav a.active {
  color: #087d56;
  border-color: #087d56;
}
.preview {
  background: #d9f2e7;
  color: #174f3b;
}
.btn {
  background: #087d56;
  border-color: #087d56;
  border-radius: 12px;
  box-shadow: 0 4px 0 #075e43;
  transition:
    transform 0.18s,
    background 0.18s;
}
.btn:hover {
  background: #066748;
  transform: translateY(-2px);
}
.btn.secondary {
  background: #fff;
  color: #075843;
  border-color: #a9cdbb;
  box-shadow: none;
}
.btn.light {
  background: white;
  color: #075843;
  border-color: white;
}
.btn.danger {
  box-shadow: none;
}
.text-link {
  color: #a33920;
}
.hero {
  border: 0;
  border-radius: 30px 30px 80px 30px;
  background: #e1f4e8;
  box-shadow: 0 16px 40px #07584312;
}
.hero-copy {
  background: radial-gradient(circle at 0 0, #fff3bc 0, transparent 55%);
  padding: 44px;
}
.hero-copy h1 {
  font-size: clamp(42px, 4.7vw, 70px);
}
.hero-copy p {
  color: #365d50;
}
.hero-art {
  background: #a8e5e8;
}
.hero-stamp {
  background: #ffc84b;
  border: 0;
  color: #294a30;
  height: 88px;
  width: 88px;
  transform: rotate(9deg);
  box-shadow: 0 5px 15px #07584324;
}
.art-caption {
  background: #ffffffeb;
  color: #175d4d;
  border-radius: 20px;
  letter-spacing: 0.8px;
}
.element-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}
.element-ribbon span {
  padding: 8px 13px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.element-ribbon span:nth-child(1) {
  background: #d2efda;
  color: #165b32;
}
.element-ribbon span:nth-child(2) {
  background: #cceef8;
  color: #075778;
}
.element-ribbon span:nth-child(3) {
  background: #fff0b4;
  color: #765100;
}
.element-ribbon span:nth-child(4) {
  background: #ffe0d2;
  color: #8c301c;
}
.element-ribbon span:nth-child(5) {
  background: #e5ddff;
  color: #51329a;
}
.stats {
  border: 0;
  gap: 12px;
  background: transparent;
  margin-top: 24px;
}
.stat {
  border: 0;
  border-radius: 18px;
  min-height: 106px;
}
.stat:nth-child(1) {
  background: #d4efde;
  color: #125637;
}
.stat:nth-child(2) {
  background: #d3eef8;
  color: #095675;
}
.stat:nth-child(3) {
  background: #fff0b8;
  color: #73520a;
}
.stat:nth-child(4) {
  background: #ffdfd0;
  color: #893820;
}
.stat strong {
  font-size: 38px;
}
.stat span {
  color: inherit;
}
.section-title .eyebrow {
  color: #087d56;
}
.empty {
  background: #fff;
  border: 1px solid #cce4d6;
  border-radius: 20px;
}
.empty .icon {
  color: #087d56;
}
.map-teaser {
  background: #086f82;
  border-radius: 24px;
  box-shadow: 0 10px 25px #086f8215;
}
.map-teaser p {
  color: #e3f6fa;
  font-size: 16px;
}
.map-mini {
  border-color: #ffda69;
  filter: saturate(1.8);
}
.moments-teaser {
  background: #fff0b8;
  border: 0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.moments-teaser:after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 130px;
  height: 130px;
  border: 22px solid #ffca4c;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.moments-teaser p {
  color: #5b582f;
  font-size: 16px;
}
.moments-teaser h2 {
  color: #784820;
}
.journal-empty {
  background: #e7f2e7;
}
.auth-layout {
  background: #fff;
}
.auth-art {
  background: #075843;
  color: #fff;
  border-radius: 0 40px 40px 0;
}
.auth-art > img {
  opacity: 1;
}
.auth-art h2 {
  color: #fff2bc;
}
.auth-art p {
  color: #e4f5e9;
}
.auth-art .eyebrow {
  color: #ffdb70;
}
.auth-supplied-logo {
  background: #075843;
}
.auth-form {
  background: #fff;
}
.notice {
  background: #e6f5ed;
  border-left: 4px solid #0b9969;
  color: #20593e;
  border-radius: 0 12px 12px 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #0a8c65;
  box-shadow: 0 0 0 3px #0a8c651a;
}
.steps span.done {
  background: #07986c;
}
.admin-card {
  border-top: 4px solid #0c8b69;
  border-radius: 16px;
}
.admin-card:nth-child(3n + 2) {
  border-top-color: #078bb1;
}
.admin-card:nth-child(3n + 3) {
  border-top-color: #e7aa19;
}
.pill.good {
  background: #d4f1df;
  color: #135c35;
}
@media (max-width: 760px) {
  .hero {
    border-radius: 22px 22px 48px 22px;
  }
  .hero-copy {
    padding: 30px 24px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .stat {
    padding: 18px;
    min-height: 104px;
    gap: 12px;
  }
  .stat strong {
    font-size: 32px;
  }
  .auth-art {
    border-radius: 0;
  }
}
.hero-copy {
  background: #075843;
  color: #fff;
}
.hero-copy h1 {
  color: #fffdf0;
}
.hero-copy h1 em {
  color: #ffdc70;
}
.hero-copy .eyebrow {
  color: #bcead1;
}
.hero-copy .eyebrow:before {
  background: #ffcf50;
}
.hero-copy p {
  color: #e0f2e8;
}
.hero-copy .btn {
  background: #ffcf50;
  color: #24472e;
  border-color: #ffcf50;
  box-shadow: 0 4px 0 #d8a534;
}
.hero-copy .btn:hover {
  background: #ffdd7b;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}
.status-icon .icon {
  width: 21px;
  height: 21px;
}
.status-icon.registration {
  background: #d4efde;
  color: #125637;
}
.status-icon.construction {
  background: #fff0b8;
  color: #73520a;
}
.status-icon.handover {
  background: #d3eef8;
  color: #095675;
}
.status-icon.occupancy {
  background: #ffdfd0;
  color: #893820;
}
.progress-key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
  margin: 20px 0 24px;
}
.progress-key > span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.stat > .icon {
  width: 26px;
  height: 26px;
  color: inherit;
}
.status-line .status-label {
  color: var(--ink);
}
@media (max-width: 380px) {
  .progress-key {
    grid-template-columns: 1fr;
  }
}

/* Missing owner records remain selectable, with a quiet disabled appearance. */
.map-canvas .villa.owner-missing {
  fill: #e4e7e5;
  stroke: #a7b0ac;
  stroke-dasharray: 2 1;
}
.map-original .villa.owner-missing {
  fill: #e4e7e5;
  fill-opacity: 0.88;
}
.map-canvas .villa.owner-missing.matched {
  stroke: #477a63;
  stroke-width: 1.5;
}
.map-canvas .villa.owner-missing.selected {
  fill: #e9c8a8;
  stroke: #994d22;
  stroke-width: 2;
  stroke-dasharray: none;
}
.map-canvas .villa:focus-visible {
  stroke: #176c9b;
  stroke-width: 2;
  outline: none;
}
.legend .dot.owner-missing {
  background: #e4e7e5;
  border: 1px dashed #7e8c85;
}
.map-canvas .villa:not(.selected):not(.owner-missing):not(.matched):hover,
.map-canvas .villa:not(.selected):not(.owner-missing):not(.matched):focus {
  fill: #fcfaf3;
}
.map-original .villa:not(.selected):not(.owner-missing):not(.matched):hover,
.map-original .villa:not(.selected):not(.owner-missing):not(.matched):focus {
  fill: transparent;
}

.map-canvas {
  min-width: 0;
  aspect-ratio: 1010/620;
}
.map-zoom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.map-zoom output {
  min-width: 52px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}
.map-zoom .btn {
  min-height: 40px;
}
.map-zoom button[aria-label] {
  min-width: 40px;
  font-size: 22px;
}
.map-zoom button:disabled {
  cursor: default;
}

.map-frame {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.map-frame.panning,
.map-frame.panning .villa {
  cursor: grabbing;
}
.map-frame svg {
  -webkit-user-drag: none;
}

.site-help {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 30;
  padding: 12px 18px;
  box-shadow: 0 5px 20px #07584333;
}
.footer {
  padding-bottom: 95px;
}
@media (max-width: 760px) {
  .site-help {
    right: 14px;
    bottom: 14px;
    font-size: 14px;
    padding: 10px 14px;
  }
}

.map-canvas {
  aspect-ratio: 1010/640;
}
.amenity {
  cursor: pointer;
}
.amenity > path {
  fill: #d0e8c4;
  stroke: #4b8051;
  stroke-width: 1;
}
.amenity-building > path {
  fill: #f4b97c;
  stroke: #95602f;
}
.amenity-water > path {
  fill: #63cbe7;
  stroke: #087aa0;
}
.amenity-court > path {
  fill: #b7d4bc;
  stroke: #366c54;
}
.amenity-play > path {
  fill: #ffdc79;
  stroke: #a17b21;
}
.amenity > circle {
  fill: #fff;
  stroke: #205c49;
  stroke-width: 1.2;
}
.map-canvas .amenity text {
  font-size: 6px;
  fill: #164d3c;
  font-weight: 700;
  paint-order: stroke;
  stroke: #f4faf5;
  stroke-width: 2px;
  stroke-linejoin: round;
}
.amenity:hover > path,
.amenity:focus > path {
  stroke: #075843;
  stroke-width: 2;
}
.amenity:focus {
  outline: none;
}

.map-notes {
  margin-top: 12px;
}
.map-notes summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 0;
}
.map-notes .legend {
  margin-top: 8px;
}
.map-notes p {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .map-notes {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
    margin-top: 8px;
  }
  .map-notes summary {
    padding: 10px 0;
  }
  .map-notes[open] {
    padding-bottom: 12px;
  }
  .map-layout {
    gap: 12px;
  }
  .map-detail {
    scroll-margin: 12px;
  }
  .map-frame {
    height: clamp(250px, 48svh, 420px);
  }
}

.map-canvas .amenity text {
  font-size: 4px;
  fill: #164d3c;
  stroke: none;
}
.amenity-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 14px 0;
}
.amenity-key .text-link {
  font-size: 14px;
  color: var(--ink);
  gap: 6px;
}
.amenity-key button span {
  display: inline-grid;
  place-items: center;
  border: 1px solid #7fa98b;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  background: #edf6e9;
}

/* Telugu uses system fonts so language support works without third-party requests. */
.language-picker { flex-shrink: 0; margin-left: 12px; }
.language-picker select { width: auto; min-width: 100px; font: inherit; padding: 8px 10px; border-radius: 12px; border: 1px solid #bad7c8; background: #f2faf5; color: #165b32; }
html[lang="te"] body { font-family: "Noto Sans Telugu", "Telugu Sangam MN", "Nirmala UI", sans-serif; line-height: 1.7; }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] .serif { font-family: "Noto Sans Telugu", "Telugu Sangam MN", "Nirmala UI", sans-serif; line-height: 1.5; }
html[lang="te"] .eyebrow { letter-spacing: .02em; }
html[lang="te"] .nav { flex-wrap: wrap; }
@media(max-width: 700px) { .language-picker { margin-left: 4px; } .language-picker select { min-width: 85px; padding: 6px; } html[lang="te"] h1 { font-size: clamp(30px,7vw,50px); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[lang="te"] .nav { flex-wrap: nowrap; }
@media (min-width: 761px) and (max-width: 1450px) {
 .topbar { height: auto; min-height: 87px; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
 .topbar .nav { order: 3; width: 100%; height: 52px; overflow-x: auto; flex-wrap: nowrap; gap: 24px; }
 .topbar .nav a { white-space: nowrap; flex-shrink: 0; }
 .topbar .account-nav { margin-left: auto; }
}

html[lang="hi"] body, html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .serif { font-family: "Noto Sans Devanagari", "Devanagari Sangam MN", "Nirmala UI", sans-serif; line-height: 1.6; }
html[lang="hi"] .eyebrow { letter-spacing: .02em; }

/* A scrollable surround permits map panning even when the entire plan fits. */
.map-stage { position: relative; }
.map-stage .map-canvas { position: absolute; }
.map-frame { overscroll-behavior: contain; overflow-anchor: none; }
.map-layout > div { min-width: 0; }
.map-frame { min-width: 0; max-width: 100%; }

.map-search-results { margin-bottom: 18px; }
.villa-search-list { display: flex; flex-wrap: wrap; gap: 10px; max-height: 240px; overflow: auto; }
.villa-search-list button { display: flex; gap: 10px; text-align: left; white-space: normal; }
