:root {
  color-scheme: light;
  --ink: #202a23;
  --muted: #7a8179;
  --paper: #fbfaf7;
  --white: #fff;
  --green: #254d3b;
  --green-dark: #1a3a2c;
  --green-soft: #e8efe8;
  --orange: #df8057;
  --line: #e9e8e1;
  --shadow: 0 18px 50px rgb(36 49 40 / 8%);
  --bs-success: #254d3b;
  --bs-success-rgb: 37, 77, 59;
  --bs-body-font-family: "DM Sans", sans-serif;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(223 128 87 / 55%);
  outline-offset: 3px;
}

.topbar,
.hero,
.workspace,
.footer {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  background: var(--green);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  letter-spacing: -1px;
}

.brand-period,
.heading-period {
  color: var(--orange);
}

.topbar-note,
.topbar-link {
  color: var(--muted);
  font-size: 12px;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77a580;
  box-shadow: 0 0 0 4px #eaf1e9;
}

.topbar-link {
  color: var(--green);
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}

.account-button {
  max-width: 180px;
  overflow: hidden;
  padding: 8px 11px;
  border: 1px solid #dce3d9;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-button[hidden],
.account-dropdown[hidden],
.account-dropdown button[hidden],
.dialog-actions [hidden] {
  display: none;
}

.account-menu-anchor { position: relative; }
.booking-mode-badge { display: inline-block; margin-bottom: 10px; padding: 5px 9px; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 11px; font-weight: 700; }
.payment-deadline { margin: 10px 0; padding: 10px 12px; border-left: 3px solid #d29c32; background: #fff8e8; font-size: 12px; line-height: 1.6; }
.status-awaiting_payment { background: #fff0cc; color: #765009; }
.status-expired { background: #f4e6e3; color: #9c3c30; }
.calendar-day.status-held { background: #eee6fa; color: #634188; border-color: #cbb7e5; }
.calendar-legend-dot.status-held { background: #b79aca; }
.guest-booking { padding: 20px; border-radius: 14px; }
.guest-booking .booking-item-title { font-size: 17px; line-height: 1.4; }
.guest-booking-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.guest-booking-meta .booking-mode-badge { margin: 0; }
.booking-reference { color: var(--muted); font-size: 11px; letter-spacing: .03em; }
.guest-stay-dates { margin: 12px 0 5px; font-size: 14px; font-weight: 700; }
.guest-booking .booking-details { font-size: 12px; line-height: 1.6; }
.booking-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0; padding: 0; list-style: none; gap: 8px; }
.booking-progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); font-size: 10px; text-align: center; }
.booking-step-number { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f1f2ec; font-size: 11px; font-weight: 700; }
.booking-progress .is-complete, .booking-progress .is-current { border-color: var(--green); color: var(--green); font-weight: 700; }
.booking-progress .is-complete .booking-step-number { background: var(--green); color: #fff; }
.booking-progress .is-current .booking-step-number { background: var(--green-soft); border: 1px solid var(--green); }
.booking-next-step { padding: 14px 16px; border-radius: 10px; background: #f4f7f1; }
.booking-next-step h4 { margin: 0 0 6px; font-size: 14px; color: var(--green-dark); }
.booking-next-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.booking-next-step .journey-primary { margin-top: 12px; min-height: 44px; font-size: 12px; }
.journey-refund .booking-next-step, .journey-expired .booking-next-step, .journey-review .booking-next-step { background: #fff5e7; }
.journey-cancellation .booking-next-step { background: #eef3f8; }
.booking-status.journey-badge-paid { background: #e6f1e8; color: #346547; }
.booking-status.journey-badge-refund, .booking-status.journey-badge-expired, .booking-status.journey-badge-rejected { background: #f8e9e6; color: #963b30; }
.booking-status.journey-badge-cancellation, .booking-status.journey-badge-review { background: #eef0f8; color: #41516b; }
.guest-booking-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; }
.guest-booking-total span { color: var(--muted); font-size: 12px; }
.guest-booking-total strong { white-space: nowrap; color: var(--green-dark); font-size: 20px; }
.payment-time-left { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.payment-time-left span { font-size: 12px; color: var(--muted); }
.payment-time-left strong { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: .05em; color: var(--green-dark); }
.guest-booking .booking-payment-panel { margin-top: 16px; }
.guest-booking .payment-compact .payment-provider { font-size: 12px; color: var(--green-dark); }
.guest-booking .payment-compact .payment-deadline { padding: 0; border: 0; background: transparent; font-size: 11px; }
.guest-booking .payment-compact .booking-actions { display: grid; }
.guest-booking .payment-compact .button-quiet { min-height: 36px; font-size: 11px; }
.guest-booking .booking-payment-panel .button-primary { min-height: 44px; width: 100%; font-size: 13px; }
.booking-manage-options { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.booking-manage-options summary { cursor: pointer; color: var(--green-dark); font-size: 12px; font-weight: 600; }
.guest-booking-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.guest-booking-links button { min-height: 40px; font-size: 12px; }
.booking-manage-options .booking-note { font-size: 11px; line-height: 1.6; }
@media (max-width: 600px) {
  .guest-booking { padding: 16px; }
  .guest-booking .booking-status { white-space: normal; }
  .guest-booking-total strong { font-size: 18px; }
}
.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(260px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid #dce3d9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(22 47 34 / 16%);
  text-align: left;
}
.account-dropdown-heading { margin: 6px 12px; color: #667568; font-size: 12px; }
.account-dropdown button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.account-dropdown button:hover, .account-dropdown button:focus-visible { background: var(--green-soft); }
.account-dropdown .account-sign-out { color: #a23430; }
.account-dropdown button:disabled { opacity: .6; cursor: wait; }
.account-dropdown hr { margin: 6px 4px; border: 0; border-top: 1px solid #dce3d9; }
.account-dropdown .form-error { margin: 8px 12px; font-size: 12px; }
@media (max-width: 600px) {
  .account-dropdown { position: fixed; top: var(--account-menu-top, 120px); right: 16px; }
}

.language-picker select {
  min-width: 53px;
  padding: 7px 22px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #788178 50%) calc(100% - 10px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, #788178 50%, transparent 50%) calc(100% - 6px) 50% / 5px 5px no-repeat,
    #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.topbar-link > span:last-child {
  margin-left: 5px;
  color: var(--orange);
}

.hero {
  min-height: 478px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding-block: 54px 64px;
}

.hero-copy {
  padding-block: 15px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.eyebrow > span:first-child {
  width: 19px;
  height: 1px;
  display: inline-block;
  margin: 0 8px 3px 0;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.hero h1 {
  margin: 23px 0 17px;
  font-size: clamp(39px, 5.1vw, 62px);
  font-weight: 600;
  letter-spacing: -3.7px;
  line-height: 1.1;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-description {
  max-width: 410px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  border: 1px solid #dce3d9;
  border-radius: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.hero-action:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-action > span:last-child {
  color: var(--orange);
  font-size: 16px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 53px;
  color: #969b92;
  font-size: 9px;
  letter-spacing: 1.3px;
}

.footnote-line {
  width: 32px;
  height: 1px;
  background: #c6c9c1;
}

.hero-art {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 9px;
  isolation: isolate;
  background: linear-gradient(180deg, #e9bc91 0%, #f4d6a9 51%, #9cc3ad 52%, #578477 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 47px;
  right: 95px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #f6e3b0;
  box-shadow: 0 0 0 16px rgb(246 227 176 / 16%);
}

.hero-cloud {
  position: absolute;
  width: 62px;
  height: 14px;
  border-radius: 20px;
  background: rgb(255 247 223 / 66%);
}

.hero-cloud::before,
.hero-cloud::after {
  position: absolute;
  bottom: 4px;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.hero-cloud::before {
  left: 12px;
  width: 23px;
  height: 23px;
}

.hero-cloud::after {
  right: 11px;
  width: 17px;
  height: 17px;
}

.cloud-one {
  top: 70px;
  left: 61px;
}

.cloud-two {
  top: 120px;
  right: 49px;
  transform: scale(0.7);
  opacity: 0.7;
}

.hero-hill {
  position: absolute;
  right: -9%;
  bottom: 88px;
  left: -10%;
  height: 106px;
  border-radius: 52% 50% 0 0;
  background: #678f76;
  transform: rotate(-3deg);
}

.hero-water {
  position: absolute;
  right: -2%;
  bottom: 0;
  left: -4%;
  height: 120px;
  background: linear-gradient(180deg, #639689, #396a62);
  clip-path: polygon(0 20%, 22% 11%, 48% 22%, 72% 13%, 100% 24%, 100% 100%, 0 100%);
}

.hero-palm {
  position: absolute;
  bottom: 94px;
  z-index: 1;
  width: 10px;
  height: 137px;
  border-radius: 8px;
  background: #594e37;
  transform: rotate(8deg);
}

.hero-palm::before,
.hero-palm::after,
.hero-palm span::before,
.hero-palm span::after {
  position: absolute;
  top: -5px;
  left: -47px;
  width: 55px;
  height: 21px;
  border-radius: 100% 0 100% 0;
  background: #557657;
  content: "";
  transform-origin: right bottom;
}

.hero-palm::before {
  transform: rotate(-45deg);
}

.hero-palm::after {
  transform: rotate(-7deg);
}

.hero-palm span::before {
  transform: rotate(25deg);
}

.hero-palm span::after {
  transform: rotate(58deg);
}

.palm-one {
  left: 42px;
  transform: rotate(12deg) scale(0.84);
}

.palm-two {
  right: 31px;
  bottom: 104px;
  transform: rotate(-5deg) scale(0.65);
}

.hero-house {
  position: absolute;
  right: 23%;
  bottom: 66px;
  z-index: 2;
  width: 155px;
  height: 144px;
  filter: drop-shadow(8px 10px 4px rgb(38 61 47 / 15%));
}

.house-roof {
  position: absolute;
  top: 0;
  left: 6px;
  width: 0;
  height: 0;
  border-right: 76px solid transparent;
  border-bottom: 61px solid #925e45;
  border-left: 76px solid transparent;
}

.house-body {
  position: absolute;
  top: 54px;
  left: 25px;
  width: 107px;
  height: 88px;
  border: 5px solid #f2e8d4;
  background: #dfc9a5;
}

.house-window {
  position: absolute;
  top: 17px;
  width: 18px;
  height: 22px;
  border: 3px solid #f2e8d4;
  background: #6e9990;
}

.window-one {
  left: 7px;
}

.window-two {
  right: 7px;
}

.house-door {
  position: absolute;
  bottom: 0;
  left: 39px;
  width: 22px;
  height: 42px;
  border: 3px solid #f2e8d4;
  border-bottom: 0;
  background: #8b664b;
}

.house-step {
  position: absolute;
  right: 36px;
  bottom: 0;
  left: 36px;
  height: 6px;
  border-radius: 50%;
  background: #e8dfca;
}

.hero-art-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 7px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 7px 25px rgb(25 49 38 / 10%);
  backdrop-filter: blur(8px);
}

.label-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 20px;
}

.hero-art-label strong,
.hero-art-label small {
  display: block;
}

.hero-art-label strong {
  font-size: 10px;
}

.hero-art-label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.art-sparkle {
  position: absolute;
  z-index: 1;
  color: #fff1cb;
}

.sparkle-one {
  top: 140px;
  left: 29%;
  font-size: 18px;
}

.sparkle-two {
  top: 188px;
  right: 16%;
  font-size: 13px;
}

.workspace {
  padding-block: 44px 82px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-eyebrow {
  color: #839087;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.section-heading h2,
.dialog-heading h2 {
  margin: 10px 0 5px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.6px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.section-count span:first-child {
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 22px;
}

.search-box {
  width: min(350px, 100%);
  height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.search-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border: 1.5px solid #8a918a;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  background: #8a918a;
  content: "";
  transform: rotate(48deg);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 11px;
}

.search-box input::placeholder {
  color: #a4a69f;
}

.search-box kbd {
  min-width: 19px;
  padding: 3px 5px;
  border: 1px solid #e9e9e4;
  border-radius: 3px;
  color: #a1a39c;
  font-family: inherit;
  font-size: 9px;
  text-align: center;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin: -5px 0 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.amenity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  min-width: 0;
  border: 0;
}
.amenity-options legend { width: 100%; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.amenity-options label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 24px;
  font-size: 12px; cursor: pointer; background: #fff;
}
.amenity-options input { accent-color: var(--green); }
.amenity-options label:has(input:checked) { background: #edf5ef; border-color: var(--green); color: var(--green); }
.amenity-options label:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
#search-amenities, .search-price-tools, .search-location { grid-column: 1 / -1; }
.search-filters .filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
#owner-amenities { margin: 16px 0 22px; }
#owner-amenities .booking-note { width: 100%; margin: 0; }
.custom-amenities-field { width: 100%; margin-top: 4px; }
.custom-amenities-field > .form-field { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.custom-amenity-entry { display: flex; gap: 8px; align-items: center; }
.custom-amenity-entry .form-control { flex: 1; min-width: 0; }
.custom-amenity-entry .button { white-space: nowrap; }
.custom-amenity-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.custom-amenity-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: #45624e; background: #eef4ef; font-size: 10px; }
.custom-amenity-remove { border: 0; padding: 0; color: #78917e; background: transparent; font-size: 15px; line-height: 1; cursor: pointer; }
.custom-amenity-remove:hover, .custom-amenity-remove:focus-visible { color: var(--green); }
.stay-amenities { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; min-height: 52px; margin: 0 0 16px; }
.amenity-chip { padding: 5px 9px; border-radius: 6px; color: #45624e; background: #eef4ef; font-size: 10px; }
.amenity-placeholder { align-self: flex-start; padding: 5px 9px; border: 1px dashed #d6ddd5; border-radius: 6px; color: #9aa198; background: #fafbf9; font-size: 10px; }
.price-deal-slot { min-height: 31px; display: flex; align-items: flex-start; padding-top: 10px; }
.price-deal-badge { align-self: flex-start; margin: 0; padding: 5px 9px; border: 1px solid #e1bf63; border-radius: 999px; background: #fff8df; color: #806014; font-size: 10px; font-weight: 800; }
.discovery-card { border-radius: 16px; box-shadow: 0 3px 12px rgb(36 49 40 / 4%); }
.discovery-card .stay-art { height: 230px; }
.discovery-card .stay-content { display: flex; flex-direction: column; padding: 20px; }
.discovery-card .stay-location { font-size: 12px; }
.discovery-card .stay-name { font-size: 20px; }
.discovery-card .stay-description { font-size: 12px; min-height: 41px; }
.discovery-card .stay-meta { margin-top: auto; flex-wrap: wrap; }
.discovery-card .stay-price { font-size: 21px; }
.discovery-card .stay-price small, .discovery-card .stay-guests { font-size: 11px; }
.discovery-card .stay-book-button { min-height: 44px; border-radius: 8px; font-size: 13px; }
.stay-detail-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.stay-detail-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.stay-detail-button { width: 100%; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.property-detail-dialog { width: min(1120px, calc(100% - 36px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: #fff; }
.property-detail-dialog::backdrop { background: rgb(19 33 25 / 65%); backdrop-filter: blur(4px); }
.property-detail-shell { padding: 28px; }
.detail-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.detail-heading h2 { margin: 8px 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; overflow-wrap: anywhere; }
.detail-heading p:last-child { margin: 0; font-size: 14px; color: var(--muted); }
.detail-heading #detail-location { margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.detail-heading .dialog-close { position: static; flex: 0 0 auto; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 30px; align-items: start; }
.detail-main { min-width: 0; }
.detail-photo-frame { position: relative; display: grid; place-items: center; height: 350px; overflow: hidden; border-radius: 14px; background: #f1f4ef; }
.detail-photo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.detail-photo-frame p { padding: 24px; color: var(--muted); text-align: center; }
.detail-photo-nav { position: absolute; top: 50%; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 72%); border-radius: 50%; color: #fff; background: rgb(19 33 25 / 72%); font-size: 28px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.detail-photo-nav:hover { background: rgb(19 33 25 / 90%); }
.detail-photo-nav:focus-visible { outline: 3px solid #cf9233; outline-offset: 3px; }
.detail-photo-prev { left: 14px; }
.detail-photo-next { right: 14px; }
#detail-photo-counter { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; background: rgb(19 33 25 / 80%); color: white; border-radius: 20px; font-size: 12px; }
.detail-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px; }
.detail-thumbnail { flex: 0 0 76px; height: 62px; padding: 3px; border: 2px solid transparent; background: none; border-radius: 8px; cursor: pointer; }
.detail-thumbnail[aria-pressed="true"] { border-color: var(--green); }
.detail-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.detail-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-section h3, .detail-booking-panel h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.detail-accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--green-dark); cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; }
.detail-accordion > summary::-webkit-details-marker { display: none; }
.detail-accordion-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; border: 0; background: transparent; color: var(--green-dark); cursor: pointer; font-size: 18px; font-weight: 700; text-align: left; }
.detail-accordion-summary .detail-accordion-chevron { transition: transform 160ms ease; }
.detail-location-accordion.is-open .detail-accordion-summary .detail-accordion-chevron { transform: rotate(180deg); }
.detail-accordion-chevron { color: transparent; font-size: 20px; font-weight: 400; line-height: 1; transition: transform 160ms ease; }
.detail-accordion-chevron { font-size: 0; }
.detail-accordion-chevron::after { content: "+"; color: var(--muted); font-size: 20px; }
.detail-accordion[open] .detail-accordion-chevron::after, .detail-location-accordion.is-open .detail-accordion-chevron::after { content: "-"; }
.detail-accordion[open] .detail-accordion-chevron { transform: rotate(180deg); }
.detail-accordion-content { padding-top: 16px; }
.detail-accordion:has(> summary:focus-visible) { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 4px; }
.detail-location-accordion:has(> .detail-accordion-summary:focus-visible) { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 4px; }
.detail-location-accordion .detail-accordion-content { padding-top: 16px; }
.detail-capacity { display: inline-block; padding: 6px 12px; color: var(--green); background: #edf5ef; border-radius: 6px; font-size: 13px; }
.detail-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; font-size: 14px; margin: 0; }
.map-coordinate-fields { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 0 0 20px; }
.map-coordinate-fields legend { float: none; width: auto; font-size: 13px; font-weight: 700; }
.map-coordinate-fields .booking-note { line-height: 1.7; }
.detail-map-link { border: 1px solid var(--line); padding: 10px 16px; border-radius: 8px; font-size: 13px; }
.detail-policies .booking-policy-row p { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-booking-panel { position: sticky; top: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgb(36 49 40 / 6%); }
.detail-start-price { font-size: 20px; font-weight: 800; color: var(--green); margin-bottom: 20px; }
.detail-date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-booking-panel .form-field { min-width: 0; margin-bottom: 14px; }
.detail-booking-panel .form-control { font-size: 14px; min-height: 44px; }
.detail-calendar-section { margin: 18px 0 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.detail-calendar-section h4 { margin: 0 0 6px; font-size: 14px; }
.detail-calendar-section .booking-note { margin: 0 0 12px; }
.detail-price-breakdown { margin: 20px 0; }
.detail-price-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px; }
.detail-price-row strong { white-space: nowrap; }
.detail-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 16px; }
.detail-nightly { margin-bottom: 12px; font-size: 12px; }
.detail-nightly summary { cursor: pointer; padding: 8px 0; color: var(--green); }
.detail-nightly-list { max-height: 220px; overflow-y: auto; }
#detail-book-button { width: 100%; min-height: 48px; font-size: 14px; border-radius: 8px; }
.detail-booking-panel .booking-note { line-height: 1.7; margin-top: 12px; }
@media (max-width: 760px) {
  .property-detail-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .property-detail-shell { padding: 20px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-photo-frame { height: 270px; }
  .detail-booking-panel { position: static; padding: 18px; }
  .detail-booking-panel .form-control { font-size: 16px; }
}
@media (max-width: 560px) {
  .search-filters { padding: 14px; }
  .discovery-card .stay-art { height: 210px; }
  .amenity-options { gap: 7px; }
  .amenity-options label { padding: 8px 10px; }
}

.filter-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.filter-field > span {
  color: #4f594f;
  font-size: 10px;
  font-weight: 700;
}

.filter-field .form-control {
  min-height: 39px;
  border-color: var(--line);
  font-size: 11px;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.filter-actions .button {
  min-height: 39px;
  padding: 0 12px;
  white-space: nowrap;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-plus {
  font-size: 19px;
  font-weight: 400;
  line-height: 0;
}

.homestay-grid {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1.2rem;
  margin-inline: 0;
}

.homestay-grid > .stay-card {
  width: 100%;
  padding-inline: 0;
}

@media (min-width: 768px) {
  .homestay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .homestay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stay-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.stay-card:hover {
  box-shadow: 0 12px 30px rgb(36 49 40 / 8%);
  transform: translateY(-3px);
}

.stay-art {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(145deg, #e7c8a1, #94b09b);
}

.stay-art.has-photo::before,
.stay-art.has-photo::after {
  display: none;
}

.stay-photo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stay-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 20px;
  background: rgb(32 42 35 / 78%);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  backdrop-filter: blur(5px);
}

.stay-photo-count:hover {
  background: var(--green-dark);
}

.stay-book-button {
  width: 100%;
  min-height: 36px;
  margin-top: 13px;
  border-radius: 5px;
  font-size: 10px;
}

.stay-art::before,
.stay-art::after {
  position: absolute;
  content: "";
}

.stay-art::before {
  right: -12%;
  bottom: 0;
  left: -7%;
  height: 83px;
  border-radius: 53% 48% 0 0;
  background: #72957a;
  transform: rotate(-4deg);
}

.stay-art::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 52px;
  background: rgb(42 81 69 / 27%);
  clip-path: polygon(0 42%, 32% 23%, 61% 45%, 100% 18%, 100% 100%, 0 100%);
}

.stay-art.scene-1 {
  background: linear-gradient(155deg, #efcba7, #d5ad8b 53%, #86a28d 54%);
}

.stay-art.scene-2 {
  background: linear-gradient(155deg, #d9e0d0, #a4bd9e 53%, #587c68 54%);
}

.stay-art.scene-3 {
  background: linear-gradient(155deg, #b8d9d2, #e4c49b 54%, #468276 55%);
}

.stay-art.scene-4 {
  background: linear-gradient(155deg, #edd2ae, #dca980 53%, #678e7b 54%);
}

.stay-art.scene-5 {
  background: linear-gradient(155deg, #cbd8d4, #97b0a1 53%, #547667 54%);
}

.stay-art.scene-6 {
  background: linear-gradient(155deg, #e7c4a0, #c48f6b 53%, #5f8376 54%);
}

.stay-sun {
  position: absolute;
  top: 24px;
  right: 25px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgb(255 235 190 / 88%);
}

.stay-house {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 1;
  width: 88px;
  height: 72px;
  border: 4px solid #f0e7d4;
  background: #d9c5a4;
  box-shadow: 7px 8px 0 rgb(47 66 51 / 12%);
  transform: translateX(-50%);
}

.stay-house::before {
  position: absolute;
  top: -34px;
  left: -9px;
  width: 0;
  height: 0;
  border-right: 48px solid transparent;
  border-bottom: 34px solid #8f6348;
  border-left: 48px solid transparent;
  content: "";
}

.stay-house::after {
  position: absolute;
  right: 9px;
  bottom: 0;
  width: 18px;
  height: 30px;
  border: 3px solid #f0e7d4;
  border-bottom: 0;
  background: #8d694d;
  content: "";
}

.stay-window {
  position: absolute;
  top: 13px;
  left: 9px;
  width: 16px;
  height: 19px;
  border: 3px solid #f0e7d4;
  background: #76a198;
}

.stay-art-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 20px;
  background: rgb(255 255 255 / 84%);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.stay-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 14px;
}

.stay-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: #858a82;
  font-size: 10px;
}

.stay-rating-slot {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 24px;
  margin: 0;
}
.stay-rating {
  margin: 0;
  color: #806014;
  font-size: 10px;
  font-weight: 700;
}
.stay-rating-link { display: inline-flex; width: max-content; align-items: center; min-height: 22px; padding: 3px 7px; border: 1px solid #eadfb8; border-radius: 999px; background: #fff9e8; font: inherit; font-size: 9px; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.stay-rating-link:hover { border-color: #d1b95d; background: #fff4cc; color: #6e5310; transform: translateY(-1px); }
.reviews-dialog { width: min(620px, calc(100% - 24px)); max-height: 86dvh; padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: #fff; }
.reviews-dialog::backdrop { background: rgb(19 33 25 / 65%); backdrop-filter: blur(4px); }
.reviews-list { display: grid; gap: 12px; max-height: 58dvh; overflow-y: auto; }
.review-card { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.review-card-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.review-card-rating { color: #806014; font-size: 12px; font-weight: 700; white-space: nowrap; }
.review-card-comment { margin: 10px 0 8px; color: var(--ink); line-height: 1.6; white-space: pre-wrap; }
.review-card-date { color: var(--muted); font-size: 11px; }
.detail-review-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-review-rating { color: #806014; font-size: 14px; font-weight: 700; }
.detail-review-button { min-height: 38px; padding: 9px 14px; border: 1px solid #b8d1bd; border-radius: 9px; background: #eef6ef; color: var(--green-dark); font-size: 11px; font-weight: 800; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.detail-review-button:hover { border-color: var(--green); background: var(--green); color: #fff; transform: translateY(-1px); }

.booking-review-form { margin-top: 16px; padding: 14px; border: 1px solid #e5ebe4; border-radius: 12px; background: #fbfcfa; }
.booking-review-form h4 { margin: 0 0 10px; font-size: 14px; }
.review-form { display: grid; gap: 9px; }
.review-form label { display: grid; gap: 5px; font-size: 11px; font-weight: 700; }
.review-form select, .review-form textarea { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font: inherit; }
.review-form textarea { resize: vertical; }

.location-pin {
  color: var(--orange);
  font-size: 12px;
}

.stay-name {
  overflow: hidden;
  min-height: 24px;
  margin: 0 0 7px;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.45px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stay-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 35px;
  margin: 0 0 13px;
  min-height: 34px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stay-subtitle-row {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.stay-subtitle-row .stay-description {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.stay-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.stay-meta {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 43px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #f0efeb;
}

.stay-price {
  display: flex;
  min-height: 32px;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.stay-price small {
  color: #8a8f87;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 400;
}

.stay-price-line { display: inline-flex; align-items: baseline; flex-wrap: nowrap; gap: 4px; white-space: nowrap; }
.stay-price-original { color: #9a9f97; font-size: 10px; font-weight: 600; text-decoration-thickness: 1px; }
.stay-price-current { color: inherit; }

.stay-guests {
  color: #7d837c;
  font-size: 9px;
}

.stay-actions {
  padding: 0;
  border-top: 1px solid #f0efeb;
}

.stay-actions-summary { padding: 12px 16px; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.stay-actions-summary::-webkit-details-marker { display: none; }
.stay-actions-summary::after { content: " +"; color: #7c8f81; }
.stay-actions[open] .stay-actions-summary::after { content: " −"; }
.stay-actions-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 16px 13px; }

.text-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid #d1ded4;
  border-radius: 8px;
  background: #f8fbf8;
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.text-button:hover,
.text-button:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 3px 10px rgb(35 76 57 / 12%);
  text-decoration: none;
  transform: translateY(-1px);
}

.text-button.delete-button {
  margin-left: 0;
  border-color: #e3c8c3;
  background: #fff9f8;
  color: #b35a4d;
}

.text-button.delete-button:hover,
.text-button.delete-button:focus-visible {
  border-color: #b35a4d;
  background: #fceceb;
  color: #8e3d32;
}

.empty-state {
  padding: 55px 20px;
  border: 1px dashed #dcded6;
  border-radius: 8px;
  background: rgb(255 255 255 / 48%);
  text-align: center;
}

.empty-state[hidden],
.notice[hidden],
.form-error[hidden] {
  display: none;
}

.empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 25px;
}

.empty-state h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.no-results .empty-icon {
  background: #f4ebe5;
  color: var(--orange);
}

.notice {
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px solid #f0d2c4;
  border-radius: 5px;
  background: #fff8f4;
  color: #875541;
  font-size: 11px;
  line-height: 1.6;
}

.notice a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 16px;
}

.footer-brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px 7px 7px 2px;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  --social-color: var(--green);
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--social-color);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-instagram { --social-color: #d62976; }
.social-facebook { --social-color: #1877f2; }
.social-tiktok { --social-color: #111; }
.social-instagram-icon { fill: none !important; stroke: url(#instagram-gradient); }
.social-instagram-icon rect,
.social-instagram-icon circle:not(.instagram-dot) { fill: none; }
.social-instagram-icon .instagram-dot { fill: url(#instagram-gradient); stroke: none; }

.social-link:hover,
.social-link:focus-visible {
  background: var(--social-color);
  border-color: var(--social-color);
  color: var(--paper);
  transform: translateY(-2px);
}

.footer-top {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 14px;
}

.homestay-dialog {
  width: min(510px, calc(100% - 28px));
  max-height: min(90dvh, 790px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgb(19 34 25 / 25%);
}

.homestay-dialog::backdrop {
  background: rgb(21 31 24 / 48%);
  backdrop-filter: blur(3px);
}

.listing-form {
  padding: 27px;
}

#homestay-dialog { width: min(760px, calc(100% - 28px)); }
.owner-editor-overview { margin-bottom: 22px; padding: 18px; border-radius: 12px; background: var(--green-soft); }
.owner-editor-overview > strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.owner-field-help { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.owner-listing-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.owner-listing-status > span { padding: 5px 9px; border: 1px solid #d3dfd5; border-radius: 20px; background: #fff; color: var(--green); font-size: 11px; }
.owner-editor-section { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.owner-editor-section > summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; }
.owner-editor-section > summary::-webkit-details-marker { display: none; }
.owner-editor-section > summary > svg { margin-left: auto; flex-shrink: 0; }
.owner-editor-section > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 10px; }
.owner-editor-section[open] > summary > svg { transform: rotate(180deg); }
.owner-section-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; }
.owner-section-content { padding: 4px 18px 18px; }
#homestay-form .form-field > span { font-size: 12px; }
#homestay-form .form-control, #homestay-form .form-select { min-height: 44px; font-size: 16px; }
#homestay-form textarea.form-control { font-size: 14px; line-height: 1.7; }
.owner-section-content .map-coordinate-fields, .owner-section-content .property-policy-fields { padding: 0; border: 0; background: transparent; }
.owner-section-content .property-policy-fields legend, .owner-section-content .map-coordinate-fields legend { display: none; }
.owner-description-tips { margin: 12px 0 0; }
.owner-description-tips summary { color: var(--green); cursor: pointer; font-size: 12px; }
#owner-description-counter { text-align: right; }
#homestay-form > .dialog-actions { position: sticky; bottom: -27px; z-index: 4; margin: 20px -27px -27px; padding: 16px 27px; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 600px) {
  #homestay-form { padding: 18px; }
  #homestay-form > .dialog-actions { bottom: -18px; margin-inline: -18px; margin-bottom: -18px; padding: 14px 18px; }
  .owner-section-content { padding-inline: 14px; }
  .owner-editor-section > summary { padding-inline: 14px; }
}

.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 23px;
}

.dialog-heading h2 {
  font-size: 25px;
}

.dialog-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #747a72;
  cursor: pointer;
  font-size: 21px;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.form-field > span {
  color: #4f594f;
  font-size: 10px;
  font-weight: 700;
}

.form-field input,
.form-field select {
  font-size: 11px;
}

.form-field textarea {
  resize: vertical;
}

.guest-picker { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.guest-picker legend { float: none; width: auto; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.guest-picker.filter-field { grid-column: auto; }
.search-filters > .guest-picker { display: block; margin: 0; }
.search-filters > .filter-field > span,
.search-filters > .guest-picker > legend { margin-bottom: 0; font-size: 12px; line-height: 18px; font-weight: 600; }
.search-filters > .guest-picker > legend { margin-bottom: 7px; }
.search-filters > .filter-field > .form-control,
.search-filters > .guest-picker .guest-dropdown > summary { height: 50px; min-height: 50px; font-size: 14px; }
.search-filters > .filter-field > .form-control { padding: 10px 12px; border-radius: 8px; }
.search-price-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.price-filter-dropdown { position: relative; }
.price-filter-dropdown > summary { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green); cursor: pointer; font-size: 13px; }
.price-filter-panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 35; width: min(320px, calc(100vw - 64px)); padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.price-filter-panel .filter-field { margin-bottom: 12px; }
.price-filter-panel > button { width: 100%; }
.price-sort-control { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.price-sort-control .form-select { width: auto; max-width: 100%; min-height: 44px; font-size: 13px; }
.guest-dropdown { position: relative; min-width: 0; }
.guest-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}
.guest-dropdown > summary::-webkit-details-marker { display: none; }
.guest-dropdown > summary > span { min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.guest-dropdown > summary > svg { flex-shrink: 0; color: var(--muted); }
.guest-dropdown > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.guest-dropdown[open] > summary { border-color: var(--green); }
.guest-dropdown[open] .guest-chevron { transform: rotate(180deg); }
.guest-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(340px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(32 42 35 / 15%);
}
.guest-counter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guest-picker.filter-field .guest-popover { left: 0; right: auto; }
.guest-counter-row + .guest-counter-row { margin-top: 18px; }
.guest-counter-row label { display: grid; gap: 3px; min-width: 0; margin: 0; }
.guest-counter-row label > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.guest-counter-row label > small { font-size: 11px; line-height: 1.5; color: var(--muted); }
.guest-stepper { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.guest-stepper button {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  padding: 0; border: 1px solid #c7d3ca; border-radius: 50%;
  background: #fff; color: var(--green); font-size: 21px; line-height: 1; cursor: pointer;
}
.guest-stepper button:disabled { background: #f3f4f2; color: #b4bab5; cursor: default; }
.guest-stepper button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.guest-stepper .guest-count-input {
  width: 34px; min-width: 0; height: 38px; padding: 0;
  border: 0; background: transparent; color: var(--ink);
  font-size: 18px; font-weight: 600; text-align: center; appearance: textfield;
}
.guest-count-input::-webkit-inner-spin-button,
.guest-count-input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
@media (max-width: 600px) {
  .guest-picker.form-field .guest-popover { left: 0; right: auto; width: 100%; padding: 14px; }
}
@media (pointer: coarse) {
  .guest-stepper button { width: 44px; height: 44px; }
}

.password-input-wrap { position: relative; }
.password-input-wrap .form-control { padding-right: 48px; }
.password-visibility {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.password-visibility:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.password-eye-slash { display: none; }
.password-visibility[aria-pressed="true"] .password-eye-slash { display: block; }

.form-control::placeholder {
  color: #adafa8;
}

.image-manager {
  margin: 4px 0 19px;
}

.image-manager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4f594f;
  font-size: 10px;
  font-weight: 700;
}

.image-limit {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.image-help {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.image-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.image-preview {
  width: 88px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.image-preview img {
  width: 88px;
  height: 72px;
  display: block;
  object-fit: cover;
}

.image-preview figcaption {
  overflow: hidden;
  padding: 4px 5px;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-remove {
  width: 100%;
  padding: 5px 2px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: #a94e45;
  cursor: pointer;
  font-size: 8px;
}

.image-remove:hover {
  background: #fff5f2;
}

.image-picker {
  width: fit-content;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 7px 10px;
  border: 1px dashed #cbd4c9;
  border-radius: 5px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.image-picker:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.image-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.image-picker:focus-within {
  outline: 3px solid rgb(223 128 87 / 55%);
  outline-offset: 3px;
}

.image-picker-icon {
  font-size: 15px;
  font-weight: 400;
  line-height: 0.8;
}

.booking-property,
.booking-note {
  margin: -8px 0 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.booking-note {
  margin: 3px 0 12px;
  padding: 10px 12px;
  border: 1px solid #dce6db;
  border-radius: 5px;
  background: #f1f6f0;
  color: var(--green);
}

.availability-calendar {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-month {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

.calendar-nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

.calendar-weekday {
  padding: 5px 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  display: grid;
  min-width: 0;
  min-height: 43px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

button.calendar-day {
  cursor: pointer;
}

button.calendar-day:disabled {
  cursor: not-allowed;
}

button.calendar-day:focus-visible,
.calendar-nav:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.calendar-day-empty {
  min-height: 43px;
}

.calendar-day-number {
  line-height: 1.1;
}

.calendar-day-price {
  max-width: 100%;
  overflow: hidden;
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-available {
  background: #e6f3e8;
  color: #24663b;
}

.calendar-day.is-promotion {
  border-color: #e1bf63;
  background: #fff8df;
  box-shadow: inset 0 0 0 1px rgb(225 191 99 / 40%);
}

.calendar-day.is-promotion .calendar-day-price {
  color: #806014;
  font-weight: 800;
}

button.status-available:hover:not(:disabled) {
  border-color: #36834e;
  background: #d2ead7;
}

.status-blocked {
  background: #fae5e3;
  color: #a23935;
}

.status-booked {
  background: #e4ebfb;
  color: #355da5;
}

.status-pending {
  background: #fff0c2;
  color: #8a5a00;
}

.status-past {
  background: #f1f1ee;
  color: #a4a7a0;
}

.calendar-day.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 13px;
}

.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}

.calendar-legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.calendar-legend-dot.status-promotion {
  background: #e1bf63;
}

.calendar-help {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.availability-dialog {
  width: min(680px, calc(100% - 28px));
}

.availability-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  margin: 0 0 24px;
  border-radius: 10px;
  background: var(--green-soft);
}
.availability-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.availability-tabs button[aria-selected="true"] {
  background: var(--green);
  color: #fff;
}
.availability-tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.availability-panel { min-width: 0; margin: 0; padding: 0; border: 0; }
.availability-extra-prices { margin: 18px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.availability-extra-prices summary { margin-bottom: 12px; color: var(--green); font-weight: 600; cursor: pointer; }
.owner-date-selection { margin: 14px 0 20px; padding: 12px; border-radius: 8px; background: var(--green-soft); color: var(--green); line-height: 1.5; }
#availability-panel-price .pricing-settings { display: block; padding: 0; border: 0; background: transparent; }
#availability-panel-price .form-field { margin-bottom: 16px; }
#availability-panel-discount .discount-settings { grid-template-columns: 1fr; border: 0; padding: 0; margin: 0; }
#availability-panel-price input, #availability-panel-discount input, #availability-panel-calendar input,
#availability-panel-calendar select { min-height: 44px; font-size: 16px; }
#availability-panel-price > .pricing-settings > button { width: 100%; min-height: 44px; }

.pricing-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9f5;
}

.pricing-settings .availability-list-heading,
.pricing-settings .booking-note,
.pricing-settings > button {
  grid-column: 1 / -1;
}

.pricing-settings .availability-list-heading {
  margin-top: 0;
}

.pricing-settings .form-field {
  margin-bottom: 10px;
}

.discount-settings {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.discount-settings > h4,
.discount-settings > h5,
.discount-settings > .booking-note,
.discount-settings > .stay-discount-tiers,
.discount-settings > button {
  grid-column: 1 / -1;
}

.discount-settings .availability-list-heading {
  margin: 6px 0 8px;
}

.discount-settings .booking-note {
  margin-top: 0;
}

.discount-value-row,
.stay-discount-tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.stay-discount-tiers {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

.stay-discount-tier {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.stay-discount-tier .form-field {
  margin: 0;
}

.stay-discount-tier .form-field > span {
  font-size: 9px;
}

.remove-stay-discount-tier {
  min-height: 36px;
  padding: 0 8px;
}

.availability-list-heading {
  margin: 22px 0 9px;
  font-size: 13px;
}

.availability-list {
  display: grid;
  gap: 8px;
}

.availability-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
}

.availability-item-text {
  line-height: 1.5;
}

.availability-empty {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.bookings-dialog {
  width: min(620px, calc(100% - 28px));
}

.booking-list {
  display: grid;
  gap: 10px;
}

.booking-empty {
  margin: 0;
  padding: 22px 12px;
  border: 1px dashed #dcded6;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.booking-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

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

.booking-item-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.booking-status {
  padding: 4px 8px;
  border-radius: 20px;
  background: #f3efe3;
  color: #80672e;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.booking-status.status-confirmed {
  background: #e6f1e8;
  color: #346547;
}

.booking-status.status-rejected {
  background: #f8e9e6;
  color: #a24d42;
}

.booking-status.status-cancelled {
  background: #eeeae6;
  color: #6d6257;
}

.booking-cancellation-note,
.booking-cancellation-policy {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.5;
}

.booking-cancellation-note {
  background: #f1f4f8;
  color: #41516b;
}

.booking-cancellation-policy {
  border: 1px solid #f0dfc4;
  background: #fff8ed;
  color: #775a32;
}

.booking-dates {
  margin: 9px 0 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.booking-details {
  margin: 3px 0;
  color: var(--muted);
  font-size: 10px;
}

.booking-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.booking-actions .button {
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 9px;
}

.role-intro {
  margin: -7px 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.profile-photo {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 0 0 20px;
  text-align: center;
}

.profile-photo > img,
.profile-photo > span[aria-hidden="true"] {
  width: 76px;
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.profile-photo > img {
  object-fit: cover;
}

.profile-photo > span[aria-hidden="true"] {
  display: grid;
  place-items: center;
  font-size: 28px;
}

.profile-photo .booking-note {
  margin: 0;
}

#profile-fields > .booking-note {
  margin: -5px 0 14px;
  overflow-wrap: anywhere;
}

#profile-fields > .form-error {
  margin-bottom: 12px;
}

#profile-fields > button {
  width: 100%;
}

.profile-save-status {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  line-height: 1.5;
}

.demo-warning {
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid #eed5bd;
  border-radius: 5px;
  background: #fff8ef;
  color: #896344;
  font-size: 10px;
  line-height: 1.6;
}

.booking-price-estimate {
  margin: -5px 0 15px;
  padding: 10px 12px;
  border: 1px solid #dce3d9;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.form-row {
  margin-bottom: 15px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.dialog-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 23px;
}

.button-quiet {
  border-color: var(--line);
  background: #fff;
  color: #626960;
}

.button-quiet:hover {
  border-color: #cdd0c8;
}

.form-error {
  margin: 3px 0 0;
  color: #ae5148;
  font-size: 11px;
  line-height: 1.6;
}

.singgah-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 17px;
  border-radius: 6px;
  background: var(--green-dark);
  box-shadow: 0 10px 30px rgb(22 47 34 / 20%);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 170ms ease, transform 170ms ease;
}

#owner-onboarding-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 28px;
  border: 1px solid var(--green-dark);
  border-radius: 16px;
}
#owner-onboarding-dialog::backdrop { background: rgb(0 0 0 / 40%); }
#owner-onboarding-dialog p { line-height: 1.7; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.gallery-dialog {
  position: relative;
  width: min(1000px, calc(100% - 20px));
  max-width: 1000px;
  max-height: 92dvh;
  padding: 42px 56px 16px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 10px;
  background: #17221b;
  box-shadow: 0 24px 80px rgb(19 34 25 / 35%);
  color: #fff;
}

.gallery-dialog::backdrop {
  background: rgb(12 19 14 / 78%);
  backdrop-filter: blur(3px);
}

.gallery-dialog > img {
  width: 100%;
  max-height: calc(92dvh - 110px);
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 2;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  background: rgb(23 34 27 / 75%);
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-nav:hover {
  background: var(--green);
}

.gallery-previous {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-caption {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 10px;
  text-align: center;
}

@media (max-width: 850px) {
  .filter-actions {
    grid-column: 1 / -1;
  }

  .topbar,
  .hero,
  .workspace,
  .footer {
    width: min(100% - 40px, 680px);
  }

  .hero {
    min-height: 420px;
    padding-block: 42px 50px;
  }

  .gallery-dialog {
    padding: 42px 43px 14px;
  }

  .hero h1 {
    font-size: clamp(36px, 6vw, 50px);
    letter-spacing: -2.8px;
  }

  .hero-art {
    min-height: 310px;
  }

  .hero-house {
    right: 18%;
    transform: scale(0.85);
    transform-origin: bottom right;
  }

}

@media (max-width: 600px) {
  .topbar,
  .hero,
  .workspace,
  .footer {
    width: calc(100% - 36px);
  }

  .topbar {
    height: 68px;
  }

  .brand {
    font-size: 19px;
  }

  .topbar-note {
    display: none;
  }

  .topbar-link {
    font-size: 10px;
  }

  .topbar-actions {
    gap: 10px;
  }

  .account-button {
    max-width: min(105px, 30vw);
    padding-inline: 8px;
    font-size: 9px;
  }

  .hero {
    padding-block: 40px 44px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: clamp(36px, 10vw, 54px);
    letter-spacing: -2.5px;
  }

  .hero-description {
    max-width: 440px;
    font-size: 13px;
  }

  .hero-footnote {
    margin-top: 26px;
  }

  .hero-art {
    min-height: 270px;
  }

  .sun {
    top: 32px;
    right: 65px;
    width: 62px;
    height: 62px;
  }

  .hero-house {
    right: 26%;
    bottom: 53px;
    transform: scale(0.76);
    transform-origin: bottom right;
  }

  .hero-palm {
    bottom: 73px;
  }

  .hero-hill {
    bottom: 69px;
  }

  .hero-water {
    height: 92px;
  }

  .workspace {
    padding-block: 34px 58px;
  }

  .section-heading h2 {
    font-size: clamp(23px, 7vw, 27px);
    letter-spacing: -1.2px;
  }

  .section-subtitle {
    max-width: 100%;
    line-height: 1.5;
  }

  .section-count {
    gap: 4px;
    font-size: 9px;
  }

  .section-count span:first-child {
    font-size: 21px;
  }

  .toolbar {
    flex-direction: column;
    margin-block: 23px 17px;
  }

  .search-box {
    width: 100%;
  }

  .search-filters {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    grid-column: auto;
  }

  .toolbar > .button {
    width: 100%;
  }

  .stay-art {
    height: 195px;
  }

  .footer {
    min-height: 70px;
  }

  .footer > span {
    max-width: 155px;
    line-height: 1.5;
    text-align: center;
  }

  .footer-socials {
    gap: 6px;
  }

  .listing-form {
    padding: 18px;
  }

  .form-field .form-control,
  .form-field .form-select,
  .filter-field .form-control,
  .search-box input {
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
  }

  .search-box {
    height: 46px;
  }

  .stay-actions .text-button {
    min-height: 40px;
    padding-block: 9px;
  }

  .pricing-settings {
    grid-template-columns: 1fr;
  }

  .discount-settings {
    grid-template-columns: 1fr;
  }

  .stay-discount-tier {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-heading h2 {
    font-size: 22px;
  }

  .availability-calendar {
    padding: 9px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-day,
  .calendar-day-empty {
    min-height: 40px;
  }

  .calendar-day-price {
    font-size: 6px;
  }

  .dialog-actions {
    flex-wrap: wrap;
  }

  .dialog-actions .button {
    min-height: 44px;
    flex: 1 1 135px;
  }

  .gallery-dialog {
    padding: 42px 38px 14px;
  }

  .gallery-dialog > img {
    max-height: calc(92dvh - 100px);
  }

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

@media (max-width: 420px) {
  .topbar {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 9px;
    padding-block: 10px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .topbar-link {
    display: none;
  }

  .account-button {
    max-width: 34vw;
    min-height: 36px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .language-picker select {
    min-height: 36px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .section-count {
    flex: 0 0 auto;
    margin-top: 22px;
  }

  .section-count span:last-child {
    max-width: 48px;
    line-height: 1.3;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filter-actions .button {
    width: 100%;
    min-height: 44px;
  }

  .stay-meta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .booking-actions {
    flex-wrap: wrap;
  }

  .booking-actions .button {
    min-height: 40px;
    flex: 1 1 120px;
  }

  .stay-discount-tier {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .remove-stay-discount-tier {
    min-height: 40px;
  }

  .gallery-dialog {
    padding-inline: 34px;
  }
}

.booking-summary-dialog { width: min(720px, calc(100% - 24px)); }
.payment-receipt-dialog { width: min(720px, calc(100% - 24px)); }
.payment-receipt-dialog .listing-form { position: relative; }
.receipt-close-top { position: absolute; top: 18px; right: 18px; }
#payment-receipt-content:focus { outline: none; }
#payment-receipt-content h2 { padding-right: 40px; }
.receipt-number { color: var(--green); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.receipt-sandbox { padding: 12px 14px; border: 1px solid #d9ad5a; border-radius: 8px; background: #fff4d9; color: #765009; font-size: 12px; font-weight: 750; line-height: 1.6; }
.receipt-paid-amount { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0; padding: 20px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); }
.receipt-paid-amount span { font-size: 13px; }
.receipt-paid-amount strong { white-space: nowrap; font-size: 28px; }
.receipt-status-notice { padding: 12px 14px; border-left: 3px solid #c48930; background: #fff4e3; color: #765009; font-size: 12px; line-height: 1.7; }
.guest-booking .receipt-open-action { width: 100%; margin-top: 14px; min-height: 46px; border: 1.5px solid #8eb09a; border-radius: 9px; background: #edf5ee; color: #234c39; font-size: 13px; font-weight: 700; }
.receipt-open-action:hover { background: #dfeddf; }
.receipt-open-action:focus-visible { outline: 3px solid #cf9233; outline-offset: 3px; }
@media (max-width: 600px) {
  .receipt-info { grid-template-columns: 1fr; gap: 5px; }
  .receipt-info dd { margin-bottom: 10px; }
  .receipt-paid-amount { flex-wrap: wrap; padding: 16px; }
  .receipt-paid-amount strong { font-size: 24px; }
}
.stay-rate-note { min-height: 33px; font-size: 11px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
#bookings-dialog[data-owner="true"] { width: min(1000px, calc(100% - 24px)); }
.owner-booking-tools { margin-bottom: 24px; }
.owner-booking-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.owner-booking-filters label { display: grid; gap: 6px; font-size: 12px; }
.owner-booking-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.owner-report-total { border: 1px solid var(--line); background: var(--paper); padding: 14px; border-radius: 12px; }
.owner-report-total span, .owner-report-total strong { display: block; }
.owner-report-total span { font-size: 12px; color: var(--muted); }
.owner-report-total strong { margin-top: 7px; font-size: 20px; }
.owner-report-export { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.owner-report-export .button { flex-shrink: 0; }
@media (max-width: 600px) {
  .owner-booking-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-booking-filters label:first-child { grid-column: 1 / -1; }
  .owner-booking-totals { grid-template-columns: 1fr; }
  .owner-report-export { flex-direction: column; align-items: stretch; gap: 8px; }
}
.summary-reference { font-weight: 700; color: var(--green); margin: 16px 0; }
.summary-info { display: grid; grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr); gap: 10px 20px; margin: 24px 0; }
.summary-info dt { font-size: 13px; color: var(--muted); font-weight: 500; }
.summary-info dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.summary-subheading { font-size: 16px; font-weight: 700; margin: 24px 0 12px; }
.summary-price-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 20px; }
.summary-price-table th, .summary-price-table td { border-bottom: 1px solid var(--line); padding: 10px 5px; text-align: right; }
.summary-price-table th:first-child, .summary-price-table td:first-child { text-align: left; }
.summary-amount { font-size: 14px; text-align: right; }
.summary-total { font-size: 20px; font-weight: 700; text-align: right; padding-top: 12px; border-top: 2px solid var(--green); }
.summary-policy { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-panel { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.notification-panel h3 { font-size: 16px; font-weight: 700; }
.notification-status { font-size: 13px; margin-bottom: 8px; }

@page { size: A4; margin: 16mm; }
@media print {
  body.print-payment-receipt { background: white; min-width: 0; color: black; }
  body.print-payment-receipt > :not(#payment-receipt-dialog) { display: none !important; }
  body.print-payment-receipt #payment-receipt-dialog {
    display: block !important; position: static; width: 100%; max-width: none;
    max-height: none; height: auto; overflow: visible; margin: 0; padding: 0;
    border: 0; box-shadow: none; background: white;
  }
  #payment-receipt-dialog::backdrop { background: transparent; }
  #payment-receipt-dialog .listing-form { padding: 0; }
  #payment-receipt-dialog .summary-controls { display: none !important; }
  #payment-receipt-content h2 { font-size: 25px; }
  .receipt-info { grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 8px 16px; }
  .receipt-info dd, .receipt-info dt { margin: 0; font-size: 11px; }
  .receipt-paid-amount, .receipt-sandbox, .receipt-status-notice { break-inside: avoid; print-color-adjust: exact; }
  body.print-booking-summary { background: white; min-width: 0; color: black; }
  body.print-booking-summary > :not(#booking-summary-dialog) { display: none !important; }
  body.print-booking-summary #booking-summary-dialog {
    display: block !important; position: static; width: 100%; max-width: none;
    max-height: none; height: auto; overflow: visible; margin: 0; padding: 0;
    border: 0; box-shadow: none; background: white;
  }
  #booking-summary-dialog::backdrop { background: transparent; }
  #booking-summary-dialog .listing-form { padding: 0; }
  #booking-summary-dialog .summary-controls { display: none !important; }
  .summary-price-table thead { display: table-header-group; }
  .summary-price-table tr, .summary-info, .summary-total { break-inside: avoid; }
  .summary-subheading { break-after: avoid; }
}

.property-policy-fields,
.booking-policies {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.property-policy-fields legend { float: none; width: auto; font-size: 17px; font-weight: 700; }
.policy-time-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 4.75rem;
  gap: 8px;
}
.policy-time-picker .form-select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 28px 8px 10px;
  background-position: right 7px center;
}
@media (max-width: 400px) {
  .policy-time-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-time-picker .form-select:first-child { grid-column: 1 / -1; }
}
.booking-policies h3 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.booking-policy-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.booking-policy-row h4 { font-size: 13px; font-weight: 700; }
.booking-policy-row p { font-size: 14px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.policy-unspecified { color: var(--muted); }
.booking-policies > .booking-note { margin-top: 16px; }

.account-dashboard {
  width: min(1160px, calc(100% - 64px));
  padding: 36px 0 22px;
}

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

.dashboard-heading h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -1.3px;
  overflow-wrap: anywhere;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.dashboard-stat {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.dashboard-stat:first-child {
  background: var(--green);
  color: white;
}

.dashboard-stat-label,
.dashboard-stat-value { display: block; }
.dashboard-stat-label { font-size: 13px; }
.dashboard-stat-value { margin-top: 12px; font-size: 36px; line-height: 1.1; }

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 20px;
}

.dashboard-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.dashboard-panel h2 { font-size: 18px; font-weight: 700; }
.dashboard-panel > p,
.dashboard-empty { color: var(--muted); font-size: 14px; line-height: 1.7; }
.dashboard-text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  flex-shrink: 0;
}

.dashboard-request { padding: 12px 0; border-top: 1px solid var(--line); }
.dashboard-request strong,
.dashboard-request span { display: block; overflow-wrap: anywhere; }
.dashboard-request strong { font-size: 14px; }
.dashboard-request span { font-size: 12px; color: var(--muted); margin-top: 4px; }
#dashboard-attention > .button { margin-top: 14px; }
.dashboard-stay {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.dashboard-panel-heading { margin-bottom: 18px; }
.dashboard-stay h3 { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.dashboard-stay p { font-size: 12px; margin: 6px 0; }
.dashboard-stay small { color: var(--muted); }
.dashboard-stay-detail { text-align: right; flex-shrink: 0; }
.dashboard-stay-detail strong { display: block; font-size: 15px; margin-bottom: 8px; }
.dashboard-stay-detail .booking-status { display: inline-block; }

@media (max-width: 767px) {
  .account-dashboard { width: calc(100% - 40px); }
  .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dashboard-stat { padding: 18px; }
  .dashboard-panels { grid-template-columns: 1fr; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .dashboard-panel { padding: 20px; }
  .dashboard-panel-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .dashboard-stay { flex-wrap: wrap; }
  .dashboard-stay-detail { text-align: left; }
}

@media (max-width: 600px) {
  input.form-control, textarea.form-control, select.form-select,
  .search-box input, .language-picker select { font-size: 16px; }
  .policy-time-picker .form-select { font-size: 16px; min-height: 44px; }
  .account-button, .dialog-close, .dashboard-text-button { min-height: 44px; }
  .topbar { height: auto; min-height: 68px; flex-wrap: wrap; padding-block: 12px; }
  .topbar-actions { flex-wrap: wrap; }
  .calendar-day, .calendar-day-empty { min-height: 54px; }
  .calendar-day-price { font-size: 9px; }
  .summary-info { grid-template-columns: 1fr; gap: 4px; }
  .summary-info dd { margin-bottom: 12px; }
  .summary-price-table { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Private messaging and arrival details. */
.communications-dialog {
  width: min(720px, calc(100% - 40px)); max-height: min(860px, 90dvh);
  padding: 0; border: 1px solid var(--line); border-radius: 24px;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgb(20 40 28 / 24%);
}
.communications-dialog::backdrop { background: rgb(20 32 25 / 48%); backdrop-filter: blur(5px); }
.communications-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 25px 28px; border-bottom: 1px solid var(--line); background: var(--white);
}
.communications-heading-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.communications-heading-main > div { min-width: 0; }
.communications-emblem { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.communications-eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.communications-heading h2 { font: 750 23px/1.3 "Manrope", sans-serif; letter-spacing: -.7px; margin: 0; overflow-wrap: anywhere; }
#communications-close { flex-shrink: 0; min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 12px; }
#communications-status { margin: 18px 28px 0; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-size: 13px; line-height: 1.7; }
#communications-status:empty { display: none; }
#communications-content { display: grid; gap: 18px; padding: 24px 28px 28px; }
.inbox-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inbox-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.message-tool-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border: 0; padding: 8px 10px; border-radius: 9px; background: transparent; color: var(--green); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.message-tool-button:hover { background: var(--green-soft); }
.message-refresh::before { content: "\21bb"; font-size: 19px; font-weight: 400; }
.conversation-list { display: grid; gap: 10px; }
.conversation-row { display: flex; width: 100%; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); text-align: left; transition: border-color .15s, box-shadow .15s; }
.conversation-row:hover { border-color: #b6cbbc; box-shadow: 0 5px 18px rgb(37 77 59 / 6%); }
.conversation-avatar { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 15px; background: var(--green-soft); color: var(--green); font: 700 20px "Manrope", sans-serif; }
.conversation-copy { display: grid; gap: 5px; min-width: 0; }
.conversation-copy strong { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.conversation-copy > span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.conversation-arrow { margin-left: auto; color: var(--green); font-size: 21px; padding-left: 8px; }
.message-empty-state { display: grid; justify-items: center; text-align: center; padding: 40px 25px 50px; }
.message-empty-symbol { width: 68px; height: 60px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 22px 22px 22px 5px; background: var(--green-soft); color: var(--green); font: 700 32px "Manrope", sans-serif; }
.message-empty-state h3, .thread-empty-state h3 { margin: 0 0 9px; font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
.message-empty-state p, .thread-empty-state p { max-width: 330px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.message-thread-tools { display: flex; justify-content: space-between; align-items: center; }
.communications-thread #communications-content { gap: 0; padding: 12px 24px 18px; }
.message-history { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: clamp(220px, 37dvh, 380px); overflow-y: auto; overscroll-behavior: contain; padding: 22px 4px; scrollbar-width: thin; scrollbar-color: #cbd6ce transparent; }
.thread-empty-state { display: grid; justify-items: center; text-align: center; width: 100%; margin: auto; padding: 28px; }
.message-bubble { max-width: 82%; padding: 13px 17px 10px; border: 1px solid var(--line); border-radius: 17px 17px 17px 4px; background: var(--white); overflow-wrap: anywhere; flex-shrink: 0; }
.message-sender { display: block; color: var(--green); font-size: 11px; font-weight: 700; margin-bottom: 5px; }
.message-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 8px; font-size: 14px; line-height: 1.75; }
.message-time { display: block; color: var(--muted); text-align: right; font-size: 10px; }
.message-mine { align-self: flex-end; background: var(--green); color: var(--white); border-color: var(--green); border-radius: 17px 17px 4px 17px; }
.message-mine .message-sender { color: #e0ede3; }
.message-mine .message-time { color: #c5d8cc; }
#communications-content .message-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 16px; border: 1px solid #d6dfd8; border-radius: 17px; background: var(--white); }
.message-input-label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
#communications-content .message-compose textarea { width: 100%; padding: 0; border: 0; border-radius: 4px; resize: vertical; min-height: 48px; max-height: 150px; color: var(--ink); background: transparent; font-size: 14px; font-weight: 400; line-height: 1.6; }
#communications-content .message-compose textarea::placeholder { color: #8c948e; }
#communications-content .message-compose textarea:focus-visible { outline-offset: 4px; }
.message-send { min-height: 44px; padding: 11px 17px; border: 1px solid var(--green); border-radius: 12px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; }
.message-send:hover { background: var(--green-dark); border-color: var(--green-dark); }
.message-send::after { content: "\2197"; margin-left: 8px; font-size: 17px; }
.message-send:disabled { opacity: .55; cursor: wait; }
.message-platform-note { margin: 12px 10px 0; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: center; }
#communications-content form:not(.message-compose) { display: grid; gap: 16px; }
#communications-content form:not(.message-compose) textarea { width: 100%; padding: 12px; border: 1px solid #c9d5cd; border-radius: 10px; background: var(--white); }
.arrival-instructions { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
.arrival-contact { padding: 18px; border: 1px solid #d6e2d8; border-radius: 16px; background: #f1f6ef; }
.arrival-contact h3 { margin: 0 0 14px; font-size: 15px; font-weight: 750; color: var(--green-dark); }
.arrival-contact-actions { display: grid; gap: 12px; }
.arrival-contact-action {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px;
  padding: 15px 16px; border: 1.5px solid #b8ccbf; border-radius: 12px;
  background: #fff; color: #234c39; text-align: left; text-decoration: none;
  font: inherit; cursor: pointer; transition: box-shadow .15s ease, background .15s ease;
}
.arrival-contact-action:hover { background: #e8f1e8; color: #173c2a; box-shadow: 0 4px 12px rgb(22 47 34 / 10%); }
.arrival-contact-action:focus-visible { outline: 3px solid #cf9233; outline-offset: 3px; }
.arrival-contact-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: #e7f0e8; }
.arrival-contact-copy { flex: 1; min-width: 0; }
.arrival-contact-copy strong { display: block; font-size: 15px; font-weight: 750; line-height: 1.4; }
.arrival-contact-copy small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.arrival-contact-arrow { font-size: 22px; flex-shrink: 0; }
.arrival-contact-whatsapp { background: #157543; border-color: #157543; color: #fff; }
.arrival-contact-whatsapp:hover { background: #105d35; border-color: #105d35; color: #fff; }
.arrival-contact-whatsapp .arrival-contact-icon { background: rgb(255 255 255 / 15%); }
@media (max-width: 600px) {
  .arrival-contact { padding: 14px; }
  .arrival-contact-action { padding: 14px 12px; gap: 10px; }
  .arrival-contact-copy strong { font-size: 14px; }
}
@media (max-width: 600px) {
  .communications-dialog { width: calc(100% - 20px); max-height: 94dvh; border-radius: 19px; }
  .communications-heading { padding: 19px 16px; gap: 10px; }
  .communications-heading-main { gap: 10px; }
  .communications-emblem { width: 39px; height: 39px; border-radius: 12px; }
  .communications-heading h2 { font-size: 18px; }
  .communications-eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  #communications-content { padding: 18px 16px 22px; }
  #communications-status { margin-inline: 16px; }
  .communications-thread #communications-content { padding: 10px 12px 15px; }
  .conversation-row { padding: 16px 13px; gap: 12px; }
  .conversation-avatar { width: 40px; height: 40px; border-radius: 12px; }
  .inbox-intro { align-items: flex-start; gap: 8px; }
  .message-history { height: clamp(190px, 36dvh, 360px); }
  .message-bubble { max-width: 89%; padding: 12px 14px 9px; }
  #communications-content .message-compose { padding: 12px; gap: 8px; }
  #communications-content .message-compose textarea { font-size: 16px; }
  .message-send { padding: 10px 12px; }
  .message-send::after { display: none; }
}

.detail-host-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.detail-host-help h3 { margin-bottom: 8px; }
.detail-host-help .booking-note { margin-bottom: 0; }
.detail-host-help .button { flex-shrink: 0; }
.checkout-account-dialog { width: min(510px, calc(100% - 24px)); }
.checkout-account-dialog h2 { font-size: 26px; letter-spacing: -.7px; }
.checkout-stay-summary { padding: 18px; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.checkout-stay-summary p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.checkout-account-actions { display: grid; gap: 12px; margin-top: 24px; }
.checkout-account-actions .button { width: 100%; justify-content: center; }
.checkout-account-actions .button-quiet, .detail-host-help .button-quiet { padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--green); font-weight: 600; }
.checkout-account-actions .button-quiet:hover, .detail-host-help .button-quiet:hover { background: var(--green-soft); border-color: #b6cbbc; }
@media (max-width: 600px) { .detail-host-help { align-items: flex-start; flex-direction: column; gap: 16px; padding: 18px; } }

.booking-payment-panel { margin-top: 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.payment-status { display: inline-block; font-size: 13px; color: var(--green); }
.payment-sandbox { display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 6px; color: #714d15; background: #fff0cd; font-size: 10px; font-weight: 700; }
.booking-payment-panel .booking-note { margin-top: 10px; }
.booking-payment-panel .booking-note:empty { display: none; }
.booking-payment-panel .button-quiet { border: 1px solid var(--line); border-radius: 9px; background: var(--white); padding: 10px 14px; }
.booking-payment-panel .payment-verify-button {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  width: 100%; min-height: 64px; padding: 13px 15px; border: 1.5px solid #8eb09a;
  border-radius: 11px; background: #edf5ee; color: #234c39; text-align: left;
}
.booking-payment-panel .payment-verify-button:hover { background: #dfeddf; border-color: #346547; box-shadow: 0 3px 10px rgb(22 47 34 / 10%); }
.payment-verify-button:focus-visible { outline: 3px solid #cf9233; outline-offset: 3px; }
.payment-verify-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: #dbeade; }
.payment-verify-copy strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 750; }
.payment-verify-copy small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.5; font-weight: 400; }
.payment-verify-button:disabled { opacity: .7; cursor: wait; }
.payment-verify-button[aria-busy="true"] .payment-verify-icon svg { animation: payment-check-spin 1.2s linear infinite; }
@keyframes payment-check-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .payment-verify-button[aria-busy="true"] .payment-verify-icon svg { animation: none; } }
@media (max-width: 600px) { .booking-payment-panel .booking-actions { display: grid; gap: 10px; } }

.security-deposit-notice { margin: 1rem 0; padding: 1rem; border: 1px solid #d8b96b; border-radius: 12px; background: #fff9e9; color: #343324; }
.security-deposit-notice h3, .security-deposit-notice h4 { margin: .4rem 0; }
.security-deposit-notice p { white-space: pre-wrap; overflow-wrap: anywhere; margin: .5rem 0; }
.security-deposit-notice .deposit-amount { font-weight: 750; font-size: 1.25rem; }
.deposit-editor { margin: 1rem 0; padding: 1rem; border: 1px solid #d8b96b; border-radius: 12px; }

.security-deposit-notice h4 { font-size: 1rem; font-weight: 650; }

.owner-deposit-button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 76px; margin: 12px 0; padding: 14px 16px; border: 1.5px solid #c9ad6a; border-radius: 12px; background: #fff8e7; color: #5e481d; text-align: left; font: inherit; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.owner-deposit-button:hover { background: #fff0cc; border-color: #9b752c; box-shadow: 0 3px 10px rgb(94 72 29 / 10%); }
.owner-deposit-button:focus-visible { outline: 3px solid #346547; outline-offset: 3px; }
.owner-deposit-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: #f3e4bd; }
.owner-deposit-copy { flex: 1; min-width: 0; }
.owner-deposit-copy strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.4; }
.owner-deposit-copy small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; line-height: 1.5; }
.owner-deposit-arrow { flex: 0 0 auto; font-size: 22px; }

/* Deposit terms use a compact heading hierarchy and separate readable sections. */
section.security-deposit-notice { padding: 22px; background: #fffdf7; border-color: #e2d7bd; color: #303b33; }
section.security-deposit-notice > h3 { font-size: 17px; line-height: 1.4; font-weight: 750; margin: 0 0 10px; }
section.security-deposit-notice > .deposit-amount { display: inline-block; margin: 0 0 12px; padding: 7px 12px; border-radius: 8px; background: #f5e9c9; color: #60491c; font-size: 21px; line-height: 1.3; }
section.security-deposit-notice > p { font-size: 13px; line-height: 1.75; }
section.security-deposit-notice > h4.deposit-section-label { margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid #e9e1d0; font-size: 12px; line-height: 1.5; font-weight: 750; letter-spacing: .025em; color: #6e634b; }
section.security-deposit-notice > p.deposit-detail { margin: 0; font-size: 14px; line-height: 1.8; white-space: pre-line; }
.deposit-payment_instructions { font-variant-numeric: tabular-nums; }
.deposit-terms-list { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.deposit-terms-list li { padding-left: 3px; margin-bottom: 7px; overflow-wrap: anywhere; }
.deposit-whatsapp-button { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; padding: 12px 14px; border: 1px solid #146b42; border-radius: 10px; background: #167447; color: #fff; font-size: 13px; line-height: 1.5; font-weight: 700; text-decoration: none; text-align: center; }
.deposit-whatsapp-button:hover { background: #105d38; color: #fff; }
.deposit-whatsapp-button:focus-visible { outline: 3px solid #c89a42; outline-offset: 3px; }
.deposit-contact-note { display: block; margin-top: 8px; font-size: 11px; line-height: 1.6; color: #666b62; }
@media (max-width: 480px) { section.security-deposit-notice { padding: 16px; } }
