/* Public marketplace. This is the sole visual owner for discovery, search,
   listing details, public profiles and help. Controllers retain DOM/state ownership. */

/* Discovery: an editorial scene with a separate, overlapping search dock. */
.home-shell, :root[data-navigation-home] .site-header > .header-inner { width: min(100% - 48px, 1280px); margin-inline: auto; }
.home-page { padding-block: var(--rds-space-6) calc(var(--rds-space-8) + var(--rds-space-4)); }
.home-opening { --home-scene-gutter: clamp(24px, 5vw, 72px); --home-dock-overlap: 68px; }
.home-hero-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(400px, 33vw, 496px);
  padding: var(--rds-space-8) var(--home-scene-gutter) calc(var(--home-dock-overlap) + var(--rds-space-6));
  border-radius: var(--rds-radius-dialog);
  background: #132c24;
}
.home-hero-copy { position: relative; min-width: 0; max-width: min(100%, 680px); }
.home-hero-copy h1 {
  max-width: 19ch;
  margin: 0;
  color: #fff;
  font-size: var(--rds-text-marketing-hero);
  line-height: 1.04;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
.home-hero-copy h1 > span { display: block; color: #c4f0cb; }
.home-hero-description { max-width: 39ch; margin: var(--rds-space-4) 0 0; color: #eff6ef; font-size: var(--rds-text-base); line-height: 1.55; }
.home-search-section {
  position: relative;
  margin: calc(-1 * var(--home-dock-overlap)) var(--home-scene-gutter) 0;
  padding: var(--rds-space-3);
  border: 1px solid color-mix(in srgb, var(--rds-surface) 80%, var(--rds-line));
  border-radius: var(--rds-radius-surface);
  background: var(--rds-surface);
  box-shadow: var(--rds-shadow-float);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-search-section {
    background: linear-gradient(145deg, color-mix(in srgb, var(--rds-surface) 76%, transparent), color-mix(in srgb, var(--rds-surface-soft) 84%, transparent));
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    backdrop-filter: blur(16px) saturate(115%);
  }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .home-search-section {
    background: var(--rds-surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.home-hero-photo { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; pointer-events: none; }
.home-hero-photo::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgb(5 24 16 / .92), rgb(5 24 16 / .70) 40%, transparent 81%),
    linear-gradient(0deg, rgb(5 24 16 / .60), transparent 42%);
}
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.home-browse-entries { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); margin-top: var(--rds-space-6); }
.home-browse-entries > .home-browse-entry { gap: var(--rds-space-2); border: 1px solid rgb(255 255 255 / .44); background: rgb(5 24 16 / .66); color: #fff; }
.home-browse-entries > .home-browse-entry:is(:hover, :focus-visible) { background: #234835; color: #fff; }
.home-browse-entry:focus-visible, .home-hero-copy h1:focus-visible { outline-color: #c4f0cb; }
.home-browse-entry > svg { width: 16px; height: 16px; flex: none; }
.home-page .search-form { display: grid; justify-items: start; gap: var(--rds-space-2); margin: 0; }
.home-mode-picker { width: min(100%, 390px); }
.home-mode-picker svg { width: 17px; height: 17px; flex: none; }
.home-search-fields { display: block; width: 100%; min-width: 0; }
.home-page .home-search-fields > :not(.header-search-home-query), .home-page .home-search-inline-label, .home-page .home-search-sheet-label, .home-page #home-search-q, .home-page .search-stay-help { display: none; }
.home-page .home-search-fields > .header-search-home-query { display: block; padding: 0; }
.marketplace-searchbar { display: grid; gap: var(--rds-space-2); width: 100%; min-width: 0; }
.marketplace-search-modes { max-width: 390px; }
.marketplace-search-modes > button { min-height: 44px; }
.marketplace-search-trigger, .home-page [data-home-query-sheet] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; width: 100%; min-width: 0; min-height: 76px; gap: var(--rds-space-4); padding: var(--rds-space-3) var(--rds-space-4); border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); color: var(--rds-ink); text-align: left; cursor: pointer; }
.marketplace-search-trigger:hover { background: var(--rds-canvas); }
.marketplace-search-trigger:focus-visible { outline: 2px solid var(--rds-accent); outline-offset: 3px; }
.marketplace-search-copy, .marketplace-search-detail { display: grid; gap: 4px; min-width: 0; }
.marketplace-search-detail { padding-inline-start: var(--rds-space-4); border-inline-start: 1px solid var(--rds-line); }
.marketplace-search-trigger strong { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--rds-text-sm); font-weight: 650; line-height: 1.5; }
.marketplace-search-label, .marketplace-search-trigger small { font-size: var(--rds-text-xs); color: var(--rds-muted); font-weight: 500; line-height: 1.5; }
.marketplace-search-trigger .marketplace-search-context, .marketplace-search-icon, .marketplace-search-next { display: none; }
.marketplace-search-action { display: flex; align-items: center; justify-content: center; gap: var(--rds-space-2); align-self: stretch; min-height: 48px; padding: var(--rds-space-3) var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-action); color: var(--rds-on-action); font-size: var(--rds-text-sm); font-weight: 700; }
.marketplace-search-trigger svg { width: 20px; height: 20px; flex: none; }
/* The fields and tabs share the dock's blurred backdrop. */
.home-search-section .marketplace-search-trigger {
  background: color-mix(in srgb, var(--rds-surface) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rds-ink) 12%, transparent);
}
.home-search-section .marketplace-search-trigger:hover {
  background: color-mix(in srgb, var(--rds-surface) 28%, transparent);
}
.home-search-section :is(.marketplace-search-label, .marketplace-search-trigger small, .marketplace-search-next, [data-home-search-mode][aria-pressed="false"]) {
  color: color-mix(in srgb, var(--rds-muted) 65%, var(--rds-ink));
}
.home-search-section [data-home-search-mode][aria-pressed="false"]:hover {
  background: color-mix(in srgb, var(--rds-ink) 6%, transparent);
}
.home-search-section [data-home-search-mode][aria-pressed="true"] {
  background: color-mix(in srgb, var(--primary-light) 86%, transparent);
}
/* The filters keep their canonical form and dialog; only the old entry is replaced. */
.home-page .search-field { flex: 1 1 120px; display: grid; min-width: 0; align-content: start; gap: 4px; padding: var(--rds-space-2) var(--rds-space-3); border-radius: var(--rds-radius-control); background: transparent; }
.home-page .header-search-home-query { flex-grow: 1.2; }
.home-page .search-field > label { font-size: var(--rds-text-xs); font-weight: 650; color: var(--rds-muted); }
.home-search-fields .search-field :is(input:not([type="hidden"]), .home-location-input) { min-width: 0; width: 100%; }
.home-search-fields .search-field input:not([type="hidden"]) { min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: var(--rds-text-sm); }
.home-search-fields .search-field:focus-within { background: var(--rds-surface-soft); }
.home-location-input { min-width: 0; }
.home-page [data-home-location-sheet] { display: none; }
.home-location-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: var(--rds-space-2); }
.home-location-feedback > p { margin: 0; }
.home-location-feedback:not(:has(p:not(:empty), button:not([hidden]))) { display: none; }
.home-location-feedback, .search-stay-help { font-size: var(--rds-text-xs); color: var(--rds-muted); }
.home-search-actions { display: flex; align-items: center; padding: var(--rds-space-2); }
.home-search-actions > button { min-width: 100px; }
.home-page .search-stay-help { margin: 0; }
.home-content { display: grid; gap: var(--web-appearance-section-gap, var(--rds-space-8)); padding-top: var(--rds-space-8); }
.home-content > [data-home-block]:empty { display: none; }
.home-discovery-group, .home-personalization { display: grid; gap: var(--rds-space-4); }
.home-discovery-section, .home-personal-section { min-width: 0; }
.home-discovery-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-4); margin-bottom: var(--rds-space-4); }
.home-discovery-heading h2, .home-personal-section h2 { margin: 0; font-size: var(--rds-text-xl); letter-spacing: -.035em; }
.home-discovery-summary { margin: var(--rds-space-1) 0 0; color: var(--rds-muted); font-size: var(--rds-text-sm); }
.section-link { display: inline-flex; align-items: center; gap: var(--rds-space-2); flex-shrink: 0; min-height: 44px; font-size: var(--rds-text-sm); font-weight: 650; }
.home-category-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-3); }
.home-category-header { display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-3); min-width: 0; }
.home-category-heading { margin: 0; font-size: var(--rds-text-lg); line-height: 1.4; font-weight: 700; color: var(--rds-ink); letter-spacing: -.025em; }
.home-category-section > nav { min-width: 0; }
.home-carousel-actions { display: flex; flex-shrink: 0; gap: var(--rds-space-2); }
.home-carousel-actions button { padding-inline: var(--rds-space-2); min-width: 44px; background: var(--rds-surface); border-radius: var(--rds-radius-pill); }
.home-category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 184px; gap: var(--rds-space-3); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0; padding: 6px 6px var(--rds-space-2); list-style: none; }
.home-category-item { min-width: 0; scroll-snap-align: start; }
.home-category-card { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--rds-radius-surface); color: #1c1917; background: var(--rds-surface-soft); text-decoration: none; }
.home-category-card:is(:hover, :focus-visible) { color: #1c1917; }
.home-category-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-category-caption { position: absolute; inset: auto 10px 10px; display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-2); min-height: 44px; padding: 8px 10px; border: 1px solid rgb(255 255 255 / .22); border-radius: var(--rds-radius-control); color: #1c1917; background: rgb(255 255 255 / .73); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.home-category-label { font-size: var(--rds-text-sm); font-weight: 700; line-height: 1.35; }
.home-category-label,
.listing-card-heading h3,
.listing-card :is(.listing-category:not(.listing-frog), .partner-public-categories) {
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-category-arrow { display: flex; flex: none; }
.home-category-arrow svg { width: 16px; height: 16px; }
.home-category-badge { position: absolute; inset: 10px auto auto 10px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: var(--rds-radius-pill); color: #fff; background: rgb(13 38 24 / .78); font-size: var(--rds-text-xs); font-weight: 650; line-height: 1.4; }
.home-recommendation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); grid-auto-rows: 1fr auto auto; align-items: stretch; column-gap: var(--rds-space-4); row-gap: var(--rds-space-2); }
/* Cards share the same height; optional context occupies its own aligned tracks. */
.home-recommendation-item { display: grid; grid-template-rows: subgrid; grid-row: span 3; min-width: 0; }
.home-recommendation-item > .listing-card { grid-row: 1; }
.home-recommendation-item > .home-personal-test { grid-row: 2; margin: 0; padding: var(--rds-space-2) var(--rds-space-3); }
.home-recommendation-item > :is(.home-distance, .home-personal-reason) { grid-row: 3; margin: 0 var(--rds-space-3); }
.home-distance { display: flex; align-items: center; gap: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.home-discovery-empty, .home-discovery-error, .home-personal-empty, .home-personal-notice, .home-personal-test { padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.home-discovery-empty p, .home-discovery-error p, .home-personal-empty p { margin: 0 0 var(--rds-space-3); color: var(--rds-muted); }
.home-preferences-note, .home-personal-privacy { color: var(--rds-muted); font-size: var(--rds-text-sm); }
.home-preferences-note > div { padding: var(--rds-space-3) 0; }
.home-partner-band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 218px;
  padding: var(--rds-space-8) clamp(20px, 4vw, 52px);
  border-radius: var(--rds-radius-surface);
  background: #15362a;
  color: #fff;
}
.home-partner-photo { position: absolute; inset: 0 0 0 auto; width: min(76%, 800px); height: 100%; border-radius: inherit; object-fit: cover; object-position: 72% center; }
.home-partner-band::after { position: absolute; inset: 0; content: ''; border-radius: inherit; background: linear-gradient(90deg, #15362a 24%, rgb(21 54 42 / .93) 43%, rgb(21 54 42 / .10) 79%); }
.home-partner-copy { position: relative; z-index: 1; min-width: 0; max-width: 30ch; }
.home-partner-copy h2 { margin: 0; font-size: var(--rds-text-title); line-height: 1.2; letter-spacing: -.035em; }
.home-partner-copy p { margin: var(--rds-space-2) 0 0; color: #eff6ef; font-size: var(--rds-text-base); }
.home-partner-action { margin-top: var(--rds-space-4); }
.home-partner-action:focus-visible { outline-color: #c4f0cb; }

/* Uniform catalog tracks keep sparse and complete rows at the same card width. */
.listing-grid, .partner-public-listing-grid, .professional-public-listings .social-item-grid, .branch-public-listings .social-item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: var(--rds-space-4); }
:where(.listing-grid, .partner-public-listing-grid, .professional-public-listings .social-item-grid, .branch-public-listings .social-item-grid) > .listing-card { grid-column: auto; }
.listing-card { --listing-media-height: 192px; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: var(--rds-radius-surface); background: var(--rds-surface); box-shadow: var(--rds-shadow-soft); }
.listing-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.listing-link, .listing-photo-link { display: block; min-width: 0; color: inherit; text-decoration: none; }
.listing-card-media { position: relative; flex: none; min-width: 0; border-radius: var(--rds-radius-surface) var(--rds-radius-surface) 0 0; }
.listing-card .listing-card-price-badge {
  position: absolute;
  z-index: 1;
  inset-block-start: 0;
  inset-inline-start: 0;
  max-inline-size: calc(100% - var(--rds-control-target-min) - var(--rds-space-6));
  padding: var(--rds-space-2) var(--rds-space-3);
  border-end-end-radius: var(--rds-radius-control);
  background: var(--rds-action);
  color: var(--rds-on-action);
  font-size: var(--rds-text-sm);
  line-height: 1.25;
  pointer-events: none;
}
.listing-card .listing-card-price-badge :is(.listing-current-price, .listing-price-unit, .listing-price-from, .listing-regular-price) {
  color: inherit;
  font-size: inherit;
}
.listing-card-price-badge .listing-nightly-rate { margin-block-start: var(--rds-space-1); }
.listing-image { position: relative; overflow: hidden; height: var(--listing-media-height, 192px); border-radius: inherit; background: var(--rds-surface-soft); }
.listing-photo-unavailable { display: grid; place-content: center; inline-size: 100%; block-size: 100%; padding: var(--rds-space-3); background: var(--rds-surface-soft); color: var(--rds-muted); font-size: var(--rds-text-sm); text-align: center; }
.listing-photo-link { border-radius: inherit; }
.listing-image > img, .listing-image > picture, .listing-image > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-card-photos { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: auto; cursor: grab; }
.listing-card-photos::-webkit-scrollbar { display: none; }
.listing-card-photos:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.listing-card-photos[data-dragging] { scroll-snap-type: none; cursor: grabbing; }
.listing-card-photo { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; }
.listing-card-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-card-photo-controls { position: absolute; inset: 0; pointer-events: none; }
.listing-card-photo-dots { position: absolute; inset: auto 0 12px; display: flex; justify-content: center; gap: 5px; }
.listing-card-photo-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--rds-surface); box-shadow: 0 0 0 1px var(--rds-muted); }
.listing-card-photo-dots i[data-current] { transform: scale(1.45); }
.listing-card-body { display: grid; flex: 1; grid-template-rows: 1fr auto; gap: var(--rds-space-3); min-width: 0; padding: var(--rds-space-4); }
.listing-card-body > .listing-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: var(--rds-space-2) var(--rds-space-3); flex: 1; }
.listing-card-heading { display: grid; grid-column: 1 / -1; gap: var(--rds-space-1); min-width: 0; }
.listing-card-heading h3 { margin: 0; font-size: var(--rds-text-base); font-weight: var(--rds-subheading-weight); line-height: 1.35; letter-spacing: -.015em; }
.listing-card-body p { margin: 0; }
.listing-card-facts { display: grid; grid-column: 1; gap: var(--rds-space-1); min-width: 0; }
.type-label, .listing-featured { position: absolute; left: var(--rds-space-3); padding: 6px 10px; border-radius: var(--rds-radius-control); background: var(--rds-surface); font-size: var(--rds-text-xs); line-height: 1.2; font-weight: 650; color: var(--rds-ink); }
.type-label { top: var(--rds-space-3); max-width: calc(100% - 76px); }
.listing-decision-card .type-label { inset: auto var(--rds-space-3) var(--rds-space-3) auto; }
.listing-featured { bottom: var(--rds-space-3); max-width: calc(100% - 24px); }
.listing-card:has(.listing-card-photos) .listing-featured { bottom: var(--rds-space-6); }
.listing-card:has(.listing-card-photos) .listing-image > :is(.type-label, .listing-featured) { pointer-events: none; }
.listing-location, .listing-distance, .listing-availability { display: flex; align-items: start; gap: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.4; }
.listing-location, .listing-location > span { min-width: 0; overflow-wrap: anywhere; }
.listing-location svg, .listing-availability svg, .home-distance svg { flex-shrink: 0; width: 16px; height: 16px; }
.listing-meta, .listing-area-label, .listing-room-facts, .listing-category { color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.4; overflow-wrap: anywhere; }
.listing-frog { color: var(--rds-accent); }
.listing-card-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--rds-space-2); min-width: 0; margin-top: auto; }
.listing-decision-card .listing-card-bottom .listing-review-link { grid-column: 2; }
.listing-card-cost { min-width: 0; }
.listing-price { color: var(--rds-ink); font-size: var(--rds-text-base); }
.listing-price-amounts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.listing-current-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.listing-card .listing-current-price { font-size: var(--rds-text-lg); }
.listing-regular-price, .listing-price-unit, .listing-price-from { font-size: var(--rds-text-xs); font-weight: 450; color: var(--rds-muted); }
.listing-nightly-rate, .listing-stay-total, .listing-offer-terms { display: block; }
.listing-price-caption, .listing-stay-total, .listing-offer-terms { margin-top: var(--rds-space-1); font-size: var(--rds-text-xs); line-height: 1.4; color: var(--rds-muted); }
.listing-card-action { display: inline-flex; grid-column: 2; align-self: end; align-items: center; gap: var(--rds-space-1); width: fit-content; font-size: var(--rds-text-xs); font-weight: 650; color: var(--rds-accent); }
.listing-card-action svg { width: 16px; height: 16px; }
.listing-review-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; min-width: 0; max-width: 8em; color: var(--rds-ink); text-decoration: none; font-size: var(--rds-text-xs); line-height: 1.3; }
.listing-review-link .listing-reputation { min-width: 0; max-width: 100%; margin: 0; overflow-wrap: anywhere; font-size: var(--rds-text-xs); }
.social-save-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--rds-space-2); min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface); color: var(--rds-ink); cursor: pointer; }
.social-save-button svg { width: 20px; height: 20px; fill: transparent; flex-shrink: 0; }
.social-save-button[aria-pressed="true"] { color: var(--rds-accent); background: var(--selected-surface); }
.social-save-button[aria-pressed="true"] svg { fill: currentColor; }
.social-save-button:hover { background: var(--selected-surface); }
.social-save-button:not(:disabled):active { box-shadow: inset 0 0 0 1px currentColor; }
.social-save-button:disabled { opacity: .5; cursor: default; }
.social-save-text { font-size: var(--rds-text-sm); font-weight: 650; padding-inline: var(--rds-space-4); }
.listing-card-media > .social-save-button { position: absolute; top: var(--rds-space-3); right: var(--rds-space-3); border-radius: var(--rds-radius-pill); }
/* Published preferences vary the same card, including its inert admin sample. */
[data-site-listing-card-style="photo"] .listing-card { --listing-media-height: 240px; }
[data-site-listing-card-style="compact"] .listing-card { --listing-media-height: 136px; }
[data-site-listing-card-style="compact"] .listing-card-body { gap: var(--rds-space-2); padding: var(--rds-space-3) var(--rds-space-4); }

