:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --muted: #6a6a6a;
  --text: #1a1a1a;
  --border: rgba(17, 17, 17, 0.12);
  --shadow: rgba(17, 24, 39, 0.08);
  --brand: #f52800;
  --brand-dark: #c91f00;
  --brand-soft: #fff0ec;
  --brand-shadow: rgba(245, 40, 0, 0.24);
  --content-width: 1440px;
}

.nav-dropdown-heading {
  padding: 8px 12px 4px;
  color: #68747e;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(201, 31, 0, 0.72);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px 14px 28px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: 176px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 320px;
}

.nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: #2f2f2f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 10px 14px 12px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-item:hover,
.host-btn:hover {
  background: #f5f5f5;
  color: #111;
}

.nav-item .nav-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
}

.nav-item .nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 190px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 32px var(--shadow);
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: #f5f5f5;
}

.nav-item.active {
  color: #111;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -8px;
  height: 2px;
  background: #111;
  border-radius: 999px;
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 220px;
}

.host-btn,
.icon-btn,
.profile-trigger {
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
}

.host-btn {
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  color: #1f1f1f;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.saved-properties-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
}

.saved-properties-link:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.saved-properties-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(13%) sepia(5%) saturate(0%) hue-rotate(154deg) brightness(96%) contrast(90%);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.icon-btn:hover,
.profile-trigger:hover,
.section-nav button:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.profile-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.profile-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #2a2a2a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-trigger.has-profile-photo {
  overflow: hidden;
  border-color: transparent;
}

.profile-trigger.has-profile-photo .profile-icon {
  display: none;
}

.profile-trigger-avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.auth-account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.auth-account-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.auth-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-account-email {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.content-area {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 22px clamp(16px, 2.2vw, 32px) 56px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1160px;
  min-height: 0;
  padding: 6px;
  background: #f3f6f8;
  border: 1px solid var(--border);
  box-shadow: 0 3px 12px rgba(17, 24, 39, 0.045);
  margin: 10px auto 0;
}

.field {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 2px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
}

.field-location {
  flex: 1.5 1 0;
}

.field-date {
  flex: 1 1 0;
}

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #52606b;
  letter-spacing: 0.035em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.field-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.field-prompt {
  color: #565656;
  font-size: 0.86rem;
}

.date-search-trigger {
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: #565656;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.date-search-trigger:hover {
  color: #111;
}

.date-search-trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.location-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  min-width: 0;
}

