.rentals-shell,
.rentals-admin-shell,
.rental-confirm-dialog {
  --r-bg: #ffffff;
  --r-card: #ffffff;
  --r-white: var(--bohio-panel, #ffffff);
  --r-dark-green: #1e3320;
  --r-mid-green: #3d6142;
  --r-light-green: #5a8a5e;
  --r-muted-green: #8aad8d;
  --r-watermark: #e3d9c9;
  --r-text: #1e2d1f;
  --r-muted: #66766a;
  --r-border: var(--bohio-border, #e3d9c9);
  --r-border-strong: #cfc3b2;
  color: var(--r-text);
}

.rentals-page-body main.container {
  max-width: 1320px;
  background: transparent;
}

body.rentals-page-body {
  background: #fff;
}

body.rentals-page-body .navbar.bg-primary,
body.rentals-page-body .app-footer {
  background: var(--bohio-chrome) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rentals-page-body .app-nav-actions {
  display: none !important;
}

.rentals-shell,
.rentals-admin-shell {
  font-family: var(--bohio-font-family);
}

.rentals-full-bleed {
  width: 100%;
  background: var(--r-bg);
  min-height: 0;
}

.rentals-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.rentals-subpage-inner {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.rentals-hero {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  min-height: clamp(22rem, 34vw, 28rem);
  padding: clamp(2rem, 5vw, 4rem);
}

body.rentals-page-body .rentals-hero .splash-kicker {
  margin-bottom: 0.65rem;
  color: var(--bohio-green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.rentals-page-body .rentals-hero h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--bohio-forest-dark);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.96;
}

body.rentals-page-body .rentals-hero .splash-lead {
  max-width: 720px;
  margin-bottom: 1.35rem;
  color: var(--bohio-muted);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.55;
}

.rentals-hero-description {
  max-width: 780px;
  margin: 0 0 0.85rem;
  color: var(--r-muted);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 500;
  line-height: 1.58;
}

.rentals-hero-description p {
  margin: 0 0 0.85rem;
}

.rentals-hero-description-mobile {
  display: none;
}

.rentals-guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--r-border-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--r-text);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.rentals-guide-button.primary {
  border-color: var(--r-dark-green);
  background: var(--r-dark-green);
  color: #fff;
}

.rentals-guide-button.secondary {
  border-color: var(--r-mid-green);
  background: var(--r-mid-green);
  color: #fff;
}

.rentals-guide-button:hover {
  border-color: var(--r-mid-green);
  background: var(--r-mid-green);
  color: #fff;
}

.rentals-hero-mark {
  pointer-events: none;
}

.rentals-content-panel {
  border-top: 0;
  box-shadow: none;
  padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
}

body.rentals-page-body .splash-hero {
  background: var(--bohio-green-soft);
  border: 0;
  box-shadow: none;
}

body.rentals-page-body .splash-hero::before {
  display: none;
}

body.rentals-page-body .rental-detail-contact {
  border-top: 0;
}

body.rentals-page-body .featured-rental-card,
body.rentals-page-body .rental-promo-card,
body.rentals-page-body .rental-building-card,
body.rentals-page-body .neighborhood-result-card,
body.rentals-page-body .rental-card,
body.rentals-page-body .rental-detail-contact-card,
body.rentals-page-body .rental-interest-form,
body.rentals-page-body .rental-application-card,
body.rentals-page-body .rental-confirm-card {
  border: 0;
  box-shadow: none;
}

.rentals-shell *,
.rentals-admin-shell *,
.rental-confirm-dialog * {
  box-shadow: none !important;
}

.featured-rentals {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.rental-promo-section,
.rentals-portfolio-section,
.rentals-neighborhood-section,
.neighborhood-results {
  border-top: 0;
  padding-top: clamp(1.35rem, 3vw, 2rem);
}

.featured-rentals-head {
  margin-bottom: 0.85rem;
  text-align: center;
}

.featured-rentals-head h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 900;
}

.featured-rentals-carousel {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  max-width: 100%;
  padding: 0.1rem 0 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.featured-rentals-carousel::-webkit-scrollbar {
  height: 0.5rem;
}

.featured-rentals-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--r-border-strong);
}

.featured-rental-card {
  flex: 0 0 min(24rem, 82vw);
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-card);
  scroll-snap-align: start;
}

.featured-rental-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 13.5rem;
  overflow: hidden;
  background: var(--r-white);
  color: var(--r-muted);
  text-decoration: none;
}

.featured-rental-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.featured-rental-cover:hover img,
.featured-rental-cover:focus-visible img {
  transform: scale(1.03);
}

.featured-rental-cover:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(61, 97, 66, 0.25);
  outline: 0;
}

.featured-rental-no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-rental-summary {
  padding: 1rem;
}

.featured-rental-price {
  margin-bottom: 0.25rem;
  color: var(--r-dark-green);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
}