.listing-home-service-card .listing-card-body { position: relative; }
.listing-service-summary { display: grid; min-width: 0; align-content: start; gap: var(--rds-space-1); }
.listing-service-summary .listing-card-heading h3 { line-height: 1.3; }
.listing-service-summary .listing-location, .listing-service-summary .listing-meta { font-size: var(--rds-text-sm); }
.listing-service-facts { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--rds-space-1) var(--rds-space-2); }
.listing-service-facts .listing-review-link { position: relative; z-index: 1; min-height: 28px; color: var(--rds-ink); }
.listing-service-facts .listing-review-link:not(:has([data-rated])) { display: none; }
.listing-service-facts .listing-review-link:hover { color: var(--rds-accent); text-decoration: underline; }
.listing-service-title::after { position: absolute; inset: 0; content: ''; }
.listing-home-service-card .listing-card-photo-dots { inset: auto auto var(--rds-space-2) 50%; transform: translateX(-50%); padding: 5px 8px; border-radius: var(--rds-radius-pill); background: rgb(0 0 0 / .68); }
.listing-home-service-card .listing-card-photo-dots i { background: rgb(255 255 255 / .72); box-shadow: none; }
.listing-home-service-card .listing-card-photo-dots i[data-current] { background: #fff; }
.listing-home-service-card .listing-card-media > .social-save-button { width: 44px; height: 44px; padding: 0; }
.listing-home-service-card .listing-card-media > .social-save-button[aria-pressed="true"] { color: var(--rds-selection-text); background: var(--rds-selection); }

/* Search composition. Map and mobile dialog break at the controller's 899px. */
.explorer { padding-block: var(--rds-space-4) calc(var(--rds-space-8) + var(--rds-space-4)); }
.explorer-command { display: grid; gap: var(--rds-space-2); margin-block-end: var(--rds-space-2); }
.explorer-result-workspace { min-width: 0; }
[data-site-public-page] :is([data-site-page-title], [data-site-page-description]) { overflow-wrap: anywhere; }
.explorer-result-count { margin: 0; color: var(--rds-ink); font-size: var(--rds-text-base); font-weight: 700; font-variant-numeric: tabular-nums; }
.explorer-search-actions { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); grid-template-areas: "filters views map"; align-items: center; gap: var(--rds-space-2); }
.explorer-search-actions > .explorer-filter-trigger { grid-area: filters; justify-self: start; }
.explorer-search-actions > .explorer-map-trigger { grid-area: map; justify-self: end; }
.explorer-search-actions > .explorer-discovery-tabs { grid-area: views; justify-self: center; width: max-content; padding: 0; background: transparent; }
.explorer-results-heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: var(--rds-space-2); margin-block-end: var(--rds-space-3); }
.explorer-results-heading > .explorer-result-count { display: flex; align-items: center; min-height: var(--rds-control-target-min); }
.explorer-result-order { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--rds-space-1) var(--rds-space-2); align-items: center; max-width: 100%; }
.explorer-result-order label { color: var(--rds-muted); font-size: var(--rds-text-sm); font-weight: 600; }
.explorer-result-order select { min-height: var(--rds-control-target-min); min-width: 0; color: var(--rds-ink); background-color: var(--rds-surface); font-size: var(--rds-text-sm); font-weight: 650; }
.explorer-result-order select:focus-visible { outline: 2px solid var(--rds-focus); outline-offset: 2px; }
.explorer-order-note { grid-column: 1 / -1; margin: 0; color: var(--rds-muted); font-size: var(--rds-text-sm); }

.explorer-search-segment { min-width: 0; flex: 1 1 0; }
.explorer-search-segment + .explorer-search-segment { border-inline-start: 1px solid var(--rds-line); }
.explorer-query-segment { display: flex; align-items: center; gap: var(--rds-space-2); padding-inline: var(--rds-space-2); flex-grow: 1.3; }
.explorer-query-segment > div { min-width: 0; width: 100%; }
.explorer-query-segment input { min-width: 0; width: 100%; border: 0; min-height: 28px; padding: 0; border-radius: 0; background: transparent; font-size: var(--rds-text-sm); }
.explorer-segment-trigger { display: flex; align-items: center; gap: var(--rds-space-2); width: 100%; min-height: 52px; border: 0; border-radius: var(--rds-radius-control); padding: var(--rds-space-2); background: transparent; color: var(--rds-ink); text-align: left; cursor: pointer; }
.explorer-segment-trigger:hover, .explorer-segment-trigger[aria-expanded="true"] { background: var(--rds-surface-soft); }
.explorer-segment-trigger > span { display: grid; min-width: 0; gap: 2px; font-size: var(--rds-text-sm); }
.explorer-segment-trigger [data-search-summary] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explorer-segment-label { display: block; color: var(--rds-muted); font-size: var(--rds-text-xs); font-weight: 600; }
.explorer-mobile-location { display: none; }
.explorer-filter-badge { min-width: 20px; padding: 2px 5px; border-radius: var(--rds-radius-pill); background: var(--rds-accent); color: var(--rds-on-accent); font-size: var(--rds-text-xs); }
.explorer-applied { display: flex; align-items: center; gap: var(--rds-space-2); margin-block-end: var(--rds-space-2); min-inline-size: 0; }
.explorer-applied > a { flex: none; padding-inline: var(--rds-space-2); }
.explorer-active-filters { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
.explorer-active-filters > li { min-width: 0; max-width: 100%; }
.explorer-active-filter > span { min-width: 0; overflow-wrap: anywhere; }
:is(.explorer-applied, .explorer-map-sheet) > .explorer-active-filters { flex-wrap: nowrap; min-inline-size: 0; overflow-x: auto; scrollbar-width: thin; }
:is(.explorer-applied, .explorer-map-sheet) > .explorer-active-filters > li { flex: none; }
:is(.explorer-applied, .explorer-map-sheet) > .explorer-active-filters .explorer-active-filter > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explorer-filter-chips { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); }
.explorer-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); align-items: start; gap: var(--rds-space-6); }
.explorer-results { min-width: 0; }
.explorer[data-map-visible="false"] .explorer-layout { grid-template-columns: minmax(0, 1fr); }
.explorer[data-map-visible="false"] .explorer-map-pane { display: none; }
.explorer-results .sk-media, .home-discovery-section .sk-media { height: var(--listing-skeleton-media, 192px); border-radius: 0; }
.explorer-results .sk-cards, .home-discovery-section .sk-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); gap: var(--rds-space-4); }
[data-site-listing-card-style="photo"] { --listing-skeleton-media: 240px; }
[data-site-listing-card-style="compact"] { --listing-skeleton-media: 136px; }
.explorer-map-pane { position: sticky; top: calc(var(--sticky-header-height, 76px) + 16px); min-width: 0; }
.search-availability-note, .search-limit-note { margin: 0 0 var(--rds-space-4); color: var(--rds-muted); font-size: var(--rds-text-sm); line-height: 1.5; }
.search-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--rds-space-3); padding-top: var(--rds-space-6); }
.search-pagination > p, .search-pagination > span { color: var(--rds-muted); font-size: var(--rds-text-sm); }
.explorer .empty-state, .explorer .error-state { padding: var(--rds-space-8); background: var(--rds-surface); border-radius: var(--rds-radius-surface); }
.explorer-search-popover { position: fixed; inset: auto; margin: 0; padding: 0; width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: hidden; border: 0; border-radius: var(--rds-radius-dialog); background: var(--rds-surface); color: var(--rds-ink); box-shadow: var(--rds-shadow-float); z-index: 60; }
.explorer-search-popover:not([hidden]) { display: flex; flex-direction: column; }
.explorer-popover-header { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-4) var(--rds-space-6); }
.explorer-popover-header h2 { margin: 0; font-size: var(--rds-text-lg); }
.explorer-popover-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--rds-space-6) var(--rds-space-6); }
.explorer-type-option { display: flex; width: 100%; align-items: center; gap: var(--rds-space-3); margin-top: var(--rds-space-2); padding: var(--rds-space-3); min-height: 64px; border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); color: var(--rds-ink); cursor: pointer; text-align: left; }
.explorer-type-option[aria-pressed="true"] { background: var(--selected-surface); color: var(--soft-ink); }
.explorer-type-option-copy { flex: 1; }
.explorer-type-option-copy strong { font-size: var(--rds-text-sm); }
.explorer-type-check { width: 20px; }
.explorer-location-suggestions h3, .header-search-locations h3 { margin: var(--rds-space-4) 0 var(--rds-space-2); font-size: var(--rds-text-sm); }
.explorer-location-option, .explorer-location-current { display: flex; align-items: center; gap: var(--rds-space-3); width: 100%; min-height: 44px; padding: var(--rds-space-3); border: 0; border-radius: var(--rds-radius-control); background: transparent; color: var(--rds-ink); text-align: left; cursor: pointer; }
.explorer-location-option:hover, .explorer-location-current:hover { background: var(--rds-surface-soft); }
.explorer-popover-actions, .explorer-date-inputs, .explorer-filter-price-range, .explorer-facet-counts { display: flex; flex-wrap: wrap; gap: var(--rds-space-3); }
.explorer-popover-actions { justify-content: space-between; margin-top: var(--rds-space-4); }
.explorer-date-inputs > *, .explorer-filter-price-range > *, .explorer-facet-counts > * { flex: 1 1 130px; min-width: 0; }
.explorer-manual-dates { margin-block: var(--rds-space-4); font-size: var(--rds-text-sm); }
.explorer-manual-dates summary { padding-block: var(--rds-space-3); cursor: pointer; }
.explorer-search-note, .explorer-location-empty, .explorer-filter-help, .explorer-filter-declaration { color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.5; }
.explorer-filter-dialog { width: min(688px, calc(100vw - 32px)); max-height: min(860px, calc(100dvh - 48px)); padding: 0; overflow: hidden; }
.explorer-filter-dialog[open] { display: flex; flex-direction: column; }
.explorer-filter-header, .explorer-filter-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-3) var(--rds-space-6); flex-shrink: 0; }
.explorer-filter-header { border-block-end: 1px solid var(--rds-line); }
.explorer-filter-header h2 { margin: 0; font-size: var(--rds-text-xl); }
.explorer-filter-header .icon-button { min-width: var(--rds-control-target-min); min-height: var(--rds-control-target-min); }
.explorer-filter-footer { border-block-start: 1px solid var(--rds-line); background: var(--rds-surface); }
.explorer-filter-footer svg { width: 16px; height: 16px; flex: none; }
.explorer-filter-body { padding: var(--rds-space-4) var(--rds-space-6) var(--rds-space-6); min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.explorer-filter-handle { display: none; }
.explorer-filter-context { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--rds-space-4); padding: var(--rds-space-4); border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.explorer-filter-context-single { grid-template-columns: minmax(0, 1fr); }
.explorer-filter-context :is(.rds-filter-chip-choice:not([aria-pressed=true]), select) { background: var(--rds-surface); }
.explorer-filter-context .rds-filter-chip-choice:hover { color: var(--soft-ink); }
.explorer-filter-type h3 { margin: 0 0 var(--rds-space-2); font-size: var(--rds-text-sm); font-weight: 650; }
.explorer-filter-order > p { margin-block: var(--rds-space-2) 0; }
.explorer-filter-group { margin: 0; padding-block: var(--rds-space-4); border-block-end: 1px solid var(--rds-line); }
.explorer-filter-group h3 { margin: 0 0 var(--rds-space-2); font-size: var(--rds-text-base); }
.explorer-filter-group > .explorer-filter-help { margin-block: 0 var(--rds-space-3); }
.explorer-filter-group > :last-child { margin-block-end: 0; }
.explorer-filter-mode .service-modality-fields { margin: 0; }
.explorer-filter-mode .service-modality-fields legend { font-size: var(--rds-text-base); font-weight: 650; }
.explorer-filter-mode > .explorer-filter-help:not(:empty) { margin-block-start: var(--rds-space-3); }
.explorer-facet-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-2) var(--rds-space-4); }
.explorer-facet-options label { display: flex; align-items: center; gap: var(--rds-space-3); min-height: var(--rds-control-target-min); padding: var(--rds-space-2) var(--rds-space-3); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); font-size: var(--rds-text-sm); cursor: pointer; overflow-wrap: anywhere; }
.explorer-facet-options label:has(input:checked) { background: var(--selected-surface); color: var(--soft-ink); }
.explorer-facet-options input { flex-shrink: 0; margin: 0; }
.explorer-facet-subgroup { min-width: 0; margin-block: var(--rds-space-4); padding: 0; border: 0; }
.explorer-facet-subgroup legend { margin-bottom: var(--rds-space-2); font-size: var(--rds-text-sm); font-weight: 600; }
.explorer-facet-disclosure { padding-block: var(--rds-space-2); }
.explorer-facet-meta { display: flex; align-items: center; gap: var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-xs); white-space: nowrap; }
.explorer-facet-disclosure-body { padding-block: var(--rds-space-2) var(--rds-space-3); }
.explorer-facet-disclosure-body > .explorer-filter-help { margin-block: 0 var(--rds-space-3); }
.explorer-filter-declaration { margin-block: var(--rds-space-4) 0; }
.explorer-category-add { display: flex; align-items: end; gap: var(--rds-space-2); }
.explorer-category-add > .form-field { flex: 1; min-width: 0; }
.explorer-category-selected { margin-top: var(--rds-space-3); }
.explorer-category-selected:empty { margin: 0; }
.service-modality-fields, .service-area-fields { margin-block: var(--rds-space-4); }
.service-modality-fields legend, .service-area-fields legend { margin-bottom: var(--rds-space-3); font-size: var(--rds-text-sm); }
.service-modality-options { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); }
.service-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-3); }
.service-area-help, .service-area-feedback, .service-online-note { color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.5; margin-block: var(--rds-space-3); }

