/* Page and shared controls */
.external-property {
  --ink: #122839;
  --ink-soft: #465869;
  --brand: #092d43;
  --teal: #197a83;
  --teal-dark: #105965;
  --line: #e1e5e5;
  --surface: #fff;
  --sand: #f6f5f2;
  --card: #fff;
  --gold: #bd925e;
  --shadow: 0 8px 25px rgba(16,44,65,.055);
  --radius: 16px;
  --font: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --serif: Georgia,"Times New Roman",serif;
  scroll-behavior: smooth;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  font-size: 14px;
  line-height: 1.54;
  display: flow-root;
}

.external-property * {
  box-sizing: border-box;
}

.external-property a {
  color: inherit;
}

.external-property button,.external-property input,.external-property textarea {
  font: inherit;
}

.external-property button {
  cursor: pointer;
}

.external-property img {
  max-width: 100%;
  display: block;
}

.external-property .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.external-property :focus-visible {
  outline: 3px solid #105965;
  outline-offset: 3px;
}

.external-property .page-shell {
  max-width: 1400px;
  padding: 0 var(--gutter) 35px;
  margin: auto;
  min-width: 0;
  --gutter: clamp(13px,3vw,24px);
}

.external-property [hidden] {
  display: none!important;
}

.external-property button:disabled {
  cursor: default;
  opacity: .5;
}

.external-property ::selection {
  background: #c6e5e8;
  color: #122839;
}

.external-property picture {
  display: block;
}

/* Similar properties */
.external-property .carousel-section {
  position: relative;
  padding: clamp(10px,1.5vw,14px) 0 clamp(11px,1.6vw,15px);
}

.external-property .carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 6px 4px 9px;
}

.external-property .carousel-viewport::-webkit-scrollbar {
  display: none;
}

.external-property .carousel-track {
  display: flex;
  gap: clamp(10px,1.5vw,15px);
  align-items: stretch;
  min-width: max-content;
}

.external-property .property-mini {
  width: min(320px,calc(100vw - 64px));
  flex: 0 0 min(320px,calc(100vw - 64px));
  border: 1px solid #e2e5e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,44,57,.055);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .2s,border-color .2s,box-shadow .2s;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  padding: 0;
  text-decoration: none;
}

.external-property .property-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 23px rgba(18,44,57,.11);
  border-color: #a5c5c9;
}

.external-property .mini-photo {
  aspect-ratio: 1.9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg,#cfdedc,#d9d5c7);
}

.external-property .mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-property .mini-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 30px;
  padding: 4px 9px;
  background: #187766;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 2px 5px #0002;
  letter-spacing: .04em;
}

.external-property .mini-body {
  padding: 11px 13px 13px;
}

.external-property .mini-price {
  font-family: "Times New Roman", "Liberation Serif", Times, serif;
  font-size: clamp(21px,2.2vw,23px);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  font-kerning: none;
  font-synthesis: none;
  white-space: nowrap;
  line-height: 1.1;
  margin-bottom: 9px;
  display: block;
}

.external-property .carousel-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #d2d8db;
  color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 3px 12px #102b4033;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
}

.external-property .carousel-arrow.prev {
  left: max(-17px,calc(5px - var(--gutter)));
}

.external-property .carousel-arrow.next {
  right: max(-17px,calc(5px - var(--gutter)));
}

.external-property .carousel-arrow:hover {
  background: #eaf5f5;
}

.external-property .property-carousel-surface>.page-shell {
  padding-bottom: 0;
}

.external-property .property-carousel-surface {
  background: var(--sand);
  display: flow-root;
}

.external-property .mini-triad {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: #395466;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.external-property .mini-triad>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.external-property .mini-beds {
  text-align: left;
}

.external-property .mini-size {
  text-align: center;
  white-space: nowrap;
}

.external-property .mini-area {
  text-align: right;
  hyphens: none;
}

.external-property .mini-triad--without-size {
  grid-template-columns: fit-content(50%) minmax(0,1fr);
}

.external-property .mini-triad--without-size .mini-size {
  display: none;
}

