:root {
  --ink: #111;
  --muted: #555;
  --line: #dededb;
  --yellow: #ffe516;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #111;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.5;
}
::selection {
  background: #ffe516;
  color: #111;
}
input,
textarea {
  caret-color: #111;
}
input,
select,
textarea {
  font-size: 16px;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 750;
  background: var(--yellow);
  color: #111;
}
.btn.outline {
  border: 1px solid #ccc;
  background: #fff;
}
.btn.wide {
  width: 100%;
}
.text-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
}
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.icon-btn:hover {
  background: #eee;
}
.topbar {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  max-width: 1280px;
  min-height: 68px;
  margin: auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand svg {
  background: var(--yellow);
  padding: 3px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 5;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  gap: 48px;
}
.bottom-nav a {
  min-width: 65px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: #666;
  font-size: 11px;
  text-decoration: none;
}
.bottom-nav a.active {
  color: #111;
  font-weight: 750;
}
.browse-main {
  max-width: 1240px;
  margin: auto;
  padding: 28px 28px 110px;
}
.browse-heading {
  margin-bottom: 24px;
}
.browse-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.browse-tools {
  max-width: 100%;
}
.browse-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f2f2;
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 640px;
  min-height: 48px;
}
.browse-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline-offset: 1px;
}
.browse-search input::placeholder {
  color: #626262;
}
.offering-switch {
  display: flex;
  gap: 4px;
  max-width: 400px;
  background: #f1f1ef;
  border-radius: 28px;
  padding: 4px;
  margin-top: 18px;
}
.offering-switch button {
  flex: 1;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 24px;
  font-weight: 750;
  font-size: 14px;
}
.offering-switch button[aria-pressed="true"] {
  background: #111;
  color: #fff;
}
.browse-categories {
  display: flex;
  gap: 8px;
  padding: 18px 0 12px;
  overflow: auto;
}
.browse-categories button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #d1d1cd;
  border-radius: 24px;
  font-weight: 650;
  white-space: nowrap;
}
.browse-categories button[aria-pressed="true"] {
  background: #fff7a5;
  border-color: #111;
}
.browse-filterbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.browse-sort select {
  max-width: 210px;
  min-height: 44px;
  border: 0;
  background: #fff;
  padding: 8px;
  font-size: 13px;
}
.applied-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
}
.applied-filters:empty {
  display: none;
}
.applied-filters button:not(.text-btn) {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 20px;
  background: #f1f1ee;
  font-size: 12px;
  min-height: 40px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.applied-filters svg {
  width: 14px;
  height: 14px;
}
.browse-results-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}
.browse-results-heading h2 {
  font-size: 21px;
}
.browse-results-heading span {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
}
.browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.browse-card {
  min-width: 0;
}
.browse-creator {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
}
.browse-creator .avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.browse-creator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.browse-creator strong {
  font-size: 12px;
  flex: 1;
  min-width: 0;
}
.browse-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  padding: 0;
  background: #eee;
}
.browse-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.browse-cover:hover > img {
  transform: scale(1.025);
}
.browse-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  max-width: calc(100% - 18px);
  padding: 5px 7px;
  border-radius: 5px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}