.featured-rental-price span {
  color: var(--r-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.featured-rental-facts {
  margin-bottom: 0.45rem;
  color: var(--r-muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.featured-rental-address {
  color: var(--r-dark-green);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.rental-promo-section {
  margin: 0 0 clamp(1.6rem, 3vw, 2.35rem);
}

.rental-promo-head {
  max-width: 760px;
  margin: 0 auto 1rem;
  text-align: center;
}

.rental-promo-head h2 {
  margin: 0 0 0.4rem;
  color: var(--r-dark-green);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
}

.rental-promo-head p {
  margin: 0;
  color: var(--r-muted);
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
}

.rental-promo-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.rental-promo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(85, 112, 88, 0.32);
  border-radius: 8px;
  background: var(--r-white);
  box-shadow: 0 12px 28px rgba(31, 51, 39, 0.08);
}

.rental-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rental-promo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.rental-promo-copy h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
}

.rental-promo-copy p {
  margin: 0;
  color: var(--r-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.rental-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: auto;
  border: 1px solid #5f7f62;
  border-radius: 8px;
  background: #6f8f69;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.15;
  padding: 0.72rem 1rem;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.rental-promo-button:hover,
.rental-promo-button:focus-visible {
  border-color: #324f36;
  background: #3f6844;
  color: #ffffff;
  transform: translateY(-1px);
}

.rentals-portfolio-section {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.rentals-section-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.rentals-section-heading h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
}

.rentals-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.rentals-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: start;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.rentals-stat-link {
  color: inherit;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.rentals-stat-link:hover,
.rentals-stat-link:focus-visible {
  color: inherit;
  outline: 0;
  transform: translateY(-1px);
}

.rentals-stat-link:focus-visible .rentals-stat-icon {
  box-shadow: 0 0 0 0.22rem rgba(61, 97, 66, 0.22);
}

.rentals-stat-icon {
  display: inline-grid;
  place-items: center;
  width: clamp(4rem, 6vw, 5.25rem);
  height: clamp(4rem, 6vw, 5.25rem);
  border-radius: 999px;
  background: transparent;
  color: var(--r-dark-green);
}

.rentals-stat-icon.available {
  background: transparent;
  color: var(--r-mid-green);
}

.rentals-stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.rentals-stat-copy {
  min-width: 0;
  padding-top: 0.25rem;
}

.rentals-stat strong {
  display: block;
  color: var(--r-dark-green);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.rentals-stat-copy span {
  display: block;
  margin-top: 0.25rem;
  color: var(--r-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.rentals-stat-copy p {
  max-width: 38rem;
  margin: 0.65rem 0 0;
  color: var(--r-muted);
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.6;
}

.rentals-subpage-header {
  max-width: 920px;
  margin: 0 auto clamp(1.4rem, 3vw, 2rem);
  text-align: center;
}

.rentals-return-link {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--r-dark-green);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.rentals-return-link:hover,
.rentals-return-link:focus-visible {
  color: var(--r-mid-green);
  text-decoration: underline;
}

.rentals-subpage-header h1 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
}

.rentals-subpage-header p {
  max-width: 760px;
  margin: 0.75rem auto 0;
  color: var(--r-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500;
  line-height: 1.6;
}

.rental-building-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.rental-building-card {
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  box-shadow: 0 12px 28px rgba(31, 51, 39, 0.08);
}

.rental-building-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--r-watermark);
}

.rental-building-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-building-no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--r-muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rental-building-copy {
  padding: 1rem;
}

.rental-building-copy h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.rental-building-copy p {
  margin: 0.35rem 0 0;
  color: var(--r-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.rental-available-list {
  max-width: 1040px;
  margin: 0 auto;
}

.neighborhood-results {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 0.5rem;
}

.neighborhood-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.neighborhood-results-head h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
}

.neighborhood-results-label {
  margin: 0.15rem 0 0;
  color: var(--r-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.neighborhood-results-list {
  display: grid;
  gap: 0.75rem;
}

.neighborhood-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(7.5rem, 18vw, 11rem);
  gap: 0.9rem;
  align-items: stretch;
  padding: 0.75rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.neighborhood-result-card:hover,
.neighborhood-result-card:focus-visible {
  border-color: var(--r-dark-green);
  box-shadow: 0 0.45rem 1.2rem rgba(30, 51, 32, 0.12);
  color: inherit;
  outline: 0;
}

.neighborhood-result-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  order: 1;
}

.neighborhood-result-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.neighborhood-result-title strong {
  color: var(--r-dark-green);
  font-size: 1.1rem;
  font-weight: 900;
}

.neighborhood-result-title span {
  color: var(--r-text);
  font-size: 1rem;
  font-weight: 800;
}

.neighborhood-result-meta {
  color: var(--r-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.neighborhood-result-address {
  margin-top: 0.3rem;
  color: var(--r-dark-green);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.neighborhood-result-cover {
  order: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: var(--r-watermark);
  text-decoration: none;
  aspect-ratio: 4 / 3;
}

.neighborhood-result-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neighborhood-result-no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.neighborhood-result-cover:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(61, 97, 66, 0.24);
  outline: 0;
}

.neighborhood-results-empty {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--r-border-strong);
  border-radius: 8px;
  background: rgba(247, 244, 239, 0.7);
  color: var(--r-muted);
  font-weight: 650;
}

.neighborhood-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.neighborhood-page-link {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--r-border-strong);
  border-radius: 999px;
  background: var(--r-white);
  color: var(--r-dark-green);
  font-size: 0.85rem;
  font-weight: 850;
  text-decoration: none;
}

.neighborhood-page-status {
  color: var(--r-muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.rentals-neighborhood-section {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.rentals-neighborhood-intro {
  margin-bottom: 0.9rem;
}

.rentals-neighborhood-intro h2 {
  margin: 0 0 0.45rem;
  color: var(--r-dark-green);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 900;
}

.rentals-neighborhood-intro p:not(.rentals-map-kicker) {
  max-width: 44rem;
  margin: 0;
  color: var(--r-muted);
  line-height: 1.55;
}

.rentals-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(17rem, 0.36fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
  margin-bottom: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-card);
}

.rentals-map-image-frame {
  overflow: hidden;
  border: 1px solid #adc1c7;
  border-radius: 8px;
  background: var(--r-white);
}

.rentals-map-expand-trigger {
  position: relative;
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.rentals-map-expand-trigger span {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 51, 32, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.rentals-map-expand-trigger:focus-visible {
  box-shadow: 0 0 0 0.22rem rgba(61, 97, 66, 0.28);
  outline: 0;
}

.rentals-location-map-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(70vh, 44rem);
  object-fit: contain;
}

.rentals-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.rentals-map-kicker {
  margin: 0 0 0.35rem;
  color: var(--r-mid-green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rentals-map-copy h2 {
  margin: 0 0 0.45rem;
  color: var(--r-dark-green);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
}

.rentals-map-copy p:not(.rentals-map-kicker) {
  margin: 0 0 1rem;
  color: var(--r-muted);
  line-height: 1.55;
}

.rentals-map-legend {
  display: grid;
  gap: 0.45rem;
}

.rentals-map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  color: var(--r-dark-green);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.rentals-map-legend-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--r-mid-green);
  color: #fff;
  font-size: 0.78rem;
}

.rentals-map-legend-item:hover,
.rentals-map-legend-item.active {
  border-color: var(--r-dark-green);
  background: var(--r-dark-green);
  color: #fff;
}

.rental-map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.rental-map-lightbox:target {
  display: flex;
}

.rental-map-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 51, 32, 0.78);
}

.rental-map-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 62rem);
  max-height: calc(100vh - 2rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: var(--r-white);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.rental-map-lightbox-content img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 5rem);
  object-fit: contain;
}

.rental-map-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: rgba(247, 244, 239, 0.94);
  color: var(--r-dark-green);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.rentals-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.rentals-section-head h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 900;
}

.rentals-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rentals-chip {
  min-width: 4.75rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--r-border);
  border-radius: 999px;
  background: var(--r-white);
  color: var(--r-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.rentals-chip.active {
  border-color: var(--r-dark-green);
  background: var(--r-dark-green);
  color: #fff;
}

.rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.rental-card {
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 14px;
  background: var(--r-card);
  transition: border-color 0.2s, transform 0.2s;
}

.rental-card-clickable {
  cursor: pointer;
}

.rental-card:hover {
  border-color: var(--r-mid-green);
  transform: translateY(-3px);
}

.rental-card:focus-visible {
  border-color: var(--r-dark-green);
  box-shadow: 0 0 0 0.2rem rgba(61, 97, 66, 0.22);
  outline: 0;
}

.rental-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: var(--r-watermark);
}

.rental-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-photo-strip {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.35rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem;
  border-radius: 8px;
  background: rgba(30, 51, 32, 0.72);
  backdrop-filter: blur(4px);
}

.rental-photo-strip img {
  width: 2.7rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  object-fit: cover;
}

.rental-photo-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  height: 2.2rem;
  padding: 0 0.35rem;
  border-radius: 5px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--r-dark-green);
  font-size: 0.72rem;
  font-weight: 850;
}

.rental-no-photo {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: var(--r-mid-green);
  opacity: 0.45;
}

.rental-no-photo span {
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.rental-status-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.rental-status-badge.available {
  background: var(--r-dark-green);
}

.rental-status-badge.rented {
  background: #77736b;
}

.rental-card-body {
  padding: 1.25rem;
}

.rental-price {
  margin-bottom: 0.25rem;
  color: var(--r-dark-green);
  font-size: 1.5rem;
  font-weight: 900;
}

.rental-price span {
  color: var(--r-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.rental-title {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--r-text);
  font-size: 0.96rem;
  font-weight: 800;
}

.rental-title-link {
  text-decoration: none;
}

.rental-title-link:hover {
  color: var(--r-mid-green);
}

.rental-neighborhood {
  margin-bottom: 0.2rem;
  color: var(--r-dark-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.rental-address {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  color: var(--r-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.rental-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--r-border);
}

.rental-feat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--r-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.rentals-detail-button {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--r-border-strong);
  border-radius: 8px;
  background: var(--r-white);
  color: var(--r-dark-green);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.rentals-detail-button:hover {
  border-color: var(--r-dark-green);
  color: var(--r-dark-green);
  background: #fffaf2;
}

.rentals-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--r-border-strong);
  border-radius: 8px;
  background: rgba(247, 244, 239, 0.58);
  color: var(--r-muted);
  text-align: center;
}

.rentals-empty p {
  margin: 0;
}

.rentals-detail-shell {
  width: 100%;
  max-width: 100%;
  padding-top: 0.25rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: #fff;
  overflow-x: clip;
}

.rentals-detail-nav {
  margin-bottom: 1rem;
}

.rentals-detail-nav a {
  color: var(--r-dark-green);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.rentals-detail-nav a:hover {
  color: var(--r-mid-green);
}

.rental-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.rental-detail-page {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rental-detail-hero {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}

.rental-detail-hero-copy {
  display: grid;
  gap: 0.42rem;
  width: min(100%, 86rem);
}

.rental-detail-title-row h1 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.rental-detail-title-price {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--r-dark-green);
  font-weight: 950;
}

.rental-detail-summary-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  color: var(--r-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rental-detail-summary-line span + span::before {
  content: "|";
  margin-right: 0.55rem;
  color: var(--r-border-strong);
}

.rental-detail-summary-line .status {
  color: var(--r-dark-green);
  font-weight: 800;
}

.rental-detail-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  justify-items: center;
  min-height: 0;
  width: 100%;
}

.rental-detail-hero-cover {
  position: relative;
  width: min(100%, 86rem);
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
  aspect-ratio: 16 / 7;
  min-height: 18rem;
  max-height: 34rem;
}

.rental-detail-hero-image-link,
.rental-detail-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.rental-detail-hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.rental-detail-carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.rental-detail-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(30, 51, 32, 0.78);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.rental-detail-carousel-btn.previous {
  left: clamp(0.75rem, 9vw, 7rem);
}

.rental-detail-carousel-btn.next {
  right: clamp(0.75rem, 9vw, 7rem);
}

.rental-detail-carousel-btn:hover,
.rental-detail-carousel-btn:focus-visible {
  border-color: #fff;
  background: rgba(30, 51, 32, 0.94);
  outline: 0;
}

.rental-detail-slide {
  display: none;
}

.rental-detail-slide img {
  display: none;
}

.rental-detail-thumbs {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.6rem 0.6rem;
  background: transparent;
}

.rental-detail-thumbs button {
  flex: 0 0 auto;
  width: 5.5rem;
  height: 4rem;
  border: 2px solid var(--r-border);
  border-radius: 6px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.rental-detail-thumbs button:focus,
.rental-detail-thumbs button:hover,
.rental-detail-thumbs button[aria-current="true"] {
  border-color: var(--r-dark-green);
  outline: 0;
}

.rental-detail-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-detail-no-photo {
  display: grid;
  place-items: center;
  min-height: 24rem;
  color: var(--r-muted);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rental-detail-walkthroughs {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 2px solid var(--r-border);
}

.rental-detail-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0;
}

.rental-detail-section-head h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.15;
}

.rental-walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(0.85rem, 2vw, 1.2rem);
}

.rental-walkthrough-item {
  min-width: 0;
}

.rental-walkthrough-preview,
.rental-walkthrough-item video {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #172319;
}

.rental-walkthrough-preview {
  position: relative;
  display: block;
  padding: 0;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.rental-walkthrough-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 20, 0.3);
  transition: background-color 0.16s ease;
}

.rental-walkthrough-preview:hover::after,
.rental-walkthrough-preview:focus-visible::after {
  background: rgba(18, 27, 20, 0.18);
}

.rental-walkthrough-preview:focus-visible {
  border-color: var(--r-dark-green);
  outline: 3px solid rgba(61, 97, 66, 0.24);
  outline-offset: 2px;
}

.rental-walkthrough-preview img,
.rental-walkthrough-preview-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.rental-walkthrough-preview-placeholder {
  background: #e8eee9;
}

.rental-walkthrough-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(3.2rem, 7vw, 4.5rem);
  height: clamp(3.2rem, 7vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(30, 51, 32, 0.88);
  transform: translate(-50%, -50%);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.rental-walkthrough-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 0.9rem solid #fff;
}

.rental-walkthrough-preview:hover .rental-walkthrough-play,
.rental-walkthrough-preview:focus-visible .rental-walkthrough-play {
  background: rgba(30, 51, 32, 0.96);
  transform: translate(-50%, -50%) scale(1.04);
}

.rental-walkthrough-preview-copy {
  position: absolute;
  right: 0.75rem;
  bottom: 0.7rem;
  left: 0.75rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 0.75rem;
}

.rental-walkthrough-preview-copy strong,
.rental-walkthrough-preview-copy span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.rental-walkthrough-preview-copy strong {
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.15;
}

.rental-walkthrough-preview-copy span {
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.rental-walkthrough-item video {
  display: block;
  object-fit: contain;
}

.rental-walkthrough-item.is-playing video {
  background: #111;
}

.rental-detail-info {
  position: sticky;
  top: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.rental-detail-description {
  margin-bottom: 0;
}

.rental-detail-blocks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.rental-detail-block,
.rental-detail-map-copy {
  min-width: 0;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 2px solid var(--r-border);
  border-radius: 0;
  background: #fff;
}

.rental-detail-block h2,
.rental-detail-map-copy h2 {
  margin: 0 0 0.9rem;
  color: var(--r-dark-green);
  font-size: 1rem;
  font-weight: 900;
}

.rental-detail-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.9rem;
}

.rental-detail-block-head h2 {
  margin-bottom: 0;
}

.rental-detail-terms-block.has-application-callout .rental-detail-block-head h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: #d7a72f;
}

.rental-apply-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.58rem 1.1rem;
  border: 1px solid #b8872f;
  border-radius: 8px;
  background: #f2c14e;
  color: #1e3320;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0.35rem 0.75rem rgba(139, 111, 42, 0.18) !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.rental-apply-callout:hover,
.rental-apply-callout:focus-visible {
  border-color: #8b6f2a;
  background: #d7a72f;
  color: #1e3320;
  outline: 0;
  transform: translateY(-1px);
}

.rental-detail-term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.rental-detail-term-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rental-detail-term-grid div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
}

.rental-detail-term-grid strong {
  display: inline-block;
  flex: 0 1 auto;
  min-width: max-content;
  color: var(--r-dark-green);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}

.rental-detail-term-grid span {
  display: inline-block;
  flex: 1 1 7rem;
  min-width: 6rem;
  color: var(--r-muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
}

.rental-detail-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.1rem;
  justify-content: center;
  align-items: start;
}

.rental-detail-icon-grid.utility-grid {
  justify-content: center;
}

.rental-detail-icon-card {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  flex: 0 0 7rem;
  width: 7rem;
}

.rental-detail-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--r-mid-green);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.rental-detail-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.rental-detail-icon-card:nth-child(4n+1) .rental-detail-icon {
  background: var(--r-dark-green);
}

.rental-detail-icon-card:nth-child(4n+2) .rental-detail-icon {
  background: #557e5a;
}

.rental-detail-icon-card:nth-child(4n+3) .rental-detail-icon {
  background: #6e8b63;
}

.rental-detail-icon-card:nth-child(4n+4) .rental-detail-icon {
  background: #4b6651;
}

.rental-detail-icon-card span {
  color: var(--r-text);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.rental-detail-map-section {
  display: grid;
  gap: 1rem;
}

.rental-detail-map-name {
  margin: 0 0 0.5rem;
  color: var(--r-dark-green);
  font-size: 1.05rem;
  font-weight: 900;
}

.rental-detail-map-description {
  margin: 0;
  color: var(--r-muted);
  line-height: 1.55;
}

.rental-detail-map-panel {
  grid-template-columns: 1fr;
}

.rental-detail-contact {
  padding-top: 1rem;
  border-top: 2px solid var(--r-border);
}

.rental-detail-contact-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
}

.rental-detail-contact-card,
.rental-interest-form {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(85, 112, 88, 0.28);
  border-radius: 8px;
  background: #ffffff;
}

.rental-detail-contact-card h2,
.rental-interest-form h2 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.rental-detail-contact-list {
  display: grid;
  gap: 0.55rem;
}

.rental-detail-contact-link {
  color: var(--r-dark-green);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(30, 51, 32, 0.35);
  text-underline-offset: 0.18rem;
}

.rental-detail-contact-link:hover,
.rental-detail-contact-link:focus-visible {
  color: var(--r-mid-green);
  text-decoration-color: currentColor;
}

.rental-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.rental-interest-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
}

.rental-interest-field span {
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.rental-interest-field input,
.rental-interest-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
  color: var(--r-text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
}

.rental-interest-field input {
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
}

.rental-interest-field textarea {
  min-height: 7rem;
  padding: 0.7rem 0.75rem;
  resize: vertical;
}

.rental-interest-field input:focus,
.rental-interest-field textarea:focus {
  border-color: var(--r-mid-green);
  box-shadow: 0 0 0 0.18rem rgba(61, 97, 66, 0.16);
  outline: 0;
}

.rental-interest-submit {
  justify-self: start;
  margin-top: 0;
}

.rental-photo-viewers {
  display: none;
}

.rental-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
}

.rental-photo-viewer:target {
  display: block;
}

.rental-photo-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 51, 32, 0.82);
}

.rental-photo-viewer-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(96vw, 92rem);
  height: min(92vh, 64rem);
  margin: 4vh auto 0;
  padding: 1rem;
}

