/* Direction 2a property family. Shared chrome and other page families are untouched. */
html:has(.family-property-listing) { scroll-padding-bottom: var(--property-scroll-clearance, 16px); }
.family-property-listing {
  --property-paper: #f1ece1;
  --property-cream: #faf7f0;
  --property-linen: #e9e2d4;
  --property-pale-garden: #e4ead9;
  --property-moss: #3f4d37;
  --property-ink: #2a2b26;
  --property-body: #3c3d37;
  --property-muted: #5e5f58;
  --property-clay: #9a4f32;
  --property-rule: #c9c1b0;
  --property-garden: #5f7a4b;
  --property-header-height: 72px;
  --property-action-height: 0px;
  padding-bottom: var(--property-action-height);
}
.property-page {
  color: var(--property-body);
  background: var(--property-cream);
  font: 400 16px/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-wrap: anywhere;
  padding: 0 32px 0;
}
.property-page [hidden] { display: none !important; }
.property-page :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--property-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--property-cream);
}
.property-page :is(h1, h2, h3) {
  color: var(--property-moss);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.012em;
  margin: 0;
}
.property-page h1 { font-size: 44px; line-height: 1.1; text-wrap: pretty; }
.property-page h2 { font-size: 28px; line-height: 1.15; }
.property-page h3 { font-size: 20px; line-height: 1.2; }
.property-page p { margin: 0; max-width: none; }
.property-page :is(figure, dl) { margin: 0; }
.property-page :is(a, button) { touch-action: manipulation; }
.property-page a { color: var(--property-moss); }
.property-page a:hover { color: var(--property-clay); }
.property-page button {
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--property-muted);
  border-radius: 4px;
  background: var(--property-cream);
  color: var(--property-moss);
  padding: 8px 12px;
  font: 600 14px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.property-page button:hover { border-color: var(--property-moss); background: var(--property-pale-garden); }
