/*
 * The offer on the buyer site: search, cards, the offer browser and the
 * property page. Same tokens and type as the rest of the Realease sites
 * (realease-site.css), classes prefixed .of-.
 */
.rp .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.rp .of-page {
  padding-bottom: 96px;
}
.rp .of-h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  max-width: 18ch;
}
.rp .of-h1 span {
  color: var(--bronze);
}

/* Search on the homepage */
.rp .of-find {
  padding-top: clamp(28px, 4vw, 48px);
}
.rp .of-search {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(36, 36, 64, 0.06),
    0 30px 80px -24px rgba(36, 36, 64, 0.28);
}
.rp .of-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px 18px;
  border-right: 1px solid var(--line);
}
.rp .of-field:nth-child(3) {
  border-right: 0;
}
.rp .of-field label {
  font: 600 0.72rem/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rp .of-field .rp-sel {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: 500 1.03rem/1.3 var(--f-body);
}
.rp .of-search .btn {
  min-height: 64px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 1rem;
}
.rp .of-curate {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.rp .of-curate a,
.rp .of-steps-foot a,
.rp .of-area a,
.rp .of-listhead a,
.rp .of-route a,
.rp .of-crumb a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--bronze);
}
.rp .of-crumb a {
  font-weight: 500;
  border-bottom-color: transparent;
  color: var(--ink-soft);
}
.rp .of-crumb a:hover {
  border-bottom-color: var(--bronze);
}
@media (max-width: 860px) {
  .rp .of-search {
    grid-template-columns: 1fr 1fr;
    padding: 6px;
  }
  .rp .of-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rp .of-field:first-child {
    grid-column: 1 / -1;
  }
  .rp .of-field:nth-child(2) {
    border-right: 1px solid var(--line);
  }
  .rp .of-search .btn {
    grid-column: 1 / -1;
    min-height: 54px;
    margin-top: 6px;
  }
}

/* Place chips */
.rp .of-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.rp .of-chips::-webkit-scrollbar {
  display: none;
}
.rp .of-coastbar {
  margin-top: 40px;
}
.rp .of-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: 500 0.92rem/1 var(--f-body);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.rp .of-chip b {
  font-weight: 600;
  color: var(--muted);
}
.rp .of-chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.rp .of-chip.is-on b {
  color: var(--on-dark-muted);
}
.rp .of-chip.is-zero:not(.is-on) {
  background: transparent;
  color: var(--muted);
}

/* Lists of cards */
.rp .of-listhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
}
.rp .of-listhead h2,
.rp .of-results-h {
  font-size: 1.4rem;
  line-height: 1.2;
}
.rp .of-listhead p {
  color: var(--muted);
  font-size: 0.95rem;
}
.rp .of-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rp .of-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .rp .of-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rp .of-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .rp .of-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .rp .of-grid,
  .rp .of-grid-3 {
    grid-template-columns: 1fr;
  }
}
.rp .of-more {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

/* The property card */
.rp .of-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.rp .of-card:focus-visible {
  outline-offset: 6px;
}
.rp .of-ph {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--sand-soft);
}
.rp .of-ph img {
  color: transparent;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.rp .of-card:hover .of-ph img {
  transform: scale(1.03);
}
.rp .of-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font: 600 0.75rem/1 var(--f-body);
  color: var(--ink);
}
.rp .of-tag.is-pick {
  background: var(--ink);
  color: var(--on-dark);
}
.rp .of-tag.is-pick::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--bronze);
  vertical-align: 1px;
}
.rp .of-where,
.rp .of-title,
.rp .of-price,
.rp .of-specs {
  display: block;
}
.rp .of-where {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--muted);
}
.rp .of-title {
  margin-top: 4px;
  font: 500 1.03rem/1.3 var(--f-display);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rp .of-price {
  margin-top: 6px;
  font: 600 1.12rem/1.1 var(--f-display);
}
.rp .of-specs {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.rp .of-specs span + span::before {
  content: '·';
  margin: 0 8px;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .rp .of-ph img {
    transition: none;
  }
}

/* Empty, gate and loading */
.rp .of-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.55);
}
.rp .of-empty h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}
.rp .of-empty p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.rp .of-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 560px) {
  .rp .of-empty {
    grid-template-columns: 1fr;
  }
}
.rp .of-gate {
  margin-top: 34px;
  padding: 32px;
  border-radius: 22px;
  background: var(--sand-soft);
  text-align: center;
}
.rp .of-gate h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.rp .of-gate p {
  max-width: 46ch;
  margin: 8px auto 18px;
  color: var(--ink-soft);
}
.rp .of-skeleton .of-ph,
.rp .of-line {
  background: linear-gradient(90deg, var(--sand-soft), rgba(255, 255, 255, 0.7), var(--sand-soft));
  background-size: 200% 100%;
  animation: of-shimmer 1.4s linear infinite;
}
.rp .of-line {
  display: block;
  height: 14px;
  margin-top: 12px;
  border-radius: 6px;
}
.rp .of-line.is-short {
  width: 55%;
}
@keyframes of-shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rp .of-skeleton .of-ph,
  .rp .of-line {
    animation: none;
  }
}