.external-property .property-mini:focus-visible,.external-property .thumbnails a:focus-visible {
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px white;
}

.external-property .mini-triad.is-measuring>span {
  white-space: nowrap;
}

/* Buyer enquiry and source disclosure */
.external-property .intro-row {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  gap: clamp(11px,1.5vw,15px);
  margin-bottom: clamp(12px,1.5vw,16px);
}

.external-property .intro-box {
  border: 1px solid #dbe6ea;
  border-radius: var(--radius);
  padding: clamp(17px,2.2vw,26px);
  box-shadow: var(--shadow);
  background: linear-gradient(125deg,#edf8fa 0%,#f4f9f9 62%,#fff 100%);
  container-type: inline-size;
}

.external-property .intro-box h2 {
  font: 700 27px/1.2 var(--serif);
  margin: 0 0 9px;
  letter-spacing: -.025em;
  color: var(--brand);
}

.external-property .intro-box p {
  font-size: 16px;
  margin: 0 0 16px;
  color: #3c5667;
  max-width: 620px;
}

.external-property .benefit-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.external-property .inline-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.45fr) auto;
  align-items: end;
  gap: 9px;
}

.external-property #enquiry-conversation {
  display: grid;
  align-self: end;
  align-content: center;
  padding: .65rem .75rem;
  border-radius: 9px;
  background: #b45309;
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.2;
}

.external-property #enquiry-conversation span { grid-area: 1 / 1; }
.external-property .sending-copy { opacity: 0; }
.external-property .inline-form:is([data-state="submitting"], [data-state="success-hold"]) .sending-copy { opacity: 1; }
.external-property .inline-form:is([data-state="submitting"], [data-state="success-hold"]) .sent-copy { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .external-property .inline-form:is([data-state="submitting"], [data-state="success-hold"]) .sending-copy {
    animation: enquiry-copy-in 160ms ease-out;
  }
  .external-property .inline-form[data-state="success"] .sending-copy { transition: opacity 160ms ease-in; }
  .external-property .inline-form[data-state="success"] .sent-copy { transition: opacity 160ms ease-out 160ms; }
}
@keyframes enquiry-copy-in { from { opacity: 0; } to { opacity: 1; } }

.external-property .inline-form label {
  display: block;
  font-size: 14px;
  color: #415866;
  font-weight: 750;
  margin-bottom: 5px;
}

.external-property .inline-form input,.external-property .inline-form textarea {
  height: auto;
  width: 100%;
  border: 1px solid #c6d5da;
  border-radius: 9px;
  background: #fff;
  padding: 9px 12px;
  color: #152a3a;
  font-size: 16px;
  min-height: 45px;
}

.external-property .inline-form textarea {
  resize: vertical;
  min-height: 45px;
  line-height: 1.4;
}

.external-property .inline-form input:focus,.external-property .inline-form textarea:focus {
  border-color: #40929b;
  box-shadow: 0 0 0 3px #39939a20;
}

.external-property .primary-btn {
  border: 0;
  border-radius: 9px;
  padding: 13px 16px;
  min-height: 45px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: var(--brand);
  white-space: normal;
}

.external-property .primary-btn:hover {
  background: #164b64;
}

.external-property .disclosure {
  background: #fffdf9;
  border: 1px solid #e9e3d8;
}

.external-property .disclosure .disclaimer-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8ead5;
  font: 700 20px var(--serif);
  color: #ad8447;
  flex: 0 0 34px;
}

.external-property .disclosure-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 10px;
}

.external-property .disclosure h2 {
  font: 700 24px/1.22 var(--serif);
  margin: 0;
  color: var(--ink);
}

.external-property .disclosure p {
  margin: 0 0 11px;
  color: #4a5966;
  line-height: 1.65;
  font-size: 16px;
}

.external-property .disclosure a {
  font-size: 14px;
  color: #125c72;
  font-weight: 750;
  text-underline-offset: 3px;
}

.external-property .form-status {
  grid-column: 1/-1;
  margin: 10px 0;
  color: #123347;
}

.external-property .form-error {
  color: #842121;
}