.district-picker {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.district-select {
  display: block;
  flex: 1 1 auto;
  align-self: center;
  min-width: 0;
  width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #565656;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.district-browse-button {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.district-browse-button:hover,
.district-browse-button[aria-expanded="true"] {
  background: #f5f5f5;
}

.district-suggestions {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  z-index: 40;
  display: grid;
  width: max(100%, 220px);
  max-width: calc(100vw - 36px);
  max-height: min(240px, 45vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 12px 32px var(--shadow);
}

.district-suggestions[hidden] {
  display: none;
}

.district-suggestion {
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.district-suggestion:hover,
.district-suggestion.is-active {
  background: #f5f5f5;
}

.property-type-select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #404b55;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.district-select:focus-visible,
.property-type-select:focus-visible,
.district-browse-button:focus-visible,
.location-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.location-button {
  flex: 0 0 auto;
  align-self: center;
  border: 1px solid #d8e0e6;
  padding: 3px 8px;
  background: #f8fafb;
  color: #31434e;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.location-button:hover:not(:disabled) {
  background: #eaeaea;
  transform: translateY(-1px);
}

.location-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.location-status {
  max-width: 1160px;
  margin: 10px auto 0;
  padding: 0 16px;
  color: #646464;
  font-size: 0.78rem;
  line-height: 1.5;
}

.location-status.is-error {
  color: #b42318;
}

.location-attribution {
  max-width: 1160px;
  margin: 3px auto 0;
  padding: 0 16px;
  color: #777;
  font-size: 0.68rem;
}

.location-attribution a {
  color: inherit;
  text-underline-offset: 2px;
}

.filters-page {
  max-width: 920px;
}

.filters-page-heading {
  margin: 14px 0 22px;
}

.filters-page-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.045em;
}

.filters-page-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.filters-eyebrow {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.filters-form {
  display: grid;
  gap: 14px;
}

.filters-group {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.035);
}

.filters-group legend {
  padding: 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.filters-group label {
  display: grid;
  gap: 7px;
  color: #43505a;
  font-size: 0.82rem;
  font-weight: 700;
}

.filters-group select,
.filters-group input:not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.filters-group select:focus-visible,
.filters-group input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.filters-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.filters-checklist label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}

.filters-checklist input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--brand);
}

.filters-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.filters-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filters-apply,
.filters-clear {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.filters-apply {
  background: var(--brand);
  color: #fff;
}

.filters-apply:hover {
  background: var(--brand-dark);
}

.filters-clear {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.filters-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 10px auto 0 0;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.filters-page-link:hover {
  background: #f5f5f5;
}

.filters-dropdown {
  position: relative;
  z-index: 12;
  width: fit-content;
  margin: 10px 16px 0;
}

.filters-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.filters-dropdown > summary::-webkit-details-marker {
  display: none;
}

.filters-dropdown > summary::after {
  content: "⌄";
  margin-left: 8px;
}

.filters-dropdown[open] > summary::after {
  content: "⌃";
}

.filters-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(640px, calc(100vw - 32px));
  max-height: min(72vh, 680px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.18);
}

.filters-dropdown-panel .filters-form {
  gap: 12px;
}

.filters-dropdown-panel .filters-group {
  padding: 12px;
  border-radius: 12px;
  box-shadow: none;
}

.filters-dropdown-panel .filters-grid {
  gap: 10px;
}

.filters-dropdown-panel .filters-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filters-dropdown-panel .filters-status {
  margin: 0;
}

.field span {
  font-size: 0.86rem;
  color: #6d6d6d;
  font-weight: 400;
}

.divider {
  width: 1px;
  flex: 0 0 1px;
  height: 30px;
  background: #dce3e8;
}

.primary-action:visited {
  color: #fff;
}

.primary-action,
.secondary-action {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.stay-section {
  max-width: var(--content-width);
  margin: 42px auto 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.65vw, 1.6rem);
  letter-spacing: -0.06em;
  font-weight: 750;
  line-height: 1.12;
}

.sparkle {
  font-size: 0.8em;
  vertical-align: middle;
  color: #111;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.section-nav button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  font-size: 2rem;
  line-height: 1;
  color: #1d1d1d;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.subtitle {
  margin: 6px 0 14px;
  font-size: 0.9rem;
  color: #4d4d4d;
}

.card-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 8px;
}

.card-row::-webkit-scrollbar {
  display: none;
}

.stay-card {
  display: flex;
  flex: 0 0 calc((100% - 64px) / 5);
  flex-direction: column;
  min-width: 0;
  align-self: flex-start;
  scroll-snap-align: start;
}

.listing-secondary-row {
  min-width: 0;
  margin-top: 4px;
}

.listing-secondary-row > .description {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
}

.listing-secondary-row > .description {
  text-align: left;
}

.see-all-card {
  display: flex;
  aspect-ratio: 1.15 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #f4f6f2, #e8eee9);
  color: #202820;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.see-all-card:hover,
.see-all-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
}

.see-all-label {
  font-size: 1.1rem;
  font-weight: 750;
}

.see-all-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
}

.card-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-media .listing-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.card-media.listing-image-missing {
  background: linear-gradient(135deg, #e7e7e7, #d4d4d4);
}

.listing-description {
  display: block;
  overflow: hidden;
  margin: 6px 0 0;
  color: #626262;
  font-size: 0.78rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-empty {
  align-self: center;
  margin: 12px 0;
  color: #626262;
  font-size: 0.9rem;
}

.listing-skeleton {
  gap: 12px;
  pointer-events: none;
}

.listing-skeleton-image,
.listing-skeleton-line {
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
}

.listing-skeleton-image {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  border-radius: 22px;
}

.listing-skeleton-body {
  display: grid;
  gap: 10px;
  padding: 2px 2px 0;
}

.listing-skeleton-line {
  display: block;
  height: 13px;
  border-radius: 999px;
}

.listing-skeleton-title {
  width: 76%;
}

.listing-skeleton-price {
  width: 48%;
}

.listing-skeleton-image::after,
.listing-skeleton-line::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
  content: "";
  transform: translateX(-100%);
  animation: listing-skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes listing-skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-skeleton-image::after,
  .listing-skeleton-line::after {
    animation: none;
  }
}

.stay-card[role="group"][tabindex="0"] {
  cursor: pointer;
}

.stay-card[role="group"][tabindex="0"]:focus-visible {
  outline: 3px solid rgba(201, 31, 0, 0.72);
  outline-offset: 5px;
  border-radius: 22px;
}

.property-detail-page {
  max-width: 1120px;
  padding-top: 28px;
}

.property-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.property-detail-back:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.property-detail-status {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: #626262;
}

.property-detail-content[hidden] {
  display: none;
}

.property-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.property-detail-heading h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.055em;
}