.browse-badge.is-live {
  background: #d92343;
  color: #fff;
}
.browse-city {
  position: absolute;
  bottom: 9px;
  left: 9px;
  right: 9px;
  display: block;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 11px;
  text-align: left;
}
.browse-card h3 {
  font-size: 15px;
  line-height: 1.35;
  margin-top: 10px;
}
.browse-card h3 button {
  text-align: left;
  padding: 0;
  line-height: inherit;
  font-weight: 750;
}
.browse-price {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.browse-secondary-price {
  display: block;
  font-size: 12px;
  color: #444;
}
.browse-card p {
  font-size: 12px;
  color: #555;
  margin-top: 3px;
}
.browse-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 56px 20px;
  max-width: 640px;
  justify-self: center;
}
.browse-empty p {
  margin: 12px 0 20px;
  color: #555;
}
.browse-empty button {
  margin: 0 8px;
}
.browse-notice {
  background: #fff9c7;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin: 12px 0;
}
.browse-endnote {
  font-size: 12px;
  color: #555;
  margin-top: 32px;
  max-width: 70ch;
}
.notice {
  background: #f1f1ee;
  padding: 14px;
  border-radius: 10px;
  margin: 12px 0;
}
.browse-sheet-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.browse-sheet-header h2 {
  font-size: 22px;
}
#browse-sheet {
  padding: 0;
  border: 0;
  border-radius: 18px 18px 0 0;
  width: min(540px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto auto 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -10px 40px #0002;
  scrollbar-color: #aaa #fff;
}
#browse-sheet::backdrop {
  background: #0008;
}
body:has(#browse-sheet[open]) {
  overflow: hidden;
}
#browse-sheet[open] {
  animation: browse-sheet-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes browse-sheet-in {
  from {
    transform: translateY(50px);
    opacity: 0.75;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.filter-body {
  padding: 20px;
}
.filter-body > p {
  margin-bottom: 20px;
}
.filter-body h3 {
  margin: 28px 0 14px;
}
.browse-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 650;
}
.browse-field input,
.browse-field select,
.browse-field textarea {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  border: 1px solid #bdbdb9;
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 400;
}
.browse-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.filter-types {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
.filter-types legend {
  font-size: 17px;
  font-weight: 750;
  margin-bottom: 12px;
}
.filter-types label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.filter-types input {
  width: 20px;
  height: 20px;
  accent-color: #111;
}
.filter-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px max(16px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 2;
}
.filter-footer .btn {
  min-width: 170px;
}
.filter-error {
  color: #aa142d;
  font-size: 13px;
  min-height: 20px;
}
.browse-detail {
  padding: 20px;
}
.browse-detail > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.browse-detail > h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.browse-detail > p {
  margin: 12px 0;
  color: #444;
}
.detail-price {
  display: block;
  font-size: 25px;
  line-height: 1.4;
}
.browse-detail > .btn {
  margin-top: 20px;
}
.sale-terms > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sale-terms dd {
  margin: 0;
  font-weight: 650;
}
.rental-inquiry {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.rental-inquiry h2 {
  font-size: 19px;
}
.rental-inquiry p {
  margin: 10px 0;
}
.rental-inquiry small {
  color: #555;
}
@media (max-width: 900px) {
  .browse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bar-inner {
    min-height: 60px;
    padding: 12px 18px;
  }
  .brand {
    font-size: 20px;
  }
  .browse-main {
    padding: 22px 16px 110px;
  }
  .browse-heading h1 {
    font-size: 28px;
  }
  .browse-heading {
    margin-bottom: 18px;
  }
  .browse-search {
    max-width: none;
  }
  .offering-switch {
    max-width: none;
  }
  .browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .browse-categories {
    gap: 7px;
  }
  .browse-categories button {
    padding: 9px 14px;
    font-size: 13px;
  }
  .browse-card h3 {
    font-size: 14px;
  }
  .browse-price {
    font-size: 14px;
  }
  .browse-card p {
    font-size: 11px;
  }
  .browse-badge {
    font-size: 9px;
    top: 7px;
    left: 7px;
  }
  .browse-city {
    font-size: 10px;
    left: 7px;
    right: 7px;
    bottom: 7px;
  }
  .browse-creator {
    gap: 4px;
  }
  .browse-creator .icon-btn {
    min-width: 40px;
  }
  .browse-creator .avatar {
    width: 23px;
    height: 23px;
  }
  .browse-results-heading h2 {
    font-size: 19px;
  }
  .bottom-nav {
    gap: 0;
    justify-content: space-around;
  }
  .bottom-nav a {
    font-size: 10px;
  }
  .bottom-nav svg {
    width: 26px;
    height: 26px;
  }
  .browse-sort select {
    max-width: 185px;
    font-size: 12px;
  }
  #browse-sheet {
    width: 100%;
    max-height: calc(100dvh - 24px);
  }
  .filter-body,
  .browse-detail {
    padding: 20px;
  }
  .filter-footer .btn {
    min-width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #browse-sheet[open] {
    animation: none;
  }
  .browse-cover > img {
    transition: none;
  }
}

.filter-footer {
  flex-wrap: wrap;
}
.filter-footer .filter-error {
  order: -1;
  flex-basis: 100%;
}
.filter-error:empty {
  display: none;
}

.browse-price-basis {
  font-size: 12px;
  color: #555;
  margin: 0 0 14px;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

.browse-language {
  display: flex;
  gap: 3px;
}
.browse-language button {
  min-height: 44px;
  min-width: 36px;
  font-size: 12px;
  border-radius: 8px;
}
.browse-language button[aria-pressed="true"] {
  background: #f2f2f0;
  font-weight: 750;
}
.applied-filters button:not(.text-btn) {
  min-height: 44px;
}

/* Image categories use one generated photo atlas, never listing imagery. */
.browse-main { padding-top: 20px; }
.browse-heading.sr-only { margin: 0; }
.browse-search-row { display: flex; align-items: center; gap: 10px; }
.browse-search-row .browse-search { flex: 1; max-width: none; background: var(--wash); border-color: var(--line); border-radius: 28px; }
.browse-filter-trigger { position: relative; background: var(--main); flex-shrink: 0; }
.browse-filter-trigger span { position: absolute; top: -3px; right: -3px; border-radius: 12px; padding: 2px 5px; background: var(--accent); color: #fff; font-size: 11px; }
.category-section { position: relative; margin-top: 20px; }
.category-heading { display: flex; align-items: center; gap: 16px; margin: -4px 0 8px; }
.category-heading .text-btn { gap: 2px; color: var(--muted); font-size: 12px; }
.category-heading svg { width: 16px; height: 16px; }
.category-heading h1 { font-size: 20px; line-height: 1.3; }
.category-track { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 4px 3px 10px; scroll-padding-inline: 3px; }
.category-tile { position: relative; flex: 0 0 112px; height: 140px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--main); color: var(--ink); scroll-snap-align: start; overflow: hidden; transition: border-color 160ms ease-out; }
.category-tile[aria-pressed="true"] { border-color: var(--accent); }
.category-tile:hover { border-color: #8995a2; }
.category-tile[aria-pressed="true"]:hover { border-color: var(--accent); }
.category-photo { position: absolute; inset: auto 0 0; aspect-ratio: 1; background-image: url('/category-atlas.png'); background-size: 400% 400%; }
.category-tile::after { content: ''; position: absolute; inset: 0 0 auto; height: 60px; background: linear-gradient(var(--main) 54%, #9bcdeb00); pointer-events: none; }
.category-name { position: absolute; z-index: 1; top: 10px; left: 4px; right: 4px; font-size: 13px; line-height: 1.2; font-weight: 750; overflow-wrap: anywhere; }
.category-person { display: grid; place-items: center; position: absolute; inset: 45px 0 0; color: var(--accent); }
.category-person svg { width: 55px; height: 55px; stroke-width: 1.6; }
.category-paging { position: absolute; right: 0; top: -46px; display: flex; gap: 6px; background: var(--paper); }
.category-paging[hidden] { display: none; }
.category-paging .icon-btn { border: 1px solid var(--line); background: var(--paper); }
.category-paging button:disabled { cursor: default; }
.next-arrow { display: flex; transform: rotate(180deg); }
.browse-filterbar { margin-top: 12px; gap: 8px; }
.offering-switch { margin-top: 0; background: var(--main); flex: 1; max-width: 340px; }
.offering-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.browse-sort select { color: var(--muted); }
.browse-results-heading { margin-top: 20px; }
.browse-badge.is-live { font-size: 14px; font-weight: 750; padding: 5px 7px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.browse-creator strong { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .browse-main { padding-top: 16px; }
  .category-track { margin-right: -16px; padding-right: 16px; }
  .category-tile { flex-basis: 96px; height: 122px; }
  .category-name { font-size: 12px; }
  .category-section { margin-top: 16px; }
  .category-paging { position: static; justify-content: flex-end; margin-top: 0; height: 0; overflow: hidden; }
  .category-paging:focus-within { height: 44px; margin-top: 4px; }
  .offering-switch { min-width: 0; }
  .offering-switch button { font-size: 11px; padding: 8px 10px; white-space: nowrap; }
  .browse-sort select { max-width: 126px; font-size: 11px; padding-inline: 2px; }
  .browse-badge.is-live { font-size: 12px; }
  .browse-results-heading h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .category-tile { transition: none; } }
.category-heading h2 { font-size: 20px; line-height: 1.3; }
@media (min-width: 601px) { .category-paging { position: static; justify-content: flex-end; margin-top: 4px; } }

.browse-quick {display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.browse-quick button {flex:none;border:1px solid var(--border,#d8e2eb);border-radius:22px;background:#fff;color:#233142;padding:9px 15px;min-height:44px;font:600 13px inherit;white-space:nowrap;cursor:pointer}
.browse-quick button[aria-pressed=true] {background:#d92344;color:#fff;border-color:#d92344}
.buying-labels,.shopping-labels {display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}
.buying-labels span {border-radius:6px;padding:4px 7px;font-size:12px;line-height:1.3;font-weight:750;background:#e4eff8;color:#263d53}
.shopping-labels span {font-size:11px;line-height:1.35;background:#f0f4f7;color:#526170;border-radius:5px;padding:4px 6px}
.browse-card .property-features {font-size:12px;color:#526170;line-height:1.5;white-space:normal}
.remind-button {width:100%;min-height:44px;border:1px solid #c7d8e5;border-radius:12px;background:#fff;color:#334a5d;font:inherit;font-size:13px;font-weight:650;cursor:pointer;margin:6px 0}
.remind-button[aria-pressed=true] {border-color:#d92344;color:#c51b39;background:#fff0f3}
.facet-options label:has(input:checked) {background:#fff0f3;border-color:#d92344}
.reminder-dialog {width:min(460px,calc(100% - 24px));padding:0;border:0;border-radius:24px;max-height:90dvh;overflow:auto;color:#233142;background:#fff}
.reminder-dialog::backdrop {background:#14263877}
.reminder-dialog header {display:flex;align-items:center;justify-content:space-between;padding:20px 20px 12px;gap:12px}
.reminder-dialog h2 {font-size:22px;margin:0;line-height:1.2}
.reminder-dialog header button {border:0;background:#edf4f8;border-radius:50%;min-width:44px;min-height:44px;font-size:25px;cursor:pointer}
.reminder-body {padding:0 20px 24px;line-height:1.5}
.reminder-event {font-weight:700}.reminder-channel {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid #e5edf3;margin-top:16px}
.reminder-channel p {font-size:13px;color:#63717d;margin:3px 0}.reminder-channel>span {font-size:12px;color:#60778a}
.install-help,.sample-note {background:#eef5fa;padding:12px;border-radius:12px;font-size:13px}.install-help p{margin:6px 0 0}
.reminder-body .text-btn{margin-top:12px;text-align:left}
.remind-button svg {width:17px;height:17px;vertical-align:middle;margin-right:3px}