.external-property .spam-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.external-property .inline-form input:focus-visible,.external-property .inline-form textarea:focus-visible {
  outline: 3px solid #197a83;
  outline-offset: 2px;
}

/* Listing header and gallery */
.external-property .listing-panel {
  background: var(--surface);
  border: 1px solid #e0e3e4;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 6px 29px rgba(20,42,60,.07);
  container: listing / inline-size;
  --panel-gutter: clamp(12px,2.4vw,28px);
}

.external-property .listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: clamp(16px,2vw,24px) var(--panel-gutter) 18px;
  border-bottom: 1px solid #ebeeee;
  flex-wrap: wrap;
}

.external-property .listing-tag {
  color: var(--teal);
  font-weight: 850;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 6px;
}

.external-property .listing-header h1 {
  font: 700 clamp(23px,2.4vw,34px)/1.14 var(--serif);
  margin: 0;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.external-property .listing-price {
  font: 700 clamp(29px,3.1vw,42px)/1 var(--serif);
  color: var(--brand);
  white-space: normal;
  letter-spacing: -.045em;
  padding-bottom: 0;
  align-self: center;
  margin-top: 1px;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.external-property .listing-content {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: clamp(16px,2vw,23px);
  padding: clamp(12px,2.4vw,24px) var(--panel-gutter);
}

.external-property .gallery-main {
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  background: #e9edef;
  border: 1px solid #e8e8e8;
  width: 100%;
}

.external-property .main-picture {
  position: absolute;
  inset: 0;
}

.external-property .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.external-property .photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #fffffff0;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--brand);
  box-shadow: 0 3px 8px #0002;
}

.external-property .photo-arrow.left {
  left: 12px;
}

.external-property .photo-arrow.right {
  right: 12px;
}

.external-property .photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #182b36c9;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  padding: 6px 10px;
}