.property-page button:disabled { opacity: .5; cursor: default; }
.property-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1280px;
  margin: auto;
  padding: 12px 0;
  font-size: 14px;
}
.property-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.property-layout { max-width: 1280px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 352px; column-gap: 32px; align-items: start; }
.property-layout > * { min-width: 0; grid-column: 1; }
.property-hero { background: var(--property-cream); }
.property-hero > a { display: block; }
.property-hero img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: contain; }
.property-page figcaption { color: var(--property-muted); font-size: 14px; line-height: 1.4; margin: 8px 0 0; position: static; }
.property-hero figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 0 16px 16px; }
.property-hero figcaption a { min-height: 44px; display: inline-flex; align-items: center; }
.property-summary { grid-column: 2; grid-row: 1 / var(--property-rail-end, 10); align-self: stretch; }
.property-summary-inner { background: var(--property-cream); border: 1px solid var(--property-rule); border-radius: 2px; padding: 20px; position: sticky; top: calc(var(--property-header-height) + 16px); }
.property-page[data-rail-fits="false"] .property-summary-inner { position: static; }
.property-status { display: inline-block; background: var(--property-pale-garden); color: var(--property-moss); border-radius: 2px; padding: 4px 8px; font-size: 12px; font-weight: 600; margin-top: 12px !important; }
.property-unit-name { margin-top: 12px !important; font-size: 18px; color: var(--property-ink); }
.property-location-label { margin-top: 4px !important; font-size: 14px; color: var(--property-muted); }
.property-rent { margin-top: 16px !important; color: var(--property-moss); }
.property-rent strong { font-size: 32px; line-height: 1.1; font-weight: 500; }
.property-rent span { font-size: 16px; }
.property-primary-term { font-size: 14px; margin-top: 4px !important; }
.property-fact-strip { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0; font-size: 16px; }
.property-fact-strip strong { font-weight: 600; }
.property-tour-action { display: grid; gap: 4px; }
.property-page .property-tour-link { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 16px; color: #fff; background: var(--property-garden); border: 1px solid var(--property-garden); border-radius: 4px; font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.property-page .property-tour-link:hover { background: #4f6840; border-color: #4f6840; color: #fff; }
.property-provider { display: block; text-align: center; font-size: 12px; color: var(--property-muted); line-height: 1.4; }
.property-disclosure { margin-top: 16px !important; padding-top: 16px; border-top: 1px solid var(--property-rule); font-size: 14px; line-height: 1.55; }
.property-thumbnails { padding: 16px 0 24px; }
.property-strip-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.property-thumbnail-track { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 16px; scrollbar-width: auto; scrollbar-color: var(--property-muted) var(--property-linen); }
.property-thumbnail-track > figure { flex: 0 0 112px; min-width: 0; }
.property-thumbnail-track a { display: block; }
.property-thumbnail-track img { width: 112px; aspect-ratio: 3 / 2; height: auto; object-fit: contain; }
.property-photo-credit { color: var(--property-muted); display: block; font-size: 9px; line-height: 1.35; margin-top: 3px; }
.property-photo-credit a, .property-dialog-photo-credit a { color: inherit; text-underline-offset: 2px; }
.property-section { padding: 48px 24px; border-top: 1px solid var(--property-rule); scroll-margin-top: calc(var(--property-header-height) + 16px); }
.property-section { position: relative; }
.property-section > .terra-flair-edge-branch { height: 64px; margin: 0; pointer-events: none; position: absolute; top: -32px; width: 300px; z-index: 1; }
.property-section > .terra-flair-edge-branch path { fill: none; stroke: #5f7a4b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.property-section > .terra-flair-edge-left { left: 24px; }
.property-section > .terra-flair-edge-right { right: 24px; }
.property-section > h2 + :is(p, table, address) { margin-top: 12px; }
.property-about { background: var(--property-paper); }
.property-lease { background: var(--property-linen); }
.property-residence { background: var(--property-cream); }
.property-community { background: var(--property-pale-garden); }
.property-location { background: var(--property-paper); }
.property-page table { border-collapse: collapse; width: 100%; margin-top: 12px; }
.property-page caption { text-align: left; padding-bottom: 16px; font-size: 16px; }
.property-page :is(td, th) { padding: 12px 16px; border-bottom: 1px solid var(--property-rule); font-size: 16px; text-align: left; }
.property-page thead th { border-top: 1px solid var(--property-rule); font-weight: 600; }
.property-page tbody th { font-weight: 400; }
.property-page :is(td, th):last-child { text-align: right; }
.property-updated { margin-top: 16px !important; font-size: 14px; color: var(--property-muted); }
.property-detail-list { margin-top: 16px !important; }
.property-detail-list > div { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 12px; border-bottom: 1px solid var(--property-rule); padding: 12px 0; }
.property-detail-list dt { font-weight: 600; }
.property-detail-list dd { margin: 0; }
.property-other-unit { margin-top: 24px; padding: 16px; border: 1px solid var(--property-rule); border-radius: 2px; }
.property-other-unit p { margin-top: 8px; }
.property-unit-scope { font-size: 14px; color: var(--property-muted); }
.property-community-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 16px; }
.property-community-links a { display: flex; align-items: center; min-height: 44px; }
.property-location address { font-style: normal; margin-bottom: 16px; }
.property-map { margin-bottom: 16px !important; }
.property-map-image { display: block; position: relative; }
.property-map-image img { display: block; width: 100%; height: auto; }
.property-map-marker { position: absolute; transform: translate(-50%, -50%); background: var(--property-moss); color: white; width: 32px; height: 32px; border: 2px solid var(--property-cream); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.property-closing { max-width: 1280px; margin: 0 auto; background: var(--property-cream); padding: 48px 24px; border-top: 1px solid var(--property-rule); }
.property-closing > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.property-closing .property-tour-action { min-width: 220px; }
.property-compact-action { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--property-cream); border-top: 1px solid var(--property-rule);  }
.property-compact-action > div:first-child > :is(strong, span) { display: block; }
.property-compact-action strong { font-size: 18px; font-weight: 600; color: var(--property-moss); }
.property-compact-action strong span { font-size: 14px; font-weight: 400; }
.property-compact-action > div:first-child > span { font-size: 12px; }
.property-compact-action .property-tour-link { padding: 10px 12px; }
.property-image-failure { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 8px; color: var(--property-muted); background: var(--property-linen); font-size: 14px; }

/* Native modal remains absent without enhancement; captions/controls have their own rows. */
.property-gallery-dialog { position: fixed; inset: 0; margin: auto; width: min(1280px, calc(100vw - 32px)); height: min(940px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 16px; border: 1px solid var(--property-rule); border-radius: 2px; color: var(--property-body); background: var(--property-cream); overflow: hidden; }
.property-gallery-dialog::backdrop { background: rgb(63 77 55 / 84%); }
.property-gallery-layout { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 8px; height: 100%; min-height: 0; }
.property-gallery-figure { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.property-gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.property-gallery-header h2 { font-size: 24px; }
.property-gallery-image { display: grid; place-items: center; min-height: 0; min-width: 0; background: var(--property-paper); }
.property-gallery-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.property-gallery-image > a { display: block; width: 100%; height: 100%; min-height: 0; }
.property-gallery-caption a { display: inline-flex; min-height: 44px; align-items: center; }
.property-gallery-caption { max-height: 6.2em; overflow-y: auto; font-size: 14px; line-height: 1.4; padding: 4px; scrollbar-width: auto; }
.property-gallery-caption > span { display: block; color: var(--property-muted); font-size: 12px; margin-bottom: 4px; }
.property-gallery-caption p { max-width: none; }
.property-dialog-photo-credit { color: var(--property-muted); font-size: 11px; margin-top: 3px; }
.property-gallery-controls { display: flex; justify-content: center; gap: 12px; }
.property-gallery-controls { margin-top: 8px; }
.property-gallery-thumbnails { display: flex; gap: 12px; overflow: auto; max-height: 24dvh; padding: 4px 4px 16px; scrollbar-width: auto; position: relative; }
.property-gallery-thumbnails figure { flex: 0 0 88px; min-width: 0; }
.property-gallery-thumbnails button { width: 88px; padding: 2px; border: 2px solid var(--property-muted); }
.property-gallery-thumbnails figcaption { font-size: 14px; line-height: 1.4; }
.property-gallery-thumbnails button[aria-current="true"] { border-color: var(--property-moss); background: var(--property-pale-garden); }
.property-gallery-thumbnails img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
@media (max-width: 1099px) {
  .family-property-listing { --property-header-height: 64px; }
  .property-page { padding-inline: 24px; }
  .property-layout { display: flex; flex-direction: column; gap: 0; }
  .property-layout > * { width: 100%; }
  .property-summary-inner { position: static; padding: 16px; border: none; }
  .property-page h1 { font-size: 32px; }
  .property-page h2 { font-size: 24px; }
  .property-hero img { max-height: 360px; object-fit: contain; }
  .property-hero figcaption { padding-bottom: 16px; }
  .property-unit-name { margin-top: 8px !important; font-size: 16px; }
  .property-rent { margin-top: 12px !important; }
  .property-rent strong { font-size: 28px; }
  .property-status { margin-top: 8px !important; }
  .property-fact-strip { margin-block: 12px; }
  .property-thumbnail-track > figure { flex-basis: 88px; }
  .property-thumbnail-track img { width: 88px; }
  .property-section { padding: 32px 16px; }
  .property-section > .terra-flair-edge-left { left: 16px; }
  .property-section > .terra-flair-edge-right { right: 16px; }
  .property-closing { padding: 32px 16px; }
}
@media (max-width: 599px) {
  .property-page { padding-inline: 16px; }
  .property-section > .terra-flair-edge-branch { height: 43px; top: -21px; width: min(300px, 42vw); }
  .property-breadcrumb { padding-block: 0; font-size: 12px; gap: 6px; }
  .property-breadcrumb > a:first-child, .property-breadcrumb > span:nth-child(2) { display: none; }
  .property-hero img { max-height: none; }
  .property-hero figcaption { font-size: 14px; padding-inline: 0; }
  .property-summary-inner { padding-inline: 0; }
  .property-page :is(td, th) { padding-inline: 8px; }
  .property-detail-list > div { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); }
  .property-closing > div { display: grid; gap: 16px; }
  .property-closing .property-tour-action { min-width: 0; }
  .property-gallery-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 8px; }
  .property-gallery-header h2 { font-size: 20px; }
}
@media (max-height: 500px) {
  .property-gallery-dialog { padding: 8px; height: calc(100dvh - 16px); }
  .property-gallery-layout { gap: 4px; }
  .property-gallery-controls { margin-top: 12px; }
  .property-gallery-header h2 { font-size: 18px; }
  .property-gallery-caption { max-height: 3.2em; }
  .property-gallery-thumbnails { max-height: 22dvh; }
}
/* At extreme reflow, let the viewer scroll instead of collapsing the photograph. */
@media (max-height: 320px) {
  .property-gallery-dialog { overflow-y: auto; }
  .property-gallery-layout { height: auto; min-height: 100%; grid-template-rows: auto auto auto auto; }
  .property-gallery-figure { grid-template-rows: auto auto; }
  .property-gallery-image { height: 120px; min-height: 120px; }
  .property-gallery-thumbnails { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .property-page *, .property-page *::before, .property-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.property-section > p { max-width: 65ch; }
.property-section > p + p { margin-top: 16px; }
.property-location > a { display: inline-flex; min-height: 44px; align-items: center; }
.property-section-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0 16px 16px; }
.property-section-links a, .property-all-homes { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.property-all-homes { margin-top: 16px; }