/* Search calendar is shared with booking. Numeric geometry is deliberate. */
.search-calendar { min-width: 0; }
.search-calendar-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-2); margin-block: var(--rds-space-3); }
.search-calendar-heading h3 { margin: 0; font-size: var(--rds-text-base); }
.search-calendar-phase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-2); }
.search-calendar-phase button { display: grid; gap: var(--rds-space-1); min-height: 60px; padding: var(--rds-space-3); border: 1px solid transparent; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); color: var(--rds-ink); text-align: left; cursor: pointer; }
.search-calendar-phase button > span { color: var(--rds-muted); font-size: var(--rds-text-xs); }
.search-calendar-phase button > strong { font-size: var(--rds-text-sm); }
.search-calendar-phase button[aria-pressed="true"] { border-color: var(--rds-accent); background: var(--selected-surface); }
.search-calendar-weekdays, .search-calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.search-calendar-weekdays { margin-bottom: var(--rds-space-2); }
.search-calendar-weekdays span { padding-block: var(--rds-space-2); text-align: center; font-size: var(--rds-text-xs); color: var(--rds-muted); }
.search-calendar-cell { min-width: 0; padding-block: 2px; }
.search-calendar-cell[data-range="true"] { background: var(--selected-surface); }
.search-calendar-day { position: relative; display: block; width: 100%; min-height: 44px; padding: 6px 0; border: 0; border-radius: var(--rds-radius-control); background: transparent; color: var(--rds-ink); text-align: center; font-size: var(--rds-text-sm); font-variant-numeric: tabular-nums; cursor: pointer; }
.search-calendar-day:hover:not(:disabled) { background: var(--rds-surface-soft); }
.search-calendar-day[data-today="true"] { box-shadow: inset 0 0 0 1px var(--rds-control-line); font-weight: 700; }
.search-calendar-day[data-outside="true"] { color: var(--rds-muted); }
.search-calendar-day[data-availability="available"]::after, .search-calendar-day[data-availability="unknown"]::after { content: ""; position: absolute; bottom: 4px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--rds-accent); }
.search-calendar-day[data-availability="unknown"]::after { background: var(--rds-muted); }
.search-calendar-day[data-availability="unavailable"] { text-decoration: line-through; }
.search-calendar-day:disabled { color: var(--rds-muted); opacity: .45; cursor: default; }
.search-calendar-day[data-selected="true"] { background: var(--rds-accent); color: var(--rds-on-accent); font-weight: 700; box-shadow: none; }
.search-calendar-day[data-selected="true"]::after { background: currentColor; }
.search-calendar-day:focus-visible { z-index: 1; outline: 2px solid var(--focus); outline-offset: -2px; }
.search-calendar-hint { min-height: 2.8em; margin-block: var(--rds-space-2); font-size: var(--rds-text-xs); color: var(--rds-muted); line-height: 1.4; }
.search-calendar-availability-key { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rds-space-3); margin-top: var(--rds-space-3); font-size: var(--rds-text-xs); color: var(--rds-muted); }
.search-calendar-availability-key [data-key="available"] { color: var(--rds-accent); }
.search-calendar-availability-key [data-key="unavailable"] { text-decoration: line-through; }
.search-calendar-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); padding-top: var(--rds-space-4); }

/* Map canvas, interactive labels and preview are actual controller geometry. */
.search-map { min-width: 0; }
.search-map-stage { position: relative; min-width: 0; overflow: hidden; border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.search-map-canvas { height: min(720px, calc(100dvh - var(--sticky-header-height, 76px) - 48px)); min-height: 420px; overflow: hidden; touch-action: none; user-select: none; cursor: grab; }
.search-map-canvas:active { cursor: grabbing; }
.search-map-canvas:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.search-map-svg { display: block; width: 100%; height: 100%; }
.search-map-price { fill: var(--rds-surface); stroke: var(--rds-control-line); stroke-width: 1; }
.search-map-name-text { fill: var(--rds-muted); font-family: inherit; font-size: var(--rds-text-xs); font-weight: 500; }
.search-map-price-text { fill: var(--rds-ink); font-family: inherit; font-size: var(--rds-text-base); font-weight: 700; }
.search-map-price-unit { fill: var(--rds-muted); font-family: inherit; font-size: var(--rds-text-xs); font-weight: 450; }
.search-map-svg a:hover .search-map-price, .search-map-svg a:focus .search-map-price, .search-map-svg a[aria-expanded="true"] .search-map-price { fill: var(--selected-surface); stroke: var(--rds-accent); stroke-width: 2; }
.search-map-connector { fill: none; stroke: var(--rds-accent); stroke-width: 1.5; pointer-events: none; }
.search-map-area { fill: var(--rds-accent); stroke: var(--rds-surface); stroke-width: 1; pointer-events: none; }
.search-map-center { stroke: var(--rds-accent); stroke-width: 2; pointer-events: none; }
.search-map-zoom, .search-map-price-pages { position: absolute; display: flex; gap: 2px; padding: 4px; border-radius: var(--rds-radius-control); background: var(--rds-surface); box-shadow: var(--rds-shadow-float); }
.search-map-zoom { top: var(--rds-space-3); right: var(--rds-space-3); flex-direction: column; }
.search-map-zoom button, .search-map-price-pages button { width: 44px; min-height: 44px; padding: var(--rds-space-2); }
.search-map-origin { position: absolute; bottom: 34px; left: var(--rds-space-3); max-width: calc(100% - 140px); background: var(--rds-surface); box-shadow: var(--rds-shadow-float); font-size: var(--rds-text-xs); }
.search-map-price-pages { bottom: 34px; right: var(--rds-space-3); }
:is(.search-map, .listing-area) .map-attribution { position: absolute; right: 6px; bottom: 6px; max-width: calc(100% - 12px); margin: 0; padding: 3px 6px; border-radius: 4px; background: var(--rds-surface); color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.3; }
:is(.search-map, .listing-area) .map-attribution a { color: inherit; }
.search-map-unavailable { position: absolute; left: var(--rds-space-3); right: 76px; top: var(--rds-space-3); padding: var(--rds-space-3); background: var(--rds-surface); border-radius: var(--rds-radius-control); font-size: var(--rds-text-sm); }
.search-map-unavailable p { margin: 0 0 var(--rds-space-2); }
.search-map-preview { position: fixed; width: 300px; max-width: calc(100vw - 24px); z-index: 75; }
.search-map-preview-card { position: relative; max-height: var(--map-preview-max-height, 480px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--rds-radius-surface); background: var(--rds-surface); box-shadow: var(--rds-shadow-float); }
.search-map-preview-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.search-map-preview-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-map-preview-content { padding: var(--rds-space-4); }
.search-map-preview-content h3 { margin: 0 0 var(--rds-space-2); font-size: var(--rds-text-base); line-height: 1.3; overflow-wrap: anywhere; }
.search-map-preview-content p { margin: 0 0 var(--rds-space-2); }
.search-map-preview-location, .search-map-preview-nightly, .search-map-preview-unit { font-size: var(--rds-text-xs); color: var(--rds-muted); }
.search-map-preview-price { font-size: var(--rds-text-base); font-weight: 700; font-variant-numeric: tabular-nums; }
.search-map-preview-link { display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-2); min-height: 36px; font-size: var(--rds-text-sm); font-weight: 650; }
.search-map-preview-close { position: absolute; top: var(--rds-space-2); right: var(--rds-space-2); width: 44px; min-height: 44px; padding: var(--rds-space-2); background: var(--rds-surface); }
.explorer-map-sheet { padding: 0; overflow: hidden; }
.explorer-map-sheet-toolbar { display: flex; flex-wrap: wrap; align-items: center; flex-shrink: 0; gap: var(--rds-space-2); padding: 0 var(--rds-space-4) var(--rds-space-2); }
.explorer-map-sheet-return { order: 1; margin-inline-start: auto; }
.explorer-map-sheet > .explorer-active-filters { flex-shrink: 0; padding: 0 var(--rds-space-4) var(--rds-space-2); }

/* Header search dialogs: forms and choices, without taking over app chrome. */
.header-search-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(880px, calc(100dvh - 48px)); padding: 0; overflow: hidden; }
.header-search-dialog[open] { display: flex; flex-direction: column; }
.header-search-dialog form { display: flex; flex-direction: column; min-height: 0; }
.header-search-dialog-heading { display: flex; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-4) var(--rds-space-6); flex-shrink: 0; }
.header-search-dialog-heading h2 { flex: 1; margin: 0; font-size: var(--rds-text-lg); }
.header-search-dialog-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 0 var(--rds-space-6) var(--rds-space-6); }
.header-search-main-fields { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.4fr); gap: var(--rds-space-3); }
.header-search-field { display: grid; gap: var(--rds-space-2); min-width: 0; }
.header-search-field label { font-size: var(--rds-text-sm); font-weight: 600; }
.header-search-location, .header-search-dates { margin-top: var(--rds-space-6); padding: 0; border: 0; }
.header-search-dates legend { font-size: var(--rds-text-base); font-weight: 650; margin-bottom: var(--rds-space-3); }
.header-search-date-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rds-space-3); }
.header-search-dates .header-search-calendar { margin-block: var(--rds-space-4); max-width: 420px; margin-inline: auto; }
.header-search-location-trigger { width: 100%; justify-content: start; background: var(--rds-surface-soft); }
.header-search-location-actions { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); }
.header-search-note { font-size: var(--rds-text-xs); color: var(--rds-muted); line-height: 1.5; }
.header-search-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); flex-shrink: 0; padding: var(--rds-space-4) var(--rds-space-6); border-top: 1px solid var(--rds-line); }
.header-search-locations button { display: flex; align-items: center; gap: var(--rds-space-3); width: 100%; min-height: 44px; padding: var(--rds-space-3); border: 0; border-radius: var(--rds-radius-control); background: transparent; color: var(--rds-ink); text-align: left; cursor: pointer; }
.header-search-locations button:hover { background: var(--rds-surface-soft); }
.header-location-picker-current { width: 100%; justify-content: start; margin-block: var(--rds-space-3); }
.header-search-query-toolbar { display: flex; align-items: center; gap: var(--rds-space-2); padding: var(--rds-space-4); flex-shrink: 0; }
.header-search-query-input { display: flex; align-items: center; flex: 1; gap: var(--rds-space-2); min-width: 0; padding-inline: var(--rds-space-3); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
.header-search-query-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding-inline: 0; }
.header-search-query-tools { display: flex; gap: var(--rds-space-1); }
.header-search-query-body { min-height: 0; overflow-y: auto; padding: 0 var(--rds-space-6) var(--rds-space-6); }
.header-search-query-group { margin-top: var(--rds-space-4); }
.header-search-query-group-head { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); margin-bottom: var(--rds-space-2); }
.header-search-query-group-head h3 { margin: 0; font-size: var(--rds-text-sm); }
.header-search-query-list { margin: 0; padding: 0; list-style: none; }
.header-search-query-item { display: flex; align-items: center; gap: var(--rds-space-2); }
.header-search-query-option { display: flex; align-items: center; flex: 1; gap: var(--rds-space-3); min-width: 0; min-height: 52px; padding: var(--rds-space-2); border: 0; border-radius: var(--rds-radius-control); background: transparent; color: var(--rds-ink); font-size: var(--rds-text-sm); text-align: left; cursor: pointer; }
.header-search-query-option[aria-selected="true"], .header-search-query-option:hover { background: var(--rds-surface-soft); }
.header-search-query-thumb { width: 56px; height: 44px; object-fit: cover; border-radius: calc(var(--rds-radius-control) - 8px); flex-shrink: 0; }
.header-search-query-meta { display: block; margin-top: 2px; color: var(--rds-muted); font-size: var(--rds-text-xs); }
.header-search-query-status { margin-top: var(--rds-space-3); color: var(--rds-muted); font-size: var(--rds-text-xs); }

/* Listing: a shared reading order with a separate desktop booking column. */
.detail-view { padding-block: var(--rds-space-6) var(--rds-space-12); }
.detail-view > .back-link { display: inline-flex; align-items: center; gap: var(--rds-space-2); margin-bottom: var(--rds-space-4); font-size: var(--rds-text-sm); }
.listing-breadcrumbs { display: none; }
@media (min-width: 900px) {
  .listing-public-taste > .back-link { display: none; }
  .listing-breadcrumbs { display: block; margin-bottom: var(--rds-space-3); font-size: var(--rds-text-sm); }
  .listing-breadcrumbs ol { display: flex; align-items: center; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
  .listing-breadcrumbs li { display: flex; align-items: center; gap: var(--rds-space-2); min-width: 0; }
  .listing-breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 2px; font-weight: 650; white-space: nowrap; }
  .listing-breadcrumbs a:hover { text-decoration: underline; }
  .listing-breadcrumb-separator { color: var(--rds-muted); }
  .listing-breadcrumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.detail-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--rds-space-1) var(--rds-space-4); }