.external-property .thumbnails {
  display: flex;
  gap: var(--thumb-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  flex: 1;
  min-width: 0;
  --thumb-gap: clamp(5px,1vw,8px);
}

.external-property .thumbnails::-webkit-scrollbar {
  display: none;
}

.external-property .thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-property .thumb-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.external-property .thumb-scroll {
  flex: 0 0 44px;
  border: 1px solid #dce3e7;
  background: white;
  border-radius: 50%;
  height: 44px;
  font-size: 20px;
  color: #143a4c;
  box-shadow: 0 2px 5px #0001;
}

.external-property .thumb-scroll:hover {
  background: #edf6f6;
}

.external-property .view-photo {
  z-index: 1;
  position: absolute;
  bottom: 11px;
  left: 12px;
  border: 1px solid #ffffff70;
  background: #173645cf;
  color: white;
  font-size: 12px;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 7px;
  min-height: 44px;
}

.external-property dialog.photo-dialog {
  padding: 10px;
  background: #112b3b;
  border: 0;
  border-radius: 13px;
  color: #fff;
  max-width: min(1100px,95vw);
  max-height: 95vh;
  box-shadow: 0 25px 70px #0007;
  width: fit-content;
}

.external-property dialog.photo-dialog::backdrop {
  background: #000c;
}

.external-property .photo-dialog img {
  max-height: calc(95vh - 74px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  justify-self: center;
}

.external-property .photo-dialog button {
  position: static;
  border: 0;
  background: white;
  color: #15384a;
  padding: 6px 12px;
  border-radius: 7px;
  min-height: 44px;
}

.external-property .listing-header>div:first-child {
  min-width: 0;
  flex: 1 1 24rem;
}

.external-property .gallery,.external-property .intro-box,.external-property .inline-form>div {
  min-width: 0;
}

.external-property .thumbnails a {
  flex: 0 0 max(60px,calc((100% - 3 * var(--thumb-gap))/4));
  aspect-ratio: 4/3;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  scroll-snap-align: start;
}

.external-property .thumbnails a[aria-current=true] {
  border-color: #1c8591;
}

.external-property .missing-photo {
  display: grid;
  place-items: center;
  background: #e9edef;
  aspect-ratio: 16/9;
  color: #465869;
}

.external-property .gallery-main .missing-photo {
  aspect-ratio: auto;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.external-property .gallery {
  width: 100%;
  max-width: 672px;
  justify-self: center;
}

.external-property .gallery-main img.is-frame-fit {
  object-fit: cover;
}

.external-property .main-picture,.external-property .mini-photo picture,.external-property .thumbnails picture,.external-property .resource-image picture {
  width: 100%;
  height: 100%;
}

.external-property dialog.photo-dialog[open] {
  display: grid;
  justify-items: end;
  gap: 8px;
}

/* Key details, energy and attribution */
.external-property .keygrid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.external-property .keyitem {
  display: block;
  min-width: 0;
  border: 1px solid #e4e9eb;
  background: #fbfcfc;
  border-radius: 8px;
  padding: 10px 11px;
  min-height: 60px;
}

.external-property .keyitem .key-name {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
  color: #637585;
}

.external-property .keyitem b {
  display: block;
  text-align: left;
  font-size: 16px;
  color: #123347;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.external-property .energy-scales {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 12px;
}

.external-property .energy-scale {
  min-width: 0;
}

.external-property .energy-scale h3 {
  font-size: 13px;
  line-height: 1.25;
  color: #18394a;
  margin: 0 0 4px;
}

.external-property .energy-scale .energy-explanation {
  display: block;
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  margin: 0 0 10px;
  background: none;
  border: 0;
  color: #4a5966;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.external-property .scale-bars {
  display: grid;
  gap: 3px;
}

.external-property .scale-bar {
  height: 19px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: #15303d;
  min-width: 30px;
  border-radius: 2px;
}

.external-property .scale-bar.active {
  outline: 2px solid #102f43;
  outline-offset: 1px;
  position: relative;
}

.external-property .scale-bar.active:after {
  content: '✓';
  font-size: 12px;
}

.external-property .side-actions {
  border-top: 1px solid #e5ebee;
  margin-top: 20px;
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.external-property .spec-section {
  padding: 2px 0 0;
}

.external-property .spec-section h2 {
  font: 700 20px/1.2 var(--serif);
  margin: 0 0 12px;
}

.external-property .pdf-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.external-property .source-brand-link:hover {
  background: #e9f2f5;
  color: #123f58;
}

.external-property .source-brand-identity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.external-property .source-buildings-icon {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}

.external-property .source-brand-name {
  font-weight: 750;
  font-size: clamp(17px,2vw,19px);
  letter-spacing: -.025em;
  line-height: 1.13;
  white-space: normal;
  overflow-wrap: anywhere;
}

.external-property .source-brand-name small {
  display: block;
  font-family: system-ui,sans-serif;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .065em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-top: 1px;
}

.external-property .scale-bar:nth-child(1) {
  width: 48%;
  background: #16ad53;
}

.external-property .scale-bar:nth-child(2) {
  width: 56%;
  background: #84c952;
}

.external-property .scale-bar:nth-child(3) {
  width: 64%;
  background: #c9d84c;
}

.external-property .scale-bar:nth-child(4) {
  width: 72%;
  background: #f5d348;
}

.external-property .scale-bar:nth-child(5) {
  width: 80%;
  background: #f5a33b;
}

.external-property .scale-bar:nth-child(6) {
  width: 88%;
  background: #ef7441;
}

.external-property .scale-bar:nth-child(7) {
  width: 96%;
  background: #dd3640;
}

.external-property .fact-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 650;
  color: #fff;
}

.external-property .fact-positive .fact-state {
  background: #4bb54a;
}

.external-property .fact-negative .fact-state {
  background: #e74c3c;
}

.external-property .brochure-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  gap: 8px;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  background: #e74c3c;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.external-property .brochure-action:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

.external-property .brochure-action:focus-visible {
  outline: 3px solid #122839;
  outline-offset: 4px;
}

.external-property .source-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 7px;
  min-height: 44px;
  border: 1px solid #e3e8e8;
  border-radius: 10px;
  background: #f9fbfc;
}

.external-property .source-compact .source-label {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
  color: #667780;
}

.external-property .source-brand-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  min-width: 0;
  color: #225977;
  text-decoration: none;
  border-radius: 6px;
}

.external-property .keyitem:last-child:nth-child(odd) {
  grid-column: 1/-1;
}

.external-property .energy-scale:only-child {
  grid-column: 1/-1;
  max-width: 32rem;
}

/* Description */
.external-property .description {
  margin: 0 var(--panel-gutter);
  padding: 14px 0 22px;
  border-top: 1px solid #e6e9eb;
  overflow-wrap: anywhere;
}

.external-property .description p {
  font-size: 16px;
  line-height: 1.72;
  color: #364c5d;
  margin: 0 0 1em;
}

.external-property .description ul,.external-property .description ol {
  font-size: 16px;
  line-height: 1.72;
  color: #364c5d;
  margin: 0 0 1em;
  padding-inline-start: 1.5em;
}

.external-property .description li>p {
  margin-bottom: .35em;
}

.external-property .description li:last-child>p:last-child {
  margin-bottom: 0;
}

/* Buying information */
.external-property .resources {
  container: resources / inline-size;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap: 15px;
  margin-top: clamp(13px,2vw,17px);
}

.external-property .resource-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e1e6e7;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 5px 17px #17374d0a;
  transition: transform .18s,box-shadow .18s;
}