/* Search profile band and steps on the homepage */
.rp .of-sfy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.rp .of-sfy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 44px 48px;
}
.rp .of-sfy-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  max-width: 20ch;
}
.rp .of-sfy-copy p {
  max-width: 46ch;
  color: var(--ink-soft);
}
.rp .of-sfy-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 34px 36px;
  list-style: none;
  background: var(--sand-soft);
}
.rp .of-sfy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.95rem;
}
.rp .of-sfy-list b {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(154, 123, 76, 0.14);
  color: var(--bronze);
  font: 600 0.8rem/1 var(--f-display);
}
@media (max-width: 860px) {
  .rp .of-sfy {
    grid-template-columns: 1fr;
  }
  .rp .of-sfy-copy {
    padding: 30px 24px;
  }
  .rp .of-sfy-list {
    padding: 22px;
  }
}
.rp .of-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.rp .of-steps li {
  padding: 24px 28px 0 0;
}
.rp .of-steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.rp .of-n {
  font: 600 0.8rem/1 var(--f-body);
  letter-spacing: 0.12em;
  color: var(--bronze);
}
.rp .of-steps h3 {
  margin-top: 12px;
  font-size: 1.2rem;
}
.rp .of-steps p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.rp .of-steps-foot {
  margin-top: 22px;
}
@media (max-width: 760px) {
  .rp .of-steps {
    grid-template-columns: 1fr;
  }
  .rp .of-steps li,
  .rp .of-steps li + li {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* The offer browser */
.rp .of-head {
  padding: clamp(28px, 4vw, 44px) 0 8px;
}
.rp .of-head .lead {
  margin-top: 12px;
}
.rp .of-chips-m {
  display: none;
}
.rp .of-chips-sub {
  margin-top: 8px;
}
.rp .of-chips-sub .of-chip {
  min-height: 40px;
  font-size: 0.88rem;
}
.rp .of-filters {
  position: sticky;
  top: 56px;
  z-index: 5;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
}
.rp .of-filters .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rp .of-filters .wrap::-webkit-scrollbar {
  display: none;
}
.rp .of-sel {
  position: relative;
  flex: none;
}
.rp .of-sel .rp-sel {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font: 500 0.92rem/1 var(--f-body);
  cursor: pointer;
}
.rp .of-count {
  flex: none;
  margin-left: auto;
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.rp .of-offer {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 48px;
  margin-top: 30px;
}
.rp .of-idx {
  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rp .of-idx-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rp .of-idx-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 600 0.92rem/1.3 var(--f-body);
  text-align: left;
  cursor: pointer;
}
.rp .of-idx-sub .of-idx-item {
  color: var(--ink-soft);
  font-weight: 400;
}
.rp .of-idx-item b {
  font-weight: 500;
  color: var(--muted);
}
.rp .of-idx-item:hover {
  background: rgba(36, 36, 64, 0.04);
}
.rp .of-idx-item.is-on {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  font-weight: 600;
}
.rp .of-idx-item.is-zero:not(.is-on) {
  color: var(--muted);
}
.rp .of-results-h {
  margin-bottom: 18px;
}
@media (max-width: 960px) {
  .rp .of-offer {
    grid-template-columns: 1fr;
  }
  .rp .of-idx {
    display: none;
  }
  .rp .of-chips-m {
    display: block;
    margin-top: 22px;
  }
}

/* The property page */
.rp .of-pd {
  padding-top: 26px;
}
.rp .of-crumb {
  font-size: 0.88rem;
  color: var(--muted);
}
.rp .of-gal {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sand-soft);
}
.rp .of-gal-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.rp .of-gal-tile:first-child {
  grid-row: 1 / 3;
}
.rp .of-gal-tile img {
  color: transparent;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rp .of-gal-tile:hover img {
  transform: scale(1.03);
}
.rp .of-gal-tile:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}
.rp .of-gal.is-few {
  grid-template-columns: 1fr;
  grid-template-rows: 440px;
}
.rp .of-gal.is-few .of-gal-tile:first-child {
  grid-row: auto;
}
.rp .of-gal-m {
  display: none;
}
/* The slides also open full screen, outside the .rp scope. */
.of-slide {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.of-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rp .of-gal-m .of-slide img {
  object-fit: cover;
}
.rp .of-gal-empty {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.rp .of-gal-all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 40px;
  background: var(--surface);
}
.rp .of-pd-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
  margin-top: 34px;
}
.rp .of-pd-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.rp .of-pd-loc {
  margin-top: 8px;
  color: var(--ink-soft);
}
.rp .of-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.rp .of-facts div {
  padding: 16px 18px;
}
.rp .of-facts div + div {
  border-left: 1px solid var(--line);
}
.rp .of-facts dt,
.rp .of-feat dt {
  font: 600 0.72rem/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rp .of-facts dd {
  margin: 8px 0 0;
  font: 600 1.25rem/1 var(--f-display);
}
.rp .of-pd-text {
  max-width: 64ch;
  margin-top: 30px;
  color: var(--ink-soft);
  white-space: pre-line;
}
.rp .of-pd-text > div {
  display: grid;
  gap: 14px;
}
.rp .of-pd-text-fold {
  max-height: 15.5em;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.rp .of-pd-more {
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 0.95rem/1 var(--f-body);
  text-decoration: underline;
  text-decoration-color: var(--bronze, currentColor);
  text-underline-offset: 5px;
  cursor: pointer;
}
.rp .of-pd-h2 {
  margin-top: 40px;
  font-size: 1.3rem;
}
.rp .of-feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 14px 0 0;
}
.rp .of-feat div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rp .of-feat dd {
  margin: 0;
}
.rp .of-amen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.rp .of-amen li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.95rem;
}
.rp .of-amen svg {
  box-sizing: content-box;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--ink);
}
.rp .of-map {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rp .of-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.rp .of-area strong {
  font: 500 1.1rem/1.2 var(--f-display);
}
.rp .of-area p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.rp .of-area a {
  margin-top: 6px;
}

/* Lead panel */
.rp .of-lead {
  position: sticky;
  top: 80px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(36, 36, 64, 0.06),
    0 30px 80px -24px rgba(36, 36, 64, 0.28);
  scroll-margin-top: 72px;
}
.rp .of-lead-price {
  font: 600 1.9rem/1 var(--f-display);
  letter-spacing: -0.02em;
}
.rp .of-lead-ref {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.rp .of-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border-radius: 14px;
  background: var(--sand-soft);
}
.rp .of-seg button {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.85rem/1.2 var(--f-body);
  cursor: pointer;
}
.rp .of-seg button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(36, 36, 64, 0.1);
}
.rp .of-lead-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.rp .of-lead-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.rp .of-in {
  display: grid;
  gap: 6px;
}
.rp .of-in label {
  font: 600 0.85rem/1.2 var(--f-body);
}
.rp .of-opt {
  font-weight: 400;
  color: var(--muted);
}
.rp .of-in input,
.rp .of-in .rp-sel,
.rp .of-in textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font: 400 1rem/1.3 var(--f-body);
}
.rp .of-in textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}
.rp .of-in [aria-invalid='true'] {
  border-color: var(--err);
}
.rp .of-in-error {
  color: var(--err);
  font-size: 0.85rem;
}
.rp .of-pre {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rp .of-pre li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154, 123, 76, 0.14);
  color: var(--bronze);
  font-size: 0.88rem;
  font-weight: 600;
}
.rp .of-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-size: 1rem;
}
.rp .of-route {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.rp .of-done {
  margin-top: 18px;
}
.rp .of-done-h {
  font: 600 1.2rem/1.25 var(--f-display);
}
.rp .of-done-h:focus {
  outline: none;
}
.rp .of-done p + p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.rp .of-nearby {
  margin-top: 72px;
}
.rp .of-mbar {
  display: none;
}
@media (max-width: 1000px) {
  .rp .of-pd-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rp .of-lead {
    position: static;
  }
}
@media (max-width: 700px) {
  .rp .of-gal {
    display: none;
  }
  .rp .of-gal.is-empty {
    display: grid;
    grid-template-rows: 260px;
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
  }
  .rp .of-gal-m {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    margin: 16px calc(var(--gutter) * -1) 0;
    background: var(--sand-soft);
  }
  .rp .of-gal-m-slider {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .rp .of-gal-m-open {
    position: absolute;
    inset: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
  }
  .rp .of-amen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp .of-facts {
    grid-template-columns: 1fr 1fr;
  }
  .rp .of-facts div:nth-child(3) {
    border-left: 0;
  }
  .rp .of-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .rp .of-feat {
    grid-template-columns: 1fr;
  }
  .rp .of-mbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
    transition:
      transform 0.2s ease,
      visibility 0.2s;
  }
  .rp .of-mbar p {
    font: 600 1.15rem/1 var(--f-display);
  }
  .rp .of-mbar small {
    display: block;
    margin-top: 4px;
    font: 400 0.78rem/1.3 var(--f-body);
    color: var(--muted);
  }
  .rp .of-mbar .btn {
    margin-left: auto;
  }
  .rp .of-mbar[data-hidden] {
    visibility: hidden;
    transform: translateY(100%);
  }
  .rp .of-pd {
    padding-bottom: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rp .of-mbar {
    transition: none;
  }
}

/* Select: trigger takes the look of its field, the list opens as a card */
.rp .rp-sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.rp .rp-sel > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rp .rp-sel:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
.rp .rp-sel-chevron {
  flex: none;
  width: 7px;
  height: 7px;
  margin: -4px 2px 0 0;
  border-right: 1.6px solid var(--ink-soft);
  border-bottom: 1.6px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.rp .rp-sel[data-state='open'] .rp-sel-chevron {
  transform: translateY(4px) rotate(225deg);
}
.rp .rp-sel-menu {
  z-index: 60;
  min-width: max(var(--radix-select-trigger-width), 220px);
  max-height: min(400px, var(--radix-select-content-available-height));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(36, 36, 64, 0.06),
    0 24px 60px -18px rgba(36, 36, 64, 0.3);
  transform-origin: var(--radix-select-content-transform-origin);
  animation: rp-sel-in 0.16s var(--ease);
}
.rp .rp-sel-viewport {
  padding: 6px;
}
.rp .rp-sel-group {
  padding: 14px 12px 6px 34px;
  font: 600 0.7rem/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rp .rp-sel-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px 8px 34px;
  border-radius: 10px;
  font: 400 0.95rem/1.3 var(--f-body);
  color: var(--ink);
  cursor: pointer;
  outline: none;
  user-select: none;
}
.rp .rp-sel-item[data-highlighted] {
  background: var(--sand-soft);
}
.rp .rp-sel-item[data-state='checked'] {
  font-weight: 600;
}
.rp .rp-sel-check {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 10px;
  height: 5px;
  margin-top: -4px;
  border-bottom: 1.8px solid var(--bronze);
  border-left: 1.8px solid var(--bronze);
  transform: rotate(-45deg);
}
@keyframes rp-sel-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}
@media (pointer: coarse) {
  .rp .rp-sel-item {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rp .rp-sel-menu {
    animation: none;
  }
  .rp .rp-sel-chevron {
    transition: none;
  }
}
