:root {
  --bg: #F6FBF8;
  --surface: #ffffff;
  --surface-strong: #F6FBF8;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E8EFEA;
  --brand: #178B5C;
  --brand-strong: #0F6E49;
  --blue: #2364aa;
  --warning: #a15c00;
  --danger: #b42318;
  --shadow: 0 18px 44px rgba(31, 41, 55, 0.09);
  --shadow-soft: 0 10px 26px rgba(31, 41, 55, 0.07);
  --radius-card: 20px;
  --radius-control: 16px;
  --section-gap: 28px;
  --button-height: 48px;
  --font-display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--font-body);
}

html,
body,
button,
input,
textarea,
select,
option,
label {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reservation request flow */
.reservation-card {
  display: grid;
  gap: 16px;
}

.reservation-card .booking-lines span {
  align-items: center;
}

.reservation-card .booking-lines details {
  display: inline-flex;
  margin-left: 4px;
}

.reservation-public-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 700 0.9rem/1.35 var(--font-ui);
}

.reservation-public-location svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
}

.booking-date-row em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
}

.reservation-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.reservation-note,
.reservation-unavailable {
  margin: 0;
  color: var(--muted);
  font: 600 0.88rem/1.55 var(--font-body);
}

.reservation-unavailable {
  color: var(--warning);
}

.reservation-action-stack {
  display: grid;
  gap: 10px;
}

.mobile-reserve-bar {
  display: none;
}

.reservation-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: flex-end;
  background: rgba(12, 24, 18, 0.38);
  backdrop-filter: blur(8px);
}

.reservation-drawer,
.reservation-auth-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(22, 32, 51, 0.18);
}

.reservation-drawer {
  width: min(520px, calc(100vw - 28px));
  height: calc(100vh - 24px);
  margin: 12px;
  border-radius: 28px;
  overflow: auto;
  padding: 24px;
}

.reservation-auth-modal {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  border-radius: 26px;
  padding: 28px;
  position: relative;
}

.reservation-auth-modal .round-tool {
  position: absolute;
  top: 16px;
  right: 16px;
}

.reservation-auth-modal h2,
.reservation-drawer h2,
.reservation-review-card h3,
.reservation-quote-panel h3,
.reservation-terms-card strong {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
}

.reservation-auth-modal h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.reservation-auth-modal p {
  margin: 12px 0 22px;
  color: var(--muted);
  font: 600 1rem/1.6 var(--font-body);
}

.reservation-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reservation-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.reservation-drawer h2 {
  margin-top: 6px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.reservation-step-label {
  display: inline-flex;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font: 850 0.74rem/1 var(--font-ui);
}

.reservation-product-strip {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  margin-bottom: 18px;
}

.reservation-product-strip img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.reservation-product-strip strong,
.reservation-product-strip span {
  display: block;
}

.reservation-product-strip strong {
  color: var(--ink);
  font: 850 1rem/1.25 var(--font-display);
}

.reservation-product-strip span {
  margin-top: 4px;
  color: var(--muted);
  font: 600 0.88rem/1.4 var(--font-body);
}

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

.reservation-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reservation-step-form .field {
  display: grid;
  gap: 8px;
}

.reservation-step-form .field span {
  color: var(--ink);
  font: 850 0.84rem/1.25 var(--font-ui);
}

.reservation-step-form .field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.reservation-step-form input,
.reservation-step-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  font: 650 0.96rem/1.35 var(--font-ui);
}

.reservation-step-form textarea {
  min-height: 136px;
  resize: vertical;
}

.reservation-availability-card,
.reservation-review-card,
.reservation-quote-panel,
.reservation-terms-card,
.reservation-blocked-card,
.reservation-success-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 16px;
}

.reservation-availability-card {
  display: grid;
  gap: 14px;
}

.reservation-availability-card strong,
.reservation-availability-card span {
  display: block;
}

.reservation-availability-card strong {
  color: var(--ink);
  font: 850 1rem/1.25 var(--font-display);
}

.reservation-availability-card span {
  margin-top: 4px;
  color: var(--muted);
  font: 600 0.9rem/1.45 var(--font-body);
}

.reservation-quote-panel {
  display: grid;
  gap: 10px;
  background: #fbfdfb;
}

.reservation-quote-panel h3,
.reservation-review-card h3 {
  font-size: 1.05rem;
}

.reservation-review-row,
.reservation-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font: 650 0.93rem/1.45 var(--font-body);
}

.reservation-review-row strong {
  color: var(--ink);
  text-align: right;
  font-weight: 850;
}

.reservation-total-row {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.reservation-total-row strong {
  color: var(--brand-strong);
  font: 900 1.1rem/1.2 var(--font-display);
}

.reservation-quote-panel p,
.reservation-privacy-warning,
.reservation-terms-card span {
  margin: 0;
  color: var(--muted);
  font: 600 0.9rem/1.55 var(--font-body);
}

.reservation-quote-panel p,
.reservation-privacy-warning {
  display: flex;
  gap: 8px;
}

.reservation-quote-panel svg,
.reservation-privacy-warning svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
}

.reservation-review-card {
  display: grid;
  gap: 10px;
}

.reservation-terms-card {
  display: grid;
  gap: 12px;
  background: var(--surface-strong);
}

.reservation-checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font: 650 0.9rem/1.45 var(--font-body);
}

.reservation-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.reservation-drawer-actions,
.reservation-success-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  align-items: center;
}

.reservation-blocked-card,
.reservation-success-card {
  display: grid;
  gap: 12px;
  background: var(--surface-strong);
}

.reservation-blocked-card > span,
.reservation-success-card > span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: #e6f6ed;
  color: var(--brand-strong);
}

.reservation-blocked-card svg,
.reservation-success-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.reservation-blocked-card h3,
.reservation-success-card h3 {
  margin: 0;
  color: var(--ink);
  font: 850 1.25rem/1.2 var(--font-display);
}

.reservation-blocked-card p,
.reservation-success-card p,
.reservation-success-card small {
  margin: 0;
  color: var(--muted);
  font: 600 0.95rem/1.55 var(--font-body);
}

.reservation-blocked-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-blocked-card li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font: 650 0.9rem/1.35 var(--font-body);
}

.reservation-blocked-card li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.premium-message-bubble.system {
  max-width: min(560px, 86%);
  border-color: rgba(23, 139, 92, 0.22);
  background: #f1faf5;
}

.premium-message-bubble.system p {
  font-weight: 750;
}

@media (max-width: 860px) {
  body[data-route="detail"] #app {
    padding-bottom: 92px;
  }

  .mobile-reserve-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(22, 32, 51, 0.14);
    backdrop-filter: blur(16px);
  }

  .mobile-reserve-bar span {
    color: var(--muted);
    font: 650 0.86rem/1.2 var(--font-body);
  }

  .mobile-reserve-bar strong {
    color: var(--ink);
    font: 900 1.05rem/1.1 var(--font-display);
  }

  .mobile-reserve-bar .primary-button {
    min-height: 46px;
    padding-inline: 18px;
  }

  .reservation-modal-backdrop {
    align-items: flex-end;
    justify-content: center;
  }

  .reservation-drawer {
    width: 100%;
    height: min(92vh, 780px);
    margin: 0;
    border-radius: 28px 28px 0 0;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .reservation-field-grid,
  .reservation-drawer-actions,
  .reservation-success-actions,
  .reservation-auth-actions {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .reservation-product-strip {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .reservation-product-strip img {
    width: 64px;
    height: 64px;
  }

  .reservation-drawer h2,
  .reservation-auth-modal h2 {
    font-size: 1.55rem;
  }

}

/* Reservation request flow v2 */
body:has(.reservation-modal-backdrop) {
  overflow: hidden;
}

.reservation-drawer {
  width: min(460px, 100vw);
  height: 100dvh;
  margin: 0;
  border-radius: 24px 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reservation-drawer-head {
  flex: 0 0 auto;
  margin: 0;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.reservation-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 22px 20px;
  overscroll-behavior: contain;
}

.reservation-drawer h2 {
  margin-top: 10px;
  max-width: 330px;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.reservation-progress {
  display: grid;
  gap: 9px;
}

.reservation-step-label {
  text-transform: none;
  letter-spacing: 0;
  font: 700 0.8rem/1 var(--font-ui);
}

.reservation-progress-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(172px, 100%);
}

.reservation-progress-segments span {
  height: 5px;
  border-radius: 999px;
  background: #e6eee9;
}

.reservation-progress-segments span.is-active {
  background: var(--brand);
}

.reservation-product-strip {
  margin: 0 0 18px;
  grid-template-columns: 68px minmax(0, 1fr);
  border-radius: 16px;
  background: #f8fbf9;
}

.reservation-product-strip img {
  width: 68px;
  height: 68px;
  border-radius: 13px;
}

.reservation-product-strip strong {
  font: 700 0.98rem/1.28 var(--font-display);
}

.reservation-product-strip span {
  font: 500 0.86rem/1.4 var(--font-body);
}

.reservation-flow-section {
  display: grid;
  gap: 10px;
}

.reservation-flow-section h3 {
  margin: 0;
  color: var(--ink);
  font: 700 1rem/1.3 var(--font-display);
}

.reservation-step-copy {
  margin: 0;
  color: var(--muted);
  font: 500 0.92rem/1.55 var(--font-body);
}

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

.reservation-choice-button {
  width: 100%;
  min-height: 56px;
  display: grid;
  gap: 5px;
  justify-items: start;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.reservation-choice-button:hover,
.reservation-choice-button.is-active,
.reservation-choice-button:focus-visible {
  border-color: rgba(23, 139, 92, 0.45);
  background: #f6fcf8;
  box-shadow: 0 0 0 3px rgba(23, 139, 92, 0.12);
  outline: none;
}

.reservation-choice-button span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font: 600 0.8rem/1.2 var(--font-ui);
}

.reservation-choice-button strong {
  color: var(--ink);
  font: 700 0.94rem/1.25 var(--font-display);
}

.reservation-choice-button svg,
.reservation-calendar-head svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
}

.reservation-calendar-popover {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.reservation-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.reservation-calendar-head strong {
  color: var(--ink);
  text-transform: capitalize;
  font: 700 0.95rem/1.2 var(--font-display);
}

.reservation-calendar-head button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

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

.reservation-calendar-weekdays span {
  color: var(--muted);
  text-align: center;
  font: 700 0.72rem/1.2 var(--font-ui);
}

.reservation-calendar-day {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 0.82rem/1 var(--font-ui);
}

.reservation-calendar-day:hover:not(:disabled),
.reservation-calendar-day:focus-visible:not(:disabled) {
  background: #edf8f2;
  outline: none;
}

.reservation-calendar-day.is-outside {
  color: #a6b2aa;
}

.reservation-calendar-day.is-today {
  border-color: rgba(23, 139, 92, 0.45);
}

.reservation-calendar-day.is-range {
  border-radius: 10px;
  background: #e8f6ee;
  color: var(--brand-strong);
}

.reservation-calendar-day.is-start,
.reservation-calendar-day.is-end {
  background: var(--brand);
  color: #fff;
}

.reservation-calendar-day:disabled {
  color: #b8c2bc;
  background: #f2f5f3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.reservation-calendar-legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font: 500 0.75rem/1.35 var(--font-body);
}

.reservation-time-wrap {
  position: relative;
}

.reservation-time-dropdown {
  max-height: 252px;
  margin-top: 8px;
  overflow-y: auto;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.reservation-time-dropdown button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0 10px;
  font: 700 0.9rem/1 var(--font-ui);
}

.reservation-time-dropdown button:hover:not(:disabled),
.reservation-time-dropdown button:focus-visible:not(:disabled),
.reservation-time-dropdown button.is-selected {
  background: #edf8f2;
  color: var(--brand-strong);
  outline: none;
}

.reservation-time-dropdown button:disabled {
  color: #aab4ad;
  cursor: not-allowed;
}

.reservation-period-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #edf8f2;
}

.reservation-period-summary div,
.reservation-char-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reservation-period-summary span,
.reservation-char-count {
  color: var(--muted);
  font: 600 0.82rem/1.35 var(--font-ui);
}

.reservation-period-summary strong {
  color: var(--ink);
  text-align: right;
  font: 700 0.94rem/1.35 var(--font-display);
}

.reservation-error {
  display: flex;
  gap: 8px;
  margin: 0;
  color: var(--warning);
  font: 600 0.86rem/1.45 var(--font-body);
}

.reservation-error svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.reservation-step-form textarea {
  font: 500 0.94rem/1.45 var(--font-body);
}

.reservation-step-form .field span {
  font: 600 0.82rem/1.25 var(--font-ui);
}

.reservation-step-form .field em {
  color: var(--muted);
  font: 500 0.8rem/1.2 var(--font-body);
}

.reservation-quote-panel h3,
.reservation-review-card h3 {
  font: 700 1rem/1.3 var(--font-display);
}

.reservation-review-row,
.reservation-total-row,
.reservation-quote-panel p,
.reservation-privacy-warning,
.reservation-terms-card span,
.reservation-blocked-card p,
.reservation-blocked-card li,
.reservation-success-card p {
  font-weight: 500;
}

.reservation-review-row strong {
  font-weight: 700;
}

.reservation-total-row strong {
  font: 700 1.08rem/1.2 var(--font-display);
}

.reservation-drawer-actions {
  position: sticky;
  bottom: 0;
  margin: 4px -22px -20px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.reservation-blocked-card.account li svg {
  color: var(--warning);
}

.reservation-blocked-card h3,
.reservation-success-card h3 {
  font-weight: 700;
}

@media (max-width: 860px) {
  .reservation-drawer {
    width: 100%;
    height: 100dvh;
    border-radius: 24px 24px 0 0;
  }

  .reservation-drawer-head {
    padding: 18px 16px 14px;
  }

  .reservation-drawer-body {
    padding: 16px 16px 18px;
  }

  .reservation-drawer h2 {
    max-width: 270px;
    font-size: 1.55rem;
  }

  .reservation-choice-grid,
  .reservation-drawer-actions,
  .reservation-success-actions,
  .reservation-auth-actions {
    grid-template-columns: 1fr;
  }

  .reservation-drawer-actions {
    margin-inline: -16px;
    margin-bottom: -18px;
    padding-inline: 16px;
  }
}

/* Search and discover production pass */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-route="search"] #app {
  padding-bottom: clamp(44px, 5vw, 72px);
}

.hg-discover-page {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.hg-search-intro {
  display: grid;
  gap: 8px;
  padding-top: clamp(10px, 2vw, 24px);
}

.hg-search-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.hg-search-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 650;
}

.hg-search-sticky {
  top: 79px;
  margin: -4px 0 0;
  padding: 8px 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 250, 248, 0.98), rgba(247, 250, 248, 0.84));
}

.hg-discover-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(190px, 0.8fr) minmax(170px, 0.7fr) auto auto;
  align-items: stretch;
  gap: 10px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(20, 41, 32, 0.08);
}

.hg-discover-search-field {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.hg-discover-search-field span {
  align-self: end;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
}

.hg-discover-search-field div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding-bottom: 8px;
}

.hg-discover-search-field svg,
.hg-search-filter-trigger svg,
.hg-search-submit-button svg,
.hg-view-toggle svg,
.hg-results-tools svg,
.search-product-card svg,
.hg-active-filters svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-discover-search-field svg {
  color: var(--brand);
}

.hg-discover-search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 800 1rem/1.2 var(--font-display);
}

.hg-discover-search-field input::placeholder {
  color: #8a95a6;
}

.hg-search-filter-trigger,
.hg-search-submit-button {
  min-height: 52px;
  align-self: center;
  white-space: nowrap;
}

.hg-popular-searches {
  gap: 12px;
}

.hg-popular-searches h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.hg-search-chip-row {
  margin: 0;
  padding: 0 0 4px;
}

.hg-search-chip-row::-webkit-scrollbar,
.hg-active-filter-row::-webkit-scrollbar {
  display: none;
}

.hg-active-filters {
  margin-top: -10px;
}

.hg-active-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.hg-active-filter-row button:not(.link-button) {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid rgba(11, 135, 84, 0.2);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  padding: 0 12px;
  font-weight: 850;
}

.search-results-shell {
  display: grid;
  gap: 18px;
}

.hg-results-header,
.hg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hg-results-header h2,
.hg-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.55vw, 2.2rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.hg-results-header p,
.hg-section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 650;
}

.hg-results-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.hg-results-count {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.hg-results-tools select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.hg-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.hg-view-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-weight: 850;
}

.hg-view-toggle button.is-active {
  background: var(--brand);
  color: #fff;
}

.hg-search-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.search-product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 41, 32, 0.06);
  cursor: pointer;
}

.search-product-card:hover,
.search-product-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(11, 135, 84, 0.28);
  box-shadow: 0 18px 42px rgba(20, 41, 32, 0.1);
}

.search-product-photo {
  aspect-ratio: 4 / 3;
  background: #eef4f0;
}

.search-product-photo img {
  height: 100%;
}

.search-product-photo .favorite-button {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(220, 231, 225, 0.92);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(20, 41, 32, 0.12);
}

.search-product-content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px;
}

.search-product-card h3 {
  display: -webkit-box;
  min-height: 2.48em;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.03rem;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.search-price {
  margin: 0;
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 850;
}

.search-card-location,
.search-card-foot,
.search-owner-mini {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}

.search-card-location {
  margin: 0;
}

.search-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.search-card-foot span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-card-foot svg {
  width: 15px;
  height: 15px;
  color: #f59e0b;
}

.search-owner-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
}

.search-owner-mini .owner-avatar {
  width: 24px;
  height: 24px;
}

.hg-load-more {
  justify-self: center;
  margin-top: 4px;
}

.hg-search-section {
  display: grid;
  gap: 18px;
  padding-top: clamp(14px, 2vw, 26px);
}

.hg-search-intent-grid,
.hg-search-inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hg-search-intent-card {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #102119;
  color: #fff;
  text-align: left;
  padding: 0;
  box-shadow: var(--shadow-soft);
}

.hg-search-intent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 22, 0.08), rgba(10, 31, 22, 0.68));
}

.hg-search-intent-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.hg-search-intent-card:hover img,
.hg-search-intent-card:focus-visible img {
  transform: scale(1.035);
}

.hg-search-intent-card span,
.hg-search-intent-card strong {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 1;
}

.hg-search-intent-card span {
  bottom: 54px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 850;
}

.hg-search-intent-card strong {
  bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.hg-search-inspiration-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hg-search-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(400px, 0.45fr);
  align-items: start;
  gap: 18px;
}

.hg-search-map-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hg-search-map-panel {
  position: sticky;
  top: 174px;
  height: min(620px, calc(100vh - 190px));
  min-height: 460px;
}

.price-marker.is-active {
  background: var(--brand-strong);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
  z-index: 3;
}

.filter-sheet .sheet-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 650;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.search-empty {
  min-height: auto;
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: clamp(24px, 4vw, 38px);
}

.search-empty h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.search-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 1100px) {
  .hg-discover-search {
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.8fr) auto auto;
  }

  .hg-discover-search-field:nth-of-type(3) {
    grid-column: span 2;
  }

  .hg-search-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hg-search-map-layout {
    grid-template-columns: 1fr;
  }

  .hg-search-map-panel {
    position: relative;
    top: auto;
    order: -1;
  }
}

@media (max-width: 820px) {
  .hg-search-sticky {
    top: 62px;
  }

  .hg-discover-search {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .hg-discover-search-field-main {
    grid-column: 1 / -1;
  }

  .hg-search-submit-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hg-results-header,
  .hg-section-heading {
    display: grid;
    align-items: start;
  }

  .hg-results-tools {
    justify-content: flex-start;
  }

  .hg-search-result-grid,
  .hg-search-map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hg-search-intent-grid,
  .hg-search-inspiration-grid {
    grid-template-columns: 1fr;
  }

  .hg-search-intent-card {
    min-height: 210px;
  }
}

@media (max-width: 560px) {
  body[data-route="search"] #app {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 118px;
  }

  .hg-discover-page {
    gap: 20px;
  }

  .hg-search-intro {
    padding-top: 4px;
  }

  .hg-search-intro h1 {
    font-size: 1.8rem;
  }

  .hg-search-sticky {
    margin-left: -2px;
    margin-right: -2px;
  }

  .hg-discover-search {
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .hg-discover-search-field {
    padding: 0 10px;
    border-radius: 15px;
  }

  .hg-discover-search-field:nth-of-type(2),
  .hg-discover-search-field:nth-of-type(3) {
    min-height: 58px;
  }

  .hg-discover-search-field input {
    font-size: 0.9rem;
  }

  .hg-search-filter-trigger {
    min-height: 46px;
  }

  .hg-results-tools select {
    width: min(100%, 190px);
  }

  .hg-view-toggle {
    display: none;
  }

  .hg-results-tools > .secondary-button {
    min-height: 44px;
  }

  .search-product-content {
    padding: 11px;
    gap: 5px;
  }

  .search-product-card h3 {
    font-size: 0.96rem;
  }

  .search-price {
    font-size: 0.98rem;
  }

  .search-card-location,
  .search-card-foot,
  .search-owner-mini {
    font-size: 0.76rem;
  }

  .search-owner-mini {
    display: none;
  }

  .search-product-photo .favorite-button {
    right: 7px;
    top: 7px;
    width: 40px;
    height: 40px;
  }

  .filter-actions {
    grid-template-columns: 1fr;
  }
}

/* Definitieve homepage productie-afwerking v31 */
:root {
  --hg-green: #0b8754;
  --hg-green-dark: #075c3b;
  --hg-text: #162033;
  --hg-muted: #647084;
  --hg-bg: #f7faf8;
  --hg-soft: #edf7f1;
  --hg-border: #dce7e1;
}

body[data-route="home"] {
  background: var(--hg-bg);
  color: var(--hg-text);
  padding-bottom: 0;
}

body[data-route="home"] .app-shell {
  background: transparent;
}

.is-public-visitor .public-login-button {
  display: inline-flex;
}

.is-signed-in .public-login-button {
  display: none;
}

.top-actions #notificationButton {
  order: 1;
}

.top-actions #messageButton {
  order: 2;
}

.top-actions #accountButton {
  order: 3;
}

.top-actions .listing-cta-button {
  order: 4;
}

.is-public-visitor .top-actions .public-login-button {
  order: 1;
}

.is-public-visitor .top-actions .listing-cta-button {
  order: 2;
}

@media (min-width: 769px) {
  body[data-route="home"] .app-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-route="home"] .topbar {
    width: min(1240px, calc(100% - 64px));
    max-width: 1240px;
    min-height: 76px;
    margin: 0 auto;
    border: 0;
    border-bottom: 1px solid rgba(220, 231, 225, 0.92);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
  }

  body[data-route="home"] #app {
    overflow-x: clip;
    padding: 0;
  }

  body[data-route="home"] .hg-home,
  body[data-route="home"] .hg-desktop-discovery {
    width: 100%;
    max-width: none;
  }

  body[data-route="home"] .hg-desktop-discovery {
    gap: clamp(72px, 6vw, 96px);
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    width: min(1240px, calc(100% - 64px));
    min-height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(220, 231, 225, 0.78);
    border-radius: 28px;
    background: #eef8f3;
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.07);
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    filter: saturate(1.1) contrast(1.05) brightness(1.02);
    object-fit: cover;
    object-position: center;
  }

  body[data-route="home"] .hg-desktop-hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.93) 25%, rgba(255, 255, 255, 0.67) 44%, rgba(255, 255, 255, 0.18) 64%, rgba(255, 255, 255, 0.02) 82%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  }

  body[data-route="home"] .hg-desktop-hero-content {
    width: 100%;
    min-height: 520px;
    margin: 0;
    padding: 42px 44px 34px;
  }

  body[data-route="home"] .hg-desktop-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(11, 135, 84, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--hg-green-dark);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 850;
  }

  body[data-route="home"] .hg-desktop-hero-label svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--hg-text);
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: clamp(3.6rem, 4.35vw, 4.1rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 span {
    display: block;
    color: var(--hg-green);
  }

  body[data-route="home"] .hg-desktop-hero-content > p {
    max-width: 460px;
    margin: 0;
    color: #344054;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 1.06rem;
    font-weight: 650;
    line-height: 1.55;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1120px);
    min-height: 82px;
    margin-top: auto;
    grid-template-columns: minmax(300px, 1.45fr) minmax(190px, 0.76fr) minmax(180px, 0.72fr) minmax(205px, 0.76fr);
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(220, 231, 225, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(22, 32, 51, 0.12);
  }

  body[data-route="home"] .hg-desktop-search-main input,
  body[data-route="home"] .hg-desktop-search-pill {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
  }

  body[data-route="home"] .hg-desktop-search-main input::placeholder {
    color: var(--hg-muted);
  }

  body[data-route="home"] .hg-desktop-search-submit {
    background: var(--hg-green);
    box-shadow: 0 10px 24px rgba(11, 135, 84, 0.18);
  }

  body[data-route="home"] .hg-desktop-search-submit:hover,
  body[data-route="home"] .hg-desktop-search-submit:focus-visible {
    background: var(--hg-green-dark);
  }

  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-route="home"] .hg-desktop-category-tile {
    min-height: 78px;
    padding: 10px 8px;
    border-color: rgba(220, 231, 225, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
  }

  body[data-route="home"] .hg-desktop-category-tile span {
    width: 28px;
    height: 28px;
    color: var(--hg-green);
  }

  body[data-route="home"] .hg-desktop-category-tile svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.25;
  }

  body[data-route="home"] .hg-desktop-category-tile strong {
    color: var(--hg-text);
    font-size: 0.83rem;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-route="home"] .hg-desktop-feed,
  body[data-route="home"] .hg-home-below {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
  }
}

body[data-route="home"] .hg-home-section-head,
body[data-route="home"] .hg-feed-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 24px;
}

body[data-route="home"] .hg-home-section-head h2,
body[data-route="home"] .hg-feed-section-head h2,
body[data-route="home"] .hg-home-rent-cta h2 {
  color: var(--hg-text);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 2.7vw, 2.38rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

body[data-route="home"] .hg-home-section-head p:not(.hg-section-kicker),
body[data-route="home"] .hg-feed-section-head p,
body[data-route="home"] .hg-home-rent-cta p {
  color: var(--hg-muted);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

body[data-route="home"] .hg-home-below {
  gap: clamp(72px, 6vw, 92px);
}

body[data-route="home"] .hg-desktop-feed,
body[data-route="home"] .hg-home-section,
body[data-route="home"] .hg-home-moment-section,
body[data-route="home"] .hg-home-safety-compact,
body[data-route="home"] .hg-home-faq {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-route="home"] .hg-desktop-tabs,
body[data-route="home"] .hg-mobile-tabs,
body[data-route="home"] .hg-home-how-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 4px;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 4px;
  border: 1px solid var(--hg-border);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 32, 51, 0.05);
}

body[data-route="home"] .hg-desktop-tabs button,
body[data-route="home"] .hg-mobile-tabs button,
body[data-route="home"] .hg-home-how-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hg-muted);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 850;
  cursor: pointer;
}

body[data-route="home"] .hg-desktop-tabs button.is-active,
body[data-route="home"] .hg-mobile-tabs button.is-active,
body[data-route="home"] .hg-home-how-tabs button.is-active {
  background: var(--hg-green);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 135, 84, 0.18);
}

body[data-route="home"] .hg-home-how-split {
  padding: clamp(34px, 4vw, 48px);
  background: var(--hg-soft);
  border: 0;
  border-radius: 0;
}

body[data-route="home"] .hg-home-how-panel {
  display: none;
}

body[data-route="home"] .hg-home-how-panel.is-active {
  display: block;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card {
  display: grid;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card h3 {
  display: none;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card li {
  position: relative;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 1fr;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(220, 231, 225, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card li > span {
  width: 36px;
  height: 36px;
  background: var(--hg-green);
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card strong {
  font-size: 1rem;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card p {
  margin-top: 5px;
  font-size: 0.93rem;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card > button {
  justify-self: center;
}

body[data-route="home"] .hg-desktop-card-meta,
body[data-route="home"] .hg-mobile-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--hg-muted);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
}

body[data-route="home"] .hg-desktop-card-meta span,
body[data-route="home"] .hg-mobile-card-meta span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}

body[data-route="home"] .hg-desktop-card-meta svg,
body[data-route="home"] .hg-mobile-card-meta svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

body[data-route="home"] .hg-desktop-card-meta span:last-child svg,
body[data-route="home"] .hg-mobile-card-meta span:last-child svg {
  color: #f59e0b;
}

body[data-route="home"] .hg-desktop-listing-body strong,
body[data-route="home"] .hg-mobile-listing-body strong {
  color: var(--hg-text);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 750;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: normal;
  overflow-wrap: break-word;
}

body[data-route="home"] .hg-desktop-price,
body[data-route="home"] .hg-mobile-price {
  color: var(--hg-green-dark);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
}

body[data-route="home"] .hg-home-rent-cta {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    #fbf8f2;
}

body[data-route="home"] .hg-home-footer {
  margin-top: 0;
  padding: 30px;
  border-radius: 28px 28px 0 0;
  background: #073f2f;
}

body[data-route="home"] .hg-home-footer-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-route="home"] .hg-home-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

body[data-route="home"] .hg-home-footer-bottom button {
  width: auto;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 769px) and (max-width: 1080px) {
  body[data-route="home"] .hg-desktop-hero-panel,
  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 560px;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="home"] .hg-desktop-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .app-shell {
    background: var(--hg-bg);
  }

  body[data-route="home"] .hg-mobile-home {
    padding: max(14px, env(safe-area-inset-top)) 12px calc(82px + env(safe-area-inset-bottom));
  }

  body[data-route="home"] .hg-mobile-app-head {
    padding: 0 2px;
  }

  body[data-route="home"] .hg-mobile-logo {
    font-size: clamp(1.72rem, 8vw, 2.1rem);
  }

  body[data-route="home"] .hg-mobile-search {
    min-height: 58px;
    margin-top: 14px;
  }

  body[data-route="home"] .hg-mobile-categories {
    margin-top: 16px;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    gap: 12px;
    padding: 2px 6px 6px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-route="home"] .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  body[data-route="home"] .hg-mobile-category {
    flex: 0 0 96px;
    width: 96px;
    min-height: 98px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    max-width: 92px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    font-size: 0.74rem;
    line-height: 1.13;
  }

  body[data-route="home"] .hg-mobile-feed {
    margin-top: 18px;
  }

  body[data-route="home"] .hg-home-section-head,
  body[data-route="home"] .hg-feed-section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }

  body[data-route="home"] .hg-home-section-head h2,
  body[data-route="home"] .hg-feed-section-head h2,
  body[data-route="home"] .hg-home-rent-cta h2 {
    font-size: clamp(1.5rem, 7vw, 1.72rem);
    line-height: 1.12;
  }

  body[data-route="home"] .hg-home-section-head p:not(.hg-section-kicker),
  body[data-route="home"] .hg-feed-section-head p,
  body[data-route="home"] .hg-home-rent-cta p {
    font-size: 0.95rem;
  }

  body[data-route="home"] .hg-mobile-tabs,
  body[data-route="home"] .hg-home-how-tabs {
    width: 100%;
  }

  body[data-route="home"] .hg-home-below {
    gap: 52px;
  }

  body[data-route="home"] .hg-home-moment-grid,
  body[data-route="home"] .hg-home-trust-grid,
  body[data-route="home"] .hg-home-how-panel .hg-home-route-card ol {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-how-split,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-rent-cta {
    padding: 22px;
    border-radius: 20px;
  }

  body[data-route="home"] .hg-home-how-panel .hg-home-route-card li {
    min-height: 0;
  }

  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-rent-cta,
  body[data-route="home"] .hg-home-footer {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-place-chips,
  body[data-route="home"] .hg-home-rent-actions {
    justify-content: flex-start;
  }

  body[data-route="home"] .hg-home-rent-cta > img {
    width: 100%;
    height: 150px;
  }

  body[data-route="home"] .hg-home-footer {
    padding: 24px 20px;
  }

  body[data-route="home"] .hg-home-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="home"] .hg-home-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  body[data-route="search"] #app {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body[data-route="search"] .bottom-nav,
  body[data-route="search"].is-public-visitor .bottom-nav {
    display: grid;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 70px;
    border: 1px solid rgba(220, 231, 225, 0.92);
    border-radius: 22px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
    backdrop-filter: blur(18px);
  }

  body[data-route="search"] .bottom-nav .nav-item {
    min-height: 52px;
    border-radius: 16px;
    font-size: 0.66rem;
    font-weight: 720;
  }

  body[data-route="search"] .bottom-nav .nav-item[data-route="search"] {
    color: var(--hg-green);
  }

  body[data-route="search"] .bottom-nav .nav-add {
    background: var(--hg-green);
    color: #ffffff;
  }

  body[data-route="search"] .hg-results-tools {
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle {
    display: inline-flex !important;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle button {
    flex: 1 1 0;
    justify-content: center;
    min-height: 42px;
  }

  body[data-route="search"] .filter-sheet,
  body[data-route="search"] .filter-sheet.open {
    z-index: 1200;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

body[data-route="search"] .filter-actions {
    position: sticky;
    bottom: 0;
    margin-right: -18px;
    margin-left: -18px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(220, 231, 225, 0.86);
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Account environment */
body[data-route="account"],
body[data-route="accountBookings"],
body[data-route="accountListings"],
body[data-route="accountMessages"],
body[data-route="accountVerification"],
body[data-route="accountProfile"],
body[data-route="accountPayments"],
body[data-route="accountSettings"] {
  background: var(--hg-bg, #f7faf8);
}

body[data-route="account"] #app,
body[data-route="accountBookings"] #app,
body[data-route="accountListings"] #app,
body[data-route="accountMessages"] #app,
body[data-route="accountVerification"] #app,
body[data-route="accountProfile"] #app,
body[data-route="accountPayments"] #app,
body[data-route="accountSettings"] #app {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.hg-account-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hg-account-sidebar,
.hg-account-content,
.hg-account-panel,
.hg-account-stat-card,
.hg-account-help-card,
.hg-account-empty {
  border: 1px solid var(--hg-line, #dce7e1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(22, 32, 51, 0.05);
}

.hg-account-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  border-radius: 22px;
  padding: 18px;
}

.hg-account-sidebar-profile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hg-line, #dce7e1);
}

.hg-account-sidebar-profile strong,
.account-dropdown-profile strong,
.hg-account-row strong,
.hg-account-setting-row strong {
  display: block;
  color: var(--hg-text, #162033);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-weight: 800;
}

.hg-account-sidebar-profile span,
.account-dropdown-profile small,
.hg-account-row span,
.hg-account-setting-row small {
  display: block;
  overflow: hidden;
  color: var(--hg-muted, #647084);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.87rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-account-sidebar-avatar,
.hg-account-profile-avatar,
.account-dropdown-avatar,
.topbar-avatar,
.hg-avatar-fallback {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hg-green-soft, #edf7f1);
  color: var(--hg-green, #0b8754);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-weight: 850;
  object-fit: cover;
}

.hg-avatar-wrap {
  position: relative;
  display: inline-grid;
}

.hg-account-sidebar-avatar {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.hg-account-profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
}

.account-dropdown-avatar,
.topbar-avatar {
  width: 38px;
  height: 38px;
  font-size: 0.9rem;
}

.hg-account-nav-group {
  display: grid;
  gap: 6px;
}

.hg-account-nav-title {
  margin: 8px 10px 4px;
  color: var(--hg-muted, #647084);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hg-account-nav-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 11px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--hg-muted, #647084);
  cursor: pointer;
  text-align: left;
}

.hg-account-nav-item svg,
.hg-account-setting-row svg,
.hg-account-stat-card svg,
.hg-account-empty svg,
.hg-account-help-card svg,
.account-dropdown-menu svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.hg-account-nav-item > span {
  display: grid;
  place-items: center;
  color: currentColor;
}

.hg-account-nav-item strong {
  overflow: hidden;
  font-size: 0.91rem;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-account-nav-item em {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(11, 135, 84, 0.08);
  color: var(--hg-green, #0b8754);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.hg-account-nav-item:hover,
.hg-account-nav-item:focus-visible,
.hg-account-nav-item.is-active {
  background: var(--hg-green-soft, #edf7f1);
  color: var(--hg-green-dark, #075c3b);
  outline: none;
}

.hg-account-nav-item.is-active {
  box-shadow: inset 3px 0 0 var(--hg-green, #0b8754);
}

.hg-account-content {
  min-width: 0;
  border-radius: 24px;
  padding: 26px;
}

.hg-account-page-head,
.hg-account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hg-account-page-head {
  margin-bottom: 22px;
}

.hg-account-page-head h1 {
  margin: 4px 0 8px;
  color: var(--hg-text, #162033);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: clamp(2rem, 3vw, 2.35rem);
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hg-account-page-head p,
.hg-account-panel-head p,
.hg-account-empty p,
.hg-account-help-card p {
  margin: 0;
  color: var(--hg-muted, #647084);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.55;
}

.hg-account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.hg-account-stat-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 18px;
  border-radius: 18px;
  color: var(--hg-text, #162033);
  cursor: pointer;
  text-align: left;
}

.hg-account-stat-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--hg-green-soft, #edf7f1);
  color: var(--hg-green, #0b8754);
}

.hg-account-stat-card strong {
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.12;
}

.hg-account-stat-card small {
  color: var(--hg-muted, #647084);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.85rem;
  font-weight: 650;
}

.hg-account-stat-card:hover,
.hg-account-stat-card:focus-visible,
.hg-account-row:hover,
.hg-account-setting-row:hover,
.hg-account-empty button:hover {
  border-color: rgba(11, 135, 84, 0.28);
  outline: none;
}

.hg-account-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  border-radius: 20px;
  padding: 20px;
}

.hg-account-panel h2,
.hg-account-help-card h2,
.hg-account-empty h3,
.hg-account-profile-card h2 {
  margin: 0;
  color: var(--hg-text, #162033);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-weight: 820;
  letter-spacing: -0.02em;
}

.hg-account-panel h2,
.hg-account-help-card h2 {
  font-size: 1.26rem;
}

.hg-account-list,
.hg-account-settings-list {
  display: grid;
  gap: 10px;
}

.hg-account-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--hg-line, #dce7e1);
  border-radius: 16px;
  background: #ffffff;
}

.hg-account-row img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.hg-account-empty {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  border-radius: 18px;
  padding: 18px;
}

.hg-account-empty > span,
.hg-account-setting-row > span,
.hg-account-help-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--hg-green-soft, #edf7f1);
  color: var(--hg-green, #0b8754);
}

.hg-account-verification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.hg-account-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--hg-line, #dce7e1);
  border-radius: 18px;
  background: #ffffff;
}

.hg-account-progress strong {
  color: var(--hg-text, #162033);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-weight: 850;
}

.hg-account-progress span {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2ef;
}

.hg-account-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--hg-green, #0b8754);
}

.hg-account-help-card {
  display: grid;
  gap: 12px;
  border-radius: 20px;
  padding: 20px;
}

.hg-account-verification-layout .verification-flow-card {
  gap: 14px;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--hg-line, #dce7e1);
  border-radius: 20px;
  box-shadow: none;
}

.hg-account-verification-layout .verification-flow-head {
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
}

.hg-account-verification-layout .verification-flow-head h2 {
  font-size: 1.42rem;
  line-height: 1.14;
}

.hg-account-verification-layout .verification-stepper {
  gap: 10px;
}

.hg-account-verification-layout .verification-step-row {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 88px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: none;
}

.hg-account-verification-layout .verification-step-row.done,
.hg-account-verification-layout .verification-step-row.active,
.hg-account-verification-layout .verification-step-row.waiting,
.hg-account-verification-layout .verification-step-row.error,
.hg-account-verification-layout .verification-step-row.locked,
.hg-account-verification-layout .verification-step-row.todo {
  background: #ffffff;
}

.hg-account-verification-layout .verification-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.hg-account-verification-layout .verification-step-copy {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
}

.hg-account-verification-layout .verification-step-copy h3 {
  font-size: 1rem;
}

.hg-account-verification-layout .verification-step-copy p {
  grid-column: 1 / 2;
  margin: 2px 0 0;
  font-size: 0.9rem;
}

.hg-account-verification-layout .verification-step-copy .primary-button,
.hg-account-verification-layout .verification-step-copy .secondary-button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-width: 154px;
  max-width: 190px;
  min-height: 42px;
}

.hg-account-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hg-line, #dce7e1);
}

.hg-account-setting-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 13px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--hg-line, #dce7e1);
  border-radius: 16px;
  background: #ffffff;
  color: var(--hg-text, #162033);
  cursor: pointer;
  text-align: left;
}

div.hg-account-setting-row {
  cursor: default;
}

.hg-account-mobile-nav {
  display: none;
}

.account-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: transparent;
}

.account-dropdown-menu {
  position: fixed;
  top: 78px;
  right: max(18px, calc((100vw - 1440px) / 2 + 24px));
  width: min(360px, calc(100vw - 28px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hg-line, #dce7e1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(22, 32, 51, 0.16);
}

.account-dropdown-profile,
.account-dropdown-list button,
.account-dropdown-logout {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.account-dropdown-profile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
}

.account-dropdown-profile:hover,
.account-dropdown-profile:focus-visible,
.account-dropdown-list button:hover,
.account-dropdown-list button:focus-visible,
.account-dropdown-list button.is-active,
.account-dropdown-logout:hover,
.account-dropdown-logout:focus-visible {
  background: var(--hg-green-soft, #edf7f1);
  outline: none;
}

.account-dropdown-profile em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--hg-green, #0b8754);
  font-style: normal;
  font-weight: 820;
}

.account-dropdown-list {
  display: grid;
  gap: 3px;
}

.account-dropdown-list button,
.account-dropdown-logout {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--hg-text, #162033);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 0.92rem;
  font-weight: 760;
}

.account-dropdown-list button.is-active {
  color: var(--hg-green-dark, #075c3b);
}

.account-dropdown-divider {
  height: 1px;
  background: var(--hg-line, #dce7e1);
}

.account-dropdown-logout {
  color: var(--danger, #b42318);
}

.phone-verification-modal {
  width: min(480px, calc(100vw - 28px));
  border-radius: 22px;
  padding: 24px;
}

.phone-verification-head {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hg-line, #dce7e1);
}

.phone-verification-head h2 {
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.phone-verification-form {
  padding-top: 18px;
}

.phone-verification-form input,
.phone-verification-form select {
  min-height: 50px;
  border-radius: 14px;
  font-size: 1rem;
}

.phone-otp-input {
  direction: ltr;
  unicode-bidi: plaintext;
  letter-spacing: 0.08em;
  text-align: left;
  caret-color: var(--primary, #087849);
  font-variant-numeric: tabular-nums;
}

.verification-form-error {
  margin: 0;
  border: 1px solid rgba(180, 35, 24, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fef3f2;
  color: #b42318;
  font-weight: 700;
}

@media (max-width: 1024px) {
  body[data-route="account"] #app,
  body[data-route="accountBookings"] #app,
  body[data-route="accountListings"] #app,
  body[data-route="accountMessages"] #app,
  body[data-route="accountVerification"] #app,
  body[data-route="accountProfile"] #app,
  body[data-route="accountPayments"] #app,
  body[data-route="accountSettings"] #app {
    width: min(100% - 28px, 940px);
    padding-top: 20px;
  }

  .hg-account-shell {
    grid-template-columns: 1fr;
  }

  .hg-account-sidebar {
    display: none;
  }

  .hg-account-mobile-nav {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hg-account-mobile-nav > span {
    color: var(--hg-text, #162033);
    font-family: var(--font-display, "Manrope", sans-serif);
    font-size: 0.9rem;
    font-weight: 850;
  }

  .hg-account-mobile-nav > div {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .hg-account-mobile-nav > div::-webkit-scrollbar {
    display: none;
  }

  .hg-account-mobile-nav button {
    flex: 0 0 auto;
    min-height: 40px;
    border: 1px solid var(--hg-line, #dce7e1);
    border-radius: 999px;
    padding: 8px 13px;
    background: #ffffff;
    color: var(--hg-muted, #647084);
    font-weight: 760;
  }

  .hg-account-mobile-nav button.is-active {
    border-color: rgba(11, 135, 84, 0.28);
    background: var(--hg-green-soft, #edf7f1);
    color: var(--hg-green-dark, #075c3b);
  }

  .hg-account-verification-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body[data-route="account"] #app,
  body[data-route="accountBookings"] #app,
  body[data-route="accountListings"] #app,
  body[data-route="accountMessages"] #app,
  body[data-route="accountVerification"] #app,
  body[data-route="accountProfile"] #app,
  body[data-route="accountPayments"] #app,
  body[data-route="accountSettings"] #app {
    width: calc(100% - 24px);
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .hg-account-content {
    border-radius: 22px;
    padding: 16px;
  }

  .hg-account-page-head,
  .hg-account-panel-head {
    display: grid;
  }

  .hg-account-page-head h1 {
    font-size: 1.7rem;
  }

  .hg-account-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-account-row,
  .hg-account-empty,
  .hg-account-setting-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .hg-account-row .status-pill,
  .hg-account-row .compact-action,
  .hg-account-empty .compact-action,
  .hg-account-setting-row > svg {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .hg-account-verification-layout .verification-step-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .hg-account-verification-layout .verification-step-copy {
    grid-template-columns: 1fr;
  }

  .hg-account-verification-layout .verification-step-copy .primary-button,
  .hg-account-verification-layout .verification-step-copy .secondary-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: none;
  }

  .account-dropdown-menu {
    top: 70px;
    right: 12px;
  }
}

/* Premium messages and transaction page */
body[data-route="messages"] {
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7faf8;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-ligatures: common-ligatures;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[data-route="messages"] :where(.desktop-main-nav, .top-actions, .premium-messages-page, .premium-messages-page *) {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-route="messages"] :where(button:not(.logo-button), input, textarea, select) {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-route="messages"] .app-shell {
  max-width: none;
  min-height: 100vh;
  border-radius: 0;
  background: #f7faf8;
  box-shadow: none;
}

body[data-route="messages"] .topbar {
  min-height: 104px;
  padding: 0 max(24px, calc((100vw - 1420px) / 2 + 24px));
  border-bottom: 1px solid rgba(220, 231, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

body[data-route="messages"] #app {
  width: min(1420px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 48px;
  overflow: visible;
}

.premium-messages-page {
  display: grid;
  grid-template-columns: minmax(280px, 310px) minmax(0, 1fr) minmax(300px, 330px);
  gap: 20px;
  min-height: calc(100vh - 176px);
}

.premium-inbox-panel,
.premium-chat-panel,
.premium-transaction-panel {
  min-width: 0;
  border: 1px solid rgba(220, 231, 225, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(22, 32, 51, 0.055);
}

.premium-inbox-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 20px;
  padding: 26px 24px;
}

.premium-inbox-head,
.premium-chat-header,
.premium-transaction-head,
.premium-conversation-row,
.premium-transaction-row,
.premium-transaction-total {
  display: flex;
  align-items: center;
}

.premium-inbox-head,
.premium-transaction-head {
  justify-content: space-between;
  gap: 14px;
}

.premium-inbox-head h1,
.premium-transaction-head h2 {
  margin: 0;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 1.58rem;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.premium-icon-button,
.premium-attachment-button,
.premium-send-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 231, 225, 0.95);
  background: #fff;
  color: #162033;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.premium-icon-button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.premium-icon-button:hover,
.premium-attachment-button:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 135, 84, 0.24);
  color: var(--brand-strong);
  background: #f7fbf9;
}

.premium-icon-button.active {
  border-color: rgba(11, 135, 84, 0.28);
  background: #edf7f1;
  color: var(--brand-strong);
}

.premium-attachment-button:disabled {
  cursor: not-allowed;
  color: #9aa4b2;
  background: #f6f8f7;
}

.premium-attachment-button:disabled:hover {
  transform: none;
  border-color: rgba(220, 231, 225, 0.95);
  color: #9aa4b2;
  background: #f6f8f7;
}

.premium-icon-button svg,
.premium-inbox-search svg,
.premium-chat-person svg,
.premium-more-actions svg,
.premium-message-bubble svg,
.premium-chat-composer svg,
.premium-transaction-panel svg,
.premium-inbox-note svg,
.premium-help-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-inbox-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(220, 231, 225, 0.96);
  border-radius: 14px;
  background: #fff;
}

.premium-inbox-search svg {
  color: #59657a;
}

.premium-inbox-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #162033;
  font: 500 0.95rem/1.2 var(--font-ui);
}

.premium-inbox-search input::placeholder {
  color: #7d8798;
}

.premium-conversation-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
}

.premium-conversation-empty {
  display: grid;
  place-items: center;
  min-height: 122px;
  border: 1px dashed rgba(190, 205, 197, 0.86);
  border-radius: 17px;
  color: #647084;
  font: 650 0.9rem/1.35 var(--font-ui);
  text-align: center;
}

.premium-conversation-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  color: #162033;
  text-align: left;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.premium-conversation-card:hover {
  transform: translateY(-1px);
  background: #f8fbf9;
}

.premium-conversation-card.active {
  border-color: rgba(11, 135, 84, 0.54);
  background: linear-gradient(135deg, rgba(237, 247, 241, 0.95), rgba(255, 255, 255, 0.98));
}

.premium-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.1);
}

.premium-avatar.large {
  width: 64px;
  height: 64px;
}

.premium-avatar.initials {
  display: inline-grid;
  place-items: center;
  background: #162033;
  color: #fff;
  font: 800 1.05rem/1 var(--font-display);
}

.premium-conversation-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.premium-conversation-row {
  justify-content: space-between;
  gap: 10px;
}

.premium-conversation-row strong {
  min-width: 0;
  overflow: hidden;
  color: #101828;
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-conversation-row time,
.premium-conversation-main p,
.premium-inbox-note {
  color: #5f6b7e;
  font-family: var(--font-ui);
}

.premium-conversation-row time {
  flex: 0 0 auto;
  font-size: 0.83rem;
  font-weight: 600;
}

.premium-conversation-main p {
  margin: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #98a2b3;
}

.premium-status-dot.unread {
  background: var(--brand);
}

.premium-inbox-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: auto 4px 0;
  color: #647084;
  font-size: 0.83rem;
  font-weight: 600;
}

.premium-inbox-note svg {
  width: 17px;
  height: 17px;
  color: var(--brand-strong);
}

.premium-help-card {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text"
    "icon link";
  align-items: center;
  column-gap: 16px;
  row-gap: 5px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(220, 231, 225, 0.96);
  border-radius: 18px;
  background: #fff;
  color: #162033;
  text-align: left;
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.045);
}

.premium-help-card:hover,
.premium-help-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(11, 135, 84, 0.24);
  background: #fbfdfc;
}

.premium-help-card > span {
  grid-area: icon;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #edf7f1;
  color: var(--brand-strong);
}

.premium-help-card > span svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.1;
}

.premium-help-card strong {
  grid-area: title;
  color: #101828;
  font: 850 0.98rem/1.2 var(--font-display);
}

.premium-help-card small {
  grid-area: text;
  color: #667085;
  font: 600 0.88rem/1.35 var(--font-ui);
}

.premium-help-card em {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-strong);
  font: normal 800 0.88rem/1.2 var(--font-ui);
}

.premium-help-card em svg {
  width: 15px;
  height: 15px;
}

.premium-chat-panel {
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr) auto;
  overflow: hidden;
}

.premium-chat-header {
  min-height: 108px;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(220, 231, 225, 0.9);
}

.premium-chat-back {
  display: none;
}

.premium-chat-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.premium-chat-person span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.premium-chat-person strong {
  color: #101828;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.1;
}

.premium-chat-person small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font: 600 0.9rem/1.25 var(--font-ui);
}

.premium-chat-person small svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  stroke-width: 2.4;
}

.premium-chat-actions {
  position: relative;
  flex: 0 0 auto;
}

.premium-more-actions {
  min-height: 48px;
  gap: 8px;
  border-radius: 14px;
  padding: 0 18px;
  background: #fff;
  color: #162033;
  font-family: var(--font-ui);
  font-weight: 750;
}

.premium-more-actions svg {
  width: 16px;
  height: 16px;
}

.premium-chat-actions .chat-options-menu {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
}

.premium-chat-scroll {
  display: grid;
  align-content: start;
  gap: 22px;
  overflow-y: auto;
  padding: 30px 24px;
  background:
    radial-gradient(circle at 32% 16%, rgba(237, 247, 241, 0.55), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}

.premium-date-separator {
  justify-self: center;
  color: #697386;
  font: 650 0.86rem/1 var(--font-ui);
}

.premium-message-bubble {
  width: fit-content;
  max-width: min(520px, 72%);
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(220, 231, 225, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 32, 51, 0.045);
}

.premium-message-bubble.mine {
  justify-self: end;
  background: #eef8f2;
  border-color: rgba(11, 135, 84, 0.16);
}

.premium-message-bubble p {
  margin: 0;
  color: #162033;
  font: 500 1rem/1.55 var(--font-ui);
}

.premium-message-bubble small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font: 650 0.82rem/1 var(--font-ui);
}

.premium-message-bubble small span {
  display: inline-flex;
  gap: 0;
  color: var(--brand);
}

.premium-message-bubble small svg {
  width: 13px;
  height: 13px;
  margin-left: -3px;
  stroke-width: 2.4;
}

.premium-chat-composer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  margin: 0 24px 24px;
  padding: 10px;
  border: 1px solid rgba(220, 231, 225, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(22, 32, 51, 0.045);
}

.premium-attachment-button {
  width: 46px;
  height: 46px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  border-color: rgba(220, 231, 225, 0.95);
  box-shadow: none;
}

.premium-chat-composer input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #162033;
  font: 500 1rem/1.3 var(--font-ui);
}

.premium-chat-composer input::placeholder {
  color: #7d8798;
}

.premium-send-button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #e9f6ef;
  color: var(--brand-strong);
}

.premium-send-button:hover {
  transform: translateY(-1px);
  background: var(--brand);
  color: #fff;
}

.premium-transaction-panel {
  align-content: start;
  display: grid;
  gap: 24px;
  padding: 26px;
  overflow: hidden;
}

.premium-reservation-status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--brand-strong);
  padding: 0 12px;
  font: 750 0.78rem/1.1 var(--font-ui);
  white-space: normal;
}

.premium-reservation-status span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
}

.premium-transaction-product {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.premium-transaction-product img {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 26px rgba(22, 32, 51, 0.1);
}

.premium-transaction-product span {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.premium-transaction-product strong {
  color: #101828;
  font: 800 0.98rem/1.35 var(--font-display);
}

.premium-transaction-product small {
  color: #667085;
  font: 650 0.88rem/1.2 var(--font-ui);
}

.premium-transaction-section {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 231, 225, 0.95);
}

.premium-transaction-section h3 {
  margin: 0 0 2px;
  color: #101828;
  font: 850 1rem/1.1 var(--font-display);
}

.premium-transaction-row {
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  color: #5f6b7e;
  font: 500 0.94rem/1.45 var(--font-ui);
}

.premium-transaction-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.premium-transaction-row span svg {
  width: 15px;
  height: 15px;
}

.premium-transaction-row strong {
  max-width: 62%;
  color: #162033;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.premium-text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  padding: 0;
  font: 800 0.88rem/1.1 var(--font-ui);
}

.premium-text-link svg {
  width: 15px;
  height: 15px;
}

.premium-transaction-total {
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 231, 225, 0.95);
}

.premium-transaction-total span,
.premium-transaction-total strong {
  color: #101828;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 850;
  min-width: 0;
}

.premium-deposit-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(11, 135, 84, 0.13);
  border-radius: 18px;
  background: #f3fbf6;
  color: #536174;
  font: 500 0.9rem/1.6 var(--font-ui);
}

.premium-deposit-note svg {
  margin-top: 2px;
  color: var(--brand);
}

.premium-reservation-button {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 850;
}

@media (max-width: 1180px) {
  .premium-messages-page {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .premium-transaction-panel {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    align-items: start;
  }

  .premium-transaction-head,
  .premium-transaction-product {
    grid-column: 1;
  }

  .premium-transaction-section,
  .premium-deposit-note,
  .premium-reservation-button {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  body[data-route="messages"] .topbar {
    min-height: 68px;
    padding: 10px 12px;
  }

  body[data-route="messages"] #app {
    width: 100%;
    padding: 14px 12px calc(96px + env(safe-area-inset-bottom));
  }

  .premium-messages-page {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 14px;
  }

  .premium-inbox-panel,
  .premium-chat-panel,
  .premium-transaction-panel {
    border-radius: 22px;
  }

  .premium-chat-panel {
    min-height: 680px;
  }

  .premium-chat-back {
    display: inline-grid;
  }

  .premium-chat-header {
    min-height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 16px;
  }

  .premium-chat-person .premium-avatar {
    width: 48px;
    height: 48px;
  }

  .premium-chat-person strong {
    font-size: 1rem;
  }

  .premium-chat-person small {
    font-size: 0.78rem;
  }

  .premium-more-actions {
    width: 46px;
    min-height: 46px;
    padding: 0;
    font-size: 0;
  }

  .premium-more-actions svg {
    width: 18px;
    height: 18px;
  }

  .premium-chat-scroll {
    padding: 20px 16px;
  }

  .premium-message-bubble {
    max-width: 86%;
    padding: 16px;
  }

  .premium-chat-composer {
    margin: 0 14px 16px;
  }

  .premium-transaction-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .premium-transaction-head,
  .premium-transaction-product,
  .premium-transaction-section,
  .premium-deposit-note,
  .premium-reservation-button {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body[data-route="search"] #app {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body[data-route="search"] .bottom-nav,
  body[data-route="search"].is-public-visitor .bottom-nav {
    display: grid;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 70px;
    border: 1px solid rgba(220, 231, 225, 0.92);
    border-radius: 22px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
    backdrop-filter: blur(18px);
  }

  body[data-route="search"] .bottom-nav .nav-item {
    min-height: 52px;
    border-radius: 16px;
    font-size: 0.66rem;
    font-weight: 720;
  }

  body[data-route="search"] .bottom-nav .nav-item[data-route="search"] {
    color: var(--hg-green);
  }

  body[data-route="search"] .bottom-nav .nav-add {
    background: var(--hg-green);
    color: #ffffff;
  }

  body[data-route="search"] .hg-results-tools {
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle {
    display: inline-flex;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle button {
    flex: 1 1 0;
    justify-content: center;
    min-height: 42px;
  }

  body[data-route="search"] .filter-sheet,
  body[data-route="search"] .filter-sheet.open {
    z-index: 1200;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  body[data-route="search"] .filter-actions {
    position: sticky;
    bottom: 0;
    margin-right: -18px;
    margin-left: -18px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(220, 231, 225, 0.86);
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Final search-page overrides, kept at the end so older rails cannot leak back in. */
body[data-route="search"] .hg-discover-page {
  width: min(1240px, 100%);
  margin: 0 auto;
  gap: clamp(22px, 3vw, 36px);
}

body[data-route="search"] .hg-search-sticky {
  top: 79px;
  padding: 8px 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 250, 248, 0.98), rgba(247, 250, 248, 0.86));
  backdrop-filter: blur(18px);
}

body[data-route="search"] .hg-discover-search {
  grid-template-columns: minmax(260px, 1.4fr) minmax(190px, 0.8fr) minmax(170px, 0.7fr) auto auto;
  gap: 10px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(20, 41, 32, 0.08);
}

body[data-route="search"] .hg-search-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body[data-route="search"] .search-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  color: inherit;
  box-shadow: 0 10px 28px rgba(20, 41, 32, 0.06);
  cursor: pointer;
  opacity: 1;
  transform: none;
  animation: none;
}

body[data-route="search"] .search-product-card:hover,
body[data-route="search"] .search-product-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(11, 135, 84, 0.28);
  box-shadow: 0 18px 42px rgba(20, 41, 32, 0.1);
}

body[data-route="search"] .search-product-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef4f0;
}

body[data-route="search"] .search-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-route="search"] .search-product-photo .favorite-button {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(220, 231, 225, 0.92);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 8px 22px rgba(20, 41, 32, 0.12);
}

body[data-route="search"] .search-product-content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px;
}

body[data-route="search"] .search-product-card h3 {
  display: -webkit-box;
  min-height: 2.48em;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.03rem;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-route="search"] .search-price {
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 850;
}

body[data-route="search"] .search-card-location,
body[data-route="search"] .search-card-foot,
body[data-route="search"] .search-owner-mini {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}

body[data-route="search"] .search-card-location {
  margin: 0;
}

body[data-route="search"] .search-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body[data-route="search"] .search-owner-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
}

body[data-route="search"] .search-owner-mini .owner-avatar {
  width: 24px;
  height: 24px;
}

body[data-route="search"] .hg-search-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(400px, 0.45fr);
  gap: 18px;
  align-items: start;
}

body[data-route="search"] .hg-search-map-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-route="search"] .hg-search-map-panel {
  position: sticky;
  top: 174px;
  height: min(620px, calc(100vh - 190px));
  min-height: 460px;
}

body[data-route="search"] .hg-results-header,
body[data-route="search"] .hg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

body[data-route="search"] .hg-search-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-route="search"] .hg-search-inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-route="search"] .filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

body[data-route="search"] .empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1100px) {
  body[data-route="search"] .hg-discover-search {
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.8fr) auto auto;
  }

  body[data-route="search"] .hg-discover-search-field:nth-of-type(3) {
    grid-column: span 2;
  }

  body[data-route="search"] .hg-search-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-route="search"] .hg-search-map-layout {
    grid-template-columns: 1fr;
  }

  body[data-route="search"] .hg-search-map-panel {
    position: relative;
    top: auto;
    order: -1;
  }
}

@media (max-width: 820px) {
  body[data-route="search"] .hg-search-sticky {
    top: 62px;
  }

  body[data-route="search"] .hg-discover-search {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  body[data-route="search"] .hg-discover-search-field-main,
  body[data-route="search"] .hg-search-submit-button {
    grid-column: 1 / -1;
  }

  body[data-route="search"] .hg-search-submit-button {
    width: 100%;
  }

  body[data-route="search"] .hg-results-header,
  body[data-route="search"] .hg-section-heading {
    display: grid;
    align-items: start;
  }

  body[data-route="search"] .hg-results-tools {
    justify-content: flex-start;
  }

  body[data-route="search"] .hg-search-result-grid,
  body[data-route="search"] .hg-search-map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-route="search"] .hg-search-intent-grid,
  body[data-route="search"] .hg-search-inspiration-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body[data-route="search"] #app {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 118px;
  }

  body[data-route="search"] .hg-discover-page {
    gap: 20px;
  }

  body[data-route="search"] .hg-search-intro h1 {
    font-size: 1.8rem;
  }

  body[data-route="search"] .hg-discover-search {
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  body[data-route="search"] .hg-discover-search-field {
    padding: 0 10px;
    border-radius: 15px;
  }

  body[data-route="search"] .hg-discover-search-field input {
    font-size: 0.9rem;
  }

  body[data-route="search"] .hg-view-toggle {
    display: none;
  }

  body[data-route="search"] .search-product-content {
    padding: 11px;
    gap: 5px;
  }

  body[data-route="search"] .search-product-card h3 {
    font-size: 0.96rem;
  }

  body[data-route="search"] .search-price {
    font-size: 0.98rem;
  }

  body[data-route="search"] .search-card-location,
  body[data-route="search"] .search-card-foot,
  body[data-route="search"] .search-owner-mini {
    font-size: 0.76rem;
  }

  body[data-route="search"] .search-owner-mini {
    display: none;
  }

  body[data-route="search"] .search-product-photo .favorite-button {
    right: 7px;
    top: 7px;
    width: 40px;
    height: 40px;
  }

  body[data-route="search"] .filter-actions {
    grid-template-columns: 1fr;
  }
}

/* Zo werkt Huurgoo redesign v1 */
.hg-how-page {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 18px;
  color: #172033;
}

.hg-how-page h1,
.hg-how-page h2,
.hg-how-page h3,
.hg-how-page button {
  font-family: "Manrope", var(--font-body);
}

.hg-how-page p,
.hg-how-page li,
.hg-how-page span,
.hg-how-page em,
.hg-how-page strong {
  font-family: "Manrope", var(--font-ui);
}

.hg-how-page section,
.hg-how-page article,
.hg-how-shared-card {
  scroll-margin-top: 104px;
}

.hg-how-hero {
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: 468px;
  overflow: hidden;
  border: 1px solid #dcebe3;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(8, 120, 73, 0.12), transparent 34%),
    linear-gradient(135deg, #f2faf5 0%, #ffffff 70%);
}

.hg-how-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 58px);
}

.hg-how-hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #064f33;
  font-size: clamp(3.25rem, 5.2vw, 3.75rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.hg-how-hero-copy > p:not(.hg-section-kicker) {
  max-width: 580px;
  margin: 18px 0 0;
  color: #4b5870;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.6;
}

.hg-how-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hg-how-hero-media {
  min-height: 100%;
  margin: 0;
  background: #e9f4ee;
}

.hg-how-hero-media img,
.hg-how-step-media.has-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hg-how-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hg-how-overview-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 22px 24px;
  border: 1px solid #dcebe3;
  border-radius: 24px;
  background: #ffffff;
}

.hg-how-overview-row h3 {
  margin: 0;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.hg-how-overview-row ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-how-overview-row li {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.hg-how-overview-row li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: #d9e7df;
}

.hg-how-overview-row li span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef8f2;
  color: #087849;
  font-size: 0.78rem;
  font-weight: 900;
}

.hg-how-overview-row li strong {
  color: #4b5870;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.hg-how-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 64px;
}

.hg-how-subnav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid #d9e7df;
}

.hg-how-subnav button {
  width: 100%;
  border: 0;
  border-radius: 0 14px 14px 0;
  background: transparent;
  color: #667085;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.hg-how-subnav button:hover,
.hg-how-subnav button:focus-visible,
.hg-how-subnav button.is-active {
  background: #eef8f2;
  color: #087849;
  outline: 0;
}

.hg-how-content {
  display: grid;
  gap: 78px;
}

.hg-how-route-section {
  display: grid;
  gap: 24px;
}

.hg-how-route-section.is-owner {
  margin-inline: -18px;
  padding: 34px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f3faf6 0%, rgba(255, 255, 255, 0) 100%);
}

.hg-how-page .hg-section-heading.compact {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hg-how-page .hg-section-heading.compact h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hg-how-page .hg-section-heading.compact p:not(.hg-section-kicker) {
  max-width: 660px;
  margin: 0;
  color: #667085;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.hg-how-step-list {
  display: grid;
  gap: 20px;
}

.hg-how-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  overflow: hidden;
}

.hg-how-step:nth-child(odd) {
  background: #fbfefc;
}

.hg-how-step.is-reversed {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.hg-how-step.is-reversed .hg-how-step-copy {
  order: 2;
}

.hg-how-step.is-compact {
  min-height: 250px;
  background: linear-gradient(135deg, #eef8f2, #ffffff);
}

.hg-how-step-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
}

.hg-how-step-number {
  color: rgba(8, 120, 73, 0.14);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.hg-how-step-copy h3 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.hg-how-step-copy p {
  max-width: 530px;
  margin: 0;
  color: #4b5870;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.58;
}

.hg-how-text-action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #087849;
  color: #ffffff;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.hg-how-text-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-how-step-media {
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dcebe3;
  border-radius: 24px;
  background: #f3faf6;
}

.hg-how-step-media.has-mockup {
  display: grid;
  place-items: center;
  padding: 22px;
}

.hg-how-mockup {
  width: min(100%, 430px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dcebe3;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.hg-how-mockup > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #087849;
  font-size: 0.88rem;
  font-weight: 900;
}

.hg-how-mockup svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-how-mock-row,
.hg-how-field-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6fbf8;
  color: #172033;
  font-size: 0.9rem;
  font-style: normal;
}

.hg-how-mock-row em,
.hg-how-field-row em {
  color: #667085;
  font-style: normal;
  font-weight: 750;
}

.hg-how-mock-row strong,
.hg-how-field-row strong {
  color: #172033;
  font-weight: 900;
}

.hg-how-filter-row,
.hg-how-action-pair,
.hg-how-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hg-how-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-how-filter-row span,
.hg-how-action-pair span,
.hg-how-date-grid strong {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eef8f2;
  color: #087849;
  font-size: 0.82rem;
  font-weight: 900;
}

.hg-how-mock-photo {
  height: 126px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(8, 120, 73, 0.16), rgba(255, 255, 255, 0.45)),
    url("assets/huurgoo-how-product-cleaner.png") center/cover;
}

.hg-how-status-pill {
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecf7ff;
  color: #2364aa;
  font-size: 0.82rem;
  font-weight: 900;
}

.hg-how-mockup p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.hg-how-check-list {
  display: grid;
  gap: 8px;
}

.hg-how-check-list span {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  color: #344054;
  font-weight: 800;
}

.hg-how-check-list span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #087849;
  box-shadow: inset 0 0 0 5px #eef8f2;
}

.hg-how-calendar-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.hg-how-calendar-mini span {
  height: 36px;
  border-radius: 12px;
  background: #edf4ef;
}

.hg-how-calendar-mini span.active {
  background: #087849;
}

.hg-how-shared {
  display: grid;
  gap: 18px;
}

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

.hg-how-shared-card {
  min-height: 224px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: #f4faf6;
  color: #172033;
  text-align: left;
  cursor: pointer;
}

.hg-how-shared-card:nth-child(even) {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #dcebe3;
}

.hg-how-shared-card > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #ffffff;
  color: #087849;
  box-shadow: inset 0 0 0 1px #dcebe3;
}

.hg-how-shared-card:nth-child(even) > span {
  background: #eef8f2;
}

.hg-how-shared-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-how-shared-card h3 {
  margin: 0;
  color: #172033;
  font-size: 1.25rem;
  font-weight: 950;
}

.hg-how-shared-card p {
  margin: 0;
  color: #536077;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.55;
}

.hg-how-shared-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #087849;
  font-size: 0.9rem;
  font-weight: 900;
}

.hg-how-example {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 292px;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(23, 139, 92, 0.1), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.hg-how-example h2 {
  margin: 0;
  color: #064f33;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.hg-how-example p {
  max-width: 420px;
  margin: 10px 0 0;
  color: #4b5870;
  font-weight: 700;
  line-height: 1.5;
}

.hg-how-example ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-how-example li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(8, 120, 73, 0.12);
}

.hg-how-example li:last-child {
  border-bottom: 0;
}

.hg-how-example li strong {
  color: #087849;
  font-size: 0.9rem;
  font-weight: 950;
}

.hg-how-example li span {
  color: #344054;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.hg-how-final-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hg-how-final-cta article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 30px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #dcebe3;
}

.hg-how-final-cta article:nth-child(2) {
  background: #f2faf5;
}

.hg-how-final-cta h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.hg-how-final-cta p {
  margin: 0;
  color: #667085;
  font-weight: 650;
  line-height: 1.5;
}

.hg-how-final-cta .hg-safety-primary-button {
  justify-self: start;
  margin-top: 8px;
}

.hg-how-page .hg-safety-footer-wrap {
  margin-top: 72px;
}

@media (min-width: 721px) {
  body[data-route="howItWorks"] #app {
    padding-bottom: 24px;
  }
}

@media (max-width: 1040px) {
  .hg-how-page {
    width: min(100% - 40px, 900px);
  }

  .hg-how-hero {
    grid-template-columns: 1fr;
  }

  .hg-how-hero-media {
    min-height: 320px;
  }

  .hg-how-overview,
  .hg-how-layout,
  .hg-how-step,
  .hg-how-step.is-reversed,
  .hg-how-example {
    grid-template-columns: 1fr;
  }

  .hg-how-subnav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 8px;
    border-left: 0;
    scrollbar-width: none;
  }

  .hg-how-subnav::-webkit-scrollbar {
    display: none;
  }

  .hg-how-subnav button {
    width: auto;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #dcebe3;
    white-space: nowrap;
  }

  .hg-how-step.is-reversed .hg-how-step-copy {
    order: 0;
  }

  .hg-how-step-media {
    min-height: 300px;
  }

  .hg-how-shared-grid,
  .hg-how-final-cta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hg-how-page {
    width: min(100% - 24px, 560px);
    padding: 14px 0 14px;
  }

  .hg-how-page section,
  .hg-how-page article,
  .hg-how-shared-card {
    scroll-margin-top: 78px;
  }

  .hg-how-hero {
    min-height: 0;
    border-radius: 24px;
  }

  .hg-how-hero-copy {
    padding: 26px 22px;
  }

  .hg-how-hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 2.75rem);
    line-height: 1.04;
  }

  .hg-how-hero-copy > p:not(.hg-section-kicker) {
    font-size: 0.98rem;
  }

  .hg-how-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 22px;
  }

  .hg-how-hero-media {
    min-height: 240px;
  }

  .hg-how-overview {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .hg-how-overview-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .hg-how-overview-row ol {
    grid-template-columns: repeat(4, minmax(82px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hg-how-overview-row ol::-webkit-scrollbar {
    display: none;
  }

  .hg-how-layout {
    gap: 24px;
    margin-top: 36px;
  }

  .hg-how-content {
    gap: 52px;
  }

  .hg-how-route-section.is-owner {
    margin-inline: -12px;
    padding: 24px 12px;
    border-radius: 24px;
  }

  .hg-how-page .hg-section-heading.compact h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .hg-how-step {
    min-height: 0;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  .hg-how-step-media {
    min-height: 220px;
    border-radius: 18px;
  }

  .hg-how-step-media.has-mockup {
    padding: 14px;
  }

  .hg-how-mockup {
    padding: 14px;
    border-radius: 18px;
  }

  .hg-how-filter-row,
  .hg-how-action-pair {
    grid-template-columns: 1fr;
  }

  .hg-how-shared-grid,
  .hg-how-final-cta {
    grid-template-columns: 1fr;
  }

  .hg-how-shared-card {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .hg-how-example {
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }

  .hg-how-example li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hg-how-final-cta article {
    padding: 22px;
    border-radius: 22px;
  }

  .hg-how-final-cta .hg-safety-primary-button,
  .hg-how-text-action {
    width: 100%;
    justify-content: center;
  }

  .hg-how-page .hg-safety-footer-wrap {
    margin-top: 58px;
  }
}

body {
  font-family: var(--font-body);
}

button,
input,
textarea,
select {
  font-family: var(--font-ui);
}

body.site-locked {
  overflow: hidden;
  background: #f4faf6;
}

body.site-locked .app-shell,
body.site-locked .toast {
  display: none;
}

.site-access-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(9, 145, 86, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfffd 0%, #eef8f2 100%);
}

.site-access-gate[hidden] {
  display: none;
}

.site-access-card {
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid #dcebe3;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(16, 24, 40, 0.12);
}

.site-access-logo {
  color: #087849;
  font-family: var(--font-ui);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: 0;
}

.site-access-kicker {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid #d6eadf;
  border-radius: 999px;
  background: #f0f9f4;
  color: #067846;
  font-size: 0.8rem;
  font-weight: 900;
}

.site-access-card h1 {
  margin: 2px 0 0;
  color: #172033;
  font-size: clamp(1.9rem, 5vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.site-access-card p {
  margin: 0;
  color: #667085;
  font-weight: 700;
  line-height: 1.55;
}

.site-access-card label {
  margin-top: 8px;
  color: #172033;
  font-size: 0.86rem;
  font-weight: 900;
}

.site-access-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.site-access-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dcebe3;
  border-radius: 16px;
  background: #fff;
  color: #172033;
  padding: 0 15px;
  font-size: 1rem;
  font-weight: 800;
  outline: 0;
}

.site-access-field input:focus {
  border-color: #087849;
  box-shadow: 0 0 0 4px rgba(8, 120, 73, 0.12);
}

.site-access-field button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #079156, #067846);
  color: #fff;
  padding: 0 18px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(6, 122, 70, 0.2);
}

.site-access-field button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-access-message {
  min-height: 22px;
  color: #067846 !important;
  font-size: 0.88rem;
}

.site-access-message.is-error {
  color: #b42318 !important;
}

@media (max-width: 520px) {
  .site-access-card {
    padding: 24px;
    border-radius: 24px;
  }

  .site-access-field {
    grid-template-columns: 1fr;
  }
}

.vehicle-recognition-card,
.vehicle-extra-fields {
  background: #ffffff;
  border: 1px solid #e8efea;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(31, 41, 55, 0.08);
  padding: 22px;
}

.vehicle-recognition-card.compact {
  box-shadow: none;
  margin-top: 16px;
}

.vehicle-recognition-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.license-confirm-row {
  align-items: center;
  background: #f6fbf8;
  border: 1px solid #e8efea;
  border-radius: 18px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 18px 0;
  padding: 16px;
}

.license-confirm-row span,
.license-confirm-row small,
.vehicle-plate-form small {
  color: #6b7280;
  display: block;
  font-size: 0.86rem;
}

.license-confirm-row strong {
  color: #1f2937;
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin: 3px 0;
}

.license-actions,
.vehicle-plate-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-plate-form {
  background: #f6fbf8;
  border: 1px solid #e8efea;
  border-radius: 18px;
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
}

.vehicle-plate-form input {
  border: 1px solid #dbe7df;
  border-radius: 14px;
  min-height: 44px;
  padding: 0 14px;
  text-transform: uppercase;
}

.vehicle-extra-fields {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-extra-fields > div:first-child {
  grid-column: 1 / -1;
}

.trailer-manual-details,
.trailer-info-card,
.trailer-safety-check,
.trailer-handover-card,
.trailer-filter-block {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.trailer-manual-details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-strong);
  font-weight: 900;
}

.trailer-manual-details .vehicle-extra-fields {
  margin-top: 16px;
  box-shadow: none;
}

.trailer-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-strong);
}

.trailer-info-card.compact {
  align-items: flex-start;
  box-shadow: none;
  font-weight: 850;
}

.trailer-rules-grid,
.trailer-check-grid,
.trailer-check-columns {
  display: grid;
  gap: 10px;
}

.trailer-rules-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trailer-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trailer-check-grid label,
.trailer-check-columns span,
.trailer-rules-grid span {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 820;
}

.trailer-check-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trailer-check-columns > div {
  display: grid;
  gap: 8px;
}

@media (max-width: 760px) {
  .location-backdrop,
  .date-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .location-modal,
  .date-modal {
    width: 100%;
    max-height: 90vh;
    border-radius: 28px 28px 0 0;
  }

  .location-modal-grid,
  .date-modal-grid {
    grid-template-columns: 1fr;
  }

  .date-modal {
    padding: 18px;
  }

  .date-days,
  .date-weekdays {
    gap: 5px;
  }

  .date-day {
    min-height: 42px;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .radius-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-editor-hero,
  .listing-editor-shell,
  .editor-field-grid,
  .price-summary-grid,
  .listing-editor-preview-summary {
    grid-template-columns: 1fr;
  }

  .listing-editor-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-draft-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-draft-notice .secondary-button {
    width: 100%;
  }

  .listing-live-preview {
    position: static;
  }

  .editor-action-row {
    justify-content: stretch;
  }

  .editor-action-row button {
    width: 100%;
  }

  .license-confirm-row,
  .vehicle-extra-fields,
  .trailer-rules-grid,
  .trailer-check-grid,
  .trailer-check-columns {
    grid-template-columns: 1fr;
  }

  .license-confirm-row,
  .trailer-info-card {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Huurgoo platform design refresh */
:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface-strong: #f4faf6;
  --ink: #13223a;
  --muted: #667085;
  --line: #dfe9e3;
  --brand: #087243;
  --brand-strong: #075a36;
  --brand-soft: #eaf7ef;
  --warning: #a15c00;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(15, 35, 25, 0.08);
  --shadow-soft: 0 12px 34px rgba(15, 35, 25, 0.06);
  --radius-card: 18px;
  --radius-control: 14px;
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(8, 114, 67, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfdfb 0%, #f5fbf7 100%);
  color: var(--ink);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8, 114, 67, 0.28);
  outline-offset: 3px;
}

.app-shell {
  width: min(100%, 1440px);
  background: transparent;
  box-shadow: none;
}

.topbar {
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  min-height: 72px;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 233, 227, 0.8);
}

.logo-button {
  color: var(--brand);
  font-family: var(--font-logo);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-main-nav button,
.location-nav-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 42px;
  border-radius: 999px;
  padding: 0 12px;
  font-weight: 800;
}

.desktop-main-nav button:hover,
.location-nav-button:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.location-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
}

.location-nav-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.is-signed-in .public-login-button,
.is-public-visitor .notificationButton {
  display: none;
}

.is-public-visitor .top-actions .icon-button,
.is-public-visitor .top-actions .avatar-button,
.is-public-visitor .nav-search {
  display: none;
}

#app {
  padding: clamp(18px, 2vw, 28px) clamp(16px, 3vw, 36px) 132px;
}

.primary-button {
  border: 1px solid var(--brand);
  background: linear-gradient(180deg, #0b7f4b, var(--brand));
  color: #fff;
  box-shadow: 0 14px 28px rgba(8, 114, 67, 0.22);
  font-weight: 900;
}

.primary-button:hover {
  background: var(--brand-strong);
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  font-weight: 850;
}

.badge {
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid rgba(8, 114, 67, 0.12);
}

.badge.neutral {
  background: #f3f6f5;
  color: #475467;
}

.home-hero {
  min-height: clamp(560px, 66vw, 680px);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.home-hero > img {
  filter: saturate(0.95) contrast(0.96);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-copy {
  max-width: 680px;
  padding: clamp(30px, 5vw, 54px);
}

.hero-copy h2 {
  color: #073b25;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 520px;
  color: #465568;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 114, 67, 0.16);
  color: var(--brand-strong);
  box-shadow: var(--shadow-soft);
}

.hero-search-box {
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(190px, 0.75fr) minmax(180px, 0.7fr) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(223, 233, 227, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(15, 35, 25, 0.16);
  backdrop-filter: blur(18px);
}

.hero-search-field {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  box-shadow: none;
}

.hero-search-field label,
.hero-search-field span {
  color: #344054;
  font-weight: 900;
}

.hero-search-field input::placeholder {
  color: #98a2b3;
}

.hero-search-button {
  min-width: 172px;
}

.category-scroll {
  display: grid;
  grid-template-columns: repeat(8, minmax(104px, 1fr));
  gap: 12px;
}

.category-button.premium-category,
.product-card,
.search-product-card,
.why-card,
.trust-tile,
.how-card,
.host-card,
.admin-panel,
.auth-card,
.verification-flow-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.category-button.premium-category {
  min-height: 66px;
  grid-auto-flow: column;
  justify-content: center;
  align-content: center;
  border-radius: 14px;
}

.home-section {
  margin-top: clamp(26px, 4vw, 42px);
}

.section-kicker {
  color: var(--brand-strong);
  font-weight: 950;
  letter-spacing: 0;
}

.premium-title h2 {
  color: var(--ink);
  letter-spacing: -0.025em;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.horizontal-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 300px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.product-card,
.search-product-card {
  overflow: hidden;
  color: inherit;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.search-product-card:hover {
  border-color: rgba(8, 114, 67, 0.2);
  transform: translateY(-2px);
}

.product-photo img,
.search-product-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-topline,
.product-meta,
.search-card-badges,
.search-owner-row {
  color: var(--muted);
}

.product-content h3,
.search-product-content h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
}

.verified-float,
.favorite-button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-strong);
  border: 1px solid rgba(8, 114, 67, 0.14);
}

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

.trust-tile {
  display: flex;
  gap: 14px;
  padding: 20px;
  box-shadow: none;
}

.trust-tile > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.trust-tile h3,
.trust-tile p {
  margin: 0;
}

.trust-tile p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}

.how-card,
.host-card {
  margin-top: clamp(28px, 4vw, 48px);
}

.impact-card,
.owner-grid {
  display: none;
}

.account-panel,
.location-modal,
.date-modal,
.filter-sheet,
.listing-action-modal {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.admin-shell {
  max-width: 1360px;
  margin: 0 auto;
}

.admin-hero,
.dashboard-hero,
.listing-editor-hero,
.detail-hero-card,
.chat-shell,
.messages-layout {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1060px) {
  .desktop-main-nav,
  .location-nav-button {
    display: none;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .hero-search-box,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 720px;
    border-radius: 22px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.08) 100%);
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-search-box {
    left: 14px;
    right: 14px;
    bottom: 16px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .category-scroll,
  .trust-grid,
  .home-product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    min-height: 64px;
    padding: 10px 14px;
  }

  .logo-button {
    font-size: 1.4rem;
  }
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }

  .toast {
    bottom: 28px;
  }
}

@media (max-width: 720px) {
  .bottom-nav {
    display: grid;
  }
}

/* Final homepage rebuild: source-of-truth styles based on the selected Huurgoo reference. */
:root {
  --hg-green: #067a46;
  --hg-green-dark: #034f32;
  --hg-green-soft: #edf8f2;
  --hg-ink: #172033;
  --hg-muted: #667386;
  --hg-line: #e2ebe5;
  --hg-bg: #fbfdfb;
  --hg-card: #ffffff;
  --hg-radius-lg: 26px;
  --hg-radius-md: 18px;
  --hg-shadow: 0 18px 54px rgba(31, 41, 55, 0.10);
  --hg-soft-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

body {
  background: var(--hg-bg);
  color: var(--hg-ink);
}

.app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(430px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--hg-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand-cluster {
  min-width: 0;
}

#backButton {
  display: none;
}

.logo-button {
  color: var(--hg-green);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-width: 0;
}

.desktop-main-nav button,
.location-nav-button,
.top-action-link {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hg-ink);
  padding: 0;
  font-size: 0.94rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-main-nav button:hover,
.location-nav-button:hover,
.top-action-link:hover {
  color: var(--hg-green-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  white-space: nowrap;
}

.location-nav-button,
.top-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.location-nav-button {
  color: var(--hg-green-dark);
  font-weight: 900;
}

.location-nav-button svg,
.top-action-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-login-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
}

.avatar-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.is-public-visitor .top-action-link,
.is-public-visitor .avatar-button {
  display: none;
}

.is-signed-in .public-login-button {
  display: none;
}

.hg-home {
  display: grid;
  gap: 38px;
  padding: 22px 36px 52px;
}

.hg-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 24px;
  align-items: start;
}

.hg-main-column {
  display: grid;
  min-width: 0;
}

.hg-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--hg-radius-lg);
  background: #eaf2ec;
  box-shadow: var(--hg-shadow);
  isolation: isolate;
}

.hg-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hg-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 34%, rgba(255,255,255,0.36) 60%, rgba(255,255,255,0.05) 100%),
    linear-gradient(0deg, rgba(8,34,23,0.24), rgba(8,34,23,0.02) 52%);
}

.hg-hero-content {
  width: min(585px, 54%);
  padding: 62px 58px 0;
}

.hg-eyebrow,
.hg-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--hg-green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.hg-eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(6, 122, 70, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
}

.hg-eyebrow svg,
.hg-section-kicker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-hero h1 {
  max-width: 590px;
  margin: 0;
  color: var(--hg-green-dark);
  font-size: 60px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hg-hero h1 span {
  display: block;
  margin-top: 4px;
  color: var(--hg-green);
}

.hg-hero-subtitle {
  max-width: 500px;
  margin: 20px 0 0;
  color: #39455a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.hg-search-card {
  position: absolute;
  left: 38px;
  right: 54px;
  bottom: 58px;
  display: grid;
  grid-template-columns: minmax(290px, 1.45fr) minmax(185px, 0.9fr) minmax(175px, 0.82fr) auto;
  gap: 14px;
  align-items: end;
  max-width: 1080px;
  padding: 18px;
  border: 1px solid rgba(227,235,230,0.92);
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.16);
  backdrop-filter: blur(18px);
}

.hg-search-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--hg-ink);
  font-weight: 900;
  text-align: left;
}

.hg-search-field > span {
  color: #344051;
  font-size: 0.78rem;
}

.hg-search-field div,
.hg-search-button-field strong {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid #dbe7df;
  border-radius: 13px;
  background: #fff;
  color: var(--hg-muted);
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-search-field svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hg-ink);
  font: inherit;
}

.hg-search-button-field {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hg-search-submit,
.hg-secondary-cta,
.hg-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 950;
}

.hg-search-submit {
  background: linear-gradient(180deg, #07834d, #056b3f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 122, 70, 0.24);
}

.hg-search-submit svg,
.hg-secondary-cta svg,
.hg-link-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-hints {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: -2px;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.hg-search-hints span {
  color: #526074;
}

.hg-search-hints button {
  min-height: 30px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #f8fbf9;
  color: var(--hg-green-dark);
  padding: 0 11px;
  cursor: pointer;
  font-weight: 850;
}

.hg-category-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  margin-top: -34px;
  padding: 0 12px;
}

.hg-category-chip,
.hg-category-card {
  border: 1px solid var(--hg-line);
  background: rgba(255,255,255,0.97);
  color: var(--hg-ink);
  box-shadow: var(--hg-soft-shadow);
  cursor: pointer;
}

.hg-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: 13px;
  padding: 0 12px;
  font-size: 0.83rem;
  font-weight: 900;
}

.hg-category-chip svg,
.hg-category-card svg {
  width: 20px;
  height: 20px;
  color: var(--hg-green-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.hg-side-panel {
  display: grid;
  gap: 18px;
}

.hg-account-card,
.hg-assurance-card {
  border: 1px solid var(--hg-line);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--hg-soft-shadow);
}

.hg-account-card {
  display: grid;
  gap: 18px;
  min-height: 455px;
  padding: 22px;
}

.hg-side-title {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.14rem;
  font-weight: 950;
}

.hg-account-mini {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hg-line);
}

.hg-account-mini img,
.hg-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.hg-account-mini img {
  object-fit: cover;
}

.hg-account-avatar {
  display: grid;
  place-items: center;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-account-avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-account-mini strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.98rem;
}

.hg-account-mini button {
  border: 0;
  background: transparent;
  color: var(--hg-muted);
  padding: 3px 0 0;
  cursor: pointer;
  font-weight: 800;
}

.hg-safety-steps {
  display: grid;
  gap: 14px;
}

.hg-safety-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.hg-safety-steps article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-safety-steps svg,
.hg-assurance-card svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-safety-steps strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.hg-safety-steps p {
  margin: 4px 0 0;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
}

.hg-assurance-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: #f7fcf9;
  color: var(--hg-green-dark);
  font-weight: 900;
}

.hg-assurance-card p {
  margin: 0;
  line-height: 1.45;
}

.hg-section {
  display: grid;
  gap: 18px;
}

.hg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hg-section-head h2,
.hg-split-section h2,
.hg-host-section h2,
.hg-support-band h2 {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hg-link-button {
  min-height: 38px;
  padding: 0;
  background: transparent;
  color: var(--hg-green-dark);
}

.hg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hg-product-grid .product-card {
  min-height: 0;
  border-radius: 18px;
  box-shadow: var(--hg-soft-shadow);
}

.hg-product-grid .product-photo img {
  height: 190px;
}

.hg-category-grid,
.hg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hg-category-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  min-height: 138px;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.hg-category-card strong {
  color: var(--hg-ink);
  font-size: 1rem;
}

.hg-category-card span {
  color: var(--hg-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hg-split-section,
.hg-host-section,
.hg-support-band {
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-lg);
  background: var(--hg-card);
  box-shadow: var(--hg-soft-shadow);
}

.hg-split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}

.hg-split-section p,
.hg-host-section p,
.hg-support-band p {
  color: var(--hg-muted);
  font-weight: 700;
  line-height: 1.6;
}

.hg-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--hg-line);
  border-radius: 16px;
  background: #fbfdfb;
}

.hg-step-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.hg-step-list strong,
.hg-step-list p {
  margin: 0;
}

.hg-trust-grid .trust-tile {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--hg-soft-shadow);
}

.hg-host-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  overflow: hidden;
}

.hg-host-section > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hg-host-section > div {
  padding: clamp(24px, 4vw, 42px);
}

.hg-host-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.hg-host-section li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hg-ink);
  font-weight: 800;
}

.hg-host-section li svg {
  width: 18px;
  height: 18px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-secondary-cta {
  background: var(--hg-green);
  color: #fff;
}

.hg-support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, #ffffff, #f1faf5);
}

.hg-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--hg-line);
}

.hg-empty-card {
  border: 1px dashed #cfded5;
  border-radius: 18px;
  background: #fff;
  color: var(--hg-muted);
  padding: 22px;
  font-weight: 800;
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 1240px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .desktop-main-nav {
    gap: 14px;
  }

  .top-action-link span {
    display: none;
  }

  .hg-home {
    padding: 20px 28px 48px;
  }

  .hg-stage {
    grid-template-columns: 1fr;
  }

  .hg-side-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  }

  .hg-account-card {
    min-height: 0;
  }

  .hg-hero {
    min-height: 560px;
  }

  .hg-search-card {
    right: 38px;
    grid-template-columns: minmax(240px, 1.35fr) minmax(170px, 0.85fr) minmax(160px, 0.75fr) auto;
  }

  .hg-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-main-nav {
    gap: 12px;
  }

  .desktop-main-nav button {
    font-size: 0.86rem;
  }

  .location-nav-button {
    font-size: 0.86rem;
  }

  .hg-hero-content {
    width: min(540px, 58%);
    padding: 52px 42px 0;
  }

  .hg-hero h1 {
    font-size: 52px;
  }

  .hg-search-card {
    grid-template-columns: minmax(240px, 1.2fr) minmax(160px, 0.85fr) minmax(150px, 0.8fr) auto;
  }

  .hg-search-submit {
    grid-column: auto;
    width: auto;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 16px;
  }

  .desktop-main-nav,
  .location-nav-button,
  .top-action-link {
    display: none;
  }

  .hg-home {
    gap: 24px;
    padding: 14px 14px 96px;
  }

  .hg-stage,
  .hg-side-panel {
    grid-template-columns: 1fr;
  }

  .hg-hero {
    display: grid;
    min-height: auto;
    border-radius: 24px;
    padding-bottom: 0;
  }

  .hg-hero-image {
    position: relative;
    order: 2;
    height: 285px;
    object-position: center right;
  }

  .hg-hero-shade {
    display: none;
  }

  .hg-hero-content {
    width: 100%;
    padding: 26px 20px 18px;
    background: #fff;
  }

  .hg-hero h1 {
    font-size: 38px;
    line-height: 1.06;
    letter-spacing: 0;
  }

  .hg-search-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    grid-template-columns: 1fr;
    margin: -22px 14px 16px;
    padding: 14px;
    border-radius: 18px;
  }

  .hg-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid,
  .hg-split-section,
  .hg-host-section,
  .hg-footer {
    grid-template-columns: 1fr;
  }

  .hg-section-head,
  .hg-support-band {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-host-section > img {
    min-height: 240px;
  }
}

@media (max-width: 430px) {
  .logo-button {
    font-size: 1.72rem;
  }

  .hg-hero h1 {
    font-size: 32px;
    letter-spacing: 0;
  }

  .hg-hero-subtitle {
    font-size: 0.98rem;
  }

  .hg-hero-image {
    height: 235px;
  }

  .hg-search-field div,
  .hg-search-button-field strong,
  .hg-search-submit {
    min-height: 48px;
  }
}

/* Final mobile-home lock: keep the app-home active after all legacy homepage rules. */
@media (min-width: 769px) {
  .hg-mobile-home,
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .topbar,
  body[data-route="home"] .hg-desktop-home {
    display: none;
  }

  body[data-route="home"] .hg-home {
    min-height: 100vh;
    padding: 0 0 98px;
    background:
      radial-gradient(circle at 20% 0%, rgba(6, 122, 70, 0.10), transparent 28%),
      linear-gradient(180deg, #f4faf6 0%, #fbfdfb 38%, #ffffff 100%);
  }

  body[data-route="home"] .hg-mobile-home {
    display: grid;
    gap: 22px;
    padding: max(18px, env(safe-area-inset-top)) 0 0;
  }

  body[data-route="home"] .bottom-nav,
  .bottom-nav {
    position: fixed;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid #dbe7df;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 34px rgba(16, 24, 40, 0.13);
    backdrop-filter: blur(18px);
  }

  .hg-mobile-logo {
    color: #067a46;
    font-size: 1.72rem;
    font-weight: 950;
    letter-spacing: 0;
  }

  .nav-add,
  .nav-add.is-active {
    min-height: 66px;
    margin-top: -16px;
    border-radius: 16px;
    background: #067a46;
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 122, 70, 0.24);
  }
}

/* Mobile home final override: app-style discovery layout inspired by familiar marketplace patterns. */
@media (min-width: 769px) {
  .hg-mobile-home {
    display: none;
  }

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .topbar {
    display: none;
  }

  body[data-route="home"] .hg-home {
    min-height: 100vh;
    padding: 0 0 98px;
    background:
      radial-gradient(circle at 20% 0%, rgba(6, 122, 70, 0.10), transparent 28%),
      linear-gradient(180deg, #f4faf6 0%, #fbfdfb 38%, #ffffff 100%);
  }

  body[data-route="home"] .hg-desktop-home {
    display: none;
  }

  body[data-route="home"] .hg-mobile-home {
    display: grid;
    gap: 22px;
    padding: max(18px, env(safe-area-inset-top)) 0 0;
  }

  .hg-mobile-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 18px;
  }

  .hg-mobile-logo {
    color: #067a46;
    font-size: 1.72rem;
    font-weight: 950;
    letter-spacing: 0;
  }

  .hg-mobile-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hg-mobile-head-actions button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe7df;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #172033;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-head-actions svg,
  .hg-mobile-search svg,
  .hg-mobile-category svg,
  .hg-mobile-favorite svg,
  .hg-mobile-verified svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hg-mobile-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    margin: 0 18px;
    padding: 0 8px 0 18px;
    border: 1px solid #dbe7df;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.10);
  }

  .hg-mobile-search > svg {
    color: #067a46;
  }

  .hg-mobile-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font-size: 1rem;
    font-weight: 850;
  }

  .hg-mobile-search input::placeholder {
    color: #778397;
  }

  .hg-mobile-search button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    background: #eaf7ef;
    color: #045c35;
  }

  .hg-mobile-categories,
  .hg-mobile-feed {
    display: grid;
    gap: 15px;
  }

  .hg-mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
  }

  .hg-mobile-section-head h2 {
    margin: 0;
    color: #172033;
    font-size: 1.46rem;
    font-weight: 950;
    letter-spacing: 0;
  }

  .hg-mobile-section-head button {
    border: 0;
    background: transparent;
    color: #067a46;
    font-size: 0.94rem;
    font-weight: 950;
  }

  .hg-mobile-category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86px;
    gap: 15px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 18px 4px;
    scrollbar-width: none;
  }

  .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  .hg-mobile-category {
    display: grid;
    justify-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: #4c5b6d;
    text-align: center;
  }

  .hg-mobile-category span {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border: 1px solid #dbe7df;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f5faf7);
    color: #045c35;
    box-shadow: inset 0 0 0 4px #f8fbf9, 0 8px 18px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-category strong {
    display: block;
    min-height: 34px;
    color: #53657a;
    font-size: 0.83rem;
    font-weight: 900;
    line-height: 1.16;
  }

  .hg-mobile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #edf3ef;
    border-bottom: 1px solid #dbe7df;
    background: rgba(255, 255, 255, 0.94);
  }

  .hg-mobile-tabs button {
    position: relative;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #4a596c;
    font-size: 1.08rem;
    font-weight: 950;
  }

  .hg-mobile-tabs button.is-active {
    color: #067a46;
  }

  .hg-mobile-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #067a46;
  }

  .hg-mobile-feed-panel {
    display: none;
  }

  .hg-mobile-feed-panel.is-active {
    display: block;
  }

  .hg-mobile-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 12px 8px;
  }

  .hg-mobile-listing-card {
    display: grid;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dbe7df;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    box-shadow: 0 9px 20px rgba(16, 24, 40, 0.075);
    text-align: left;
  }

  .hg-mobile-listing-photo {
    position: relative;
    display: block;
    height: 145px;
    overflow: hidden;
    background: #edf5f0;
  }

  .hg-mobile-listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hg-mobile-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #263447;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.16);
  }

  .hg-mobile-verified {
    position: absolute;
    left: 9px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 18px);
    min-height: 25px;
    padding: 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(239, 249, 243, 0.96);
    color: #045c35;
    font-size: 0.69rem;
    font-weight: 950;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .hg-mobile-verified svg {
    width: 13px;
    height: 13px;
  }

  .hg-mobile-listing-body {
    display: grid;
    gap: 7px;
    padding: 13px 13px 14px;
  }

  .hg-mobile-listing-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #223044;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hg-mobile-price {
    color: #045c35;
    font-size: 1.05rem;
    font-weight: 950;
  }

  .hg-mobile-meta {
    color: #697789;
    font-size: 0.78rem;
    font-weight: 820;
    line-height: 1.25;
  }

  body[data-route="home"] .bottom-nav,
  .bottom-nav {
    position: fixed;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid #dbe7df;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 34px rgba(16, 24, 40, 0.13);
    backdrop-filter: blur(18px);
  }

  .nav-item {
    min-width: 0;
    min-height: 60px;
    border-radius: 15px;
    color: #8a918f;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .nav-item svg {
    width: 23px;
    height: 23px;
  }

  .nav-item.is-active {
    color: #067a46;
    background: transparent;
  }

  .nav-add {
    min-height: 66px;
    margin-top: -16px;
    border-radius: 16px;
    background: #067a46;
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 122, 70, 0.24);
  }

  .nav-add.is-active {
    color: #fff;
    background: #067a46;
  }
}

@media (max-width: 430px) {
  .hg-mobile-listing-photo {
    height: 134px;
  }

  .hg-mobile-listing-grid {
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .hg-mobile-category-rail {
    grid-auto-columns: 78px;
    gap: 12px;
  }

  .hg-mobile-category span {
    width: 64px;
    height: 64px;
  }

  .nav-item {
    font-size: 0.68rem;
  }
}

/* Homepage seller reference v3: matches the provided Huurgoo verhuur screenshot. */
:root {
  --hg-green: #07844f;
  --hg-green-dark: #04472f;
  --hg-green-deep: #063d2b;
  --hg-mint: #eef8f2;
  --hg-ink: #111827;
  --hg-text: #1f2937;
  --hg-muted: #667085;
  --hg-line: #dfe8e3;
  --hg-soft-line: #edf2ef;
  --hg-bg: #fbfdfc;
  --hg-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --hg-soft-shadow: 0 10px 26px rgba(16, 24, 40, 0.055);
}

body {
  background: var(--hg-bg);
  color: var(--hg-text);
}

.app-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 150px minmax(650px, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 72px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(223, 232, 227, 0.9);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
}

#backButton {
  display: none;
}

.brand-cluster {
  display: flex;
  align-items: center;
}

.logo-button {
  color: var(--hg-green);
  font-size: 1.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.desktop-main-nav button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--hg-ink);
  padding: 0 10px;
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-main-nav button:hover,
.top-action-link:hover {
  color: var(--hg-green-dark);
}

.top-discover-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 134px;
  background: linear-gradient(180deg, #079156, #067846) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(6, 122, 70, 0.18);
}

.top-discover-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 350px);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--hg-line);
  border-radius: 13px;
  background: #fff;
  color: var(--hg-muted);
}

.top-search-field svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
}

.top-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hg-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.top-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--hg-ink);
  padding: 0 6px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 850;
}

.top-action-link svg,
.public-register-button svg,
.public-login-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-bell-button {
  width: 42px;
  padding: 0;
}

.public-login-button,
.public-register-button {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 900;
}

.public-register-button {
  border: 0;
  background: linear-gradient(180deg, #079156, #067846);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 122, 70, 0.18);
}

.avatar-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hg-line);
  border-radius: 12px;
  background: var(--hg-mint);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.is-public-visitor .top-action-link:not(.top-bell-button),
.is-public-visitor .avatar-button {
  display: none;
}

.is-signed-in .public-login-button,
.is-signed-in .public-register-button {
  display: none;
}

.hg-home {
  display: grid;
  gap: 26px;
  padding: 18px 42px 54px;
}

.hg-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(590px, 0.98fr) minmax(0, 1.02fr);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  isolation: isolate;
}

.hg-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 46px 30px 174px 46px;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 80%, rgba(255,255,255,0.70) 100%);
}

.hg-hero .hg-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: #0b1324;
  font-size: clamp(3.35rem, 4.2vw, 4.75rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.hg-hero .hg-hero-copy h1 span {
  color: inherit;
  white-space: nowrap;
}

.hg-hero-copy > p {
  max-width: 500px;
  margin: 18px 0 0;
  color: #3c4658;
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.48;
}

.hg-hero-checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hg-hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #425166;
  font-weight: 800;
}

.hg-hero-checks svg,
.hg-hero-actions svg,
.hg-primary-cta svg,
.hg-quiet-cta svg,
.hg-card-link svg,
.hg-link-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-hero-checks svg {
  color: var(--hg-green);
}

.hg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.hg-primary-cta,
.hg-quiet-cta,
.hg-search-mini,
.hg-link-button,
.hg-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.hg-primary-cta {
  min-height: 52px;
  border-radius: 12px;
  padding: 0 24px;
  background: linear-gradient(180deg, #079156, #067846);
  color: #fff;
  box-shadow: 0 12px 26px rgba(6, 122, 70, 0.2);
}

.hg-quiet-cta {
  min-height: 44px;
  border-radius: 12px;
  background: transparent;
  color: var(--hg-ink);
  padding: 0 8px;
}

.hg-hero-media {
  position: relative;
  min-width: 0;
}

.hg-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.08) 24%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.hg-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center right;
}

.hg-hero-search {
  position: absolute;
  left: 46px;
  right: 760px;
  bottom: 34px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 560px;
  padding: 14px;
  border: 1px solid rgba(223, 232, 227, 0.95);
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  box-shadow: var(--hg-shadow);
  backdrop-filter: blur(16px);
}

.hg-hero-search label {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  color: var(--hg-ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.hg-hero-search label > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--hg-line);
  border-radius: 12px;
  background: #fff;
}

.hg-hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--hg-ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.hg-hero-search svg,
.hg-search-mini svg {
  width: 17px;
  height: 17px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

.hg-search-mini {
  min-height: 44px;
  border: 1px solid var(--hg-line);
  border-radius: 12px;
  background: #fff;
  color: #475467;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hg-hero-search .hg-primary-cta {
  min-height: 44px;
  padding: 0 16px;
}

.hg-benefit-strip {
  position: absolute;
  right: 78px;
  bottom: 34px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 52vw);
  overflow: hidden;
  border: 1px solid rgba(220, 231, 225, 0.95);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--hg-shadow);
  backdrop-filter: blur(16px);
}

.hg-benefit-strip article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  border-right: 1px solid var(--hg-line);
}

.hg-benefit-strip article:last-child {
  border-right: 0;
}

.hg-benefit-strip article > span,
.hg-safety-point > span,
.trust-tile > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(6, 122, 70, 0.22);
  border-radius: 999px;
  background: var(--hg-mint);
  color: var(--hg-green);
}

.hg-benefit-strip svg,
.hg-safety-point svg,
.trust-tile svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-benefit-strip strong,
.hg-rent-card strong,
.hg-owner-steps strong,
.hg-price-guide strong,
.hg-safety-point strong {
  display: block;
  color: var(--hg-ink);
  font-weight: 950;
}

.hg-benefit-strip p,
.hg-rent-card span,
.hg-owner-steps p,
.hg-card-subtitle,
.hg-price-guide span,
.hg-safety-point p {
  margin: 3px 0 0;
  color: var(--hg-muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.35;
}

.hg-section {
  display: grid;
  gap: 18px;
}

.hg-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 44px;
}

.hg-section-head h2,
.hg-info-card h2,
.hg-support-band h2 {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hg-link-button,
.hg-card-link {
  min-height: 38px;
  background: transparent;
  color: var(--hg-green);
  padding: 0;
}

.hg-rent-types {
  padding: 2px 0 0;
}

.hg-rent-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 0 44px;
}

.hg-rent-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hg-soft-shadow);
  cursor: pointer;
  text-align: left;
}

.hg-rent-image {
  display: block;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7faf8, #eef4f0);
}

.hg-rent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}

.hg-rent-card:hover .hg-rent-image img {
  transform: scale(1.035);
}

.hg-rent-card-body {
  display: grid;
  gap: 2px;
  padding: 14px 16px 16px;
}

.hg-rent-card-body > span {
  margin: 0;
}

.hg-owner-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1.08fr;
  gap: 22px;
  padding: 0 44px;
}

.hg-info-card,
.hg-support-band {
  border: 1px solid var(--hg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--hg-soft-shadow);
}

.hg-info-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 298px;
  padding: 24px;
}

.hg-owner-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-owner-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.hg-owner-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--hg-green);
  color: #fff;
  font-weight: 950;
}

.hg-price-guide {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hg-soft-line);
}

.hg-price-guide div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--hg-soft-line);
}

.hg-price-guide span {
  margin: 0;
  text-align: right;
}

.hg-safety-list {
  display: grid;
  gap: 16px;
}

.hg-safety-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.hg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 44px;
}

.trust-tile {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 124px;
  border: 1px solid var(--hg-line);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--hg-soft-shadow);
}

.trust-tile h3,
.trust-tile p {
  margin: 0;
}

.trust-tile h3 {
  color: var(--hg-ink);
  font-size: 0.96rem;
}

.trust-tile p {
  margin-top: 5px;
  color: var(--hg-muted);
  font-size: 0.84rem;
  font-weight: 740;
  line-height: 1.45;
}

.hg-support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 0 0 4px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #ffffff, #f2fbf6);
}

.hg-support-band p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--hg-muted);
  font-weight: 760;
  line-height: 1.48;
}

.hg-support-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hg-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 44px 12px;
  border-top: 1px solid var(--hg-line);
}

.bottom-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: 140px minmax(520px, 1fr) auto;
    gap: 14px;
    padding: 0 28px;
  }

  .top-search-field {
    width: min(100%, 280px);
  }

  .desktop-main-nav {
    gap: 9px;
  }

  .desktop-main-nav button,
  .top-action-link {
    font-size: 0.86rem;
  }

  .public-login-button,
  .public-register-button {
    padding: 0 14px;
  }

  .hg-home {
    padding: 16px 28px 50px;
  }

  .hg-hero {
    grid-template-columns: minmax(520px, 0.95fr) minmax(0, 1.05fr);
  }

  .hg-hero-copy {
    padding: 42px 38px 184px;
  }

  .hg-hero-search {
    left: 38px;
    right: auto;
    width: 470px;
  }

  .hg-benefit-strip {
    right: 38px;
    width: 620px;
  }

  .hg-benefit-strip article {
    padding: 14px;
  }

  .hg-rent-card-grid,
  .hg-owner-grid,
  .hg-trust-grid,
  .hg-section-head,
  .hg-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .top-search-field {
    width: min(100%, 240px);
  }

  .desktop-main-nav button:not(.top-discover-button) {
    display: none;
  }

  .hg-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hg-hero-copy {
    padding: 38px 34px 24px;
  }

  .hg-hero-media img {
    min-height: 340px;
    max-height: 440px;
  }

  .hg-hero-search,
  .hg-benefit-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 16px 34px 0;
  }

  .hg-benefit-strip {
    margin-bottom: 24px;
  }

  .hg-rent-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hg-owner-grid {
    grid-template-columns: 1fr;
  }

  .hg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 0 16px;
  }

  .desktop-main-nav {
    display: none;
  }

  .top-actions {
    gap: 8px;
  }

  .top-bell-button,
  .public-login-button,
  .public-register-button,
  .top-action-link {
    display: none;
  }

  .is-signed-in .avatar-button,
  .avatar-button {
    display: inline-grid;
  }

  .hg-home {
    gap: 22px;
    padding: 12px 12px 96px;
  }

  .hg-hero {
    border-radius: 18px;
  }

  .hg-hero-copy {
    padding: 28px 22px 18px;
  }

  .hg-hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 1;
  }

  .hg-hero .hg-hero-copy h1 span {
    white-space: normal;
  }

  .hg-hero-copy > p {
    font-size: 1rem;
  }

  .hg-hero-actions {
    gap: 10px;
  }

  .hg-primary-cta,
  .hg-quiet-cta {
    width: 100%;
  }

  .hg-hero-media img {
    min-height: 260px;
    max-height: 320px;
    object-position: center right;
  }

  .hg-hero-search {
    grid-template-columns: 1fr;
    margin: 12px;
    padding: 12px;
  }

  .hg-benefit-strip {
    grid-template-columns: 1fr;
    margin: 0 12px 14px;
  }

  .hg-benefit-strip article {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--hg-line);
  }

  .hg-benefit-strip article:last-child {
    border-bottom: 0;
  }

  .hg-section-head {
    align-items: flex-start;
    padding: 0 4px;
  }

  .hg-section-head h2,
  .hg-info-card h2,
  .hg-support-band h2 {
    font-size: 1.24rem;
  }

  .hg-rent-card-grid,
  .hg-owner-grid,
  .hg-trust-grid,
  .hg-footer {
    grid-template-columns: 1fr;
    padding-left: 4px;
    padding-right: 4px;
  }

  .hg-rent-image {
    height: 178px;
  }

  .hg-info-card {
    min-height: 0;
    padding: 20px;
  }

  .hg-price-guide div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hg-price-guide span {
    text-align: left;
  }

  .hg-trust-grid {
    gap: 12px;
  }

  .hg-support-band {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .hg-support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bottom-nav {
    display: grid;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 22px;
    padding: 8px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.18);
    backdrop-filter: blur(18px);
  }

  .is-public-visitor .bottom-nav {
    display: grid;
  }

  .nav-item {
    min-width: 0;
    border-radius: 16px;
  }

  .nav-add {
    background: var(--hg-green);
    color: #fff;
  }
}

@media (max-width: 430px) {
  .logo-button {
    font-size: 1.55rem;
  }

  .hg-hero-copy h1 {
    font-size: 2.75rem;
  }

  .hg-hero-checks li {
    align-items: flex-start;
    font-size: 0.92rem;
  }

  .hg-hero-media img {
    min-height: 238px;
  }
}

/* Mobile app-home v1: Huurgoo's own marketplace-style mobile discovery layout. */
.hg-desktop-home {
  display: grid;
  gap: 26px;
}

.hg-mobile-home {
  display: none;
}

@media (max-width: 768px) {
  body[data-route="home"] .topbar {
    display: none;
  }

  body[data-route="home"] .hg-home {
    min-height: 100vh;
    padding: 0 0 98px;
    background: #f7fbf8;
  }

  .hg-desktop-home {
    display: none;
  }

  .hg-mobile-home {
    display: grid;
    gap: 22px;
    padding: max(16px, env(safe-area-inset-top)) 0 0;
  }

  .hg-mobile-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 18px;
  }

  .hg-mobile-logo {
    color: var(--hg-green);
    font-size: 1.72rem;
    font-weight: 950;
  }

  .hg-mobile-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hg-mobile-head-actions button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hg-ink);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-head-actions svg,
  .hg-mobile-search svg,
  .hg-mobile-category svg,
  .hg-mobile-favorite svg,
  .hg-mobile-verified svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hg-mobile-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    min-height: 62px;
    margin: 0 18px;
    padding: 0 8px 0 18px;
    border: 1px solid rgba(214, 226, 219, 0.95);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.09);
  }

  .hg-mobile-search > svg {
    color: var(--hg-green);
  }

  .hg-mobile-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hg-ink);
    font-size: 1rem;
    font-weight: 850;
  }

  .hg-mobile-search input::placeholder {
    color: #778397;
  }

  .hg-mobile-search button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    background: var(--hg-mint);
    color: var(--hg-green-dark);
  }

  .hg-mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
  }

  .hg-mobile-section-head h2 {
    margin: 0;
    color: var(--hg-ink);
    font-size: 1.52rem;
    font-weight: 950;
    letter-spacing: 0;
  }

  .hg-mobile-section-head button {
    border: 0;
    background: transparent;
    color: var(--hg-green);
    font-size: 0.94rem;
    font-weight: 950;
  }

  .hg-mobile-categories {
    display: grid;
    gap: 15px;
  }

  .hg-mobile-category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86px;
    gap: 15px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 18px 4px;
    scrollbar-width: none;
  }

  .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  .hg-mobile-category {
    display: grid;
    justify-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: #4c5b6d;
    text-align: center;
  }

  .hg-mobile-category span {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(214, 226, 219, 0.95);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f4faf6);
    color: var(--hg-green-dark);
    box-shadow: inset 0 0 0 4px #f8fbf9, 0 8px 18px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-category strong {
    display: block;
    min-height: 34px;
    color: #53657a;
    font-size: 0.83rem;
    font-weight: 900;
    line-height: 1.16;
  }

  .hg-mobile-feed {
    display: grid;
    gap: 18px;
  }

  .hg-mobile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(214, 226, 219, 0.95);
    background: #fff;
  }

  .hg-mobile-tabs button {
    position: relative;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #4a596c;
    font-size: 1.08rem;
    font-weight: 950;
  }

  .hg-mobile-tabs button.is-active {
    color: var(--hg-green);
  }

  .hg-mobile-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--hg-green);
  }

  .hg-mobile-feed-panel {
    display: none;
  }

  .hg-mobile-feed-panel.is-active {
    display: block;
  }

  .hg-mobile-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 12px 8px;
  }

  .hg-mobile-listing-card {
    display: grid;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(214, 226, 219, 0.9);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    box-shadow: 0 9px 20px rgba(16, 24, 40, 0.075);
    text-align: left;
  }

  .hg-mobile-listing-photo {
    position: relative;
    display: block;
    height: 145px;
    overflow: hidden;
    background: #edf5f0;
  }

  .hg-mobile-listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hg-mobile-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #263447;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.16);
  }

  .hg-mobile-verified {
    position: absolute;
    left: 9px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 18px);
    min-height: 25px;
    padding: 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(239, 249, 243, 0.96);
    color: var(--hg-green-dark);
    font-size: 0.69rem;
    font-weight: 950;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .hg-mobile-verified svg {
    width: 13px;
    height: 13px;
  }

  .hg-mobile-listing-body {
    display: grid;
    gap: 7px;
    padding: 13px 13px 14px;
  }

  .hg-mobile-listing-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #223044;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hg-mobile-price {
    color: var(--hg-green-dark);
    font-size: 1.05rem;
    font-weight: 950;
  }

  .hg-mobile-meta {
    color: #697789;
    font-size: 0.78rem;
    font-weight: 820;
    line-height: 1.25;
  }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid rgba(214, 226, 219, 0.95);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 34px rgba(16, 24, 40, 0.13);
    backdrop-filter: blur(18px);
  }

  .is-public-visitor .bottom-nav {
    display: grid;
  }

  .nav-item {
    min-width: 0;
    min-height: 60px;
    border-radius: 15px;
    color: #8a918f;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .nav-item svg {
    width: 23px;
    height: 23px;
  }

  .nav-item.is-active {
    color: var(--hg-green);
    background: transparent;
  }

  .nav-add {
    min-height: 66px;
    margin-top: -16px;
    border-radius: 16px;
    background: var(--hg-green);
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 122, 70, 0.24);
  }

  .nav-add.is-active {
    color: #fff;
    background: var(--hg-green);
  }
}

@media (max-width: 430px) {
  .hg-mobile-listing-photo {
    height: 134px;
  }

  .hg-mobile-listing-grid {
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .hg-mobile-category-rail {
    grid-auto-columns: 78px;
    gap: 12px;
  }

  .hg-mobile-category span {
    width: 64px;
    height: 64px;
  }

  .nav-item {
    font-size: 0.68rem;
  }
}

/* Homepage source-of-truth polish: keep this last so old homepage experiments cannot win. */
body {
  background: #fbfdfb;
  color: #172033;
}

.app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(145px, auto) minmax(420px, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 36px;
  border-bottom: 1px solid #e2ebe5;
  background: rgba(255,255,255,0.97);
}

#backButton {
  display: none;
}

.logo-button {
  color: #067a46;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.desktop-main-nav button,
.location-nav-button,
.top-action-link {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #172033;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 850;
  white-space: nowrap;
}

.location-nav-button {
  color: #034f32;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.is-public-visitor .top-action-link,
.is-public-visitor .avatar-button {
  display: none;
}

.is-signed-in .public-login-button {
  display: none;
}

.hg-home {
  display: grid;
  gap: 38px;
  padding: 22px 36px 52px;
}

.hg-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 24px;
  align-items: start;
}

.hg-main-column {
  display: grid;
  min-width: 0;
}

.hg-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 26px;
  background: #eaf2ec;
  box-shadow: 0 18px 54px rgba(31, 41, 55, 0.10);
  isolation: isolate;
}

.hg-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.95) contrast(0.98);
}

.hg-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 36%, rgba(255,255,255,0.46) 58%, rgba(255,255,255,0.06) 100%),
    linear-gradient(0deg, rgba(8,34,23,0.22), rgba(8,34,23,0.02) 54%);
}

.hg-hero-content {
  width: min(585px, 54%);
  padding: 62px 58px 0;
}

.hg-eyebrow,
.hg-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #034f32;
  font-size: 0.84rem;
  font-weight: 900;
}

.hg-eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(6,122,70,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
}

.hg-hero h1 {
  max-width: 600px;
  margin: 0;
  color: #034f32;
  font-size: 60px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hg-hero h1 span {
  display: block;
  margin-top: 4px;
  color: #067a46;
}

.hg-hero-subtitle {
  max-width: 500px;
  margin: 20px 0 0;
  color: #39455a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.hg-search-card {
  position: absolute;
  left: 38px;
  right: 54px;
  bottom: 58px;
  display: grid;
  grid-template-columns: minmax(290px, 1.45fr) minmax(185px, 0.9fr) minmax(175px, 0.82fr) auto;
  gap: 14px;
  align-items: end;
  max-width: 1080px;
  padding: 18px;
  border: 1px solid rgba(227,235,230,0.94);
  border-radius: 22px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.16);
  backdrop-filter: blur(18px);
}

.hg-search-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #172033;
  font-weight: 900;
  text-align: left;
}

.hg-search-field > span {
  color: #344051;
  font-size: 0.78rem;
}

.hg-search-field div,
.hg-search-button-field strong {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid #dbe7df;
  border-radius: 13px;
  background: #fff;
  color: #657186;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-search-field svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #067a46;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
}

.hg-search-button-field {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hg-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 172px;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #07834d, #056b3f);
  color: #fff;
  padding: 0 24px;
  box-shadow: 0 12px 28px rgba(6, 122, 70, 0.24);
  font-weight: 950;
}

.hg-search-hints {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #657186;
  font-size: 0.82rem;
  font-weight: 850;
}

.hg-search-hints button {
  min-height: 30px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #f8fbf9;
  color: #034f32;
  padding: 0 11px;
  font-weight: 850;
}

.hg-category-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  margin-top: -34px;
  padding: 0 12px;
}

.hg-category-chip,
.hg-category-card {
  border: 1px solid #e2ebe5;
  background: rgba(255,255,255,0.97);
  color: #172033;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

.hg-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: 13px;
  padding: 0 12px;
  font-size: 0.83rem;
  font-weight: 900;
}

.hg-side-panel {
  display: grid;
  gap: 18px;
}

.hg-account-card,
.hg-assurance-card {
  border: 1px solid #e2ebe5;
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

.hg-account-card {
  display: grid;
  gap: 18px;
  min-height: 455px;
  padding: 22px;
}

.hg-side-title {
  margin: 0;
  color: #172033;
  font-size: 1.14rem;
  font-weight: 950;
}

.hg-account-mini {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2ebe5;
}

.hg-account-mini img,
.hg-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.hg-account-mini img {
  object-fit: cover;
}

.hg-account-avatar,
.hg-safety-steps article > span {
  display: grid;
  place-items: center;
  background: #edf8f2;
  color: #034f32;
}

.hg-account-avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-account-mini strong {
  display: block;
  color: #172033;
  font-size: 0.98rem;
}

.hg-account-mini button {
  border: 0;
  background: transparent;
  color: #657186;
  padding: 3px 0 0;
  font-weight: 800;
}

.hg-safety-steps {
  display: grid;
  gap: 14px;
}

.hg-safety-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.hg-safety-steps article > span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.hg-safety-steps strong {
  display: block;
  color: #172033;
  font-size: 0.9rem;
  line-height: 1.25;
}

.hg-safety-steps p {
  margin: 4px 0 0;
  color: #657186;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
}

.hg-assurance-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: #f7fcf9;
  color: #034f32;
  font-weight: 900;
}

.hg-assurance-card p {
  margin: 0;
  line-height: 1.45;
}

.hg-section-head h2,
.hg-split-section h2,
.hg-host-section h2,
.hg-support-band h2 {
  font-size: 1.85rem;
  letter-spacing: 0;
}

.hg-empty-card {
  border: 1px dashed #cfded5;
  border-radius: 18px;
  background: #fff;
  color: #657186;
  padding: 22px;
  font-weight: 800;
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 1240px) {
  .topbar {
    padding: 0 28px;
    gap: 18px;
  }

  .desktop-main-nav {
    gap: 14px;
  }

  .top-action-link span {
    display: none;
  }

  .hg-home {
    padding: 20px 28px 48px;
  }

  .hg-stage {
    grid-template-columns: 1fr;
  }

  .hg-side-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  }

  .hg-account-card {
    min-height: 0;
  }

  .hg-hero {
    min-height: 560px;
  }

  .hg-search-card {
    right: 38px;
    grid-template-columns: minmax(240px, 1.35fr) minmax(170px, 0.85fr) minmax(160px, 0.75fr) auto;
  }

  .hg-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-main-nav button,
  .location-nav-button {
    font-size: 0.86rem;
  }

  .hg-hero-content {
    width: min(540px, 58%);
    padding: 52px 42px 0;
  }

  .hg-hero h1 {
    font-size: 52px;
  }

  .hg-search-card {
    grid-template-columns: minmax(240px, 1.2fr) minmax(160px, 0.85fr) minmax(150px, 0.8fr) auto;
  }

  .hg-search-submit {
    grid-column: auto;
    width: auto;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 16px;
  }

  .desktop-main-nav,
  .location-nav-button,
  .top-action-link {
    display: none;
  }

  .hg-home {
    gap: 24px;
    padding: 14px 14px 96px;
  }

  .hg-stage,
  .hg-side-panel {
    grid-template-columns: 1fr;
  }

  .hg-hero {
    display: grid;
    min-height: auto;
    border-radius: 24px;
  }

  .hg-hero-image {
    position: relative;
    order: 2;
    height: 270px;
    object-position: center right;
  }

  .hg-hero-shade {
    display: none;
  }

  .hg-hero-content {
    width: 100%;
    padding: 26px 20px 18px;
    background: #fff;
  }

  .hg-hero h1 {
    font-size: 38px;
    line-height: 1.06;
    letter-spacing: 0;
  }

  .hg-hero-subtitle {
    font-size: 1rem;
  }

  .hg-search-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    grid-template-columns: 1fr;
    margin: -22px 14px 16px;
    padding: 14px;
    border-radius: 18px;
  }

  .hg-search-submit {
    width: 100%;
  }

  .hg-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 0;
    padding: 0;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid,
  .hg-split-section,
  .hg-host-section,
  .hg-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .logo-button {
    font-size: 1.72rem;
  }

  .hg-hero h1 {
    font-size: 32px;
  }

  .hg-hero-image {
    height: 235px;
  }

  .hg-search-field div,
  .hg-search-button-field strong,
  .hg-search-submit {
    min-height: 48px;
  }
}

/* Homepage refinement: stronger reference-like first viewport and premium search. */
.hg-home {
  gap: 38px;
  padding-top: 20px;
}

.hg-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 332px);
  gap: 24px;
  align-items: start;
}

.hg-main-column {
  display: grid;
  min-width: 0;
}

.hg-hero {
  min-height: clamp(560px, 42vw, 625px);
  border-radius: var(--hg-radius-lg);
}

.hg-hero-image {
  object-position: center right;
  filter: saturate(0.95) contrast(0.98);
}

.hg-hero-shade {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 38%, rgba(255,255,255,0.50) 58%, rgba(255,255,255,0.08) 100%),
    linear-gradient(0deg, rgba(4,31,19,0.20), rgba(4,31,19,0.01) 54%);
}

.hg-hero-content {
  width: min(600px, 56%);
  padding-top: clamp(48px, 5.3vw, 72px);
}

.hg-hero h1 {
  max-width: 620px;
  font-size: clamp(3.1rem, 4.4vw, 4.15rem);
  line-height: 1.05;
}

.hg-hero-subtitle {
  max-width: 470px;
  margin-top: 18px;
}

.hg-search-card {
  right: clamp(20px, 5vw, 78px);
  bottom: 78px;
  grid-template-columns: minmax(290px, 1.35fr) minmax(185px, 0.82fr) minmax(175px, 0.78fr) auto;
  gap: 13px;
  padding: 17px;
}

.hg-search-field-main div {
  min-height: 54px;
}

.hg-search-field input::placeholder {
  color: #7b8796;
}

.hg-search-submit {
  min-width: 172px;
  min-height: 54px;
}

.hg-search-hints {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -2px;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hg-search-hints span {
  color: #526074;
}

.hg-search-hints button {
  min-height: 30px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #f8fbf9;
  color: var(--hg-green-dark);
  padding: 0 11px;
  cursor: pointer;
  font-weight: 850;
}

.hg-category-row {
  width: min(100%, 1080px);
  margin-top: -62px;
  padding: 0 0 0 clamp(14px, 2vw, 22px);
}

.hg-category-chip {
  min-height: 60px;
  border-radius: 14px;
}

.hg-side-panel {
  display: grid;
  gap: 18px;
}

.hg-account-card,
.hg-assurance-card {
  border: 1px solid var(--hg-line);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--hg-soft-shadow);
}

.hg-account-card {
  display: grid;
  gap: 18px;
  min-height: 455px;
  padding: 22px;
}

.hg-side-title {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.14rem;
  font-weight: 950;
}

.hg-account-mini {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hg-line);
}

.hg-account-mini img,
.hg-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.hg-account-mini img {
  object-fit: cover;
}

.hg-account-avatar {
  display: grid;
  place-items: center;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-account-avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-account-mini strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.98rem;
}

.hg-account-mini button {
  border: 0;
  background: transparent;
  color: var(--hg-muted);
  padding: 3px 0 0;
  cursor: pointer;
  font-weight: 800;
}

.hg-safety-steps {
  display: grid;
  gap: 14px;
}

.hg-safety-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.hg-safety-steps article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-safety-steps svg,
.hg-assurance-card svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-safety-steps strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.hg-safety-steps p {
  margin: 4px 0 0;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
}

.hg-assurance-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: #f7fcf9;
  color: var(--hg-green-dark);
  font-weight: 900;
}

.hg-assurance-card p {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .hg-stage {
    grid-template-columns: 1fr;
  }

  .hg-side-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  }

  .hg-account-card {
    min-height: 0;
  }
}

@media (max-width: 1040px) {
  .hg-search-card {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.82fr) minmax(170px, 0.78fr);
  }

  .hg-search-submit {
    grid-column: auto;
    width: auto;
  }

  .hg-search-hints {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hg-stage,
  .hg-side-panel {
    grid-template-columns: 1fr;
  }

  .hg-side-panel {
    order: 4;
  }

  .hg-hero {
    border-radius: 24px;
  }

  .hg-hero-image {
    height: 270px;
    object-position: center right;
  }

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

  .hg-search-submit {
    width: 100%;
  }

  .hg-search-hints {
    flex-wrap: wrap;
  }

  .hg-category-row {
    padding: 0;
  }

  .hg-account-card {
    padding: 18px;
  }
}

/* Huurgoo homepage rebuild based on the selected visual reference. */
:root {
  --hg-green: #067a46;
  --hg-green-dark: #034f32;
  --hg-green-soft: #edf8f2;
  --hg-ink: #172033;
  --hg-muted: #657186;
  --hg-line: #e3ebe6;
  --hg-bg: #fbfdfb;
  --hg-card: #ffffff;
  --hg-radius-lg: 26px;
  --hg-radius-md: 18px;
  --hg-shadow: 0 18px 54px rgba(31, 41, 55, 0.10);
  --hg-soft-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

body {
  background: var(--hg-bg);
}

.app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(145px, auto) minmax(420px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--hg-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

#backButton {
  display: none;
}

.logo-button {
  color: var(--hg-green);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-width: 0;
}

.desktop-main-nav button,
.location-nav-button,
.top-action-link {
  border: 0;
  background: transparent;
  color: var(--hg-ink);
  min-height: 42px;
  border-radius: 999px;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-main-nav button:hover,
.location-nav-button:hover,
.top-action-link:hover {
  color: var(--hg-green-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  white-space: nowrap;
}

.location-nav-button,
.top-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.location-nav-button {
  color: var(--hg-green-dark);
}

.location-nav-button svg,
.top-action-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--hg-line);
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.is-public-visitor .top-action-link,
.is-public-visitor .avatar-button {
  display: none;
}

.is-signed-in .public-login-button {
  display: none;
}

.hg-home {
  display: grid;
  gap: 34px;
  padding: 24px clamp(18px, 3vw, 36px) 48px;
}

.hg-hero {
  position: relative;
  min-height: clamp(520px, 45vw, 610px);
  overflow: hidden;
  border-radius: 0 0 var(--hg-radius-lg) var(--hg-radius-lg);
  background: #eaf2ec;
  box-shadow: var(--hg-shadow);
  isolation: isolate;
}

.hg-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: -2;
}

.hg-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 34%, rgba(255,255,255,0.33) 58%, rgba(255,255,255,0.04) 100%),
    linear-gradient(0deg, rgba(8,34,23,0.28), rgba(8,34,23,0.02) 52%);
  z-index: -1;
}

.hg-hero-content {
  width: min(570px, 52%);
  padding: clamp(44px, 6vw, 78px) clamp(28px, 5vw, 62px) 0;
}

.hg-eyebrow,
.hg-section-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hg-green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.hg-eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(6, 122, 70, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
}

.hg-eyebrow svg,
.hg-section-kicker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-hero h1 {
  margin: 0;
  max-width: 580px;
  color: var(--hg-green-dark);
  font-size: clamp(3rem, 5.1vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.hg-hero h1 span {
  display: block;
  margin-top: 4px;
  color: var(--hg-green);
}

.hg-hero-subtitle {
  max-width: 500px;
  margin: 20px 0 0;
  color: #39455a;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  font-weight: 700;
}

.hg-search-card {
  position: absolute;
  left: clamp(22px, 4vw, 58px);
  right: clamp(22px, 8vw, 150px);
  bottom: 86px;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) minmax(190px, 0.95fr) minmax(180px, 0.85fr) auto;
  gap: 14px;
  align-items: end;
  max-width: 1160px;
  padding: 18px;
  border: 1px solid rgba(227,235,230,0.92);
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.16);
  backdrop-filter: blur(18px);
}

.hg-search-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--hg-ink);
  font-weight: 900;
  text-align: left;
}

.hg-search-field > span {
  font-size: 0.78rem;
  color: #344051;
}

.hg-search-field div,
.hg-search-button-field strong {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #dbe7df;
  border-radius: 13px;
  background: #fff;
  color: var(--hg-muted);
  font-size: 0.94rem;
}

.hg-search-field svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--hg-ink);
}

.hg-search-button-field {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hg-search-submit,
.hg-secondary-cta,
.hg-link-button {
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 950;
}

.hg-search-submit {
  background: linear-gradient(180deg, #07834d, #056b3f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 122, 70, 0.24);
}

.hg-search-submit svg,
.hg-secondary-cta svg,
.hg-link-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-category-row {
  margin-top: -72px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  padding-left: clamp(0px, 1vw, 4px);
}

.hg-category-chip,
.hg-category-card {
  border: 1px solid var(--hg-line);
  background: rgba(255,255,255,0.96);
  color: var(--hg-ink);
  box-shadow: var(--hg-soft-shadow);
  cursor: pointer;
}

.hg-category-chip {
  min-height: 58px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  font-size: 0.83rem;
  font-weight: 900;
}

.hg-category-chip svg,
.hg-category-card svg {
  width: 20px;
  height: 20px;
  color: var(--hg-green-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.hg-section {
  display: grid;
  gap: 18px;
}

.hg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hg-section-head h2,
.hg-split-section h2,
.hg-host-section h2,
.hg-support-band h2 {
  margin: 0;
  color: var(--hg-ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hg-link-button {
  min-height: 38px;
  padding: 0;
  color: var(--hg-green-dark);
  background: transparent;
}

.hg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hg-product-grid .product-card {
  min-height: 0;
  border-radius: 18px;
  box-shadow: var(--hg-soft-shadow);
}

.hg-product-grid .product-photo img {
  height: 190px;
}

.hg-category-grid,
.hg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hg-category-card {
  min-height: 138px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.hg-category-card strong {
  color: var(--hg-ink);
  font-size: 1rem;
}

.hg-category-card span {
  color: var(--hg-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hg-split-section,
.hg-host-section,
.hg-support-band {
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-lg);
  background: var(--hg-card);
  box-shadow: var(--hg-soft-shadow);
}

.hg-split-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}

.hg-split-section p,
.hg-host-section p,
.hg-support-band p {
  color: var(--hg-muted);
  line-height: 1.6;
  font-weight: 700;
}

.hg-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--hg-line);
  border-radius: 16px;
  background: #fbfdfb;
}

.hg-step-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.hg-step-list strong,
.hg-step-list p {
  margin: 0;
}

.hg-trust-grid .trust-tile {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--hg-soft-shadow);
}

.hg-host-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  overflow: hidden;
}

.hg-host-section > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hg-host-section > div {
  padding: clamp(24px, 4vw, 42px);
}

.hg-host-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.hg-host-section li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hg-ink);
  font-weight: 800;
}

.hg-host-section li svg {
  width: 18px;
  height: 18px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-secondary-cta {
  background: var(--hg-green);
  color: #fff;
}

.hg-support-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, #ffffff, #f1faf5);
}

.hg-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--hg-line);
}

.hg-empty-card {
  border: 1px dashed #cfded5;
  border-radius: 18px;
  background: #fff;
  color: var(--hg-muted);
  padding: 22px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .desktop-main-nav {
    gap: 14px;
  }

  .top-action-link span {
    display: none;
  }

  .hg-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .desktop-main-nav,
  .location-nav-button,
  .top-action-link {
    display: none;
  }

  .hg-home {
    padding: 14px 14px 96px;
    gap: 24px;
  }

  .hg-hero {
    min-height: auto;
    display: grid;
    padding-bottom: 0;
    border-radius: 24px;
  }

  .hg-hero-image {
    position: relative;
    height: 285px;
    order: 2;
    object-position: center right;
  }

  .hg-hero-shade {
    display: none;
  }

  .hg-hero-content {
    width: 100%;
    padding: 26px 20px 18px;
    background: #fff;
  }

  .hg-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.06;
  }

  .hg-search-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    grid-template-columns: 1fr;
    margin: -22px 14px 16px;
    padding: 14px;
    border-radius: 18px;
  }

  .hg-category-row {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid,
  .hg-split-section,
  .hg-host-section,
  .hg-footer {
    grid-template-columns: 1fr;
  }

  .hg-section-head,
  .hg-support-band {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-host-section > img {
    min-height: 240px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(23, 139, 92, 0.06);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 239, 234, 0.88);
}

.brand-cluster,
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 950;
  letter-spacing: 0;
  font-size: 1.04rem;
  padding: 0 2px;
}

.nav-search {
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.05);
}

.nav-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.icon-button,
.avatar-button,
.small-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.05);
}

.icon-button svg,
.nav-item svg,
.small-icon svg,
.primary-button svg,
.secondary-button svg,
.danger-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 800;
}

#app {
  padding: 18px 16px 132px;
  outline: none;
}

.hero-search,
.field {
  position: relative;
}

.hero-search input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 14px 14px;
}

.hero-search input {
  padding-left: 48px;
  font-size: 1.02rem;
  box-shadow: var(--shadow);
}

.hero-search svg {
  position: absolute;
  left: 16px;
  top: 15px;
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 12px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.22rem, 4vw, 1.85rem);
  letter-spacing: 0;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font-weight: 800;
  padding: 6px 0;
  cursor: pointer;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: var(--button-height);
  border-radius: var(--radius-control);
}

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

.category-button {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-button:hover,
.product-card:hover,
.listing-card:hover,
.host-card:hover,
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(31, 41, 55, 0.11);
}

.category-button svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-public-visitor .bottom-nav {
  display: none;
}

.is-public-visitor .top-actions .icon-button,
.is-public-visitor .top-actions .avatar-button,
.is-public-visitor .nav-search {
  display: none;
}

.listing-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.listing-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  text-align: left;
  color: inherit;
  padding: 0;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.listing-image-wrap {
  position: relative;
}

.listing-image-wrap > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-strong);
  display: block;
}

.listing-body {
  padding: 14px;
  min-width: 0;
}

.listing-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-weight: 850;
}

.meta,
.muted {
  color: var(--muted);
}

.meta {
  font-size: 0.88rem;
  line-height: 1.45;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.badge.warning {
  background: #fff4df;
  color: var(--warning);
}

.badge.neutral {
  background: #eef3f9;
  color: var(--blue);
}

.photo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: -2px -16px 16px;
  padding: 0 16px 4px;
}

.photo-rail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  scroll-snap-align: start;
  background: var(--surface-strong);
}

.detail-panel,
.form-panel,
.profile-panel,
.message-card,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 14px;
}

.detail-panel + .detail-panel,
.form-panel + .form-panel,
.booking-card + .booking-card,
.message-card + .message-card {
  margin-top: 12px;
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.detail-heading h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.owner-row,
.profile-row,
.chat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-photo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-strong);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.dashboard-hero > div,
.dashboard-user-card,
.dashboard-card,
.dashboard-stat-card,
.dashboard-listing-card,
.dashboard-booking-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.dashboard-hero > div {
  padding: clamp(22px, 4vw, 34px);
}

.dashboard-hero h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.dashboard-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.dashboard-hero strong {
  color: var(--ink);
}

.dashboard-user-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.dashboard-avatar {
  width: 94px;
  height: 94px;
  border-radius: 28px;
  object-fit: cover;
}

.dashboard-user-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dashboard-user-title h2 {
  margin: 0;
}

.dashboard-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.dashboard-user-meta span,
.status-checklist span,
.badge-showcase span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dashboard-user-meta svg,
.dashboard-stat-card svg,
.status-checklist svg,
.badge-showcase svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-stats,
.impact-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat-card {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.dashboard-stat-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-strong);
}

.dashboard-stat-card strong {
  font-size: 1.75rem;
  line-height: 1;
}

.dashboard-stat-card small {
  color: var(--muted);
  font-weight: 850;
}

.dashboard-section {
  margin-top: 28px;
}

.dashboard-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 2px 16px 14px;
}

.dashboard-listing-card {
  overflow: hidden;
  scroll-snap-align: start;
}

.dashboard-listing-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.dashboard-listing-card > div {
  padding: 15px;
}

.dashboard-listing-card h3 {
  margin: 10px 0 6px;
  font-size: 1.06rem;
}

.dashboard-listing-card p,
.dashboard-booking-card span {
  color: var(--muted);
  font-weight: 800;
}

.status-pill {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 950;
}

.status-pill.active {
  background: var(--surface-strong);
  color: var(--brand-strong);
}

.status-pill.paused {
  background: #f8fafc;
  color: #64748b;
}

.status-pill.attention {
  background: #fff7ed;
  color: #c2410c;
}

.status-pill.draft {
  background: #eff6ff;
  color: #1d4ed8;
}

.clickable-dashboard-card {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.clickable-dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 139, 92, 0.22);
  box-shadow: var(--shadow);
}

.listing-more-button {
  width: 38px;
  height: 38px;
  margin-left: auto;
  background: var(--surface-strong);
}

.dashboard-card-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.compact-action {
  width: auto;
  min-height: 38px;
  border-radius: 13px;
  padding: 8px 11px;
  font-size: 0.84rem;
}

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

.dashboard-booking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.dashboard-booking-card div {
  display: grid;
  gap: 4px;
}

.dashboard-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.dashboard-card {
  padding: 20px;
}

.earnings-grid,
.status-checklist {
  display: grid;
  gap: 10px;
}

.money-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.money-row span {
  color: var(--muted);
  font-weight: 800;
}

.money-row strong {
  font-size: 1.08rem;
}

.status-checklist span {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-strong);
  font-weight: 850;
}

.impact-mini .dashboard-stat-card {
  box-shadow: none;
}

.badge-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-showcase span {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.messages-shell {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
  min-height: calc(100vh - 170px);
  padding-bottom: 24px;
}

.inbox-panel,
.chat-panel,
.message-empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.inbox-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.inbox-head {
  display: grid;
  gap: 4px;
}

.inbox-head h1 {
  margin: 0;
  font-size: 1.55rem;
}

.inbox-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.unread-total,
.unread-badge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

.inbox-search,
.settings-search {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.inbox-search svg,
.settings-search svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.inbox-search input,
.settings-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.inbox-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.inbox-filters button,
.quick-replies button {
  min-height: 34px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 7px 11px;
  font-weight: 850;
}

.inbox-filters .active,
.quick-replies button:hover {
  background: var(--surface-strong);
  color: var(--brand-strong);
  border-color: rgba(23, 139, 92, 0.25);
}

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

.conversation-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: inherit;
  box-shadow: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.conversation-card.active {
  background: var(--surface-strong);
  border-color: rgba(23, 139, 92, 0.28);
}

.conversation-card:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.22);
}

.conversation-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.conversation-main div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.conversation-main span,
.conversation-main p,
.conversation-main time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.conversation-main p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-product {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.unread-dot {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand);
}

.chat-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto auto;
  overflow: hidden;
  position: relative;
}

.chat-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.92fr) minmax(240px, 1.2fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.chat-person,
.chat-header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

button.chat-person {
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  padding: 6px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

button.chat-person:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.16);
  background: var(--surface-strong);
  cursor: pointer;
}

button.chat-person:focus-visible {
  outline: 3px solid rgba(23, 139, 92, 0.22);
  outline-offset: 2px;
}

.chat-person div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-person .person-photo {
  width: 42px;
  height: 42px;
}

.chat-person strong,
.chat-product-mini strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-header-actions {
  justify-content: end;
  flex-wrap: nowrap;
  gap: 7px;
}

.chat-header-actions .booking-status {
  min-height: 34px;
  padding: 0 10px;
  align-self: center;
}

.chat-header-actions .primary-button {
  background: var(--brand);
  color: #fff;
  min-height: 38px;
  padding-inline: 14px;
}

.chat-header span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.chat-product-mini {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 7px 9px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.chat-product-mini:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.2);
  background: #fff;
}

.chat-product-mini img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.chat-product-mini > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-product-mini em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 850;
}

.chat-product-mini .booking-status {
  min-height: 26px;
  padding: 0 8px;
  font-size: 0.72rem;
}

.chat-more-button {
  width: 38px;
  height: 38px;
  background: #fff;
}

.chat-options-menu {
  top: calc(100% + 7px);
}

.chat-back-button {
  display: none;
}

.chat-scroll {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, #fff, var(--surface-strong));
}

.date-separator {
  justify-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.premium-message {
  max-width: min(74%, 520px);
  padding: 11px 13px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(31, 41, 55, 0.055);
}

.premium-message.mine {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  background: var(--brand);
  color: #fff;
}

.premium-message p {
  margin: 0 0 5px;
}

.premium-message small {
  color: inherit;
  opacity: 0.72;
  font-size: 0.74rem;
  font-weight: 800;
}

.typing-indicator,
.chat-safety-notice {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.typing-indicator span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.chat-booking-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  text-align: left;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: background 160ms ease;
}

.chat-booking-bar:hover {
  background: var(--surface-strong);
}

.chat-booking-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.08);
}

.chat-booking-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.chat-booking-bar strong,
.chat-booking-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-booking-bar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-details-link,
.chat-booking-copy small {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  padding: 2px 0 0;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: left;
}

.chat-details-link:hover {
  text-decoration: underline;
}

.chat-booking-summary {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.06);
}

.booking-summary-compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.booking-summary-compact img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.booking-summary-compact div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.booking-summary-compact strong,
.booking-summary-compact span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-summary-compact span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.booking-details-toggle {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 900;
}

.booking-details-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}

.booking-expanded-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.chat-assist-strip {
  display: grid;
  gap: 6px;
  padding: 7px 14px 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-safety-notice {
  width: auto;
  justify-self: stretch;
  min-height: 30px;
  border-radius: 12px;
  background: var(--surface-strong);
  border-color: rgba(23, 139, 92, 0.18);
  color: var(--brand-strong);
  font-size: 0.75rem;
  line-height: 1.35;
  padding: 5px 9px;
  box-shadow: none;
}

.safety-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.quick-replies-shell {
  display: grid;
  gap: 6px;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.quick-replies-toggle {
  justify-self: start;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-replies-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}

.quick-replies {
  display: none;
}

.quick-replies-shell.open .quick-replies {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chat-composer {
  display: grid;
  grid-template-columns: 42px 42px 1fr 42px;
  gap: 8px;
  padding: 12px 14px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.booking-details-sheet {
  position: absolute;
  top: 76px;
  right: 14px;
  z-index: 7;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100% - 116px);
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.public-profile-backdrop {
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
}

.public-profile-panel {
  width: min(100%, 560px);
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--bg);
  padding: 18px;
  box-shadow: -18px 0 44px rgba(31, 41, 55, 0.14);
  animation: panelIn 220ms ease;
}

.public-profile-head {
  position: sticky;
  top: -18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: -18px -18px 16px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 251, 248, 0.92);
  backdrop-filter: blur(14px);
}

.public-profile-hero,
.public-profile-section,
.public-privacy-note {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.public-profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.public-profile-photo {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  object-fit: cover;
}

.public-profile-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.public-profile-title h2 {
  margin: 0;
}

.public-profile-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.public-profile-page,
.booking-detail-page {
  display: grid;
  gap: 18px;
}

.page-back-row,
.booking-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.public-profile-hero.full-page {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 24px;
  border-radius: 28px;
}

.public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.public-profile-actions a {
  text-decoration: none;
}

.public-trust-grid.strong {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.public-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.public-profile-meta svg,
.trust-signal svg,
.public-privacy-note svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-profile-section {
  margin-top: 14px;
}

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

.trust-signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  border: 1px solid rgba(23, 139, 92, 0.14);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 11px;
}

.trust-signal > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(23, 139, 92, 0.12);
  color: var(--brand-strong);
}

.trust-signal div,
.public-listing-card div,
.public-review-card {
  display: grid;
  gap: 4px;
}

.trust-signal small,
.public-listing-card small,
.public-review-card small,
.public-review-card span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.public-listing-grid,
.public-review-list {
  display: grid;
  gap: 10px;
}

.public-listing-grid.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.public-listing-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  padding: 10px;
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.public-listing-grid.full .public-listing-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.public-listing-grid.full .public-listing-card img {
  width: 100%;
  height: 160px;
}

.public-listing-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.public-listing-card img {
  width: 86px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
}

.public-listing-card span {
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 900;
}

.public-review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  padding: 12px;
}

.public-review-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.public-review-card strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b98500;
}

.public-review-card p {
  margin: 0;
  line-height: 1.5;
}

.public-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.booking-options-wrap {
  position: relative;
}

.booking-options-button svg,
.booking-options-menu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-options-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 12;
  width: min(280px, 82vw);
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow);
}

.booking-options-menu button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
  text-align: left;
  font-weight: 850;
}

.booking-options-menu button:hover {
  background: var(--surface-strong);
  color: var(--brand-strong);
}

.booking-options-menu hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 4px 0;
}

.booking-detail-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.booking-detail-hero-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.booking-detail-hero-card p {
  color: var(--muted);
  font-weight: 850;
}

.booking-detail-grid {
  align-items: start;
}

.booking-user-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 10px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.booking-user-row:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.18);
  box-shadow: var(--shadow-soft);
}

.booking-user-row + .booking-user-row {
  margin-top: 10px;
}

.booking-user-row span {
  display: grid;
  gap: 3px;
}

.booking-user-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 800;
}

.booking-sheet-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.booking-sheet-head h3 {
  margin: 0;
}

.chat-composer button,
.chat-composer input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.chat-composer input {
  min-width: 0;
  padding: 0 12px;
}

.chat-composer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.message-empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.message-empty-state > span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--surface-strong);
  color: var(--brand);
}

.message-empty-state svg {
  width: 34px;
  height: 34px;
}

.trust-hero,
.trust-flow-card,
.deposit-explainer,
.support-topic,
.evidence-card,
.admin-warning {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 18px;
}

.trust-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.trust-hero p,
.trust-note,
.deposit-explainer p,
.flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trust-flow-card {
  padding: clamp(18px, 4vw, 26px);
  margin-top: 16px;
}

.flow-head,
.trust-booking-summary {
  display: grid;
  gap: 14px;
}

.flow-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 16px;
}

.flow-head h2,
.flow-head p {
  margin: 0;
}

.trust-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.support-booking-card {
  display: grid;
  gap: 12px;
}

.danger-text {
  color: var(--danger);
}

.booking-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.booking-status.good,
.status-pill.good {
  background: var(--surface-strong);
  color: var(--brand-strong);
}

.booking-status.attention,
.status-pill.attention {
  background: #fff7ed;
  color: #a15c00;
}

.booking-status.urgent,
.status-pill.urgent {
  background: #fff1f2;
  color: var(--danger);
}

.booking-status.done {
  background: #f1f5f9;
  color: #475569;
}

.deposit-explainer {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--surface-strong);
}

.deposit-explainer.blocked {
  background: #fff7ed;
  border-color: rgba(161, 92, 0, 0.25);
}

.deposit-explainer div,
.pay-now-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.deposit-explainer span {
  color: var(--muted);
  font-weight: 850;
}

.pay-now-line {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.trust-step-grid,
.problem-grid,
.support-grid,
.support-context-grid,
.evidence-grid {
  display: grid;
  gap: 12px;
}

.trust-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.flow-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-weight: 950;
}

.flow-step h3 {
  margin: 0 0 4px;
}

.flow-step strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--brand-strong);
  font-size: 0.86rem;
}

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

.problem-grid section {
  display: grid;
  gap: 8px;
}

.problem-option {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-strong);
  font-weight: 850;
}

.claim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 18px;
}

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

.evidence-card,
.support-topic {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 850;
  text-align: left;
}

.ai-check-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(23, 139, 92, 0.22);
  border-radius: 18px;
  background: var(--surface-strong);
}

.ai-check-card h3,
.ai-check-card p {
  margin: 0 0 8px;
}

.ai-check-card small {
  color: var(--muted);
  font-weight: 850;
}

.claim-timeline {
  display: grid;
  gap: 10px;
}

.claim-timeline span {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.claim-timeline span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.claim-timeline .done {
  color: var(--brand-strong);
  background: var(--surface-strong);
}

.claim-timeline .done::before {
  background: var(--brand);
}

.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.support-context-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-context-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.support-context-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.support-context-grid strong {
  display: block;
  margin-top: 4px;
}

.admin-warning {
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--danger);
  font-weight: 950;
}

.admin-claim-table {
  display: grid;
  gap: 10px;
}

.admin-claim-table article {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font-weight: 850;
}

.admin-actions span {
  box-shadow: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 20px;
}

.admin-shell > .admin-hero,
.admin-shell > .admin-toolbar {
  grid-column: 1 / -1;
}

.admin-shell > .admin-tabs {
  grid-column: 1;
  grid-row: 3 / span 12;
  align-self: start;
  position: sticky;
  top: 88px;
}

.admin-shell > .admin-tabs ~ * {
  grid-column: 2;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f3fbf7);
  box-shadow: var(--shadow-soft);
}

.admin-hero h1,
.admin-hero p {
  margin: 0;
}

.admin-hero h1 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-hero p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.admin-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--brand-strong);
  background: rgba(18, 120, 88, 0.09);
  font-weight: 950;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
}

.admin-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-weight: 750;
}

.admin-toolbar-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.admin-tabs button {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 13px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: var(--brand-strong);
  background: rgba(18, 120, 88, 0.11);
}

.admin-summary-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-summary-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-strong);
  background: rgba(18, 120, 88, 0.09);
}

.admin-summary-card strong {
  font-size: 1.65rem;
  line-height: 1;
}

.admin-summary-card small {
  color: var(--ink);
  font-weight: 950;
}

.admin-summary-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
}

.admin-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-filter-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-filter-controls label {
  display: grid;
  gap: 5px;
  min-width: 150px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-filter-controls select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
  background: var(--surface-strong);
  font-weight: 850;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-section-head h2,
.admin-section-head p {
  margin: 0;
}

.admin-section-head p {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.admin-table {
  display: grid;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.admin-table > * {
  min-width: 980px;
}

.admin-table-row {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.admin-table-row:first-child {
  border-top: 0;
}

.admin-table-head {
  color: var(--muted);
  background: var(--surface-strong);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-table-row span {
  min-width: 0;
}

.admin-users-table .admin-table-row {
  grid-template-columns: 1.1fr 1.3fr 0.7fr 0.9fr 1fr 1fr 0.9fr 0.8fr;
}

.admin-review-table .admin-table-row {
  grid-template-columns: 1.1fr 1.25fr 1.3fr 1.2fr 0.8fr 0.85fr 1.6fr;
}

.admin-listings-table .admin-table-row {
  grid-template-columns: 64px 1.5fr 1fr 0.9fr 0.85fr 0.8fr 0.7fr 0.8fr;
}

.admin-claims-table .admin-table-row {
  grid-template-columns: 0.7fr 0.95fr 0.95fr 1.4fr 1fr 1fr 1.2fr 0.9fr 0.8fr 0.8fr;
}

.admin-bookings-table .admin-table-row {
  grid-template-columns: 1fr 0.75fr 1.4fr 0.9fr 1fr 0.7fr 0.7fr;
}

.admin-payments-table .admin-table-row {
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.85fr 0.8fr;
}

.admin-logs-table .admin-table-row {
  grid-template-columns: 1.25fr 1.1fr 1.1fr 1.5fr 0.8fr;
}

.admin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.admin-action-menu {
  position: relative;
  width: fit-content;
}

.admin-action-menu summary {
  list-style: none;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--brand-strong);
  font-weight: 950;
  cursor: pointer;
}

.admin-action-menu summary::-webkit-details-marker {
  display: none;
}

.admin-action-menu div {
  position: absolute;
  right: 0;
  z-index: 20;
  min-width: 220px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.admin-action-menu button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.admin-action-menu button:hover {
  background: var(--surface-strong);
}

.admin-status-badge,
.admin-priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.75rem;
  font-weight: 950;
  background: var(--surface-strong);
  color: var(--muted);
}

.admin-status-badge.open,
.admin-priority-badge.urgent {
  color: #991b1b;
  background: #fee2e2;
}

.admin-status-badge.in_progress {
  color: #1d4ed8;
  background: #dbeafe;
}

.admin-status-badge.waiting,
.admin-priority-badge.high {
  color: #92400e;
  background: #fef3c7;
}

.admin-status-badge.resolved {
  color: var(--brand-strong);
  background: rgba(18, 120, 88, 0.12);
}

.admin-status-badge.rejected {
  color: #475569;
  background: #e2e8f0;
}

.admin-detail-page {
  display: grid;
  gap: 18px;
}

.admin-detail-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-detail-header img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
}

.admin-detail-header h1,
.admin-detail-header p {
  margin: 0;
}

.admin-detail-header p {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-note-form {
  display: grid;
  gap: 10px;
}

.admin-note-form textarea {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font: inherit;
}

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

.admin-list-stack article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.admin-list-stack strong,
.admin-list-stack span {
  display: block;
}

.admin-list-stack span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.claim-priority-dot {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fef3c7;
}

.claim-priority-dot.urgent {
  background: #fee2e2;
}

.claim-timeline.compact {
  padding: 6px 0 6px 16px;
}

.claim-timeline.compact small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-row-actions .compact-action {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.admin-empty-state {
  padding: 18px;
  border: 1px dashed rgba(18, 120, 88, 0.28);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-strong);
  font-weight: 800;
}

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

.date-chip {
  min-height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.82rem;
}

.date-chip.available {
  border-color: rgba(15, 122, 90, 0.25);
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-weight: 800;
}

.detail-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.main-photo-button {
  position: relative;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.main-photo-button img {
  width: 100%;
  height: clamp(360px, 52vw, 620px);
  object-fit: cover;
  display: block;
}

.main-photo-button span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.main-photo-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.thumbnail-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 1fr);
  gap: 10px;
  overflow-x: auto;
}

.thumbnail-strip button,
.thumbnail-strip img {
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.thumbnail-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.fullscreen-gallery {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 41, 55, 0.82);
  backdrop-filter: blur(16px);
}

.gallery-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 61;
}

.fullscreen-gallery-inner {
  width: min(100%, 1040px);
  display: grid;
  gap: 12px;
}

.fullscreen-gallery-inner > img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
}

.fullscreen-thumbs {
  grid-auto-columns: 120px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.detail-hero-card,
.owner-detail-card,
.trust-detail-card,
.booking-card-sticky,
.premium-detail-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 4vw, 32px);
}

.detail-hero-card h2 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.detail-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.detail-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-header-meta svg,
.clean-badge-row svg,
.owner-icon-list svg,
.calendar-selection-summary svg,
.deposit-info svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-header-meta .star-text {
  color: #e2a800;
  letter-spacing: 0;
}

.clean-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-content: start;
  max-width: 320px;
}

.clean-badge-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.045);
}

.clean-badge-row svg {
  color: var(--brand);
}

.owner-detail-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 30px);
}

.owner-large-photo {
  width: 112px;
  height: 112px;
  border-radius: 32px;
  object-fit: cover;
}

.owner-detail-info h3 {
  margin: 0;
  font-size: 1.34rem;
}

.owner-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.owner-icon-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.owner-icon-list svg {
  color: var(--brand);
}

.booking-date-box,
.booking-lines span,
.trust-grid span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.owner-profile-button {
  width: auto;
  min-width: 154px;
  padding-inline: 18px;
}

.premium-detail-panel {
  padding: clamp(18px, 4vw, 26px);
}

.premium-detail-panel h2 {
  margin: 0 0 12px;
}

.premium-detail-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.available-dot { background: var(--brand); }
.booked-dot { background: #cbd5e1; }
.unavailable-dot { background: #dc2626; }

.premium-calendar {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  background: #fff;
}

.calendar-month-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-month-head strong {
  font-size: 1.1rem;
}

.calendar-month-head span {
  color: var(--muted);
}

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

.calendar-weekdays {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  font-size: 0.86rem;
}

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

.calendar-day.available {
  color: var(--brand-strong);
  background: var(--surface-strong);
  border-color: rgba(23, 139, 92, 0.28);
}

.calendar-day.booked {
  color: #64748b;
  background: #f1f5f9;
}

.calendar-day.unavailable {
  color: #991b1b;
  background: #fff1f2;
}

.calendar-day.selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.calendar-day.in-range {
  box-shadow: inset 0 0 0 2px rgba(23, 139, 92, 0.18);
}

.calendar-selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.calendar-selection-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-selection-summary strong {
  color: var(--ink);
}

.calendar-selection-summary svg {
  color: var(--brand);
}

.included-grid,
.spec-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.included-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font-weight: 850;
}

.included-grid svg,
.trust-grid svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.spec-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.spec-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.spec-grid strong {
  display: block;
  margin-top: 4px;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.review-head span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e2a800;
  font-weight: 900;
}

.review-head svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
}

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

.review-card time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.trust-detail-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
}

.trust-detail-card h2 {
  margin: 12px 0 8px;
}

.trust-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trust-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.booking-sidebar {
  position: sticky;
  top: 96px;
}

.booking-card-sticky {
  padding: 18px;
}

.booking-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.booking-price strong {
  color: var(--brand-strong);
  font-size: 2rem;
}

.booking-price span {
  color: var(--muted);
  font-weight: 800;
}

.booking-lines,
.booking-pay-now,
.deposit-row {
  margin-top: 10px;
}

.booking-date-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.booking-date-row span {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.booking-date-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.booking-date-row strong {
  font-size: 0.95rem;
}

.booking-lines {
  display: grid;
  gap: 6px;
  padding: 12px 0 2px;
}

.booking-lines span,
.booking-pay-now,
.deposit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-lines span {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
}

.booking-pay-now {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 950;
}

.booking-pay-now strong {
  color: var(--ink);
  font-size: 1.72rem;
}

.deposit-row {
  color: var(--muted);
  font-weight: 850;
}

.deposit-row > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.deposit-row strong {
  color: var(--ink);
}

.deposit-info {
  position: relative;
}

.deposit-info summary {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  list-style: none;
  cursor: pointer;
}

.deposit-info summary::-webkit-details-marker {
  display: none;
}

.deposit-info p {
  position: absolute;
  left: -18px;
  bottom: 28px;
  width: min(270px, 72vw);
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  line-height: 1.45;
  z-index: 4;
}

.similar-section {
  min-width: 0;
}

.primary-button,
.secondary-button,
.danger-button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
}

.primary-button {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 139, 92, 0.18);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.primary-button:disabled {
  background: #97aaa2;
  cursor: not-allowed;
}

.secondary-button {
  background: var(--surface);
  color: var(--brand-strong);
  border-color: var(--line);
}

.danger-button {
  background: #fff6f5;
  color: var(--danger);
  border-color: #ffd5d1;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.create-choice-hero {
  padding: clamp(20px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow-soft);
}

.create-choice-hero h2 {
  margin: 4px 0 8px;
  max-width: 720px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.create-choice-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.create-option-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  margin-top: 18px;
}

.create-option-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 520px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.create-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(31, 41, 55, 0.13);
}

.ai-option {
  border-color: rgba(23, 139, 92, 0.22);
  background:
    radial-gradient(circle at top right, rgba(23, 139, 92, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #effaf4 100%);
}

.manual-option {
  background: #fff;
}

.recommended-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(23, 139, 92, 0.18);
}

.recommended-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
}

.option-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--brand);
}

.ai-option .option-icon {
  background: rgba(23, 139, 92, 0.12);
}

.option-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.create-option-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.08;
}

.create-option-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.option-feature-list,
.insight-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.option-feature-list {
  margin: 4px 0 8px;
}

.option-feature-list li,
.insight-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.option-feature-list svg,
.insight-list svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.mode-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mode-toolbar .link-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mode-toolbar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
}

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

.ai-hints-card,
.ai-upload-card,
.ai-loading-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow-soft);
}

.ai-upload-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: stretch;
}

.ai-hints-card h2,
.ai-upload-copy h2,
.ai-loading-card h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.04;
}

.ai-hints-card p,
.ai-upload-copy p,
.ai-loading-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.ai-hints-card .primary-button {
  justify-self: end;
}

.ai-photo-request-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 800;
}

.ai-photo-request-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-photo-request-list svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.ai-upload-hint {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 16px;
  background: #fff;
}

.ai-upload-hint span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-upload-dropzone {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1.5px dashed rgba(23, 139, 92, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-strong);
  text-align: center;
  cursor: pointer;
}

.ai-upload-dropzone svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
}

.ai-upload-dropzone span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-upload-main {
  display: grid;
  gap: 14px;
}

.ai-upload-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ai-upload-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.ai-single-hint {
  padding: 14px;
  border: 1px solid rgba(23, 139, 92, 0.14);
  border-radius: 18px;
  background: #fff;
}

.ai-upload-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ai-upload-actions label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
}

.ai-loading-card {
  place-items: center;
  text-align: center;
}

.ai-loader {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-soft);
  animation: aiPulse 1.4s ease-in-out infinite;
}

.ai-loader svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
}

.ai-loading-list {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ai-loading-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  opacity: 0;
  transform: translateY(6px);
  animation: aiCheckIn 420ms ease forwards;
  animation-delay: calc(var(--delay) * 140ms);
}

.ai-loading-list svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.ai-warning {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(161, 92, 0, 0.22);
  border-radius: 14px;
  background: #fff7ed;
  color: #8a4b00;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.ai-success {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.ai-success svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.ai-warning svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.ai-category-grid {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.ai-cover-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 18px;
  background: var(--surface-strong);
}

.ai-cover-field img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.ai-cover-field div {
  display: grid;
  gap: 6px;
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-soft); }
  50% { transform: scale(1.04); box-shadow: 0 18px 42px rgba(23, 139, 92, 0.18); }
}

@keyframes aiCheckIn {
  to { opacity: 1; transform: translateY(0); }
}

.ai-workflow-card,
.ai-analysis-grid {
  margin-bottom: 16px;
}

.ai-workflow-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow-soft);
}

.ai-workflow-card h2 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.08;
}

.ai-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ai-stepper li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.ai-stepper span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-weight: 950;
}

.ai-stepper .done,
.ai-stepper .active {
  color: var(--ink);
}

.ai-stepper .done span,
.ai-stepper .active span {
  background: var(--brand);
  color: #fff;
}

.ai-analysis-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.ai-result-layout,
.ai-match-layout,
.ai-review-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.ai-review-hero {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ai-review-hero h2,
.ai-review-hero p {
  margin: 0;
}

.ai-review-actions,
.ai-low-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-result-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.ai-match-layout {
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.ai-match-layout .ai-manual-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.ai-match-grid {
  display: grid;
  gap: 14px;
}

.ai-preview-card,
.ai-insights-card,
.ai-match-card,
.deposit-advice-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.ai-match-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.ai-match-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 18px;
  object-fit: cover;
}

.ai-match-card h3 {
  margin: 4px 0 4px;
}

.ai-match-card p,
.ai-match-card small,
.ai-insights-card p,
.deposit-advice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ai-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.match-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.match-specs span {
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.match-specs strong {
  color: var(--ink);
}

.ai-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ai-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.ai-photo-stack img {
  aspect-ratio: 1;
  border-radius: 18px;
}

.ai-preview-card div,
.ai-insights-card,
.deposit-advice-card {
  padding: 16px;
}

.ai-preview-card h3,
.ai-insights-card h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
}

.ai-preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ai-insights-card h4 {
  margin: 16px 0 8px;
}

.insight-list {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.insight-list li {
  display: flex;
  align-items: start;
  gap: 8px;
}

.insight-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.deposit-advice-card {
  margin-bottom: 16px;
}

.deposit-advice-card h3 {
  margin: 0 0 12px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 850;
}

.score-row strong {
  color: var(--brand-strong);
}

.score-meter {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
  margin: 10px 0 14px;
}

.score-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.listing-create-form {
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}

.listing-editor {
  display: grid;
  gap: 18px;
}

.listing-draft-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(180, 125, 35, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf0, #f6fbf8);
  box-shadow: 0 16px 34px rgba(22, 32, 51, 0.06);
}

.listing-draft-notice h3,
.listing-draft-notice p {
  margin: 0;
}

.listing-draft-notice h3 {
  margin-top: 8px;
  font-size: 1.25rem;
  color: var(--ink);
}

.listing-draft-notice p {
  max-width: 720px;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.listing-draft-notice .secondary-button {
  width: auto;
  flex: 0 0 auto;
}

.listing-editor-hero,
.listing-editor-card,
.listing-live-preview {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.listing-editor-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
}

.listing-editor-hero h2,
.listing-editor-hero p,
.listing-editor-card h3,
.listing-editor-card p,
.listing-live-preview h3 {
  margin: 0;
}

.listing-editor-hero p,
.listing-editor-card p {
  color: var(--muted);
  line-height: 1.5;
}

.listing-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.listing-editor-main {
  display: grid;
  gap: 16px;
}

.listing-editor-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 24px);
}

.listing-wizard-head {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: clamp(16px, 3vw, 22px);
  box-shadow: var(--shadow-soft);
}

.listing-wizard-head > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.listing-wizard-head span {
  color: var(--brand-strong);
  font: 900 0.82rem/1 var(--font-ui);
}

.listing-wizard-head strong {
  color: var(--ink);
  font: 950 clamp(1.05rem, 2vw, 1.28rem)/1.15 var(--font-display);
}

.listing-wizard-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-strong);
}

.listing-wizard-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  transition: width 0.22s ease;
}

.listing-wizard-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.listing-wizard-stepper button {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  padding: 9px 10px;
  font: 850 0.82rem/1.18 var(--font-ui);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.listing-wizard-stepper button:hover,
.listing-wizard-stepper button:focus-visible {
  border-color: rgba(23, 139, 92, 0.34);
  background: var(--surface-strong);
  color: var(--brand-strong);
  outline: none;
  transform: translateY(-1px);
}

.listing-wizard-stepper button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font: 950 0.82rem/1 var(--font-display);
}

.listing-wizard-stepper button strong {
  color: inherit;
  font: 900 0.82rem/1.15 var(--font-ui);
}

.listing-wizard-stepper button.is-active {
  border-color: rgba(23, 139, 92, 0.42);
  background: var(--surface-strong);
  color: var(--brand-strong);
  box-shadow: 0 12px 26px rgba(23, 139, 92, 0.08);
}

.listing-wizard-section[hidden] {
  display: none !important;
}

.listing-photo-editor,
.availability-module,
.location-module,
.listing-final-review {
  display: grid;
  gap: 14px;
}

.photo-empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed rgba(23, 139, 92, 0.28);
  border-radius: 20px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  text-align: center;
  padding: 22px;
}

.photo-empty-state svg {
  width: 34px;
  height: 34px;
}

.photo-empty-state strong {
  color: var(--ink);
  font: 950 1rem/1.2 var(--font-display);
}

.photo-empty-state span,
.date-blocker-preview span,
.location-privacy-box span,
.location-privacy-box small {
  color: var(--muted);
  font-weight: 750;
}

.photo-upload-field input {
  padding: 13px;
}

.photo-upload-field input.visually-hidden {
  width: 1px;
  height: 1px;
  padding: 0;
}

.listing-photo-add {
  min-height: 82px;
  grid-auto-flow: column;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  padding: 14px 18px;
}

.listing-photo-add span {
  color: var(--brand-strong);
  font: 900 0.96rem/1.2 var(--font-display);
}

.listing-photo-add small {
  grid-column: 1 / -1;
  color: var(--muted);
  font: 750 0.82rem/1.35 var(--font-body);
}

.date-blocker-preview,
.location-privacy-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 18px;
  background: var(--surface-strong);
  padding: 14px 16px;
}

.date-blocker-preview svg,
.location-privacy-box svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand-strong);
}

.date-blocker-preview strong,
.location-privacy-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font: 900 0.95rem/1.2 var(--font-display);
}

.location-privacy-box small {
  display: block;
  margin-top: 5px;
  line-height: 1.45;
}

.availability-mode-field {
  grid-column: 1 / -1;
}

.availability-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.availability-mode-options button {
  min-height: 78px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.availability-mode-options button:hover,
.availability-mode-options button:focus-visible {
  border-color: rgba(23, 139, 92, 0.34);
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(23, 139, 92, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.availability-mode-options button.is-active {
  border-color: rgba(23, 139, 92, 0.42);
  background: var(--surface-strong);
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.08);
}

.availability-mode-options button strong {
  color: var(--ink);
  font: 950 0.98rem/1.2 var(--font-display);
}

.availability-mode-options button span {
  color: var(--muted);
  font: 760 0.84rem/1.35 var(--font-body);
}

.listing-location-map-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fcfa 0%, #eef8f2 100%);
  padding: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.listing-location-map-card.is-active {
  border-color: rgba(23, 139, 92, 0.30);
  box-shadow: 0 14px 34px rgba(23, 139, 92, 0.09);
}

.listing-location-map-art {
  position: relative;
  min-height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 28%, rgba(23, 139, 92, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #dff1e8 100%);
  color: var(--brand-strong);
}

.listing-location-map-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 139, 92, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 139, 92, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.75;
}

.listing-location-map-art svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
}

.listing-location-map-card .section-kicker {
  color: var(--brand-strong);
  font: 900 0.74rem/1.2 var(--font-ui);
  text-transform: uppercase;
}

.listing-location-map-card strong {
  display: block;
  margin: 5px 0;
  color: var(--ink);
  font: 950 1.06rem/1.25 var(--font-display);
}

.listing-location-map-card small {
  display: block;
  color: var(--muted);
  font: 760 0.9rem/1.45 var(--font-body);
}

.final-rules-field textarea {
  min-height: 130px;
}

.listing-editor-preview-summary {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
}

.listing-editor-preview-summary img {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  object-fit: cover;
}

.editor-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.editor-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 950;
}

.editor-field-grid,
.price-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dependent-editor-fields {
  margin-top: 12px;
}

.field.is-disabled {
  opacity: 0.62;
}

.field.is-disabled select,
.field.is-disabled input {
  background: #f4f7f2;
  color: #7f8d82;
  cursor: not-allowed;
}

.custom-brand-field.is-hidden,
.is-hidden {
  display: none !important;
}

.money-input {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.money-input *,
.money-input *::before,
.money-input *::after {
  box-sizing: border-box;
}

.money-input span {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(23, 139, 92, 0.14);
  background: var(--surface-strong);
  color: var(--brand-strong);
  font: 950 1.02rem/1 var(--font-display);
}

.money-input input {
  width: 100%;
  border: 0;
  min-height: 58px;
  min-width: 0;
  padding: 0 20px;
  background: transparent;
  color: var(--ink);
  font: 850 1.05rem/1.25 var(--font-ui);
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}

.money-input input::-webkit-outer-spin-button,
.money-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.money-input input:focus-visible {
  outline: none;
}

.money-input:focus-within {
  border-color: rgba(23, 139, 92, 0.48);
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.10);
}

.date-input-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.date-input-shell svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  color: var(--brand-strong);
}

.date-input-shell input {
  min-height: 54px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 18px 0 8px;
  font: 800 1rem/1.25 var(--font-ui);
}

.date-input-shell input:focus-visible {
  outline: none;
}

.date-input-shell:focus-within {
  border-color: rgba(23, 139, 92, 0.48);
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.10);
}

.money-field-label {
  position: relative;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.info-dot {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(23, 139, 92, 0.24);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  padding: 0;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.info-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: min(320px, 78vw);
  display: none;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.money-field-label:hover .info-popover,
.money-field-label:focus-within .info-popover {
  display: block;
}

.deposit-advice {
  display: grid;
  gap: 5px;
  grid-column: 1 / -1;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  padding: 13px 15px;
  margin-top: 2px;
}

.deposit-advice strong {
  color: var(--brand-strong);
  font-size: 0.9rem;
}

.deposit-advice-amount {
  color: var(--brand-strong) !important;
  font-size: 1.1rem !important;
  font-weight: 950 !important;
}

.deposit-advice span,
.deposit-advice small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.deposit-advice.warning {
  border-color: rgba(234, 88, 12, 0.26);
  background: #fff7ed;
  color: #c2410c;
}

.deposit-advice.warning strong,
.deposit-advice.warning small,
.deposit-advice.warning .deposit-advice-amount {
  color: #c2410c;
}

.deposit-advice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.deposit-advice-actions button {
  min-height: 38px;
  border: 1px solid rgba(23, 139, 92, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  padding: 8px 12px;
  font: 900 0.84rem/1 var(--font-ui);
  cursor: pointer;
}

.deposit-advice-actions button:first-child {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.deposit-advice-actions button:hover,
.deposit-advice-actions button:focus-visible {
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.10);
  outline: none;
}

.completion-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 20px;
  background: #f1fbf5;
  padding: 16px 18px;
}

.completion-card.needs-work {
  border-color: rgba(234, 88, 12, 0.32);
  background: #fff7ed;
}

.completion-card svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--brand-strong);
}

.completion-card.needs-work svg {
  color: #c2410c;
}

.completion-card h3,
.completion-card p {
  margin: 0;
}

.completion-card h3 {
  color: var(--ink);
  font: 950 1.15rem/1.2 var(--font-display);
}

.completion-card p {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.completion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.completion-list button {
  min-height: 38px;
  border: 1px solid rgba(234, 88, 12, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #9a3412;
  padding: 8px 12px;
  font: 850 0.86rem/1 var(--font-ui);
  cursor: pointer;
}

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

.final-review-block {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.final-review-block > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.final-review-block h4 {
  margin: 0;
  color: var(--ink);
  font: 950 0.98rem/1.2 var(--font-display);
}

.final-review-block button {
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  padding: 0;
  font: 900 0.84rem/1 var(--font-ui);
  cursor: pointer;
}

.final-review-block ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.final-review-block li {
  color: var(--muted);
  font: 750 0.88rem/1.35 var(--font-body);
}

.final-review-note {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.listing-wizard-actions {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(124px, 190px) 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(220, 231, 225, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 10px;
  box-shadow: 0 18px 42px rgba(22, 32, 51, 0.10);
  backdrop-filter: blur(14px);
}

.listing-wizard-actions > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.listing-wizard-actions .wizard-save-close {
  flex: 0 0 auto;
  width: auto;
  min-width: 124px;
  max-width: 190px;
  min-height: 44px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.listing-wizard-actions .wizard-next-button {
  flex: 0 0 min(440px, 48vw);
  min-width: 320px;
  min-height: 58px;
  padding-inline: 34px;
}

@media (max-width: 980px) {
  .listing-wizard-stepper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .listing-wizard-stepper::-webkit-scrollbar {
    display: none;
  }

  .listing-wizard-stepper button {
    min-width: 170px;
  }

  .final-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .listing-wizard-head > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .availability-mode-options,
  .listing-location-map-card {
    grid-template-columns: 1fr;
  }

  .listing-location-map-art {
    min-height: 86px;
  }

  .listing-wizard-actions {
    position: sticky;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .listing-wizard-actions > button,
  .listing-wizard-actions > div,
  .listing-wizard-actions button {
    width: 100%;
  }

  .listing-wizard-actions > div {
    justify-content: stretch;
  }

  .listing-wizard-actions .wizard-save-close,
  .listing-wizard-actions .wizard-next-button {
    min-width: 0;
    max-width: none;
  }

  .listing-wizard-actions .wizard-save-close {
    min-height: 42px;
  }
}

.listing-live-preview {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.preview-listing-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.preview-listing-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.preview-listing-card div {
  display: grid;
  gap: 4px;
}

.preview-listing-card span,
.preview-listing-card small {
  color: var(--muted);
  font-weight: 800;
}

.preview-price-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.preview-price-row strong {
  color: var(--brand-strong);
}

.listing-editor-page {
  display: grid;
  gap: 18px;
}

.editor-page-head {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-soft);
}

.editor-page-head h1 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.editor-page-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.listing-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: start;
}

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

.editor-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.editor-card h2 {
  margin: 0;
}

.field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.listing-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.edit-photo-tile,
.listing-photo-tile {
  position: relative;
  margin: 0;
  display: grid;
  gap: 6px;
}

.edit-photo-tile img,
.listing-photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
}

.edit-photo-tile figcaption,
.listing-photo-tile figcaption {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.edit-photo-add {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px dashed rgba(23, 139, 92, 0.32);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.edit-photo-add:hover,
.edit-photo-add:focus-visible {
  border-color: rgba(23, 139, 92, 0.56);
  background: #f0faf5;
  outline: none;
  transform: translateY(-1px);
}

.edit-photo-add svg {
  width: 22px;
  height: 22px;
}

.edit-photo-add.listing-photo-add {
  min-height: 132px;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  padding: 18px;
}

.edit-photo-add.listing-photo-add span {
  font: 900 1rem/1.2 var(--font-display);
}

.edit-photo-add.listing-photo-add small {
  max-width: 220px;
  color: var(--muted);
  font: 750 0.82rem/1.35 var(--font-body);
}

.listing-photo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 231, 225, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(22, 32, 51, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.listing-photo-remove:hover,
.listing-photo-remove:focus-visible {
  border-color: rgba(185, 28, 28, 0.28);
  color: #b91c1c;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .edit-photo-grid,
  .listing-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.listing-photo-remove svg {
  width: 17px;
  height: 17px;
}

.sticky-editor-actions {
  position: sticky;
  bottom: 96px;
  z-index: 4;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  backdrop-filter: blur(14px);
}

.listing-action-modal .modal-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.listing-publish-gate-modal {
  max-width: 560px;
}

.listing-publish-reason-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.listing-publish-reason-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 750;
}

.listing-publish-reason-list svg {
  color: var(--brand);
  flex: 0 0 auto;
}

.editor-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.listing-save-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 16px;
  background: #f1fbf5;
  color: var(--brand-strong);
  padding: 12px 14px;
  font: 850 0.9rem/1.35 var(--font-body);
}

.listing-save-notice svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.listing-save-notice.is-warning {
  border-color: rgba(234, 88, 12, 0.26);
  background: #fff7ed;
  color: #c2410c;
}

.listing-validation-summary {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  color: #c2410c;
  padding: 16px 18px;
}

.listing-validation-summary strong,
.listing-validation-summary p {
  margin: 0;
}

.listing-validation-summary strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a3412;
  font: 900 1rem/1.2 var(--font-display);
}

.listing-validation-summary strong svg {
  width: 20px;
  height: 20px;
}

.listing-validation-summary p {
  margin-top: 5px;
  color: #9a3412;
  font: 750 0.9rem/1.45 var(--font-body);
}

.listing-validation-summary ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-validation-summary button {
  min-height: 38px;
  border: 1px solid rgba(234, 88, 12, 0.26);
  border-radius: 999px;
  background: #fff;
  color: #9a3412;
  padding: 8px 12px;
  font: 850 0.86rem/1 var(--font-ui);
}

.listing-validation-summary button:hover,
.listing-validation-summary button:focus-visible {
  border-color: rgba(234, 88, 12, 0.46);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.10);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .money-input,
.field.has-error .date-input-shell,
.field.has-error .listing-location-map-card {
  border-color: rgba(220, 38, 38, 0.58);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.listing-photo-editor.has-error,
.edit-photo-grid.has-error {
  border: 1px solid rgba(220, 38, 38, 0.58);
  border-radius: 20px;
  background: #fff7f7;
  padding: 10px;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.field.has-error .money-input input,
.field.has-error .date-input-shell input {
  border: 0;
  box-shadow: none;
}

.field.has-error .money-input span,
.field.has-error .date-input-shell svg {
  border-color: rgba(220, 38, 38, 0.18);
  color: #b91c1c;
}

.listing-field-error {
  margin: 8px 0 0;
  color: #b91c1c !important;
  font: 800 0.86rem/1.35 var(--font-body);
}

.editor-action-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.primary-match {
  border-color: rgba(23, 139, 92, 0.22);
  box-shadow: 0 18px 44px rgba(23, 139, 92, 0.10);
}

.field label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.86rem;
  font-weight: 800;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.helper {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.search-page {
  display: grid;
  gap: 24px;
}

.search-sticky {
  position: sticky;
  top: 69px;
  z-index: 8;
  padding: 8px 0;
  background: linear-gradient(180deg, rgba(246, 251, 248, 0.98), rgba(246, 251, 248, 0.86));
  backdrop-filter: blur(18px);
}

.discovery-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.discovery-search > svg,
.location-pill svg,
.filter-button svg,
.map-fab svg,
.round-tool svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discovery-search > svg {
  color: var(--brand);
}

.discovery-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
}

.round-tool,
.location-pill,
.filter-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.05);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.round-tool {
  width: 44px;
  padding: 0;
}

.filter-button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.round-tool:hover,
.location-pill:hover,
.filter-button:hover,
.search-chip:hover,
.smart-card:hover,
.inspiration-card:hover,
.search-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(31, 41, 55, 0.11);
}

.compact-title {
  margin: 0 0 12px;
}

.compact-title h2 {
  font-size: 1.08rem;
}

.popular-searches,
.smart-recommendations,
.inspiration-section {
  display: grid;
  gap: 10px;
}

.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 2px 16px 10px;
}

.search-chip {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.smart-card,
.inspiration-card {
  position: relative;
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  color: #fff;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.smart-card::after,
.inspiration-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.06), rgba(31, 41, 55, 0.62));
}

.smart-card img,
.inspiration-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.smart-card:hover img,
.inspiration-card:hover img {
  transform: scale(1.035);
}

.smart-card span,
.smart-card strong,
.inspiration-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 1;
}

.smart-card span {
  top: 16px;
  font-size: 1.05rem;
  font-weight: 950;
}

.smart-card strong {
  bottom: 16px;
  line-height: 1.35;
}

.search-results {
  display: grid;
  gap: 20px;
}

.search-results.with-map {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: start;
}

.result-sections {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.search-result-section {
  min-width: 0;
}

.search-product-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  padding: 0;
  text-align: left;
  color: inherit;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(10px);
  animation: cardIn 420ms ease forwards;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.search-product-photo {
  position: relative;
  overflow: hidden;
}

.search-product-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.search-product-card:hover .search-product-photo img {
  transform: scale(1.035);
}

.search-product-content {
  padding: 15px;
}

.search-product-card h3 {
  margin: 10px 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.search-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.search-card-badges span {
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-size: 0.74rem;
  font-weight: 900;
}

.search-owner-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.search-owner-row div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.search-owner-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.search-price {
  color: var(--brand-strong);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero {
  position: relative;
  display: grid;
  gap: 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.coming-soon-page {
  min-height: calc(100vh - 88px);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(34px, 7vw, 86px) clamp(16px, 5vw, 48px);
  background:
    radial-gradient(circle at 20% 10%, rgba(23, 139, 92, 0.12), transparent 34%),
    linear-gradient(135deg, #f3fbf6 0%, #ffffff 55%, #eef8f1 100%);
}

.coming-soon-hero {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.coming-soon-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.coming-soon-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  font-weight: 700;
}

.coming-soon-actions {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.coming-soon-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coming-soon-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(23, 139, 92, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.coming-soon-grid span {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.coming-soon-grid svg {
  width: 21px;
  height: 21px;
}

.coming-soon-grid h2,
.coming-soon-grid p {
  margin: 0;
}

.coming-soon-grid h2 {
  font-size: 1.15rem;
}

.coming-soon-grid p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}

.home-hero > img {
  width: 100%;
  height: clamp(300px, 48vw, 520px);
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.62) 0%, rgba(17, 24, 39, 0.32) 44%, rgba(17, 24, 39, 0.04) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  max-width: 620px;
  color: #fff;
  z-index: 1;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 850;
  border: 1px solid rgba(232, 239, 234, 0.9);
  box-shadow: var(--shadow-soft);
}

.trust-pill svg,
.section-kicker svg,
.hero-search-field svg,
.product-topline svg,
.product-meta svg,
.favorite-button svg,
.verified-float svg,
.why-icon svg,
.impact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy h2 {
  margin: 16px 0 10px;
  max-width: 610px;
  color: #fff;
  font-size: clamp(2.1rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
  font-weight: 650;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.hero-search-box {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr auto;
  gap: 10px;
  align-items: end;
  margin: -58px 18px 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-search-field {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

button.hero-search-field {
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.hero-search-field label,
.hero-search-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.hero-search-field strong {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-search-field input {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
}

.hero-search-field svg {
  grid-row: span 2;
  color: var(--brand);
}

.hero-search-button {
  min-width: 112px;
}

.location-modal {
  width: min(100%, 900px);
  max-height: min(92vh, 780px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.date-modal {
  width: min(100%, 920px);
  max-height: min(92vh, 820px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.date-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.date-modal-head h2,
.date-modal-head p {
  margin: 0;
}

.date-modal-head p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.date-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: 18px;
}

.date-choice-card,
.date-calendar-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  padding: 18px;
}

.date-choice-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.date-quick-options {
  display: grid;
  gap: 11px;
}

.date-quick-option {
  min-height: 62px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.date-quick-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.date-quick-option strong {
  font-size: 0.95rem;
}

.date-quick-option span {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.35;
}

.date-quick-option.is-active {
  border-color: rgba(23, 139, 92, 0.28);
  background: rgba(23, 139, 92, 0.10);
  color: var(--brand-strong);
}

.date-clear-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 2px 4px;
  font-size: 0.86rem;
  font-weight: 850;
}

.date-clear-button:hover {
  color: var(--brand-strong);
}

.date-clear-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.date-summary-card {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 18px;
  background: #fff;
  padding: 12px 13px;
}

.date-summary-card span,
.date-calendar-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.date-summary-card strong {
  color: var(--brand-strong);
  font-size: 1rem;
}

.date-summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.date-calendar-card {
  background: #fff;
}

.date-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.date-calendar-head > div {
  display: grid;
  gap: 3px;
  text-align: center;
}

.date-calendar-head strong {
  text-transform: capitalize;
}

.date-weekdays,
.date-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-weekdays {
  gap: 8px;
  margin-bottom: 8px;
}

.date-weekdays span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-align: center;
}

.date-days {
  gap: 7px;
}

.date-day {
  position: relative;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.date-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.2);
  background: rgba(23, 139, 92, 0.08);
}

.date-day:disabled {
  cursor: not-allowed;
  color: #c8d2cc;
  background: #f7faf8;
}

.date-day.is-outside {
  color: #a8b4ad;
}

.date-day.is-today {
  border-color: rgba(23, 139, 92, 0.22);
}

.date-day.is-in-range {
  border-color: rgba(23, 139, 92, 0.1);
  background: rgba(23, 139, 92, 0.12);
  color: var(--brand-strong);
}

.date-day.is-start,
.date-day.is-end {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 139, 92, 0.18);
}

.date-calendar-foot {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  padding: 14px;
}

.date-calendar-foot strong {
  color: var(--brand-strong);
}

.date-calendar-foot span {
  color: var(--muted);
  font-size: 0.86rem;
}

.location-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.location-modal-head h2,
.location-modal-head p {
  margin: 0;
}

.location-modal-head p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

.location-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1.12fr);
  gap: 18px;
}

.location-form-card,
.location-map-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  padding: 18px;
}

.location-form-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.location-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 850;
}

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

.radius-option {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.radius-option.is-active {
  border-color: rgba(23, 139, 92, 0.28);
  background: rgba(23, 139, 92, 0.10);
  color: var(--brand-strong);
}

.current-location-button {
  justify-content: center;
}

.location-helper {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--brand-strong);
  font-weight: 850;
}

.nl-map {
  display: grid;
  gap: 12px;
}

.map-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.map-card-title span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.map-card-title strong {
  color: var(--brand-strong);
  padding: 5px 10px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 999px;
  background: #fff;
}

.osm-map-shell {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #edf5f1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.leaflet-location-map {
  width: 100%;
  height: 390px;
  background: #edf5f1;
}

.leaflet-location-map .leaflet-tile-pane {
  filter: saturate(0.58) contrast(0.92) brightness(1.08);
}

.leaflet-location-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(232, 239, 234, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.10);
}

.leaflet-location-map .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--brand-strong);
  font-size: 18px;
  line-height: 32px;
}

.huurgoo-marker-icon {
  background: transparent;
  border: 0;
}

.huurgoo-map-pin {
  position: relative;
  width: 34px;
  height: 42px;
  display: grid;
  place-items: start center;
  filter: drop-shadow(0 8px 12px rgba(15, 110, 73, 0.26));
}

.huurgoo-map-pin::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--brand);
  transform: rotate(-45deg);
}

.huurgoo-map-pin span {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  margin-top: 12px;
  border-radius: 50%;
  background: #fff;
}

.huurgoo-map-tooltip {
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

.huurgoo-map-tooltip::before {
  display: none;
}

.osm-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.compact-map-attribution {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 500;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 750;
  pointer-events: none;
}

.map-load-error {
  min-height: 390px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

.osm-radius-circle {
  position: absolute;
  border: 1.5px solid rgba(23, 139, 92, 0.46);
  border-radius: 50%;
  background: rgba(23, 139, 92, 0.11);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.osm-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -100%);
  z-index: 3;
  filter: drop-shadow(0 8px 12px rgba(15, 110, 73, 0.24));
}

.osm-marker::before {
  content: "";
  position: absolute;
  inset: 2px 5px 6px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand);
  transform: rotate(-45deg);
  border: 3px solid #fff;
}

.osm-marker span {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.osm-location-label {
  position: absolute;
  max-width: 140px;
  padding: 6px 9px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
  z-index: 4;
  transform: translate(16px, -56px);
  white-space: nowrap;
}

.nationwide-map-highlight {
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(23, 139, 92, 0.32);
  border-radius: 22px;
  background: rgba(23, 139, 92, 0.08);
}

.map-caption {
  padding: 12px 14px;
  border: 1px solid rgba(23, 139, 92, 0.14);
  border-radius: 16px;
  background: #fff;
  display: grid;
  gap: 4px;
  text-align: left;
}

.map-caption span {
  color: var(--muted);
  font-weight: 800;
}

.home-section {
  margin-top: 30px;
}

.test-center {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

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

.test-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 14px;
}

.test-card h3,
.test-card p {
  margin: 0;
}

.test-card p {
  color: var(--muted);
  font-weight: 750;
}

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

.premium-title {
  align-items: end;
  margin: 0 0 14px;
}

.section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.category-scroll,
.horizontal-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 2px 16px 12px;
}

.premium-category {
  min-height: 108px;
  scroll-snap-align: start;
}

.premium-category svg {
  width: 30px;
  height: 30px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.horizontal-cards {
  grid-auto-columns: minmax(270px, 340px);
}

.recommendation-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 420px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 2px 16px 14px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  padding: 0;
  text-align: left;
  color: inherit;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-photo {
  position: relative;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.035);
}

.favorite-button,
.verified-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(232, 239, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-strong);
  box-shadow: var(--shadow-soft);
}

.favorite-button {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.favorite-button.compact {
  width: 38px;
  height: 38px;
}

.verified-float {
  left: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.product-content {
  padding: 15px;
}

.product-topline,
.product-meta,
.product-footer,
.listing-owner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-topline,
.product-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-topline span,
.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-topline svg {
  width: 15px;
  height: 15px;
  color: #e2a800;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-footer {
  margin-top: 13px;
}

.product-footer strong {
  color: var(--brand-strong);
  font-size: 1.02rem;
}

.owner-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.owner-proof span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 900;
}

.owner-proof svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.owner-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.12);
}

.host-card,
.how-card,
.impact-card {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.host-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.host-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.host-card > div {
  padding: clamp(22px, 5vw, 48px);
  align-self: center;
}

.host-card h2,
.how-card h2,
.impact-card h2 {
  margin: 4px 0 12px;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.host-card .primary-button {
  margin-top: 16px;
  width: auto;
  min-width: 230px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 850;
}

.benefit-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.owner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.owner-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.owner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(31, 41, 55, 0.11);
}

.owner-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.owner-card-photo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
}

.owner-card h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.owner-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 14px;
  color: #e2a800;
  font-weight: 900;
}

.owner-rating svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
}

.owner-rating strong {
  margin-left: 5px;
  color: var(--ink);
}

.owner-card p {
  min-height: 58px;
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.5;
}

.owner-stats {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.owner-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.owner-stats svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-icon,
.impact-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--brand);
}

.why-card h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.how-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: clamp(20px, 5vw, 42px);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.flow-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font-weight: 850;
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  bottom: -13px;
  width: 2px;
  height: 13px;
  background: var(--line);
}

.flow-list span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.premium-timeline span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.premium-timeline span svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}

.premium-timeline strong {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-strong);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.impact-card {
  padding: clamp(22px, 5vw, 44px);
  background: linear-gradient(180deg, #fff 0%, var(--surface-strong) 100%);
}

.impact-card p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.impact-stats strong {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--brand-strong);
  font-size: clamp(1.35rem, 4vw, 2.25rem);
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.impact-stats em {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--brand);
  font-style: normal;
}

.impact-stats em svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
}

.impact-stats .counter {
  color: var(--brand-strong);
}

.impact-stats small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 750;
}

.home-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 34px 0 8px;
}

.professional-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  justify-content: stretch;
  gap: 20px;
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.footer-column {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-column h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.footer-column .link-button {
  color: var(--muted);
  font-weight: 750;
  padding: 2px 0;
  text-align: left;
}

.verification-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.step {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
}

.step.done {
  border-color: rgba(23, 139, 92, 0.18);
  background: var(--surface-strong);
}

.step span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--brand-strong);
  font-weight: 900;
}

.step.done span:first-child {
  background: var(--brand);
  color: #fff;
}

.step div {
  display: grid;
  gap: 2px;
}

.step small {
  color: var(--muted);
  font-weight: 750;
}

.verification-status-card {
  display: grid;
  gap: 12px;
}

.verification-flow-card {
  gap: 18px;
}

.verification-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 4px;
}

.verification-flow-head h2,
.verification-flow-head p {
  margin: 0;
}

.verification-flow-head p {
  margin-top: 6px;
  max-width: 640px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.verification-stepper {
  display: grid;
  gap: 10px;
}

.verification-step-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.verification-step-row.done {
  border-color: rgba(23, 139, 92, 0.22);
  background: linear-gradient(180deg, #fff, #f5fbf7);
}

.verification-step-row.active {
  border-color: rgba(37, 99, 235, 0.2);
  background: #f8fbff;
}

.verification-step-row.waiting {
  border-color: rgba(217, 119, 6, 0.22);
  background: #fffaf0;
}

.verification-step-row.error {
  border-color: rgba(220, 38, 38, 0.2);
  background: #fff7f7;
}

.verification-step-row.locked,
.verification-step-row.todo {
  background: var(--surface-strong);
}

.verification-step-row.is-clickable {
  cursor: pointer;
}

.verification-step-row.is-clickable:hover,
.verification-step-row.is-clickable:focus-visible {
  border-color: rgba(23, 139, 92, 0.38);
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
  outline: none;
}

.verification-step-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-strong);
  color: var(--brand-strong);
}

.verification-step-row.done .verification-step-icon {
  background: var(--brand);
  color: #fff;
}

.verification-step-row.active .verification-step-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.verification-step-row.waiting .verification-step-icon {
  background: #fef3c7;
  color: #b45309;
}

.verification-step-row.error .verification-step-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.verification-step-copy {
  display: grid;
  gap: 8px;
}

.verification-step-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.verification-step-copy h3,
.verification-step-copy p {
  margin: 0;
}

.verification-step-copy small {
  color: var(--muted);
  font-weight: 850;
  text-align: right;
}

.verification-step-copy p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.auth-required-card {
  gap: 14px;
}

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

.auth-action-grid.compact {
  margin-top: 8px;
}

.auth-action-grid.compact .primary-button,
.auth-action-grid.compact .secondary-button {
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.phone-verification-modal {
  width: min(100%, 480px);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-verification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.phone-verification-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font: 850 1.55rem/1.1 var(--font-display);
}

.phone-verification-form {
  display: grid;
  gap: 11px;
}

.phone-verification-form p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.phone-verification-form label {
  color: var(--ink);
  font-weight: 850;
}

.phone-verification-form input,
.phone-verification-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font: 750 1rem/1 var(--font-display);
}

.phone-verification-form input:focus,
.phone-verification-form select:focus {
  border-color: rgba(23, 139, 92, 0.55);
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.11);
  outline: none;
}

.phone-consent {
  padding: 12px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 14px;
  background: #f4fbf7;
  font-size: 0.9rem;
}

.phone-otp-input {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  letter-spacing: 0.08em;
  caret-color: var(--primary);
  font-size: 1.22rem !important;
  font-variant-numeric: tabular-nums;
}

.phone-otp-input::placeholder {
  color: #8a94a6;
  letter-spacing: 0;
  font-size: 1rem;
}

.phone-code-help {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.verification-form-error {
  padding: 11px 12px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 14px;
  background: #fff7f7;
  color: #9f1239 !important;
}

.modal-actions.stacked {
  display: grid;
  grid-template-columns: 1fr;
}

.phone-change-button {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(23, 139, 92, 0.18);
  border-radius: 16px;
  background: #f8fcfa;
  color: var(--primary-dark, #075c3b);
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 0.98rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.phone-change-button:hover {
  border-color: rgba(23, 139, 92, 0.34);
  background: #eef8f2;
}

.phone-change-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(23, 139, 92, 0.12);
}

.phone-change-button:active {
  transform: translateY(1px);
}

.auth-page-shell {
  min-height: min(640px, calc(100vh - 150px));
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 34px);
}

.auth-card h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.auth-form input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-weight: 750;
}

.auth-form .auth-checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-form .auth-checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.auth-forgot-link {
  justify-self: center;
}

.email-action-page {
  min-height: min(720px, calc(100vh - 150px));
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 16px;
}

.email-action-card {
  width: min(540px, 100%);
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 35, 31, 0.08);
  padding: clamp(24px, 5vw, 40px);
}

.email-action-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.email-action-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 650;
}

.email-action-card strong {
  color: var(--ink);
}

.email-action-icon,
.email-action-spinner {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.email-action-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.3;
}

.email-action-icon.success {
  background: #e7f7ee;
}

.email-action-icon.error {
  background: #fff1f1;
  color: #b42318;
}

.email-action-spinner {
  border: 3px solid #dce7e1;
  border-top-color: var(--brand);
  animation: email-action-spin 0.9s linear infinite;
}

@keyframes email-action-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-action-spinner {
    animation: none;
  }
}

.email-action-muted,
.email-action-help {
  font-size: 0.94rem !important;
}

.email-action-password-field {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  overflow: hidden;
}

.email-action-password-field input {
  min-height: 50px;
  border: 0;
  background: transparent;
}

.email-action-password-field button {
  min-height: 44px;
  margin-right: 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brand);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0 12px;
}

.email-action-error,
.email-action-notice {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.94rem !important;
}

.email-action-error {
  border: 1px solid rgba(180, 35, 24, 0.18);
  background: #fff7f7;
  color: #9f1239 !important;
}

.email-action-notice {
  border: 1px solid rgba(8, 114, 67, 0.14);
  background: #f3fbf6;
  color: var(--brand-strong) !important;
}

.email-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.email-action-buttons .primary-button,
.email-action-buttons .secondary-button,
.email-action-form .primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 0 18px;
  text-decoration: none;
}

.email-action-buttons .primary-button {
  flex: 1 1 220px;
}

.email-action-buttons .secondary-button {
  flex: 1 1 160px;
}

.auth-switch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 750;
}

.kyc-debug-panel {
  display: none;
  gap: 4px;
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 14px;
  background: #f3fbf6;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}

.kyc-debug-panel.is-active {
  display: grid;
}

.kyc-debug-panel.is-error {
  border-color: rgba(234, 88, 12, 0.28);
  background: #fff7ed;
}

.kyc-debug-panel strong {
  font-size: 12px;
}

.kyc-debug-panel span {
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.kyc-debug-panel .debug-json {
  margin: 6px 0 0;
  padding: 10px;
  max-height: 220px;
  overflow: auto;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.verification-info-box {
  border: 1px solid rgba(23, 139, 92, 0.16);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 12px;
}

.verification-info-box.success {
  border-color: rgba(23, 139, 92, 0.22);
  background: #f1fbf5;
}

.verification-info-box h3 {
  margin: 0 0 4px;
}

.verification-info-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.verification-info-box.warning {
  border-color: rgba(234, 88, 12, 0.26);
  background: #fff7ed;
}

.admin-verification-list {
  display: grid;
  gap: 14px;
}

.admin-verification-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.admin-verification-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.admin-verification-head img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
}

.admin-verification-head h3,
.admin-verification-head p {
  margin: 0;
}

.admin-verification-head p {
  color: var(--muted);
  font-weight: 750;
}

.chat-preview {
  display: grid;
  gap: 4px;
}

.message-bubble {
  max-width: 86%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface-strong);
}

.message-bubble.mine {
  margin-left: auto;
  background: #e7f0fb;
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cbd7cf;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  padding: 24px;
}

.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(31, 41, 55, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.filter-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.account-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  justify-content: flex-end;
  background: rgba(31, 41, 55, 0.22);
  backdrop-filter: blur(8px);
}

.account-panel {
  width: min(100%, 460px);
  height: 100%;
  overflow-y: auto;
  padding: 18px;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 44px rgba(31, 41, 55, 0.13);
  animation: panelIn 220ms ease;
}

@keyframes panelIn {
  from { transform: translateX(18px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.account-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.account-panel-head h2 {
  margin: 4px 0 0;
}

.account-mini-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-mini-profile img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
}

.account-mini-profile div {
  display: grid;
  gap: 5px;
}

.account-mini-profile span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.account-mini-profile svg,
.settings-row svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-sections {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.settings-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.settings-section h3 {
  margin: 0;
  padding: 14px 16px 8px;
  font-size: 1rem;
}

.settings-row {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 11px 16px;
  text-align: left;
  font-weight: 750;
}

.settings-row span {
  min-width: 0;
}

.settings-row svg {
  color: var(--muted);
}

.settings-row strong {
  color: var(--brand-strong);
  font-size: 0.84rem;
}

.action-row {
  background: var(--surface-strong);
}

.modal-backdrop {
  z-index: 55;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.vacation-modal {
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.vacation-modal p {
  color: var(--muted);
  line-height: 1.6;
}

.settings-sticky-head {
  position: sticky;
  top: -18px;
  z-index: 3;
  margin: -18px -18px 14px;
  padding: 18px;
  background: rgba(246, 251, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.settings-sticky-head p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.settings-card-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 82px;
}

.settings-card,
.settings-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.settings-category-card {
  width: 100%;
  color: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.settings-category-card:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 139, 92, 0.22);
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
}

.settings-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.settings-card-head > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--brand);
}

.settings-card-head svg,
.toggle-switch,
.settings-save {
  transition: all 180ms ease;
}

.settings-card-head h3,
.settings-card-head p {
  margin: 0;
}

.settings-card-head p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.86rem;
}

.settings-card-items {
  border-top: 1px solid var(--line);
}

.settings-detail-card {
  margin-top: 12px;
}

.settings-back-row {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  font-weight: 900;
}

.settings-back-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  transform: rotate(180deg);
}

.settings-detail-card .settings-card-head {
  grid-template-columns: auto 1fr;
  padding: 16px;
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #d1d5db;
  flex: 0 0 auto;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(31, 41, 55, 0.16);
  transition: transform 180ms ease;
}

.toggle-switch.on {
  background: var(--brand);
}

.toggle-switch.on::after {
  transform: translateX(18px);
}

.settings-save {
  position: sticky;
  bottom: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.settings-save.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.filter-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100%, 760px);
  max-height: min(88vh, 780px);
  overflow: auto;
  transform: translateX(-50%) translateY(105%);
  border: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(22px);
  box-shadow: 0 -26px 70px rgba(31, 41, 55, 0.18);
  padding: 10px 18px 22px;
  transition: transform 260ms ease;
}

.filter-sheet.open {
  transform: translateX(-50%) translateY(0);
}

.sheet-handle {
  width: 46px;
  height: 5px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: #d4ddd7;
}

.sheet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sheet-title h2 {
  margin: 0;
  font-size: 1.55rem;
}

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

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

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font-weight: 850;
}

.toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.map-fab {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2 + 18px));
  bottom: 92px;
  z-index: 18;
  min-height: 50px;
  border: 1px solid rgba(232, 239, 234, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-weight: 950;
  box-shadow: var(--shadow);
}

.map-panel {
  position: sticky;
  top: 150px;
  height: calc(100vh - 190px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #edf3ef;
  box-shadow: var(--shadow);
}

.map-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.75) 49%, rgba(255, 255, 255, 0.75) 51%, transparent 52%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.7) 47%, rgba(255, 255, 255, 0.7) 49%, transparent 50%),
    #e9f1eb;
}

.map-river,
.map-road {
  position: absolute;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.map-river {
  left: -30%;
  top: 34%;
  width: 160%;
  height: 54px;
  background: rgba(126, 184, 213, 0.5);
}

.map-road {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(196, 207, 200, 0.8);
}

.road-one {
  left: -16%;
  top: 18%;
  width: 140%;
  height: 22px;
}

.road-two {
  right: -28%;
  top: 62%;
  width: 150%;
  height: 20px;
  transform: rotate(18deg);
}

.price-marker {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 8px 11px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(23, 139, 92, 0.26);
}

.marker-1 { left: 18%; top: 24%; }
.marker-2 { left: 58%; top: 18%; }
.marker-3 { left: 43%; top: 38%; }
.marker-4 { left: 72%; top: 48%; }
.marker-5 { left: 24%; top: 58%; }
.marker-6 { left: 52%; top: 68%; }
.marker-7 { left: 13%; top: 76%; }
.marker-8 { left: 77%; top: 78%; }

.search-empty {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-empty h2 {
  margin: 0;
}

.search-empty p {
  margin: 0;
  color: var(--muted);
}

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

.inspiration-card {
  min-height: 240px;
}

.inspiration-card div {
  bottom: 16px;
}

.inspiration-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.inspiration-card p {
  margin: 0;
  line-height: 1.45;
  font-weight: 750;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 680px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  margin-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 239, 234, 0.82);
  border-radius: 24px;
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 54px rgba(31, 41, 55, 0.16);
}

.nav-item {
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-item.is-active {
  color: var(--brand-strong);
  background: var(--surface-strong);
}

.nav-add {
  background: var(--brand);
  color: #fff;
}

.nav-add.is-active {
  background: var(--brand-strong);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%) translateY(14px);
  width: min(calc(100% - 32px), 420px);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 13px 14px;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
  z-index: 40;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 720px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 24px;
    overflow: hidden;
  }

  .bottom-nav {
    border-radius: 18px 18px 0 0;
  }

  .chat-safety-notice {
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .hero-search-box,
  .host-card,
  .how-card,
  .why-grid,
  .impact-stats,
  .professional-footer,
  .smart-grid,
  .filter-sheet-grid,
  .toggle-grid,
  .inspiration-grid,
  .search-results.with-map,
  .create-option-grid,
  .ai-upload-card,
  .ai-workflow-card,
  .ai-analysis-grid,
  .ai-result-layout,
  .ai-match-layout,
  .detail-layout,
  .detail-hero-card,
  .owner-detail-card,
  .trust-detail-card,
  .dashboard-hero,
  .dashboard-two-col,
  .trust-step-grid,
  .problem-grid,
  .claim-layout,
  .support-context-grid,
  .evidence-grid,
  .messages-shell,
  .listing-editor-layout {
    grid-template-columns: 1fr;
  }

  .chat-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .chat-header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .chat-header-actions button {
    flex: 1;
  }

  .chat-booking-bar {
    grid-template-columns: 1fr;
  }

  .flow-head,
  .admin-claim-table article {
    grid-template-columns: 1fr;
  }

  .dashboard-stats,
  .impact-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-booking-card {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 720px;
  }

  .detail-hero-card,
  .owner-detail-card,
  .trust-detail-card {
    display: grid;
  }

  .booking-sidebar {
    position: relative;
    top: auto;
  }

  .owner-profile-button {
    width: 100%;
    min-width: 0;
  }

  .clean-badge-row {
    justify-content: flex-start;
    max-width: none;
  }

  .hero-search-box {
    margin: -38px 12px 12px;
  }

  .hero-copy {
    left: 16px;
    right: 16px;
  }

  .hero-copy p {
    max-width: 330px;
  }

  .host-card img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .host-card .primary-button {
    width: 100%;
    min-width: 0;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .create-option-card {
    min-height: auto;
  }

  .ai-upload-actions {
    justify-content: stretch;
  }

  .ai-upload-actions label {
    flex: 1;
  }

  .ai-upload-actions button {
    width: 100%;
  }

  .ai-match-layout .ai-manual-actions {
    justify-content: stretch;
  }

  .ai-match-layout .ai-manual-actions button {
    width: 100%;
  }

  .search-sticky {
    top: 61px;
  }

  .discovery-search {
    grid-template-columns: 22px minmax(0, 1fr) auto auto;
  }

  .location-pill {
    display: none;
  }

  .map-panel {
    position: relative;
    top: auto;
    height: 420px;
    min-height: 420px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .topbar {
    grid-template-columns: auto minmax(96px, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .logo-button {
    font-size: 0.95rem;
  }

  .top-actions {
    gap: 6px;
  }

  #notificationButton {
    display: none;
  }

  .icon-button,
  .avatar-button {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .nav-search {
    height: 40px;
    padding: 0 10px;
  }

  .nav-search input {
    font-size: 0.82rem;
  }

  #app {
    padding: 14px 12px 138px;
  }

  .home-hero {
    border-radius: 20px;
  }

  .home-hero > img {
    height: 460px;
  }

  .hero-copy h2 {
    font-size: 2.45rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .trust-pill {
    font-size: 0.76rem;
  }

  .category-scroll,
  .horizontal-cards,
  .recommendation-rail,
  .chip-row {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-product-grid,
  .listing-list {
    grid-template-columns: 1fr;
  }

  .test-center-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-cards {
    grid-auto-columns: minmax(276px, 84vw);
  }

  .recommendation-rail {
    grid-auto-columns: minmax(292px, 88vw);
  }

  .discovery-search {
    min-height: 58px;
    grid-template-columns: 20px minmax(0, 1fr) 40px 44px;
    gap: 6px;
    padding: 7px 8px 7px 13px;
    border-radius: 20px;
  }

  .discovery-search input {
    font-size: 0.92rem;
  }

  .filter-button {
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .filter-button svg {
    margin: 0;
  }

  .round-tool {
    width: 40px;
    min-height: 40px;
  }

  .filter-sheet {
    padding: 10px 14px 20px;
    border-radius: 24px 24px 0 0;
  }

  .smart-card {
    min-height: 190px;
  }

  .inspiration-card {
    min-height: 210px;
  }

  .map-fab {
    right: 16px;
    bottom: 98px;
  }

  .professional-footer {
    padding: 20px;
  }

  .dashboard-stats,
  .impact-mini-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-slider {
    grid-auto-columns: minmax(278px, 86vw);
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dashboard-user-card {
    grid-template-columns: 1fr;
  }

  .dashboard-avatar {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  .ai-match-card {
    grid-template-columns: 1fr;
  }

  .ai-match-card img {
    min-height: 190px;
  }

  .ai-upload-preview,
  .match-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-hints-card .primary-button,
  .ai-match-actions .primary-button,
  .ai-match-actions .secondary-button {
    width: 100%;
  }

  .account-panel {
    width: 100%;
    border-left: 0;
    padding: 14px;
  }

  .settings-sticky-head {
    top: -14px;
    margin: -14px -14px 14px;
    padding: 14px;
  }

  .messages-shell {
    min-height: auto;
  }

  .inbox-panel,
  .chat-panel {
    border-radius: 20px;
  }

  .messages-shell:not(.mobile-chat-open) .chat-panel {
    display: none;
  }

  .messages-shell.mobile-chat-open .inbox-panel {
    display: none;
  }

  .messages-shell.mobile-chat-open {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    bottom: 104px;
    z-index: 18;
    padding-bottom: 0;
  }

  .messages-shell.mobile-chat-open .chat-panel {
    height: 100%;
    min-height: 0;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .chat-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
  }

  .chat-back-button {
    display: grid;
    width: 38px;
    height: 38px;
  }

  .chat-back-button svg {
    transform: rotate(180deg);
  }

  .chat-person {
    min-width: 0;
  }

  .chat-header-actions {
    display: flex;
    grid-column: auto;
    align-items: center;
  }

  .chat-header-actions .primary-button {
    display: none;
  }

  .chat-product-mini {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 52px;
    padding: 7px;
  }

  .chat-product-mini img {
    width: 40px;
    height: 40px;
  }

  .booking-summary-compact .compact-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .premium-message {
    max-width: 88%;
  }

  .chat-composer {
    grid-template-columns: 40px 40px 1fr 40px;
    padding-bottom: 26px;
  }

  .quick-replies-shell {
    padding: 0;
  }

  .booking-details-sheet {
    position: absolute;
    inset: auto 10px 86px 10px;
    width: auto;
    max-height: min(66vh, 560px);
    border-radius: 20px;
  }

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

  .ai-upload-card,
  .ai-loading-card {
    border-radius: 20px;
    padding: 18px;
  }

  .ai-upload-dropzone {
    min-height: 220px;
  }

  .ai-upload-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-cover-field {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    width: calc(100% - 20px);
  }

  .main-photo-button {
    border-radius: 22px;
  }

  .main-photo-button img {
    height: 330px;
  }

  .main-photo-button span {
    right: 12px;
    bottom: 12px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .thumbnail-strip {
    grid-auto-columns: 104px;
  }

  .detail-hero-card,
  .owner-detail-card,
  .premium-detail-panel,
  .trust-detail-card,
  .booking-card-sticky {
    border-radius: 20px;
  }

  .owner-large-photo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  .included-grid,
  .spec-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .owner-icon-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .booking-date-row {
    grid-template-columns: 1fr;
  }

  .calendar-selection-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .premium-calendar {
    padding: 10px;
  }

  .calendar-days,
  .calendar-weekdays {
    gap: 5px;
  }

  .calendar-day {
    min-height: 42px;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .fullscreen-gallery {
    padding: 14px;
  }

  .fullscreen-gallery-inner > img {
    max-height: 62vh;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell > .admin-hero,
  .admin-shell > .admin-toolbar,
  .admin-shell > .admin-tabs,
  .admin-shell > .admin-tabs ~ * {
    grid-column: 1;
  }

  .admin-shell > .admin-tabs {
    grid-row: auto;
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

  .admin-tabs button {
    width: auto;
    text-align: center;
  }

  .coming-soon-page {
    min-height: calc(100vh - 74px);
    padding: 28px 14px;
  }

  .coming-soon-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .coming-soon-actions,
  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .public-profile-backdrop {
    align-items: flex-end;
  }

  .public-profile-panel {
    width: 100%;
    height: min(92vh, 760px);
    border-left: 0;
    border-radius: 26px 26px 0 0;
  }

  .public-profile-hero,
  .public-trust-grid,
  .public-trust-grid.strong,
  .public-listing-grid.full,
  .booking-detail-hero-card,
  .booking-detail-grid {
    grid-template-columns: 1fr;
  }

  .public-profile-hero.full-page,
  .booking-detail-hero-card {
    padding: 16px;
    border-radius: 22px;
  }

  .public-listing-grid.full .public-listing-card img {
    height: 190px;
  }

  .booking-detail-head {
    align-items: start;
  }

  .public-profile-photo {
    width: 84px;
    height: 84px;
  }

  .public-listing-card {
    grid-template-columns: 74px 1fr;
  }

  .public-listing-card img {
    width: 74px;
    height: 64px;
  }
}

/* Final responsive guardrails for the Huurgoo redesign. */
@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .bottom-nav {
    display: grid;
  }
}

/* Final homepage rebuild v2: source-of-truth styles based on the selected Huurgoo reference. */
:root {
  --hg-green: #067a46;
  --hg-green-dark: #034f32;
  --hg-green-soft: #edf8f2;
  --hg-ink: #172033;
  --hg-muted: #667386;
  --hg-line: #e2ebe5;
  --hg-bg: #fbfdfb;
  --hg-card: #ffffff;
  --hg-radius-lg: 26px;
  --hg-radius-md: 18px;
  --hg-shadow: 0 18px 54px rgba(31, 41, 55, 0.10);
  --hg-soft-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

body {
  background: var(--hg-bg);
  color: var(--hg-ink);
}

.app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(430px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--hg-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand-cluster {
  min-width: 0;
}

#backButton {
  display: none;
}

.logo-button {
  color: var(--hg-green);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.desktop-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-width: 0;
}

.desktop-main-nav button,
.location-nav-button,
.top-action-link {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hg-ink);
  padding: 0;
  font-size: 0.94rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-main-nav button:hover,
.location-nav-button:hover,
.top-action-link:hover {
  color: var(--hg-green-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  white-space: nowrap;
}

.location-nav-button,
.top-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.location-nav-button {
  color: var(--hg-green-dark);
  font-weight: 900;
}

.location-nav-button svg,
.top-action-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-login-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
}

.avatar-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hg-line);
  border-radius: 999px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.is-public-visitor .top-action-link,
.is-public-visitor .avatar-button {
  display: none;
}

.is-signed-in .public-login-button {
  display: none;
}

.hg-home {
  display: grid;
  gap: 38px;
  padding: 22px 36px 52px;
}

.hg-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 24px;
  align-items: start;
}

.hg-main-column {
  display: grid;
  min-width: 0;
}

.hg-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--hg-radius-lg);
  background: #eaf2ec;
  box-shadow: var(--hg-shadow);
  isolation: isolate;
}

.hg-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hg-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 34%, rgba(255,255,255,0.36) 60%, rgba(255,255,255,0.05) 100%),
    linear-gradient(0deg, rgba(8,34,23,0.24), rgba(8,34,23,0.02) 52%);
}

.hg-hero-content {
  width: min(585px, 54%);
  padding: 62px 58px 0;
}

.hg-eyebrow,
.hg-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--hg-green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.hg-eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(6, 122, 70, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
}

.hg-eyebrow svg,
.hg-section-kicker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-hero h1 {
  max-width: 590px;
  margin: 0;
  color: var(--hg-green-dark);
  font-size: 60px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hg-hero h1 span {
  display: block;
  margin-top: 4px;
  color: var(--hg-green);
}

.hg-hero-subtitle {
  max-width: 500px;
  margin: 20px 0 0;
  color: #39455a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.hg-search-card {
  position: absolute;
  left: 38px;
  right: 54px;
  bottom: 58px;
  display: grid;
  grid-template-columns: minmax(290px, 1.45fr) minmax(185px, 0.9fr) minmax(175px, 0.82fr) auto;
  gap: 14px;
  align-items: end;
  max-width: 1080px;
  padding: 18px;
  border: 1px solid rgba(227,235,230,0.92);
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.16);
  backdrop-filter: blur(18px);
}

.hg-search-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--hg-ink);
  font-weight: 900;
  text-align: left;
}

.hg-search-field > span {
  color: #344051;
  font-size: 0.78rem;
}

.hg-search-field div,
.hg-search-button-field strong {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid #dbe7df;
  border-radius: 13px;
  background: #fff;
  color: var(--hg-muted);
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hg-search-field svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hg-ink);
  font: inherit;
}

.hg-search-button-field {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hg-search-submit,
.hg-secondary-cta,
.hg-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 950;
}

.hg-search-submit {
  background: linear-gradient(180deg, #07834d, #056b3f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 122, 70, 0.24);
}

.hg-search-submit svg,
.hg-secondary-cta svg,
.hg-link-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-search-hints {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.hg-search-hints span {
  color: #526074;
}

.hg-search-hints button {
  min-height: 30px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  background: #f8fbf9;
  color: var(--hg-green-dark);
  padding: 0 11px;
  cursor: pointer;
  font-weight: 850;
}

.hg-category-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  margin-top: -34px;
  padding: 0 12px;
}

.hg-category-chip,
.hg-category-card {
  border: 1px solid var(--hg-line);
  background: rgba(255,255,255,0.97);
  color: var(--hg-ink);
  box-shadow: var(--hg-soft-shadow);
  cursor: pointer;
}

.hg-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: 13px;
  padding: 0 12px;
  font-size: 0.83rem;
  font-weight: 900;
}

.hg-category-chip svg,
.hg-category-card svg {
  width: 20px;
  height: 20px;
  color: var(--hg-green-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.hg-side-panel {
  display: grid;
  gap: 18px;
}

.hg-account-card,
.hg-assurance-card {
  border: 1px solid var(--hg-line);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--hg-soft-shadow);
}

.hg-account-card {
  display: grid;
  gap: 18px;
  min-height: 455px;
  padding: 22px;
}

.hg-side-title {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.14rem;
  font-weight: 950;
}

.hg-account-mini {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hg-line);
}

.hg-account-mini img,
.hg-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.hg-account-mini img {
  object-fit: cover;
}

.hg-account-avatar {
  display: grid;
  place-items: center;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-account-mini strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.98rem;
}

.hg-account-mini button {
  border: 0;
  background: transparent;
  color: var(--hg-muted);
  padding: 3px 0 0;
  cursor: pointer;
  font-weight: 800;
}

.hg-safety-steps {
  display: grid;
  gap: 14px;
}

.hg-safety-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.hg-safety-steps article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
}

.hg-safety-steps strong {
  display: block;
  color: var(--hg-ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.hg-safety-steps p {
  margin: 4px 0 0;
  color: var(--hg-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
}

.hg-assurance-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: #f7fcf9;
  color: var(--hg-green-dark);
  font-weight: 900;
}

.hg-assurance-card p {
  margin: 0;
  line-height: 1.45;
}

.hg-section {
  display: grid;
  gap: 18px;
}

.hg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hg-section-head h2,
.hg-split-section h2,
.hg-host-section h2,
.hg-support-band h2 {
  margin: 0;
  color: var(--hg-ink);
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hg-link-button {
  min-height: 38px;
  padding: 0;
  background: transparent;
  color: var(--hg-green-dark);
}

.hg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hg-product-grid .product-card {
  min-height: 0;
  border-radius: 18px;
  box-shadow: var(--hg-soft-shadow);
}

.hg-product-grid .product-photo img {
  height: 190px;
}

.hg-category-grid,
.hg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hg-category-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  min-height: 138px;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.hg-category-card strong {
  color: var(--hg-ink);
  font-size: 1rem;
}

.hg-category-card span {
  color: var(--hg-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hg-split-section,
.hg-host-section,
.hg-support-band {
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-lg);
  background: var(--hg-card);
  box-shadow: var(--hg-soft-shadow);
}

.hg-split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
}

.hg-split-section p,
.hg-host-section p,
.hg-support-band p {
  color: var(--hg-muted);
  font-weight: 700;
  line-height: 1.6;
}

.hg-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--hg-line);
  border-radius: 16px;
  background: #fbfdfb;
}

.hg-step-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--hg-green-soft);
  color: var(--hg-green-dark);
  font-weight: 950;
}

.hg-step-list strong,
.hg-step-list p {
  margin: 0;
}

.hg-trust-grid .trust-tile {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--hg-soft-shadow);
}

.hg-host-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1fr;
  overflow: hidden;
}

.hg-host-section > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hg-host-section > div {
  padding: clamp(24px, 4vw, 42px);
}

.hg-host-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.hg-host-section li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hg-ink);
  font-weight: 800;
}

.hg-host-section li svg {
  width: 18px;
  height: 18px;
  color: var(--hg-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hg-secondary-cta {
  background: var(--hg-green);
  color: #fff;
}

.hg-support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, #ffffff, #f1faf5);
}

.hg-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--hg-line);
}

.hg-empty-card {
  border: 1px dashed #cfded5;
  border-radius: 18px;
  background: #fff;
  color: var(--hg-muted);
  padding: 22px;
  font-weight: 800;
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 1240px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    padding: 0 28px;
    gap: 18px;
  }

  .desktop-main-nav {
    gap: 14px;
  }

  .top-action-link span {
    display: none;
  }

  .hg-home {
    padding: 20px 28px 48px;
  }

  .hg-stage {
    grid-template-columns: 1fr;
  }

  .hg-side-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  }

  .hg-account-card {
    min-height: 0;
  }

  .hg-hero {
    min-height: 560px;
  }

  .hg-search-card {
    right: 38px;
    grid-template-columns: minmax(240px, 1.35fr) minmax(170px, 0.85fr) minmax(160px, 0.75fr) auto;
  }

  .hg-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-main-nav {
    gap: 12px;
  }

  .desktop-main-nav button {
    font-size: 0.86rem;
  }

  .location-nav-button {
    font-size: 0.86rem;
  }

  .hg-hero-content {
    width: min(540px, 58%);
    padding: 52px 42px 0;
  }

  .hg-hero h1 {
    font-size: 52px;
  }

  .hg-search-card {
    grid-template-columns: minmax(240px, 1.2fr) minmax(160px, 0.85fr) minmax(150px, 0.8fr) auto;
  }

  .hg-search-submit {
    grid-column: auto;
    width: auto;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 16px;
  }

  .desktop-main-nav,
  .location-nav-button,
  .top-action-link {
    display: none;
  }

  .hg-home {
    gap: 24px;
    padding: 14px 14px 96px;
  }

  .hg-stage,
  .hg-side-panel {
    grid-template-columns: 1fr;
  }

  .hg-hero {
    display: grid;
    min-height: auto;
    border-radius: 24px;
    padding-bottom: 0;
  }

  .hg-hero-image {
    position: relative;
    order: 2;
    height: 270px;
    object-position: center right;
  }

  .hg-hero-shade {
    display: none;
  }

  .hg-hero-content {
    width: 100%;
    padding: 26px 20px 18px;
    background: #fff;
  }

  .hg-hero h1 {
    font-size: 38px;
    line-height: 1.06;
    letter-spacing: 0;
  }

  .hg-hero-subtitle {
    font-size: 1rem;
  }

  .hg-search-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    grid-template-columns: 1fr;
    margin: -22px 14px 16px;
    padding: 14px;
    border-radius: 18px;
  }

  .hg-search-submit {
    width: 100%;
  }

  .hg-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  .hg-product-grid,
  .hg-category-grid,
  .hg-trust-grid,
  .hg-split-section,
  .hg-host-section,
  .hg-footer {
    grid-template-columns: 1fr;
  }

  .hg-section-head,
  .hg-support-band {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-host-section > img {
    min-height: 240px;
  }
}

@media (max-width: 430px) {
  .logo-button {
    font-size: 1.72rem;
  }

  .hg-hero h1 {
    font-size: 32px;
    letter-spacing: 0;
  }

  .hg-hero-image {
    height: 235px;
  }

  .hg-search-field div,
  .hg-search-button-field strong,
  .hg-search-submit {
    min-height: 48px;
  }
}
/* Final mobile-home lock v2: keep the app-home active after all legacy homepage rules. */
@media (min-width: 769px) {
  .hg-mobile-home,
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .topbar,
  body[data-route="home"] .hg-desktop-home {
    display: none;
  }

  body[data-route="home"] .hg-home {
    min-height: 100vh;
    padding: 0 0 98px;
    background:
      radial-gradient(circle at 20% 0%, rgba(6, 122, 70, 0.10), transparent 28%),
      linear-gradient(180deg, #f4faf6 0%, #fbfdfb 38%, #ffffff 100%);
  }

  body[data-route="home"] .hg-mobile-home {
    display: grid;
    gap: 22px;
    padding: max(18px, env(safe-area-inset-top)) 0 0;
  }

  body[data-route="home"] .bottom-nav,
  .bottom-nav {
    position: fixed;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid #dbe7df;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 34px rgba(16, 24, 40, 0.13);
    backdrop-filter: blur(18px);
  }

  .hg-mobile-logo {
    color: #067a46;
    font-size: 1.72rem;
    font-weight: 950;
    letter-spacing: 0;
  }

  .nav-add,
  .nav-add.is-active {
    min-height: 66px;
    margin-top: -16px;
    border-radius: 16px;
    background: #067a46;
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 122, 70, 0.24);
  }
}
/* Mobile home clean v3: quieter, accessible, and aligned with the desktop Huurgoo theme. */
@media (max-width: 768px) {
  body[data-route="home"] {
    background: #fbfdfb;
  }

  body[data-route="home"] .hg-home {
    padding: 0 0 86px;
    background: #fbfdfb;
  }

  body[data-route="home"] .hg-mobile-home {
    gap: 18px;
    padding: max(14px, env(safe-area-inset-top)) 0 0;
  }

  .hg-mobile-app-head {
    min-height: 56px;
    padding: 0 18px;
  }

  .hg-mobile-logo {
    color: #067a46;
    font-size: 1.42rem;
    line-height: 1;
  }

  .hg-mobile-head-actions {
    gap: 7px;
  }

  .hg-mobile-head-actions button {
    width: 38px;
    height: 38px;
    border-color: #dfe9e3;
    background: #fff;
    box-shadow: none;
  }

  .hg-mobile-head-actions svg,
  .hg-mobile-search svg,
  .hg-mobile-category svg,
  .hg-mobile-favorite svg,
  .hg-mobile-verified svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  .hg-mobile-search {
    grid-template-columns: 22px minmax(0, 1fr) 38px;
    min-height: 54px;
    margin: 0 16px;
    padding: 0 8px 0 15px;
    border-color: #dfe9e3;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
  }

  .hg-mobile-search input {
    font-size: 0.96rem;
    font-weight: 780;
  }

  .hg-mobile-search button {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #edf7f1;
  }

  .hg-mobile-categories {
    gap: 12px;
  }

  .hg-mobile-section-head {
    padding: 0 16px;
  }

  .hg-mobile-section-head h2 {
    font-size: 1.2rem;
  }

  .hg-mobile-section-head button {
    font-size: 0.86rem;
  }

  .hg-mobile-category-rail {
    grid-auto-columns: 68px;
    gap: 10px;
    padding: 0 16px 2px;
  }

  .hg-mobile-category {
    gap: 7px;
  }

  .hg-mobile-category span {
    width: 52px;
    height: 52px;
    border-color: #dfe9e3;
    background: #fff;
    box-shadow: none;
  }

  .hg-mobile-category strong {
    min-height: 28px;
    max-width: 68px;
    color: #516072;
    font-size: 0.72rem;
    font-weight: 780;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .hg-mobile-feed {
    gap: 14px;
  }

  .hg-mobile-tabs {
    margin-top: 4px;
    border-top: 1px solid #edf3ef;
    border-bottom: 1px solid #dfe9e3;
  }

  .hg-mobile-tabs button {
    min-height: 48px;
    color: #667386;
    font-size: 0.98rem;
    font-weight: 840;
  }

  .hg-mobile-tabs button.is-active {
    color: #067a46;
  }

  .hg-mobile-tabs button.is-active::after {
    left: 34px;
    right: 34px;
    height: 2px;
  }

  .hg-mobile-listing-grid {
    gap: 10px;
    padding: 0 12px 12px;
  }

  .hg-mobile-listing-card {
    border-color: #dfe9e3;
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-listing-photo {
    height: 118px;
  }

  .hg-mobile-favorite {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    box-shadow: 0 5px 12px rgba(16, 24, 40, 0.12);
  }

  .hg-mobile-listing-body {
    gap: 6px;
    padding: 10px 10px 11px;
  }

  .hg-mobile-listing-body strong {
    color: #1f2d40;
    font-size: 0.88rem;
    font-weight: 820;
    line-height: 1.25;
  }

  .hg-mobile-price {
    font-size: 0.95rem;
    font-weight: 880;
  }

  .hg-mobile-meta {
    color: #6d7a8b;
    font-size: 0.72rem;
    font-weight: 720;
  }

  .hg-mobile-verified {
    position: static;
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    max-width: 100%;
    padding: 0 7px;
    border: 1px solid #d5eadc;
    border-radius: 999px;
    background: #f4fbf6;
    color: #067a46;
    font-size: 0.66rem;
    font-weight: 820;
    white-space: nowrap;
  }

  .hg-mobile-verified svg {
    width: 12px;
    height: 12px;
  }

  body[data-route="home"] .bottom-nav,
  .bottom-nav {
    min-height: 70px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-color: #dfe9e3;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 22px rgba(16, 24, 40, 0.08);
    transform: none;
  }

  .nav-item {
    min-height: 56px;
    border-radius: 12px;
    color: #7a8491;
    font-size: 0.66rem;
    font-weight: 760;
  }

  .nav-item svg {
    width: 21px;
    height: 21px;
  }

  .nav-add,
  .nav-add.is-active {
    width: 58px;
    min-height: 58px;
    margin: -10px auto 0;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(6, 122, 70, 0.18);
  }
}

@media (max-width: 430px) {
  .hg-mobile-category-rail {
    grid-auto-columns: 66px;
    gap: 9px;
  }

  .hg-mobile-listing-photo {
    height: 112px;
  }

  .hg-mobile-listing-body strong {
    font-size: 0.84rem;
  }

  .nav-item {
    font-size: 0.62rem;
  }
}

/* Mobile home clean v4: calmer marketplace layout */
@media (max-width: 767px) {
  body[data-route="home"] {
    background: #fbfdfb;
  }

  body[data-route="home"] .hg-home {
    padding-bottom: 82px;
  }

  body[data-route="home"] .hg-mobile-home {
    gap: 16px;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .hg-mobile-app-head {
    min-height: 50px;
    padding: 0 16px;
  }

  .hg-mobile-logo {
    color: #067a46;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .hg-mobile-head-actions {
    gap: 8px;
  }

  .hg-mobile-head-actions button {
    width: 36px;
    height: 36px;
    border: 1px solid #dfe9e3;
    background: #fff;
    box-shadow: 0 5px 14px rgba(16, 24, 40, 0.06);
  }

  .hg-mobile-head-actions svg {
    width: 17px;
    height: 17px;
  }

  .hg-mobile-search {
    grid-template-columns: 21px minmax(0, 1fr) 37px;
    min-height: 52px;
    margin: 0 16px;
    padding: 0 7px 0 15px;
    border: 1px solid #dce8e1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.055);
  }

  .hg-mobile-search input {
    color: #1f2d40;
    font-size: 0.95rem;
    font-weight: 760;
  }

  .hg-mobile-search input::placeholder {
    color: #7a8491;
  }

  .hg-mobile-search button {
    width: 37px;
    height: 37px;
    border-radius: 13px;
    background: #eff8f3;
  }

  .hg-mobile-categories {
    gap: 10px;
  }

  .hg-mobile-section-head {
    padding: 0 16px;
  }

  .hg-mobile-section-head h2 {
    font-size: 1.08rem;
    letter-spacing: 0;
  }

  .hg-mobile-section-head button {
    color: #067a46;
    font-size: 0.82rem;
    font-weight: 800;
  }

  .hg-mobile-category-rail {
    grid-auto-columns: 108px;
    gap: 12px;
    padding: 0 16px 5px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
  }

  .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  .hg-mobile-category {
    min-height: 88px;
    gap: 7px;
    scroll-snap-align: start;
  }

  .hg-mobile-category span {
    width: 50px;
    height: 50px;
    border: 1px solid #dfe9e3;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.045);
  }

  .hg-mobile-category svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  .hg-mobile-category strong {
    display: -webkit-box;
    min-height: 30px;
    max-width: 102px;
    color: #526071;
    font-size: 0.7rem;
    font-weight: 780;
    line-height: 1.18;
    text-align: center;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hg-mobile-tabs {
    margin-top: 0;
    border-top: 1px solid #eef4f0;
    border-bottom: 1px solid #dfe9e3;
    background: #fff;
  }

  .hg-mobile-tabs button {
    min-height: 46px;
    color: #667386;
    font-size: 0.94rem;
    font-weight: 820;
  }

  .hg-mobile-tabs button.is-active {
    color: #067a46;
  }

  .hg-mobile-tabs button.is-active::after {
    left: 38px;
    right: 38px;
    height: 2px;
    border-radius: 999px;
  }

  .hg-mobile-listing-grid {
    align-items: stretch;
    gap: 10px;
    padding: 0 12px 12px;
  }

  .hg-mobile-listing-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 226px;
    position: relative;
    border: 1px solid #dfe9e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(16, 24, 40, 0.045);
    overflow: hidden;
  }

  .hg-mobile-card-link {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    min-height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .hg-mobile-listing-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    background: #f2f6f3;
  }

  .hg-mobile-listing-photo img {
    object-fit: cover;
  }

  .hg-mobile-favorite {
    top: 8px;
    right: 8px;
    width: 31px;
    height: 31px;
    border: 1px solid #e2e9e5;
    box-shadow: 0 5px 12px rgba(16, 24, 40, 0.12);
  }

  .hg-mobile-favorite svg {
    width: 17px;
    height: 17px;
  }

  .hg-mobile-listing-body {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    align-content: start;
    gap: 5px;
    padding: 9px 10px 10px;
  }

  .hg-mobile-listing-body > strong {
    display: -webkit-box;
    min-height: 34px;
    color: #1f2d40;
    font-size: 0.84rem;
    font-weight: 820;
    line-height: 1.22;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hg-mobile-price {
    color: #075f38;
    font-size: 0.92rem;
    font-weight: 880;
    line-height: 1.15;
  }

  .hg-mobile-meta {
    color: #6d7a8b;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .hg-mobile-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: end;
    color: #5d6978;
    font-size: 0.68rem;
    font-weight: 760;
  }

  .hg-mobile-rating svg {
    width: 12px;
    height: 12px;
    fill: #f6a31a;
    stroke: #f6a31a;
  }

  body[data-route="home"] .bottom-nav,
  .bottom-nav {
    min-height: 64px;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #dfe9e3;
    border-radius: 15px 15px 0 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -7px 20px rgba(16, 24, 40, 0.07);
    transform: none;
    backdrop-filter: blur(14px);
  }

  .nav-item {
    min-height: 51px;
    border-radius: 12px;
    color: #747f8d;
    font-size: 0.6rem;
    font-weight: 760;
  }

  .nav-item svg {
    width: 20px;
    height: 20px;
  }

  .nav-add,
  .nav-add.is-active {
    width: 54px;
    min-height: 54px;
    margin: -7px auto 0;
    border-radius: 15px;
    box-shadow: 0 7px 16px rgba(6, 122, 70, 0.17);
  }
}

@media (max-width: 430px) {
  .hg-mobile-category-rail {
    grid-auto-columns: 104px;
  }

  .hg-mobile-listing-card {
    min-height: 220px;
  }

  .hg-mobile-listing-body {
    padding: 9px 9px 10px;
  }
}

/* Mobile home reference v7 */
@media (max-width: 767px) {
  body[data-route="home"] {
    background: #ffffff;
  }

  body[data-route="home"] .app-shell {
    background: #ffffff;
  }

  body[data-route="home"] .hg-home {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  body[data-route="home"] .desktop-home-frame {
    display: none;
  }

  body[data-route="home"] .hg-mobile-home {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding: max(22px, env(safe-area-inset-top)) 18px 0;
    background: #ffffff;
  }

  body[data-route="home"] .hg-mobile-app-head {
    min-height: 74px;
    padding: 0;
    align-items: center;
  }

  body[data-route="home"] .hg-mobile-logo {
    min-height: auto;
    color: #077a46;
    font-size: clamp(2rem, 11vw, 2.95rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  body[data-route="home"] .hg-mobile-head-actions {
    gap: 12px;
  }

  body[data-route="home"] .hg-mobile-head-actions button {
    width: 49px;
    height: 49px;
    border: 1px solid #e2e8e4;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #0e1930;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
  }

  body[data-route="home"] .hg-mobile-head-actions svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.1;
  }

  body[data-route="home"] .hg-mobile-search {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 55px;
    gap: 10px;
    min-height: 74px;
    margin: -2px 0 0;
    padding: 9px 9px 9px 18px;
    border: 1px solid #dfe9e4;
    border-radius: 21px;
    background: #ffffff;
    box-shadow: 0 13px 28px rgba(16, 24, 40, 0.08);
  }

  body[data-route="home"] .hg-mobile-search > svg {
    width: 33px;
    height: 33px;
    color: #087849;
    stroke-width: 2;
  }

  body[data-route="home"] .hg-mobile-search input {
    min-width: 0;
    color: #17233b;
    font-size: 1.24rem;
    font-weight: 750;
    letter-spacing: 0;
  }

  body[data-route="home"] .hg-mobile-search input::placeholder {
    color: #788398;
    opacity: 1;
  }

  body[data-route="home"] .hg-mobile-search button {
    width: 55px;
    height: 55px;
    border: 0;
    border-radius: 18px;
    background: #eef7f2;
    color: #067a46;
  }

  body[data-route="home"] .hg-mobile-search button svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.2;
  }

  body[data-route="home"] .hg-mobile-categories {
    margin-top: 2px;
  }

  body[data-route="home"] .hg-mobile-section-head {
    display: none;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84px;
    gap: 13px;
    justify-content: start;
    padding: 0 0 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
  }

  body[data-route="home"] .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  body[data-route="home"] .hg-mobile-category {
    min-height: 100px;
    gap: 9px;
    scroll-snap-align: start;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 64px;
    height: 64px;
    border: 1px solid #e4ebe7;
    border-radius: 50%;
    background: #ffffff;
    color: #087849;
    box-shadow: 0 7px 16px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.1;
  }

  body[data-route="home"] .hg-mobile-category strong {
    display: -webkit-box;
    max-width: 86px;
    min-height: 31px;
    color: #111a2e;
    font-size: 0.82rem;
    font-weight: 720;
    line-height: 1.18;
    text-align: center;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body[data-route="home"] .hg-mobile-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    min-height: 82px;
    padding: 10px 8px;
    border: 1px solid #dfe9e4;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
  }

  body[data-route="home"] .hg-mobile-trust-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    min-width: 0;
    padding: 0 8px;
  }

  body[data-route="home"] .hg-mobile-trust-item + .hg-mobile-trust-item {
    border-left: 1px solid #e1e9e5;
  }

  body[data-route="home"] .hg-mobile-trust-item > span {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #087849;
  }

  body[data-route="home"] .hg-mobile-trust-item svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.9;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    color: #13223a;
    font-size: 0.73rem;
    font-weight: 780;
    line-height: 1.15;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    color: #6f7b8c;
    font-size: 0.61rem;
    font-weight: 640;
    line-height: 1.15;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  body[data-route="home"] .hg-mobile-feed {
    display: grid;
    gap: 18px;
    margin-top: 2px;
  }

  body[data-route="home"] .hg-mobile-tabs {
    margin: 0;
    border-top: 0;
    border-bottom: 1px solid #e4ebe7;
    background: transparent;
  }

  body[data-route="home"] .hg-mobile-tabs button {
    min-height: 49px;
    color: #687386;
    font-size: 1.04rem;
    font-weight: 820;
  }

  body[data-route="home"] .hg-mobile-tabs button.is-active {
    color: #087849;
  }

  body[data-route="home"] .hg-mobile-tabs button.is-active::after {
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 999px;
    background: #07864f;
  }

  body[data-route="home"] .hg-mobile-feature-card {
    position: relative;
    display: grid;
    min-height: 155px;
    overflow: hidden;
    border: 1px solid #e1e9e5;
    border-radius: 20px;
    background: #eef7f2;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.055);
  }

  body[data-route="home"] .hg-mobile-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(245, 250, 247, 0.98) 0%, rgba(245, 250, 247, 0.86) 46%, rgba(245, 250, 247, 0.1) 78%);
  }

  body[data-route="home"] .hg-mobile-feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  body[data-route="home"] .hg-mobile-feature-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 8px;
    width: min(64%, 285px);
    padding: 20px 16px 20px 18px;
  }

  body[data-route="home"] .hg-mobile-feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid #d7e8df;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: #075f38;
    font-size: 0.68rem;
    font-weight: 800;
  }

  body[data-route="home"] .hg-mobile-feature-eyebrow svg {
    width: 14px;
    height: 14px;
  }

  body[data-route="home"] .hg-mobile-feature-card h2 {
    margin: 0;
    color: #09331f;
    font-size: 1.28rem;
    font-weight: 870;
    letter-spacing: 0;
    line-height: 1.12;
  }

  body[data-route="home"] .hg-mobile-feature-card p {
    margin: 0;
    color: #213148;
    font-size: 0.86rem;
    font-weight: 620;
    line-height: 1.35;
  }

  body[data-route="home"] .hg-mobile-feature-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    min-height: 39px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: #075f38;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 820;
    box-shadow: 0 9px 18px rgba(7, 95, 56, 0.2);
  }

  body[data-route="home"] .hg-mobile-feature-card button svg {
    width: 14px;
    height: 14px;
  }

  body[data-route="home"] .hg-mobile-feed-panel {
    display: none;
  }

  body[data-route="home"] .hg-mobile-feed-panel.is-active {
    display: block;
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    padding: 0 0 8px;
  }

  body[data-route="home"] .hg-mobile-listing-card {
    position: relative;
    display: grid;
    min-height: 228px;
    border: 1px solid #e0e8e4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 19px rgba(16, 24, 40, 0.055);
    overflow: hidden;
  }

  body[data-route="home"] .hg-mobile-card-link {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
  }

  body[data-route="home"] .hg-mobile-listing-photo {
    position: relative;
    display: block;
    aspect-ratio: 1 / 0.78;
    background: #eef4f0;
    overflow: hidden;
  }

  body[data-route="home"] .hg-mobile-listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-route="home"] .hg-mobile-card-badge {
    position: absolute;
    left: 8px;
    bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 16px);
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(6, 122, 70, 0.9);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 820;
    line-height: 1;
  }

  body[data-route="home"] .hg-mobile-card-badge svg {
    width: 11px;
    height: 11px;
  }

  body[data-route="home"] .hg-mobile-favorite {
    top: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
    border: 1px solid #e2e9e5;
    border-radius: 50%;
    background: #ffffff;
    color: #17233b;
    box-shadow: 0 7px 15px rgba(16, 24, 40, 0.14);
  }

  body[data-route="home"] .hg-mobile-favorite svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 7px;
    padding: 11px 11px 10px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    display: -webkit-box;
    min-height: 37px;
    color: #152239;
    font-size: 0.91rem;
    font-weight: 780;
    line-height: 1.18;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body[data-route="home"] .hg-mobile-price {
    color: #057146;
    font-size: 1.02rem;
    font-weight: 860;
    line-height: 1.1;
  }

  body[data-route="home"] .hg-mobile-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
  }

  body[data-route="home"] .hg-mobile-meta,
  body[data-route="home"] .hg-mobile-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: #6b7587;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
  }

  body[data-route="home"] .hg-mobile-meta svg {
    width: 13px;
    height: 13px;
    color: #6f7b8c;
    stroke-width: 2;
  }

  body[data-route="home"] .hg-mobile-rating {
    flex: 0 0 auto;
    color: #5f6878;
  }

  body[data-route="home"] .hg-mobile-rating svg {
    width: 13px;
    height: 13px;
    fill: #f5a51a;
    stroke: #f5a51a;
  }

  body[data-route="home"] .bottom-nav,
  body[data-route="home"] .is-public-visitor .bottom-nav,
  body[data-route="home"].is-public-visitor .bottom-nav {
    left: 18px;
    right: 18px;
    bottom: 9px;
    width: auto;
    min-height: 75px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid #e0e8e4;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.12);
    transform: none;
    backdrop-filter: blur(18px);
  }

  body[data-route="home"] .nav-item {
    min-height: 57px;
    border-radius: 14px;
    color: #6a7281;
    font-size: 0.67rem;
    font-weight: 720;
  }

  body[data-route="home"] .nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
  }

  body[data-route="home"] .nav-item.is-active {
    color: #087849;
  }

  body[data-route="home"] .nav-add,
  body[data-route="home"] .nav-add.is-active {
    width: 64px;
    min-height: 64px;
    margin: -10px auto 0;
    border-radius: 19px;
    background: #087849;
    color: #ffffff;
    box-shadow: 0 9px 20px rgba(6, 122, 70, 0.22);
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-home {
    padding-right: 15px;
    padding-left: 15px;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 79px;
    gap: 11px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 58px;
    height: 58px;
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 24px;
    height: 24px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    max-width: 78px;
    font-size: 0.75rem;
  }

  body[data-route="home"] .hg-mobile-trust-strip {
    min-height: 83px;
    padding: 8px 5px;
  }

  body[data-route="home"] .hg-mobile-trust-item {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 6px;
    padding: 0 5px;
  }

  body[data-route="home"] .hg-mobile-trust-item > span {
    width: 24px;
    height: 24px;
  }

  body[data-route="home"] .hg-mobile-trust-item svg {
    width: 23px;
    height: 23px;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    font-size: 0.6rem;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    font-size: 0.51rem;
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    gap: 9px;
  }

  body[data-route="home"] .hg-mobile-listing-card {
    min-height: 214px;
    border-radius: 14px;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    padding: 10px 9px 9px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    min-height: 35px;
    font-size: 0.82rem;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.92rem;
  }

  body[data-route="home"] .hg-mobile-meta,
  body[data-route="home"] .hg-mobile-rating {
    font-size: 0.67rem;
  }
}

@media (max-width: 374px) {
  body[data-route="home"] .hg-mobile-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile home refinement v8 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-home {
    gap: 16px;
    color: #111827;
  }

  body[data-route="home"] .hg-mobile-home svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-route="home"] .hg-mobile-app-head {
    min-height: 68px;
  }

  body[data-route="home"] .hg-mobile-logo {
    font-size: clamp(1.92rem, 10vw, 2.65rem);
    letter-spacing: -0.045em;
  }

  body[data-route="home"] .hg-mobile-head-actions button {
    width: 46px;
    height: 46px;
    border-color: #e5ece8;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-mobile-head-actions svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
  }

  body[data-route="home"] .hg-mobile-search {
    min-height: 70px;
    padding: 8px 8px 8px 17px;
    border-color: #e0e8e4;
    border-radius: 20px;
    box-shadow: 0 11px 25px rgba(16, 24, 40, 0.065);
  }

  body[data-route="home"] .hg-mobile-search > svg {
    width: 30px;
    height: 30px;
    color: #087849;
    stroke-width: 2.05;
  }

  body[data-route="home"] .hg-mobile-search input {
    color: #1e293b;
    font-size: 1.16rem;
    font-weight: 700;
  }

  body[data-route="home"] .hg-mobile-search button {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: #f1f8f4;
  }

  body[data-route="home"] .hg-mobile-search button svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.15;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 82px;
    gap: 12px;
    padding-top: 1px;
    mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent);
  }

  body[data-route="home"] .hg-mobile-category {
    min-height: 96px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 60px;
    height: 60px;
    border-color: #e5ece8;
    color: #087849;
    box-shadow: 0 7px 15px rgba(16, 24, 40, 0.035);
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.95;
  }

  body[data-route="home"] .hg-mobile-category strong {
    color: #1e293b;
    font-size: 0.78rem;
    font-weight: 700;
  }

  body[data-route="home"] .hg-mobile-trust-strip {
    min-height: 72px;
    padding: 8px 7px;
    border-color: #e0e8e4;
    border-radius: 16px;
    background: #fcfefd;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.032);
  }

  body[data-route="home"] .hg-mobile-trust-item {
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 7px;
    padding: 0 7px;
  }

  body[data-route="home"] .hg-mobile-trust-item > span {
    width: 26px;
    height: 26px;
    color: #087849;
  }

  body[data-route="home"] .hg-mobile-trust-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.85;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    color: #172033;
    font-size: 0.68rem;
    font-weight: 760;
    -webkit-line-clamp: 1;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    color: #717b8c;
    font-size: 0.56rem;
    font-weight: 630;
  }

  body[data-route="home"] .hg-mobile-tabs {
    border-bottom-color: #e6ede9;
  }

  body[data-route="home"] .hg-mobile-tabs button {
    min-height: 47px;
    font-size: 1rem;
    font-weight: 790;
  }

  body[data-route="home"] .hg-mobile-tabs button.is-active::after {
    height: 2.5px;
  }

  body[data-route="home"] .hg-mobile-feature-card {
    min-height: 148px;
    border-color: #e1e9e5;
    border-radius: 18px;
    background: #f3faf6;
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-mobile-feature-card::before {
    background:
      linear-gradient(90deg, rgba(248, 252, 249, 0.98) 0%, rgba(248, 252, 249, 0.9) 43%, rgba(248, 252, 249, 0.2) 73%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(7, 95, 56, 0.04));
  }

  body[data-route="home"] .hg-mobile-feature-card img {
    object-position: 72% center;
    filter: saturate(0.92) contrast(0.98);
  }

  body[data-route="home"] .hg-mobile-feature-content {
    gap: 7px;
    width: min(67%, 292px);
    padding: 18px 15px 18px 17px;
  }

  body[data-route="home"] .hg-mobile-feature-eyebrow {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.78);
    color: #08643c;
    font-size: 0.64rem;
    font-weight: 780;
  }

  body[data-route="home"] .hg-mobile-feature-card h2 {
    font-size: 1.2rem;
    font-weight: 850;
  }

  body[data-route="home"] .hg-mobile-feature-card p {
    max-width: 230px;
    color: #27354b;
    font-size: 0.8rem;
    font-weight: 600;
  }

  body[data-route="home"] .hg-mobile-feature-card button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: #08643c;
    font-size: 0.74rem;
    box-shadow: 0 8px 16px rgba(7, 95, 56, 0.17);
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    gap: 10px;
  }

  body[data-route="home"] .hg-mobile-listing-card {
    min-height: 206px;
    border-color: #e3ebe7;
    border-radius: 15px;
    box-shadow: 0 7px 16px rgba(16, 24, 40, 0.046);
  }

  body[data-route="home"] .hg-mobile-listing-photo {
    aspect-ratio: 1 / 0.74;
  }

  body[data-route="home"] .hg-mobile-card-badge {
    left: 7px;
    bottom: 7px;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(6, 122, 70, 0.16);
    background: rgba(255, 255, 255, 0.86);
    color: #087849;
    font-size: 0;
    box-shadow: 0 5px 12px rgba(16, 24, 40, 0.11);
    backdrop-filter: blur(7px);
  }

  body[data-route="home"] .hg-mobile-card-badge svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.1;
  }

  body[data-route="home"] .hg-mobile-favorite {
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    border-color: rgba(224, 232, 228, 0.9);
    box-shadow: 0 6px 13px rgba(16, 24, 40, 0.11);
  }

  body[data-route="home"] .hg-mobile-favorite svg {
    width: 17px;
    height: 17px;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    gap: 6px;
    padding: 10px 10px 9px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    min-height: 34px;
    color: #182236;
    font-size: 0.86rem;
    font-weight: 760;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.96rem;
    font-weight: 840;
  }

  body[data-route="home"] .hg-mobile-meta,
  body[data-route="home"] .hg-mobile-rating {
    color: #697386;
    font-size: 0.69rem;
    font-weight: 690;
  }

  body[data-route="home"] .hg-mobile-meta svg,
  body[data-route="home"] .hg-mobile-rating svg {
    width: 12px;
    height: 12px;
  }

  body[data-route="home"] .bottom-nav,
  body[data-route="home"] .is-public-visitor .bottom-nav,
  body[data-route="home"].is-public-visitor .bottom-nav {
    min-height: 72px;
    border-color: #e2e9e5;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.105);
  }

  body[data-route="home"] .nav-item {
    min-height: 54px;
    font-size: 0.65rem;
    font-weight: 700;
  }

  body[data-route="home"] .nav-item svg {
    width: 21px;
    height: 21px;
  }

  body[data-route="home"] .nav-add,
  body[data-route="home"] .nav-add.is-active {
    width: 60px;
    min-height: 60px;
    margin-top: -8px;
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 76px;
  }

  body[data-route="home"] .hg-mobile-trust-item {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 0 4px;
  }

  body[data-route="home"] .hg-mobile-trust-item svg {
    width: 21px;
    height: 21px;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    font-size: 0.57rem;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    font-size: 0.49rem;
  }

  body[data-route="home"] .hg-mobile-feature-content {
    width: 68%;
  }

  body[data-route="home"] .hg-mobile-listing-card {
    min-height: 199px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    font-size: 0.78rem;
    min-height: 32px;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.88rem;
  }
}

/* Mobile home width and readability v9 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-home {
    width: 100%;
    max-width: none;
    padding-right: 10px;
    padding-left: 10px;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 98px;
    gap: 10px;
    padding-right: 6px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 98px;
    min-height: 104px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 60px;
    height: 60px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    display: block;
    width: 96px;
    max-width: 96px;
    min-height: 36px;
    color: #1e293b;
    font-size: 0.76rem;
    font-weight: 720;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  body[data-route="home"] .hg-mobile-trust-strip,
  body[data-route="home"] .hg-mobile-feature-card,
  body[data-route="home"] .hg-mobile-tabs,
  body[data-route="home"] .hg-mobile-listing-grid,
  body[data-route="home"] .hg-mobile-search {
    width: 100%;
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 0 10px;
  }

  body[data-route="home"] .hg-mobile-listing-card {
    min-height: 0;
    border-radius: 16px;
  }

  body[data-route="home"] .hg-mobile-listing-photo {
    aspect-ratio: 4 / 3;
  }

  body[data-route="home"] .hg-mobile-card-badge {
    display: none;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 7px;
    padding: 12px 12px 11px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    display: block;
    min-height: 0;
    color: #182236;
    font-size: 0.98rem;
    font-weight: 780;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 1.03rem;
  }

  body[data-route="home"] .hg-mobile-meta,
  body[data-route="home"] .hg-mobile-rating {
    font-size: 0.74rem;
  }

  body[data-route="home"] .bottom-nav,
  body[data-route="home"] .is-public-visitor .bottom-nav,
  body[data-route="home"].is-public-visitor .bottom-nav {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-home {
    padding-right: 9px;
    padding-left: 9px;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 92px;
    gap: 9px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 92px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 90px;
    max-width: 90px;
    font-size: 0.72rem;
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    gap: 10px;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    padding: 11px 11px 10px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    font-size: 0.92rem;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.97rem;
  }
}

@media (max-width: 374px) {
  body[data-route="home"] .hg-mobile-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    font-size: 0.86rem;
  }
}

/* Mobile home trust and category clarity v10 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-home {
    gap: 15px;
  }

  body[data-route="home"] .hg-mobile-categories {
    display: grid;
    gap: 10px;
  }

  body[data-route="home"] .hg-mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px;
  }

  body[data-route="home"] .hg-mobile-section-head h2 {
    margin: 0;
    color: #132238;
    font-size: 1rem;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1.1;
  }

  body[data-route="home"] .hg-mobile-section-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dfe9e4;
    border-radius: 999px;
    background: #ffffff;
    color: #067a46;
    font-size: 0.74rem;
    font-weight: 780;
    box-shadow: 0 5px 12px rgba(16, 24, 40, 0.035);
  }

  body[data-route="home"] .hg-mobile-section-head button::after {
    content: "›";
    margin-left: 5px;
    font-size: 1rem;
    line-height: 1;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 104px;
    gap: 10px;
    padding: 0 8px 4px 0;
    mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
  }

  body[data-route="home"] .hg-mobile-category {
    width: 104px;
    min-height: 106px;
    gap: 8px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 64px;
    height: 64px;
    border-color: #dfe9e4;
    background: linear-gradient(180deg, #ffffff, #f8fcfa);
    color: #067a46;
    box-shadow: 0 8px 16px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.12;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 102px;
    max-width: 102px;
    min-height: 34px;
    color: #172033;
    font-size: 0.75rem;
    font-weight: 760;
    line-height: 1.18;
  }

  body[data-route="home"] .hg-mobile-trust-strip {
    display: block;
    min-height: 0;
    padding: 15px 14px 13px;
    border: 1px solid #dfe9e4;
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(242, 250, 246, 0.98), rgba(255, 255, 255, 0.98)),
      #ffffff;
    box-shadow: 0 9px 22px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-mobile-trust-copy {
    display: grid;
    gap: 5px;
  }

  body[data-route="home"] .hg-mobile-trust-copy h2 {
    margin: 0;
    max-width: 330px;
    color: #09331f;
    font-size: 1.13rem;
    font-weight: 860;
    letter-spacing: 0;
    line-height: 1.14;
  }

  body[data-route="home"] .hg-mobile-trust-copy p {
    margin: 0;
    max-width: 360px;
    color: #556174;
    font-size: 0.76rem;
    font-weight: 620;
    line-height: 1.34;
  }

  body[data-route="home"] .hg-mobile-trust-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #deebe4;
  }

  body[data-route="home"] .hg-mobile-trust-item {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0 7px;
    text-align: center;
  }

  body[data-route="home"] .hg-mobile-trust-item + .hg-mobile-trust-item {
    border-left: 1px solid #deebe4;
  }

  body[data-route="home"] .hg-mobile-trust-item > span {
    display: inline-flex;
    grid-row: auto;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #067a46;
  }

  body[data-route="home"] .hg-mobile-trust-item svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.95;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    display: block;
    color: #172033;
    font-size: 0.68rem;
    font-weight: 780;
    line-height: 1.08;
    white-space: normal;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    display: block;
    color: #6b7688;
    font-size: 0.55rem;
    font-weight: 640;
    line-height: 1.12;
    white-space: normal;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  body[data-route="home"] .hg-mobile-feature-card {
    display: none;
  }

  body[data-route="home"] .hg-mobile-feed {
    gap: 12px;
  }

  body[data-route="home"] .hg-mobile-tabs {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 100px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 100px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 98px;
    max-width: 98px;
    font-size: 0.72rem;
  }

  body[data-route="home"] .hg-mobile-trust-copy h2 {
    font-size: 1.04rem;
  }

  body[data-route="home"] .hg-mobile-trust-copy p {
    font-size: 0.71rem;
  }

  body[data-route="home"] .hg-mobile-trust-item {
    padding: 0 5px;
  }

  body[data-route="home"] .hg-mobile-trust-item strong {
    font-size: 0.63rem;
  }

  body[data-route="home"] .hg-mobile-trust-item small {
    font-size: 0.51rem;
  }
}

/* Mobile home compact type and corner label v11 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-home {
    gap: 13px;
  }

  body[data-route="home"] .hg-mobile-app-head {
    align-items: flex-start;
    min-height: 65px;
    padding-top: 2px;
  }

  body[data-route="home"] .hg-mobile-brand-stack {
    display: grid;
    gap: 4px;
    justify-items: start;
    min-width: 0;
  }

  body[data-route="home"] .hg-mobile-slanted-kicker {
    display: inline-block;
    transform: rotate(-4deg);
    transform-origin: left center;
    color: #087849;
    font-size: 0.58rem;
    font-style: italic;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1;
    opacity: 0.86;
    white-space: nowrap;
  }

  body[data-route="home"] .hg-mobile-logo {
    font-size: clamp(1.76rem, 8.8vw, 2.35rem);
  }

  body[data-route="home"] .hg-mobile-head-actions button {
    width: 42px;
    height: 42px;
  }

  body[data-route="home"] .hg-mobile-head-actions svg {
    width: 19px;
    height: 19px;
  }

  body[data-route="home"] .hg-mobile-search {
    min-height: 64px;
    grid-template-columns: 29px minmax(0, 1fr) 48px;
    padding: 8px 8px 8px 15px;
  }

  body[data-route="home"] .hg-mobile-search > svg {
    width: 27px;
    height: 27px;
  }

  body[data-route="home"] .hg-mobile-search input {
    font-size: 1.02rem;
    font-weight: 680;
  }

  body[data-route="home"] .hg-mobile-search button {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  body[data-route="home"] .hg-mobile-search button svg {
    width: 22px;
    height: 22px;
  }

  body[data-route="home"] .hg-mobile-section-head h2 {
    font-size: 0.88rem;
    font-weight: 800;
  }

  body[data-route="home"] .hg-mobile-section-head button {
    min-height: 29px;
    padding: 0 10px;
    font-size: 0.67rem;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 94px;
    gap: 9px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 94px;
    min-height: 96px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 56px;
    height: 56px;
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 27px;
    height: 27px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 92px;
    max-width: 92px;
    min-height: 31px;
    font-size: 0.68rem;
    line-height: 1.15;
  }

  body[data-route="home"] .hg-mobile-feed {
    gap: 10px;
  }

  body[data-route="home"] .hg-mobile-tabs button {
    min-height: 43px;
    font-size: 0.9rem;
    font-weight: 770;
  }

  body[data-route="home"] .hg-mobile-listing-grid {
    gap: 10px;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    gap: 6px;
    padding: 10px 10px 10px;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    font-size: 0.87rem;
    line-height: 1.17;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.9rem;
  }

  body[data-route="home"] .hg-mobile-meta,
  body[data-route="home"] .hg-mobile-rating {
    font-size: 0.66rem;
  }

  body[data-route="home"] .nav-item {
    font-size: 0.6rem;
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 88px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 88px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 86px;
    max-width: 86px;
    font-size: 0.64rem;
  }

  body[data-route="home"] .hg-mobile-listing-body > strong {
    font-size: 0.82rem;
  }

  body[data-route="home"] .hg-mobile-price {
    font-size: 0.86rem;
  }
}

/* Mobile logo mark v12 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-app-head {
    min-height: 56px;
    align-items: center;
  }

  body[data-route="home"] .hg-mobile-brand-stack {
    gap: 0;
  }

  body[data-route="home"] .hg-mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #087849;
    font-size: clamp(1.44rem, 7.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
  }

  body[data-route="home"] .hg-mobile-logo-mark {
    display: none;
  }

  body[data-route="home"] .hg-mobile-slanted-kicker {
    display: none;
  }
}

/* Mobile top compacting v14 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-home {
    gap: 8px;
    padding-top: max(6px, env(safe-area-inset-top));
  }

  body[data-route="home"] .hg-mobile-app-head {
    min-height: 42px;
    padding-top: 0;
    margin-bottom: 0;
  }

  body[data-route="home"] .hg-mobile-logo {
    font-size: clamp(1.28rem, 6.4vw, 1.72rem);
  }

  body[data-route="home"] .hg-mobile-head-actions {
    gap: 7px;
  }

  body[data-route="home"] .hg-mobile-head-actions button {
    width: 36px;
    height: 36px;
  }

  body[data-route="home"] .hg-mobile-head-actions svg {
    width: 17px;
    height: 17px;
  }

  body[data-route="home"] .hg-mobile-search {
    min-height: 52px;
    grid-template-columns: 24px minmax(0, 1fr) 40px;
    padding: 6px 6px 6px 13px;
    border-radius: 18px;
  }

  body[data-route="home"] .hg-mobile-search > svg {
    width: 23px;
    height: 23px;
  }

  body[data-route="home"] .hg-mobile-search input {
    font-size: 0.92rem;
  }

  body[data-route="home"] .hg-mobile-search button {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  body[data-route="home"] .hg-mobile-search button svg {
    width: 19px;
    height: 19px;
  }

  body[data-route="home"] .hg-mobile-categories {
    gap: 5px;
  }

  body[data-route="home"] .hg-mobile-section-head {
    padding: 0 1px;
  }

  body[data-route="home"] .hg-mobile-section-head h2 {
    font-size: 0.78rem;
  }

  body[data-route="home"] .hg-mobile-section-head button {
    min-height: 25px;
    padding: 0 9px;
    font-size: 0.62rem;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 82px;
    gap: 7px;
    padding: 0 24px 1px 0;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 82px;
    min-height: 78px;
    gap: 5px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 44px;
    height: 44px;
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 80px;
    max-width: 80px;
    min-height: 24px;
    font-size: 0.58rem;
    line-height: 1.08;
  }

  body[data-route="home"] .hg-mobile-feed {
    gap: 8px;
    margin-top: 0;
  }

  body[data-route="home"] .hg-mobile-tabs {
    margin-top: 1px;
  }

  body[data-route="home"] .hg-mobile-tabs button {
    min-height: 36px;
    font-size: 0.82rem;
  }
}

@media (max-width: 430px) {
  body[data-route="home"] .hg-mobile-category-rail {
    grid-auto-columns: 78px;
    gap: 6px;
  }

  body[data-route="home"] .hg-mobile-category {
    width: 78px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    width: 76px;
    max-width: 76px;
    font-size: 0.55rem;
  }
}

/* Mobile category-to-feed tightening v15 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-categories {
    gap: 3px;
    margin-bottom: -5px;
  }

  body[data-route="home"] .hg-mobile-category-rail {
    padding-bottom: 0;
  }

  body[data-route="home"] .hg-mobile-category {
    min-height: 72px;
  }

  body[data-route="home"] .hg-mobile-category span {
    width: 42px;
    height: 42px;
  }

  body[data-route="home"] .hg-mobile-category svg {
    width: 21px;
    height: 21px;
  }

  body[data-route="home"] .hg-mobile-feed {
    gap: 6px;
    margin-top: -4px;
  }

  body[data-route="home"] .hg-mobile-tabs {
    margin-top: 0;
  }
}

/* Mobile listing metadata cleanup v16 */
@media (max-width: 767px) {
  body[data-route="home"] .hg-mobile-card-foot {
    display: none;
  }

  body[data-route="home"] .hg-mobile-listing-body {
    grid-template-rows: auto auto;
    gap: 6px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    min-height: 20px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

/* Desktop discovery home v17 */
@media (min-width: 769px) {
  body[data-route="home"] {
    background: #f7fbf8;
  }

  body[data-route="home"] .topbar {
    grid-template-columns: 170px minmax(0, 1fr) auto;
  }

  body[data-route="home"] .top-search-field {
    display: none;
  }

  body[data-route="home"] .hg-home {
    padding: 22px 42px 56px;
  }

  body[data-route="home"] .hg-desktop-home {
    display: block;
  }

  body[data-route="home"] .hg-desktop-discovery {
    display: grid;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
  }

  body[data-route="home"] .hg-desktop-search-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) minmax(190px, 0.72fr) minmax(170px, 0.62fr) minmax(170px, 0.52fr);
    align-items: end;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(210, 226, 218, 0.95);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,253,251,0.98)),
      #ffffff;
    box-shadow: 0 18px 46px rgba(16, 24, 40, 0.075);
  }

  body[data-route="home"] .hg-desktop-search-main {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  body[data-route="home"] .hg-desktop-search-main > span {
    color: #172033;
    font-size: 0.88rem;
    font-weight: 900;
  }

  body[data-route="home"] .hg-desktop-search-main div,
  body[data-route="home"] .hg-desktop-search-pill,
  body[data-route="home"] .hg-desktop-search-submit {
    min-height: 56px;
    border-radius: 18px;
  }

  body[data-route="home"] .hg-desktop-search-main div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 16px;
    border: 1px solid #deebe4;
    background: #ffffff;
  }

  body[data-route="home"] .hg-desktop-search-main svg,
  body[data-route="home"] .hg-desktop-search-pill svg,
  body[data-route="home"] .hg-desktop-search-submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-route="home"] .hg-desktop-search-main svg,
  body[data-route="home"] .hg-desktop-search-pill svg {
    color: #087849;
  }

  body[data-route="home"] .hg-desktop-search-main input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font: inherit;
    font-size: 1.02rem;
    font-weight: 760;
  }

  body[data-route="home"] .hg-desktop-search-main input::placeholder {
    color: #7a8495;
  }

  body[data-route="home"] .hg-desktop-search-pill,
  body[data-route="home"] .hg-desktop-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #deebe4;
    background: #ffffff;
    color: #2f3b4f;
    padding: 0 16px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
  }

  body[data-route="home"] .hg-desktop-search-submit {
    border-color: #087849;
    background: linear-gradient(180deg, #079156, #067846);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(6, 122, 70, 0.18);
  }

  body[data-route="home"] .hg-desktop-feed {
    display: grid;
    gap: 18px;
  }

  body[data-route="home"] .hg-desktop-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #dfe9e4;
  }

  body[data-route="home"] .hg-desktop-tabs button {
    position: relative;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 1.12rem;
    font-weight: 900;
    cursor: pointer;
  }

  body[data-route="home"] .hg-desktop-tabs button.is-active {
    color: #087849;
  }

  body[data-route="home"] .hg-desktop-tabs button.is-active::after {
    content: "";
    position: absolute;
    right: 9%;
    bottom: -1px;
    left: 9%;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: #087849;
  }

  body[data-route="home"] .hg-desktop-feed-panel {
    display: none;
  }

  body[data-route="home"] .hg-desktop-feed-panel.is-active {
    display: block;
  }

  body[data-route="home"] .hg-desktop-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  body[data-route="home"] .hg-desktop-listing-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #deebe4;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
  }

  body[data-route="home"] .hg-desktop-card-link {
    display: grid;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }

  body[data-route="home"] .hg-desktop-listing-photo {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef6f1;
  }

  body[data-route="home"] .hg-desktop-listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  body[data-route="home"] .hg-desktop-listing-body {
    display: grid;
    gap: 8px;
    padding: 14px 15px 15px;
  }

  body[data-route="home"] .hg-desktop-listing-body strong {
    color: #172033;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.22;
  }

  body[data-route="home"] .hg-desktop-price {
    color: #087849;
    font-size: 1.02rem;
    font-weight: 900;
  }

  body[data-route="home"] .hg-desktop-location {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 720;
  }

  body[data-route="home"] .hg-desktop-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(222, 235, 228, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #172033;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
    cursor: pointer;
  }

  body[data-route="home"] .hg-desktop-favorite svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  body[data-route="home"] .topbar {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    padding-inline: 24px;
  }

  body[data-route="home"] .hg-home {
    padding-inline: 24px;
  }

  body[data-route="home"] .hg-desktop-search-card {
    grid-template-columns: 1fr 1fr;
  }

  body[data-route="home"] .hg-desktop-search-main {
    grid-column: 1 / -1;
  }

  body[data-route="home"] .hg-desktop-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Desktop visual header with categories v19 */
@media (min-width: 769px) {
  body[data-route="home"] .hg-desktop-discovery {
    gap: 30px;
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(210, 226, 218, 0.95);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 22px 56px rgba(16, 24, 40, 0.075);
    isolation: isolate;
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
  }

  body[data-route="home"] .hg-desktop-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 31%, rgba(255,255,255,0.56) 53%, rgba(255,255,255,0.06) 76%),
      linear-gradient(0deg, rgba(255,255,255,0.48), rgba(255,255,255,0));
    pointer-events: none;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 560px;
    padding: 38px 44px 34px;
  }

  body[data-route="home"] .hg-desktop-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #d8e8df;
    border-radius: 999px;
    background: rgba(255,255,255,0.86);
    color: #075f3c;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.045);
    backdrop-filter: blur(14px);
  }

  body[data-route="home"] .hg-desktop-hero-badge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 660px;
    margin: 2px 0 0;
    color: #064f33;
    font-size: clamp(3.5rem, 5.25vw, 5.8rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 0.96;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 span {
    display: block;
    color: #087849;
  }

  body[data-route="home"] .hg-desktop-hero-content > p {
    max-width: 520px;
    margin: -2px 0 6px;
    color: #3f4a5c;
    font-size: 1.15rem;
    font-weight: 780;
    line-height: 1.45;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1120px);
    margin-top: auto;
    grid-template-columns: minmax(300px, 1.5fr) minmax(190px, 0.75fr) minmax(180px, 0.7fr) minmax(210px, 0.75fr);
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.11);
    backdrop-filter: blur(18px);
  }

  body[data-route="home"] .hg-desktop-category-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 1120px);
    margin-top: -4px;
  }

  body[data-route="home"] .hg-desktop-category-tile {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 7px;
    min-height: 92px;
    padding: 12px 8px;
    border: 1px solid #e1ece6;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #172033;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.06);
    backdrop-filter: blur(12px);
  }

  body[data-route="home"] .hg-desktop-category-tile span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #087849;
  }

  body[data-route="home"] .hg-desktop-category-tile svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-route="home"] .hg-desktop-category-tile strong {
    max-width: 100%;
    color: #172033;
    font-size: 0.82rem;
    line-height: 1.12;
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body[data-route="home"] .hg-desktop-hero-panel {
    min-height: 590px;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 590px;
    padding: 32px 30px 28px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 560px;
    font-size: clamp(3rem, 5vw, 4.6rem);
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    grid-template-columns: 1fr 1fr;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-main {
    grid-column: 1 / -1;
  }

  body[data-route="home"] .hg-desktop-category-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Desktop compact slogan header v20 */
@media (min-width: 769px) {
  body[data-route="home"] .hg-home {
    padding-top: 16px;
  }

  body[data-route="home"] .hg-desktop-discovery {
    gap: 22px;
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    min-height: 430px;
    border-radius: 26px;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    gap: 12px;
    min-height: 430px;
    padding: 28px 36px 26px;
  }

  body[data-route="home"] .hg-desktop-hero-badge {
    min-height: 32px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  body[data-route="home"] .hg-desktop-hero-badge svg {
    width: 16px;
    height: 16px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 560px;
    font-size: clamp(2.75rem, 4vw, 4.25rem);
    letter-spacing: -0.04em;
    line-height: 0.98;
  }

  body[data-route="home"] .hg-desktop-hero-content > p {
    max-width: 520px;
    margin: 0 0 2px;
    font-size: 1rem;
    line-height: 1.38;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1040px);
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
  }

  body[data-route="home"] .hg-desktop-search-main {
    gap: 6px;
  }

  body[data-route="home"] .hg-desktop-search-main > span {
    font-size: 0.78rem;
  }

  body[data-route="home"] .hg-desktop-search-main div,
  body[data-route="home"] .hg-desktop-search-pill,
  body[data-route="home"] .hg-desktop-search-submit {
    min-height: 48px;
    border-radius: 15px;
  }

  body[data-route="home"] .hg-desktop-search-main input {
    font-size: 0.95rem;
  }

  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1040px);
    gap: 9px;
    margin-top: -2px;
  }

  body[data-route="home"] .hg-desktop-category-tile {
    min-height: 72px;
    gap: 5px;
    padding: 9px 7px;
    border-radius: 14px;
  }

  body[data-route="home"] .hg-desktop-category-tile span {
    width: 22px;
    height: 22px;
  }

  body[data-route="home"] .hg-desktop-category-tile svg {
    width: 19px;
    height: 19px;
  }

  body[data-route="home"] .hg-desktop-category-tile strong {
    font-size: 0.72rem;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body[data-route="home"] .hg-desktop-hero-panel {
    min-height: 500px;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 500px;
    padding: 26px 26px 24px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 480px;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
  }
}

/* Desktop homepage refinement v22 */
@media (min-width: 769px) {
  body[data-route="home"] .hg-desktop-hero-shade {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 27%, rgba(255,255,255,0.42) 48%, rgba(255,255,255,0.02) 71%),
      linear-gradient(0deg, rgba(255,255,255,0.24), rgba(255,255,255,0));
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    filter: saturate(1.08) contrast(1.04);
  }

  body[data-route="home"] .hg-desktop-category-row {
    gap: 10px;
  }

  body[data-route="home"] .hg-desktop-category-tile {
    min-height: 72px;
    gap: 6px;
    padding: 9px 8px;
  }

  body[data-route="home"] .hg-desktop-category-tile span {
    width: 25px;
    height: 25px;
  }

  body[data-route="home"] .hg-desktop-category-tile svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.22;
  }

  body[data-route="home"] .hg-desktop-category-tile strong {
    font-size: 0.78rem;
    line-height: 1.08;
  }

  body[data-route="home"] .hg-desktop-feed {
    gap: 16px;
    justify-items: center;
  }

  body[data-route="home"] .hg-desktop-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    justify-self: center;
    gap: 4px;
    width: auto;
    padding: 4px;
    border: 1px solid #dfe9e4;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  }

  body[data-route="home"] .hg-desktop-tabs button {
    min-height: 42px;
    border-radius: 999px;
    padding: 0 24px;
    color: #667085;
    font-size: 0.96rem;
  }

  body[data-route="home"] .hg-desktop-tabs button.is-active {
    background: #087849;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(6, 122, 70, 0.18);
  }

  body[data-route="home"] .hg-desktop-tabs button.is-active::after {
    display: none;
  }

  body[data-route="home"] .hg-desktop-feed-panel {
    width: 100%;
  }
}

/* Marketplace navigation update v23 */
@media (min-width: 769px) {
  .topbar {
    grid-template-columns: 172px minmax(0, 1fr) auto;
  }

  .desktop-main-nav {
    gap: 10px;
  }

  .top-discover-menu {
    position: relative;
    display: inline-flex;
  }

  .top-discover-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 16px;
  }

  .desktop-main-nav .top-discover-button {
    min-width: 150px;
    padding: 0 17px;
    border-radius: 15px;
  }

  .top-discover-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    display: grid;
    min-width: 260px;
    padding: 8px;
    border: 1px solid #dfe9e4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 46px rgba(16, 24, 40, 0.13);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 140ms ease, transform 140ms ease;
  }

  .top-discover-menu:hover .top-discover-dropdown,
  .top-discover-menu:focus-within .top-discover-dropdown,
  .top-discover-menu.is-open .top-discover-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .desktop-main-nav .top-discover-dropdown button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 40px;
    width: 100%;
    border-radius: 12px;
    padding: 0 12px;
    color: #172033;
    font-size: 0.91rem;
    font-weight: 820;
    text-align: left;
  }

  .desktop-main-nav .top-discover-dropdown button:hover,
  .desktop-main-nav .top-discover-dropdown button:focus-visible {
    background: #eef8f2;
    color: #087849;
    outline: 0;
  }

  .listing-cta-button {
    min-height: 42px;
    border-radius: 13px;
    padding: 0 18px;
    font-weight: 900;
    box-shadow: 0 9px 22px rgba(6, 122, 70, 0.17);
  }

  .is-public-visitor #notificationButton,
  .is-public-visitor #messageButton,
  .is-public-visitor #accountButton {
    display: none;
  }

  .is-signed-in .listing-cta-button {
    display: inline-flex;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    padding-top: 36px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    margin-top: 4px;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .desktop-main-nav .top-discover-button {
    min-width: 136px;
    padding-inline: 14px;
  }

  .desktop-main-nav {
    gap: 6px;
  }

  .desktop-main-nav > button {
    padding-inline: 8px;
  }

  .listing-cta-button {
    padding-inline: 13px;
  }
}

/* Compact homepage expansion v25 */
body[data-route="home"] .hg-home-below {
  display: grid;
  gap: 22px;
}

body[data-route="home"] .hg-home-section,
body[data-route="home"] .hg-home-rent-cta {
  border: 1px solid #dfe9e4;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.055);
}

body[data-route="home"] .hg-home-section {
  display: grid;
  gap: 18px;
  padding: 22px;
}

body[data-route="home"] .hg-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

body[data-route="home"] .hg-home-section-head.compact {
  align-items: start;
}

body[data-route="home"] .hg-home-section-head h2,
body[data-route="home"] .hg-home-rent-cta h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

body[data-route="home"] .hg-section-kicker {
  margin: 0 0 5px;
  color: #087849;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-route="home"] .hg-feed-footer {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

body[data-route="home"] .hg-home-empty {
  padding: 22px;
  border: 1px dashed #cfe0d7;
  border-radius: 18px;
  background: #f6fbf8;
  color: #667085;
  font-weight: 750;
  text-align: center;
}

body[data-route="home"] .hg-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-route="home"] .hg-home-category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #dfe9e4;
  border-radius: 18px;
  background: #fbfefc;
  color: #172033;
  text-align: left;
  cursor: pointer;
}

body[data-route="home"] .hg-home-category-card span,
body[data-route="home"] .hg-home-trust-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #eef8f2;
  color: #087849;
}

body[data-route="home"] .hg-home-category-card svg,
body[data-route="home"] .hg-home-trust-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-route="home"] .hg-home-category-card strong {
  font-size: 0.95rem;
  font-weight: 880;
  line-height: 1.15;
}

body[data-route="home"] .hg-home-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-route="home"] .hg-home-route-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dfe9e4;
  border-radius: 20px;
  background: #fbfefc;
}

body[data-route="home"] .hg-home-route-card h3 {
  margin: 0;
  color: #172033;
  font-size: 1.08rem;
  font-weight: 900;
}

body[data-route="home"] .hg-home-route-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-route="home"] .hg-home-route-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

body[data-route="home"] .hg-home-route-card li > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #087849;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

body[data-route="home"] .hg-home-route-card strong,
body[data-route="home"] .hg-home-safety-grid strong {
  display: block;
  color: #172033;
  font-size: 0.91rem;
  font-weight: 880;
}

body[data-route="home"] .hg-home-route-card p,
body[data-route="home"] .hg-home-trust-card p,
body[data-route="home"] .hg-home-safety-grid p,
body[data-route="home"] .hg-home-rent-cta p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
}

body[data-route="home"] .hg-primary-mini,
body[data-route="home"] .hg-secondary-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 14px;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

body[data-route="home"] .hg-primary-mini {
  border: 1px solid #087849;
  background: #087849;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(6, 122, 70, 0.16);
}

body[data-route="home"] .hg-secondary-mini {
  border: 1px solid #d7e5dd;
  background: #ffffff;
  color: #087849;
}

body[data-route="home"] .hg-primary-mini svg,
body[data-route="home"] .hg-secondary-mini svg,
body[data-route="home"] .hg-link-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-route="home"] .hg-home-trust-grid,
body[data-route="home"] .hg-home-safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-route="home"] .hg-home-trust-card,
body[data-route="home"] .hg-home-safety-grid article {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dfe9e4;
  border-radius: 18px;
  background: #fbfefc;
}

body[data-route="home"] .hg-home-trust-card {
  display: grid;
  gap: 10px;
}

body[data-route="home"] .hg-home-trust-card strong {
  color: #172033;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

body[data-route="home"] .hg-home-rent-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(238, 248, 242, 0.94), rgba(255,255,255,0.98)),
    #ffffff;
}

body[data-route="home"] .hg-home-rent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-route="home"] .hg-home-extra-grid {
  gap: 14px;
}

body[data-route="home"] .hg-home-faq-list,
.hg-help-list {
  display: grid;
  gap: 8px;
}

body[data-route="home"] .hg-home-faq-list details,
.hg-help-item {
  border: 1px solid #dfe9e4;
  border-radius: 16px;
  background: #fbfefc;
  overflow: hidden;
}

body[data-route="home"] .hg-home-faq-list summary,
.hg-help-item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #172033;
  font-weight: 900;
}

body[data-route="home"] .hg-home-faq-list p,
.hg-help-item p {
  margin: 0;
  padding: 0 16px 14px;
  color: #667085;
  font-weight: 650;
  line-height: 1.48;
}

.hg-info-page {
  display: grid;
  gap: 22px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.hg-info-hero,
.hg-info-card,
.hg-info-note {
  border: 1px solid #dfe9e4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.055);
}

.hg-info-hero {
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(238, 248, 242, 0.9), rgba(255,255,255,0.98)),
    #ffffff;
}

.hg-info-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #064f33;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.03;
}

.hg-info-hero p,
.hg-info-card p,
.hg-info-note {
  color: #667085;
  font-weight: 680;
  line-height: 1.55;
}

.hg-info-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: start;
}

.hg-info-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #dfe9e4;
  border-radius: 20px;
  background: #ffffff;
}

.hg-info-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #2f3b4f;
  font-size: 0.9rem;
  font-weight: 820;
  text-decoration: none;
}

.hg-info-nav a:hover,
.hg-info-nav a:focus-visible {
  background: #eef8f2;
  color: #087849;
}

.hg-info-content,
.hg-safety-page-grid {
  display: grid;
  gap: 14px;
}

.hg-safety-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-info-card {
  padding: 20px;
}

.hg-info-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #eef8f2;
  color: #087849;
}

.hg-info-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-info-card h2 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 1.2rem;
  font-weight: 900;
}

.hg-info-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-info-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: #344054;
  font-weight: 700;
}

.hg-info-card li svg {
  width: 18px;
  height: 18px;
  color: #087849;
}

.hg-info-note {
  padding: 16px 18px;
  background: #fffaf0;
  color: #7a4d12;
}

.hg-support-band.compact {
  margin: 0;
  padding: 20px;
}

/* Homepage refinement v26 */
body[data-route="home"] .hg-home-moment-section {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(238, 248, 242, 0.92), rgba(255, 255, 255, 0.98)),
    #f5fbf7;
  border: 1px solid #dcebe3;
}

body[data-route="home"] .hg-home-moment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-route="home"] .hg-home-moment-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid rgba(6, 79, 51, 0.10);
  border-radius: 22px;
  background: #102018;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}

body[data-route="home"] .hg-home-moment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 180ms ease, opacity 180ms ease;
}

body[data-route="home"] .hg-home-moment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(5, 20, 15, 0.82));
}

body[data-route="home"] .hg-home-moment-card span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
}

body[data-route="home"] .hg-home-moment-card strong {
  font-size: 1.02rem;
  font-weight: 930;
  line-height: 1.1;
}

body[data-route="home"] .hg-home-moment-card small {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

body[data-route="home"] .hg-home-moment-card:hover img,
body[data-route="home"] .hg-home-moment-card:focus-visible img {
  transform: scale(1.035);
  opacity: 0.88;
}

body[data-route="home"] .hg-home-how-split {
  background: #ffffff;
}

body[data-route="home"] .hg-home-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-route="home"] .hg-home-how-grid .hg-home-route-card {
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

body[data-route="home"] .hg-home-route-card > img {
  grid-row: 1 / span 3;
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  border-radius: 16px;
}

body[data-route="home"] .hg-home-human-trust {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 16%, rgba(34, 197, 94, 0.22), transparent 34%),
    linear-gradient(135deg, #063f2b, #08291f);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 79, 51, 0.16);
}

body[data-route="home"] .hg-home-human-trust img {
  width: 100%;
  min-height: 260px;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

body[data-route="home"] .hg-home-human-trust > div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

body[data-route="home"] .hg-home-human-trust .hg-section-kicker {
  color: #a7f3c4;
}

body[data-route="home"] .hg-home-human-trust h2 {
  margin: 0;
  max-width: 580px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

body[data-route="home"] .hg-home-human-trust p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 720;
  line-height: 1.5;
}

body[data-route="home"] .hg-home-human-trust .hg-secondary-mini {
  justify-self: start;
  background: #ffffff;
  color: #067a46;
}

body[data-route="home"] .hg-home-safety-compact {
  background:
    linear-gradient(135deg, rgba(238, 248, 242, 0.98), rgba(255, 255, 255, 0.98)),
    #f5fbf7;
}

body[data-route="home"] .hg-home-local-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid #dcebe3;
  border-radius: 24px;
  background: #f8fcfa;
}

body[data-route="home"] .hg-home-local-strip h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
  font-weight: 920;
  line-height: 1.15;
}

body[data-route="home"] .hg-home-place-chips {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-route="home"] .hg-home-place-chips button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfe0d7;
  border-radius: 999px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

body[data-route="home"] .hg-home-place-chips button:hover,
body[data-route="home"] .hg-home-place-chips button:focus-visible {
  border-color: #087849;
  color: #087849;
}

body[data-route="home"] .hg-home-rent-cta {
  grid-template-columns: minmax(0, 1fr) 210px auto;
}

body[data-route="home"] .hg-home-rent-cta > img {
  width: 210px;
  height: 126px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #dcebe3;
}

body[data-route="home"] .hg-home-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.8fr);
  gap: 22px;
  padding: 24px;
  border-radius: 24px;
  background: #0b1f18;
  color: #ffffff;
}

body[data-route="home"] .hg-home-footer-brand {
  display: grid;
  align-content: start;
  gap: 8px;
}

body[data-route="home"] .hg-home-footer-brand strong {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
}

body[data-route="home"] .hg-home-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

body[data-route="home"] .hg-home-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-route="home"] .hg-home-footer h3 {
  margin: 0 0 8px;
  color: #a7f3c4;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-route="home"] .hg-home-footer button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}

body[data-route="home"] .hg-home-footer button:hover,
body[data-route="home"] .hg-home-footer button:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 1101px) {
  body[data-route="home"] .hg-desktop-feed .hg-desktop-listing-card:nth-child(n+9),
  body[data-route="home"] .hg-home-extra-grid .hg-desktop-listing-card:nth-child(n+9) {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  body[data-route="home"] .hg-desktop-feed .hg-desktop-listing-card:nth-child(n+7),
  body[data-route="home"] .hg-home-extra-grid .hg-desktop-listing-card:nth-child(n+7) {
    display: none;
  }

  body[data-route="home"] .hg-home-category-grid,
  body[data-route="home"] .hg-home-moment-grid,
  body[data-route="home"] .hg-home-how-grid,
  body[data-route="home"] .hg-home-trust-grid,
  body[data-route="home"] .hg-home-safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="home"] .hg-home-human-trust,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-footer {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-place-chips {
    justify-content: flex-start;
  }

  body[data-route="home"] .hg-home-rent-cta {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-rent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .hg-home-below {
    gap: 14px;
    padding-top: 8px;
  }

  body[data-route="home"] .hg-home-section,
  body[data-route="home"] .hg-home-rent-cta {
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.045);
  }

  body[data-route="home"] .hg-home-section {
    gap: 14px;
    padding: 16px;
  }

  body[data-route="home"] .hg-home-section-head {
    align-items: start;
  }

  body[data-route="home"] .hg-home-section-head,
  body[data-route="home"] .hg-home-rent-cta,
  body[data-route="home"] .hg-home-rent-actions {
    display: grid;
    justify-content: stretch;
  }

  body[data-route="home"] .hg-home-section-head h2,
  body[data-route="home"] .hg-home-rent-cta h2 {
    font-size: 1.18rem;
  }

  body[data-route="home"] .hg-home-category-grid,
  body[data-route="home"] .hg-home-moment-grid,
  body[data-route="home"] .hg-home-how-grid,
  body[data-route="home"] .hg-home-routes-grid,
  body[data-route="home"] .hg-home-trust-grid,
  body[data-route="home"] .hg-home-safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-route="home"] .hg-home-moment-section,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-footer {
    padding: 16px;
    border-radius: 20px;
  }

  body[data-route="home"] .hg-home-moment-card {
    min-height: 142px;
    padding: 13px;
    border-radius: 18px;
  }

  body[data-route="home"] .hg-home-moment-card strong {
    font-size: 0.92rem;
  }

  body[data-route="home"] .hg-home-moment-card small {
    font-size: 0.76rem;
  }

  body[data-route="home"] .hg-home-how-grid .hg-home-route-card {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-route-card > img {
    grid-row: auto;
    min-height: 118px;
    height: 118px;
  }

  body[data-route="home"] .hg-home-human-trust,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-footer,
  body[data-route="home"] .hg-home-footer-columns {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-human-trust {
    border-radius: 22px;
  }

  body[data-route="home"] .hg-home-human-trust img {
    min-height: 170px;
    max-height: 220px;
  }

  body[data-route="home"] .hg-home-human-trust > div {
    padding: 18px;
  }

  body[data-route="home"] .hg-home-place-chips {
    justify-content: flex-start;
  }

  body[data-route="home"] .hg-home-rent-cta > img {
    width: 100%;
    height: 140px;
  }

  body[data-route="home"] .hg-home-category-card {
    min-height: 58px;
    padding: 10px;
  }

  body[data-route="home"] .hg-home-category-card span,
  body[data-route="home"] .hg-home-trust-card > span {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }

  body[data-route="home"] .hg-home-route-card,
  body[data-route="home"] .hg-home-trust-card,
  body[data-route="home"] .hg-home-safety-grid article {
    padding: 13px;
    border-radius: 16px;
  }

  body[data-route="home"] .hg-home-route-card ol {
    gap: 8px;
  }

  body[data-route="home"] .hg-home-route-card li {
    grid-template-columns: 24px 1fr;
    gap: 8px;
  }

  body[data-route="home"] .hg-home-route-card li > span {
    width: 24px;
    height: 24px;
  }

  body[data-route="home"] .hg-home-extra-grid .hg-mobile-listing-card:nth-child(n+5) {
    display: none;
  }

  .hg-info-page {
    width: min(100% - 24px, 680px);
    gap: 14px;
    padding: 16px 0 92px;
  }

  .hg-info-hero,
  .hg-info-card {
    border-radius: 20px;
    padding: 18px;
  }

  .hg-info-layout,
  .hg-safety-page-grid {
    grid-template-columns: 1fr;
  }

  .hg-info-nav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hg-info-nav::-webkit-scrollbar {
    display: none;
  }
}

/* Homepage polish v27 */
body[data-route="home"] {
  min-height: auto;
}

body[data-route="home"] .app-shell {
  min-height: auto;
}

body[data-route="home"] .hg-home {
  padding-bottom: 18px;
}

body[data-route="home"] .hg-home-below {
  gap: 22px;
  padding-bottom: 0;
}

body[data-route="home"] .hg-home-faq {
  margin-bottom: 8px;
}

body[data-route="home"] .hg-home-faq + .hg-home-footer {
  margin-top: 10px;
}

body[data-route="home"] .hg-home-section,
body[data-route="home"] .hg-home-extra-grid {
  min-height: 0;
  height: auto;
}

body[data-route="home"] .hg-home-extra-grid {
  align-items: start;
}

body[data-route="home"] .hg-home-dynamic-grid .hg-mobile-listing-card:nth-child(n+5):nth-child(-n+6) {
  display: block;
}

body[data-route="home"] .hg-home-dynamic-grid .hg-mobile-listing-card:nth-child(n+7) {
  display: none;
}

body[data-route="home"] .hg-home-recent-grid .hg-mobile-listing-card:nth-child(n+5) {
  display: none;
}

body[data-route="home"] .hg-home-how-split,
body[data-route="home"] .hg-home-faq {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding-inline: 2px;
}

body[data-route="home"] .hg-home-safety-compact {
  box-shadow: none;
}

body[data-route="home"] .hg-home-rent-cta {
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

body[data-route="home"] .hg-home-route-card > img,
body[data-route="home"] .hg-home-rent-cta > img {
  filter: saturate(0.94) contrast(0.99);
}

body[data-route="home"] .hg-home-local-strip {
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.35fr);
  background:
    radial-gradient(circle at 95% 20%, rgba(8, 120, 73, 0.09), transparent 34%),
    linear-gradient(135deg, #f3faf6, #ffffff);
  box-shadow: none;
}

body[data-route="home"] .hg-home-local-copy {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 54px;
}

body[data-route="home"] .hg-home-local-copy p:not(.hg-section-kicker) {
  max-width: 36ch;
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 690;
  line-height: 1.45;
}

body[data-route="home"] .hg-home-local-icon {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d5e7de;
  border-radius: 15px;
  background: #ffffff;
  color: #087849;
}

body[data-route="home"] .hg-home-local-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
}

body[data-route="home"] .hg-home-local-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

body[data-route="home"] .hg-home-local-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-route="home"] .hg-home-local-buttons .hg-secondary-mini {
  min-height: 38px;
  padding-inline: 13px;
  border-radius: 999px;
  box-shadow: none;
}

body[data-route="home"] .hg-home-faq-list {
  gap: 10px;
}

body[data-route="home"] .hg-home-faq-list details {
  border-color: #dfe9e4;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body[data-route="home"] .hg-home-faq-list details[open] {
  border-color: #b9dcc9;
  background: #fbfefc;
}

body[data-route="home"] .hg-home-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 15px 16px;
  list-style: none;
}

body[data-route="home"] .hg-home-faq-list summary::-webkit-details-marker {
  display: none;
}

body[data-route="home"] .hg-home-faq-list summary svg {
  justify-self: end;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #087849;
  stroke-width: 2.3;
  transition: transform 160ms ease;
}

body[data-route="home"] .hg-home-faq-list details[open] summary svg {
  transform: rotate(90deg);
}

body[data-route="home"] .hg-home-faq-list summary:hover,
body[data-route="home"] .hg-home-faq-list summary:focus-visible {
  color: #087849;
  outline: 0;
}

body[data-route="home"] .hg-home-faq-list p {
  padding: 0 16px 16px;
  animation: hgFaqReveal 150ms ease;
}

@keyframes hgFaqReveal {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-route="home"] .hg-home-footer {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.55fr);
  margin-bottom: 0;
  border-radius: 24px 24px 10px 10px;
  box-shadow: none;
}

body[data-route="home"] .hg-home-footer-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-route="home"] .hg-home-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

body[data-route="home"] .hg-home-footer-bottom button {
  width: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

@media (min-width: 769px) {
  body[data-route="home"] .hg-home-below {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  body[data-route="home"] .hg-home {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  body[data-route="home"] .hg-home-below {
    gap: 16px;
  }

  body[data-route="home"] .hg-home-faq {
    margin-bottom: 8px;
  }

  body[data-route="home"] .hg-home-faq + .hg-home-footer {
    margin-top: 10px;
  }

  body[data-route="home"] .hg-home-how-split,
  body[data-route="home"] .hg-home-faq {
    padding-inline: 0;
  }

  body[data-route="home"] .hg-home-local-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-route="home"] .hg-home-local-copy {
    padding-left: 48px;
  }

  body[data-route="home"] .hg-home-local-actions {
    justify-items: stretch;
  }

  body[data-route="home"] .hg-home-local-buttons,
  body[data-route="home"] .hg-home-place-chips {
    justify-content: flex-start;
  }

  body[data-route="home"] .hg-home-local-buttons .hg-secondary-mini,
  body[data-route="home"] .hg-home-local-buttons .hg-link-button {
    width: 100%;
  }

  body[data-route="home"] .hg-home-faq-list summary {
    min-height: 54px;
    padding: 14px;
  }

  body[data-route="home"] .hg-home-faq-list p {
    padding: 0 14px 15px;
  }

  body[data-route="home"] .hg-home-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 0;
  }

  body[data-route="home"] .hg-home-footer-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Safety page refinement v1 */
.hg-safety-page {
  width: min(1180px, calc(100% - 32px));
  gap: 30px;
  padding: 28px 0 46px;
}

.hg-safety-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dbe9e2;
  border-radius: 30px;
  background:
    radial-gradient(circle at 7% 16%, rgba(8, 120, 73, 0.08), transparent 34%),
    linear-gradient(135deg, #f3faf6 0%, #ffffff 58%);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.06);
}

.hg-safety-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(26px, 5vw, 52px);
}

.hg-safety-hero-copy h1,
.hg-safety-process h2,
.hg-safety-topic-section h2,
.hg-safety-claim-flow h2,
.hg-safety-human-support h2 {
  margin: 0;
  color: #073f2b;
  letter-spacing: -0.015em;
}

.hg-safety-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
  font-weight: 950;
  line-height: 0.98;
}

.hg-safety-hero-copy > p:not(.hg-section-kicker) {
  max-width: 650px;
  margin: 0;
  color: #4c596d;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 720;
  line-height: 1.55;
}

.hg-safety-trust-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hg-safety-trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #cfe5d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #075f3d;
  font-size: 0.88rem;
  font-weight: 850;
}

.hg-safety-trust-points svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
}

.hg-safety-hero-actions,
.hg-safety-support-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hg-safety-hero-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.hg-safety-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(243, 250, 246, 0.22), transparent 36%);
  pointer-events: none;
}

.hg-safety-hero-media img,
.hg-safety-human-support img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hg-safety-process,
.hg-safety-topic-section,
.hg-safety-claim-flow,
.hg-safety-human-support {
  border-radius: 28px;
}

.hg-safety-process {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid #dcebe3;
  background: #f3faf6;
}

.hg-section-heading.compact {
  display: grid;
  gap: 6px;
}

.hg-section-heading.compact h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 930;
}

.hg-safety-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hg-safety-process-step {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(8, 120, 73, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.hg-safety-step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef8f2;
  color: #087849;
  font-weight: 930;
}

.hg-safety-step-icon,
.hg-safety-topic-card > span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #cfe5d8;
  border-radius: 17px;
  background: #f5fbf7;
  color: #087849;
}

.hg-safety-step-icon svg,
.hg-safety-topic-card > span svg,
.hg-safety-human-support .hg-section-kicker + h2 + p + .hg-safety-support-actions svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hg-safety-step-icon svg,
.hg-safety-topic-card > span svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
}

.hg-safety-process-step h3,
.hg-safety-topic-card h3,
.hg-safety-claim-steps h3 {
  margin: 0;
  color: #172033;
  font-size: 1.06rem;
  font-weight: 910;
}

.hg-safety-process-step ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #536176;
  font-size: 0.93rem;
  font-weight: 720;
  line-height: 1.4;
}

.hg-safety-topic-section {
  display: grid;
  gap: 16px;
  padding: 4px 2px;
}

.hg-safety-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hg-safety-topic-card {
  display: grid;
  gap: 11px;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border: 1px solid #dfe9e4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.hg-safety-topic-card p {
  margin: 0;
  color: #5f6b7d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.52;
}

.hg-safety-topic-card .hg-card-link {
  width: max-content;
  margin-top: 4px;
}

.hg-safety-claim-flow {
  display: grid;
  gap: 17px;
  padding: 26px;
  border: 1px solid #dcebe3;
  background:
    radial-gradient(circle at 95% 12%, rgba(8, 120, 73, 0.10), transparent 30%),
    #ffffff;
}

.hg-safety-claim-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hg-safety-claim-steps article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e0e9e4;
  border-radius: 18px;
  background: #fbfefc;
}

.hg-safety-claim-steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #087849;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 930;
}

.hg-safety-claim-steps p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.hg-safety-human-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dcebe3;
  background: #073f2b;
  color: #ffffff;
}

.hg-safety-human-support > div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 38px);
}

.hg-safety-human-support .hg-section-kicker,
.hg-safety-human-support h2,
.hg-safety-human-support p {
  color: #ffffff;
}

.hg-safety-human-support .hg-section-kicker {
  opacity: 0.82;
}

.hg-safety-human-support h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 930;
}

.hg-safety-human-support p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.56;
}

.hg-safety-human-support img {
  min-height: 290px;
  filter: saturate(0.92) contrast(0.98);
}

.hg-safety-human-support .hg-secondary-mini {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 900px) {
  .hg-safety-hero,
  .hg-safety-human-support {
    grid-template-columns: 1fr;
  }

  .hg-safety-hero-media {
    min-height: 300px;
    order: -1;
  }

  .hg-safety-process-grid,
  .hg-safety-claim-steps {
    grid-template-columns: 1fr;
  }

  .hg-safety-process-step {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 14px;
  }

  .hg-safety-process-step h3,
  .hg-safety-process-step ul {
    grid-column: 2;
  }

  .hg-safety-step-number {
    top: 16px;
    right: 16px;
  }

  .hg-safety-human-support img {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .hg-safety-page {
    width: min(100% - 24px, 1180px);
    gap: 22px;
    padding-top: 18px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .hg-safety-hero {
    border-radius: 24px;
  }

  .hg-safety-hero-copy {
    padding: 22px;
  }

  .hg-safety-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3.05rem);
    line-height: 1.02;
  }

  .hg-safety-hero-media {
    min-height: 235px;
  }

  .hg-safety-trust-points {
    gap: 8px;
  }

  .hg-safety-trust-points span {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .hg-safety-hero-actions,
  .hg-safety-support-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-safety-hero-actions button,
  .hg-safety-support-actions button {
    width: 100%;
  }

  .hg-safety-process,
  .hg-safety-claim-flow {
    padding: 20px;
    border-radius: 22px;
  }

  .hg-safety-topic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hg-safety-topic-card {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }

  .hg-safety-claim-steps article {
    border-radius: 16px;
  }

  .hg-safety-human-support {
    border-radius: 22px;
  }

  .hg-safety-human-support > div {
    padding: 22px;
  }
}

/* Safety page trust redesign v2 */
body[data-route="safety"],
body[data-route="safetyDetail"] {
  background: #fbfdfb;
}

.hg-safety-page-v2,
.hg-safety-detail-page {
  width: min(1240px, calc(100% - 64px));
  gap: 76px;
  padding: 34px 0 0;
}

.hg-safety-page-v2 h1,
.hg-safety-page-v2 h2,
.hg-safety-page-v2 h3,
.hg-safety-detail-page h1,
.hg-safety-detail-page h2 {
  font-family: Manrope, Inter, system-ui, sans-serif;
}

.hg-safety-page-v2 p,
.hg-safety-page-v2 li,
.hg-safety-detail-page p,
.hg-safety-detail-page li {
  font-family: Manrope, Inter, system-ui, sans-serif;
}

.hg-safety-page-v2 .hg-safety-hero {
  min-height: 528px;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 0;
  border: 1px solid #dcebe3;
  border-radius: 28px;
  overflow: hidden;
  background: #f2faf5;
  box-shadow: none;
}

.hg-safety-page-v2 .hg-safety-hero-copy {
  align-content: center;
  gap: 18px;
  padding: clamp(40px, 4.4vw, 56px);
  background:
    radial-gradient(circle at 7% 12%, rgba(8, 120, 73, 0.10), transparent 35%),
    linear-gradient(135deg, #f0f8f3 0%, #ffffff 100%);
}

.hg-safety-page-v2 .hg-safety-hero-copy h1 {
  max-width: 580px;
  color: #073f2b;
  font-size: clamp(3.35rem, 4.45vw, 3.875rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hg-safety-page-v2 .hg-safety-hero-copy > p:not(.hg-section-kicker) {
  max-width: 560px;
  color: #344054;
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.62;
}

.hg-safety-page-v2 .hg-section-kicker,
.hg-safety-detail-page .hg-section-kicker {
  color: #087849;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hg-safety-page-v2 .hg-safety-trust-points {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 9px;
  margin-top: 2px;
}

.hg-safety-page-v2 .hg-safety-trust-points span {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #cfe5d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #075f3d;
  font-size: 0.84rem;
  font-weight: 760;
  white-space: nowrap;
}

.hg-safety-page-v2 .hg-safety-trust-points svg {
  width: 15px;
  height: 15px;
}

.hg-safety-primary-button,
.hg-safety-secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.hg-safety-primary-button {
  background: #087849;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 120, 73, 0.18);
}

.hg-safety-secondary-button {
  border-color: #cfe0d8;
  background: #ffffff;
  color: #172033;
}

.hg-safety-primary-button:hover,
.hg-safety-secondary-button:hover,
.hg-safety-primary-button:focus-visible,
.hg-safety-secondary-button:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.hg-safety-primary-button:hover,
.hg-safety-primary-button:focus-visible {
  background: #06683f;
}

.hg-safety-secondary-button:hover,
.hg-safety-secondary-button:focus-visible {
  border-color: #087849;
  color: #087849;
}

.hg-safety-page-v2 .hg-safety-hero-media {
  min-height: 528px;
  background: #e6efe9;
}

.hg-safety-page-v2 .hg-safety-hero-media::before {
  display: none;
}

.hg-safety-page-v2 .hg-safety-hero-media img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.hg-safety-page-v2 .hg-section-heading.compact {
  max-width: 760px;
  gap: 8px;
}

.hg-safety-page-v2 .hg-section-heading.compact h2 {
  color: #073f2b;
  font-size: clamp(2.1rem, 3.25vw, 2.625rem);
  font-weight: 930;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hg-safety-page-v2 .hg-section-heading.compact p {
  margin: 0;
  color: #536176;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.55;
}

.hg-safety-page-v2 .hg-safety-process {
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hg-safety-process-frame {
  position: relative;
  overflow: hidden;
  padding: 34px 32px;
  border: 1px solid #dcebe3;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(242, 250, 245, 0.92), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.hg-safety-process-line {
  position: absolute;
  top: 68px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b9dcc9 12%, #b9dcc9 88%, transparent);
}

.hg-safety-page-v2 .hg-safety-process-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hg-safety-page-v2 .hg-safety-process-step {
  display: grid;
  justify-items: start;
  gap: 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hg-safety-page-v2 .hg-safety-step-number {
  position: static;
  width: 42px;
  height: 42px;
  border: 2px solid #cfe5d8;
  background: #ffffff;
  color: #087849;
  font-size: 1rem;
}

.hg-safety-page-v2 .hg-safety-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #ffffff;
}

.hg-safety-page-v2 .hg-safety-step-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.hg-safety-page-v2 .hg-safety-process-step h3 {
  color: #172033;
  font-size: 1.18rem;
  font-weight: 910;
}

.hg-safety-page-v2 .hg-safety-process-step ul {
  gap: 9px;
  padding-left: 17px;
  color: #3f4c60;
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.5;
}

.hg-safety-page-v2 .hg-safety-topic-section {
  gap: 22px;
  padding: 0;
}

.hg-safety-page-v2 .hg-safety-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hg-safety-page-v2 .hg-safety-topic-card {
  min-height: 292px;
  display: grid;
  gap: 15px;
  align-content: start;
  padding: 30px;
  border: 0;
  border-radius: 26px;
  background: #f3faf6;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
}

.hg-safety-page-v2 .hg-safety-topic-card:nth-child(2),
.hg-safety-page-v2 .hg-safety-topic-card:nth-child(3) {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e0e9e4;
}

.hg-safety-page-v2 .hg-safety-topic-card:hover,
.hg-safety-page-v2 .hg-safety-topic-card:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px #a9d3bd, 0 14px 30px rgba(16, 24, 40, 0.055);
}

.hg-safety-page-v2 .hg-safety-topic-card > span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
}

.hg-safety-page-v2 .hg-safety-topic-card:nth-child(2) > span,
.hg-safety-page-v2 .hg-safety-topic-card:nth-child(3) > span {
  background: #f3faf6;
}

.hg-safety-page-v2 .hg-safety-topic-card h3 {
  color: #172033;
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  font-weight: 930;
  line-height: 1.15;
}

.hg-safety-page-v2 .hg-safety-topic-card p {
  color: #3f4c60;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.6;
}

.hg-safety-page-v2 .hg-safety-topic-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: auto;
  color: #087849;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
}

.hg-safety-page-v2 .hg-safety-topic-card strong svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
}

.hg-safety-page-v2 .hg-safety-claim-flow {
  gap: 26px;
  padding: 40px;
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 120, 73, 0.09), transparent 32%),
    #f7fbf8;
}

.hg-safety-page-v2 .hg-safety-claim-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hg-safety-page-v2 .hg-safety-claim-steps article {
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hg-safety-page-v2 .hg-safety-claim-steps span {
  width: 36px;
  height: 36px;
  background: #087849;
  font-size: 0.95rem;
}

.hg-safety-page-v2 .hg-safety-claim-steps h3 {
  font-size: 1.08rem;
  font-weight: 900;
}

.hg-safety-page-v2 .hg-safety-claim-steps p {
  color: #46546a;
  font-size: 0.96rem;
  font-weight: 560;
  line-height: 1.55;
}

.hg-safety-page-v2 .hg-safety-human-support {
  min-height: 350px;
  grid-template-columns: 60fr 40fr;
  gap: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #064f33;
  box-shadow: none;
}

.hg-safety-page-v2 .hg-safety-human-support > div {
  align-content: center;
  gap: 14px;
  padding: clamp(34px, 4.2vw, 50px);
}

.hg-safety-page-v2 .hg-safety-human-support h2 {
  max-width: 520px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-weight: 930;
  line-height: 1.08;
}

.hg-safety-page-v2 .hg-safety-human-support p:not(.hg-section-kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.6;
}

.hg-safety-page-v2 .hg-safety-human-support img {
  min-height: 350px;
  object-position: center;
  filter: saturate(0.94) contrast(0.99);
}

.hg-safety-primary-button.inverse {
  background: #ffffff;
  color: #064f33;
  box-shadow: none;
}

.hg-safety-secondary-button.inverse {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hg-safety-footer-wrap {
  margin-top: -12px;
}

.hg-safety-footer-wrap .hg-home-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.45fr);
  gap: 28px;
  margin: 0;
  padding: 28px;
  border-radius: 24px 24px 10px 10px;
  background: #062d20;
  color: #ffffff;
  box-shadow: none;
}

.hg-safety-footer-wrap .hg-home-footer-brand strong {
  color: #ffffff;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 950;
}

.hg-safety-footer-wrap .hg-home-footer p {
  max-width: 28ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.5;
}

.hg-safety-footer-wrap .hg-home-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hg-safety-footer-wrap .hg-home-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
}

.hg-safety-footer-wrap .hg-home-footer button {
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}

.hg-safety-footer-wrap .hg-home-footer button:hover,
.hg-safety-footer-wrap .hg-home-footer button:focus-visible {
  color: #ffffff;
  outline: 0;
}

.hg-safety-footer-wrap .hg-home-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.hg-safety-footer-wrap .hg-home-footer-bottom button {
  width: auto;
  padding: 0;
  font-size: 0.82rem;
}

.hg-safety-detail-page {
  padding-bottom: 0;
}

.hg-safety-detail-hero,
.hg-safety-detail-card {
  border: 1px solid #dcebe3;
  border-radius: 26px;
  background: #ffffff;
}

.hg-safety-detail-hero {
  display: grid;
  gap: 14px;
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 7% 12%, rgba(8, 120, 73, 0.09), transparent 34%),
    linear-gradient(135deg, #f2faf5, #ffffff);
}

.hg-safety-detail-hero > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #ffffff;
  color: #087849;
  border: 1px solid #cfe5d8;
}

.hg-safety-detail-hero > span svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

.hg-safety-detail-hero h1 {
  max-width: 740px;
  margin: 0;
  color: #073f2b;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 1.05;
}

.hg-safety-detail-hero p:not(.hg-section-kicker) {
  max-width: 780px;
  margin: 0;
  color: #46546a;
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.62;
}

.hg-safety-detail-card {
  padding: 28px;
}

.hg-safety-detail-card h2 {
  margin: 0 0 16px;
  color: #172033;
  font-size: 1.5rem;
}

.hg-safety-detail-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-safety-detail-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: #46546a;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.55;
}

.hg-safety-detail-card li svg {
  width: 20px;
  height: 20px;
  color: #087849;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
}

.hg-safety-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hg-safety-page-v2,
  .hg-safety-detail-page {
    width: min(100% - 40px, 1240px);
    gap: 54px;
  }

  .hg-safety-page-v2 .hg-safety-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hg-safety-page-v2 .hg-safety-hero-media {
    min-height: 260px;
    order: initial;
  }

  .hg-safety-page-v2 .hg-safety-trust-points {
    grid-template-columns: 1fr;
  }

  .hg-safety-process-line {
    top: 44px;
    bottom: 44px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, #b9dcc9 12%, #b9dcc9 88%, transparent);
  }

  .hg-safety-page-v2 .hg-safety-process-grid,
  .hg-safety-page-v2 .hg-safety-claim-steps {
    grid-template-columns: 1fr;
  }

  .hg-safety-page-v2 .hg-safety-process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
  }

  .hg-safety-page-v2 .hg-safety-step-number {
    grid-row: 1 / span 3;
  }

  .hg-safety-page-v2 .hg-safety-step-icon,
  .hg-safety-page-v2 .hg-safety-process-step h3,
  .hg-safety-page-v2 .hg-safety-process-step ul {
    grid-column: 2;
  }

  .hg-safety-page-v2 .hg-safety-topic-grid {
    grid-template-columns: 1fr;
  }

  .hg-safety-page-v2 .hg-safety-human-support {
    grid-template-columns: 1fr;
  }

  .hg-safety-page-v2 .hg-safety-human-support img {
    min-height: 240px;
    order: 2;
  }

  .hg-safety-footer-wrap .hg-home-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hg-safety-page-v2,
  .hg-safety-detail-page {
    width: min(100% - 24px, 1240px);
    gap: 38px;
    padding-top: 16px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .hg-safety-page-v2 .hg-safety-hero {
    border-radius: 22px;
  }

  .hg-safety-page-v2 .hg-safety-hero-copy {
    padding: 24px;
  }

  .hg-safety-page-v2 .hg-safety-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .hg-safety-page-v2 .hg-safety-hero-copy > p:not(.hg-section-kicker) {
    font-size: 0.98rem;
  }

  .hg-safety-page-v2 .hg-safety-hero-media {
    min-height: 236px;
  }

  .hg-safety-page-v2 .hg-safety-hero-actions,
  .hg-safety-page-v2 .hg-safety-support-actions,
  .hg-safety-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hg-safety-primary-button,
  .hg-safety-secondary-button {
    width: 100%;
  }

  .hg-safety-process-frame {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .hg-safety-page-v2 .hg-section-heading.compact h2 {
    font-size: clamp(1.75rem, 7vw, 2.1rem);
  }

  .hg-safety-page-v2 .hg-safety-topic-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .hg-safety-page-v2 .hg-safety-claim-flow {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .hg-safety-page-v2 .hg-safety-human-support {
    min-height: 0;
    border-radius: 22px;
  }

  .hg-safety-page-v2 .hg-safety-human-support > div {
    padding: 26px 22px;
  }

  .hg-safety-page-v2 .hg-safety-human-support h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .hg-safety-page-v2 .hg-safety-human-support img {
    min-height: 220px;
  }

  .hg-safety-footer-wrap {
    margin-top: 0;
  }

  .hg-safety-footer-wrap .hg-home-footer {
    padding: 24px 20px;
    border-radius: 22px 22px 10px 10px;
  }

  .hg-safety-footer-wrap .hg-home-footer-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .brand-cluster {
    min-width: max-content;
  }

  .top-actions {
    justify-self: end;
    width: auto;
    gap: 8px;
  }

  .top-actions .public-login-button {
    display: none;
  }

  .top-actions .listing-cta-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
    border-radius: 13px;
  }
}

body[data-route="howItWorks"] #app {
  padding-bottom: 0;
}

body[data-route="howItWorks"] {
  padding-bottom: 18px;
}

body[data-route="howItWorks"] .hg-how-page {
  padding-bottom: 0;
}

/* Desktop homepage hero photo match v24 */
@media (min-width: 769px) {
  body[data-route="home"] .hg-home {
    padding-top: 14px;
  }

  body[data-route="home"] .hg-desktop-discovery {
    gap: 24px;
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    min-height: 500px;
    border-radius: 28px;
    background: #f7fbf8;
    box-shadow: 0 20px 52px rgba(16, 24, 40, 0.075);
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    filter: saturate(1.12) contrast(1.06) brightness(1.01);
    object-position: 56% center;
  }

  body[data-route="home"] .hg-desktop-hero-shade {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 24%, rgba(255,255,255,0.66) 43%, rgba(255,255,255,0.18) 61%, rgba(255,255,255,0.02) 78%),
      linear-gradient(0deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  }

  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 500px;
    gap: 14px;
    padding: 42px 44px 30px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 520px;
    margin-top: 8px;
    color: #172033;
    font-size: clamp(3.45rem, 4.35vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 span {
    color: #087849;
  }

  body[data-route="home"] .hg-desktop-hero-content > p {
    max-width: 430px;
    color: #2f3a4b;
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.48;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1080px);
    grid-template-columns: minmax(320px, 1.48fr) minmax(210px, 0.8fr) minmax(200px, 0.76fr) minmax(220px, 0.82fr);
    gap: 12px;
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(218, 232, 224, 0.96);
    border-radius: 24px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
  }

  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1080px);
    gap: 10px;
    margin-top: -1px;
  }

  body[data-route="home"] .hg-desktop-category-tile {
    min-height: 74px;
    border-radius: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body[data-route="home"] .hg-desktop-hero-panel,
  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 540px;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    padding: 32px 28px 26px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 470px;
    font-size: clamp(2.8rem, 5vw, 3.7rem);
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    object-position: 62% center;
  }
}

/* Desktop full-width hero image v28 */
@media (min-width: 769px) {
  body[data-route="home"] .hg-home {
    padding: 0 0 18px;
  }

  body[data-route="home"] .hg-desktop-discovery {
    max-width: none;
    width: 100%;
    gap: 28px;
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    width: 100%;
    min-height: 540px;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    object-position: center center;
  }

  body[data-route="home"] .hg-desktop-hero-shade {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0.66) 38%, rgba(255,255,255,0.22) 58%, rgba(255,255,255,0.03) 76%),
      linear-gradient(0deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  }

  body[data-route="home"] .hg-desktop-hero-content {
    width: min(1280px, calc(100% - 72px));
    min-height: 540px;
    margin: 0 auto;
    padding: 46px 0 34px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 540px;
    font-size: clamp(3.6rem, 4.6vw, 5rem);
  }

  body[data-route="home"] .hg-desktop-hero-content > p {
    max-width: 430px;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card,
  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1120px);
  }

  body[data-route="home"] .hg-desktop-feed,
  body[data-route="home"] .hg-home-below {
    width: min(1280px, calc(100% - 72px));
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  body[data-route="home"] .hg-desktop-hero-panel,
  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 560px;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    width: min(100% - 48px, 1040px);
    padding-top: 34px;
    padding-bottom: 28px;
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    object-position: 58% center;
  }
}

/* True edge-to-edge desktop homepage hero v29 */
@media (min-width: 769px) {
  body[data-route="home"] {
    padding: 0;
  }

  body[data-route="home"] .app-shell {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-route="home"] .topbar {
    border-radius: 0;
  }

  body[data-route="home"] #app {
    overflow-x: clip;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    width: 100vw;
    min-height: 480px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 30px 30px;
  }

  body[data-route="home"] .hg-desktop-hero-panel > img {
    width: 100%;
    max-width: none;
    object-position: center center;
  }

  body[data-route="home"] .hg-desktop-hero-content {
    min-height: 480px;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 500px;
    font-size: clamp(3.1rem, 4vw, 4.45rem);
    line-height: 0.98;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1040px);
    padding: 14px;
    border-radius: 22px;
  }

  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1040px);
  }
}

/* Homepage hierarchy refinement v30 */
body[data-route="home"] .hg-home-below {
  gap: clamp(70px, 6vw, 92px);
}

body[data-route="home"] .hg-home-section-head,
body[data-route="home"] .hg-feed-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin: 0 0 24px;
}

body[data-route="home"] .hg-home-section-head > div,
body[data-route="home"] .hg-feed-section-head > div {
  max-width: 680px;
}

body[data-route="home"] .hg-home-section-head h2,
body[data-route="home"] .hg-feed-section-head h2,
body[data-route="home"] .hg-home-rent-cta h2 {
  margin: 0;
  color: #111827;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 2.55vw, 2.38rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

body[data-route="home"] .hg-home-section-head p:not(.hg-section-kicker),
body[data-route="home"] .hg-feed-section-head p,
body[data-route="home"] .hg-home-rent-cta p {
  margin: 10px 0 0;
  max-width: 620px;
  color: #5f6b7a;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

body[data-route="home"] .hg-section-kicker {
  margin: 0 0 9px;
  color: #087849;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-route="home"] .hg-link-button {
  white-space: nowrap;
}

body[data-route="home"] .hg-desktop-feed {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-feed-section-head {
  margin-bottom: 18px;
}

body[data-route="home"] .hg-desktop-tabs,
body[data-route="home"] .hg-mobile-tabs {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

body[data-route="home"] .hg-home-moment-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-moment-card strong,
body[data-route="home"] .hg-home-route-card h3,
body[data-route="home"] .hg-home-trust-card strong {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.2;
}

body[data-route="home"] .hg-home-how-split {
  padding: clamp(34px, 4vw, 48px);
  background: #eef8f3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-how-grid {
  align-items: stretch;
}

body[data-route="home"] .hg-home-how-grid .hg-home-route-card {
  min-height: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(200, 223, 211, 0.74);
  box-shadow: none;
}

body[data-route="home"] .hg-home-route-card > img {
  display: none;
}

body[data-route="home"] .hg-home-route-card ol {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

body[data-route="home"] .hg-home-route-card li {
  align-items: flex-start;
}

body[data-route="home"] .hg-home-safety-compact {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-trust-grid {
  gap: 14px;
}

body[data-route="home"] .hg-home-trust-card {
  border-color: rgba(205, 222, 213, 0.78);
  box-shadow: none;
}

body[data-route="home"] .hg-home-section:not(.hg-home-how-split):not(.hg-home-safety-compact):not(.hg-home-faq) {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-local-strip {
  padding: clamp(26px, 3vw, 38px);
  background: #eff8f3;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-rent-cta {
  align-items: center;
  padding: clamp(26px, 3.2vw, 42px);
  background: #fbf8f2;
  border-color: rgba(218, 205, 185, 0.58);
}

body[data-route="home"] .hg-home-rent-actions .hg-link-button {
  color: #087849;
}

body[data-route="home"] .hg-home-faq {
  padding: 0 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-footer {
  margin-top: 8px;
}

@media (max-width: 768px) {
  body[data-route="home"] .hg-home-below {
    gap: 54px;
  }

  body[data-route="home"] .hg-home-section-head,
  body[data-route="home"] .hg-feed-section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }

  body[data-route="home"] .hg-home-section-head h2,
  body[data-route="home"] .hg-feed-section-head h2,
  body[data-route="home"] .hg-home-rent-cta h2 {
    font-size: clamp(1.5rem, 7vw, 1.75rem);
    line-height: 1.12;
  }

  body[data-route="home"] .hg-home-section-head p:not(.hg-section-kicker),
  body[data-route="home"] .hg-feed-section-head p,
  body[data-route="home"] .hg-home-rent-cta p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  body[data-route="home"] .hg-link-button {
    justify-self: start;
    white-space: normal;
  }

  body[data-route="home"] .hg-mobile-feed {
    padding-top: 4px;
  }

  body[data-route="home"] .hg-mobile-tabs {
    width: 100%;
  }

  body[data-route="home"] .hg-home-how-split,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-rent-cta {
    padding: 22px;
    border-radius: 20px;
  }
}

/* Definitieve homepage productie-afwerking v32: laatste cascade */
@media (min-width: 769px) {
  body[data-route="home"] .topbar {
    width: min(1240px, calc(100% - 64px));
    max-width: 1240px;
    min-height: 76px;
    margin: 0 auto;
    border-bottom: 1px solid var(--hg-border);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
  }

  body[data-route="home"] .hg-desktop-discovery {
    width: 100%;
    max-width: none;
    gap: clamp(72px, 6vw, 96px);
  }

  body[data-route="home"] .hg-desktop-hero-panel {
    width: min(1240px, calc(100% - 64px));
    min-height: 520px;
    margin: 0 auto;
    border: 1px solid rgba(220, 231, 225, 0.78);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.07);
  }

  body[data-route="home"] .hg-desktop-hero-content {
    width: 100%;
    min-height: 520px;
    padding: 42px 44px 34px;
  }

  body[data-route="home"] .hg-desktop-hero-content h1 {
    max-width: 560px;
    font-size: clamp(3.6rem, 4.35vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  body[data-route="home"] .hg-desktop-hero-panel .hg-desktop-search-card {
    width: min(100%, 1120px);
    min-height: 82px;
    grid-template-columns: minmax(300px, 1.45fr) minmax(190px, 0.76fr) minmax(180px, 0.72fr) minmax(205px, 0.76fr);
  }

  body[data-route="home"] .hg-desktop-category-row {
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }

  body[data-route="home"] .hg-desktop-feed,
  body[data-route="home"] .hg-home-below {
    width: min(1240px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
  }
}

body[data-route="home"] .hg-desktop-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(11, 135, 84, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--hg-green-dark);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 850;
}

body[data-route="home"] .hg-home-section-head h2,
body[data-route="home"] .hg-feed-section-head h2,
body[data-route="home"] .hg-home-rent-cta h2 {
  color: var(--hg-text);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 2.7vw, 2.38rem);
  font-weight: 800;
  line-height: 1.1;
}

body[data-route="home"] .hg-desktop-tabs,
body[data-route="home"] .hg-mobile-tabs,
body[data-route="home"] .hg-home-how-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 4px;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 4px;
  border: 1px solid var(--hg-border);
  border-radius: 999px;
  background: #ffffff;
}

body[data-route="home"] .hg-desktop-tabs button.is-active,
body[data-route="home"] .hg-mobile-tabs button.is-active,
body[data-route="home"] .hg-home-how-tabs button.is-active {
  background: var(--hg-green);
  color: #ffffff;
}

body[data-route="home"] .hg-home-how-split {
  background: var(--hg-soft);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-route="home"] .hg-home-how-panel {
  display: none;
}

body[data-route="home"] .hg-home-how-panel.is-active {
  display: block;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card {
  display: grid;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card h3 {
  display: none;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body[data-route="home"] .hg-home-how-panel .hg-home-route-card li {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(220, 231, 225, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

body[data-route="home"] .hg-desktop-card-meta,
body[data-route="home"] .hg-mobile-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--hg-muted);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
}

body[data-route="home"] .hg-desktop-card-meta span,
body[data-route="home"] .hg-mobile-card-meta span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}

body[data-route="home"] .hg-desktop-card-meta svg,
body[data-route="home"] .hg-mobile-card-meta svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

body[data-route="home"] .hg-desktop-card-meta span:last-child svg,
body[data-route="home"] .hg-mobile-card-meta span:last-child svg {
  color: #f59e0b;
}

body[data-route="home"] .hg-desktop-listing-body strong,
body[data-route="home"] .hg-mobile-listing-body strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--hg-text);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 750;
  word-break: normal;
  overflow-wrap: break-word;
}

body[data-route="home"] .hg-home-footer {
  margin-top: 0;
  padding: 30px;
  border-radius: 28px 28px 0 0;
  background: #073f2f;
}

body[data-route="home"] .hg-home-footer-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-route="home"] .hg-home-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  body[data-route="home"] .hg-mobile-home {
    padding: max(14px, env(safe-area-inset-top)) 12px calc(82px + env(safe-area-inset-bottom));
  }

  body[data-route="home"] .hg-mobile-category-rail {
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-route="home"] .hg-mobile-category-rail::-webkit-scrollbar {
    display: none;
  }

  body[data-route="home"] .hg-mobile-category {
    flex: 0 0 96px;
    width: 96px;
    min-height: 98px;
  }

  body[data-route="home"] .hg-mobile-category strong {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    font-size: 0.74rem;
    line-height: 1.13;
  }

  body[data-route="home"] .hg-mobile-tabs,
  body[data-route="home"] .hg-home-how-tabs {
    width: 100%;
  }

  body[data-route="home"] .hg-home-how-panel .hg-home-route-card ol,
  body[data-route="home"] .hg-home-trust-grid {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-footer,
  body[data-route="home"] .hg-home-local-strip,
  body[data-route="home"] .hg-home-rent-cta {
    grid-template-columns: 1fr;
  }

  body[data-route="home"] .hg-home-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="home"] .hg-home-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  body[data-route="search"] #app {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body[data-route="search"] .bottom-nav,
  body[data-route="search"].is-public-visitor .bottom-nav {
    display: grid;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 70px;
    border: 1px solid rgba(220, 231, 225, 0.92);
    border-radius: 22px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
    backdrop-filter: blur(18px);
  }

  body[data-route="search"] .bottom-nav .nav-item {
    min-height: 52px;
    border-radius: 16px;
    font-size: 0.66rem;
    font-weight: 720;
  }

  body[data-route="search"] .bottom-nav .nav-item[data-route="search"] {
    color: var(--hg-green);
  }

  body[data-route="search"] .bottom-nav .nav-add {
    background: var(--hg-green);
    color: #ffffff;
  }

  body[data-route="search"] .hg-results-tools {
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle {
    display: inline-flex !important;
    width: 100%;
  }

  body[data-route="search"] .hg-view-toggle button {
    flex: 1 1 0;
    justify-content: center;
    min-height: 42px;
  }

  body[data-route="search"] .filter-sheet,
  body[data-route="search"] .filter-sheet.open {
    z-index: 1200;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  body[data-route="search"] .filter-actions {
    position: sticky;
    bottom: 0;
    margin-right: -18px;
    margin-left: -18px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(220, 231, 225, 0.86);
    background: rgba(255, 255, 255, 0.98);
  }
}