.external-property .resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #17374d1c;
}

.external-property .resource-image {
  height: 111px;
  overflow: hidden;
  background: linear-gradient(110deg,#afc4cc,#d2c3b2);
}

.external-property .resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-property .resource-body {
  padding: 14px 17px 15px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.external-property .resource-title {
  font: 700 clamp(18px,2vw,21px)/1.14 var(--serif);
  letter-spacing: -.022em;
  margin: 0 0 9px;
}

.external-property .finance-mini {
  display: grid;
  gap: 4px;
  margin: 1px 0 12px;
}

.external-property .resource-desc {
  font-size: 16px;
  line-height: 1.55;
  color: #455968;
  margin: 0 0 12px;
  flex: 1;
}

.external-property .resource-link {
  font-size: 15px;
  color: #166d7d;
  font-weight: 850;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}

.external-property .finance-mini div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px dashed #e2e8e7;
  padding: 2px 0;
  font-size: 16px;
  color: #4a5966;
  flex-wrap: wrap;
}

.external-property .finance-mini b {
  font-size: 16px;
  color: var(--brand);
}

.external-property .finance-mini small {
  font-size: 16px;
  line-height: 1.5;
  color: #4a5966;
}

/* Preserve the stacked gallery’s 672px width when the facts move alongside it. */
@container listing (min-width: 65.5rem) {
  .external-property .listing-content { grid-template-columns: minmax(0,2.35fr) minmax(300px,1fr); }
  .external-property .gallery { max-width: none; }
}

@media (max-width: 53rem) {
  .external-property .intro-row { grid-template-columns: minmax(0,1fr); }
}
@container (max-width: 38rem) {
  .external-property .inline-form { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
  .external-property .inline-form button { grid-column: 1/-1; }
}
@container (max-width: 27rem) {
  .external-property .inline-form { grid-template-columns: minmax(0,1fr); }
}
@container resources (max-width: 32.93rem) {
  .external-property .resource-card { display: grid; grid-template-columns: minmax(64px,28%) minmax(0,1fr); }
  .external-property .resource-image { height: 100%; }
  .external-property .resource-body { padding: 12px 13px; }
}
/* Scale the photo and its thumbnail strip together when browser chrome limits height. */
@media (orientation: landscape) and (max-height: 30rem) and (max-width: 64rem) {
  .external-property .gallery {
    max-width: 116vh;
    max-width: 116svh;
  }
}
@supports (height: 1dvh) {
  .external-property dialog.photo-dialog { max-height: 95dvh; }
  .external-property .photo-dialog img { max-height: calc(95dvh - 74px); }
}
@media (prefers-reduced-motion: reduce) {
  .external-property *,
  .external-property *::before,
  .external-property *::after { transition: none; scroll-behavior: auto; }
  .external-property .carousel-viewport,
  .external-property .thumbnails { scroll-behavior: auto; }
}