.property-detail-location {
  margin: 8px 0 0;
  color: #575757;
  font-size: 0.94rem;
  font-weight: 600;
}

.property-detail-gallery {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.15 / 1;
  border-radius: 22px;
  background: linear-gradient(135deg, #e7e7e7, #d4d4d4);
}

.property-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-image-missing::after {
  position: absolute;
  inset: auto 18px 18px;
  color: #555;
  content: "No property photo is available";
  font-size: 0.85rem;
  font-weight: 700;
}

.property-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: 40px;
  margin-top: 28px;
}

.property-detail-information h2 {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.property-detail-features {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.property-detail-features h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.property-detail-features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.property-detail-features li {
  color: #444;
  font-size: 0.88rem;
  line-height: 1.5;
}

.property-detail-features .property-detail-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-detail-feature-status {
  flex: 0 0 auto;
  color: #6a6a6a;
  font-size: 0.78rem;
  font-weight: 750;
}

.property-detail-feature-status.is-available {
  color: #176b3a;
}

.property-detail-host {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.property-detail-host h3,
.property-detail-review-form h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.property-detail-host-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.property-detail-host-content.is-error,
.property-detail-reviews-content.is-error {
  color: #b42318;
  font-size: 0.86rem;
}

.property-detail-host-avatar {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 800;
  overflow: hidden;
}

.property-detail-host-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-host-copy {
  display: grid;
  gap: 5px;
}

.property-detail-host-copy strong {
  color: #222;
  font-size: 0.95rem;
}

.property-detail-host-copy p,
.property-detail-host-stats {
  margin: 0;
  color: #626262;
  font-size: 0.82rem;
}

.property-detail-host-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.property-detail-rating {
  color: #222;
  font-weight: 750;
}

.property-detail-reviews {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.property-detail-reviews > h2 {
  margin: 0 0 22px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.property-detail-reviews-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.property-detail-review {
  min-width: 0;
}

.property-detail-review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.property-detail-review-header strong {
  color: #222;
  font-size: 0.9rem;
}

.property-detail-review-date {
  margin: 4px 0 10px;
  color: #626262;
  font-size: 0.78rem;
}

.property-detail-review-comment {
  margin: 0;
  color: #444;
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.property-detail-reviews-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #626262;
  font-size: 0.9rem;
}

.property-detail-review-form {
  display: grid;
  max-width: 580px;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.property-detail-review-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.property-detail-review-form select,
.property-detail-review-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.property-detail-review-form select {
  min-height: 46px;
}

.property-detail-review-form textarea {
  resize: vertical;
}

.property-detail-review-status {
  min-height: 1.3em;
  margin: 0;
  color: #176b3a;
  font-size: 0.84rem;
}

.property-detail-review-status.is-error {
  color: #b42318;
}

.property-detail-review-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.property-detail-review-signin {
  margin-top: 20px;
}

.property-detail-booking {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.property-detail-price {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 800;
}

.property-detail-price span {
  font-size: 0.9rem;
  font-weight: 500;
}

.property-detail-booking .primary-action {
  width: 100%;
}

.property-detail-booking .primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.property-detail-booking-note {
  margin: 0;
  color: #626262;
  font-size: 0.86rem;
  line-height: 1.55;
}

.stay-card:hover .card-media {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 7px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #222;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms ease;
}

.fav-btn svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fav-btn svg path {
  fill: rgba(255, 255, 255, 0.2);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.fav-btn:hover {
  transform: scale(1.1);
}

.fav-btn.active {
  background: transparent;
}

.fav-btn.active svg path {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 1.5px;
}

.fav-btn:focus-visible {
  outline: 2px solid #222;
  outline-offset: 1px;
}

.label {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255,255,255,0.84);
  color: #181818;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 10px 4px 0;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meta-row h3 {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b1b1b;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1f1f1f;
}

.rating span {
  color: #111;
}

.description {
  overflow: hidden;
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #5e5e5e;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-body > .listing-area,
.card-body > .description,
.card-body > .listing-description {
  box-sizing: border-box;
  flex: 0 0 1.45em;
  height: 1.45em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-button {
  margin-top: 10px;
  border: 1px solid #222;
  border-radius: 9px;
  padding: 8px 14px;
  background: #fff;
  color: #222;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.listing-reserve-button {
  align-self: flex-start;
  margin-top: 0;
}

.listing-taken-label {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid #d4d4d4;
  border-radius: 9px;
  background: #f1f1f1;
  color: #686868;
  font-size: 0.8rem;
  font-weight: 700;
}

.property-detail-taken-note {
  margin: 0;
  color: #686868;
  font-size: 0.86rem;
  line-height: 1.55;
}

.booking-button:hover {
  background: #222;
  color: #fff;
  transform: translateY(-1px);
}

.booking-button:disabled,
button:disabled {
  cursor: not-allowed;
}

.booking-button:disabled:hover,
button:disabled:hover {
  transform: none;
}

.auth-dialog {
  width: min(100% - 32px, 480px);
  max-width: 480px;
  max-height: min(90vh, 760px);
  padding: 28px;
  border: 0;
  border-radius: 22px;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(2px);
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-header h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.auth-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.auth-intro {
  margin: 10px 0 20px;
  color: #5c5c5c;
  font-size: 0.9rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px;
  border-radius: 12px;
  background: #f4f4f4;
}

.auth-tab {
  border: 0;
  border-radius: 9px;
  padding: 10px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.auth-form,
.auth-name-fields,
.auth-forgot-form {
  display: grid;
  gap: 14px;
}

.auth-name-fields {
  grid-template-columns: 1fr 1fr;
}

.auth-form label,
.auth-name-fields label,
.auth-forgot-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-form input,
.auth-name-fields input,
.auth-forgot-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.password-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.password-input-wrap input {
  padding-right: 76px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 48px;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: var(--brand-soft);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.password-feedback {
  color: #9a5b00;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}

.auth-form input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.auth-form[hidden],
.auth-form [hidden],
.auth-name-fields[hidden],
.auth-account[hidden],
.auth-tab[hidden],
.auth-forgot-form[hidden] {
  display: none;
}

.auth-message,
.auth-forgot-message {
  min-height: 1.3em;
  margin: 0;
  color: #176b3a;
  font-size: 0.83rem;
  line-height: 1.5;
}

.auth-message.is-error,
.auth-forgot-message.is-error {
  color: #b42318;
}

.auth-submit,
.auth-forgot-back {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-submit:disabled,
.auth-forgot-back:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-account-email {
  margin: 18px 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.auth-forgot-trigger,
.auth-forgot-back {
  border: 0;
  background: transparent;
  color: #303030;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-forgot-trigger {
  justify-self: end;
  padding: 0;
}

.auth-forgot-back {
  width: 100%;
  min-height: 42px;
  color: #555;
}

.auth-privacy {
  margin: 20px 0 0;
  color: #707070;
  font-size: 0.75rem;
  line-height: 1.5;
}

.reservation-dialog {
  width: min(100% - 32px, 520px);
}

.date-search-dialog {
  width: min(100% - 32px, 480px);
}

.date-search-description {
  margin: 8px 0 18px;
  color: #626262;
  font-size: 0.86rem;
  line-height: 1.5;
}

.date-search-form,
.date-search-form label {
  display: grid;
  gap: 12px;
}

.date-search-form label {
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.date-search-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.date-search-error {
  min-height: 1.3em;
  margin: 0;
  color: #b42318;
  font-size: 0.84rem;
}

.date-search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.date-search-clear {
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: #303030;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reservation-listing {
  margin: 12px 0 20px;
  color: #555;
  font-size: 0.9rem;
  font-weight: 700;
}

.reservation-form,
.reservation-form label {
  display: grid;
  gap: 14px;
}

.reservation-form label {
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.reservation-form input,
.reservation-form select,
.profile-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.reservation-dates,
.profile-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reservation-total {
  margin: 0;
  color: #303030;
  font-size: 0.88rem;
  font-weight: 700;
}

.reservation-message {
  margin: 0;
  color: #176b3a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.reservation-message.is-error,
.profile-status.is-error {
  color: #b42318;
}

.reservation-success[hidden],
.reservation-form[hidden] {
  display: none;
}

.reservation-success {
  display: grid;
  gap: 16px;
}

.reservation-success .primary-action {
  text-align: center;
}

.profile-page {
  max-width: 1050px;
  padding-top: 42px;
}

.profile-heading {
  margin-bottom: 28px;
}

.profile-heading h1,
.profile-signin h1 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.06em;
}

.profile-heading p,
.profile-signin p {
  color: #626262;
}

.profile-panel,
.reservation-card,
.profile-signin {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.profile-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 800;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary-copy {
  min-width: 0;
  flex: 1;
}

.profile-display-name {
  margin: 0;
  font-size: 1.1rem;
}

.profile-summary-copy p {
  margin: 4px 0 0;
  color: #626262;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.profile-signout {
  flex: 0 0 auto;
}

.profile-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.profile-category-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-category-nav[hidden] {
  display: none;
}

.profile-category-link {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.profile-category-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.profile-category-link > span:first-child {
  display: grid;
  gap: 5px;
}

.profile-category-link strong {
  font-size: 0.96rem;
}

.profile-category-link small {
  color: #626262;
  font-size: 0.8rem;
}

.profile-category-link > span:last-child {
  color: #626262;
  font-size: 1.5rem;
}

.profile-category-panel {
  margin-top: 10px;
}

.profile-back-link {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.profile-back-link[hidden] {
  display: none;
}

.profile-photo-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0 26px;
}

.profile-photo-preview {
  width: 88px;
  height: 88px;
}

.profile-photo-form {
  display: grid;
  flex: 1;
  gap: 10px;
}

.profile-photo-form label {
  display: grid;
  gap: 8px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-photo-form input {
  width: 100%;
  min-height: 42px;
  color: #626262;
  font: inherit;
  font-weight: 400;
}

.profile-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-photo-status {
  min-height: 1.3em;
  margin: 0;
  color: #176b3a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.profile-photo-status.is-error {
  color: #b42318;
}

.profile-photo-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.profile-photo-remove[hidden] {
  display: none;
}

.profile-account-panels {
  display: grid;
  gap: 18px;
}

.profile-panel h2,
.profile-section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.profile-email {
  margin: 6px 0 20px;
  color: #676767;
  overflow-wrap: anywhere;
}

.profile-panel-intro {
  margin: 6px 0 18px;
  color: #626262;
  font-size: 0.84rem;
  line-height: 1.5;
}

.profile-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.profile-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-form input,
.profile-password-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.profile-password-form {
  display: grid;
  gap: 13px;
}

.profile-password-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-password-form .secondary-action {
  width: 100%;
  justify-content: center;
}

.profile-status,
.profile-password-status,
.profile-recovery-status {
  min-height: 1.3em;
  margin: 0;
  color: #176b3a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.profile-status.is-error,
.profile-password-status.is-error,
.profile-recovery-status.is-error {
  color: #b42318;
}

.profile-password-form button:disabled,
.profile-signout:disabled,
.profile-recovery-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.profile-recovery[hidden] {
  display: none;
}

.profile-recovery {
  width: min(100%, 560px);
  margin: 5vh auto;
}

.profile-recovery h1 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.06em;
}

.profile-recovery-form,
.profile-recovery-form label {
  display: grid;
  gap: 13px;
}

.profile-recovery-form label {
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-recovery-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.profile-recovery > .secondary-action {
  margin-top: 14px;
}

.profile-reservations-section {
  margin-top: 38px;
}

.profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-section-heading p {
  margin: 5px 0 0;
  color: #626262;
  font-size: 0.85rem;
}

.profile-reservations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
  color: #626262;
  font-size: 0.9rem;
}

.profile-favorites,
.profile-notifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
  color: #626262;
  font-size: 0.9rem;
}

.account-listing-card,
.account-notification {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.account-listing-card a,
.account-notification a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.account-listing-card a:hover,
.account-notification a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-listing-card p,
.account-notification p {
  margin: 0;
}

.account-notification.is-unread {
  border-color: rgba(201, 31, 0, 0.45);
  background: var(--brand-soft);
}

.property-detail-availability-date {
  margin: 0;
  color: #626262;
  font-size: 0.9rem;
  line-height: 1.5;
}

.reservation-card h3 {
  margin: 0 0 12px;
  color: #1b1b1b;
  font-size: 1rem;
}

.reservation-card p {
  margin: 7px 0;
}

.reservation-status {
  display: inline-flex;
  margin: 6px 0 2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf5ed;
  color: #176b3a;
  font-size: 0.74rem;
  font-weight: 700;
}

.reservation-status.is-cancelled {
  background: #f1f1f1;
  color: #686868;
}

.reservation-status.is-pending {
  background: #fff4d6;
  color: #795900;
}

.reservation-status.is-declined {
  background: #fce8e8;
  color: #9f2626;
}

.reservation-card .booking-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.listing-area {
  margin: 6px 0 0;
  color: #6a6a6a;
  font-size: 0.76rem;
  line-height: 1.4;
}

.host-page {
  padding-top: 34px;
  background: #fff;
}

.host-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 36px;
  max-width: 1370px;
  margin: 0 auto;
  padding: 30px 10px 10px;
}

.host-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.host-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.07em;
}

.host-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4d4d4d;
}

.host-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary-action {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 22px var(--brand-shadow);
}

.secondary-action {
  background: rgba(255,255,255,0.9);
  color: #1b1b1b;
  border: 1px solid rgba(17,17,17,0.08);
}

.host-visual {
  display: flex;
  justify-content: center;
}

.host-image {
  width: min(100%, 560px);
  height: 580px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.host-visual {
  position: relative;
}

.host-visual::after {
  content: "Host in Uganda";
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.host-features {
  max-width: 1200px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  padding: 0 10px 40px;
}

.feature-block {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 26px;
  padding: 28px 22px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.03);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 2rem;
}

.feature-block h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.feature-block p {
  margin: 0;
  color: #525252;
  line-height: 1.7;
}

.host-start {
  max-width: 1200px;
  margin: 20px auto 30px;
  padding: 36px;
  border-radius: 28px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.host-start .primary-action {
  color: #fff;
}

.host-start h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.host-start p {
  margin: 0;
  color: #525252;
  line-height: 1.6;
}

.host-start .primary-action {
  flex: 0 0 auto;
}

.host-dashboard {
  max-width: 1370px;
  margin: 36px auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}

.host-dashboard-heading,
.host-listing-card-heading,
.host-listing-actions,
.host-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.host-dashboard-heading {
  margin-bottom: 24px;
}

.host-dashboard-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.host-dashboard-heading .eyebrow {
  margin-bottom: 8px;
}

.host-dashboard-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.055em;
}

.host-dashboard-heading p,
.host-signin p,
.host-empty {
  color: #626262;
  line-height: 1.5;
}

.host-dashboard-heading p {
  margin: 7px 0 0;
}

.host-dashboard-status,
.host-form-status {
  min-height: 1.3em;
  margin: 12px 0;
  color: #176b3a;
  font-size: 0.85rem;
}

.host-dashboard-status.is-error,
.host-form-status.is-error {
  color: #b42318;
}

.host-signin,
.host-listing-form,
.host-listing-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.host-signin h3,
.host-listing-form h3,
.host-listing-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.host-signin .primary-action {
  margin-top: 4px;
}

.host-listing-form {
  margin: 18px 0 24px;
  scroll-margin-top: 100px;
}

.host-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.host-form-grid label,
.host-availability-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.host-form-grid fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.host-form-grid fieldset legend {
  padding: 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.host-property-features,
.host-amenities {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
}

.host-form-grid .host-feature-option {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
}

.host-feature-option input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.host-form-grid input,
.host-form-grid select,
.host-form-grid textarea,
.host-availability-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.host-form-grid .host-feature-option input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 4px;
}

.host-form-grid input:focus,
.host-form-grid select:focus,
.host-form-grid textarea:focus,
.host-availability-form input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.host-photo-field {
  grid-column: span 2;
}

.host-photo-picker {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
}

.host-photo-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.host-photo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 16px rgba(245, 40, 0, 0.2);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: filter 180ms ease, box-shadow 180ms ease;
}

.host-photo-picker:hover .host-photo-button {
  filter: brightness(1.04);
  box-shadow: 0 10px 20px rgba(245, 40, 0, 0.28);
}

.host-photo-input:focus-visible + .host-photo-button {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.host-photo-name,
.host-photo-field small {
  color: #686868;
  font-size: 0.78rem;
  font-weight: 500;
}

.host-photo-field small {
  line-height: 1.4;
}

.host-form-grid textarea {
  resize: vertical;
}

.host-form-actions {
  justify-content: flex-start;
}

.host-form-actions .secondary-action,
.host-listing-actions .secondary-action,
.host-availability-form .secondary-action {
  border: 1px solid var(--border);
}

.host-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
  gap: 16px;
}

.host-listing-photo {
  width: 100%;
  max-height: 220px;
  margin-bottom: 18px;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.host-listing-card-heading {
  align-items: flex-start;
}

.host-listing-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf5ed;
  color: #176b3a;
  font-size: 0.72rem;
  font-weight: 700;
}

.host-listing-status.is-unlisted {
  background: #f1f1f1;
  color: #686868;
}

.host-listing-summary,
.host-listing-description,
.host-bookings p {
  color: #626262;
  font-size: 0.84rem;
  line-height: 1.5;
}

.host-listing-summary {
  margin: 8px 0;
  font-weight: 700;
}

.host-listing-description {
  margin: 8px 0 14px;
}

.host-listing-feature-summary {
  margin: -4px 0 14px;
  color: #4b5563;
  font-size: 0.8rem;
  line-height: 1.55;
}

.host-listing-actions {
  justify-content: flex-start;
}

.host-listing-actions .secondary-action,
.host-availability-form .secondary-action {
  padding: 10px 16px;
  font-size: 0.82rem;
}

.host-listing-actions button:disabled,
.host-availability-form button:disabled,
.host-inline-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.host-availability,
.host-bookings {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.host-availability h4,
.host-bookings h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.host-availability-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.host-availability-form button {
  grid-column: span 2;
  justify-self: start;
}

.host-date-list,
.host-bookings ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.host-date-list li,
.host-bookings li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #555;
  font-size: 0.82rem;
}

.host-bookings .host-booking-item {
  display: grid;
  justify-content: stretch;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.host-booking-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.host-client-review-status {
  margin: 0;
  color: #4b5563;
  font-size: 0.8rem;
  line-height: 1.5;
}

.host-client-review-status p {
  margin: 6px 0 0;
}

.host-client-review-status.is-error {
  color: #b42318;
}

.host-client-review-form {
  display: grid;
  max-width: 440px;
  gap: 8px;
  margin-top: 8px;
}

.host-client-review-form select,
.host-client-review-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
}

.host-client-review-form textarea {
  resize: vertical;
}

.host-client-review-form button {
  justify-self: start;
}

.profile-client-reviews {
  margin-top: 28px;
}

.profile-client-reviews h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.profile-client-reviews-list {
  display: grid;
  gap: 12px;
  color: #626262;
  font-size: 0.88rem;
}

.profile-client-reviews-summary {
  margin: 0;
  color: #222;
  font-weight: 700;
}

.profile-client-review {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.profile-client-review p {
  margin: 6px 0 0;
}

.host-inline-button {
  border: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.host-bookings .reservation-status {
  flex: 0 0 auto;
  margin: 0;
}

.host-listings:empty {
  display: none;
}

.host-dashboard [hidden],
.host-signin[hidden],
.host-listing-form[hidden],
.host-new-listing[hidden] {
  display: none;
}

.host-category-manager {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.host-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.host-category-heading {
  margin-bottom: 16px;
}

.host-category-heading h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.host-category-heading p {
  max-width: 680px;
  margin: 7px 0 0;
  color: #626262;
  font-size: 0.86rem;
  line-height: 1.5;
}

.host-category-status {
  min-height: 1.3em;
  margin: 12px 0;
  color: #176b3a;
  font-size: 0.85rem;
}

.host-category-status.is-error {
  color: #b42318;
}

.host-inventory-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin: 18px 0 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f6f6f6;
}

.host-inventory-tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.host-inventory-tab:hover {
  color: var(--text);
}

.host-inventory-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 5px rgba(17, 24, 39, 0.12);
}

.host-inventory-tab[aria-selected="true"] {
  color: var(--brand-dark);
}

.host-inventory-panel[hidden] {
  display: none;
}

.host-inventory-panel > .host-listing-form {
  margin-top: 0;
}

.host-inventory-panel > .host-listings {
  margin-top: 6px;
}

.host-category-forms,
.host-category-listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.host-category-form {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.host-category-form h4 {
  margin: 0;
  font-size: 1rem;
}

.host-category-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: 0.82rem;
  font-weight: 700;
}

.host-category-form input,
.host-category-form select,
.host-category-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.host-category-form textarea {
  resize: vertical;
}

.host-category-form .primary-action {
  justify-self: start;
}

.host-category-listings {
  margin-top: 18px;
}

.host-category-listings .host-listing-card {
  min-width: 0;
}

.host-category-listings .host-empty {
  grid-column: 1 / -1;
}

.district-area-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted, #6b7280);
  font-size: 0.88rem;
  font-weight: 700;
}

.district-area-picker[hidden] {
  display: none;
}

.kampala-area-select {
  width: min(100%, 280px);
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  border: 1px solid #d6d9dd;
  border-radius: 8px;
  background: #fff;
  color: var(--text, #222);
  font: inherit;
}

@media (max-width: 1200px) {
  .topbar {
    padding-inline: 18px;
  }

  .brand-logo {
    width: 156px;
  }

  .main-nav {
    gap: 6px;
  }

  .stay-card {
    flex-basis: calc((100% - 48px) / 4);
  }
}

@media (max-width: 980px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px 8px;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .account-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: grid;
    gap: 12px;
    padding: 12px 16px 14px;
  }

  .main-nav {
    justify-content: space-between;
    gap: 6px;
  }

  .nav-item {
    flex: 1;
    justify-content: center;
    padding-inline: 8px;
  }

  .content-area {
    padding: 18px 16px 40px;
  }

  .search-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px;
    gap: 6px;
  }

  .divider {
    display: none;
  }

  .field {
    min-height: 40px;
    padding: 3px 10px;
  }

  .field-location {
    grid-column: 1 / -1;
  }

  .field-date {
    grid-column: 1 / -1;
  }

  .location-controls {
    min-height: 28px;
  }

  .location-button {
    padding: 3px 7px;
    font-size: 0.66rem;
  }

  .district-select,
  .property-type-select,
  .field span {
    font-size: 0.8rem;
  }

  .location-status {
    padding-inline: 4px;
  }

  .location-attribution {
    padding-inline: 4px;
  }

  .stay-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  .host-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .host-copy {
    max-width: 100%;
  }

  .host-actions {
    justify-content: center;
  }

  .host-features {
    grid-template-columns: 1fr;
  }

  .host-start {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 120px;
  }

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

  .filters-group {
    padding: 15px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand-logo {
    width: 136px;
  }

  .account-actions {
    grid-column: 1;
    grid-row: 2;
    min-width: auto;
    gap: 6px;
    justify-self: end;
  }

  .host-btn {
    display: inline-flex;
    padding: 8px;
    font-size: 0.72rem;
  }

  .saved-properties-link {
    width: 34px;
    height: 34px;
  }

  .saved-properties-link img {
    width: 22px;
    height: 22px;
  }

  .profile-trigger {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 2px;
  }

  .nav-item {
    min-width: 0;
    flex: auto;
    flex-direction: column;
    gap: 2px;
    padding: 7px 2px;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .nav-dropdown > summary {
    width: 100%;
  }

  .nav-dropdown .nav-icon {
    width: auto;
    height: auto;
    flex-basis: auto;
  }

  .nav-dropdown-menu {
    right: 0;
    left: auto;
  }

  .nav-item .nav-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .stay-card {
    flex-basis: min(48vw, 210px);
  }

  .host-image {
    height: 360px;
  }

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

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .host-dashboard {
    padding: 20px 14px;
  }

  .host-dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .host-dashboard-actions {
    flex-direction: column;
  }

  .host-category-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .host-category-form .primary-action {
    width: 100%;
  }

  .host-category-forms,
  .host-category-listings {
    grid-template-columns: 1fr;
  }

  .host-inventory-tabs {
    gap: 4px;
    padding: 4px;
  }

  .host-inventory-tab {
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .property-detail-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .property-detail-reviews-content {
    grid-template-columns: 1fr;
  }

  .property-detail-booking {
    position: static;
  }

  .host-form-grid,
  .host-availability-form {
    grid-template-columns: 1fr;
  }

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

  .profile-category-nav {
    grid-template-columns: 1fr;
  }

  .profile-summary {
    flex-wrap: wrap;
    padding: 18px;
  }

  .profile-signout {
    width: 100%;
  }

  .profile-panel,
  .reservation-card,
  .profile-signin {
    padding: 18px;
  }

  .profile-name-fields {
    grid-template-columns: 1fr;
  }

  .profile-photo-editor {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .host-photo-field,
  .host-property-features,
  .host-amenities,
  .host-availability-form button {
    grid-column: auto;
  }

  .host-form-actions,
  .host-listing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reservation-dates,
  .profile-name-fields {
    grid-template-columns: 1fr;
  }

  .profile-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

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