.detail-heading h1 { grid-column: 1; margin: 0; font-size: var(--rds-text-xl); line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.listing-quick-facts { position: relative; grid-column: 1 / -1; display: flex; align-items: center; gap: var(--rds-space-4); min-inline-size: 0; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; color: var(--rds-muted); font-size: var(--rds-text-sm); }
.listing-quick-facts > :is(span, a) { display: inline-flex; align-items: center; flex: none; gap: var(--rds-space-1); }
.listing-quick-facts svg { width: var(--rds-icon-small); height: var(--rds-icon-small); }
.detail-review-link { min-height: var(--rds-control-target-min); color: inherit; }
.detail-review-link:hover { color: var(--rds-accent); text-decoration: underline; }
.detail-review-link:focus-visible { outline-offset: -2px; }
.detail-review-link .listing-reputation { font-size: inherit; }
.listing-detail-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: var(--rds-space-2); }
:is(.listing-detail-actions, .listing-mobile-header) .listing-round-action {
  display: grid; place-items: center; inline-size: var(--rds-row-compact); block-size: var(--rds-row-compact); min-inline-size: var(--rds-row-compact);
  padding: var(--rds-space-3); border: 0; border-radius: var(--rds-radius-pill); background: #fff; color: #141914;
}
.listing-round-action > svg { width: var(--rds-icon-large); height: var(--rds-icon-large); }
:is(.listing-detail-actions, .listing-mobile-header) .listing-round-action[aria-pressed="true"] { color: #216b34; }
:is(.listing-detail-actions, .listing-mobile-header) .listing-round-action:hover { background: #f1f5f1; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--rds-space-6); }
.listing-availability-jump { display: none; }
.listing-identity, .listing-gallery { min-width: 0; margin: 0; }
.listing-loading .sk-hero { height: auto; aspect-ratio: 16 / 9; }
.listing-loading .sk-detail-columns { grid-template-columns: minmax(0, 8fr) minmax(18rem, 4fr); }
.listing-booking {
  --listing-booking-top: calc(var(--sticky-header-height, var(--public-header-height)) + var(--rds-space-6));
  position: sticky;
  top: var(--listing-booking-top);
  min-width: 0;
  max-height: calc(100dvh - var(--listing-booking-top) - var(--rds-space-4));
  overflow-y: auto;
  scrollbar-width: thin;
  border: 0;
  border-radius: var(--rds-radius-surface);
  background: var(--rds-surface);
  box-shadow: var(--rds-shadow-float);
}
.listing-booking-core { display: grid; gap: var(--rds-space-4); min-width: 0; padding: var(--rds-space-6); }
.detail-content { min-width: 0; padding-inline: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.detail-section { min-width: 0; margin: 0; padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.detail-section > .detail-section, .hold-schedule-details > .detail-section { padding: 0; }
.detail-content > .detail-section > .detail-section { background: transparent; }
.detail-content > .detail-section, .detail-content > #listing-details > .detail-section { padding: var(--rds-space-6) 0; border-radius: 0; background: transparent; }
.detail-content > :is(.detail-section:not([hidden]), #listing-details:has(> .detail-section)) ~ :is(.detail-section:not([hidden]), #listing-details:has(> .detail-section)),
.detail-content > #listing-details > .detail-section + .detail-section { border-block-start: 1px solid var(--rds-line); }
.detail-content .detail-section h2 { margin-block-end: var(--rds-space-3); }
.detail-content .listing-about p { max-width: var(--rds-content-reading); white-space: pre-line; }
.detail-section h2 { margin: 0 0 var(--rds-space-4); font-size: var(--rds-text-lg); letter-spacing: -.02em; }
.detail-section h3 { margin: var(--rds-space-4) 0 var(--rds-space-2); font-size: var(--rds-text-base); }
.detail-section p { font-size: var(--rds-text-sm); line-height: 1.65; overflow-wrap: anywhere; }
.detail-section > p:first-of-type { margin-top: 0; }
.detail-section > :last-child { margin-bottom: 0; }
.listing-section-nav, .listing-reserve-dock { display: none; }
.listing-reserve-panel { display: grid; gap: var(--rds-space-4); }
.listing-reserve-panel > :is(a, button) { width: 100%; }
.listing-reserve-pricing .quote-base { margin: 0; font-size: var(--rds-text-xl); }
.listing-reserve-intro h2 { margin: 0 0 var(--rds-space-3); font-size: var(--rds-text-base); }
.listing-availability-preview ul { display: grid; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
.listing-availability-preview li { margin: 0; }
.listing-slot-link { width: 100%; justify-content: start; text-align: left; background: var(--rds-surface-soft); }
.listing-slot-copy { display: grid; gap: var(--rds-space-1); }
.listing-slot-copy strong { font-size: var(--rds-text-sm); }
.listing-slot-copy small { font-size: var(--rds-text-xs); color: var(--rds-muted); font-weight: 400; }
.listing-booking .booking-form { display: grid; gap: var(--rds-space-3); }
.listing-booking .field-group { display: grid; gap: var(--rds-space-3); }
.listing-booking .agenda-table-scroll { overflow-x: auto; max-width: 100%; margin-top: var(--rds-space-3); }
.listing-booking .agenda-results { min-width: 440px; }
.listing-booking .price-caption, .listing-stay-selection, .listing-stay-price-status, .listing-stay-price-reference { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.5; }
.listing-price-details, .hold-schedule-details { padding-top: var(--rds-space-3); border-top: 1px solid var(--rds-line); font-size: var(--rds-text-sm); }
.listing-price-details summary, .hold-schedule-details summary { min-height: 44px; cursor: pointer; }
.listing-price-breakdown h3 { margin: var(--rds-space-3) 0; font-size: var(--rds-text-sm); }
.listing-price-lines { display: grid; gap: var(--rds-space-3); margin: 0; }
.listing-price-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--rds-space-3); font-size: var(--rds-text-sm); }
.listing-price-lines dt { color: var(--rds-muted); }
.listing-price-lines dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.listing-price-lines .listing-price-total { padding-top: var(--rds-space-3); border-top: 1px solid var(--rds-line); }
.listing-price-lines .listing-price-total dt { color: var(--rds-ink); font-weight: 650; }
.listing-price-estimate { margin-bottom: 0; color: var(--rds-muted); font-size: var(--rds-text-xs); line-height: 1.5; }
.listing-share-result { margin-block: var(--rds-space-3); padding: var(--rds-space-3) var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--selected-surface); color: var(--soft-ink); font-size: var(--rds-text-sm); }
.listing-share-result a { overflow-wrap: anywhere; }
.gallery-mosaic { position: relative; border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.gallery-scroll { display: grid; grid-template-columns: minmax(0, 2.6fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-2); aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; }
.gallery-tile { display: block; min-width: 0; min-height: 0; border: 0; padding: 0; border-radius: 0; overflow: hidden; background: var(--rds-surface-soft); cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tile:focus-visible { position: relative; outline-offset: calc(-1 * var(--rds-space-1)); }
.gallery-cover { grid-row: 1 / -1; }
.gallery-mosaic[data-photo-count="1"] .gallery-scroll { grid-template-columns: minmax(0, 1fr); }
.gallery-mosaic[data-photo-count="2"] .gallery-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-mosaic[data-photo-count="2"] .gallery-tile:nth-child(2) { grid-row: 1 / -1; }
.gallery-mosaic[data-photo-count="3"] .gallery-scroll { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.gallery-mosaic[data-photo-count="4"] .gallery-tile:nth-child(4) { grid-column: 2 / -1; }
.gallery-count { position: absolute; right: var(--rds-space-4); bottom: var(--rds-space-4); background: var(--rds-surface); box-shadow: var(--rds-shadow-float); }
.gallery-inline-position { display: none; }
.detail-visual { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.detail-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visual-caption { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); font-size: var(--rds-text-xs); }
.visual-caption[data-gallery-caption] { min-block-size: 1.5em; }
.listing-details-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-4); margin: 0 0 var(--rds-space-6); }
.listing-details-facts > div { min-width: 0; }
.listing-details-facts dt { color: var(--rds-muted); font-size: var(--rds-text-xs); }
.listing-details-facts dd { margin: var(--rds-space-1) 0 0; font-size: var(--rds-text-sm); font-weight: 600; overflow-wrap: anywhere; }
.amenity-list, .room-feature-list, .listing-detail-categories ul { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); margin: var(--rds-space-3) 0; padding: 0; list-style: none; }
.amenity-list li, .room-feature-list li, .listing-detail-categories li { padding: 8px 12px; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); font-size: var(--rds-text-sm); }
.listing-detail-text + .listing-detail-text { margin-top: var(--rds-space-6); }
.listing-detail-text p { white-space: pre-line; }
.listing-area [data-area-map] { position: relative; overflow: hidden; border-radius: var(--rds-radius-control); }
.approximate-map { display: block; width: 100%; height: auto; max-height: 340px; background: var(--rds-surface-soft); }
.approximate-map-circle { fill: var(--rds-accent); fill-opacity: .12; stroke: var(--rds-accent); stroke-width: 3; }
.listing-partner-card { display: grid; gap: var(--rds-space-2); }
.listing-partner-card .partner-public-avatar { width: var(--rds-row-compact); height: var(--rds-row-compact); }
.listing-partner-information > .listing-reputation { color: var(--rds-muted); }
.listing-partner-identity { display: flex; align-items: center; gap: var(--rds-space-3); color: var(--rds-ink); text-decoration: none; }
.listing-partner-identity > span:not(.partner-public-avatar) { display: grid; gap: var(--rds-space-1); flex: 1; min-width: 0; }
.listing-partner-identity strong { font-size: var(--rds-text-base); }
.listing-partner-identity span span { color: var(--rds-muted); font-size: var(--rds-text-xs); }
.listing-partner-about summary { min-height: 44px; cursor: pointer; }
.listing-room-list { display: grid; gap: var(--rds-space-4); padding: 0; list-style: none; }
.listing-room + .listing-room { padding-top: var(--rds-space-4); border-top: 1px solid var(--rds-line); }
.room-photo-strip { display: flex; gap: var(--rds-space-2); overflow-x: auto; padding-bottom: var(--rds-space-2); }
.room-photo { flex: 0 0 140px; height: 104px; padding: 0; border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); overflow: hidden; cursor: zoom-in; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-policy-heading { display: flex; align-items: start; gap: var(--rds-space-3); }
.listing-policy-heading h3 { margin-top: 0; }
.listing-policy-heading > svg { flex-shrink: 0; color: var(--rds-accent); }
.listing-policy-table { border-collapse: collapse; width: 100%; font-size: var(--rds-text-sm); }
.listing-policy-table caption { text-align: left; padding-block: var(--rds-space-3); font-weight: 600; }
.listing-policy-table :is(th,td) { padding: var(--rds-space-3); border-bottom: 1px solid var(--rds-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.listing-policy-table th { color: var(--rds-muted); font-weight: 600; }
.listing-policy-overview summary, .listing-policy-exceptions summary { min-height: 44px; cursor: pointer; }
.listing-policy-box { padding-top: var(--rds-space-3); }
.listing-policy-norms > h3 { margin-block-start: var(--rds-space-2); }
.listing-policy-actions { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); }
.listing-policy-fee, .listing-policy-help { color: var(--rds-muted); }

/* Gallery dialog. Native dialog, zoom and image indices remain controller-owned. */
.photo-dialog { position: fixed; inset: 16px; width: calc(100vw - 32px); max-width: 1400px; height: calc(100dvh - 32px); max-height: none; padding: 0; overflow: hidden; background: var(--rds-surface); }
.photo-dialog-shell { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.photo-dialog-header { display: flex; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-4) var(--rds-space-6); flex-shrink: 0; }
.photo-dialog-heading { flex: 1; min-width: 0; }
.photo-dialog-heading h2 { margin: 0; font-size: var(--rds-text-lg); line-height: 1.3; overflow-wrap: anywhere; }
.photo-dialog-heading > span { color: var(--rds-muted); font-size: var(--rds-text-xs); }
.photo-icon-button, .photo-back { display: inline-flex; align-items: center; justify-content: center; gap: var(--rds-space-2); min-width: 44px; min-height: 44px; padding: var(--rds-space-2); border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); color: var(--rds-ink); cursor: pointer; flex-shrink: 0; }
.photo-back { padding-inline: var(--rds-space-3); font-size: var(--rds-text-sm); }
.photo-icon-button:disabled { opacity: .4; cursor: default; }
.photo-zoom { font-size: var(--rds-text-sm); }
.photo-zoom[aria-pressed="true"] { color: var(--soft-ink); background: var(--selected-surface); }
.photo-zoom[aria-pressed="true"] .photo-zoom-plus { display: none; }
.photo-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rds-space-3); min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--rds-space-6) var(--rds-space-6); }
.photo-overview-tile { aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); cursor: zoom-in; }
.photo-overview-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-viewer { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.photo-stage { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: var(--rds-space-3); flex: 1; min-height: 0; padding: 0 var(--rds-space-6); }
.photo-dialog-visual { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: var(--rds-surface-soft); border-radius: var(--rds-radius-control); }
.photo-dialog-visual > img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.photo-stage[data-gallery-zoomed="true"] .photo-dialog-visual { overflow: auto; overscroll-behavior: contain; }
.photo-stage[data-gallery-zoomed="true"] .photo-dialog-visual > img { width: 200%; height: 200%; max-width: none; object-fit: contain; cursor: zoom-out; }
.photo-gallery-error { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-6); background: var(--rds-surface-soft); text-align: center; }
.photo-viewer-footer { padding: var(--rds-space-3) var(--rds-space-6) var(--rds-space-4); }
.photo-viewer-footer > p { margin: 0 0 var(--rds-space-2); text-align: center; font-size: var(--rds-text-xs); color: var(--rds-muted); }
.photo-filmstrip { display: flex; justify-content: center; gap: var(--rds-space-2); overflow-x: auto; padding: 3px; }
.photo-filmstrip button { flex: 0 0 64px; height: 48px; border: 0; padding: 0; overflow: hidden; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); cursor: pointer; }
.photo-filmstrip button[aria-current="true"] { outline: 2px solid var(--rds-accent); outline-offset: 1px; }
.photo-filmstrip img { width: 100%; height: 100%; object-fit: cover; }

