[data-auth-only][hidden] { display: none !important; }

:root {
  --ink: #2c211c;
  --muted: #75675f;
  --paper: #fffaf3;
  --surface: #ffffff;
  --accent: #b84b16;
  --accent-hover: #963b12;
  --accent-soft: #ffeadb;
  --coral: #c65018;
  --line: #eadfd6;
  --shadow: 0 16px 44px rgba(44, 33, 28, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbf7f2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(184, 75, 22, .32); outline-offset: 2px; }

.site-header {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid rgba(184, 75, 22, .11);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 25px; font-weight: 800; letter-spacing: -.7px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px 11px 11px 4px; background: var(--accent); color: white; font: 800 23px/1 Georgia, serif; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.text-button, .primary, .secondary, .filter-chip, .icon-button { border: 0; cursor: pointer; }
.text-button { background: transparent; display: inline-flex; gap: 8px; align-items: center; padding: 10px 12px; font-weight: 650; }
.text-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.count-badge { min-width: 22px; height: 22px; border-radius: 999px; background: var(--coral); color: white; display: inline-grid; place-items: center; font-size: 12px; }
.count-badge.is-empty { background: #dde0dc; color: var(--muted); }
.primary { background: var(--accent); color: white; border-radius: 14px; padding: 13px 20px; font-weight: 750; box-shadow: 0 8px 18px rgba(184,75,22,.14); transition: transform .2s, background .2s; }
.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.primary.small { padding: 10px 16px; border-radius: 12px; }
.primary:disabled { opacity: .46; cursor: not-allowed; transform: none; }
.secondary { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 11px 16px; font-weight: 720; }

.hero { background: var(--paper); padding: 48px clamp(20px, 7vw, 108px) 36px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -130px; top: -170px; border-radius: 50%; background: #f4d9c8; opacity: .65; pointer-events: none; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-hover); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.warm { color: #b45540; }
h1 { margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(39px, 5vw, 66px); line-height: 1.02; letter-spacing: -2px; font-weight: 500; }
.hero-copy > p:last-child { margin: 18px 0 30px; color: var(--muted); font-size: 18px; }

.search-panel { max-width: 970px; min-height: 82px; display: grid; grid-template-columns: minmax(260px,1.5fr) minmax(210px,1fr) auto; align-items: stretch; gap: 0; padding: 7px; background: white; border: 1px solid rgba(44,33,28,.09); border-radius: 20px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.search-field { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 20px; border-right: 1px solid var(--line); }
.search-field > span:first-child { color: var(--muted); font-size: 12px; font-weight: 700; }
.field-control { display: flex; align-items: center; gap: 8px; }
.field-control svg, .search-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-field input, .search-field select { width: 100%; border: 0; background: transparent; color: var(--ink); outline: none; font-weight: 650; padding: 0; }
.search-field select { min-height: 25px; }
.search-button { margin-left: 7px; min-width: 132px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.quick-filters { max-width: 970px; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; position: relative; z-index: 1; }
.filter-chip { padding: 10px 15px; border-radius: 999px; background: transparent; border: 1px solid #d8d9d3; font-size: 13px; font-weight: 700; transition: .2s; }
.filter-chip:hover { border-color: var(--accent); }
.filter-chip.is-active { background: var(--accent); color: white; border-color: var(--accent); }
.filter-chip svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -3px; margin-right: 4px; }

.results-section { max-width: 1390px; margin: auto; padding: 42px clamp(20px, 5vw, 72px) 120px; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.results-heading h2, .modal-titlebar h2 { margin: 0; font: 500 clamp(29px, 3vw, 40px)/1.1 Georgia, serif; letter-spacing: -.7px; }
.results-heading p:last-child { margin: 8px 0 0; color: var(--muted); }
.sort-control { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.sort-control select { padding: 10px 36px 10px 13px; background: white; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 700; }
.active-filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 20px; }
.beta-notice { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 12px 14px; border: 1px solid #ead8ab; border-radius: 13px; background: #fffaf0; color: #665a3d; font-size: 13px; }
.beta-notice strong { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: #f5e6bd; font-size: 11px; text-transform: uppercase; }
.active-token { border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 750; cursor: pointer; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.listing-card { min-width: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(44,33,28,.08); box-shadow: 0 6px 24px rgba(44,33,28,.05); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(44,33,28,.1); }
.card-media { height: 236px; position: relative; overflow: hidden; background: #efe3d9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.listing-card:hover .card-media img { transform: scale(1.025); }
.card-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.35)); pointer-events: none; }
.image-tag { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 800; }
.favorite-button { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.93); z-index: 2; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.favorite-button svg { width: 21px; fill: transparent; stroke: var(--ink); stroke-width: 1.8; transition: .2s; }
.favorite-button.is-active svg { fill: var(--coral); stroke: var(--coral); }
.photo-count { position: absolute; right: 15px; bottom: 14px; z-index: 2; color: white; font-size: 12px; font-weight: 750; }
.card-body { padding: 18px 18px 17px; }
.card-location { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.metro-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-color,#d52c2c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--line-color,#d52c2c) 16%, transparent); }
.card-title { margin: 10px 0 13px; font-size: 18px; line-height: 1.25; letter-spacing: -.25px; }
.card-facts { display: flex; gap: 7px; flex-wrap: wrap; min-height: 28px; }
.fact { padding: 6px 9px; border-radius: 9px; background: #f7f0e9; color: #6f5b4e; font-size: 11px; font-weight: 700; }
.card-price-row { margin-top: 16px; padding-top: 14px; border-top: 1px solid #efefeb; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card-price strong { font-size: 20px; letter-spacing: -.5px; }
.card-price span { color: var(--muted); font-size: 12px; }
.compare-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--accent); font-size: 12px; font-weight: 800; cursor: pointer; padding: 5px; }
.compare-toggle .compare-box { width: 17px; height: 17px; border: 1.5px solid #aab1ac; border-radius: 5px; display: grid; place-items: center; }
.compare-toggle.is-active .compare-box { background: var(--accent); border-color: var(--accent); color: white; }
.compare-toggle.is-active .compare-box::before { content: "✓"; font-size: 11px; }
.empty-state { text-align: center; background: white; border: 1px dashed #cfd2cc; border-radius: var(--radius); padding: 70px 20px; }
.empty-icon { width: 54px; height: 54px; margin: auto; display: grid; place-items: center; border-radius: 18px; background: var(--accent-soft); font-size: 27px; color: var(--accent); }
.empty-state h3 { margin: 14px 0 6px; font-size: 22px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }

.compare-tray { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(720px, calc(100vw - 40px)); padding: 12px 13px 12px 18px; background: #422719; color: white; border-radius: 17px; box-shadow: 0 20px 55px rgba(0,0,0,.25); z-index: 55; display: flex; align-items: center; gap: 18px; }
.compare-tray[hidden] { display: none; }
.compare-tray > div:first-child { display: flex; flex-direction: column; min-width: 145px; }
.compare-tray span { font-size: 11px; opacity: .7; margin-top: 2px; }
.compare-thumbs { margin-left: auto; display: flex; }
.compare-thumb { width: 40px; height: 40px; margin-left: -7px; border: 2px solid #422719; border-radius: 50%; object-fit: cover; }
.compare-tray .primary { background: var(--coral); box-shadow: none; }
.compare-tray .primary:hover { background: #a64013; }

.modal-layer, .filters-drawer { position: fixed; inset: 0; z-index: 80; }
.modal-layer[hidden], .filters-drawer[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(44,28,19,.58); backdrop-filter: blur(4px); }
.detail-modal, .compare-modal { position: relative; background: white; margin: 4vh auto; width: min(1020px, calc(100vw - 32px)); max-height: 92vh; border-radius: 25px; overflow: auto; box-shadow: var(--shadow); }
.modal-close { position: absolute; right: 16px; top: 16px; z-index: 4; background: rgba(255,255,255,.95); box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f3f3ef; font-size: 26px; line-height: 1; }
.detail-gallery { height: 390px; display: grid; grid-template-columns: 2fr 1fr; gap: 4px; background: #eee; overflow: hidden; border-radius: 25px 25px 0 0; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-side-gallery { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.detail-body { padding: 30px; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(285px,.8fr); gap: 38px; }
.detail-location { color: var(--muted); font-size: 13px; font-weight: 650; }
.detail-body h2 { margin: 7px 0 12px; font: 500 34px/1.08 Georgia, serif; }
.detail-lede { margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.detail-section { padding: 22px 0; border-top: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 14px; font-size: 16px; }
.amenity-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.amenity { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.amenity-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.housemates { display: flex; gap: 12px; align-items: center; }
.avatar-stack { display: flex; }
.avatar { width: 38px; height: 38px; margin-right: -7px; display: grid; place-items: center; border-radius: 50%; border: 2px solid white; background: #f5dfce; color: var(--accent); font-weight: 800; font-size: 12px; }
.vibe-pill { margin-left: auto; padding: 7px 10px; background: #fff0e9; color: #a94f3c; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: capitalize; }
.detail-card { position: sticky; top: 20px; align-self: start; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 9px 30px rgba(44,33,28,.08); }
.detail-price strong { font-size: 26px; }
.detail-price span { color: var(--muted); font-size: 13px; }
.cost-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #ededE9; font-size: 13px; }
.cost-line span:first-child { color: var(--muted); }
.detail-total { font-weight: 800; }
.detail-actions { display: grid; gap: 9px; margin-top: 17px; }
.detail-actions button { width: 100%; }
.demo-note { margin: 11px 0 0; text-align: center; color: var(--muted); font-size: 10px; }

.compare-modal { width: min(1100px, calc(100vw - 32px)); padding: 28px; }
.modal-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.compare-content { margin-top: 24px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 680px; }
.compare-table th, .compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; text-align: left; }
.compare-table th:first-child, .compare-table td:first-child { width: 145px; color: var(--muted); font-weight: 650; }
.compare-table thead th { vertical-align: top; color: var(--ink); }
.compare-head-image { height: 120px; border-radius: 13px; overflow: hidden; margin-bottom: 10px; }
.compare-head-image img { width: 100%; height: 100%; object-fit: cover; }
.compare-table .best { color: var(--accent); font-weight: 850; background: #fff1e6; }
.remove-compare { border: 0; background: none; color: var(--coral); padding: 6px 0; font-size: 11px; font-weight: 800; cursor: pointer; }

.drawer-panel { position: absolute; top: 0; right: 0; width: min(460px,100%); height: 100%; background: white; display: flex; flex-direction: column; box-shadow: -15px 0 50px rgba(0,0,0,.15); }
.drawer-panel .modal-titlebar { padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-panel h2 { margin: 5px 0 0; font-size: 26px; }
.drawer-content { padding: 24px; overflow: auto; flex: 1; }
fieldset { border: 0; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
legend { margin-bottom: 14px; font-weight: 800; }
.option-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.option-pill { position: relative; }
.option-pill input { position: absolute; opacity: 0; }
.option-pill span { display: block; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.option-pill input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin: 13px 0; cursor: pointer; }
.check-row input { width: 19px; height: 19px; accent-color: var(--accent); }
.check-row span { display: flex; flex-direction: column; gap: 3px; }
.check-row small { color: var(--muted); }
.drawer-footer { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }

.auth-modal { position: relative; width: min(460px,calc(100vw - 30px)); margin: 10vh auto; padding: 34px; border-radius: 24px; background: white; box-shadow: var(--shadow); text-align: center; }
.auth-mark { width: 47px; height: 47px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 15px 15px 15px 5px; background: var(--accent); color: white; font: 800 31px/1 Georgia,serif; }
.auth-modal h2 { margin: 0; font: 500 31px/1.1 Georgia,serif; }
.auth-copy { margin: 12px auto 22px; max-width: 340px; color: var(--muted); line-height: 1.5; font-size: 14px; }
.auth-modal form { display: grid; gap: 12px; text-align: left; }
.auth-modal form .primary { width: 100%; }
.auth-message { margin-top: 14px; padding: 11px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.signout-button { width: 100%; margin-top: 14px; }
.account-button.is-signed-in { color: var(--accent); background: var(--accent-soft); border-radius: 12px; }
.email-sent-panel { text-align: center; }
.sent-icon, .onboarding-ready-mark { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 25px; font-weight: 900; }
.email-sent-panel h3 { margin: 0 0 8px; font: 500 26px Georgia,serif; }
.email-sent-panel > p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.sent-steps { display: grid; gap: 7px; margin: 18px 0 12px; text-align: left; }
.sent-steps span { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: #f7f7f3; color: #4e5953; font-size: 12px; }
.sent-steps b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--accent); }
.change-email-button { margin: auto; color: var(--accent); }

.onboarding-backdrop { background: rgba(44,28,19,.72); }
.onboarding-modal { position: relative; width: min(780px,calc(100vw - 30px)); max-height: 92vh; margin: 4vh auto; padding: 25px 42px 34px; overflow-y: auto; background: var(--paper); border-radius: 26px; box-shadow: var(--shadow); }
.onboarding-topbar { display: flex; align-items: center; justify-content: space-between; }
.onboarding-brand { font-size: 20px; pointer-events: none; }
.onboarding-brand .brand-mark { width: 28px; height: 28px; font-size: 20px; }
.onboarding-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 22px 0 36px; }
.onboarding-progress span { height: 4px; border-radius: 999px; background: #dedfd9; transition: .25s; }
.onboarding-progress span.is-active { background: var(--coral); }
.onboarding-step { text-align: center; }
.onboarding-step h2 { margin: 0; font: 500 clamp(30px,5vw,43px)/1.08 Georgia,serif; letter-spacing: -.7px; }
.onboarding-lede { max-width: 520px; margin: 10px auto 25px; color: var(--muted); line-height: 1.55; }
.intent-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; text-align: left; }
.intent-options label { position: relative; }
.intent-options input { position: absolute; opacity: 0; }
.intent-options label > span { height: 100%; min-height: 164px; display: flex; flex-direction: column; gap: 7px; padding: 19px; border: 1.5px solid var(--line); border-radius: 17px; background: white; cursor: pointer; transition: .2s; }
.intent-options label > span:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44,33,28,.07); }
.intent-options input:checked + span { border-color: var(--accent); background: #fff1e6; box-shadow: 0 0 0 3px rgba(184,75,22,.08); }
.intent-options strong { margin-top: 3px; }
.intent-options small { color: var(--muted); line-height: 1.4; }
.intent-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.profile-avatar-placeholder { width: 68px; height: 68px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font: 500 27px Georgia,serif; }
.onboarding-fields { text-align: left; }
.onboarding-bio { margin-top: 18px; text-align: left; }
.onboarding-summary { max-width: 470px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; text-align: left; }
.summary-item { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.summary-item span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.summary-item strong { font-size: 13px; }
.onboarding-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.onboarding-actions #previousOnboardingButton { margin-right: auto; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); padding: 12px 16px; background: var(--ink); color: white; border-radius: 12px; opacity: 0; visibility: hidden; transition: .25s; z-index: 120; font-size: 13px; box-shadow: var(--shadow); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mobile-nav { display: none; }
body.modal-open { overflow: hidden; }

/* Publishing flow */
.publish-view, .dashboard-view, .pricing-view, .profile-view { min-height: calc(100vh - 76px); background: #f6f4ee; }
.publish-shell, .dashboard-shell, .pricing-shell, .profile-shell { max-width: 1180px; margin: auto; padding: 38px clamp(18px,5vw,62px) 110px; }
.pricing-hero { max-width: 720px; margin: 58px auto 34px; text-align: center; }
.pricing-hero h1 { margin: 10px 0 14px; font: 500 clamp(39px,6vw,66px)/1.02 Georgia,serif; letter-spacing: -1.8px; }
.pricing-hero > p:last-child, .pricing-footnote { color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.plan-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 10px 32px rgba(44,33,28,.06); }
.plan-card.is-featured { border: 2px solid var(--accent); }
.recommended-badge { position: absolute; right: 20px; top: 20px; padding: 6px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.plan-kicker { margin: 0; color: var(--muted); font-size: 12px; font-weight: 750; }
.plan-card h2 { margin: 6px 0 18px; font: 500 33px Georgia,serif; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 22px; }
.plan-price strong { font-size: 34px; letter-spacing: -1px; }.plan-price span { color: var(--muted); font-size: 11px; }
.plan-card ul { display: grid; gap: 13px; min-height: 145px; margin: 0 0 24px; padding: 0; list-style: none; }
.plan-card li { color: #46514b; font-size: 13px; }.plan-card li::before { content: '✓'; margin-right: 9px; color: var(--accent); font-weight: 900; }
.plan-button { width: 100%; }.pricing-footnote { margin: 20px auto 0; text-align: center; font-size: 11px; }
.billing-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #e7d8af; border-radius: 16px; background: #fffaf0; }
.billing-banner > div { display: grid; gap: 5px; }.billing-banner strong { font-size: 17px; }.billing-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.billing-lock { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 16px; background: var(--accent); color: white; font: 700 22px Georgia,serif; }
.billing-modal-actions { display: grid; gap: 9px; }.billing-modal-actions .primary { width: 100%; }
.back-link { border: 0; background: transparent; color: var(--accent); padding: 4px 0; font-weight: 750; cursor: pointer; }
.publish-heading, .dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin: 32px 0 28px; }
.publish-heading h1, .dashboard-heading h1 { font-size: clamp(38px,5vw,58px); }
.publish-heading p:last-child, .dashboard-heading p:last-child { color: var(--muted); margin: 10px 0 0; }
.publish-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 34px; align-items: start; }
.stepper { position: sticky; top: 105px; display: grid; gap: 6px; }
.stepper-item { display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left; border: 0; border-radius: 13px; background: transparent; cursor: pointer; color: var(--muted); }
.stepper-item > span { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #cfd2cc; border-radius: 50%; font-size: 12px; font-weight: 800; }
.stepper-item div { display: grid; gap: 3px; }
.stepper-item strong { font-size: 13px; }
.stepper-item small { font-size: 11px; }
.stepper-item.is-active { background: white; color: var(--ink); box-shadow: 0 5px 17px rgba(44,33,28,.06); }
.stepper-item.is-active > span { background: var(--accent); border-color: var(--accent); color: white; }
.stepper-item.is-complete > span { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.listing-form { min-width: 0; }
.form-step { display: grid; gap: 18px; }
.form-card { background: white; border: 1px solid rgba(44,33,28,.08); border-radius: 20px; padding: 25px; box-shadow: 0 7px 26px rgba(44,33,28,.045); }
.form-card-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; }
.form-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 12px; font-weight: 850; }
.form-card-heading h2 { margin: 1px 0 4px; font-size: 19px; }
.form-card-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: 17px; }
.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.input-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.input-group > span:first-child, .vibe-selector legend { font-size: 12px; font-weight: 800; color: #444f49; }
.input-group input, .input-group select, .input-group textarea { width: 100%; border: 1px solid #d9ddd8; background: white; border-radius: 11px; padding: 12px 13px; color: var(--ink); outline: none; }
.input-group textarea { resize: vertical; line-height: 1.5; }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,75,22,.1); }
.input-group small { align-self: flex-end; color: var(--muted); font-size: 10px; }
.money-input, .suffix-input { display: flex; align-items: center; border: 1px solid #d9ddd8; border-radius: 11px; overflow: hidden; }
.money-input span, .suffix-input span { padding: 0 0 0 13px; color: var(--muted); font-weight: 750; }
.suffix-input span { padding: 0 13px 0 0; }
.money-input input, .suffix-input input { border: 0; box-shadow: none !important; }
.toggle-row { display: flex; align-items: center; gap: 11px; margin-top: 20px; cursor: pointer; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-ui { width: 40px; height: 23px; flex: 0 0 auto; border-radius: 999px; background: #d8dcd8; padding: 3px; transition: .2s; }
.toggle-ui::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: .2s; }
.toggle-row input:checked + .toggle-ui { background: var(--accent); }
.toggle-row input:checked + .toggle-ui::after { transform: translateX(17px); }
.toggle-row > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.toggle-row small { color: var(--muted); }
.photo-uploader { min-height: 150px; border: 1.5px dashed #bfc8c2; border-radius: 15px; background: #fffaf5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; text-align: center; }
.photo-uploader:hover { background: #fff1e6; border-color: var(--accent); }
.photo-uploader input { display: none; }
.photo-uploader small, .field-hint { color: var(--muted); font-size: 11px; }
.upload-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin-top: 12px; }
.photo-preview { aspect-ratio: 1.2; position: relative; overflow: hidden; border-radius: 10px; background: #eee; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview button { position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; }
.feature-checks { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.feature-checks label { position: relative; }
.feature-checks input { position: absolute; opacity: 0; }
.feature-checks span { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 12px; font-weight: 750; cursor: pointer; text-align: center; }
.feature-checks input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.vibe-selector { margin: 22px 0 0; padding: 0; border: 0; }
.vibe-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 10px; }
.vibe-options label { position: relative; }
.vibe-options input { position: absolute; opacity: 0; }
.vibe-options span { display: flex; flex-direction: column; gap: 4px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.vibe-options small { color: var(--muted); }
.vibe-options input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.confirm-row { display: flex; align-items: flex-start; gap: 10px; padding: 4px 2px; color: var(--muted); font-size: 12px; }
.confirm-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.form-actions .autosave-note { margin-left: auto; color: var(--muted); font-size: 11px; }
.form-error { margin-top: 15px; padding: 11px 13px; border-radius: 11px; background: #fff0ec; color: #a44634; font-size: 12px; font-weight: 700; }
.preview-listing { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; }
.preview-listing-image { height: 275px; background: #efe3d9; }
.preview-listing-image img { width: 100%; height: 100%; object-fit: cover; }
.preview-listing-body { padding: 20px; }
.preview-listing-body h3 { margin: 7px 0 12px; font: 500 27px/1.12 Georgia,serif; }
.preview-listing-price { margin-top: 17px; font-size: 21px; font-weight: 850; }

/* Host dashboard */
.dashboard-heading { align-items: center; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.dashboard-stats > div { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.dashboard-stats strong { font: 500 32px Georgia,serif; color: var(--accent); }
.dashboard-stats span { color: var(--muted); font-size: 12px; font-weight: 700; }
.managed-listings { display: grid; gap: 13px; }
.managed-card { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 18px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 17px; padding: 12px; }
.managed-card img { width: 150px; height: 105px; border-radius: 12px; object-fit: cover; background: #efe3d9; }
.managed-card h3 { margin: 0 0 6px; font-size: 17px; }
.managed-card p { margin: 0; color: var(--muted); font-size: 12px; }
.status-pill { display: inline-block; padding: 5px 8px; margin-bottom: 8px; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; background: var(--accent-soft); color: var(--accent); }
.status-pill.draft { background: #eeeee9; color: var(--muted); }
.status-pill.paused { background: #fff0e9; color: #a94f3c; }
.managed-actions { display: flex; flex-direction: column; gap: 7px; align-items: stretch; }
.managed-actions button { min-width: 105px; }
.danger-button { border: 0; background: transparent; color: #ad4b3b; font-size: 11px; font-weight: 750; cursor: pointer; }
.dashboard-empty { margin-top: 16px; }

/* Dual user profiles */
.profile-shell { max-width: 980px; }
.profile-header-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin: 28px 0 18px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 28px rgba(44,33,28,.05); }
.profile-avatar { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font: 500 30px Georgia,serif; }
.profile-header-card h1 { margin: 4px 0; font: 500 34px Georgia,serif; }
.profile-header-card p { margin: 0; color: var(--muted); }
.profile-completion { padding: 8px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.profile-tabs { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #f3e8de; }
.profile-tabs button { padding: 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.profile-tabs button.is-active { background: white; color: var(--accent); box-shadow: 0 3px 10px rgba(44,33,28,.08); }
.role-profile-form { display: grid; gap: 16px; }
.profile-form-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 14px 4px 0; }
.profile-form-heading h2 { margin: 3px 0 5px; font: 500 29px Georgia,serif; }
.profile-form-heading p { margin: 0; color: var(--muted); }
.role-chip { padding: 8px 11px; border-radius: 999px; background: #ffeadb; color: var(--accent); font-size: 11px; font-weight: 850; white-space: nowrap; }
.role-chip.host { background: #fff0e9; color: #a34e3c; }
.full-span { grid-column: 1/-1; }
.profile-checks { display: flex; gap: 10px; margin-top: 18px; }
.profile-checks label { position: relative; }
.profile-checks input { position: absolute; opacity: 0; }
.profile-checks span { display: block; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 750; cursor: pointer; }
.profile-checks input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.profile-bio { margin-top: 18px; }
.profile-visibility { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf5; cursor: pointer; }
.profile-visibility input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.profile-visibility span { display: grid; gap: 3px; }.profile-visibility strong { font-size: 13px; }.profile-visibility small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.profile-form-actions span { margin-right: auto; color: var(--muted); font-size: 12px; }
.inbox-section { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }.section-heading h2 { margin: 0; font: 500 30px Georgia,serif; }.section-heading > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.inquiry-list { display: grid; gap: 10px; }.inquiry-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }.inquiry-card h3 { margin: 0 0 5px; font-size: 15px; }.inquiry-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }.inquiry-card time { color: var(--muted); font-size: 11px; }
.compact-empty { padding: 24px; border: 1px dashed #cfd2cc; border-radius: 15px; color: var(--muted); text-align: center; font-size: 13px; }
.action-modal form { gap: 14px; }.action-modal textarea { font: inherit; }
.report-link { width: 100%; margin-top: 4px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.public-profile-card { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fffaf5; }.public-profile-card p { margin: 5px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }.public-profile-card small { color: var(--accent); font-weight: 700; }
.legal-view { min-height: calc(100vh - 76px); background: #f6f4ee; }.legal-shell { max-width: 760px; margin: auto; padding: 38px 24px 100px; }.legal-tabs { display: inline-flex; gap: 5px; margin: 30px 0; padding: 5px; border-radius: 12px; background: #f3e8de; }.legal-tabs button { border: 0; border-radius: 9px; padding: 10px 18px; background: transparent; font-weight: 750; cursor: pointer; }.legal-tabs button.is-active { background: white; color: var(--accent); }.legal-shell h1 { margin-bottom: 22px; font-size: clamp(40px,6vw,60px); }.legal-shell h2 { margin: 30px 0 8px; font: 500 24px Georgia,serif; }.legal-shell section > p:not(.eyebrow) { color: #4e5853; font-size: 16px; line-height: 1.7; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px,5vw,72px); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }.site-footer div { display: flex; gap: 14px; }.site-footer button { border: 0; background: transparent; color: var(--accent); cursor: pointer; }

@media (max-width: 1050px) {
  .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { padding-top: 38px; }
}

@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }.pricing-hero { margin-top: 34px; }.plan-card { padding: 24px; }.billing-banner { align-items: stretch; flex-direction: column; }.billing-banner button { width: 100%; }
  .profile-header-card { grid-template-columns: auto 1fr; padding: 18px; }.profile-completion { grid-column: 1/-1; justify-self: start; }.profile-form-heading { align-items: flex-start; flex-direction: column; }.profile-form-actions { align-items: stretch; flex-direction: column; }.profile-form-actions span { margin: 0; }.profile-form-actions button { width: 100%; }
  .beta-notice { align-items: flex-start; flex-direction: column; }.inquiry-card { grid-template-columns: 1fr; }.site-footer { align-items: flex-start; flex-direction: column; }
  body { padding-bottom: 70px; }
  .site-header { height: 64px; padding: 0 18px; }
  .header-actions .primary, #favoritesNav, #myListingsNav { display: none; }
  .account-button { padding: 8px 10px; font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .auth-modal { margin: 4vh auto; padding: 28px 20px; }
  .onboarding-modal { width: 100%; max-height: 96vh; margin: 4vh 0 0; padding: 20px 17px 28px; border-radius: 22px 22px 0 0; }
  .onboarding-progress { margin: 18px 0 27px; }
  .intent-options { grid-template-columns: 1fr; }
  .intent-options label > span { min-height: 0; display: grid; grid-template-columns: 45px 1fr; padding: 14px; }
  .intent-options .intent-icon { grid-row: 1/3; }
  .intent-options small { grid-column: 2; }
  .onboarding-fields { grid-template-columns: 1fr; }
  .onboarding-summary { grid-template-columns: 1fr; }
  .hero { padding: 33px 17px 26px; }
  h1 { font-size: 41px; letter-spacing: -1.4px; }
  .hero-copy > p:last-child { font-size: 15px; margin: 15px 0 23px; }
  .search-panel { grid-template-columns: 1fr; padding: 7px; border-radius: 17px; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px 13px; }
  .search-button { margin: 7px 0 0; min-height: 50px; }
  .quick-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -17px; padding-right: 17px; scrollbar-width: none; }
  .quick-filters::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; }
  .results-section { padding: 31px 16px 110px; }
  .results-heading { align-items: flex-start; }
  .results-heading h2 { font-size: 31px; }
  .sort-control { align-items: flex-start; }
  .sort-control span { display: none; }
  .sort-control select { width: 123px; padding-right: 22px; font-size: 12px; }
  .listing-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-media { height: 245px; }
  .listing-card:hover { transform: none; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 68px; z-index: 60; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav button { border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
  .mobile-nav button.is-active { color: var(--accent); }
  .mobile-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .compare-tray { bottom: 78px; width: calc(100vw - 24px); }
  .compare-tray > div:first-child { min-width: auto; }
  .compare-thumbs { display: none; }
  .compare-tray .primary { margin-left: auto; }
  .detail-modal, .compare-modal { width: 100%; max-height: 96vh; margin: 4vh 0 0; border-radius: 22px 22px 0 0; }
  .detail-gallery { height: 265px; grid-template-columns: 1fr; }
  .detail-side-gallery { display: none; }
  .detail-body { padding: 22px 18px 30px; grid-template-columns: 1fr; gap: 20px; }
  .detail-body h2 { font-size: 29px; }
  .detail-card { position: static; }
  .compare-modal { padding: 22px 16px; }
  .amenity-grid { gap: 10px; }
  .toast { bottom: 84px; width: calc(100vw - 32px); text-align: center; }
  .publish-view, .dashboard-view { min-height: calc(100vh - 64px); }
  .publish-shell, .dashboard-shell { padding: 25px 15px 100px; }
  .publish-heading, .dashboard-heading { align-items: flex-start; margin: 24px 0 22px; }
  .publish-heading h1, .dashboard-heading h1 { font-size: 37px; }
  .publish-heading #saveDraftButton { display: none; }
  .publish-layout { grid-template-columns: 1fr; gap: 18px; }
  .stepper { position: static; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
  .stepper-item { justify-content: center; padding: 7px 3px; }
  .stepper-item div { display: none; }
  .form-card { padding: 19px 16px; }
  .form-grid.two { grid-template-columns: 1fr; }
  .feature-checks { grid-template-columns: repeat(2,1fr); }
  .vibe-options { grid-template-columns: 1fr; }
  .photo-preview-grid { grid-template-columns: repeat(3,1fr); }
  .form-actions { position: sticky; bottom: 70px; z-index: 10; margin: 18px -15px -16px; padding: 11px 15px; background: rgba(246,244,238,.96); border-top: 1px solid var(--line); }
  .form-actions .autosave-note { display: none; }
  .form-actions .primary { margin-left: auto; }
  .dashboard-heading { display: grid; }
  .dashboard-heading .primary { width: 100%; }
  .dashboard-stats { grid-template-columns: repeat(3,1fr); gap: 7px; }
  .dashboard-stats > div { padding: 13px 10px; }
  .managed-card { grid-template-columns: 82px 1fr; gap: 11px; }
  .managed-card img { width: 82px; height: 82px; }
  .managed-actions { grid-column: 1/-1; flex-direction: row; }
  .managed-actions button { flex: 1; }
}

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

.catalog-tabs { display:flex; gap:6px; padding:5px; margin-bottom:28px; width:fit-content; max-width:100%; border:1px solid var(--border); border-radius:16px; background:#fff; }
.catalog-tabs button { border:0; border-radius:11px; padding:12px 18px; background:transparent; color:var(--ink); font:inherit; font-weight:700; cursor:pointer; }
.catalog-tabs button[aria-pressed="true"] { background:var(--accent); color:#fff; }
.catalog-tabs span { display:block; font-size:11px; font-weight:400; margin-top:3px; }
.catalog-tabs button:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }

/* Every photo remains reachable by swipe, buttons, or arrow keys. */
.detail-gallery.photo-gallery { display:block; position:relative; }
.photo-track { display:flex; width:100%; height:100%; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
.photo-track::-webkit-scrollbar { display:none; }
.photo-track img { flex:0 0 100%; width:100%; min-width:100%; height:100%; object-fit:cover; scroll-snap-align:start; scroll-snap-stop:always; }
.listing-card:hover .photo-track img { transform:none; }
.gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border:0; border-radius:50%; background:rgba(255,255,255,.94); color:#30271f; font-size:30px; cursor:pointer; box-shadow:0 2px 10px #0002; }
.gallery-prev { left:12px; } .gallery-next { right:12px; }
.gallery-arrow:disabled { opacity:.4; cursor:default; }
.photo-count { background:#0009; padding:5px 9px; border-radius:20px; }
.photo-track:focus-visible { outline:3px solid var(--accent); outline-offset:-3px; }

.listing-host { font-size:13px; color:var(--muted); margin:8px 0 12px; }
#contactForm[hidden], #contactSuccess[hidden], #contactDemoNotice[hidden] { display:none; }
