:root {
  --navy:#0B2850;
  --light-blue:#35B9EA;
  --gold:#D6A12D;
  --burnt-orange:#C65A22;
  --burgundy:#761F35;
  --ink:var(--navy);
  --teal:var(--navy);
  --sand:#fff8e8;
  --line:#d2dfed;
  --muted:#4c6079;
  --sea-mist:#edf8fd;
}
body {
  background: #fbfdff;
}
::selection {
  color: var(--navy);
  background: #aee8fa;
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand img {
  object-fit: contain;
  background: #fff;
  border-radius: 0;
}
.demo-bar {
  background: var(--navy);
  font-size: .75rem;
}
.demo-bar span {
  color: #d7edf7;
}
.button {
  background: var(--navy);
  border-radius: 6px;
  font-size: .875rem;
  gap: 16px;
}
.button:hover {
  background: #143d71;
}
.text-button,
.header nav {
  font-size: .875rem;
}
.text-button b {
  background: var(--sea-mist);
  color: var(--navy);
}
:is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--burnt-orange);
  outline-offset: 3px;
}
input,
select,
textarea {
  accent-color: var(--navy);
}
select,
.workspace select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230B2850' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.hero {
  padding-top: 10px;
}
.hero-copy .eyebrow,
.properties .eyebrow {
  color: var(--burgundy);
}
.eyebrow {
  font-size: .75rem;
}
h1 em {
  color: var(--burgundy);
}
.hero-copy > p {
  font-size: 1rem;
  max-width: 390px;
}
.hero-link {
  font-size: .875rem;
  border-bottom: 2px solid var(--burnt-orange);
}
.hero-caption {
  font-size: .75rem;
  letter-spacing: 1px;
}
.hero-art {
  background:
    linear-gradient(
      180deg,
      #d8f3fc 0%,
      #e9f8ff 38%,
      var(--light-blue) 39%,
      #81d7f3 58%,
      #bbeaf9 66%,
      #f6dfaa 67%,
      #fff5d9 100%);
  border-radius: 150px 8px 8px 8px;
  box-shadow: 0 18px 36px #0b285012;
}
.hero-art:after {
  content: "";
  position: absolute;
  left: -15%;
  top: 59%;
  width: 120%;
  height: 58px;
  border-top: 5px solid #fff;
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: .85;
}
.art-tag {
  color: var(--navy);
  font-size: .7rem;
}
.hill {
  background: var(--light-blue);
  opacity: .35;
  top: 54%;
  height: 100px;
}
.hill-two {
  background: #ecd29a;
  opacity: 1;
  top: 76%;
  height: 160px;
}
.sun {
  background: #ffe9a2;
  box-shadow: 0 0 80px #d6a12d66;
}
.palm b {
  background: var(--navy);
}
.palm i {
  background:
    linear-gradient(
      90deg,
      #8e5525,
      var(--gold));
}
.pool {
  background:
    linear-gradient(
      150deg,
      #c8f4ff,
      var(--light-blue));
  border-color: #fff0cb;
}
.villa-top i,
.villa-bottom i {
  background:
    linear-gradient(
      120deg,
      var(--navy),
      #80bdde);
  border-color: #345a7e;
}
.art-caption {
  background: linear-gradient(transparent, #0b2850ed);
}
.art-caption small {
  color: #e8f5ff;
  font-size: .75rem;
}
.search-wrap {
  background: white;
  box-shadow: 0 16px 32px #0b28500d;
  border-radius: 8px;
  border-top: 4px solid var(--gold);
}
.tab {
  font-size: .875rem;
  color: var(--muted);
}
.tab.active {
  color: var(--navy);
  border-color: var(--burnt-orange);
}
.search-top > span {
  font-size: .7rem;
  letter-spacing: 1px;
}
#search-form {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
}
#search-form label {
  min-width: 0;
  font-size: .7rem;
  letter-spacing: .7px;
  padding-right: 10px;
}
#search-form input,
#search-form select {
  width: 100%;
  min-width: 0;
  font-size: .875rem;
  letter-spacing: 0;
  font-weight: normal;
}
.search-button {
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
}
.search-button:hover {
  background: #e6b744;
}
.search-bottom,
.search-bottom select,
.sort,
.sort select {
  font-size: .875rem;
}
.search-bottom > span,
.inventory-note {
  font-size: .75rem;
}
.section-heading p {
  font-size: .875rem;
}
.card-visual {
  border-radius: 10px;
  background: var(--sea-mist);
}
.scene {
  background:
    linear-gradient(
      #d8effb 0 55%,
      #74cfee 55% 70%,
      #f1deb3 70%);
}
.scene.coast {
  background:
    linear-gradient(
      #d7f2fd 0 50%,
      var(--light-blue) 50% 62%,
      #afe9fa 62% 73%,
      #f0dbaa 73%);
}
.scene.city {
  background: linear-gradient(#d7edf9 0 72%, #c5ccda 72%);
}
.scene:after {
  background: #25486c;
  box-shadow: 285px 35px #496b7b;
}
.scene.land {
  background:
    linear-gradient(
      #d9f3fc 0 52%,
      #b4c8ac 52% 65%,
      #57796a 65%);
}
.card-badge {
  color: var(--navy);
  font-size: .7rem;
}
.save[aria-pressed=true] {
  color: var(--burgundy);
}
.visual-caption {
  background: #0b2850e6;
  font-size: .7rem;
}
.card-top {
  font-size: .8rem;
  gap: 10px;
  flex-wrap: wrap;
}
.card-features {
  font-size: .8rem;
  gap: 16px;
  flex-wrap: wrap;
}
.card-price small {
  font-size: .8rem;
}
.editorial {
  background:
    linear-gradient(
      125deg,
      var(--sea-mist),
      #fff8e8);
  border-top: 1px solid var(--line);
}
.editorial article {
  border-color: var(--gold);
}
.principles span {
  color: var(--burgundy);
  font-size: .75rem;
}
.principles p,
.workspace p {
  color: var(--muted);
}
.principles p {
  font-size: 1rem;
}
.workspace label {
  font-size: .875rem;
}
.workspace input,
.workspace select,
.workspace textarea {
  color: var(--navy);
  border-color: #9aafc5;
  font-size: 1rem;
}
.workspace #auth form {
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: #fff;
  border-radius: 8px;
}
.workspace-card {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 7px 22px #0b285006;
}
.workspace-nav button {
  color: var(--navy);
  border-color: var(--line);
  border-radius: 6px;
}
.workspace-nav button[aria-current=true] {
  background: var(--navy);
  color: white;
}
.state {
  background: var(--sea-mist);
  color: var(--navy);
  font-size: .75rem;
}
#mfa-section,
#email-verification {
  padding: 24px;
  background: var(--sea-mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 24px;
}
#mfa-secret {
  display: block;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
#mfa-qr {
  display: block;
  max-width: 100%;
}
#message:not(:empty),
#editor-message:not(:empty),
#review-message:not(:empty) {
  background: var(--sea-mist);
  border-left-color: var(--burgundy);
}
dialog {
  border-radius: 12px;
}
dialog::backdrop {
  background: #0b2850c4;
}
.detail-body li {
  background: var(--sea-mist);
  font-size: .875rem;
}
.enquiry-form textarea {
  border-color: var(--line);
}
.enquiry-form p {
  font-size: .875rem;
}
footer {
  background: var(--navy);
  color: white;
  border-top: 4px solid var(--burnt-orange);
}
footer small {
  color: #d7e8f8;
  font-size: .75rem;
}
footer span {
  font-size: .7rem;
}
.listing-assistant {
  background: var(--sea-mist);
  border: 1px solid #b7deee;
  border-top: 4px solid var(--light-blue);
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0 32px;
}
.ai-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-heading .eyebrow {
  color: var(--burgundy);
  font-size: .7rem;
}
.ai-heading h3 {
  font: normal 28px/1.2 Georgia, serif;
  margin: 8px 0 0;
  letter-spacing: -.5px;
}
.ai-spark {
  color: var(--gold);
  background: var(--navy);
  border-radius: 50%;
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.listing-assistant p {
  font-size: .875rem;
  line-height: 1.65;
}
.listing-assistant .ai-availability {
  background: #fff7e3;
  border-left: 3px solid var(--gold);
  color: var(--navy);
  padding: 10px 14px;
}
.workspace .ai-dropzone {
  border: 1px dashed #78a6c7;
  padding: 22px;
  border-radius: 8px;
  background: white;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.ai-dropzone.dragging {
  border: 2px solid var(--navy);
  background: #d8f2fd;
}
.ai-dropzone strong {
  font-size: 1rem;
}
.ai-dropzone span {
  color: var(--muted);
  line-height: 1.6;
  font-size: .8rem;
}
.workspace .ai-dropzone input {
  max-width: 100%;
  width: auto;
  padding: 8px;
  border: 0;
  font-size: .875rem;
}
.ai-dropzone input::file-selector-button {
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
  margin-right: 10px;
}
.ai-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.ai-preview li {
  position: relative;
  min-width: 0;
}
.ai-preview img {
  display: block;
  width: 100%;
  height: 95px;
  border-radius: 6px;
  object-fit: cover;
}
.ai-preview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .7rem;
  padding-top: 5px;
}
.ai-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  border: 1px solid var(--line);
  background: white;
  color: var(--burgundy);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
}
.listing-assistant .ai-help {
  font-size: .75rem;
}
#ai-map-link {
  color: var(--navy);
  text-decoration: underline;
  font-size: .875rem;
}
.ai-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 20px 0 12px;
}
.ai-actions span {
  font-size: .75rem;
  color: var(--muted);
}
#ai-generate {
  background: var(--burgundy);
  color: white;
}
#ai-generate:hover:not(:disabled) {
  background: #5e172a;
}
button:disabled {
  cursor: not-allowed;
}
#ai-status:not(:empty) {
  border-left: 3px solid var(--burnt-orange);
  padding: 10px 14px;
  background: white;
  color: var(--navy);
}
.ai-result {
  border-top: 1px solid #b7d6e6;
  margin-top: 24px;
  padding-top: 16px;
}
.ai-result h4 {
  font-size: 1rem;
  margin: 12px 0;
}
.ai-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: .875rem;
  line-height: 1.7;
}
.ai-review ul {
  padding-left: 20px;
  color: var(--muted);
}
.manual-heading {
  font: normal 26px Georgia, serif;
  margin: 0;
}
@media (max-width: 1100px) {
  #search-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #search-form .search-button {
    grid-column: 1/-1;
  }
  #search-form .location-label {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .art-tag {
    z-index: 4;
    background: #e9f8ffee;
    padding: 5px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
  }
  .hero-art {
    border-top-left-radius: 80px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .text-button {
    font-size: .8rem;
  }
  .hero-copy {
    padding-top: 28px;
  }
  .hero-copy h1 {
    font-size: 52px;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-art:after {
    top: 58%;
  }
  .search-wrap {
    margin-top: 8px;
  }
  .demo-bar {
    font-size: .65rem;
    gap: 14px;
  }
  .demo-bar span {
    font-size: .65rem;
  }
  .search-bottom {
    gap: 8px;
  }
}
@media (max-width: 520px) {
  #search-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  #search-form label {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
  .listing-form {
    padding: 24px 16px;
  }
  .listing-assistant {
    padding: 18px 14px;
  }
  .ai-heading h3 {
    font-size: 24px;
  }
  .ai-spark {
    display: none;
  }
  .ai-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ai-preview button {
    width: 38px;
    height: 38px;
  }
  .ai-review {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .workspace .ai-dropzone {
    padding: 16px 10px;
  }
  #ai-generate,
  #ai-use {
    width: 100%;
  }
}