/* Public profiles */
.partner-public-profile, .branch-public-profile, .professional-public-taste { padding-block: var(--rds-space-6) calc(var(--rds-space-8) + var(--rds-space-4)); }
.partner-public-profile > .back-link, .branch-public-back, .professional-public-back { display: inline-flex; margin-bottom: var(--rds-space-4); font-size: var(--rds-text-sm); }
.public-profile-hero, .professional-public-hero { overflow: hidden; border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.partner-profile-hero:has(.partner-public-cover) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.partner-public-cover { min-block-size: 240px; overflow: hidden; background: var(--rds-surface-soft); }
.partner-public-cover img { width: 100%; height: 100%; object-fit: cover; }
.partner-public-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; gap: var(--rds-space-4); padding: var(--rds-space-6); }
.partner-public-avatar, .professional-public-avatar { display: inline-flex; justify-content: center; align-items: center; width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); color: var(--rds-accent); font-size: var(--rds-text-xl); font-weight: 650; }
.partner-public-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner-public-identity, .branch-public-identity { min-width: 0; }
.partner-public-heading h1, .branch-public-heading h1, .professional-public-heading h1 { margin: 0; font-size: var(--rds-text-title); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.partner-public-summary { display: flex; flex-wrap: wrap; gap: var(--rds-space-2) var(--rds-space-4); margin-top: var(--rds-space-2); }
.partner-public-summary p { margin: 0; }
.partner-public-registration { display: flex; align-items: center; gap: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.partner-public-registration svg { width: 16px; height: 16px; }
.partner-public-headline { grid-column: 2; margin: 0; color: var(--rds-muted); font-size: var(--rds-text-sm); }
.partner-public-heading-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-2); }
.partner-public-navigation, .branch-public-navigation { display: none; }
.public-profile-body { display: grid; gap: var(--rds-space-6); margin-top: var(--rds-space-6); }
.partner-public-about, .partner-public-reviews, .branch-public-information { min-width: 0; padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.partner-public-intro { display: grid; gap: var(--rds-space-4); }
.public-profile-body h2, .professional-public-listings h2 { margin: 0 0 var(--rds-space-4); font-size: var(--rds-text-lg); letter-spacing: -.02em; }
.partner-public-description, .partner-public-metadata, .partner-public-offering, .branch-public-details { color: var(--rds-muted); font-size: var(--rds-text-sm); line-height: 1.6; overflow-wrap: anywhere; }
.partner-public-description { white-space: pre-line; }
.partner-public-metadata { display: flex; flex-wrap: wrap; gap: var(--rds-space-1) var(--rds-space-4); }
.partner-public-offering { display: grid; gap: var(--rds-space-4); align-content: start; padding-top: var(--rds-space-4); border-top: 1px solid var(--rds-line); }
.partner-public-offering h3 { margin: 0; font-size: var(--rds-text-sm); color: var(--rds-ink); }
.partner-public-offering ul { margin: var(--rds-space-1) 0 0; }
.branch-public-details { display: grid; gap: var(--rds-space-4); }
.branch-public-details > div { display: grid; gap: var(--rds-space-1); }
.branch-public-details dt { color: var(--rds-ink); font-weight: 650; }
.branch-public-details ul { margin: 0; }
.partner-public-type-filters { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); margin-bottom: var(--rds-space-4); }
.partner-public-type-filters button { min-height: 44px; border: 0; border-radius: var(--rds-radius-control); padding: var(--rds-space-2) var(--rds-space-4); background: var(--rds-surface); color: var(--rds-ink); font-size: var(--rds-text-sm); cursor: pointer; }
.partner-public-type-filters button[aria-pressed="true"] { background: var(--selected-surface); color: var(--soft-ink); }
.partner-public-range, .branch-public-help, .branch-public-count { margin-block: var(--rds-space-3); color: var(--rds-muted); font-size: var(--rds-text-sm); }
.partner-public-empty, .partner-public-inline-error, .branch-public-empty, .professional-public-empty { padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.partner-public-review-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--rds-space-6); margin-block: var(--rds-space-4); }
.partner-public-review-overview > :is(.listing-review-summary, .review-distribution) { margin: 0; }
.partner-public-review-filters { display: flex; flex-wrap: wrap; align-items: end; gap: var(--rds-space-3); margin-block: var(--rds-space-6); }
.partner-public-review-filters label { display: grid; gap: var(--rds-space-2); min-width: 140px; flex: 1; font-size: var(--rds-text-sm); }
.partner-public-aspect-groups { display: grid; gap: var(--rds-space-4); margin-top: var(--rds-space-4); }
.partner-public-aspect-groups > div { display: grid; gap: var(--rds-space-2); min-width: 0; font-size: var(--rds-text-sm); }
.partner-public-aspect-groups h4 { margin: 0; font-size: var(--rds-text-sm); }
.partner-public-aspect-groups dl { display: grid; gap: var(--rds-space-2); margin: 0; }
.partner-public-aspect-groups dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--rds-space-3); align-items: start; }
.partner-public-aspect-groups dt { min-width: 0; overflow-wrap: anywhere; }
.partner-public-aspect-groups dt small { display: block; margin-top: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.partner-public-aspect-groups dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.partner-public-disclosure { margin-block: var(--rds-space-4); }
.partner-public-disclosure > summary { min-height: var(--rds-control-target-min); padding-block: var(--rds-space-2); }
.branch-profile-hero, .professional-public-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: var(--rds-space-6); padding: var(--rds-space-6); }
.branch-public-heading, .professional-public-heading { display: flex; align-items: start; gap: var(--rds-space-4); }
.branch-public-avatar { display: grid; place-items: center; flex: none; min-height: var(--rds-control-comfortable); color: var(--rds-muted); }
.branch-profile-connection, .professional-public-connection { padding: var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
.branch-profile-connection { align-self: center; }
.branch-public-partner, .professional-public-connection > a { display: flex; justify-content: space-between; align-items: center; gap: var(--rds-space-3); color: var(--rds-ink); font-weight: 650; text-decoration: none; }
.branch-public-partner small, .professional-public-connection > a small { display: block; margin-top: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); font-weight: 400; }
.public-profile-eyebrow, .professional-public-taste .utility-taste-eyebrow { margin: 0 0 var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.branch-public-location, .professional-public-location { display: flex; align-items: center; gap: var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-sm); }
.branch-public-actions { display: flex; gap: var(--rds-space-2); }
.professional-public-categories { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); padding: 0; list-style: none; }
.professional-public-categories li { padding: 5px 10px; border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); font-size: var(--rds-text-xs); }
.professional-public-listings { margin-top: var(--rds-space-6); }
.professional-public-listings-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--rds-space-4); margin-bottom: var(--rds-space-4); }
.professional-public-listings-heading p { margin-block: var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-sm); }
.professional-public-explore { display: inline-flex; align-items: center; gap: var(--rds-space-2); flex-shrink: 0; font-size: var(--rds-text-sm); }
.social-related-group + .social-related-group { margin-top: var(--rds-space-6); }
.social-related-list { display: grid; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
.social-related-row { display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-3); min-height: 60px; padding-block: var(--rds-space-2); }
.social-related-row + .social-related-row { border-top: 1px solid var(--rds-line); }
.social-related-row a { display: flex; align-items: center; gap: var(--rds-space-3); color: var(--rds-ink); text-decoration: none; min-width: 0; }
.social-related-row small { display: block; margin-top: var(--rds-space-1); color: var(--rds-muted); font-size: var(--rds-text-xs); }

/* Verified reviews and public questions retain complete disclosures and actions. */
.listing-reputation { display: inline-flex; align-items: center; gap: var(--rds-space-1); font-size: var(--rds-text-sm); }
.listing-reputation svg { width: 16px; height: 16px; flex-shrink: 0; }
.listing-card-score-value { font-weight: 650; font-variant-numeric: tabular-nums; }
.listing-review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--rds-space-6); margin-block: var(--rds-space-4); }
.review-summary-score { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-3); font-size: var(--rds-text-title); font-weight: 700; line-height: 1.2; }
.review-summary-copy, .review-summary-unrated, .reputation-help, .listing-reviews-empty { color: var(--rds-muted); font-size: var(--rds-text-sm); line-height: 1.5; }
.review-summary-copy h3 { margin: 0; color: var(--rds-ink); font-size: var(--rds-text-base); }
.review-summary-copy p { margin: var(--rds-space-1) 0 0; }
.review-summary-stars { display: inline-flex; gap: 2px; }
.review-summary-stars svg { width: 20px; height: 20px; }
.review-star-ground { fill: var(--rds-surface-soft); }
.review-star-fill { fill: var(--rds-accent); }
.review-distribution { display: grid; gap: var(--rds-space-3); margin-block: var(--rds-space-6); }
.review-distribution h3 { margin: 0; font-size: var(--rds-text-base); }
.review-distribution ol { display: grid; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
.review-distribution li { display: grid; grid-template-columns: 36px minmax(0, 1fr) minmax(2ch, auto); align-items: center; gap: var(--rds-space-3); font-size: var(--rds-text-sm); }
.review-distribution meter { display: block; width: 100%; min-width: 0; height: 8px; border: 0; border-radius: var(--rds-radius-pill); background: var(--rds-surface-soft); accent-color: var(--rds-accent); }
.review-distribution meter::-webkit-meter-bar { height: 8px; border: 0; border-radius: var(--rds-radius-pill); background: var(--rds-surface-soft); box-shadow: none; }
.review-distribution meter::-webkit-meter-optimum-value { border-radius: var(--rds-radius-pill); background: var(--rds-accent); }
.review-distribution meter::-moz-meter-bar { border-radius: var(--rds-radius-pill); background: var(--rds-accent); }
.review-distribution-label { display: inline-flex; align-items: center; gap: var(--rds-space-1); }
.review-distribution-label svg { width: 16px; height: 16px; flex-shrink: 0; }
.review-distribution-label, .review-distribution-count { font-variant-numeric: tabular-nums; }
.review-distribution-count { text-align: right; color: var(--rds-muted); }
.listing-review-overview { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); align-items: center; gap: var(--rds-space-4); margin-block-end: var(--rds-space-4); }
.listing-review-overview > .listing-review-summary { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-2); margin: 0; }
.listing-review-overview > .review-distribution { margin: 0; }
.listing-reviews-empty { display: flex; align-items: center; gap: var(--rds-space-2); }
.verified-review-list { margin: 0; padding: 0; list-style: none; }
.verified-review { display: grid; gap: var(--rds-space-3); padding-block: var(--rds-space-6); border-top: 1px solid var(--rds-line); }
.verified-review-rating { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-2); margin: 0; font-size: var(--rds-text-sm); font-weight: 650; }
.verified-review-rating > svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--rds-accent); }
.verified-review-rating > span { color: var(--rds-muted); font-size: var(--rds-text-xs); font-weight: 450; }
.verified-review-date { margin: 0; color: var(--rds-muted); font-size: var(--rds-text-xs); }
.verified-review-comment { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.verified-review .partner-review-source { margin: 0; font-size: var(--rds-text-sm); }
.verified-review .review-aspects { display: grid; gap: var(--rds-space-2); margin: 0; font-size: var(--rds-text-sm); }
.verified-review .review-aspects > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--rds-space-3); }
.verified-review .review-aspects dt { color: var(--rds-muted); overflow-wrap: anywhere; }
.verified-review .review-aspects dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.verified-review .review-aspects dd span { color: var(--rds-muted); font-weight: 450; }
.verified-review .review-person-rating { margin: 0; font-size: var(--rds-text-sm); }
.verified-review .review-photos { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); margin: 0; padding: 0; list-style: none; }
.verified-review .review-photos li { flex: 0 1 100px; min-width: 44px; }
.verified-review .review-photos a { display: block; border-radius: var(--rds-radius-control); overflow: hidden; }
.verified-review .review-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.review-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rds-space-3); margin-top: var(--rds-space-4); }
.review-page-count { color: var(--rds-muted); font-size: var(--rds-text-xs); }
.lq-public-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--rds-space-3); margin-block-end: var(--rds-space-2); }
.lq-public-heading > h2 { margin: 0; }
.lq-public-heading > a { display: inline-flex; align-items: center; min-block-size: var(--rds-control-target-min); font-weight: 650; }
.lq-public .lq-ask { margin-block-end: var(--rds-space-4); }
.lq-public .lq-ask h3 { margin-top: 0; }
.lq-public .lq-empty { color: var(--rds-muted); }
.lq-public .lq-field { display: grid; gap: var(--rds-space-2); margin-block: var(--rds-space-3); }
.lq-public .lq-field label { font-size: var(--rds-text-sm); font-weight: 600; }
.lq-public .lq-field-help { display: flex; justify-content: space-between; align-items: baseline; gap: var(--rds-space-3); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.lq-public .lq-field-help p { margin: 0; font-size: inherit; }
.lq-public .lq-field-help > span { flex-shrink: 0; }
.lq-public .lq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-3); margin-top: var(--rds-space-3); }
.lq-public .lq-list { margin: 0; padding: 0; list-style: none; }
.lq-public .lq-pair { padding-block: var(--rds-space-6); border-top: 1px solid var(--rds-line); }
.lq-public .lq-text { margin: 0; white-space: pre-line; }
.lq-public .lq-question > .lq-text { font-weight: 650; }
.lq-public .lq-meta, .lq-public .lq-secondary { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); font-size: var(--rds-text-xs); }
.lq-public .lq-answer { margin-top: var(--rds-space-4); padding-inline-start: var(--rds-space-4); border-inline-start: 1px solid var(--rds-line); }
.lq-public .lq-answer-label { margin: 0 0 var(--rds-space-2); font-size: var(--rds-text-xs); color: var(--rds-muted); }
.lq-public .lq-answer-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-3); }
.lq-public .lq-report-form { margin-top: var(--rds-space-4); padding: var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
.lq-public .lq-notice, .lq-public .lq-error { padding: var(--rds-space-3); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
.lq-public .lq-error { color: var(--danger); }

/* Partner recruitment */
.partner-landing {
  --pl-tint: color-mix(in srgb, var(--rds-surface) 72%, var(--brand-green-tint));
  --pl-glow: color-mix(in srgb, var(--rds-surface) 90%, var(--rds-action-accent));
  --pl-section-gap: clamp(44px, 6vw, 92px);
  padding-block: var(--rds-space-6) var(--pl-section-gap);
}
.pl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: var(--rds-space-3);
  padding: var(--rds-space-3);
  border-radius: var(--rds-radius-dialog);
  background: radial-gradient(ellipse at 4% 3%, var(--pl-glow), transparent 62%),
    linear-gradient(120deg, var(--rds-surface), var(--brand-green-tint));
}
.pl-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--rds-space-6);
  padding: clamp(24px, 3.8vw, 60px);
}
.pl-hero-copy h1 {
  max-inline-size: 13ch;
  margin: 0;
  font-size: var(--rds-text-marketing-hero);
  line-height: 1.03;
  letter-spacing: -.065em;
}
.pl-hero-title-accent { color: var(--rds-accent); }
.pl-lead {
  max-inline-size: 40ch;
  margin: 0;
  color: var(--rds-muted);
  font-size: var(--rds-text-lg);
  line-height: 1.65;
}
.pl-registration { display: grid; gap: var(--rds-space-3); width: 100%; }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-2); }
.pl-registration p, .pl-close-banner p { margin: 0; color: var(--rds-muted); font-size: var(--rds-text-sm); }
.pl-registration [data-partner-registration-status] { color: var(--rds-warning); font-weight: 650; }
.pl-launch-note {
  display: flex;
  align-items: center;
  gap: var(--rds-space-2);
  max-inline-size: 40ch;
  padding: var(--rds-space-2) var(--rds-space-3);
  border-radius: var(--rds-radius-control);
  background: color-mix(in srgb, var(--rds-surface) 82%, var(--rds-canvas));
}
.pl-launch-note .pl-icon { inline-size: 24px; block-size: 24px; background: none; }
.pl-launch-note svg { inline-size: 16px; block-size: 16px; }
.pl-hero-media, .pl-offer-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--rds-surface-soft);
}
.pl-hero-media {
  min-block-size: clamp(450px, 40vw, 600px);
  border-radius: var(--rds-radius-surface);
}
.pl-hero-media > img, .pl-offer-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-hero-media > img { object-position: center 52%; }
.partner-landing [data-partner-image-state="error"] > img { visibility: hidden; }
.pl-hero-media[data-partner-image-state="error"] .pl-hero-caption { display: none; }
.pl-image-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--rds-space-2); color: var(--rds-muted); }
.pl-glass { background: var(--rds-surface); }
@supports (backdrop-filter: blur(1px)) {
  .pl-glass {
    background: color-mix(in srgb, var(--rds-surface) 88%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
  }
}
.pl-hero-caption {
  position: absolute;
  inset: auto auto var(--rds-space-4) var(--rds-space-4);
  display: flex;
  align-items: center;
  gap: var(--rds-space-3);
  max-inline-size: calc(100% - var(--rds-space-8));
  padding: var(--rds-space-2) var(--rds-space-4) var(--rds-space-2) var(--rds-space-2);
  border: 1px solid color-mix(in srgb, var(--rds-surface) 60%, transparent);
  border-radius: var(--rds-radius-control);
  box-shadow: var(--rds-shadow-float);
}
.pl-hero-caption strong { display: block; }
.pl-hero-caption div > span, .pl-panel-header p, .pl-event span:not(.pl-event-status) {
  display: block;
  color: var(--rds-muted);
  font-size: var(--rds-text-sm);
}
.pl-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: var(--rds-control-target-min);
  block-size: var(--rds-control-target-min);
  border-radius: var(--rds-radius-control);
  color: var(--rds-accent);
  background: var(--brand-green-tint);
}
.pl-section { margin-block-start: var(--pl-section-gap); }
.pl-section h2 {
  margin: 0;
  font-size: var(--rds-text-marketing-heading);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.pl-section-heading { margin-block-end: var(--rds-space-6); }
.pl-section-heading p { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); }