.rental-photo-viewer-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
}

.rental-photo-viewer-close {
  position: absolute;
  top: 0;
  right: 0.5rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--r-dark-green);
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
}

.rental-detail-address-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-top: 0.05rem;
}

.rental-detail-address-inline {
  color: var(--r-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  min-width: 0;
}

.rental-status-badge.static {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  margin-bottom: 0;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  line-height: 1;
}

body.rentals-page-body .rental-detail-info h1 {
  margin-bottom: 0.65rem;
  color: var(--r-dark-green);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.rental-detail-address {
  margin-bottom: 1.25rem;
  color: var(--r-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.rental-detail-blocks,
.rental-detail-map-section,
.rental-detail-section {
  background: #fff;
}

.rental-detail-block,
.rental-detail-map-copy {
  padding: 1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-top: 2px solid var(--r-border);
}

.rental-detail-block:first-child {
  border-top: 2px solid var(--r-border);
}

.rental-detail-block h2,
.rental-detail-map-copy h2 {
  padding-top: 0.25rem;
}

.rental-detail-term-grid div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
}

.rental-detail-term-grid strong,
.rental-detail-icon-card span {
  text-align: center;
}

.rental-detail-icon-card span {
  max-width: 7rem;
}

.rental-detail-summary-line {
  margin-bottom: 0.15rem;
}

.rental-detail-neighborhood {
  margin-bottom: 0.35rem;
  color: var(--r-dark-green);
  font-size: 0.95rem;
  font-weight: 900;
}

.rental-detail-price {
  margin-bottom: 1.25rem;
  color: var(--r-dark-green);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
}

.rental-detail-price span {
  color: var(--r-muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.rental-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rental-detail-facts div,
.rental-detail-terms div {
  padding: 0.85rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
}

.rental-detail-facts strong {
  display: block;
  color: var(--r-dark-green);
  font-size: 1.2rem;
  font-weight: 900;
}

.rental-detail-facts span,
.rental-detail-terms dt {
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rental-detail-terms {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.rental-detail-terms dd {
  margin: 0.2rem 0 0;
  color: var(--r-dark-green);
  font-weight: 850;
}

.rental-detail-section {
  min-width: 0;
  margin-bottom: 1.25rem;
}

.rental-detail-section h2 {
  margin-bottom: 0.5rem;
  color: var(--r-dark-green);
  font-size: 1.05rem;
  font-weight: 900;
}

.rental-detail-section p {
  margin: 0;
  color: var(--r-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.rentals-admin-shell {
  --r-bg: #ffffff;
  --r-card: #e6f0ea;
  --r-white: #ffffff;
  --r-dark-green: #1e3320;
  --r-mid-green: #3d6142;
  --r-muted: #66766a;
  --r-border: #d8e4d1;
  color: var(--r-dark-green);
}

.rentals-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rentals-admin-head h1 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: 1.55rem;
  font-weight: 900;
}

.rentals-admin-panel {
  padding: 1.25rem;
  border: 1px solid var(--r-border);
  border-radius: 16px;
  background: var(--r-card);
}

.rental-admin-form {
  margin-top: 0.25rem;
}

.rental-admin-form .row,
.rental-photo-upload-form .row {
  --bs-gutter-y: 0.6rem;
}

.rental-admin-floating-field {
  position: relative;
}

.rental-admin-floating-field .form-label {
  position: absolute;
  top: 0.55rem;
  left: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--r-white);
  color: var(--r-muted);
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: 0.08rem;
}

.rental-admin-floating-field .form-control,
.rental-admin-floating-field .form-select {
  min-height: 3.1rem;
  padding-top: 1.35rem;
  padding-bottom: 0.6rem;
  border-radius: 8px;
}

.rental-admin-floating-field .form-control-sm,
.rental-admin-floating-field .form-select-sm {
  min-height: 2.9rem;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.rental-admin-floating-field textarea.form-control,
.rental-admin-floating-field textarea.form-control-sm {
  min-height: 6.2rem;
  padding-top: 1.55rem;
}

.rental-admin-status-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.rental-admin-status-field .form-label {
  margin: 0;
  color: var(--r-muted);
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: 0.08rem;
}

.rental-status-toggle {
  width: min(100%, 11.75rem);
}

.rental-availability-switch {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 2.45rem;
  margin: 0;
  padding: 0.35rem 0.7rem 0.35rem 0.38rem;
  border: 1px solid var(--r-border);
  border-radius: 999px;
  background: var(--r-white);
  color: var(--r-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rental-availability-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.rental-availability-switch-track {
  position: relative;
  display: block;
  width: 2.55rem;
  height: 1.42rem;
  border-radius: 999px;
  background: #cfd9ce;
  transition: background-color 0.15s ease;
}

.rental-availability-switch-track::after {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.06rem;
  height: 1.06rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0.1rem 0.35rem rgba(30, 51, 32, 0.22);
  content: "";
  transition: transform 0.15s ease;
}

.rental-availability-switch-text {
  display: grid;
  align-items: center;
  min-width: 0;
  line-height: 1.1;
}

.rental-availability-switch-text strong,
.rental-availability-switch-text small {
  grid-area: 1 / 1;
  font-size: 0.78rem;
  font-weight: 850;
  transition: opacity 0.15s ease;
}

.rental-availability-switch-text strong {
  color: var(--r-dark-green);
  opacity: 0;
}

.rental-availability-switch-text small {
  color: var(--r-muted);
  opacity: 1;
}

.rental-availability-switch input:checked + .rental-availability-switch-track {
  background: var(--r-dark-green);
}

.rental-availability-switch input:checked + .rental-availability-switch-track::after {
  transform: translateX(1.13rem);
}

.rental-availability-switch input:checked ~ .rental-availability-switch-text strong {
  opacity: 1;
}

.rental-availability-switch input:checked ~ .rental-availability-switch-text small {
  opacity: 0;
}

.rental-availability-switch input:focus-visible + .rental-availability-switch-track {
  outline: 2px solid rgba(49, 86, 58, 0.45);
  outline-offset: 2px;
}

.rental-admin-section-block {
  display: flex;
  flex-direction: column;
}

.rental-admin-field-icon {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--r-dark-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.rental-admin-multiselect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-content: start;
}

.rental-admin-checkcard {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
}

.rental-admin-checkcard input {
  flex: 0 0 auto;
}

.rental-media-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.rental-media-manager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.rental-media-section {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.rental-media-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.rental-media-section-head h3 {
  margin: 0;
  color: var(--r-dark-green);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.rental-media-section-head span {
  flex: 0 0 auto;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rental-media-upload-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy"
    "icon status";
  gap: 0.15rem 0.75rem;
  align-items: center;
  min-height: 6.4rem;
  min-width: 0;
  padding: 1rem;
  border: 1.5px dashed var(--r-border-strong, var(--r-border));
  border-radius: 8px;
  background: var(--r-white);
  color: var(--r-dark-green);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.rental-media-upload-card.compact {
  min-height: 5.9rem;
  padding: 0.85rem;
}

.rental-media-upload-card:hover,
.rental-media-upload-card:focus-within {
  border-color: var(--r-dark-green);
  background: #f8fbf7;
  transform: translateY(-1px);
}

.rental-media-upload-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.rental-media-upload-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--r-dark-green);
  color: #fff;
}

.rental-media-upload-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.rental-media-upload-title {
  grid-area: title;
  min-width: 0;
  color: var(--r-dark-green);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

.rental-media-upload-copy {
  grid-area: copy;
  min-width: 0;
  color: var(--r-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.rental-media-upload-status {
  grid-area: status;
  min-width: 0;
  color: var(--r-mid-green);
  font-size: 0.73rem;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rental-selected-file-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.rental-selected-file-list[hidden],
.rental-selected-file-list:empty {
  display: none;
}

.rental-selected-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.45rem 0.35rem 0.65rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  color: var(--r-dark-green);
  font-size: 0.78rem;
  font-weight: 750;
}

.rental-selected-file-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rental-selected-file-row button {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border: 1px solid rgba(122, 32, 32, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #7a2020;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.rental-selected-file-row button:hover,
.rental-selected-file-row button:focus-visible {
  background: #fde8e8;
  outline: 0;
}

.rental-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 10rem));
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.65rem;
}

.rental-photo-preview-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  text-align: center;
  cursor: grab;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
}

.rental-photo-preview-tile:active {
  cursor: grabbing;
}

.rental-photo-preview-tile.dragging {
  opacity: 0.55;
}

.rental-photo-preview-tile.drag-over {
  border-color: var(--r-dark-green);
  box-shadow: 0 0 0 0.18rem rgba(30, 51, 32, 0.14);
}

.rental-photo-preview-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rental-photo-preview-tile span {
  display: block;
  padding: 0.35rem 0.4rem;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rental-photo-preview-remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #7a2020;
  box-shadow: 0 0.25rem 0.75rem rgba(30, 51, 32, 0.18);
  cursor: pointer;
}

.rental-photo-preview-remove svg {
  width: 1rem;
  height: 1rem;
}

.rental-photo-preview-remove:hover,
.rental-photo-preview-remove:focus-visible {
  background: #fff;
  color: #5f1616;
  outline: 0;
  transform: translateY(-1px);
}

.rental-photo-reorder {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 1;
  display: flex;
  gap: 0.25rem;
}

.rental-photo-reorder button {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--r-dark-green);
  box-shadow: 0 0.25rem 0.75rem rgba(30, 51, 32, 0.18);
  cursor: pointer;
}

.rental-photo-reorder svg {
  width: 0.95rem;
  height: 0.95rem;
}

.rental-photo-reorder button:hover,
.rental-photo-reorder button:focus-visible {
  background: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.rental-upload-progress {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.25rem);
  bottom: clamp(0.85rem, 2vw, 1.25rem);
  z-index: 2600;
  width: min(calc(100vw - 1.7rem), 24rem);
  padding: 0.95rem;
  border: 1px solid rgba(30, 51, 32, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--r-dark-green);
  box-shadow: 0 1rem 2rem rgba(30, 51, 32, 0.18) !important;
}

.rental-upload-progress[hidden] {
  display: none;
}

.rental-upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.rental-upload-progress-head strong {
  flex: 0 0 auto;
  color: var(--r-mid-green);
  font-size: 0.86rem;
}

.rental-upload-progress-track {
  overflow: hidden;
  height: 0.65rem;
  border-radius: 999px;
  background: #dce8d8;
}

.rental-upload-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--r-dark-green);
  transition: width 0.18s ease;
}

.rental-upload-progress-meta {
  margin-top: 0.55rem;
  color: var(--r-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.rental-edit-panel[open] {
  scroll-margin-top: 1rem;
}

.rental-edit-panel summary {
  cursor: pointer;
}

.rental-edit-panel summary::-webkit-details-marker {
  display: none;
}

.rental-edit-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  width: auto;
  margin-bottom: 0.85rem;
  padding: 0.2rem;
  border: 1px solid var(--r-border);
  border-radius: 999px;
  background: var(--r-white);
}

.rental-edit-tab {
  min-width: 5rem;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--r-muted);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.rental-edit-tab.active {
  background: var(--r-dark-green);
  color: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(30, 51, 32, 0.14);
}

.rental-edit-tab-panel[hidden] {
  display: none !important;
}

.rental-unit-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-right: 0;
  margin-left: 0;
}

.rental-unit-details-grid > [class*="col-"] {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 992px) {
  .rental-unit-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.6rem;
  }

  .rental-unit-details-grid .rental-wide-field {
    grid-column: 1 / -1;
  }
}

.rental-delete-property-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.rental-delete-property-button,
.rental-confirm-button {
  --bs-btn-bg: var(--r-dark-green, #1e3320);
  --bs-btn-border-color: var(--r-dark-green, #1e3320);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--r-mid-green, #3d6142);
  --bs-btn-hover-border-color: var(--r-mid-green, #3d6142);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--r-dark-green, #1e3320);
  --bs-btn-active-border-color: var(--r-dark-green, #1e3320);
  --bs-btn-active-color: #fff;
  border-color: var(--r-dark-green, #1e3320) !important;
  background-color: var(--r-dark-green, #1e3320) !important;
  color: #fff !important;
  font-weight: 800;
}

.rental-delete-property-button:hover,
.rental-delete-property-button:focus-visible,
.rental-confirm-button:hover,
.rental-confirm-button:focus-visible {
  border-color: var(--r-mid-green, #3d6142) !important;
  background-color: var(--r-mid-green, #3d6142) !important;
  color: #fff !important;
}

.rental-confirm-dialog {
  width: min(28rem, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.rental-confirm-dialog::backdrop {
  background: rgba(30, 51, 32, 0.36);
}

.rental-confirm-card {
  padding: 1.35rem;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(30, 51, 32, 0.24);
}

.rental-confirm-card h2 {
  margin: 0 0 0.45rem;
  color: var(--r-dark-green);
  font-size: 1.35rem;
  font-weight: 900;
}

.rental-confirm-card p {
  margin: 0 0 1.2rem;
  color: var(--r-muted);
}

.rental-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.rental-admin-photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 10rem));
  gap: 0.75rem;
  justify-content: space-between;
}

.rental-admin-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  text-align: center;
  cursor: grab;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
}

.rental-admin-photo:active {
  cursor: grabbing;
}

.rental-admin-photo.dragging {
  opacity: 0.55;
}

.rental-admin-photo.drag-over {
  border-color: var(--r-dark-green);
  box-shadow: 0 0 0 0.18rem rgba(30, 51, 32, 0.14);
}

.rental-admin-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rental-admin-video video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #111;
  object-fit: cover;
}

.rental-admin-photo-view {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rental-admin-photo span {
  display: block;
  padding: 0.35rem 0.4rem;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rentals-admin-table {
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 16px;
  background: var(--r-card);
}

.rentals-admin-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.rentals-admin-table th,
.rentals-admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--r-border);
  vertical-align: middle;
}

.rentals-admin-table th {
  background: var(--r-white);
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.rentals-admin-table tbody > tr[id^="rental-admin-"],
.rentals-admin-table tbody > .rental-building-summary-row {
  background: var(--r-white);
}

.rentals-admin-table tbody > .rental-edit-row > td {
  background: var(--r-card);
}

.rentals-pill {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: capitalize;
}

.rentals-pill.available,
.rentals-pill.approved {
  background: #d4e8d4;
  color: #1e3320;
}

.rentals-pill.rented {
  background: #e0ddd8;
  color: #5a5a52;
}

.rentals-pill.pending {
  background: #fef3c7;
  color: #78490a;
}

.rentals-pill.rejected {
  background: #fde8e8;
  color: #7a2020;
}

.rental-admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.rental-admin-row-actions form {
  margin: 0;
}

.rental-admin-photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 10rem));
  gap: 0.75rem;
  justify-content: space-between;
}

.rental-admin-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  text-align: center;
  cursor: grab;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
}

.rental-admin-photo:active {
  cursor: grabbing;
}

.rental-admin-photo.dragging {
  opacity: 0.55;
}

.rental-admin-photo.drag-over {
  border-color: var(--r-dark-green);
  box-shadow: 0 0 0 0.18rem rgba(30, 51, 32, 0.14);
}

.rental-admin-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rental-admin-photo span {
  display: block;
  padding: 0.35rem 0.4rem;
  color: var(--r-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rental-photo-upload-action {
  display: flex;
  align-items: flex-start;
  padding-top: calc(1.25rem + 0.35rem);
}

.rental-photo-upload-action .btn {
  min-height: calc(1.5em + 0.5rem + 2px);
}

.rental-photo-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--r-muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.rental-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--r-border);
}

.rental-admin-tab {
  padding: 0.7rem 1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--r-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
}

.rental-admin-tab.active {
  border-bottom-color: var(--r-dark-green);
  color: var(--r-dark-green);
}

.rental-admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.rental-admin-subtab,
.rental-add-kind label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--r-border);
  border-radius: 999px;
  background: var(--r-white);
  color: var(--r-dark-green);
  font-weight: 850;
}

.rental-admin-subtab {
  cursor: pointer;
}

.rental-admin-subtab.active {
  border-color: var(--r-dark-green);
  background: var(--r-dark-green);
  color: #fff;
}

.rental-add-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rental-add-property-button {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.rental-add-kind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.rental-admin-building-card {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.rental-admin-building-card .fw-bold,
.rental-admin-building-card .text-muted,
.rental-building-description-cell {
  overflow-wrap: anywhere;
}

.rental-admin-building-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 5.25rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--r-border);
  border-radius: 8px;
  background: var(--r-white);
  color: var(--r-muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rental-admin-building-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-application-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--r-border);
  border-radius: 13px;
  background: var(--r-card);
}

.rental-application-name {
  color: var(--r-dark-green);
  font-size: 0.98rem;
  font-weight: 850;
}

.rental-application-meta {
  margin-top: 0.25rem;
  color: var(--r-muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .rentals-detail-shell {
    width: 100%;
    max-width: 100vw;
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
    overflow-x: hidden;
  }

  .rental-detail-page,
  .rental-detail-hero,
  .rental-detail-hero-copy,
  .rental-detail-hero-media,
  .rental-detail-blocks,
  .rental-detail-block,
  .rental-detail-section,
  .rental-detail-map-section,
  .rental-detail-map-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .rentals-inner {
    padding: 0 0 1.5rem;
  }

  .rentals-content-panel {
    padding: 0 1.25rem 2rem;
  }

  .rentals-hero {
    min-height: auto;
    padding: 2rem 1.5rem 2.5rem;
  }

  body.rentals-page-body .rentals-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  body.rentals-page-body .rentals-hero .splash-lead {
    font-size: 1.02rem;
  }

  .rentals-hero-description-desktop {
    display: none;
  }

  .rentals-hero-description-mobile {
    display: block;
    margin-bottom: 1rem;
  }

  .rentals-hero-mark {
    display: none;
  }

  .rentals-map-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .rentals-stats {
    grid-template-columns: 1fr;
  }

  .rental-promo-cards {
    grid-template-columns: 1fr;
  }

  .rental-promo-copy {
    padding: 1rem;
  }

  .rental-promo-button {
    width: 100%;
  }

  .neighborhood-result-card {
    grid-template-columns: 1fr;
  }

  .neighborhood-result-cover {
    order: 0;
  }

  .neighborhood-result-summary {
    order: 1;
  }

  .rentals-location-map-image {
    max-height: 60vh;
  }

  .rental-photo-strip {
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .rental-photo-strip img,
  .rental-photo-more {
    width: 2.35rem;
    min-width: 2.35rem;
    height: 1.95rem;
  }

  .rental-detail-layout {
    grid-template-columns: 1fr;
  }

  .rental-detail-hero {
    justify-items: stretch;
  }

  .rental-detail-hero-copy {
    width: 100%;
    min-width: 0;
  }

  .rental-detail-title-row h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
  }

  .rental-detail-title-price {
    margin-right: 0.25rem;
  }

  .rental-detail-summary-line {
    gap: 0.25rem 0.45rem;
    width: 100%;
    min-width: 0;
    font-size: 0.86rem;
  }

  .rental-detail-summary-line span {
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .rental-detail-address-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
  }

  .rental-detail-address-inline {
    min-width: 0;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }

  .rental-status-badge.static {
    justify-self: end;
    min-height: 1.55rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .rental-detail-hero-media {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rental-detail-hero-cover {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 11rem;
    max-height: none;
    overflow: visible;
    margin-bottom: 3.25rem;
  }

  .rental-detail-carousel-controls {
    inset: auto 0 -2.9rem;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    height: 2.5rem;
  }

  .rental-detail-carousel-btn {
    position: static;
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.65rem;
    transform: none;
  }

  .rental-detail-blocks {
    grid-template-columns: 1fr;
  }

  .rental-detail-block-head {
    align-items: stretch;
    flex-direction: column;
  }

  .rental-apply-callout {
    width: 100%;
  }

  .rental-detail-term-grid,
  .rental-detail-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
    gap: 0.9rem 0.65rem;
    justify-content: center;
    width: min(100%, 21rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .rental-detail-icon-grid.utility-grid {
    grid-template-columns: repeat(3, minmax(5.75rem, 6.5rem));
    width: min(100%, 21rem);
  }

  .rental-detail-icon-grid.utility-grid > .rental-detail-icon-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .rental-detail-icon-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    gap: 0.42rem;
  }

  .rental-detail-icon-card span {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .rental-detail-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .rental-detail-term-grid div {
    min-width: 0;
    min-height: 4rem;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0.7rem 0.75rem;
  }

  .rental-detail-term-grid strong,
  .rental-detail-term-grid span {
    flex: none;
    min-width: 0;
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
  }

  .rental-detail-term-grid strong {
    text-align: left;
  }

  .rental-detail-term-grid span {
    text-align: right;
  }

  .rental-detail-map-panel {
    grid-template-columns: 1fr;
  }

  .rental-detail-contact-grid,
  .rental-interest-grid {
    grid-template-columns: 1fr;
  }

  .rental-detail-info {
    position: static;
    padding: 1rem;
    border-radius: 8px;
  }

  .rental-detail-info h1 {
    margin-bottom: 0.45rem;
  }

  .rental-detail-neighborhood {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
  }

  .rental-detail-slide {
    aspect-ratio: 4 / 3;
    max-height: min(58vh, 28rem);
    min-height: 14rem;
  }

  .rental-detail-slide img {
    max-height: min(58vh, 28rem);
  }

  .rental-detail-thumbs {
    gap: 0.45rem;
    padding: 0.65rem;
  }

  .rental-detail-thumbs button {
    width: 4.4rem;
    height: 3.25rem;
  }

  .rental-detail-facts {
    grid-template-columns: 1fr;
  }

  .rental-detail-facts div:nth-child(n + 3) {
    display: none;
  }

  .rental-detail-price {
    margin-bottom: 1rem;
    font-size: 1.55rem;
  }

  .rental-detail-address {
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
  }

  .rental-detail-section {
    margin-bottom: 1rem;
  }

  .rental-detail-section h2 {
    font-size: 0.98rem;
  }

  .rental-detail-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .rental-detail-icon {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1rem;
  }

  .rental-detail-icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .rental-photo-viewer-frame {
    width: 100vw;
    height: 100vh;
    margin-top: 0;
    padding: 0.75rem;
  }

  .rentals-admin-head,
  .rental-application-card {
    align-items: stretch;
    flex-direction: column;
  }

  .rental-photo-upload-action {
    padding-top: 0;
  }

  .rental-photo-upload-action .btn {
    width: 100%;
  }

  .rental-add-launch {
    align-items: stretch;
    flex-direction: column;
  }

  .rental-add-property-button {
    align-self: stretch;
    width: 100%;
    min-height: 2.75rem;
    white-space: normal;
  }

  .rental-admin-multiselect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rental-media-upload-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .rental-media-manager {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rental-media-upload-card,
  .rental-media-upload-card.compact {
    min-height: 5.35rem;
    padding: 0.85rem;
  }

  .rentals-admin-table table,
  .rentals-admin-table thead,
  .rentals-admin-table tbody,
  .rentals-admin-table tr,
  .rentals-admin-table td {
    display: block;
    width: 100%;
  }

  .rentals-admin-table thead {
    display: none;
  }

  .rentals-admin-table tr {
    border-bottom: 1px solid var(--r-border);
  }

  .rentals-admin-table td {
    border-bottom: 0;
    padding: 0.75rem 0.9rem;
  }

  .rentals-admin-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: var(--r-dark-green);
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .rentals-admin-table td:first-child {
    padding-top: 1rem;
  }

  .rentals-admin-table td:last-child {
    padding-bottom: 1rem;
  }

  .rentals-admin-table tr[id^="rental-admin-"] {
    background: var(--r-white);
  }

  .rentals-admin-table tr[id^="rental-admin-"] td {
    display: grid;
    gap: 0.35rem;
  }

  .rentals-admin-table tr[id^="rental-admin-"] td:nth-child(1) {
    font-size: 0.95rem;
  }

  .rentals-admin-table tr[id^="rental-admin-"] td:nth-child(n+2) {
    display: none;
  }

  .rental-building-summary-row {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--r-border);
    background: var(--r-white);
  }

  .rental-building-summary-row td {
    padding: 0.35rem 0 !important;
  }

  .rental-building-summary-row td[data-label] {
    display: grid;
    grid-template-columns: minmax(5.9rem, 31%) minmax(0, 1fr);
    gap: 0.35rem;
    align-items: start;
  }

  .rental-building-summary-row td[data-label]::before {
    margin-bottom: 0;
  }

  .rental-building-summary-row td[data-label="Building"] {
    display: block;
    padding-top: 0.2rem !important;
    padding-bottom: 0.45rem !important;
  }

  .rental-building-summary-row .rental-building-description-cell {
    display: none;
  }

  .rental-building-actions-cell .btn {
    width: 100%;
    justify-content: center;
  }

  .rentals-admin-table .rental-edit-row > td {
    background: var(--r-card);
  }

  .rentals-admin-table .rental-edit-row > td {
    display: block;
    padding: 0;
    border-bottom: 0;
  }

  .rental-edit-panel[open] {
    background: var(--r-card);
    border-top: 1px solid var(--r-border);
  }

  .rental-edit-panel summary {
    font-size: 0.95rem;
  }

  .rental-edit-panel {
    padding: 0 0.9rem 1rem;
  }

  .rental-edit-panel summary {
    margin: 0.75rem 0;
  }

  .rental-edit-tabs {
    max-width: 100%;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
  }

  .rental-edit-tab {
    flex: 0 0 auto;
    justify-content: center;
    min-width: 4.75rem;
    padding: 0.4rem 0.65rem;
  }

  .rental-edit-panel form {
    gap: 0.75rem !important;
  }

  .rental-edit-panel .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
  }

  .rental-edit-panel .col-12,
  .rental-edit-panel .col-6,
  .rental-edit-panel .col-md-3,
  .rental-edit-panel .col-md-4,
  .rental-edit-panel .col-md-6,
  .rental-edit-panel .col-lg-3,
  .rental-edit-panel .col-lg-4,
  .rental-edit-panel .col-lg-5,
  .rental-edit-panel .col-lg-6 {
    width: 100%;
    max-width: 100%;
  }

  .rental-edit-panel .form-control,
  .rental-edit-panel .form-select,
  .rental-edit-panel .form-control-sm,
  .rental-edit-panel .form-select-sm {
    width: 100%;
  }

  .rentals-admin-panel {
    padding: 1rem;
    border-radius: 12px;
  }

  .rental-admin-form {
    margin-top: 0;
  }

  .rental-admin-floating-field .form-label {
    top: 0.5rem;
    left: 0.75rem;
    font-size: 0.64rem;
  }

  .rental-admin-floating-field .form-control,
  .rental-admin-floating-field .form-select {
    min-height: 2.95rem;
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
  }

  .rental-admin-floating-field textarea.form-control,
  .rental-admin-floating-field textarea.form-control-sm {
    min-height: 5.6rem;
  }

  .rental-admin-checkcard {
    min-height: 2.25rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
  }

  .rental-admin-photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    justify-content: stretch;
  }

  .rental-photo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    justify-content: stretch;
  }

  .rental-photo-reorder button {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (max-width: 520px) {
  .rentals-detail-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .rental-detail-title-row h1 {
    font-size: clamp(1.35rem, 6.8vw, 1.75rem);
  }

  .rental-detail-summary-line {
    font-size: 0.82rem;
  }

  .rental-detail-address-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .rental-status-badge.static {
    justify-self: start;
  }

  .rental-detail-hero-cover {
    min-height: 9.75rem;
  }

  .rental-detail-icon-grid,
  .rental-detail-icon-grid.utility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(6.5rem, 7.25rem));
    justify-content: center;
    width: min(100%, 15.5rem);
    margin-left: auto;
    margin-right: auto;
  }

  .rental-detail-icon-grid > .rental-detail-icon-card:last-child:nth-child(odd),
  .rental-detail-icon-grid.utility-grid > .rental-detail-icon-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(9rem, 100%);
  }

  .rentals-content-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rentals-location-map-image {
    max-height: 28rem;
  }

  .rental-admin-multiselect-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rental-admin-form .row,
  .rental-photo-upload-form .row {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.45rem;
  }

  .rental-admin-floating-field .form-label {
    font-size: 0.61rem;
  }

  .rental-admin-floating-field .form-control,
  .rental-admin-floating-field .form-select {
    min-height: 2.8rem;
  }

  .rental-edit-panel {
    padding: 0 0.7rem 0.9rem;
  }

  .rental-edit-panel summary {
    margin: 0.6rem 0;
  }
}