.pl-starter-section { margin-block-start: var(--rds-space-4); }
.pl-starter, .pl-close-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rds-space-6);
  padding: clamp(20px, 3vw, 42px);
  border-radius: var(--rds-radius-surface);
  background: linear-gradient(112deg, var(--pl-tint), var(--rds-surface) 58%, var(--pl-glow));
}
.pl-starter-copy { display: flex; align-items: start; gap: var(--rds-space-4); flex: 2 1 330px; min-width: 0; }
.pl-starter-copy h2 { font-size: var(--rds-text-title); }
.pl-starter-copy p { max-inline-size: 48ch; }
.pl-starter-meter {
  display: grid;
  align-content: center;
  flex: 1 1 220px;
  gap: var(--rds-space-2);
  min-width: 0;
  min-block-size: 84px;
  padding: var(--rds-space-4);
  border: 1px solid var(--rds-line);
  border-radius: var(--rds-radius-control);
}
.pl-starter-meter p { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.pl-starter-meter progress { width: 100%; accent-color: var(--rds-action); }
.pl-starter-meter button { justify-self: start; }

.pl-offer-grid, .pl-step-grid { display: grid; gap: var(--rds-space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl-offer-card { min-width: 0; overflow: hidden; border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.pl-offer-media { aspect-ratio: 16 / 9; }
.pl-service-image { object-position: center 52%; }
.pl-offer-body { display: flex; align-items: start; gap: var(--rds-space-3); padding: clamp(16px, 2.4vw, 32px); }
.pl-offer-body h3 { font-size: var(--rds-text-lg); }
.pl-offer-body p, .pl-demo-points p, .pl-step-grid p, .pl-starter-copy p { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); }

.pl-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding: clamp(22px, 4.5vw, 62px);
  border-radius: var(--rds-radius-dialog);
  background: radial-gradient(ellipse at 100% 0%, var(--brand-green-tint), transparent 80%), var(--pl-tint);
}
.pl-demo-points, .pl-step-grid { margin: var(--rds-space-4) 0 0; padding: 0; list-style: none; }
.pl-demo-points li { display: flex; align-items: start; gap: var(--rds-space-3); padding-block: var(--rds-space-3); }
.pl-demo-points li + li { border-block-start: 1px solid var(--rds-line); }
.pl-panel {
  min-width: 0;
  padding: var(--rds-space-2);
  border: 1px solid color-mix(in srgb, var(--rds-surface) 78%, var(--rds-line));
  border-radius: var(--rds-radius-surface);
  box-shadow: var(--rds-shadow-float);
}
.pl-panel-header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-3); padding: var(--rds-space-3) var(--rds-space-4); }
.pl-panel-header > div { min-width: 0; flex: 1 1 auto; }
.pl-panel-header p { margin: 0; }
.pl-panel-body { padding: var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-surface); }
.pl-panel-agenda h3 { font-size: var(--rds-text-base); }
.pl-event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--rds-space-3); padding-block: var(--rds-space-3); }
.pl-event + .pl-event { border-block-start: 1px solid var(--rds-line); }
.pl-event:last-child { padding-block-end: 0; }
.pl-event time { color: var(--rds-muted); font-size: var(--rds-text-sm); font-variant-numeric: tabular-nums; }

.pl-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-step-grid li {
  min-width: 0;
  padding: var(--rds-space-4) 0;
  border-block-start: 1px solid var(--rds-line);
}
.pl-step-number {
  display: inline-grid;
  place-items: center;
  inline-size: var(--rds-control-target-min);
  block-size: var(--rds-control-target-min);
  margin-block-end: var(--rds-space-3);
  border-radius: var(--rds-radius-pill);
  background: var(--brand-green-tint);
  color: var(--rds-accent);
  font-size: var(--rds-text-lg);
  font-weight: 700;
}
.pl-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--rds-space-6);
}
.pl-faq-list { padding: var(--rds-space-2) var(--rds-space-4); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.pl-faq-list details + details { border-block-start: 1px solid var(--rds-line); }
.pl-faq-list summary { min-block-size: 52px; }
.pl-faq-list details > p { margin: 0 0 var(--rds-space-4); color: var(--rds-muted); }
.pl-close-banner {
  background: radial-gradient(ellipse at 100% 0%, var(--pl-glow), transparent 70%),
    linear-gradient(120deg, var(--brand-green-tint), var(--pl-tint));
}
.pl-close-banner p { margin-block-start: var(--rds-space-2); }

@media (max-width: 950px) {
  .pl-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .pl-hero-copy { padding: var(--rds-space-6); }
}
@media (max-width: 720px) {
  .partner-landing { padding-block-start: var(--rds-space-3); }
  .pl-hero-grid, .pl-demo-grid, .pl-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-hero-copy { padding: var(--rds-space-6) var(--rds-space-4); }
  .pl-hero-copy h1 { max-inline-size: 17ch; }
  .pl-lead { font-size: var(--rds-text-base); }
  .pl-hero-media { min-block-size: 0; aspect-ratio: 4 / 3; }
  .pl-offer-grid, .pl-step-grid { gap: var(--rds-space-3); }
  .pl-step-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-faq-grid .pl-section-heading { margin-block-end: 0; }
}
@media (max-width: 520px) {
  .pl-hero-grid { padding: var(--rds-space-2); gap: var(--rds-space-2); }
  .pl-hero-copy { padding: var(--rds-space-4) var(--rds-space-3); gap: var(--rds-space-4); }
  .pl-hero-media { aspect-ratio: 1; }
  .pl-actions > *, .pl-close-banner .pl-cta { flex: 1 1 100%; }
  .pl-offer-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-event { grid-template-columns: auto minmax(0, 1fr); gap: var(--rds-space-2); }
  .pl-event-status { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .partner-landing [data-partner-revealed]:not(:focus-within) { animation: pl-reveal var(--rds-motion-slow) var(--rds-motion-ease) both; }
  @keyframes pl-reveal { from { opacity: .9; transform: translateY(8px); } }
}

/* Help and policy reading: one content column with contextual navigation. */
.help-center, .policy-page { padding-block: var(--rds-space-6) calc(var(--rds-space-8) + var(--rds-space-4)); }
.help-taste-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--rds-space-4); margin-block-end: var(--rds-space-6); padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.help-taste-intro .help-search { grid-column: 1 / -1; grid-row: 2; max-inline-size: var(--rds-content-form); }
.help-heading { min-width: 0; }
.help-heading h1, .help-article-heading h1, .policy-intro h1, .policy-page > h1 { margin: 0; color: var(--rds-ink); font-size: var(--rds-text-title); line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.help-heading p { max-width: 65ch; margin-bottom: 0; color: var(--rds-muted); }
.help-search { flex: 1 1 360px; min-width: 0; }
.help-search-controls { display: flex; align-items: center; gap: var(--rds-space-2); }
.help-search-field { display: flex; align-items: center; flex: 1; gap: var(--rds-space-2); min-width: 0; padding-inline: var(--rds-space-3); border-radius: var(--rds-radius-control); background: var(--rds-surface); }
.help-search-field:focus-within { outline: 2px solid var(--rds-focus); outline-offset: 2px; }
.help-search-field input { min-width: 0; width: 100%; border: 0; background: transparent; padding-inline: 0; }
.help-search-field input:focus-visible { outline: none; }
.help-search-field > svg { color: var(--rds-muted); flex-shrink: 0; }
.help-search-clear { flex: none; color: var(--rds-muted); }
.help-quick-contact { grid-column: 2; grid-row: 1; justify-self: end; }
.help-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--rds-space-6); align-items: start; }
.help-layout:has([data-site-page-visibility="show_featured"][data-site-hidden="true"]) { grid-template-columns: minmax(0, min(32rem, 100%)); }
.help-topics { position: sticky; top: calc(var(--sticky-header-height, 76px) + 16px); padding: var(--rds-space-4); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.help-topics h2 { margin: var(--rds-space-2) var(--rds-space-2) var(--rds-space-3); font-size: var(--rds-text-sm); }
.help-topics ul { list-style: none; padding: 0; margin: 0; }
.help-topics li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: var(--rds-control-target-min); gap: var(--rds-space-2); padding: var(--rds-space-2) var(--rds-space-3); border-radius: var(--rds-radius-control); color: var(--rds-ink); text-decoration: none; font-size: var(--rds-text-sm); }
.help-topics li a[aria-current="page"] { background: var(--selected-surface); color: var(--soft-ink); font-weight: 650; }
.help-topics li a:hover { background: var(--rds-surface-soft); }
.help-topics small { color: var(--rds-muted); font-size: var(--rds-text-xs); font-weight: 400; }
.help-topic-picker { display: none; }
.help-results { min-width: 0; padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.help-results-heading h2 { margin: 0; font-size: var(--rds-text-lg); }
.help-results-heading p { margin-block: var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-sm); }
.help-article-list { margin: var(--rds-space-3) 0 0; padding: 0; list-style: none; }
.help-article-list > li + li { border-top: 1px solid var(--rds-line); }
.help-article-list > li > a { display: flex; align-items: center; gap: var(--rds-space-3); min-height: var(--rds-row-comfortable); padding-block: var(--rds-space-3); color: var(--rds-ink); text-decoration: none; }
.help-article-list a > div { flex: 1; min-width: 0; }
.help-article-list a > svg { color: var(--rds-muted); flex-shrink: 0; }
.help-article-list h3 { margin: 0; color: var(--rds-accent); font-size: var(--rds-text-base); font-weight: 700; line-height: 1.4; }
.help-article-list p { margin: var(--rds-space-2) 0 0; color: var(--rds-muted); font-size: var(--rds-text-sm); line-height: 1.5; }
.help-article-symbol { display: inline-flex; flex-shrink: 0; color: var(--rds-muted); }
.help-article-topic { display: inline-block; margin-top: var(--rds-space-2); color: var(--rds-muted); font-size: var(--rds-text-xs); }
.help-breadcrumbs { color: var(--rds-muted); font-size: var(--rds-text-sm); }
.help-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); padding: 0; list-style: none; }
.help-breadcrumbs li + li::before { content: "/"; margin-right: var(--rds-space-2); color: var(--rds-control-line); }
.help-reading-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rds-space-4); margin-bottom: var(--rds-space-6); }
.help-reading-tools .help-search { max-width: 440px; }
.help-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--rds-space-6); align-items: start; }
.help-article { padding: var(--rds-space-8); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.help-article-heading > p { max-width: 70ch; color: var(--rds-muted); line-height: 1.6; }
.help-article-section { margin-block-start: var(--rds-space-6); padding-block-start: var(--rds-space-4); border-block-start: 1px solid var(--rds-line); }
.help-article-section h2 { font-size: var(--rds-text-lg); line-height: 1.35; }
.help-section-content { max-width: var(--rds-content-reading, 72ch); }
.help-section-content :is(p,li) { line-height: 1.7; }
.help-section-content li + li { margin-top: var(--rds-space-2); }
.help-guide-links { padding-left: var(--rds-space-6); }
.help-article-return { margin-block-start: var(--rds-space-6); }
.help-related { padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.help-related h2 { margin: 0; font-size: var(--rds-text-base); }
.help-related .help-article-symbol { display: none; }
.help-related .help-article-list h3 { font-size: var(--rds-text-sm); }
.help-contact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rds-space-4); margin-top: var(--rds-space-6); padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.help-contact > div { flex: 1 1 200px; min-width: 0; }
.help-contact > svg { color: var(--rds-accent); }
.help-contact h2 { margin: 0; font-size: var(--rds-text-lg); }
.help-contact p { margin: var(--rds-space-2) 0 0; font-size: var(--rds-text-sm); color: var(--rds-muted); }
.help-privacy-link { display: inline-flex; margin-top: var(--rds-space-6); }
.help-empty { padding-block: var(--rds-space-6); }
.help-empty-actions, .policy-back, .policy-taste-error-actions { display: flex; flex-wrap: wrap; gap: var(--rds-space-3); }
.policy-intro { display: grid; justify-items: start; gap: var(--rds-space-3); margin-block-end: var(--rds-space-6); padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface-soft); }
.policy-intro p { margin: 0; overflow-wrap: anywhere; }
.policy-brand { display: inline-flex; align-items: center; min-height: var(--rds-control-target-min); }
.policy-taste-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--rds-space-6); align-items: start; }
.policy-taste-index { position: sticky; top: calc(var(--sticky-header-height, 76px) + 16px); padding: var(--rds-space-4); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.policy-taste-index h2 { margin-block-end: var(--rds-space-2); font-size: var(--rds-text-base); }
.policy-contents { display: grid; margin: 0; }
.policy-contents > :is(a, button) { display: flex; align-items: center; min-width: 0; min-height: var(--rds-control-target-min); padding: var(--rds-space-2); border-radius: var(--rds-radius-control); color: var(--rds-accent); font-size: var(--rds-text-sm); font-weight: 700; text-align: start; }
.policy-contents > :is(a, button):hover { background: var(--rds-surface-soft); }
.policy-taste-index .policy-taste-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rds-space-2); min-height: var(--rds-control-target-min); margin: var(--rds-space-2) 0 0; padding: var(--rds-space-2); }
.policy-taste-content { min-width: 0; padding: var(--rds-space-8); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.policy-taste-content > section + section { margin-block-start: var(--rds-space-6); padding-block-start: var(--rds-space-6); border-block-start: 1px solid var(--rds-line); }
.policy-taste-content h2 { margin: 0 0 var(--rds-space-4); font-size: var(--rds-text-lg); }
.policy-taste-content :is(p,li) { max-width: var(--rds-content-reading); line-height: 1.7; overflow-wrap: anywhere; }
.policy-taste-content li + li { margin-block-start: var(--rds-space-2); }
.policy-page :is(.policy-taste-content, .policy-back) a:not(.button):not(.text-button),
.help-article .help-section-content a { font-weight: 700; }
.policy-document-footer { margin-block-start: var(--rds-space-6); padding-block-start: var(--rds-space-3); border-block-start: 1px solid var(--rds-line); }
.policy-document-footer a { display: inline-flex; align-items: center; min-height: var(--rds-control-target-min); font-size: var(--rds-text-sm); }
.policy-intro, .policy-version { color: var(--rds-muted); }
.policy-version { font-size: var(--rds-text-xs); }
.policy-table-wrap { overflow-x: auto; margin-block: var(--rds-space-4); }
.policy-table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--rds-text-sm); }
.policy-table-wrap caption { margin-block-end: var(--rds-space-2); color: var(--rds-muted); text-align: start; }
.policy-table-wrap :is(th,td) { padding: var(--rds-space-3); text-align: start; vertical-align: top; border-bottom: 1px solid var(--rds-line); }
.policy-table-wrap th { background: var(--rds-surface-soft); font-weight: 650; }
.policy-example, .policy-rights, .policy-availability, .policy-taste-help { margin-block: var(--rds-space-6); padding: var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
.policy-taste-error { padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }

/* Public recovery pages keep one task and its options together. */
.not-found-header { display: flex; align-items: center; justify-content: space-between; gap: var(--rds-space-4); padding-block: var(--rds-space-3); }
.not-found-taste { display: grid; grid-template-columns: minmax(130px, .4fr) minmax(0, 1fr); gap: var(--rds-space-6); max-width: var(--rds-content-form); margin-block: var(--rds-space-6); padding: var(--rds-space-6); border-radius: var(--rds-radius-surface); background: var(--rds-surface); }
.not-found-waypoint { display: grid; align-content: center; justify-items: center; gap: var(--rds-space-2); min-height: 100px; padding: var(--rds-space-4); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); color: var(--rds-accent); }
.not-found-waypoint svg { width: 40px; height: 40px; }
.not-found-waypoint span { font-size: var(--rds-text-xl); font-weight: 700; }
.not-found-code { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.not-found-body { display: grid; gap: var(--rds-space-3); min-width: 0; }
.not-found-body > p, .not-found-content > p, .not-found-footer { color: var(--rds-muted); }
.not-found-content { display: grid; gap: var(--rds-space-3); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: var(--rds-space-2); }
.not-found-help { display: inline-flex; justify-self: start; align-items: center; gap: var(--rds-space-2); min-height: var(--rds-control-target-min); font-weight: 700; }
.not-found-footer { max-width: var(--rds-content-form); }

@media (min-width: 761px) and (max-width: 1120px) {
  .home-category-rail { grid-auto-columns: 176px; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .explorer-layout { grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: var(--rds-space-4); }
}

@media (max-width: 620px) {
  .explorer-search-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "filters map"; }
  .explorer-search-actions:has(> .explorer-discovery-tabs) { grid-template-areas: "views views" "filters map"; }
  .explorer-search-actions > .explorer-discovery-tabs { justify-self: start; grid-template-columns: repeat(2, minmax(0, auto)); min-inline-size: 0; max-inline-size: 100%; }
  .explorer-search-actions .explorer-discovery-tabs .rds-link { padding-inline: var(--rds-space-2); }
  .listing-review-overview { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .home-search-fields { border-radius: var(--rds-radius-surface); }
  .explorer-layout, .explorer[data-map-visible="false"] .explorer-layout { display: block; }
  .explorer-layout > .explorer-map-pane { display: none; }
  .marketplace-search-modes { width: 100%; max-width: none; }
  .marketplace-search-modes > button { padding-inline: var(--rds-space-2); }
  .marketplace-search-trigger, .home-page [data-home-query-sheet] { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--rds-space-3); min-height: 64px; padding: var(--rds-space-3); }
  .marketplace-search-trigger .marketplace-search-label, .marketplace-search-trigger .marketplace-search-detail, .marketplace-search-action { display: none; }
  .marketplace-search-icon, .marketplace-search-next { display: flex; align-items: center; justify-content: center; }
  .marketplace-search-icon { color: var(--rds-accent); }
  .marketplace-search-icon svg { width: 22px; height: 22px; }
  .marketplace-search-next { color: var(--rds-muted); }
  .marketplace-search-next svg { width: 16px; height: 16px; }
  .marketplace-search-trigger .marketplace-search-context { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .marketplace-search-trigger strong { font-size: var(--rds-text-sm); white-space: normal; }
  .explorer-filter-trigger { padding-inline: var(--rds-space-3); }
  .explorer-map-trigger { padding-inline: var(--rds-space-3); }
  .explorer-map-sheet { position: fixed; inset: auto 0 var(--sheet-viewport-bottom, 0px); margin: 0; width: 100%; max-width: none; height: var(--sheet-height, 100dvh); max-height: var(--sheet-max-height, 100dvh); padding-top: var(--sheet-top-padding, 0px); border-radius: var(--sheet-radius, 0px); }
  .explorer-map-sheet[open] { display: flex; flex-direction: column; }
  .explorer-map-sheet[data-sheet-dragging] { transform: translateY(var(--sheet-drag-y, 0px)); }
  .explorer-map-sheet-handle { flex-shrink: 0; min-height: 24px; padding: 0; border: 0; background: transparent; touch-action: none; }
  .explorer-map-sheet-handle::before { content: ""; display: block; width: 36px; height: 4px; margin: 8px auto; border-radius: var(--rds-radius-pill); background: var(--rds-control-line); }
  .explorer-map-sheet .explorer-map-pane { display: block; position: relative; inset: auto; flex: 1; min-height: 0; }
  .explorer-map-sheet .search-map, .explorer-map-sheet .search-map-stage, .explorer-map-sheet .search-map-canvas { height: 100%; min-height: 0; border-radius: 0; }
  /* The map controller clears measured preview coordinates inside its sheet. */
  .explorer-map-sheet .search-map-preview { position: absolute; inset: auto 12px 34px; width: auto; max-width: none; z-index: 2; }
  .explorer-map-sheet .search-map-preview-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); max-height: min(45dvh, 300px); }
  .explorer-map-sheet .search-map-preview-photo { aspect-ratio: auto; height: 100%; min-height: 132px; }
  .explorer-map-sheet .search-map-preview-content { padding: var(--rds-space-3); }
  .explorer-map-sheet .search-map-preview-content h3 { padding-right: 40px; }
  .explorer-map-sheet .search-map-preview-content p { margin-bottom: var(--rds-space-1); }
  .explorer-map-sheet-toolbar .explorer-mobile-search { flex: 1; background: var(--rds-surface-soft); }
  .explorer-map-sheet-toolbar .explorer-mobile-location { flex-basis: 100%; }
  .explorer-map-sheet-toolbar .explorer-filter-trigger { background: var(--rds-surface-soft); }
  .explorer-filter-dialog { position: fixed; inset: auto 0 var(--sheet-viewport-bottom, 0px); width: 100%; max-width: none; height: var(--sheet-height, 92dvh); max-height: var(--sheet-max-height, 100dvh); margin: 0; padding-top: var(--sheet-top-padding, 0px); border-radius: var(--sheet-radius, var(--rds-radius-dialog)) var(--sheet-radius, var(--rds-radius-dialog)) 0 0; }
  .explorer-filter-dialog[data-sheet-dragging] { transform: translateY(var(--sheet-drag-y, 0px)); }
  .explorer-filter-handle { display: block; min-height: 24px; padding: 0; border: 0; flex-shrink: 0; background: transparent; touch-action: none; }
  .explorer-filter-handle::before { content: ""; display: block; width: 36px; height: 4px; margin: 8px auto; border-radius: var(--rds-radius-pill); background: var(--rds-control-line); }
  .explorer-filter-footer { padding-bottom: max(var(--rds-space-4), env(safe-area-inset-bottom)); }
  .detail-section { padding: var(--rds-space-4); }
  .listing-booking-core { gap: var(--rds-space-4); padding: var(--rds-space-4); }
  .partner-public-heading { grid-template-columns: auto minmax(0, 1fr); }
  .partner-public-heading-actions { grid-column: 1 / -1; grid-row: auto; justify-content: start; }
  .partner-public-intro { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-4); }
  .help-layout { grid-template-columns: 200px minmax(0, 1fr); gap: var(--rds-space-4); }
  .help-reading-layout { grid-template-columns: minmax(0, 1fr); }
  .policy-taste-layout { grid-template-columns: 200px minmax(0, 1fr); gap: var(--rds-space-4); }
}

@media (min-width: 768px) {
  .listing-layout:has(> .listing-booking) {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .48fr);
    reading-flow: grid-rows;
  }
  .listing-identity, .listing-gallery { grid-column: 1 / -1; }
  .listing-booking { border: 1px solid color-mix(in srgb, var(--rds-surface) 74%, var(--rds-line)); }
  .listing-reserve-pricing .quote-base { font-size: var(--rds-text-title); }
  .listing-reserve-panel { padding-bottom: var(--rds-space-4); border-bottom: 1px solid var(--rds-line); }
  .listing-about p { font-size: var(--rds-text-base); }
  .gallery-count { border: 1px solid color-mix(in srgb, var(--rds-surface) 80%, var(--rds-line)); color: var(--rds-ink); }
  .gallery-tile:nth-child(n+6) { display: none; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .listing-booking {
      background: linear-gradient(150deg, color-mix(in srgb, var(--rds-surface) 93%, transparent), color-mix(in srgb, var(--rds-surface-soft) 87%, transparent));
    }
    .gallery-mosaic > .gallery-count:not(:hover, :focus-visible) { background: color-mix(in srgb, var(--rds-surface) 91%, transparent); }
    .listing-booking, .gallery-count {
      -webkit-backdrop-filter: blur(14px) saturate(115%);
      backdrop-filter: blur(14px) saturate(115%);
    }
  }
}

@media (min-width: 960px) {
  .listing-layout:has(> .listing-booking) > .listing-gallery { grid-column: 1; grid-row: 2; }
  .listing-layout:has(> .listing-gallery) > .listing-booking { grid-column: 2; grid-row: 2 / span 2; }
  .listing-layout:has(> .listing-booking) > .detail-content { grid-column: 1; }
  .listing-loading .sk-content { grid-template-columns: minmax(0, 1fr) minmax(18rem, .48fr); align-items: start; }
  .listing-loading .sk-heading { grid-column: 1 / -1; padding: var(--rds-surface-padding); }
  .listing-loading .sk-hero { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; }
  .listing-loading .sk-detail-columns { display: contents; }
  .listing-loading .sk-detail-aside { grid-column: 2; grid-row: 2 / span 2; }
}

@media (min-width: 900px) {
  .partner-public-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .partner-public-body > .partner-public-listings { grid-column: 1 / -1; }
  .branch-public-body { grid-template-columns: minmax(0, 65fr) minmax(16rem, 35fr); align-items: start; }
  .branch-public-body > .branch-public-listings { min-width: 0; }
  .branch-public-body > :not(.branch-public-listings) .social-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (width < 768px) {
  body:has(.listing-reserve-dock) { padding-bottom: max(var(--listing-reserve-height, 0px), calc(72px + env(safe-area-inset-bottom))); }
  .detail-view { padding-block: var(--rds-space-4) var(--rds-space-8); }
  .detail-heading { grid-template-columns: minmax(0, 1fr); }
  .detail-heading h1 { font-size: var(--rds-text-lg); }
  .listing-quick-facts { gap: var(--rds-space-2); font-size: var(--rds-text-xs); }
  .listing-availability-jump { display: inline-flex; justify-self: start; padding-inline: var(--rds-space-2); }
  .listing-detail-actions { grid-column: 1; grid-row: auto; justify-content: start; }
  .listing-detail-actions > [data-action="listing-questions"] { display: none; }
  .listing-layout { gap: var(--rds-space-4); }
  .listing-section-nav + .detail-content { margin-top: var(--rds-space-2); }
  .detail-content { padding-inline: var(--rds-space-4); }
  .detail-content > .detail-section, .detail-content > #listing-details > .detail-section { padding-block: var(--rds-space-4); }
  .listing-section-nav { display: flex; position: sticky; top: var(--sticky-header-height, 64px); z-index: 15; gap: var(--rds-space-1); overflow-x: auto; padding: var(--rds-space-2) var(--rds-space-1); background: var(--rds-navigation-background); scrollbar-width: none; }
  .listing-section-nav button { flex: 1 0 auto; white-space: nowrap; padding-inline: var(--rds-space-1); font-size: var(--rds-text-xs); }
  .listing-section-nav button[aria-current="location"] { background: var(--selected-surface); color: var(--soft-ink); }
  .listing-booking { position: static; max-height: none; overflow: visible; box-shadow: none; }
  /* The root already reserves its scroll padding; add only the listing's remaining sticky offset. */
  .listing-public-taste [id^="listing-"] { scroll-margin-top: calc(var(--sticky-header-height, 64px) + var(--listing-section-nav-height, 60px) + 16px - var(--rds-scroll-padding-block, 80px)); }
  .listing-reserve-panel > :is(a, button) { display: none; }
  .listing-reserve-dock { position: fixed; display: block; inset: auto 0 0; z-index: 35; padding: var(--rds-space-3) 0 max(var(--rds-space-3), env(safe-area-inset-bottom)); border-top: var(--rds-outline-soft, 1px solid var(--rds-line)); background: var(--rds-surface); background: color-mix(in srgb, var(--rds-surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: var(--rds-shadow-float); }
  .listing-reserve-dock-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--rds-space-2) var(--rds-space-3); }
  .listing-reserve-dock-summary { flex: 1; min-width: min(100%, 8rem); }
  .listing-reserve-dock-price { margin: 0; font-size: var(--rds-text-base); }
  .listing-reserve-dock-meta { margin: var(--rds-space-1) 0 0; color: var(--rds-muted); font-size: var(--rds-text-xs); }
  .listing-reserve-dock-price .listing-nightly-rate { margin-top: var(--rds-space-1); font-size: var(--rds-text-xs); }
  .listing-reserve-dock-inner > a { flex-shrink: 0; min-width: 120px; }
  .listing-about #listing-description[data-listing-description-collapsed="true"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .listing-gallery, .listing-loading .sk-hero { margin-inline: calc(-1 * var(--rds-space-4)); }
  .listing-loading .sk-detail-columns { grid-template-columns: minmax(0, 1fr); }
  .listing-gallery .visual-caption { margin-inline: var(--rds-space-4); }
  .gallery-mosaic, .detail-visual, .listing-loading .sk-hero { border-radius: 0; }
  .gallery-scroll { display: flex; gap: 0; aspect-ratio: 4 / 3; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery-tile { flex: 0 0 100%; width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .detail-visual, .listing-loading .sk-hero { aspect-ratio: 4 / 3; }
  .gallery-count-label { display: none; }
  .gallery-inline-position { display: inline; font-variant-numeric: tabular-nums; }
  .gallery-count { min-height: var(--rds-control-target-min); padding: var(--rds-space-2) var(--rds-space-3); }
  .gallery-count svg { width: 16px; height: 16px; }
  .listing-details-facts { gap: var(--rds-space-3); }
  .listing-policy-table :is(th,td) { padding: var(--rds-space-3) var(--rds-space-2); }
}

@media (max-width: 760px) {
  body:has(.site-header [data-listing-mobile-header]:not([hidden])) .listing-public-taste .listing-detail-actions { display: none; }
  .home-shell, :root[data-navigation-home] .site-header > .header-inner { width: calc(100% - 32px); }
  .home-page { padding-top: var(--rds-space-4); }
  .home-opening { --home-scene-gutter: var(--rds-space-4); --home-dock-overlap: 34px; }
  .home-hero-scene { min-height: 330px; align-items: end; padding-top: var(--rds-space-12); }
  .home-hero-photo img { object-position: center 42%; }
  .home-hero-photo::after { background: linear-gradient(0deg, rgb(5 24 16 / .94) 10%, rgb(5 24 16 / .73) 46%, rgb(5 24 16 / .18)); }
  .home-hero-description { margin-top: var(--rds-space-3); }
  .home-browse-entries { margin-top: var(--rds-space-4); }
  .home-browse-entries > .home-browse-entry { padding-inline: var(--rds-space-2); font-size: var(--rds-text-sm); }
  .home-search-section { margin-inline: var(--rds-space-2); padding: var(--rds-space-2); }
  .home-mode-picker { width: 100%; }
  .home-mode-picker > button { flex-basis: auto; padding-inline: var(--rds-space-2); }
  .home-content { gap: var(--rds-space-6); padding-top: var(--rds-space-6); }
  .home-discovery-heading { align-items: start; gap: var(--rds-space-2); margin-bottom: var(--rds-space-3); }
  .home-discovery-heading h2 { font-size: var(--rds-text-lg); }
  .home-category-heading { font-size: var(--rds-text-base); }
  .home-category-rail { grid-auto-columns: 160px; padding-bottom: 6px; }
  .home-carousel-actions { gap: var(--rds-space-1); }
  .home-recommendation-grid, .listing-grid, .partner-public-listing-grid, .professional-public-listings .social-item-grid, .branch-public-listings .social-item-grid, .home-discovery-section .sk-cards, .explorer-results .sk-cards { grid-template-columns: minmax(0, 1fr); }
  .home-partner-band { min-height: 230px; }
  .home-partner-photo { width: 100%; }
  .home-partner-band::after { background: linear-gradient(90deg, rgb(12 36 26 / .97), rgb(12 36 26 / .82) 58%, rgb(12 36 26 / .48)); }
  .listing-card { --listing-media-height: 156px; }
  .explorer-results .sk-media, .home-discovery-section .sk-media { height: var(--listing-skeleton-media-mobile, 156px); }
  [data-site-listing-card-style="photo"] { --listing-skeleton-media-mobile: 192px; }
  [data-site-listing-card-style="compact"] { --listing-skeleton-media-mobile: 112px; }
  [data-site-listing-card-style="photo"] .listing-card { --listing-media-height: var(--listing-skeleton-media-mobile); }
  [data-site-listing-card-style="compact"] .listing-card { --listing-media-height: var(--listing-skeleton-media-mobile); }
  .listing-card-body { padding: var(--rds-space-4); }
  /* The keyboard can shrink only the visual viewport. Bound the sheet before lifting it above that keyboard. */
  .header-search-dialog { position: fixed; inset: auto 0 var(--sheet-viewport-bottom, 0px); width: 100%; max-width: none; height: min(var(--sheet-height, 94dvh), var(--sheet-viewport-height, 100dvh)); max-height: min(var(--sheet-max-height, 100dvh), var(--sheet-viewport-height, 100dvh)); margin: 0; padding-top: var(--sheet-top-padding, 0px); border-radius: var(--sheet-radius, var(--rds-radius-dialog)) var(--sheet-radius, var(--rds-radius-dialog)) 0 0; }
  .header-search-dialog[data-sheet-dragging] { transform: translateY(var(--sheet-drag-y, 0px)); }
  .header-search-dialog > form { flex: 1; }
  .header-search-dialog-heading, .header-search-dialog-body, .header-search-dialog-footer { padding-inline: var(--rds-space-4); }
  .header-search-dialog-footer { padding-bottom: max(var(--rds-space-4), env(safe-area-inset-bottom)); }
  .header-search-query-toolbar { padding-inline: var(--rds-space-3); }
  .header-search-query-body { padding-inline: var(--rds-space-4); flex: 1; }
  .photo-dialog { inset: 0; width: 100%; height: 100dvh; max-width: none; border-radius: 0; margin: 0; }
  .photo-dialog-header { gap: var(--rds-space-2); padding: max(var(--rds-space-3), env(safe-area-inset-top)) var(--rds-space-3) var(--rds-space-3); }
  .photo-dialog-heading h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--rds-text-sm); }
  .photo-back > span, .photo-zoom > span { display: none; }
  .photo-back { width: 44px; padding: var(--rds-space-2); }
  .photo-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rds-space-2); padding-inline: var(--rds-space-3); }
  .photo-stage { display: block; padding: 0 var(--rds-space-3); }
  .photo-stage > .photo-previous, .photo-stage > .photo-next { position: absolute; top: calc(50% - 22px); z-index: 1; background: var(--rds-surface); }
  .photo-previous { left: var(--rds-space-4); }
  .photo-next { right: var(--rds-space-4); }
  .photo-viewer-footer { padding: var(--rds-space-3) var(--rds-space-3) max(var(--rds-space-3), env(safe-area-inset-bottom)); }
  .photo-filmstrip { justify-content: start; }
  .partner-public-profile, .branch-public-profile, .professional-public-taste { padding-top: var(--rds-space-4); }
  .partner-public-profile > .back-link, .branch-public-back, .professional-public-back { display: none; }
  .partner-profile-hero:has(.partner-public-cover) { grid-template-columns: minmax(0, 1fr); }
  .partner-public-cover { height: 164px; min-block-size: 0; }
  .partner-public-heading { gap: var(--rds-space-3); padding: var(--rds-space-4); }
  .partner-public-heading h1, .branch-public-heading h1, .professional-public-heading h1 { font-size: var(--rds-text-xl); }
  .partner-public-avatar, .professional-public-avatar { width: 56px; height: 56px; border-radius: var(--rds-radius-control); }
  .partner-public-headline { grid-column: 1 / -1; }
  .partner-public-navigation, .branch-public-navigation { display: flex; gap: var(--rds-space-1); margin-top: var(--rds-space-4); padding: var(--rds-space-2); overflow-x: auto; background: var(--rds-navigation-background); }
  .partner-public-navigation button, .branch-public-navigation button { min-height: 44px; flex: 1 1 auto; padding-inline: var(--rds-space-1); font-size: var(--rds-text-xs); }
  .partner-public-navigation [aria-selected="true"], .branch-public-navigation [aria-selected="true"] { background: var(--selected-surface); color: var(--soft-ink); }
  .public-profile-body { margin-top: var(--rds-space-4); }
  .partner-public-about, .partner-public-reviews, .branch-public-information { padding: var(--rds-space-4); }
  .partner-public-review-overview { grid-template-columns: minmax(0, 1fr); }
  .branch-profile-hero, .professional-public-hero { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-4); padding: var(--rds-space-4); }
  .professional-public-listings-heading { display: block; }
  .professional-public-explore { margin-top: var(--rds-space-2); }
  .help-layout, .policy-taste-layout { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-4); }
  .help-topics, .policy-taste-index { position: static; }
  .help-topics { padding: 0; background: transparent; }
  .help-topics > h2, .help-topics > nav { display: none; }
  .help-topic-picker { display: grid; gap: var(--rds-space-2); }
  .help-topic-picker label { color: var(--rds-muted); font-size: var(--rds-text-xs); }
  .help-taste-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-3); }
  .help-heading h1, .help-article-heading h1, .policy-taste-title h1 { font-size: var(--rds-text-xl); }
  .help-quick-contact { justify-self: start; margin: 0; }
  .help-results, .help-article, .policy-taste-content, .help-related { padding: var(--rds-space-4); }
  .help-reading-tools { display: grid; grid-template-columns: minmax(0, 1fr); }
  .help-reading-tools .help-search { max-width: none; }
  .help-article-section { margin-top: var(--rds-space-6); }
  .help-contact { padding: var(--rds-space-4); }
  .help-contact > a { width: 100%; }
  .policy-taste-title { gap: var(--rds-space-3); }
  .policy-contents :is(ol,ul) { display: flex; flex-wrap: wrap; gap: var(--rds-space-2) var(--rds-space-6); }
  .policy-contents li + li { margin: 0; }
}

@media (max-width: 520px) {
  .home-mode-picker svg { display: none; }
  .home-carousel-actions { gap: 2px; }
  .home-discovery-heading { gap: var(--rds-space-2); }
  .home-discovery-heading .section-link { font-size: var(--rds-text-xs); }
  .home-discovery-section .sk-cards { grid-template-columns: minmax(0, 1fr); }
  .home-discovery-section .sk-card:not(:first-child) { display: none; }
  .explorer { padding-top: var(--rds-space-4); }
  .explorer-results-heading { column-gap: var(--rds-space-2); row-gap: var(--rds-space-1); }
  .explorer .explorer-results .sk-cards { grid-template-columns: minmax(0, 1fr); }
  .partner-public-heading { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .professional-public-heading { flex-direction: column; }
  .explorer-facet-options { grid-template-columns: minmax(0, 1fr); }
  .explorer-filter-context { grid-template-columns: minmax(0, 1fr); }
  .explorer-filter-header, .explorer-filter-body, .explorer-filter-footer { padding-inline: var(--rds-space-4); }
  .explorer-filter-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--rds-space-2); }
  .explorer-filter-footer > button { padding-inline: var(--rds-space-2); line-height: 1.2; }
  .explorer-map-sheet-toolbar .explorer-mobile-search { padding-inline: var(--rds-space-3); }
  .explorer-map-sheet-toolbar .explorer-filter-trigger { padding-inline: var(--rds-space-3); }
  .search-map-preview { width: min(320px, calc(100vw - 24px)); }
  .search-map-preview-photo { aspect-ratio: 2 / 1; }
  .search-map-preview-content { padding: var(--rds-space-3); }
  .search-map-origin { font-size: var(--rds-text-xs); padding-inline: var(--rds-space-2); }
  .header-search-main-fields { grid-template-columns: minmax(0, 1fr); }
  .service-area-grid { grid-template-columns: minmax(0, 1fr); }
  .header-search-date-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-search-date-fields > :last-child:nth-child(3) { grid-column: 1 / -1; }
  .header-search-query-toolbar { gap: var(--rds-space-1); }
  .header-search-query-input { padding-inline: var(--rds-space-2); }
  .header-search-query-input > svg { display: none; }
  .listing-reserve-dock-inner > a { min-width: 108px; padding-inline: var(--rds-space-4); }
  .listing-reserve-dock-price { font-size: var(--rds-text-sm); }
  .listing-reserve-dock-price .listing-price-unit { font-size: var(--rds-text-xs); }
  .listing-review-summary { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-3); }
  .help-search-controls > button { padding-inline: var(--rds-space-3); }
  .help-search-controls > button > svg { display: none; }
  .help-article-symbol { width: 32px; height: 32px; border-radius: var(--rds-radius-control); }
}

@media (prefers-reduced-motion: no-preference) {
  .listing-card-photo-dots i { transition: transform var(--rds-motion-settle) var(--rds-motion-spring); }
  .social-save-button svg {
    transition: fill var(--rds-motion-fast) var(--rds-motion-ease), scale var(--rds-motion-fast) var(--rds-motion-ease);
  }
  .social-save-button:not(:disabled):active svg { scale:.94; transition-duration:0ms; }
  .explorer-facet-options label {
    transition: background-color var(--rds-motion-fast) var(--rds-motion-ease), color var(--rds-motion-fast) var(--rds-motion-ease);
  }
  .explorer-filter-chip[data-explorer-type-changed][aria-pressed="true"] {
    animation: explorer-type-selected var(--rds-motion-fast) var(--rds-motion-ease);
  }
  .explorer-search-popover:not([hidden]) {
    --rds-panel-entry-offset:-4px;
    animation: rds-panel-enter var(--rds-motion-normal) var(--rds-motion-ease);
  }
  @keyframes explorer-type-selected { from { background-color: var(--rds-surface); } }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-category-image { transition: transform 200ms var(--rds-motion-ease); }
  .home-category-card:hover .home-category-image { transform: scale(1.03); }
  .gallery-tile img { transition: transform var(--rds-motion-settle, var(--rds-motion-slow)) var(--rds-motion-spring, var(--rds-motion-ease)); }
  .gallery-tile:hover img { transform: scale(1.025); }
  .listing-image > img, .listing-image > picture > img { transition: transform var(--rds-motion-slow) var(--rds-motion-ease); }
  .listing-photo-link:hover .listing-image > img, .listing-photo-link:hover .listing-image > picture > img { transform: scale(1.025); }
}

@media (forced-colors: active) {
  .home-hero-photo, .home-partner-photo, .home-partner-band::after { display: none; }
  .home-search-section { border-color: CanvasText; }
  .listing-gallery-empty > .detail-visual { background: Canvas; }
  .listing-gallery-empty > .visual-caption { border-color: CanvasText; background: Canvas; color: CanvasText; }
  .search-map-price { fill: Canvas; stroke: CanvasText; }
  .search-map-name-text, .search-map-price-text, .search-map-price-unit { fill: CanvasText; }
  .search-map-connector, .search-map-center { stroke: Highlight; }
  .search-map-area { fill: Highlight; stroke: Canvas; }
  .search-calendar-day[data-selected="true"] { outline: 2px solid Highlight; }
  .social-save-button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* The same search task becomes a two-column dialog where the viewport allows. */
.header-search-primary, .header-search-schedule { min-width: 0; }
.header-search-dialog[data-search-unified] .header-search-note:empty { display: none; }
.header-search-dialog[data-search-unified] .header-search-note:not(:empty) { margin-block: var(--rds-space-3); padding: var(--rds-space-3); border-radius: var(--rds-radius-control); background: var(--rds-surface-soft); }
@media (min-width: 900px) {
  .header-search-dialog[data-search-unified][data-search-mode="filters"] { width: min(920px, calc(100vw - 64px)); }
  .header-search-dialog[data-search-unified][data-search-mode="filters"] .header-search-dialog-body:has(.header-search-schedule) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--rds-space-6); }
  .header-search-dialog[data-search-unified] .header-search-main-fields { grid-template-columns: minmax(0, 1fr); gap: var(--rds-space-4); }
  .header-search-dialog[data-search-unified] .header-search-schedule { padding-inline-start: var(--rds-space-6); border-inline-start: 1px solid var(--rds-line); }
  .header-search-dialog[data-search-unified] .header-search-dates { margin-top: 0; }
  .header-search-dialog[data-search-unified] .header-search-dialog-body > .form-error { grid-column: 1 / -1; }
  .header-search-dialog[data-search-unified] .header-search-date-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-search-dialog[data-search-unified] .header-search-date-fields > :last-child:nth-child(3) { grid-column: 1 / -1; }
}
